:root {
    --blue:#097edd;
    --navy:#091930;
    --orange:#fc5c22;
    --ink:#15253a;
    --muted:#506176;
    --line:#d7dfe7;
    --soft:#f3f6f9;
    --deep-blue:#0862ab
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:24px
}
body {
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:Arial,Helvetica,sans-serif;
    font-size:16px;
    line-height:1.65
}
a {
    color:var(--deep-blue);
    text-underline-offset:4px
}
button,input,textarea,select {
    font:inherit
}
button,a,input,textarea,select,summary {
    touch-action:manipulation
}
a,button,summary {
    -webkit-tap-highlight-color:transparent
}
button {
    cursor:pointer
}
button:disabled {
    cursor:not-allowed;
    opacity:.6
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
    outline:3px solid var(--orange);
    outline-offset:4px
}
h1,h2,h3,h4,p {
    margin-top:0
}
h1,h2,h3 {
    color:var(--navy);
    letter-spacing:-.045em;
    line-height:1.08
}
h1 {
    font-size:clamp(38px,5.4vw,76px);
    font-weight:800;
    margin-bottom:26px
}
h2 {
    font-size:clamp(30px,3.4vw,48px);
    font-weight:750;
    margin-bottom:24px
}
h3 {
    font-size:23px;
    letter-spacing:-.025em;
    margin-bottom:14px
}
p {
    margin-bottom:22px
}
img {
    max-width:100%;
    height:auto;
    display:block
}
figure {
    margin:0
}
.container {
    width:min(1240px,calc(100% - 80px));
    margin-inline:auto
}
.section {
    padding-block:90px
}
.eyebrow {
    font-size:12px;
    letter-spacing:.15em;
    font-weight:800;
    text-transform:uppercase;
    color:var(--deep-blue);
    margin-bottom:18px
}
.caption,figcaption {
    font-size:12px;
    color:var(--muted);
    line-height:1.5
}
.caption {
    margin-top:22px
}
.button,.btn {
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    border:1px solid transparent;
    border-radius:3px;
    padding:13px 24px;
    background:var(--deep-blue);
    color:#fff;
    font-weight:700;
    font-size:15px;
    text-decoration:none;
    line-height:1.3
}
.button:hover,.btn:hover {
    background:var(--navy);
    color:#fff
}
.button.light {
    background:#fff;
    color:var(--navy)
}
.button.light:hover {
    background:#eaf3fc
}
.button.secondary,.btn-link {
    background:transparent;
    border-color:var(--line);
    color:var(--deep-blue)
}
.button.compact {
    padding:12px 18px;
    gap:12px
}
.text-link {
    font-weight:700;
    font-size:15px;
    display:inline-flex;
    align-items:center;
    min-height:44px;
    gap:12px
}
.skip-link {
    position:absolute;
    top:-150px;
    left:20px;
    z-index:100;
    background:#fff;
    color:var(--navy);
    padding:12px
}
.skip-link:focus {
    top:8px
}
.brand-strip {
    background:var(--blue);
    color:#fff;
    font-size:10px;
    letter-spacing:.12em;
    font-weight:700;
    padding:7px 0
}
.site-header {
    background:#fff;
    border-bottom:1px solid var(--line)
}
.header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    min-height:120px
}
.brand {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--navy);
    flex-shrink:0;
    line-height:1.05;
    font-weight:900;
    letter-spacing:.04em;
    font-size:17px
}
.brand img {
    width:90px;
    height:90px;
    object-fit:contain
}
.brand small {
    font-size:12px;
    letter-spacing:.21em
}
.desktop-nav {
    display:flex;
    gap:22px;
    align-items:center
}
.desktop-nav a,.portal-link {
    font-size:13px;
    font-weight:700;
    color:var(--navy);
    text-decoration:none;
    display:flex;
    align-items:center;
    min-height:44px
}
.desktop-nav a.active {
    color:var(--deep-blue);
    text-decoration:underline
}
.header-actions {
    display:flex;
    align-items:center;
    gap:20px
}
.mobile-menu-toggle {
    display:none
}
.hero {
    display:grid;
    grid-template-columns:1.08fr 1fr;
    min-height:660px;
    background:var(--navy)
}
.hero-copy {
    padding:75px max(40px,calc((100vw - 1240px)/2)) 58px;
    padding-right:45px;
    color:#d3e0ed
}
.hero-copy .eyebrow {
    color:#a6cff3
}
.hero h1 {
    color:#fff;
    font-size:clamp(44px,4.8vw,70px);
    letter-spacing:-.05em;
    line-height:1.06
}
.hero h1 span {
    color:var(--orange)
}
.hero-description {
    max-width:480px;
    font-size:17px;
    line-height:1.75
}
.hero-note {
    font-size:12px;
    margin-top:20px;
    margin-bottom:0;
    color:#b8c9dc
}
.hero-photo {
    position:relative;
    min-width:0;
    overflow:hidden
}
.hero-photo>img {
    width:100%;
    height:100%;
    object-fit:cover
}
.hero-photo figcaption {
    position:absolute;
    bottom:18px;
    right:18px;
    background:rgba(9,25,48,.9);
    color:#fff;
    padding:5px 9px;
    max-width:calc(100% - 36px)
}
.photo-marker {
    position:absolute;
    top:35px;
    left:30px;
    letter-spacing:.18em;
    font-size:10px;
    background:var(--orange);
    color:var(--navy);
    padding:11px 16px;
    border-left:4px solid var(--orange)
}
.section-heading {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:50px;
    margin-bottom:38px
}
/* Native disclosure stays above its fixed trigger; desktop snow renders behind the moving card. */
.snow-promotion {
    position:fixed;
    z-index:40;
    right:max(20px,env(safe-area-inset-right));
    bottom:max(20px,env(safe-area-inset-bottom));
    max-width:calc(100% - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right)));
    color:#f7fbff
}
.snow-promotion summary {
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:48px;
    padding:10px 12px;
    border:1px solid #7098b5;
    border-radius:12px;
    background:linear-gradient(125deg,#153b59,#091e33 75%);
    box-shadow:inset 0 1px 8px #95d4ff33,0 4px 16px #062b4c59;
    font-size:12px;
    font-weight:700;
    line-height:1.4;
    cursor:pointer;
    list-style:none
}
.snow-promotion summary::-webkit-details-marker { display:none }
.snow-promotion summary:hover { background:#173e5a }
.snow-promotion summary .icon:first-child { color:#99d8ff }
.snow-promotion summary .icon:last-child { width:16px; height:16px; margin-left:auto; color:#99d8ff; transform:rotate(180deg) }
.snow-promotion details[open]>summary .icon:last-child { transform:none }
.snow-promotion-float {
    position:absolute;
    z-index:1;
    right:0;
    bottom:calc(100% + 12px);
    width:min(272px,calc(100vw - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right))))
}
.snow-promotion-panel {
    position:relative;
    z-index:1;
    width:100%;
    max-height:var(--snow-panel-room,calc(100dvh - 180px - env(safe-area-inset-bottom)));
    overflow:auto;
    overscroll-behavior:contain;
    padding:30px 16px 8px;
    border:1px solid #afd8f0;
    border-radius:16px;
    background:#071a2c;
    box-shadow:inset 0 0 0 2px #a1d9ff33,inset 0 0 18px #8bd0ff40,0 6px 22px #164a7266,0 0 12px #82cfff4d;
    isolation:isolate;
    font-size:12px;
    line-height:1.5
}
.snow-promotion [data-snow-desktop] .snow-promotion-float {
    position:fixed;
    top:max(20px,env(safe-area-inset-top));
    left:max(20px,env(safe-area-inset-left));
    right:auto;
    bottom:auto;
    transform:translate3d(var(--snow-x,0px),var(--snow-y,0px),0)
}
.snow-promotion-flurry {
    display:none;
    position:fixed;
    top:0;
    left:0;
    z-index:0;
    pointer-events:none
}
.snow-promotion [data-snow-flurry] .snow-promotion-flurry { display:block }
@media(prefers-reduced-motion:reduce) {
    .snow-promotion-flurry { display:none!important }
}
.snow-promotion-art {
    position:absolute;
    inset:0;
    z-index:-2;
    width:100%;
    height:100%;
    object-fit:cover;
    pointer-events:none
}
.snow-promotion-panel::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(180deg,#071a2c00,#071a2c99 26%,#071a2cee 58%);
    pointer-events:none
}
.snow-promotion-panel .snow-promotion-brand {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 32px 8px 0;
    color:#ff793d;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    line-height:1.4
}
.snow-promotion-brand .icon { width:24px; height:24px; flex-shrink:0 }
.snow-promotion-panel h2 { margin:0 0 4px; color:#f7fbff; font-size:28px; font-weight:700; letter-spacing:-.04em; line-height:1.08 }
.snow-promotion-panel .snow-promotion-tagline { margin:0; color:#c7d6e5; font-size:18px; line-height:1.35 }
.snow-promotion-panel .snow-promotion-description { margin:16px 0 8px; color:#d7e3ee; font-size:12px; line-height:1.5 }
.snow-promotion-close {
    position:absolute;
    top:2px;
    right:2px;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    border-radius:12px;
    background:#071a2c80;
    color:#d3edff
}
.snow-promotion-close[hidden] { display:none }
.snow-promotion-close:hover { background:#071a2c99; color:#fff }
.snow-promotion-close:focus-visible { outline-offset:-5px }
@media(min-width:1024px) and (hover:hover) and (pointer:fine) {
    .snow-promotion-close { opacity:0 }
    .snow-promotion-panel:hover .snow-promotion-close,
    .snow-promotion-panel:focus-within .snow-promotion-close { opacity:1 }
}
.snow-promotion-panel .button {
    width:100%;
    min-height:48px;
    padding:10px 8px;
    gap:8px;
    border:1px solid #388bc1;
    border-radius:10px;
    background:linear-gradient(180deg,#086bb4,#065d9f);
    color:#fff;
    font-size:12px;
    line-height:1.4
}
.snow-promotion-panel .button:hover { background:#07518b }
.snow-promotion-panel .snow-call {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    min-height:48px;
    margin-top:6px;
    color:#b8ddf5;
    font-size:12px;
    line-height:1.5;
    overflow-wrap:anywhere
}
.snow-call::before,.snow-call::after { content:""; flex:1; min-width:8px; border-top:1px solid #7794aa }
.snow-promotion :is(summary,.snow-quote,.snow-call):focus-visible { outline-offset:3px }
.has-snow-promotion :is(a,button,summary) { scroll-margin-block:100px }
.has-snow-promotion>.site-footer { padding-bottom:calc(88px + env(safe-area-inset-bottom)) }
.section-heading h2 {
    margin-bottom:0
}
.section-heading>p {
    max-width:380px;
    color:var(--muted);
    margin-bottom:0
}
.sector-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:25px
}
.sector-card {
    border:1px solid var(--line);
    border-bottom:3px solid var(--orange);
    text-decoration:none;
    color:var(--ink);
    background:white;
    overflow:hidden;
    transition:box-shadow .15s ease
}
.sector-card:hover {
    box-shadow:0 7px 28px #09193018
}
.sector-card>img {
    aspect-ratio:1.6;
    object-fit:cover;
    width:100%;
    transition:transform .2s
}
.sector-card>div {
    padding:25px
}
.sector-card .eyebrow {
    font-size:10px
}
.sector-card h3 {
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:12px
}
.sector-card h3 span {
    color:var(--deep-blue)
}
.sector-card p {
    font-size:14px;
    color:var(--muted);
    margin-bottom:0
}
.sector-invitation {
    display:flex;
    justify-content:space-between;
    gap:25px;
    align-items:center;
    border-top:1px solid var(--line);
    padding-top:22px;
    margin-top:30px
}
.sector-invitation p {
    margin:0
}
.soft {
    background:var(--soft)
}
.three-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px
}
.three-grid article {
    border-top:3px solid var(--orange);
    padding-top:25px
}
.service-cards>a {
    display:block;
    text-decoration:none;
    color:var(--muted);
    padding:34px;
    background:#fff;
    border:1px solid var(--line);
    border-top:3px solid var(--orange)
}
.number {
    font-size:13px;
    letter-spacing:.06em;
    font-weight:800;
    color:var(--deep-blue);
    display:block;
    margin-bottom:38px
}
.service-cards h3 {
    font-size:25px;
    min-height:54px
}
.service-cards p {
    font-size:15px
}
.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:85px;
    align-items:center
}
.split>div>p {
    color:var(--muted)
}
.approach-steps {
    list-style:none;
    padding:0;
    margin:0
}
.approach-steps li {
    display:flex;
    gap:26px;
    border-bottom:1px solid var(--line);
    padding:24px 0
}
.approach-steps li:first-child {
    padding-top:0
}
.approach-steps span {
    color:var(--deep-blue);
    font-weight:800;
    font-size:13px
}
.approach-steps h3 {
    margin-bottom:10px
}
.approach-steps p {
    margin-bottom:0;
    color:var(--muted);
    font-size:15px
}
.invitation {
    background:var(--blue);
    border-top:4px solid var(--orange);
    color:#fff;
    padding-block:65px
}
.invitation .eyebrow {
    color:#fff
}
.invitation h2 {
    color:#fff
}
.invitation p {
    max-width:650px;
    margin-bottom:0
}
.invitation-inner {
    display:flex;
    justify-content:space-between;
    gap:60px;
    align-items:center
}
.invitation .button {
    flex-shrink:0
}
.site-footer {
    background:var(--navy);
    color:#c3d1e0;
    padding-top:60px
}
.footer-grid {
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr;
    gap:45px
}
.footer-logo {
    width:140px;
    height:140px;
    object-fit:contain;
    margin-bottom:25px
}
.site-footer h2 {
    font-size:14px;
    color:#fff;
    letter-spacing:0;
    margin-bottom:18px
}
.site-footer a {
    display:block;
    min-height:44px;
    text-decoration:none;
    color:#c3d1e0;
    font-size:13px
}
.site-footer a:hover {
    color:#fff;
    text-decoration:underline
}
.site-footer p {
    font-size:13px;
    margin-bottom:12px
}
.footer-signout {
    border:0;
    background:transparent;
    color:#c3d1e0;
    padding:10px 0;
    min-height:44px;
    font-size:13px;
    text-align:left
}
.footer-bottom {
    border-top:1px solid #34455b;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:40px;
    padding-block:20px;
    font-size:11px
}
.page-header {
    background:var(--soft);
    padding-block:65px;
    border-bottom:1px solid var(--line)
}
.page-header h1 {
    max-width:930px
}
.page-header p:not(.eyebrow) {
    max-width:740px;
    color:var(--muted);
    font-size:18px
}
.breadcrumb {
    display:inline-flex;
    min-height:44px;
    font-size:13px;
    font-weight:700;
    margin-bottom:15px
}
.image-frame img {
    width:100%;
    aspect-ratio:1.15;
    object-fit:cover
}
.image-frame.sector-image img {
    aspect-ratio:auto
}
.image-frame figcaption {
    margin-top:10px
}
.plain-list {
    padding-left:20px
}
.plain-list li {
    padding-block:4px
}
.service-list article,.process-list article {
    display:grid;
    grid-template-columns:100px 1fr;
    gap:35px;
    max-width:1000px;
    margin-inline:auto;
    border-bottom:1px solid var(--line);
    padding:45px 0
}
.service-list article:first-child,.process-list article:first-child {
    padding-top:0
}
.service-list p,.process-list p {
    max-width:760px;
    color:var(--muted)
}
.callout {
    background:var(--soft);
    border-left:4px solid var(--orange);
    padding:36px;
    margin-top:45px
}
.callout h2 {
    font-size:30px
}
.reading {
    max-width:850px
}
.reading h2 {
    font-size:28px;
    margin-top:45px
}
.account-page {
    max-width:1050px;
    min-height:650px
}
.account-page h1 {
    font-size:44px
}
.account-page h2 {
    font-size:25px
}
.account-page h3 {
    font-size:22px
}
.authenticator-setup {
    min-width:0
}
.authenticator-setup .list {
    padding-inline-start:24px
}
.authenticator-qr {
    display:block;
    width:256px;
    max-width:100%;
    height:auto;
    margin:16px 0 24px;
    background:#fff;
    image-rendering:pixelated
}
.authenticator-key {
    display:block;
    max-width:100%;
    overflow-wrap:anywhere
}
.authenticator-setup .col-xl-6 {
    width:280px;
    max-width:100%;
    min-width:0
}
.row {
    display:flex;
    flex-wrap:wrap;
    gap:35px
}
.col-lg-6,.col-md-6 {
    flex:1;
    min-width:280px
}
.col-lg-3 {
    flex:0 1 220px
}
.col-lg-9 {
    flex:1;
    min-width:250px
}
.form-floating {
    display:flex;
    flex-direction:column
}
.form-floating label {
    order:-1
}
label,.form-label {
    display:block;
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
    color:var(--navy)
}
input:not([type=checkbox]):not([type=radio]),textarea,select {
    display:block;
    width:100%;
    border:1px solid #9caebf;
    border-radius:3px;
    background:#fff;
    color:var(--ink);
    min-height:48px;
    padding:11px 13px;
    line-height:1.45
}
textarea {
    min-height:125px;
    resize:vertical
}
input[type=checkbox],input[type=radio] {
    width:20px;
    height:20px;
    vertical-align:middle;
    accent-color:var(--deep-blue);
    margin:0 10px 0 0
}
.checkbox label {
    min-height:44px;
    display:flex;
    align-items:center
}
.mb-3 {
    margin-bottom:20px
}
.validation-message,.text-danger {
    color:#aa2929;
    font-size:14px
}
.invalid {
    border-color:#aa2929!important
}
.valid.modified:not([type=checkbox]) {
    border-color:#25744d
}
.alert,.notice {
    border:1px solid var(--line);
    border-left:4px solid var(--deep-blue);
    padding:18px 22px;
    margin:20px 0;
    background:#edf5fc;
    line-height:1.6
}
.alert-danger,.notice.error {
    background:#fff1ef;
    border-color:#e4b2aa;
    border-left-color:#a82929;
    color:#852525
}
.alert-warning {
    background:#fff8e9
}
.alert-success,.notice.success {
    background:#edf9f2;
    border-left-color:#25744d
}
.nav {
    padding:0;
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:8px
}
.nav.flex-column {
    display:flex;
    flex-direction:column
}
.nav-link {
    display:block;
    padding:10px 12px;
    min-height:44px
}
.nav-link.active {
    background:var(--soft);
    font-weight:bold
}
.d-flex {
    display:flex
}
.flex-column {
    flex-direction:column
}
.w-100 {
    width:100%
}
.mt-2 {
    margin-top:12px
}
.mt-3 {
    margin-top:20px
}
.text-secondary {
    color:var(--muted)
}
hr {
    border:0;
    border-top:1px solid var(--line);
    margin:25px 0
}
.field {
    margin-bottom:23px
}
.field small,.help {
    color:var(--muted);
    font-size:13px;
    display:block;
    margin-top:8px
}
.form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 24px
}
.form-grid .full {
    grid-column:1/-1
}
.flow-shell {
    background:var(--soft);
    padding:55px 0 80px;
    min-height:700px
}
.flow-heading h1 {
    font-size:44px
}
.flow-heading>p {
    max-width:700px;
    color:var(--muted)
}
.wizard-layout {
    display:grid;
    grid-template-columns:265px 1fr;
    gap:38px;
    align-items:start
}
.wizard-progress {
    padding:28px;
    background:var(--navy);
    color:#fff;
    border-top:4px solid var(--orange)
}
.wizard-progress h2 {
    color:#fff;
    font-size:20px;
    letter-spacing:-.02em
}
.wizard-progress ol {
    padding:0;
    list-style:none;
    margin:0
}
.wizard-progress li {
    margin-bottom:8px
}
.wizard-progress button {
    display:flex;
    align-items:center;
    gap:13px;
    background:none;
    color:#b7c9dd;
    border:0;
    padding:10px 0;
    min-height:44px;
    width:100%;
    font-size:13px;
    text-align:left
}
.wizard-progress button span {
    display:flex;
    justify-content:center;
    align-items:center;
    width:27px;
    height:27px;
    border:1px solid #596b82;
    border-radius:50%;
    font-size:10px;
    flex-shrink:0
}
.wizard-progress button[aria-current=step] {
    color:#fff;
    font-weight:bold
}
.wizard-progress button[aria-current=step] span {
    background:var(--blue);
    border-color:var(--blue)
}
.wizard-progress p {
    font-size:12px;
    color:#b7c9dd;
    margin:24px 0 0
}
.flow-card {
    background:#fff;
    border:1px solid var(--line);
    padding:38px;
    min-width:0
}
.flow-card h2 {
    font-size:30px
}
.flow-card h3 {
    font-size:22px
}
.flow-card>p {
    color:var(--muted);
    font-size:15px
}
.choice-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:26px 0
}
.choice {
    min-height:90px;
    padding:18px;
    border:1px solid #9caebf;
    background:#fff;
    border-radius:3px;
    color:var(--navy);
    text-align:left;
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    font-size:14px
}
.choice.selected {
    background:#edf6fe;
    border:2px solid var(--deep-blue);
    padding:17px
}
.choice:hover {
    background:var(--soft)
}
.flow-actions {
    display:flex;
    justify-content:space-between;
    gap:18px;
    border-top:1px solid var(--line);
    padding-top:26px;
    margin-top:32px
}
.summary-block {
    border-bottom:1px solid var(--line);
    padding:20px 0
}
.summary-block:first-child {
    padding-top:0
}
.summary-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px
}
.summary-heading h3 {
    margin:0
}
.edit-button {
    min-height:44px;
    border:0;
    background:transparent;
    color:var(--deep-blue);
    font-size:14px;
    text-decoration:underline;
    padding:8px
}
.summary-block dl {
    display:grid;
    grid-template-columns:150px 1fr;
    gap:9px 20px;
    font-size:14px;
    margin-bottom:0
}
.summary-block dt {
    font-weight:700
}
.summary-block dd {
    margin:0;
    overflow-wrap:anywhere;
    white-space:pre-wrap
}
.attachment-list {
    list-style:none;
    padding:0
}
.attachment-list li {
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    border-bottom:1px solid var(--line);
    padding-block:10px;
    font-size:13px;
    overflow-wrap:anywhere
}
.attachment-list button {
    min-height:44px
}
.file-input {
    border:1px dashed #9caebf;
    padding:20px;
    background:var(--soft)
}
.portal-shell,.admin-shell {
    background:var(--soft);
    min-height:700px;
    padding-block:50px
}
.app-heading {
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:center;
    margin-bottom:30px
}
.app-heading h1 {
    font-size:40px;
    margin-bottom:10px
}
.app-heading p {
    margin-bottom:0;
    color:var(--muted)
}
.tabs {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:28px
}
.tabs button {
    background:#fff;
    color:var(--navy);
    border:1px solid var(--line);
    padding:10px 20px;
    min-height:44px;
    border-radius:3px;
    font-weight:700;
    font-size:14px
}
.tabs button.active {
    background:var(--navy);
    color:white;
    border-color:var(--navy)
}
.metric-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:28px
}
.metric {
    background:#fff;
    border:1px solid var(--line);
    padding:25px
}
.metric small {
    display:block;
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.06em
}
.metric strong {
    display:block;
    font-size:30px;
    color:var(--navy);
    margin-top:6px;
    letter-spacing:-.035em
}
.table-wrap {
    overflow-x:auto
}
.data-table {
    width:100%;
    border-collapse:collapse;
    text-align:left;
    font-size:14px
}
.data-table th {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--muted);
    background:var(--soft)
}
.data-table th,.data-table td {
    padding:15px 12px;
    border-bottom:1px solid var(--line)
}
.data-table a {
    min-height:44px;
    display:inline-flex;
    align-items:center
}
.badge {
    display:inline-block;
    border-radius:3px;
    background:#eaf2f9;
    color:#164e7a;
    font-size:12px;
    font-weight:700;
    padding:4px 10px;
    white-space:nowrap
}
.badge.overdue,.badge.failed {
    background:#fff0e9;
    color:#9b3510
}
.badge.paid {
    background:#edf8f1;
    color:#276044
}
.empty-state {
    text-align:center;
    padding:45px 20px;
    color:var(--muted)
}
.empty-state h2,.empty-state h3 {
    color:var(--navy)
}
.invoice-details {
    max-width:850px;
    margin-inline:auto
}
.invoice-details dl {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}
.invoice-details dd {
    margin:0;
    font-weight:bold
}
.invoice-details dt {
    font-size:12px;
    color:var(--muted)
}
.balance-box {
    background:var(--soft);
    padding:28px;
    margin:25px 0
}
.balance-box strong {
    font-size:40px;
    display:block;
    color:var(--navy)
}
.admin-record {
    padding:23px;
    border:1px solid var(--line);
    margin-bottom:16px;
    background:#fff
}
.admin-record summary {
    min-height:44px;
    font-weight:700;
    cursor:pointer;
    overflow-wrap:anywhere
}
.admin-record h3 {
    font-size:20px
}
.admin-record pre {
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font-size:12px
}
.status-line {
    font-size:13px;
    color:var(--muted)
}
.check-row {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:44px
}
.check-row label {
    margin:0
}
.loading {
    padding:50px;
    color:var(--muted);
    text-align:center
}
.loading:before {
    content:'';
    display:inline-block;
    width:18px;
    height:18px;
    border:2px solid var(--line);
    border-top-color:var(--deep-blue);
    border-radius:50%;
    margin-right:12px;
    animation:spin 1s linear infinite
}
@keyframes spin {
    to {
        transform:rotate(360deg)
    }
}
#blazor-error-ui {
    display:none;
    background:#fff5de;
    bottom:0;
    box-shadow:0 -1px 2px #0002;
    padding:15px 50px 15px 20px;
    position:fixed;
    width:100%;
    z-index:1000;
    font-size:14px
}
#blazor-error-ui .dismiss {
    position:absolute;
    right:14px;
    top:5px;
    background:none;
    border:0;
    min-height:44px;
    font-size:24px
}
.contact-grid {
    display:grid;
    grid-template-columns:.75fr 1.25fr;
    gap:60px
}
.contact-grid .contact-aside p {
    color:var(--muted)
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
@media(min-width:1441px) {
    .hero-copy {
        padding-left:max(40px,calc((100vw - 1240px)/2));
        padding-right:70px
    }
}
@media(max-width:1220px) {
    .brand>span {
        display:none
    }
    .desktop-nav {
        gap:16px
    }
    .header-inner {
        gap:18px
    }
    .header-actions {
        gap:14px
    }
    .container {
        width:calc(100% - 64px)
    }
    .hero-copy {
        padding-left:32px
    }
    .split {
        gap:50px
    }
}
@media(max-width:1000px) {
    .desktop-nav {
        display:none
    }
    .header-actions {
        margin-left:auto
    }
    .hero {
        min-height:560px
    }
    .hero h1 {
        font-size:48px
    }
    .hero-copy {
        padding-top:60px
    }
    .hero-description {
        font-size:16px
    }
    .sector-grid {
        gap:18px
    }
    .sector-card>div {
        padding:20px
    }
    .sector-card h3 {
        font-size:20px
    }
    .footer-grid {
        gap:25px
    }
    .three-grid {
        gap:20px
    }
    .service-cards>a {
        padding:25px
    }
    .service-cards h3 {
        font-size:22px
    }
    .wizard-layout {
        grid-template-columns:220px 1fr;
        gap:25px
    }
    .flow-card {
        padding:28px
    }
    .wizard-progress {
        padding:22px
    }
    .contact-grid {
        gap:35px
    }
}
@media(max-width:760px) {
    .container {
        width:calc(100% - 40px)
    }
    .section {
        padding-block:55px
    }
    .brand-strip {
        padding:6px 0;
        font-size:8px;
        letter-spacing:.04em;
        line-height:1.55
    }
    .header-inner {
        min-height:94px;
        gap:15px
    }
    .brand img {
        width:72px;
        height:72px
    }
    .header-actions .button {
        display:none
    }
    .header-actions .portal-link {
        font-size:11px
    }
    .hero {
        grid-template-columns:1fr
    }
    .hero-copy {
        padding:44px 20px 40px
    }
    .hero h1 {
        font-size:43px;
        line-height:1.08
    }
    .hero-description {
        font-size:15px;
        max-width:500px
    }
    .hero-photo {
        height:280px
    }
    .photo-marker {
        top:18px;
        left:20px;
        font-size:9px;
        padding:8px 12px
    }
    .hero-photo figcaption {
        font-size:10px;
        bottom:12px;
        right:12px
    }
    .hero-note {
        font-size:11px
    }
    .section-heading {
        display:block;
        margin-bottom:28px
    }
    .section-heading>p {
        margin-top:18px;
        font-size:15px
    }
    .section-heading>.text-link {
        margin-top:18px
    }
    .sector-grid {
        grid-template-columns:1fr;
        gap:24px
    }
    .sector-card>img {
        aspect-ratio:1.75
    }
    .sector-card h3 {
        font-size:23px
    }
    .sector-card>div {
        padding:25px
    }
    .sector-invitation {
        display:block
    }
    .sector-invitation p {
        font-size:14px
    }
    .three-grid {
        grid-template-columns:1fr;
        gap:22px
    }
    .service-cards h3 {
        min-height:0
    }
    .service-cards .number {
        margin-bottom:25px
    }
    .split {
        grid-template-columns:1fr;
        gap:35px
    }
    .approach-steps li {
        gap:20px
    }
    .invitation {
        padding-block:48px
    }
    .invitation-inner {
        display:block
    }
    .invitation .button {
        margin-top:25px
    }
    .invitation p {
        font-size:15px
    }
    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap:30px 25px
    }
    .footer-grid>div:first-child {
        grid-column:1/-1
    }
    .footer-logo {
        width:120px;
        height:120px
    }
    .footer-bottom {
        gap:20px;
        align-items:center;
        font-size:10px
    }
    .site-footer {
        padding-top:42px
    }
    .page-header {
        padding-block:44px
    }
    .page-header h1 {
        font-size:42px
    }
    .page-header p:not(.eyebrow) {
        font-size:16px
    }
    .service-list article,.process-list article {
        grid-template-columns:35px 1fr;
        gap:15px;
        padding:30px 0
    }
    .service-list h2,.process-list h2 {
        font-size:28px
    }
    .callout {
        padding:25px
    }
    .callout h2 {
        font-size:27px
    }
    .account-page h1 {
        font-size:36px
    }
    .row {
        gap:25px
    }
    .col-lg-6,.col-md-6 {
        min-width:0;
        flex-basis:100%
    }
    .flow-shell {
        padding:35px 0 55px
    }
    .flow-heading h1 {
        font-size:36px
    }
    .wizard-layout {
        grid-template-columns:1fr;
        gap:20px
    }
    .wizard-progress {
        padding:20px
    }
    .wizard-progress h2 {
        display:none
    }
    .wizard-progress ol {
        display:flex;
        justify-content:space-between;
        gap:5px
    }
    .wizard-progress li {
        margin:0
    }
    .wizard-progress button {
        width:32px;
        justify-content:center;
        padding:0;
        min-height:44px;
        font-size:0;
        gap:0
    }
    .wizard-progress button span {
        width:29px;
        height:29px;
        font-size:11px
    }
    .wizard-progress p {
        margin-top:10px;
        font-size:11px
    }
    .flow-card {
        padding:24px
    }
    .flow-card h2 {
        font-size:26px
    }
    .form-grid {
        grid-template-columns:1fr;
        gap:0
    }
    .choice-grid {
        grid-template-columns:1fr
    }
    .choice {
        min-height:64px
    }
    .flow-actions {
        gap:12px
    }
    .flow-actions .button {
        padding-inline:16px;
        font-size:13px;
        gap:10px
    }
    .summary-block dl {
        grid-template-columns:1fr;
        gap:3px
    }
    .summary-block dd {
        margin-bottom:10px
    }
    .portal-shell,.admin-shell {
        padding-block:35px
    }
    .app-heading {
        display:block
    }
    .app-heading h1 {
        font-size:34px
    }
    .app-heading .text-link {
        margin-top:12px
    }
    .metric-grid {
        grid-template-columns:1fr;
        gap:12px
    }
    .metric {
        padding:20px
    }
    .metric strong {
        font-size:30px
    }
    .tabs button {
        padding-inline:14px;
        font-size:13px
    }
    .table-wrap {
        margin-inline:-12px
    }
    .data-table th,.data-table td {
        padding:12px 9px;
        font-size:12px
    }
    .invoice-details dl {
        grid-template-columns:1fr
    }
    .contact-grid {
        grid-template-columns:1fr;
        gap:30px
    }
    .notice {
        padding:15px;
        font-size:14px
    }
    .admin-record {
        padding:18px
    }
    .balance-box {
        padding:22px
    }
    .balance-box strong {
        font-size:34px
    }
}
@media(max-width:360px) {
    .container {
        width:calc(100% - 32px)
    }
    .hero-copy {
        padding-inline:16px
    }
    .hero h1 {
        font-size:36px
    }
    .page-header h1 {
        font-size:36px
    }
    .header-inner {
        gap:10px
    }
    .brand img {
        width:65px;
        height:65px
    }
    .header-actions .portal-link {
        font-size:10px
    }
    .flow-card {
        padding:20px
    }
    .flow-actions {
        flex-wrap:wrap
    }
    .flow-actions .button {
        flex:1
    }
    .footer-grid {
        grid-template-columns:1fr
    }
    .footer-grid>div:first-child {
        grid-column:auto
    }
    .choice {
        font-size:13px
    }
    .app-heading h1 {
        font-size:30px
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
    *,*:before,*:after {
        animation:none!important;
        transition:none!important
    }
}
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus {
    outline:none
}
.brand-strip,.invitation {
    background:var(--deep-blue)
}
.hero h1 {
    font-size:clamp(40px,4.2vw,60px)
}
@media(max-width:760px) {
    .hero h1 {
        font-size:37px
    }
}
@media(max-width:360px) {
    .hero h1 {
        font-size:33px
    }
}
.download-action { min-width: 0; } .download-action .notice { max-width: 420px; white-space: normal; } .flow-actions { flex-wrap: wrap; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { box-shadow: 0 0 0 6px #fff; }
kbd { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 8px 12px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }
/* Signature dashboard and account system */
.site-shell { min-height:100vh; min-height:100dvh; display:flex; flex-direction:column }
.site-shell>main { flex:1; min-width:0; display:flex; flex-direction:column }
.site-shell>.site-footer { margin-top:auto }
.account-page { max-width:1240px; min-height:0; padding-block:48px; width:min(1240px,calc(100% - 80px)) }
.icon { display:inline-block; flex-shrink:0; vertical-align:middle; width:20px; height:20px }
.dashboard-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; align-items:start }
.dashboard-sidebar { position:sticky; top:24px; min-width:0 }
.dashboard-content { min-width:0 }
.section-navigation nav { display:flex; flex-direction:column; gap:5px }
.section-navigation nav>a { min-height:48px; border-radius:8px; text-decoration:none; font-size:14px; font-weight:700; color:var(--muted); padding:12px 14px; display:flex; gap:12px; align-items:center; line-height:1.4 }
.section-navigation nav>a:hover { background:#e7eef5; color:var(--navy) }
.section-navigation nav>a.active { background:var(--navy); color:#fff; box-shadow:inset 3px 0 var(--orange) }
.section-selector,.section-current { display:none }
.invoice-records .record-identity>a>.icon { display:none }
.dashboard-card,.dashboard-content>.flow-card,.account-content { background:#fff; border:1px solid var(--line); border-radius:12px; padding:30px; box-shadow:0 3px 16px #09193005 }
.dashboard-card h3 { font-size:20px; margin-bottom:12px }
.dashboard-card>.icon { color:var(--deep-blue); margin-bottom:18px; width:26px; height:26px }
.account-content h2,.dashboard-content h2 { font-size:28px; line-height:1.2; margin-bottom:16px }
.account-content h3 { font-size:22px; line-height:1.25 }
.account-content>p { color:var(--muted) }
.account-content .row { gap:20px }
.account-content .col-xl-6 { width:100%; max-width:500px; min-width:0 }
.account-content form { max-width:550px }
.account-content .form-floating label { margin-bottom:8px }
.account-content input[disabled] { background:var(--soft); color:var(--muted) }
.account-content .btn { width:auto; min-width:150px; gap:10px; border-radius:6px }
.account-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.account-cards .dashboard-card { padding:22px; display:flex; flex-direction:column; align-items:start }
.account-cards .text-link { margin-top:auto }
.action-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px }
.button,.btn { border-radius:6px; gap:10px }
.button.danger,.btn-danger { background:#a12d2d; color:#fff }
.button.secondary:hover,.btn-link:hover { color:var(--navy); background:#e7eef5 }
.text-link:is(button) { background:transparent; border:0; color:var(--deep-blue); text-decoration:underline; padding:4px 8px }
.break-word,.status-line,.account-content { overflow-wrap:anywhere }
.security-status { display:flex; gap:20px; align-items:start; padding:25px; border:1px solid #bdd9ca; border-radius:10px; background:#f0f8f4 }
.security-status>.icon { color:#226144; width:30px; height:30px }
.security-status p { margin-bottom:12px }
.advanced-actions { border:1px solid var(--line); border-radius:8px; padding:12px 20px }
.advanced-actions summary { min-height:44px; cursor:pointer; font-weight:700 }
.advanced-actions[open] summary { margin-bottom:16px }
.recovery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:500px; margin:24px 0 }
.recovery-code { text-align:center; border:1px solid var(--line); padding:12px; font-size:17px; border-radius:6px; background:var(--soft) }
.portal-shell,.admin-shell { flex:1; min-height:0; padding-block:40px }
.app-heading h1 { font-size:clamp(30px,3vw,40px); letter-spacing:-.04em; margin-bottom:12px }
.app-heading .eyebrow { margin-bottom:10px }
.app-heading>div>p:last-child { margin-bottom:0; color:var(--muted) }
.app-heading { margin-bottom:30px }
.metric-grid { gap:16px; margin-bottom:24px }
.metric { border-radius:10px; padding:25px; border:1px solid var(--line); border-top:3px solid var(--deep-blue) }
.metric strong { font-size:30px; letter-spacing:-.02em; overflow-wrap:anywhere }
.metric small { color:var(--muted); font-size:13px }
.admin-record { border:1px solid var(--line); border-radius:8px; padding:18px 20px; margin:12px 0; background:#fff }
.admin-record summary { min-height:44px; cursor:pointer; font-size:15px; font-weight:700; color:var(--navy); overflow-wrap:anywhere }
.admin-record summary .badge { margin:0 6px }
.record-detail { border-top:1px solid var(--line); margin-top:14px; padding-top:22px }
.record-detail .summary-block:last-of-type { border-bottom:0 }
.attachment-section { background:var(--soft); border-radius:8px; padding:20px; margin-top:20px }
.attachment-list li small { display:block; color:var(--muted) }
.role-actions { border-top:1px solid var(--line); padding-top:24px; margin-top:24px }
fieldset { border:0; padding:0; min-width:0 }
legend { font-size:20px; font-weight:700; color:var(--navy); margin-bottom:15px }
.list-tools { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:24px 0 }
.list-tools>div:first-child { flex:1 1 180px }
.list-tools>div { flex:0 1 180px; min-width:0 }
.list-tools>button { min-height:48px }
.pager { border-top:1px solid var(--line); display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center; margin-top:24px; padding-top:20px; font-size:13px }
.search-row { display:flex; gap:12px; margin-bottom:16px }
.photography-disclosure { flex-basis:100%; color:#c3d1e0; font-size:12px; margin:0 }
.footer-bottom { flex-wrap:wrap; column-gap:20px; row-gap:12px }
.account-content .table { width:100%; border-collapse:collapse }
.account-content .table td { border-bottom:1px solid var(--line); padding:16px 8px }
.account-content .table td>form>div { display:flex; flex-wrap:wrap; gap:10px }
.notice .edit-button { color:inherit }
.check-row { display:flex; align-items:center; min-height:44px; padding-block:8px; line-height:1.5 }
.badge { border-radius:5px; font-size:12px }
@media(max-width:1050px) { .account-cards { grid-template-columns:1fr } .account-cards .dashboard-card { gap:6px } }
@media(max-width:760px) {
    .dashboard-layout { grid-template-columns:minmax(0,1fr); gap:20px }
    .dashboard-sidebar { position:static }
    .account-page { width:calc(100% - 36px); padding-block:30px }
    .account-page h1 { font-size:32px }
    .dashboard-card,.dashboard-content>.flow-card,.account-content { padding:22px; border-radius:10px }
    .app-heading { flex-direction:column; gap:12px; align-items:start }
    .metric-grid { grid-template-columns:minmax(0,1fr) }
    .responsive-table { display:block; min-width:0; width:100% }
    .responsive-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden }
    .responsive-table tbody { display:grid; gap:16px }
    .responsive-table tr { display:block; border:1px solid var(--line); border-radius:8px; padding:10px 16px }
    .responsive-table td { display:block; border:0; padding:9px 0; overflow-wrap:anywhere }
    .responsive-table td::before { content:attr(data-label); display:block; font-size:12px; font-weight:700; color:var(--muted); margin-bottom:3px }
    .responsive-table td a { display:inline-flex; min-height:44px; align-items:center }
    .data-table.responsive-table th,.data-table.responsive-table td { white-space:normal }
    .list-tools>div { flex:1 1 100% }
    .list-tools>button { width:100% }
    .attachment-list li { flex-direction:column; align-items:start; gap:4px }
    .admin-record { padding:16px }
    .security-status { padding:20px; gap:12px }
    .account-content .table,.account-content .table tbody,.account-content .table tr,.account-content .table td { display:block }
    .recovery-grid { gap:8px }
    .recovery-code { font-size:15px; padding:10px 5px }
    .photography-disclosure { font-size:12px }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto } * { transition:none!important } }
/* Portal workspaces and accessible record dialogs */
.workspace-label { padding:4px 14px 16px; color:var(--muted); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em }
.sidebar-note { display:flex; gap:10px; align-items:start; margin:26px 14px; border-top:1px solid var(--line); padding-top:20px; color:var(--muted); font-size:12px; line-height:1.6 }
.workspace-banner { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:30px; margin-bottom:24px; background:linear-gradient(120deg,#091930,#123b61); border-radius:12px; border-left:4px solid var(--orange); color:#fff }
.workspace-banner h2 { color:#fff; font-size:28px; line-height:1.2; max-width:580px; margin:8px 0 12px }
.workspace-banner .eyebrow { color:#9ed3ff; margin:0 }
.workspace-banner p:last-child { margin:0; color:#d4e2ef; font-size:14px }
.workspace-banner>.button { flex-shrink:0; border:1px solid #6da6d2 }
.overview-grid,.record-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px }
.metric { position:relative; display:flex; flex-direction:column; align-items:start; gap:8px; min-width:0; background:#fff }
.metric>.icon { margin-bottom:4px; color:var(--deep-blue); padding:9px; box-sizing:content-box; background:#eaf3fb; border-radius:8px }
.metric-link { text-decoration:none; color:var(--ink); transition:box-shadow .15s }
.metric-link:hover { box-shadow:0 5px 20px #09193014; border-color:#86b3d5 }
.metric-link>span { font-size:12px; font-weight:700; color:var(--deep-blue); margin-top:5px }
.metric-link>span>.icon { width:15px; height:15px; margin-left:6px }
.section-heading { display:flex; justify-content:space-between; align-items:start; gap:20px; margin-bottom:20px }
.section-heading h2 { margin-bottom:8px }
.section-heading .eyebrow { font-size:10px; margin-bottom:10px }
.section-heading p:last-child { margin-bottom:0 }
.section-heading>.button { flex-shrink:0 }
.card-heading { display:flex; gap:14px; justify-content:space-between; align-items:center; margin-bottom:18px }
.card-heading h3 { margin:0; flex:1 }
.card-heading>.icon { color:var(--deep-blue) }
.record-symbol { display:inline-flex; flex-shrink:0; justify-content:center; align-items:center; width:42px; height:42px; background:#eaf3fb; border:1px solid #d3e4f1; border-radius:10px; color:var(--deep-blue) }
.record-summary { display:flex; align-items:center; gap:16px; min-width:0; width:100% }
.record-summary>div { display:flex; flex:1; flex-direction:column; gap:3px; min-width:0 }
.record-summary small { font-size:11px; font-weight:500; color:var(--muted) }
.record-summary strong { font-size:17px }
.record-summary>div>span { color:var(--muted); font-size:12px; font-weight:400 }
.inquiry-record>summary { list-style:none; display:flex; align-items:center }
.inquiry-record>summary::-webkit-details-marker { display:none }
.inquiry-record>summary::after { content:'+'; margin-left:14px; color:var(--deep-blue); font-size:24px; font-weight:400 }
.inquiry-record[open]>summary::after { content:'−' }
.project-card { border:1px solid var(--line); border-radius:10px; padding:24px; min-width:0; display:flex; flex-direction:column; align-items:stretch; overflow-wrap:anywhere; background:linear-gradient(#fff,#fcfdff) }
.project-card h3 { font-size:21px; line-height:1.3; margin-bottom:10px }
.project-card>p { margin-bottom:8px; font-size:14px }
.project-card>.action-row { margin-top:auto; padding-top:18px; border-top:1px solid var(--line) }
.project-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin-top:auto; padding-top:20px }
.project-progress span { border-top:3px solid var(--line); padding-top:9px; font-size:10px; color:var(--muted); text-align:center }
.project-progress span.current { color:var(--deep-blue); font-weight:700; border-color:var(--deep-blue) }
.account-list-record { display:flex; align-items:center; flex-wrap:wrap; gap:16px }
.record-copy { flex:1; min-width:160px }
.record-copy h3 { margin:0 0 4px; font-size:16px; line-height:1.5; overflow-wrap:anywhere }
.record-copy p { margin:0 }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; margin:12px 0 28px }
.detail-grid>div { padding:18px 0; border-bottom:1px solid var(--line); min-width:0 }
.detail-grid dt { color:var(--muted); font-weight:600; font-size:12px; margin-bottom:6px }
.detail-grid dd { margin:0; font-size:15px; overflow-wrap:anywhere }
.deleted-toggle { margin:-8px 0 20px; gap:10px; font-size:13px }
.deleted-toggle .help { margin:0; font-weight:400 }
.icon-button { display:inline-flex; justify-content:center; align-items:center; width:44px; height:44px; padding:10px; border:1px solid var(--line); border-radius:7px; background:white; color:var(--muted); cursor:pointer; flex-shrink:0 }
.icon-button:hover { background:var(--soft) }
.button.subtle-danger,.icon-button.subtle-danger { color:#982b2b; background:#fff; border:1px solid #eccccc }
.activity-list { list-style:none; margin:0; padding:0 }
.activity-list li { display:flex; align-items:start; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere }
.activity-list li>.icon { color:var(--deep-blue); flex-shrink:0; margin-top:3px }
.activity-list p { margin:6px 0 0 }
.empty-state { padding:34px 18px; text-align:center }
.empty-state .record-symbol { margin-bottom:18px }
.empty-state h3 { font-size:21px; margin-bottom:12px }
.empty-state p { color:var(--muted); font-size:14px; max-width:460px; margin:0 auto }
.email-summary { display:flex; gap:18px; align-items:center; flex-wrap:wrap; padding:20px 0; border-bottom:1px solid var(--line); margin-bottom:20px }
.email-summary p { margin:0 }
.account-email { font-size:17px; font-weight:700; overflow-wrap:anywhere }
.has-dialog { overflow:hidden }
.modal-dialog { width:min(680px,calc(100vw - 40px)); max-width:calc(100vw - 40px); max-height:calc(100dvh - 48px); padding:0; margin:auto; border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--ink); box-shadow:0 24px 90px #0005; overflow:auto; overscroll-behavior:contain }
.modal-dialog::backdrop { background:#07182dbb; backdrop-filter:blur(3px) }
.modal-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; padding:25px 28px 22px; border-bottom:1px solid var(--line); border-top:4px solid var(--orange); background:#f8fafc }
.modal-heading .eyebrow { font-size:10px; margin:0 0 8px }
.modal-heading h2 { font-size:25px; line-height:1.25; margin:0; overflow-wrap:anywhere }
.modal-content { padding:26px 28px }
.modal-content form,.account-content .modal-content form { max-width:none }
.modal-content .col-xl-6 { max-width:none }
.modal-content .form-grid { margin-bottom:0 }
.modal-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:12px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line) }
.modal-content h3 { font-size:20px; line-height:1.4 }
.modal-content .field small { display:block; color:var(--muted); margin-top:8px; font-size:12px; line-height:1.6 }
.modal-content .notice { font-size:14px }
.modal-content .role-actions { margin-top:24px }
@media(max-width:1100px) { .overview-grid,.record-grid { grid-template-columns:minmax(0,1fr) } .workspace-banner { flex-direction:column; align-items:start } }
@media(max-width:760px) {
    .workspace-label,.sidebar-note { display:none }
    .workspace-banner { padding:24px 20px; gap:18px }
    .workspace-banner h2 { font-size:25px }
    .section-heading { flex-direction:column; gap:16px }
    .section-heading>.button { width:100%; justify-content:center }
    .record-summary { gap:10px; flex-wrap:wrap }
    .record-summary .record-symbol { display:none }
    .record-summary strong { font-size:16px }
    .record-summary .badge { margin:8px 0 0 }
    .project-card { padding:20px }
    .detail-grid { grid-template-columns:minmax(0,1fr); gap:0 }
    .deleted-toggle { align-items:start; flex-wrap:wrap }
    .deleted-toggle .help { flex-basis:100%; padding-left:28px }
    .account-list-record>.button { width:100%; justify-content:center }
    .modal-dialog { width:calc(100vw - 20px); max-width:calc(100vw - 20px); max-height:calc(100dvh - 24px); border-radius:10px }
    .modal-heading { padding:20px 18px }
    .modal-content { padding:22px 18px }
    .modal-heading h2 { font-size:22px }
    .modal-actions>.button { flex:1; justify-content:center; min-width:100px }
    .modal-content .form-grid { grid-template-columns:minmax(0,1fr) }
    .modal-content .search-row { flex-direction:column }
    .email-summary { align-items:start; flex-direction:column; gap:12px }
    .activity-list { font-size:14px }
}
@media(prefers-reduced-motion:reduce) { .metric-link { transition:none } }

/* Shared mobile navigation. Native dialog keeps the background inert. */
.has-navigation-drawer { overflow:hidden }
.navigation-drawer { position:fixed; inset:0 0 0 auto; margin:0; padding:0; width:min(400px,calc(100vw - 24px)); max-width:none; height:100vh; height:100dvh; max-height:none; border:0; border-left:1px solid var(--line); color:var(--ink); background:#fff; box-shadow:-16px 0 64px #09193026; overflow:hidden; overscroll-behavior:contain; transform:translateX(100%); transition:transform .2s ease }
.navigation-drawer[open] { display:flex; flex-direction:column }
.navigation-drawer[data-visible="true"] { transform:translateX(0) }
.navigation-drawer::backdrop { background:#07182db3; backdrop-filter:blur(3px) }
.navigation-drawer-heading { display:flex; align-items:start; justify-content:space-between; flex-shrink:0; gap:12px; padding:calc(24px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 20px 24px; border-bottom:1px solid var(--line) }
.navigation-drawer-heading .eyebrow { margin:0 0 8px; font-size:11px }
.navigation-drawer-heading h2 { font-size:24px; line-height:1.2; letter-spacing:-.03em; margin:0 }
.navigation-drawer-content { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:12px max(20px,env(safe-area-inset-right)) 20px 20px }
.drawer-links a,.drawer-account-links a { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px; border-radius:8px; color:var(--navy); font-weight:700; text-decoration:none; line-height:1.4 }
.drawer-links a { justify-content:space-between; min-height:56px; font-size:19px }
.drawer-links a .icon { color:var(--muted); width:18px }
.drawer-links a:hover,.drawer-account-links a:hover,.drawer-links a.active,.drawer-account-links a.active { color:var(--deep-blue); background:#edf5fc }
.drawer-account-links { margin-top:20px; padding-top:24px; border-top:1px solid var(--line) }
.drawer-account-links .eyebrow { margin:0 12px 8px; color:var(--muted); font-size:11px }
.drawer-account-links a { font-size:15px }
.navigation-drawer-footer { flex-shrink:0; padding:16px max(24px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) 24px; border-top:1px solid var(--line); background:var(--soft) }
.navigation-drawer-footer .button { width:100%; justify-content:space-between }
.navigation-drawer-footer p { margin:10px 0 0; color:var(--muted); font-size:14px; text-align:center }
.portal-toolbar { display:flex; align-items:center; flex-shrink:0; flex-wrap:wrap; gap:12px }
.wizard-current-step { display:none }

@media(max-width:1000px) {
    :root { --mobile-header-height:calc(80px + env(safe-area-inset-top)) }
    html { scroll-padding-top:calc(var(--mobile-header-height) + 20px) }
    .site-header { position:sticky; top:0; z-index:60; box-shadow:0 2px 12px #09193006 }
    .header-inner { min-height:var(--mobile-header-height); padding-top:env(safe-area-inset-top); gap:12px }
    .brand img { width:60px; height:60px }
    .header-actions { gap:12px }
    .mobile-menu-toggle { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:10px 12px; font-size:15px; font-weight:700; line-height:1.4; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--navy) }
    .mobile-menu-toggle:hover { background:var(--soft) }
    .dashboard-sidebar { top:calc(var(--mobile-header-height) + 24px) }
}

/* One mobile rhythm for public pages, forms, and workspaces. */
@media(max-width:760px) {
    body { font-size:16px; line-height:1.6 }
    .container,.account-page { width:calc(100% - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right))); margin-left:max(16px,env(safe-area-inset-left)); margin-right:max(16px,env(safe-area-inset-right)) }
    .header-inner { gap:8px }
    .header-actions .portal-link { min-height:44px; padding-inline:8px; font-size:14px }
    .portal-label-desktop { display:none }
    .brand img { width:60px; height:60px }
    .section { padding-block:48px }
    .portal-shell,.admin-shell,.flow-shell { padding-block:28px 44px }
    .account-page { padding-block:28px 44px }
    h1,.page-header h1,.flow-heading h1,.account-page h1,.app-heading h1 { font-size:clamp(28px,7.5vw,34px); line-height:1.15; letter-spacing:-.035em; margin-bottom:12px; overflow-wrap:anywhere }
    .hero h1 { font-size:clamp(32px,8.5vw,40px); line-height:1.12 }
    .hero-copy { padding:36px max(16px,env(safe-area-inset-right)) 36px max(16px,env(safe-area-inset-left)) }
    .hero-description,.hero-note,.invitation p,.sector-invitation p { font-size:16px }
    .hero-note { font-size:14px }
    .hero-description { line-height:1.65 }
    .page-header { padding-block:36px }
    .app-heading { display:flex; align-items:stretch; gap:16px; margin-bottom:20px }
    .app-heading .text-link { margin-top:0 }
    .app-heading>div:first-child { min-width:0 }
    .app-heading .eyebrow { font-size:11px; margin-bottom:10px }
    .portal-toolbar { display:none }
    .dashboard-layout { gap:16px }
    .dashboard-sidebar { position:static }
    .section-navigation { position:relative; min-width:0; width:100%; z-index:30 }
    .section-selector { width:100%; min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border:1px solid #c9d5e2; border-radius:12px; background:#fff; color:var(--navy); font-size:16px; font-weight:700; line-height:1.4; text-align:left; box-shadow:0 2px 8px #09193004 }
    .section-selector-value { display:flex; align-items:center; gap:12px; min-width:0 }
    .section-selector-value>.icon { color:var(--deep-blue) }
    .section-selector>.icon { width:18px; height:18px; color:var(--muted); transition:transform .15s ease }
    .section-selector[aria-expanded="true"] { border-color:var(--deep-blue); box-shadow:0 0 0 3px #097edd14 }
    .section-selector[aria-expanded="true"]>.icon { transform:rotate(180deg) }
    .section-navigation nav { display:none; position:absolute; inset:calc(100% + 8px) 0 auto; max-height:min(360px,var(--section-menu-height,50dvh)); overflow-y:auto; overscroll-behavior:contain; flex-direction:column; gap:4px; padding:8px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 32px #09193024 }
    .section-navigation[data-section-open="true"] nav { display:flex }
    .section-navigation[data-section-placement="above"] nav { top:auto; bottom:calc(100% + 8px) }
    .section-navigation nav>a { flex-shrink:0; gap:12px; min-height:48px; padding:12px; font-size:15px; line-height:1.4; border-radius:8px; color:var(--ink) }
    .section-navigation nav>a>span:not(.section-current) { flex:1; min-width:0 }
    .section-navigation nav>a.active { background:#edf5fc; color:var(--deep-blue); box-shadow:none }
    .section-current { display:inline-flex; margin-left:auto; color:var(--deep-blue) }
    .section-navigation nav>a:not(.active) .section-current { visibility:hidden }
    .flow-card,.dashboard-card,.dashboard-content>.flow-card,.account-content { padding:20px; border-radius:12px }
    .flow-card h2,.dashboard-content h2,.account-content h2 { font-size:24px; line-height:1.25 }
    .flow-card h3,.account-content h3 { font-size:20px; line-height:1.3 }
    .section-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; margin-bottom:20px }
    .section-heading>div { min-width:0 }
    .section-heading>.icon { grid-column:2; grid-row:1; color:var(--deep-blue); margin-top:3px }
    .section-heading>.button,.section-heading>.text-link,.section-heading>p { grid-column:1/-1; margin-top:0 }
    .section-heading .eyebrow { font-size:11px }
    .help,.field small,.modal-content .field small,.status-line,.attachment-list li,.empty-state p,.sidebar-note,.deleted-toggle,.pager,.record-summary>div>span { font-size:14px; line-height:1.55 }
    .button,.btn { font-size:15px; min-height:48px; padding:12px 18px; gap:10px; border-radius:8px; text-align:center }
    .action-row>.button,.action-row>.btn { flex:1 1 140px }
    .flow-actions { gap:12px; margin-top:24px; padding-top:20px }
    .flow-actions .button { flex:1 1 160px; font-size:15px; padding-inline:14px }
    .download-action { max-width:100% }
    .flow-actions>.download-action { flex:1 1 180px }
    .flow-actions>.download-action .button { width:100% }
    input:not([type=checkbox]):not([type=radio]),textarea,select { font-size:16px; border-radius:8px }
    label,.form-label { font-size:14px; line-height:1.5 }
    .notice,.alert { margin-block:16px; padding:16px; border-radius:8px; font-size:14px; overflow-wrap:anywhere }
    .workspace-banner { gap:16px; padding:20px; margin-bottom:16px }
    .workspace-banner h2 { font-size:23px; margin-bottom:10px }
    .workspace-banner>.button { min-height:44px }
    .metric-grid { gap:10px; margin-bottom:20px }
    .metric { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:2px 14px; padding:16px; border-top-width:1px }
    .metric>.icon { grid-row:1/3; margin:0; width:20px; height:20px; padding:9px }
    .metric small { grid-column:2; text-transform:none; letter-spacing:0; line-height:1.4; font-size:13px }
    .metric strong { grid-column:2; font-size:24px; line-height:1.3; margin:0 }
    .metric-link>span { grid-column:2; font-size:14px }
    .account-cards { gap:12px }
    .account-cards .dashboard-card { padding:16px }
    .account-cards .dashboard-card>.icon { margin-bottom:6px }
    .account-cards .dashboard-card p { margin-bottom:12px }
    .table-wrap { margin-inline:0 }
    .data-table.responsive-table td { font-size:14px; line-height:1.55 }
    .responsive-table tr { padding:12px 16px; border-radius:10px }
    .responsive-table td::before { font-size:12px; letter-spacing:.02em }
    .empty-state { padding:24px 0 }
    .empty-state h3 { font-size:20px }
    .balance-box { padding:20px; border-radius:10px }
    .balance-box strong { font-size:30px; overflow-wrap:anywhere }
    .invoice-details,.invoice-details dd,.record-copy,.email-summary,.card-heading { min-width:0; overflow-wrap:anywhere }
    .project-progress { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
    .project-progress span { font-size:12px }
    .wizard-progress { border-radius:12px; padding:16px 12px }
    .wizard-current-step { display:block; margin:0 0 12px; padding-inline:4px; line-height:1.5 }
    .wizard-current-step span { display:block; font-size:12px; color:#c6d9ed }
    .wizard-current-step strong { display:block; font-size:16px; color:#fff }
    .wizard-progress ol { display:grid; grid-template-columns:repeat(6,minmax(44px,1fr)); gap:0 }
    .wizard-progress button { width:100%; min-width:44px; min-height:44px }
    .wizard-progress>p:not(.wizard-current-step) { font-size:14px; line-height:1.5; margin:12px 4px 0 }
    .choice { font-size:15px; line-height:1.4; border-radius:8px }
    .summary-block dl { font-size:14px }
    .footer-grid { gap:24px }
    .site-footer p,.site-footer a,.footer-signout { font-size:14px; line-height:1.6 }
    .site-footer a,.footer-signout { min-height:44px }
    .footer-bottom { font-size:12px }
    .footer-logo { width:96px; height:96px }
}
@media(max-width:360px) {
    .brand img { width:56px; height:56px }
    .mobile-menu-toggle { padding-inline:10px; gap:8px }
    .flow-card,.dashboard-card,.dashboard-content>.flow-card,.account-content { padding:16px }
    .navigation-drawer-heading { padding-left:20px; gap:8px }
    .navigation-drawer-heading h2 { font-size:22px }
    .navigation-drawer-content { padding-inline:12px }
    .navigation-drawer-footer { padding-inline:16px }
}
@media(max-height:480px) {
    .navigation-drawer-heading { padding-top:calc(12px + env(safe-area-inset-top)); padding-bottom:12px }
    .navigation-drawer-heading .eyebrow,.navigation-drawer-footer p { display:none }
    .navigation-drawer-footer { padding-top:12px; padding-bottom:calc(12px + env(safe-area-inset-bottom)) }
}

/* Light workspace cards keep each record on one surface. */
@media(max-width:760px) {
    :is(.portal-shell,.admin-shell) { --card-shadow:0 3px 14px #09193006 }
    :is(.portal-shell,.admin-shell) .dashboard-card,
    :is(.portal-shell,.admin-shell) .dashboard-content>.flow-card,
    :is(.portal-shell,.admin-shell) .project-card,
    :is(.portal-shell,.admin-shell) .admin-record,
    :is(.portal-shell,.admin-shell) .metric { border-radius:14px; background:#fff; border:1px solid var(--line); box-shadow:var(--card-shadow) }
    :is(.portal-shell,.admin-shell) .dashboard-content>.record-section { background:transparent; border:0; border-radius:0; box-shadow:none; padding:0 }
    .record-section>.section-heading { padding:4px 2px; margin-bottom:16px }
    .record-section>.section-heading h2 { font-size:24px; margin-bottom:8px }
    .record-section>.section-heading .eyebrow { margin-bottom:8px }
    .record-section>.section-heading>.icon { width:24px; height:24px; margin-top:2px }
    .record-section .list-tools { padding:16px; background:#eaf0f6; border:1px solid #dce4ed; border-radius:12px; gap:12px; margin:0 0 16px }
    .record-section .list-tools label { font-size:14px }
    .record-section .list-tools .deleted-toggle { margin:0 }
    :is(.portal-shell,.admin-shell) .metric { padding:18px; gap:4px 14px }
    :is(.portal-shell,.admin-shell) .metric small { font-size:14px; color:var(--muted) }
    :is(.portal-shell,.admin-shell) .metric strong { font-size:28px; font-weight:800; letter-spacing:-.025em }
    :is(.portal-shell,.admin-shell) .metric-link>span { border-top:1px solid #e6ecf2; padding-top:10px; margin-top:6px; width:100% }
    :is(.portal-shell,.admin-shell) .record-symbol { width:40px; height:40px; border:0; border-radius:11px; background:#eaf3fb }
    .overview-grid .card-heading { justify-content:start; gap:12px; margin-bottom:16px }
    .overview-grid .card-heading>.icon { width:40px; height:40px; padding:10px; border-radius:11px; background:#eaf3fb }
    .overview-grid .dashboard-card { display:flex; flex-direction:column; align-items:start; padding:20px }
    .overview-grid .dashboard-card>.text-link { margin-top:auto; padding-top:14px; border-top:1px solid var(--line); width:100%; justify-content:space-between }
    .overview-grid .dashboard-card>.help { margin-bottom:18px }
    .record-section .empty-state { border:1px solid var(--line); border-radius:14px; padding:28px 20px; background:#fff; box-shadow:var(--card-shadow) }
    :is(.portal-shell,.admin-shell) .empty-state .record-symbol { width:48px; height:48px; margin-bottom:16px; border-radius:14px }
    :is(.portal-shell,.admin-shell) .empty-state h3 { font-size:20px; line-height:1.3; margin-bottom:10px }
    :is(.portal-shell,.admin-shell) .empty-state p { font-size:14px; line-height:1.6 }
    .billing-notice { display:flex; gap:12px; align-items:start; border-radius:12px; border-left-width:3px; margin-top:0 }
    .billing-notice>.icon { color:var(--deep-blue); margin-top:3px }
    .billing-notice>p { margin:0; min-width:0 }
    .record-section .responsive-table tbody { gap:14px }
    .record-section .responsive-table tr { display:grid; grid-template-columns:minmax(0,1fr); gap:0; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:var(--card-shadow) }
    .record-section .responsive-table td { min-width:0; padding:8px 0; font-size:14px; line-height:1.5; overflow-wrap:anywhere }
    .record-section .responsive-table td::before { color:var(--muted); font-size:14px; line-height:1.5; font-weight:600; margin-bottom:6px; letter-spacing:.01em }
    .invoice-records .record-identity { padding-top:0!important }
    .invoice-records .record-identity::before { display:none }
    .invoice-records .record-identity>a { width:100%; gap:10px; min-height:44px; color:var(--navy); font-size:18px; font-weight:750; text-decoration:none; line-height:1.4 }
    .invoice-records .record-identity>a>span { flex:1; min-width:0 }
    .invoice-records .record-identity>a>.icon { display:inline-block; width:18px; height:18px; color:var(--deep-blue) }
    .record-section .invoice-records .record-status { grid-row:2; display:flex; gap:6px; align-items:center; flex-wrap:wrap; padding:4px 0 16px }
    .invoice-records .record-status::before { display:none }
    .record-section .invoice-records .record-amount { grid-row:3; border-top:1px solid #e6ecf2; padding-top:16px }
    .record-section .invoice-records .record-date { grid-row:4; display:flex; gap:8px; align-items:baseline; padding-bottom:0; color:var(--muted) }
    .invoice-records .record-date::before { margin:0!important; flex-shrink:0 }
    .record-value { display:block; font-size:27px; font-weight:800; line-height:1.3; letter-spacing:-.025em; color:var(--navy); overflow-wrap:anywhere }
    .record-section .payment-records .record-amount { grid-row:1; padding-top:0 }
    .record-section .payment-records .record-date { grid-row:2; font-weight:600 }
    .record-section .payment-records .record-reference { grid-row:3; padding-bottom:16px }
    .record-section .payment-records .record-action { grid-row:4; border-top:1px solid #e6ecf2; padding:14px 0 0 }
    .payment-records .record-action::before { display:none }
    .payment-records .record-action .text-link { width:100%; justify-content:center; gap:8px; border:1px solid #cad9e6; border-radius:8px; padding:10px 12px; min-height:44px; text-decoration:none; font-size:14px }
    :is(.portal-shell,.admin-shell) .badge { font-size:14px; line-height:1.5; border-radius:6px; padding:4px 9px; white-space:normal }
    :is(.portal-shell,.admin-shell) .project-card { display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:12px; padding:20px }
    .project-card>.card-heading { display:contents }
    .project-card>.card-heading>.record-symbol { grid-column:1; grid-row:1/3 }
    .project-card>.card-heading>.badge { grid-column:2; grid-row:2; justify-self:start; margin:8px 0 16px }
    :is(.portal-shell,.admin-shell) .project-card>h3 { grid-column:2; grid-row:1; margin:0; font-size:20px; line-height:1.3 }
    .project-card>p,.project-card>.project-progress,.project-card>.action-row { grid-column:1/-1; font-size:14px }
    .project-card>.project-progress { margin-top:4px; padding-top:14px; gap:12px }
    .project-card>.project-progress span { font-size:14px }
    .project-card>.action-row { margin-top:16px; padding-top:16px; align-self:end }
    .project-card>.action-row>.button { flex:1; justify-content:center }
    .inquiry-record>summary { align-items:start }
    .inquiry-record>summary::after { content:''; display:block; flex-shrink:0; width:9px; height:9px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:rotate(45deg); margin:14px 3px 0 12px }
    .inquiry-record[open]>summary::after { content:''; transform:rotate(225deg); margin-top:19px }
    .record-summary { display:grid; grid-template-columns:40px minmax(0,1fr); gap:10px 12px; align-items:start }
    .record-summary>.record-symbol { display:inline-flex; grid-row:1/3 }
    .record-summary>div { grid-column:2; gap:6px }
    .record-summary strong { order:-1; font-size:18px; line-height:1.35 }
    .record-summary small,.record-summary>div>span { font-size:14px; line-height:1.5 }
    .record-summary>.badge { grid-column:2; justify-self:start; margin:0 }
    .inquiry-record .record-detail { padding-top:18px; margin-top:18px }
    .inquiry-record .attachment-section { padding:16px; border-radius:10px }
    .inquiry-record .action-row { padding-top:16px; border-top:1px solid var(--line) }
    .account-list-record.admin-record { display:grid; grid-template-columns:40px minmax(0,1fr); gap:10px 12px; padding:20px; align-items:start }
    .account-list-record>.record-symbol { grid-row:1/3 }
    .account-list-record>.record-copy { min-width:0; grid-column:2 }
    .account-list-record .record-copy h3 { font-size:18px; line-height:1.4; margin-bottom:6px }
    .account-list-record>.badge { grid-column:2; justify-self:start }
    .account-list-record>.button { grid-column:1/-1; width:100%; justify-content:center; margin-top:6px; min-height:44px }
    .account-list-record .account-email-address { margin-bottom:6px }
    .record-section .email-records tr { grid-template-columns:minmax(0,1fr) auto; gap:4px 16px }
    .email-records td:first-child,.email-records td:last-child { grid-column:1/-1 }
    .email-records td:first-child strong { font-size:16px; line-height:1.4 }
    .email-records td:last-child { border-top:1px solid #e6ecf2; padding-top:14px }
    .email-records td:last-child>.button { width:100% }
    .admin-shell .activity-list li { gap:12px; padding-block:18px }
    .admin-shell .activity-list li>div { min-width:0 }
    :is(.portal-shell,.admin-shell) .detail-grid dt { font-size:14px }
    :is(.portal-shell,.admin-shell) .detail-grid dd { font-size:16px; line-height:1.5 }
}
@media(max-width:360px) {
    :is(.portal-shell,.admin-shell) .project-card,.account-list-record.admin-record { padding:16px }
    .record-section .responsive-table tr { padding:16px }
    .record-value { font-size:25px }
}

/* Administrator shortcut: a compact blueprint badge in Maverick's brand colors. */
.admin-shortcut {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    gap:9px;
    min-height:48px;
    min-width:44px;
    padding:8px 13px;
    border:1px solid #397cac;
    border-radius:9px;
    background:linear-gradient(#a7d9ff0d 1px,transparent 1px),linear-gradient(90deg,#a7d9ff0d 1px,transparent 1px),linear-gradient(135deg,#133d61,var(--navy));
    background-size:12px 12px,12px 12px,100% 100%;
    color:#fff;
    font-size:14px;
    font-weight:700;
    line-height:1.3;
    white-space:nowrap;
    text-decoration:none;
    box-shadow:inset 0 1px #c4e6ff33,0 3px 10px #09193026;
    transition:border-color .18s ease,box-shadow .18s ease;
}
.admin-shortcut::before,.admin-shortcut::after { content:''; position:absolute; pointer-events:none; z-index:-1 }
.admin-shortcut::before { inset:9px auto 9px 0; width:3px; border-radius:0 3px 3px 0; background:var(--orange); box-shadow:0 0 10px #fc5c224d }
.admin-shortcut::after { inset:0 auto 0 0; width:60%; background:linear-gradient(110deg,transparent,#fff2,transparent); transform:translateX(-180%) skewX(-20deg) }
.admin-shortcut-symbol { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border:1px solid #92cfff40; border-radius:6px; background:#a3d5ff12; color:#c5e8ff }
.admin-shortcut-symbol .icon { width:18px; height:18px }
.admin-shortcut-arrow { display:inline-flex; color:#b6dcf7; transition:transform .18s ease }
.admin-shortcut-arrow .icon { width:16px; height:16px }
.admin-shortcut[aria-current=page] { border-color:#68b6ee; box-shadow:inset 0 1px #c4e6ff33,inset 0 -3px var(--orange),0 3px 12px #097edd26 }
.admin-shortcut[aria-current=page] .admin-shortcut-label { text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:2px }
.admin-shortcut:focus-visible { outline:3px solid var(--orange); outline-offset:4px; box-shadow:0 0 0 6px #fff }
@media(hover:hover) {
    .admin-shortcut:hover { color:#fff; border-color:#82caff; box-shadow:inset 0 1px #c4e6ff40,0 4px 16px #097edd33 }
    .admin-shortcut:hover::after { animation:admin-shortcut-sheen .65s ease-out }
    .admin-shortcut:hover .admin-shortcut-arrow { transform:translateX(2px) }
}
@keyframes admin-shortcut-sheen { to { transform:translateX(280%) skewX(-20deg) } }
@media(max-width:1220px) {
    .admin-shortcut { gap:8px; padding-inline:10px }
    .admin-shortcut-arrow { display:none }
}
@media(max-width:760px) {
    .admin-shortcut { min-height:44px; padding:7px 10px; gap:7px; border-radius:8px; font-size:13px }
    .admin-shortcut-symbol { width:26px; height:26px }
}
@media(max-width:380px) {
    .header-actions { gap:6px }
    .admin-shortcut-symbol { display:none }
}
@media(prefers-reduced-motion:reduce) {
    .admin-shortcut,.admin-shortcut-arrow { transition:none }
    .admin-shortcut:hover::after { animation:none }
    .admin-shortcut:hover .admin-shortcut-arrow { transform:none }
}
@media(forced-colors:active) {
    .admin-shortcut { color:LinkText; background:Canvas; border-color:LinkText; box-shadow:none }
    .admin-shortcut::before,.admin-shortcut::after { display:none }
    .admin-shortcut-symbol,.admin-shortcut-arrow { color:inherit; border-color:currentColor; background:transparent }
    .admin-shortcut[aria-current=page] { color:CanvasText; border-color:CanvasText; border-bottom-width:3px; box-shadow:none }
    .admin-shortcut:focus-visible { outline-color:Highlight; box-shadow:none }
    .admin-shortcut:hover { color:LinkText; border-color:LinkText; box-shadow:none }
}
