:root{--green:#174e3d;--deep:#113e32;--mint:#eaf2ed;--ink:#20372d;--muted:#77817a;--bg:#f6f7f4;--border:#e3e7e0;--gold:#c7a45a;--red:#ae463b;--radius:14px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c7a45a88;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px;font-weight:650}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:16px;font-weight:600}p{line-height:1.8}.muted{color:var(--muted)}.tiny{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--muted)}.brand{font-family:Georgia,serif;font-size:31px;letter-spacing:3px;font-weight:700}.brand span{color:var(--gold)}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;padding:35px 22px 24px;background:var(--deep);color:#fff;display:flex;flex-direction:column}.sidebar .brand{margin-left:14px}.brand-sub{font-size:10px;letter-spacing:3px;color:#bdcfc4;margin:8px 0 46px 15px}.nav-label{font-size:10px;letter-spacing:2px;color:#7d9f8d;margin:0 15px 13px}.nav{display:grid;gap:7px}.nav button{background:transparent;border-radius:9px;color:#b7cabe;text-align:left;padding:13px 15px;display:flex;gap:13px;align-items:center;font-size:13px;transition:background .15s}.nav button:hover{background:#ffffff0c;color:white}.nav button.active{color:var(--deep);background:#eff3e8;font-weight:650}.nav svg,.btn svg{width:18px;height:18px;flex-shrink:0}.sidebar-bottom{margin-top:auto}.local-tag{font-size:12px;color:#c3d4ca;border-top:1px solid #ffffff15;padding:20px 14px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a6c9ab;margin-right:7px}.user{display:flex;align-items:center;gap:10px;padding:9px 12px}.avatar{background:#385f4c;border:1px solid #ffffff22;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:12px}.user-info{flex:1;min-width:0}.user-info strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.user-info small{font-size:10px;color:#9fbbaa}.logout{color:#bed3c6;background:none;font-size:12px}.main{margin-left:228px;min-height:100vh}.topbar{height:77px;padding:0 44px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#ffffff99;font-size:12px}.breadcrumb{color:#87918a}.breadcrumb b{color:#47574c;font-weight:500;margin-left:15px}.top-date{color:var(--muted)}.content{padding:36px 44px 32px;max-width:1640px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading p{margin-top:7px;font-size:12px;color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:7px;padding:11px 16px;background:white;color:var(--ink);border:1px solid #dce2d9;font-size:12px;font-weight:600;white-space:nowrap}.btn:hover{background:#f1f5ef}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:#23664e}.btn.danger{color:var(--red)}.btn.small{padding:7px 10px;font-size:11px}.text-btn{background:none;color:var(--green);font-size:12px;padding:5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{border:1px solid var(--border);border-radius:var(--radius);padding:22px;background:#fff;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7b857b}.stat-icon{width:32px;height:32px;border-radius:9px;background:var(--mint);color:var(--green);display:grid;place-items:center}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:29px;letter-spacing:-1px;margin:16px 0 8px;font-weight:600;font-variant-numeric:tabular-nums}.stat-value small{font-size:14px;margin-right:7px;font-weight:400;color:#849087;letter-spacing:0}.stat-foot{font-size:11px;color:#89928a}.stat.highlight{background:var(--deep);color:white;border-color:var(--deep)}.stat.highlight .stat-top,.stat.highlight small,.stat.highlight .stat-foot{color:#b4c9b9}.stat.highlight .stat-icon{color:#d8e7cc;background:#ffffff15}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.card{background:white;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.card-heading{padding:21px 24px;display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid #edf0e9}.card-heading h2{font-size:15px}.card-heading p{font-size:11px;color:var(--muted);margin-top:5px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-weight:500;color:#889086;background:#fbfcf9;font-size:11px;padding:14px 22px}td{padding:17px 22px;border-bottom:1px solid #eff1ed;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfb}.order-number{font-weight:600;letter-spacing:.2px;color:var(--green)}.secondary{display:block;font-size:10px;color:#929a92;margin-top:5px}.money{font-variant-numeric:tabular-nums;letter-spacing:.2px;font-weight:600}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;background:#f1f2ef;color:#80857d;font-size:10px;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.issued{color:#a58138;background:#faf3e2}.badge.paid{color:#378167;background:#edf5ef}.badge.cancelled,.badge.void{color:#8a8c87;background:#efefed}.badge.review,.badge.refunded{color:#a95747;background:#fcf0eb}.empty{text-align:center;padding:52px 20px;color:#899189}.empty h3{color:#4b6051;margin:16px 0 8px}.empty p{font-size:12px;max-width:350px;margin:auto auto 20px}.empty-symbol{width:52px;height:52px;border:1px solid var(--border);border-radius:15px;display:grid;place-items:center;margin:auto;background:#f6f8f3;color:#7b9e85}.empty-symbol svg{width:23px;height:23px}.setup-steps{padding:23px}.step{display:flex;gap:12px;margin:0 0 22px}.step:last-child{margin-bottom:0}.step-num{width:26px;height:26px;border:1px solid #d9e2d7;border-radius:50%;display:grid;place-items:center;font-size:10px;flex-shrink:0;color:#91a18c}.step.done .step-num{color:white;background:var(--green);border:0}.step h4{font-size:12px;font-weight:600;margin:4px 0 6px}.step p{color:#8b9589;font-size:11px;line-height:1.7}.side-note{margin-top:20px;padding:22px;border-radius:var(--radius);background:#edf0e6;border:1px solid #e0e6d8}.side-note .eyebrow{color:#8a967a;font-size:10px}.side-note h3{margin:12px 0 9px;font-size:14px}.side-note p{font-size:11px;color:#7b8771;line-height:1.9}.footer{display:flex;justify-content:space-between;color:#a1a89f;font-size:10px;margin-top:28px;letter-spacing:.3px}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px}.toolbar .search{max-width:340px}.toolbar select{width:150px}.filter-count{margin-left:auto;color:var(--muted);font-size:12px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dce2d9;border-radius:7px;color:var(--ink);background:#fff;font-size:12px}input::placeholder,textarea::placeholder{color:#a6aca2}textarea{resize:vertical;min-height:82px}label{display:grid;gap:8px;font-size:12px;color:#65735e}label small{color:#9a9f95;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.form-section{border-bottom:1px solid var(--border);padding-bottom:22px;margin-bottom:22px}.form-section h3{font-size:13px;margin-bottom:18px}.notice{border:1px solid #e6e2cc;border-radius:8px;padding:12px 16px;background:#faf8ee;color:#8b8055;font-size:12px;line-height:1.8;margin-bottom:20px}.notice.success{background:#eef5ef;border-color:#d7e7d9;color:#47775b}.notice.error{background:#fff0ec;color:#a6493b;border-color:#f1d0c8}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:22px}.card-body{padding:24px}.config-row{display:flex;justify-content:space-between;gap:20px;font-size:12px;padding:13px 0;border-bottom:1px solid #eff1eb}.config-row:last-child{border-bottom:0}.flow{display:flex;align-items:center;gap:8px;font-size:11px;color:#94a18d}.flow b{color:var(--green);font-weight:500}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--deep);color:#fff;padding:60px 12%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:'';position:absolute;right:-220px;bottom:-260px;border:1px solid #ffffff12;width:650px;height:650px;border-radius:50%;box-shadow:0 0 0 60px #ffffff03,0 0 0 120px #ffffff03}.auth-story h1{font-size:44px;line-height:1.55;font-weight:400;letter-spacing:1px}.auth-story .eyebrow{color:#a9bd9c;margin-bottom:25px}.auth-story p{color:#abbeaf;font-size:13px;line-height:2;margin-top:22px;max-width:370px}.auth-story footer{font-size:11px;color:#799580}.auth-side{display:flex;justify-content:center;align-items:center;padding:40px}.auth-box{width:100%;max-width:365px}.auth-box h2{font-size:26px;margin:15px 0 10px}.auth-box>p{font-size:12px;color:var(--muted);margin-bottom:32px}.auth-box label{margin:20px 0}.auth-box .btn{width:100%;margin-top:8px;padding:13px}.auth-box .auth-note{font-size:11px;margin:22px 0;line-height:1.9}.error-text{color:var(--red);font-size:12px;line-height:1.8;min-height:20px}.boot{padding:60px;text-align:center;color:var(--muted)}dialog{border:1px solid var(--border);border-radius:17px;padding:0;width:min(880px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #12332330}dialog::backdrop{background:#142b2166;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:23px 28px;border-bottom:1px solid var(--border)}.modal-head p{font-size:11px;color:var(--muted);margin-top:5px}.close{background:none;font-size:23px;color:#8f998a;padding:0 5px}.modal-body{padding:26px 28px}.modal-foot{border-top:1px solid var(--border);padding:18px 28px;display:flex;justify-content:flex-end;gap:9px;background:#fafbf7}.item-row{background:#f9faf6;border:1px solid #e5e9df;border-radius:10px;padding:16px;margin:14px 0}.item-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.item-grid label{font-size:11px}.item-head{display:flex;justify-content:space-between;font-size:11px;color:#7e8c75;margin-bottom:12px}.totals{width:280px;margin:24px 0 0 auto;font-size:12px}.totals>div{display:flex;justify-content:space-between;margin:10px 0}.totals .grand{font-size:18px;border-top:1px solid var(--border);padding-top:15px;margin-top:15px;font-weight:650}.detail-meta{display:flex;justify-content:space-between;gap:30px;margin:8px 0 25px}.detail-meta h3{margin-bottom:10px}.detail-meta p{font-size:12px;color:var(--muted)}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.bill-url{display:flex;gap:8px;margin:20px 0}.bill-url input{background:#f6f8f2;color:#6f856a;font-size:11px}.toast-visible{opacity:1!important;transform:translate(-50%,0)!important}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:#153f31;color:white;padding:14px 23px;font-size:12px;border-radius:10px;box-shadow:0 8px 40px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;z-index:10}.invoice-body{padding:45px 20px}.invoice-paper{max-width:840px;background:white;margin:auto;border:1px solid var(--border);padding:52px;border-radius:12px;box-shadow:0 12px 60px #253d2710}.invoice-top{display:flex;justify-content:space-between;align-items:start;border-bottom:2px solid var(--green);padding-bottom:28px;margin-bottom:28px}.invoice-title{text-align:right}.invoice-title h1{font-family:Georgia,serif;font-size:33px;font-weight:400}.invoice-title p{font-size:11px;color:var(--muted);margin-top:8px}.invoice-paper td,.invoice-paper th{padding:16px 12px}.invoice-notes{margin-top:30px;font-size:12px;white-space:pre-wrap;color:#6f7e70}.payment-box{background:#f5f8f1;border-radius:9px;padding:24px;margin-top:30px}.payment-box h3{margin-bottom:12px}.payment-box p{font-size:12px;margin-bottom:16px;color:#708265}.invoice-foot{margin-top:35px;padding-top:20px;border-top:1px solid var(--border);font-size:10px;color:#919d8c;line-height:1.9;word-break:break-word}.mobile-brand{display:none}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:1500px){.content{padding-top:42px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 320px}.stat{padding:26px}}
@media(max-width:1150px){.sidebar{width:195px;padding-left:16px;padding-right:16px}.main{margin-left:195px}.content{padding:30px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-note{margin:0}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:25px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:740px){.sidebar{position:static;width:100%;padding:14px 16px;display:block}.sidebar>.brand,.brand-sub,.nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto;gap:5px}.nav button{padding:10px 12px;font-size:11px;white-space:nowrap;gap:7px}.nav svg{width:15px;height:15px}.main{margin:0}.topbar{height:55px;padding:0 18px}.top-date{font-size:10px}.content{padding:24px 17px}.page-heading{align-items:start;margin-bottom:22px;flex-direction:column;gap:15px}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat-value{font-size:25px;margin:13px 0 6px}.stat-foot{font-size:10px}.dashboard-aside{grid-template-columns:1fr}.card-heading{padding:18px}.footer{gap:15px;font-size:9px}.form-grid{grid-template-columns:1fr}.item-grid{grid-template-columns:1fr 1fr}.item-grid label:first-child{grid-column:1/-1}.modal-body{padding:20px}.modal-head,.modal-foot{padding:18px 20px}.auth-layout{grid-template-columns:1fr}.auth-story{padding:26px 30px;min-height:220px}.auth-story h1{font-size:25px;margin-top:25px}.auth-story .eyebrow,.auth-story p,.auth-story footer{display:none}.auth-side{padding:35px 26px}.auth-box h2{font-size:24px}.auth-box>p{margin-bottom:22px}.detail-meta{flex-direction:column;gap:15px}.invoice-body{padding:12px}.invoice-paper{padding:25px 20px}.invoice-top .brand{font-size:25px}.invoice-title h1{font-size:25px}.invoice-title p{font-size:9px}.invoice-paper .totals{width:100%}.toolbar{flex-wrap:wrap}.toolbar .search{max-width:none}.filter-count{margin-left:0}.flow{flex-wrap:wrap}}
@media print{body{background:white}.invoice-body{padding:0}.invoice-paper{border:0;box-shadow:none;padding:20px;max-width:none}.payment-box,.no-print,#toast{display:none}.invoice-foot{color:#333}a{color:inherit}}
