/* Client portal pages (/login, /portal, /office): brings them in line with the main site.
   Loaded after each page's own styles. Chart colours (--ox-2, --brass, --good, --warn) are left alone on purpose. */
:root{--serif:"Cormorant Garamond",Georgia,serif;--sans:"Source Serif 4",Georgia,serif;--cream:#eae6e1;--paper:#fff}
body{letter-spacing:.01em;color:#121212}
h1,h2{font-weight:400;text-transform:uppercase;letter-spacing:.035em}
h3,h4{font-weight:500}
a{color:#642320}
.eyebrow{color:#642320;font-weight:400;letter-spacing:.18em;font-size:13px}

/* header: the site header, with the app controls on the right */
.hhn-header--app .hhn-actions{display:flex;flex:0 1 auto;align-items:center;gap:12px 20px}
.hhn-header .who{text-align:right;line-height:1.3;font-size:15px}
.hhn-header .who span{display:block;opacity:.75;font-size:12px;letter-spacing:.04em}
.hhn-header .btn-ghost-w,.hhn-header .btn-w{background:none;color:#eae6e1;border:1px solid rgba(234,230,225,.6);padding:10px 20px;font-size:15px;min-height:44px}
.hhn-header .btn-ghost-w:hover,.hhn-header .btn-w:hover{background:rgba(234,230,225,.12);opacity:1}
.hhn-header .tag{color:#eae6e1;border-color:rgba(234,230,225,.6);border-radius:0}
.hhn-actions .hhn-login{text-decoration:none;font-size:16px;padding:10px 0;white-space:nowrap;border-bottom:1px solid transparent}
.hhn-footer--slim{padding:8px 5vw 28px}
.hhn-footer--slim .hhn-legal{margin-top:0!important;border-top:0}
footer.hhn-footer{margin-top:0}

/* buttons: square, serif, burgundy, as on the site */
.btn{border-radius:0;font-weight:400;font-family:var(--sans)}
.btn-ox,form.card>.btn{background:#642320;color:#fff}
.btn-ox:hover,form.card>.btn:hover{background:#4a1917}
.btn-line{color:#642320;border-color:#642320;background:none}
.btn-line:hover{background:#eae6e1;border-color:#642320}

/* cards, panels and form fields */
main,.gate{background:#eae6e1}
.card,.gate-card{border-radius:0;box-shadow:none;border:0;border-top:4px solid #642320}
.seal,.gate-card .seal{border-color:#642320;color:#642320}
.panel,.tile,.cc{border-radius:0;box-shadow:none}
.field span{font-weight:400;color:#121212;font-size:15px}
.field input,.field select,.field textarea{background:#fafafa;border:1px solid #121212;border-radius:0;padding:10px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #642320;outline-offset:1px;border-color:#642320}
.show{color:#642320;font-family:var(--sans);font-weight:400}
.msg{border-radius:0}
.tab:hover{color:#642320}
.tab.on{color:#642320;border-bottom-color:#642320}
@media(max-width:620px){.hhn-header--app{padding:12px 5vw}.hhn-header--app .hhn-logo img{height:38px}.hhn-header .who{display:none}}

/* office: both panels stay inside the page width; the side column never drops below 320px */
.grid{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)}
.grid>*{min-width:0}
.panel>header{gap:12px;flex-wrap:wrap}
.panel>header h2{font-size:20px;line-height:1.2;min-width:0}
.need{align-items:flex-start}
.need .dot{margin-top:7px}
.need .t span{white-space:normal;overflow:visible;text-overflow:clip}
@media (max-width:900px){.grid{grid-template-columns:minmax(0,1fr)}}
input[type=datetime-local]{width:100%;font:inherit;color:#121212;background:#fafafa;border:1px solid #121212;border-radius:0;padding:10px}
input[type=datetime-local]:focus{outline:2px solid #642320;outline-offset:1px;border-color:#642320}
.badge{border-radius:0}
@media (max-width:620px){.need{flex-wrap:wrap}.need .t{flex:1 1 calc(100% - 30px)}}
