/* Screenshot-aligned presentation for the production integration. */
:root{background:#f8f7f5;font-size:14px;--accent:#ca4524;--muted:#7c8794;--border:#e4e7eb}body{background:#f8f7f5}.ui-icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:7px 12px;border-radius:15px;white-space:nowrap;box-shadow:0 1px 2px #202a3608}.button{border:1px solid var(--border);background:#f9f9f8;font-weight:550}.button.primary{background:var(--accent);border-color:var(--accent);color:white}.ghost,.icon-button{box-shadow:none}.icon-button{padding:5px;min-height:28px;width:28px;border:0;background:transparent;border-radius:50%;color:var(--muted)}.icon-button .ui-icon{width:16px;height:16px}.bordered{border:1px solid var(--border);background:#fafafa;width:34px;height:34px}.sidebar{width:256px}.shell{margin-left:256px}.brand{padding:21px 16px;gap:12px;font-size:14px}.brand-mark{width:40px;height:40px;border-radius:50%;flex-shrink:0;box-shadow:0 1px 2px #0002}.brand-mark .ui-icon{width:21px;height:21px}.brand small{letter-spacing:0;margin-top:2px}.nav{padding:0 12px}.nav-label{margin:22px 12px 12px;font-size:11px;letter-spacing:0}.nav a{padding:11px 12px;border-radius:24px;margin:4px 0;color:#727b83;gap:13px;height:40px}.nav a.active{background:#eaeef1;color:#303942}.nav a.active:after{width:6px;height:6px}.nav .ui-icon{width:17px;height:17px}.userbox{padding:12px}.identity{padding:12px;border-radius:22px;background:#f5f7f8;gap:12px;margin-bottom:12px}.identity b{font-size:14px}.avatar{width:36px;height:36px;background:#f3e7e2}.avatar.mini{width:25px;height:25px;background:#edf0f2;color:#46515c;font-size:12px}.logout{justify-content:flex-start;color:var(--muted);padding-left:10px;width:100%}.preview-note{display:block;color:var(--muted);font-size:10px;padding:4px 10px 0}.topbar{height:64px;padding:0 32px;background:#ffffffde}.breadcrumb-group{display:flex;align-items:center;gap:18px}.breadcrumb-group>button{border-radius:0;padding-right:18px;border-right:1px solid var(--border);width:32px;color:#303942}.crumb{display:flex;align-items:center;gap:16px}.crumb .ui-icon{width:14px;height:14px}.crumb b{margin:0;font-size:14px}.toplinks{gap:12px;font-size:13px}.main{max-width:none;padding:32px}.pagehead{min-height:28px;margin-bottom:28px}h1{font-size:20px;line-height:28px;letter-spacing:0;margin:0}h2{font-size:14px}h3{font-size:16px}.page-description{display:none}.grid{gap:24px}.panel{border-radius:16px;margin-bottom:24px;box-shadow:0 3px 15px #26313c04,0 1px 2px #26313c03}.panel-head{padding:20px;min-height:64px}.pad{padding:20px}.hero-balance{min-height:142px;padding:26px 32px}.balance-main{display:flex;align-items:center;gap:20px}.wallet-tile{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:#fbeeea;color:var(--accent)}.wallet-tile .ui-icon{width:25px;height:25px}.hero-balance strong{font-size:36px;line-height:44px;margin:6px 0}.stats{gap:20px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 24px}.stat{min-height:132px;padding:20px;border-radius:16px;box-shadow:0 2px 12px #26313c03}.stat:before{top:20px;bottom:20px}.stat-head{display:flex;align-items:center;justify-content:space-between}.stat-icon{display:grid;place-items:center;border-radius:50%;width:32px;height:32px;background:#f1f4f6;color:var(--color,#303942)}.stat-icon .ui-icon{width:17px;height:17px}.stat .label{font-size:12px}.stat strong{font-size:24px;line-height:30px;margin:8px 0 5px;letter-spacing:-.4px;color:var(--color,inherit)}.stat small{font-size:12px}.overview-columns{grid-template-columns:minmax(0,3.1fr) minmax(260px,1fr);gap:20px}.overview-orders>.panel{height:calc(100% - 24px);min-height:490px}.overview-orders .table-footer{display:none}.text-link{display:flex;align-items:center;gap:8px;font-size:13px}.ratio{font-size:25px}.progress{height:8px;margin:14px 0}.quick-list{padding:12px}.quick{display:flex;gap:12px;padding:12px 14px;border-radius:18px;margin:0 0 8px;min-height:60px;box-shadow:0 4px 14px #28313c03}.quick:last-child{margin-bottom:0}.quick b{font-size:14px}.quick>.ui-icon:last-child{margin-left:auto;color:var(--muted);width:15px}.quick-icon{width:36px;height:36px;border-radius:13px;background:#fbeeea;color:var(--accent);display:grid;place-items:center;flex-shrink:0}.quick-list .quick{border-color:#fafafa}.admin-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.admin-shortcuts .quick{margin:0;background:var(--surface);padding:12px 16px}.common-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:16px}.common-links .quick{margin:0}.table-wrap{max-width:100%}table{font-size:13px}th{padding:12px;background:#f5f8f9;font-size:12px}td{padding:11px 12px;height:44px;border-color:var(--border)}td .sub{margin-top:3px}th:last-child,td:last-child{text-align:right}.table-footer{padding:10px 12px;align-items:center;min-height:44px}.pagination{display:flex;align-items:center;gap:8px}.pagination .icon-button{border:1px solid var(--border);background:#fafbfc}.badge{padding:3px 8px;line-height:16px}.badge.green{background:#dcf8e6;color:#00a765}.badge.blue{background:#def2ff;color:#218def}.badge.red{background:#ffe6e6;color:#ed393c}.badge.orange{background:#fff0d6;color:#cf8100}.badge.purple{background:#f1e8ff;color:#9864df}.badge.cyan{background:#d8f7f8;color:#07979d}.status-dot:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}.order-id{border:0;padding:0;background:transparent;box-shadow:none;font-family:ui-monospace,SFMono-Regular,monospace;font-weight:400;min-height:24px}.email-cell{display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.note-button{color:var(--muted);padding:0;font-weight:400;min-height:24px}.note-button .ui-icon{width:16px}.filters{padding:12px;gap:8px}.filter-panel .filters{border-bottom:0}.filter-space,.push-right{margin-left:auto}.filters input{width:225px}.filters input[type=date]{width:143px}.filters select{max-width:155px}.filters button{flex-shrink:0}input,select,textarea{padding:8px 12px;border-radius:15px;box-shadow:0 1px 2px #2534400b;min-height:36px}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{border-radius:14px}input[type=checkbox]{min-height:0;width:16px;height:16px;box-shadow:none}.field{gap:7px;font-size:12px}.field input,.field select,.field textarea{font-size:14px}.formgrid{gap:16px}.formgrid.four{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.formfoot{margin-top:18px;padding-top:16px;gap:12px}.issue-panel .panel-head{border:0;min-height:54px;padding:20px 20px 8px}.issue-panel .pad{padding-top:8px}.issue-hints{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;color:var(--muted);font-size:12px;margin-top:6px}.segmented{display:inline-flex;background:#f0f3f5;border-radius:24px;padding:3px;gap:0;margin-bottom:16px}.segmented button{padding:7px 10px;background:transparent;border-radius:20px;font-weight:400;color:#78828b;box-shadow:none}.segmented button.active{background:#fafafa;color:#303942;box-shadow:0 1px 3px #24313f26}.labeled-filters{align-items:flex-end}.labeled-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px}.labeled-filters input{width:255px}.labeled-filters label:nth-child(4) input{width:205px}.labeled-filters select{width:145px}.toolbar{padding:10px 12px;gap:10px;background:#f8fafb;border-bottom:1px solid var(--border)}.toolbar .checkline{margin:0;font-size:13px}.toolbar .small{color:var(--muted);font-weight:400;border-radius:18px}.toolbar .swap-button{color:var(--accent)}.price-context{display:flex;align-items:center;gap:12px;margin:2px 0 20px}.price-context .badge{padding:9px 12px;background:#f0f3f5;color:#303942;font-size:14px}.inline-price{width:114px;text-align:right;padding:5px 12px;min-height:32px}.balance-stats{margin-bottom:24px}.balance-stats .stat{min-height:95px;padding:20px}.balance-stats .stat-icon{display:none}.balance-stats strong{margin:10px 0 0}.balance-stats small:empty{display:none}.preflight-grid .panel{min-height:345px}.preflight-grid .panel-head{border:0;min-height:52px;padding-bottom:8px}.preflight-grid .pad{padding-top:4px}.preflight-grid .formgrid{grid-template-columns:1fr}.preflight-empty{height:250px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:75px;color:var(--muted)}.preflight-empty small{align-self:flex-start;margin-left:20px}.preflight-filled{padding:20px}.steps{margin:0 0 24px;gap:20px;grid-template-columns:repeat(3,1fr)}.step{padding:24px;border-radius:16px;min-height:170px;box-shadow:0 2px 8px #00000003}.step b{width:44px;height:44px;font-size:18px;background:#242c33;color:white;border-radius:15px;margin-bottom:22px}.step.active{border-color:#efc7bb}.step.active b{background:var(--accent)}.step h3{margin:0 0 10px;font-size:16px}.step p{font-size:14px;line-height:1.7;margin:0;color:var(--muted)}.redeem-panel>.pad{padding:24px 32px 32px}.redeem-tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:32px}.redeem-tabs button{flex:1;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:18px 4px;box-shadow:none;color:#868b91;font-size:16px}.redeem-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}#card-verify-form{display:flex;flex-direction:column;gap:20px}#card-verify-form>input{width:100%;height:48px;border-radius:16px}.next-step{width:100%;min-height:48px;border-radius:15px}.public-header{height:80px;padding:0 40px}.public-header .brand{font-size:14px}.public-mark{width:40px;height:40px;display:grid;place-items:center;border:1px solid #d8e7e4;box-shadow:0 2px 3px #0001;border-radius:12px;color:#009781}.public-mark .ui-icon{width:24px;height:24px}.public-main{--accent:#008e79;max-width:948px;padding:0 24px;margin:56px auto 0}.public-main>h1{font-size:28px;line-height:40px;margin:0 0 8px}.public-main>.intro{font-size:16px;margin:0 0 42px}.public-main>.notice{font-size:12px;margin-top:-24px;margin-bottom:20px;padding:8px 12px}.public-main .steps{gap:20px;margin-bottom:24px}.public-main .step{min-height:194px;padding:24px}.public-main .step.active{border-color:#b4dcd4}.public-main .step.active b{background:var(--accent)}.public-main .step p{font-size:14px}.public-main .primary{background:var(--accent);border-color:var(--accent)}.public-main footer{margin:40px 0 20px;font-size:12px}.demo-foot{display:block;font-size:10px;margin-top:8px;color:#929aa2}body:has(.public-main) #app{display:flex;flex-direction:column;min-height:100vh}.public-header{flex-shrink:0}.public-main{display:flex;flex-direction:column;flex:1;width:100%}.public-main footer{position:static;margin:auto 0 20px;padding-top:40px}.public-main input:focus{border-color:var(--accent);outline-color:#008e7940}.drawer,.drawer.wide{position:fixed;inset:0 0 0 auto;margin:0;width:450px;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;background:#f8f7f5;box-shadow:-10px 0 30px #0001}.drawer::backdrop{backdrop-filter:none;background:#0008}.drawer .dialog-head{padding:16px;min-height:52px;border:0}.drawer .dialog-body{padding:0 16px 24px}.drawer .detail-row{padding:15px 0;font-size:13px}.drawer .timeline{margin-top:40px}.drawer .event small{display:block;font-size:12px}.action-list{display:flex;flex-direction:column;gap:12px}.action-list button{justify-content:flex-start}.sidebar-collapsed .sidebar{transform:translateX(-100%)}.sidebar-collapsed .shell{margin-left:0}body.dark .nav a.active{background:#394650;color:#e4e9ed}body.dark .quick-icon,body.dark .wallet-tile{background:#4a3530}body.dark .segmented,body.dark .stat-icon{background:#303a43}body.dark .segmented button.active{background:#46515a}body.dark .button,body.dark .quick,body.dark .drawer{background:var(--surface)}body.dark .public-main .primary{background:#008e79}body.dark .step b{background:#171c20}body.dark .step.active b{background:var(--accent)}
@media(max-width:1300px){.main{padding:28px 24px}.overview-columns{grid-template-columns:minmax(0,2.4fr) minmax(240px,1fr)}.labeled-filters input{width:190px}.labeled-filters label:nth-child(4) input{width:150px}.labeled-filters select{width:130px}.admin-shortcuts{gap:12px}.admin-shortcuts .quick{padding:12px;gap:8px}.admin-shortcuts .quick b{font-size:12px}.filters{flex-wrap:wrap}.overview-orders>.panel{min-height:460px}}
@media(max-width:1100px){.sidebar{width:220px}.shell{margin-left:220px}.brand{padding:21px 12px;font-size:12px;gap:9px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{padding:16px 14px}.stat strong{font-size:22px}.overview-columns{grid-template-columns:1fr}.overview-columns>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:20px}.overview-orders>.panel{min-height:280px}.formgrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.issue-hints{display:none}.admin-shortcuts{grid-template-columns:repeat(2,1fr)}.common-links{grid-template-columns:1fr}.step{padding:20px;min-height:170px}.step h3{font-size:14px}.step p{font-size:12px}.toplinks{display:flex}.topbar{padding:0 24px}.price-context{flex-wrap:wrap}}
@media(max-width:720px){.sidebar{width:240px;transform:translateX(-100%)}.sidebar.open{transform:none}.shell{margin-left:0}.main{padding:22px 14px}.topbar{height:60px;padding:0 14px}.crumb{font-size:12px;gap:8px}.crumb b{font-size:12px}.breadcrumb-group{gap:10px}.toplinks{gap:6px}.toplinks>b{display:none}.pagehead{margin-bottom:20px}.pagehead .row{gap:4px}.pagehead button{font-size:12px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{min-height:122px}.hero-balance{padding:22px;gap:20px}.hero-balance strong{font-size:32px}.wallet-tile{width:48px;height:48px}.hero-balance>.row{width:100%;justify-content:flex-end}.balance-main{gap:14px}.overview-columns>div:last-child{grid-template-columns:1fr;gap:0}.overview-orders>.panel{min-height:280px}.formgrid.four,.formgrid,.equal{grid-template-columns:1fr}.panel-head,.pad{padding:18px}.labeled-filters label{width:calc(50% - 4px)}.labeled-filters input,.labeled-filters select,.labeled-filters label:nth-child(4) input{width:100%;max-width:none}.filters>input{width:100%}.filters>select{max-width:none}.filter-space{display:none}.filters input[type=date]{width:calc(50% - 4px)}.toolbar{gap:8px}.toolbar .checkline{font-size:12px}.toolbar .small{font-size:12px}.steps{gap:8px}.step,.public-main .step{padding:12px;min-height:110px}.step b{width:32px;height:32px;font-size:15px;border-radius:11px;margin-bottom:14px}.step h3{font-size:12px;margin:0}.step p{display:none}.redeem-panel>.pad{padding:12px 16px 20px}.redeem-tabs{margin-bottom:24px}.redeem-tabs button{font-size:14px;padding:16px 0}.public-header{height:64px;padding:0 16px}.public-header .brand{font-size:12px;gap:8px}.public-header .ghost{font-size:12px;padding:6px}.public-mark{width:32px;height:32px}.public-main{padding:0 14px;margin-top:36px}.public-main>h1{font-size:24px}.public-main>.intro{font-size:13px;margin-bottom:28px}.public-main .steps{gap:8px}.public-main footer{padding-top:36px}.public-main>.notice{margin-top:0}.admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.price-context .small{width:100%}.preflight-grid .panel{min-height:auto}.preflight-empty{height:230px}.preview-note{font-size:10px}.sidebar-collapsed .sidebar.open{transform:none}}
#query-form{display:flex;flex-direction:column;gap:20px}#query-form>input{width:100%;height:48px;border-radius:16px}.verified-card{display:flex;align-items:center;gap:12px;margin-bottom:20px}.upstream-summary{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.upstream-summary small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.upstream-summary b{font-size:14px}.upstream-note{margin:16px 0 0}.upstream-details{color:var(--muted);font-size:14px;gap:20px}.upstream-details span{color:#38434d}.public-main{background:transparent}body:has(.public-main){background:#fafaf9}.overview-orders td:first-child{white-space:nowrap}.ui-icon.copy-decoration{margin-left:6px}
/* Reference fidelity: compact controls, invoice rows, upstream inventory. */
.hero-balance{padding-top:22px;padding-bottom:22px}.nav-label{margin-top:26px}.nav-label:first-child{margin-top:16px}.preview-note{display:none}.catalog-panel .table-footer{display:none}.catalog-panel th:first-child{width:45%}.catalog-panel select{min-width:145px}.catalog-panel td{padding:6px 12px}.catalog-panel .inline-price{width:112px;text-align:center}.switch{position:relative;display:inline-flex;width:32px;height:19px;vertical-align:middle}.switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0;z-index:1;cursor:pointer}.switch span{background:#b6bdc4;border-radius:20px;width:100%;height:100%}.switch span:after{content:'';display:block;width:15px;height:15px;background:white;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .15s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:after{transform:translateX(13px)}.switch input:focus-visible+span{outline:3px solid #ca452455}.price-context{flex-wrap:wrap}.price-context .badge{font-size:13px;padding:8px 10px}.drawer .timeline{margin-top:32px}.drawer .timeline h2{margin-bottom:20px}.drawer .event{padding-bottom:20px}.drawer .event-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.drawer .event p{margin:6px 0 0;font-size:12px;color:var(--muted)}.drawer .event small{color:var(--muted);white-space:nowrap}.drawer .event:before{background:#1598ca}.drawer .event.done:before{background:#00a66b}.drawer .detail-row{padding:12px 0}.drawer .detail-row>span:first-child{color:var(--muted);flex-shrink:0}.drawer .detail-row>span:last-child{text-align:right}.drawer .email-cell{max-width:290px}.upstream-config .panel-head{border:0;padding-bottom:0}.upstream-config .panel-head h2{margin-bottom:5px}.upstream-details{gap:20px;margin-bottom:22px}.fx-box{border:1px solid var(--border);border-radius:15px;padding:14px}.fx-box .grid{margin:12px 0}.fx-box small{font-size:12px}.cardpool-heading{margin:24px 0 12px}.cardpool-heading h2{margin:0 0 6px}.pool-plan{padding:0 0 20px;margin-bottom:16px;border-bottom:1px solid var(--border)}.pool-plan .checkline{display:inline-flex;margin:8px 20px 16px 0}.pool-plan input[type=number]{max-width:170px}.preflight-grid textarea{min-height:64px;height:64px}.preflight-grid .checkline{margin-top:16px;margin-bottom:16px}#order-table table{table-layout:fixed}#order-table th:nth-child(1){width:15%}#order-table th:nth-child(2){width:37%}#order-table th:nth-child(3),#order-table th:nth-child(4){width:12%}#order-table th:nth-child(5){width:12%}#order-table th:nth-child(6){width:12%}#order-table td{height:44px;padding-top:8px;padding-bottom:8px}#card-table td{white-space:nowrap}#card-table .note-button{max-width:190px;overflow:hidden;text-overflow:ellipsis}#card-table .email-cell{max-width:190px}#card-table .badge{font-size:11px}#card-table table{font-size:12px}#card-table td{padding:8px 10px}.toolbar{flex-wrap:wrap}.preflight-empty small{font-size:12px}.paged-table:empty{display:none}
@media(max-width:720px){.catalog-panel th:first-child{width:auto}.upstream-summary{gap:20px}.upstream-details{grid-template-columns:1fr}.price-context .badge{font-size:11px}.drawer .email-cell{max-width:205px}#order-table table{table-layout:auto;min-width:800px}.hero-balance{padding:22px}.nav-label:first-child{margin-top:16px}}
@media(min-width:1301px){.main{padding-top:30px}.pagehead{height:28px;min-height:28px}.nav-label:not(:first-child){margin-top:34px}.hero-balance{min-height:142px}.stat strong{margin-top:7px;margin-bottom:4px}.overview-orders>.panel{min-height:490px}.overview-orders table{table-layout:fixed}.overview-orders th:first-child{width:12%}.overview-orders th:nth-child(2){width:40%}.overview-orders th:nth-child(3){width:14%}.overview-orders th:nth-child(4){width:18%}.overview-orders th:last-child{width:16%}.overview-orders td{padding-top:7px;padding-bottom:7px}.quick-list .quick{min-height:60px;padding-top:10px;padding-bottom:10px}.issue-panel .formfoot{margin-top:14px;padding-top:14px}.preflight-grid .panel{height:345px}.preflight-empty{height:224px;gap:68px}}
.drawer .detail-row{padding:8px 0;min-height:42px;align-items:center}.drawer .timeline{border:0;padding:0;margin:30px 0 0}.drawer .timeline h2{margin:0 0 20px}.drawer .event{margin:0 0 0 4px;padding:0 0 20px 16px;border-left:1px solid var(--border)}.drawer .event:before{left:-5px;top:4px;width:6px;height:6px;border:1px solid white}.drawer .event:last-child{border-color:transparent}.drawer .event-heading{line-height:18px}
body{min-height:100vh}body:has(.public-main){background:#fafaf9}.public-header{height:78px}.public-main{margin-top:52px}.public-main>h1{font-size:30px}.redeem-tabs button{padding-top:16px;padding-bottom:16px}#order-table tbody tr{cursor:pointer}
@media(max-width:720px){.public-header{height:64px}.public-main{margin-top:36px}.public-main>h1{font-size:24px}.redeem-tabs button{padding:16px 0}}
[data-page=overview][data-role=admin]>.panel:last-child table{table-layout:fixed}[data-page=overview][data-role=admin]>.panel:last-child th:first-child{width:9%}[data-page=overview][data-role=admin]>.panel:last-child th:nth-child(2){width:11%}[data-page=overview][data-role=admin]>.panel:last-child th:nth-child(3){width:36%}[data-page=overview][data-role=admin]>.panel:last-child th:last-child,[data-page=overview][data-role=admin]>.panel:last-child td:last-child{text-align:left}[data-page=overview][data-role=admin]>.panel:last-child td{padding-top:7px;padding-bottom:7px}#user-table td{padding-top:6px;padding-bottom:6px;line-height:17px}#user-table .sub{font-size:12px;line-height:15px;margin-top:2px}
.ledger-filters[hidden]{display:none}
[data-page=ledger][data-role=agent] #ledger-table table{table-layout:fixed}[data-page=ledger][data-role=agent] #ledger-table th:first-child{width:11%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(2){width:26%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(3){width:15%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(4){width:16%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(5){width:22%}[data-page=ledger][data-role=agent] #ledger-table td:nth-child(3),[data-page=ledger][data-role=agent] #ledger-table td:nth-child(4),[data-page=ledger][data-role=agent] #ledger-table th:nth-child(3),[data-page=ledger][data-role=agent] #ledger-table th:nth-child(4){text-align:right}[data-page=ledger] #ledger-table td{padding-top:7px;padding-bottom:7px}[data-page=ledger] #ledger-table td:last-child,[data-page=ledger] #ledger-table th:last-child{text-align:left}[data-page=ledger][data-role=admin]>.tabs{flex-direction:row-reverse}
@media(max-width:720px){[data-page=ledger][data-role=agent] #ledger-table table{table-layout:auto;min-width:850px}}
[data-page=ledger][data-role=agent] #ledger-table th:first-child{width:9%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(2){width:23%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(3){width:12%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(4){width:16%}[data-page=ledger][data-role=agent] #ledger-table th:nth-child(5){width:22%}[data-page=ledger][data-role=agent] #ledger-table td:last-child{overflow-wrap:anywhere}
/* Card-list controls follow the supplied reference; batch IDs open the batch. */
#card-table .batch-link,#batch-table .batch-link{padding:0;min-height:24px;font:inherit;color:inherit;border-radius:4px}#card-table th:first-child{width:32px}#card-table td:first-child{padding-left:12px}#card-filter-form{margin:0}.issue-panel .formfoot{flex-wrap:wrap}#dialog .formfoot{flex-wrap:wrap}
#card-table td .note-button,#card-table td .small{min-height:28px;padding-top:3px;padding-bottom:3px}.toolbar .swap-button{background:#e99197;border-color:#e99197;color:#fff}.toolbar .swap-button:disabled{opacity:.72}
/* Operational additions retain the existing panel/table treatment. */
table td.empty:last-child{text-align:center}.renewal-detail{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.renewal-detail .row{flex-wrap:wrap}[data-page=operations] .stat strong{font-size:25px}[data-page=operations] .panel-head{gap:12px}[data-page=operations] .panel-head button{flex-shrink:0}

.redeem-guide ol{padding-left:24px;margin:0}.redeem-guide li{padding:4px 0 12px}.redeem-guide p{line-height:1.75;margin:8px 0}.redeem-guide a{color:var(--accent,#c84423);text-decoration:underline}.redeem-guide details{padding:14px 0;border-top:1px solid var(--border,#e6e8eb)}.redeem-guide summary{cursor:pointer;font-weight:600}.guide-extra{padding:16px 0;border-top:1px solid var(--border,#e6e8eb)}.guide-extra p{white-space:pre-wrap;overflow-wrap:anywhere}.guide-support{padding-top:12px;border-top:1px solid var(--border,#e6e8eb)}.pool-search{padding:16px 0}.pool-search input{flex:1;min-width:140px}.pool-search button{flex-shrink:0}
/* Agent daily statements and password form: supplied September 26 references. */
[data-role=agent][data-page=daily]>.pagehead{height:auto;min-height:48px;margin-bottom:24px}
[data-role=agent][data-page=daily] .page-description{display:block;font-size:12px;line-height:18px;margin:2px 0 0;color:var(--muted)}
.statement-filter-panel{margin-bottom:24px;padding:12px}
.statement-filters{display:flex;align-items:flex-end;gap:8px;margin:0}
.statement-filters>.field{width:150px;flex-shrink:0;gap:6px}
.statement-filters input{width:100%;height:32px;min-height:32px;padding:5px 12px}
.statement-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.statement-actions button{min-height:32px;padding:6px 12px;white-space:nowrap}
.statement-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.statement-stats .stat{min-height:114px;padding:20px}
.statement-stats .stat-icon{display:none}
.statement-stats .stat strong{font-size:24px;line-height:30px;margin:6px 0 4px}
.statement-stats .stat small{font-size:12px}
.statement-stats .stat>span{font-size:12px}
.statement-table-panel{margin-bottom:0}
.statement-table-panel th,.statement-table-panel td{text-align:right}
.statement-table-panel th:first-child,.statement-table-panel td:first-child{text-align:left}
.statement-table-panel th{height:40px}
.statement-table-panel td.empty{height:116px;padding:30px;text-align:center}
.statement-table-panel.is-empty .table-footer{display:none}
.statement-date{font:inherit;padding:0;min-height:28px;color:inherit}
.statement-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12px;color:var(--muted)}
.security-password-panel{width:450px;max-width:100%;padding:20px}
.security-password-panel h2{font-size:14px;line-height:20px;margin:0 0 16px}
.security-password-panel form{display:flex;flex-direction:column;gap:16px}
.security-password-panel .field{gap:6px;line-height:18px;font-size:12px}
.security-password-panel input{height:36px;min-height:36px}
.security-password-panel button{width:100%;height:36px;min-height:36px;padding:6px 12px}
@media(max-width:1100px){.statement-filters{flex-wrap:wrap}.statement-actions{margin-top:8px}}
@media(max-width:720px){.statement-filters>.field{width:calc(50% - 4px)}.statement-actions{width:100%;margin-left:0;justify-content:space-between;gap:4px}.statement-actions button{padding:8px;min-height:40px}.statement-stats{grid-template-columns:1fr;gap:12px}.statement-stats .stat{min-height:105px}.statement-table-panel table{min-width:660px}.statement-note{flex-wrap:wrap}.security-password-panel{width:100%}.security-password-panel input,.security-password-panel button{min-height:40px}}
