@charset "UTF-8";
:root{--bg:#f7f8f5;--paper:#fff;--ink:#233a34;--body:#41544e;--muted:#8a9691;--line:#e5ebe5;--green:#164c40;--green-hover:#0f3d32;--pale:#eaf1e9;--lime:#dce7a9;--amber:#a47c2c;--amber-bg:#fbf6e9;--danger:#b0473c;--radius:14px;--shadow:0 8px 35px rgba(23,53,43,.045);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:var(--ink);font-size:14px;line-height:1.6}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,input,select,textarea{outline:none}button:focus-visible,a:focus-visible{outline:3px solid #95bda8;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:#70a38a!important;box-shadow:0 0 0 3px rgba(112,163,138,.14)}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}input::placeholder,textarea::placeholder{color:#a1aaa5}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex-shrink:0;cursor:pointer}input[type=search]::-webkit-search-cancel-button{cursor:pointer}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}select{cursor:pointer}textarea{resize:vertical}b{font-weight:600}::selection{color:var(--green);background:var(--lime)}[hidden]{display:none!important}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--muted)}.eyebrow{display:block;font-size:10px;letter-spacing:2.1px;font-weight:600;color:#83958b}.btn{min-height:43px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:500;line-height:1.5;white-space:nowrap;transition:background .18s,border-color .18s,box-shadow .18s}.btn .icon{width:17px;height:17px}.btn-primary{background:var(--green);color:#fff;box-shadow:0 3px 8px #164c4010}.btn-primary:hover:not(:disabled){background:var(--green-hover);box-shadow:0 3px 9px #164c4025}.btn-secondary{background:#fff;color:var(--body);border-color:#dce4dd}.btn-secondary:hover:not(:disabled){background:#f7f9f6;border-color:#afc2b4}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#943a31}.btn-small{min-height:37px;padding:8px 13px;font-size:12px}.btn-full{width:100%}.btn-text{background:none;border:0;font-weight:500;color:var(--green);padding:6px 8px;font-size:12px;border-radius:5px;white-space:nowrap}.btn-text:hover{background:var(--pale)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#88958d;transition:background .18s,color .18s}.icon-btn:hover:not(:disabled){background:#edf1eb;color:var(--green)}.icon-btn .icon{width:17px;height:17px}.icon-btn.danger:hover{color:var(--danger);background:#fbefed}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:40px;height:43px;border-radius:11px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 6px #164c4013}.brand-mark .icon{width:27px;height:27px;stroke-width:1.5}.brand strong{display:block;font-size:18px;line-height:1.45;font-weight:650;letter-spacing:1.1px}.brand span{font-size:8px;letter-spacing:1.9px;color:#849089;font-weight:500;display:block;margin-top:3px}.boot-screen{height:100vh;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--muted)}.app-shell{min-height:100vh;display:flex}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:31px 21px 18px;background:#fafbf8;display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 5px 43px}.nav-label{font-size:10px;color:#9ca79f;letter-spacing:1.5px;padding:0 13px;margin-bottom:12px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-item{background:transparent;border:0;text-align:left;width:100%;height:46px;border-radius:8px;display:flex;align-items:center;gap:12px;padding:0 13px;color:#718077;font-size:13px}.nav-item .icon{width:18px;height:18px;stroke-width:1.6}.nav-item:hover{background:#f0f3ec;color:var(--green)}.nav-item.active{color:var(--green);background:#e9efe4;font-weight:600}.nav-active-dot{width:5px;height:5px;border-radius:100%;background:var(--green);margin-left:auto}.nav-item:not(.active) .nav-active-dot{display:none}.nav-count{margin-left:auto;font-size:10px;background:#ecf0e8;border-radius:5px;min-width:22px;text-align:center;line-height:21px;color:#7c8b7f}.sidebar-routine{background:#f0f3e8;border:1px solid #e8eddf;border-radius:11px;margin-top:49px;padding:17px 15px;position:relative;overflow:hidden}.routine-icon{color:#789569;margin-bottom:12px}.routine-icon .icon{width:20px;height:20px}.sidebar-routine strong{font-size:11px;font-weight:600;display:block;color:#55714d}.sidebar-routine p{font-size:11px;color:#8a9781;line-height:1.9;margin-top:7px}.sidebar-routine>span{display:block;margin-top:19px;border-top:1px solid #dfe6d4;padding-top:11px;font-size:9px;color:#9aa58b;letter-spacing:.7px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom .nav-item{height:38px;font-size:11px;color:#859185}.sidebar-bottom .icon{width:15px;height:15px}.sidebar-version{font-size:9px;color:#a2ada1;border-top:1px solid var(--line);padding:20px 8px 0;margin-top:17px;display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;border-radius:50%;background:#7a9a78}.main-content{margin-left:232px;min-width:0;width:calc(100% - 232px)}.workspace-bar{height:77px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.38)}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:10px;color:#98a49a}.breadcrumb .icon{width:12px;height:12px;color:#bac3ba}.breadcrumb strong{font-weight:400;color:#617568}.workspace-owner{display:flex;align-items:center;gap:9px;color:#819083;font-size:10px}.avatar{width:27px;height:27px;background:#e7ede2;border:1px solid #dbe4d5;border-radius:50%;color:#6c8264;display:flex;justify-content:center;align-items:center;font-size:10px}.page{padding:37px 42px 0;max-width:1560px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.page-heading h1{font-size:29px;letter-spacing:-.4px;margin:7px 0 7px;font-weight:600;line-height:1.5}.heading-dot{color:#92a662;margin-left:3px}.page-heading p{color:#929e93;font-size:11px}.page-heading>.btn{margin-top:14px}.day-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.date-controls{display:flex;gap:3px;align-items:center}.date-input-wrap{display:flex;align-items:center;gap:8px;padding:0 7px}.date-input-wrap>.icon{color:#75917b;width:16px;height:16px}.date-input-wrap input{border:0;background:transparent;min-width:117px;padding:3px 0;font-family:inherit;color:#4c6354;font-size:13px;font-weight:500;width:127px}.btn-today{background:#fff;border-color:#dce4d8;color:var(--green);padding:4px 12px;min-height:29px;font-size:10px;margin-left:8px}.btn-today:hover{background:var(--pale)}.day-label{font-size:10px;color:#8a9b8b;margin-left:12px}.day-label.is-history{color:var(--amber)}.daily-reminder{display:flex;gap:7px;align-items:center;color:#939f91;font-size:10px}.daily-reminder .icon{width:14px;height:14px;color:#9aa68e}.reminder-divider{color:#c1cbb9;margin:0 5px}.stats-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:17px;margin-bottom:29px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px 23px 17px;min-height:147px;box-shadow:var(--shadow)}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#8a998c}.stat-icon{color:#83957e;width:26px;height:26px;background:#f3f6ee;border-radius:7px;display:flex;align-items:center;justify-content:center}.stat-icon .icon{width:15px;height:15px}.stat-icon.amber{color:#ae9a67;background:#faf6e9}.stat-value{margin-top:5px;display:flex;align-items:baseline;gap:10px;font-size:36px;line-height:1.4;font-weight:400;font-family:Arial,"Microsoft YaHei",sans-serif;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#314a39}.stat-unit{font-family:inherit;font-size:10px;color:#a2ae9e;letter-spacing:0;font-weight:400}.stat-card>p{font-size:9px;color:#adb5a7;margin-top:8px;display:flex;align-items:center;gap:13px}.stat-amount{background:var(--green);border-color:var(--green);position:relative;overflow:hidden}.stat-amount:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #ffffff09;right:-79px;top:37px;border-radius:50%;pointer-events:none;box-shadow:0 0 0 25px #ffffff03,0 0 0 50px #ffffff03}.stat-amount .stat-label{color:#bfd0bb}.stat-amount .stat-icon{color:#b8cea7;background:#ffffff0d}.stat-amount .stat-value{color:#f0f4dd;font-size:35px;gap:8px}.stat-amount .currency{font-size:20px;font-weight:300;color:#bbce9e}.stat-amount>p{color:#94b19c;font-size:8px;letter-spacing:.7px}.stat-line{height:1px;background:#ffffff15;width:63px}.list-panel{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.list-header{min-height:75px;padding:18px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.list-heading{display:flex;gap:11px;align-items:center;flex-shrink:0}.list-heading h2{font-size:15px;color:#3a5241;font-weight:600}.count-badge{color:#93a087;font-size:9px;line-height:21px;padding:0 7px;border-radius:5px;background:#f0f4e9;white-space:nowrap}.list-toolbar{border-bottom:1px solid #edf0e9;display:flex;align-items:center;gap:12px;padding:0 23px 18px}.search-field{border:1px solid #e7ece4;border-radius:7px;background:#f9faf7;display:flex;align-items:center;gap:9px;padding:0 11px;height:35px;width:330px;max-width:100%}.search-field>.icon{width:15px;height:15px;color:#a5b09c}.search-field input{background:transparent;border:0;color:#52694e;font-size:10px;padding:7px 0;min-width:0;width:100%}.search-field:focus-within{border-color:#9cb599;background:#fff}.search-field input:focus-visible{box-shadow:none}.search-field input::placeholder{color:#a4ae9f}.filter-field select{font-size:10px;color:#839178;border:1px solid #e5ebdf;border-radius:6px;padding:7px 23px 7px 10px;background:#fff;min-height:35px}.table-wrap{overflow-x:auto;scrollbar-color:#d5dfd0 transparent;scrollbar-width:thin}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.data-table thead{background:#f8faf5}.data-table th{padding:13px 15px;color:#91a083;font-size:10px;font-weight:400;white-space:nowrap;border-bottom:1px solid #edf0e9}.data-table td{padding:20px 15px;border-bottom:1px solid #edf0e9;vertical-align:middle;color:#61755b}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdf9}.data-table tr.selected{background:#f7faef}.data-table .checkbox-cell{width:44px;padding-left:23px;padding-right:6px}.checkbox-cell input{display:block;width:14px;height:14px;margin:0}.records-table{min-width:850px}.records-table th:nth-child(2){width:28%}.records-table th:nth-child(3){width:21%}.data-table th:first-child:not(.checkbox-cell),.data-table td:first-child:not(.checkbox-cell){padding-left:23px}.row-title{display:block;font-size:11px;font-weight:500;color:#425d43;line-height:1.65;min-width:130px;overflow-wrap:anywhere;max-width:300px}.row-subtitle{display:block;color:#a2ad98;font-size:9px;font-family:Arial,"Microsoft YaHei",sans-serif;margin-top:4px;overflow-wrap:anywhere;letter-spacing:.2px;max-width:280px}.row-subtitle.tax{letter-spacing:.5px}.row-item{font-size:10px;color:#6d8065;min-width:100px;max-width:210px;overflow-wrap:anywhere}.row-spec{display:block;margin-top:5px;color:#a2ac97;font-size:9px;max-width:210px;overflow-wrap:anywhere}.amount-cell{text-align:right!important;white-space:nowrap}.data-table td.amount-cell{color:#426342;font-size:12px;font-weight:500;font-family:Arial,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.currency-small{font-size:9px;margin-right:4px;font-weight:400;color:#8a9d7b}.column-hint{font-size:8px;color:#a7b29d;display:inline-block;border:1px solid #e7eddf;border-radius:3px;padding:0 4px;margin-left:3px}.copy-button{border:0;padding:5px 7px 5px 0;background:transparent;color:#7e9272;display:inline-flex;align-items:center;gap:7px;border-radius:4px;text-align:left;max-width:170px;font-size:10px}.copy-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-button .icon{width:12px;height:12px;opacity:.65}.copy-button:hover{color:var(--green)}.copy-button:hover .icon{opacity:1}.blank-value{color:#bbc3b4;font-size:10px}.status-badge{font-size:9px;padding:3px 7px;border-radius:4px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.status-badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status-badge.pending{color:#ad9659;background:#fbf6e8}.status-badge.exported{color:#72926b;background:#edf4e7}.actions-cell{text-align:right!important;white-space:nowrap;padding-right:23px!important}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:2px}.row-actions .icon-btn{width:27px;height:28px;color:#9aa991}.row-actions .icon-btn .icon{width:14px;height:14px}.row-actions .btn-text{font-size:10px;margin-right:5px}.selection-bar{background:#eef4e8;border-top:1px solid #e7eddd;padding:10px 23px;display:flex;align-items:center;gap:17px;color:#6b865c;font-size:10px}.selection-bar button{color:var(--green);background:none;border:0;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:0}.selection-hint{margin-left:auto;color:#97a589;font-size:9px}.empty-state{padding:40px 20px 45px;text-align:center;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state h3{color:#607553;font-size:13px;font-weight:500;margin-bottom:9px}.empty-state>p{color:#a6b09a;font-size:10px;line-height:1.95}.empty-state .btn{margin-top:21px;font-size:10px;min-height:33px;padding:7px 12px;color:#6a845b;border-color:#e1e9d8}.empty-state .btn .icon{width:14px;height:14px}.empty-illustration{position:relative;width:106px;height:83px;margin:0 auto 22px;background:radial-gradient(ellipse at 50% 70%,#f0f5e9 0%,#f7faf3 58%,transparent 60%);display:flex;align-items:center;justify-content:center}.empty-paper{width:47px;height:59px;border:1px solid #cedcc1;border-radius:5px;background:#fff;box-shadow:5px 4px 0 #e7efdd;transform:rotate(-7deg);padding:15px 9px;position:relative}.empty-paper>span{height:2px;width:24px;background:#dfe8d4;display:block;margin-bottom:6px}.empty-paper>span:first-child{width:14px;background:#afc298}.empty-paper>span:last-of-type{width:18px}.empty-paper i{position:absolute;display:flex;justify-content:center;align-items:center;right:-10px;bottom:-3px;width:22px;height:22px;border-radius:50%;background:#91a66f;color:#fff;box-shadow:0 0 0 3px white}.empty-paper i .icon{width:13px;height:13px;stroke-width:1.7}.empty-spark{position:absolute;width:4px;height:4px;background:#bccda6;border-radius:50%}.spark-one{left:13px;top:21px}.spark-two{right:16px;bottom:10px;width:3px;height:3px}.simple-empty-icon{width:62px;height:62px;background:#f2f7eb;border-radius:18px;display:flex;justify-content:center;align-items:center;color:#a0b48b;margin-bottom:22px}.simple-empty-icon .icon{width:29px;height:29px;stroke-width:1.2}.list-footer{border-top:1px solid #edf0e8;min-height:45px;padding:12px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;color:#adb7a2;font-size:9px}.list-footer>span{display:inline-flex;gap:6px;align-items:center}.list-footer .icon{width:12px;height:12px;color:#b3beaa}.export-note{display:flex;align-items:center;gap:7px;font-size:9px;color:#a8b39e;padding:18px 2px}.export-note>.icon{width:12px;height:12px;color:#99ad83}.export-note>span:last-child{margin-left:auto;color:#adb6a5}.page-footer{max-width:1560px;display:flex;justify-content:space-between;gap:20px;padding:24px 44px;color:#b8c1af;font-size:8px;letter-spacing:.6px}.footer-slash{margin:0 8px;color:#d0d8c7}.notice{padding:12px 16px;font-size:11px;border-radius:8px;line-height:1.8}.notice-warning{color:#9b7838;background:#fff7e5;border:1px solid #ecdfbd}.notice-warning button{border:0;background:none;color:#795b2c;font:inherit;text-decoration:underline;cursor:pointer;padding:0 4px}.notice-history{display:flex;align-items:center;gap:8px;color:#947c47;background:#f9f4e6;border:1px solid #eae2ca;font-size:10px;margin-bottom:18px}.notice-history>.icon{width:15px;height:15px}.notice-history button{margin-left:auto;border:0;background:transparent;color:#8b743f;font-size:10px;white-space:nowrap}.notice-history button:hover{text-decoration:underline}#global-notice{margin:20px 42px -10px}.customer-tip{display:flex;align-items:center;gap:16px;padding:21px 23px;background:#edf2e7;border:1px solid #e4ebda;border-radius:10px;margin-bottom:26px}.tip-icon{height:40px;width:40px;border-radius:10px;background:#e1e9d7;color:#8ba273;display:flex;align-items:center;justify-content:center}.tip-icon .icon{width:20px;height:20px}.customer-tip strong{font-size:12px;color:#678250;font-weight:500}.customer-tip p{font-size:10px;color:#99a78b;margin-top:5px}.tip-tag{margin-left:auto;font-size:9px;color:#a4b192;white-space:nowrap}.customer-search{width:285px}.customers-table{min-width:680px}.customers-table th:nth-child(1){width:34%}.customers-table th:nth-child(2){width:30%}.customers-table td{padding-top:23px;padding-bottom:23px}.loading-state{min-height:265px;display:flex;align-items:center;justify-content:center;gap:10px;color:#93a28c;font-size:11px}.spinner{display:inline-block;height:16px;width:16px;border:2px solid #d9e3d1;border-top-color:#689267;border-radius:100%;animation:spin .8s linear infinite}.load-error{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a17d52;gap:14px;padding:25px;text-align:center;font-size:12px}.load-error .icon{width:25px;height:25px}.button-loading:before{content:"";display:inline-block;width:13px;height:13px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:100%;animation:spin .8s linear infinite}.button-loading>.icon{display:none}@keyframes spin{to{transform:rotate(360deg)}}

/* Editing stays alongside the daily list. */
dialog{color:var(--ink);font-family:inherit}dialog::backdrop{background:rgba(28,47,35,.26);backdrop-filter:blur(2px)}.drawer{padding:0;border:0;width:560px;max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;box-shadow:-10px 0 50px #163c2c1a;background:#fff;overflow:hidden}.drawer[open]{display:flex;flex-direction:column;animation:slide-in .2s ease}.drawer-head{height:98px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:22px 30px;border-bottom:1px solid var(--line)}.drawer-head .eyebrow{font-size:9px;letter-spacing:1.6px;color:#9fac97}.drawer-head h2{font-size:22px;font-weight:500;margin-top:4px}.drawer-head .icon-btn{color:#9aa992;background:#f4f6f0}.editor-form{display:flex;flex-direction:column;min-height:0;flex:1}.drawer-body{padding:25px 30px 27px;overflow-y:auto;flex:1;scrollbar-color:#d8e1cf transparent;scrollbar-width:thin}.drawer-footer{display:flex;align-items:center;justify-content:flex-end;gap:11px;border-top:1px solid var(--line);padding:17px 30px;background:#fff;flex-shrink:0}.drawer-footer .btn{font-size:12px;min-height:40px;padding:9px 17px}.required-note{margin-right:auto;color:#a8b19d;font-size:10px}.required-note b{color:#a48a59}.customer-picker{padding:17px 18px 12px;border:1px solid #e0e9d6;background:#f4f7ef;border-radius:10px;margin-bottom:27px;position:relative}.customer-picker>label{font-size:11px;color:#6a8359;display:flex;align-items:center;gap:7px;font-weight:500;margin-bottom:11px}.customer-picker>label .icon{width:15px;height:15px}.picker-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe8d5;border-radius:6px;padding-left:10px;min-height:37px}.picker-search>.icon{width:14px;height:14px;color:#a5b198}.picker-search:focus-within{border-color:#91af7e}.picker-search input{border:0;background:transparent;min-width:0;width:100%;font-size:11px;color:#648250;padding:9px 0}.picker-search input:focus-visible{box-shadow:none}.picker-search input::placeholder{color:#a7b29d}.picker-search .icon-btn{width:30px;height:32px;margin-right:2px;flex-shrink:0}.picker-search .icon-btn .icon{transform:rotate(90deg);width:13px;height:13px}.customer-picker>p{font-size:9px;color:#a3b093;margin-top:8px}.customer-picker-results{position:absolute;left:18px;right:18px;top:91px;max-height:245px;overflow-y:auto;background:#fff;border:1px solid #dce5d1;box-shadow:0 10px 25px #24442017;border-radius:7px;z-index:3;padding:5px}.picker-option{display:block;width:100%;background:transparent;border:0;text-align:left;padding:10px 9px;border-radius:5px;color:#5c7750;font-size:11px}.picker-option:hover,.picker-option.focused{background:#f0f6e8}.picker-option strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.picker-option small{display:block;color:#a2b095;font-size:9px;margin-top:3px;overflow-wrap:anywhere}.picker-empty{font-size:10px;line-height:1.9;color:#9ba88f;padding:12px;text-align:center}.form-section{margin-bottom:24px}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.section-heading>span{color:#b1bda4;font-size:9px;font-family:Arial,sans-serif;letter-spacing:.6px}.section-heading h3{font-size:12px;font-weight:500;color:#738765}.section-heading:after{content:"";height:1px;background:#edf1e7;flex:1;margin-left:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;min-width:0}.field.full{grid-column:1/-1}.field>span{color:#738765;font-size:11px;display:flex;align-items:center;gap:6px}.field>span>b{color:#b09b6b;font-size:11px;font-weight:400}.field em{font-style:normal;font-size:9px;color:#aab59e;margin-left:auto;font-weight:400}.field input,.field select,.field textarea{width:100%;border:1px solid #e1e8da;border-radius:6px;padding:10px 12px;background:#fff;font-size:12px;color:#536d46;line-height:1.6;min-height:40px;transition:border-color .15s,box-shadow .15s}.field input::placeholder,.field textarea::placeholder{color:#afb8a5;font-size:11px}.field input:disabled,.field select:disabled{background:#f8faf4}.field small{font-size:9px;color:#aab59d;line-height:1.7}.amount-field{padding:15px 16px;background:#f7f9f2;border:1px solid #e6eddd;border-radius:8px}.amount-input{display:flex;align-items:center;gap:10px}.amount-input>span{font-size:20px;color:#91a47b;font-family:Arial,sans-serif}.amount-input input{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:24px;font-weight:400;color:var(--green);background:transparent;border:0;padding:2px 0;border-radius:0;letter-spacing:.2px;min-height:37px}.amount-input input::placeholder{font-size:24px;color:#c3cbb6}.amount-input input:focus-visible{box-shadow:none!important}.save-customer-option{display:flex;gap:10px;align-items:flex-start;padding:15px;background:#f7f9f3;border-radius:7px;border:1px solid #e9eddf;cursor:pointer}.save-customer-option input{width:14px;height:14px;margin-top:2px}.save-customer-option strong{font-size:11px;color:#7a8f6c;display:block;font-weight:500}.save-customer-option small{font-size:9px;display:block;color:#a7b29c;margin-top:3px}.form-error{font-size:11px;line-height:1.8;background:#fff2ee;color:#aa6254;border:1px solid #f1d9cf;border-radius:7px;padding:10px 12px;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}#editor-date-warning{margin-bottom:22px}.modal{border:1px solid #e6ebdf;border-radius:15px;background:#fff;box-shadow:0 18px 90px #15381e26;width:410px;max-width:calc(100% - 32px);padding:28px}.modal h2{font-size:20px;font-weight:500;color:#49653b}.modal>p{font-size:12px;color:#9aa78e;margin-top:10px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.modal-icon{width:40px;height:40px;border-radius:11px;background:#f5f1e5;color:#ae965e;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.modal-icon .icon{width:21px;height:21px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px}.modal-actions .btn{min-height:38px;font-size:12px;padding:8px 16px}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.password-modal form>.field{margin-top:17px}.password-modal>p{font-size:11px}.toast-region{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:calc(100% - 32px);pointer-events:none;width:max-content}.toast{display:flex;align-items:center;gap:10px;max-width:550px;background:#fff;border:1px solid #dbe5d0;box-shadow:0 6px 25px #17331615;border-radius:9px;padding:13px 16px;color:#6e8b58;font-size:12px;line-height:1.8;pointer-events:auto;animation:toast-in .2s ease}.toast>.icon{width:17px;height:17px}.toast.warning{color:#9f7d3c;border-color:#e9dec0;background:#fffcf3}.toast.error{color:#af6655;border-color:#efdbd2;background:#fffbf8}.toast button{border:0;background:none;color:inherit;opacity:.5;display:flex;align-items:center;justify-content:center;padding:3px;margin-left:5px}.toast button .icon{width:13px;height:13px}@keyframes slide-in{from{transform:translateX(25px);opacity:.4}to{transform:translateX(0);opacity:1}}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}

/* One private workspace, with no outside fonts or assets. */
.auth-screen{display:grid;grid-template-columns:46% 54%;min-height:100vh;background:#fbfcf8}.auth-story{min-height:100vh;background:var(--green);padding:42px 54px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:700px;height:700px;bottom:-470px;left:-240px;border-radius:50%;border:1px solid #ffffff08;box-shadow:0 0 0 60px #ffffff02,0 0 0 120px #ffffff02,0 0 0 180px #ffffff02;pointer-events:none}.auth-brand .brand-mark{background:#ffffff0a;color:#e1eac7;border:1px solid #ffffff15}.auth-brand strong{color:#edf3d9;font-weight:500;font-size:17px}.auth-brand span{color:#a5ba9e;font-size:8px}.auth-story-content{margin:auto 0;padding:64px 0;max-width:430px;position:relative;z-index:1}.auth-story-content .eyebrow{color:#94b292;font-size:8px;letter-spacing:2.3px}.auth-story-content h1{color:#edf2d8;font-size:36px;font-weight:400;line-height:1.7;letter-spacing:.4px;margin:20px 0}.auth-story-content>p{color:#a5bea5;font-size:12px;line-height:2.1}.auth-footnote{color:#79a085;font-size:9px;letter-spacing:2px}.auth-sample{margin-top:44px;padding:22px 24px;background:#ffffff06;border:1px solid #ffffff12;border-radius:10px;max-width:300px;transform:rotate(-3deg);box-shadow:10px 10px 0 #ffffff02}.auth-sample-top{display:flex;align-items:center;justify-content:space-between;color:#b4c9a4;font-size:10px;margin-bottom:24px}.sample-dot{width:6px;height:6px;border-radius:50%;background:#c3d390}.sample-line{height:4px;border-radius:2px;background:#a9c68d22;width:76%;margin:12px 0}.sample-line.short{width:55%}.sample-divider{height:1px;background:#ffffff0c;margin:24px 0 15px}.sample-bottom{display:flex;align-items:center;justify-content:space-between;color:#91b291;font-size:9px}.sample-bottom>span{display:flex;align-items:center;gap:6px}.sample-bottom .icon{width:13px;height:13px;opacity:.8}.auth-main{display:flex;align-items:center;justify-content:center;padding:50px 30px}.auth-card{width:340px;max-width:100%}.auth-icon{width:47px;height:47px;border-radius:13px;background:#eef3e5;color:#91a474;display:flex;align-items:center;justify-content:center;margin-bottom:31px}.auth-icon .icon{width:22px;height:22px;stroke-width:1.4}.auth-card>.eyebrow{font-size:8px;color:#a0ad92;letter-spacing:1.7px}.auth-card h2{font-size:30px;font-weight:400;color:#38592b;margin-top:11px}.auth-card>.muted{color:#9aa68f;font-size:11px;margin-top:10px;line-height:1.9}.auth-card form{margin-top:29px}.auth-card form>.field{margin-bottom:19px}.auth-card .field input{background:#fff;min-height:45px}.auth-card .btn-full{margin-top:10px;justify-content:space-between;padding:13px 17px;font-size:12px}.auth-card .form-error{margin-bottom:14px}.auth-note{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;color:#b0bba4;margin-top:26px}.auth-note .icon{width:11px;height:11px}.noscript{position:fixed;inset:0;z-index:10000;background:#fff;display:flex;align-items:center;justify-content:center;padding:30px;color:var(--green)}

@media(min-width:1600px){.page{padding-top:46px}.page-heading{margin-bottom:35px}.stat-card{padding:24px 28px 23px}.stats-grid{margin-bottom:32px}.empty-state{min-height:330px}.page-heading h1{font-size:32px}.data-table td{padding-top:23px;padding-bottom:23px}}
@media(max-width:1200px){.sidebar{width:207px;padding:29px 16px 17px}.sidebar .brand{gap:9px;margin-left:3px}.brand strong{font-size:17px}.brand-mark{width:37px;height:40px}.main-content{margin-left:207px;width:calc(100% - 207px)}.workspace-bar{padding:0 28px}.page{padding:31px 28px 0}.page-footer{padding-left:30px;padding-right:30px}.daily-reminder{font-size:9px}.daily-reminder>span:last-child,.reminder-divider{display:none}.stat-card{padding:18px 19px 16px}.stat-value{font-size:32px}.stat-amount .stat-value{font-size:31px}.stats-grid{gap:13px}.day-label{margin-left:7px}.sidebar-routine{padding:17px 12px}.tip-tag{display:none}#global-notice{margin-left:28px;margin-right:28px}.customer-tip p{line-height:1.8}.export-note>span:last-child{display:none}.page-heading h1{font-size:27px}.auth-story{padding:38px 40px}.auth-story-content h1{font-size:30px}}
@media(max-width:960px){.sidebar{width:180px;padding-left:12px;padding-right:12px}.sidebar .brand{gap:8px}.brand strong{font-size:15px}.brand span{font-size:7px;letter-spacing:1.2px}.brand-mark{width:33px;height:37px;border-radius:9px}.brand-mark .icon{width:24px;height:24px}.main-content{margin-left:180px;width:calc(100% - 180px)}.nav-item{font-size:12px;padding:0 11px;gap:10px}.sidebar-routine strong{font-size:10px}.sidebar-routine p{font-size:10px}.sidebar-routine>span{font-size:8px}.sidebar-bottom .nav-item{font-size:10px}.workspace-bar{height:65px;padding:0 22px}.page{padding:29px 22px 0}.page-heading{gap:15px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px}.page-heading>.btn{font-size:11px;padding:10px 13px}.stats-grid{gap:10px;grid-template-columns:1fr 1.2fr 1fr}.stat-card{padding:15px 15px 13px;min-height:133px}.stat-label{font-size:10px}.stat-icon{width:22px;height:22px}.stat-icon .icon{width:13px;height:13px}.stat-value{font-size:29px;gap:6px;margin-top:8px}.stat-amount .stat-value{font-size:28px;gap:6px}.stat-amount .currency{font-size:17px}.stat-card>p{font-size:8px}.stat-card:first-child>p{max-width:80px}.stat-card:last-child>p{max-width:90px}.daily-reminder{display:none}.list-header{padding:16px 18px}.list-toolbar{padding-left:18px;padding-right:18px}.list-footer{padding:12px 18px;font-size:8px}.selection-bar{padding:10px 18px}.selection-hint{display:none}.page-footer{padding:24px}.customer-search{width:235px}.auth-story{padding:30px}.auth-story-content h1{font-size:27px}.auth-story-content{padding:55px 0}.auth-main{padding:40px 30px}.auth-card{width:300px}.auth-sample{max-width:260px}.auth-brand strong{font-size:15px}.auth-brand .brand-mark{width:35px;height:40px}#global-notice{margin-left:22px;margin-right:22px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;width:100%;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line);background:#fafbf8;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0;z-index:10}.sidebar .brand{margin:0 auto 0 0;gap:9px}.brand strong{font-size:16px}.brand span{font-size:7px;letter-spacing:1.6px}.brand-mark{width:34px;height:38px}.nav-label,.sidebar-routine,.sidebar-version{display:none}.main-nav{width:100%;order:3;flex-direction:row;margin-top:20px;gap:23px}.main-nav .nav-item{width:auto;height:41px;padding:0 2px;border-radius:0;border-bottom:2px solid transparent;background:none;font-size:12px;gap:8px}.main-nav .nav-item.active{border-bottom-color:var(--green)}.nav-active-dot{display:none!important}.main-nav .icon{width:16px;height:16px}.nav-count{font-size:8px;min-width:18px;line-height:17px}.sidebar-bottom{margin:0;padding:0;display:flex;gap:3px}.sidebar-bottom .nav-item{width:31px;height:32px;padding:0;justify-content:center;gap:0}.sidebar-bottom .nav-item>span{display:none}.sidebar-bottom .nav-item .icon{width:15px;height:15px}.main-content{width:100%;margin:0}.workspace-bar{display:none}.page{padding:25px 20px 0}.page-heading{margin-bottom:23px;gap:10px}.page-heading h1{font-size:24px;margin-top:5px;margin-bottom:4px}.eyebrow{font-size:8px;letter-spacing:1.7px}.page-heading p{font-size:9px;line-height:1.7}.page-heading>.btn{font-size:10px;min-height:38px;padding:9px 11px;margin-top:13px;gap:5px}.page-heading>.btn>.icon{width:15px;height:15px}.day-strip{margin-bottom:17px}.date-controls{gap:1px}.date-input-wrap{gap:7px;padding:0 4px}.date-controls>.icon-btn{width:27px;height:30px}.date-input-wrap input{font-size:12px;width:121px;min-width:121px}.date-input-wrap>.icon{width:14px;height:14px}.btn-today{margin-left:7px;font-size:10px}.day-label{font-size:9px;margin-left:9px}.stats-grid{gap:9px;margin-bottom:23px;grid-template-columns:1fr 1.25fr 1fr}.stat-card{padding:13px 13px 11px;min-height:121px;border-radius:9px}.stat-label{font-size:9px;gap:4px}.stat-icon{display:none}.stat-value{font-size:28px;margin-top:10px;line-height:1.35}.stat-unit{font-size:8px}.stat-amount .stat-value{font-size:27px;gap:4px}.stat-amount .currency{font-size:15px}.stat-card>p{font-size:7px;margin-top:6px;line-height:1.65}.stat-amount>p{font-size:7px;letter-spacing:.4px}.stat-line{display:none}.list-panel{border-radius:10px}.list-header{min-height:66px;padding:15px 16px;gap:10px}.list-heading{gap:8px}.list-heading h2{font-size:13px}.count-badge{font-size:8px;line-height:19px;padding:0 5px}.list-header .btn-small{font-size:10px;min-height:33px;padding:7px 10px;gap:5px}.list-header .btn-small>.icon{width:14px;height:14px}.list-toolbar{padding:0 16px 15px;gap:8px}.search-field{width:auto;flex:1;padding:0 9px;height:33px;gap:6px}.search-field input{font-size:9px}.search-field>.icon{width:13px;height:13px}.filter-field select{font-size:9px;padding-left:8px;padding-right:15px;min-height:33px}.list-footer{padding:11px 15px;align-items:flex-start;gap:8px;font-size:8px}.list-footer>span:last-child{max-width:230px;text-align:right}.list-footer>span:first-child{flex-shrink:0}.list-footer .icon{display:none}.empty-state{min-height:288px;padding:35px 18px 36px}.empty-state h3{font-size:12px}.empty-state>p{font-size:9px}.empty-state .btn{font-size:9px}.empty-illustration{transform:scale(.92);margin-bottom:17px}.export-note{padding:15px 1px;font-size:8px;gap:5px}.page-footer{padding:23px 20px;font-size:7px;letter-spacing:.2px}.customer-tip{padding:17px;gap:12px;margin-bottom:21px}.customer-tip strong{font-size:11px}.customer-tip p{font-size:9px;line-height:1.8}.tip-icon{width:34px;height:34px;flex-shrink:0}.tip-icon .icon{width:18px;height:18px}.customer-search{width:auto;max-width:205px}.customer-search input{font-size:9px}.notice-history{font-size:9px;gap:6px;padding:10px 12px;margin-bottom:15px}.notice-history>.icon{display:none}.notice-history button{font-size:9px}#global-notice{margin:15px 20px -10px;font-size:10px}.drawer{width:520px}.drawer-head{height:83px;padding:18px 25px}.drawer-head h2{font-size:21px}.drawer-body{padding:23px 25px}.drawer-footer{padding:15px 25px}.auth-screen{grid-template-columns:1fr;min-height:100dvh}.auth-story{min-height:0;padding:25px 30px 30px;display:none}.auth-main{padding:40px 28px;min-height:100dvh;background:radial-gradient(ellipse at 100% 0%,#ebf2df,transparent 50%)}.auth-card{width:340px}.auth-icon{margin-bottom:30px}.auth-card h2{font-size:29px}.auth-card>.muted{font-size:11px}.auth-card form{margin-top:30px}.toast-region{bottom:18px}.toast{font-size:11px;padding:11px 13px}.toast>.icon{width:16px;height:16px}}
@media(max-width:400px){.sidebar{padding-left:16px;padding-right:16px}.page{padding-left:16px;padding-right:16px}.page-heading h1{font-size:22px}.page-heading>.btn{padding:8px 9px;font-size:9px}.page-heading p{max-width:180px}.stat-card{padding:12px 10px}.stat-value{font-size:26px}.stat-amount .stat-value{font-size:24px}.stats-grid{gap:7px}.list-footer>span:last-child{max-width:198px}.day-label{font-size:8px;margin-left:6px}.customer-search{max-width:175px}.drawer-head{padding-left:20px;padding-right:20px}.drawer-body{padding-left:20px;padding-right:20px}.drawer-footer{padding-left:20px;padding-right:20px}.form-grid{gap:15px 13px}.required-note{font-size:9px}.drawer-footer .btn{padding:9px 14px;font-size:11px}.customer-picker{padding-left:13px;padding-right:13px}.customer-picker-results{left:13px;right:13px}.page-footer{padding-left:17px;padding-right:17px}.export-note{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep business details readable on ordinary laptop screens. */
.nav-label{font-size:11px}.sidebar-routine strong{font-size:12px}.sidebar-routine p{font-size:11px}.sidebar-routine>span{font-size:10px}.sidebar-version{font-size:10px}.breadcrumb,.workspace-owner{font-size:11px}.page-heading p{font-size:12px}.day-label,.daily-reminder{font-size:11px}.stat-label{font-size:12px}.stat-card>p{font-size:11px}.stat-amount>p{font-size:10px}.list-heading h2{font-size:16px}.count-badge{font-size:11px}.search-field input{font-size:12px}.filter-field select{font-size:12px}.data-table th{font-size:12px}.data-table td{font-size:13px}.row-title{font-size:13px}.row-subtitle,.row-spec{font-size:11px}.row-item{font-size:12px}.data-table td.amount-cell{font-size:14px}.currency-small{font-size:11px}.column-hint{font-size:10px}.copy-button{font-size:12px}.status-badge{font-size:11px}.row-actions .btn-text{font-size:12px}.empty-state h3{font-size:15px}.empty-state>p{font-size:12px}.empty-state .btn{font-size:12px;min-height:38px}.list-footer{font-size:11px}.export-note{font-size:11px}.page-footer{font-size:10px}.customer-tip strong{font-size:14px}.customer-tip p{font-size:12px}.tip-tag{font-size:11px}.customer-picker>label{font-size:13px}.picker-search input{font-size:13px}.customer-picker>p{font-size:11px}.picker-option strong{font-size:13px}.picker-option small{font-size:11px}.section-heading h3{font-size:14px}.section-heading>span{font-size:11px}.field>span{font-size:13px}.field em,.field small{font-size:11px}.field input,.field select,.field textarea{font-size:14px}.field input::placeholder,.field textarea::placeholder{font-size:12px}.amount-input input,.amount-input input::placeholder{font-size:25px}.save-customer-option strong{font-size:13px}.save-customer-option small{font-size:11px}.required-note{font-size:11px}.auth-card>.muted{font-size:12px}.auth-note{font-size:11px}.auth-footnote{font-size:10px}

/* Comfortable reading and touch targets on phones. */
.long-amount{font-size:.7em;letter-spacing:-.5px}.empty-state>p{white-space:pre-line}.row-actions .btn-text .icon{width:13px;height:13px;margin-left:3px}.btn-today.is-today{background:#eaf0e5;border-color:#d4e1c9}.data-table .copy-button>span{user-select:text}
@media(max-width:760px){
  .sidebar{padding-top:18px}.brand strong{font-size:18px}.brand span{font-size:9px}.brand-mark{width:39px;height:42px}.sidebar-bottom .nav-item{height:40px;width:35px}.sidebar-bottom .nav-item .icon{height:17px;width:17px}.main-nav{margin-top:16px;gap:25px}.main-nav .nav-item{font-size:14px;height:47px;gap:9px}.main-nav .icon{width:18px;height:18px}.nav-count{font-size:11px;line-height:21px;min-width:23px}.page{padding-top:27px}.page-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:22px;gap:16px}.page-heading h1{font-size:28px;margin:7px 0}.page-heading p{font-size:12px;max-width:none;line-height:1.9}.eyebrow{font-size:10px;letter-spacing:1.7px}.page-heading>.btn{font-size:12px;min-height:42px;padding:10px 14px;margin:0;gap:7px}.page-heading>.btn>.icon{width:17px;height:17px}.day-strip{margin-bottom:18px}.date-controls{width:100%;gap:0}.date-controls>.icon-btn{width:33px;height:40px}.date-controls>.icon-btn>.icon{width:18px;height:18px}.date-input-wrap{padding:0 4px;gap:7px}.date-input-wrap>.icon{display:none}.date-input-wrap input{font-size:16px;min-width:139px;width:139px}.btn-today{height:40px;min-height:40px;font-size:12px;padding:7px 11px;margin-left:4px}.day-label{font-size:11px;margin-left:10px;white-space:nowrap}.stats-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:24px}.stat-card{padding:17px 17px 15px;min-height:128px}.stat-amount{grid-column:1/-1;grid-row:1;min-height:133px;padding:20px 21px}.stat-label{font-size:12px}.stat-icon{display:flex;width:26px;height:26px}.stat-icon>.icon{width:15px;height:15px}.stat-value{font-size:32px;margin-top:7px;gap:8px}.stat-amount .stat-value{font-size:37px;gap:9px;line-height:1.3}.stat-amount .currency{font-size:22px}.stat-unit{font-size:12px}.stat-card>p,.stat-card:first-child>p,.stat-card:last-child>p{font-size:11px;max-width:none;margin-top:6px;line-height:1.65}.stat-amount>p{font-size:10px;letter-spacing:.7px}.stat-line{display:block;width:50px}.list-header{padding:17px 16px;min-height:76px;gap:12px}.list-heading{gap:9px}.list-heading h2{font-size:16px}.count-badge{font-size:11px;line-height:22px;padding:0 6px}.list-header .btn-small{font-size:12px;min-height:40px;padding:9px 11px;gap:5px}.list-header .btn-small>.icon{width:16px;height:16px}.list-toolbar{padding:0 16px 16px;flex-wrap:wrap;gap:10px}.search-field{height:41px;min-width:0;width:100%;flex:1 1 220px;padding:0 11px;gap:7px}.search-field input{font-size:16px;padding:8px 0}.search-field input::placeholder{font-size:12px}.search-field>.icon{width:17px;height:17px}.filter-field select{font-size:13px;min-height:41px;padding-left:11px;padding-right:25px}.list-footer{font-size:11px;padding:13px 16px;flex-wrap:wrap;gap:7px}.list-footer>span:last-child{max-width:none;text-align:left;font-size:10px}.list-footer>span:first-child{font-size:11px}.empty-state{padding:34px 18px 35px;min-height:300px}.empty-state h3{font-size:15px;line-height:1.8}.empty-state>p{font-size:12px;line-height:1.9}.empty-state .btn{font-size:12px;min-height:40px;padding:9px 14px}.empty-state .btn>.icon{width:16px;height:16px}.empty-illustration{transform:none;margin-bottom:19px}.data-table{font-size:13px}.data-table th{font-size:12px;padding:14px 16px}.data-table td{padding:20px 16px}.row-title{font-size:13px;max-width:250px}.row-subtitle{font-size:11px;line-height:1.7}.row-item{font-size:12px}.row-spec{font-size:11px}.data-table td.amount-cell{font-size:14px}.currency-small{font-size:11px}.copy-button{font-size:12px;min-height:40px}.copy-button .icon{width:14px;height:14px}.blank-value{font-size:12px}.status-badge{font-size:11px;padding:4px 8px}.column-hint{font-size:10px}.row-actions .icon-btn{width:37px;height:40px}.row-actions .icon-btn .icon{width:17px;height:17px}.row-actions .btn-text{font-size:12px;min-height:40px}.row-actions .btn-text>.icon{width:15px;height:15px}.checkbox-cell input{width:18px;height:18px}.records-table{min-width:1010px}.customers-table{min-width:770px}.selection-bar{font-size:12px;padding:12px 16px;gap:15px}.selection-bar button{font-size:12px;min-height:26px}.export-note{font-size:11px;padding:16px 2px;align-items:flex-start;line-height:1.8}.export-note>.icon{width:14px;height:14px;margin-top:3px}.page-footer{font-size:10px;padding:23px 20px;flex-wrap:wrap;gap:9px}.notice-history{font-size:12px;align-items:flex-start;flex-wrap:wrap;padding:12px 14px;gap:5px}.notice-history button{font-size:12px;min-height:34px}.customer-tip{padding:19px 16px;gap:13px;align-items:flex-start}.tip-icon{width:37px;height:37px}.customer-tip strong{font-size:14px}.customer-tip p{font-size:12px;margin-top:6px}.customer-search{max-width:none;flex:1 1 100%}.customer-search input{font-size:16px}#customers-page .list-header{flex-wrap:wrap;gap:15px}#global-notice{font-size:12px;padding:12px 14px}.drawer-head{height:91px;padding:20px 22px}.drawer-head h2{font-size:23px}.drawer-head .eyebrow{font-size:10px}.drawer-head .icon-btn{height:39px;width:39px}.drawer-body{padding:23px 22px}.drawer-footer{padding:15px 20px;gap:9px}.drawer-footer .btn{font-size:13px;min-height:43px;padding:11px 14px}.required-note{font-size:11px}.customer-picker{padding:17px 15px 13px}.customer-picker>label{font-size:13px;margin-bottom:12px}.customer-picker>label .icon{width:17px;height:17px}.picker-search{min-height:43px;gap:6px}.picker-search input{font-size:16px;padding:9px 0}.picker-search input::placeholder{font-size:12px}.picker-search>.icon{width:16px;height:16px}.picker-search .icon-btn{height:39px;width:31px}.customer-picker>p{font-size:11px;line-height:1.8}.customer-picker-results{top:103px;left:15px;right:15px}.picker-option{padding:13px 10px}.picker-option strong{font-size:13px}.picker-option small{font-size:11px;line-height:1.7}.picker-empty{font-size:12px}.section-heading h3{font-size:14px}.section-heading>span{font-size:11px}.field{gap:9px}.field>span{font-size:13px}.field em{font-size:11px}.field input,.field select,.field textarea{font-size:16px;min-height:45px;padding:10px 12px}.field input::placeholder,.field textarea::placeholder{font-size:12px}.field small{font-size:11px;line-height:1.8}.amount-input input{font-size:26px;min-height:40px;padding:3px 0}.amount-input input::placeholder{font-size:26px}.save-customer-option{padding:16px 13px;gap:10px}.save-customer-option input{width:17px;height:17px}.save-customer-option strong{font-size:13px}.save-customer-option small{font-size:11px}.form-error{font-size:12px}.notice-warning{font-size:12px}.modal{padding:25px}.modal h2{font-size:21px}.modal>p{font-size:13px}.modal-actions .btn{font-size:13px;min-height:43px}.password-modal>p{font-size:12px}.toast{font-size:13px;line-height:1.7;padding:13px 15px}.toast button{min-width:28px;min-height:30px}.auth-card>.eyebrow{font-size:10px}.auth-card>.muted{font-size:13px}.auth-card .btn-full{font-size:14px;min-height:47px}.auth-note{font-size:11px}.auth-card .field>span{font-size:13px}
}
@media(max-width:400px){.page-heading h1{font-size:26px}.day-label{font-size:10px;margin-left:5px}.date-input-wrap input{width:133px;min-width:133px;font-size:15px}.date-controls>.icon-btn{width:28px}.btn-today{font-size:11px;padding:7px 9px}.drawer-body{padding-left:18px;padding-right:18px}.drawer-footer{padding-left:17px;padding-right:17px}.required-note{font-size:10px}.drawer-footer .btn{padding-left:12px;padding-right:12px}.stat-card{padding-left:15px;padding-right:15px}.stat-amount{padding-left:20px;padding-right:20px}}

/* The same records become readable cards on phones, without horizontal paging. */
.mobile-action-label,.mobile-select-all{display:none}
.customers-table{min-width:620px}
.customers-table th:nth-child(1){width:42%}
.customers-table th:nth-child(2){width:28%}
.customers-table th:nth-child(3){width:30%}
.wechat-value{display:flex;align-items:center;gap:5px;min-width:0;max-width:190px}
.wechat-id{min-width:0;overflow-wrap:anywhere;word-break:normal;user-select:text;-webkit-user-select:text}
.wechat-value .copy-button{flex-shrink:0;justify-content:center;padding:7px;min-width:32px;min-height:36px}
.row-select{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-width:24px;min-height:36px}
.row-amount{overflow-wrap:anywhere}
.stat-card,.stat-value,#stat-amount,.list-panel,.list-heading,.customer-tip>div{min-width:0}
#stat-amount{overflow-wrap:anywhere}
.drawer-body{min-height:0;overscroll-behavior:contain}
.drawer{max-width:100vw}
.modal{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.toast{max-width:min(550px,calc(100vw - 32px));overflow-wrap:anywhere}
.toast>span{min-width:0}
@media(min-width:761px) and (max-width:1200px){
  .records-table{min-width:740px}
  .data-table th,.data-table td{padding-left:10px;padding-right:10px}
  .records-table th:nth-child(2){width:23%}
  .records-table th:nth-child(3){width:20%}
  .wechat-value{max-width:140px}
  .row-title{min-width:110px}
  .page-heading,.day-strip,.date-controls{flex-wrap:wrap}
  .stats-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr)}
  .stat-value{font-size:29px}
  .stat-amount .stat-value{font-size:28px}
}
@media(max-width:1023px),(hover:none) and (pointer:coarse){
  input:not([type=checkbox]):not([type=radio]),select,textarea,
  .date-input-wrap input,.search-field input,.filter-field select,.picker-search input,
  .field input,.field select,.field textarea{font-size:16px}
  .amount-input input{font-size:26px}
  .btn,.btn-small,.btn-text,.icon-btn,.sidebar-bottom .nav-item,
  .row-actions .icon-btn,.row-actions .btn-text,.drawer-footer .btn,
  .modal-actions .btn,.empty-state .btn,.list-header .btn-small,
  .page-heading>.btn,.notice-history button,.selection-bar button{min-height:44px}
  .icon-btn,.row-actions .icon-btn,.sidebar-bottom .nav-item,
  .drawer-head .icon-btn,.picker-search .icon-btn,.toast button{min-width:44px;min-height:44px}
  .search-field,.filter-field select{min-height:44px}
  .copy-button,.wechat-value .copy-button{min-width:44px;min-height:44px}
  .row-select{min-width:44px;min-height:44px}
  .drawer-body{scroll-padding-bottom:24px}
}
@media(max-width:760px){
  .sidebar{padding-left:16px;padding-right:16px}
  .sidebar .brand{gap:8px}
  .sidebar-bottom{gap:0}
  .brand strong{font-size:17px}
  .brand span{font-size:8px}
  .brand-mark{width:36px;height:40px}
  .main-nav{gap:22px}
  .main-nav .nav-item{min-height:48px}
  .page{padding-left:16px;padding-right:16px}
  .page-heading>div{min-width:0}
  .date-controls{flex-wrap:wrap;gap:0}
  .date-controls>.icon-btn{flex:0 0 44px;min-width:44px;height:44px}
  .date-input-wrap{flex:1 1 120px;min-width:0;max-width:160px;padding:0 4px}
  .date-input-wrap input{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}
  .btn-today{min-width:48px;min-height:44px;margin-left:0;padding:7px 9px;font-size:12px}
  .day-label{flex-basis:100%;margin:5px 0 0 44px;font-size:11px;white-space:normal}
  .stat-value{flex-wrap:wrap}
  .stat-amount .stat-value{flex-wrap:nowrap;align-items:baseline}
  .stat-amount .stat-value #stat-amount{line-height:1.3}
  .list-header{flex-wrap:wrap}
  .list-heading h2{font-size:15px}
  .list-header .btn-small{padding-left:9px;padding-right:9px}
  .list-toolbar{padding-left:14px;padding-right:14px}
  .filter-field select{font-size:16px}
  .mobile-select-all{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 16px;border-bottom:1px solid var(--line);color:#718564;font-size:12px;cursor:pointer}
  .mobile-select-all input{width:19px;height:19px;margin:0}
  .table-wrap{overflow:visible}
  .data-table,.data-table tbody{display:block;width:100%;min-width:0}
  .data-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .data-table tbody{padding:12px;background:#f7f9f4}
  .data-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px 8px;position:relative;padding:15px 14px 9px;border:1px solid #e1e8da;border-radius:10px;background:#fff;box-shadow:0 2px 7px #17331604}
  .data-table tbody tr+tr{margin-top:12px}
  .data-table tbody tr:hover{background:#fff}
  .data-table tbody tr.selected{background:#f8fbf0;border-color:#a7bd8d;box-shadow:0 0 0 1px #a7bd8d}
  .data-table td,.data-table td:first-child:not(.checkbox-cell),.data-table .checkbox-cell{display:block;grid-column:1/-1;width:auto;min-width:0;padding:0;border:0;text-align:left;white-space:normal}
  .data-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;font-weight:400;line-height:1.7;color:#8e9c83;margin-bottom:3px;font-family:inherit}
  .data-table .company-cell:before{content:none}
  .records-table .company-cell{grid-column:1;grid-row:1}
  .records-table .checkbox-cell{grid-column:2;grid-row:1;align-self:start}
  .row-select{gap:6px;justify-content:flex-end;font-size:11px;color:#829574;margin-top:-7px}
  .row-select input{width:19px;height:19px}
  .mobile-action-label{display:inline}
  .row-title{min-width:0;max-width:none;font-size:14px;font-weight:600;line-height:1.75;overflow-wrap:anywhere}
  .row-subtitle,.row-spec{max-width:none;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
  .row-subtitle.tax{letter-spacing:.15px}
  .row-item{display:block;min-width:0;max-width:none;font-size:13px;overflow-wrap:anywhere}
  .data-table td.amount-cell{display:flex;align-items:baseline;justify-content:space-between;gap:12px;text-align:right!important;font-size:19px;font-weight:600;line-height:1.55}
  .data-table td.amount-cell:before{flex-shrink:0}
  .row-amount{min-width:0}
  .currency-small{font-size:12px}
  .wechat-value{max-width:none;width:100%;gap:10px;justify-content:space-between}
  .wechat-id{font-size:14px;color:#48683e;line-height:1.7}
  .wechat-value .copy-button{padding:8px 11px;gap:6px;font-size:12px;border:1px solid #dfe8d5;border-radius:7px;background:#f5f9ef;color:#547642}
  .wechat-value .copy-button .icon{width:15px;height:15px}
  .data-table .wechat-cell{padding-bottom:10px;border-bottom:1px solid #edf0e8}
  .data-table .status-cell{grid-column:1;display:flex;align-items:center;min-height:44px}
  .data-table .status-cell:before{content:none}
  .data-table .status-badge{font-size:11px;padding:4px 7px}
  .data-table .actions-cell{grid-column:2;padding:0!important;align-self:center}
  .row-actions{gap:5px;flex-wrap:wrap}
  .row-actions .icon-btn{width:auto;min-width:44px;height:44px;padding:8px 7px;gap:5px;color:#6f8363;font-size:12px}
  .row-actions .icon-btn.danger{color:#a27564}
  .row-actions .btn-text{padding:8px 12px;background:#eaf1e3;border:1px solid #dce6d2;border-radius:7px;font-size:12px;margin-right:auto}
  .customers-table .actions-cell{grid-column:1/-1}
  .customers-table .row-actions{justify-content:flex-end}
  .selection-bar{flex-wrap:wrap;gap:8px 16px;padding:7px 16px}
  .selection-bar button{padding:7px 4px}
  .list-footer>span{min-width:0;overflow-wrap:anywhere}
  .drawer-head .icon-btn{flex-shrink:0}
  .customer-picker-results{max-height:min(245px,45dvh)}
  .drawer-footer .btn{min-height:44px}
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .field input,.field select,.field textarea{min-width:0;font-size:16px}
  .amount-input input{font-size:26px}
  .modal{max-width:calc(100vw - 24px);padding:22px}
  .modal-actions{flex-wrap:wrap}
  .auth-main{padding:32px 22px}
  .toast button{flex-shrink:0}
}
@media(max-width:480px){
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .drawer-footer{display:grid;grid-template-columns:1fr 1.5fr;gap:6px 10px;padding:10px 18px 14px}
  .required-note{grid-column:1/-1;font-size:10px;line-height:1.5}
  .drawer-footer .btn{width:100%;font-size:13px}
  .field>span{flex-wrap:wrap}
  .field em{margin-left:0}
  .drawer-head{height:82px;padding:15px 18px}
  .drawer-head h2{font-size:21px}
  .drawer-body{padding:20px 18px}
}
@media(max-width:350px){
  .sidebar .brand{gap:6px}
  .brand strong{font-size:15px}
  .brand span{font-size:7px;letter-spacing:1px}
  .brand-mark{width:31px;height:36px}
  .main-nav{gap:18px}
  .page-heading h1{font-size:25px}
  .list-header{padding-left:13px;padding-right:13px;gap:9px}
  .list-heading{gap:5px}
  .data-table tbody{padding:9px}
  .data-table tbody tr{padding:13px 11px 7px;column-gap:5px}
  .row-select{gap:5px}
  .row-actions{gap:1px}
  .row-actions .icon-btn{font-size:11px;padding-left:5px;padding-right:5px;gap:4px}
  .row-actions .icon-btn .icon{width:15px;height:15px}
  .stat-card{padding-left:12px;padding-right:12px}
}
