:root{color-scheme:light dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400}*,:after,:before{box-sizing:border-box}body{margin:0;padding:0;background:radial-gradient(circle at top,#0c182f,#04070f 60%);color:#f1f5f9;min-height:100vh;display:flex;justify-content:center;align-items:center}main.container{max-width:640px;padding:3rem;background:rgba(15,23,42,.85);border-radius:1.5rem;box-shadow:0 20px 45px rgba(15,23,42,.45)}.hero h1{font-size:2.75rem}.hero h1,.hero p{margin-bottom:1rem}.hero p{font-size:1.125rem}code{background:rgba(15,118,110,.25);border-radius:.5rem;padding:.2rem .5rem}main.container.admin-shell{width:min(1400px,calc(100vw - 3rem));max-width:100%;padding:clamp(1.5rem,2vw + 1rem,3rem);margin:clamp(1.5rem,2.5vw,2.75rem) auto;min-height:calc(100vh - 3rem)}.admin-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);grid-gap:1.25rem}.admin-grid,.admin-layout{display:grid;gap:1.25rem;align-items:start}.admin-layout{grid-template-columns:minmax(220px,260px) minmax(0,1fr);grid-gap:1.25rem}.admin-nav{background:rgba(15,23,42,.75);border:1px solid rgba(148,163,184,.2);border-radius:1rem;padding:1.25rem 1rem;position:-webkit-sticky;position:sticky;top:1.5rem}.nav-label{margin:0 0 .5rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.nav-stack{display:flex;flex-direction:column;gap:.5rem}button.nav-button{width:100%;background:rgba(148,163,184,.1);color:#e2e8f0;border:1px solid rgba(148,163,184,.3);text-align:left;display:flex;align-items:center;justify-content:space-between}button.nav-button.active{background:linear-gradient(135deg,rgba(34,211,238,.2),rgba(14,165,233,.25));border-color:rgba(34,211,238,.6);color:#0b1220;box-shadow:0 10px 30px rgba(34,211,238,.25)}.admin-content{min-height:70vh;align-items:stretch}.admin-content,.section-stack{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:100%}@media (max-width:1100px){.admin-grid{grid-template-columns:1fr}}@media (max-width:900px){.admin-layout{grid-template-columns:1fr}.admin-nav{position:static}}.column-stack{display:flex;flex-direction:column;gap:1rem}.admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;color:#a5f3fc;margin:0 0 .5rem}.lede{margin:.35rem 0 0;color:#cbd5e1}.cta-stack{display:flex;gap:.75rem;flex-wrap:wrap}.panel{background:rgba(15,23,42,.75);border:1px solid rgba(148,163,184,.2);border-radius:1rem;padding:1.5rem;margin-bottom:1.25rem;width:100%;max-width:100%}.panel h2{margin-top:0;margin-bottom:.35rem}.modal-backdrop{position:fixed;inset:0;background:rgba(4,7,15,.75);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:999}.modal{width:min(980px,100%);background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(8,15,31,.92));border:1px solid rgba(148,163,184,.2);border-radius:1.25rem;box-shadow:0 25px 60px rgba(15,23,42,.5);padding:1.25rem 1.5rem 1.5rem}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:.5rem;border-bottom:1px solid rgba(148,163,184,.15)}.modal-body{padding-top:1rem}.compose-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:.75rem;gap:.75rem;margin-bottom:1rem}.meta-card{padding:.85rem 1rem;border-radius:.9rem;border:1px solid rgba(148,163,184,.18);background:rgba(148,163,184,.08)}.meta-card.subtle{background:rgba(14,165,233,.06);border-color:rgba(14,165,233,.35)}.meta-value{margin:.25rem 0 0;font-weight:700;color:#e2e8f0}.form-vertical{display:flex;flex-direction:column;gap:.85rem}.form-vertical .field span{display:block;color:#cbd5e1;margin-bottom:.35rem}.textarea-shell{border:1px solid rgba(148,163,184,.25);border-radius:.9rem;background:rgba(15,23,42,.45);overflow:hidden}.textarea-shell textarea{width:100%;padding:.9rem 1rem;border:none;background:transparent;color:#e2e8f0;resize:vertical}.textarea-shell textarea:focus{outline:none}.textarea-footer{display:flex;justify-content:space-between;padding:.5rem 1rem;border-top:1px dashed rgba(148,163,184,.25);background:rgba(148,163,184,.05)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:1rem;gap:1rem;margin-top:1rem;width:100%}.form-grid label{display:flex;flex-direction:column;width:100%;min-width:0}.form-grid label span{display:block;font-size:.9rem;color:#cbd5e1;margin-bottom:.5rem}.form-grid .button-row{grid-column:1/-1}input{width:100%;padding:.75rem .9rem;border-radius:.65rem;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.6);color:#e2e8f0;min-width:0;max-width:100%}input:focus{outline:2px solid rgba(94,234,212,.5);border-color:rgba(94,234,212,.6)}.button-row{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap;align-items:center}button{border:none;border-radius:.9rem;padding:.8rem 1.1rem;font-weight:600;cursor:pointer;transition:transform .08s ease,box-shadow .2s ease;color:#0b1220}button.primary{background:linear-gradient(135deg,#22d3ee,#14b8a6);box-shadow:0 10px 30px rgba(34,211,238,.3)}button.secondary{background:rgba(148,163,184,.15);color:#e2e8f0;border:1px solid rgba(148,163,184,.35)}button.ghost{background:transparent;color:#e2e8f0;border:1px dashed rgba(148,163,184,.35)}.ghost.danger,button.danger{color:#fecdd3;border-color:rgba(254,205,211,.55)}button:disabled{opacity:.6;cursor:not-allowed}button:hover:not(:disabled){transform:translateY(-1px)}.banner{padding:.9rem 1rem;border-radius:.85rem;margin-bottom:1rem;border:1px solid rgba(148,163,184,.35)}.banner.error{background:rgba(239,68,68,.12);border-color:hsla(0,91%,71%,.45);color:#fecaca}.banner.info{background:rgba(125,211,252,.12);border-color:rgba(125,211,252,.4);color:#e0f2fe}.muted{color:#94a3b8}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.pill{align-self:flex-start;background:rgba(94,234,212,.12);color:#99f6e4;padding:.35rem .75rem;border-radius:999px;border:1px solid rgba(94,234,212,.35);font-weight:600}.status{padding:.2rem .65rem;border-radius:999px;text-transform:capitalize;font-weight:700;font-size:.9rem}.status.success{background:rgba(52,211,153,.15);color:#bbf7d0}.status.danger{background:hsla(0,91%,71%,.15);color:#fecaca}.mailbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:1rem;gap:1rem}.card{background:rgba(15,23,42,.7);border:1px solid rgba(148,163,184,.2);border-radius:1rem;padding:1rem;flex-direction:column}.card,.card-header{display:flex;gap:.75rem}.card-header{align-items:flex-start;justify-content:space-between}.owners-edit span{display:block;color:#cbd5e1;margin-bottom:.5rem}.owners-edit label{display:flex;flex-direction:column;gap:.35rem;min-width:0}.owners-edit .button-row{margin-top:.75rem}.owners-edit input,select{max-width:100%}select{width:100%;padding:.7rem .9rem;border-radius:.65rem;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.6);color:#e2e8f0;min-width:0}select:focus{outline:2px solid rgba(94,234,212,.5);border-color:rgba(94,234,212,.6)}.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.mail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-gap:1rem;gap:1rem;width:100%}@media (max-width:900px){.mail-layout{grid-template-columns:1fr}}.message-list{background:rgba(15,23,42,.6);border:1px solid rgba(148,163,184,.2);border-radius:.85rem;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.message-row{text-align:left;border:1px solid transparent;background:transparent;color:inherit;padding:.65rem .75rem;border-radius:.75rem}.message-row.active,.message-row:hover{border-color:rgba(94,234,212,.4);background:rgba(14,165,233,.08)}.row-top{display:flex;justify-content:space-between;font-size:.9rem;color:#cbd5e1}.subject{display:flex;align-items:center;gap:.35rem;font-weight:700;margin:.2rem 0}.snippet{color:#94a3b8;font-size:.95rem}.message-detail{background:rgba(15,23,42,.6);border:1px solid rgba(148,163,184,.2);border-radius:.85rem;padding:1rem}.thread{display:flex;flex-direction:column;gap:.75rem}.thread-entry{padding:.5rem 0}.thread-entry+.thread-entry{border-top:1px solid rgba(148,163,184,.3);padding-top:1rem;margin-top:.25rem}.thread-entry-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.35rem}.message-text{white-space:pre-wrap;background:rgba(15,23,42,.55);border-radius:.65rem;padding:.75rem .85rem;border:1px solid rgba(148,163,184,.15);color:#e2e8f0}.inline-select{display:grid;grid-gap:.35rem;gap:.35rem;margin-bottom:.75rem;min-width:0}.user-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.45rem}.user-list li{display:flex;align-items:center;gap:.45rem;padding:.35rem 0;border-bottom:1px dashed rgba(148,163,184,.25)}.user-list li:last-child{border-bottom:none}.dot{width:10px;height:10px;border-radius:999px;background:#22d3ee;display:inline-block}