:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#243349;background:#f3f6fa;font-size:16px;font-synthesis:none;--blue:#1975e8;--navy:#14304e;--line:#e6ebf2;--muted:#738198;--green:#079b78;--red:#d44747}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;border:1px solid #d9e1ec;border-radius:5px;background:#fff;color:#34445c;padding:9px 16px;font-size:.875rem;font-weight:500;white-space:nowrap;min-height:38px}button:hover{border-color:var(--blue);color:var(--blue)}button:disabled{cursor:wait;opacity:.55}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#0968d9}.danger{background:#d44747;color:#fff;border-color:#d44747}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #99c6ff;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #dce3ed;border-radius:5px;background:#fff;color:#243349;padding:9px 11px;min-height:39px;font-size:.875rem;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1975e810}input::placeholder,textarea::placeholder{color:#9aa6b6}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23738198' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px}label{font-size:.875rem;display:flex;flex-direction:column;gap:8px;color:#536279}h1,h2,p{margin:0}h1{font-size:1.5rem;font-weight:650;letter-spacing:.02em}h2{font-size:1rem;font-weight:650}.muted{color:var(--muted);font-size:.8125rem;font-weight:400}.hint{font-size:.8125rem;color:var(--muted);line-height:1.7}.error{color:var(--red);font-size:.875rem;line-height:1.6}.error:empty{display:none}.actions{display:flex;gap:10px;align-items:center}.actions select{width:auto;min-width:100px}.text-button{border:0;background:none;padding:5px 8px;min-height:30px}.sidebar{position:fixed;inset:0 auto 0 0;width:214px;background:var(--navy);color:#a9bdd3;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:#fff;padding:30px 24px;font-size:1.375rem;font-weight:650;letter-spacing:2px}.brand-mark{height:41px;width:41px;display:grid;place-items:center;flex-shrink:0;background:#2584f2;color:white;border-radius:10px;font-size:1.375rem;font-weight:700;letter-spacing:0}.brand-small{display:block;font-size:.6875rem;letter-spacing:1px;color:#a9bdd3;font-weight:400;margin-top:5px}.sidebar nav{padding:14px}.sidebar nav a{display:flex;align-items:center;gap:14px;color:#b6c7db;font-size:.9375rem;padding:14px 18px;border-radius:5px;margin-bottom:8px}.sidebar nav a:hover{background:#1d3e60;color:#fff}.sidebar nav a.active{background:#1975e8;color:#fff}.nav-icon{font-size:1.4rem;width:22px;line-height:1;text-align:center}.workspace{margin-left:214px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb span{padding:0 16px;color:#b8c0cb}.breadcrumb b{color:#34445c;font-weight:500}.admin-actions{display:flex;align-items:center;gap:8px;font-size:.875rem}.avatar{background:#eaf2ff;color:var(--blue);height:30px;width:30px;display:grid;place-items:center;border-radius:50%;font-weight:650}.separator{width:1px;height:15px;background:var(--line);margin:0 5px}main{padding:28px 30px 20px;flex:1;min-width:0}.panel{background:#fff;border:1px solid var(--line);border-radius:7px;margin-bottom:20px;overflow:hidden}.panel-heading{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:62px}.panel-heading a{font-size:.875rem}.panel-heading h2 span{margin-left:10px}.health-strip{display:flex;align-items:center;gap:20px;font-size:.875rem;background:#e9f2ff;padding:15px 19px;border-radius:6px;margin-bottom:20px;color:#4b6587}.health-strip b{color:#234d80}.health-strip a{margin-left:auto}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:7px;padding:23px;min-height:150px;position:relative}.stat:first-child{border-top:3px solid var(--blue);padding-top:21px}.stat-label{font-size:.875rem;color:#66758b}.stat-value{font-size:1.8rem;font-weight:650;letter-spacing:-.5px;line-height:1.35;margin-top:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.stat-value small{font-size:1rem;margin-right:4px;font-weight:500;color:#71819a}.stat-foot{margin-top:12px;font-size:.8125rem;color:var(--muted)}.stat-foot strong{color:#485c75;font-weight:500;margin-left:8px}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:.875rem;white-space:nowrap;text-align:left}th{background:#f6f8fc;color:#748097;font-weight:500;padding:13px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:16px 17px;border-bottom:1px solid #edf1f6;line-height:1.45;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td small{display:block;font-size:.75rem;color:#8b98aa;margin-top:4px}td .merchant-name{font-weight:600;color:#324965}.money{font-weight:600;color:#263b55;font-variant-numeric:tabular-nums}.money.success{color:var(--green)}.badge{padding:4px 8px;font-size:.8125rem;border-radius:4px;display:inline-block;white-space:nowrap}.badge.green{background:#e4f6ef;color:#078464}.badge.amber{background:#fff4dc;color:#a27209}.badge.red{background:#ffeded;color:#cb4848}.badge.gray{background:#edf1f5;color:#8290a3}.badge.blue{background:#eaf2ff;color:#246dc7}.notify{font-size:.8125rem}.notify.green{color:#079b78}.notify.red{color:var(--red)}.notify.gray{color:#8995a5}.notice{padding:14px 18px;border-radius:6px;font-size:.875rem;margin-bottom:20px;line-height:1.7}.notice b{margin-right:16px}.warning{background:#fff6e4;border:1px solid #f1dba9;color:#94621e}.info{background:#ecf4ff;color:#41658f;border:1px solid #dbe9fc}.amount-filter{display:flex}.amount-filter select{width:62px;min-width:62px;border-radius:5px 0 0 5px}.amount-filter input{min-width:0;border-radius:0 5px 5px 0;border-left:0}.summary-strip{display:flex;flex-wrap:wrap;gap:8px;padding:0 2px 18px;font-size:.875rem;color:#246dc7}.summary-strip>span{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #d2e4fc;border-radius:4px;background:#eaf2ff}.summary-strip b{margin-left:6px;color:#2a4e7b;font-weight:600}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid var(--line);font-size:.8125rem;color:var(--muted)}.pagination button{min-height:32px;padding:6px 12px}.inline-label{flex-direction:row;align-items:center;gap:8px}.inline-label select{min-width:70px;height:32px;min-height:32px;padding-top:5px;padding-bottom:5px}.merchant-summary{display:flex;gap:26px;margin:24px 2px;color:#6a7b91;font-size:.875rem}.merchant-summary b{font-size:1.25rem;color:#273e58;margin-left:8px}.row-actions{display:flex;align-items:center;gap:3px}.row-actions button{padding:5px 7px;font-size:.8125rem;min-height:28px;border:0;background:transparent;color:var(--blue)}.row-actions button.delete{color:#bf5e5e}.merchant-table td{padding:18px 16px}.merchant-table .error-note{max-width:210px;white-space:normal;color:#bd7145}.order-id{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;background:none;border:0;padding:0;color:#3168a6;min-height:auto;line-height:1.6;text-align:left;font-size:.8125rem}.order-id:hover{text-decoration:underline}.order-id.secondary{color:#8692a5;font-size:.75rem}.empty{text-align:center;padding:55px 24px!important;white-space:normal;color:#8694a8;font-size:.875rem}.empty strong{display:block;color:#586e88;font-size:1rem;margin-bottom:10px}.empty a{display:inline-block;margin-top:16px}.loading{padding:50px;text-align:center;color:#8a98a9}.loading::before{content:"";display:inline-block;width:15px;height:15px;border:2px solid #d9e6f8;border-top-color:var(--blue);border-radius:50%;vertical-align:middle;margin-right:10px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}footer{display:flex;justify-content:space-between;color:#98a3b3;font-size:.75rem;padding:16px 30px 24px}dialog{border:0;padding:25px;border-radius:10px;box-shadow:0 20px 80px #10244038;width:min(450px,calc(100% - 28px));max-height:90vh;color:#243349}dialog::backdrop{background:#10244070}dialog form{display:flex;flex-direction:column;gap:18px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.dialog-heading h2{font-size:1.125rem}.close{border:0;padding:0 5px;min-height:28px;font-size:1.6rem;color:#8b98a9;font-weight:300;background:transparent}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:5px}.wide-dialog{width:min(760px,calc(100% - 28px))}.wide-dialog .dialog-heading{margin-bottom:20px}.captcha-row{display:flex;gap:12px}.captcha-row input{width:60%}.captcha-row button{padding:0 6px;width:132px;background:#f2f5f8;min-height:42px}.captcha-row img{max-width:110px;max-height:40px}.captcha-row img:not([src]){display:none}#captcha-expiry{margin-top:-12px}.event{display:grid;grid-template-columns:155px 1fr;gap:20px;font-size:.875rem;padding:13px 0;border-bottom:1px solid var(--line)}.event time{font-size:.8125rem;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-grid dt{font-size:.8125rem;color:var(--muted);margin-bottom:7px}.detail-grid dd{margin:0;font-size:.875rem;word-break:break-all;line-height:1.7}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#243b57;color:#fff;padding:13px 23px;border-radius:7px;box-shadow:0 4px 24px #10244020;font-size:.875rem;max-width:90vw;z-index:9999}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-intro{background:#14304e;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:10vw;align-items:flex-start}.auth-intro .brand-mark{margin-bottom:28px;width:55px;height:55px;font-size:1.8rem}.auth-intro h1{font-size:2rem;white-space:nowrap}.auth-intro p{color:#a6bdd6;font-size:1rem;line-height:2;margin-top:22px}.auth-line{height:3px;width:50px;background:#2584f2;margin:50px 0 20px}.auth-intro>span{color:#809dbb;font-size:.875rem}.auth-form{width:min(350px,80%);align-self:center;justify-self:center;display:flex;flex-direction:column;gap:22px}.auth-form h2{font-size:1.7rem;margin-top:-10px;margin-bottom:10px}.auth-form button{height:44px}.auth-form .hint{margin-top:8px}#merchant-search{width:220px}
@media(min-width:1600px){main{padding:32px 40px}.stat-value{font-size:2rem}}
@media(max-width:1200px){.sidebar{width:180px}.brand{padding:26px 18px}.workspace{margin-left:180px}main{padding:24px 20px}.topbar{padding:0 20px}.stats-grid{gap:12px}.stat{padding:18px}.stat-value{font-size:1.5rem}.row-actions{flex-wrap:wrap;max-width:260px}.health-strip{gap:10px;flex-wrap:wrap}}
@media(max-width:850px){.sidebar{width:75px}.brand{padding:24px 17px}.brand>span:last-child{display:none}.sidebar nav{padding:10px}.sidebar nav a{font-size:0;padding:14px 12px;gap:0}.nav-icon{font-size:1.4rem}.workspace{margin-left:75px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb{display:none}.topbar{justify-content:flex-end}.health-strip a{margin-left:0}footer span{display:none}}
@media(max-width:600px){.sidebar{position:static;width:100%;height:auto;flex-direction:row;align-items:center}.brand{padding:12px}.brand-mark{width:32px;height:32px;font-size:1.1rem}.sidebar nav{display:flex;flex:1;justify-content:space-around;padding:6px}.sidebar nav a{font-size:.8125rem;gap:5px;margin:0;padding:10px}.nav-icon{display:none}.workspace{margin-left:0}.topbar{height:54px;padding:0 12px}.admin-actions{gap:4px}.admin-actions button{font-size:.75rem}main{padding:22px 12px}.stats-grid{gap:10px}.stat{padding:17px 14px;min-height:130px}.stat:first-child{padding-top:15px}.stat-label{font-size:.8125rem}.stat-value{font-size:1.5rem}.stat-foot{font-size:.75rem}.panel-heading{padding:15px;flex-wrap:wrap}.panel-heading .actions{width:100%}#merchant-search{flex:1;min-width:100px;width:auto}.pagination{padding:14px;flex-wrap:wrap}.pagination .actions{gap:8px}.merchant-summary{gap:14px;flex-wrap:wrap}.health-strip{font-size:.8125rem;padding:12px}.notice{font-size:.8125rem}.notice b{display:block}.auth-screen{grid-template-columns:1fr}.auth-intro{padding:30px}.auth-intro h1{font-size:1.5rem}.auth-intro p,.auth-line,.auth-intro>span{display:none}.auth-intro .brand-mark{margin:0 0 16px}.auth-form{padding:35px 0;width:min(350px,85%)}.detail-grid{grid-template-columns:1fr}.event{grid-template-columns:1fr;gap:5px}footer{padding:12px}.summary-strip{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before{animation:none!important;scroll-behavior:auto!important}}

.filters{padding:12px;display:flex;flex-direction:column;gap:8px;overflow:visible}
.filter-row{display:grid;gap:8px;align-items:center}
.filter-main{grid-template-columns:minmax(110px,1fr) minmax(170px,1.5fr) minmax(100px,.9fr) repeat(2,minmax(90px,.7fr)) repeat(4,minmax(165px,1.25fr))}
.filter-secondary{grid-template-columns:190px repeat(4,125px) auto;justify-content:start}
.filter-field{min-width:0}
.filters input,.filters select,.filters button{min-height:34px;height:34px;padding-top:6px;padding-bottom:6px;border-radius:3px}
.filter-actions{display:flex;gap:8px;align-items:center}
.filter-actions button{padding-left:15px;padding-right:15px}
.datetime-input{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2399a3b1' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='12' height='11' rx='1'/%3E%3Cpath d='M2 6h12M5 1v4m6-4v4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding-left:9px;padding-right:28px;font-size:.8125rem}
.datetime-picker{position:fixed;z-index:1000;width:450px;max-width:calc(100vw - 16px);background:#fff;border:1px solid #e6ebf2;border-radius:5px;box-shadow:0 5px 22px #20385526;color:#334155;font-size:.875rem}
.datetime-body{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr)}
.datetime-calendar{min-width:0;padding:0 10px 10px}
.datetime-heading{height:42px;display:flex;align-items:center;border-bottom:1px solid #f0f2f5;margin:0 -10px 8px;padding:0 8px}
.datetime-heading strong{flex:1;text-align:center;font-size:.875rem;font-weight:600}
.datetime-picker button{border:0;box-shadow:none;min-height:0;border-radius:3px;padding:0;background:transparent;color:inherit;font-size:.8125rem;font-weight:400}
.datetime-heading button{height:30px;width:23px;color:#8994a3;font-size:1.125rem}
.datetime-picker button:hover{background:#f0f6ff;color:#1975e8}
.datetime-week,.datetime-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
.datetime-week span{height:30px;line-height:30px;font-size:.8125rem}
.datetime-days button{height:30px;margin:2px 4px}
.datetime-days .outside{color:#bbc1ca}
.datetime-days .today{box-shadow:inset 0 0 0 1px #1975e8}
.datetime-picker button.selected{background:#eaf3ff;color:#1975e8;font-weight:600}
.datetime-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:1px solid #edf0f4}
.datetime-time{min-width:0;border-right:1px solid #edf0f4}
.datetime-time:last-child{border-right:0}
.datetime-time>span{display:block;height:42px;text-align:center;line-height:42px;border-bottom:1px solid #edf0f4;font-size:.8125rem;color:#8a94a3}
.datetime-options{position:relative;height:252px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dbe2ec transparent;overscroll-behavior:contain}
.datetime-options button{display:block;min-height:30px;height:30px;width:100%;border-radius:0;flex-shrink:0}
.datetime-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0f4;padding:10px 12px}
.datetime-footer>span{color:#99a3b1;font-size:.75rem;margin-right:auto}
.datetime-footer button{padding:5px 10px;color:#1975e8;height:28px}
.datetime-footer button.primary{color:white;background:#1975e8}
@media(max-width:1600px){.filter-main{grid-template-columns:repeat(5,minmax(0,1fr))}.filter-secondary{grid-template-columns:190px repeat(4,minmax(90px,125px)) auto}}
@media(max-width:1100px){.filter-main{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.filter-main,.filter-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-actions button{flex:1}.datetime-body{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.datetime-days button{margin:2px 1px}.datetime-calendar{padding-left:6px;padding-right:6px}.datetime-heading{margin-left:-6px;margin-right:-6px}}

.order-results-heading{justify-content:flex-start;flex-wrap:wrap}.order-results-heading h2{flex-shrink:0;white-space:nowrap}.order-results-heading .summary-strip{padding:0;flex:1}.order-results-heading .summary-strip>span{white-space:nowrap}#order-update{margin-left:auto;white-space:nowrap}

.health-summary{display:flex;flex:1;align-items:center;gap:20px;flex-wrap:wrap}.health-strip>.actions{margin-left:auto}.result-actions{margin-left:auto;flex-wrap:wrap}.merchant-tools{flex-wrap:wrap}@media(max-width:600px){.health-strip{flex-wrap:wrap}.health-summary{flex-basis:100%;gap:10px}.health-strip>.actions{margin-left:0}.result-actions{justify-content:space-between}}

.select-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;min-width:0;min-height:39px;padding:9px 11px;background:#fff;color:#243349;border:1px solid #dce3ed;border-radius:5px;font-size:.875rem;font-weight:400;text-align:left;gap:10px}
.select-trigger::after{content:"";width:6px;height:6px;flex-shrink:0;border-right:1px solid #8d9aac;border-bottom:1px solid #8d9aac;transform:rotate(45deg);margin:-3px 2px 0 0}
.select-trigger[aria-expanded=true]{border-color:#1975e8;box-shadow:0 0 0 3px #1975e810}
.select-trigger[aria-expanded=true]::after{transform:rotate(225deg);margin-top:3px}
.select-trigger:hover{color:#243349;border-color:#87b8f4}
.select-trigger.placeholder{color:#99a4b3}
.select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-trigger:disabled{cursor:not-allowed;background:#f5f7fa}
.select-options{position:fixed;z-index:1100;box-sizing:border-box;padding:5px;background:#fff;border:1px solid #e1e7ef;border-radius:6px;box-shadow:0 6px 22px #20385520;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dbe2ec transparent;font-size:.875rem}
.select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:8px 10px;border-radius:4px;cursor:pointer;line-height:1.4;color:#46566e;word-break:break-word}
.select-option:hover,.select-option.active{background:#f1f6fd}
.select-option[aria-selected=true]{background:#eaf3ff;color:#1975e8;font-weight:500}
.select-option[aria-disabled=true]{color:#b0bac7;cursor:not-allowed;background:transparent}
.select-check{color:#1975e8;flex-shrink:0;font-size:.875rem}
.select-empty{padding:10px;color:#98a3b3;font-size:.8125rem;line-height:1.6}
.select-editable{padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23738198' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.amount-filter>.select-operator{width:62px;min-width:62px;border-radius:3px 0 0 3px}
.inline-label>.select-page-size{width:70px;min-height:32px;height:32px;padding:5px 10px}
.actions>.select-period{width:100px}

.payment-badge{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}.payment-badge img{width:16px;height:16px;object-fit:contain;flex-shrink:0}

.app-download{position:relative;margin-right:10px}.app-download #app-download-toggle{display:flex;align-items:center;gap:10px;height:44px;padding:5px 10px;background:#f0f5ff;border:1px solid #c9dbff;border-radius:8px;color:#233653;box-shadow:0 2px 5px #2f6ddb08}.android-mark{width:29px;height:29px;border-radius:9px;background:#4175e7;display:grid;place-items:center}.android-mark svg{width:22px;height:22px;fill:white;stroke:white;stroke-width:1.5;stroke-linecap:round}.android-mark .android-eyes{stroke:#4175e7;stroke-width:2}.download-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.1}.download-copy b{font-size:12px;font-weight:600}.download-copy small{font-size:10px;color:#8b97aa}.app-chip{font-size:10px;color:white;background:#4175e7;border-radius:3px;padding:2px 5px;font-weight:700}#app-download-panel{position:absolute;right:0;top:calc(100% + 10px);width:382px;max-width:calc(100vw - 24px);padding:16px;background:white;border:1px solid #e4eaf3;border-radius:12px;box-shadow:0 8px 35px #15355d26;z-index:400}.download-app-info{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid #e7edf5}.download-app-info img{border-radius:10px}.download-app-info b{font-size:14px}.download-app-info small{display:block;color:#8e99aa;font-size:11px;margin-top:7px}.download-body{display:grid;grid-template-columns:152px 1fr;gap:14px;margin-top:14px}.download-qr img{display:block;border:1px solid #e4eaf3;border-radius:8px;image-rendering:pixelated}.download-qr small{display:block;color:#939dac;text-align:center;font-size:11px;margin-top:7px}.download-buttons{display:flex;flex-direction:column;gap:9px}.download-buttons a,.download-buttons button{display:block;min-height:35px;text-align:center;padding:8px 5px;font-size:12px;border-radius:7px}.download-primary{background:#4175e7;color:white;font-weight:600}.download-primary:hover{color:white;background:#2d64d9}.download-buttons p{font-size:11px;line-height:1.7;color:#939dac;margin:0}@media(max-width:800px){.download-copy small,.app-chip{display:none}.app-download{margin-right:0}.app-download #app-download-toggle{gap:6px;padding:4px 7px}.download-copy b{font-size:11px}#app-download-panel{position:fixed;right:12px;top:65px}}

.home-tables{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:12px;align-items:start}.home-tables>.panel{min-width:0}.home-tables .panel-heading{min-height:42px;padding:8px 12px;gap:10px}.home-tables .panel-heading h2{white-space:nowrap}.home-tables table{font-size:.8125rem}.home-tables th,.home-tables td{padding:9px 10px}.home-tables th small{display:block;font-size:.6875rem;color:#97a2b3;margin-top:3px;font-weight:400}.home-tables .merchant-name{white-space:normal;min-width:70px;max-width:120px}.home-latest .order-id{max-width:135px}.home-latest td:last-child{white-space:normal;min-width:100px;max-width:125px}.home-overview td:nth-child(2) b{font-weight:600;color:#285a8c}#auto-refresh-home{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 10px;border-color:transparent;background:transparent;font-size:.8125rem}#auto-refresh-home small{font-size:.75rem;color:#8798b0}.switch-track{position:relative;width:30px;height:17px;border-radius:20px;background:#b9c7d9;transition:background .18s}.switch-track::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .18s;box-shadow:0 1px 3px #19385e25}#auto-refresh-home[aria-checked=true] .switch-track{background:#1975e8}#auto-refresh-home[aria-checked=true] .switch-track::after{transform:translateX(13px)}#home-orders .new-order td{animation:new-order-arrival 8s ease-out both}#home-orders .new-order td:first-child{box-shadow:inset 3px 0 #e8b542}@keyframes new-order-arrival{0%,55%{background:#fff0c5}100%{background:transparent}}@media(max-width:1100px){.home-tables{grid-template-columns:minmax(0,1fr)}.home-latest .order-id{max-width:200px}}@media(max-width:600px){.health-strip>.actions{flex-wrap:wrap;gap:6px}.home-tables{gap:0}}@media(prefers-reduced-motion:reduce){#home-orders .new-order td{background:#fff3d4}.switch-track,.switch-track::after{transition:none}}

#home-refresh-interval + .select-trigger{width:78px;min-width:78px}
.refresh-countdown{min-width:82px;color:#6f87a6;font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}
body.home-layout{height:100vh;height:100dvh;overflow:hidden}
.home-layout #shell{height:100%;min-height:0;overflow:hidden}
.home-layout .workspace{height:100%;min-height:0;overflow:hidden}
.home-layout .topbar{flex-shrink:0}
.home-layout main{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:16px 20px 12px}
.home-layout #page-home{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.home-layout #home-warning,.home-layout .health-strip,.home-layout .stats-grid{flex-shrink:0}
.home-layout #home-warning{max-height:80px;overflow:auto}
.home-layout .home-tables{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}
.home-layout .home-tables>.panel{display:flex;flex-direction:column;min-height:0;margin-bottom:0}
.home-layout .home-tables .panel-heading{flex-shrink:0}
.home-layout .home-tables .table-wrap{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.home-layout #home-orders{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.home-layout #home-orders>.empty{overflow:auto}
.home-layout .home-tables thead th{position:sticky;top:0;z-index:1;box-shadow:0 1px 0 var(--line)}
.home-layout footer{display:none}
.home-layout .health-strip{padding:8px 12px;margin-bottom:12px}
.home-layout .stats-grid{gap:12px;margin-bottom:12px}
.home-layout .stat{min-height:0;padding:12px 16px}
.home-layout .stat-value{font-size:26px;margin:5px 0 0}
.home-layout .stat-foot{font-size:.75rem;margin-top:5px}
.refresh-countdown:empty{display:none}
@media(max-width:1100px){.home-layout .home-tables{grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.home-layout #shell{display:flex;flex-direction:column}.home-layout .sidebar{flex-shrink:0}.home-layout .workspace{flex:1;height:auto}.home-layout main{padding-top:10px}.home-layout .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.home-layout .stat{padding:10px 6px;min-height:0}.home-layout .stat-label{font-size:10px}.home-layout .stat-value{font-size:15px;margin:8px 0;overflow-wrap:anywhere}.home-layout .stat-foot{display:none}.home-layout .health-strip{margin-bottom:10px}.home-layout .health-summary{font-size:11px;gap:6px}.home-layout .health-strip>.actions{gap:4px}.refresh-countdown{min-width:75px}.home-layout footer{font-size:10px;padding:8px 12px}}

.current-time{margin-right:12px;color:#6f87a6;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:800px){.topbar{height:auto;min-height:54px;padding-top:8px;padding-bottom:8px}.admin-actions{flex-wrap:wrap;justify-content:flex-end}.current-time{flex-basis:100%;margin-right:0;text-align:right}}

.home-left{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}
.home-layout .home-left>.home-overview{flex:0 1 auto;max-height:45%}
.home-layout .home-left>.home-hourly{flex:1}
.home-overview th,.home-overview td{padding:10px}
.home-layout .home-left>.panel{display:flex;flex-direction:column;min-height:0;margin-bottom:0}
.home-hourly #hourly-date{width:134px;min-width:134px;height:32px;min-height:32px;font-size:.75rem}
.hourly-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;padding:6px 12px;border-top:1px solid var(--line);font-size:.75rem;flex-shrink:0}.hourly-summary b{color:#1975e8;font-weight:600}.hourly-summary small{font-size:.6875rem}
.hourly-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:0 8px 4px}
.hourly-content svg{display:block;flex:1;width:100%;height:100%;min-height:0;font-size:11px;fill:#8292a8}.hourly-content svg g:hover .hour-bar,.hourly-content svg g:focus .hour-bar{fill:#125fc4}.hourly-content svg g:focus{outline:none}.hourly-content .hour-hit{pointer-events:all}.hourly-warning{flex-shrink:0;max-height:64px;overflow:auto;font-size:.75rem;color:#a16a20;margin:4px;background:#fff6e6;padding:6px;line-height:1.5}
.hourly-tooltip{position:fixed;z-index:1000;pointer-events:none;white-space:pre-line;background:#173451;color:white;padding:9px 12px;border-radius:6px;box-shadow:0 4px 14px #17345126;font-size:12px;line-height:1.8;font-variant-numeric:tabular-nums}
.datetime-picker.date-only{width:300px}.date-only .datetime-body{grid-template-columns:1fr!important}.date-only .datetime-times{display:none}.date-only [data-action=clear]{display:none}
