/* A shared smoked-glass material for cards and working dialogs. */
:root{--studio-smoked-glass:linear-gradient(135deg,#e4edff13,transparent 48%,#b4cced07),#111925ad;--studio-glass-edge:#dce8fa30;--studio-glass-depth:inset 0 1px #ffffff29,inset 1px 0 #ffffff09,0 20px 55px #0005;--glass-surface:var(--studio-smoked-glass);--glass-tile:linear-gradient(140deg,#ffffff0b,transparent 65%),#121b2859}
.sheet-dialog:not(#model-detail),.remote-dialog,.profile-editor,.clipping-dialog{background:var(--studio-smoked-glass);border-color:var(--studio-glass-edge);box-shadow:var(--studio-glass-depth);backdrop-filter:blur(24px) saturate(125%);-webkit-backdrop-filter:blur(24px) saturate(125%)}
.sheet-dialog::backdrop,.remote-dialog::backdrop,.profile-editor::backdrop,.clipping-dialog::backdrop{background:#03050b4d;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.model-card,.publication-row.media-publication,#platforms-board .platform-lane,.device-card,.admin-operation-panel,.clip-pair-card,.clip-source-card,.clip-video-card{background:var(--studio-smoked-glass);border-color:var(--studio-glass-edge);box-shadow:var(--studio-glass-depth);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.model-card-visual,.model-card-copy,.model-card-footer,.media-publication-footer{background:transparent}
#model-detail .model-account-card,.content-plan-templates>a,.sheet-dialog .network-fields{background:var(--glass-tile);border-color:#dce7fa24;box-shadow:inset 0 1px #ffffff12}
.profile-editor .content-secondary,.profile-editor .profile-avatar-button,.profile-editor .profile-editor-tabs>button,.profile-editor .content-filter select{background:#d7e5ff06;border-color:#dce7fa26;color:#c9d5e7;box-shadow:inset 0 1px #ffffff09}
.profile-editor .content-secondary:hover,.profile-editor .profile-avatar-button:hover{background:#d7e5ff12}
.profile-editor .content-networks button[aria-pressed=true],.profile-editor .profile-editor-tabs>button[aria-selected=true]{background:linear-gradient(135deg,#d4d1ff19,#c8d9f20b);border-color:#c8c4ed4d;color:#e0dcfa}
.profile-editor .content-field input,.profile-editor .content-field textarea,.profile-editor .content-field select,.profile-editor .profile-editor-field input,.profile-editor .profile-editor-field textarea{background:#0b121b66;border-color:#dce7fa24;box-shadow:inset 0 1px 3px #0003}
.profile-editor .profile-editor-message.error{color:#edb7bd}
/* Analytics grows with its content instead of reserving an empty editor-sized screen. */
#account-content[open]{height:auto;min-height:310px;max-height:calc(100dvh - 40px)}
#account-content .content-body{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
#account-content .profile-editor-message{flex:none}
#account-content .content-post-list tbody tr:hover{background:#dbe7ff06}
@media(max-width:600px){#account-content[open]{height:auto;min-height:280px;max-height:calc(100dvh - 24px)}.profile-editor .content-field input,.profile-editor .content-field textarea,.profile-editor .content-field select{font-size:16px}}
@media(prefers-reduced-transparency:reduce){:root{--studio-smoked-glass:#151e2b;--glass-tile:#1a2534}.sheet-dialog:not(#model-detail),.remote-dialog,.profile-editor,.clipping-dialog,.model-card,.publication-row.media-publication,#platforms-board .platform-lane,.device-card,.admin-operation-panel,.clip-pair-card,.clip-source-card,.clip-video-card{backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--studio-smoked-glass:#151e2b;--glass-tile:#1a2534}}

@media(prefers-reduced-transparency:reduce){.sheet-dialog::backdrop,.remote-dialog::backdrop,.profile-editor::backdrop,.clipping-dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Dialog containers are not controls; focus belongs to their interactive children. */
dialog:focus,dialog:focus-visible{outline:none!important}
html[data-focus-input=pointer] :is(button,a,input,select,textarea,summary,[tabindex]):focus{outline:none!important}
html[data-focus-input=keyboard] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline-width:2px;outline-offset:2px}
