.portal-page-head .eyebrow{color:#7a8a83;letter-spacing:.06em}
.portal-filter-bar{display:flex;align-items:center;gap:20px;padding:16px 20px;margin-bottom:20px;flex-wrap:wrap}
.portal-filter-bar label{display:flex;gap:12px;align-items:center;font-size:12px;color:#62726a}
.portal-filter-bar select{min-width:180px;background:#fff;font-size:13px}
.portal-scope{margin-left:auto;font-size:12px;color:#89928c}
.portal-segment{display:flex;background:#f3f5f4;padding:4px;border-radius:7px;gap:3px}
.portal-segment button,.portal-law-tabs button{border:0;background:transparent;color:#6e7c74;cursor:pointer;padding:8px 16px;border-radius:5px;font-size:12px;font-weight:600}
.portal-segment button.active{background:white;color:#13795b;box-shadow:0 1px 5px #173f3212}
.portal-segment button:hover,.portal-law-tabs button:hover{color:#13795b;background:#eaf4ee}
.portal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.portal-stat{position:relative;text-align:left;background:white;border:1px solid #e6ebe8;border-radius:10px;padding:20px 23px;font-family:inherit;color:#23382e}
button.portal-stat{cursor:pointer}
button.portal-stat:hover{border-color:#a8cabb;box-shadow:0 5px 18px #13795b0b}
.portal-stat>span{font-size:12px;color:#77847d}
.portal-stat strong{font-size:32px;font-weight:650;display:block;line-height:1.5;margin-top:3px;letter-spacing:-.02em}
.portal-stat small{font-size:11px;font-weight:400;color:#859087;margin-left:7px}
.portal-stat p{margin:6px 0 0;color:#8b958e;font-size:11px}
.portal-stat i{position:absolute;right:20px;top:20px;color:#a0afa6;font-size:16px;font-style:normal}
.portal-section-heading{padding:22px 24px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.portal-section-heading h2{font-size:16px;font-weight:650;margin:0;color:#293e32}
.portal-section-heading h2 small{font-size:12px;font-weight:400;color:#819087}
.portal-section-heading p{font-size:12px;color:#8a958f;margin:5px 0 0}
.portal-analysis-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:20px;margin-bottom:18px;align-items:stretch}
.portal-trend-card{min-width:0;overflow:hidden}
.portal-chart-wrap{padding:0 20px;overflow-x:auto}
.portal-chart{display:block;width:100%;min-width:450px;height:auto;margin:8px 0}
.portal-chart text{font-size:11px;fill:#8c9690;font-family:inherit}
.portal-chart-grid{stroke:#edf0ed;stroke-width:1;stroke-dasharray:4 4}
.portal-chart-area{fill:#e9f5ee;fill-opacity:.65}
.portal-line-batches,.portal-line-issues{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.portal-line-batches{stroke:#13795b}.portal-line-issues{stroke:#e17b35}
.portal-dot-batches{fill:#fff;stroke:#13795b;stroke-width:2}.portal-dot-issues{fill:#fff;stroke:#e17b35;stroke-width:2}
.portal-legend{display:flex;align-items:center;gap:18px;font-size:11px;color:#78857d}
.portal-legend span{white-space:nowrap;display:flex;align-items:center;gap:7px}
.portal-legend span:before{content:'';width:17px;height:3px;border-radius:2px;background:#13795b}
.portal-legend .portal-legend-issues:before{background:#e17b35}
.portal-chart-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eef1ee;margin:0 24px;padding:15px 0;color:#8b978f;font-size:11px}
.portal-chart-bottom label{display:flex;gap:10px;align-items:center}.portal-chart-bottom select{font-size:11px;padding:6px 10px;background:white}
.portal-insight{background:#f5faf7;padding:24px;display:flex;flex-direction:column;align-items:flex-start}
.portal-eyebrow{font-size:11px;color:#13795b;font-weight:650;letter-spacing:.08em}
.portal-insight h2{font-size:18px;margin:13px 0 10px;line-height:1.6}
.portal-insight>p{font-size:12px;color:#73857a;line-height:1.85;margin:0 0 10px}
.portal-insight-detail{padding:14px 0;border-bottom:1px solid #e3ede5;width:100%}
.portal-insight-detail small{display:block;font-size:11px;color:#8a988e;margin-bottom:4px}
.portal-insight-detail strong{font-size:18px;font-weight:600}.portal-insight-detail strong span{font-size:12px;font-weight:400;color:#7c8c81;margin-left:10px}
.portal-insight .btn{margin:20px 0 15px;width:100%;justify-content:center;background:#fff}
.portal-insight>.portal-fine{font-size:11px;line-height:1.8;margin:0;color:#8a978f}
.portal-method{padding:0 4px 18px;font-size:11px;color:#809087;line-height:1.9}
.portal-method summary{cursor:pointer;display:list-item;list-style:disclosure-closed;padding:0;user-select:none}
.portal-method[open] summary{list-style:disclosure-open}.portal-method p{padding:8px 10px;background:#f6f8f6;border-radius:6px;margin-bottom:0}
.portal-count{font-size:11px;color:#7c8f82;background:#eef4ef;border:1px solid #e3ece5;border-radius:5px;padding:3px 9px;white-space:nowrap}
#portal-trend-records{scroll-margin-top:90px}
#portal-trend-records td{font-size:12px}#portal-trend-records .mono{font-size:10px;color:#92a097}
.portal-profile-banner{display:flex;align-items:center;gap:22px;padding:28px;margin-bottom:22px;background:linear-gradient(110deg,#fff 40%,#f2f8f4)}
.portal-avatar{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:50%;background:#dfeee4;color:#1c7957;font-size:25px;font-weight:600;flex-shrink:0;box-shadow:0 0 0 5px #f1f7f2}
.portal-profile-banner h2{font-size:21px;margin:0 0 5px}.portal-profile-banner p{font-size:12px;color:#7c8e81;margin:0 0 9px}.portal-profile-banner p span{margin:0 7px;color:#bbc6bd}
.portal-profile-banner .portal-logout{margin-left:auto;align-self:center}
.portal-profile-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-bottom:22px;align-items:start}
.portal-form-card form{padding:0 24px 26px}.portal-form-card .input-label{font-size:12px;color:#61766a;gap:8px}.portal-form-card input{background:#fff;padding:12px;border:1px solid #dfe7e1}
.portal-form-card .form-grid{gap:22px 16px}.portal-password-fields{display:grid;gap:16px}
.portal-form-actions{display:flex;align-items:center;gap:14px;margin-top:22px}
.portal-fine{font-size:11px;line-height:1.8;color:#8d9a91}
.portal-form-card .error-inline{margin:12px 0;min-height:0}.portal-form-card .error-inline:empty{margin:0}
.portal-profile-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.portal-profile-shortcuts a{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e2e9e3;border-radius:9px;padding:22px;font-size:13px;font-weight:600;color:#4d6656}
.portal-profile-shortcuts a span{font-size:11px;font-weight:400;color:#8a9b90}.portal-profile-shortcuts a:hover{border-color:#a2c5af}
.portal-login-empty{text-align:center;padding:60px 20px}.portal-login-empty .portal-avatar{margin:auto auto 20px}.portal-login-empty h2{font-size:21px}.portal-login-empty p{color:#86958b;font-size:13px;margin:12px 0 25px}
.portal-law-top{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-bottom:22px}
.portal-law-hero{position:relative;border:1px solid #d8e7dd;border-radius:11px;padding:30px;background:linear-gradient(115deg,#edf7ef,#f8fbf6);overflow:hidden;display:flex;flex-direction:column;justify-content:center}
.portal-law-hero:after{content:'§';font-family:Georgia,serif;color:#c5ddc44d;font-size:210px;position:absolute;right:20px;top:-25px;line-height:1;pointer-events:none}
.portal-law-hero h2{position:relative;font-size:26px;margin:14px 0 12px;z-index:1;letter-spacing:-.02em}.portal-law-hero p{position:relative;max-width:90%;font-size:12px;color:#6f8c78;line-height:1.9;margin:0;z-index:1}
.portal-law-hero-tags{display:flex;gap:10px;margin-top:24px}.portal-law-hero-tags span{background:#fff9;border:1px solid #d4e6d7;border-radius:5px;padding:4px 10px;color:#64846e;font-size:10px}
.portal-channels{padding:22px 24px}.portal-channels h2{font-size:16px;margin:0 0 14px}.portal-channels>div+div{border-top:1px solid #edf0ec;margin-top:13px;padding-top:13px}
.portal-channels strong{font-size:12px;color:#536e5e}.portal-channels a{float:right;font-size:12px;color:#13795b}.portal-channels p{font-size:11px;color:#8b998f;line-height:1.8;margin:6px 0 0}
.portal-law-library{margin-bottom:22px}.portal-law-search input{min-width:280px;font-size:12px;background:#f8faf8}.portal-law-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 20px;border-bottom:1px solid #edf0ec}.portal-law-tabs button{border:1px solid #e8eee9;font-size:11px;font-weight:400;background:white}.portal-law-tabs button.active{background:#e8f3eb;color:#13795b;border-color:#cce0d1;font-weight:600}
.portal-law-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:24px;gap:18px}
.portal-law-card{padding:20px;border:1px solid #e8ede8;border-radius:8px;background:#fff;display:flex;flex-direction:column;min-width:0}
.portal-law-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.portal-law-meta>span{font-size:10px;color:#47795c;padding:3px 7px;border-radius:4px;background:#f0f6f1}.portal-law-meta small{font-size:10px;color:#95a097}
.portal-law-card h3{font-size:15px;color:#3b5544;margin:0 0 8px}.portal-law-articles{font-size:11px;font-weight:500;color:#8d9e90}.portal-law-card>p{font-size:12px;color:#7a8a7d;line-height:1.9;margin:12px 0 18px;flex:1}
.portal-law-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eff2ef;padding-top:13px}.portal-law-footer small{font-size:10px;color:#9aa69c}.portal-law-footer a{font-size:11px;color:#13795b;white-space:nowrap}
.portal-law-library>.portal-method{margin:0 24px}.portal-assessment{margin-bottom:22px}.portal-assess-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:0 24px 22px;border-bottom:1px solid #edf0ec}.portal-assess-form>label{font-size:12px;color:#6f8276;display:flex;flex-direction:column;gap:8px;flex:1;min-width:180px}.portal-assess-form select{width:100%;background:white}.portal-assess-form .error-inline{flex-basis:100%;margin:0}.portal-assess-form .error-inline:empty{display:none}
.portal-assess-empty{padding:38px 20px;text-align:center;color:#91a097}.portal-assess-empty>span{font-size:33px;color:#b9d0be}.portal-assess-empty h3{font-size:14px;font-weight:500;color:#708376;margin:8px 0}.portal-assess-empty p{font-size:12px;margin:0}
.portal-assess-summary{padding:24px;background:#f7faf6;border-bottom:1px solid #e8eee7}.portal-assess-summary h3{font-size:20px;margin:10px 0 5px}.portal-assess-summary p{font-size:12px;color:#89968a;margin:0}.portal-assess-summary a{padding-left:0;margin-top:10px}
.portal-priority{margin:0 24px;padding:24px 0;border-bottom:1px solid #ecf0eb}.portal-priority-title{display:flex;align-items:center;gap:12px}.portal-priority-title>b{font-size:18px;color:#b7c9b8;font-weight:500}.portal-priority-title h3{margin:0;flex:1;font-size:14px}.portal-priority>p{font-size:12px;line-height:1.9;color:#7e8e80;margin:12px 0}.portal-priority ul{font-size:12px;line-height:2;color:#536d5b;padding-left:20px;margin:8px 0}
.portal-law-refs{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0}.portal-law-refs a{font-size:11px;color:#13795b;background:#edf5ee;padding:4px 8px;border-radius:5px}.portal-priority details{font-size:11px;color:#8f9d91;overflow-wrap:anywhere}.portal-priority details summary{cursor:pointer}.portal-priority details p{background:#f6f8f5;border-radius:5px;padding:10px;font-size:10px}
.portal-evidence-checklist{padding:24px}.portal-evidence-checklist h3{font-size:14px;margin:0 0 12px}.portal-evidence-checklist label{display:flex;align-items:start;gap:10px;font-size:12px;color:#788d7e;margin:12px 0;line-height:1.8}.portal-evidence-checklist input{width:15px;height:15px;margin-top:3px;accent-color:#13795b;flex-shrink:0}.portal-evidence-checklist .btn{margin-top:10px}.portal-assess-limitation{border-top:1px solid #edf1eb;margin:0;padding:18px 24px;background:#fbfcfa;border-radius:0 0 10px 10px}
.portal-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:0 24px 26px}.portal-process article{border-top:2px solid #e1eee4;padding-top:16px}.portal-process b{font-size:22px;color:#c3d4c7;font-weight:500}.portal-process h3{font-size:13px;margin:9px 0;color:#4b6654}.portal-process p{font-size:11px;line-height:1.9;color:#8b9c90;margin:0}
.portal-law-grid>.empty{grid-column:1/-1}.portal-page-head~section a:hover,.portal-channels a:hover,.portal-law-footer a:hover{text-decoration-color:#13795b}
@media(max-width:1150px){.portal-analysis-layout{grid-template-columns:minmax(0,1fr) 230px}.portal-filter-bar{gap:14px}.portal-scope{display:none}.portal-law-top{grid-template-columns:1.1fr 1fr}.portal-legend{gap:9px}.portal-law-meta{flex-wrap:wrap}}
@media(max-width:900px){.portal-analysis-layout,.portal-law-top,.portal-profile-layout{grid-template-columns:1fr}.portal-insight{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.portal-insight>.portal-eyebrow,.portal-insight>h2,.portal-insight>p,.portal-insight>.portal-fine{grid-column:1/-1}.portal-insight>.btn{width:auto;margin-bottom:8px}.portal-stats{gap:10px}.portal-stat{padding:15px}.portal-law-hero{padding:25px}.portal-law-search input{min-width:220px}.portal-process{gap:16px}.portal-profile-shortcuts{gap:10px}.portal-profile-shortcuts a{padding:16px;flex-wrap:wrap}.portal-form-actions{flex-wrap:wrap}}
@media(max-width:600px){.portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-stat strong{font-size:28px}.portal-filter-bar{padding:14px}.portal-filter-bar>label{width:100%}.portal-filter-bar select{flex:1;min-width:0}.portal-section-heading{padding:18px;flex-wrap:wrap;gap:12px}.portal-chart-wrap{padding:0 10px}.portal-chart-bottom{margin:0 18px;flex-wrap:wrap}.portal-law-grid{grid-template-columns:1fr;padding:18px}.portal-law-tabs{padding:0 18px 18px;gap:7px}.portal-law-tabs button{padding:7px 10px}.portal-law-search{width:100%}.portal-law-search input{width:100%;min-width:0}.portal-law-hero h2{font-size:23px}.portal-law-hero p{max-width:100%}.portal-process{grid-template-columns:1fr 1fr;padding:0 18px 20px}.portal-profile-banner{gap:15px;padding:20px;flex-wrap:wrap}.portal-profile-banner h2{font-size:18px}.portal-profile-banner .portal-logout{margin-left:85px}.portal-profile-shortcuts{grid-template-columns:1fr}.portal-avatar{width:55px;height:55px;font-size:20px}.portal-assess-form{padding:0 18px 18px}.portal-priority{margin:0 18px}.portal-form-card form{padding:0 18px 22px}.portal-form-card .form-grid{grid-template-columns:1fr}.portal-channels a{float:none;display:block;margin-top:6px}.portal-law-footer{align-items:start}.portal-profile-banner .badge{font-size:10px}}
