.modal-dialog{width:100dvw;max-width:100dvw;height:100dvh;max-height:100dvh;padding:var(--space-4);color:inherit;background:0 0;border:0;justify-content:center;align-items:center;margin:0;display:flex;position:fixed;inset:0 auto auto 0;overflow:visible}.modal-dialog:not([open]){display:none}.modal-dialog::backdrop{background:var(--scrim-bg);animation:dialog-backdrop-in var(--motion-glide) both}.modal-dialog[data-state=closing]::backdrop{animation:.18s ease-out both dialog-backdrop-out}@keyframes dialog-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-backdrop-out{0%{opacity:1}to{opacity:0}}.modal-panel{background:var(--elevated);color:var(--text);border-radius:var(--radius-modal);box-shadow:var(--inset-rim), var(--shadow-modal);width:min(640px,100%);max-height:calc(100dvh - 2 * var(--space-4));flex-direction:column;display:flex;overflow:hidden}.modal-panel__header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:var(--border-divider) solid var(--border-soft);display:flex}.modal-panel__title{font-size:var(--text-lg);font-weight:600;font-family:var(--font-sans);color:var(--text);margin:0}.modal-panel__body{padding:var(--space-4) var(--space-5);flex:1;overflow:auto}.modal-panel__footer{justify-content:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-5);border-top:var(--border-divider) solid var(--border-soft);background:var(--surface);display:flex}@media (width<=767px){.modal-panel__footer{flex-wrap:wrap}}.modal-dialog--sheet{align-items:flex-end;padding:0}.modal-dialog--sheet .modal-panel{--sheet-drag:0px;translate:0 var(--sheet-drag);transition:translate var(--motion-glide);width:100%;max-height:calc(100dvh - var(--space-8));padding-bottom:env(safe-area-inset-bottom,0px);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;animation:modal-sheet-in var(--motion-glide) both}.modal-dialog--sheet .modal-panel[data-dragging]{transition:none}.modal-dialog--sheet[data-state=closing] .modal-panel{animation:modal-sheet-out var(--leave-fade) var(--ease-leave) both}@keyframes modal-sheet-in{0%{transform:translateY(100%)}to{transform:none}}@keyframes modal-sheet-out{0%{transform:none}to{transform:translateY(100%)}}.modal-dialog--sheet .modal-panel__header{padding:var(--space-5) var(--space-5) var(--space-3);touch-action:none;border-bottom-color:#0000;position:relative}.modal-dialog--sheet .modal-panel[data-scrolled]>.modal-panel__header{border-bottom-color:var(--border-soft)}.modal-dialog--sheet .modal-panel__header>:not(.modal-panel__grab){z-index:1;position:relative}.modal-dialog--sheet .modal-panel__title:focus-visible{outline:none}.modal-dialog--sheet .modal-panel__body{padding-top:var(--space-1);overscroll-behavior:contain}.modal-panel__grab{width:64px;height:44px;padding:var(--space-2) 0 0;border-radius:var(--radius-input);cursor:pointer;background:0 0;border:0;justify-content:center;display:flex;position:absolute;top:0;left:calc(50% - 32px)}.modal-panel__grab-bar{background:var(--border);border-radius:2px;width:36px;height:4px}.modal-panel__grab:active .modal-panel__grab-bar{background:var(--text-muted)}.modal-panel__grab:focus-visible{outline:none}.modal-panel__grab:focus-visible .modal-panel__grab-bar{outline:2px solid var(--focus-ring);outline-offset:4px}@media (prefers-reduced-motion:reduce){.modal-dialog--sheet .modal-panel,.modal-dialog--sheet[data-state=closing] .modal-panel{animation:none}}.page-head{gap:var(--space-4);padding-bottom:var(--page-head-gap);flex-direction:column;min-width:0;margin:0;display:flex}.page-head__row{align-items:center;column-gap:var(--space-2);grid-template-columns:minmax(0,1fr) auto auto;row-gap:0;display:grid}.page-head__title{margin:0 var(--space-2) 0 0;font-family:var(--font-serif);font-variation-settings:var(--type-display);letter-spacing:-.022em;color:var(--text);text-wrap:balance;grid-area:1/1;font-size:38px;font-weight:500;line-height:1.1}.page-head__share,.page-head__aside{white-space:nowrap;grid-area:1/2;align-items:center;display:flex}.page-head__share>p{margin:0}.page-head__actions{justify-content:flex-end;align-items:center;gap:var(--space-2);grid-area:1/3;display:flex}.page-head__actions:has(>:only-child:empty){display:none}.page-head__step-back{display:contents}.page-head__step-back[data-stepped]{visibility:hidden}.page-head__subtitle{max-width:60ch;color:var(--text-secondary);text-wrap:pretty;grid-area:2/1/auto/-1;margin:6px 0 0;font-size:16px;line-height:1.45}.page-head__filters{align-items:center;gap:var(--space-2);flex-wrap:wrap;min-width:0;display:flex}@media (width<=767px){.page-head__row{column-gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto}.page-head__title{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:30px;overflow:hidden}.page-head__row:not(:has(>.page-head__share,>.page-head__aside))>.page-head__title{white-space:normal;text-overflow:clip;grid-column:1/-1;overflow:visible}.page-head__subtitle{font-size:15px}.page-head__actions{margin-top:var(--space-2);flex-wrap:wrap;grid-area:3/1/auto/-1;justify-content:flex-start;min-width:0}.page-head__actions:not(:has(>:not(.page-head__step-back[data-stepped]))){display:none}}
