/* Extends the original shared cascade panel styles without changing that project. */
#fsociety-preview .fc{min-height:100vh}
#fsociety-preview .fc-demo{margin-left:auto}
#fsociety-preview .search-row{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:8px;margin-bottom:14px}
#fsociety-preview .fc-detail{align-self:start}
#fsociety-preview .green{color:var(--fc-green)}
#fsociety-preview .fc-detail dd{overflow-wrap:anywhere;min-width:0}
#fsociety-preview .fc-detail dl{grid-template-columns:1fr minmax(0,1fr)}
#fsociety-preview .fc-key{color:var(--fc-dim);line-height:1.7}
#fsociety-preview .fields,#fsociety-preview .fields label{display:grid;gap:8px}
#fsociety-preview .fields{gap:18px}
#fsociety-preview dialog{font:14px/1.5 ui-monospace,Consolas,monospace;max-width:560px}
#fsociety-preview dialog input,#fsociety-preview dialog select{font:inherit;color:inherit;width:100%;min-height:44px;padding:10px;background:#101113;border:1px solid #323339;box-sizing:border-box}
#fsociety-preview dialog button{font:inherit;cursor:pointer}
#fsociety-preview dialog input:focus-visible,#fsociety-preview dialog select:focus-visible,#fsociety-preview dialog button:focus-visible{outline:2px solid #f45050;outline-offset:3px}
#fsociety-preview dialog .fc-button{color:#efeee9;background:#17181b;border:1px solid #323339;padding:10px 13px}
#fsociety-preview dialog .fc-primary{background:#f45050;color:#101113;border-color:#f45050}
#fsociety-preview .server-info{display:grid;grid-template-columns:1fr 1fr;max-width:600px;gap:16px}
#fsociety-preview .server-info dt{color:var(--fc-dim)}
#fsociety-preview .server-info dd{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){#fsociety-preview .fc-header{gap:16px}#fsociety-preview .fc-demo{margin-left:0}#fsociety-preview .search-row{grid-template-columns:minmax(0,1fr) 135px}#fsociety-preview .fc-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){#fsociety-preview .fc-button{transition:filter .12s}}
#fsociety-preview .fc textarea{display:block;width:100%;padding:12px;border:1px solid var(--fc-line);background:var(--fc-bg);color:var(--fc-ink);font:inherit;resize:vertical;overflow-wrap:anywhere}
#fsociety-preview #export-dialog textarea{background:#101113;color:#efeee9;font:12px/1.6 ui-monospace,Consolas,monospace;width:100%;padding:10px;border:1px solid #323339;resize:vertical}
#fsociety-preview #export-dialog .fc-qr{background:white}
#fsociety-preview .expire-note{margin-top:24px;line-height:1.7}
#fsociety-preview .fc-user-name{overflow-wrap:anywhere;min-width:0}
#fsociety-preview .fc-user-top{flex-wrap:wrap}
#fsociety-preview .fc-event{grid-template-columns:160px 1fr}
#fsociety-preview .fc-main>[role=alert]{border-left:3px solid var(--fc-red);padding:12px;background:#25191b}
#fsociety-preview dialog[open]{color:#efeee9;background:#17181b}
#fsociety-preview dialog .fc-label,#fsociety-preview dialog .fc-muted{color:#a5a5ad}
#fsociety-preview dialog .fc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
#fsociety-preview dialog .fc-error{color:#ff7979}
#fsociety-preview .fc input[type=hidden]{display:none}
#fsociety-preview #days-field[hidden]{display:none}
@media(max-width:720px){#fsociety-preview .fc-event{grid-template-columns:1fr;gap:6px}#fsociety-preview .fc-detail dd{font-size:11px}#fsociety-preview .server-info{grid-template-columns:1fr;gap:8px}}
