
*{box-sizing:border-box}body{margin:0;background:#f6f3ea;color:#262622;font:18px/1.5 Arial,sans-serif}
main{max-width:760px;margin:48px auto;padding:28px;background:white;border:1px solid #ded6c3;border-radius:18px}
h1{font-size:30px}label{display:block;margin-top:16px}input,select,button{font:inherit;min-height:48px}
input[type=text],input[type=number],select{width:100%;padding:8px;border:1px solid #bab5a7;border-radius:6px}
input[type=checkbox]{min-height:auto;margin-right:8px}button{padding:10px 20px;margin-top:18px;background:#d4af20;border:0;border-radius:8px;cursor:pointer}
button:disabled{opacity:.5;cursor:default}.note{background:#f5f0e3;padding:16px;border-radius:10px}dt{font-weight:bold}dd{margin:0 0 12px}
[hidden]{display:none!important}@media(max-width:780px){main{margin:16px;padding:20px}}

@font-face{font-family:Manrope;src:url('/admin-manrope.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{font-size:100%;--admin-font:Manrope,Arial,sans-serif;--admin-body:1rem;--admin-ui:.875rem;--admin-caption:.8125rem;--admin-micro:.75rem;--admin-h1:2rem;--admin-h2:1.5rem;--admin-h3:1.125rem;--admin-kpi:1.75rem}
body{font-family:var(--admin-font);font-size:var(--admin-body);line-height:1.5;font-variant-numeric:lining-nums tabular-nums}
button,input,select,textarea,code,kbd,samp,.brand,.wordmark,.market-name,.company-record>strong{font-family:var(--admin-font);font-variant-numeric:lining-nums tabular-nums}
h1,h2,h3,h4,h5,h6{font-family:var(--admin-font);line-height:1.3;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere}
h1,body:has(#admin-management) .heading h1{font-size:var(--admin-h1)}
h2,#admin-management h2,#admin-placement-matrices h2{font-size:var(--admin-h2)}
h3,#admin-management h3,#admin-placement-matrices h3,.operating-status h3{font-size:var(--admin-h3)}
h4,#admin-management h4{font-size:var(--admin-body)}
p{line-height:1.6}button,input,select,textarea{line-height:1.5}
button{font-size:var(--admin-ui);font-weight:600;min-height:44px;white-space:normal;overflow-wrap:anywhere}
input,select,textarea,input[type=text],input[type=number],input[type=email]{font-size:var(--admin-body);min-height:44px}
input[type=checkbox],input[type=radio]{min-height:0;flex-shrink:0}
label,legend{font-size:var(--admin-ui);line-height:1.5}
small,footer,.muted,.sidebar-note,.note,.notice,.subtitle,.details,.batch-row,.selection-line,#admin-status,#status{font-size:var(--admin-ui);line-height:1.55}
.eyebrow,.badge,body:has(#admin-management) .heading .eyebrow,body:has(#admin-management) header .badge{font-size:var(--admin-micro);line-height:1.5;letter-spacing:.08em}
header,body:has(#admin-management) header{font-size:var(--admin-ui);line-height:1.5}
.brand,.wordmark,body:has(#admin-management) aside .brand{font-size:1.375rem;line-height:1.3;letter-spacing:-.02em}
.brand small,.wordmark small,body:has(#admin-management) aside .brand small{font-family:var(--admin-font);font-size:var(--admin-caption);line-height:1.5}
.admin-nav button,.mgmt-menu-link,body:has(#admin-management) .admin-nav>button:not(.mgmt-menu-link){font-size:var(--admin-ui)!important;line-height:1.45;min-height:44px!important}
.mgmt-menu-label,.nav-caption{font-size:var(--admin-micro);line-height:1.5}
.sidebar nav a,.sidebar nav>span{font-size:var(--admin-ui);line-height:1.5}
.sidebar-bottom{font-size:var(--admin-caption)}
table,.directory-table{font-size:var(--admin-ui);line-height:1.5}
th,#admin-management th,.directory-table th,.world-table th{font-size:var(--admin-caption);line-height:1.5;letter-spacing:.02em}
td,#admin-management td,.directory-table td,.world-table td{font-size:var(--admin-ui);line-height:1.5}
code,.details code,.roles code,.batch-row code,.recipient code,.world-history-item code{font-size:var(--admin-caption);line-height:1.5;overflow-wrap:anywhere}
.recipient strong{font-size:var(--admin-ui)}
.totals h3,.totals p small,.world-summary small{font-size:var(--admin-caption)}
.totals p,.world-summary strong,.directory-credits strong{font-size:var(--admin-kpi);line-height:1.25}
.operating-status strong{font-size:1.125rem}.operating-status p,.dashboard-card p,.dashboard-intro .scope-note{font-size:var(--admin-ui)}
.dashboard-card h2{font-size:1.25rem}.dashboard-card button{font-size:var(--admin-ui)}
body:has(#admin-management) .notice,body:has(#admin-management) #admin-status{font-size:var(--admin-ui);line-height:1.55}
#admin-management p{font-size:var(--admin-body);line-height:1.6}
#admin-management .mgmt-scope,#admin-management small,#admin-management dt,.mgmt-kpi span,.mgmt-mini-kpis span,.mgmt-definitions{font-size:var(--admin-caption);line-height:1.6}
#admin-management dd,.mgmt-bar-row{font-size:var(--admin-ui);line-height:1.5}
#admin-management button,#admin-management a,.mgmt-tabs button,.mgmt-filters label{font-size:var(--admin-ui)}
#admin-management button,.mgmt-filters select{min-height:44px}.mgmt-filters select{font-size:var(--admin-body)}
.mgmt-kpi strong{font-size:var(--admin-kpi);line-height:1.25}.mgmt-mini-kpis strong{font-size:1.5rem}
.mgmt-mini-kpis span,.mgmt-kpi span{overflow-wrap:anywhere}
#admin-management td small{font-size:var(--admin-caption)}
.directory-search input{font-size:var(--admin-body)}
.directory-identity dt,.directory-identity dd,.directory-table small{font-size:var(--admin-ui);line-height:1.55}
#admin-member-directory .directory-table{min-width:48rem}#admin-member-directory .directory-record-table{min-width:64rem}
#admin-member-directory .directory-table td{white-space:normal;overflow-wrap:anywhere}
.directory-credits article{flex:1 1 240px;min-width:0}.directory-credits strong{overflow-wrap:anywhere}
.directory-table button,#directory-sections button,.world-report-nav button{font-size:var(--admin-ui);min-height:44px}
#performance-rows p{font-size:var(--admin-ui)}
#admin-placement-matrices{font-size:var(--admin-body)}
#admin-placement-matrices p,#admin-placement-matrices label,#admin-placement-matrices summary{font-size:var(--admin-ui);line-height:1.55}
#admin-placement-matrices .am-note,.am-legend,.am-row-label,.am-kpis small,.am-level-line small,.am-market-grid small{font-size:var(--admin-caption);line-height:1.55}
#admin-placement-matrices button{font-size:var(--admin-ui);min-height:44px}
#admin-placement-matrices input,#admin-placement-matrices select{font-size:var(--admin-body);min-height:44px}
.am-kpis strong{font-size:var(--admin-kpi)}
.am-node small{font-size:var(--admin-micro);line-height:1.4}
.am-canvas{min-width:1188px}.am-canvas.zoom-1{min-width:1485px}.am-canvas.zoom-2{min-width:1782px}.am-canvas.zoom-3{min-width:2376px}
.am-detail h3{font-size:var(--admin-h3)!important}.am-detail dt{font-size:var(--admin-caption)}.am-detail dd{font-size:var(--admin-ui);line-height:1.55}
.am-level-line{font-size:var(--admin-caption);grid-template-columns:minmax(85px,auto) minmax(0,1fr) auto}
.am-market-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}
.am-zoom button{min-height:44px!important}
@media(max-width:700px){:root{--admin-h1:1.75rem;--admin-h2:1.375rem;--admin-kpi:1.625rem}.heading{flex-wrap:wrap}body:has(#admin-management) .heading{flex-wrap:wrap}body:has(#admin-management) .admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}#admin-logout,body:has(#admin-management) #admin-logout{font-size:var(--admin-ui);min-height:44px}.mgmt-filters{flex-wrap:wrap}.mgmt-filters label{min-width:0}.mgmt-mini-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

main{max-width:1120px;min-width:0}#allocation-table td{overflow-wrap:anywhere}#allocation-table .amount{text-align:right;white-space:nowrap}.table-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0}.table-actions strong{display:block;margin-top:4px;font-size:1.5rem}.wallet-details summary{font-size:.8125rem;cursor:pointer}.wallet-details code{display:block}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kpis p{margin:0;background:#e3f1f6;padding:14px;border-radius:10px}.kpis strong{display:block;font-size:1.5rem}.email-panel{margin-top:24px;border-top:1px solid #baccdf;padding-top:12px}#wallet-status{overflow-wrap:anywhere}#allocations td{overflow-wrap:anywhere;min-width:0}a{color:#245aa2}button{margin-right:8px}.secondary{background:#e2ebf7;color:#183350}.notice{background:#e3f1f6;padding:16px;border-radius:10px}.master{overflow-wrap:anywhere}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:10px;border-bottom:1px solid #cbd8e5}td code{overflow-wrap:anywhere;font-size:12px}.scroll{overflow:auto}#feedback{color:#183350;border-radius:8px;padding:12px;background:#e4f5ed}#feedback[data-error=true]{background:#fff0dc;color:#6b4513}.approved{color:#15744b}#review{border:2px solid #3572be;border-radius:12px;padding:20px;margin-top:24px}.consent{display:flex;align-items:flex-start;gap:8px}#pause{background:#e2ebf7;color:#183350}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-grid p{background:#f0f5fb;padding:16px;border-radius:8px}.summary-grid strong{display:block;font-size:22px}.queue button{margin:0;white-space:nowrap}#progress{font-weight:700;color:#234d7d}#connect{background:#e6b625}#approve{background:#245db3;color:white}
@media(max-width:650px){main{padding:18px}.kpis{grid-template-columns:1fr}.table-actions{flex-wrap:wrap}#allocation-table,#allocation-table tbody{display:block}#allocation-table thead{display:none}#allocation-table tr{display:grid;grid-template-columns:1fr 1fr;padding:12px 0;border-bottom:1px solid #baccdf}#allocation-table td{border:0;padding:4px;font-size:.8125rem;min-width:0}#allocation-table td:first-child{order:1}#allocation-table td:nth-child(2){order:3}#allocation-table td:nth-child(3){order:4}#allocation-table td:last-child{order:2;white-space:normal}#allocation-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:.75rem;font-weight:400}#allocation-table td:last-child{font-size:1.125rem;font-weight:700}.summary-grid{grid-template-columns:1fr}#allocations thead{display:none}#allocations,#allocations tbody{display:block}#allocations tr{display:grid;grid-template-columns:1fr 1fr;padding:10px 0;border-bottom:1px solid #baccdf}#allocations td{border:0;padding:5px}#allocations td:nth-child(2){grid-column:1/-1;order:4}#allocations td::before{content:attr(data-label);display:block;font-weight:700;font-size:11px}button{max-width:100%}}
@media(prefers-color-scheme:dark){body{background:#091e30;color:#edf5ff}main{background:#142e48;border-color:#3e5a72}a{color:#a4caff}.notice,.summary-grid p,.kpis p{background:#20405e}#progress{color:#a4caff}.approved{color:#83dec4}}
