/* 8K Bank Enterprise Pro — Candy Cane Clean
 * A standalone UI demonstration. No production PHP, API or secrets.
 */
:root{--red:#c90e1d;--red-dark:#a40918;--red-deep:#8c0714;--pine:#075321;--text:#171e29;--soft:#687083;--line:#dfe5ea;--paper:#fff;--main:#f6f7fa;--cream:#fff9ef;--shadow:0 5px 15px rgba(13,24,38,.09),0 1px 2px rgba(12,20,29,.06);font-family:Inter,Arial,Helvetica,sans-serif;font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
html{background:#f4f6f9;scroll-behavior:smooth}
body{margin:0;color:var(--text);font-size:15px;line-height:1.42;overflow-x:hidden}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f6b846;outline-offset:3px}
button,input,select{touch-action:manipulation}.hidden{display:none!important}.icon-sprite{width:0;height:0;position:absolute;overflow:hidden;pointer-events:none}
.ico{width:23px;height:23px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app-stage{width:100%;min-height:100vh;overflow-x:hidden;transition:background .2s}
.app-shell{display:flex;width:100%;min-height:100vh;position:relative;background:var(--main)}
.sidebar{position:relative;flex:0 0 284px;width:284px;min-height:100vh;background:linear-gradient(118deg,#b70719 0%,#b6091b 40%,#c51b27 100%);color:white;z-index:12;overflow:hidden;border-right:1px solid #f4c1ba}
.brand-image{width:284px;height:224px;background:url('../decor/brand-top.webp') top left/284px 226px no-repeat;position:relative;z-index:2}
.nav-list{position:relative;z-index:4;padding:0 11px 215px;display:flex;flex-direction:column;gap:0}
.nav-item{background:none;border:0;color:#fff;display:flex;align-items:center;gap:21px;width:100%;text-align:left;height:44px;min-height:44px;padding:0 22px;border-radius:12px;font-weight:600;position:relative;white-space:nowrap;font-size:15.5px;text-shadow:0 1px 1px rgba(89,0,0,.1);transition:background .16s,transform .16s}
.nav-item .ico{width:24px;height:24px;stroke-width:2.3}
.nav-item:hover:not(.active){background:rgba(255,255,255,.15);transform:translateX(2px)}
.nav-item.active{background:linear-gradient(#fffef0,#ffefbf);color:#124827;text-shadow:none;border:2px solid #f3c95d;box-shadow:0 4px 9px rgba(70,0,0,.24),0 0 0 2px #fff6da inset;font-weight:800}
.nav-item.active::before{content:"";position:absolute;top:-3px;left:-3px;right:-3px;height:8px;background:repeating-linear-gradient(126deg,#d2172b 0 10px,#fffcf1 10px 20px);border-radius:9px 9px 0 0;box-shadow:0 1px 2px #9c070d}
.nav-item.active .ico{color:var(--red)}
.side-snowman{background:url('../decor/sidebar-snowman.webp') bottom left/284px 259px no-repeat;position:absolute;bottom:0;left:0;width:284px;height:259px;z-index:1;pointer-events:none}
.workspace{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#f8f9fb 0%,#f4f5f8 70%,#fff 100%)}
.page-header{height:158px;min-height:158px;position:relative;background:radial-gradient(ellipse 650px 100px at 58% 0%,#eaf0fa 0%,transparent 100%),linear-gradient(#fff,#f9fafc 92%);z-index:1}
.page-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:31px;background:radial-gradient(ellipse 100px 24px at 10% 100%,rgba(223,232,248,.55) 0 96%,transparent 100%),radial-gradient(ellipse 160px 24px at 30% 100%,rgba(230,235,250,.7) 0 96%,transparent 100%),radial-gradient(ellipse 180px 21px at 58% 100%,rgba(233,238,250,.6) 0 96%,transparent 100%),radial-gradient(ellipse 220px 27px at 90% 100%,rgba(229,234,248,.9) 0 96%,transparent 100%);pointer-events:none}
.header-pine{position:absolute;left:0;top:0;width:286px;height:54px;background:url('../decor/header-pine.webp') top left/286px 54px no-repeat;pointer-events:none}
.header-holidays{position:absolute;right:0;top:53px;width:385px;height:108px;background:url('../decor/right-christmas.webp') right bottom/385px 106px no-repeat;pointer-events:none}
.account-controls{position:absolute;right:25px;top:7px;display:flex;gap:19px;align-items:center;z-index:3}
.balance-pill{border:1px solid #d9dde6;background:#ffffffec;border-radius:16px;box-shadow:0 2px 7px #b9bcc454;display:flex;align-items:center;gap:8px;padding:4px 5px 4px 12px;color:#222;font-size:14.5px;white-space:nowrap}
.balance-pill strong{color:#034d1a;font-size:19px}.gold-coins{font-size:21px;line-height:1}
.balance-pill button{border:1px solid #db9a23;background:linear-gradient(#fff7dc,#ffc46d);border-radius:11px;box-shadow:0 2px 3px #9b661c55;color:#251906;padding:5px 14px;font-size:13px;font-weight:800}
.balance-pill button:hover{filter:brightness(1.06)}
.bell-button{position:relative;border:0;background:transparent;padding:6px;color:#202329}.bell-button .ico{width:25px;height:25px}.red-notify{position:absolute;right:5px;top:3px;width:10px;height:10px;background:#e21b21;border:2px solid white;border-radius:50%}
.user-summary{display:flex;align-items:center;gap:10px;min-width:221px}.user-summary .avatar{width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(#76b27b,#218b4b);border-radius:50%;border:3px solid white;box-shadow:0 1px 7px #9998;color:#fff}.user-summary .avatar .ico{width:24px;height:24px;stroke-width:2.5}
.user-summary strong{display:block;white-space:nowrap;font-size:14px}.user-summary small{display:block;font-size:11px;color:#545965}.user-summary .down{width:17px}
.page-heading{display:flex;gap:17px;align-items:center;position:absolute;left:40px;top:56px;z-index:2;max-width:calc(100% - 75px)}
.heading-emblem{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;border-radius:11px;color:#805017;background:linear-gradient(#fff8e7,#f9c571);border:1px solid #dcb77a;box-shadow:0 3px 7px #ad7e5233}.heading-emblem .ico{width:31px;height:31px;stroke-width:1.8}
.page-heading h1{font-size:32px;margin:0 0 3px;letter-spacing:-.9px;line-height:1.25;color:#a81017;font-weight:850}.page-heading p{font-size:15px;margin:0;color:#30333a}
.main-body{position:relative;flex:1;padding:8px 24px 100px;z-index:2}
.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 25px}
.stat-card{min-height:99px;background:rgba(255,255,255,.97);box-shadow:var(--shadow);border:1px solid #e0e4e8;border-radius:14px;padding:17px 15px 17px 20px;display:flex;align-items:center;gap:16px;min-width:0}
.stat-icon{width:62px;height:62px;flex:0 0 62px;border-radius:15px;display:grid;place-items:center;background:#e6f6e9;color:#06641b}.stat-icon .ico{width:37px;height:37px;stroke-width:1.8}.stat-icon.bank{background:#f0f8ed}.stat-icon.coins{background:#fef4e3;color:#b96f0a}
.stat-copy{min-width:0;flex:1}.stat-copy small{display:block;color:#242a31;font-size:13.5px;font-weight:780;margin-bottom:2px;white-space:nowrap}.stat-copy strong{display:flex;align-items:center;gap:7px;font-size:38px;line-height:1.1;font-weight:850;letter-spacing:-1px;color:#034d1b;white-space:nowrap}.stat-copy .small-info{width:18px;height:18px;stroke-width:2;color:#58646c}
.stat-side{display:flex;flex-direction:column;justify-content:center;gap:4px;align-items:center;min-width:134px;text-align:center;border-left:1px solid #e1e2e5;padding-left:15px;font-size:13px;white-space:nowrap}.stat-side>span:last-child{color:#49535e;font-size:12px}.stat-green{padding:3px 10px;background:#def9e1;color:#075c1f;font-size:15px;font-weight:850;border-radius:20px}.stat-neutral{padding:3px 10px;background:#f3f4f5;font-size:14px;font-weight:780;border-radius:20px}
.primary-grid{display:grid;grid-template-columns:1fr 1.18fr;gap:24px;margin-bottom:15px}.card{min-width:0;background:#fff;border-radius:16px;border:1px solid #e0e5e9;box-shadow:var(--shadow);overflow:hidden}
.lookup-card,.result-card{min-height:312px}
.card-head{position:relative;height:55px;background:linear-gradient(180deg,#ce1225 0%,#bf0e1c 95%);display:flex;align-items:center;gap:15px;padding:8px 23px;color:#fff;overflow:visible}
.card-head::before{content:"";height:12px;position:absolute;top:-1px;left:0;right:0;z-index:1;background:radial-gradient(13px 10px at 6px -2px,#fff 97%,transparent 100%) repeat-x;background-size:28px 14px}
.card-head .ico{width:31px;height:31px;position:relative;z-index:2;color:#fff4cc;stroke-width:2}.card-head h2{position:relative;z-index:2;margin:0;font-size:22px;line-height:1;font-weight:800;letter-spacing:-.45px}
.card-head .stripe-end{position:absolute;right:0;top:8px;height:46px;width:92px;background:repeating-linear-gradient(130deg,transparent 0 11px,#fff 11px 18px,transparent 18px 29px);clip-path:polygon(45% 0,100% 0,100% 100%,0 100%);opacity:.97}
.lookup-card .card-head .stripe-end{width:160px}.christmas-bow{position:absolute;right:22px;top:-29px;z-index:4;width:220px;height:100px;background:url('../decor/form-bow.webp') center/220px 99px no-repeat;pointer-events:none;mask-image:radial-gradient(ellipse 85% 65% at 50% 55%,#000 60%,transparent 100%)}
.small-snow{margin-left:auto;position:relative;z-index:2}.small-snow .ico{width:32px;height:32px;color:#fce9ea}
.lookup-form{padding:12px 22px 18px;display:flex;flex-direction:column;gap:7px}
.lookup-form label{font-size:14px;font-weight:750;line-height:18px}.lookup-form label span{color:#f00;font-weight:900}
.field{border:1px solid #cad1da;border-radius:11px;box-shadow:0 1px 2px #bcc3cd19 inset;background:linear-gradient(#fff,#fbfcfd);height:43px;display:flex;align-items:center;gap:11px;padding:0 13px;color:#46515c}.field:focus-within{border-color:#e5a427;box-shadow:0 0 0 3px #ffe7aa88}
.field .ico{width:23px;height:23px}.bank-field .ico{width:18px;height:18px}.bank-field select{border:0;outline:0;appearance:none;flex:1;background:transparent;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;cursor:pointer;color:#202329}
.vcb-mark{width:20px;height:22px;flex-shrink:0;background:radial-gradient(circle at 40% 20%,#fff 0 12%,transparent 13%),linear-gradient(150deg,#107436 15%,#068d4d 50%,#074e40 80%);clip-path:polygon(50% 0%,95% 15%,85% 70%,50% 100%,15% 70%,5% 15%);border:1px solid #c2dcc6}
.account-field input{border:0;outline:0;min-width:0;flex:1;width:100%;font-size:16px;font-weight:660;background:transparent;color:#1d2025}
.helper{height:auto;min-height:38px;background:#eff8ed;color:#384a3b;border-radius:9px;display:flex;align-items:center;gap:9px;padding:7px 12px;margin-top:5px;font-size:12.7px}.helper .ico{width:17px;height:17px;color:#0b6826}
.submit-lookup{position:relative;border:1px solid #d5ab45;color:#fff6d6;font-size:18px;letter-spacing:-.2px;font-weight:790;text-align:center;border-radius:11px;min-height:46px;margin-top:7px;background:linear-gradient(180deg,#f12535,#b80012);box-shadow:0 4px 6px #71131f3b,inset 0 0 0 2px white;display:flex;align-items:center;justify-content:center;gap:12px;overflow:hidden;text-shadow:0 1px 2px #600}.submit-lookup:before,.submit-lookup:after{content:"";position:absolute;top:0;bottom:0;width:60px;background:repeating-linear-gradient(132deg,#fff 0 9px,#f13243 9px 18px);box-shadow:0 0 9px #8006;pointer-events:none}.submit-lookup:before{left:0;clip-path:polygon(0 0,100% 0,38% 100%,0 100%)}.submit-lookup:after{right:0;clip-path:polygon(62% 0,100% 0,100% 100%,0 100%)}.submit-lookup:hover{filter:brightness(1.08);transform:translateY(-1px)}.submit-lookup .ico{height:26px;width:26px;stroke-width:2.3}
.result-body{padding:12px 21px 17px;min-height:256px}.result-banner{display:flex;align-items:center;gap:14px;border-radius:10px;background:linear-gradient(90deg,#e8fae8,#d8f4dc);padding:10px 17px;margin-bottom:12px;min-height:62px;color:#0d5a22}.result-banner .status-glyph{flex-shrink:0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;background:linear-gradient(#63cb64,#04912d);box-shadow:0 2px 5px #268d4d66}.status-glyph .ico{width:26px;height:26px;stroke-width:3}
.result-banner strong{font-size:19px;display:block;margin-bottom:1px;line-height:1.18}.result-banner small{font-size:12.8px;color:#334936}
.result-details{display:flex;gap:26px;padding:4px 0 3px 8px}.result-avatar{width:72px;height:70px;flex:0 0 72px;display:grid;place-items:center;border-radius:13px;background:#f0f8ef;color:#065625}.result-avatar .ico{width:47px;height:47px;stroke-width:1.7}.result-fields{flex:1;min-width:0}.result-row{display:grid;grid-template-columns:minmax(125px,40%) 1fr;gap:8px;border-bottom:1px solid #d8dce0;align-items:center;min-height:37px;font-size:14px}.result-row:last-child{border-bottom:1px solid #d8dce0}.result-row .value{font-weight:730;color:#1d1f24;overflow-wrap:anywhere}.mini-copy{border:0;background:transparent;color:#29313a;vertical-align:middle;margin-left:7px;display:inline-flex;padding:3px}.mini-copy .ico{width:17px;height:17px}
.result-banner.warning{background:#fff1db;color:#96510c}.result-banner.warning .status-glyph{background:linear-gradient(#f7b33c,#c27509)}.result-banner.warning small{color:#65503c}.result-banner.danger{background:#ffebea;color:#a12225}.result-banner.danger .status-glyph{background:linear-gradient(#f06663,#b62326)}.result-banner.danger small{color:#664244}.result-banner.unknown{background:#e9eff9;color:#25517e}.result-banner.unknown .status-glyph{background:linear-gradient(#7099c3,#3069ad)}.result-banner.unknown small{color:#44596d}.result-explanation{padding:13px 15px;border:1px solid #e5e7eb;border-radius:10px;background:#fcfcfd;font-size:14px;color:#45515c;line-height:1.6}.result-explanation strong{color:#263644}.result-caption{font-size:12px;color:#7b8391;margin-top:9px}
.history-panel{min-height:217px;padding:0 20px 9px}.history-title{display:flex;align-items:center;justify-content:space-between;gap:18px;height:53px}.history-title>div{display:flex;align-items:center;gap:13px;color:#a20c15}.history-title .ico{height:30px;width:30px;color:#005a22;stroke-width:2.2}.history-title h2{font-size:22px;margin:0;font-weight:810;letter-spacing:-.5px}.history-link{background:transparent;border:0;color:#014c1d;text-decoration:underline;font-weight:740;font-size:14px;white-space:nowrap;display:flex;align-items:center;gap:8px}.history-link .ico{height:20px;width:20px}
.table-wrapper{overflow-x:auto}.history-panel table,.generic-table{width:100%;border-collapse:collapse;text-align:left;font-size:13.2px;white-space:nowrap;min-width:780px}.history-panel th,.generic-table th{padding:10px 12px;background:#e5f4e7;color:#29302d;font-weight:780}.history-panel th:first-child,.generic-table th:first-child{border-radius:9px 0 0 9px}.history-panel th:last-child,.generic-table th:last-child{border-radius:0 9px 9px 0}.history-panel td,.generic-table td{padding:7px 12px;border-bottom:1px solid #e4e7e9}.history-panel td:first-child{font-variant-numeric:tabular-nums}.date-cell{display:flex;align-items:center;gap:10px}.date-cell .ico{color:#147130;width:18px;height:18px}.bank-cell{display:flex;align-items:center;gap:8px}.bank-mark{height:18px;min-width:20px;display:inline-grid;place-items:center;font-size:10px;font-weight:900;color:white;border-radius:5px;padding:1px 3px}.bank-mark.VCB{background:linear-gradient(150deg,#16983a,#064525)}.bank-mark.TCB{background:#ed1326}.bank-mark.BIDV{background:#097d8b}.bank-mark.KLB{background:#dd8128}.bank-mark.MBB{background:#0c418e}.bank-mark.ACB{background:#1170ad}
.success-chip,.status-chip{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:3px 9px;background:#e0f5e0;color:#006b26;font-size:12px;font-weight:780}.status-chip .ico{width:12px;height:12px;stroke-width:3}.status-chip.warning{background:#fff1dc;color:#8e5815}.status-chip.danger{background:#ffe4e3;color:#a12426}.status-chip.unknown{background:#edf0f9;color:#345d9a}.row-buttons{display:flex;gap:7px}.table-icon-button{background:#fff;border:1px solid #cbd3dc;border-radius:9px;padding:4px 8px;display:inline-grid;place-items:center;color:#394654}.table-icon-button:hover{background:#f0f5ff}.table-icon-button .ico{width:18px;height:18px}
.safety-note{margin:17px auto 0;display:flex;justify-content:center;align-items:center;gap:7px;color:#596d61;letter-spacing:.8px;font-size:10px;font-weight:770;text-align:center;min-height:20px}.safety-note .ico{height:15px;width:15px}
.snow-footer{height:96px;position:absolute;bottom:0;left:0;right:0;background:url('../decor/footer-snow.webp') bottom center/100% 96px no-repeat;pointer-events:none;z-index:1}
#snow-canvas{position:fixed;inset:0;z-index:30;pointer-events:none;opacity:.8}
.demo-dock{position:fixed;bottom:16px;right:19px;z-index:45}.dock-toggle{border:1px solid #cb9f55;background:linear-gradient(110deg,#880b17,#c41126);box-shadow:0 5px 18px #551e2655;color:#fffce9;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:30px;font-weight:800}.dock-toggle .ico{height:20px;width:20px}.dock-panel{position:absolute;bottom:56px;right:0;width:310px;background:white;color:#25272e;box-shadow:0 15px 45px #1f26384d;border:1px solid #ebdede;border-radius:16px;padding:17px;display:flex;flex-direction:column;gap:9px}.dock-title{display:flex;justify-content:space-between;margin-bottom:6px}.dock-title strong,.dock-title small{display:block}.dock-title strong{font-size:16px}.dock-title small{font-size:11px;color:#7a7f8b}.simple-close{border:0;background:#f4f4f5;color:#5e6470;border-radius:7px;padding:4px;align-self:flex-start}.simple-close .ico{width:17px;height:17px}.dock-panel label{font-size:12px;font-weight:770}.dock-panel select{padding:10px 9px;border:1px solid #dce0e8;border-radius:9px;background:#fcfcfd;max-width:100%;font-size:13px}.dock-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:3px}.dock-actions button{border:1px solid #c3d3c6;color:#165528;background:#f0f8f1;border-radius:9px;padding:9px 7px;font-weight:770;font-size:12px}.dock-panel p{font-size:11.5px;color:#6d7280;margin:5px 0 0}
.toast{position:fixed;z-index:80;left:50%;bottom:25px;transform:translateX(-50%) translateY(20px);background:#1a2e22;color:#fff;border-radius:12px;padding:11px 19px;box-shadow:0 12px 30px #0003;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;min-width:190px;text-align:center}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
.reference-dialog{border:0;border-radius:14px;padding:0;width:min(95vw,1700px);max-width:95vw;max-height:96vh;box-shadow:0 30px 90px #0008;overflow:auto}.reference-dialog::backdrop{background:#061025cc}.reference-dialog img{width:100%;height:auto;display:block}.reference-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 16px;background:#fff;color:#1b2435}.reference-bar button{display:flex;align-items:center;gap:7px;border:1px solid #dadee6;border-radius:9px;background:#fafafa;padding:6px 10px}.reference-bar .ico{width:17px;height:17px}
.mobile-menu,.mobile-backdrop{display:none}
/* alternate content sections */
.other-content{display:grid;gap:15px}.generic-heading{font-size:22px;color:#a81017;margin:4px 0 13px}.generic-panel{background:#fff;border-radius:15px;border:1px solid #e2e3e8;box-shadow:var(--shadow);padding:22px;min-width:0}.generic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.generic-kpi strong{font-size:31px;color:#055525;display:block}.generic-kpi span{font-size:13px;color:#5c6775}.generic-table{min-width:660px}.generic-info{border-radius:10px;background:#fff8e9;border:1px solid #f3e1bc;padding:13px 15px;color:#574627}.generic-panel h2{font-size:18px;margin:0 0 15px;color:#98313a}.fake-activity{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ebecf0}.fake-activity:last-child{border-bottom:0}.fake-activity small{color:#6f7887}.fake-activity b{font-size:14px}.fake-activity span{font-size:13px}.mock-btn{border:0;background:#c61528;border-radius:9px;color:#fff;font-weight:760;padding:11px 15px}.mock-btn:hover{filter:brightness(1.08)}.mock-input{border:1px solid #d6dce3;padding:12px;border-radius:9px;background:#fff;max-width:100%;width:330px}.fake-table-wrap{overflow:auto}.page-view .panel-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
/* mobile preview is a resize simulation that uses the responsive rules below */
body.preview-mobile{background:#d7dce5}.preview-mobile .app-stage{background:#e6e9f0;padding:20px 0}.preview-mobile .app-shell{width:390px;max-width:98vw;min-height:780px;margin:0 auto;box-shadow:0 12px 40px #12283f55;border:6px solid #242b3b;border-radius:30px;overflow:visible}.preview-mobile .sidebar{display:none;position:absolute}.preview-mobile .workspace{width:100%}.preview-mobile .page-header{height:155px}.preview-mobile .main-body{padding:10px 14px 105px}.preview-mobile .kpi-grid,.preview-mobile .primary-grid,.preview-mobile .generic-grid,.preview-mobile .page-view .panel-layout{grid-template-columns:1fr}.preview-mobile .stat-card{min-height:76px;padding:10px}.preview-mobile .stat-copy strong{font-size:26px}.preview-mobile .stat-icon{height:43px;width:43px;flex-basis:43px}.preview-mobile .stat-icon .ico{height:26px;width:26px}.preview-mobile .stat-side{min-width:102px}.preview-mobile .page-heading{top:68px;left:15px;gap:8px}.preview-mobile .heading-emblem{height:40px;width:40px}.preview-mobile .page-heading h1{font-size:18px}.preview-mobile .page-heading p{font-size:11px;max-width:275px}.preview-mobile .account-controls{right:8px;top:8px;gap:5px}.preview-mobile .balance-pill{padding:3px 4px;font-size:9px}.preview-mobile .balance-pill strong{font-size:11px}.preview-mobile .balance-pill button{font-size:9px;padding:3px 4px}.preview-mobile .user-summary{min-width:auto}.preview-mobile .user-summary>div,.preview-mobile .user-summary .down,.preview-mobile .bell-button{display:none}.preview-mobile .user-summary .avatar{width:31px;height:31px}.preview-mobile .mobile-menu{display:inline-flex;position:absolute;top:8px;left:10px;z-index:5}.preview-mobile .card-head h2{font-size:18px}.preview-mobile .christmas-bow{width:160px;height:78px;background-size:160px 72px;right:10px;top:-18px}.preview-mobile .sidebar.mobile-open{display:block;z-index:33;height:100%;min-height:900px;width:258px;flex-basis:258px}.preview-mobile .sidebar.mobile-open .brand-image{background-size:258px 205px;width:258px;height:203px}.preview-mobile .nav-item{height:41px;min-height:41px;font-size:13px}.preview-mobile .side-snowman{width:258px;height:233px;background-size:258px 233px}.preview-mobile .history-title h2{font-size:16px}.preview-mobile .history-link{font-size:10px}.preview-mobile .history-panel{padding:0 10px 9px}
@media(max-width:1480px){.sidebar{flex-basis:260px;width:260px}.brand-image{width:260px;height:206px;background-size:260px 207px}.nav-list{padding:0 8px 200px}.nav-item{padding:0 17px;gap:14px;height:42px;min-height:42px;font-size:14px}.side-snowman{width:260px;height:238px;background-size:260px 238px}.page-heading{left:30px}.page-heading h1{font-size:29px}.main-body{padding:9px 19px 100px}.primary-grid{gap:16px;grid-template-columns:1fr 1.16fr}.stat-card{gap:9px;padding:14px 10px}.stat-icon{height:52px;width:52px;flex-basis:52px}.stat-icon .ico{width:31px;height:31px}.stat-copy strong{font-size:32px}.stat-side{min-width:105px;padding-left:9px}.stat-side>span:last-child{font-size:11px}.stat-green{font-size:13px}.stat-copy small{font-size:12px}.result-row{font-size:12.7px}.result-details{gap:12px}}
@media(max-width:1120px){.sidebar{width:233px;flex-basis:233px}.brand-image{width:233px;height:188px;background-size:233px 187px}.nav-item{gap:11px;padding:0 11px;font-size:12.5px;height:41px;min-height:41px}.nav-item .ico{width:22px;height:22px}.side-snowman{width:233px;height:212px;background-size:233px 212px}.kpi-grid{gap:9px}.stat-card{gap:8px;padding:10px}.stat-side{display:none}.stat-icon{width:45px;height:45px;flex-basis:45px}.stat-copy strong{font-size:26px}.stat-copy small{white-space:normal}.primary-grid{gap:12px}.card-head h2{font-size:19px}.lookup-form{padding:12px 13px}.result-body{padding:12px}.result-avatar{width:47px;height:47px;flex-basis:47px}.result-avatar .ico{width:33px;height:33px}.result-row{grid-template-columns:minmax(90px,40%) 1fr;font-size:12px}.page-heading p{max-width:720px;font-size:13px}.account-controls{gap:7px}.user-summary{min-width:auto}.user-summary strong,.user-summary small{display:none}.user-summary .down{display:none}}
@media(max-width:900px){.app-shell{min-height:100vh}.sidebar{display:none;position:fixed;left:0;top:0;bottom:0;min-height:100vh;width:270px;box-shadow:4px 0 20px #101b2b45}.sidebar.mobile-open{display:block}.sidebar.mobile-open .brand-image{width:270px;height:214px;background-size:270px 215px}.sidebar.mobile-open .side-snowman{width:270px;height:247px;background-size:270px 247px}.sidebar.mobile-open .nav-item{font-size:14px;padding:0 17px;height:43px}.sidebar.mobile-open .nav-list{padding-bottom:210px}.mobile-backdrop.visible{display:block;position:fixed;inset:0;z-index:10;background:#111b2b77}.mobile-menu{display:inline-flex;position:absolute;left:17px;top:10px;z-index:5}.icon-button{border:1px solid #e1e4e9;background:#fff;border-radius:9px;align-items:center;justify-content:center;min-width:38px;min-height:36px;color:#a30d1c}.page-header{height:156px}.page-heading{top:62px;left:24px}.page-heading h1{font-size:26px}.account-controls{right:12px;top:8px}.balance-pill{font-size:12px}.balance-pill strong{font-size:15px}.balance-pill button{font-size:11px}.user-summary{min-width:unset}.user-summary .avatar{width:34px;height:34px}.user-summary .avatar .ico{width:20px;height:20px}.main-body{padding:11px 16px 96px}.kpi-grid{gap:10px}.stat-copy strong{font-size:29px}.primary-grid{grid-template-columns:1fr 1fr}.history-panel{padding:0 12px 10px}.history-title h2{font-size:19px}}
@media(max-width:670px){.page-header{height:156px;min-height:156px}.header-holidays{width:200px;background-size:200px 60px;height:60px;top:88px;opacity:.8}.header-pine{background-size:180px 53px;width:180px;height:53px;opacity:.8}.page-heading{top:73px;left:15px;gap:9px}.page-heading .heading-emblem{width:39px;height:39px}.page-heading .heading-emblem .ico{width:24px;height:24px}.page-heading h1{font-size:20px;letter-spacing:-.5px}.page-heading p{font-size:11px;line-height:1.25;max-width:calc(100% - 12px)}.account-controls{gap:6px;top:8px}.balance-pill{border-radius:10px;font-size:10px;gap:3px;padding:3px 4px}.balance-pill strong{font-size:12px}.balance-pill button{padding:3px 5px;font-size:9px;border-radius:7px}.balance-pill .gold-coins{font-size:13px}.user-summary .avatar{width:30px;height:30px}.bell-button{padding:4px}.bell-button .ico{width:20px}.main-body{padding:9px 12px 94px}.kpi-grid,.primary-grid,.generic-grid,.page-view .panel-layout{grid-template-columns:1fr;gap:12px}.kpi-grid{margin-bottom:17px}.stat-card{min-height:70px;padding:10px 13px}.stat-copy small{font-size:13px}.stat-copy strong{font-size:28px}.stat-side{display:flex;min-width:115px}.stat-icon{height:46px;width:46px;flex-basis:46px}.stat-icon .ico{width:28px;height:28px}.card-head{height:49px;padding:8px 16px}.card-head h2{font-size:18px}.card-head .ico{width:25px;height:25px}.christmas-bow{width:150px;height:68px;background-size:150px 68px;right:12px;top:-17px}.lookup-card,.result-card{min-height:unset}.lookup-form{padding:12px 14px 16px}.result-details{gap:13px}.result-row{font-size:12.5px}.history-title{height:51px}.history-title h2{font-size:16px}.history-title .ico{width:25px;height:25px}.history-link{font-size:11px}.history-link .ico{width:14px}.safety-note{font-size:9px}.snow-footer{height:83px;background-size:auto 83px}.dock-panel{max-width:calc(100vw - 24px)}.demo-dock{right:9px;bottom:10px}.dock-toggle{padding:8px 11px;font-size:12px}.dock-toggle .ico{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}#snow-canvas{display:none}}

/* Fit the longer credit number without colliding with the estimate. */
.stat-card:last-child{gap:9px;padding:12px}
.stat-card:last-child .stat-icon{width:54px;flex-basis:54px}
.stat-card:last-child .stat-copy strong{font-size:31px}
.stat-card:last-child .stat-side{min-width:102px;padding-left:7px}
.stat-card:last-child .stat-side>span:last-child{font-size:10.5px}
@media(max-width:900px){
  .stat-card:last-child .stat-copy strong{font-size:26px}
  .stat-card:last-child .stat-side{min-width:91px}
}
@media(max-width:670px){
  .header-holidays{width:100px;top:108px;background-size:100px 29px;height:29px;opacity:.7}
  .stat-card:last-child .stat-icon{width:43px;flex-basis:43px}
  .stat-card:last-child .stat-copy strong{font-size:24px}
  .stat-card:last-child .stat-side{min-width:94px;padding-left:5px}
}
.preview-mobile .header-holidays{width:100px;top:115px;background-size:100px 29px;height:29px;opacity:.55}
.preview-mobile .stat-card:last-child .stat-icon{width:43px;flex-basis:43px}
.preview-mobile .stat-card:last-child .stat-copy strong{font-size:23px}
.preview-mobile .stat-card:last-child .stat-side{min-width:93px;padding-left:4px}

/* Review-first staging features; isolated from production code. */
.ux-review-btn{display:block;width:100%;border:1px solid #a7d2b4;background:#ecf9ef;border-radius:9px;color:#08582a;padding:11px 12px;font-weight:800;margin-top:10px;text-align:center}
.ux-review-btn:hover{background:#d9f4e0}
.staging-dialog{border:0;padding:0;border-radius:22px;max-width:520px;width:min(90vw,520px);box-shadow:0 24px 70px #210b1559;background:#fff;color:#142333;overflow:hidden}
.staging-dialog::backdrop{background:rgba(8,22,33,.68);backdrop-filter:blur(4px)}
.staging-dialog .dialog-holiday{height:86px;background:linear-gradient(110deg,#b3051e,#e12433);position:relative;overflow:hidden}
.staging-dialog .dialog-holiday::before{content:'❄   ✦   ❄   ✦   ❄   ✦   ❄';position:absolute;letter-spacing:11px;white-space:nowrap;color:#fff7f1bb;font-size:23px;top:25px;left:12px}
.staging-dialog .dialog-holiday::after{content:'';position:absolute;bottom:-3px;left:0;right:0;height:13px;background:repeating-linear-gradient(120deg,#e62435 0 12px,#fff 12px 24px)}
.staging-dialog .dialog-content{padding:27px 35px 35px;text-align:center}
.staging-dialog .preview-tag{display:inline-block;background:#f1f8f2;color:#12662d;padding:5px 11px;font-weight:760;border:1px solid #bedcc8;border-radius:99px;font-size:10px;letter-spacing:.2px}
.staging-dialog .preview-emoji{display:block;font-size:50px;margin:12px 0 6px}
.staging-dialog h2{font-size:27px;color:#ab101e;margin:10px 0 8px;letter-spacing:-.8px}
.staging-dialog p{color:#576172;line-height:1.7;font-size:14px;margin:6px 0 20px}
.staging-dialog .preview-meta{border:1px solid #f0dcd0;background:#fff9f1;border-radius:12px;padding:12px;color:#644b40;font-size:12px;margin:16px 0 18px}
.staging-dialog .dialog-main-btn{background:#be1022;color:#fff;border:0;border-radius:10px;padding:12px 19px;font-weight:790;box-shadow:0 2px 6px #9d13212a}
.staging-dialog .dialog-main-btn:hover{background:#a20d1c}
.staging-dialog .login-field-preview{margin:15px auto 23px;max-width:330px;text-align:left;display:grid;gap:8px}
.staging-dialog .login-field-preview label{color:#5d6573;font-size:12px;font-weight:780}
.staging-dialog .login-field-preview div{border:1px solid #d9dfe9;border-radius:9px;padding:11px;color:#576172;background:#f8f9fb}
.staging-dialog small{display:block;font-size:11px;margin-top:14px;color:#8c94a2}
.review-dialog{max-width:600px;width:min(93vw,600px)}
.review-dialog .dialog-content{text-align:left;padding:28px}
.review-dialog h2{margin-top:10px}
.review-dialog p{margin-bottom:13px}
.review-progress{font-size:13px;font-weight:800;color:#12662d;margin:14px 0;padding:11px;border-radius:10px;background:#e9f8ed}
.review-choices{display:grid;gap:7px}
.review-choices label{display:flex;align-items:flex-start;gap:10px;padding:10px 8px;border-bottom:1px solid #eff0f3;font-size:13px;line-height:1.4;cursor:pointer}
.review-choices label:hover{background:#faf6f6}
.review-choices input{accent-color:#b70f25;width:18px;height:18px;flex:0 0 18px;margin:0}
.review-buttons{display:flex;justify-content:flex-end;margin-top:19px}
@media(max-width:670px){.staging-dialog .dialog-content{padding:18px}.staging-dialog h2{font-size:22px}.staging-dialog .dialog-holiday{height:58px}.review-dialog .dialog-content{padding:18px}.review-choices label{font-size:12px}}
/* Keep the demo launcher out of the way on small screens. */
@media(max-width:670px){
  .dock-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:9px;border-radius:50%;display:grid;place-items:center}
  .dock-toggle span{display:none}
  .dock-toggle .ico{width:22px;height:22px}
}
.preview-mobile .dock-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:9px;border-radius:50%;display:grid;place-items:center}
.preview-mobile .dock-toggle span{display:none}
.preview-mobile .dock-toggle .ico{width:22px;height:22px}
