/* HTA portal — editorial architecture, calm navigation, readable document controls. */
:root{--hta-ink:#102533;--hta-paper:#f4f1e9;--hta-gold:#d9be87;--hta-line:#dedbd2;--hta-muted:#5d6d74}
body.htap{background:var(--hta-paper);color:var(--hta-ink)}
.htap>header{padding:18px clamp(20px,3vw,52px);gap:28px;border-bottom:1px solid #ffffff21;box-shadow:0 5px 26px #071d2412}
.htap>header .site-return{font-size:12px;letter-spacing:.025em;border:1px solid #c8b78570;padding:11px 15px;border-radius:2px}
.htap>header nav{margin-left:auto}
.htap>main{max-width:1530px;padding:30px clamp(20px,3vw,52px) 46px}
.portal-layout{display:grid;grid-template-columns:202px minmax(0,1fr);gap:38px;align-items:start}
.portal-content{min-width:0}
.portal-layout>.portal-nav{position:sticky;top:130px;display:flex;flex-direction:column;gap:7px;margin:0;padding:22px 0 0;border:0;background:transparent}
.portal-nav .nav-caption{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#6e7776;padding:0 14px;margin:0 0 18px;line-height:1.9}
.portal-nav>a{display:flex;align-items:center;gap:12px;min-height:47px;padding:12px 14px;border:1px solid transparent;border-radius:3px;text-decoration:none;font-size:13px;font-weight:400;color:#455a65;line-height:1.45}
.portal-nav>a[aria-current=page]{background:var(--hta-ink);border-color:var(--hta-ink);color:#fffaf0;box-shadow:0 6px 16px #1025330b}
.portal-nav>a:hover{background:#e8e5dc;border-color:#d4d0c4;color:var(--hta-ink)}
.portal-nav>a[aria-current=page]:hover{background:#1d3947;color:#fffaf0}
.htap-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}
.nav-footnote{margin:36px 14px 0;font-size:12px;color:var(--hta-muted);line-height:1.8}
.nav-line{display:block;width:32px;height:1px;background:#b39a63;margin-bottom:23px}
.nav-footnote a{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:17px;color:var(--hta-ink);text-decoration:none}
.nav-footnote .htap-icon{width:17px;height:17px}
.toolbar{margin:0 0 22px;padding:0 0 17px;border-bottom:1px solid var(--hta-line);gap:15px;min-height:46px;font-size:12px}
.toolbar>span{color:#566870;margin-left:auto}
.toolbar button{background:transparent;color:var(--hta-ink);border:1px solid #c8cecc;padding:9px 14px;min-height:38px;font-size:12px}
.toolbar button:hover{background:#e4e6df}
.portal-welcome{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);background:var(--hta-ink);color:#f8f3e8;overflow:hidden;border-radius:3px;margin-bottom:23px;min-height:356px}
.welcome-copy{padding:clamp(26px,3vw,48px);align-self:center}
.welcome-copy .eyebrow{color:#d9be87;font-size:10px;letter-spacing:.17em;margin:0 0 24px}
.welcome-name{font-size:12px;line-height:1.7;color:#d8dfdf;margin:0 0 10px}
.portal-welcome h1{font-size:clamp(38px,3.6vw,60px);line-height:1.04;font-weight:500;letter-spacing:-.025em;margin:0 0 20px;color:#fffaf0;max-width:500px}
.hero-description{font-size:13px;line-height:1.9;color:#d9dfde;max-width:380px;margin-bottom:25px}
.welcome-image{position:relative;min-height:330px}
.welcome-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:62% center;position:absolute;inset:0}
.welcome-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10253320,transparent 25%);pointer-events:none}
.button.gold{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;background:#ddc590;color:#142936;border:1px solid #ddc590;padding:13px 19px;font-size:12px;min-height:48px}
.button.gold:hover{background:#f0d8a0;color:#102533;border-color:#f0d8a0}
.button.gold .htap-icon{width:20px;height:20px}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 26px}
.stat-grid .stat{position:relative;display:block;background:#fffdf8;border:1px solid var(--hta-line);padding:20px 24px;text-decoration:none;border-radius:3px;min-height:131px;color:var(--hta-ink)}
.stat-grid .stat>span{display:block;font-size:12px;line-height:1.5;color:#566870;max-width:85%;min-height:19px}
.stat-grid .stat strong{font-family:'HTA Serif',Georgia,serif;font-size:48px;font-weight:500;line-height:1.15;margin-top:8px;display:block}
.stat-grid .stat>.htap-icon{position:absolute;right:23px;bottom:28px;width:19px;color:#a18957}
.stat-grid .stat:hover{border-color:#ab9567;background:#fffaf0}
.overview-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(245px,1fr);gap:22px;align-items:start}
.panel{background:#fffdf8;border:1px solid var(--hta-line);border-radius:3px;padding:28px;margin:0 0 24px;box-shadow:0 2px 6px #0e2a3302}
.panel h2{font-size:31px;line-height:1.2;font-weight:500;margin-top:0}
.panel-heading{gap:15px;margin-bottom:17px;align-items:center}
.panel-heading h2{font-size:29px;margin:0}
.panel-heading>a{font-size:11px;white-space:nowrap;color:#536873}
.recent-document{display:flex;align-items:center;gap:13px;padding:19px 0;border-top:1px solid #e8e5dc;border-bottom:0;text-decoration:none;color:var(--hta-ink);min-width:0}
.recent-document:hover{background:#f3f1e9}
.document-mark{display:flex;align-items:center;justify-content:center;width:40px;height:48px;flex-shrink:0;background:#eeede5;border:1px solid #e3e0d4;border-radius:2px;color:#826c40}
.document-mark .htap-icon{width:23px;height:23px}
.document-name{min-width:0;flex:1}
.document-name strong{font-size:13px;font-weight:400;display:block;overflow-wrap:anywhere;line-height:1.55}
.document-name small{font-size:10px;line-height:1.7;color:var(--hta-muted);display:block;margin-top:5px;overflow-wrap:anywhere}
.recent-document .badge{font-size:10px;line-height:1.5;padding:5px 9px;background:#eeeee7;color:#495c61;border:1px solid #e0e4dc;border-radius:3px;max-width:120px;white-space:normal;text-align:center}
.badge.badge-signed{background:#edf3ec;color:#31583a;border-color:#d2dfd1}
.badge.badge-review{background:#f4ecdb;color:#735821;border-color:#e4d8bb}
.document-arrow .htap-icon{width:18px;height:18px;color:#8e7950}
.quick-panel{background:#eeebe2}
.quick-panel>.eyebrow{font-size:10px;letter-spacing:.14em;color:#7d6b45;margin:0 0 13px}
.quick-panel h2{font-size:31px;margin-bottom:12px}
.quick-action{display:flex;align-items:flex-start;gap:13px;border-top:1px solid #d9d6ca;padding:21px 0;text-decoration:none;color:var(--hta-ink)}
.quick-action:last-child{padding-bottom:2px}
.quick-action>span:nth-child(2){flex:1;min-width:0}
.quick-number{font-family:'HTA Serif',Georgia,serif;font-size:22px;color:#947e52;line-height:1.25}
.quick-action strong{font-size:12px;font-weight:400;display:block;line-height:1.6}
.quick-action small{font-size:11px;display:block;color:#586b72;line-height:1.8;margin-top:4px}
.quick-action>.htap-icon{width:16px;height:16px;margin-top:4px;color:#8b7953}
.quick-action:hover strong{text-decoration:underline}
.intro{margin:24px 0 30px;max-width:900px}
.intro h1{font-size:clamp(42px,4.5vw,66px);line-height:1.08;letter-spacing:-.02em;margin:12px 0 18px}
.intro>p:not(.eyebrow){font-size:14px;line-height:1.85;color:#536873;max-width:690px}
.project-search,.document-search{font-size:12px}
.project-search{max-width:490px;margin-bottom:26px}
.cards{gap:22px}
.project-card{border-top:2px solid #c8b17d;display:flex;flex-direction:column;align-items:flex-start;padding:30px}
.project-card .eyebrow{font-size:10px;letter-spacing:.12em}
.project-card h2{font-size:35px;margin:10px 0 15px;overflow-wrap:anywhere}
.project-card>p:not(.eyebrow){font-size:13px;color:#596a70;line-height:1.8}
.project-card>.button{margin-top:auto}
.document-filters{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--hta-line);padding:0 0 20px;margin:0 0 22px}
.document-filters a{font-size:11px;padding:9px 12px;border:1px solid #d9dfdb;border-radius:3px;color:#52656e;text-decoration:none;line-height:1.5}
.document-filters a[aria-current=page]{color:#fffaf0;background:var(--hta-ink);border-color:var(--hta-ink)}
.document-filters a:hover{border-color:#9c8656}
.document-search{margin-bottom:22px;max-width:500px;display:block}
.htap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.htap textarea,.htap select{border:1px solid #b7c0bf;border-radius:2px;background:#fffefa;color:#142d3b;min-height:47px;padding:11px 13px}
.htap label,.htap legend{font-size:13px;line-height:1.6}
.htap input:focus,.htap textarea:focus,.htap select:focus{outline:2px solid #9c7f40;outline-offset:3px}
.htap button,.htap .button{border-radius:2px;font-size:12px;min-height:43px}
.htap a:focus-visible,.htap button:focus-visible,.htap summary:focus-visible{outline:2px solid #9c7f40;outline-offset:4px}
.htap header a:focus-visible{outline-color:#e9ce91}
.empty-state{border:0;background:#f3f1ea;padding:25px;font-size:13px;line-height:1.8}
.section-links{font-size:12px;margin:0 0 28px}
.htap details>summary{font-size:15px;cursor:pointer;line-height:1.6}
.htap details[open]>summary{margin-bottom:22px}
.htap .danger-zone{border-color:#dcb8ad}
.htap .danger-zone summary{color:#7d322d}
.htap .notice{border-radius:2px}
.portal-arrival{display:grid;grid-template-columns:1.1fr 1fr;background:var(--hta-ink);color:#f5f2e8;border-radius:3px;overflow:hidden;max-width:1230px;margin:20px auto 28px;min-height:510px}
.arrival-image{position:relative;min-height:440px}
.arrival-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.arrival-copy{align-self:center;padding:clamp(30px,4vw,66px)}
.arrival-copy .eyebrow{color:#d9be87;font-size:10px;letter-spacing:.18em}
.arrival-copy h1{font-size:clamp(44px,4.5vw,72px);font-weight:500;line-height:1.04;letter-spacing:-.025em;margin:23px 0}
.arrival-copy>p{font-size:12px;color:#ccd8d9;line-height:1.85}
.arrival-copy .arrival-description{font-size:15px;color:#f3f0e8;margin-bottom:25px;line-height:1.85}
.arrival-copy .button{margin-top:12px}
.arrival-forgot a{color:#e2c88e;font-size:11px}
.activation-panel{max-width:1230px;margin:0 auto}
.activation-panel form{max-width:600px}
.htap>footer{color:#69777b;padding:25px;text-align:center;font-size:11px;border-top:1px solid #ddd9ce}
[hidden]{display:none!important}
@media(min-width:1700px){.portal-welcome{min-height:405px}}
@media(max-width:1180px){.portal-layout{grid-template-columns:minmax(0,1fr);gap:0}.portal-layout>.portal-nav{position:static;flex-direction:row;flex-wrap:wrap;padding:0 0 18px;margin:0 0 22px;gap:7px;border-bottom:1px solid var(--hta-line)}.portal-nav .nav-caption,.nav-footnote{display:none}.portal-nav>a{min-height:42px;font-size:12px;padding:9px 12px}.portal-nav .htap-icon{width:18px;height:18px}.htap>header{gap:20px}.htap>main{padding-top:24px}.portal-welcome h1{font-size:52px}}
@media(max-width:800px){.htap>header{padding:16px 22px;gap:14px}.htap>header nav{margin-left:0}.htap>header .site-return{margin-left:auto}.overview-columns{grid-template-columns:minmax(0,1fr)}.quick-panel{margin-top:0}.quick-action{padding:18px 0}.portal-welcome{grid-template-columns:1.3fr 1fr;min-height:330px}.portal-welcome h1{font-size:42px}.welcome-copy{padding:28px}.welcome-image{min-height:330px}.hero-description{font-size:12px}.stat-grid{gap:10px}.stat-grid .stat{padding:18px;min-height:125px}.stat-grid .stat>span{font-size:11px}.stat-grid .stat strong{font-size:42px}.stat-grid .stat>.htap-icon{right:15px;bottom:25px}.portal-arrival{grid-template-columns:1fr 1.15fr;min-height:450px}.arrival-image{min-height:450px}.arrival-copy{padding:30px}.arrival-copy h1{font-size:48px}.htap .columns{gap:20px}}
@media(max-width:580px){.htap>main{padding:20px 17px 35px}.htap>header{padding:14px 17px;gap:14px}.htap>header .site-return{font-size:11px;padding:8px 10px}.htap>header nav{width:100%;order:3;justify-content:center;gap:17px}.portal-layout>.portal-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:14px;scrollbar-width:thin}.portal-nav>a{flex:0 0 auto;gap:7px;font-size:11px;padding:8px 11px;white-space:nowrap}.toolbar{flex-wrap:wrap;font-size:11px;gap:10px}.toolbar>span{max-width:65%;overflow-wrap:anywhere}.toolbar>a{display:none}.toolbar form{margin-left:auto}.portal-welcome{grid-template-columns:minmax(0,1fr)}.welcome-copy{padding:29px 26px 31px}.portal-welcome h1{font-size:47px;max-width:350px}.welcome-copy .eyebrow{margin-bottom:20px}.welcome-image{min-height:175px;max-height:175px}.welcome-image img{object-position:center 58%}.hero-description{max-width:360px}.stat-grid{gap:8px;margin-bottom:21px}.stat-grid .stat{padding:14px 11px;min-height:132px}.stat-grid .stat>span{font-size:10px;max-width:100%;min-height:34px;line-height:1.5}.stat-grid .stat strong{font-size:39px;margin-top:9px}.stat-grid .stat>.htap-icon{width:14px;right:10px;bottom:17px}.panel{padding:23px 20px}.panel-heading h2{font-size:28px}.panel-heading{flex-wrap:wrap;gap:7px}.panel-heading>a{font-size:11px}.document-mark{width:31px;height:40px}.recent-document{gap:10px;flex-wrap:wrap}.document-name{flex:1;min-width:calc(100% - 55px)}.document-name strong{font-size:12px}.recent-document .badge{margin-left:41px;max-width:none;font-size:9px}.document-arrow{margin-left:auto}.intro h1{font-size:45px}.intro{margin:16px 0 25px}.intro>p:not(.eyebrow){font-size:13px}.document-filters a{font-size:10px;padding:8px 10px}.portal-arrival{display:flex;flex-direction:column-reverse;margin:0 auto 22px}.arrival-copy{padding:33px 27px}.arrival-copy h1{font-size:53px}.arrival-image{min-height:200px;max-height:200px}.arrival-image img{object-position:center 52%}.arrival-copy .arrival-description{font-size:14px}.activation-panel{padding:23px}.htap .cards{grid-template-columns:1fr}.project-card h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Explicitly replace the earlier dashboard's inherited layout rules. */
.portal-welcome h1,.arrival-copy h1{font-family:'HTA Serif',Georgia,serif}
.stat-grid{background:transparent;border:0}
.recent-document>.document-mark{flex:0 0 40px;min-width:40px}
.htap .toolbar{border-bottom:1px solid var(--hta-line);padding-bottom:17px}
.htap>footer{background:#eeebe2;color:#526771}
@media(max-width:580px){.recent-document>.document-mark{flex-basis:31px;min-width:31px}}
/* 1.6 — individual editorial section covers, with practical content immediately below. */
.section-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);margin:0 0 28px;background:#142c39;border:1px solid #142c39;color:#fffaf0;min-height:244px;overflow:hidden;border-radius:3px;box-shadow:0 14px 38px #142c390b}
.section-copy{padding:32px 35px;align-self:center;min-width:0}
.section-copy>.eyebrow{font-size:9px;letter-spacing:.18em;line-height:1.8;color:#d8bf88;margin:0 0 18px}
.htap .section-copy h1{font-family:'HTA Serif',Georgia,serif;font-size:clamp(34px,3.25vw,54px);font-weight:500;line-height:1.08;color:#fffaf0;margin:0 0 16px;letter-spacing:-.025em;overflow-wrap:anywhere}
.section-description{font-size:12px;line-height:1.85;color:#dbe2df;max-width:540px;margin:0}
.section-visual{position:relative;min-height:244px;overflow:hidden}
.section-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.section-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#142c3920,transparent 35%);pointer-events:none}
.htap .section-links{padding:14px 18px;background:#eae7dd;border:1px solid #ddd8ca;border-radius:3px;display:flex;flex-wrap:wrap;gap:20px}
.htap .section-links a{font-size:12px;text-decoration:none;color:#223c48}
.htap .panel{box-shadow:0 5px 20px #142c3903}
.htap .panel>h2{padding-bottom:16px;border-bottom:1px solid #e8e3d7}
.htap .panel-heading h2{border:0;padding:0}
.htap fieldset{background:#f6f4ed;border-color:#d9d8cf;padding:20px;min-width:0}
.htap fieldset label.check{background:#fffefa;border:1px solid #e5e2d8;padding:10px 12px;margin:7px 0;align-items:center}
.htap .check input{flex:0 0 auto;accent-color:#173545}
.htap .communication-guide{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:0 2px 20px;font-size:12px;line-height:1.85;color:#52666e}
.htap .communication-guide p{margin:0}
.htap .chat-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.htap .chat-cards>.panel{min-width:0;border-top:2px solid #b69b62}
.chat-management{margin-top:22px;padding-top:15px;border-top:1px solid #e2dfd4}
.chat-management form{padding:20px 0;border-bottom:1px solid #e6e2d8}
.chat-management form:last-child{border-bottom:0}
.htap .chat-cards h2,.htap .chat-cards p,.htap .panel strong{overflow-wrap:anywhere}
.htap .panel-heading form{margin:0}
.htap .danger-zone{border-color:#ddccc5;background:#fffaf6}
.htap .danger-zone summary{color:#7c473a}
.htap .table-scroll{border:1px solid #e6e2d8;border-radius:2px}
.htap table th{background:#f3f1e9;color:#596c72;font-size:10px;letter-spacing:.07em}
.htap table td{font-size:12px;line-height:1.7}
.htap table tbody tr:hover{background:#f8f6ef}
@media(min-width:1181px){.portal-layout>.portal-nav{top:110px}.portal-nav>a{font-size:12px;min-height:45px}.portal-nav .nav-caption{margin-bottom:10px}.nav-footnote{margin-top:22px}}
@media(max-width:1000px){.section-intro{grid-template-columns:1.1fr .9fr}.section-copy{padding:25px}.section-visual{min-height:220px}.htap .section-copy h1{font-size:40px}}
@media(max-width:680px){.section-intro{grid-template-columns:1fr}.section-copy{padding:28px 25px}.section-visual{min-height:154px;max-height:154px}.section-visual img{object-position:center 56%}.htap .section-copy h1{font-size:39px}.htap .communication-guide,.htap .chat-cards{grid-template-columns:1fr;gap:12px}.htap .section-links{gap:16px}.htap fieldset{padding:14px}}
@media(prefers-reduced-motion:reduce){.htap *{scroll-behavior:auto}}
