:root{font:14px 'Segoe UI',sans-serif;color:#203653;background:#f4f7fa;--blue:#00519e;--line:#e0e9f1;--muted:#7a8ba3}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:11px 16px;background:#edf4fb;color:#00519e;font-weight:600}button:hover{filter:brightness(.96)}button.primary{background:var(--blue);color:white;box-shadow:0 4px 12px #2463dc20}button.plain{background:transparent;color:var(--muted)}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}button .icon{margin-right:7px}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#00519e;color:#d3e6f7;display:flex;flex-direction:column;padding:29px 18px;position:fixed;inset:0 auto 0 0;width:232px}.brand{display:flex;gap:12px;align-items:center;color:white;padding:0 10px 34px;font-size:18px;font-weight:650}.brandmark{display:grid;place-items:center;background:#198fd9;border-radius:11px;width:39px;height:39px}.brand small{display:block;color:#92acd1;font-size:10px;letter-spacing:1.5px;margin-top:5px;text-transform:uppercase}.nav-caption{font-size:10px;letter-spacing:1.8px;padding:14px 12px;color:#7d98bf}.sidebar button{width:100%;text-align:left;background:transparent;color:#d3e6f7;display:flex;align-items:center;gap:11px;margin:3px 0;padding:13px 12px;font-weight:500}.sidebar button.active{background:#2670b5;color:white}.sidebar button .icon{margin:0}.nav-count{margin-left:auto;background:#ffffff18;padding:2px 7px;border-radius:5px;font-size:11px}.side-bottom{margin-top:auto;border-top:1px solid #ffffff15;padding-top:18px}.user{display:flex;align-items:center;gap:10px;padding:10px}.avatar{border-radius:50%;display:inline-grid;place-items:center;width:35px;height:35px;background:#eaf1fe;color:#3565b0;font-size:12px;font-weight:650;flex-shrink:0}.user .avatar{background:#2b4770;color:#dce8fb}.user small{display:block;color:#bbd8f2;font-size:11px;margin-top:4px}.workspace{grid-column:2;min-width:0}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between}.crumb{color:#7b89a1;font-size:13px}.crumb b{color:#2c405e;font-weight:500}.local{font-size:11px;color:#667e9d}.page{padding:30px 36px 30px 24px;max-width:1700px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:18px}h1{font-size:28px;letter-spacing:-.8px;font-weight:650;margin:0 0 7px}p{line-height:1.6}.subtitle{color:var(--muted);margin:0;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 21px;display:flex;align-items:center;gap:15px}.stat-icon{background:#edf4fb;color:#00519e;border-radius:10px;padding:11px}.stat strong{display:block;font-size:26px;font-weight:650;letter-spacing:-.6px;margin-top:5px}.stat small{color:var(--muted);font-size:12px}.list-panel,.card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.tabs{display:flex;gap:27px;padding:0 23px;border-bottom:1px solid var(--line)}.tabs button{padding:17px 0;border-radius:0;background:none;color:var(--muted);border-bottom:2px solid transparent;font-size:13px}.tabs button.selected{border-color:var(--blue);color:var(--blue)}.tabs span{font-size:10px;margin-left:7px;border-radius:5px;background:#eff3f9;padding:3px 6px}.toolbar{padding:19px 22px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.search{position:relative;flex:1;min-width:200px}.search .icon{position:absolute;left:13px;top:12px;color:#8595ad}.search input{padding-left:41px;width:100%}input,select,textarea{border:1px solid #d8e4ef;border-radius:8px;background:#fff;color:#263c5b;padding:11px 12px;min-width:0;width:100%}input:focus,select:focus,textarea:focus{border-color:#198fd9;outline:3px solid #2463dc15}input::placeholder,textarea::placeholder{color:#94a1b4}.toolbar select{width:auto;max-width:210px;font-size:12px}.filter-extra{padding:0 22px 18px;display:flex;gap:13px;align-items:end;flex-wrap:wrap}.filter-extra label{font-size:11px;color:var(--muted)}.check{display:flex!important;align-items:center;gap:7px;padding-bottom:10px}.check input{width:auto}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}th{background:#f8fafd;color:#7c8ba2;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;padding:13px 20px;border-block:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #eef2f7;vertical-align:middle;font-size:12px}tr.message:hover{background:#f2f7fc}.caller{display:flex;gap:11px;align-items:center}.caller button{display:block;background:none;padding:0;text-align:left;color:#203653;font-size:13px;font-weight:600}.sub{display:block;font-size:11px;color:var(--muted);margin-top:5px}.preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;color:#697b95;margin-top:5px;line-height:1.4}.subject{font-weight:500;font-size:12px}.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;padding:5px 9px;border-radius:5px;background:#f0f3f8;color:#79869a}.badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.badge.new{background:#e7f1fa;color:#00519e}.badge.progress{background:#edf0ff;color:#606bc3}.number{font-size:11px;color:#8a9ab1;margin-top:5px}.recipient{display:inline-flex;border-radius:7px;background:#eef3fc;color:#4d6f9f;padding:7px 9px;font-size:11px;font-weight:650}.list-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;color:var(--muted);font-size:11px}.list-footer button{font-size:11px;padding:8px 12px}.empty{text-align:center;padding:65px 20px;color:var(--muted)}.empty strong{display:block;font-size:16px;color:#425a7c}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:22px}.card-head{padding:20px 24px;border-bottom:1px solid var(--line)}h2{font-size:15px;margin:0;font-weight:600}.form-body{padding:22px 24px;display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;gap:8px;font-size:12px;color:#526784;font-weight:500}.wide{grid-column:1/-1}textarea{resize:vertical;min-height:115px;line-height:1.6}.form-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.form-footer small{color:var(--muted);font-size:11px}.helper{padding:22px;background:#edf4fb;border:1px solid #dde8fb;border-radius:12px;height:fit-content}.helper h3{font-size:14px;margin:0 0 14px}.helper p{color:#6680a5;font-size:12px;margin:12px 0}.helper hr{border:0;border-top:1px solid #d7e3f6;margin:20px 0}.detail-overlay{position:fixed;inset:0;background:#12284a45;z-index:10;display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}.detail-panel{background:#fff;width:min(660px,100%);height:100%;overflow-y:auto;box-shadow:-12px 0 60px #10284c16;padding:27px 30px}.detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.detail-top small{color:var(--muted)}.detail-panel h2{font-size:23px;letter-spacing:-.5px;margin-bottom:8px}.meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;padding:22px 0;border-bottom:1px solid var(--line)}.meta-grid small{display:block;color:#8796ab;font-size:11px;margin-bottom:7px}.note{white-space:pre-wrap;font-size:14px;line-height:1.8;padding:22px 0;color:#3a506e}.detail-section{padding:22px 0;border-top:1px solid var(--line)}.detail-section h3{font-size:14px;margin:0 0 17px}.reply-item{border-left:2px solid #c4dcef;padding:2px 0 2px 15px;margin-bottom:19px;font-size:12px}.reply-item p{margin:7px 0}.reply-item small{color:var(--muted)}.reply-form{display:grid;gap:12px}.reply-form textarea{min-height:90px}.reply-form button{justify-self:end}.source{font-size:10px;color:#8b9bb0;line-height:1.7;overflow-wrap:anywhere}.warning{padding:12px;background:#fff8ea;border-radius:8px;color:#956b29;font-size:12px;margin:15px 0}.inbox-row{display:flex;gap:16px;align-items:center;padding:22px;border-bottom:1px solid var(--line)}.inbox-row div:nth-child(2){flex:1}.inbox-row p{margin:5px 0;color:#667c9b;font-size:13px}.inbox-row small{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173d74;color:white;border-radius:10px;padding:14px 22px;box-shadow:0 6px 30px #18385d30;z-index:30;display:none}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-hero{background:#00519e;color:white;padding:60px;display:flex;flex-direction:column;justify-content:center}.login-hero h1{font-size:46px;max-width:520px;line-height:1.2;letter-spacing:-1.5px}.login-hero p{color:#9bb7df;max-width:400px}.login-form{max-width:380px;width:100%;margin:auto;padding:30px}.login-form form{display:grid;gap:19px}.login-form h2{font-size:25px;margin-bottom:10px}.login-form p{color:var(--muted);margin-bottom:30px}.error{color:#b44d4d;font-size:12px}.close{font-size:22px;padding:3px 10px;line-height:1.5}.results-note{padding:0 22px 15px;color:var(--muted);font-size:11px}@media(max-width:1100px){.sidebar{width:195px}.shell{grid-template-columns:195px minmax(0,1fr)}.page{padding:25px 22px 25px 16px}.topbar{padding:0 22px}.form-layout{grid-template-columns:1fr}.helper{display:none}td,th{padding-inline:13px}.stats{gap:10px}.stat{padding:15px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:auto;padding:14px;display:block}.brand,.nav-caption,.side-bottom{display:none}.sidebar nav{display:flex;gap:7px}.sidebar button{font-size:12px;padding:10px;justify-content:center;margin:0}.sidebar .nav-count{display:none}.workspace{width:100%}.topbar{height:57px;padding:0 18px}.page{padding:22px 15px}.pagehead{align-items:start}.pagehead h1{font-size:23px}.pagehead button{font-size:12px}.stats{gap:8px}.stat{padding:12px;display:block}.stat-icon{display:none}.stat strong{font-size:23px}.stat small{font-size:10px}.tabs{gap:19px;padding-inline:16px}.tabs button{font-size:12px}.toolbar{padding:15px}.toolbar .search{flex-basis:100%}.toolbar select{flex:1;max-width:none}.form-body{padding:18px;gap:15px}.form-footer{padding:15px}.detail-panel{padding:22px}.login-page{display:block;background:#f4f7fa;padding:35px 0}.login-hero{display:none}.login-form{background:white;border-radius:15px}table{min-width:820px}}@media(max-width:450px){.form-body{grid-template-columns:1fr}.wide{grid-column:auto}.pagehead{flex-direction:column}.sidebar button .icon{display:none}}

.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(400px,620px) 1fr;background:#fff;color:#173042}.login-card{padding:11vh clamp(34px,8vw,120px);display:flex;flex-direction:column;justify-content:center;max-width:620px}.stack-form{display:flex;flex-direction:column;gap:9px;max-width:390px}.stack-form label{font-weight:700;color:#173042;font-size:14px;display:block}.stack-form input{width:100%;border:1px solid #d9e3e8;border-radius:9px;background:#fff;padding:13px 14px;color:#173042;outline:none;margin-bottom:9px;font-size:15px}.stack-form input:focus{border-color:#00519e;box-shadow:0 0 0 3px #005a8d19}.login-submit{border:0;border-radius:9px;padding:13px 19px;background:#00519e;color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:16px}.login-submit:hover{background:#003c75}.login-submit span{font-size:20px;line-height:12px}.login-visual{background:linear-gradient(140deg,rgba(0,65,104,.94),rgba(0,90,141,.78)),url('/login-justice.jpg') center/cover;display:flex;flex-direction:column;justify-content:flex-end;padding:10%;color:#fff}.visual-quote{font-family:Georgia,serif;font-size:clamp(28px,4vw,56px);line-height:1.28;letter-spacing:-1px}.visual-line{height:1px;width:78px;background:#8fc2da;margin:36px 0 16px}.visual-caption{font-size:13px;line-height:1.6;opacity:.8}.stack-form .error{min-height:18px;font-size:13px}.stack-form small{font-size:11px;color:#71818b;line-height:1.6}@media(max-width:800px){.login-shell{grid-template-columns:1fr}.login-card{max-width:none;padding:48px 28px;min-height:70vh;align-items:center}.stack-form{width:100%;max-width:390px}.login-visual{min-height:30vh;padding:32px}.visual-quote{font-size:28px}.visual-line{margin:20px 0 12px}}
@font-face{font-family:'Login Serif';src:url('/login-serif.woff2')} .visual-quote{font-family:'Login Serif',Georgia,serif}

/* Larger type and aligned category choices in the entry form. */
.entry-page h1{font-size:34px}.entry-page>.pagehead .subtitle{font-size:17px}.entry-page .form-layout{grid-template-columns:minmax(0,1fr)}.entry-page .helper{display:none}.entry-page .card-head h2{font-size:21px}.entry-page .form-body label,.entry-page .category-choices legend{font-size:17px}.entry-page input,.entry-page select,.entry-page textarea,.entry-page .form-footer button{font-size:18px}.entry-page .form-footer small{font-size:15px}.entry-page .form-body{gap:20px}.note-category-row{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:start}.note-field textarea{min-height:205px}.category-choices{border:0;padding:0;margin:0;min-width:0}.category-choices legend{font-weight:500;color:#526784;padding:0;margin-bottom:8px}.category-choices label{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d8e4ef;border-radius:8px;margin-bottom:8px;cursor:pointer;background:#fafcff}.category-choices label:has(input:checked){background:#e7f1fa;border-color:#7cb1dc;color:#00519e}.category-choices input{appearance:auto;width:20px;height:20px;margin:0;accent-color:#00519e;flex-shrink:0}@media(max-width:850px){.note-category-row{grid-template-columns:1fr}.category-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.category-choices legend{margin-bottom:10px}.category-choices label{margin:0}}@media(max-width:500px){.category-choices{grid-template-columns:1fr}.entry-page h1{font-size:29px}}
.entry-page{padding-top:24px;padding-bottom:20px}.entry-page .pagehead{margin-bottom:20px}.entry-page .card-head{padding-block:17px}.entry-page .form-body{padding-block:18px;gap:17px}.entry-page .category-choices label{padding-block:10px}.entry-page .note-field textarea{min-height:190px}
@media(min-width:1101px){.entry-page{padding-right:clamp(130px,13vw,250px)}}
.entry-page h1{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.entry-number{font-size:22px;font-weight:400;color:#718199;letter-spacing:0;white-space:nowrap}.entry-number>span{margin-right:14px;color:#a5b3c7}
.entry-page h1{column-gap:32px}

.entry-contact-row{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.45fr);gap:30px;align-items:stretch}.contact-fields{display:grid;gap:16px}.recipient-choices{margin:0;padding:0;border:0;min-width:0}.recipient-choices legend{font-size:17px;font-weight:500;color:#526784;padding:0;margin-bottom:8px}.recipient-groups{display:grid;grid-template-columns:1.25fr 1fr;border:1px solid #d8e4ef;border-radius:9px;min-height:calc(100% - 12px);background:#fafcff}.recipient-groups section{padding:14px 16px}.recipient-groups section+section{border-left:1px solid #d8e4ef}.recipient-groups h3{font-size:16px;font-weight:650;color:#2c568f;margin:0 0 13px}.recipient-options{display:grid;gap:10px}.entry-page .recipient-options label{display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer;line-height:1.45}.recipient-options input{width:19px;height:19px;flex-shrink:0;margin:0;accent-color:#00519e}.recipient-options label:has(input:checked){color:#00519e;font-weight:650}.recipient-choices .error:empty{display:none}@media(max-width:1250px){.entry-contact-row{grid-template-columns:1fr}.recipient-groups{min-height:0}.recipient-options{grid-template-columns:1fr 1fr}.recipient-groups{grid-template-columns:1.6fr 1fr}.recipient-groups section:last-child .recipient-options{grid-template-columns:1fr}}@media(max-width:650px){.recipient-groups{grid-template-columns:1fr}.recipient-groups section+section{border-left:0;border-top:1px solid #d8e4ef}.recipient-options{grid-template-columns:1fr}}
@media(min-width:1251px){.entry-page .pagehead{margin-bottom:15px}.entry-page .card-head{padding-block:13px}.entry-page .form-body{gap:14px;padding-block:15px}.contact-fields{gap:12px}.entry-page .contact-fields input{padding-block:9px}.recipient-groups section{padding-block:10px}.recipient-options{gap:6px}.recipient-groups h3{margin-bottom:10px}.entry-page .note-field textarea{min-height:165px}.entry-page .category-choices label{padding-block:7px;margin-bottom:7px}}
.recipient-groups{grid-template-columns:1.8fr 1fr}.recipient-groups section:first-child .recipient-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.entry-page .recipient-options label{font-size:17px}.recipient-groups section:last-child .recipient-options{gap:14px}@media(max-width:650px){.recipient-groups{grid-template-columns:1fr}.recipient-groups section:first-child .recipient-options{grid-template-columns:1fr}}
.entry-page h1{font-size:30px}@media(max-width:450px){.entry-page h1{font-size:27px}}

.status-cell .badge{font-size:14px;padding:8px 11px}.status-cell .badge:before{width:6px;height:6px}.author-initials{font-size:14px;font-weight:650;color:#4d6f9f}.caller>div{min-width:0}.caller button{overflow-wrap:anywhere}.recipient{overflow-wrap:anywhere;max-width:100%}@media(max-width:1100px){.tablewrap table{min-width:1050px}}
.received-at{display:flex;align-items:center;gap:14px;white-space:nowrap}.received-separator{color:#99a9bf}.tablewrap table{min-width:1150px}
.tablewrap td{font-size:14px}.tablewrap .caller button{font-size:15px}.tablewrap .sub,.tablewrap .preview{font-size:13px}.tablewrap .subject{font-size:14px}.tablewrap .recipient{font-size:13px}.tablewrap .status-cell .badge{font-size:15px}.tablewrap .author-initials{font-size:16px}.tablewrap .avatar{font-size:14px}

.recipient-filter{margin:0;padding:20px 22px;border:0;border-bottom:1px solid var(--line);min-width:0}.recipient-filter legend{float:left;width:100%;padding:0;margin-bottom:15px;font-size:14px;font-weight:600;color:#3b5577}.recipient-filter-options{clear:both;display:flex;flex-wrap:wrap;align-items:center;gap:14px 23px}.recipient-filter-options label{display:flex;gap:8px;align-items:center;font-size:14px;white-space:nowrap;cursor:pointer}.recipient-filter-options input{width:18px;height:18px;flex-shrink:0;accent-color:#00519e;margin:0}.recipient-filter-options label:has(input:checked){color:#00519e}.recipient-filter-options label:first-child{padding-right:22px;border-right:1px solid #d8e4ef;font-weight:600}

.recipient-filter-options{align-items:stretch;gap:20px}.recipient-filter-options>label:first-child{align-self:center;border:0;padding-right:5px}.filter-person-group{padding:12px 16px;border:1px solid #e1e9f5;border-radius:9px;background:#f4f8fc;flex:1 1 auto}.filter-group-title{display:block;font-size:12px;font-weight:650;color:#58759b;margin-bottom:12px}.filter-group-people{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px}.filter-group-people label:first-child{padding-right:0;border:0;font-weight:500}.filter-person-group:last-child{background:#edf4fa;flex-grow:0}@media(max-width:900px){.filter-person-group:last-child{flex-grow:1}}
.filter-person-group{flex:0 1 auto}.filter-person-group:last-child{flex:0 1 auto}@media(max-width:900px){.filter-person-group,.filter-person-group:last-child{flex:0 1 auto}}
.toolbar .search{flex:0 1 380px;min-width:200px}@media(max-width:760px){.toolbar .search{flex:0 1 100%;max-width:380px}}

.period-filter{margin:0;border:0;border-bottom:1px solid var(--line);padding:18px 22px;min-width:0}.period-filter legend{float:left;width:100%;padding:0;margin-bottom:14px;font-size:14px;font-weight:600;color:#3b5577}.period-filter-options{clear:both;display:flex;flex-wrap:wrap;align-items:center;gap:16px 26px}.period-filter-options>label{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap;cursor:pointer}.period-filter-options input[type=checkbox]{width:18px;height:18px;accent-color:#00519e;margin:0;flex-shrink:0}.period-filter-options>label:has(input:checked){color:#00519e}.period-filter-options .date-label{font-size:13px;color:#718199}.period-filter-options input[type=date]{width:160px;font-size:14px;padding:9px 10px}.period-filter .error:empty{display:none}.period-filter .error{display:block;margin-top:12px}

.period-search-row{display:flex;align-items:start;border-bottom:1px solid var(--line);gap:25px;padding-right:22px}.period-search-row .period-filter{border-bottom:0;flex:1;min-width:0;padding-right:0}.fulltext-filter{padding:18px 0;flex:0 1 340px;min-width:240px}.fulltext-filter>label{display:block;font-size:14px;font-weight:600;color:#3b5577;margin-bottom:14px}.fulltext-filter .search{min-width:0}.fulltext-filter input{font-size:13px}.period-search-row .period-filter-options{gap:14px 18px}.period-search-row .period-filter-options input[type=date]{width:143px}@media(max-width:1400px){.period-search-row{flex-wrap:wrap;gap:0;padding-right:0}.period-search-row .period-filter{flex-basis:100%;padding-right:22px}.fulltext-filter{padding:0 22px 18px;flex-basis:390px}}@media(max-width:650px){.fulltext-filter{flex-basis:100%}}
@media(min-width:1401px){.period-search-row{gap:18px}.period-search-row .period-filter{flex:0 1 auto}.period-search-row .period-filter-options{flex-wrap:nowrap}.period-search-row .fulltext-filter{flex:0 1 340px}}

.manual-period{padding-left:20px;border-left:1px solid #d8e4ef}.manual-period-title{display:block;font-size:12px;font-weight:600;color:#718199;margin-bottom:8px}.manual-period-dates{display:flex;gap:15px;align-items:center}.manual-period-dates .date-label{display:flex;gap:8px;align-items:center;white-space:nowrap}.manual-period.active .manual-period-title{color:#00519e}.period-search-row .period-filter-options{align-items:center}.fulltext-filter{align-self:flex-end}@media(max-width:650px){.manual-period{padding-left:0;border:0}.manual-period-dates{flex-wrap:wrap}}
.period-search-row{align-items:flex-start}.period-search-row .period-filter{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap}.period-title,.manual-period-title,.fulltext-filter>label{font-size:14px;font-weight:600;line-height:20px;color:#3b5577;margin:0 0 14px}.preset-period .period-filter-options{min-height:40px}.manual-period-dates{min-height:40px}.fulltext-filter{align-self:flex-start}.period-filter .error{flex-basis:100%}
tr.message{cursor:pointer}tr.message .phone-number,tr.message .status-cell{cursor:default}
.status-trigger{padding:0;background:transparent;text-align:left;font-weight:400}.status-trigger .badge{cursor:pointer}.status-trigger:hover .badge{box-shadow:0 0 0 2px #b6d5ed}.inline-status{font-size:14px;padding:7px 8px;width:100%;min-width:130px}

.detail-panel{width:min(780px,100%);font-size:17px;padding:28px 32px}.detail-panel h2{font-size:29px}.detail-panel .detail-top small,.detail-panel .sub{font-size:15px}.detail-panel .meta-grid small{font-size:14px}.detail-panel .note{font-size:18px}.detail-panel .detail-section h3{font-size:18px}.detail-panel label{font-size:16px}.detail-panel input,.detail-panel select,.detail-panel textarea,.detail-panel button{font-size:17px}.detail-panel .reply-item{font-size:16px}.detail-panel .reply-item small{font-size:14px}.detail-panel .subtitle{font-size:16px}.detail-panel .source{font-size:13px}.detail-panel .warning{font-size:16px}.detail-status-buttons{display:flex;gap:10px;flex-wrap:wrap}.detail-status-buttons button{background:#f3f6fb;border:1px solid #dae4f2;color:#607797;padding:11px 17px}.detail-status-buttons button.active{background:#00519e;border-color:#00519e;color:white}.detail-panel .edit-message{margin-top:20px;border:1px solid #a9cce8;background:#edf4fb;color:#00519e}.detail-panel .close{font-size:27px}
.detail-action-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.detail-status-buttons{gap:7px}.detail-panel .detail-status-buttons button,.detail-panel .edit-message{font-size:15px;padding:9px 12px}.detail-panel .detail-action-row .edit-message{margin-top:0}.detail-action-row .edit-message .icon{width:17px;height:17px;margin-right:5px}

.detail-view-controls{display:flex;align-items:center;gap:14px}.detail-panel .view-toggle{font-size:13px;padding:8px 10px;color:#4e76ad}.detail-centered{align-items:center;justify-content:center;padding:30px}.detail-centered .detail-panel{width:min(1080px,100%);height:auto;max-height:calc(100vh - 60px);border-radius:16px;padding:27px 36px;box-shadow:0 24px 100px #10284c35}.detail-centered .detail-top{margin-bottom:18px}.detail-centered .detail-panel h2{font-size:30px}.detail-centered .meta-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;background:#f2f7fc;border:1px solid #e7eef9;border-radius:10px;padding:17px 20px;margin-top:22px;font-size:16px}.detail-centered .meta-grid small{font-size:12px}.detail-centered .note{font-size:20px;line-height:1.8;padding:27px 4px;min-height:145px;max-height:32vh;overflow:auto}.detail-centered .detail-section{padding:19px 0}.detail-centered .detail-section>h3{display:none}.detail-centered .detail-action-row{justify-content:space-between}.detail-centered .detail-conversation{border-top:1px solid var(--line)}.detail-conversation summary{cursor:pointer;padding:21px 0;font-size:16px;font-weight:600;color:#35567f}.conversation-hint{font-size:13px;color:#8393a9;font-weight:400;float:right;margin-top:2px}.detail-centered .detail-conversation .detail-section{border:0;padding-top:0}.detail-centered .source{padding-top:13px;border-top:1px solid var(--line);font-size:11px;color:#8a9ab0}.detail-centered .reply-form{grid-template-columns:230px 1fr;gap:15px}.detail-centered .reply-form>label:last-of-type{grid-column:1/-1}.detail-centered .reply-form>button{grid-column:1/-1}@media(max-width:760px){.detail-centered{padding:12px}.detail-centered .detail-panel{padding:20px;max-height:calc(100dvh - 24px)}.detail-centered .meta-grid{grid-template-columns:1fr 1fr;padding:15px;gap:17px}.detail-centered .detail-panel h2{font-size:25px}.detail-centered .note{font-size:18px}.conversation-hint{display:none}.detail-view-controls{gap:3px}.detail-panel .view-toggle{font-size:11px}.detail-centered .detail-top small{font-size:11px}.detail-centered .detail-action-row{gap:12px}.detail-centered .reply-form{grid-template-columns:1fr}}
.sidebar .brand{padding:0 0 29px;gap:10px;align-items:flex-start}.sidebar .brandmark{width:34px;height:38px;flex-shrink:0;margin-top:3px;border-radius:10px}.brand-wordmark{min-width:0}.brand-community{display:block;font-size:12px;font-weight:500;letter-spacing:.3px;color:#d8eafb;line-height:1.5}.brand-address{display:block;font-size:21px;font-weight:650;letter-spacing:-.6px;line-height:1.3;color:#fff;white-space:nowrap}.brand-address>span{color:#b9dfff;font-weight:400}.sidebar .brand small{font-size:9px;letter-spacing:1.15px;margin-top:10px;color:#c2dcf3;padding-top:9px;border-top:1px solid #ffffff20}@media(min-width:761px) and (max-width:1100px){.sidebar .brand{gap:7px}.sidebar .brandmark{width:28px;height:33px}.brand-community{font-size:10px}.brand-address{font-size:18px}.sidebar .brand small{font-size:8px;letter-spacing:.5px}}
.sidebar .brand{align-items:stretch}.sidebar .brandmark{height:auto;margin-top:0;width:42px;border-radius:11px;background:linear-gradient(155deg,#198fd9,#00519e);box-shadow:inset 0 1px 0 #ffffff25}.sidebar .brandmark .icon{width:27px;height:27px;stroke-width:1.5}@media(min-width:761px) and (max-width:1100px){.sidebar .brandmark{width:32px;height:auto}.sidebar .brandmark .icon{width:23px;height:23px}}
.sidebar-date{padding:2px 10px 19px;margin-bottom:9px;border-bottom:1px solid #ffffff15}.sidebar-date span{display:block;font-size:12px;color:#c2dcf3;margin-bottom:6px}.sidebar-date strong{display:block;font-size:15px;font-weight:500;color:#ffffff;letter-spacing:.1px}@media(min-width:761px) and (max-width:1100px){.sidebar-date strong{font-size:13px}}
.sidebar-date{margin:16px 0 0;padding:17px 10px 0;border-bottom:0;border-top:1px solid #ffffff15}

/* Brand blue from mieterverein-mannheim.de: #00519e; secondary blue: #198fd9. */
:root{--blue:#00519e;--line:#e0e9f1;--muted:#708397;color:#1c3650;background:#f4f7fa}.sidebar{background:#00519e;color:#d3e6f7}.sidebar button{color:#d3e6f7}.sidebar button.active{background:#ffffff22;color:#fff}.sidebar button:hover{background:#ffffff14}.sidebar .nav-caption{color:#b3d1ed}.sidebar .brandmark{background:linear-gradient(155deg,#198fd9,#003e7c);box-shadow:inset 0 1px 0 #ffffff30}.sidebar .user .avatar{background:#ffffff22;color:#fff}.sidebar .user small{color:#c2dcf3}.sidebar-date span{color:#c2dcf3}.sidebar-date strong{color:#fff}.brand-community{color:#d8eafb}.brand-address>span{color:#b9dfff}.sidebar .brand small{color:#c2dcf3}.stat-icon,.recipient,.avatar{background:#e9f2fa;color:#00519e}.badge.new{background:#e6f1fb;color:#00519e}.badge.progress{background:#e4f3fc;color:#176891}.filter-group-title,.period-title,.manual-period-title,.fulltext-filter>label,.recipient-filter legend{color:#355c80}.filter-person-group{background:#f4f8fc;border-color:#d8e5f1}.filter-person-group:last-child{background:#eaf3fa}.detail-panel .edit-message{background:#edf4fb;color:#00519e;border-color:#b4cee5}.detail-panel .view-toggle{color:#00519e}#toast{background:#003c75}.detail-status-buttons button.active{background:#00519e;border-color:#00519e}.login-visual{background:linear-gradient(140deg,rgba(0,60,117,.94),rgba(0,81,158,.78)),url('/login-justice.jpg') center/cover}.login-submit{background:#00519e}.login-submit:hover{background:#003c75}

.status-filter{padding:18px 0;flex:0 0 170px}.status-filter>label{display:block;font-size:14px;font-weight:600;line-height:20px;color:#355c80;margin:0 0 14px}.status-filter select{font-size:14px;height:42px;padding:9px 10px}.period-search-row .fulltext-filter{min-width:210px;flex-basis:280px}@media(max-width:1400px){.status-filter{padding:0 22px 18px 0;flex-basis:190px}.period-search-row .fulltext-filter{flex-basis:340px}}@media(max-width:650px){.status-filter{padding:0 22px 18px;flex-basis:100%}.period-search-row .fulltext-filter{flex-basis:100%}}

.category-filter{flex-basis:190px}.period-search-row{gap:14px}.period-search-row .fulltext-filter{min-width:180px;flex-basis:220px}.period-search-row>.status-filter{flex-basis:155px}.period-search-row>.category-filter{flex-basis:185px}@media(min-width:1401px){.period-search-row .period-filter{gap:15px}.period-search-row .period-filter-options{gap:14px}.period-search-row .period-filter-options>label{font-size:13px}.period-search-row .period-filter-options input[type=date]{width:130px}.manual-period{padding-left:15px}.manual-period-dates{gap:10px}}@media(max-width:1400px){.period-search-row{gap:0}.period-search-row .fulltext-filter{flex-basis:300px}.period-search-row>.status-filter{flex-basis:180px}.period-search-row>.category-filter{flex-basis:210px}}@media(max-width:650px){.period-search-row .fulltext-filter,.period-search-row>.status-filter,.period-search-row>.category-filter{flex-basis:100%}}
.sidebar nav{display:flex;flex-direction:column;gap:10px}.sidebar nav>button{margin:0}@media(max-width:760px){.sidebar nav{flex-direction:row;gap:10px;flex-wrap:wrap}}
.sidebar-network{padding:12px 10px 0;display:grid;gap:7px}.sidebar-network>div{display:flex;flex-direction:column;gap:3px}.sidebar-network span{font-size:10px;color:#c2dcf3}.sidebar-network strong{font-size:12px;font-weight:400;color:#eef6ff;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.sidebar-date{margin-top:11px;padding-top:12px}
.sidebar nav>button>span:not(.nav-count){line-height:1.45}
.sidebar-network{text-align:center}.sidebar-network>div{align-items:center}

.status-popover{position:fixed;inset:auto;margin:0;width:245px;padding:7px;background:#fff;border:1px solid #d8e5f1;border-radius:12px;box-shadow:0 12px 40px #003c7529;overflow:visible;color:#203653}.status-menu-heading{padding:9px 11px 11px;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.8px;color:#7b8fa6;border-bottom:1px solid #edf2f7;margin-bottom:5px}.status-option{width:100%;display:flex;align-items:center;gap:11px;background:white;text-align:left;padding:11px;border-radius:7px;font-weight:500;color:#3a5370}.status-option:hover,.status-option:focus-visible{background:#f0f6fc;outline:2px solid #9ec9eb;outline-offset:-2px}.status-option[aria-checked=true]{background:#eaf3fc;color:#00519e}.status-option-dot{width:10px;height:10px;border-radius:50%;background:#00519e;flex-shrink:0}.status-option.progress .status-option-dot{background:#198fd9}.status-option.done .status-option-dot{background:#91a3b5}.status-option-label{font-size:15px;flex:1}.status-option-label small{display:block;font-size:11px;color:#7a8fa6;font-weight:400;margin-top:4px}.status-option-check{width:17px;color:#00519e;font-size:18px}.status-option:disabled{opacity:.6;cursor:wait}

.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1150px}.settings-card{padding:25px;display:flex;flex-direction:column;gap:18px;align-self:start}.settings-card h2{font-size:21px}.settings-card p{margin:0;color:#6a819a}.settings-card label{font-size:15px}.settings-card small{font-size:12px;color:#7890a8;line-height:1.6}.settings-card button{align-self:start}.layout-option{display:flex;align-items:center;gap:13px;border:1px solid #d8e4ef;border-radius:9px;padding:16px;cursor:pointer}.layout-option:has(input:checked){background:#edf4fb;border-color:#88b4db}.layout-option input{width:18px;height:18px;accent-color:#00519e}.layout-option small{display:block;margin-top:5px}.urgent-choice{display:flex!important;align-items:center;gap:10px;color:#ae3e3e}.urgent-choice input{width:20px;height:20px;accent-color:#c84040;flex-shrink:0}.urgent-choice span{font-size:13px;color:#8b7373;font-weight:400}.urgent-message td{border-top:1px solid #d14b4b;border-bottom:1px solid #d14b4b;background:#fffafa}.urgent-message td:first-child{border-left:2px solid #d14b4b}.urgent-message td:last-child{border-right:2px solid #d14b4b}.urgent-label{display:inline-block;background:#ffebeb;color:#b53232;border-radius:5px;font-size:11px;padding:3px 6px;margin-right:5px;vertical-align:middle;font-weight:650}.detail-panel .urgent-label{font-size:14px}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}}
.sidebar{overflow-y:auto}.sidebar nav>button{flex-shrink:0}.side-bottom{flex-shrink:0}
.entry-save-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.entry-save-actions .urgent-choice{margin-right:12px;white-space:nowrap}.entry-page .entry-save-actions .urgent-choice{font-size:17px}@media(max-width:650px){.entry-page .form-footer{align-items:flex-start;flex-direction:column;gap:16px}}
.tablewrap table{border-collapse:separate;border-spacing:0}.tablewrap tr.urgent-message>td{border-top:2px solid #d14b4b;border-bottom:2px solid #d14b4b}.tablewrap tr.urgent-message>td:first-child{border-left:2px solid #d14b4b}.tablewrap tr.urgent-message>td:last-child{border-right:2px solid #d14b4b}

.list-heading-actions{display:flex;gap:12px;flex-wrap:wrap}.phone-actions{display:inline-flex;align-items:center;gap:7px;max-width:100%;flex-wrap:wrap}.phone-tool{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;padding:3px!important;border:1px solid #d5e3f0;border-radius:5px;background:#f3f8fd!important;color:#00519e!important;text-decoration:none}.phone-tool .icon{width:15px;height:15px;margin:0!important}.phone-tool:hover{background:#deedf9!important}.assignment-box{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.assignment-box small{display:block;color:#8195ab;font-size:12px;margin-bottom:5px}.assignment-box strong{font-size:15px}.detail-centered .assignment-box button{font-size:14px;padding:9px 12px}.discussion-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.discussion-badges:empty{display:none}.discussion-new,.discussion-open{display:inline-block;padding:4px 7px;font-size:11px;font-weight:600;border-radius:5px;background:#e8f1fc;color:#00519e}.discussion-open{background:#fff4df;color:#93671c}.owner-label{font-size:11px!important;line-height:1.5;color:#356b95}.reply-item{white-space:normal}.reply-item p{white-space:pre-wrap;overflow-wrap:anywhere}.reply-unread{border-left-color:#00519e;background:#f3f8ff;padding:12px;border-radius:7px}.reply-item .discussion-new{margin-left:8px}.question-state{display:block;color:#8191a8;font-size:12px;margin-top:7px}.answer-item{margin-left:20px;border-left-color:#a4c5dc}.reply-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.reply-actions button{font-size:12px!important;padding:7px 9px}.reply-context{padding:10px;background:#edf4fb;font-size:13px;border-radius:7px}.reply-context[hidden]{display:none}.history-panel{border-top:1px solid var(--line);padding:17px 0}.history-panel summary{font-size:14px;color:#4b6a8e;font-weight:600;cursor:pointer}.history-event{padding:15px 0;border-bottom:1px solid #edf2f7;font-size:13px;overflow-wrap:anywhere}.history-event small{display:block;color:#8b9db1;margin-top:5px}.history-event p{font-size:12px;white-space:pre-wrap;margin:7px 0;max-height:130px;overflow:auto}.export-panel{width:min(1120px,100%)!important}.export-preview{max-height:32vh;overflow:auto;border:1px solid #e0e9f1;border-radius:9px;margin:20px 0}.export-preview table{min-width:650px;table-layout:fixed}.export-preview td{font-size:12px;overflow-wrap:anywhere;padding:11px}.export-preview th{position:sticky;top:0}.export-preview p{padding:10px;font-size:12px;color:#718199}.export-settings{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.export-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.export-panel .export-actions button{font-size:14px}.export-panel #export-feedback{font-size:14px;overflow-wrap:anywhere;line-height:1.6}.print-export-frame{position:fixed;left:-10000px;top:0;width:1px;height:1px;border:0}.export-panel button:disabled{opacity:.5;cursor:wait}@media(max-width:650px){.export-settings{grid-template-columns:1fr}.list-heading-actions{width:100%}.assignment-box{align-items:flex-start;flex-direction:column}.export-actions{flex-direction:column}}
.tablewrap .phone-actions .phone-number{font-size:15px;line-height:1.5;color:#526f8b}.tablewrap .phone-tool{width:28px;height:28px}.tablewrap .phone-tool .icon{width:17px;height:17px}
.tablewrap td.status-cell,.tablewrap td.author-cell{padding-left:8px;padding-right:8px}.tablewrap table:has(.status-cell) th:nth-child(5),.tablewrap table:has(.status-cell) th:nth-child(6){padding-left:8px;padding-right:8px}.tablewrap table:has(.status-cell) td:first-child,.tablewrap table:has(.status-cell) th:first-child{padding-left:18px;padding-right:8px}.tablewrap table:has(.status-cell) td:nth-child(2),.tablewrap table:has(.status-cell) th:nth-child(2){padding-left:8px}.tablewrap .received-at{gap:12px}
.tablewrap table.message-table{width:918px;min-width:918px;table-layout:fixed}.message-table td:nth-child(2){padding-right:8px}.message-table td:nth-child(3),.message-table th:nth-child(3){padding-left:8px;padding-right:8px}.message-table td:nth-child(3) .subject{display:block;overflow-wrap:anywhere}.message-table .discussion-badges{overflow-wrap:anywhere}
.tablewrap table.message-table{width:968px;min-width:968px}.message-table td:nth-child(2),.message-table th:nth-child(2){padding-right:16px}.message-table td:nth-child(3),.message-table th:nth-child(3){padding-left:24px;padding-right:16px}.message-table td:nth-child(4),.message-table th:nth-child(4){padding-left:40px}
.tablewrap table.message-table{width:var(--message-table-width,100%);min-width:968px;table-layout:fixed}
.period-search-row>.category-filter{margin-left:0}.tablewrap table.message-table{min-width:868px}

.export-panel .export-settings{margin-top:25px}.export-feedback{padding:13px 15px;border-radius:9px;font-size:15px;line-height:1.6}.export-feedback.success{background:#eaf5ef;border:1px solid #bcdcc9;color:#286044}.export-feedback.error{background:#fff0f0;border:1px solid #edc6c6;color:#a13d3d}.export-feedback.pending{background:#edf4fb;color:#355c80}.export-panel #export-feedback:empty{display:none}
.phone-actions{flex-wrap:nowrap;white-space:nowrap;max-width:none}.phone-actions .phone-number{flex-shrink:0;white-space:nowrap}.phone-actions .phone-tool{flex-shrink:0}
.delete-message{background:#fff0f0;color:#ab3030;border:1px solid #e8baba}.delete-message:hover{background:#fbe1e1}.delete-confirm{width:min(560px,calc(100% - 32px));padding:28px;border:1px solid #d8e5f1;border-radius:16px;color:#203653;box-shadow:0 20px 70px #102d5340}.delete-confirm::backdrop{background:#18365477}.delete-confirm h2{font-size:22px;margin:0 0 16px}.delete-confirm p{font-size:16px;line-height:1.65}.delete-confirm-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.delete-confirm button:disabled{opacity:.5;cursor:wait}.delete-confirm .error:empty{display:none}

.account-locks{margin-top:22px}.account-lock-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e0e9f1;padding:14px 0}.account-lock-row small{display:block;margin-top:5px;color:#718199}.account-lock-row button:disabled{opacity:.45;cursor:default}

.admin-settings{max-width:1150px;margin-top:32px}.admin-settings>h2{font-size:23px;margin:0 0 18px;color:#203653}.admin-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.admin-settings-panel{min-width:0}.admin-settings-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 25px;cursor:pointer;font-size:19px;font-weight:600;color:#00519e}.admin-settings-panel>summary::-webkit-details-marker{display:none}.admin-settings-panel>summary::after{content:'';width:10px;height:10px;flex-shrink:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 5px 0;transition:transform .15s}.admin-settings-panel[open]>summary::after{transform:rotate(225deg);margin-top:8px}.admin-settings-panel[open]>summary{border-bottom:1px solid #e0e9f1}.admin-settings-panel>summary:focus-visible{outline:2px solid #00519e;outline-offset:-4px;border-radius:12px}.admin-settings-panel .admin-settings-body{margin:0;padding:24px 25px;border:0;border-radius:0;box-shadow:none}.admin-settings-body .account-lock-row{flex-wrap:wrap}.admin-settings-body .account-lock-row>div{min-width:0;overflow-wrap:anywhere}.admin-settings-body .account-lock-row button{white-space:nowrap}@media(max-width:900px){.admin-settings-grid{grid-template-columns:1fr}}

.detail-split .detail-panel{width:min(1200px,100%)}.detail-split .split-contact{margin:18px 0 23px;padding:15px 20px;background:#f2f7fc;border:1px solid #dce8f3;border-radius:10px}.split-contact small,.split-sidebar>div>small,.split-facts small{display:block;font-size:13px;color:#718199;margin-bottom:7px}.detail-split .split-contact .phone-number{font-size:21px;font-weight:600;color:#203653}.split-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:28px;align-items:start;margin-bottom:24px}.split-message,.split-sidebar{min-width:0}.split-message>h3{font-size:14px;text-transform:uppercase;letter-spacing:.8px;color:#718199;margin:3px 0 12px}.detail-split .split-message .note{font-size:21px;line-height:1.7;min-height:180px;max-height:none;overflow:visible;padding:0 0 24px;white-space:pre-wrap;overflow-wrap:anywhere}.split-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:18px;border-top:1px solid #e0e9f1;font-size:16px;overflow-wrap:anywhere}.split-sidebar{border:1px solid #dce8f3;background:#f5f9fd;border-radius:12px;padding:20px;overflow-wrap:anywhere}.detail-split .split-sidebar .assignment-box{display:block;padding:20px 0}.split-sidebar .assignment-box button{margin-top:14px}.detail-split .split-sidebar .detail-section{padding:18px 0 0;border-bottom:0}.detail-split .split-sidebar .detail-section>h3{display:block;margin:0 0 14px;font-size:14px;color:#718199}.detail-split .split-sidebar .detail-action-row{display:flex;flex-direction:column;align-items:stretch;gap:16px}.detail-split .split-sidebar .detail-status-buttons{display:grid;grid-template-columns:1fr;gap:8px}.detail-split .split-sidebar .detail-status-buttons button{width:100%;font-size:15px;text-align:left;padding:10px 12px}.detail-split .split-sidebar .edit-message{margin:0;width:100%;font-size:15px}.detail-split .detail-conversation>summary{font-size:18px}.detail-split .discussion-new{font-size:13px}@media(max-width:760px){.split-columns{grid-template-columns:1fr;gap:20px}.detail-split .split-sidebar .detail-status-buttons{display:flex;flex-wrap:wrap}.detail-split .split-sidebar .detail-status-buttons button{width:auto}.detail-split .split-contact .phone-number{font-size:18px}.split-facts{grid-template-columns:1fr}.detail-split .split-message .note{font-size:19px}}

.settings-grid.settings-grid-admin{max-width:1450px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(230px,.75fr)}.presence-card{min-width:0}.presence-group+ .presence-group{border-top:1px solid #e0e9f1;margin-top:24px;padding-top:20px}.presence-group h3{font-size:15px;color:#536d89;margin:0 0 16px}.presence-initials{display:flex;flex-wrap:wrap;gap:14px 18px}.presence-user{display:inline-flex;align-items:center;gap:9px;min-width:58px;padding:7px 0}.presence-user strong{font-size:17px;letter-spacing:.6px}.presence-dot{display:inline-block;width:12px;height:12px;border-radius:50%;flex-shrink:0}.presence-dot.online{background:#26945c;box-shadow:0 0 0 3px #e9f5ee}.presence-dot.offline{background:#d34d4d;box-shadow:0 0 0 3px #fceded}@media(max-width:1100px){.settings-grid.settings-grid-admin{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid-admin #layout-settings{grid-column:1/-1}}@media(max-width:760px){.settings-grid.settings-grid-admin{grid-template-columns:1fr}}

.inbox-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}.inbox-heading-separator{display:inline-block;font-size:21px;font-weight:400;color:#9aabbc;margin:0 12px}.inbox-heading>.inbox-heading-separator{margin:0}.inbox-status-switch{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}.inbox-status-switch button{font-size:16px;padding:8px 11px;font-weight:500;letter-spacing:0;background:transparent;color:#607b96}.inbox-status-switch button[aria-pressed=true]{color:#00519e;background:#e5f0fa;font-weight:650}.inbox-status-switch button:focus-visible{outline:2px solid #00519e;outline-offset:2px}@media(max-width:760px){.inbox-heading{gap:8px}.inbox-status-switch button{font-size:15px}.inbox-heading-separator{margin:0 7px}}

.login-datetime{width:100%;max-width:390px;margin-bottom:32px;padding:23px 25px 21px;background:linear-gradient(125deg,#edf5fc,#f8fbfe);border:1px solid #dce9f4;border-radius:16px;position:relative;overflow:hidden}.login-datetime::before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:0 4px 4px 0;background:#00519e}.login-weekday{color:#557999;font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:1.6px;margin-bottom:7px}.login-date{display:block;color:#214463;font-size:22px;font-weight:500;line-height:1.35;letter-spacing:-.4px}.login-clock{display:flex;align-items:baseline;margin-top:16px;color:#00519e;font-variant-numeric:tabular-nums;white-space:nowrap}.login-clock>time{font-size:44px;font-weight:600;line-height:1.1;letter-spacing:-1.7px}.login-clock #login-clock-seconds{font-size:23px;font-weight:400;color:#7294b1;min-width:34px;margin-left:2px}.login-clock-label{font-size:13px;font-weight:500;color:#7294b1;margin-left:11px}@media(max-width:800px){.login-datetime{margin-bottom:27px}}@media(max-width:420px){.login-datetime{padding:20px}.login-date{font-size:21px}.login-clock>time{font-size:40px}}

.settings-grid>.settings-card{align-self:stretch}
.theme-choices{border:0;border-top:1px solid #dfe9f2;margin:3px 0 0;padding:15px 0 0;min-width:0}.theme-choices legend{padding:0 0 9px;font-size:14px;font-weight:600;color:#365d7e}.theme-choice{display:flex;align-items:center;gap:10px;padding:11px 10px;margin:7px 0 0;border:1px solid #dbe5ee;border-radius:9px;cursor:pointer;background:#fff;font-size:13px!important}.theme-choice:has(input:checked){background:#edf5fc;border-color:#7aa8cd}.theme-choice input{margin:0!important;accent-color:#00519e;flex-shrink:0}.theme-preview{display:inline-block;flex-shrink:0;width:27px;height:21px;border-radius:4px;border:1px solid #c5d4e0}.color-preview{background:linear-gradient(90deg,#00519e 0 32%,#edf5fc 32% 100%)}.mono-preview{background:linear-gradient(90deg,#222 0 32%,#eee 32% 100%)}.presence-legend-mono{display:none}

/* The monochrome palette also neutralizes embedded graphics and residual colors. */
html[data-theme=mono]{filter:grayscale(1);color-scheme:light;--blue:#222;--line:#ddd;--muted:#6a6a6a;background:#f2f2f2;color:#222}
html[data-theme=mono] body{background:#f2f2f2;color:#222}
html[data-theme=mono] .sidebar{background:#202020;color:#eee;border-right:1px solid #111}
html[data-theme=mono] .sidebar button{color:#ddd}
html[data-theme=mono] .sidebar button.active{background:#fff;color:#111;box-shadow:none}
html[data-theme=mono] .sidebar button:hover{background:#3a3a3a;color:#fff}
html[data-theme=mono] .sidebar .brandmark{background:#333;box-shadow:inset 0 0 0 1px #666}
html[data-theme=mono] .sidebar .nav-caption,html[data-theme=mono] .sidebar-date span,html[data-theme=mono] .sidebar .user small,html[data-theme=mono] .sidebar-network span{color:#bbb}
html[data-theme=mono] .brand-community,html[data-theme=mono] .brand-address>span,html[data-theme=mono] .sidebar .brand small{color:#ddd}
html[data-theme=mono] .sidebar .user .avatar{background:#555;color:#fff}
html[data-theme=mono] .card,html[data-theme=mono] .list-panel,html[data-theme=mono] .detail-panel{background:#fff;border-color:#d1d1d1;box-shadow:none}
html[data-theme=mono] h1,html[data-theme=mono] h2,html[data-theme=mono] h3,html[data-theme=mono] .caller button{color:#202020}
html[data-theme=mono] button,html[data-theme=mono] .phone-tool,html[data-theme=mono] .edit-message{background:#ededed!important;color:#252525!important;border-color:#ccc!important;box-shadow:none!important}
html[data-theme=mono] button.primary,html[data-theme=mono] .detail-status-buttons button.active,html[data-theme=mono] .inbox-status-switch button[aria-pressed=true]{background:#222!important;color:#fff!important;border-color:#222!important}
html[data-theme=mono] .close,html[data-theme=mono] button.plain{background:transparent!important}
html[data-theme=mono] input,html[data-theme=mono] select,html[data-theme=mono] textarea{accent-color:#222;color:#222;border-color:#c7c7c7;background:#fff}
html[data-theme=mono] input:focus,html[data-theme=mono] select:focus,html[data-theme=mono] textarea:focus{border-color:#444;box-shadow:0 0 0 3px #ddd}
html[data-theme=mono] .badge,html[data-theme=mono] .badge.new,html[data-theme=mono] .badge.progress,html[data-theme=mono] .recipient,html[data-theme=mono] .avatar{background:#efefef;color:#222;border:1px solid #d0d0d0}
html[data-theme=mono] .badge.new{background:#222;color:#fff;border-color:#222}
html[data-theme=mono] .badge.progress{background:#dedede;color:#111;border-color:#999}
html[data-theme=mono] .filter-person-group,html[data-theme=mono] .filter-person-group:last-child,html[data-theme=mono] .split-sidebar,html[data-theme=mono] .split-contact,html[data-theme=mono] .meta-grid{background:#f3f3f3;border-color:#ddd;color:#333}
html[data-theme=mono] .filter-group-title,html[data-theme=mono] .period-title,html[data-theme=mono] .manual-period-title,html[data-theme=mono] .fulltext-filter>label,html[data-theme=mono] .status-filter>label,html[data-theme=mono] .recipient-filter legend{color:#333}
html[data-theme=mono] .settings-grid>.settings-feature-card{background:linear-gradient(#f5f5f5,#fff 110px);border-color:#ccc}
html[data-theme=mono] .settings-feature-header,html[data-theme=mono] .split-facts{border-color:#ddd}
html[data-theme=mono] .settings-feature-header h2,html[data-theme=mono] .theme-choices legend{color:#222}
html[data-theme=mono] .settings-feature-icon{background:#e5e5e5;color:#222}
html[data-theme=mono] .settings-feature-card .layout-option{border-color:#d2d2d2;background:#fff}
html[data-theme=mono] .settings-feature-card .layout-option:has(input:checked){background:#eaeaea;border-color:#444;box-shadow:inset 3px 0 #222}
html[data-theme=mono] .theme-choice:has(input:checked){background:#eaeaea;border-color:#444}
html[data-theme=mono] .password-requirements{background:#f2f2f2;border-color:#ccc;color:#555}
html[data-theme=mono] .password-requirements>strong{color:#222}
html[data-theme=mono] .password-requirements li.fulfilled{color:#111;font-weight:600}
html[data-theme=mono] .password-requirements li.missing{color:#666}
html[data-theme=mono] .presence-dot.online{background:#111;box-shadow:none;border:2px solid #111}
html[data-theme=mono] .presence-dot.offline{background:#fff;box-shadow:none;border:2px solid #999}
html[data-theme=mono] .presence-legend-color{display:none}
html[data-theme=mono] .presence-legend-mono{display:inline}
html[data-theme=mono] tr.urgent-message>td{background:#f5f5f5;border-top-color:#222;border-bottom-color:#222}
html[data-theme=mono] tr.urgent-message>td:first-child{border-left-color:#222}
html[data-theme=mono] tr.urgent-message>td:last-child{border-right-color:#222}
html[data-theme=mono] .urgent-label{background:#222;color:#fff;border:1px solid #222}
html[data-theme=mono] .discussion-new,html[data-theme=mono] .discussion-open{background:#e8e8e8;color:#222;border:1px solid #bbb}
html[data-theme=mono] .reply-unread{background:#f2f2f2;border-left-color:#222}
html[data-theme=mono] .status-option[aria-checked=true]{background:#e5e5e5;color:#111}
html[data-theme=mono] .status-option-dot{background:#222}
html[data-theme=mono] .status-option.done .status-option-dot{background:#aaa}
html[data-theme=mono] .export-feedback.success,html[data-theme=mono] .export-feedback.error,html[data-theme=mono] .export-feedback.pending{background:#efefef;color:#222;border-color:#aaa}
html[data-theme=mono] .delete-confirm{background:#fff;color:#222;border-color:#bbb}
html[data-theme=mono] .delete-confirm::backdrop{background:#0007}
html[data-theme=mono] .error,html[data-theme=mono] .warning{color:#222}
html[data-theme=mono] #toast{background:#222;color:#fff}

.presence-initials{display:flex;flex-direction:column;gap:0}.presence-user{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;padding:11px 0;border-bottom:1px solid #e4ecf3}.presence-user:last-child{border-bottom:0}.presence-user strong.presence-name{font-size:13px;line-height:1.5;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.presence-last-login{font-size:11px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums;color:#718199;max-width:108px}

.settings-grid>.settings-feature-card{position:relative;align-self:stretch;border:1px solid #d9e5f0;border-radius:16px;background:linear-gradient(#f5f9fd 0,#fff 115px);box-shadow:0 4px 16px #164c7907;gap:20px}.settings-feature-header{display:flex;align-items:center;gap:13px;min-height:63px;padding-bottom:18px;border-bottom:1px solid #dfe9f2;margin-bottom:1px}.settings-feature-header h2{font-size:20px;margin:0 0 5px;color:#234665;letter-spacing:-.3px}.settings-feature-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e4eff9;color:#00519e;flex-shrink:0}.settings-feature-icon .icon{width:22px;height:22px}.settings-feature-subtitle{display:block;color:#7890a6;font-size:12px;line-height:1.45}.settings-feature-card .layout-option{border-radius:11px;background:#fff;padding:16px;gap:11px}.settings-feature-card .layout-option:has(input:checked){background:#eaf3fb;border-color:#7aa8cd;box-shadow:inset 3px 0 #00519e}.settings-feature-card .layout-option b{font-size:14px}.settings-feature-card .layout-option small{font-size:12px}.settings-feature-card label{font-size:14px}.settings-feature-card label>input{margin-top:7px}.settings-feature-card>button.primary{margin-top:auto;width:100%;align-self:stretch}.settings-feature-card>p[role=status]{min-height:20px;font-size:13px}.settings-feature-card.presence-card>small{margin-top:auto;border-top:1px solid #e0e9f1;padding-top:15px}.password-requirements{padding:13px 15px;border:1px solid #dbe7f1;background:#f4f8fc;border-radius:10px;color:#617c96;font-size:12px;line-height:1.55}.password-requirements>strong{font-size:12px;color:#365d7e}.password-requirements ul{margin:8px 0 0;padding-left:18px}.password-requirements li{padding:2px 0}.password-requirements li.fulfilled{color:#23784b}.password-requirements li.missing{color:#98611b}.settings-grid.settings-grid-admin{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,1fr)}@media(max-width:1100px){.settings-grid.settings-grid-admin{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.settings-grid.settings-grid-admin{grid-template-columns:1fr}}

.settings-grid>.settings-feature-card{padding:20px;gap:14px}.settings-feature-header{min-height:56px;padding-bottom:14px;gap:11px}.settings-feature-header h2{font-size:19px;margin-bottom:4px}.settings-feature-icon{width:38px;height:38px;border-radius:10px}.settings-feature-icon .icon{width:20px;height:20px}.settings-feature-card .layout-option{padding:12px;gap:10px}.settings-feature-card .layout-option small{margin-top:4px;line-height:1.45}.settings-feature-card label>input{margin-top:5px;padding:10px 12px}.settings-feature-card .password-requirements{padding:10px 12px;line-height:1.45}.settings-feature-card .password-requirements ul{margin-top:6px}.settings-feature-card .password-requirements li{padding:1px 0}.settings-feature-card .presence-user{padding:8px 0}.settings-feature-card .presence-group+ .presence-group{margin-top:16px;padding-top:14px}.settings-feature-card .presence-group h3{margin-bottom:11px}.settings-feature-card.presence-card>small{padding-top:12px}.settings-feature-card>p[role=status]{min-height:16px}.settings-grid{gap:20px}

html[data-theme=mono] .status-popover{background:#fff;color:#222;border-color:#bbb;box-shadow:0 12px 40px #0002}html[data-theme=mono] .status-option.progress .status-option-dot{background:#777}html[data-theme=mono] .status-option:hover,html[data-theme=mono] .status-option:focus-visible{background:#eee;outline-color:#777}
