@font-face{font-family:Bonyan;src:url('/Bonyan-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Bonyan;src:url('/Bonyan-Medium.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Bonyan;src:url('/Bonyan-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--navy:#0d2d4b;--gold:#a38f70;--light:#eaebec;--mist:#b6c7c7;--teal:#3e787c;--font:Bonyan,Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:var(--light);font:16px/1.9 var(--font);font-feature-settings:'liga' 1,'calt' 1,'ss01' 0,'ss02' 0,'ss03' 0,'ss04' 0,'ss05' 0,'ss06' 0,'ss07' 0,'ss08' 0,'ss09' 0,'ss10' 0,'ss11' 0,'ss12' 0,'ss13' 0,'ss14' 0,'ss15' 0,'ss16' 0,'ss17' 0,'ss18' 0,'ss19' 0,'ss20' 0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}a{color:var(--navy);text-decoration:none}button{border:0;background:transparent}input,select,textarea{width:100%;min-height:46px;border:1px solid var(--mist);border-radius:6px;padding:9px 12px;background:var(--light);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);outline:2px solid var(--mist);outline-offset:2px}input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--teal);outline:none}input[dir=ltr]{text-align:left}select{appearance:none;padding-left:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D2D4B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 10px center}textarea{min-height:90px;resize:vertical}svg{width:21px;height:21px;flex:none;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.5;font-weight:700}h2{font-size:18px;font-weight:700}h3{font-size:16px}p{font-size:14px;margin:10px 0}small{font-size:13px}strong{font-weight:700}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;border-left:1px solid var(--mist);padding:32px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px}.brand strong{font-size:28px}.brand-mark{height:40px;width:40px;color:var(--light);background:var(--teal);border-radius:8px;display:grid;place-items:center}.brand-mark svg{height:26px;width:26px}.nav{display:flex;flex-direction:column;gap:5px;margin-top:40px}.nav button{text-align:right;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:5px;font-size:15px;font-weight:500;min-height:46px}.nav button.active{background:var(--mist)}.nav button:hover{outline:1px solid var(--mist)}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--mist);padding-top:18px}.profile strong{font-size:14px}.profile small{display:block;font-size:12px}.main{min-width:0}.topbar{min-height:85px;padding:15px 35px;border-bottom:1px solid var(--mist);display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:14px;font-weight:500}.top-actions{display:flex;gap:20px;align-items:center}.scope-control,.year-control{display:flex;gap:10px;align-items:center;font-size:14px}.scope-control select{width:220px}.year-control select{width:110px}.content{padding:32px 35px 50px;max-width:1500px;margin:auto}.demo-label{font-size:12px;opacity:.7;margin-bottom:12px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.eyebrow{font-size:13px;margin-bottom:5px}.buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{min-height:43px;padding:8px 15px;border:1px solid var(--mist);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;white-space:nowrap;background:var(--light)}.btn.primary,.btn.wine{background:var(--gold);border-color:var(--gold);color:var(--navy)}.btn:hover{outline:1px solid var(--navy);outline-offset:1px}.btn.quiet{border-color:transparent;background:transparent}.btn.small{min-height:36px;padding:5px 10px;font-size:14px}.btn.danger{border-color:var(--gold)}.balance-hero{padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:8px;background:var(--teal);color:var(--light);margin-bottom:20px}.balance-hero>div>span{font-size:14px;display:block}.balance-hero strong{font-size:38px;line-height:1.8;font-variant-numeric:tabular-nums;white-space:nowrap}.balance-hero strong small{font-weight:400;font-size:14px;margin-right:6px}.balance-hero .opening{border-right:1px solid var(--mist);padding-right:25px}.balance-hero .opening strong{font-size:23px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stat{border:1px solid var(--mist);border-radius:7px;padding:19px 23px;min-width:0}.stat>span{display:block;font-size:14px}.stat>strong{display:block;font-size:24px;margin-top:7px;white-space:nowrap}.stat small{font-weight:400;font-size:13px;margin-right:5px}.stat .label{font-size:14px;display:flex;align-items:center;gap:10px}.stat .value{font-size:25px;font-weight:700;margin-top:10px}.stat .foot{font-size:12px;margin-top:5px}.stat.featured{background:var(--teal);color:var(--light)}.panel{border:1px solid var(--mist);border-radius:7px;margin-bottom:22px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px 23px;gap:12px}.panel-body{padding:0 23px 23px}.panel-body>h3{margin-top:20px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap;font-size:14px}th{font-weight:500;font-size:14px;background:var(--mist);padding:12px 17px}td{padding:15px 17px;border-bottom:1px solid var(--mist)}tbody tr:last-child td{border-bottom:0}.money{font-weight:700;font-variant-numeric:tabular-nums}.row-button{padding:0;text-align:right}.row-title{display:block;font-weight:500;max-width:270px;overflow:hidden;text-overflow:ellipsis}.row-sub{display:block;font-size:12px;opacity:.75;margin-top:3px}.badge{font-size:13px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--mist);border-radius:4px;padding:2px 7px}.badge.checked{background:var(--mist)}.badge.question{border-color:var(--teal)}.badge.rejected{border-color:var(--gold);text-decoration:line-through}.badge.deleted{border-style:dashed;opacity:.75}.badge.neutral{border-color:transparent;padding:0}.table-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--mist);font-size:12px;padding:13px 23px}.empty{padding:35px 20px;text-align:center;font-size:14px}.empty svg{width:30px;height:30px;margin-bottom:10px}.filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 23px 17px}.filters input,.filters select{font-size:14px}.filters>select{width:180px}.filters .search{width:200px;flex:1;min-width:150px;max-width:300px}.date-filter{display:flex;align-items:center;gap:8px;font-size:14px}.date-control{position:relative;display:flex;align-items:center;width:100%;min-width:0}.date-control input{padding-left:40px;font-variant-numeric:tabular-nums}.date-filter .date-control{width:162px}.calendar-trigger{position:absolute;left:5px;height:36px;width:32px;display:grid;place-items:center}.calendar-trigger svg{width:18px;height:18px}.advanced-filters{padding:0 23px 17px}.advanced-filters summary{font-size:13px;cursor:pointer;width:max-content}.advanced-filters .filters{padding:15px 0 0}.tabs{display:flex;gap:10px;padding:0 23px 17px;overflow-x:auto}.tabs button{border:1px solid var(--mist);border-radius:5px;padding:7px 12px;font-size:14px;white-space:nowrap}.tabs button.selected{background:var(--mist)}.tabs span{font-size:12px;margin-right:8px}.bulk{display:flex;align-items:center;gap:12px;padding:12px 23px;border-top:1px solid var(--mist);border-bottom:1px solid var(--mist);font-size:14px}.bulk select{width:180px;min-height:37px;padding-top:4px;padding-bottom:4px}.month-filter{display:flex;align-items:center;gap:12px;padding:0 23px 22px;font-size:14px}.month-filter select{width:190px}.note{padding:12px 16px;border:1px solid var(--mist);border-radius:5px;font-size:13px;margin:12px 0 20px}.note.danger-note{border-color:var(--gold)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:block;font-size:14px;min-width:0}.field>span:not(.date-control){display:block;margin-bottom:7px}.field.full{grid-column:1/-1}.hint{font-size:12px;margin-top:6px}.field>textarea{vertical-align:top}.form-actions{padding-top:22px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.form-error{font-size:14px;margin-top:12px;font-weight:500}.form-error:empty{display:none}.total-box{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:5px;background:var(--mist)}.total-box strong{font-size:26px}.total-box small{font-size:14px;font-weight:400}.upload-box{padding:15px;border:1px dashed var(--mist);border-radius:5px;text-align:center;font-size:14px}.upload-box input{border:0;background:transparent;font-size:13px}.status-help{font-size:12px}.receipt-list{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.receipt-list a{width:120px;display:block;font-size:12px;overflow:hidden}.receipt-list img{width:120px;height:100px;object-fit:cover;border:1px solid var(--mist);border-radius:5px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.detail-grid>div{border-bottom:1px solid var(--mist);padding:8px 0}.detail-grid small{display:block;font-size:12px}.detail-grid strong{font-size:16px}.timeline{border-right:1px solid var(--mist);padding-right:17px;margin:18px 5px}.timeline article{padding:0 0 22px}.timeline strong{font-size:14px}.timeline small{font-size:12px}.timeline p{font-size:13px}.timeline details{font-size:12px}.timeline pre{white-space:pre-wrap;max-height:280px;overflow:auto;font:12px/1.8 var(--font);border:1px solid var(--mist);padding:12px}.split{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.chart-row{margin:14px 0}.chart-label{display:flex;justify-content:space-between;font-size:14px;margin-bottom:7px}.bar{height:5px;background:var(--mist)}.bar i{display:block;height:100%;background:var(--teal)}.report-total{display:flex;justify-content:space-between;font-size:14px;padding:14px 23px;border-top:1px solid var(--mist)}.management-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.management-grid>.panel.wide{grid-column:1/-1}.item-line{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--mist)}.item-line:last-child{border-bottom:0}.item-line strong{font-size:15px}.item-line small{display:block;font-size:12px}.project-balances{padding:0 23px 15px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px}.project-balance{text-align:right;padding:12px 0;display:flex;flex-direction:column;border-top:1px solid var(--mist)}.project-balance span{font-size:14px}.project-balance strong{font-size:20px}.project-balance small{font-size:12px;font-weight:400}.mobile-toggle{display:none}.account-panel{max-width:550px}.account-panel .field{margin:15px 0}.font-upload{font-size:13px;text-decoration:underline;cursor:pointer}.login-screen,.project-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px}.login-card{width:100%;max-width:430px;padding:32px;border:1px solid var(--mist);border-radius:10px}.login-card .brand{margin-bottom:28px}.login-card h1{font-size:25px}.login-card .field{margin-top:20px}.login-card [type=submit]{width:100%;margin-top:25px}.font-control{margin-top:22px}.test-accounts{font-size:13px;margin-top:22px}.test-accounts summary{cursor:pointer}.test-accounts table{margin-top:14px;font-size:12px}.test-accounts td,.test-accounts th{padding:8px 6px;font-size:12px}.project-picker{width:100%;max-width:680px}.picker-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:38px}.project-picker h1{font-size:27px}.picker-name{font-size:14px;margin-bottom:25px}.project-buttons{display:grid;grid-template-columns:1fr 1fr;gap:15px}.project-choice{padding:20px;min-height:90px;text-align:right;justify-content:flex-start;font-size:17px;font-weight:500;white-space:normal}.project-choice.all{grid-column:1/-1;background:var(--teal);border-color:var(--teal);color:var(--light)}.project-choice small{display:block;font-size:12px}dialog{padding:0;border:1px solid var(--mist);border-radius:10px;background:var(--light);color:var(--navy);width:min(650px,calc(100vw - 30px));max-height:90vh}dialog::backdrop{background:#0d2d4b80}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--mist);padding:20px 24px;position:sticky;top:0;background:var(--light);z-index:1}.modal-head button{font-size:26px}.modal-body{padding:24px}.saved-confirmation{text-align:center;padding:25px 10px}.saved-confirmation svg{width:42px;height:42px;color:var(--teal);margin-bottom:15px}.saved-confirmation p{font-size:14px}#toast{position:fixed;bottom:25px;left:25px;padding:12px 20px;border-radius:6px;max-width:calc(100vw - 40px);background:var(--navy);color:var(--light);font-size:14px;z-index:100;display:none}#toast.show{display:block}#calendar{width:min(390px,calc(100vw - 25px));padding:20px}.calendar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.calendar-selectors{display:flex;align-items:center;gap:7px;margin-bottom:17px}.calendar-selectors select{flex:1;min-width:90px;font-size:14px;padding-right:8px}.calendar-selectors input{width:72px;font-size:14px;text-align:center;padding:8px}.calendar-selectors button{font-size:12px;padding:5px;min-width:48px;border:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;direction:rtl}.calendar-grid span,.calendar-day{min-height:38px;display:grid;place-items:center;text-align:center;font-size:15px}.calendar-grid .weekday{font-size:13px;border-bottom:1px solid var(--mist)}.calendar-day{border-radius:4px}.calendar-day:hover{background:var(--mist)}.calendar-day.chosen{background:var(--gold);font-weight:700}.calendar-day.today{outline:1px solid var(--teal);outline-offset:-2px}.calendar-footer{display:flex;gap:10px;margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
@media(max-width:1150px){.shell{grid-template-columns:195px minmax(0,1fr)}.content{padding:25px}.topbar{padding:15px 25px}.stats{gap:12px}.stat{padding:16px}.stat>strong{font-size:21px}.split{grid-template-columns:1fr 1fr}.balance-hero strong{font-size:30px}.balance-hero .opening strong{font-size:20px}.scope-control select{width:185px}.top-actions{gap:15px}}
@media(max-width:850px){.shell{display:block}.sidebar{position:fixed;right:-240px;width:220px;height:100dvh;z-index:20;background:var(--light);transition:right .2s}.sidebar.open{right:0;outline:1px solid var(--mist)}.mobile-toggle{display:block}.topbar{padding:12px 18px}.breadcrumb{display:none}.top-actions{flex:1;justify-content:flex-end}.content{padding:22px 18px}.scope-control,.year-control{font-size:12px;gap:7px}.scope-control select{width:185px}.year-control select{width:90px}.split{grid-template-columns:1fr}.management-grid{grid-template-columns:1fr}.management-grid>.panel.wide{grid-column:auto}.balance-hero{padding:22px}.page-head h1{font-size:26px}.stats .stat .value{font-size:21px}.account-panel{max-width:none}}
@media(max-width:560px){.topbar{align-items:center;gap:7px}.top-actions{gap:10px}.scope-control,.year-control{display:block}.scope-control>span,.year-control>span{display:block;margin-bottom:4px}.scope-control select{width:166px;padding-right:9px;font-size:13px}.year-control select{width:84px;font-size:13px;padding-right:7px}.page-head{flex-wrap:wrap;gap:18px;margin-bottom:20px}.page-head .buttons{width:100%}.page-head .buttons .btn{flex:1}.balance-hero{display:block;padding:20px}.balance-hero strong{font-size:31px}.balance-hero .opening{border-right:0;border-top:1px solid var(--mist);padding:12px 0 0;margin-top:13px;display:flex;align-items:center;justify-content:space-between}.balance-hero .opening strong{font-size:20px}.balance-hero>div>span{font-size:13px}.stats{gap:8px;grid-template-columns:1fr}.stat{padding:12px 16px;display:flex;align-items:center;justify-content:space-between}.stat>strong{font-size:21px;margin:0}.stat>span{font-size:13px}.stat .foot{display:none}.grid2{grid-template-columns:1fr;gap:15px}.filters{padding:0 15px 15px;gap:10px}.filters .search{width:100%;max-width:none;flex-basis:100%}.filters>select{width:100%}.date-filter{flex:1;min-width:130px;font-size:13px}.date-filter .date-control{width:100%}.date-control input{font-size:14px;min-width:0}.panel-head{padding:17px 15px}.advanced-filters{padding:0 15px 15px}.advanced-filters .filters{padding:15px 0 0}.tabs{padding:0 15px 15px;gap:8px}.tabs button{font-size:13px}.tabs span{margin-right:5px}.bulk{padding:12px 15px;flex-wrap:wrap;gap:8px}.bulk select{flex:1;min-width:150px}.table-foot{padding:12px 15px;flex-wrap:wrap}.project-buttons{grid-template-columns:1fr}.project-choice.all{grid-column:auto}.project-choice{min-height:75px}.login-card{border:0;padding:15px;max-width:400px}.login-screen{padding:25px}.modal-body{padding:20px}.modal-head{padding:18px 20px}.detail-grid{gap:12px}.project-balances{padding:0 15px 15px;grid-template-columns:1fr}.report-total{padding:12px 15px}.month-filter{padding:0 15px 18px}.form-actions .btn{flex:1}.calendar-selectors{gap:4px}.calendar-selectors button{min-width:40px}.calendar-selectors input{width:66px}.calendar-selectors select{min-width:80px}.test-accounts td,.test-accounts th{font-size:11px}.item-line{flex-wrap:wrap}#toast{bottom:15px;left:15px}}
.report-stats{grid-template-columns:repeat(4,1fr)}@media(max-width:1000px){.report-stats{grid-template-columns:1fr 1fr}}@media(max-width:560px){.report-stats{grid-template-columns:1fr}}
/* The whole menu can scroll independently on short desktop and mobile windows. */
.sidebar{height:100dvh;max-height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--mist) var(--light)}
.sidebar>.brand,.sidebar>.nav,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:24px}.profile>div{flex:1;min-width:0}.profile strong{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.8}.profile>.btn{flex-shrink:0}
.remember-control{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:14px;cursor:pointer}.remember-control input{flex:none}.login-links{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:20px;font-size:13px}
/* Public pages and platform administration use the same five palette roles. */
.portal-shell{max-width:1140px;margin:auto;padding:0 28px}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:25px 0;border-bottom:1px solid #B6C7C7}.portal-brand{font-size:30px;font-weight:700;text-decoration:none}.portal-header nav{display:flex;gap:24px;flex-wrap:wrap}.portal-header a,.portal-footer a{color:#0D2D4B}.portal-header nav a{text-decoration:none}.portal-hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:72px 0}.portal-hero h1{font-size:64px;margin:4px 0}.portal-hero p,.portal-intro p{font-size:18px;line-height:2}.portal-hero .buttons{margin-top:25px}.portal-example{background:#3E787C;color:#EAEBEC;padding:45px 30px;border-radius:12px;display:grid;gap:24px}.portal-example strong{font-size:32px}.portal-example small{font-size:17px}.portal-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.portal-cards h2{font-size:21px}.portal-form{padding:32px;max-width:740px;margin:40px auto}.portal-form h1{font-size:29px}.portal-form form{display:grid;gap:18px}.portal-form h2{margin-bottom:14px}.portal-footer{padding:30px 0;border-top:1px solid #B6C7C7;line-height:2;text-align:center}.portal-intro{padding:45px 0 25px}.help-steps{display:grid;gap:20px;margin:20px 0 50px}.help-steps article{display:flex;align-items:start;gap:24px}.help-steps p{line-height:2}.step-number{background:#A38F70;min-width:38px;height:38px;border-radius:50%;display:grid;place-items:center}.space-list{display:grid;gap:24px;margin:24px 0}.space-list form{display:grid;gap:18px}.space-list details{margin-top:24px}.space-list summary{cursor:pointer;font-weight:500}.admin-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #B6C7C7}.portal-shell a.btn{text-decoration:none}.portal-shell .panel-body{padding:25px}.portal-shell p{line-height:1.9}.portal-shell .form-error{min-height:0}.portal-shell input{max-width:100%}
@media(max-width:700px){.portal-shell{padding:0 18px}.portal-header{align-items:start;gap:18px}.portal-header nav{gap:12px;font-size:13px}.portal-hero{grid-template-columns:1fr;gap:28px;padding:36px 0}.portal-hero h1{font-size:45px}.portal-cards{grid-template-columns:1fr}.portal-form{padding:22px}.portal-intro{padding-top:28px}.portal-example{padding:28px}.admin-row{align-items:start}.portal-shell .page-head{display:block}.help-steps article{gap:14px}}

.guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:10px 0 55px}.guide-cards h2{font-size:21px}.guide-cards article{display:flex;flex-direction:column}.guide-cards ol{line-height:2.2;padding-inline-start:22px}.guide-cards .buttons{margin-top:auto;padding-top:12px}.guide-cards p{line-height:1.9}@media(max-width:850px){.guide-cards{grid-template-columns:1fr}}
/* Typography A: quiet body text, medium navigation, semibold figures and bold titles. */
@font-face{font-family:Bonyan;src:url('/Bonyan-Light.ttf') format('truetype');font-weight:300;font-display:swap}
@font-face{font-family:Bonyan;src:url('/Bonyan-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--type-body:15px;--type-title:28px;--type-section:18px;--type-figure:22px;--type-note:12px}
body{font-size:var(--type-body);font-weight:400;line-height:1.95;font-synthesis:none}
h1{font-size:var(--type-title);font-weight:700;line-height:1.55}h2{font-size:var(--type-section);font-weight:600;line-height:1.7}h3{font-size:16px;font-weight:600}strong{font-weight:600}
p{font-size:14px;font-weight:400;line-height:2}small,.hint,.eyebrow,.breadcrumb,.table-foot,.profile small{font-size:var(--type-note);font-weight:300}
.brand strong,.portal-brand{font-size:28px;font-weight:700}.nav button{font-size:15px;font-weight:500}.profile strong{font-size:14px;font-weight:500}
.btn,.btn.small{font-size:14px;font-weight:500}.topbar select{font-size:14px;font-weight:400}.field>span{font-size:14px;font-weight:500}input,select,textarea{font-weight:400}.remember-control{font-weight:400;font-size:13px}
.balance-hero strong{font-size:36px;font-weight:700;line-height:1.6}.balance-hero>div>span{font-size:14px;font-weight:400}.balance-hero strong small{font-size:14px;font-weight:400}.balance-hero .opening strong{font-size:22px;font-weight:600}
.stat>strong,.stat .value{font-size:var(--type-figure);font-weight:600;line-height:1.7}.stat>span,.stat .label{font-size:13px;font-weight:400}
table{font-size:14px}th{font-size:13px;font-weight:500}td strong{font-size:16px;font-weight:600}.badge{font-size:12px;font-weight:400}.detail-grid strong{font-size:16px;font-weight:600}.project-balance strong{font-size:20px;font-weight:600}
.login-card h1,.portal-form h1{font-size:28px;font-weight:700}.login-card>p{font-size:14px}.project-picker h1{font-size:28px}.picker-name{font-size:14px;font-weight:400}.modal-head h2{font-size:20px;font-weight:600}
.portal-hero h1{font-size:46px;font-weight:700;line-height:1.45}.portal-hero p,.portal-intro p{font-size:16px;font-weight:400;line-height:2}.portal-header nav{font-size:14px;font-weight:500}.portal-example strong{font-size:34px;font-weight:700;line-height:1.6}.portal-example span{font-size:14px;font-weight:400}.portal-example div{font-size:13px;font-weight:300}.portal-cards h2,.guide-cards h2{font-size:20px;font-weight:600}.portal-cards p,.guide-cards p{font-size:14px}.portal-form h2{font-size:22px;font-weight:600}.portal-form{line-height:2}.portal-footer{font-size:13px;font-weight:400}.space-list summary{font-size:14px;font-weight:500}.admin-row small{font-weight:300}
.android-intro{max-width:720px;margin:45px auto}.android-intro h1{font-size:28px}.android-intro .buttons{margin:24px 0}.android-details{font-size:14px;line-height:2.1}.download-links{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px;font-size:13px}
@media(max-width:700px){.portal-hero h1{font-size:36px}.portal-hero p,.portal-intro p{font-size:15px}.portal-example strong{font-size:29px}.portal-header nav{font-size:13px}.portal-form h1,.login-card h1,.project-picker h1{font-size:25px}}
@media(max-width:560px){:root{--type-body:14px;--type-title:24px;--type-section:17px;--type-figure:20px}.page-head h1{font-size:24px}.balance-hero strong{font-size:30px}.balance-hero .opening strong{font-size:20px}.stat>strong,.stat .value{font-size:20px}.field input,.field select,.field textarea{font-size:16px}.nav button{font-size:14px}.modal-head h2{font-size:18px}}

/* A receipt is attached to one invoice, regardless of its item count. */
dialog:has(#invoice-items){width:min(900px,calc(100vw - 30px))}
.invoice-editor{min-width:0}.invoice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
#invoice-items{display:grid;gap:14px}.invoice-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(75px,.7fr) minmax(110px,1fr) minmax(110px,1fr);gap:12px;align-items:end;border:1px solid var(--mist);border-radius:7px;padding:14px;min-width:0}
.invoice-line-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.invoice-line .field{min-width:0}.invoice-line .field>span,.invoice-line-amount>span{font-size:13px}.invoice-line input{min-width:0;padding:9px 10px}.invoice-line-amount{display:flex;flex-direction:column;justify-content:space-between;align-self:stretch;gap:8px;min-width:0}.invoice-line-amount output{font-weight:700;min-height:46px;display:flex;align-items:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.invoice-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.invoice-editor .total-box{gap:15px;flex-wrap:wrap}.invoice-editor .total-box output{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.invoice-details{margin:20px 0;border:1px solid var(--mist);border-radius:6px;overflow:hidden}.invoice-details h3{padding:14px}.invoice-details .invoice-description{white-space:normal;min-width:150px;overflow-wrap:anywhere}.invoice-line button:disabled{cursor:default}
@media(max-width:650px){.invoice-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.invoice-line .field:first-of-type{grid-column:1/-1}.invoice-line-amount{grid-column:1/-1;flex-direction:row;align-items:center}.invoice-line-amount output{min-height:32px}.invoice-editor .total-box strong{font-size:22px}}

.ledger-period{display:flex;align-items:end;gap:15px;flex-wrap:wrap;padding:0 23px 20px}.ledger-period label{display:grid;gap:5px;font-size:14px;min-width:170px}.ledger-period select{width:180px}.ledger-period select:disabled{opacity:.6;cursor:default}.ledger-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 23px 20px}.ledger-summary article{padding:14px 16px;border:1px solid var(--mist);border-radius:6px;min-width:0}.ledger-summary article>span{display:block;font-size:13px}.ledger-summary strong{display:block;margin-top:8px;font-size:22px;overflow-wrap:anywhere}.ledger-summary small{font-size:13px;font-weight:400}.ledger-chart{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:center;gap:30px;padding:0 23px 10px}.ledger-donut{width:260px;height:260px;max-width:100%;stroke:none;font-family:var(--font);justify-self:center}.ledger-donut circle{transition:opacity .15s}.ledger-donut circle:hover{opacity:.75}.donut-caption{font-size:12px}.donut-amount{font-size:17px;font-weight:700}.ledger-legend{min-width:0}.ledger-legend-row{display:grid;grid-template-columns:minmax(0,1fr) auto 60px;align-items:center;gap:12px;border-bottom:1px solid var(--mist);padding:11px 0;font-size:14px}.ledger-legend-row:last-child{border-bottom:0}.ledger-legend-row strong{font-variant-numeric:tabular-nums}.ledger-legend-row small{font-weight:400;font-size:12px}.legend-category{display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}.legend-category i{width:12px;height:12px;flex:none;border-radius:50%}.ledger-chart-note{padding:0 23px 20px;margin:0;font-size:12px}
@media(max-width:850px){.ledger-chart{grid-template-columns:1fr;gap:10px}.ledger-summary{gap:10px}.ledger-summary strong{font-size:18px}}
@media(max-width:560px){.ledger-period{padding:0 15px 18px;gap:10px}.ledger-period label{min-width:0;flex:1}.ledger-period select{width:100%}.ledger-summary{padding:0 15px 15px;grid-template-columns:1fr}.ledger-summary article{display:flex;align-items:center;justify-content:space-between;gap:10px}.ledger-summary strong{margin:0}.ledger-chart{padding:0 15px 10px}.ledger-legend-row{grid-template-columns:minmax(0,1fr) auto 48px;gap:8px;font-size:13px}.ledger-chart-note{padding:0 15px 18px}}

.field input[data-number-grouping]{text-align:right;font-variant-numeric:tabular-nums}
/* Dhi Hesab marketing; original application palette and fonts retained. */
html{scroll-behavior:smooth}.portal-shell{max-width:1220px}.portal-brand{font-weight:700;font-size:30px}.portal-header{padding-block:24px}.portal-header nav{flex-wrap:wrap}.dhi-kicker{display:inline-block;color:var(--teal);font-size:14px;font-weight:600;margin-bottom:14px}.dhi-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center;padding:56px 0 70px}.dhi-copy h1,.dhi-heading h2,.dhi-role-section h2,.dhi-learning-head h1{font-size:clamp(38px,4.7vw,68px);font-weight:700;line-height:1.55;letter-spacing:-1px;margin:0 0 18px;font-feature-settings:'ss04' 1}.dhi-copy em{font-style:normal;color:var(--teal)}.dhi-copy p{font-size:18px;line-height:2.1;max-width:470px}.dhi-copy .buttons{margin-top:24px}.dhi-text-link{display:inline-block;color:var(--teal);font-weight:600;margin-top:22px;text-decoration:none}.dhi-art{position:relative;padding:36px 0}.dhi-art>img{width:100%;display:block;border-radius:36px}.dhi-benefits{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--mist);padding:30px 0;gap:36px}.dhi-benefits article{position:relative;padding:6px 24px}.dhi-benefits article+article{border-right:1px solid var(--mist)}.dhi-benefits span{color:var(--gold);font-size:34px;font-weight:300}.dhi-benefits h2{font-size:21px;margin:4px 0}.dhi-benefits p,.dhi-section{padding:80px 0;scroll-margin-top:30px}.dhi-heading{text-align:center}.dhi-heading h2{font-size:40px}.dhi-heading p{color:var(--teal)}.dhi-role-section{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px;background:#eaebec55;border-radius:28px;padding:40px;margin-bottom:64px}.dhi-role-section>img{width:100%;border-radius:20px}.dhi-role-section h2{font-size:36px}.dhi-roles article{border-bottom:1px solid var(--mist);padding:9px 0}.dhi-roles h3{margin:5px 0}.dhi-roles p{margin:3px 0}.dhi-learning-head{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding:35px 0 55px}.dhi-learning-head img{width:100%;border-radius:26px}.dhi-learning-head h1{font-size:44px}.guide-cards{margin-bottom:60px}.guide-cards article{display:flex;flex-direction:column}.guide-cards .buttons{margin-top:auto;padding-top:16px}.guide-cards li{line-height:2}.dhi-lesson-head{padding:35px 0}.dhi-lesson-head h1{font-size:36px;font-weight:700}.dhi-lessons{display:grid;grid-template-columns:230px 1fr;gap:28px}.dhi-lessons aside{align-self:start;position:sticky;top:24px;border:1px solid var(--mist);padding:22px;border-radius:16px}.dhi-lessons aside a{display:block;text-decoration:none;color:var(--teal);line-height:1.9;margin-top:14px}.dhi-lessons aside small{display:block;margin-top:26px;line-height:2}.dhi-lesson{margin-bottom:24px;scroll-margin-top:24px}.dhi-lesson h2{font-size:26px}.dhi-lesson h3{font-size:19px;margin-top:25px}.dhi-lesson p{line-height:2.2}.dhi-intro{color:var(--teal)}.dhi-example{background:#b6c7c744;border-radius:14px;padding:20px;margin-top:25px}.portal-form{scroll-margin-top:25px}.portal-footer{margin-top:55px;line-height:2.2}
@media(max-width:800px){.dhi-hero,.dhi-learning-head,.dhi-role-section{grid-template-columns:1fr;gap:24px}.dhi-hero{padding-top:25px}.dhi-art{max-width:520px;margin:auto;width:calc(100% - 24px)}.dhi-copy h1{font-size:44px}.dhi-benefits{grid-template-columns:1fr;gap:16px}.dhi-benefits article+article{border-right:0;border-top:1px solid var(--mist);padding-top:20px}.dhi-role-section{padding:24px}.dhi-lessons{grid-template-columns:1fr}.dhi-lessons aside{position:static}.dhi-section{padding:50px 0}.dhi-heading h2{font-size:32px}.dhi-learning-head h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 2.5.1: original five-color palette; transparent section illustrations. */
@font-face{font-family:Bonyan;src:url('/Bonyan-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Bonyan;src:url('/Bonyan-ExtraBold.ttf') format('truetype');font-weight:800;font-display:swap}@font-face{font-family:Bonyan;src:url('/Bonyan-Black.ttf') format('truetype');font-weight:900;font-display:swap}
.dhi-copy h1{font-weight:900;font-size:clamp(48px,5.5vw,78px);line-height:1.55}.dhi-copy p{font-weight:400}.dhi-kicker{font-weight:600}.portal-brand{font-weight:900}.dhi-art{padding:0}.dhi-art>img{border-radius:0}.dhi-benefits{border:0;gap:40px;padding-block:35px}.dhi-benefits article{padding:0}.dhi-benefits article+article{border:0}.dhi-benefits h2{font-weight:800;font-size:23px}.dhi-benefits span{font-weight:400;font-size:40px}.dhi-benefits p{font-weight:400}.dhi-journey{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center;padding:95px 0;scroll-margin-top:35px}.dhi-journey-art img{width:100%;display:block}.dhi-journey h2,.dhi-role-section h2{font-size:clamp(34px,4vw,54px);font-weight:900;line-height:1.6;margin:0 0 25px;font-feature-settings:'ss04' 1}.dhi-journey h2 em{font-style:normal;color:var(--teal)}.dhi-timeline{list-style:none;padding:0;margin:0}.dhi-timeline li{display:grid;grid-template-columns:46px 1fr;gap:18px;position:relative;padding:14px 0 22px}.dhi-timeline li:not(:last-child):before{content:'';position:absolute;right:22px;top:61px;bottom:0;border-right:1px solid var(--mist)}.dhi-timeline li>span{font-size:25px;font-weight:500;color:var(--gold);line-height:1.7}.dhi-timeline h3{margin:0 0 5px;font-weight:800;font-size:21px}.dhi-timeline p{margin:0;line-height:2;font-weight:400}.dhi-role-section{background:transparent;padding:35px 0 75px;border-radius:0;gap:76px}.dhi-role-section img{border-radius:0}.dhi-roles h3{font-weight:700;font-size:20px}.dhi-roles article{padding:16px 0}.dhi-guide-card>img{height:170px;width:100%;object-fit:contain;display:block;margin-bottom:12px}.dhi-guide-card h2{font-weight:800}.guide-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.dhi-guide-card{background:transparent;border:1px solid var(--mist);box-shadow:none}.dhi-learning-head h1{font-weight:900}.dhi-lesson-head{position:relative;min-height:220px;padding-left:230px}.dhi-lesson-art{position:absolute;left:0;top:15px;width:210px;height:210px;object-fit:contain}.dhi-lesson-head h1{font-weight:900}.dhi-lesson h2{font-weight:800}.dhi-lesson h3{font-weight:700}.portal-form h2{font-weight:800}
@media(max-width:800px){.dhi-journey{grid-template-columns:1fr;gap:20px;padding:45px 0}.dhi-journey-art{max-width:440px;margin:auto}.dhi-copy h1{font-size:49px}.dhi-role-section{gap:25px;padding:20px 0 45px}.dhi-benefits article+article{border:0;padding-top:0}.dhi-lesson-head{padding-left:0}.dhi-lesson-art{position:static;width:160px;height:160px;float:left}.guide-cards{grid-template-columns:1fr}.dhi-guide-card>img{height:185px}}
/* 2.5.2: structured feature strip; no additional illustration. */
.dhi-benefits{gap:20px;padding:20px 0 36px;align-items:stretch}
.dhi-benefits article,.dhi-benefits article+article{display:flex;flex-direction:column;border:1px solid var(--mist);border-radius:18px;padding:25px 26px 23px;position:relative;background:var(--light)}
.dhi-benefits article:before{content:'';position:absolute;top:-1px;right:26px;width:50px;height:3px;background:var(--teal);border-radius:0 0 3px 3px}
.dhi-benefits article:nth-child(2):before{background:var(--gold)}
.dhi-benefits article:nth-child(3):before{background:var(--navy)}
.dhi-benefit-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.dhi-benefits .dhi-feature-icon{width:46px;height:46px;border:1px solid var(--mist);border-radius:13px;display:grid;place-items:center;color:var(--teal);background:var(--light)}
.dhi-feature-icon svg{width:25px;height:25px}
.dhi-benefits article:nth-child(2) .dhi-feature-icon{color:var(--gold)}
.dhi-benefits article:nth-child(3) .dhi-feature-icon{color:var(--navy)}
.dhi-benefits .dhi-feature-number{font-size:30px;font-weight:400;color:var(--teal);line-height:1}
.dhi-benefit-rule{height:1px;background:var(--mist);position:relative;margin:0 0 22px}
.dhi-benefit-rule:after{content:'';position:absolute;left:0;top:-2px;width:5px;height:5px;border-radius:50%;background:var(--gold)}
.dhi-benefits h2{margin:0 0 12px;font-size:23px;font-weight:800;line-height:1.75}
.dhi-benefits p{margin:0 0 23px;line-height:2;font-weight:400}
.dhi-feature-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:17px;border-top:1px dashed var(--mist)}
.dhi-benefits .dhi-feature-tags span{font-size:12px;font-weight:500;line-height:1.8;border:1px solid var(--mist);border-radius:6px;padding:3px 9px;color:var(--teal)}
@media(max-width:800px){.dhi-benefits{gap:16px}.dhi-benefits article,.dhi-benefits article+article{padding:24px}.dhi-benefits p{margin-bottom:20px}}
