@import url('/portal/fonts.css');
:root{--navy:#0b1a24;--navy2:#122a38;--red:#b21832;--red-dark:#8e1026;--gold:#d8b56e;--ink:#14232d;--muted:#62717d;--line:#e1e6e9;--paper:#f4f6f7;--white:#fff;--green:#227452;--radius:14px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.55}a{color:var(--red);text-decoration:none;font-weight:600}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:7px;background:var(--red);color:white;padding:12px 20px;cursor:pointer;font-weight:650;line-height:1.4}button:hover,.button:hover{background:var(--red-dark);text-decoration:none}button.secondary{background:#fff;border-color:#ced7dc;color:var(--ink)}button.secondary:hover{background:#edf1f3}.danger{background:#fff;color:#a4152c;border-color:#efc9cf}.danger:hover{background:#fff1f2}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b38b3e;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1.2px;line-height:1.15;margin-bottom:0}h2{font-size:21px;letter-spacing:-.45px;line-height:1.25;margin-bottom:18px}h3{font-size:16px;margin-bottom:12px}p{margin-bottom:16px}small,.hint{font-size:12px;line-height:1.55}.hint,.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#957031;margin:0 0 12px}label{display:block;font-size:13px;font-weight:650;margin-bottom:17px}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;border:1px solid #cad3d9;border-radius:7px;background:#fff;padding:12px 13px;color:var(--ink);margin-top:7px;line-height:1.5}input[type=checkbox]{width:20px;height:20px;accent-color:var(--red);cursor:pointer;flex-shrink:0}textarea{resize:vertical}form>.hint{margin-top:4px}form button{margin-top:3px}.full{width:100%;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center;color:#fff;text-decoration:none;font-size:25px;letter-spacing:-.5px;font-weight:900;line-height:1.1}.brand:hover{text-decoration:none}.brand img{width:58px;height:58px;object-fit:cover;border-radius:50%}.brand b{color:var(--gold)}.brand small{font-size:8px;letter-spacing:1.7px;display:block;color:#9facb5;margin-top:8px;font-weight:600}.auth-shell{min-height:100vh;display:grid;grid-template-columns:46% 54%}.auth-story{position:relative;background:linear-gradient(130deg,rgba(7,22,32,.95),rgba(7,22,32,.6)),url('/viking-hero.webp') center/cover;color:#fff;padding:50px 11%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story h1{font-family:Georgia,serif;font-size:clamp(40px,4.6vw,74px);font-weight:600;line-height:1.12;letter-spacing:-2px;margin:25px 0}.auth-story em{color:var(--gold);font-style:normal}.auth-story .eyebrow{color:var(--gold)}.story-copy{color:#d1d9df;font-size:16px;line-height:1.8}.story-footer{font-size:9px;letter-spacing:2px;color:#a7b6bf;margin:0}.auth-form{padding:60px clamp(25px,7vw,125px);align-self:center;max-width:900px;width:100%}.auth-form h2{font-size:34px;margin:0 0 13px;letter-spacing:-1.2px}.auth-form .back{display:block;margin-bottom:55px;font-size:12px;color:var(--muted)}.auth-form form{margin-top:28px}.auth-form .text-link{display:block;margin-top:20px;font-size:13px}.auth-divider{height:1px;background:var(--line);margin:28px 0}.honeypot{position:absolute;left:-9999px}.alert{border:1px solid #bfdfcf;background:#eff9f3;color:#245d43;padding:14px 18px;border-radius:8px;margin:0 0 24px;font-size:14px}.alert.error{border-color:#efc4ca;background:#fff2f3;color:#9a1830}.sidebar{position:fixed;left:0;top:0;bottom:0;width:252px;background:var(--navy);color:#d2dce2;padding:29px 20px;display:flex;flex-direction:column;z-index:5}.sidebar .brand{padding:0 5px;font-size:24px}.sidebar .brand img{width:51px;height:51px}.sidebar nav{display:grid;gap:7px;margin-top:48px}.sidebar nav a{color:#b8c5ce;padding:13px 16px;font-size:13px;font-weight:500;border-radius:7px;display:flex;gap:12px;align-items:center}.sidebar nav a span{font-size:20px;line-height:1;width:23px;color:#91a5b2}.sidebar nav a:hover{background:#132c3a;text-decoration:none;color:white}.sidebar nav a.active{color:#fff;background:#b21832}.sidebar nav a.active span{color:white}.sidebar-bottom{margin-top:auto;border-top:1px solid #24343f;padding:26px 16px 0}.sidebar-bottom p{font-family:Georgia,serif;font-size:17px;line-height:1.5;color:#a5b5c0}.sidebar-bottom p b{color:var(--gold);font-weight:400}.sidebar-bottom a{font-size:12px;color:#b8c5ce}.logout{margin-top:15px;background:transparent;color:#e4e9ed;padding:7px 0;font-size:12px}.logout:hover{background:transparent;color:var(--gold)}.workspace{margin-left:252px}.topbar{height:88px;border-bottom:1px solid var(--line);background:white;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.topbar>span{font-size:9px;letter-spacing:1.9px;color:var(--muted);font-weight:650}.user-pill{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:12px}.user-pill small{display:block;font-size:10px;color:var(--muted);font-weight:400}.main-content{max-width:1480px;margin:auto;padding:35px 42px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--muted)}.today{font-size:12px;color:var(--muted);white-space:nowrap}.avatar{width:48px;height:48px;object-fit:cover;border-radius:50%;flex-shrink:0;background:#e6e9ec}.initials{display:inline-flex;align-items:center;justify-content:center;color:var(--navy2);background:#e7eef2;font-size:17px;font-weight:750;border:1px solid #ced8df}.avatar.small{width:37px;height:37px;font-size:12px}.avatar.large{width:76px;height:76px;font-size:25px}.avatar.portrait{width:130px;height:130px;font-size:40px;margin:12px auto 24px}.welcome-card{background:linear-gradient(110deg,var(--navy),#183748);border-radius:var(--radius);padding:29px 32px;color:white;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;margin-bottom:24px}.welcome-card::after{content:'';position:absolute;right:18%;top:-120px;width:370px;height:370px;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}.welcome-card>div{display:flex;align-items:center;gap:23px}.welcome-card h2{font-size:26px;margin-bottom:7px}.welcome-card p:not(.eyebrow){font-size:12px;color:#b7c9d4;margin:0}.welcome-card .eyebrow{color:var(--gold);font-size:8px}.button.light{border-color:#607784;background:#ffffff08;color:white;font-size:12px;padding:11px 16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{border:1px solid var(--line);border-radius:11px;background:white;padding:23px}.stat span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.stat strong{font-size:27px;letter-spacing:-1px;font-weight:650}.stat.featured{border-top:3px solid var(--red);padding-top:21px}.stat.featured strong{color:var(--red)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-head h2{margin:0}.section-head a,.section-head>span{font-size:11px}.section-head p{margin:7px 0 0;font-size:12px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.dashboard-cols{grid-template-columns:.9fr 1.1fr}.profile-columns{grid-template-columns:320px 1fr}.profile-summary{text-align:center}.profile-summary form{text-align:left;margin-top:28px}.profile-summary h2{margin-bottom:13px}.profile-summary>p{margin:12px 0;color:var(--muted)}.profile-details{display:grid;grid-template-columns:130px 1fr;gap:14px;font-size:13px;margin:23px 0 27px}.profile-details dt{color:var(--muted)}.profile-details dd{margin:0;overflow-wrap:anywhere}.badge{font-size:10px;padding:5px 9px;border-radius:30px;display:inline-block;background:#edf1f4;color:#526471;white-space:nowrap}.badge.good{background:#e6f5ec;color:var(--green)}.badge.warn{background:#ffedef;color:#a42036}.action-banner{background:#fbf4e5;border:1px solid #eddfc2;border-radius:10px;padding:17px 22px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;color:#73541f;font-size:12px}.action-banner small{display:block;margin-top:3px;font-weight:400}.mini-notice{border-top:1px solid var(--line);padding:16px 0 0;margin-top:15px}.mini-notice:first-of-type{border:0;margin:0;padding:0}.mini-notice small{font-size:10px;color:var(--muted)}.mini-notice h3{margin:5px 0 7px;font-size:14px}.mini-notice p{font-size:12px;color:var(--muted);margin:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:.9px;color:var(--muted);font-weight:650;background:#f6f8f9;white-space:nowrap}th,td{padding:15px 12px;border-bottom:1px solid #edf0f2}td strong{font-weight:600}td small{display:block}td:first-child,th:first-child{padding-left:14px}td .attention{color:var(--red);font-size:10px;margin-top:5px}.member-link{display:flex;align-items:center;gap:12px;color:var(--ink);min-width:200px}.member-link small{font-weight:400;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.empty{padding:35px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);margin-top:12px}.empty p{font-size:13px}.empty-symbol{border:1px solid #d7e4dc;display:inline-flex;width:45px;height:45px;border-radius:50%;justify-content:center;align-items:center;color:var(--green);font-size:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.search-form,.selector,.year-form,.role-form{display:flex;align-items:end;gap:12px;margin-bottom:20px}.search-form input{margin:0}.selector label,.role-form label{flex:1;margin:0}.search-form button{white-space:nowrap}.year-form{margin:0}.year-form label{margin:0;font-size:10px}.year-form select{padding:8px 12px;margin-top:3px}.year-form button{padding:9px 14px;font-size:11px}.role-form{max-width:450px;margin-top:23px}.inline-actions{display:flex;flex-wrap:wrap;gap:12px}.inline-actions button{font-size:12px}.member-title{display:flex;gap:19px;align-items:center;margin:34px 0 22px}.member-title h2{margin:0 0 6px;font-size:26px}.member-title p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0}.month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.month-card{border:1px solid #dce2e6;border-radius:10px;padding:16px;margin:0;cursor:pointer}.month-card:has(input:checked){border-color:var(--red);box-shadow:0 0 0 1px var(--red);background:#fff7f8}.month-card>span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.month-card>strong{display:block;font-size:22px;letter-spacing:-.8px;font-weight:600;margin-top:13px}.month-card>small{display:block;color:var(--muted);font-size:10px;margin-top:6px;font-weight:400}.month-card.paid{background:#f4faf6;border-color:#c9e3d2}.month-card.paid>small{color:var(--green)}.annual-heading{margin-top:27px}.annual-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fee-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:16px;border-radius:9px;margin:0;cursor:pointer}.fee-card small{display:block;color:var(--muted);font-size:9px;margin-top:4px;font-weight:400}.fee-card>span:first-child{flex:1}.fee-card:has(input:checked){border-color:var(--red);background:#fff7f8}.ledger-actions{display:flex;gap:12px;margin:24px 0 15px}.ledger-actions button{font-size:12px}.payment-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--line);font-size:13px}.payment-row p{font-size:11px;color:var(--muted);margin:4px 0 0}.payment-row>b{white-space:nowrap}.tools{margin-top:23px;border-top:1px solid var(--line);padding-top:20px}.tools .two-col{margin-top:20px}.tools form{padding:20px;background:#f7f9fa;border-radius:10px}.tools form h3{margin-bottom:20px}summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--ink)}details[open]>summary{margin-bottom:18px}.correction{font-size:11px;margin-bottom:12px}.correction summary{font-size:10px;color:var(--red)}.correction form{max-width:500px;padding:12px;background:#fff6f7}.installments{display:flex;flex-wrap:wrap;gap:15px}.installments>span{background:#f3f6f8;padding:13px;border-radius:8px;font-size:11px}.installments b,.installments small{display:block;margin-top:4px}.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.notice h2{font-size:25px}.archive-form{margin-top:20px}.archive-form button{font-size:11px;padding:7px 14px}.narrow{max-width:650px}.portal-footer{display:flex;justify-content:space-between;font-size:10px;color:#7c8b96;border-top:1px solid var(--line);padding:22px 0;margin-top:35px}.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:1500px){.main-content{padding:45px 60px}.panel{padding:30px}}@media(max-width:1150px){.sidebar{width:215px;padding:25px 13px}.sidebar .brand{font-size:22px}.sidebar .brand img{width:42px;height:42px}.workspace{margin-left:215px}.main-content{padding:28px 24px}.topbar{padding:0 24px}.stats{gap:12px}.stat{padding:19px}.stat strong{font-size:24px}.dashboard-cols,.profile-columns{grid-template-columns:1fr}.profile-summary{max-width:none}.month-grid{grid-template-columns:repeat(3,1fr)}.annual-grid{grid-template-columns:1fr}.auth-form{padding:45px}.auth-story{padding:45px 10%}.auth-story h1{font-size:54px}}
@media(max-width:760px){.auth-shell{display:block}.auth-story{min-height:auto;padding:25px 24px;background-position:center 45%}.auth-story>div{display:none}.auth-story .story-footer{display:none}.auth-story .brand img{width:45px;height:45px}.auth-form{padding:30px 24px}.auth-form .back{margin-bottom:30px}.auth-form h2{font-size:29px}.sidebar{position:relative;width:auto;padding:18px 20px 12px}.sidebar .brand{font-size:23px}.sidebar .brand img{width:44px;height:44px}.sidebar nav{display:flex;overflow-x:auto;margin-top:18px;gap:6px}.sidebar nav a{white-space:nowrap;padding:10px 13px;font-size:11px}.sidebar nav a span{font-size:15px;width:auto}.sidebar-bottom{position:absolute;top:23px;right:22px;margin:0;padding:0;border:0}.sidebar-bottom>p,.sidebar-bottom>a{display:none}.sidebar-bottom .logout{margin:0}.workspace{margin:0}.topbar{height:65px;padding:0 20px}.topbar>span{font-size:7px;letter-spacing:1px;max-width:160px}.main-content{padding:25px 18px}.today{display:none}.page-heading{margin-bottom:23px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.2px}h1{font-size:27px}.welcome-card{padding:22px;display:block}.welcome-card .button{margin-top:22px}.welcome-card h2{font-size:22px}.welcome-card .avatar.large{width:62px;height:62px;font-size:22px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat{padding:19px}.stat span{font-size:10px;margin-bottom:8px}.stat strong{font-size:26px}.two-col{grid-template-columns:1fr;gap:0}.panel{padding:20px}.section-head{gap:12px;align-items:flex-start}.section-head h2{font-size:19px}.section-head>span{font-size:9px}.form-grid{grid-template-columns:1fr}.auth-form .form-grid{grid-template-columns:1fr 1fr;gap:0 12px}.auth-form .form-grid label{font-size:11px}.action-banner{gap:15px;padding:15px;font-size:11px}.action-banner>span:last-child{max-width:90px}.selector{align-items:stretch;flex-direction:column}.year-form{gap:6px}.year-form button{padding:9px}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.month-card{padding:14px}.month-card>strong{font-size:23px}.fee-card{gap:9px;padding:14px;font-size:12px}.fee-card .badge{font-size:8px}.ledger-actions{flex-direction:column}.ledger-actions button{width:100%}.member-title h2{font-size:22px}.member-title .avatar.large{width:58px;height:58px;font-size:20px}.member-title p:not(.eyebrow){font-size:11px;overflow-wrap:anywhere}.member-title{gap:14px}.tools .two-col{gap:18px}.profile-details{grid-template-columns:105px 1fr;font-size:12px}.payment-row{font-size:12px}.notice h2{font-size:22px}.portal-footer{font-size:9px}input:not([type=checkbox]),select,textarea{font-size:16px}.search-form button{font-size:12px;padding:12px}.inline-actions{flex-direction:column}.inline-actions form button{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.year-form{flex-shrink:0}.year-form select{min-width:82px}

.full-width{grid-column:1/-1;min-width:0}.full-address{border:1px solid #cbd3d9;border-radius:12px;padding:20px;margin:20px 0}.full-address legend{font-weight:700;padding:0 8px}.full-width label{width:100%}.full-address .hint{margin-top:0}
