/* v1.21 — compact, mobile-first store workspace */
:root{--purple:#6844a5;--soft:#f1edf8;--bg:#f5f5f9;--ink:#252333;--muted:#858191;--line:#eceaf1}
body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;letter-spacing:-.025em}
button{cursor:pointer;transition:background .15s,box-shadow .15s}
.topbar{height:76px;padding:0 28px;border-bottom:1px solid #eeedf3;background:#ffffffed;backdrop-filter:blur(16px)}
.brand{font-size:18px;letter-spacing:.025em;font-weight:800}.subtitle{font-size:11px;color:var(--muted);margin-top:5px}.top-status{gap:7px}.version{background:#f4f1f9;font-size:10px;padding:6px 8px}.cloud-pill{font-weight:700;border:0;font-size:10px}.topbar .ghost{padding:8px 12px;border:1px solid var(--line);font-size:12px;border-radius:10px}
.tabs.tabs-simple{top:76px;justify-content:center;padding:6px 20px;background:#ffffffed;backdrop-filter:blur(16px);gap:6px;border-bottom:1px solid var(--line)}
.tabs.tabs-simple>button{font-size:13px;padding:12px 18px;border:0;border-radius:10px;max-width:270px;color:#898392}.tabs.tabs-simple>button.active{background:#f0eaf8;color:var(--purple);font-weight:800}
main{padding:26px}.simple-page{max-width:1060px}.simple-page .page-head{margin:8px 0 22px}.simple-page .page-head h1{font-size:25px;font-weight:800;letter-spacing:-.06em}.simple-page .page-head p{font-size:13px;color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;letter-spacing:.06em;color:var(--purple)}
input,select{border-color:#e7e4ee;border-radius:10px;background:#fff;color:var(--ink);min-height:40px}label{font-size:11px;color:#7f778b}.simple-filters{padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;gap:14px}
.simple-page .panel,.product-card{padding:22px;border:1px solid var(--line);border-radius:18px;box-shadow:0 3px 14px #29203903}.panel h2{font-size:16px;font-weight:800;letter-spacing:-.035em}.panel-head{gap:12px}.panel .hint{font-size:11px;color:var(--muted);line-height:1.7}
.simple-page .cards.four{gap:12px;margin:0 0 20px}.simple-page .metric{padding:22px 20px;border:1px solid var(--line);box-shadow:0 3px 14px #29203903;border-radius:18px;min-width:0}.metric .label{font-size:12px;font-weight:600}.simple-page .metric .value{font-size:27px;letter-spacing:-.06em;font-weight:800;line-height:1.25;margin:12px 0 8px;font-variant-numeric:tabular-nums}.simple-page .metric .sub{font-size:10px;line-height:1.6}.simple-page #simpleSummary .metric:first-child{background:linear-gradient(135deg,#6b49a7,#573789);border-color:transparent;color:white}.simple-page #simpleSummary .metric:first-child .label,.simple-page #simpleSummary .metric:first-child .sub{color:#e6dcf4}.simple-page #simpleSummary .metric:first-child .value{color:#fff}
.daily-scroll{overflow:auto;border-radius:12px}.daily-table{table-layout:fixed}.daily-table th,.daily-table td{padding:0 12px;height:54px;border-bottom:1px solid #f0edf5;font-size:13px}.daily-table thead{background:#f9f8fc}.daily-table thead th{font-size:11px;height:38px;color:#918899;font-weight:600}.daily-table tbody th{font-weight:500}.daily-table tr:last-child th,.daily-table tr:last-child td{border-bottom:0}.daily-table tbody tr:hover{background:#faf8fd}
.daily-table .daily-link{display:inline-flex;align-items:center;justify-content:inherit;min-height:44px;max-width:100%;padding:8px 0;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;text-decoration:none;font-size:13px;line-height:1.2;font-weight:650;color:var(--ink);white-space:nowrap}.daily-table th .daily-link{color:#82778e;font-weight:550}.daily-table td:last-child .daily-link{color:#81669c}.daily-table .daily-link:hover{color:var(--purple)}
.simple-record{padding:18px 0;align-items:flex-start;gap:14px;border-color:#f0edf4}.record-main{gap:7px}.record-main>strong{font-size:15px;font-weight:750;line-height:1.5}.record-main>span{font-size:12px;color:#6f657b;line-height:1.6}.record-main>small{font-size:11px;color:#9b92a6;line-height:1.6}.record-side>b{font-size:17px;font-weight:800;letter-spacing:-.04em}.row-actions{gap:6px}.record-side .secondary,.record-side .ghost{font-size:10px;padding:6px 9px;border:1px solid #ece6f1;border-radius:8px;background:#fff;color:#8b7b99}.record-side .ghost{border-color:transparent;color:#aea3b8}.simple-page details>summary{font-size:12px;font-weight:650;color:#8b7c9c;padding:12px 0}
.purchase-unit-costs{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}.purchase-unit-costs span{display:inline-flex;gap:6px;align-items:center;padding:5px 9px;border-radius:7px;background:#f3eef9;color:#9a84b1;font-size:10px;font-weight:550;line-height:1.5}.purchase-unit-costs b{font-weight:750;color:#725091;font-variant-numeric:tabular-nums}
.simple-dialog{border-radius:20px;box-shadow:0 28px 90px #25153330}.simple-dialog::backdrop{background:#24203260;backdrop-filter:blur(4px)}.simple-dialog .dialog-head{gap:12px}.simple-dialog .dialog-head h3{font-size:18px;font-weight:800;letter-spacing:-.045em}.simple-dialog .icon-btn{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#f3f0f7;color:#8f829e;font-size:22px;flex-shrink:0}
.daily-detail{width:min(740px,calc(100vw - 32px));max-height:88dvh;overflow:auto;background:#faf9fc}.daily-detail>.dialog-head{position:sticky;top:0;z-index:3;margin:0;padding:20px 24px;border-bottom:1px solid #eeebf3;background:#faf9fc}.day-detail-content{padding:22px 24px}.day-detail-content h4{font-size:14px;margin:24px 0 12px;font-weight:800}.day-detail-content>.hint{font-size:11px;color:#a197ac;line-height:1.7}.day-total{display:flex;align-items:center;justify-content:space-between;background:#efe8f8;border-radius:14px;padding:18px;margin-bottom:8px;color:#7c5a9d}.day-total>span{font-size:12px;font-weight:600}.day-total>strong{font-size:24px;color:#604087;letter-spacing:-.05em}.day-total.purchase{background:#f0edf4}
.day-detail-content .simple-record{padding:14px 0;font-size:12px}.day-detail-content .simple-record small{display:block;margin-top:7px;color:var(--muted);font-size:11px}.day-detail-content .simple-record strong{font-size:13px;line-height:1.6}
.day-order{background:#fff;border:1px solid #eee9f3;border-radius:14px;margin:10px 0;overflow:hidden;padding:0;box-shadow:0 2px 6px #33234402}.day-order>summary{padding:16px;list-style:none;font-size:12px;line-height:1.6;color:#7a688d;font-weight:650}.day-order>summary::-webkit-details-marker{display:none}.day-order:not(.order-card)>summary:before{content:"›";margin-right:8px;color:#a795b7}.day-order>.simple-record{margin:0 16px}.order-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.order-info{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-time{font-size:10px;color:#a598b3;font-weight:500}.order-id{width:100%;font-size:10px;color:#b0a5bb;font-weight:450;overflow-wrap:anywhere}.channel-badge{padding:3px 7px;border-radius:6px;font-size:10px;font-weight:700;line-height:1.5;background:#f1eef6;color:#8b6baa}.channel-badge.baemin{background:#e7f6f4;color:#32998e}.channel-badge.coupang{background:#e9f2fd;color:#4b84bb}.channel-badge.yogiyo{background:#fff0f3;color:#c56a85}.order-amount{display:flex;align-items:center;gap:12px;white-space:nowrap}.order-amount strong{font-size:15px;font-weight:800;color:#3c3448;letter-spacing:-.03em}.order-chevron{color:#c0b5cd;font-size:17px;transition:transform .15s}.order-card[open] .order-chevron{transform:rotate(180deg)}.order-body{margin:0 16px;padding:14px 0;border-top:1px solid #f1edf5}.order-status{color:#9c89ad;font-size:9px;font-weight:550}.order-status.cancelled{color:#c97084}.order-body ul{margin:12px 0 0;padding-left:16px}.order-body li{font-size:12px;color:#655872;line-height:1.7;margin:10px 0}.order-body li small{font-size:10px;color:#b0a1bb;line-height:1.8;margin-top:5px}
.simple-page .primary{background:#6b49a7;border-radius:11px;border:0;padding:11px 16px;font-size:12px;font-weight:700;box-shadow:0 3px 8px #6b49a714}.simple-page .secondary{border-radius:10px}.simple-grid{gap:16px}.simple-money-row{font-size:12px}.simple-money-row.total{font-size:15px}.start-list button{padding:16px 0}.start-list strong{font-size:13px}.start-list small{font-size:10px}
@media(max-width:600px){.topbar{height:68px;padding:0 16px}.brand{font-size:15px}.subtitle{font-size:10px}.version{font-size:9px;padding:5px 7px}.topbar .ghost{padding:7px 9px;font-size:11px}.top-status{gap:5px}.cloud-pill{font-size:9px;padding:5px 7px}.tabs.tabs-simple{top:68px;padding:6px 12px;gap:3px}.tabs.tabs-simple>button{padding:11px 4px;font-size:12px;border-radius:9px}main{padding:18px 14px}.simple-page .page-head{flex-direction:row;align-items:center;gap:12px;margin:8px 0 18px}.simple-page .page-head h1{font-size:21px}.simple-page .page-head p{font-size:11px}.simple-page .page-head>label{min-width:126px;max-width:138px}.simple-page .page-head input{font-size:12px;min-height:36px;padding:7px 8px}.simple-page .page-head>.primary{font-size:11px;padding:10px 12px;white-space:nowrap}.simple-page .cards.four{gap:9px;margin-bottom:16px}.simple-page .metric{padding:18px 15px;border-radius:15px}.simple-page .metric .value{font-size:23px}.simple-page .metric .sub{font-size:9px}.simple-page .panel{padding:16px;border-radius:16px}.daily-table th,.daily-table td{padding:0 6px;height:50px}.daily-table .daily-link{font-size:12px}.daily-table thead th{font-size:10px}.simple-filters{flex-wrap:wrap;gap:10px;padding:12px}.simple-filters>label{flex:1;min-width:110px}.simple-filters>.grow{flex-basis:100%}.simple-record{gap:12px}.record-main>strong{font-size:13px}.record-main>span{font-size:11px}.record-side>b{font-size:15px}.record-side{max-width:100px}.record-side .row-actions{display:flex;flex-wrap:nowrap}.record-side .secondary,.record-side .ghost{padding:5px 7px;font-size:9px}.daily-detail{width:calc(100vw - 20px);max-height:90dvh;border-radius:20px}.daily-detail>.dialog-head{padding:18px}.daily-detail>.dialog-head h3{font-size:17px}.day-detail-content{padding:18px}.day-total{padding:16px}.day-total>strong{font-size:22px}.order-card>summary{padding:14px}.order-amount strong{font-size:14px}.day-detail-content .simple-record{font-size:11px}.purchase-unit-costs span{font-size:10px}}
@media(prefers-reduced-motion:reduce){button,.order-chevron{transition:none}}
.channel-row{width:100%;background:none;border:0;border-bottom:1px solid #f0edf4;text-align:left;color:var(--ink);border-radius:0;cursor:pointer;min-height:48px}.channel-row>span:first-child{flex:1}.channel-row>span:last-child{color:#b5a3c8;margin-left:12px}.channel-row:hover{background:#f3edf9}.order-financial{display:grid;gap:9px;margin:14px 0;padding:14px;border-radius:10px;background:#f8f6fb}.order-financial>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:12px;line-height:1.6}.order-financial span{color:#8d7a9f}.order-financial b{text-align:right;font-weight:650;color:#60526e}.discount-lines{font-size:11px;color:#928099;line-height:1.8}.discount-lines>div{display:flex;justify-content:space-between;gap:12px}.report-filters{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 20px}.report-filters>label{flex:1;min-width:120px}.report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px;background:#f4effa;border-radius:14px}.report-summary small{display:block;color:#9a85ae;font-size:11px}.report-summary b{display:block;margin-top:8px;color:#684688;font-size:19px;letter-spacing:-.04em}.report-summary+ .hint{line-height:1.8}
@media(max-width:600px){.report-summary{gap:8px;padding:14px}.report-summary b{font-size:16px}.report-summary small{font-size:10px}.order-financial{padding:12px}.order-financial>div{font-size:11px}}

/* Keep primary information legible on phones. */
.daily-table .daily-link{font-size:14px}.purchase-unit-costs span{font-size:12px;color:#887098}.purchase-unit-costs b{color:#684386}.order-time,.order-id{font-size:11px;color:#9585a3}.channel-badge{font-size:11px}.day-detail-content>.hint{font-size:12px;color:#8d8198}.order-body li small{font-size:11px;color:#94859f}
@media(max-width:600px){.daily-table .daily-link{font-size:13px}.record-main>small{font-size:11px}.purchase-unit-costs span{font-size:11px}.simple-page .metric .sub{font-size:10px}.order-id,.order-time{font-size:11px}.day-detail-content .simple-record{font-size:12px}}

.statement-record{border:1px solid #ebe7f0;border-radius:16px;margin:12px 0;background:white}.statement-record summary{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:18px;cursor:pointer}.statement-record summary span{display:grid;gap:5px}.statement-record summary small{color:#81758e}.statement-record summary strong{color:#342a42}.statement-record summary>b{white-space:nowrap;color:#654395}.statement-body{padding:0 18px 18px}.statement-section{border-top:1px solid #ebe7f0;padding-top:12px}.statement-section h4{display:flex;justify-content:space-between;gap:12px}.statement-section .simple-money-row{padding:7px 0;font-size:.9rem}.statement-section .simple-money-row span{padding-right:10px}.statement-section .simple-money-row b{white-space:nowrap}#settlementPanel .panel-head{flex-wrap:wrap}#settlementPanel label.secondary{cursor:pointer}

.simple-page #simpleSummary .metric:nth-child(6){background:#eef7f2;border-color:#d7e9df}.simple-page #simpleSummary .metric:nth-child(6) .label{color:#537e69}.simple-page #simpleSummary .metric:nth-child(6) .value{color:#237752}.simple-page #simpleSummary .metric:nth-child(6) .value.bad{color:#b83b56}@media(min-width:900px){.simple-page #simpleSummary{grid-template-columns:repeat(3,minmax(0,1fr))}}
