/* Shared form baseline; low specificity preserves intentional component layouts. */
:root{color-scheme:dark}
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){font:inherit;color:var(--text,#e5edf6);background:var(--panel-2,#101b2a);border:1px solid var(--line,#304258);border-radius:8px;padding:10px 12px;box-sizing:border-box;max-width:100%;min-width:0}
:where(textarea){resize:vertical;line-height:1.55}
:where(input,textarea,select,button):focus-visible{outline:2px solid #74c8fa;outline-offset:2px}
:where(input[type=checkbox],input[type=radio]){accent-color:#73c7f4;width:16px;height:16px;flex:none}
:where(button,.btn){font:inherit;color:#e8f3fc;background:#173047;border:1px solid #34536d;border-radius:8px;padding:9px 13px;cursor:pointer}
:where(button):disabled{opacity:.55;cursor:wait}
::file-selector-button{font:inherit;color:#e8f3fc;background:#173047;border:1px solid #34536d;border-radius:6px;padding:6px 10px;margin-right:12px;cursor:pointer}
.modal-backdrop>div{max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #0009}
.alert-editor{width:720px!important;max-width:94vw!important;padding:24px!important;border-radius:16px!important}
.alert-editor label{display:block;margin:10px 0;font-size:13px;color:#becfdd}
.alert-editor input:not([type=checkbox]),.alert-editor select,.alert-editor textarea{width:100%;margin:5px 0;font-family:inherit!important;font-size:14px!important}
.place-choices{max-height:220px;overflow:auto;border-radius:10px;background:#0a1622}
.place-choices button{display:block;width:100%;text-align:left;border-radius:0;border:0;border-bottom:1px solid #293a4a;background:transparent;padding:11px 13px}
.place-choices button:hover,.place-choices button:focus{background:#183b50}
.place-choices small{display:block;color:#9db6ca;font-size:12px;margin-top:3px}
.source-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px;max-height:185px;overflow:auto;padding:8px;border:1px solid #2a3c4d;border-radius:10px}
.source-choices label{display:flex;gap:9px;align-items:center;margin:0;padding:6px;overflow-wrap:anywhere}
.pin-picker{position:relative;height:300px;border:1px solid #304358;border-radius:12px;overflow:hidden;background:#040b14;margin:12px 0}
.pin-status{font-size:12px;line-height:1.6;color:#a9c8dd}
@media(max-width:560px){.alert-editor{padding:16px!important}.pin-picker{height:260px}}
[hidden]{display:none!important}
.modal-backdrop{z-index:100000!important}
