:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',Arial,sans-serif;color:#253448;background:#f3f5f9;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#158a80;text-decoration:none}a:hover{color:#0c665e}button,input,select{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:#148c82;color:#fff;border:1px solid transparent;border-radius:7px;padding:10px 16px;cursor:pointer;font-weight:600;white-space:nowrap;line-height:1.4}.button:hover,button:hover{filter:brightness(.97);color:#fff}.ghost{background:#f4f7fa;border-color:#dce4ed;color:#506178}.ghost:hover{color:#253448}.small{padding:6px 10px;font-size:12px}.danger-ghost{background:#fff0f1;color:#bd4552;border-color:#f3d9dd}.logout{padding:6px 10px;background:#f4f6f9;color:#6a798b;font-size:12px}input,select{display:block;width:100%;margin-top:7px;padding:10px 12px;border:1px solid #d7dfe9;border-radius:6px;background:#fff;color:#26364a;min-height:39px;outline:none}input:focus,select:focus{border-color:#159c8f;box-shadow:0 0 0 3px #159c8f12}label{display:block;font-size:12px;color:#69788a;font-weight:600}small{display:block;font-size:11px;color:#94a0ae;margin-top:5px;font-weight:400}p{line-height:1.7}.muted{color:#8793a3;font-size:12px}.teal{color:#118f83!important}.red{color:#d45465}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.notice,.error{padding:14px 18px;border-radius:7px;margin-bottom:20px;line-height:1.7;font-size:13px}.notice{background:#e9f6f2;border:1px solid #ceeade;color:#26816a}.error{background:#fff0f0;border:1px solid #f5d5d5;color:#b44545}
.app-main{margin:0;padding:0;max-width:none}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#202e40;color:#a8b5c7;display:flex;flex-direction:column;z-index:20}.brand{height:88px;display:flex;align-items:center;padding:0 26px;gap:12px;color:#f4f7fb;font-size:24px;font-weight:800;letter-spacing:-1px}.brand:hover{color:white}.brand small{font-size:8px;letter-spacing:1.5px;color:#8497b0;margin-top:4px}.brand-symbol{width:34px;height:34px;border:3px solid #29b6a3;border-radius:10px;display:grid;place-items:center;font-size:21px;color:#32c9b1}.workspace-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;padding:21px 26px 14px;color:#6e829d;border-top:1px solid #ffffff08}.sidebar nav{display:flex;flex-direction:column;gap:5px;padding:0 14px}.sidebar nav a{padding:12px 14px;color:#a6b6cb;border-radius:7px;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500}.sidebar nav a:hover{background:#ffffff06;color:white}.sidebar nav a.active{background:#2b4153;color:#45d6bf;box-shadow:inset 3px 0 #29c8af}.nav-icon{font-size:19px;width:21px;text-align:center;color:#7189a6}.active .nav-icon{color:#45d6bf}.sidebar-bottom{margin-top:auto;padding:24px 26px;font-size:10px;color:#8b9cb2;border-top:1px solid #ffffff08}.sidebar-bottom p{font-size:10px;color:#5d748e}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#31bea3;margin-right:7px}.workspace{margin-left:236px;min-width:0;width:calc(100% - 236px)}.topbar{height:73px;background:#fff;border-bottom:1px solid #e5eaf1;display:flex;justify-content:space-between;align-items:center;padding:0 34px;font-size:12px}.topbar strong{font-size:12px;font-weight:500;color:#64738a}.separator{margin:0 13px;color:#c4cdd8}.account{display:flex;align-items:center;gap:10px}.account b{font-size:12px}.account small{font-size:10px;margin:3px 0 0}.account form{margin-left:12px}.avatar{width:32px;height:32px;border-radius:50%;background:#e1f3ef;color:#118e7e;font-size:13px;font-weight:700;display:grid;place-items:center;text-transform:uppercase}.page-content{padding:30px 32px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#9ba8b9;margin:0 0 8px;font-weight:600}.page-heading h1{font-size:23px;letter-spacing:-.6px;font-weight:700;margin:0 0 8px}.page-heading .muted{margin:0;font-size:12px}.date-chip{padding:9px 13px;background:#fff;border:1px solid #e4eaf1;border-radius:6px;color:#77869b;font-size:11px}.date-chip span{margin-left:10px;color:#a4aebc;font-size:9px}.panel{background:#fff;border:1px solid #e1e7f0;border-radius:10px;padding:22px;margin-bottom:22px;box-shadow:0 3px 5px #26344802}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.panel-title h2{font-size:14px;font-weight:700;margin:0}.panel-title a{font-size:11px}.badge{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:10px;line-height:1;font-weight:500;white-space:nowrap}.badge.active,.badge.paid{background:#e1f5ee;color:#1f9c7b}.badge.requested{background:#fff2d8;color:#b58328}.badge.rejected,.badge.inactive{background:#fbe9ec;color:#bc5c6d}.badge.neutral{background:#f1f4f8;color:#8190a4}.badge.admin{background:#e9edfb;color:#6b7bc2}.badge.partner{background:#e8f1fb;color:#4c85bc}.badge.manager{background:#e4f5f1;color:#339785}.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:22px}.kpi{background:#fff;border:1px solid #e1e7f0;border-radius:10px;padding:24px;position:relative;overflow:hidden}.kpi.accent{border-top:3px solid #26ad9d;padding-top:22px}.kpi>span{font-size:12px;color:#7b899b}.kpi strong{display:block;margin:14px 0 12px;font-size:27px;letter-spacing:-.8px;font-weight:700;color:#2b3d53;font-variant-numeric:tabular-nums}.kpi.accent strong{color:#0b9687}.kpi em{font-size:14px;font-style:normal;font-weight:400;margin-left:6px;color:#8c9aab}.kpi a,.kpi small{font-size:10px}.filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:0 0 20px;border-bottom:1px solid #edf1f6;margin:0 0 20px}.filters label{min-width:125px;flex:0 1 155px}.filters .grow{flex:1;min-width:150px}.filters input,.filters select{font-size:12px}.filters button,.filters .button{font-size:12px;min-height:39px}.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:12px 0}.metric-row>div{padding:0 22px;border-right:1px solid #edf1f6}.metric-row>div:first-child{padding-left:0}.metric-row>div:last-child{border:0}.metric-row span{display:block;color:#8c99aa;font-size:11px}.metric-row strong{display:block;margin-top:10px;font-size:21px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.two-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.quick{display:flex;justify-content:space-between;align-items:center;padding:21px 4px;border-bottom:1px solid #edf1f6;gap:15px}.quick:last-child{border:0}.quick b{font-size:12px;color:#465b74}.quick span{font-size:10px;color:#95a2b3}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{padding:12px 13px;background:#f5f7fa;font-size:10px;font-weight:500;color:#8190a4;text-align:left;border-top:1px solid #edf1f6;border-bottom:1px solid #e8edf4}td{padding:16px 13px;border-bottom:1px solid #edf1f6;color:#63758c;font-size:11px}td b{font-size:12px;color:#3f536d;font-weight:600}td small{font-size:10px}.num{text-align:right;font-variant-numeric:tabular-nums}.link-url{font-size:11px}.level{color:#8a9bb3;font-size:10px;background:#f1f4f9;padding:5px 7px;border-radius:5px}.empty{text-align:center!important;color:#9da8b9;padding:48px!important;white-space:normal;font-size:12px}.empty-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#f2f5f9;color:#b8c6d7;margin:0 auto 12px}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.count-label{font-size:12px;color:#7e8da0}.count-label b{color:#189e8b;margin-left:8px}.count-label span{color:#9eabba;margin-left:8px}.create-panel{background:#fff;border:1px solid #e1e7f0;border-radius:10px;margin-bottom:22px}.create-panel>summary{padding:19px 22px;color:#168b7e;font-size:12px;font-weight:600;cursor:pointer}.create-panel[open]>summary{border-bottom:1px solid #edf1f6}.create-panel>.form-grid,.create-panel>.notice{margin:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:18px}.form-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f6;padding-top:18px;gap:15px}.form-footer span{font-size:11px;color:#9aa6b6}.settings-row{border-bottom:1px solid #edf1f6;padding:16px 0}.settings-row:last-child{border:0}.settings-row summary{font-size:12px;cursor:pointer}.settings-row summary>span{float:right;color:#8b9bb0;font-size:11px}.inline{display:flex;align-items:flex-end;gap:15px;margin-top:20px}.inline label{flex:1}.row-action{min-width:90px;white-space:normal}.row-action summary{color:#159c8f;cursor:pointer;font-size:11px}.row-action[open]{min-width:250px}.row-action button{font-size:11px;width:100%;margin-top:8px}.row-action p{font-size:10px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:#9aa6b6;font-size:11px}.pagination a{margin-left:8px;padding:6px 11px;font-size:10px}.table-note{font-size:10px;color:#97a4b4;padding-top:17px;border-top:1px solid #edf1f6;margin-top:17px}.tree-card{display:flex;align-items:center;gap:13px;padding:15px 18px;border:1px solid #e4eaf2;border-radius:8px;background:#fbfcfd;margin:10px 0}.tree-card>b{font-size:13px}.tree-card>a{margin-left:auto}.tree-icon{width:32px;height:32px;border-radius:8px;background:#e2f2ee;color:#209b89;display:grid;place-items:center;font-size:18px}.tree-children{margin-left:25px;padding-left:20px;border-left:1px dashed #d5dfeb}footer{display:flex;justify-content:space-between;padding:15px 0 0;color:#acb7c5;font-size:10px}body>header{display:flex;justify-content:space-between;background:#202e40;padding:23px 32px;color:white}body>header b{font-size:21px}body>header span{font-size:12px;color:#9db4c8;margin-left:15px}body>header small{color:#9db4c8}.auth-main{max-width:900px;margin:50px auto;padding:0 20px}.narrow{max-width:480px;margin:60px auto;background:#fff;border:1px solid #e2e8f0;padding:34px;border-radius:15px}.narrow h1{font-size:24px;margin:8px 0 18px}.narrow p{font-size:13px;color:#8a99ab}.narrow label{margin:19px 0}.narrow button{width:100%;margin-top:12px}.narrow>.button{width:100%;margin-top:18px}body>footer{max-width:900px;margin:50px auto;justify-content:center}.app-main>.notice,.app-main>.error{margin:20px}.app-main>footer{display:none}@media(min-width:1700px){.page-content{padding:36px 44px}.topbar{padding:0 44px}}@media(max-width:1100px){.sidebar{width:200px}.workspace{margin-left:200px;width:calc(100% - 200px)}.brand{padding:0 20px}.page-content{padding:24px 20px}.kpi strong{font-size:23px}.metric-row strong{font-size:18px}.two-columns{grid-template-columns:1fr}.quick{padding:17px 4px}}@media(max-width:760px){.sidebar{position:static;width:100%;height:auto}.brand{height:65px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow:auto;padding:0 10px 12px;gap:5px}.sidebar nav a{flex-shrink:0;font-size:11px;padding:9px}.nav-icon{font-size:14px;width:14px}.app-shell{display:block}.workspace{margin:0;width:100%}.topbar{height:62px;padding:0 18px}.page-content{padding:20px 14px}.page-heading{gap:10px}.page-heading h1{font-size:21px}.date-chip{display:none}.kpis{grid-template-columns:1fr;gap:12px}.kpi{padding:18px}.kpi strong{margin:10px 0;font-size:25px}.panel{padding:17px}.metric-row{grid-template-columns:1fr 1fr;gap:22px}.metric-row>div{padding:0;border:0}.form-grid{grid-template-columns:1fr}.form-footer{flex-wrap:wrap}.filters{gap:10px}.filters label{flex:1;min-width:120px}.account small{display:none}.quick span{font-size:10px}.section-top{gap:10px}.sidebar nav a.active{box-shadow:inset 0 -2px #29c8af}.tree-children{margin-left:10px;padding-left:10px}}

.tree-actions{margin-left:auto;display:flex;gap:6px;align-items:center;flex-wrap:wrap}@media(max-width:760px){.tree-card{flex-wrap:wrap}.tree-actions{margin-left:0;width:100%}}

.org-branch>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:12px 14px;border-radius:8px;background:#edf4f8;margin-top:10px}.org-branch>summary::-webkit-details-marker{display:none}.branch-title{font-weight:700;font-size:13px}.branch-toggle{color:#149b89;transition:transform .15s}.org-branch:not([open])>summary .branch-toggle{transform:rotate(-90deg)}.org-branch>.tree-node>.tree-card{margin-top:5px}.org-branch .tree-children{border-left:2px solid #c9dce4}.org-branch>summary:focus-visible{outline:2px solid #148c82;outline-offset:2px}

.org-chart-scroll{overflow:auto;padding:20px 8px 30px;background:radial-gradient(#dce6ed 1px,transparent 1px);background-size:18px 18px;border-radius:10px;max-height:78vh}.org-chart{display:flex;justify-content:center;min-width:max-content;padding:0 25px}.chart-branch{position:relative;padding:24px 14px 0;flex:0 0 auto}.org-chart>.chart-branch{padding-top:0}.chart-details{display:block;text-align:center}.chart-card{list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:240px;min-height:105px;margin:auto;background:white;border:1px solid #cbdae5;border-top:4px solid #5c8cc4;border-radius:10px;box-shadow:0 4px 12px #18374e0c;cursor:pointer;padding:15px}.chart-card::-webkit-details-marker{display:none}.chart-card strong{font-size:15px;color:#30465f;overflow-wrap:anywhere}.chart-card small{font-size:10px;margin:0}.chart-head_office{border-top-color:#293f59;background:#f2f6fa}.chart-merchant{border-top-color:#16a28e}.chart-card:focus-visible{outline:3px solid #32b6a0;outline-offset:3px}.chart-actions{display:flex;gap:12px;justify-content:center;font-size:11px;padding:10px 0;background:#ffffffcc;border-radius:8px;max-width:270px;margin:auto}.chart-children{display:flex;justify-content:center;position:relative;padding-top:20px}.chart-children:before{content:"";position:absolute;top:0;left:50%;height:20px;border-left:2px solid #a8c0cf}.chart-children>.chart-branch:before{content:"";position:absolute;top:0;left:0;right:0;border-top:2px solid #a8c0cf}.chart-children>.chart-branch:after{content:"";position:absolute;top:0;left:50%;height:24px;border-left:2px solid #a8c0cf}.chart-children>.chart-branch:first-child:before{left:50%}.chart-children>.chart-branch:last-child:before{right:50%}.chart-details:not([open])>.chart-card{box-shadow:0 4px 0 #d7e5ee}.chart-details:not([open])>.chart-card small{color:#188c7e}

.chart-card{width:270px}.chart-fees{display:flex;flex-direction:column;gap:6px;width:100%;padding-top:10px;border-top:1px solid #e3ebf2;text-align:left;font-size:11px;color:#6b7d91}.chart-fees>span{display:flex;justify-content:space-between;gap:15px}.chart-fees b{color:#168b7e;font-size:12px}.chart-actions{flex-wrap:wrap;max-width:290px}#fee-settings{scroll-margin-top:20px}

.chart-fee-total{background:#e8f6f1;padding:10px;border-radius:6px}.chart-fee-total .red{font-size:10px}.chart-card{width:290px}

.chart-fee-editor{width:290px;margin:8px auto 0;border:1px solid #b9ddd4;border-radius:8px;background:#fff;text-align:left}.chart-fee-editor>summary{cursor:pointer;background:#168c7e;color:white;padding:12px;text-align:center;border-radius:7px;font-size:12px;font-weight:700}.chart-fee-editor form{padding:14px}.chart-fee-editor p{font-size:11px;color:#748499;margin-top:0}.chart-fee-editor label{margin:12px 0}.chart-fee-editor input{font-size:12px}.chart-fee-editor button{width:100%}

/* Dedicated role login: restrained, responsive and free of operational branding. */
.login-screen{min-height:100svh;background:radial-gradient(ellipse at 18% 10%,#dcefe9 0,transparent 42%),radial-gradient(ellipse at 88% 88%,#e4e7f8 0,transparent 40%),#f5f7fa;display:grid;place-items:center;padding:40px 20px}
.login-screen .auth-main{width:100%;max-width:440px;margin:0;padding:0}
.login-screen .error,.login-screen .notice{margin-bottom:16px;border-radius:14px}
.login-card{--login-accent:#168878;--login-soft:#e8f5ef;background:#ffffffed;border:1px solid #fff;border-radius:28px;padding:40px;box-shadow:0 24px 80px #1c355710,0 2px 8px #24364c05}
.login-card.login-partner{--login-accent:#5267b3;--login-soft:#eef0fc}
.login-emblem{height:58px;width:58px;border-radius:18px;background:var(--login-soft);display:grid;place-items:center;margin-bottom:25px;color:var(--login-accent)}
.login-emblem svg{width:31px;height:31px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.login-card h1{font-size:28px;letter-spacing:-1.1px;font-weight:750;color:#1b2b42;margin:0 0 31px;line-height:1.35}
.login-form>label{font-size:12px;letter-spacing:-.15px;color:#52617a;margin:0 0 20px;font-weight:650}
.login-form input{height:52px;border:1px solid #e0e6ef;border-radius:12px;background:#fafbfd;padding:14px 15px;color:#26344c;font-size:14px;margin-top:9px;transition:border-color .15s,box-shadow .15s}
.login-form input::placeholder{color:#a3aebd;font-size:13px;font-weight:400}
.login-form input:focus{border-color:var(--login-accent);background:white;box-shadow:0 0 0 4px var(--login-soft)}
.login-security{border:1px solid #e9edf3;border-radius:12px;padding:14px;margin:4px 0 24px;background:#fcfdfe}
.login-security>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;color:#64748b;font-size:12px;font-weight:600}
.login-security>summary::-webkit-details-marker{display:none}.login-security>summary>svg{width:17px;height:17px;stroke:#8997ad;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.login-security>summary>span{font-size:10px;margin-left:auto;border-radius:5px;padding:3px 6px;background:#edf1f6;color:#8290a4}
.login-security[open]>label{margin-top:17px}.login-security input{height:46px}.login-recovery{margin-top:13px;font-size:11px;color:#8592a4}.login-recovery summary{cursor:pointer}.login-recovery label{margin-top:12px}
.login-form .login-submit{width:100%;height:53px;border-radius:12px;margin:0;background:var(--login-accent);font-size:14px;font-weight:700;justify-content:space-between;padding:0 20px;box-shadow:0 6px 18px #1c355712;transition:transform .15s,filter .15s}
.login-submit svg{width:19px;height:19px;stroke:white;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.login-submit:hover{transform:translateY(-1px)}
.login-portals{display:flex;justify-content:center;gap:24px;border-top:1px solid #edf1f6;margin-top:27px;padding-top:22px}.login-portals a{font-size:11px;color:#8290a3}.login-portals span{padding-left:5px}
/* Internal workspaces retain the same menus and scoped data. */
.app-shell .panel,.app-shell .kpi{border-radius:14px;box-shadow:0 3px 14px #23354a03}.app-shell .sidebar{background:#1d2a3c}.app-shell .topbar{background:#ffffffed}.app-shell .page-heading h1{letter-spacing:-.7px}.app-shell .kpi strong{letter-spacing:-1px}.app-shell .panel-title h2{letter-spacing:-.3px}
@media(max-width:480px){.login-screen{padding:28px 18px}.login-card{padding:30px 25px;border-radius:23px}.login-card h1{font-size:26px;margin-bottom:28px}.login-emblem{width:52px;height:52px;margin-bottom:22px}.login-form input{font-size:16px}.login-portals{gap:22px}}
@media(prefers-reduced-motion:reduce){.login-form input,.login-form .login-submit{transition:none}}

.role-dashboard{--dash-accent:#168b7b;--dash-soft:#e6f5ef;--dash-deep:#176a61}.role-dashboard.role-partner{--dash-accent:#586cbd;--dash-soft:#eef0fc;--dash-deep:#35457f}
.dashboard-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px;padding:4px 0 8px}.dashboard-overline{font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--dash-accent)}.dashboard-welcome h2{font-size:27px;font-weight:750;letter-spacing:-1px;margin:9px 0 5px;color:#20314b}.dashboard-welcome p{font-size:12px;color:#8c99ac;margin:0}.dashboard-actions{display:flex;gap:9px}.dashboard-actions .button{font-size:12px;border-radius:9px;background:var(--dash-accent);padding:11px 17px}.dashboard-actions .ghost{background:#fff;border:1px solid #e0e6ef;color:#62728b}
.dashboard-filter.panel{padding:17px 20px;margin-bottom:23px}.dashboard-filter .filters{padding:0;margin:0;border:0}.dashboard-filter input,.dashboard-filter select{border-radius:8px}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.dashboard-stat{background:#fff;border:1px solid #e5ebf2;border-radius:16px;padding:22px;position:relative;min-width:0;box-shadow:0 4px 16px #263b5b03}.dashboard-stat>span:not(.stat-icon){display:block;font-size:12px;color:#7e8ca1;margin-top:18px;font-weight:550}.stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dash-soft);color:var(--dash-accent);font-weight:700;font-size:19px}.dashboard-stat strong{display:block;font-size:26px;letter-spacing:-1.1px;color:#24344e;margin-top:10px;overflow-wrap:anywhere;line-height:1.3}.dashboard-stat strong em{font-size:15px;font-weight:500;font-style:normal;margin-left:5px}.dashboard-stat small{margin-top:9px;font-size:10px;color:#9ca7b6}
.dashboard-split{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.35fr);gap:22px;margin-bottom:24px}.dashboard-wallet{padding:27px 29px 0;background:linear-gradient(125deg,var(--dash-deep),#23334f);border-radius:18px;color:#fff;overflow:hidden;position:relative;isolation:isolate}.dashboard-wallet:after{content:'';position:absolute;z-index:-1;width:200px;height:200px;border:35px solid #ffffff06;border-radius:50%;right:-85px;top:-65px}.dashboard-wallet .dashboard-overline{color:#ffffff70}.dashboard-wallet h3{font-size:13px;font-weight:500;color:#ffffffb0;margin:15px 0 10px}.dashboard-wallet>strong{display:block;font-size:32px;letter-spacing:-1px;line-height:1.3}.wallet-breakdown{display:flex;gap:30px;margin:26px 0}.wallet-breakdown span{display:block;font-size:10px;color:#ffffff80;margin-bottom:6px}.wallet-breakdown b{font-size:14px;font-weight:600}.dashboard-wallet>a{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #ffffff18;color:#ffffffc9;font-size:11px}.dashboard-wallet>a span{font-size:18px}
.deposit-chart.panel{margin:0;padding:25px 26px}.deposit-bars{display:flex;gap:16px;height:150px;align-items:stretch;margin-top:22px}.deposit-column{min-width:0;flex:1;display:flex;align-items:center;flex-direction:column}.bar-amount{font-size:9px;color:#92a0b2;margin-bottom:10px;white-space:nowrap}.bar-track{height:100%;width:32px;max-width:100%;display:flex;align-items:flex-end;border-radius:7px;background:#f5f7fb;overflow:hidden}.bar-fill{background:var(--dash-accent);width:100%;border-radius:6px 6px 0 0;min-height:2px;opacity:.83}.bar-day{font-size:10px;color:#8290a5;margin-top:11px}.chart-note{display:flex;justify-content:space-between;font-size:9px;color:#a5b0be;margin-top:20px}
.merchant-performance .table-note{margin-bottom:0}.role-dashboard .panel-title h2{font-size:14px;font-weight:700}.role-dashboard .panel-title a{font-size:11px;color:var(--dash-accent)}.role-dashboard td{padding-top:17px;padding-bottom:17px}.role-dashboard .panel{border-radius:16px}.dashboard-bottom{grid-template-columns:minmax(0,1.3fr) minmax(270px,.85fr)}.dashboard-bottom .panel{margin:0}.dashboard-quick>a{display:flex;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f6;color:#34465e}.dashboard-quick>a:last-child{border:0}.dashboard-quick b{font-size:12px;font-weight:650}.dashboard-quick small{font-size:10px;margin-top:5px;color:#98a5b5}.dashboard-quick>a>span:last-child{margin-left:auto;color:#9eacbb}.quick-symbol{flex-shrink:0;width:35px;height:35px;background:var(--dash-soft);color:var(--dash-accent);display:grid;place-items:center;border-radius:11px;font-size:17px}
@media(max-width:1200px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stat strong{font-size:25px}.dashboard-split{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.deposit-bars{gap:10px}.bar-amount{font-size:8px}.dashboard-wallet{padding:24px 22px 0}.dashboard-wallet>strong{font-size:28px}}
@media(max-width:760px){.dashboard-welcome{align-items:flex-start;flex-direction:column;gap:17px}.dashboard-welcome h2{font-size:24px}.dashboard-actions{width:100%}.dashboard-actions a{flex:1}.dashboard-stat{padding:17px 15px}.dashboard-stat strong{font-size:22px}.dashboard-stat>span:not(.stat-icon){font-size:11px;line-height:1.5;min-height:32px}.dashboard-stat small{font-size:9px;line-height:1.5}.dashboard-cards{gap:11px;margin-bottom:18px}.dashboard-split,.dashboard-bottom{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.dashboard-wallet{padding:25px 24px 0;min-height:245px}.dashboard-wallet>strong{font-size:32px}.deposit-chart.panel{padding:22px 18px}.bar-amount{font-size:8px}.deposit-bars{gap:7px}.dashboard-filter.panel{padding:16px}.dashboard-filter .filters label{min-width:110px}.dashboard-filter .filters .grow{min-width:100%}.role-dashboard .panel-title .muted{font-size:9px}.dashboard-overline{font-size:9px}}
@media(max-width:360px){.dashboard-stat strong{font-size:19px}.dashboard-stat{padding:14px 12px}.bar-amount{font-size:7px}}

.dashboard-fee-summary.panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 25px}.dashboard-fee-summary>div{flex:1}.dashboard-fee-summary span{display:block;font-size:11px;color:#8b99ad;margin-bottom:8px}.dashboard-fee-summary b{font-size:19px;letter-spacing:-.5px;color:#354760}.dashboard-fee-summary>div:last-child b{color:var(--dash-accent)}.dashboard-fee-summary i{font-style:normal;color:#b7c2d0;margin:0 14px;font-size:20px}
@media(max-width:760px){.dashboard-fee-summary.panel{padding:20px;display:grid;grid-template-columns:1fr;gap:14px}.dashboard-fee-summary>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.dashboard-fee-summary span{margin:0;font-size:11px}.dashboard-fee-summary b{font-size:17px}.dashboard-fee-summary i{display:none}.dashboard-fee-summary>div:last-child{border-top:1px solid #eaf0f5;padding-top:15px}}

.role-dashboard .dashboard-export{background:var(--dash-accent);border-radius:8px}

.dashboard-split>.panel,.dashboard-split>.dashboard-wallet{min-width:0}
@media(max-width:760px){.dashboard-split,.dashboard-bottom{grid-template-columns:minmax(0,1fr)}}

/* Collapsible navigation, 2026-10-22. */
.app-shell .sidebar-toggle,.app-shell .sidebar-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;padding:9px;border:1px solid #dbe4ef;border-radius:9px;color:#476079;background:#fff;cursor:pointer}
.app-shell .sidebar-toggle:hover,.app-shell .sidebar-close:hover{background:#eef4fa;color:#243a54}
.app-shell .sidebar-toggle svg,.app-shell .sidebar-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell .sidebar-toggle:focus-visible,.app-shell .sidebar-close:focus-visible{outline:3px solid #5b93fa;outline-offset:2px}
.app-shell .sidebar-close{display:none}.app-shell .brand-compact{display:none!important}.app-shell .sidebar-backdrop{display:none}.app-shell .sidebar .brand{flex-shrink:0}.app-shell .sidebar nav{min-height:0;overflow-y:auto;flex:1;padding-bottom:18px}.app-shell .nav-label{min-width:0}
@media(min-width:761px){.app-shell.nav-collapsed .sidebar{width:76px}.app-shell.nav-collapsed .workspace{margin-left:76px;width:calc(100% - 76px)}.app-shell.nav-collapsed .brand.brand-logo{padding:16px 12px}.app-shell.nav-collapsed .brand-full{display:none!important}.app-shell.nav-collapsed .brand-compact{display:contents!important}.app-shell.nav-collapsed .brand-logo img{width:34px;height:34px;max-height:34px}.app-shell.nav-collapsed .sidebar nav{padding-left:10px;padding-right:10px}.app-shell.nav-collapsed .sidebar nav a{justify-content:center;padding:13px 10px;gap:0}.app-shell.nav-collapsed .nav-label{display:none}.app-shell.nav-collapsed .nav-icon{width:22px;font-size:20px}.app-shell.nav-collapsed .sidebar nav a.active{box-shadow:inset 3px 0 #29c8af}}
@media(max-width:760px){body.nav-drawer-open{overflow:hidden}.app-shell .sidebar{position:fixed;inset:0 auto 0 0;width:236px;height:100dvh;z-index:50;display:flex}.app-shell .sidebar .brand.brand-logo{height:78px;justify-content:flex-start;padding:14px 50px 14px 18px}.app-shell .sidebar .brand-logo img{width:150px;max-height:54px}.app-shell .sidebar nav{flex-direction:column;overflow-x:hidden;overflow-y:auto;flex:1;min-height:0;padding:6px 12px 20px;gap:5px}.app-shell .sidebar nav a{padding:12px 14px;font-size:14px;gap:12px}.app-shell .sidebar nav a.active{box-shadow:inset 3px 0 #29c8af}.app-shell .sidebar .nav-icon{width:21px;font-size:19px}.app-shell .sidebar-close{display:inline-flex;position:absolute;top:19px;right:9px;width:32px;height:36px;padding:6px}.app-shell.nav-collapsed .sidebar{display:none}.app-shell .workspace{margin:0;width:100%}.app-shell .sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:40;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#15263b70;cursor:pointer}.app-shell .topbar{gap:8px;padding:0 12px}.app-shell .topbar-heading{gap:8px}.app-shell .topbar-heading strong{max-width:110px}.app-shell .topbar .topbar-brand{display:none}.app-shell .account{gap:6px}.app-shell .account form{margin-left:3px}.app-shell .account b{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:no-preference){.app-shell .workspace{transition:margin-left .15s,width .15s}.app-shell .sidebar{transition:width .15s}}

/* Organization types: keep role separate from hierarchy level. */
.chart-type-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:7px;font-size:14px;line-height:1.25;font-weight:800;white-space:nowrap}.chart-type-head_office{background:#e7edf4;color:#29415c}.chart-type-partner{background:#e5efff;color:#215aaa}.chart-type-merchant{background:#dcf6ec;color:#087252}.chart-card .chart-level{font-size:11px;color:#61748a}.chart-type-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}.chart-type-legend>span:last-child{font-size:12px;color:#61748a;margin-left:4px}

/* Organization fees: common defaults and merchant-specific actual allocations. */
.chart-card .chart-fee-caption{display:block;width:100%;font-size:11px;font-weight:700;line-height:1.5;color:#3c5969;text-align:left}
.chart-fee-total>.chart-fee-caption{display:block;margin-bottom:4px;color:#116d62}
.chart-custom-shares{display:flex;flex-direction:column;gap:8px;width:100%;padding-top:10px;border-top:1px solid #dce7ef;text-align:left}
.chart-merchant-share{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #cee1f4;border-radius:7px;background:#f1f7ff;font-size:11px;color:#526c82}
.chart-merchant-share>span:not(.chart-share-name){display:flex;justify-content:space-between;gap:12px}.chart-share-name{font-size:12px;font-weight:700;color:#245687;overflow-wrap:anywhere}.chart-merchant-share b{font-size:12px;color:#176f8c}
.chart-allocation{width:290px;margin:10px auto;text-align:left;border:1px solid #d4e3ee;border-radius:8px;background:white}.chart-allocation>summary{padding:12px;font-size:12px;font-weight:700;cursor:pointer;color:#235880}.chart-allocation p{padding:0 12px;font-size:11px;line-height:1.6;color:#607585}.chart-allocation table{font-size:10px;min-width:0;width:100%}.chart-allocation th,.chart-allocation td{padding:8px 6px;white-space:normal;word-break:keep-all}.chart-fee-settings-link{display:block;width:290px;box-sizing:border-box;margin:8px auto 0;text-align:center;font-size:12px}

@media(max-width:600px){.org-chart-scroll{--chart-card-width:clamp(220px,calc(100vw - 104px),290px)}.org-chart{padding:0}.chart-branch{padding-left:6px;padding-right:6px}.chart-branch:only-child{padding-left:0;padding-right:0}.chart-card,.chart-fee-editor,.chart-allocation,.chart-fee-settings-link{width:var(--chart-card-width);box-sizing:border-box}}
