: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}}
/* v1.2 — operational workspace and customer invoice */
[hidden]{display:none!important}fieldset{border:0;padding:0;margin:18px 0;min-width:0}details{margin:16px 0}summary{cursor:pointer;font-weight:600;color:var(--green);padding:8px 0}input[readonly]{background:#f5f7f4;color:#53655b}button:disabled{opacity:.55;cursor:wait}button,a,input,select,textarea{touch-action:manipulation}:focus-visible{outline:3px solid #b49c5c;outline-offset:3px}.break-anywhere{overflow-wrap:anywhere}.work-queue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:-8px 0 28px}.work-queue button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:18px;background:#fff;border:1px solid var(--border);border-radius:12px;color:var(--ink);cursor:pointer}.work-queue strong{font-size:25px}.work-queue button span:last-child{font-size:11px;color:var(--green)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.date-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 20px}.date-filters label{font-size:11px;max-width:190px}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.customer-card{padding:24px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);min-width:0;overflow-wrap:anywhere}.customer-card small{color:var(--muted);letter-spacing:1px}.customer-card h3{font-size:17px;margin:12px 0}.customer-card p{font-size:13px;color:var(--muted);margin:9px 0}.customer-card .actions{margin-top:18px}.profile-fields{margin:20px 0}.profile-fields p{display:grid;grid-template-columns:130px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.profile-fields strong{font-weight:500;color:var(--muted)}#customer-results{max-height:240px;overflow:auto}.customer-option{display:flex;align-items:start;flex-direction:column;width:100%;text-align:left;padding:12px;background:white;border:0;border-bottom:1px solid var(--border);cursor:pointer;gap:5px}.customer-option:hover{background:var(--mint)}.customer-option small{color:var(--muted)}.modal-foot{position:sticky;bottom:0;background:#fbfcfa;z-index:2;flex-wrap:wrap}.order-history{margin-top:30px;border-top:1px solid var(--border);padding-top:24px}.timeline{list-style:none;padding:0;margin:20px 0}.timeline li{position:relative;padding:0 0 20px 22px;border-left:1px solid var(--border)}.timeline li:before{content:'';position:absolute;top:4px;left:-4px;width:7px;height:7px;border-radius:50%;background:var(--green)}.timeline span{display:block;font-size:12px;color:var(--muted);margin-top:7px}.detail-meta h3,.invoice-title p{overflow-wrap:anywhere}
.invoice-paper{max-width:860px;padding:44px 48px}.invoice-brand-note{font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:10px}.invoice-top{padding-bottom:28px;margin-bottom:24px}.invoice-status{display:flex;gap:13px;padding:18px 20px;background:#f5f5ed;border:1px solid #e9e6d6;border-radius:12px;margin-bottom:30px}.invoice-status.confirmed{background:#eaf4ec;border-color:#cae0cf}.status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#a38b4a;margin-top:6px}.confirmed .status-dot{background:var(--green)}.invoice-status strong{font-size:14px}.invoice-status p{font-size:12px;line-height:1.7;margin:6px 0 0;color:#58685e}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:30px}.invoice-parties h2{font-size:17px;line-height:1.5;margin:12px 0 8px;overflow-wrap:anywhere}.invoice-parties p{font-size:12px;line-height:1.7;color:#67766c;overflow-wrap:anywhere}.invoice-dates{display:flex;justify-content:space-between;gap:12px;margin:28px 0;padding:14px 0;border-block:1px solid var(--border);font-size:11px;color:var(--muted)}.invoice-dates strong{display:block;margin-top:6px;font-size:12px;color:var(--ink)}.invoice-items{width:100%;min-width:0;table-layout:fixed}.invoice-items th:first-child{width:43%}.invoice-items td{overflow-wrap:anywhere;white-space:normal;font-size:13px;padding-block:19px}.invoice-bottom{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:12px 0 28px}.invoice-bottom .totals{width:100%;margin:10px 0 0}.invoice-notes{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.invoice-notes p{margin-top:8px}.payment-box{padding:26px;border:1px solid #d9e5dc;border-radius:14px;background:#f3f7f1}.payment-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.payment-heading h2{font-size:20px;line-height:1.4;margin:10px 0}.payment-amount{font-size:23px;white-space:nowrap}.payment-box>p{font-size:12px;line-height:1.8}.payment-box #paypal-buttons{max-width:400px;margin:20px auto 0}.payment-box #load-paypal{margin-top:12px}.payment-box #payment-message{font-size:13px;min-height:0}.seller-contact{border-bottom:1px solid var(--border);padding:26px 0;overflow-wrap:anywhere}.seller-contact strong{font-size:14px}.seller-contact p{font-size:12px;line-height:1.7;margin-top:7px;color:#657268}.seller-contact a{color:var(--green);text-decoration:underline}.invoice-foot{font-size:11px;line-height:1.8;margin-top:24px}.invoice-foot button{margin-top:12px}
@media(max-width:1100px){.work-queue{grid-template-columns:1fr 1fr}.customer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.nav button{font-size:13px;min-height:44px}.work-queue button{padding:14px;flex-wrap:wrap}.work-queue button span:last-child{display:none}.work-queue strong{font-size:23px}.customer-grid{grid-template-columns:1fr}.customer-card{padding:20px}.pagination{font-size:11px;padding:16px;flex-wrap:wrap}.date-filters{gap:8px}.date-filters label{max-width:calc(50% - 4px)}.profile-fields p{grid-template-columns:1fr;gap:6px}.modal-foot .btn{min-height:44px}.modal-foot{gap:8px}.modal-body{padding:18px}input,select,textarea{font-size:16px!important}.responsive-table{min-width:0!important}.responsive-table thead{display:none}.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table tr{padding:14px 18px;border-bottom:1px solid var(--border)}.responsive-table td{padding:8px 0!important;white-space:normal;border:0;overflow-wrap:anywhere;min-height:30px}.responsive-table td[data-label]:before{content:attr(data-label);display:inline-block;color:var(--muted);font-size:11px;width:90px;float:left}.responsive-table td .secondary{margin-left:90px}.responsive-table td:last-child{padding-top:12px!important}.responsive-table td:last-child .text-btn{min-height:36px}.bill-url{flex-wrap:wrap}.bill-url input{flex-basis:100%;min-width:0}.invoice-body{padding:12px 8px}.invoice-paper{padding:26px 20px;width:100%;border-radius:16px}.invoice-top{gap:14px;margin-bottom:20px}.invoice-title .eyebrow{font-size:8px;letter-spacing:1px}.invoice-title h1{font-size:26px}.invoice-title p{font-size:10px}.invoice-parties{grid-template-columns:1fr;gap:20px}.invoice-parties h2{font-size:17px}.invoice-status{padding:15px}.invoice-items thead{display:none}.invoice-items tbody,.invoice-items tr,.invoice-items td{display:block;width:100%}.invoice-items tr{padding:15px 0;border-bottom:1px solid var(--border)}.invoice-items td{padding:6px 0;border:0;font-size:13px}.invoice-items td:not(:first-child){display:flex;justify-content:space-between;gap:15px}.invoice-items td:not(:first-child):before{content:attr(data-label);color:var(--muted);font-size:12px}.invoice-bottom{grid-template-columns:1fr;gap:8px}.invoice-bottom .totals{margin-top:12px}.payment-box{padding:20px 16px}.payment-heading{flex-direction:column;gap:0}.payment-amount{margin:8px 0 12px;font-size:27px}.invoice-dates{gap:8px}.invoice-status p{font-size:12px}.seller-contact p{font-size:13px}.invoice-foot{overflow-wrap:anywhere}.item-grid{grid-template-columns:1fr 1fr}.stat-value{font-size:21px;overflow-wrap:anywhere}}
@media print{.invoice-paper{max-width:none;padding:0;box-shadow:none}.invoice-parties{grid-template-columns:1fr 1fr}.invoice-bottom{grid-template-columns:1fr 1fr}.invoice-items{display:table}.invoice-items thead{display:table-header-group}.invoice-items tbody{display:table-row-group}.invoice-items tr{display:table-row}.invoice-items td{display:table-cell!important;width:auto}.invoice-items td:before{display:none!important}#paypal-buttons,#load-paypal,#payment-message,.no-print{display:none!important}.payment-box,.invoice-status{break-inside:avoid}.invoice-body{padding:0}}

.invoice-top-total{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 22px}.invoice-top-total span{font-size:13px;color:var(--muted)}.invoice-top-total strong{font-size:29px;color:var(--green)}.invoice-parties p:empty{display:none}
