:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1b2b46;background:#eef3f9;font-size:15px;line-height:1.5;--blue:#245cdb;--muted:#687991;--line:#dfe7f1;--shadow:0 8px 28px #20345a0a,0 2px 6px #20345a04}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.shell{max-width:1440px;margin:auto;padding:26px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.04em}h2{font-size:20px;letter-spacing:-.02em}h3{font-size:16px}button,input,textarea{font:inherit}button,.button{border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 15px;color:#1d385d;cursor:pointer;font-weight:600;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#edf3ff;border-color:#b7caf2}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #6c9cff;outline-offset:3px}.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 4px 12px #245cdb26}.primary:hover{background:#194abb;color:white}.hero,.card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;background:linear-gradient(120deg,#fff 65%,#f1f5ff)}.brand{display:flex;align-items:center;gap:16px}.brand img{border-radius:15px}.brand p{font-size:13px;color:var(--muted);margin-top:2px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--blue)}.tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}#status{margin:14px 2px;min-height:23px;color:var(--muted);font-size:13px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 2px}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;align-items:start}.inbox{padding:22px 16px;min-height:540px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.badge{border-radius:20px;background:#ecf2ff;color:var(--blue);padding:3px 10px;font-size:12px;font-weight:800}.tabs{display:flex;gap:4px;background:#f2f5fa;padding:4px;border-radius:12px;margin-bottom:18px}.tabs button{flex:1;border:0;background:transparent;padding:8px 4px;font-size:12px}.tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 6px #20345a12;color:var(--blue)}.notice{display:block;text-align:left;width:100%;padding:16px;border:1px solid transparent;margin-bottom:7px;font-weight:400}.notice:hover,.notice.selected{background:#f3f7ff;border-color:#d6e3fc}.notice.unread{background:#f0f6ff;border-left:3px solid var(--blue)}.notice h3{margin:6px 0;overflow-wrap:anywhere}.notice .excerpt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px}.meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:12px}.detail{padding:32px;min-height:540px;overflow-wrap:anywhere}.detail h2{font-size:27px;margin:15px 0}.body{white-space:pre-wrap;margin:25px 0;line-height:1.75}.response{padding:22px;background:#f5f8fe;border:1px solid var(--line);border-radius:16px}.response p{margin-bottom:14px}.response .yes{color:#08714c;border-color:#b5decf;background:#effaf5}.response .no{color:#a73b45;border-color:#ebc9cf;background:#fff5f5}.response button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.empty{text-align:center;color:var(--muted);padding:100px 15px}.empty h2{font-size:21px;color:#243750}.empty-icon{display:inline-grid;place-items:center;background:#eef4ff;color:var(--blue);border-radius:20px;width:64px;height:64px;font-size:30px;margin-bottom:12px}.muted{color:var(--muted);font-size:13px}.welcome{padding:40px;max-width:760px;margin:30px auto}.welcome p{margin:18px 0}.welcome .button{margin-bottom:14px}footer{padding:26px 3px;color:var(--muted);font-size:12px}footer span{float:right}footer p{margin-top:7px}dialog{border:1px solid var(--line);border-radius:24px;box-shadow:0 30px 100px #13274144;padding:28px;max-width:650px;width:calc(100% - 28px);color:inherit}dialog::backdrop{background:#18305277;backdrop-filter:blur(3px)}label{display:block;margin:16px 0;font-weight:600}input:not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #ccd7e6;border-radius:10px;padding:12px;color:inherit;background:#fbfcff;margin-top:7px}textarea{resize:vertical}fieldset{border:1px solid var(--line);border-radius:12px;padding:12px}legend{padding:0 8px;font-weight:600}.groups{max-height:180px;overflow:auto}.check,.groups label{font-weight:400;display:flex;gap:9px;align-items:center;margin:8px 0}.check input{width:18px;height:18px;accent-color:var(--blue)}#audience,#compose-error{font-size:13px;margin:12px 0}#compose-error{color:#a13243}.result{width:100%;text-align:left;margin:8px 0}.table-wrap{overflow:auto;margin-top:20px}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}.back{margin-bottom:12px}.summary{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.summary span{padding:9px 12px;background:#f0f5fc;border-radius:10px;font-size:13px}@media(max-width:1000px){.hero{align-items:flex-start;flex-direction:column}.workspace{grid-template-columns:300px minmax(0,1fr)}.detail{padding:22px}.topline{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.shell{padding:12px}.hero{padding:20px;border-radius:18px}.brand h1{font-size:25px}.brand p{font-size:11px}.workspace{display:block}.detail{margin-top:14px;min-height:350px}.inbox{min-height:0}.tools button{font-size:12px}.topline{margin:16px 2px}.detail h2{font-size:23px}.empty{padding:45px 10px}.welcome{padding:25px}.tools{gap:7px}body.detail-open .inbox{display:none}.body{font-size:15px}.hero .tools{width:100%}dialog{padding:20px}}

#notification-help:empty{display:none}.danger{color:#a13243;border-color:#e5bdc3}.admin-actions{margin:14px 0}.trash-note{padding:12px;border-radius:12px;background:#fff4e5;color:#774600}
@media(max-width:700px){.body{font-size:18px;line-height:1.75}.notice h3{font-size:18px}.notice .excerpt{font-size:16px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.meta,.muted,.badge{font-size:14px}.response p,.response button{font-size:17px}.tabs{flex-wrap:wrap}.tabs button{font-size:13px}.detail .tools button{font-size:15px}}

/* Message content is distinct from metadata and empty-state copy. */
.detail .message-body{font-size:19px;line-height:1.75;font-weight:450;color:#14243b;background:#f7f9fd;border:1px solid #e1e8f2;border-radius:14px;padding:20px;overflow-wrap:anywhere}
.notice .excerpt{color:#263a54;font-size:16px;font-weight:450;line-height:1.6;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.sent-entry{border:1px solid var(--line);border-radius:14px;margin:12px 0;overflow:hidden;background:white}
.sent-entry .result{border:0;border-radius:0;margin:0;padding:16px}
.entry-actions{padding:0 16px 12px}.entry-actions button{min-height:44px;font-size:14px}
.inbox-entry{margin-bottom:10px}.inbox-entry .notice{margin-bottom:0}.inbox-entry .entry-actions{padding:4px 16px 8px}
@media(max-width:700px){.detail .message-body{font-size:20px;line-height:1.7;font-weight:450;padding:16px;margin:20px 0}.notice .excerpt{font-size:18px;line-height:1.6;color:#20344e;-webkit-line-clamp:3}.entry-actions button{font-size:15px}.detail{padding:20px}.notice h3{font-size:18px}}

/* Return action follows the message and response controls. */
.detail > .back:last-child{display:block;margin:24px 0 0 auto;min-height:48px;min-width:130px}
