@import url("team-feed.css");

.cwh-feed-post-status.is-success{color:var(--cwh-success,#12834a);font-weight:750}
.cwh-plugin-boundary{margin:28px 0;padding:22px;display:flex;align-items:flex-start;gap:16px;border:1px solid #b9dfc5;border-radius:18px;background:#f1fbf4}.cwh-plugin-boundary>.cwh-module-icon{flex:0 0 auto;background:#16743a;color:#fff}.cwh-plugin-boundary h2{margin:3px 0 8px;font-size:1.35rem}.cwh-plugin-boundary p:last-child{margin:0;color:#41664c;line-height:1.55}@media(max-width:600px){.cwh-plugin-boundary{padding:18px}}
.cwh-app-transition{position:fixed;top:0;left:0;right:0;z-index:9500;height:4px;pointer-events:none;opacity:0;transition:opacity .15s}.cwh-app-transition span{display:block;width:36%;height:100%;background:var(--cwh-accent,#18794e);transform:translateX(-110%)}.cwh-app-transition strong{position:absolute;left:50%;top:15px;transform:translateX(-50%);padding:7px 12px;border:1px solid var(--cwh-border);border-radius:999px;background:var(--cwh-card);box-shadow:0 8px 24px rgba(16,24,38,.12);font-size:.8rem}.cwh-app-is-loading .cwh-app-transition{opacity:1}.cwh-app-is-loading .cwh-app-transition span{animation:cwh-app-progress 1s ease-in-out infinite}.cwh-app-is-loading #cwh-main{opacity:.62;transition:opacity .15s;pointer-events:none}.cwh-app-error{position:fixed;inset:0;z-index:9600;display:grid;place-items:center;padding:24px;background:rgba(16,24,38,.48)}.cwh-app-error[hidden]{display:none}.cwh-app-error>div{width:min(520px,100%);padding:26px;border:1px solid var(--cwh-border);border-radius:18px;background:var(--cwh-card);box-shadow:0 24px 70px rgba(16,24,38,.24)}.cwh-app-error h2{margin:5px 0 8px}.cwh-app-error p{line-height:1.5}.cwh-app-error>div>div{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.cwh-app-error button{padding:10px 14px;border:1px solid var(--cwh-border);border-radius:9px;background:var(--cwh-card);font-weight:800}.cwh-app-error [data-cwh-app-retry]{background:var(--cwh-text);color:var(--cwh-card);border-color:var(--cwh-text)}@keyframes cwh-app-progress{0%{transform:translateX(-110%)}100%{transform:translateX(385%)}}@media(prefers-reduced-motion:reduce){.cwh-app-transition span{animation:none!important;width:100%;transform:none!important}}
:root {
    color-scheme: light;
    --cwh-bg: #f5f7fa;
    --cwh-card: #ffffff;
    --cwh-text: #15181d;
    --cwh-muted: #667085;
    --cwh-border: #e3e7ee;
    --cwh-border-strong: #d0d5dd;
    --cwh-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
    --cwh-shadow-soft: 0 8px 26px rgba(16, 24, 40, 0.06);
    --cwh-success: #12834a;
    --cwh-success-bg: #ecfdf3;
    --cwh-danger: #b42318;
    --cwh-danger-bg: #fff2f0;
    --cwh-focus: #2c65d8;
    --cwh-soft: #eef2f7;
}
.cwh-conversation-channels>span.is-community{border-color:#70a8df;background:#eef6ff}.cwh-conversation-list-item.is-community{border-left:5px solid #2d6fb7;background:#f4f9ff}.cwh-conversation-list-item.is-community .cwh-conversation-list-meta em{background:#dcecff;color:#174b85}.cwh-community-thread-badge{display:inline-block;margin:4px 0 5px;padding:5px 8px;border-radius:999px;background:#dcecff;color:#174b85;font-size:.68rem;letter-spacing:.06em}.cwh-conversation-thread:has(.cwh-community-thread-badge){border-top:5px solid #2d6fb7}
.cwh-avatar-panel{display:grid;gap:15px}.cwh-avatar-panel-head{display:flex;align-items:center;gap:16px}.cwh-avatar-panel-head p:not(.cwh-home-eyebrow){margin:6px 0 0;color:var(--cwh-muted);line-height:1.45}.cwh-avatar-preview{width:82px;height:82px;flex:none;border-radius:50%;object-fit:cover}.cwh-avatar-preview.is-initials{display:grid;place-items:center;background:#eaf2fb;color:#193d69;font-size:1.55rem;font-weight:900}.cwh-avatar-form{display:grid;gap:9px}.cwh-avatar-form label,.cwh-avatar-security{color:var(--cwh-muted);font-size:.82rem}.cwh-avatar-form input[type=file]{width:100%;padding:10px;border:1px solid var(--cwh-border);border-radius:10px;background:var(--cwh-soft)}.cwh-avatar-form .cwh-button{justify-self:start}.cwh-avatar-remove{margin:0}.cwh-avatar-security{line-height:1.45}@media(max-width:560px){.cwh-avatar-panel-head{align-items:flex-start}.cwh-avatar-preview{width:64px;height:64px}.cwh-avatar-form .cwh-button{width:100%}}

/* 1.23.0 — encrypted record documents and need-to-know compartments */
.cwh-case-security-state{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.cwh-security-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;border:1px solid #d7e1ea;border-radius:999px;background:#f5f8fb;color:#344454;padding:6px 10px;font-size:11px;font-weight:800;letter-spacing:.02em}.cwh-security-badge.is-restricted{border-color:#e7c86d;background:#fff9e8;color:#684b00}.cwh-security-badge.is-ultra_restricted{border-color:#d89a9a;background:#fff1f1;color:#891f1f}.cwh-case-confidentiality,.cwh-secure-documents{margin-top:18px;border:1px solid #dce5ea;border-radius:18px;background:#fbfdfc;padding:18px}.cwh-case-confidentiality{display:flex;align-items:end;gap:12px}.cwh-case-confidentiality .cwh-field{flex:1}.cwh-secure-document-list{display:grid;gap:10px}.cwh-secure-document-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dde5e8;border-left:5px solid #8ba2ad;border-radius:14px;background:#fff;padding:13px}.cwh-secure-document-list article.is-restricted{border-left-color:#d7a817}.cwh-secure-document-list article.is-ultra_restricted{border-left-color:#b22d2d}.cwh-secure-document-list article>div{display:grid;gap:3px;min-width:0}.cwh-secure-document-list strong,.cwh-secure-document-list span,.cwh-secure-document-list small{overflow-wrap:anywhere}.cwh-secure-document-list span,.cwh-secure-document-list small{color:#66757d}.cwh-secure-document-editor{margin-top:14px;border-top:1px solid #dce5ea;padding-top:12px}.cwh-secure-document-editor>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px}.cwh-secure-document-editor>summary span{display:grid;gap:3px}.cwh-secure-document-editor form{display:grid;gap:16px;margin-top:16px}.cwh-document-classification,.cwh-document-access{border:1px solid #dce5ea;border-radius:14px;padding:14px}.cwh-document-classification legend,.cwh-document-access legend{padding:0 7px;font-weight:800}.cwh-document-classification{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cwh-document-classification label,.cwh-document-access label{display:flex;align-items:flex-start;gap:9px}.cwh-document-classification label span,.cwh-document-access label span{display:grid;gap:2px}.cwh-document-classification small,.cwh-document-access small{color:#67757c}.cwh-document-access>p{margin-top:0;color:#59676e}.cwh-document-access>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cwh-document-record-picker{margin-top:18px}.cwh-document-record-picker>div{display:flex;flex-wrap:wrap;gap:8px}
.cwh-upload-security{margin:16px 0;border:1px solid #b9dfc5;border-radius:16px;background:linear-gradient(145deg,#f1fbf4,#f9fcfa);padding:16px;color:#183f28}.cwh-upload-security-title{display:flex;align-items:center;gap:10px}.cwh-upload-security-title>span:last-child{display:grid;gap:1px}.cwh-upload-security-title strong{font-size:1rem}.cwh-upload-security-title small{color:#52705c}.cwh-upload-security-shield{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#16743a;color:#fff;font-weight:900}.cwh-upload-security ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 10px;padding:0;list-style:none}.cwh-upload-security li{position:relative;display:grid;gap:2px;padding:10px 11px 10px 30px;border:1px solid #d9e9de;border-radius:11px;background:rgba(255,255,255,.78)}.cwh-upload-security li:before{content:'✓';position:absolute;left:11px;top:10px;color:#16743a;font-weight:900}.cwh-upload-security li.is-recommended{border-color:#ead594;background:#fffaf0;color:#684b00}.cwh-upload-security li.is-recommended:before{content:'!';color:#9a6700}.cwh-upload-security li.is-optional{border-color:#dce4ec;background:#f7f9fb;color:#415466}.cwh-upload-security li.is-optional:before{content:'+';color:#60758a}.cwh-upload-security li span{color:#597064;font-size:.8rem;line-height:1.35}.cwh-upload-security li.is-recommended span{color:#745e25}.cwh-upload-security li.is-optional span{color:#617181}.cwh-upload-security>p{margin:0;color:#52705c;font-size:.78rem;font-weight:700}
@media(max-width:760px){.cwh-case-security-state{align-items:flex-start}.cwh-case-confidentiality{align-items:stretch;flex-direction:column}.cwh-secure-document-list article{align-items:flex-start;flex-direction:column}.cwh-secure-document-list article .cwh-small-button{width:100%;text-align:center}.cwh-document-classification,.cwh-document-access>div,.cwh-upload-security ul{grid-template-columns:1fr}.cwh-secure-documents{padding:14px}}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.cwh-home-body {
    min-height: 100vh;
    background: var(--cwh-bg);
    color: var(--cwh-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cwh-focus); outline-offset: 3px; }
.cwh-home-shell { min-height: 100vh; }
.cwh-home-header {
    min-height: 76px;
    padding: 14px clamp(20px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--cwh-card);
    border-bottom: 1px solid var(--cwh-border);
    position: sticky;
    top: 0;
    z-index: 20;
}
.cwh-home-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cwh-text);
    text-decoration: none;
    flex: 0 0 auto;
}
.cwh-home-brand span { display: grid; }
.cwh-home-brand strong { font-size: 1.15rem; }
.cwh-home-brand small { color: var(--cwh-muted); font-size: 0.86rem; }
.cwh-home-logo { width: 46px; height: 46px; object-fit: contain; }
.cwh-home-actions { display: flex; align-items: center; gap: 20px; }
.cwh-home-actions a {
    position: relative;
    padding: 10px 0;
    color: #344054;
    font-weight: 670;
    text-decoration: none;
}
.cwh-home-actions a:hover, .cwh-home-actions a:focus { color: var(--cwh-text); }
.cwh-home-actions a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--cwh-text);
}
.cwh-home-signout { color: #475467 !important; }
.cwh-home-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(44px, 6vw, 76px) 0 84px;
}
.cwh-home-welcome { max-width: 800px; }
.cwh-home-eyebrow {
    margin: 0 0 8px;
    color: var(--cwh-muted);
    font-size: 0.78rem;
    font-weight: 780;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.cwh-home-welcome h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.65rem);
    letter-spacing: -.035em;
    line-height: 1.05;
}
.cwh-home-welcome > p:last-child {
    margin: 18px 0 0;
    color: var(--cwh-muted);
    font-size: clamp(1rem, 2vw, 1.14rem);
}
.cwh-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.cwh-section-heading h2 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -.015em; }
.cwh-text-link {
    color: #344054;
    font-size: .93rem;
    font-weight: 720;
    text-decoration: none;
}
.cwh-text-link:hover, .cwh-text-link:focus { text-decoration: underline; }

/* Home begins as a welcoming daily destination: news and chat first. */
.cwh-morning-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.72fr);gap:22px;margin-top:38px;align-items:stretch}.cwh-morning-news,.cwh-morning-chat{min-width:0;border:1px solid var(--cwh-border);border-radius:24px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-morning-news{padding:26px;background:linear-gradient(145deg,#fff 0%,#fbfffc 58%,#f0faf4 100%)}.cwh-morning-news>.cwh-section-heading{align-items:center}.cwh-news-lead{position:relative;overflow:hidden;min-height:275px;display:flex;align-items:flex-end;border-radius:19px;background:linear-gradient(135deg,var(--cwh-brand-primary,#195f47),var(--cwh-brand-accent,#46a36f));color:#fff}.cwh-news-lead>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cwh-news-lead.has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,26,18,.9),rgba(9,26,18,.08) 78%)}.cwh-news-lead>div{position:relative;z-index:1;width:100%;padding:25px}.cwh-news-lead span,.cwh-news-briefs small{font-size:.74rem;font-weight:820;letter-spacing:.08em;text-transform:uppercase}.cwh-news-lead h3{max-width:720px;margin:7px 0;font-size:clamp(1.55rem,3vw,2.45rem);line-height:1.07;letter-spacing:-.025em}.cwh-news-lead p{max-width:650px;margin:0 0 14px;color:rgba(255,255,255,.88)}.cwh-news-lead a{display:inline-flex;min-height:44px;align-items:center;color:#fff;font-weight:820}.cwh-news-briefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px}.cwh-news-briefs article{padding:15px;border:1px solid #dcebe2;border-radius:14px;background:rgba(255,255,255,.84)}.cwh-news-briefs small{color:var(--cwh-success)}.cwh-news-briefs strong{display:block;margin-top:5px;line-height:1.22}.cwh-news-briefs p{margin:7px 0 0;color:var(--cwh-muted);font-size:.84rem}.cwh-news-welcome{min-height:275px;padding:28px;display:grid;grid-template-columns:auto 1fr;align-content:center;gap:18px;border-radius:19px;background:linear-gradient(135deg,#ecfbf2,#fff7dc)}.cwh-news-welcome>span{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:#fff5b8;color:#966100;font-size:2rem}.cwh-news-welcome h3{margin:0;font-size:1.45rem}.cwh-news-welcome p{margin:7px 0;color:#58665f}.cwh-news-welcome>.cwh-button{grid-column:2;justify-self:start}.cwh-morning-chat{padding:24px;display:flex;flex-direction:column;background:linear-gradient(180deg,#f4f8ff,#fff 62%)}.cwh-chat-heading{display:flex;align-items:center;gap:12px}.cwh-chat-heading h2{margin:0;font-size:1.55rem}.cwh-chat-heading .cwh-home-eyebrow{margin:0}.cwh-chat-heading>b{margin-left:auto;min-width:30px;height:30px;padding:0 8px;display:grid;place-items:center;border-radius:999px;background:#d92d20;color:#fff}.cwh-chat-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--cwh-brand-primary,#234e76);color:var(--cwh-brand-on-primary,#fff)}.cwh-chat-mark svg{width:25px}.cwh-chat-preview{display:grid;gap:9px;margin:22px 0}.cwh-chat-preview>a{min-height:64px;padding:8px;display:flex;align-items:center;gap:10px;border-radius:13px;color:inherit;text-decoration:none}.cwh-chat-preview>a:hover{background:#fff}.cwh-chat-avatar{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#dde9f7;color:#315b83;font-weight:850}.cwh-chat-preview>a>span:nth-child(2){min-width:0;display:grid}.cwh-chat-preview strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwh-chat-preview small{color:var(--cwh-muted)}.cwh-chat-preview a>b{margin-left:auto;min-width:24px;height:24px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:#2c65d8;color:#fff;font-size:.75rem}.cwh-chat-empty{margin:auto 0;padding:24px 0}.cwh-chat-empty h3{margin:0;font-size:1.08rem}.cwh-chat-empty p{margin:7px 0;color:var(--cwh-muted)}.cwh-chat-open{min-height:48px;margin-top:auto;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;border-radius:12px;background:var(--cwh-text);color:#fff;font-weight:800;text-decoration:none}.cwh-home-attention{margin-top:42px}

/* Personalized News feed */
.cwh-news-briefs>a{padding:15px;border:1px solid #dcebe2;border-radius:14px;background:rgba(255,255,255,.84);color:inherit;text-decoration:none;transition:transform .16s ease,border-color .16s ease}.cwh-news-briefs>a:hover{transform:translateY(-2px);border-color:#9ecdb0}.cwh-news-heading-actions{display:flex;align-items:center;gap:14px}
.cwh-full-news-feed{margin-top:34px;padding:clamp(22px,4vw,42px);border:1px solid #dce8df;border-radius:28px;background:linear-gradient(145deg,#fff,#f5fbf7 68%,#fff8df);box-shadow:var(--cwh-shadow)}.cwh-feed-masthead{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.cwh-feed-masthead h2{margin:0;font-size:clamp(2.2rem,6vw,4.8rem);line-height:.95;letter-spacing:-.055em}.cwh-feed-masthead>div>p:last-child{max-width:650px;margin:16px 0 0;color:var(--cwh-muted);font-size:1.08rem}.cwh-news-topics{margin:30px -8px 0;padding:0 8px 14px;display:flex;gap:8px;overflow:auto;border-bottom:1px solid var(--cwh-border)}.cwh-news-topics a{padding:9px 13px;border-radius:999px;white-space:nowrap;color:#475467;font-weight:760;text-decoration:none}.cwh-news-topics a.is-active{background:var(--cwh-text);color:#fff}.cwh-feed-label{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.cwh-feed-label h3{margin:0;font-size:1.65rem;letter-spacing:-.02em}.cwh-feed-label>span{color:var(--cwh-muted);font-size:.86rem}.cwh-must-know,.cwh-top-stories,.cwh-latest-news{margin-top:34px}.cwh-must-know{padding:22px;border:1px solid #f0d58a;border-radius:20px;background:#fffaf0}.cwh-must-know-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cwh-must-know-grid>a{padding:15px;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:11px;border:1px solid #eadcb7;border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-must-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#fff0b8;color:#7a4c00;font-weight:900}.cwh-must-know-grid strong,.cwh-must-know-grid small{display:block}.cwh-must-know-grid small{margin-top:3px;color:#6c6250;line-height:1.4}.cwh-feed-why{margin:14px 0 0;color:#766c58;font-size:.82rem}.cwh-official-updates{margin-top:18px;padding-top:18px;border-top:1px solid #eadcb7}.cwh-official-updates h4{margin:0 0 10px}.cwh-official-updates>a{padding:12px 0;display:grid;border-top:1px solid rgba(185,155,82,.2);color:inherit;text-decoration:none}.cwh-official-updates>a:first-of-type{border-top:0}.cwh-official-updates small{color:#8b6100;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cwh-official-updates strong{margin:3px 0}.cwh-official-updates span{color:#6c6250;font-size:.88rem}.cwh-top-story-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:15px}.cwh-top-story-lead{min-height:390px;position:relative;overflow:hidden;display:flex;align-items:flex-end;border-radius:20px;background:linear-gradient(135deg,#163f32,#3f9765);color:#fff;text-decoration:none}.cwh-top-story-lead>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cwh-top-story-lead:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,22,15,.92),rgba(6,22,15,.04) 80%)}.cwh-top-story-lead>span{position:relative;z-index:1;padding:25px}.cwh-top-story-lead small,.cwh-top-story-stack small,.cwh-full-news-list small{font-size:.72rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.cwh-top-story-lead strong{display:block;margin:7px 0;font-size:clamp(1.5rem,3vw,2.35rem);line-height:1.08}.cwh-top-story-lead p{margin:0;color:rgba(255,255,255,.85)}.cwh-top-story-stack{display:grid;gap:10px}.cwh-top-story-stack>a{padding:14px;display:flex;gap:12px;justify-content:space-between;border:1px solid var(--cwh-border);border-radius:15px;background:#fff;color:inherit;text-decoration:none}.cwh-top-story-stack strong{display:block;margin:4px 0;line-height:1.22}.cwh-top-story-stack p{margin:0;color:var(--cwh-muted);font-size:.82rem}.cwh-top-story-stack img{width:88px;height:88px;object-fit:cover;border-radius:10px}.cwh-full-news-list{display:grid;gap:12px}.cwh-full-news-list>a{padding:14px;display:grid;grid-template-columns:170px 1fr;gap:17px;border:1px solid var(--cwh-border);border-radius:16px;background:#fff;color:inherit;text-decoration:none}.cwh-full-news-list img{width:170px;height:120px;object-fit:cover;border-radius:11px}.cwh-full-news-list>a>span{display:flex;flex-direction:column;justify-content:center}.cwh-full-news-list small{color:var(--cwh-success)}.cwh-full-news-list strong{margin:5px 0;font-size:1.15rem}.cwh-full-news-list p{margin:0;color:var(--cwh-muted)}.cwh-full-news-list b{margin-top:8px;font-size:.84rem}.cwh-story-reader{margin-top:34px;overflow:hidden;border:1px solid var(--cwh-border);border-radius:26px;background:#fff;box-shadow:var(--cwh-shadow)}.cwh-story-reader>img{width:100%;max-height:480px;object-fit:cover}.cwh-story-back{margin:18px 22px 0;display:inline-flex;font-weight:780}.cwh-story-reader-copy{max-width:820px;margin:0 auto;padding:clamp(26px,5vw,62px)}.cwh-story-reader-copy h2{margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1.02;letter-spacing:-.04em}.cwh-story-deck{color:var(--cwh-muted);font-size:1.2rem}.cwh-story-body{font-size:1.05rem;line-height:1.78}.cwh-story-share{margin-top:30px;padding:16px;display:flex;justify-content:space-between;gap:16px;border-radius:14px;background:var(--cwh-soft)}

/* Newsroom */
.cwh-newsroom-main>.cwh-home-welcome{margin-bottom:30px}.cwh-newsroom-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:24px;align-items:start}.cwh-news-editor,.cwh-news-library{padding:26px;border:1px solid var(--cwh-border);border-radius:20px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-news-editor form{display:grid;gap:15px}.cwh-news-editor label{display:grid;gap:7px;font-weight:760}.cwh-news-editor label small{color:var(--cwh-muted);font-weight:500}.cwh-news-editor input,.cwh-news-editor textarea,.cwh-news-editor select{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--cwh-border-strong);border-radius:11px;background:#fff;color:var(--cwh-text)}.cwh-news-editor textarea{resize:vertical;line-height:1.55}.cwh-news-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.cwh-news-actions{display:flex;justify-content:flex-end;gap:10px}.cwh-news-list{display:grid;gap:10px}.cwh-news-list article{padding:15px;border:1px solid var(--cwh-border);border-radius:14px}.cwh-news-list article>div:first-child{display:grid}.cwh-news-list strong{margin:6px 0 3px}.cwh-news-list small{color:var(--cwh-muted)}.cwh-news-state{width:max-content;padding:3px 8px;border-radius:999px;background:#eef2f6;font-size:.7rem;font-weight:850;text-transform:uppercase}.cwh-news-state.is-published{background:#e8f8ee;color:#087443}.cwh-news-state.is-archived{background:#f2f2f2;color:#667085}.cwh-news-row-actions{display:flex;align-items:center;gap:11px;margin-top:12px}.cwh-news-row-actions a,.cwh-news-row-actions button{border:0;background:none;color:#315b83;font:inherit;font-size:.84rem;font-weight:760;text-decoration:underline;cursor:pointer}.cwh-news-row-actions form{margin-left:auto}
.cwh-news-current-image{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--cwh-border);border-radius:13px}.cwh-news-current-image img{width:130px;height:82px;object-fit:cover;border-radius:9px}.cwh-news-current-image label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.cwh-news-current-image input{width:22px;min-height:22px}
.cwh-feed-preferences{margin:0 0 24px;border:1px solid #b8dbc5;border-radius:18px;background:#f2fbf5}.cwh-feed-preferences>summary{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none}.cwh-feed-preferences>summary::-webkit-details-marker{display:none}.cwh-feed-preferences>summary span{display:grid}.cwh-feed-preferences>summary small{color:#557161}.cwh-feed-preferences>summary b{color:#145d3e}.cwh-feed-preferences>form{padding:20px;border-top:1px solid #b8dbc5;display:grid;gap:18px}.cwh-preference-grid,.cwh-news-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cwh-feed-preferences label{display:grid;gap:6px;font-weight:760}.cwh-feed-preferences label small{color:var(--cwh-muted);font-weight:500}.cwh-feed-preferences textarea{width:100%;padding:12px;border:1px solid var(--cwh-border-strong);border-radius:11px;resize:vertical}.cwh-feed-preferences fieldset{margin:0;padding:0;border:0}.cwh-feed-preferences legend{margin-bottom:9px;font-weight:800}.cwh-preference-topics{display:flex;flex-wrap:wrap;gap:8px}.cwh-preference-topics label{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #b8dbc5;border-radius:999px;background:#fff}.cwh-must-note{padding:13px 15px;display:grid;border-radius:12px;background:#fff4ca;color:#654600}.cwh-news-feature{padding:12px;display:flex!important;align-items:center;gap:10px;border:1px solid var(--cwh-border);border-radius:11px}.cwh-news-feature input{width:22px!important;min-height:22px!important}.cwh-news-feature span{display:grid}.cwh-news-feature small{font-weight:500}
.cwh-external-lanes{margin-top:34px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cwh-external-lane{padding:22px;border:1px solid #cfe4d8;border-radius:20px;background:linear-gradient(145deg,#f4fcf7,#fff)}.cwh-external-lane.is-press{border-color:#e8ddca;background:linear-gradient(145deg,#fffaf2,#fff)}.cwh-external-lane .cwh-feed-label{align-items:flex-start}.cwh-external-lane .cwh-feed-label>span{max-width:210px;text-align:right}.cwh-external-list{display:grid;gap:9px}.cwh-external-list>a{padding:14px;display:grid;gap:5px;border:1px solid #dce9e1;border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-external-lane.is-press .cwh-external-list>a{border-color:#eee2d1}.cwh-source-pill{width:max-content;padding:4px 8px;border-radius:999px;background:#dff4e7;color:#17643d;font-size:.68rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.cwh-source-pill.is-press{background:#fff0d8;color:#85520b}.cwh-external-list strong{line-height:1.28}.cwh-external-list small{color:var(--cwh-muted)}.cwh-external-list b{margin-top:4px;color:var(--cwh-success);font-size:.8rem}.cwh-external-lane.is-press .cwh-external-list b{color:#85520b}
.cwh-home-headlines{display:grid;gap:9px}.cwh-home-headlines-intro{margin:0 0 4px;color:var(--cwh-muted)}.cwh-home-headlines>a{padding:13px 14px;display:grid;grid-template-columns:max-content 1fr;align-items:center;gap:5px 11px;border:1px solid #dce9e1;border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-home-headlines>a strong{line-height:1.25}.cwh-home-headlines>a small{grid-column:2;color:var(--cwh-muted)}
@media(max-width:900px){.cwh-morning-grid,.cwh-newsroom-layout,.cwh-top-story-grid,.cwh-external-lanes{grid-template-columns:1fr}.cwh-news-briefs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cwh-morning-news,.cwh-morning-chat,.cwh-news-editor,.cwh-news-library{padding:18px;border-radius:18px}.cwh-news-briefs,.cwh-news-fields,.cwh-preference-grid,.cwh-news-options,.cwh-must-know-grid{grid-template-columns:1fr}.cwh-news-welcome{grid-template-columns:1fr}.cwh-news-welcome>.cwh-button{grid-column:1}.cwh-news-actions{display:grid}.cwh-news-actions .cwh-button{width:100%;min-height:50px}.cwh-full-news-feed{padding:18px;border-radius:20px}.cwh-feed-masthead{display:grid}.cwh-full-news-list>a{grid-template-columns:1fr}.cwh-full-news-list img{width:100%;height:190px}.cwh-story-share,.cwh-news-heading-actions{align-items:flex-start;flex-direction:column}.cwh-feed-preferences>summary{align-items:flex-start;flex-direction:column}.cwh-external-lane{padding:17px}.cwh-external-lane .cwh-feed-label{display:grid}.cwh-external-lane .cwh-feed-label>span{text-align:left}.cwh-home-headlines>a{grid-template-columns:1fr}.cwh-home-headlines>a small{grid-column:1}}

/* Home Quick Access */
.cwh-qa-home { margin-top: 42px; }
.cwh-qa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.cwh-qa-tile {
    min-height: 92px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 16px;
    box-shadow: var(--cwh-shadow-soft);
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.cwh-qa-tile:hover, .cwh-qa-tile:focus-visible {
    transform: translateY(-2px);
    border-color: var(--cwh-border-strong);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .10);
}
.cwh-qa-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #f1f4f8;
    color: #344054;
}
.cwh-qa-icon-svg { width: 23px; height: 23px; }
.cwh-qa-copy { min-width: 0; display: grid; }
.cwh-qa-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; }
.cwh-qa-copy small { margin-top: 2px; color: var(--cwh-muted); font-size: .78rem; }
.cwh-qa-arrow { margin-left: auto; color: #98a2b3; font-size: 1.2rem; }
.cwh-qa-empty {
    min-height: 150px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    background: var(--cwh-card);
    border: 1px dashed var(--cwh-border-strong);
    border-radius: 18px;
}
.cwh-qa-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #f1f4f8;
    color: #344054;
}
.cwh-qa-empty h3 { margin: 0 0 5px; font-size: 1.08rem; }
.cwh-qa-empty p { margin: 0; color: var(--cwh-muted); }
.cwh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--cwh-text);
    border-radius: 11px;
    background: var(--cwh-text);
    color: #fff;
    font-weight: 740;
    text-decoration: none;
    cursor: pointer;
}
.cwh-button:hover, .cwh-button:focus-visible { background: #262a31; }
.cwh-button-full { width: 100%; }

/* Native account MFA management. */
.cwh-account-notice{margin:28px 0 0;padding:14px 16px;border:1px solid var(--cwh-border);border-radius:13px;background:var(--cwh-card);font-weight:700}.cwh-account-notice.is-error{color:var(--cwh-danger);border-color:#f1a9a2;background:var(--cwh-danger-bg)}.cwh-account-notice.is-success{color:var(--cwh-success);border-color:#8bd9ac;background:var(--cwh-success-bg)}.cwh-account-security{margin-top:36px;padding:24px;border:1px solid var(--cwh-border);border-radius:20px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-account-security>p{color:var(--cwh-muted)}.cwh-account-status.is-protected{color:var(--cwh-success);border-color:#8bd9ac;background:var(--cwh-success-bg)}.cwh-account-status.is-action-needed{color:#8a4b00;border-color:#efc477;background:#fff8e7}.cwh-native-security-form{max-width:620px;display:grid;gap:9px}.cwh-native-security-form label{margin-top:5px;font-size:.9rem;font-weight:750}.cwh-native-security-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--cwh-border-strong);border-radius:10px;background:var(--cwh-card);color:var(--cwh-text)}.cwh-password-wrap{position:relative;display:block}.cwh-password-wrap>input{padding-right:70px}.cwh-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);min-width:58px;height:36px;padding:0 8px;border:0;border-radius:8px;background:var(--cwh-soft);color:var(--cwh-text);font-size:.78rem;font-weight:780;cursor:pointer}.cwh-mfa-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.cwh-mfa-manage-grid details{padding:16px;border:1px solid var(--cwh-border);border-radius:14px}.cwh-mfa-manage-grid summary{font-weight:780;cursor:pointer}.cwh-mfa-manage-grid details>p{color:var(--cwh-muted);font-size:.9rem}.cwh-button-danger{background:#fff;color:var(--cwh-danger);border-color:#e58d85}.cwh-button-danger:hover{background:var(--cwh-danger-bg)}.cwh-account-recovery-output{margin-bottom:18px;padding:18px;border:1px solid #efc477;border-radius:14px;background:#fff8e7}.cwh-account-recovery-output ul{margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;list-style:none}.cwh-account-recovery-output code{font-weight:780;letter-spacing:.04em;user-select:all}@media(max-width:760px){.cwh-mfa-manage-grid,.cwh-account-recovery-output ul{grid-template-columns:1fr}.cwh-account-security{padding:19px}}

/* Home status cards */
.cwh-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}
.cwh-home-card, .cwh-home-next {
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-home-card {
    min-height: 180px;
    padding: 26px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cwh-home-card h2, .cwh-home-next h2 { margin: 0 0 8px; font-size: 1.12rem; }
.cwh-home-card p, .cwh-home-next p { margin: 0; color: var(--cwh-muted); }
.cwh-home-status {
    width: 12px;
    height: 12px;
    margin-top: 7px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--cwh-success);
    box-shadow: 0 0 0 5px rgba(18, 131, 74, 0.10);
}
.cwh-home-account { margin: 18px 0 0; }
.cwh-home-account div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid var(--cwh-border);
}
.cwh-home-account dt { font-weight: 700; }
.cwh-home-account dd { margin: 0; color: var(--cwh-muted); overflow-wrap: anywhere; }
.cwh-home-next { margin-top: 20px; padding: 26px; }

/* Quick Access management */
.cwh-qa-main { padding-bottom: 110px; }
.cwh-qa-intro { margin-bottom: 34px; }
.cwh-notice {
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 12px;
    font-weight: 650;
}
.cwh-notice-error { color: var(--cwh-danger); border-color: #f5c2bc; background: var(--cwh-danger-bg); }
.cwh-notice-success { color: #067647; border-color: #abefc6; background: var(--cwh-success-bg); }
.cwh-qa-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
    gap: 28px;
    align-items: start;
}
.cwh-qa-library {
    min-width: 0;
    padding: 28px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 20px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-count {
    min-width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--cwh-soft);
    color: #475467;
    font-size: .82rem;
    font-weight: 760;
}
.cwh-org-heading { margin-top: 34px; }
.cwh-qa-manage-list { display: grid; gap: 10px; }
.cwh-qa-manage-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: #fff;
}
.cwh-qa-manage-item.is-muted { opacity: .55; }
.cwh-qa-launch {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.cwh-qa-launch > span:last-child { min-width: 0; display: grid; }
.cwh-qa-launch strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .96rem; }
.cwh-qa-launch small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; margin-top: 2px; color: var(--cwh-muted); font-size: .76rem; }
.cwh-qa-item-actions { display: flex; align-items: center; gap: 5px; }
.cwh-qa-item-actions form { margin: 0; }
.cwh-qa-item-actions a,
.cwh-qa-item-actions button {
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #475467;
    font-size: .79rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.cwh-qa-item-actions a:hover,
.cwh-qa-item-actions button:hover { border-color: var(--cwh-border); background: #f8fafc; }
.cwh-qa-item-actions .is-danger { color: var(--cwh-danger); }
.cwh-qa-small-empty {
    padding: 22px;
    display: grid;
    gap: 3px;
    border: 1px dashed var(--cwh-border-strong);
    border-radius: 14px;
    color: var(--cwh-muted);
}
.cwh-qa-small-empty strong { color: var(--cwh-text); }
.cwh-qa-editor { display: grid; gap: 16px; position: sticky; top: 98px; }
.cwh-qa-editor-card,
.cwh-qa-principle {
    padding: 24px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 20px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-qa-editor-card h2 { margin: 0 0 20px; font-size: 1.4rem; }
.cwh-qa-form { display: grid; gap: 17px; }
.cwh-field { display: grid; gap: 6px; }
.cwh-field > span,
.cwh-qa-choice legend,
.cwh-role-picker legend { font-size: .88rem; font-weight: 730; }
.cwh-field input,
.cwh-field select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 10px;
    background: var(--cwh-card);
    color: var(--cwh-text);
}
.cwh-field small { color: var(--cwh-muted); font-size: .76rem; }
.cwh-qa-choice,
.cwh-role-picker { margin: 0; padding: 0; border: 0; }
.cwh-qa-choice { display: grid; gap: 8px; }
.cwh-qa-choice legend { margin-bottom: 7px; }
.cwh-qa-choice > label {
    padding: 11px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid var(--cwh-border);
    border-radius: 10px;
    cursor: pointer;
}
.cwh-qa-choice input { margin-top: 4px; }
.cwh-qa-choice span { display: grid; }
.cwh-qa-choice small { color: var(--cwh-muted); font-size: .75rem; }
.cwh-qa-scope-badge {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--cwh-soft);
    color: #475467;
    font-size: .75rem;
    font-weight: 740;
}
.cwh-role-picker > p { margin: 5px 0 10px; color: var(--cwh-muted); font-size: .77rem; }
.cwh-audience-mode { display: grid; gap: 8px; margin-top: 8px; }
.cwh-audience-mode > label {
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid var(--cwh-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.cwh-audience-mode input { margin-top: 4px; }
.cwh-audience-mode span { display: grid; }
.cwh-audience-mode small { color: var(--cwh-muted); font-size: .75rem; }
.cwh-role-options {
    /* Short option lists stay in normal document flow. Nested scrolling on
       phones hides choices and makes the form feel less like a native app. */
    max-height: none;
    overflow: visible;
    margin-top: 10px;
    padding: 10px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--cwh-border);
    border-radius: 10px;
    background: #fafbfc;
}
.cwh-role-options label { font-size: .82rem; }
.cwh-role-options-help { margin: 0 0 2px; color: var(--cwh-muted); font-size: .76rem; font-weight: 650; }
.cwh-cancel-link { text-align: center; color: #475467; font-size: .84rem; font-weight: 680; text-decoration: none; }
.cwh-cancel-link:hover { text-decoration: underline; }
.cwh-qa-principle { background: #101828; color: #fff; }
.cwh-qa-principle strong { display: block; margin-bottom: 6px; }
.cwh-qa-principle p { margin: 0; color: #d0d5dd; font-size: .86rem; }

/* Mobile native app navigation */
.cwh-mobile-nav { display: none; }

@media (max-width: 980px) {
    .cwh-qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cwh-qa-layout { grid-template-columns: 1fr; }
    .cwh-qa-editor { position: static; }
}
@media (max-width: 720px) {
    .cwh-home-header { position: static; padding: 12px 16px; min-height: 68px; }
    .cwh-home-brand small { display: none; }
    .cwh-home-logo { width: 42px; height: 42px; }
    .cwh-home-actions { display: none; }
    .cwh-home-main { width: min(100% - 28px, 1180px); padding-top: 34px; padding-bottom: 110px; }
    .cwh-home-welcome h1 { font-size: clamp(2rem, 11vw, 3rem); }
    .cwh-qa-grid { grid-template-columns: 1fr; }
    .cwh-qa-empty { grid-template-columns: auto 1fr; }
    .cwh-qa-empty .cwh-button { grid-column: 1 / -1; width: 100%; }
    .cwh-home-grid { grid-template-columns: 1fr; }
    .cwh-home-account div { grid-template-columns: 1fr; gap: 2px; }
    .cwh-qa-library, .cwh-qa-editor-card, .cwh-qa-principle { padding: 20px; border-radius: 16px; }
    .cwh-qa-manage-item { grid-template-columns: 1fr; }
    .cwh-qa-item-actions { border-top: 1px solid var(--cwh-border); padding-top: 8px; flex-wrap: wrap; }
    .cwh-qa-launch small { max-width: 70vw; }
    .cwh-mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        min-height: 70px;
        padding: 8px max(14px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: rgba(255,255,255,.97);
        border-top: 1px solid var(--cwh-border);
        box-shadow: 0 -8px 24px rgba(16,24,40,.06);
    }
    .cwh-mobile-nav a {
        min-width: 0;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        color: #667085;
        font-size: .68rem;
        font-weight: 720;
        text-decoration: none;
    }
    .cwh-mobile-nav a > span { font-size: 1.25rem; line-height: 1; }
    .cwh-mobile-nav a.is-active { color: var(--cwh-text); }
}

@media (max-width: 720px) { .cwh-mobile-nav.cwh-mobile-nav-four { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------
   CauseWorkHub 1.5.3 — edition marker + account shell
   --------------------------------------------------------- */
.cwh-home-brand strong {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.cwh-edition-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    vertical-align: middle;
}
.cwh-account-main { max-width: 1180px; }
.cwh-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 22px;
    margin-top: 38px;
}
.cwh-account-panel,
.cwh-account-session {
    min-width: 0;
    padding: 28px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-account-panel h2,
.cwh-account-session h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.015em; }
.cwh-account-preferences > p:not(.cwh-home-eyebrow) { margin: 10px 0 22px; color: var(--cwh-muted); }
.cwh-account-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #8bd9ac;
    border-radius: 999px;
    background: var(--cwh-success-bg);
    color: #075d37;
    font-size: .78rem;
    font-weight: 780;
}
.cwh-account-details { margin: 4px 0 0; }
.cwh-account-details > div {
    display: grid;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr);
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--cwh-border);
}
.cwh-account-details dt { font-weight: 730; }
.cwh-account-details dd { margin: 0; color: var(--cwh-muted); overflow-wrap: anywhere; word-break: break-word; }
.cwh-account-session {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.cwh-account-session p:last-child { margin: 8px 0 0; color: var(--cwh-muted); max-width: 760px; }
.cwh-button-secondary-native { background: transparent; color: var(--cwh-text); border-color: var(--cwh-border-strong); }
.cwh-button-secondary-native:hover,
.cwh-button-secondary-native:focus-visible { background: var(--cwh-soft); color: var(--cwh-text); }

/* More resilient header and long-content behavior at large text sizes. */
.cwh-home-header { flex-wrap: wrap; }
.cwh-home-actions { flex-wrap: wrap; justify-content: flex-end; }
.cwh-home-welcome,
.cwh-home-card,
.cwh-home-next,
.cwh-qa-library,
.cwh-qa-editor-card,
.cwh-account-panel,
.cwh-account-session { min-width: 0; }
.cwh-home-welcome h1,
.cwh-home-welcome p,
.cwh-home-account dd,
.cwh-qa-copy,
.cwh-qa-launch,
.cwh-section-heading,
.cwh-notice { overflow-wrap: anywhere; }

@media (max-width: 980px) {
    .cwh-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .cwh-account-panel,
    .cwh-account-session { padding: 20px; border-radius: 16px; }
    .cwh-account-details > div { grid-template-columns: 1fr; gap: 3px; }
    .cwh-account-session { align-items: stretch; flex-direction: column; }
    .cwh-account-session .cwh-button { width: 100%; }
}

/* CauseWorkHub 1.5.4 — organization branding account entry. */
@media (min-width: 981px) {
    .cwh-account-grid.has-admin-branding {
        grid-template-columns: minmax(0, 1.25fr) minmax(230px, .55fr) minmax(230px, .55fr);
    }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.0 — native workspace / role-aware shell
   --------------------------------------------------------- */
.cwh-workspace-main { max-width: 1180px; }
.cwh-workspace-section { margin-top: 42px; }
.cwh-home-workspaces { margin-top: 40px; }
.cwh-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.cwh-module-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cwh-module-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cwh-module-card {
    min-width: 0;
    min-height: 118px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.cwh-module-card:hover,
.cwh-module-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--cwh-border-strong);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .10);
}
.cwh-module-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--cwh-soft);
    color: var(--cwh-text);
}
.cwh-module-icon svg { width: 25px; height: 25px; }
.cwh-module-copy { min-width: 0; display: grid; gap: 4px; }
.cwh-module-copy strong { font-size: 1.02rem; line-height: 1.25; }
.cwh-module-copy small { color: var(--cwh-muted); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
.cwh-module-arrow { color: var(--cwh-muted); font-size: 1.25rem; }

.cwh-work-summary {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.cwh-work-summary article {
    min-width: 0;
    padding: 24px;
    display: grid;
    gap: 5px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-work-number { font-size: 2rem; font-weight: 820; letter-spacing: -.04em; line-height: 1; }
.cwh-work-summary strong { font-size: 1rem; }
.cwh-work-summary small { color: var(--cwh-muted); line-height: 1.45; }
.cwh-work-empty {
    margin-top: 18px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--cwh-card);
    border: 1px dashed var(--cwh-border-strong);
    border-radius: 18px;
}
.cwh-work-empty h2 { margin: 0 0 6px; font-size: 1.2rem; }
.cwh-work-empty p { margin: 0; color: var(--cwh-muted); }

/* Native People & Access */
.cwh-people-main { max-width: 1280px; }
.cwh-people-main > .cwh-notice { margin-top: 28px; }
.cwh-people-layout {
    margin-top: 30px;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.cwh-people-invite { position: sticky; top: 98px; }
.cwh-native-form,
.cwh-people-list {
    padding: 26px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 20px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-native-form { display: grid; gap: 17px; }
.cwh-native-form h2 { margin: 0; font-size: 1.35rem; }
.cwh-native-form > div > p:last-child { margin: 8px 0 0; color: var(--cwh-muted); }
.cwh-member-cards { display: grid; gap: 12px; }
.cwh-member-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--cwh-border);
    border-radius: 16px;
    background: var(--cwh-card);
}
.cwh-member-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}
.cwh-member-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--cwh-soft);
    font-weight: 800;
}
.cwh-member-head h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.cwh-member-head p { margin: 2px 0 0; color: var(--cwh-muted); font-size: .82rem; overflow-wrap: anywhere; }
.cwh-member-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 999px;
    color: var(--cwh-muted);
    font-size: .74rem;
    font-weight: 760;
}
.cwh-member-status-active { color: #067647; border-color: #8bd9ac; background: var(--cwh-success-bg); }
.cwh-member-status-revoked,
.cwh-member-status-suspended,
.cwh-member-status-disabled { color: var(--cwh-danger); border-color: #f1a9a2; background: var(--cwh-danger-bg); }
.cwh-member-meta {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.cwh-member-meta span { display: grid; padding: 10px 12px; border-radius: 10px; background: var(--cwh-soft); color: var(--cwh-muted); font-size: .8rem; }
.cwh-member-meta strong { color: var(--cwh-text); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.cwh-member-role-form {
    margin-top: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.cwh-member-role-form select {
    width: 100%;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 9px;
    background: var(--cwh-card);
    color: var(--cwh-text);
}
.cwh-member-actions { margin-top: 10px; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--cwh-border); }
.cwh-member-actions form { margin: 0; }
.cwh-small-button {
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 9px;
    background: var(--cwh-card);
    color: var(--cwh-text);
    font-weight: 700;
    cursor: pointer;
}
.cwh-small-button:hover,
.cwh-small-button:focus-visible { background: var(--cwh-soft); }
.cwh-small-button.is-danger { color: var(--cwh-danger); }

/* Native System Health */
.cwh-health-main { max-width: 1180px; }
.cwh-health-summary {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.cwh-health-summary article {
    min-width: 0;
    padding: 24px;
    display: grid;
    gap: 6px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-health-summary article.is-pass { border-left: 5px solid var(--cwh-success); }
.cwh-health-summary article.is-fail { border-left: 5px solid var(--cwh-danger); }
.cwh-health-summary span,
.cwh-health-summary code { color: var(--cwh-muted); overflow-wrap: anywhere; }
.cwh-health-list { margin-top: 38px; }
.cwh-health-check {
    min-width: 0;
    margin-bottom: 10px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
}
.cwh-health-status { font-size: .74rem; font-weight: 820; letter-spacing: .05em; }
.cwh-health-pass .cwh-health-status { color: var(--cwh-success); }
.cwh-health-warn .cwh-health-status { color: #8a4b00; }
.cwh-health-fail .cwh-health-status { color: var(--cwh-danger); }
.cwh-health-check strong { display: block; margin-bottom: 3px; }
.cwh-health-check p { margin: 0; color: var(--cwh-muted); overflow-wrap: anywhere; }

/* Dark/system theme coverage for the new native surfaces. */
html.cwh-theme-dark .cwh-module-card,
html.cwh-theme-dark .cwh-work-summary article,
html.cwh-theme-dark .cwh-work-empty,
html.cwh-theme-dark .cwh-native-form,
html.cwh-theme-dark .cwh-people-list,
html.cwh-theme-dark .cwh-member-card,
html.cwh-theme-dark .cwh-member-role-form select,
html.cwh-theme-dark .cwh-small-button,
html.cwh-theme-dark .cwh-health-summary article,
html.cwh-theme-dark .cwh-health-check { background: var(--cwh-card); color: var(--cwh-text); }
@media (prefers-color-scheme: dark) {
    html.cwh-theme-system .cwh-module-card,
    html.cwh-theme-system .cwh-work-summary article,
    html.cwh-theme-system .cwh-work-empty,
    html.cwh-theme-system .cwh-native-form,
    html.cwh-theme-system .cwh-people-list,
    html.cwh-theme-system .cwh-member-card,
    html.cwh-theme-system .cwh-member-role-form select,
    html.cwh-theme-system .cwh-small-button,
    html.cwh-theme-system .cwh-health-summary article,
    html.cwh-theme-system .cwh-health-check { background: var(--cwh-card); color: var(--cwh-text); }
}
html.cwh-theme-dark .cwh-member-status-active { color: #c8f7d9; border-color: #4d9d70; background: #123323; }
html.cwh-theme-dark .cwh-member-status-revoked,
html.cwh-theme-dark .cwh-member-status-suspended,
html.cwh-theme-dark .cwh-member-status-disabled { color: #ffd1cd; border-color: #a94a43; background: #3d1715; }
@media (prefers-color-scheme: dark) {
    html.cwh-theme-system .cwh-member-status-active { color: #c8f7d9; border-color: #4d9d70; background: #123323; }
    html.cwh-theme-system .cwh-member-status-revoked,
    html.cwh-theme-system .cwh-member-status-suspended,
    html.cwh-theme-system .cwh-member-status-disabled { color: #ffd1cd; border-color: #a94a43; background: #3d1715; }
}
html.cwh-contrast-high .cwh-module-card,
html.cwh-contrast-high .cwh-work-summary article,
html.cwh-contrast-high .cwh-member-card,
html.cwh-contrast-high .cwh-health-check { border-width: 2px; }
html.cwh-controls-large .cwh-small-button,
html.cwh-controls-large .cwh-member-role-form select { min-height: 52px; }

@media (max-width: 980px) {
    .cwh-people-layout { grid-template-columns: 1fr; }
    .cwh-people-invite { position: static; }
}
@media (max-width: 760px) {
    .cwh-module-grid,
    .cwh-module-grid-home,
    .cwh-module-grid-compact,
    .cwh-work-summary,
    .cwh-health-summary { grid-template-columns: 1fr; }
    .cwh-module-card { min-height: 100px; padding: 16px; }
    .cwh-work-empty { align-items: flex-start; }
    .cwh-native-form,
    .cwh-people-list { padding: 20px; border-radius: 16px; }
    .cwh-member-head { grid-template-columns: auto minmax(0, 1fr); }
    .cwh-member-status { grid-column: 1 / -1; width: fit-content; }
    .cwh-member-meta { grid-template-columns: 1fr; }
    .cwh-member-role-form { grid-template-columns: 1fr; }
    .cwh-member-role-form .cwh-small-button { width: 100%; }
    .cwh-health-check { grid-template-columns: 1fr; gap: 5px; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.1 — native People / CRM foundation
   --------------------------------------------------------- */
.cwh-sticky-savebar {
    position: sticky;
    top: 92px;
    z-index: 12;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: color-mix(in srgb, var(--cwh-card) 94%, transparent);
    border: 2px solid var(--cwh-border-strong);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .10);
    backdrop-filter: blur(10px);
}
.cwh-sticky-savebar > div { min-width: 0; display: grid; gap: 2px; }
.cwh-sticky-savebar strong { color: var(--cwh-text); font-size: 1rem; }
.cwh-sticky-savebar small { color: var(--cwh-muted); line-height: 1.35; }
html.cwh-contrast-high .cwh-sticky-savebar { border-width: 3px; box-shadow: none; backdrop-filter: none; background: var(--cwh-card); }

.cwh-crm-main { max-width: 1320px; }
.cwh-crm-main > .cwh-notice { margin-top: 28px; }
.cwh-crm-filter {
    margin-top: 30px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(190px, .75fr) minmax(150px, .55fr) auto;
    align-items: end;
    gap: 12px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-crm-filter-actions { min-height: 44px; display: flex; align-items: center; gap: 12px; }
.cwh-crm-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 24px;
    align-items: start;
}
.cwh-crm-directory,
.cwh-crm-editor-card,
.cwh-crm-profile-readonly {
    min-width: 0;
    padding: 24px;
    background: var(--cwh-card);
    border: 1px solid var(--cwh-border);
    border-radius: 20px;
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-crm-person-list { display: grid; gap: 10px; }
.cwh-crm-person-card {
    min-width: 0;
    padding: 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: var(--cwh-card);
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.cwh-crm-person-card:hover,
.cwh-crm-person-card:focus-visible,
.cwh-crm-person-card.is-selected {
    border-color: var(--cwh-border-strong);
    box-shadow: 0 8px 22px rgba(16,24,40,.08);
}
.cwh-crm-person-card:hover { transform: translateY(-1px); }
.cwh-crm-person-card.is-selected { outline: 2px solid var(--cwh-focus); outline-offset: 1px; }
.cwh-crm-person-card.is-archived { opacity: .65; }
.cwh-crm-person-copy { min-width: 0; display: grid; gap: 3px; }
.cwh-crm-person-copy > strong { overflow-wrap: anywhere; }
.cwh-crm-person-copy > small { color: var(--cwh-muted); overflow-wrap: anywhere; }
.cwh-crm-chips { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
.cwh-crm-chips > span {
    min-height: 24px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--cwh-soft);
    color: var(--cwh-muted);
    font-size: .69rem;
    font-weight: 740;
}
.cwh-crm-card-status {
    padding: 4px 8px;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 999px;
    color: var(--cwh-muted);
    font-size: .72rem;
    font-weight: 760;
}
.cwh-crm-empty {
    min-height: 160px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px dashed var(--cwh-border-strong);
    border-radius: 16px;
}
.cwh-crm-empty h3 { margin: 0 0 5px; }
.cwh-crm-empty p { margin: 0; color: var(--cwh-muted); }
.cwh-crm-pagination { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--cwh-muted); }

.cwh-crm-editor { min-width: 0; display: grid; gap: 12px; }
.cwh-crm-editor-form { min-width: 0; display: grid; gap: 14px; }
.cwh-crm-editor-card { display: grid; gap: 15px; }
.cwh-crm-editor-card .cwh-section-heading { margin-bottom: 0; }
.cwh-crm-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cwh-crm-address-grid { display: grid; grid-template-columns: 1fr 1fr .75fr .55fr; gap: 12px; }
.cwh-crm-relationship-picker { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.cwh-crm-relationship-picker label { cursor: pointer; }
.cwh-crm-relationship-picker input { position: absolute; opacity: 0; pointer-events: none; }
.cwh-crm-relationship-picker span {
    min-height: 38px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 999px;
    background: var(--cwh-card);
    color: var(--cwh-text);
    font-size: .82rem;
    font-weight: 700;
}
.cwh-crm-relationship-picker input:checked + span {
    background: var(--cwh-text);
    border-color: var(--cwh-text);
    color: var(--cwh-card);
}
.cwh-crm-relationship-picker input:focus-visible + span { outline: 3px solid var(--cwh-focus); outline-offset: 3px; }
.cwh-crm-editor-footer { padding: 4px 0 2px; display: flex; justify-content: flex-end; }
.cwh-crm-record-action { display: flex; justify-content: flex-end; }
.cwh-crm-profile-readonly h2 { margin: 0 0 18px; }

html.cwh-controls-large .cwh-crm-filter input,
html.cwh-controls-large .cwh-crm-filter select,
html.cwh-controls-large .cwh-crm-editor input,
html.cwh-controls-large .cwh-crm-editor select { min-height: 52px; }
html.cwh-spacing-comfortable .cwh-crm-layout,
html.cwh-spacing-comfortable .cwh-crm-editor-form { gap: 26px; }
html.cwh-contrast-high .cwh-crm-directory,
html.cwh-contrast-high .cwh-crm-editor-card,
html.cwh-contrast-high .cwh-crm-profile-readonly,
html.cwh-contrast-high .cwh-crm-person-card { border-width: 2px; }

@media (max-width: 1080px) {
    .cwh-crm-filter { grid-template-columns: 1fr 1fr; }
    .cwh-crm-layout { grid-template-columns: 1fr; }
    .cwh-crm-editor { grid-row: 1; }
    .cwh-crm-address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .cwh-sticky-savebar { top: 10px; padding: 12px; align-items: stretch; flex-direction: column; gap: 10px; }
    .cwh-sticky-savebar .cwh-button { width: 100%; }
    .cwh-crm-filter { grid-template-columns: 1fr; padding: 16px; }
    .cwh-crm-filter-actions { align-items: stretch; flex-direction: column; }
    .cwh-crm-filter-actions .cwh-button { width: 100%; }
    .cwh-crm-directory,
    .cwh-crm-editor-card,
    .cwh-crm-profile-readonly { padding: 18px; }
    .cwh-crm-person-card { grid-template-columns: auto minmax(0, 1fr) auto; }
    .cwh-crm-card-status { grid-column: 2; justify-self: start; }
    .cwh-crm-person-card .cwh-module-arrow { grid-column: 3; grid-row: 1 / 3; }
    .cwh-crm-name-grid,
    .cwh-crm-address-grid { grid-template-columns: 1fr; }
    .cwh-crm-pagination { flex-wrap: wrap; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.2+ — CRM directory switcher
   --------------------------------------------------------- */
.cwh-crm-switcher {
    margin-top: 18px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cwh-crm-switcher a {
    min-height: 42px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cwh-border-strong);
    border-radius: 999px;
    background: var(--cwh-card);
    color: var(--cwh-text);
    font-weight: 760;
    text-decoration: none;
}
.cwh-crm-switcher a:hover,
.cwh-crm-switcher a:focus-visible {
    border-color: var(--cwh-text);
}
.cwh-crm-switcher a.is-active {
    background: var(--cwh-text);
    color: var(--cwh-card);
    border-color: var(--cwh-text);
}
html.cwh-contrast-high .cwh-crm-switcher a { border-width: 2px; }
html.cwh-controls-large .cwh-crm-switcher a { min-height: 50px; padding-inline: 18px; }
@media (max-width: 720px) {
    .cwh-crm-switcher { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .cwh-crm-switcher a { width: 100%; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.3 — CRM relationship engine
   --------------------------------------------------------- */
.cwh-crm-connection-list { display: grid; gap: 10px; }
.cwh-crm-connection-row {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: var(--cwh-card);
    color: var(--cwh-text);
    text-decoration: none;
}
a.cwh-crm-connection-row:hover,
a.cwh-crm-connection-row:focus-visible,
.cwh-crm-connection-main:hover,
.cwh-crm-connection-main:focus-visible { border-color: var(--cwh-border-strong); }
.cwh-crm-connection-row.is-former { opacity: .72; }
.cwh-crm-connection-main {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: var(--cwh-text);
    text-decoration: none;
    border-radius: 10px;
}
.cwh-crm-connection-row > .cwh-crm-chips { margin-top: 0; justify-content: flex-end; }
.cwh-crm-connection-row > .cwh-module-arrow { color: var(--cwh-muted); font-size: 1.15rem; }
.cwh-crm-affiliation-form {
    margin-top: 6px;
    padding-top: 18px;
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--cwh-border);
}
.cwh-subsection-heading h3 { margin: 0; font-size: 1.1rem; }
.cwh-crm-affiliation-grid { grid-template-columns: .75fr 1fr 1fr; }
.cwh-check-row {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 12px;
    background: var(--cwh-soft);
    color: var(--cwh-text);
    cursor: pointer;
}
.cwh-check-row input { width: 21px; height: 21px; margin-top: 1px; accent-color: var(--cwh-text); flex: 0 0 auto; }
.cwh-check-row > span { min-width: 0; display: grid; gap: 2px; }
.cwh-check-row small { color: var(--cwh-muted); font-weight: 500; line-height: 1.4; }
.cwh-check-row input:focus-visible { outline: 3px solid var(--cwh-focus); outline-offset: 3px; }
.cwh-crm-empty-compact { min-height: 0; display: grid; justify-items: start; gap: 8px; }
.cwh-crm-empty-compact .cwh-button { margin-top: 4px; }
html.cwh-controls-large .cwh-check-row { min-height: 52px; }
html.cwh-contrast-high .cwh-crm-connection-row,
html.cwh-contrast-high .cwh-check-row { border-width: 2px; }

@media (max-width: 720px) {
    .cwh-crm-connection-row { grid-template-columns: minmax(0, 1fr) auto; }
    .cwh-crm-connection-row > .cwh-crm-chips { grid-column: 1; justify-content: flex-start; }
    .cwh-crm-connection-row > .cwh-small-button,
    .cwh-crm-connection-row > .cwh-module-arrow { grid-column: 2; grid-row: 1 / 3; }
    .cwh-crm-affiliation-grid { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------
   CauseWorkHub 1.6.4 — relationship discoverability + Other fallback
   --------------------------------------------------------- */
.cwh-sticky-savebar > .cwh-sticky-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cwh-relationship-jump { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.cwh-inline-count { min-width: 1.6em; height: 1.6em; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--cwh-soft); color: var(--cwh-text); font-size: .75em; font-weight: 800; }
.cwh-relationship-engine-card { scroll-margin-top: 118px; border-color: var(--cwh-border-strong); }
.cwh-conditional-field { padding: 12px; border: 1px dashed var(--cwh-border-strong); border-radius: 12px; background: color-mix(in srgb, var(--cwh-soft) 55%, transparent); }
.cwh-conditional-field.is-active { border-style: solid; border-width: 2px; }
html.cwh-contrast-high .cwh-conditional-field { border-width: 2px; }
@media (max-width: 720px) {
    .cwh-sticky-savebar > .cwh-sticky-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; }
    .cwh-sticky-actions .cwh-small-button,
    .cwh-sticky-actions .cwh-button { width: 100%; justify-content: center; }
    .cwh-relationship-engine-card { scroll-margin-top: 16px; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.6 — core/specialty architecture + mobile flow hardening
   --------------------------------------------------------- */
.cwh-crm-overview-card,
.cwh-crm-activity-card { scroll-margin-top: 118px; }
.cwh-crm-overview-card { gap: 18px; border-color: var(--cwh-border-strong); }
.cwh-crm-overview-head {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}
.cwh-crm-profile-avatar {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: var(--cwh-soft);
    color: var(--cwh-text);
    font-size: 1.3rem;
    font-weight: 850;
}
.cwh-crm-profile-avatar.is-organization { border-radius: 14px; }
.cwh-crm-overview-copy { min-width: 0; }
.cwh-crm-overview-copy .cwh-home-eyebrow { margin-bottom: 3px; }
.cwh-crm-overview-copy h2 { margin: 0; overflow-wrap: anywhere; }
.cwh-crm-primary-affiliation {
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: var(--cwh-soft);
    color: var(--cwh-text);
    text-decoration: none;
}
.cwh-crm-primary-affiliation > span:first-child { min-width: 0; display: grid; gap: 2px; }
.cwh-crm-primary-affiliation small { color: var(--cwh-muted); font-weight: 700; }
.cwh-crm-primary-affiliation strong,
.cwh-crm-primary-affiliation em { overflow-wrap: anywhere; }
.cwh-crm-primary-affiliation em { color: var(--cwh-muted); font-style: normal; }
.cwh-crm-primary-affiliation:hover,
.cwh-crm-primary-affiliation:focus-visible { border-color: var(--cwh-border-strong); }
.cwh-crm-overview-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.cwh-crm-overview-grid > div {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 12px;
}
.cwh-crm-overview-grid dt { margin-bottom: 3px; color: var(--cwh-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cwh-crm-overview-grid dd { margin: 0; color: var(--cwh-text); overflow-wrap: anywhere; }
.cwh-crm-profile-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.cwh-crm-profile-jumps .cwh-small-button { text-decoration: none; }
.cwh-crm-readonly-note { min-height: 0; display: grid; gap: 5px; }
.cwh-crm-readonly-note p { margin: 0; color: var(--cwh-muted); }

.cwh-crm-bottom-save {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--cwh-border);
}

.cwh-crm-note-form {
    padding: 14px;
    display: grid;
    gap: 10px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: var(--cwh-soft);
}
.cwh-crm-note-form textarea { min-height: 104px; resize: vertical; }
.cwh-crm-timeline { position: relative; display: grid; gap: 0; }
.cwh-crm-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 7px;
    width: 2px;
    background: var(--cwh-border);
}
.cwh-crm-timeline-item {
    position: relative;
    min-width: 0;
    padding: 0 0 18px 28px;
    display: grid;
}
.cwh-crm-timeline-item:last-child { padding-bottom: 0; }
.cwh-crm-timeline-dot {
    position: absolute;
    top: 7px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 3px solid var(--cwh-card);
    border-radius: 50%;
    background: var(--cwh-border-strong);
    box-shadow: 0 0 0 1px var(--cwh-border-strong);
}
.cwh-crm-timeline-item.is-note .cwh-crm-timeline-dot { background: var(--cwh-text); }
.cwh-crm-timeline-content {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 12px;
    background: var(--cwh-card);
}
.cwh-crm-timeline-head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cwh-crm-timeline-head strong { min-width: 0; overflow-wrap: anywhere; }
.cwh-crm-timeline-head > span { flex: 0 0 auto; color: var(--cwh-muted); font-size: .76rem; white-space: nowrap; }
.cwh-crm-timeline-content p { margin: 8px 0 0; color: var(--cwh-text); line-height: 1.5; overflow-wrap: anywhere; }
.cwh-crm-timeline-content > small { display: block; margin-top: 7px; color: var(--cwh-muted); }
html.cwh-controls-large .cwh-crm-note-form textarea { min-height: 120px; }
html.cwh-contrast-high .cwh-crm-overview-card,
html.cwh-contrast-high .cwh-crm-activity-card,
html.cwh-contrast-high .cwh-crm-note-form,
html.cwh-contrast-high .cwh-crm-timeline-content,
html.cwh-contrast-high .cwh-crm-overview-grid > div { border-width: 2px; }

@media (max-width: 720px) {
    .cwh-crm-overview-card,
    .cwh-crm-activity-card { scroll-margin-top: 16px; }
    .cwh-crm-overview-grid { grid-template-columns: 1fr; }
    .cwh-crm-profile-jumps { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .cwh-crm-profile-jumps .cwh-small-button { width: 100%; justify-content: center; }
    .cwh-crm-timeline-head { display: grid; gap: 3px; }
    .cwh-crm-timeline-head > span { white-space: normal; }
    .cwh-crm-bottom-save { margin-top: 18px; padding-top: 22px; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.6.7 — CRM command center + My Work spine
   --------------------------------------------------------- */
.cwh-crm-command-bar {
    padding-top: 2px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 8px;
}
.cwh-crm-command-bar .cwh-small-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
}
.cwh-crm-command-bar .cwh-command-primary {
    border-color: var(--cwh-border-strong);
    background: var(--cwh-soft);
    font-weight: 800;
}
.cwh-crm-followup-card { scroll-margin-top: 118px; border-color: var(--cwh-border-strong); }
.cwh-crm-followup-form { display: grid; gap: 12px; }
.cwh-crm-followup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .55fr); gap: 12px; }
.cwh-crm-followup-form textarea { min-height: 92px; resize: vertical; }
.cwh-crm-activity-filter {
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 12px;
    background: var(--cwh-soft);
}
.cwh-crm-activity-filter .cwh-field { flex: 1 1 240px; }
.cwh-crm-activity-filter select { min-height: 44px; }

.cwh-work-board { display: grid; gap: 20px; }
.cwh-work-bucket {
    padding: 20px;
    border: 1px solid var(--cwh-border);
    border-radius: 18px;
    background: var(--cwh-card);
}
.cwh-work-list { display: grid; gap: 10px; }
.cwh-work-item {
    min-width: 0;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    background: var(--cwh-soft);
}
.cwh-work-item.is-high-priority { border-width: 2px; border-color: var(--cwh-border-strong); }
.cwh-work-item-main { min-width: 0; display: grid; gap: 7px; }
.cwh-work-item-title { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cwh-work-item-title strong { min-width: 0; overflow-wrap: anywhere; }
.cwh-work-item-main p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.cwh-work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--cwh-muted); font-size: .86rem; }
.cwh-work-meta a { color: var(--cwh-text); font-weight: 750; overflow-wrap: anywhere; }
.cwh-work-item-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.cwh-work-item-actions .cwh-small-button { min-height: 40px; }
.cwh-work-complete { font-weight: 800; }
html.cwh-contrast-high .cwh-work-bucket,
html.cwh-contrast-high .cwh-work-item,
html.cwh-contrast-high .cwh-crm-followup-card,
html.cwh-contrast-high .cwh-crm-activity-filter { border-width: 2px; }
html.cwh-controls-large .cwh-crm-followup-form input,
html.cwh-controls-large .cwh-crm-followup-form select,
html.cwh-controls-large .cwh-crm-followup-form textarea,
html.cwh-controls-large .cwh-crm-activity-filter select { min-height: 52px; }

@media (max-width: 720px) {
    .cwh-crm-followup-card { scroll-margin-top: 16px; }
    .cwh-crm-followup-grid { grid-template-columns: 1fr; }
    .cwh-crm-activity-filter { align-items: stretch; flex-direction: column; }
    .cwh-work-bucket { padding: 16px; }
    .cwh-work-item { grid-template-columns: 1fr; align-items: stretch; }
    .cwh-work-item-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cwh-work-item-actions .cwh-small-button { width: 100%; justify-content: center; }
}

/* 1.6.7 command-center anchors */
#cwh-add-organization-relationship { scroll-margin-top: 118px; }
@media (max-width: 720px) {
    #cwh-add-organization-relationship { scroll-margin-top: 16px; }
}
.cwh-notice-with-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cwh-notice-with-action form { margin: 0; }
@media (max-width: 720px) {
    .cwh-notice-with-action form,
    .cwh-notice-with-action .cwh-small-button { width: 100%; }
    .cwh-notice-with-action .cwh-small-button { justify-content: center; }
}

/* CauseWorkHub 1.6.8 — collaborative Work / assignment engine */
.cwh-work-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.cwh-work-welcome > div:first-child { min-width: 0; }
.cwh-work-scope-tabs { display: inline-flex; gap: 6px; padding: 5px; border: 1px solid var(--cwh-border); border-radius: 14px; background: var(--cwh-card); flex: 0 0 auto; }
.cwh-work-scope-tabs a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 10px; color: var(--cwh-muted); font-weight: 800; text-decoration: none; }
.cwh-work-scope-tabs a.is-active { background: var(--cwh-text); color: var(--cwh-card); }
.cwh-work-item-title a { color: inherit; text-decoration: none; }
.cwh-work-item-title a:hover, .cwh-work-item-title a:focus-visible { text-decoration: underline; }
.cwh-work-item.is-unassigned { border-style: dashed; }
.cwh-work-item-actions > form { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; margin: 0; }
.cwh-work-detail { display: grid; gap: 18px; margin-top: 22px; }
.cwh-work-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cwh-work-status-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; border: 1px solid var(--cwh-border); border-radius: 999px; background: var(--cwh-card); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.cwh-work-detail-card { border: 1px solid var(--cwh-border); border-radius: 22px; background: var(--cwh-card); padding: 24px; box-shadow: var(--cwh-shadow); }
.cwh-work-detail-copy { margin: 14px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.cwh-work-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.cwh-work-detail-meta > div { min-width: 0; padding: 14px; border: 1px solid var(--cwh-border); border-radius: 14px; }
.cwh-work-detail-meta dt { color: var(--cwh-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cwh-work-detail-meta dd { margin: 5px 0 0; font-weight: 760; overflow-wrap: anywhere; }
.cwh-work-detail-meta a { color: var(--cwh-text); }
.cwh-work-detail-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cwh-work-detail-actions form { margin: 0; }
.cwh-work-status-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cwh-work-reassign-form, .cwh-work-add-watcher { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.cwh-work-reassign-form .cwh-field, .cwh-work-add-watcher .cwh-field { margin: 0; }
.cwh-work-watcher-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cwh-work-watcher-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--cwh-border); font-weight: 750; }
.cwh-work-add-watcher { margin-top: 16px; }
.cwh-work-comment-form { margin-top: 14px; padding: 16px; border: 1px solid var(--cwh-border); border-radius: 16px; background: var(--cwh-soft); }
.cwh-work-history { position: relative; display: grid; gap: 0; margin-top: 20px; }
.cwh-work-history:before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 8px; width: 2px; background: var(--cwh-border); }
.cwh-work-history-item { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 0 0 18px; }
.cwh-work-history-item:last-child { padding-bottom: 0; }
.cwh-work-history-item .cwh-crm-timeline-dot { position: relative; left: 1px; top: 6px; z-index: 1; }
.cwh-work-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cwh-work-history-head time { color: var(--cwh-muted); font-size: .82rem; white-space: nowrap; }
.cwh-work-history-item p { margin: 7px 0; line-height: 1.55; overflow-wrap: anywhere; }
.cwh-work-history-item small { color: var(--cwh-muted); }
html.cwh-contrast-high .cwh-work-scope-tabs,
html.cwh-contrast-high .cwh-work-detail-card,
html.cwh-contrast-high .cwh-work-detail-meta > div,
html.cwh-contrast-high .cwh-work-comment-form,
html.cwh-contrast-high .cwh-work-watcher-chip,
html.cwh-contrast-high .cwh-work-status-chip { border-width: 2px; }
@media (max-width: 760px) {
    .cwh-work-welcome { align-items: stretch; flex-direction: column; }
    .cwh-work-scope-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cwh-work-detail-card { padding: 17px; border-radius: 18px; }
    .cwh-work-detail-meta { grid-template-columns: 1fr; }
    .cwh-work-detail-actions { display: grid; grid-template-columns: 1fr; }
    .cwh-work-detail-actions form, .cwh-work-status-actions { width: 100%; }
    .cwh-work-status-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cwh-work-detail-actions .cwh-small-button { width: 100%; justify-content: center; }
    .cwh-work-reassign-form, .cwh-work-add-watcher { grid-template-columns: 1fr; }
    .cwh-work-reassign-form .cwh-button, .cwh-work-add-watcher .cwh-small-button { width: 100%; justify-content: center; }
    .cwh-work-history-head { display: grid; gap: 4px; }
    .cwh-work-history-head time { white-space: normal; }
    .cwh-work-item-actions { display: grid; grid-template-columns: 1fr; }
    .cwh-work-item-actions > a, .cwh-work-item-actions > form { width: 100%; }
    .cwh-work-item-actions > form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------------------------------------------------------
   CauseWorkHub 1.6.9 — invitation control + Work naming
   --------------------------------------------------------- */
.cwh-invite-copy-panel {
    margin: 0 0 18px;
    padding: 18px;
    display: grid;
    gap: 14px;
    border: 2px solid var(--cwh-border-strong);
    border-radius: 16px;
    background: var(--cwh-card);
}
.cwh-invite-copy-panel h2 { margin: 0; }
.cwh-invite-copy-panel p { margin: 4px 0 0; color: var(--cwh-muted); }
.cwh-invite-copy-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; }
.cwh-invite-copy-row .cwh-field { min-width: 0; }
.cwh-invite-copy-row input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; }
.cwh-invite-state {
    margin-top: 10px;
    padding: 10px 12px;
    display: grid;
    gap: 6px;
    border: 1px dashed var(--cwh-border);
    border-radius: 10px;
    background: var(--cwh-soft);
    color: var(--cwh-muted);
    font-size: .78rem;
}
.cwh-invite-state span { display: flex; flex-wrap: wrap; gap: 6px; }
.cwh-invite-state strong { color: var(--cwh-text); }
html.cwh-contrast-high .cwh-invite-copy-panel,
html.cwh-contrast-high .cwh-invite-state { border-width: 2px; }
@media (max-width: 720px) {
    .cwh-invite-copy-row { grid-template-columns: 1fr; }
    .cwh-invite-copy-row .cwh-button { width: 100%; justify-content: center; }
    .cwh-member-actions form,
    .cwh-member-actions .cwh-small-button { width: 100%; }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.7.0 — Conversations
   --------------------------------------------------------- */
@media (max-width: 720px) {
    .cwh-mobile-nav.cwh-mobile-nav-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .cwh-mobile-nav.cwh-mobile-nav-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cwh-mobile-nav.cwh-mobile-nav-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cwh-conversation-welcome { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cwh-conversation-welcome > div { min-width: 0; }
.cwh-conversation-header-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cwh-conversation-header-actions .cwh-button { white-space: nowrap; }
.cwh-conversation-channels {
    margin: 20px 0 18px;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    border: 1px solid var(--cwh-border);
    border-radius: 16px;
    background: var(--cwh-soft);
}
.cwh-conversation-channels > span {
    min-height: 34px;
    padding: 5px 9px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border: 1px solid var(--cwh-border);
    border-radius: 999px;
    background: var(--cwh-card);
    font-size: .8rem;
}
.cwh-conversation-channels > span:first-child { border-color: var(--cwh-border-strong); }
.cwh-conversation-channels small { flex: 1 1 100%; color: var(--cwh-muted); line-height: 1.5; }
.cwh-conversation-filters {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 2px 0 12px;
    scrollbar-width: thin;
}
.cwh-conversation-filters a {
    min-height: 42px;
    padding: 8px 11px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--cwh-border);
    border-radius: 12px;
    background: var(--cwh-card);
    color: var(--cwh-muted);
    font-weight: 780;
    text-decoration: none;
}
.cwh-conversation-filters a small { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--cwh-soft); color: var(--cwh-text); text-align: center; }
.cwh-conversation-filters a.is-active { border-color: var(--cwh-text); background: var(--cwh-text); color: var(--cwh-card); }
.cwh-conversation-filters a.is-active small { background: rgba(255,255,255,.18); color: inherit; }
.cwh-conversation-layout {
    display: grid;
    grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.cwh-conversation-inbox,
.cwh-conversation-pane,
.cwh-conversation-new {
    min-width: 0;
    border: 1px solid var(--cwh-border);
    border-radius: 20px;
    background: var(--cwh-card);
    box-shadow: var(--cwh-shadow-soft);
}
.cwh-conversation-inbox { padding: 16px; }
.cwh-conversation-pane { min-height: 520px; padding: 18px; }
.cwh-conversation-list { display: grid; gap: 8px; margin-top: 10px; }
.cwh-conversation-list-item {
    min-width: 0;
    padding: 13px;
    display: grid;
    gap: 7px;
    border: 1px solid var(--cwh-border);
    border-radius: 14px;
    color: var(--cwh-text);
    text-decoration: none;
    background: var(--cwh-card);
}
.cwh-conversation-list-item:hover,
.cwh-conversation-list-item:focus-visible,
.cwh-conversation-list-item.is-selected { border-color: var(--cwh-border-strong); background: var(--cwh-soft); }
.cwh-conversation-list-item.is-unread { border-left: 4px solid var(--cwh-text); }
.cwh-conversation-list-top { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cwh-conversation-list-top strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cwh-conversation-list-top b { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--cwh-text); color: var(--cwh-card); font-size: .72rem; }
.cwh-conversation-list-excerpt { color: var(--cwh-muted); font-size: .87rem; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cwh-conversation-list-meta { min-width: 0; display: flex; flex-wrap: wrap; gap: 5px 9px; color: var(--cwh-muted); font-size: .72rem; }
.cwh-conversation-list-meta em { color: var(--cwh-text); font-style: normal; font-weight: 760; }
.cwh-conversation-list-meta time { margin-left: auto; }
.cwh-conversation-empty,
.cwh-conversation-no-thread { min-height: 260px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--cwh-muted); text-align: left; }
.cwh-conversation-empty strong,
.cwh-conversation-no-thread h2 { margin: 0 0 4px; color: var(--cwh-text); }
.cwh-conversation-empty p,
.cwh-conversation-no-thread p { margin: 0; }
.cwh-conversation-thread { min-width: 0; display: grid; gap: 18px; }
.cwh-conversation-thread-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--cwh-border); }
.cwh-conversation-thread-head h2 { margin: 2px 0 7px; overflow-wrap: anywhere; }
.cwh-conversation-head-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; color: var(--cwh-muted); font-size: .82rem; }
.cwh-conversation-context { padding: 11px 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-radius: 12px; background: var(--cwh-soft); font-size: .84rem; }
.cwh-conversation-context a { color: var(--cwh-text); font-weight: 760; }
.cwh-conversation-messages { display: grid; gap: 11px; }
.cwh-message-bubble { width: min(82%, 720px); padding: 12px 14px; border: 1px solid var(--cwh-border); border-radius: 16px 16px 16px 5px; background: var(--cwh-soft); }
.cwh-message-bubble.is-mine { justify-self: end; border-radius: 16px 16px 5px 16px; background: var(--cwh-card); border-color: var(--cwh-border-strong); }
.cwh-message-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--cwh-muted); font-size: .76rem; }
.cwh-message-head strong { color: var(--cwh-text); }
.cwh-message-head time { white-space: nowrap; }
.cwh-message-bubble p { margin: 7px 0 0; line-height: 1.55; overflow-wrap: anywhere; }
.cwh-message-row { display: flex; align-items: flex-end; gap: 9px; width: 100%; }
.cwh-message-row.is-mine { flex-direction: row-reverse; }
.cwh-conversation-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; border: 1px solid var(--cwh-border); background: var(--cwh-card); object-fit: cover; display: grid; place-items: center; color: var(--cwh-text); font-size: .72rem; font-weight: 900; }
.cwh-message-row .cwh-message-bubble { width: min(82%, 686px); }
.cwh-community-sender-label { display: inline-flex; margin-left: 7px; border-radius: 999px; background: #1d4ed8; color: #fff; padding: 3px 7px; font-size: .58rem; font-weight: 900; letter-spacing: .08em; vertical-align: middle; }
.cwh-member-avatar { object-fit: cover; }
.cwh-conversation-reply { padding-top: 16px; display: grid; gap: 10px; border-top: 1px solid var(--cwh-border); }
.cwh-conversation-reply .cwh-button { justify-self: end; }
.cwh-conversation-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.cwh-conversation-controls > section { min-width: 0; padding: 14px; border: 1px solid var(--cwh-border); border-radius: 14px; background: var(--cwh-soft); }
.cwh-conversation-controls h3 { margin: 0 0 10px; font-size: .93rem; }
.cwh-conversation-status-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.cwh-conversation-status-actions form { margin: 0; }
.cwh-conversation-control-form { display: grid; gap: 9px; }
.cwh-conversation-control-form .cwh-field { margin: 0; }
.cwh-conversation-work-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.cwh-conversation-work-form .cwh-field { margin: 0; }
.cwh-conversation-work-form .cwh-small-button { align-self: end; }
.cwh-conversation-history { border-top: 1px solid var(--cwh-border); padding-top: 14px; }
.cwh-conversation-history summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 800; }
.cwh-conversation-history summary span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--cwh-soft); font-size: .72rem; text-align: center; }
.cwh-conversation-new { margin-top: 22px; padding: 20px; scroll-margin-top: 20px; }
.cwh-conversation-new-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cwh-conversation-new-form .cwh-field { margin: 0; }
.cwh-conversation-new-message { grid-column: 1 / -1; }
.cwh-conversation-new-form .cwh-button { grid-column: 1 / -1; justify-self: start; }
.cwh-conversation-mobile-back { display: none; }
html.cwh-contrast-high .cwh-conversation-channels,
html.cwh-contrast-high .cwh-conversation-filters a,
html.cwh-contrast-high .cwh-conversation-inbox,
html.cwh-contrast-high .cwh-conversation-pane,
html.cwh-contrast-high .cwh-conversation-new,
html.cwh-contrast-high .cwh-conversation-list-item,
html.cwh-contrast-high .cwh-message-bubble,
html.cwh-contrast-high .cwh-conversation-controls > section { border-width: 2px; }

@media (max-width: 900px) {
    .cwh-conversation-layout { grid-template-columns: minmax(270px, .8fr) minmax(0,1.2fr); }
    .cwh-conversation-controls { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .cwh-conversation-welcome { align-items: stretch; flex-direction: column; }
    .cwh-conversation-header-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
    .cwh-conversation-welcome .cwh-button { width: 100%; }
    .cwh-conversation-channels { display: grid; }
    .cwh-conversation-channels > span { width: 100%; justify-content: space-between; }
    .cwh-conversation-layout { grid-template-columns: 1fr; }
    .cwh-conversation-pane { min-height: 0; padding: 14px; }
    .cwh-conversations-main.has-thread .cwh-conversation-inbox { display: none; }
    .cwh-conversations-main:not(.has-thread) .cwh-conversation-pane { display: none; }
    .cwh-conversation-mobile-back { min-height: 44px; margin-bottom: 8px; display: inline-flex; align-items: center; color: var(--cwh-text); font-weight: 800; text-decoration: none; }
    .cwh-conversation-thread-head { display: grid; }
    .cwh-message-bubble { width: 92%; }
    .cwh-message-head { display: grid; gap: 2px; }
    .cwh-message-head time { white-space: normal; }
    .cwh-conversation-reply .cwh-button { width: 100%; justify-self: stretch; }
    .cwh-conversation-work-form,
    .cwh-conversation-new-form { grid-template-columns: 1fr; }
    .cwh-conversation-new-message,
    .cwh-conversation-new-form .cwh-button { grid-column: auto; }
    .cwh-conversation-new-form .cwh-button { width: 100%; justify-self: stretch; }
    .cwh-conversation-status-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cwh-conversation-status-actions form,
    .cwh-conversation-status-actions .cwh-small-button { width: 100%; }
    .cwh-conversation-list-meta time { margin-left: 0; }
}

/* HubChat setup — 1.7.0 */
.cwh-hubchat-setup { margin: 0 0 18px; border: 1px solid var(--cwh-border); border-radius: 18px; background: var(--cwh-card); box-shadow: var(--cwh-shadow-soft); overflow: clip; }
.cwh-hubchat-setup > summary { min-height: 64px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; }
.cwh-hubchat-setup > summary::-webkit-details-marker { display: none; }
.cwh-hubchat-setup > summary span { min-width: 0; display: grid; gap: 3px; }
.cwh-hubchat-setup > summary small { color: var(--cwh-muted); font-weight: 500; line-height: 1.4; }
.cwh-hubchat-setup > summary b { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--cwh-soft); font-size: .76rem; }
.cwh-hubchat-setup[open] > summary { border-bottom: 1px solid var(--cwh-border); }
.cwh-hubchat-setup-body { padding: 18px; display: grid; gap: 18px; }
.cwh-hubchat-settings-form { display: grid; gap: 16px; }
.cwh-website-chat-welcome { max-width: 860px; }
.cwh-website-chat-welcome .cwh-text-back { margin-top: 18px; display: inline-flex; color: var(--cwh-text); font-weight: 750; text-decoration: none; }
.cwh-hubchat-page-card { margin-top: 28px; border: 1px solid var(--cwh-border); border-radius: 18px; background: var(--cwh-card); box-shadow: var(--cwh-shadow-soft); overflow: clip; }
.cwh-hubchat-page-card .cwh-toggle-row { display: flex; align-items: flex-start; gap: 10px; }
.cwh-hubchat-page-card .cwh-toggle-row input { flex: 0 0 auto; margin-top: 4px; }
.cwh-hubchat-page-card .cwh-toggle-row span { display: grid; gap: 3px; }
.cwh-hubchat-page-card .cwh-toggle-row small { color: var(--cwh-muted); font-weight: 500; line-height: 1.4; }
.cwh-hubchat-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cwh-hubchat-settings-grid .cwh-field { margin: 0; }
.cwh-hubchat-domain-field, .cwh-hubchat-welcome-field { grid-column: 1 / -1; }
.cwh-hubchat-preview-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.cwh-hubchat-launcher-preview { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--cwh-brand-primary, var(--cwh-text)); color: var(--cwh-brand-on-primary, var(--cwh-card)); box-shadow: var(--cwh-shadow-soft); }
.cwh-hubchat-launcher-preview svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cwh-hubchat-launcher-preview img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.cwh-hubchat-install { padding: 18px; display: grid; gap: 16px; border: 1px solid var(--cwh-border); border-radius: 16px; background: var(--cwh-soft); }
.cwh-hubchat-install-heading h3 { margin: 2px 0 6px; }
.cwh-hubchat-install-heading p { margin: 0; color: var(--cwh-muted); line-height: 1.5; }
.cwh-hubchat-install-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.cwh-hubchat-install-choices label { position: relative; min-height: 108px; padding: 15px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--cwh-border-strong); border-radius: 14px; background: var(--cwh-card); cursor: pointer; }
.cwh-hubchat-install-choices label:has(input:checked) { border-color: var(--cwh-brand-primary,var(--cwh-text)); box-shadow: 0 0 0 2px color-mix(in srgb,var(--cwh-brand-primary,var(--cwh-text)) 18%,transparent); }
.cwh-hubchat-install-choices input { margin-top: 3px; accent-color: var(--cwh-brand-primary,var(--cwh-text)); }
.cwh-hubchat-install-choices span { display: grid; gap: 5px; }
.cwh-hubchat-install-choices small, .cwh-hubchat-install-panel small { color: var(--cwh-muted); line-height: 1.4; }
.cwh-hubchat-install-panel { padding: 18px; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; border: 1px solid var(--cwh-border); border-radius: 14px; background: var(--cwh-card); }
.cwh-hubchat-install-panel[hidden] { display: none; }
.cwh-hubchat-step-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--cwh-brand-primary,var(--cwh-text)); color: var(--cwh-brand-on-primary,var(--cwh-card)); font-weight: 800; }
.cwh-hubchat-install-panel h4 { margin: 1px 0 6px; font-size: 1.05rem; }
.cwh-hubchat-install-panel p { margin: 0 0 13px; color: var(--cwh-muted); line-height: 1.5; }
.cwh-hubchat-install-panel .cwh-button { margin: 0 0 9px; }
.cwh-hubchat-install-panel textarea { width: 100%; min-height: 92px; margin: 0 0 10px; padding: 11px; border: 1px solid var(--cwh-border-strong); border-radius: 11px; background: var(--cwh-soft); color: var(--cwh-text); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: .76rem; line-height: 1.45; resize: vertical; }
.cwh-hubchat-developer-details { border-top: 1px solid var(--cwh-border); padding-top: 13px; }
.cwh-hubchat-developer-details summary { cursor: pointer; font-weight: 700; }
.cwh-hubchat-developer-details p { margin: 10px 0 0; color: var(--cwh-muted); line-height: 1.5; }
html.cwh-contrast-high .cwh-hubchat-setup, html.cwh-contrast-high .cwh-hubchat-install { border-width: 2px; }
@media (max-width: 720px) {
    .cwh-hubchat-settings-grid { grid-template-columns: 1fr; }
    .cwh-hubchat-domain-field, .cwh-hubchat-welcome-field { grid-column: auto; }
    .cwh-hubchat-preview-row { align-items: stretch; flex-direction: column; }
    .cwh-hubchat-preview-row .cwh-button, .cwh-hubchat-install-panel .cwh-button { width: 100%; }
    .cwh-hubchat-setup > summary { align-items: flex-start; }
    .cwh-hubchat-install-choices { grid-template-columns: 1fr; }
    .cwh-hubchat-install-choices label { min-height: 0; }
    .cwh-hubchat-install-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .cwh-mobile-nav a { position: relative; }
    .cwh-mobile-nav-badge {
        position: absolute;
        top: 1px;
        left: calc(50% + 8px);
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        display: grid;
        place-items: center;
        border: 2px solid var(--cwh-card);
        border-radius: 999px;
        background: var(--cwh-text);
        color: var(--cwh-card);
        font-size: .58rem;
        line-height: 1;
    }
}

/* ---------------------------------------------------------
   CauseWorkHub 1.8.0 — Forms & Workflows
   --------------------------------------------------------- */
.cwh-forms-welcome { max-width:none; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.cwh-forms-welcome > div { min-width:0; max-width:820px; }
.cwh-forms-welcome .cwh-button { flex:0 0 auto; white-space:nowrap; }
.cwh-forms-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.cwh-forms-header-actions .cwh-small-button,.cwh-forms-header-actions .cwh-button{white-space:nowrap}
.cwh-form-boundary { margin:22px 0; padding:14px 16px; display:grid; gap:4px; border:1px solid #efcf86; border-radius:14px; background:#fff9e9; color:#6b4b09; }
.cwh-form-boundary span { line-height:1.45; }
.cwh-forms-grid { margin:24px 0 30px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.cwh-form-card { min-width:0; padding:17px; display:grid; gap:9px; border:1px solid var(--cwh-border); border-radius:16px; background:var(--cwh-card); box-shadow:var(--cwh-shadow-soft); }
.cwh-form-card.is-selected { border-color:var(--cwh-brand-primary,var(--cwh-text)); }
.cwh-form-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cwh-form-card .cwh-module-icon { width:42px; height:42px; }
.cwh-form-card h2 { margin:2px 0 0; font-size:1.18rem; }
.cwh-form-card p,.cwh-form-card small { margin:0; color:var(--cwh-muted); }
.cwh-form-card .cwh-small-button { margin-top:5px; justify-self:start; }
.cwh-form-builder,.cwh-form-submissions { margin-top:26px; padding:20px; border:1px solid var(--cwh-border); border-radius:18px; background:var(--cwh-card); box-shadow:var(--cwh-shadow-soft); }
.cwh-form-builder-form { display:grid; gap:18px; }
.cwh-form-builder-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.cwh-form-builder-grid .cwh-field { margin:0; }
.cwh-form-wide { grid-column:1 / -1; }
.cwh-form-workflow-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cwh-form-workflow-options label { padding:14px; display:flex; align-items:flex-start; gap:10px; border:1px solid var(--cwh-border); border-radius:13px; background:var(--cwh-soft); cursor:pointer; }
.cwh-form-workflow-options input { margin-top:3px; accent-color:var(--cwh-brand-primary,var(--cwh-text)); }
.cwh-form-workflow-options span { display:grid; gap:3px; }.cwh-form-workflow-options small { color:var(--cwh-muted); line-height:1.4; }
.cwh-form-save-row { display:flex; justify-content:flex-end; }
.cwh-form-save-row{align-items:center;gap:12px}.cwh-small-button.is-quiet{background:transparent;color:var(--cwh-text);border:1px solid var(--cwh-border-strong)}
.cwh-form-current-status{padding:12px 13px;display:grid;align-content:center;gap:4px;border:1px solid var(--cwh-border);border-radius:11px;background:var(--cwh-soft)}.cwh-form-current-status>span{color:var(--cwh-muted);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cwh-form-current-status>small{color:var(--cwh-muted);line-height:1.4}
.cwh-form-preview { margin-top:20px; padding-top:18px; display:grid; gap:20px; border-top:1px solid var(--cwh-border); }
.cwh-form-field-chips { display:flex; flex-wrap:wrap; gap:7px; }.cwh-form-field-chips span { padding:7px 9px; border:1px solid var(--cwh-border); border-radius:999px; background:var(--cwh-soft); font-size:.84rem; }.cwh-form-field-chips b { color:#a32323; }
.cwh-form-publish-actions { display:grid; gap:10px; justify-items:end; }.cwh-form-publish-actions details { max-width:480px; }.cwh-form-publish-actions summary { cursor:pointer; font-weight:750; }.cwh-form-publish-actions textarea { width:100%; min-height:110px; margin:9px 0; padding:10px; border:1px solid var(--cwh-border-strong); border-radius:10px; background:var(--cwh-soft); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.75rem; }
.cwh-form-install { margin-top:22px; padding-top:20px; border-top:1px solid var(--cwh-border); }
.cwh-form-install .cwh-section-heading { margin-bottom:14px; }.cwh-form-install .cwh-section-heading h3 { margin:2px 0 4px; font-size:1.35rem; }.cwh-form-install .cwh-section-heading p { margin:0; color:var(--cwh-muted); }
.cwh-form-install-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.cwh-form-install-grid article { min-width:0; padding:16px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; border:1px solid var(--cwh-border); border-radius:14px; background:var(--cwh-soft); }
.cwh-form-install-grid article > b { font-size:1.02rem; }.cwh-form-install-grid article > p { min-height:3.8em; margin:0; color:var(--cwh-muted); line-height:1.45; }.cwh-form-install-grid label { width:100%; display:grid; gap:5px; }.cwh-form-install-grid label span { color:var(--cwh-muted); font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }.cwh-form-install-grid input,.cwh-form-install-grid textarea { width:100%; box-sizing:border-box; padding:10px; border:1px solid var(--cwh-border-strong); border-radius:9px; background:var(--cwh-card); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.76rem; }.cwh-form-install-grid textarea { min-height:112px; resize:vertical; }.cwh-form-hosted-actions { display:flex; flex-wrap:wrap; gap:8px; }.cwh-form-install-note { margin:13px 0 0; color:var(--cwh-muted); font-size:.86rem; }
.cwh-form-publish-required{padding:17px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 20px;border:1px solid var(--cwh-border);border-radius:14px;background:var(--cwh-soft)}.cwh-form-publish-required p{margin:0;color:var(--cwh-muted);line-height:1.45}.cwh-form-publish-required .cwh-small-button{grid-column:2;grid-row:1 / 3;white-space:nowrap}
.cwh-form-submission-list { display:grid; gap:10px; }
.cwh-form-submission { border:1px solid var(--cwh-border); border-radius:13px; background:var(--cwh-soft); overflow:clip; }
.cwh-form-submission > summary { min-height:62px; padding:13px 15px; display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer; list-style:none; }
.cwh-form-submission > summary::-webkit-details-marker { display:none; }.cwh-form-submission > summary span { min-width:0; display:grid; gap:3px; }.cwh-form-submission > summary small { color:var(--cwh-muted); }.cwh-form-submission > summary b { padding:5px 8px; border-radius:999px; background:var(--cwh-card); font-size:.76rem; }
.cwh-form-submission dl { margin:0; padding:16px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; border-top:1px solid var(--cwh-border); background:var(--cwh-card); }.cwh-form-submission dl div { min-width:0; }.cwh-form-submission dt { color:var(--cwh-muted); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }.cwh-form-submission dd { margin:4px 0 0; overflow-wrap:anywhere; line-height:1.45; }
.cwh-form-submission-links { padding:0 16px 16px; display:flex; flex-wrap:wrap; gap:7px; background:var(--cwh-card); }.cwh-form-submission-links span { padding:6px 8px; border-radius:999px; background:var(--cwh-soft); color:var(--cwh-muted); font-size:.78rem; font-weight:750; }
html.cwh-contrast-high .cwh-form-card,html.cwh-contrast-high .cwh-form-builder,html.cwh-contrast-high .cwh-form-submissions,html.cwh-contrast-high .cwh-form-submission { border-width:2px; }
@media(max-width:900px){.cwh-forms-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.cwh-form-install-grid{grid-template-columns:1fr}.cwh-form-install-grid article>p{min-height:0}}
@media(max-width:720px){.cwh-forms-welcome{align-items:stretch;flex-direction:column}.cwh-forms-welcome .cwh-button{width:100%}.cwh-forms-grid,.cwh-form-builder-grid,.cwh-form-workflow-options,.cwh-form-preview,.cwh-form-submission dl{grid-template-columns:1fr}.cwh-form-wide{grid-column:auto}.cwh-form-save-row .cwh-button{width:100%}.cwh-form-publish-actions{justify-items:stretch}.cwh-form-publish-actions .cwh-button{width:100%}}

/* CauseWorkHub 1.9.0 — outcome-led form studio */
.cwh-form-mobile-builder-message{display:none}
.cwh-form-builder .cwh-section-heading>div>p:last-child,.cwh-field-designer .cwh-section-heading p{margin:5px 0 0;color:var(--cwh-muted)}
.cwh-form-outcomes{margin:18px 0 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cwh-form-outcome{min-width:0;padding:18px;text-align:left;display:flex;align-items:flex-start;gap:11px;border:1px solid var(--cwh-border);border-radius:16px;background:var(--cwh-soft);color:var(--cwh-text);font:inherit;cursor:pointer;transition:.16s ease}
label.cwh-form-outcome:hover,label.cwh-form-outcome:focus-within,label.cwh-form-outcome:has(input:checked){border-color:var(--cwh-text);background:var(--cwh-card);box-shadow:0 8px 22px rgba(20,35,60,.08)}
.cwh-form-outcome>input{flex:0 0 auto;margin:3px 0 0;accent-color:var(--cwh-brand-primary,var(--cwh-text))}.cwh-form-outcome>span{min-width:0;display:grid;gap:6px}.cwh-form-outcome strong{font-size:1.04rem}.cwh-form-outcome span,.cwh-form-outcome small{color:var(--cwh-muted);line-height:1.42}.cwh-form-outcome strong{color:var(--cwh-text)}.cwh-form-outcome small{font-weight:500}.cwh-form-outcome.is-donation{display:grid;background:linear-gradient(145deg,rgba(29,185,84,.11),rgba(29,145,240,.08));border-color:rgba(29,185,84,.38)}.cwh-form-outcome.is-donation small{margin-top:3px;font-weight:750}
.cwh-field-designer{margin-top:4px;padding:18px;border:1px solid var(--cwh-border);border-radius:16px;background:var(--cwh-soft)}
.cwh-field-designer .cwh-section-heading{margin-bottom:13px}.cwh-field-designer .cwh-section-heading h3{margin:2px 0;font-size:1.25rem}
.cwh-field-list{display:grid;gap:10px}.cwh-field-design-card{display:flex;gap:12px;padding:14px;border:1px solid var(--cwh-border);border-radius:13px;background:var(--cwh-card);box-shadow:0 3px 12px rgba(20,35,60,.04)}
.cwh-field-design-card.is-dragging{opacity:.55}.cwh-field-design-handle{padding:24px 1px 0;color:var(--cwh-muted);font-weight:900;letter-spacing:-3px;cursor:grab}.cwh-field-design-main{min-width:0;flex:1;display:grid;gap:10px}.cwh-field-design-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(170px,.7fr);gap:10px}.cwh-field-design-card .cwh-field{margin:0}.cwh-field-design-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.cwh-field-design-actions button{padding:7px 9px;border:0;background:transparent;color:var(--cwh-muted);font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}.cwh-field-design-actions button.is-remove{color:#a32323}.cwh-field-required{margin-right:auto;display:flex;align-items:center;gap:7px;font-size:.86rem;font-weight:750}.cwh-field-options{max-width:620px}
.cwh-form-advanced{border:1px solid var(--cwh-border);border-radius:14px;background:var(--cwh-soft)}.cwh-form-advanced>summary{padding:15px 17px;cursor:pointer;font-weight:800}.cwh-form-advanced[open]>summary{border-bottom:1px solid var(--cwh-border)}.cwh-form-advanced>.cwh-form-builder-grid,.cwh-form-advanced>.cwh-form-workflow-options{padding:16px}.cwh-form-advanced>.cwh-form-workflow-options{padding-top:0}
.cwh-form-stage{border:1px solid var(--cwh-border);border-radius:16px;background:var(--cwh-soft);overflow:clip}.cwh-form-stage>summary{min-height:68px;padding:13px 16px;display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none}.cwh-form-stage>summary::-webkit-details-marker{display:none}.cwh-form-stage>summary>b{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:50%;background:var(--cwh-text);color:var(--cwh-card);font-size:1rem}.cwh-form-stage>summary>span{min-width:0;display:grid;gap:4px}.cwh-form-stage>summary strong{color:var(--cwh-text);font-size:1rem}.cwh-form-stage>summary small{color:var(--cwh-muted);font-weight:500;line-height:1.4}.cwh-form-stage>summary:after{content:'›';margin-left:auto;color:var(--cwh-muted);font-size:1.6rem;line-height:1;transform:rotate(90deg);transition:transform .15s}.cwh-form-stage[open]>summary:after{transform:rotate(-90deg)}.cwh-form-stage[open]>summary{border-bottom:1px solid var(--cwh-border)}.cwh-form-stage-content{padding:18px;background:var(--cwh-card)}.cwh-form-stage .cwh-field-designer{margin:0;padding:0;border:0;background:transparent}.cwh-form-stage .cwh-form-workflow-options{margin-top:16px}.cwh-form-save-row{padding-top:2px;gap:16px}
.cwh-form-design-workspace{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.55fr);gap:16px;align-items:start}.cwh-field-library{position:sticky;top:16px;padding:14px;border:1px solid var(--cwh-border);border-radius:14px;background:var(--cwh-soft)}.cwh-field-library>.cwh-field{margin:0 0 12px}.cwh-field-library-group{border-top:1px solid var(--cwh-border)}.cwh-field-library-group:last-child{border-bottom:1px solid var(--cwh-border)}.cwh-field-library-group>summary{padding:11px 3px;display:flex;justify-content:space-between;gap:10px;cursor:pointer;font-weight:800;list-style:none}.cwh-field-library-group>summary::-webkit-details-marker{display:none}.cwh-field-library-group>summary span{color:var(--cwh-muted);font-size:.78rem}.cwh-field-library-group>div{padding:0 0 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cwh-field-preset{min-width:0;padding:10px;text-align:left;display:grid;gap:4px;border:1px solid var(--cwh-border);border-radius:10px;background:var(--cwh-card);color:var(--cwh-text);font:inherit;cursor:grab}.cwh-field-preset:hover,.cwh-field-preset:focus-visible{border-color:var(--cwh-brand-primary,var(--cwh-text));box-shadow:0 5px 14px rgba(20,35,60,.08)}.cwh-field-preset strong{overflow-wrap:anywhere;font-size:.82rem}.cwh-field-preset small{color:var(--cwh-muted);font-size:.7rem}.cwh-field-canvas{min-width:0;padding:14px;border:1px solid var(--cwh-border);border-radius:14px;background:var(--cwh-soft)}.cwh-field-canvas-heading{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.cwh-field-list:empty:before{content:attr(data-empty);min-height:150px;display:grid;place-items:center;border:2px dashed var(--cwh-border-strong);border-radius:13px;color:var(--cwh-muted);font-weight:750}.cwh-field-list.is-drop-target{padding:8px;border:2px dashed var(--cwh-brand-primary,var(--cwh-text));border-radius:14px;background:rgba(29,145,240,.06)}
@media(max-width:1050px){.cwh-form-design-workspace{grid-template-columns:1fr}.cwh-field-library{position:static}.cwh-field-library-group>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cwh-form-outcomes{grid-template-columns:repeat(2,minmax(0,1fr))}.cwh-field-design-row{grid-template-columns:1fr}}
@media(max-width:700px){.cwh-form-builder{display:none}.cwh-form-mobile-builder-message{margin-top:24px;padding:20px;display:flex;align-items:flex-start;gap:14px;border:1px solid var(--cwh-border);border-radius:18px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-form-mobile-builder-message h2{margin:3px 0 7px;font-size:1.3rem}.cwh-form-mobile-builder-message p{margin:0;color:var(--cwh-muted);line-height:1.5}.cwh-form-mobile-actions{margin-top:15px}.cwh-form-mobile-actions .cwh-button{width:100%}.cwh-form-mobile-share{margin-top:10px;display:grid;gap:8px}.cwh-form-mobile-share input{width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--cwh-border);border-radius:9px;background:var(--cwh-soft);font-size:.78rem}}
@media(max-width:720px){.cwh-forms-header-actions{width:100%;display:grid;grid-template-columns:1fr}.cwh-forms-header-actions .cwh-small-button,.cwh-forms-header-actions .cwh-button{width:100%}.cwh-form-save-row{align-items:stretch;flex-direction:column}.cwh-form-save-row .cwh-small-button{width:100%}.cwh-form-publish-required{display:flex;align-items:stretch;flex-direction:column}.cwh-form-publish-required .cwh-small-button{width:100%}}
@media (max-width: 720px) {
    .cwh-mobile-nav a > span svg { width: 22px; height: 22px; display: block; }
}
.cwh-preview-open{overflow:hidden}.cwh-live-preview-overlay{position:fixed;inset:0;z-index:100000;display:grid;grid-template-rows:auto 1fr;background:rgba(19,27,39,.72);backdrop-filter:blur(7px)}.cwh-live-preview-toolbar{min-height:72px;padding:14px clamp(18px,4vw,42px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--cwh-card);border-bottom:1px solid var(--cwh-border);box-shadow:0 8px 28px rgba(0,0,0,.13)}.cwh-live-preview-toolbar>div{display:grid;gap:3px}.cwh-live-preview-toolbar strong{font-size:1.05rem}.cwh-live-preview-toolbar span{color:var(--cwh-muted);font-size:.86rem}.cwh-live-preview-toolbar button{min-height:42px;padding:9px 18px;border:1px solid var(--cwh-border-strong);border-radius:10px;background:var(--cwh-card);color:var(--cwh-text);font:inherit;font-weight:800;cursor:pointer}.cwh-live-preview-viewport{overflow:auto;padding:28px 16px 60px}.cwh-live-preview-card{width:min(680px,100%);margin:0 auto;padding:clamp(24px,5vw,40px);border:1px solid #d9e1eb;border-radius:22px;background:#fff;color:#14181f;box-shadow:0 18px 55px rgba(0,0,0,.18);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cwh-live-preview-brand{display:grid;gap:2px;margin-bottom:30px}.cwh-live-preview-brand span{color:#5d6b82;font-size:.78rem}.cwh-live-preview-eyebrow{margin:0 0 8px;color:#5d6b82;font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.cwh-live-preview-card h2{margin:0;font-size:clamp(2rem,6vw,3rem);line-height:1.06;letter-spacing:-.035em}.cwh-live-preview-fields{margin-top:26px;display:grid;gap:17px}.cwh-live-preview-field{display:grid;gap:7px;font-weight:750}.cwh-live-preview-field small,.cwh-live-preview-card fieldset small{color:#5d6b82;font-weight:400}.cwh-live-preview-field input,.cwh-live-preview-field textarea,.cwh-live-preview-field select{width:100%;min-height:48px;padding:12px 13px;border:1px solid #aeb9c8;border-radius:11px;background:#fff;color:#14181f;font:inherit;opacity:1}.cwh-live-preview-field textarea{min-height:112px}.cwh-live-preview-card b{color:#a32323}.cwh-live-preview-card fieldset{margin:0;padding:0;border:0;display:grid;gap:8px}.cwh-live-preview-card legend{margin-bottom:6px;font-weight:750}.cwh-live-preview-choice{padding:11px 12px;display:flex;gap:10px;border:1px solid #d9e1eb;border-radius:10px}.cwh-live-preview-check{display:flex;align-items:flex-start;gap:10px;font-weight:600}.cwh-live-preview-section{margin-top:8px;padding-top:14px;border-top:1px solid #d9e1eb}.cwh-live-preview-section h3{margin:0}.cwh-live-preview-section p,.cwh-live-preview-content p{margin:5px 0 0;color:#5d6b82}.cwh-live-preview-content{padding:13px 14px;border-radius:11px;background:#f4f7fa}.cwh-live-preview-fields>button{min-height:50px;border:0;border-radius:12px;background:#14181f;color:#fff;font:inherit;font-weight:800;opacity:1}.cwh-live-preview-note{margin:0;color:#5d6b82;font-size:.82rem;line-height:1.5}.cwh-live-preview-note strong{color:inherit}.cwh-live-preview-card footer{margin:26px 0 0;padding-top:18px;border-top:1px solid #d9e1eb;color:#5d6b82;font-size:.75rem;text-align:center}

/* CauseWorkHub 1.19.2 — mobile touch and action-placement standard. */
@media (max-width: 720px) {
    .cwh-home-header { padding-right: 76px; }
    .cwh-button { min-height: 50px; }
    .cwh-small-button { min-height: 46px; }
    .cwh-field input,
    .cwh-field select { min-height: 48px; }
    .cwh-qa-item-actions a,
    .cwh-qa-item-actions button { min-height: 44px; }
    .cwh-crm-relationship-picker span { min-height: 44px; }
    .cwh-crm-switcher a,
    .cwh-conversation-filters a,
    .cwh-work-scope-tabs a { min-height: 46px; }
    .cwh-member-role-form select { min-height: 46px; }
    .cwh-password-toggle { min-width: 48px; height: 44px; }
    .cwh-mobile-nav a { min-height: 54px; padding: 3px 2px; }
    .cwh-member-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .cwh-member-actions form,
    .cwh-member-actions .cwh-small-button { width: 100%; }
    .cwh-member-actions .cwh-small-button { justify-content: center; }
    .cwh-member-actions .cwh-small-button.is-danger { margin-top: 8px; }
    .cwh-live-preview-toolbar button { min-height: 46px; }
}
@media(max-width:600px){.cwh-live-preview-toolbar{align-items:flex-start}.cwh-live-preview-toolbar span{display:none}.cwh-live-preview-viewport{padding:0}.cwh-live-preview-card{min-height:calc(100vh - 72px);border:0;border-radius:0;box-shadow:none}}
/* CauseWorkHub 1.20.4 — national briefing and image-rich syndicated news. */
.cwh-national-news{margin-top:34px}.cwh-national-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:14px}.cwh-national-lead{min-height:380px;position:relative;overflow:hidden;display:flex;align-items:flex-end;border-radius:20px;background:linear-gradient(140deg,#173f34,#287f58 58%,#79bc82);color:#fff;text-decoration:none}.cwh-national-lead>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cwh-national-lead:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,22,17,.94),rgba(6,22,17,.08) 80%)}.cwh-national-lead>span{position:relative;z-index:1;padding:25px;display:grid;gap:8px}.cwh-national-lead small,.cwh-national-stack small,.cwh-national-more small{font-size:.71rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.cwh-national-lead strong{font-size:clamp(1.55rem,3vw,2.45rem);line-height:1.08}.cwh-national-lead b{font-size:.84rem}.cwh-national-stack{display:grid;gap:9px}.cwh-national-stack>a{min-height:68px;padding:10px;display:grid;grid-template-columns:72px 1fr;align-items:center;gap:11px;border:1px solid var(--cwh-border);border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-national-stack img,.cwh-national-source-mark{width:72px;height:58px;border-radius:10px;object-fit:cover}.cwh-national-source-mark{display:grid;place-items:center;background:linear-gradient(135deg,#dff4e7,#e9f2ff);color:#195d43;font-size:1.35rem;font-weight:900}.cwh-national-stack strong{display:block;margin-top:3px;line-height:1.22}.cwh-national-stack small,.cwh-national-more small{color:var(--cwh-success)}.cwh-national-more{margin-top:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cwh-national-more>a{padding:13px;display:grid;grid-template-columns:1fr auto;gap:5px 10px;border:1px solid var(--cwh-border);border-radius:13px;background:#fff;color:inherit;text-decoration:none}.cwh-national-more>a strong{grid-column:1;line-height:1.25}.cwh-national-more>a b{grid-column:2;grid-row:1/3;align-self:center}.cwh-external-list>a.has-image{grid-template-columns:86px 1fr;column-gap:12px}.cwh-external-list>a.has-image>img{width:86px;height:86px;grid-row:1/6;border-radius:10px;object-fit:cover}.cwh-external-list>a.has-image>.cwh-source-pill,.cwh-external-list>a.has-image>strong,.cwh-external-list>a.has-image>small,.cwh-external-list>a.has-image>b{grid-column:2}.cwh-home-headlines>a:has(>img){grid-template-columns:84px max-content 1fr}.cwh-home-headlines>a>img{width:84px;height:72px;grid-row:1/4;border-radius:10px;object-fit:cover}.cwh-home-headlines>a:has(>img)>small{grid-column:2/4}.cwh-home-headlines>a:has(>img)>strong{grid-column:2/4}
@media(max-width:900px){.cwh-national-grid{grid-template-columns:1fr}.cwh-national-more{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cwh-national-lead{min-height:310px}.cwh-national-stack>a{grid-template-columns:64px 1fr}.cwh-national-stack img,.cwh-national-source-mark{width:64px;height:58px}.cwh-national-more{grid-template-columns:1fr}.cwh-external-list>a.has-image{grid-template-columns:72px 1fr}.cwh-external-list>a.has-image>img{width:72px;height:72px}.cwh-home-headlines>a:has(>img){grid-template-columns:72px 1fr}.cwh-home-headlines>a>img{width:72px;height:68px}.cwh-home-headlines>a:has(>img)>.cwh-source-pill,.cwh-home-headlines>a:has(>img)>strong,.cwh-home-headlines>a:has(>img)>small{grid-column:2}}

/* CauseWorkHub 1.19.4 — final mobile viewport, keyboard, and overflow hardening. */
.cwh-home-body,.cwh-home-shell{min-height:100vh;min-height:100dvh}
@media(max-width:720px){
  .cwh-home-body{overflow-x:clip}
  .cwh-home-main{max-width:100%}
  .cwh-home-main input:not([type=checkbox]):not([type=radio]),.cwh-home-main select,.cwh-home-main textarea{font-size:16px;scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom))}
  .cwh-form-advanced>summary,.cwh-field-library-group>summary,.cwh-pwa-guide summary{min-height:48px}
  .cwh-live-preview-overlay{height:100vh;height:100dvh}
  .cwh-live-preview-viewport{padding-bottom:max(60px,env(safe-area-inset-bottom))}
  .cwh-live-preview-toolbar{padding-right:max(18px,env(safe-area-inset-right));padding-left:max(18px,env(safe-area-inset-left))}
  .cwh-live-preview-toolbar button{flex:0 0 auto}
}
@media(max-width:600px){.cwh-live-preview-card{min-height:calc(100dvh - 72px)}}
.cwh-home-attention{margin-top:34px}.cwh-home-attention-list{display:grid;gap:10px}.cwh-home-attention-item{min-height:82px;padding:14px 16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid var(--cwh-border);border-radius:15px;background:var(--cwh-card);color:var(--cwh-text);text-decoration:none;box-shadow:var(--cwh-shadow-soft);transition:transform .15s,border-color .15s}.cwh-home-attention-item:hover{transform:translateY(-1px);border-color:var(--cwh-border-strong)}.cwh-home-attention-item>span:nth-child(2){min-width:0;display:grid;gap:4px}.cwh-home-attention-item strong{font-size:1rem}.cwh-home-attention-item small{color:var(--cwh-muted);line-height:1.4}.cwh-home-attention-item>b{padding:7px 11px;border:1px solid var(--cwh-border);border-radius:9px;font-size:.82rem}.cwh-home-caught-up{min-height:150px;padding:26px;display:flex;align-items:center;gap:18px;border:1px solid #b9dfc5;border-radius:18px;background:#f1fbf4}.cwh-home-caught-up-mark{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:50%;background:#16743a;color:#fff}.cwh-home-caught-up-mark svg{width:25px;height:25px}.cwh-home-caught-up h3{margin:0 0 6px;font-size:1.35rem}.cwh-home-caught-up p{margin:0;color:#41664c;line-height:1.5}.cwh-home-attention+.cwh-qa-home{margin-top:36px}@media(max-width:600px){.cwh-home-attention-item{grid-template-columns:auto 1fr}.cwh-home-attention-item>b{grid-column:2;justify-self:start}.cwh-home-caught-up{align-items:flex-start;padding:20px}}

/* CauseWorkHub 1.20.5 — News Feed health and manual refresh. */
.cwh-feed-health{margin:0 0 24px;padding:20px;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.4fr) auto;gap:18px;align-items:center;border:1px solid var(--cwh-border);border-radius:18px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}
.cwh-feed-health h2{margin:2px 0 4px;font-size:1.18rem}.cwh-feed-health p{margin:0;color:var(--cwh-muted);font-size:.88rem;line-height:1.45}.cwh-feed-health-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.cwh-feed-health-item{min-width:0;display:grid;grid-template-columns:10px minmax(0,1fr);gap:9px;align-items:center}.cwh-feed-health-item>span{width:9px;height:9px;border-radius:50%;background:#e0a21a;box-shadow:0 0 0 4px #fff4d4}.cwh-feed-health-item.is-ready>span{background:#1a9b59;box-shadow:0 0 0 4px #e7f8ee}.cwh-feed-health-item.is-stale>span{background:#54789b;box-shadow:0 0 0 4px #eaf1f7}.cwh-feed-health-item div{min-width:0;display:grid}.cwh-feed-health-item strong{font-size:.84rem}.cwh-feed-health-item small{overflow:hidden;color:var(--cwh-muted);font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.cwh-feed-health form{margin:0}.cwh-feed-health .cwh-button{min-height:46px;white-space:nowrap}
@media(max-width:980px){.cwh-feed-health{grid-template-columns:1fr;align-items:stretch}.cwh-feed-health form{display:flex}.cwh-feed-health .cwh-button{width:100%}}
@media(max-width:600px){.cwh-feed-health{padding:18px}.cwh-feed-health-grid{grid-template-columns:1fr;gap:12px}}

/* CauseWorkHub 1.20.6 — image-only visual morning edition on Home. */
.cwh-home-visual-news{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:12px}.cwh-home-visual-lead{min-height:340px;position:relative;overflow:hidden;display:flex;align-items:flex-end;border-radius:18px;background:#173f34;color:#fff;text-decoration:none}.cwh-home-visual-lead>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cwh-home-visual-lead:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,19,14,.94),rgba(4,19,14,.08) 78%)}.cwh-home-visual-lead>span{position:relative;z-index:1;padding:22px;display:grid;gap:7px}.cwh-home-visual-lead small,.cwh-home-visual-stack small{font-size:.69rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.cwh-home-visual-lead strong{font-size:clamp(1.35rem,2.4vw,2.05rem);line-height:1.08}.cwh-home-visual-lead p{margin:0;color:rgba(255,255,255,.88);line-height:1.4}.cwh-home-visual-lead b{font-size:.82rem}.cwh-home-visual-stack{display:grid;gap:10px}.cwh-home-visual-stack>a{min-height:100px;padding:9px;display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:11px;border:1px solid var(--cwh-border);border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-home-visual-stack img{width:104px;height:82px;border-radius:10px;object-fit:cover}.cwh-home-visual-stack span{min-width:0}.cwh-home-visual-stack small{display:block;margin-bottom:5px;color:var(--cwh-success)}.cwh-home-visual-stack strong{display:block;line-height:1.22}
@media(max-width:900px){.cwh-home-visual-news{grid-template-columns:1fr}.cwh-home-visual-stack{grid-template-columns:repeat(3,minmax(0,1fr))}.cwh-home-visual-stack>a{grid-template-columns:1fr;align-content:start}.cwh-home-visual-stack img{width:100%;height:130px}}
@media(max-width:600px){.cwh-home-visual-lead{min-height:300px}.cwh-home-visual-lead>span{padding:18px}.cwh-home-visual-lead p{display:none}.cwh-home-visual-stack{grid-template-columns:1fr}.cwh-home-visual-stack>a{min-height:96px;grid-template-columns:96px minmax(0,1fr)}.cwh-home-visual-stack img{width:96px;height:78px}}

/* CauseWorkHub 1.20.7 — locally personalized nonprofit impact briefing. */
.cwh-impact-news{margin-top:34px;padding:22px;border:1px solid #b9ddc7;border-radius:20px;background:linear-gradient(145deg,#effbf4,#fff 66%,#f3f8ff)}.cwh-impact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cwh-impact-grid>a{min-height:112px;padding:12px;display:grid;grid-template-columns:1fr;gap:7px;border:1px solid #d5e8dc;border-radius:14px;background:#fff;color:inherit;text-decoration:none}.cwh-impact-grid>a.has-image{grid-template-columns:112px minmax(0,1fr);align-items:center}.cwh-impact-grid img{width:112px;height:88px;border-radius:10px;object-fit:cover}.cwh-impact-grid>a>span{min-width:0;display:grid;gap:5px}.cwh-impact-grid small{color:var(--cwh-success);font-size:.71rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.cwh-impact-grid strong{line-height:1.25}.cwh-impact-grid b{color:var(--cwh-success);font-size:.8rem}.cwh-impact-news .cwh-feed-why{color:#4e6759}
@media(max-width:800px){.cwh-impact-grid{grid-template-columns:1fr}}
@media(max-width:600px){.cwh-impact-news{padding:17px}.cwh-impact-grid>a.has-image{grid-template-columns:88px minmax(0,1fr)}.cwh-impact-grid img{width:88px;height:76px}}

/* CauseWorkHub 1.20.8 — the visual national briefing leads the full News Feed. */
.cwh-full-news-feed{display:flex;flex-direction:column}.cwh-full-news-feed>.cwh-feed-masthead{order:1}.cwh-full-news-feed>.cwh-news-topics{order:2}.cwh-full-news-feed>.cwh-national-news{order:3}.cwh-full-news-feed>.cwh-impact-news{order:4}.cwh-full-news-feed>.cwh-must-know{order:5}.cwh-full-news-feed>.cwh-external-lanes{order:6}.cwh-full-news-feed>.cwh-top-stories{order:7}.cwh-full-news-feed>.cwh-latest-news{order:8}

/* CauseWorkHub 1.20.11 — News is the primary Home surface; Chat follows below. */
.cwh-morning-grid{grid-template-columns:1fr}.cwh-morning-chat{min-height:auto}.cwh-morning-chat .cwh-chat-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.cwh-newsroom-main>.cwh-feed-health,.cwh-newsroom-main>.cwh-feed-preferences{display:none}.cwh-full-news-feed>.cwh-notice,.cwh-full-news-feed>.cwh-feed-preferences{order:2}.cwh-full-news-feed>.cwh-feed-preferences{margin-top:18px;margin-bottom:0}.cwh-full-news-feed>.cwh-national-news{order:3}.cwh-news-story-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.cwh-news-story-action{width:max-content;padding:6px 9px;border:1px solid rgba(22,122,75,.3);border-radius:999px;background:#f3faf6;color:#145d3e;font-size:.72rem;font-weight:820;line-height:1.2;cursor:pointer}.cwh-news-story-action.is-publish{border-color:rgba(49,91,131,.28);background:#f2f7fc;color:#315b83}.cwh-national-lead .cwh-news-story-action{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.16);color:#fff}.cwh-external-list>a.has-image>.cwh-news-story-actions{grid-column:2}.cwh-national-more .cwh-news-story-actions{grid-column:1/-1}.cwh-news-feed-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cwh-news-feed-status>div{padding:10px 12px;border:1px solid #d8e8de;border-radius:11px;background:#fff}.cwh-news-feed-status strong,.cwh-news-feed-status small{display:block}.cwh-news-feed-status small{margin-top:3px;color:var(--cwh-muted)}
@media(max-width:760px){.cwh-morning-chat .cwh-chat-preview,.cwh-news-feed-status{grid-template-columns:1fr}}

/* CauseWorkHub 1.21.0 — broad Clients & Cases core operations. */
.cwh-cases-main{padding-bottom:130px}.cwh-case-summary{margin:24px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.cwh-case-summary article{padding:18px;border:1px solid var(--cwh-border);border-radius:15px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-case-summary strong,.cwh-case-summary span{display:block}.cwh-case-summary strong{font-size:1.65rem}.cwh-case-summary span{margin-top:3px;color:var(--cwh-muted)}
.cwh-case-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.cwh-case-panel,.cwh-case-workspace,.cwh-case-editor{border:1px solid var(--cwh-border);border-radius:19px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-case-panel{padding:20px}.cwh-case-filter{margin:0 0 13px;display:grid;grid-template-columns:1fr auto;gap:8px}.cwh-case-filter input{min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--cwh-border-strong);border-radius:10px;background:var(--cwh-soft)}.cwh-case-tabs{margin:0 0 13px;display:flex;gap:7px}.cwh-case-tabs a{min-height:40px;padding:8px 11px;display:inline-flex;align-items:center;border:1px solid var(--cwh-border);border-radius:999px;color:var(--cwh-muted);font-size:.8rem;font-weight:800;text-decoration:none}.cwh-case-tabs a.is-active{background:var(--cwh-text);color:var(--cwh-card)}
.cwh-case-list{display:grid;gap:8px}.cwh-case-list>a{min-width:0;padding:11px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--cwh-border);border-radius:12px;background:var(--cwh-soft);color:inherit;text-decoration:none}.cwh-case-list>a:hover,.cwh-case-list>a.is-selected{border-color:var(--cwh-brand-primary,var(--cwh-text));background:var(--cwh-card)}.cwh-case-list>a>span:nth-child(2){min-width:0;display:grid;gap:3px}.cwh-case-list>a strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwh-case-list>a small{overflow:hidden;color:var(--cwh-muted);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.cwh-case-list>a>b{padding:5px 7px;border-radius:999px;background:var(--cwh-card);font-size:.7rem}.cwh-case-priority{width:11px;height:11px;border-radius:50%;background:#6ca680;box-shadow:0 0 0 4px #e9f6ed}.cwh-case-priority.is-high{background:#c3332b;box-shadow:0 0 0 4px #fde9e7}
.cwh-case-workspace{margin-top:20px;padding:22px}.cwh-case-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cwh-case-workspace>header h2{margin:3px 0;font-size:clamp(1.45rem,3vw,2.1rem)}.cwh-case-workspace>header p{margin:0;color:var(--cwh-muted)}.cwh-case-overview{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cwh-case-overview article,.cwh-case-plan article{padding:14px;border:1px solid var(--cwh-border);border-radius:12px;background:var(--cwh-soft)}.cwh-case-overview small,.cwh-case-overview strong{display:block}.cwh-case-overview small{color:var(--cwh-muted)}.cwh-case-overview strong{margin-top:4px}.cwh-case-plan{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cwh-case-plan h3{margin:0 0 7px}.cwh-case-plan p{margin:0;color:var(--cwh-muted);line-height:1.5}.cwh-case-activity-layout{margin-top:22px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px;align-items:start}.cwh-case-timeline{display:grid;gap:0}.cwh-case-timeline article{position:relative;padding:0 0 18px 26px}.cwh-case-timeline article>span{position:absolute;left:2px;top:5px;width:11px;height:11px;border-radius:50%;background:var(--cwh-brand-primary,var(--cwh-text));box-shadow:0 0 0 4px var(--cwh-soft)}.cwh-case-timeline article:before{content:'';position:absolute;left:7px;top:15px;bottom:0;width:1px;background:var(--cwh-border)}.cwh-case-timeline article:last-child:before{display:none}.cwh-case-timeline article>div{display:grid;gap:5px}.cwh-case-timeline small,.cwh-case-timeline em{color:var(--cwh-muted);font-size:.78rem}.cwh-case-timeline p{margin:0;line-height:1.5}.cwh-case-note-form{padding:17px;display:grid;gap:12px;border:1px solid var(--cwh-border);border-radius:15px;background:var(--cwh-soft)}.cwh-case-note-form h3{margin:0}.cwh-case-note-form .cwh-button{width:100%}.cwh-case-followup{padding:13px;display:grid;gap:10px}.cwh-muted-copy{color:var(--cwh-muted)}
.cwh-case-editors{margin-top:20px;display:grid;gap:14px}.cwh-case-editor{overflow:clip}.cwh-case-editor>summary,.cwh-human-services>summary{padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.cwh-case-editor>summary::-webkit-details-marker,.cwh-human-services>summary::-webkit-details-marker{display:none}.cwh-case-editor>summary span,.cwh-human-services>summary span{display:grid;gap:3px}.cwh-case-editor>summary small,.cwh-human-services>summary small{color:var(--cwh-muted);font-weight:500}.cwh-case-editor>summary>b{padding:6px 9px;border-radius:999px;background:var(--cwh-soft);font-size:.75rem}.cwh-case-editor[open]>summary{border-bottom:1px solid var(--cwh-border)}.cwh-case-editor>form{padding:20px;display:grid;gap:17px}.cwh-case-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.cwh-case-wide{grid-column:1/-1}.cwh-case-check{padding:12px;display:flex;align-items:flex-start;gap:9px;border:1px solid var(--cwh-border);border-radius:11px;background:var(--cwh-soft);font-weight:600}.cwh-case-check input{margin-top:3px;accent-color:var(--cwh-brand-primary,var(--cwh-text))}.cwh-case-check span{display:grid;gap:3px}.cwh-case-check small{color:var(--cwh-muted);font-weight:500}.cwh-case-identity{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;background:var(--cwh-soft)}.cwh-human-services{border:1px solid #bddfca;border-radius:14px;background:#f3fbf6}.cwh-human-services>summary{padding:14px 16px}.cwh-human-services>.cwh-case-form-grid{padding:16px;border-top:1px solid #d3eadb}.cwh-cases-main .cwh-field{margin:0}.cwh-cases-main .cwh-field input,.cwh-cases-main .cwh-field select,.cwh-cases-main .cwh-field textarea{width:100%;box-sizing:border-box}.cwh-cases-main .cwh-field small{color:var(--cwh-muted);font-weight:500}
.cwh-create-case-action{background:var(--cwh-text);color:var(--cwh-card)!important}.cwh-create-case-editor{border:2px solid var(--cwh-text)}.cwh-create-case-editor>summary{background:#fff9df}.cwh-case-intake-block{min-width:0;margin:0;padding:16px;border:1px solid var(--cwh-border);border-radius:14px;background:var(--cwh-card)}.cwh-case-intake-block>legend{padding:0 7px;font-weight:850}.cwh-case-intake-block>p{margin:0 0 13px;color:var(--cwh-muted)}.cwh-inline-client{margin-top:14px;border:1px solid var(--cwh-border);border-radius:12px;background:var(--cwh-soft)}.cwh-inline-client>summary{padding:13px 14px;cursor:pointer}.cwh-inline-client>.cwh-case-form-grid{padding:14px;border-top:1px solid var(--cwh-border)}.cwh-case-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cwh-create-case-submit{min-height:52px;font-size:1rem}.cwh-case-document-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.cwh-case-document-actions form{margin:0}.cwh-case-document-preview{position:static}.cwh-case-document-preview>summary{list-style:none;cursor:pointer}.cwh-case-document-preview>summary::-webkit-details-marker{display:none}.cwh-case-document-frame{position:fixed;inset:5vh 5vw;z-index:10020;padding:60px 16px 16px;border:1px solid var(--cwh-border);border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.32)}.cwh-case-document-close{position:absolute;top:14px;right:16px}.cwh-case-document-frame iframe,.cwh-case-document-frame img{width:100%;height:100%;border:0;object-fit:contain;background:#fff}
@media(max-width:960px){.cwh-case-directory-grid,.cwh-case-activity-layout{grid-template-columns:1fr}.cwh-case-plan{grid-template-columns:1fr}.cwh-case-activity-layout{gap:14px}}
@media(max-width:700px){.cwh-case-summary{grid-template-columns:1fr}.cwh-case-panel,.cwh-case-workspace{padding:17px}.cwh-case-overview,.cwh-case-form-grid,.cwh-case-check-grid{grid-template-columns:1fr}.cwh-case-wide{grid-column:auto}.cwh-case-list>a{grid-template-columns:auto minmax(0,1fr)}.cwh-case-list>a>b{grid-column:2;justify-self:start}.cwh-case-workspace>header{flex-direction:column}.cwh-case-tabs{overflow:visible;flex-wrap:wrap}.cwh-case-filter{grid-template-columns:1fr}.cwh-case-filter .cwh-small-button,.cwh-case-editor .cwh-button{width:100%;min-height:48px}.cwh-case-editor>summary,.cwh-human-services>summary{align-items:flex-start}.cwh-case-editor>form{padding:16px}.cwh-case-identity{align-items:flex-start;flex-direction:column}.cwh-case-intake-block{padding:13px}.cwh-case-document-actions{justify-content:flex-start}.cwh-case-document-frame{inset:2vh 10px 12vh;padding:54px 8px 8px;border-radius:13px}}
/* 1.22.0 connected core operations */
.cwh-operations-main{display:grid;gap:22px}.cwh-ops-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cwh-ops-summary article{min-height:112px;padding:20px;border:1px solid var(--cwh-line,#dfe7e3);border-radius:20px;background:linear-gradient(145deg,#fff,#f7fbf8);display:flex;flex-direction:column;justify-content:center;box-shadow:0 12px 30px rgba(26,48,38,.06)}.cwh-ops-summary strong{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1;color:var(--cwh-brand,#1d91f0)}.cwh-ops-summary span{margin-top:9px;font-size:.83rem;font-weight:800;color:#52635b}.cwh-ops-two,.cwh-ops-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cwh-ops-three{grid-template-columns:repeat(3,minmax(0,1fr))}.cwh-ops-panel,.cwh-ops-editor{border:1px solid var(--cwh-line,#dfe7e3);border-radius:22px;background:#fff;box-shadow:0 16px 34px rgba(23,47,36,.07)}.cwh-ops-panel{padding:22px;min-width:0}.cwh-ops-panel>h2{margin:0 0 16px;font-size:1.18rem}.cwh-ops-panel>h3{margin:18px 0 7px;font-size:.86rem;text-transform:uppercase;letter-spacing:.08em;color:#607169}.cwh-ops-panel>p{color:#52635b;line-height:1.55}.cwh-ops-list{display:grid;gap:8px}.cwh-ops-list>a{display:flex;align-items:center;gap:11px;min-height:66px;padding:11px 12px;border:1px solid #e5ece8;border-radius:15px;color:inherit;text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}.cwh-ops-list>a:hover,.cwh-ops-list>a:focus-visible,.cwh-ops-list>a.is-selected{border-color:var(--cwh-brand,#1d91f0);background:#f3f9ff;transform:translateY(-1px)}.cwh-ops-list>a>span:not(.cwh-member-avatar){display:grid;gap:4px;min-width:0;flex:1}.cwh-ops-list strong,.cwh-ops-list small{overflow:hidden;text-overflow:ellipsis}.cwh-ops-list small{color:#64766d}.cwh-ops-list b{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#397552}.cwh-ops-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.cwh-ops-details div{padding:13px;border-radius:13px;background:#f6f9f7}.cwh-ops-details dt{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#74847c}.cwh-ops-details dd{margin:5px 0 0;font-weight:800;color:#25352e}.cwh-ops-editor{overflow:hidden}.cwh-ops-editor>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:19px 22px}.cwh-ops-editor>summary::-webkit-details-marker{display:none}.cwh-ops-editor>summary span{display:grid;gap:4px}.cwh-ops-editor>summary small{color:#6d7d75}.cwh-ops-editor>summary:after{content:'+';display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#edf4f0;font-size:1.25rem}.cwh-ops-editor[open]>summary:after{content:'−'}.cwh-ops-editor>form{padding:0 22px 22px;border-top:1px solid #e7eeea}.cwh-ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}.cwh-ops-wide{grid-column:1/-1}.cwh-ops-records{display:grid;gap:10px}.cwh-ops-records>div{display:grid;gap:4px;padding:13px;border:1px solid #e5ece8;border-radius:14px;background:#fbfdfc}.cwh-ops-records strong{line-height:1.25}.cwh-ops-records span,.cwh-ops-records small{color:#687970}.cwh-ops-records b{justify-self:start;padding:4px 8px;border-radius:99px;background:#edf5f0;font-size:.68rem;text-transform:uppercase}.cwh-ops-records a{font-size:.78rem;font-weight:800;color:var(--cwh-brand,#1d91f0)}.cwh-ops-records form{display:flex;flex-wrap:wrap;gap:7px}.cwh-ops-mini-form{display:grid;gap:11px;margin-top:18px;padding-top:18px;border-top:1px solid #e7eeea}.cwh-ops-mini-form .cwh-field{gap:5px}.cwh-ops-mini-form input,.cwh-ops-mini-form select,.cwh-ops-mini-form textarea{min-height:44px}.cwh-ops-mini-form textarea{min-height:76px}.cwh-ops-panel .cwh-section-heading{margin-bottom:14px}
@media(max-width:960px){.cwh-ops-three{grid-template-columns:1fr}.cwh-ops-two{grid-template-columns:1fr}}
@media(max-width:700px){.cwh-operations-main{gap:16px}.cwh-ops-summary{grid-template-columns:1fr}.cwh-ops-summary article{min-height:88px;padding:16px}.cwh-ops-panel{padding:16px}.cwh-ops-form-grid,.cwh-ops-details{grid-template-columns:1fr}.cwh-ops-wide{grid-column:auto}.cwh-ops-editor>summary{padding:16px}.cwh-ops-editor>form{padding:0 16px 18px}.cwh-ops-list>a{align-items:flex-start}.cwh-ops-list>a>b{margin-left:auto}.cwh-ops-records>div{overflow-wrap:anywhere}}

/* CauseWorkHub 1.23.2 — visible, permission-filtered Documents workspace. */
.cwh-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cwh-module-badge{min-width:29px;height:29px;padding:0 8px;display:grid;place-items:center;border-radius:999px;background:#e8f6ed;color:#17633c;font-size:.76rem;font-weight:900}.cwh-documents-main{padding-bottom:130px}.cwh-documents-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px}.cwh-document-count{min-width:146px;padding:17px 20px;display:grid;border:1px solid #cce5d5;border-radius:17px;background:#f1fbf4}.cwh-document-count strong{font-size:2rem;color:#176b40}.cwh-document-count span{color:#52665b;font-size:.78rem;font-weight:800}.cwh-document-protection{margin:22px 0;display:flex;align-items:center;gap:15px;padding:18px 20px;border:1px solid #bcdcc8;border-radius:18px;background:linear-gradient(135deg,#edf9f1,#fff);box-shadow:var(--cwh-shadow-soft)}.cwh-document-shield{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:14px;background:#176b40;color:#fff}.cwh-document-shield svg{width:23px;height:23px}.cwh-document-protection strong{display:block}.cwh-document-protection p{margin:4px 0 0;color:#52665b;line-height:1.5}.cwh-document-search{margin:0 0 15px;display:flex;gap:8px}.cwh-document-search input[type=search]{min-width:0;min-height:46px;flex:1;padding:10px 13px;border:1px solid var(--cwh-border-strong);border-radius:11px;background:#fff}.cwh-document-search .cwh-small-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.cwh-document-list{display:grid;gap:10px}.cwh-document-card{padding:15px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid var(--cwh-border);border-radius:16px;background:#fff;box-shadow:var(--cwh-shadow-soft)}.cwh-document-type{width:58px;height:58px;display:grid;place-items:center;border-radius:13px;background:#eaf5ee;color:#17633c;font-size:.7rem;font-weight:900;overflow:hidden}.cwh-document-card>div{min-width:0}.cwh-document-card h3{margin:0;overflow-wrap:anywhere;font-size:1rem}.cwh-document-card p{margin:6px 0 0;display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--cwh-muted);font-size:.76rem}.cwh-document-card p span:first-child{font-weight:850;color:#52665b}.cwh-document-card .cwh-button{white-space:nowrap;text-decoration:none}.cwh-document-empty{min-height:230px;padding:30px;display:grid;place-items:center;align-content:center;text-align:center;border:1px dashed var(--cwh-border-strong);border-radius:18px;background:var(--cwh-soft)}.cwh-document-empty>span{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#fff;color:#527262}.cwh-document-empty svg{width:26px;height:26px}.cwh-document-empty h3{margin:13px 0 4px}.cwh-document-empty p{max-width:540px;margin:0;color:var(--cwh-muted);line-height:1.5}.cwh-document-upload{margin-top:22px;overflow:hidden;border:1px solid var(--cwh-border);border-radius:20px;background:#fff;box-shadow:var(--cwh-shadow-soft)}.cwh-document-upload>summary{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.cwh-document-upload>summary::-webkit-details-marker{display:none}.cwh-document-upload>summary span{display:grid;gap:4px}.cwh-document-upload>summary small{color:var(--cwh-muted)}.cwh-document-upload>summary:after{content:'+';width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:var(--cwh-soft);font-size:1.3rem}.cwh-document-upload[open]>summary:after{content:'−'}.cwh-document-upload>form{padding:0 22px 22px;display:grid;gap:18px;border-top:1px solid var(--cwh-border)}.cwh-document-upload .cwh-upload-security{margin-top:20px}.cwh-document-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cwh-document-form-grid .cwh-field{margin:0}.cwh-document-form-grid input,.cwh-document-form-grid select{width:100%;box-sizing:border-box}.cwh-document-flags,.cwh-document-members{padding:16px;border:1px solid var(--cwh-border);border-radius:15px}.cwh-document-flags legend,.cwh-document-members legend{padding:0 7px;font-weight:850}.cwh-document-flags>p,.cwh-document-members>p{margin:0 0 12px;color:var(--cwh-muted);font-size:.82rem}.cwh-document-flags>div,.cwh-document-members>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cwh-document-flags label,.cwh-document-members label{padding:10px;display:flex;align-items:flex-start;gap:9px;border:1px solid #e3ebe7;border-radius:11px;background:var(--cwh-soft);font-weight:700}.cwh-document-flags input,.cwh-document-members input{margin-top:3px;accent-color:#176b40}.cwh-document-members label span{display:grid;gap:2px}.cwh-document-members small{color:var(--cwh-muted);font-weight:500}.cwh-document-upload>form>.cwh-button{justify-self:start}
@media(max-width:760px){.cwh-documents-welcome{align-items:stretch;flex-direction:column}.cwh-document-count{min-width:0}.cwh-document-search{flex-wrap:wrap}.cwh-document-search input[type=search]{flex-basis:100%}.cwh-document-search .cwh-small-button{flex:1;min-height:45px}.cwh-document-card{grid-template-columns:52px minmax(0,1fr);align-items:start}.cwh-document-type{width:52px;height:52px}.cwh-document-card .cwh-button{grid-column:1/-1;width:100%;justify-content:center}.cwh-document-upload>summary,.cwh-document-upload>form{padding-left:16px;padding-right:16px}.cwh-document-form-grid,.cwh-document-flags>div,.cwh-document-members>div{grid-template-columns:1fr}.cwh-document-upload>form>.cwh-button{width:100%;justify-content:center}.cwh-document-protection{align-items:flex-start}}

/* CauseWorkHub 1.23.4 — in-app secure reader and controlled export boundary. */
.cwh-secure-viewer{margin:22px 0;padding:22px;border:1px solid #bcdcc8;border-radius:20px;background:#fff;box-shadow:var(--cwh-shadow-soft)}.cwh-secure-viewer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.cwh-secure-viewer-header h2{margin:3px 0 5px;overflow-wrap:anywhere}.cwh-secure-viewer-header p{margin:0;color:var(--cwh-muted)}.cwh-secure-viewer-content{min-height:360px;overflow:visible;border:1px solid var(--cwh-border);border-radius:15px;background:#f5f7f6}.cwh-preview-frame{display:block;width:100%;height:680px;border:0;background:#fff}.cwh-preview-image{display:block;max-width:100%;height:auto;margin:auto}.cwh-preview-text{max-width:850px;margin:auto;padding:38px;background:#fff;line-height:1.65;white-space:pre-wrap}.cwh-preview-text p{margin:0 0 1em}.cwh-preview-unavailable{min-height:360px;padding:28px;display:grid;place-items:center;align-content:center;text-align:center}.cwh-preview-unavailable p{max-width:580px;color:var(--cwh-muted)}.cwh-viewer-boundary{margin-top:14px;padding:14px 16px;display:flex;gap:10px 18px;align-items:center;border-radius:13px;background:#eef8f1;color:#234d36}.cwh-viewer-boundary span{color:#52665b}.cwh-document-read-only .cwh-viewer-boundary{background:#fff7df;color:#614600}.cwh-export-boundary{margin-top:14px;padding:15px 17px;border:1px solid #e3c878;border-radius:13px;background:#fffaf0}.cwh-export-boundary summary{cursor:pointer;font-weight:850}.cwh-export-boundary p{color:#6b5a2f}.cwh-export-boundary form{display:grid;gap:12px}.cwh-export-ack{display:flex;align-items:flex-start;gap:9px;font-weight:700}.cwh-download-audit{margin-top:16px;padding:16px;border:1px solid var(--cwh-border);border-radius:13px}.cwh-download-audit h3{margin:0 0 8px}.cwh-download-audit p{margin:5px 0;color:var(--cwh-muted)}.cwh-download-audit ol{margin:12px 0 0;padding:0;display:grid;gap:7px;list-style:none}.cwh-download-audit li{display:flex;justify-content:space-between;gap:15px;padding:9px 11px;border-radius:9px;background:var(--cwh-soft)}.cwh-document-members label{align-items:center;justify-content:space-between}.cwh-document-members select{min-width:145px;margin-left:auto}
.cwh-docx-preview{min-height:420px;padding:28px 10px;overflow-x:hidden;background:#dfe3e6}.cwh-docx-preview .cwh-word-wrapper{padding:0;background:transparent}.cwh-docx-preview .cwh-word-wrapper>section.cwh-word{margin:0 auto 24px;box-shadow:0 4px 18px rgba(16,28,22,.2)}.cwh-preview-loading{min-height:360px;display:grid;place-items:center;align-content:center;gap:6px;text-align:center}.cwh-preview-loading span{color:var(--cwh-muted)}.cwh-vault-no-content{padding:24px;border:1px solid #e3c878;border-radius:14px;background:#fff9e9}.cwh-vault-no-content p{margin:6px 0 0;color:#65562f}.cwh-access-level{padding:3px 8px;border-radius:999px;background:#fff1c7!important;color:#6a4d00!important;font-weight:850!important}.cwh-access-level.can-export{background:#e5f5ea!important;color:#17633c!important}.cwh-access-level.not-assigned{background:#f0f1f2!important;color:#61666a!important}.cwh-document-control,.cwh-document-delete{margin-top:16px;border:1px solid var(--cwh-border);border-radius:14px;background:#fff}.cwh-document-control>summary,.cwh-document-delete>summary{padding:15px 17px;cursor:pointer}.cwh-document-control>summary{display:flex;justify-content:space-between;gap:12px}.cwh-document-control>summary span{color:var(--cwh-muted)}.cwh-document-control>form,.cwh-document-delete>form{padding:0 17px 17px;display:grid;gap:14px}.cwh-document-delete{border-color:#e5bcbc;background:#fff8f8}.cwh-document-delete>p{padding:0 17px;color:#7a1e1e}.cwh-button-danger{background:#8e2424!important;border-color:#8e2424!important;color:#fff!important}
.cwh-pdf-preview{min-height:420px;padding:28px 10px;display:grid;gap:24px;justify-items:center;background:#dfe3e6}.cwh-pdf-preview canvas{display:block;height:auto;max-width:100%;background:#fff;box-shadow:0 4px 18px rgba(16,28,22,.2)}
.cwh-document-access label{align-items:center}.cwh-document-access label>span{min-width:0;flex:1}.cwh-document-access select{min-width:150px;margin-left:auto}
@media(max-width:760px){.cwh-secure-viewer{padding:15px}.cwh-secure-viewer-header,.cwh-viewer-boundary{align-items:stretch;flex-direction:column}.cwh-preview-frame{height:520px}.cwh-preview-text{padding:20px}.cwh-document-members label,.cwh-document-access label{align-items:stretch;flex-direction:column}.cwh-document-members select,.cwh-document-access select{width:100%;margin:0}.cwh-download-audit li{flex-direction:column;gap:2px}}
@media print{.cwh-document-read-only .cwh-secure-viewer-content{display:none}.cwh-document-read-only .cwh-secure-viewer:after{content:'Printing is not authorized for this read-only document.';display:block;padding:30px;border:2px solid #7a1e1e;color:#7a1e1e;font-weight:900}.cwh-home-header,.cwh-home-welcome,.cwh-document-protection,.cwh-workspace-section,.cwh-document-upload,.cwh-export-boundary,.cwh-download-audit,.cwh-mobile-nav{display:none!important}}

/* CauseWorkHub 1.23.10 — make Community conversations unmistakable on Home. */
.cwh-chat-avatar{object-fit:cover}
.cwh-chat-preview>a.is-community{border:1px solid #93c5fd;background:#eff6ff}
.cwh-chat-preview>a.is-community:hover,.cwh-chat-preview>a.is-community:focus-visible{background:#dbeafe}
.cwh-chat-preview>a.is-community small{color:#1d4ed8;font-weight:850}

/* Public demo and read-only role previews do not expose a meaningless logout path. */
body:has(.cwh-role-preview-banner) a[href*="auth=logout"]{display:none!important}

/* CauseWorkHub 1.24.0 — comprehensive case command center. */
.cwh-case-anchor{display:block;position:relative;top:-18px}.cwh-case-jump{position:sticky;top:8px;z-index:8;margin:20px -5px 14px;padding:8px;display:flex;gap:7px;overflow-x:auto;border:1px solid var(--cwh-border);border-radius:15px;background:color-mix(in srgb,var(--cwh-card) 94%,transparent);box-shadow:var(--cwh-shadow-soft);backdrop-filter:blur(12px)}.cwh-case-jump a{min-height:38px;padding:8px 11px;display:inline-flex;align-items:center;border-radius:10px;color:var(--cwh-text);font-size:.77rem;font-weight:850;text-decoration:none;white-space:nowrap}.cwh-case-jump a:hover,.cwh-case-jump a:focus-visible{background:var(--cwh-soft)}
.cwh-case-command-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.cwh-case-command-summary article{min-height:102px;padding:14px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--cwh-border);border-radius:14px;background:linear-gradient(145deg,var(--cwh-card),var(--cwh-soft))}.cwh-case-command-summary article.has-attention{border-color:#e0b75b;background:#fff8e8}.cwh-case-command-summary small,.cwh-case-command-summary span{color:var(--cwh-muted)}.cwh-case-command-summary small{font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.cwh-case-command-summary strong{margin:5px 0 3px;font-size:1.65rem;line-height:1}.cwh-case-command-summary span{font-size:.72rem;line-height:1.35}
.cwh-case-alert-strip,.cwh-case-team-panel{margin-top:18px;padding:18px;border:1px solid #ecd18e;border-radius:17px;background:#fffbf0}.cwh-case-alert-list{display:grid;gap:9px}.cwh-case-alert-list article{padding:13px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid #eadcb6;border-left:5px solid #d0a126;border-radius:12px;background:#fff}.cwh-case-alert-list article.is-urgent{border-left-color:#d16b20}.cwh-case-alert-list article.is-critical{border-left-color:#a92828;background:#fff7f7}.cwh-case-alert-list article.is-resolved{opacity:.68;border-left-color:#6d9d7d}.cwh-case-alert-list article>div{display:grid;gap:4px}.cwh-case-alert-list article>div>span{font-size:.67rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.cwh-case-alert-list p{margin:2px 0 0;color:var(--cwh-muted);line-height:1.45}.cwh-case-alert-list small{color:var(--cwh-muted)}
.cwh-case-command-grid{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;scroll-margin-top:80px}.cwh-case-command-card{min-width:0;padding:18px;border:1px solid var(--cwh-border);border-radius:17px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft);scroll-margin-top:80px}.cwh-case-command-card>.cwh-section-heading{margin-bottom:13px}.cwh-case-structured-list{display:grid;gap:9px}.cwh-case-structured-list>article{padding:13px;border:1px solid var(--cwh-border);border-radius:13px;background:var(--cwh-soft)}.cwh-case-structured-list header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cwh-case-structured-list header>div{display:grid;gap:3px}.cwh-case-structured-list header span{color:var(--cwh-muted);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cwh-case-structured-list header b{padding:4px 7px;border-radius:999px;background:var(--cwh-card);font-size:.67rem;white-space:nowrap}.cwh-case-structured-list header b.is-achieved,.cwh-case-structured-list header b.is-improved,.cwh-case-structured-list header b.is-completed{background:#dff3e5;color:#17613a}.cwh-case-structured-list header b.risk-high,.cwh-case-structured-list header b.risk-critical{background:#fde2e2;color:#8b2020}.cwh-case-structured-list header b.risk-moderate{background:#fff0c8;color:#6e4f00}.cwh-case-structured-list p{margin:8px 0;color:var(--cwh-muted);line-height:1.48}.cwh-case-structured-list small{display:block;color:var(--cwh-muted);font-size:.73rem;line-height:1.4}.cwh-case-progress{height:8px;margin:10px 0 7px;overflow:hidden;border-radius:999px;background:#dfe7e3}.cwh-case-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cwh-brand-primary,#1d91f0),#1db954)}
.cwh-case-add-record{margin-top:13px;border-top:1px solid var(--cwh-border);padding-top:12px}.cwh-case-add-record>summary,.cwh-case-inline-update>summary{cursor:pointer;font-weight:850;list-style:none}.cwh-case-add-record>summary:before,.cwh-case-inline-update>summary:before{content:'+';margin-right:7px}.cwh-case-add-record[open]>summary:before,.cwh-case-inline-update[open]>summary:before{content:'−'}.cwh-case-add-record>form{margin-top:13px;display:grid;gap:14px}.cwh-case-inline-update{margin-top:10px}.cwh-case-inline-update>summary{font-size:.74rem}.cwh-case-inline-update form{margin-top:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cwh-case-inline-update label{display:grid;gap:4px;font-size:.72rem;font-weight:800}.cwh-case-inline-update label.is-wide{grid-column:1/-1}.cwh-case-inline-update input,.cwh-case-inline-update select,.cwh-case-inline-update textarea{width:100%;box-sizing:border-box}.cwh-case-inline-update button{justify-self:start}.cwh-case-command-card input,.cwh-case-command-card select,.cwh-case-command-card textarea{min-height:44px}
.cwh-case-team-panel{border-color:var(--cwh-border);background:var(--cwh-card)}.cwh-case-team-panel .cwh-section-heading p{margin-bottom:0;color:var(--cwh-muted)}.cwh-case-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cwh-case-team-list article{padding:11px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--cwh-border);border-radius:12px;background:var(--cwh-soft)}.cwh-case-team-list article>div{display:grid;gap:2px;min-width:0}.cwh-case-team-list small{color:var(--cwh-muted)}.cwh-case-team-add{margin-top:13px;padding-top:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:10px;border-top:1px solid var(--cwh-border)}
@media(max-width:1100px){.cwh-case-command-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:880px){.cwh-case-command-grid,.cwh-case-team-list{grid-template-columns:1fr}.cwh-case-team-add{grid-template-columns:1fr}.cwh-case-team-add .cwh-small-button{width:100%;min-height:46px}.cwh-case-jump{position:relative;top:auto}}
@media(max-width:620px){.cwh-case-command-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cwh-case-command-summary article:last-child{grid-column:1/-1}.cwh-case-command-card,.cwh-case-alert-strip,.cwh-case-team-panel{padding:14px}.cwh-case-alert-list article{flex-direction:column}.cwh-case-alert-list form,.cwh-case-alert-list .cwh-small-button{width:100%}.cwh-case-inline-update form{grid-template-columns:1fr}.cwh-case-inline-update label.is-wide{grid-column:auto}.cwh-case-command-card .cwh-button{width:100%;min-height:48px}}

/* CauseWorkHub 1.25.0 — permission-safe caseload intelligence. */
.cwh-caseload-cockpit{margin:24px 0;padding:20px;border:1px solid #bfd8c8;border-radius:20px;background:linear-gradient(145deg,#f2faf5,#fff 62%);box-shadow:var(--cwh-shadow-soft)}.cwh-caseload-cockpit>.cwh-section-heading{margin-bottom:15px}.cwh-caseload-cockpit>.cwh-section-heading p:last-child{margin:5px 0 0;color:var(--cwh-muted)}.cwh-caseload-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.cwh-caseload-metrics article{padding:13px;border:1px solid #d7e8dc;border-radius:13px;background:#fff}.cwh-caseload-metrics strong,.cwh-caseload-metrics span{display:block}.cwh-caseload-metrics strong{font-size:1.45rem}.cwh-caseload-metrics span{margin-top:3px;color:var(--cwh-muted);font-size:.74rem;font-weight:750}.cwh-caseload-list{margin-top:13px;display:grid;gap:8px}.cwh-caseload-list>a{min-width:0;padding:12px;display:grid;grid-template-columns:12px minmax(180px,.8fr) minmax(220px,1.2fr) auto;align-items:center;gap:12px;border:1px solid var(--cwh-border);border-left:4px solid #5d9870;border-radius:13px;background:#fff;color:inherit;text-decoration:none}.cwh-caseload-list>a.is-due{border-left-color:#b38718}.cwh-caseload-list>a.is-overdue{border-left-color:#d06b22}.cwh-caseload-list>a.is-critical{border-left-color:#a92d2d;background:#fff9f9}.cwh-caseload-list>a:hover,.cwh-caseload-list>a:focus-visible{border-color:var(--cwh-brand-primary,var(--cwh-text));transform:translateY(-1px)}.cwh-caseload-state{width:10px;height:10px;border-radius:50%;background:#5d9870;box-shadow:0 0 0 4px #e8f4ec}.is-due>.cwh-caseload-state{background:#b38718;box-shadow:0 0 0 4px #fff3d1}.is-overdue>.cwh-caseload-state{background:#d06b22;box-shadow:0 0 0 4px #ffeadb}.is-critical>.cwh-caseload-state{background:#a92d2d;box-shadow:0 0 0 4px #fde3e3}.cwh-caseload-case,.cwh-caseload-action{min-width:0;display:grid;gap:3px}.cwh-caseload-case strong,.cwh-caseload-action strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwh-caseload-case small,.cwh-caseload-action small{overflow:hidden;color:var(--cwh-muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.cwh-caseload-list>a>b{padding:5px 8px;border-radius:999px;background:var(--cwh-soft);font-size:.68rem;white-space:nowrap}.cwh-caseload-list>a>b.risk-high,.cwh-caseload-list>a>b.risk-critical{background:#fde2e2;color:#8b2020}.cwh-caseload-list>a>b.risk-moderate{background:#fff0c8;color:#6e4f00}
@media(max-width:900px){.cwh-caseload-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cwh-caseload-list>a{grid-template-columns:12px minmax(0,1fr) auto}.cwh-caseload-action{grid-column:2/-1}.cwh-caseload-list>a>b{grid-column:3;grid-row:1}}
@media(max-width:600px){.cwh-caseload-cockpit{padding:15px}.cwh-caseload-metrics{grid-template-columns:1fr 1fr}.cwh-caseload-list>a{grid-template-columns:12px minmax(0,1fr)}.cwh-caseload-action{grid-column:2}.cwh-caseload-list>a>b{grid-column:2;grid-row:auto;justify-self:start}.cwh-caseload-case strong,.cwh-caseload-case small,.cwh-caseload-action strong,.cwh-caseload-action small{white-space:normal;overflow-wrap:anywhere}.cwh-caseload-metrics article{min-width:0}}

/* CauseWorkHub 1.25.0 Release A — lifecycle, authorization, and closure. */
@media(min-width:1101px){.cwh-case-command-summary{grid-template-columns:repeat(6,minmax(0,1fr))}}
.cwh-case-governance-grid{align-items:stretch}.cwh-case-closure{margin-top:18px;padding:18px;border:1px solid var(--cwh-border);border-radius:17px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-case-closure .cwh-section-heading p{margin-bottom:0;color:var(--cwh-muted)}.cwh-case-closure input,.cwh-case-closure textarea{min-height:44px}.cwh-case-structured-list header b.is-active{background:#dff3e5;color:#17613a}.cwh-case-structured-list header b.is-revoked,.cwh-case-structured-list header b.is-expired{background:#fde2e2;color:#8b2020}
@media(max-width:620px){.cwh-case-command-summary article:last-child{grid-column:auto}.cwh-case-closure{padding:14px}.cwh-case-closure .cwh-button{width:100%;min-height:48px}}
.cwh-case-documentation{margin-top:18px;padding:18px;border:1px solid var(--cwh-border);border-radius:17px;background:var(--cwh-card);box-shadow:var(--cwh-shadow-soft)}.cwh-case-documentation .cwh-section-heading p{margin-bottom:0;color:var(--cwh-muted)}.cwh-case-note-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cwh-case-note-signatures article{padding:11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--cwh-border);border-radius:12px;background:var(--cwh-soft)}.cwh-case-note-signatures article>div{display:grid;gap:3px;min-width:0}.cwh-case-note-signatures small{color:var(--cwh-muted)}
@media(max-width:620px){.cwh-case-documentation{padding:14px}.cwh-case-note-signatures{grid-template-columns:1fr}.cwh-case-note-signatures article{align-items:stretch;flex-direction:column}.cwh-case-note-signatures .cwh-small-button{width:100%}}

/* CauseWorkHub 1.25.0 Release A — deliberate duplicate review and safe merge. */
.cwh-case-duplicate-review{margin:24px 0;padding:24px;border:1px solid #d8dee8;border-radius:24px;background:#fff;color:#111827;box-shadow:0 14px 38px rgba(15,23,42,.07)}
.cwh-case-duplicate-review>.cwh-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.cwh-case-duplicate-review>.cwh-section-heading>strong{display:grid;place-items:center;min-width:48px;height:48px;border-radius:999px;background:#111827;color:#fff;font-size:1.15rem}
.cwh-duplicate-pairs{display:grid;gap:18px;margin-top:20px}.cwh-duplicate-pair{overflow:hidden;border:1px solid #d8dee8;border-radius:20px;background:#f8fafc}.cwh-duplicate-pair>header{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;background:#fff3cd;border-bottom:1px solid #f2d36d}.cwh-duplicate-pair>header span{font-weight:800;color:#8a4b00}
.cwh-duplicate-compare{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d8dee8}.cwh-duplicate-compare>section{padding:20px;background:#fff}.cwh-duplicate-compare h3{margin:5px 0 7px;color:#111827}.cwh-duplicate-compare p{min-height:44px;color:#4b5563}.cwh-duplicate-compare small,.cwh-duplicate-compare b{color:#334155}
.cwh-duplicate-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.cwh-duplicate-actions details{border:1px solid #cbd5e1;border-radius:14px;background:#fff}.cwh-duplicate-actions summary{padding:14px 16px;cursor:pointer;font-weight:850;color:#111827}.cwh-duplicate-actions form{display:grid;gap:12px;padding:0 16px 16px}.cwh-duplicate-actions .cwh-field{display:grid;gap:6px}.cwh-duplicate-actions input,.cwh-duplicate-actions textarea{width:100%;color:#111827;background:#fff}
@media(max-width:760px){.cwh-case-duplicate-review{margin:16px 12px;padding:18px;border-radius:18px}.cwh-case-duplicate-review>.cwh-section-heading,.cwh-duplicate-pair>header{align-items:flex-start}.cwh-duplicate-compare,.cwh-duplicate-actions{grid-template-columns:1fr}.cwh-duplicate-compare>section{padding:16px}.cwh-duplicate-compare p{min-height:0}.cwh-duplicate-actions{padding:12px}}

/* CauseWorkHub 1.25.0 Release B — immutable practice templates. */
.cwh-case-template-studio,.cwh-case-template-assessments{margin:24px 0;padding:24px;border:1px solid #c8d7e9;border-radius:24px;background:#fff;color:#111827;box-shadow:0 14px 38px rgba(15,23,42,.07)}.cwh-case-template-studio>.cwh-section-heading,.cwh-case-template-assessments>.cwh-section-heading{align-items:flex-start}.cwh-case-template-studio>.cwh-section-heading>strong{display:grid;place-items:center;min-width:48px;height:48px;border-radius:999px;background:#153b66;color:#fff}.cwh-case-template-list,.cwh-case-template-assessment-list{display:grid;gap:10px;margin-top:16px}.cwh-case-template-list article{padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbe4ef;border-radius:13px;background:#f7fafc}.cwh-case-template-list article>div{display:grid;gap:3px}.cwh-case-template-list small,.cwh-versioned-assessment summary small,.cwh-versioned-assessment-history summary small{display:block;color:#64748b}.cwh-versioned-assessment,.cwh-versioned-assessment-history details{padding:0;border:1px solid #dbe4ef;border-radius:15px;background:#f8fafc}.cwh-versioned-assessment>summary,.cwh-versioned-assessment-history summary{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.cwh-versioned-assessment>form{padding:0 17px 17px}.cwh-versioned-assessment [hidden]{display:none!important}.cwh-versioned-assessment-history{margin-top:16px;display:grid;gap:9px}.cwh-versioned-assessment-history h4{margin:0}.cwh-versioned-assessment-history dl{margin:0;padding:0 17px 17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cwh-versioned-assessment-history dl>div{padding:11px;border-radius:10px;background:#fff}.cwh-versioned-assessment-history dt{font-size:.72rem;font-weight:850;color:#475569}.cwh-versioned-assessment-history dd{margin:4px 0 0;line-height:1.45}
@media(max-width:760px){.cwh-case-template-studio,.cwh-case-template-assessments{margin:16px 12px;padding:18px;border-radius:18px}.cwh-case-template-list article{align-items:flex-start;flex-direction:column}.cwh-versioned-assessment>form{padding:0 13px 13px}.cwh-versioned-assessment-history dl{grid-template-columns:1fr;padding:0 13px 13px}.cwh-versioned-assessment .cwh-button{width:100%;min-height:48px}}
.cwh-demo-practice-case{margin:24px 0;padding:24px;border:2px solid #1d6f46;border-radius:24px;background:linear-gradient(145deg,#effbf4,#fff);color:#111827;box-shadow:0 16px 40px rgba(15,80,48,.12);scroll-margin-top:90px}.cwh-demo-practice-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cwh-demo-practice-meta article,.cwh-demo-practice-spine article{padding:14px;border:1px solid #cae5d4;border-radius:14px;background:#fff}.cwh-demo-practice-meta small,.cwh-demo-practice-meta strong{display:block}.cwh-demo-practice-meta small{color:#557062;font-size:.7rem;font-weight:850;text-transform:uppercase}.cwh-demo-practice-spine{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cwh-demo-practice-spine p{margin:5px 0 0;color:#52645a;overflow-wrap:anywhere}
@media(max-width:800px){.cwh-demo-practice-case{margin:16px 12px;padding:18px;border-radius:18px}.cwh-demo-practice-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.cwh-demo-practice-spine{grid-template-columns:1fr}.cwh-demo-practice-case>.cwh-section-heading{align-items:stretch;flex-direction:column}.cwh-demo-practice-case>.cwh-section-heading .cwh-small-button{width:100%;min-height:46px}}
/* Donations and controlled migration */
.cwh-donations-hero,.cwh-migration-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 24px;padding:34px;border-radius:22px;background:linear-gradient(135deg,#101827,#203452);color:#fff}.cwh-donations-hero h1,.cwh-migration-hero h1{margin:5px 0 10px;font-size:clamp(2.4rem,5vw,4.6rem);line-height:1}.cwh-donations-hero p,.cwh-migration-hero p{max-width:790px;margin:0;color:#dbe4ef;line-height:1.58}.cwh-eyebrow{display:block;font-size:.76rem;font-weight:900;letter-spacing:.13em}.cwh-live-pill,.cwh-status-foundation{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#d9fbe5;color:#087443;font-size:.72rem;font-weight:900;letter-spacing:.05em;white-space:nowrap}.cwh-donation-operating-model,.cwh-migration-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}.cwh-donation-operating-model article,.cwh-migration-lanes article{padding:22px;border:1px solid #dce4ed;border-radius:16px;background:#fff}.cwh-donation-operating-model article>strong,.cwh-migration-lanes article>strong{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f1fb;color:#183e68}.cwh-donation-operating-model h3,.cwh-migration-lanes h3{margin:14px 0 7px}.cwh-donation-operating-model p,.cwh-migration-lanes p{min-height:66px;color:#58667a;line-height:1.5}.cwh-fee-coverage{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:24px;align-items:center;margin:0 0 24px;padding:28px;border-radius:18px;background:#edf7f1}.cwh-fee-coverage h2{margin:6px 0}.cwh-fee-coverage p{margin:0;color:#475467;line-height:1.55}.cwh-fee-example{display:grid;grid-template-columns:1fr auto;gap:8px 18px;padding:18px;border-radius:14px;background:#fff}.cwh-fee-example span{color:#667085}.cwh-fee-example strong{text-align:right}.cwh-migration-main{width:min(1180px,calc(100% - 40px));margin:0 auto}.cwh-migration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.cwh-migration-panel,.cwh-migration-result{padding:26px;border:1px solid #dce4ed;border-radius:18px;background:#fff}.cwh-migration-panel h2,.cwh-migration-result h2{margin-top:0}.cwh-migration-panel form{display:grid;gap:18px}.cwh-migration-panel .cwh-case-check{align-items:flex-start}.cwh-migration-panel .cwh-case-check span{display:grid;gap:3px}.cwh-schema code{display:block;overflow:auto;padding:12px;border-radius:9px;background:#f2f5f8;color:#173552}.cwh-schema p{color:#667085;line-height:1.5}.cwh-boundary{display:grid;gap:4px;margin-top:18px;padding:15px;border-left:5px solid #23966a;border-radius:10px;background:#edf8f3}.cwh-boundary span{color:#475467;line-height:1.45}.cwh-migration-result{margin-bottom:20px;border-left:6px solid #2c77b8}.cwh-migration-result.is-commit{border-left-color:#16835d}.cwh-migration-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.cwh-migration-stats article{display:grid;gap:3px;padding:14px;border-radius:12px;background:#f4f7fa}.cwh-migration-stats strong{font-size:1.65rem}.cwh-migration-stats span{color:#667085;font-size:.78rem}.cwh-migration-lanes{grid-template-columns:repeat(4,minmax(0,1fr))}.cwh-migration-lanes p{min-height:0;margin-bottom:0}@media(max-width:900px){.cwh-donation-operating-model,.cwh-migration-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.cwh-fee-coverage,.cwh-migration-grid{grid-template-columns:1fr}.cwh-migration-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cwh-donations-hero,.cwh-migration-hero{align-items:flex-start;flex-direction:column;padding:23px}.cwh-donation-operating-model,.cwh-migration-lanes{grid-template-columns:1fr}.cwh-donation-operating-model p{min-height:0}.cwh-migration-main{width:min(100% - 24px,1180px)}.cwh-migration-panel,.cwh-migration-result,.cwh-fee-coverage{padding:20px}}

/* Reporting Out — finished governed document. */
.cwh-final-report{max-width:980px;margin:0 auto 50px;overflow:hidden;border:1px solid #d8e1dc;border-radius:26px;background:#fff;color:#15221c;box-shadow:0 24px 70px rgba(18,38,29,.12)}.cwh-final-report-header{padding:34px 38px;display:flex;align-items:flex-start;justify-content:space-between;gap:30px;background:#102d24;color:#fff}.cwh-final-report-header h1{max-width:720px;margin:8px 0 10px;font-size:clamp(2rem,5vw,3.7rem);line-height:1.02}.cwh-final-report-header p{margin:0;color:#c8ddd5}.cwh-final-report-actions{display:grid;gap:9px;min-width:190px}.cwh-final-report-actions .cwh-small-button{justify-content:center;background:#fff;color:#102d24;text-decoration:none}.cwh-final-report-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e0e8e4}.cwh-final-report-meta div{padding:18px 24px;border-right:1px solid #e0e8e4}.cwh-final-report-meta div:last-child{border:0}.cwh-final-report-meta span,.cwh-final-report-meta strong{display:block}.cwh-final-report-meta span{font-size:.69rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64766d}.cwh-final-report-meta strong{margin-top:5px}.cwh-final-report-purpose,.cwh-final-report-finding,.cwh-final-report-footer{padding:30px 38px}.cwh-final-report-purpose{background:#f4f8f6}.cwh-final-report-purpose h2{max-width:820px;margin:7px 0 0;font-size:clamp(1.35rem,3vw,2rem);line-height:1.32}.cwh-final-report-finding{border-top:1px solid #e0e8e4}.cwh-final-report-finding>h2{margin:8px 0 25px;font-size:clamp(1.5rem,3vw,2.35rem);line-height:1.2}.cwh-final-report-finding>div{margin-top:13px;padding:18px 20px;border-radius:15px;background:#f6f9f7}.cwh-final-report-finding>div.is-counterfactual{border-left:5px solid #ff6652;background:#fff4f1}.cwh-final-report-finding h3{margin:0 0 7px;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}.cwh-final-report-finding p{margin:0;line-height:1.62;color:#3f5148}.cwh-final-report-evidence dl{margin:14px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cwh-final-report-evidence dl div{padding:10px;border-radius:10px;background:#fff}.cwh-final-report-evidence dt{font-size:.67rem;font-weight:900;text-transform:uppercase;color:#6b7d74}.cwh-final-report-evidence dd{margin:3px 0 0;font-weight:850}.cwh-final-report-limitations{border:1px solid #e5d99c;background:#fffbed!important}.cwh-final-report-footer{background:#102d24;color:#fff}.cwh-final-report-footer p{max-width:760px;margin:7px 0 0;color:#c8ddd5;line-height:1.5}@media(max-width:720px){.cwh-final-report{border-radius:18px}.cwh-final-report-header{padding:25px 20px;flex-direction:column}.cwh-final-report-actions{width:100%}.cwh-final-report-meta{grid-template-columns:1fr}.cwh-final-report-meta div{border-right:0;border-bottom:1px solid #e0e8e4}.cwh-final-report-purpose,.cwh-final-report-finding,.cwh-final-report-footer{padding:24px 20px}.cwh-final-report-evidence dl{grid-template-columns:1fr}}@media print{.cwh-role-preview-banner,.cwh-home-header,.cwh-mobile-nav,.cwh-final-report-actions,.cwh-notice{display:none!important}.cwh-home-main{padding:0!important}.cwh-final-report{max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}.cwh-final-report-header,.cwh-final-report-footer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.cwh-report-origin,.cwh-report-lineage{padding:24px;border:1px solid #cdded5;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(23,47,36,.06)}.cwh-report-origin{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:24px;align-items:start;background:linear-gradient(145deg,#f0f8f4,#fff)}.cwh-report-origin-intro h2{margin:7px 0 10px}.cwh-report-origin-intro p:last-child{margin:0;color:#506159;line-height:1.55}.cwh-report-origin ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;counter-reset:report-source}.cwh-report-origin li{padding:14px;border:1px solid #dce8e1;border-radius:13px;background:#fff;counter-increment:report-source}.cwh-report-origin li:before{content:counter(report-source);display:grid;place-items:center;width:26px;height:26px;margin-bottom:10px;border-radius:50%;background:#102d24;color:#fff;font-size:.72rem;font-weight:900}.cwh-report-origin li strong,.cwh-report-origin li span{display:block}.cwh-report-origin li span{margin-top:4px;color:#62736b;font-size:.78rem;line-height:1.45}.cwh-report-lineage>.cwh-section-heading p{margin:5px 0 0;color:#617269}.cwh-report-lineage-list{display:grid;gap:12px}.cwh-report-lineage-list article{padding:17px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:1px solid #dfe8e3;border-left:5px solid #3b8f6b;border-radius:15px;background:#f9fcfa}.cwh-report-lineage-list article>div{min-width:0;padding:10px;border-radius:10px;background:#fff}.cwh-report-lineage-list article>div.is-wide{grid-column:1/-1}.cwh-report-lineage-list span,.cwh-report-lineage-list strong{display:block}.cwh-report-lineage-list span{font-size:.66rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#6c7d75}.cwh-report-lineage-list strong,.cwh-report-lineage-list p{margin:4px 0 0;overflow-wrap:anywhere;line-height:1.45}@media(max-width:760px){.cwh-report-origin{grid-template-columns:1fr}.cwh-report-origin ol,.cwh-report-lineage-list article{grid-template-columns:1fr}.cwh-report-lineage-list article>div.is-wide{grid-column:auto}.cwh-report-origin,.cwh-report-lineage{padding:18px}}
