:root{font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",system-ui,sans-serif;color:#162c2a;background:#f4f6f3;font-size:16px;line-height:1.5;--ink:#163e38;--line:#d9e2dc;--muted:#526862;--accent:#187364}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid var(--line)}.bar,main{width:min(1120px,calc(100% - 48px));margin:auto}.bar{min-height:72px;display:flex;gap:36px;align-items:center}.brand{font-size:22px;font-weight:800;color:var(--ink);white-space:nowrap;text-decoration:none;letter-spacing:-1px}.brand b{color:#1b8877}nav{display:flex;gap:6px;flex:1}.bar #account{margin-left:auto}main{padding:45px 0 80px}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,4.5vw,46px);line-height:1.18;letter-spacing:-.055em}h2{font-size:23px;letter-spacing:-.04em}h3{font-size:18px}p,small,.muted{color:var(--muted)}.intro{margin-bottom:26px}.intro p{margin-top:9px}.hero{background:var(--ink);padding:clamp(24px,4vw,45px);border-radius:20px;color:white;margin-bottom:24px}.hero p{color:#cee6dc;margin:12px 0 22px}.grid,.split,.formgrid,.cards,.summary{display:grid;gap:16px}.grid,.formgrid,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start}.summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}.summary .box{padding:18px}.summary strong{display:block;margin-top:6px;font-size:22px}.box,.tile{border:1px solid var(--line);background:#fff;border-radius:15px;padding:24px;min-width:0}.box+.box,section+section{margin-top:18px}.grid>.box+.box,.split>.box+.box,.summary>.box+.box{margin:0}.tile{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:9px;padding:16px 18px}.tile h3{overflow-wrap:anywhere}.actions,.filters,.tabs,.tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions,.filters{margin-top:16px}.tabs{margin-bottom:17px}.pill{font-size:13px;background:#e1f1e9;color:#1e5a4e;border-radius:20px;padding:4px 10px;font-weight:650;white-space:nowrap}button,.button{font:inherit;font-weight:650;color:#fff;background:var(--accent);border:1px solid transparent;text-decoration:none;border-radius:9px;padding:10px 16px;cursor:pointer;display:inline-block;text-align:center}button:hover,.button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d5a349;outline-offset:2px}.subtle,.linkbtn,.pick{background:#fff;color:var(--ink);border:1px solid var(--line)}.light{background:#e0f2e7;color:var(--ink)}.linkbtn{border:0}.active,.pick:has(input:checked){background:#e0f2e7;color:#095848;border-color:#23796b}.pick{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px;border-radius:10px;font-weight:700;cursor:pointer}.pick input{accent-color:var(--accent)}button:disabled{opacity:.5;cursor:wait}form{margin-top:16px}.field{display:flex;flex-direction:column;gap:5px;font-size:15px;font-weight:650;margin-bottom:13px}.formgrid .field{margin-bottom:0}.formgrid{margin-bottom:15px}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-height:44px;padding:9px 11px;font:inherit;color:inherit;border:1px solid #b8c9c0;border-radius:8px;background:#fff}fieldset{border:0;padding:0;margin:0 0 16px}legend{font-weight:700;margin-bottom:7px}.deptgroup{margin:7px 0}.tags label{background:#f0f4f0;border-radius:6px;padding:5px 8px;margin-top:3px}.selection{display:grid;grid-template-columns:1fr 1fr;gap:10px}.error{color:#93372e;font-weight:650}.note{padding:12px;background:#eff5ef;border-radius:7px;color:var(--muted);font-size:14px;margin:12px 0}.empty{padding:16px 0;color:var(--muted)}.preview{width:100%;max-height:520px;object-fit:contain;background:#edf0ec;border-radius:9px}.step{color:var(--muted);font-size:14px;margin-top:5px}dialog{border:1px solid var(--line);border-radius:16px;padding:24px;max-width:min(540px,92vw);width:100%}dialog::backdrop{background:#122a2366}.close{margin-top:16px}.scroller{overflow:auto}table{width:100%;border-collapse:collapse;font-size:15px}th,td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;background:var(--ink);color:white;border-radius:10px;z-index:4}.filters label{min-width:130px}.filters .field{margin:0;flex:1}.flow{margin:12px 0;padding-left:25px}.flow li{padding:6px 0}.filepick{display:block;border:2px dashed #98bbac;border-radius:15px;padding:17px;color:var(--ink);background:#f4faf6;text-align:center}.filepick input{margin-top:12px;max-width:100%;font-size:15px}.filepick input::file-selector-button{padding:8px 12px;background:var(--accent);color:white;border:none;border-radius:7px}.sectionTitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;gap:10px}.sectionTitle .subtle{font-size:14px}small{font-size:14px}.rowinfo{overflow-wrap:anywhere}a{color:#126654}.sample{margin-left:6px}.previewLink{font-size:14px}.muted+section{margin-top:12px}@media(max-width:760px){.bar,main{width:calc(100% - 28px)}.bar{flex-wrap:wrap;gap:5px;padding:12px 0}.bar nav{order:3;flex-basis:100%}main{padding-top:24px}.grid,.split{grid-template-columns:1fr}.summary{grid-template-columns:1fr 1fr}.box{padding:17px}.tile{align-items:flex-start;flex-wrap:wrap}.hero{border-radius:14px}.bar button{font-size:14px;padding:8px 10px}}@media(max-width:450px){.formgrid{grid-template-columns:1fr}.selection{gap:6px}.pick{padding:12px 7px}.summary strong{font-size:19px}.filters .field{min-width:135px}}

/* Review desk */
:root {
  --forest:#13493f;
  --forest-dark:#113d35;
  --paper:#fff;
  --rule:#dfe6e1;
  --secondary:#546861;
}
.inbox-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:9px 0 29px}
.workspace-label{display:flex;align-items:center;gap:8px;color:#396157;margin-bottom:9px;font-size:.9rem;font-weight:700}
.workspace-label span{color:#9baea5}
.inbox-header h1{font-size:clamp(2rem,4vw,2.7rem);font-weight:760}
.inbox-header p{margin-top:8px;color:var(--secondary)}
.inbox-tools{display:flex;flex-wrap:wrap;gap:8px}
.inbox-panel{overflow:hidden;background:var(--paper);border:1px solid var(--rule);border-radius:17px;box-shadow:0 4px 18px #233f3410}
.inbox-tabs{display:flex;align-items:stretch;gap:22px;border-bottom:1px solid var(--rule);padding:0 26px}
.inbox-tabs button{display:inline-flex;gap:7px;align-items:center;padding:18px 0 15px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#596b64;font-size:.96rem;white-space:nowrap}
.inbox-tabs button[aria-pressed=true]{color:var(--forest);border-bottom-color:var(--forest)}
.inbox-tabs button span{border-radius:5px;padding:1px 6px;font-size:.78rem;background:#eff2ef;color:#586963;font-variant-numeric:tabular-nums}
.inbox-tabs button[aria-pressed=true] span{color:white;background:var(--forest)}
.queue-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(90px,auto) minmax(140px,auto) 87px;align-items:center;gap:18px;padding:20px 25px}
.queue-row+.queue-row{border-top:1px solid #e7ece8}
.queue-subject h3{font-size:1.04rem;line-height:1.4;overflow-wrap:anywhere}
.queue-subject p,.queue-amount time{font-size:.87rem;color:var(--secondary);margin-top:3px}
.queue-subject p span,.review-heading p span,.timeline small span{color:#9dafa5}
.queue-amount{text-align:right;display:grid;font-variant-numeric:tabular-nums}
.queue-amount strong{font-size:1.06rem;white-space:nowrap}
.queue-status{justify-self:center}
.review-btn{padding:8px 11px;border-radius:8px;font-size:.88rem;background:var(--forest)}
.review-btn.quiet{color:var(--forest);background:#f4f7f4;border-color:#dce6df}
.document-icon{width:42px;height:46px;background:#eaf1ec;color:#316052;border-radius:11px;display:inline-grid;place-items:center;flex:none}
.document-icon.proposal{background:#f5efe5;color:#84632d}
.document-icon i{position:relative;display:block;width:17px;height:22px;border:1.6px solid currentColor;border-radius:2px 5px 2px 2px}
.document-icon i:before,.document-icon i:after{content:"";position:absolute;left:3px;right:3px;height:1.5px;top:7px;background:currentColor}
.document-icon i:after{top:12px;right:5px}
.status-tag{display:inline-flex;align-items:center;gap:6px;flex:none;border-radius:99px;padding:5px 10px;font-size:.8rem;line-height:1.3;font-weight:650;white-space:nowrap}
.status-tag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.status-tag.mine{background:#fff0d5;color:#785111}
.status-tag.waiting{background:#eef1ef;color:#435e55}
.status-tag.complete{background:#dff1e6;color:#246247}
.inbox-empty{display:grid;justify-items:center;gap:11px;padding:48px 16px;color:var(--secondary)}
.inbox-empty p{margin:0}
dialog{width:min(460px,calc(100vw - 28px));max-width:none;border:0;border-radius:18px;box-shadow:0 22px 84px #10261f38;color:#172f27}
dialog::backdrop{background:#1528227a}
.settings-caption{margin:7px 0 20px;line-height:1.6}
dialog.review-dialog{padding:0;width:min(788px,calc(100vw - 36px));max-height:min(90dvh,900px);overflow:hidden}
.review-dialog #dialogBody{display:flex;flex-direction:column;max-height:inherit;min-height:0}
.review-dialog>.close{display:none}
.review-heading{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--rule);flex:none}
.review-type{display:flex;align-items:center;gap:13px;min-width:0}
.review-type h2{font-size:1.38rem;line-height:1.35;letter-spacing:-.045em}
.review-type p{margin-top:2px;font-size:.82rem;letter-spacing:.005em;color:var(--secondary);overflow-wrap:anywhere}
.review-type p span{margin:0 4px}
.x-close{width:40px;height:40px;display:grid;place-items:center;flex:none;padding:0;color:#53675e;background:#f1f4f0;border:0;border-radius:50%;font:400 25px/1 system-ui}
.review-content{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:23px 25px 23px 28px}
.amount-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:var(--forest-dark);color:#fff;border-radius:13px;padding:22px 24px}
.amount-caption{font-size:.86rem;font-weight:600;color:#c2dbcd}
.amount-panel strong{display:block;font-size:clamp(2.1rem,5vw,2.65rem);line-height:1.16;letter-spacing:-.055em;font-variant-numeric:tabular-nums;margin:3px 0 7px}
.amount-panel strong small{color:#e1eee7;font-size:.49em;font-weight:550;margin-left:4px}
.amount-panel p{color:#e6f0ea;font-size:1rem;font-weight:570;overflow-wrap:anywhere}
.amount-panel .waiting{background:#dfebe4;color:#2e5041}
.review-grid{display:grid;grid-template-columns:1.35fr minmax(0,1fr);gap:26px;margin:23px 0 0}
.review-content h3{font-size:1rem;letter-spacing:-.025em;margin:0 0 11px;color:#203d30}
.review-content section{margin:0;min-width:0}
.review-facts{margin:0}
.review-facts>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:baseline;padding:8px 0;border-bottom:1px solid #e8ede8;font-size:.92rem}
.review-facts>div:last-child{border:0}
.review-facts dt{color:#5c7063}
.review-facts dd{margin:0;color:#21392c;font-weight:570;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.review-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.review-section-heading a{color:#316354;font-weight:650;text-decoration:none;font-size:.85rem}
.proof-image{display:grid;place-items:center;height:211px;padding:10px;border:1px solid var(--rule);border-radius:10px;background:#f1f3ef;overflow:hidden}
.proof-image img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.review-content>.timeline-section{margin-top:22px;border-top:1px solid var(--rule);padding-top:19px}
.timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}
.timeline li{position:relative;display:flex;gap:12px;align-items:flex-start;padding:0 0 12px}
.timeline li:last-child{padding-bottom:0}
.timeline li:not(:last-child):before{content:"";position:absolute;left:6px;top:15px;bottom:-2px;width:1px;background:#d4e2d8}
.timeline i{position:relative;z-index:1;display:block;margin-top:4px;width:13px;height:13px;border-radius:50%;flex:none;border:2px solid #c1cbc3;background:white}
.timeline .finished i{border-color:#2c7058;background:#2c7058}
.timeline .finished i:before{content:"";position:absolute;left:1.5px;top:2px;width:5px;height:2.5px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:rotate(-45deg)}
.timeline .current i{border-color:#ae791f;background:#fff4d9}
.timeline strong{display:block;font-size:.88rem;line-height:1.55;font-weight:650}
.timeline small{display:block;color:#5d7165;font-size:.8rem}
.timeline .current small{color:#886419}
.timeline .later strong{font-weight:450;color:#5b6c61}
.review-footer{padding:15px 28px;border-top:1px solid var(--rule);display:flex;flex-wrap:wrap;gap:9px;justify-content:space-between;align-items:center;background:#fafbf9;flex:none}
.review-footer .button,.review-footer button{font-size:.92rem;padding:10px 15px}
.detail-approval{margin:0;text-align:right;min-width:0}
.detail-approval button{background:var(--forest)}
.detail-approval .error:not(:empty){max-width:380px;margin:0 0 6px;font-size:.86rem}
@media(max-width:760px){
 .inbox-header{align-items:flex-start;flex-direction:column;margin-bottom:20px}
 .inbox-tabs{gap:16px;padding:0 16px}
 .queue-row{grid-template-columns:32px minmax(0,1fr) auto;gap:8px 10px;padding:15px}
 .queue-row .document-icon{width:32px;height:37px;border-radius:8px}
 .queue-status{grid-column:2;justify-self:start}.queue-row .review-btn{grid-column:3;justify-self:end}
}
@media(max-width:590px){
 dialog.review-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:15px}
 .review-heading{padding:15px 16px}
 .review-content{padding:14px 16px 18px;scrollbar-gutter:auto}
 .review-type{gap:10px}.review-type .document-icon{width:35px;height:39px}
 .amount-panel{padding:16px;flex-wrap:wrap}.amount-panel strong{margin-bottom:4px}
 .review-grid{grid-template-columns:1fr;gap:17px;margin-top:17px}
 .review-facts>div{padding:7px 0;grid-template-columns:83px minmax(0,1fr)}
 .proof-image{height:145px}
 .review-content>.timeline-section{margin-top:17px;padding-top:15px}
 .review-footer{padding:12px 16px}.review-footer .button,.review-footer button{font-size:.88rem;padding:9px 10px}
}
@media(max-width:380px){
 .inbox-tabs{gap:10px;padding:0 10px}.inbox-tabs button{font-size:.84rem;gap:4px}
 .review-footer,.detail-approval{width:100%}.review-footer .button,.detail-approval button{width:100%}
}

/* Department finance workspace */
:root{
  --ink:#202538;--accent:#414cba;--forest:#343fa7;--forest-dark:#262c51;
  --line:#dadde7;--rule:#e1e3ea;--muted:#596173;--secondary:#606879;
  color:var(--ink);background:#f4f5f8;
}
body{background:linear-gradient(175deg,#f9f9fc,#f3f4f8 60%);min-height:100vh}
header{border-bottom-color:#e2e4ec;background:#fffffff5}
.bar{min-height:74px}
.brand{display:inline-flex;gap:8px;align-items:center;font-size:1.32rem;letter-spacing:-.075em;font-weight:820}
.brand:before{content:"";width:30px;height:30px;border-radius:8px;background:linear-gradient(130deg,transparent 33%,#d6eaa2 34% 43%,transparent 44% 49%,#d6eaa2 50% 59%,transparent 60%) #2d3458;box-shadow:inset 0 0 0 1px #363e67}
.brand b{color:#454fa9;font:720 .72rem/1.1 system-ui;letter-spacing:.035em;align-self:center;background:#eeeffa;padding:4px 5px;border-radius:4px}
.bar .active,.pick:has(input:checked){background:#eeeffb;color:#343e9a;border-color:#a7adec}
.bar [hidden]{display:none}
.bar #account{font-size:.86rem;color:#50576b}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #7885ed;outline-offset:2px}
main{padding-top:clamp(24px,4vw,52px)}
.access-grid,.compose-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:22px;align-items:start;max-width:930px;margin:auto}
.access-card,.compose-card,.route-card{border:1px solid var(--rule);border-radius:22px;padding:clamp(26px,3.7vw,44px);min-width:0}
.access-card,.compose-card{background:#fff;box-shadow:0 10px 35px #22284508}
.access-switch{display:inline-flex;background:#f0f1f6;border:1px solid #e3e5ed;padding:3px;border-radius:10px}
.access-switch button{padding:7px 15px;font-size:.88rem;background:transparent;color:#5d6578;font-weight:650;border:0;border-radius:7px}
.access-switch button[aria-pressed=true]{color:#303b96;background:#fff;box-shadow:0 1px 4px #1d255520}
.access-heading{margin:30px 0 24px}.access-heading h1,.compose-heading h1{font-size:clamp(1.95rem,3vw,2.42rem);letter-spacing:-.06em}
.access-heading p{margin-top:8px}.access-card .field,.compose-card .field{font-size:.9rem;gap:7px;margin-bottom:18px}
.access-card input:not([type=checkbox]),.compose-card input,.compose-card select,.compose-card textarea{min-width:0;min-height:47px;border:1px solid #cfd4e0;border-radius:9px;color:#22283a;background:#fbfbfd;padding:10px 12px}
.access-card input:focus,.compose-card :is(input,select,textarea):focus{background:#fff;border-color:#6777d5}
.identity-pair{display:grid;grid-template-columns:.85fr 1.15fr;gap:12px}
.birth{min-width:0}.birth legend{font-size:.9rem;margin:0 0 7px}
.birth-parts{display:grid;grid-template-columns:minmax(4.1em,1.45fr) repeat(2,minmax(2.6em,1fr));gap:4px}
.birth-parts input[type=text]{padding-inline:3px;text-align:center;min-width:0;font-variant-numeric:tabular-nums}
#estimate{font-variant-numeric:tabular-nums}
#estimate-reading{color:#405195;font-size:.94rem;font-weight:650}#estimate-reading:empty{display:none}
.access-card form>button[type=submit],.compose-card form>button[type=submit]{width:100%;min-height:47px;background:var(--accent);border-radius:10px}
.access-card .error:not(:empty),.compose-card .error:not(:empty){margin:0 0 12px}
.joined-notice{background:#eff5de;color:#364527;padding:11px 14px;border-radius:8px;font-size:.91rem}
.membership{padding:8px 0}.membership legend{font-size:.95rem}.membership legend small{margin-left:5px;font-weight:450}
.membership .deptgroup{margin:0 0 12px}.membership .tags{gap:6px}.membership .tags label{position:relative;display:flex;padding:0;background:none}
.membership .tags input{position:absolute;opacity:0;width:1px;height:1px}
.membership .tags span{padding:5px 10px;border:1px solid var(--rule);border-radius:7px;font-size:.86rem;color:#546073;cursor:pointer}
.membership .tags input:checked+span{background:#eceefa;color:#343d92;border-color:#888fd9;font-weight:700}
.membership .tags input:focus-visible+span{outline:2px solid var(--accent)}
.demo-disclosure{border-top:1px solid var(--rule);margin-top:24px;padding-top:17px}
.demo-disclosure summary{color:#535e71;font-size:.9rem;font-weight:620;cursor:pointer}
.demo-disclosure>div{margin-top:14px}
.route-card{position:relative;isolation:isolate;overflow:hidden;background:#242a4b;color:#fff;border-color:#242a4b;padding-top:32px}
.route-card:after,.member-banner:after{content:"";pointer-events:none;position:absolute;z-index:-1;right:-90px;top:-75px;width:270px;height:225px;background:repeating-linear-gradient(130deg,transparent 0 11px,#a7b1ee17 11.5px 12.5px);transform:skew(-8deg);mask-image:linear-gradient(215deg,#000 35%,transparent 86%)}
.route-art{display:grid;place-items:center;position:relative;width:56px;height:56px;color:#d4e9a7;margin:0 0 22px}
.route-art b,.route-art i{position:absolute;display:block;width:30px;height:37px;border:1.6px solid currentColor;border-radius:2px 6px 2px 2px;transform:rotate(12deg);background:#242a4b}
.route-art i{transform:translate(-6px,-3px) rotate(-11deg);opacity:.68}
.route-art b:before{content:"";position:absolute;inset:9px 5px 7px;background:repeating-linear-gradient(to bottom,#d4e9a7 0 1.4px,transparent 1.5px 6px)}
.route-card h2{font-size:clamp(1.25rem,2.4vw,1.68rem);letter-spacing:-.055em}
.routing-steps{list-style:none;padding:0;margin:21px 0 0;display:grid}
.routing-steps li{display:flex;position:relative;align-items:flex-start;gap:14px;padding:0 0 19px}
.routing-steps li:last-child{padding-bottom:0}
.routing-steps li:not(:last-child):after{content:"";position:absolute;left:14px;top:29px;bottom:0;border-left:1px solid #555d7a}
.step-index{display:grid;place-items:center;width:29px;height:29px;flex:none;color:#d2d7f0;border:1px solid #69718f;border-radius:50%;font:600 .72rem/1 ui-monospace,monospace}
.routing-steps li:nth-child(2) .step-index{background:#d3eba3;color:#25311c;border-color:#d3eba3}
.routing-steps strong,.routing-steps small{display:block}.routing-steps strong{font-size:.98rem;font-weight:650}.routing-steps small{color:#bfc5dc;font-size:.84rem;margin-top:2px}
.compose-heading{max-width:930px;margin:0 auto 24px}.back-link{background:none;padding:0;color:var(--secondary);font-size:.88rem;margin-bottom:12px}
.back-link:before{content:"‹ ";font-size:1.1rem}.compose-card h2{font-size:1.16rem;margin-bottom:21px}
.compose-card form{margin-top:0}.compose-card textarea{resize:vertical}.currency-input{display:flex;align-items:center;position:relative}
.currency-input span{position:absolute;right:15px;color:var(--secondary)}.compose-card .currency-input input{padding-right:45px}
.member-banner{position:relative;isolation:isolate;overflow:hidden;background:#252b4c;color:#fff;border-radius:20px;display:flex;justify-content:space-between;align-items:center;padding:clamp(24px,4vw,42px);gap:24px;margin-bottom:24px}
.member-banner .workspace-label{color:#c7cbe0;font-weight:550}.member-banner h1{font-size:clamp(2.1rem,3.8vw,2.8rem);letter-spacing:-.065em}
.member-banner .actions{margin-top:19px}.banner-action{color:#283221;background:#d3eba3}.banner-secondary{background:#363e65;border-color:#565e84}
.member-counts{margin:0;display:flex;flex-wrap:wrap;gap:30px}.member-counts>div{border-left:1px solid #5b6380;padding-left:18px}.member-counts dt{font-size:.86rem;color:#c8cce0}.member-counts dd{margin:0;font-size:2rem;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.member-counts small{font-size:.9rem;color:#e6e8f6;font-weight:550;margin-left:4px}
.inbox-header .workspace-label{color:#505a98}.inbox-tabs button[aria-pressed=true] span{background:#414cba}.document-icon.receipt{color:#414c9f;background:#ebeefa}.status-tag.waiting,.pill{color:#515885;background:#eff0f9}
.amount-panel{background:#262d50}.amount-caption,.amount-panel strong small,.amount-panel p{color:#e4e8ff}
.review-content h3,.review-facts dd{color:#293044}.review-facts dt,.timeline small{color:#626b7b}
.review-section-heading a{color:#3e499e}.review-footer{background:#f9f9fc}
@media(max-width:720px){
 .access-grid,.compose-grid{grid-template-columns:1fr;gap:16px}
 .route-card{padding:21px 24px}.route-art{display:none}.routing-steps{grid-template-columns:1fr 1fr;gap:16px 8px;margin-top:18px}
 .routing-steps li{padding:0;gap:8px}.routing-steps li:not(:last-child):after{display:none}
 .member-banner{align-items:flex-start;flex-direction:column}.member-counts{gap:22px}.member-counts>div{padding-left:12px}
 .bar{min-height:60px}
}
@media(max-width:420px){
 .access-card,.compose-card,.route-card{padding:21px 18px;border-radius:16px}.identity-pair{grid-template-columns:1fr;gap:0}
 .access-heading{margin:20px 0}.routing-steps li{gap:6px}.step-index{width:24px;height:24px}.routing-steps strong{font-size:.91rem}
}

.book-title,.book-heading,.staff-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.book-title{margin-bottom:24px}.book-title h1{margin:5px 0 9px}.book-title .workspace-label{color:#525c9b}.book-title p{font-size:.95rem}
.book-filter,.book-panel{background:white;border:1px solid var(--rule);border-radius:16px;min-width:0}
.book-filter{padding:18px 22px}.book-filter form{margin:0}.period-tools,.book-tabs{display:flex;gap:6px;flex-wrap:wrap}
.period-tools button,.book-heading button,.staff-row button{min-height:36px;padding:5px 12px;font-size:.86rem}
.book-controls{display:flex;align-items:end;gap:12px;margin-top:14px;flex-wrap:wrap}.book-controls .field{flex:1 1 130px;margin:0;min-width:0;font-size:.82rem;color:#4c546a}
.scope-controls input[type=search]{width:100%}.book-controls button{min-height:44px}
.book-summary{margin:18px 0 22px;padding:20px 24px;background:#272e52;border-radius:16px;color:white}
.book-summary p{color:#ced2e9;font-size:.88rem;margin:0 0 16px}.book-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
.book-summary dt{color:#e1e4f4;font-size:.84rem}.book-summary dd{margin:4px 0 0;font-weight:750;line-height:1.3;font-size:clamp(1.22rem,2.8vw,2.1rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.book-summary dd small{color:inherit;font-size:.75rem;margin-left:3px}.book-summary dl>div:last-child dd{color:#d4eda3}
.book-tabs{margin-bottom:12px}.book-tabs button{background:transparent;color:#626b82;border:1px solid transparent;padding:7px 14px}
.book-tabs button[aria-pressed=true]{background:#e7e9fa;color:#323f99;border-color:#cbd0ed}
.book-entries,.staff-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}
.book-entries>.book-panel,.staff-layout>.book-panel{margin:0}
.book-heading{border-bottom:1px solid var(--rule);padding:15px 18px;min-height:57px}.book-heading h2{font-size:1.13rem}.book-heading h2 small{font-size:.8rem;font-weight:550;margin-left:3px}
.book-panel .scroller{padding:0 14px}.ledger-table{font-size:.85rem}.ledger-table small,.proof-choices small,.staff-history small,.staff-row small{display:block;color:var(--secondary);font-size:.78rem;font-weight:500}
.ledger-table td:nth-child(2),.ledger-table td:first-child{white-space:normal;overflow-wrap:anywhere}
.ledger-table time{white-space:nowrap}.ledger-table .num{text-align:right;font-variant-numeric:tabular-nums}
.ledger-empty{padding:23px 18px;font-size:.91rem}.entry-link{background:none;color:#36429b;border:0;text-align:left;padding:0;line-height:1.5;overflow-wrap:anywhere}
.proof-choices{margin:18px 0}.proof-choices label{display:flex;align-items:center;gap:13px;padding:13px;margin:7px 0;border:1px solid #d9dce9;border-radius:10px;cursor:pointer}
.proof-choices label:has(:checked){background:#f1f2fc;border-color:#737dce}.proof-choices input{accent-color:var(--accent)}
.staff-select{margin:16px 18px}.staff-row,.staff-history li{padding:14px 18px;border-top:1px solid var(--rule)}
.staff-row strong,.staff-history strong{display:block;margin-top:3px}.staff-history{padding:0;list-style:none;margin:0}.staff-history li:first-child{border:0}
@media(max-width:860px){.book-entries,.staff-layout{grid-template-columns:1fr}.book-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.book-title{align-items:flex-start;flex-wrap:wrap}.book-filter,.book-summary{padding:16px}.book-controls{gap:9px}.book-controls .field{flex:1 1 44%}.book-controls button{flex:1 1 auto}.scope-controls input{font-size:16px}.book-heading{padding:12px 14px}.book-summary dl{gap:13px}.bar nav{flex-wrap:wrap}.book-panel .scroller{padding:0 7px}}
@media(max-width:390px){.book-controls:not(.scope-controls) .field{flex:1 1 100%}.book-controls input[type=date],.book-controls input[type=month]{min-width:0}.scope-controls .field:has(input[type=search]){flex-basis:100%}}

/* The portal name stays visible while working in either tab. */
.bar{column-gap:16px}
#portal-label{flex:none;font-size:.8rem;line-height:1.2;font-weight:700;color:#576071;border-left:1px solid var(--rule);padding-left:12px}
body[data-portal=admin] header{background:#232a49;border-color:#232a49}
body[data-portal=admin] header .brand,body[data-portal=admin] #portal-label{color:white}
body[data-portal=admin] #portal-label{border-color:#6a7296}
body[data-portal=admin] header .linkbtn,body[data-portal=admin] header #account{background:transparent;color:#eaedf8;border-color:transparent}
body[data-portal=admin] header .active{background:#414a73}
body[data-portal=test]{--accent:#226956;--forest:#235d50}
body[data-portal=test] #portal-label{color:#256756}
body[data-portal=test] .bar .active{background:#e2f0e9;color:#205d4d}
.admin-login{margin:4vh auto 0;max-width:470px;background:#fff;border:1px solid var(--rule);border-top:4px solid #333e6a;border-radius:16px;padding:clamp(24px,4vw,42px);box-shadow:0 10px 34px #242a4b0b}
.admin-login .access-heading{margin:0 0 26px}
.admin-login form>button{width:100%;min-height:46px;margin-top:8px}
.portal-links,.test-extra{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--rule);margin-top:20px;padding-top:15px}
.portal-links a{color:#455377;font-size:.88rem}.access-card>.back-link{margin:15px 0 0}
.test-heading,.test-launch,.test-extra{max-width:900px;margin-inline:auto}
.test-heading{margin-bottom:26px}.test-heading p{margin-top:9px}
.test-launch{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.test-launch section{background:white;border:1px solid var(--rule);border-radius:20px;padding:clamp(22px,3.8vw,38px);margin:0}
.test-launch section:first-child{background:#193f38;color:white;border-color:#193f38}
.test-launch p{margin:9px 0 22px}.test-launch section:first-child p{color:#d6e7e1}
.test-launch section:first-child button{background:#dbedae;color:#27432d}
.test-extra .linkbtn{padding:8px 0;color:#306858;background:none}
@media(max-width:700px){.test-launch{grid-template-columns:1fr}.bar{column-gap:8px}#portal-label{font-size:.72rem;padding-left:8px}.admin-login{margin-top:8px}}

#portal-home{white-space:nowrap;font-size:.86rem;color:#505b72;text-underline-offset:.2em}
[data-portal=admin] #portal-home{color:#e0e5fa}

.home-guide-link{display:none}
.bar .admin-shortcut{display:inline-flex;align-items:center;min-height:44px;padding-inline:8px;font-size:.81rem;font-weight:500;color:#59635a;text-decoration:none}
.bar .admin-shortcut:hover{text-decoration:underline;text-underline-offset:.2em}

body[data-portal=start]{
  --desk-ink:#172742;--desk-accent:#204ac4;--desk-bg:#e4eafb;--desk-rule:#dce2ec;
  font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  background:#fff;color:var(--desk-ink);word-break:keep-all;
}
[data-portal=start] header{background:#fff;border-bottom:1px solid #e8ecf2}
[data-portal=start] .bar,[data-portal=start] main{width:min(1112px,calc(100% - 64px))}
[data-portal=start] .bar{min-height:72px;display:flex;align-items:center;gap:0}
[data-portal=start] .brand{font-size:1.32rem;color:#172742;font-weight:780;letter-spacing:-.06em;gap:9px}
[data-portal=start] .brand:before{
  width:30px;height:32px;border:0;border-radius:9px;box-shadow:none;
  background:linear-gradient(145deg,transparent 33%,#fff 34% 41%,transparent 42% 48%,#c5d8ff 49% 56%,transparent 57%) center/18px 22px no-repeat,#264bc5;
}
[data-portal=start] :is(.brand b,#nav,#portal-label){display:none}
[data-portal=start] .home-guide-link{
  display:inline-flex;align-items:center;min-height:44px;margin-left:auto;
  color:#465367;font-size:.85rem;font-weight:580;text-decoration:none;
}
[data-portal=start] main{padding:clamp(22px,3.2vw,42px) 0 20px}
.entrance{margin:0}
.desk-hero{
  display:grid;grid-template-columns:46% 54%;isolation:isolate;position:relative;
  overflow:hidden;background:var(--desk-bg);border-radius:22px;
}
.desk-copy{position:relative;z-index:1;align-self:center;padding:clamp(36px,4.6vw,70px) 0 clamp(36px,4.6vw,70px) clamp(32px,5vw,72px)}
.desk-copy h1{
  margin:0;font-size:clamp(2.75rem,4.6vw,4rem);font-weight:760;
  letter-spacing:-.068em;line-height:1.12;color:#11274e;
}
.desk-copy p{margin:17px 0 23px;color:#43516a;font-size:1.05rem;font-weight:450;line-height:1.6;letter-spacing:-.025em}
.desk-action{
  display:inline-flex;align-items:center;justify-content:space-between;gap:28px;width:min(100%,310px);min-height:68px;padding:16px 26px;border-radius:13px;
  background:var(--desk-accent);color:#fff;text-decoration:none;font-size:1.22rem;font-weight:710;letter-spacing:-.025em;box-shadow:0 5px 12px #204ac422;
}
.desk-action span{font:1.22rem/1 system-ui;transition:transform .16s ease-out}
.desk-action:hover{background:#173aaa}.desk-action:hover span{transform:translateX(3px)}
.desk-photo{
  align-self:stretch;position:relative;
  aspect-ratio:4/3;
  mask-image:linear-gradient(to right,transparent,#000 12%);
}
.desk-photo img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.desk-guide{margin-top:clamp(28px,4vw,48px);scroll-margin-top:20px}
.desk-guide h2{margin:0 0 16px;font-size:clamp(1.2rem,2vw,1.55rem);font-weight:700;letter-spacing:-.048em}
.desk-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.desk-document{border:1px solid var(--desk-rule);border-radius:14px;background:#fff;overflow:clip}
.desk-document summary{display:flex;align-items:center;gap:16px;min-height:90px;padding:16px 22px;list-style:none;cursor:pointer}
.desk-document summary:hover{background:#f7f9fc}
.desk-document summary::-webkit-details-marker{display:none}
.desk-document summary:focus-visible{outline-offset:-3px}
.desk-doc-name{display:grid;gap:1px}
.desk-doc-name small{color:#526177;font-weight:550;font-size:.8rem}
.desk-doc-name strong{color:var(--desk-ink);font-size:1.14rem;font-weight:680;letter-spacing:-.045em}
.desk-icon{display:grid;place-items:center;position:relative;flex:none;width:45px;height:45px;border-radius:13px;background:#edf1ff;color:#395fcc}
.desk-icon:before{content:"";width:19px;height:22px;border-radius:3px;border:1.7px solid currentColor;background:linear-gradient(currentColor,currentColor) center 6px/10px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center 11px/10px 1.5px no-repeat}
.receipt-icon{background:#e5f3ee;color:#307664}
.receipt-icon:before{border-bottom:0;border-radius:2px 2px 0 0}
.receipt-icon:after{content:"";position:absolute;width:20px;height:4px;bottom:11px;background:repeating-linear-gradient(135deg,currentColor 0 1.6px,transparent 1.6px 4.8px)}
.desk-chevron{margin-left:auto;width:8px;height:8px;border-right:1.5px solid #667386;border-bottom:1.5px solid #667386;transform:rotate(45deg) translate(-1px,-1px)}
.desk-document[open] .desk-chevron{transform:rotate(225deg)}
.desk-document p{border-top:1px solid #e5eaf2;margin:0 22px;padding:15px 0 18px;color:#455369;font-size:.95rem;line-height:1.7}
.desk-document b{font-weight:650}
.entrance-secondary{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:16px}
.entrance-secondary a{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem;font-weight:500;color:#576477;text-decoration:none}
.entrance-secondary a:hover,.home-guide-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:720px){
  [data-portal=start] .bar,[data-portal=start] main{width:calc(100% - 32px)}
  [data-portal=start] .bar{min-height:59px;flex-wrap:nowrap}
  [data-portal=start] main{padding-top:16px}
  .desk-hero{grid-template-columns:1fr;grid-template-rows:auto auto;border-radius:18px}
  .desk-copy{padding:26px 24px 0}
  .desk-copy h1{font-size:clamp(2.28rem,7.7vw,3.2rem)}
  .desk-copy p{margin:10px 0 16px;font-size:.97rem;line-height:1.5}
  .desk-copy p br{display:none}
  .desk-action{width:100%;min-height:59px;font-size:1.12rem;padding:13px 20px}
  .desk-photo{width:100%;height:clamp(172px,58vw,265px);aspect-ratio:auto;mask-image:linear-gradient(to bottom,transparent,#000 15%)}
  .desk-photo img{object-position:center 54%}
  .desk-guide{margin-top:25px}
  .desk-guide h2{margin-bottom:12px}
  .desk-documents{grid-template-columns:1fr;gap:8px}
  .desk-document summary{padding:12px 15px;min-height:68px;gap:12px}
  .desk-icon{width:41px;height:41px}
  .receipt-icon:after{bottom:9px}
  .desk-doc-name strong{font-size:1.04rem}
  .desk-document p{margin-inline:15px}
  .entrance-secondary{margin-top:7px}
}
@media(prefers-reduced-motion:reduce){.desk-action span{transition:none}}

/* Department finance dashboard */
.dash{--navy:#172e55;--blue:#345dcc;--mint:#32917d;--gray:#59697b;--border:#dce3eb;color:#182a43;font-variant-numeric:tabular-nums}
.dash-heading,.dash-panel-title,.dash-overview-caption,.dash-controls,.dash-project-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dash-heading{margin-bottom:23px}.dash-heading h1{font-size:clamp(2rem,4vw,2.75rem)}.dash-heading .workspace-label{color:#516078;margin-bottom:6px}
.dash-heading button,.dash-controls button{white-space:nowrap}.dash-controls{align-items:flex-start;margin-bottom:15px;flex-wrap:wrap}
.dash-presets{display:flex;gap:3px;padding:3px;background:#e8edf1;border-radius:10px}
.dash-presets button{border:0;background:transparent;color:#536272;padding:7px 13px;font-size:.89rem}
.dash-presets [aria-pressed=true]{background:white;color:#1d3b66;box-shadow:0 1px 4px #20385222}
.dash-dates{margin-left:auto}.dash-dates summary,.dash-values summary{cursor:pointer;color:#455978;font-weight:650;font-size:.89rem;padding:9px 2px}
.dash-dates[open]{width:100%;margin:0;background:white;border:1px solid var(--border);border-radius:14px;padding:4px 15px 12px}
.dash-dates form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:4px 0 0}.dash-dates .field{flex:1 1 130px;margin:0;font-size:.85rem}
.dash-dates form button{background:#24477d}.dash-dates .error:not(:empty){flex-basis:100%}
.dash-overview{background:var(--navy);color:white;padding:clamp(20px,3vw,32px);border-radius:18px}
.dash-overview-caption{justify-content:flex-start;flex-wrap:wrap;color:#f1f5ff;font-weight:650}.dash-overview time{font-size:.83rem;font-weight:500;color:#c2d0e5}
.dash-overview dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:23px 0 0;gap:16px}
.dash-overview dl>div+div{border-left:1px solid #43577a;padding-left:clamp(12px,3vw,40px)}
.dash-overview dt,.dash-overview dl>div>small{color:#c7d4e8;font-size:.86rem}
.dash-overview dd{font-size:clamp(1.42rem,3.1vw,2.65rem);line-height:1.22;letter-spacing:-.05em;margin:4px 0 5px;font-weight:720;overflow-wrap:anywhere}
.dash-overview dd small{font-size:.55em;color:#e6edf9;margin-left:.18em;font-weight:500}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px;margin:16px 0}
.dash-panel{margin:0;min-width:0;padding:clamp(18px,2.5vw,27px);border:1px solid var(--border);border-radius:17px;background:white}
.dash-grid>section,.dash-projects{margin:0}
.dash-panel-title{margin-bottom:15px}.dash-panel-title h2{font-size:1.23rem;line-height:1.3}.dash-panel-title small,.dash-legend{font-size:.8rem;color:var(--gray)}
.dash-legend{display:flex;align-items:center;gap:5px;white-space:nowrap}.dash-legend i{width:8px;height:8px;border-radius:2px;background:var(--mint)}.dash-legend i+i{margin-left:4px;background:var(--blue)}
.dash-chart{display:grid;grid-template-columns:repeat(var(--periods),minmax(0,1fr));gap:2px}
.dash-column{text-align:center;min-width:0}.dash-column small{display:block;line-height:1.25;margin-top:5px;color:var(--gray);font-size:.7rem}
.dash-bars{height:102px;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid #cfd7e3;background:repeating-linear-gradient(to top,transparent 0 32px,#eef1f6 32px 33px)}
.dash-bars i{width:26%;max-width:16px;border-radius:3px 3px 0 0}.dash-bars .in{background:var(--mint)}.dash-bars .out{background:var(--blue)}
.dash-values{margin-top:8px}.dash-values summary{width:fit-content;font-weight:500;font-size:.8rem}.dash-values :is(td,th):not(:first-child){text-align:right}
.dash-list{max-height:360px;overflow-y:auto}.dash-empty{padding:24px 0;color:var(--gray);font-size:.92rem}
.dash-purpose,.dash-project,.dash-queue{border:0;background:white;color:inherit;width:100%;text-align:left}
.dash-purpose{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:10px 4px;font-size:.94rem}
.dash-purpose:first-child{padding-top:3px}.dash-purpose>span{overflow-wrap:anywhere}.dash-purpose>strong,.dash-purpose>small{text-align:right}
.dash-purpose>small{color:var(--gray);font-size:.77rem}.dash-track{height:5px;border-radius:10px;background:#edf1f7}
.dash-track i{display:block;height:100%;background:var(--blue);border-radius:inherit}
.dash-project-head{padding-bottom:8px;color:var(--gray);font-size:.79rem;border-bottom:1px solid var(--border)}
.dash-budget-totals{display:flex;flex-wrap:wrap;gap:12px 36px;margin:0 0 16px;padding:13px 16px;background:#f1f5fa;border-radius:10px}
.dash-budget-totals dt{font-size:.78rem;color:var(--gray)}.dash-budget-totals dd{font-size:1.04rem;font-weight:700;margin:2px 0 0}
.dash-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px 2px;border-radius:0}
.dash-project+.dash-project{border-top:1px solid var(--border)}.dash-project>span{display:grid;gap:3px;overflow-wrap:anywhere}
.dash-project>span+span{text-align:right}.dash-project em,.dash-project small{font-style:normal;font-size:.85rem;color:var(--gray);font-weight:500}
.dash-project .over{color:#a54138;font-weight:650}.dash-queue{margin-top:14px;display:flex;align-items:center;gap:9px;border-radius:11px;background:#e7edf6;padding:13px 17px}
.dash-queue span{margin-left:auto;font-size:.84rem;color:#41567b}.dash-purpose:hover,.dash-project:hover{filter:none;background:#f4f7fc}
.dash button:focus-visible{outline-offset:-3px}
.membership .deptgroup{margin:0;border-bottom:1px solid var(--rule)}.membership summary{cursor:pointer;padding:9px 0;font-size:.92rem;color:#394a60}
.membership .deptgroup:has(:checked) summary{font-weight:700;color:var(--accent)}.membership .tags{padding-bottom:12px}
.org-sources{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0;color:#526170;font-size:.86rem}.org-sources a{text-underline-offset:3px}
@media(max-width:740px){.dash-grid{grid-template-columns:1fr;gap:10px;margin:10px 0}.dash-overview dl{gap:8px}.dash-overview dl>div+div{padding-left:12px}}
@media(max-width:480px){
 .dash-heading{margin-bottom:17px}.dash-heading h1{font-size:1.85rem}.dash-heading button{padding:8px 10px;font-size:.85rem}
 .dash-overview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px;margin-top:16px}
 .dash-overview dl>div:nth-child(3){grid-column:1/-1;border:0;border-top:1px solid #43577a;padding:12px 0 0}
 .dash-overview dl>div:nth-child(3) dd{display:inline-block;margin-right:8px}
 .dash-overview-caption{gap:3px 9px}.dash-overview dd{font-size:1.5rem}
 .dash-project strong{font-size:.9rem}.dash-presets button{padding:7px 10px}.dash-column small{font-size:.63rem}
 .dash-dates form button{width:100%}
}

.password-help{margin-top:1.25rem;color:#4a5e56;font-size:.88rem;line-height:1.65}.password-help summary{cursor:pointer}.password-help p{margin:.5rem 0}

.ledger-form{width:100%;min-width:640px;border-collapse:collapse;table-layout:auto;background:white;color:#17221d;font-variant-numeric:tabular-nums}
.ledger-form caption{padding:.65rem;background:linear-gradient(#eff5fa,#b3cbe3);font-weight:700;font-size:1.15rem}
.ledger-form th,.ledger-form td{border:1px solid #89958d;text-align:center;line-height:1.35;padding:.3rem .5rem;height:1.85rem}
.ledger-form thead th,.ledger-form .ledger-total{background:#e8ece9;font-weight:650}
.ledger-form thead tr:first-child td{border:0;text-align:right;font-size:.78rem}
.ledger-form td.amount{text-align:right;white-space:nowrap}
.ledger-form .memo{text-align:left;width:22%;overflow-wrap:anywhere}
.ledger-form .entry-link{white-space:normal;overflow-wrap:anywhere}

.receipt-picker{align-self:start}
.receipt-picker [hidden]{display:none!important}
.receipt-feedback{
 display:flex;align-items:center;gap:15px;min-height:98px;padding:16px;
 background:#f1f6f2;border:1px solid #dbe7de;border-radius:15px;
}
.receipt-feedback strong,.receipt-feedback small{display:block;word-break:keep-all;overflow-wrap:anywhere}
.receipt-feedback strong{color:#19473e;font-size:1.05rem;line-height:1.4}
.receipt-feedback small{margin-top:4px;color:#4c675c;font-size:.85rem;line-height:1.5}
.receipt-stamp{
 position:relative;display:grid;place-items:center;flex:0 0 56px;height:60px;
 border-radius:16px;background:#dfece3;isolation:isolate;
}
.receipt-stamp::after{
 content:"";position:absolute;bottom:8px;width:26px;height:4px;border-radius:50%;background:#b2cab9;z-index:-1;
}
.receipt-slip{
 position:relative;display:block;width:27px;height:35px;transform:rotate(-7deg);
 background:linear-gradient(#ece8dc 0 0) 5px 6px/17px 2px no-repeat,
            linear-gradient(#d8d7cd 0 0) 5px 10px/10px 2px no-repeat,#fffdf4;
 clip-path:polygon(0 0,100% 0,100% 100%,84% 93%,67% 100%,50% 93%,33% 100%,16% 93%,0 100%);
 border-radius:3px 3px 0 0;
}
.receipt-slip i{
 position:absolute;top:17px;left:7px;width:3px;height:4px;background:#345747;border-radius:50%;
 box-shadow:10px 0 #345747,-3px 4px 0 0 #edb9a6,13px 4px 0 0 #edb9a6;
}
.receipt-slip b{
 position:absolute;top:22px;left:11px;width:6px;height:3px;border:1.4px solid #345747;
 border-top:0;border-radius:0 0 5px 5px;
}
.receipt-feedback:is([data-phase=prepare],[data-phase=sending]) .receipt-slip{
 animation:receipt-hop 1s ease-in-out infinite;
}
.receipt-feedback[data-phase=reading] .receipt-scan{
 position:absolute;left:10px;right:10px;height:2px;border-radius:3px;
 background:#247763;box-shadow:0 -3px 5px #59ad9266;animation:receipt-read 1.5s ease-in-out infinite alternate;
}
.receipt-feedback[data-phase=ready] .receipt-stamp::before{
 content:"✓";position:absolute;right:1px;bottom:5px;z-index:1;display:grid;place-items:center;
 width:18px;height:18px;border:2px solid #e9f2eb;border-radius:50%;background:#246a52;color:white;
 font:700 11px/1 system-ui;
}
.receipt-feedback[data-phase=error]{border-color:#e9ccb7;background:#fff7ee}
.receipt-feedback[data-phase=error] strong{color:#804426}
.receipt-feedback[data-phase=error] small{color:#765541}
.receipt-controls{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.receipt-controls button{min-height:44px;flex:1 1 100px}
.receipt-extras{display:flex;flex-wrap:wrap;gap:8px}
.receipt-extras button:not([hidden]){margin:8px 0 0;min-height:40px}
.receipt-picker .preview:not([hidden]){display:block;margin-top:12px}
@keyframes receipt-hop{
 0%,100%{transform:translateY(1px) rotate(-7deg)}
 45%{transform:translateY(-5px) rotate(4deg)}
}
@keyframes receipt-read{from{transform:translateY(-13px)}to{transform:translateY(13px)}}
@media(prefers-reduced-motion:reduce){
 .receipt-feedback .receipt-slip,.receipt-feedback[data-phase=reading] .receipt-scan{animation:none!important}
}

.proof-section button.proof-image{width:100%;position:relative;cursor:zoom-in}
.proof-image>span{position:absolute;bottom:8px;right:8px;padding:4px 9px;border-radius:7px;color:#24493d;background:#fff;font-size:.8rem}
.project-confirmations{margin-top:16px;border-top:1px solid #dae2dd;padding-top:12px}
.project-confirmations h3{margin:0 0 8px}.project-confirmations p{color:#546c61;font-size:.91rem}
.project-confirmations button{margin:4px 8px 4px 0}
.password-match{margin:0;color:#425d50;font-size:.88rem;line-height:1.5}
.password-match:empty{display:none}
.password-match[data-match="yes"]{color:#166348}
.password-match[data-match="no"]{color:#a32f36}
.field input[aria-invalid="true"]{border-color:#b74349}
