.project-followup{min-width:160px;white-space:normal}.project-followup button{border:0;background:transparent;color:var(--ink);padding:3px 0;cursor:pointer;text-align:left;font:inherit}.project-followup button:hover{text-decoration:underline}.project-followup small{display:block;color:var(--muted)}.project-followup .followup-attention{color:#a23c12;font-weight:700}.followup-filters{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.followup-filters label{display:grid;gap:4px;font-size:12px;flex:1;min-width:135px}.followup-filters input,.followup-filters select,.firm-search input{font:inherit;padding:9px;border:1px solid var(--line,#ccd2db);border-radius:7px;background:var(--card,#fff);color:var(--ink,#172435);width:100%;box-sizing:border-box}.firm-search{display:flex;align-items:center;gap:10px;margin:14px 0;flex-wrap:wrap}.firm-search input{max-width:460px}.firm-search label{font-weight:600}.comms-post p{white-space:pre-wrap;overflow-wrap:anywhere}.comms-post small{display:block}.comms-layout aside{max-height:70vh;overflow:auto}.comms-item{text-align:left;width:100%}.followup-summary span{cursor:pointer}.pcard:has(.project-followup){grid-template-columns:minmax(0,1fr) 110px 174px 120px 110px}.pcard:has(.project-followup)>*{min-width:0;overflow-wrap:anywhere}.pcard:has(.project-followup)>.pill{justify-self:end;max-width:100%;box-sizing:border-box}@media(max-width:1000px){.pcard:has(.project-followup){grid-template-columns:repeat(2,minmax(0,1fr))}.pcard:has(.project-followup)>div:first-child{grid-column:1/-1}}[data-registry-firm][hidden],#firm-search-empty[hidden]{display:none!important}

@media(max-width:500px){.pcard:has(.project-followup){grid-template-columns:minmax(0,1fr)}.pcard:has(.project-followup)>.pill{justify-self:start}}

/* Meldinger workspace */
.inbox-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px;flex-wrap:wrap}.inbox-tabs button[aria-pressed=true]{background:var(--ink);color:var(--card);font-weight:700}.inbox-result{display:flex;gap:10px;align-items:center;margin:12px 0;color:var(--muted);font-size:12px}.inbox-result span{margin-right:auto}.followup-filters .inbox-search{flex:2}.inbox-more summary{cursor:pointer;color:var(--muted);font-size:13px}.inbox-workspace{grid-template-columns:minmax(270px,35%) minmax(0,1fr)!important;gap:0!important;border:1px solid var(--line);border-radius:12px;overflow:hidden}.inbox-workspace>aside{padding:10px;border-right:1px solid var(--line);background:var(--bg);max-height:72vh}.inbox-workspace #comms-detail{padding:22px;min-width:0;max-height:72vh;overflow:auto}.inbox-workspace .comms-item{border:1px solid transparent;border-radius:9px;padding:14px;margin-bottom:5px;background:var(--card);transition:background .12s,border-color .12s}.inbox-workspace .comms-item[aria-current=true]{border-color:#b58419;box-shadow:inset 4px 0 #e3ad2c;background:color-mix(in srgb,var(--card) 92%,#e3ad2c)}.inbox-state{font-weight:600}.inbox-empty{padding:36px 20px;text-align:center;color:var(--muted)}.inbox-empty h3{color:var(--ink)}.inbox-management{justify-content:flex-end;padding-bottom:12px;border-bottom:1px solid var(--line)}#comms button{cursor:pointer;transition:transform .08s,background .12s,box-shadow .12s}#comms button:hover:not(:disabled){box-shadow:0 0 0 2px color-mix(in srgb,var(--ink) 15%,transparent)}#comms button:active:not(:disabled){transform:translateY(1px);filter:brightness(.9)}#comms button:focus-visible{outline:2px solid #b58419;outline-offset:2px}#comms button:disabled{opacity:.55;cursor:wait}#comms-status:not(:empty){padding:10px 14px;border-radius:8px;background:var(--bg);border:1px solid var(--line)}#comms[aria-busy=true] #comms-status:before{content:'◌';display:inline-block;margin-right:8px;animation:inbox-spin 1s linear infinite}@keyframes inbox-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#comms *{animation:none!important;transition:none!important}}@media(max-width:760px){.inbox-workspace{grid-template-columns:1fr!important}.inbox-workspace>aside{max-height:35vh;border-right:0;border-bottom:1px solid var(--line)}.inbox-workspace #comms-detail{max-height:none}.inbox-result{flex-wrap:wrap}}
#comms{--card:#fff;--ink:#16223c;--muted:#647087;--line:#dce2ec;--bg:#f5f7fb}#comms input:not([type=checkbox]),#comms textarea,#comms select{background:var(--card);color:var(--ink)}#comms .inbox-tabs button{background:#f0f3f8;color:#43536d;border:1px solid transparent}#comms .inbox-tabs button[aria-pressed=true]{background:#fff3cc;color:#513d09;border-color:#e3ad2c;box-shadow:inset 0 -2px #e3ad2c}#comms .inbox-workspace .comms-item[aria-current=true]{background:#fff8e5!important;border:1px solid #e3ad2c;box-shadow:inset 4px 0 #e3ad2c}#comms .inbox-workspace .comms-item:hover{background:#eaf0f8!important}#comms .inbox-result button{background:#edf1f6;color:#43536d}#comms .comms-post{border:1px solid #e5eaf1}#comms .comms-post small{float:none;margin-top:4px}#comms-status[role=alert]{border-color:#d79080;color:#8c2f24}
/* Channel-first conversation design: words, icons and color communicate delivery. */
#comms .inbox-main-filters{display:grid;grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(160px,1fr);gap:16px;margin:20px 0 8px}#comms .inbox-main-filters label{margin:0}#comms .inbox-workspace{margin-top:16px;grid-template-columns:minmax(300px,36%) minmax(0,1fr)!important}#comms .inbox-workspace>aside{padding:0;background:#f8f9fc}#comms .inbox-workspace .comms-item{margin:0;padding:18px!important;border-radius:0;border:0;border-bottom:1px solid #e4e9f0;background:transparent!important;gap:7px;box-shadow:none}#comms .inbox-workspace .comms-item[aria-current=true]{background:#fff8e8!important;border:0;border-bottom:1px solid #e4e9f0;box-shadow:inset 4px 0 #e3ad2c}#comms .inbox-workspace .comms-item.unread{border-left:0!important}#comms .inbox-workspace .comms-item:hover{background:#edf2f8!important}#comms .inbox-row-top{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}#comms .inbox-channel{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:5px 8px;border-radius:5px;font-size:11px;font-weight:750;line-height:1.2;border:1px solid transparent}#comms .channel-email{background:#fff0de;color:#8c4b08;border-color:#f0d2ac}#comms .channel-account{background:#eeeaff;color:#5940a0;border-color:#d9d0f1}#comms .channel-internal{background:#e8f1fb;color:#285c89;border-color:#c9dced}#comms .inbox-person{font-size:15px;line-height:1.3}#comms .inbox-topic{font-size:13px;font-weight:600}#comms .inbox-project{color:#63728b;font-size:12px}#comms .inbox-preview{color:#6b778a;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#comms .inbox-state{display:inline-block;width:fit-content;font-size:11px;color:#647087;padding:4px 0;margin-top:3px}#comms .state-attention,#comms .state-failed{color:#a34425;font-weight:750}#comms .state-waiting{color:#865e10}#comms .inbox-conversation-head{border-bottom:1px solid #e3e8ef;padding-bottom:18px;margin-bottom:20px}#comms .inbox-conversation-head h3{font-size:23px;margin:16px 0 6px}#comms .inbox-channel-note{display:inline-block;margin:0 0 0 10px;font-size:12px;color:#68788d}#comms .inbox-subject{font-size:14px;color:#596a81;margin:0 0 18px}#comms .inbox-dates{display:flex;align-items:center;flex-wrap:wrap;gap:18px;background:#f6f8fb;border-radius:8px;padding:14px;font-size:12px;line-height:1.8;color:#68788d}#comms .inbox-dates strong{font-size:14px;color:#17263e}#comms .inbox-management{border:0;margin:12px 0 0;padding:0;justify-content:flex-start}#comms .inbox-management button{background:#edf1f6;color:#4d6078;padding:7px 10px}#comms .inbox-metadata{margin-top:24px;border-top:1px solid #e3e8ef;padding-top:16px;color:#68788d;font-size:12px}#comms .inbox-metadata summary{cursor:pointer}#comms .inbox-reply-destination{background:#edf4fc;border-left:3px solid #6c93bb;padding:12px 14px;font-size:13px;line-height:1.5;color:#294b6c;margin:0 0 12px}#comms #followup-reply,#comms #comms-reply{margin-top:22px;padding-top:18px;border-top:1px solid #e3e8ef}#comms #followup-reply .hint{font-size:11px;line-height:1.5;color:#798599}#comms #comms-detail{padding:26px}#comms .inbox-result{margin-top:8px}#comms .inbox-result button{padding:6px 9px;font-weight:500}#comms .inbox-more{font-size:12px}#comms .comms-post{background:#f7f9fc;border:0;border-radius:8px;padding:16px}#comms .comms-post p{margin-bottom:0}
@media(max-width:850px){#comms .inbox-main-filters{grid-template-columns:1fr 1fr}#comms .inbox-main-filters .inbox-search{grid-column:1/-1}#comms .inbox-workspace{grid-template-columns:1fr!important}#comms .inbox-workspace>aside{max-height:38vh}#comms .inbox-channel-note{display:block;margin:8px 0 0}#comms #comms-detail{padding:18px}}

#comms .inbox-send-error{background:#fff1ed;color:#9b3526;border:1px solid #f0c9bc;border-radius:6px;padding:10px 12px;font-size:12px}

#comms .inbox-list-row{display:flex;align-items:stretch;border-bottom:1px solid #e4e9f0}
#comms .inbox-list-row .comms-item{flex:1;min-width:0;border-bottom:0}
#comms .inbox-select-row{display:flex;align-items:center;padding:0 5px 0 16px;background:#f8f9fc}
#comms .inbox-select-row input{width:18px;height:18px;accent-color:#b58419}
#comms .inbox-bulk{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 14px;background:#fff7e4;border:1px solid #ecd9a4;border-radius:8px;color:#493c23}
#comms .inbox-bulk label{display:inline-flex;gap:8px;align-items:center}
#comms .inbox-bulk button{margin-left:auto;background:#183154;color:#fff;padding:8px 14px;border-radius:7px}
#comms .inbox-group-context,#comms .inbox-external-note{margin-top:14px;padding:12px 14px;border-radius:8px;background:#f2f6fb;color:#324862}
#comms .inbox-group-context h4{margin:0 0 7px}
#comms .inbox-group-context p{margin:4px 0}
#comms .inbox-timeline{display:grid;gap:12px}
#comms .inbox-row-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#comms .inbox-delivery{font-size:11px;color:#4f657d;background:#eef3f8;border-radius:5px;padding:3px 6px}
#comms .inbox-group-history{margin-top:18px;padding-top:12px;border-top:1px solid #e3e8ef}
