/* D-DIALOG-01 v2: the shared Bestuff dialog's own style sheet, taken unchanged from the STYLE
   constant of bestuff-dialog.js (copied from bestuff-services webapp/shared/bestuff-dialog.js). The
   module injects it as an inline <style>, which this app's Content-Security-Policy (style-src 'self')
   refuses; the page loads this file instead and cal/dialog.mjs tells the module it is already there.
   A test keeps this file equal to the module's constant. Never edit by hand. */
dialog.bestuff-dialog{--bd-ink:var(--bestuff-ink,#12233b);--bd-action:var(--bestuff-action,#285f8f);--bd-danger:var(--bestuff-danger,#b42330);position:fixed;inset:0;margin:auto;width:min(400px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);height:fit-content;padding:0;border:0;border-radius:16px;background:#fff;color:var(--bd-ink);box-shadow:0 18px 56px #12233b30;font:400 15px/1.55 var(--bestuff-font,'Bestuff UI','SUIT Variable',SUIT,'Malgun Gothic',sans-serif);word-break:keep-all;overflow-wrap:anywhere;overflow:hidden;color-scheme:light;overscroll-behavior:contain}
dialog.bestuff-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
dialog.bestuff-dialog::backdrop{background:rgb(18 35 59 / .38)}
.bestuff-dialog,.bestuff-dialog *{box-sizing:border-box}
.bestuff-dialog ::selection{background:#d9e9f7;color:var(--bd-ink)}
.bestuff-dialog .bestuff-dialog__head{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;padding:16px 12px 4px 24px}
.bestuff-dialog .bestuff-dialog__title{margin:0;font-family:inherit;font-size:20px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.bestuff-dialog .bestuff-dialog__body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9bb0c4 transparent;padding:0 24px;font-size:14px;line-height:1.65}
.bestuff-dialog .bestuff-dialog__body:empty{display:none}
.bestuff-dialog .bestuff-dialog__body:focus-visible{outline:2px solid var(--bd-action);outline-offset:-4px}
.bestuff-dialog .bestuff-dialog__description{margin:0;color:#435267;white-space:pre-wrap}
.bestuff-dialog .bestuff-dialog__subject{display:block;margin:16px 0 0;font-size:15px;line-height:1.5;font-weight:600;white-space:pre-wrap}
.bestuff-dialog .bestuff-dialog__details{margin:12px 0 0;padding:0;list-style:none;color:#435267;font-size:14px;line-height:1.65}
.bestuff-dialog .bestuff-dialog__details li+li{margin-top:6px}
.bestuff-dialog .bestuff-dialog__body>:first-child{margin-top:0}
.bestuff-dialog .bestuff-dialog__field{display:grid;gap:8px;margin-top:20px;font-size:14px;font-weight:600}
.bestuff-dialog .bestuff-dialog__input{display:block;width:100%;min-height:44px;border:1px solid #b9c8d6;border-radius:10px;padding:10px 12px;background:#fff;color:var(--bd-ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;caret-color:var(--bd-action)}
.bestuff-dialog .bestuff-dialog__input::placeholder{color:#5c6c7e;opacity:1}
.bestuff-dialog .bestuff-dialog__error{margin:8px 0 0;color:var(--bd-danger);font-size:14px;line-height:1.5}
.bestuff-dialog .bestuff-dialog__error[hidden]{display:none}
.bestuff-dialog .bestuff-dialog__actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:20px 24px 24px;background:#fff}
.bestuff-dialog button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:88px;margin:0;padding:10px 18px;border:0;border-radius:10px;background:transparent;color:#435267;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;touch-action:manipulation}
.bestuff-dialog button:hover{background:#edf2f6;color:var(--bd-ink)}
.bestuff-dialog button:active{background:#e1eaf1}
.bestuff-dialog .bestuff-dialog__confirm{background:var(--bd-action);color:#fff}
.bestuff-dialog .bestuff-dialog__confirm:hover{background:#204e77;color:#fff}
.bestuff-dialog .bestuff-dialog__confirm:active{background:#183e60}
.bestuff-dialog[data-tone="danger"] .bestuff-dialog__confirm{background:var(--bd-danger)}
.bestuff-dialog[data-tone="danger"] .bestuff-dialog__confirm:hover{background:#961c28}
.bestuff-dialog[data-tone="danger"] .bestuff-dialog__confirm:active{background:#7d1822}
.bestuff-dialog .bestuff-dialog__close{min-width:44px;width:44px;padding:0;background:transparent;color:#536276}
.bestuff-dialog .bestuff-dialog__close:hover{background:#edf2f6;color:var(--bd-ink)}
.bestuff-dialog button:focus-visible,.bestuff-dialog .bestuff-dialog__input:focus{outline:2px solid var(--bd-action);outline-offset:2px}
.bestuff-dialog button:disabled{opacity:.55;cursor:default}
@media(max-width:360px){.bestuff-dialog .bestuff-dialog__head{padding-left:20px;padding-right:8px}.bestuff-dialog .bestuff-dialog__body{padding-inline:20px}.bestuff-dialog .bestuff-dialog__actions{padding-inline:20px}.bestuff-dialog .bestuff-dialog__actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.bestuff-dialog,.bestuff-dialog *{animation:none;transition:none}}
@media(forced-colors:active){dialog.bestuff-dialog{border:1px solid CanvasText;box-shadow:none}.bestuff-dialog button{border:1px solid ButtonText}.bestuff-dialog button:focus-visible,.bestuff-dialog .bestuff-dialog__input:focus,.bestuff-dialog .bestuff-dialog__body:focus-visible{outline-color:Highlight}}
