.portal-main-nav{display:flex;align-items:center;gap:5px;margin-left:auto}.portal-main-nav a{padding:9px 11px;border-radius:9px;color:var(--portal-muted);font-size:12px;font-weight:800}.portal-main-nav a:hover,.portal-main-nav a:focus-visible{background:#edf3fc;color:var(--portal-accent);outline:0}.portal-toolbar{display:flex;justify-content:flex-end;margin:-8px 0 18px}.portal-project-toolbar{margin-top:-14px}.portal-search{display:flex;align-items:center;gap:8px;width:min(390px,100%);height:42px;padding:0 13px;border:1px solid var(--portal-line);border-radius:10px;background:#fff;color:var(--portal-muted);box-shadow:0 4px 14px rgba(23,45,80,.04)}.portal-search:focus-within{border-color:var(--portal-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--portal-accent) 10%,transparent)}.portal-search input{width:100%;border:0;outline:0;background:transparent;font-size:12px}.portal-search-empty{margin-top:16px}.portal-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-account-card header h2{margin:0;font-size:18px}.portal-account-card header p{margin:7px 0 0;color:var(--portal-muted);font-size:12px;line-height:1.5}.portal-settings-form{display:grid;gap:14px;margin-top:19px}.portal-settings-form label{display:grid;gap:7px;font-size:12px;font-weight:800}.portal-settings-form input,.portal-settings-form select{width:100%;height:43px;padding:0 11px;border:1px solid #ced8e5;border-radius:9px;outline:0;background:#fff}.portal-settings-form input:focus,.portal-settings-form select:focus{border-color:var(--portal-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--portal-accent) 10%,transparent)}.portal-settings-form input:disabled{background:#f4f6f9;color:#7a8495}.portal-settings-form small{color:var(--portal-muted);font-size:10px;font-weight:500;line-height:1.4}.portal-settings-form .portal-button{justify-self:start}.portal-button.is-loading{cursor:wait;opacity:.72}.portal-project-card[hidden],.portal-resource-list article[hidden],.portal-timeline article[hidden],.portal-diary article[hidden],.portal-gallery>a[hidden]{display:none!important}

body.portal-app{background:radial-gradient(circle at 12% 0,rgba(47,111,237,.09),transparent 24rem),linear-gradient(180deg,#f6f8fc 0,#eef3f9 100%);min-height:100vh}.portal-topbar{box-shadow:0 8px 28px rgba(22,38,66,.06)}.portal-project-hero{position:relative;overflow:hidden;min-height:190px;align-items:center;padding:34px 38px;border:0;background:linear-gradient(125deg,#0b1d38 0,#123665 58%,#24599c 100%);box-shadow:0 24px 60px rgba(13,38,73,.22);color:#fff}.portal-project-hero:after{position:absolute;right:-70px;top:-120px;width:360px;height:360px;border:70px solid rgba(255,255,255,.055);border-radius:50%;content:""}.portal-project-hero>div{position:relative;z-index:1}.portal-project-hero h1{font-size:40px}.portal-project-hero p,.portal-project-hero .portal-project-progress span{color:#c6d7ed}.portal-project-hero .portal-eyebrow{color:rgba(255,255,255,.72)}.portal-project-hero .portal-progress{background:rgba(255,255,255,.18)}.portal-project-hero .portal-progress span{background:linear-gradient(90deg,#5ca0ff,#80d9c0)}.portal-tabs{gap:8px;padding:7px;margin-top:26px;border:1px solid var(--portal-line);border-radius:14px;background:rgba(255,255,255,.78);box-shadow:0 8px 24px rgba(23,45,80,.05);backdrop-filter:blur(12px)}.portal-tabs a{border:0!important;border-radius:9px;padding:10px 14px}.portal-tabs a.active{background:#102c51;color:#fff;box-shadow:0 7px 18px rgba(16,44,81,.22)}.portal-stats article,.portal-card,.portal-resource-list,.portal-timeline article,.portal-diary article{border-color:#e1e7f0;box-shadow:0 12px 32px rgba(23,45,80,.065)}.portal-stats article{position:relative;overflow:hidden;padding:21px}.portal-stats article:before{position:absolute;inset:0 auto 0 0;width:3px;background:var(--portal-accent);content:""}.portal-attention-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;overflow:hidden;padding:24px;background:linear-gradient(145deg,#fff,#f8fbff)}.portal-attention-card.has-pending{border-color:#f4ce78;background:linear-gradient(145deg,#fffaf0,#fff)}.portal-attention-card.is-clear{border-color:#b9e4d2;background:linear-gradient(145deg,#f2fcf7,#fff)}.portal-attention-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fff0ca;color:#8b6100;font-size:20px;font-weight:900}.portal-attention-card.is-clear .portal-attention-icon{background:#dff6eb;color:#167653}.portal-attention-card>div>strong{display:block;margin:2px 0;color:#102c51;font-size:38px;line-height:1}.portal-attention-card>div>p:not(.portal-eyebrow){margin:7px 0 0;color:var(--portal-muted);font-size:12px;line-height:1.5}.portal-attention-card>.portal-button{grid-column:1/-1;width:100%;margin-top:4px}.portal-button{transition:transform .15s,box-shadow .15s,background .15s}.portal-button:hover{transform:translateY(-1px)}.portal-button.primary{box-shadow:0 8px 18px color-mix(in srgb,var(--portal-accent) 25%,transparent)}
body.portal-app{background:radial-gradient(circle at 12% 0,rgba(47,111,237,.09),transparent 24rem),linear-gradient(180deg,#f6f8fc 0,#eef3f9 100%);min-height:100vh}.portal-topbar{box-shadow:0 8px 28px rgba(22,38,66,.06)}.portal-page-heading{padding:8px 2px}.portal-page-heading h1{color:#10233f;font-size:38px}.portal-page-subtitle{margin-top:7px!important;font-size:13px!important}.portal-project-grid{gap:22px}.portal-project-card{border:0;border-radius:20px;box-shadow:0 16px 42px rgba(20,42,75,.1)}.portal-project-card:hover{transform:translateY(-5px);box-shadow:0 24px 54px rgba(20,42,75,.17)}.portal-project-art{height:158px;background:linear-gradient(135deg,#dce9fb,#bcd5f5)}.portal-project-art:after{position:absolute;inset:auto -40px -100px auto;width:210px;height:210px;border:45px solid rgba(255,255,255,.22);border-radius:50%;content:""}.portal-project-art>span:first-child{font-size:54px;text-shadow:0 8px 25px rgba(47,111,237,.18)}.portal-project-card-body{padding:21px 22px 24px}.portal-project-card h2{font-size:19px}.portal-project-number{color:var(--portal-accent);font-weight:850;letter-spacing:.05em}.portal-card-arrow{right:20px;bottom:18px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf4ff;font-size:19px}.portal-project-hero{position:relative;overflow:hidden;min-height:190px;align-items:center;padding:34px 38px;border:0;background:linear-gradient(125deg,#0b1d38 0,#123665 58%,#24599c 100%);box-shadow:0 24px 60px rgba(13,38,73,.22);color:#fff}.portal-project-hero:after{position:absolute;right:-70px;top:-120px;width:360px;height:360px;border:70px solid rgba(255,255,255,.055);border-radius:50%;content:""}.portal-project-hero>div{position:relative;z-index:1}.portal-project-hero h1{font-size:40px}.portal-project-hero p,.portal-project-hero .portal-project-progress span{color:#c6d7ed}.portal-project-hero .portal-eyebrow{color:rgba(255,255,255,.72)}.portal-project-hero .portal-progress{background:rgba(255,255,255,.18)}.portal-project-hero .portal-progress span{background:linear-gradient(90deg,#5ca0ff,#80d9c0)}.portal-tabs{gap:8px;padding:7px;margin-top:26px;border:1px solid var(--portal-line);border-radius:14px;background:rgba(255,255,255,.78);box-shadow:0 8px 24px rgba(23,45,80,.05);backdrop-filter:blur(12px)}.portal-tabs a{border:0!important;border-radius:9px;padding:10px 14px}.portal-tabs a.active{background:#102c51;color:#fff;box-shadow:0 7px 18px rgba(16,44,81,.22)}.portal-stats article,.portal-card,.portal-resource-list,.portal-timeline article,.portal-diary article{border-color:#e1e7f0;box-shadow:0 12px 32px rgba(23,45,80,.065)}.portal-stats article{position:relative;overflow:hidden;padding:21px}.portal-stats article:before{position:absolute;inset:0 auto 0 0;width:3px;background:var(--portal-accent);content:""}.portal-attention-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;overflow:hidden;padding:24px;background:linear-gradient(145deg,#fff,#f8fbff)}.portal-attention-card.has-pending{border-color:#f4ce78;background:linear-gradient(145deg,#fffaf0,#fff)}.portal-attention-card.is-clear{border-color:#b9e4d2;background:linear-gradient(145deg,#f2fcf7,#fff)}.portal-attention-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fff0ca;color:#8b6100;font-size:20px;font-weight:900}.portal-attention-card.is-clear .portal-attention-icon{background:#dff6eb;color:#167653}.portal-attention-card>div>strong{display:block;margin:2px 0;color:#102c51;font-size:38px;line-height:1}.portal-attention-card>div>p:not(.portal-eyebrow){margin:7px 0 0;color:var(--portal-muted);font-size:12px;line-height:1.5}.portal-attention-card>.portal-button{grid-column:1/-1;width:100%;margin-top:4px}.portal-button{transition:transform .15s,box-shadow .15s,background .15s}.portal-button:hover{transform:translateY(-1px)}.portal-button.primary{box-shadow:0 8px 18px color-mix(in srgb,var(--portal-accent) 25%,transparent)}

.portal-viewer-page .portal-main{height:calc(100vh - 76px);padding:18px 24px 24px}.portal-viewer-head{min-height:52px;padding:0 4px}.portal-viewer-title small{color:var(--portal-accent);font-weight:800}.portal-viewer-title strong{font-size:14px}.portal-viewer-actions{display:flex;gap:8px}.portal-document-workspace{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;gap:16px}.portal-document-workspace.with-approval{grid-template-columns:minmax(0,1fr) 350px}.portal-document-preview{position:relative;min-height:0;overflow:hidden;border:1px solid #dbe3ee;border-radius:16px;background:#dfe5ed;box-shadow:0 16px 45px rgba(18,35,62,.14)}.portal-document-preview .portal-pdf-frame{position:relative;z-index:2;height:100%;border:0;border-radius:0}.portal-pdf-fallback{position:absolute;z-index:1;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--portal-muted);font-size:12px}.portal-pdf-fallback a{color:var(--portal-accent);font-weight:850}.portal-document-approval{align-self:start;overflow:auto;max-height:100%;padding:22px;border:1px solid #dfe6ef;border-radius:16px;background:#fff;box-shadow:0 16px 45px rgba(18,35,62,.1)}.portal-approval-heading{display:flex;align-items:center;gap:12px}.portal-approval-heading h2{margin:0;font-size:19px}.portal-approval-heading .portal-eyebrow{margin-bottom:4px}.portal-approval-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e6f7ef;color:#16845b;font-size:20px;font-weight:900}.portal-approval-note{margin:17px 0;padding:12px;border-radius:10px;background:#f5f7fa;color:var(--portal-muted);font-size:11px;line-height:1.55}.portal-current-decision{display:grid;gap:4px;margin-bottom:16px;padding:13px;border:1px solid #c8e7d8;border-radius:11px;background:#eefaf4}.portal-current-decision.rejected{border-color:#f0c6c6;background:#fff4f4}.portal-current-decision small{color:var(--portal-muted);font-size:10px;text-transform:uppercase}.portal-current-decision strong{font-size:13px}.portal-current-decision p{margin:4px 0 0;font-size:11px;line-height:1.45}.portal-viewer-approval-form{display:grid;gap:14px}.portal-viewer-approval-form label{display:grid;gap:7px;font-size:12px;font-weight:850}.portal-viewer-approval-form textarea{width:100%;min-height:116px;padding:11px;border:1px solid #cfd9e6;border-radius:10px;resize:vertical;outline:0}.portal-viewer-approval-form textarea:focus{border-color:var(--portal-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--portal-accent) 10%,transparent)}.portal-viewer-approval-form label small{color:var(--portal-muted);font-size:10px;font-weight:500}.portal-viewer-approval-form .portal-approval-actions{display:grid;grid-template-columns:1fr 1fr}.portal-viewer-approval-form .portal-button{width:100%}

@media(max-width:1050px){.portal-document-workspace.with-approval{grid-template-columns:minmax(0,1fr) 310px}.portal-document-approval{padding:18px}}@media(max-width:880px){.portal-main-nav{display:none}.portal-account-grid{grid-template-columns:1fr}.portal-document-workspace.with-approval{overflow:auto;grid-template-columns:1fr}.portal-document-preview{min-height:70vh}.portal-document-approval{max-height:none}}@media(max-width:760px){.portal-toolbar{justify-content:stretch;margin-top:0}.portal-search{width:100%}.portal-project-toolbar{margin-top:-10px}.portal-user-menu .portal-avatar{display:none}.portal-project-hero{min-height:170px;padding:27px 24px}.portal-project-hero h1{font-size:31px}.portal-viewer-page{height:auto;overflow:auto}.portal-viewer-page .portal-main{height:auto;min-height:calc(100vh - 66px);padding:12px}.portal-viewer-head{display:grid;grid-template-columns:1fr auto}.portal-viewer-title{display:grid!important;grid-column:1/-1;grid-row:1}.portal-back-button{grid-column:1;grid-row:2;justify-self:start}.portal-viewer-actions{grid-column:2;grid-row:2}.portal-document-preview{min-height:68vh}.portal-document-workspace{min-height:auto}.portal-attention-card{grid-template-columns:auto 1fr}}
.portal-eyebrow{display:none!important}.portal-main-nav a{display:flex;align-items:center;gap:7px}.portal-main-nav a>span{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#edf3fb;color:#315f9c;font-size:13px}.portal-language{display:flex;align-items:center;gap:3px;margin:0}.portal-language>span{color:#6c788b;font-size:15px}.portal-language select{height:34px;padding:0 21px 0 5px;border:0;border-radius:8px;outline:0;background:#f2f5f9;color:#26344b;font-size:11px;font-weight:850;cursor:pointer}.portal-auth-language{position:fixed;z-index:5;right:28px;top:24px}.portal-auth-language .portal-language{padding:5px 7px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.12);backdrop-filter:blur(10px)}.portal-auth-language .portal-language>span{color:#fff}.portal-project-code{display:inline-flex;margin-bottom:9px;padding:5px 9px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#d8e7fa;font-size:11px;font-weight:800}.portal-section-heading h2{margin:0;color:#172033;font-size:21px;font-weight:850}.portal-section-heading p{max-width:760px;margin:6px 0 0;color:var(--portal-muted);font-size:12px;line-height:1.5}
.portal-home-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:190px;padding:34px 38px;margin-bottom:20px;border-radius:22px;background:linear-gradient(125deg,#0b1d38,#123968 60%,#2362ab);box-shadow:0 25px 60px rgba(15,40,76,.2);color:#fff}.portal-home-hero h1{margin:0 0 9px;font-size:38px;letter-spacing:-.035em}.portal-home-hero>div>p{max-width:640px;margin:0;color:#c5d7ec;font-size:14px;line-height:1.6}.portal-home-alert,.portal-home-ready{display:flex;align-items:center;gap:12px;min-width:340px;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(12px)}.portal-home-alert:hover{background:rgba(255,255,255,.16)}.portal-home-alert-icon,.portal-home-ready>span{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#ffd978;color:#684700;font-size:19px;font-weight:900}.portal-home-ready>span{background:#8ee0bf;color:#0b553e}.portal-home-alert>span:nth-child(2),.portal-home-ready>div{display:grid;gap:3px;flex:1}.portal-home-alert strong,.portal-home-ready strong{font-size:13px}.portal-home-alert small,.portal-home-ready small{color:#d5e3f4;font-size:10px;line-height:1.4}.portal-home-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.portal-home-summary article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e0e7f0;border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(20,42,75,.065)}.portal-home-summary article.attention{border-color:#efcd80;background:#fffbf2}.portal-summary-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e9f1fc;color:#2d67b4;font-size:19px;font-weight:900}.portal-summary-icon.documents{background:#eeeafd;color:#6851bb}.portal-summary-icon.approvals{background:#e6f7ef;color:#16845b}.attention .portal-summary-icon.approvals{background:#fff0ca;color:#8c6200}.portal-summary-icon.updates{background:#e8f6f7;color:#177783}.portal-home-summary article>div{display:grid;gap:2px}.portal-home-summary strong{font-size:24px}.portal-home-summary small{color:var(--portal-muted);font-size:10px;font-weight:750}.portal-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:22px}.portal-home-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.portal-home-section-head h2{margin:0;color:#13243d;font-size:21px}.portal-home-section-head p{margin:5px 0 0;color:var(--portal-muted);font-size:11px}.portal-home-primary .portal-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-project-card h3{margin:5px 0 7px;font-size:19px}.portal-home-activity{padding:20px;border:1px solid #e0e7f0;border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(20,42,75,.08)}.portal-home-feed{display:grid}.portal-home-feed>a{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #edf0f5}.portal-home-feed>a:hover strong{color:var(--portal-accent)}.portal-feed-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#edf3fb;color:#315f9c;font-weight:900}.portal-home-feed>a>span:nth-child(2){display:grid;gap:3px;min-width:0}.portal-home-feed strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.portal-home-feed small,.portal-home-feed time{color:var(--portal-muted);font-size:9px}.portal-home-feed-empty{display:grid;justify-items:center;gap:7px;padding:35px 15px;color:var(--portal-muted);text-align:center}.portal-home-feed-empty span{font-size:24px}.portal-home-feed-empty p{margin:0;font-size:11px}
@media(max-width:1100px){.portal-home-layout{grid-template-columns:1fr}.portal-home-activity{order:-1}.portal-home-primary .portal-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.portal-home-hero{align-items:stretch;flex-direction:column}.portal-home-alert,.portal-home-ready{min-width:0}.portal-home-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.portal-language>span{display:none}.portal-language select{width:47px}.portal-home-hero{padding:25px 22px}.portal-home-hero h1{font-size:30px}.portal-home-summary,.portal-home-primary .portal-project-grid{grid-template-columns:1fr}.portal-auth-language{right:15px;top:14px}}
@media(max-width:880px){.portal-main{padding-bottom:94px}.portal-main-nav{position:fixed;z-index:80;left:14px;right:14px;bottom:12px;display:flex!important;justify-content:space-around;margin:0;padding:7px;border:1px solid #dbe3ee;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 18px 45px rgba(12,30,55,.22);backdrop-filter:blur(14px)}.portal-main-nav a{flex:1;flex-direction:column;gap:3px;padding:5px;color:#536176;font-size:9px}.portal-main-nav a>span{width:27px;height:27px}.portal-viewer-page .portal-main{padding-bottom:92px}}@media(max-width:1100px){.portal-home-layout{grid-template-columns:1fr}.portal-home-activity{order:-1}.portal-home-primary .portal-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.portal-home-hero{align-items:stretch;flex-direction:column}.portal-home-alert,.portal-home-ready{min-width:0}.portal-home-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.portal-language>span{display:none}.portal-language select{width:47px}.portal-home-hero{padding:25px 22px}.portal-home-hero h1{font-size:30px}.portal-home-summary,.portal-home-primary .portal-project-grid{grid-template-columns:1fr}.portal-auth-language{right:15px;top:14px}}

/* Unified client portal confirmations and unsaved-change guard */
body.portal-dialog-open{overflow:hidden}
.portal-dialog-actions .portal-button.danger{border-color:#b4232d;background:#b4232d;color:#fff;box-shadow:0 8px 20px rgba(180,35,45,.2)}
.portal-settings-form.has-unsaved-changes,.portal-message-form.has-unsaved-changes,.portal-viewer-approval-form.has-unsaved-changes{position:relative}
.portal-settings-form.has-unsaved-changes:before,.portal-message-form.has-unsaved-changes:before,.portal-viewer-approval-form.has-unsaved-changes:before{content:"";position:absolute;top:10px;right:10px;width:8px;height:8px;border-radius:50%;background:#d18a00;box-shadow:0 0 0 4px #fff7df}

/* Client portal live notifications + communication */
.portal-notifications{position:relative;flex:none}.portal-bell{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--portal-line);border-radius:12px;background:#f8fafd;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.portal-bell:hover,.portal-bell[aria-expanded="true"]{border-color:#bfd0ec;background:#edf4ff}.portal-bell.has-unread{background:#edf4ff;border-color:#b9d0f6}.portal-bell>span{font-size:17px;line-height:1}.portal-bell b{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#e43d47;color:#fff;font-size:9px;font-weight:900;line-height:1}.portal-bell b[hidden]{display:none}.portal-notification-panel{position:absolute;z-index:70;top:48px;right:0;width:min(390px,calc(100vw - 24px));overflow:hidden;border:1px solid var(--portal-line);border-radius:16px;background:#fff;box-shadow:0 22px 55px rgba(23,45,80,.2)}.portal-notification-panel[hidden]{display:none}.portal-notification-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid var(--portal-line)}.portal-notification-panel>header strong{font-size:13px}.portal-notification-panel>header button{padding:0;border:0;background:transparent;color:var(--portal-accent);font-size:10px;font-weight:850;cursor:pointer}.portal-notification-list{display:grid;max-height:390px;overflow:auto}.portal-notification-list>p{margin:0;padding:24px 16px;color:var(--portal-muted);font-size:11px;text-align:center}.portal-notification-item{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid #edf1f6;background:#fff}.portal-notification-item:last-child{border-bottom:0}.portal-notification-item:hover{background:#f7faff}.portal-notification-dot{width:7px;height:7px;margin-top:5px;border-radius:50%;background:var(--portal-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--portal-accent) 10%,transparent)}.portal-notification-item>span:last-child{display:grid;gap:3px;min-width:0}.portal-notification-item strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.portal-notification-item small{display:-webkit-box;overflow:hidden;color:#4f5d72;font-size:10px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.portal-notification-item time{color:var(--portal-muted);font-size:9px}.portal-message-live-status{min-height:16px;color:var(--portal-muted);font-size:10px;font-weight:700}.portal-message-live-status.success{color:#137a52}.portal-message-live-status.error{color:#b52d37}.portal-message-form .portal-button.is-loading{opacity:.7;cursor:wait}.portal-conversation{scroll-behavior:smooth}.portal-conversation article{animation:portal-message-in .18s ease-out}@keyframes portal-message-in{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:760px){.portal-notification-panel{position:fixed;top:72px;right:12px;left:12px;width:auto}.portal-bell{width:36px;height:36px}.portal-user-menu{gap:6px}}
@media(prefers-reduced-motion:reduce){.portal-conversation article{animation:none}.portal-bell{transition:none}}
.portal-bell-icon{display:grid;place-items:center;width:18px;height:18px;color:#33445f}.portal-bell-icon svg{display:block;width:18px;height:18px}.portal-bell.has-unread .portal-bell-icon{color:var(--portal-accent)}

/* Update 191 — actionable approval queue */
.portal-home-approvals{display:grid;gap:14px;margin:0 0 22px;padding:18px 20px;border:1px solid #f1cf78;border-radius:18px;background:#fffdf8;box-shadow:0 12px 35px rgba(39,55,82,.06)}
.portal-approval-queue{display:grid;gap:10px}
.portal-approval-queue-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 15px;border:1px solid var(--portal-line);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(32,53,85,.045)}
.portal-approval-queue-item .portal-resource-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff0c6;color:#906400;font-size:18px;font-weight:900}
.portal-approval-queue-copy{display:grid;gap:3px;min-width:0}
.portal-approval-queue-copy small{color:var(--portal-muted);font-size:10px;font-weight:750}
.portal-approval-queue-copy strong{overflow:hidden;color:var(--portal-text);font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.portal-approval-queue-copy p{margin:0;color:#506078;font-size:11px;line-height:1.4}
.portal-approval-queue-item .portal-button{white-space:nowrap}
@media(max-width:760px){.portal-home-approvals{padding:14px}.portal-approval-queue-item{grid-template-columns:38px minmax(0,1fr)}.portal-approval-queue-item .portal-button{grid-column:1/-1;width:100%}}

/* Update 209.64.4 — pending decisions remain visible across the Client Portal. */
.portal-global-decision-bar{position:sticky;top:88px;z-index:24;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px;margin:0 0 18px;padding:13px 15px;border:1px solid #efc86d;border-radius:14px;background:#fffaf0;box-shadow:0 10px 28px rgba(94,70,14,.10)}
.portal-global-decision-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ffe7a6;color:#7b5600;font-size:19px;font-weight:900}
.portal-global-decision-copy{display:grid;gap:3px;min-width:0}.portal-global-decision-copy strong{color:var(--portal-text);font-size:13px}.portal-global-decision-copy small{color:var(--portal-muted);font-size:10px;line-height:1.4}.portal-global-decision-copy>span{overflow:hidden;color:#5d6879;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.portal-global-decision-bar>.portal-button{justify-self:end;white-space:nowrap}
.portal-project-decision-strip{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:-8px 0 18px;padding:12px 14px;border:1px solid #efc86d;border-radius:13px;background:#fffaf0}.portal-project-decision-strip>div{display:grid;gap:3px}.portal-project-decision-strip strong{font-size:12px}.portal-project-decision-strip small{color:var(--portal-muted);font-size:10px}.portal-project-decision-strip>.portal-button{white-space:nowrap}
.portal-tabs a{display:inline-flex;align-items:center;gap:7px}.portal-tab-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ffe6a3;color:#765200;font-size:9px;font-weight:900}.portal-tabs a.active .portal-tab-badge{background:#fff;color:#765200}
.portal-resource-list article.requires-decision{background:#fffdf7;box-shadow:inset 4px 0 #e3a21a}.portal-resource-list article.requires-decision .portal-resource-icon{background:#fff0c6;color:#8c6200}.portal-resource-state-stack{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.portal-decision-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#ffe8ad;color:#785400;font-size:9px;font-weight:900;white-space:nowrap}
@media(max-width:760px){.portal-global-decision-bar{top:76px;grid-template-columns:40px minmax(0,1fr);padding:12px}.portal-global-decision-bar>.portal-button{grid-column:1/-1;width:100%}.portal-project-decision-strip{grid-template-columns:38px minmax(0,1fr)}.portal-project-decision-strip>.portal-button{grid-column:1/-1;width:100%}.portal-resource-state-stack{grid-column:2;justify-content:flex-start}.portal-resource-list article.requires-decision .portal-resource-actions{grid-column:2}}
