@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";*{box-sizing:border-box}body{background:var(--theme-page,#f7f8f5);color:var(--theme-text,#253c34);margin:0;font-family:DM Sans,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--theme-border,#dfe5df);background:var(--theme-surface,white);color:inherit;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;display:inline-flex}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}:is(button:focus-visible,input:focus-visible,select:focus-visible){outline:3px solid var(--theme-focus,#bd945c);outline-offset:2px}.shell{min-height:100vh;display:flex}aside{background:var(--theme-surface,#fff);border-right:1px solid var(--theme-border,#e4e8e2);flex-direction:column;width:244px;height:100vh;padding:35px 22px 20px;display:flex;position:fixed}.brand{letter-spacing:3px;align-items:center;gap:11px;font-size:22px;font-weight:700;display:flex}.brand small{letter-spacing:5px;margin-top:2px;font-size:9px;display:block}.brand-icon{background:var(--theme-accent,#214c3d);color:var(--theme-on-accent,#fff);border-radius:13px 3px;place-items:center;width:45px;height:48px;display:grid}.workspace{letter-spacing:1.8px;color:var(--theme-muted,#96a099);margin:48px 10px 16px;font-size:9px}nav{gap:7px;display:grid}nav button{color:var(--theme-muted,#78837b);background:0 0;border:0;justify-content:flex-start;padding:14px}nav button.active{background:var(--theme-soft,#eaf1e9);color:var(--theme-text,#25513b);font-weight:700}nav button span{background:var(--theme-soft,#d9e5d5);border-radius:5px;margin-left:auto;padding:2px 7px;font-size:10px}.side-note{color:var(--theme-muted,#55715e);margin-top:auto;padding:18px 10px;font-size:11px}.side-note p{color:var(--theme-muted,#959d95);line-height:1.8}.dot{background:var(--theme-link,#7a9e71);border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.profile{border-top:1px solid var(--theme-border,#e7ebe4);align-items:center;gap:10px;padding-top:20px;font-size:12px;display:flex}.profile>div{background:var(--theme-soft,#e8ecdf);border-radius:50%;padding:11px;font-size:11px}.profile small{color:var(--theme-muted,#8b968b);margin-top:4px;font-size:10px;display:block}main{width:calc(100% - 244px);margin-left:244px}header{border-bottom:1px solid var(--theme-border,#e4e8e2);height:75px;color:var(--theme-muted,#9ba49b);background:var(--theme-surface,#fff);justify-content:space-between;align-items:center;padding:0 40px;font-size:12px;display:flex}header b{color:var(--theme-muted,#536456);font-weight:500}header>div{align-items:center;gap:17px;display:flex}.live{color:var(--theme-muted,#73826e);font-size:11px}.live i{background:var(--theme-link,#699965);border-radius:100%;width:6px;height:6px;margin-right:7px;display:inline-block}.icon{background:0 0;border:0;padding:7px}.content{max-width:1600px;margin:auto;padding:38px 40px}.eyebrow{color:var(--theme-muted,#8a956f);letter-spacing:2px;margin-bottom:10px;font-size:10px;font-weight:700}.title-row{justify-content:space-between;align-items:center;gap:20px;display:flex}h1{letter-spacing:-1px;margin:0;font-family:Manrope,sans-serif;font-size:29px;font-weight:600}h2{margin:0;font-family:Manrope,sans-serif;font-size:16px;font-weight:700}p{color:var(--theme-muted,#8a958a);line-height:1.6}.title-row p{margin:10px 0 0;font-size:12px}.primary{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,#fff);border-color:var(--theme-accent,#28553f);white-space:nowrap;font-weight:500}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin:30px 0;display:grid}.stat{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e3e8df);border-radius:12px;padding:23px}.stat>div{color:var(--theme-muted,#7b8979);justify-content:space-between;gap:10px;font-size:11px;display:flex}.stat strong{letter-spacing:-.8px;white-space:nowrap;margin:20px 0 9px;font-family:Manrope,sans-serif;font-size:27px;display:block}.stat small{color:var(--theme-muted,#95a08e);font-size:10px}.featured{background:var(--theme-accent,#28513e);border-color:var(--theme-accent,#28513e);color:var(--theme-on-accent,#fff)}.featured>div,.featured small{color:var(--theme-muted,#c1d0b6)}.overview-grid{grid-template-columns:1.35fr 1fr;gap:22px;display:grid}.panel{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e3e8df);border-radius:13px;overflow:hidden}.panel-title{justify-content:space-between;align-items:center;gap:8px;padding:25px 25px 0;display:flex}.panel-title p{margin:7px 0;font-size:11px}.text-button{color:var(--theme-muted,#61775a);background:0 0;border:0;padding:4px;font-size:11px}.badge{color:var(--theme-warning,#ad8253);background:var(--theme-warning-bg,#f7f1e5);white-space:nowrap;border-radius:20px;padding:7px 10px;font-size:10px}.empty{text-align:center;padding:45px 25px 50px}.empty>span{color:var(--theme-muted,#8b9e7b);background:var(--theme-soft,#f3f5ec);border-radius:50%;place-items:center;width:63px;height:63px;display:inline-grid}.empty h3{margin:17px 0 6px;font-size:13px;font-weight:500}.empty p{max-width:260px;margin:0 auto;font-size:11px}.craft-banner{border:1px solid var(--theme-border,#e3e5d4);background:var(--theme-soft,#edf0e1);border-radius:12px;align-items:center;gap:24px;margin-top:25px;padding:24px 30px;display:flex;overflow:hidden}.craft-banner span{letter-spacing:1.7px;color:var(--theme-muted,#7c8663);font-size:9px}.craft-banner h2{margin-top:8px;font-size:20px;font-weight:500}.craft-banner p{margin:7px 0 0;font-size:11px}.craft-banner button{border-color:var(--theme-border,#cbd1bd);white-space:nowrap;background:0 0;margin-left:auto;font-size:11px}.rings{color:var(--theme-muted,#a7af89);font-family:serif;font-size:90px;line-height:1}footer{color:var(--theme-muted,#8b9683);justify-content:space-between;margin-top:35px;font-size:10px;display:flex}.recent,.watch{padding:10px 25px 20px}.recent>div,.watch>div{border-bottom:1px solid var(--theme-border,#eff1eb);align-items:center;gap:12px;padding:17px 0;display:flex}.recent>div:last-child,.watch>div:last-child{border:0}.recent strong,.watch strong{margin-left:auto;font-size:12px}.recent b,.watch b{font-size:12px;font-weight:500}.recent small,.watch small{color:var(--theme-muted,#95a08e);margin-top:5px;font-size:10px;display:block}.watch strong{color:var(--theme-warning,#b38b54)}.product-icon{background:var(--theme-soft,#f0f1e8);color:var(--theme-muted,#899877);border-radius:9px;padding:12px}.toolbar{justify-content:space-between;gap:15px;padding:20px;display:flex}.search{background:var(--theme-soft,#f8f9f6);border:1px solid var(--theme-border,#e6e9e1);border-radius:8px;align-items:center;gap:8px;min-width:230px;padding:0 10px;display:flex}.search input{background:0 0;border:0;outline:0;width:100%;padding:10px 0;font-size:12px}.actions{gap:8px;display:flex}.actions button{font-size:11px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{background:var(--theme-soft,#f8f9f5);color:var(--theme-muted,#8b9683);white-space:nowrap;padding:16px 22px;font-size:10px;font-weight:500}td{border-top:1px solid var(--theme-border,#eef0e9);padding:20px 22px}td b{font-weight:500}td small{color:var(--theme-muted,#9ba18f);margin-top:5px;font-size:10px;display:block}.status{background:var(--theme-soft,#edf3e8);color:var(--theme-link,#65855a);white-space:nowrap;border-radius:5px;padding:6px 9px;font-size:10px;display:inline-block}.status.warn{background:var(--theme-warning-bg,#fbf1e2);color:var(--theme-warning,#ac803b)}.heading{margin-bottom:25px}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:10;background:#172d2466;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--theme-surface,white);border-radius:16px;width:520px;max-height:95vh;padding:28px;overflow:auto;box-shadow:0 25px 100px #10271b33}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.modal h2{font-size:23px}label{color:var(--theme-muted,#61725e);flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;display:flex}label input,label select{border:1px solid var(--theme-border,#dce3d8);background:var(--theme-surface,#fdfefa);width:100%;color:var(--theme-text,#2a4033);border-radius:7px;padding:12px}.form-row{gap:15px;display:flex}.form-row label{width:50%}.form-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.form-note{background:var(--theme-soft,#f1f4eb);border-radius:7px;padding:12px;font-size:11px}.error{background:var(--theme-danger-bg,#fff0e7);color:var(--theme-danger,#a54d30);border-radius:7px;margin-bottom:16px;padding:13px;font-size:12px}.toast{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,white);z-index:12;border-radius:9px;align-items:center;gap:10px;padding:15px 22px;display:flex;position:fixed;bottom:25px;right:25px}@media (min-width:1500px){.content{padding-top:50px}.stats{margin:40px 0}.stat{padding:30px}.empty{padding:70px 25px}.craft-banner{padding:35px}}@media (max-width:1100px){aside{width:200px;padding:30px 15px}main{width:calc(100% - 200px);margin-left:200px}.content{padding:28px 24px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:22px}.overview-grid{grid-template-columns:1fr}h1{font-size:25px}.rings{display:none}}@media (max-width:750px){.shell{display:block}aside{width:100%;height:auto;padding:18px;position:static}.brand{font-size:18px}.brand-icon{width:35px;height:38px}.brand small{font-size:7px}.workspace,.side-note,.profile{display:none}nav{justify-content:space-between;gap:3px;margin-top:18px;display:flex}nav button{gap:5px;padding:10px;font-size:11px}nav button span{display:none}main{width:100%;margin:0}header{height:55px;padding:0 20px}.content{padding:25px 18px}.title-row{flex-direction:column;align-items:flex-start}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat strong{font-size:22px}.stat{padding:18px}.craft-banner{padding:22px;display:block}.craft-banner button{margin-top:20px}footer span{text-align:right;max-width:160px}.toolbar{flex-direction:column}.actions{flex-wrap:wrap}.form-row{gap:10px}.modal{padding:22px}.live{font-size:10px}}.edit-product{white-space:nowrap;padding:7px 10px;font-size:11px}textarea{font:inherit;border:1px solid var(--theme-border,#dce3d8);background:var(--theme-surface,#fdfefa);width:100%;color:var(--theme-text,#2a4033);resize:vertical;border-radius:7px;padding:12px}textarea:focus-visible{outline:3px solid var(--theme-focus,#bd945c);outline-offset:2px}.sale-total{background:var(--theme-soft,#edf3e8);border-radius:8px;justify-content:space-between;align-items:center;margin:0 0 18px;padding:17px;font-size:12px;display:flex}.sale-total strong{font-size:19px}.checkbox-label{flex-direction:row;align-items:center;gap:10px;display:flex}.checkbox-label input{width:17px;height:17px;accent-color:var(--theme-accent,#28553f)}.orders-table td{vertical-align:top}.orders-table td:first-child,.orders-table td:nth-child(2){min-width:190px}.multiline{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.order-actions{flex-direction:column;gap:7px;display:flex}.order-actions button{white-space:nowrap;padding:7px 9px;font-size:10px}.payment-entry{border-bottom:1px solid var(--theme-border,#e7ebe3);justify-content:space-between;gap:15px;padding:15px 0;display:flex}.payment-entry small{color:var(--theme-muted,#8b9683);margin-top:6px;font-size:10px;display:block}.payment-entry:last-of-type{margin-bottom:20px}@media (max-width:750px){nav{justify-content:flex-start;overflow-x:auto}nav button{white-space:nowrap;flex-shrink:0}.order-stats{margin-top:0}}.orders-table th,.orders-table td{padding:16px}.orders-table td:first-child,.orders-table td:nth-child(2){min-width:160px}.order-money{gap:9px;min-width:155px;font-size:11px;display:grid}.order-money>span{color:var(--theme-muted,#8a958a);justify-content:space-between;gap:16px;display:flex}.order-money b{color:var(--theme-text,#253c34)}.order-money .remaining{border-top:1px solid var(--theme-border,#e7ebe3);color:var(--theme-text,#28553f);padding-top:9px}.period-bar{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e3e8df);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin:26px 0 -12px;padding:15px;display:flex}.period-switch{background:var(--theme-soft,#f3f5ee);border-radius:8px;gap:4px;padding:4px;display:flex}.period-switch button{background:0 0;border-color:#0000;padding:9px 13px;font-size:11px}.period-switch .selected{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,white)}.period-controls{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.period-controls>button{padding:8px;font-size:10px}.period-controls>span{min-width:100px;margin-left:8px;font-size:11px}.period-controls small{color:var(--theme-muted,#929c8b);margin-top:4px;font-size:9px;display:block}.period-date{gap:3px;margin:0;font-size:9px}.period-date input{padding:5px 7px;font-size:11px}.edit-sale{white-space:nowrap;margin-top:9px;padding:6px 9px;font-size:10px;display:flex}.period-bar+.stats .stat:nth-child(3) small,.period-bar+.stats .stat:nth-child(4) small{color:var(--theme-muted,#7d8973)}@media (max-width:750px){.period-controls{width:100%}.period-controls>span{width:100%;margin:7px 0 0}.period-bar{margin-top:15px}.period-switch{width:100%}.period-switch button{flex:1}}.button-link{border:1px solid var(--theme-border,#dfe5df);background:var(--theme-surface,white);color:var(--theme-text,#253c34);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 13px;font-size:11px;text-decoration:none;display:inline-flex}.button-link.primary{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,#fff);border-color:var(--theme-accent,#28553f)}.sale-document-actions{gap:5px;margin-top:7px;display:flex}.sale-document-actions button{padding:6px 8px;font-size:10px}.document-toolbar{justify-content:space-between;align-items:center;gap:20px;margin:20px 0;display:flex}.document-toolbar p{margin:0 0 6px;font-size:12px}.document-toolbar small{color:var(--theme-muted,#95a08e);font-size:10px}.document-count{color:var(--theme-muted,#95a08e);font-size:11px}.document-modal{width:1220px;max-width:96vw}.document-modal.settings-modal{width:540px}.document-compose{grid-template-columns:310px minmax(0,1fr);gap:25px;display:grid}.document-preview-pane{background:var(--theme-soft,#eceee7);border-radius:8px;max-height:70vh;padding:14px;overflow:auto}.document-view-actions{justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;display:flex}.document-view-actions span{color:var(--theme-muted,#8a958a);font-size:11px}.document-paper{box-sizing:border-box;background:var(--theme-surface,white);color:var(--theme-text,#28382f);width:100%;max-width:794px;min-height:1000px;margin:0 auto;padding:44px;font-family:DM Sans,sans-serif;font-size:11px;line-height:1.6;box-shadow:0 4px 30px #243b2a0c}.doc-brand{border-bottom:2px solid var(--theme-accent,#28553f);align-items:flex-start;gap:16px;padding-bottom:26px;display:flex}.doc-mark{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,#fff);border-radius:14px 3px;margin-top:4px;padding:12px;display:flex}.doc-brand h1{letter-spacing:.3px;margin:0 0 9px;font-family:Manrope,sans-serif;font-size:21px;font-weight:700;line-height:1.3}.document-paper p{color:var(--theme-muted,#68776a);margin:3px 0;font-size:10px;line-height:1.7}.doc-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.doc-title{justify-content:space-between;align-items:center;margin:30px 0;display:flex}.doc-eyebrow{letter-spacing:1.7px;color:var(--theme-muted,#8c9877);font-size:8px;font-weight:700}.doc-title h2{margin-top:4px;font-size:34px;font-weight:500}.doc-number{text-align:right;gap:3px;display:grid}.doc-number b{font-size:12px;font-weight:600}.doc-number span{color:var(--theme-muted,#7c8979);font-size:9px}.doc-number em{background:var(--theme-soft,#ecf2e7);color:var(--theme-link,#527047);border-radius:4px;justify-self:end;margin-top:5px;padding:3px 9px;font-size:9px;font-style:normal}.doc-parties{grid-template-columns:1fr 1fr;gap:25px;margin:25px 0;display:grid}.doc-parties h3{margin:8px 0 4px;font-size:12px;font-weight:600}.doc-parties dl{margin:0;font-size:9px}.doc-parties dl>div{justify-content:space-between;gap:12px;margin-bottom:7px;display:flex}.doc-parties dt{color:var(--theme-muted,#8a958a);flex-shrink:0}.doc-parties dd{text-align:right;margin:0}.document-paper table{font-size:10px}.document-paper table th{letter-spacing:.5px;padding:10px 12px;font-size:8px}.document-paper table td{vertical-align:top;padding:13px 12px;font-size:10px}.doc-items thead th{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,white)}.doc-items th:first-child{width:52%}.doc-items th:nth-child(n+2),.doc-items td:nth-child(n+2){text-align:right;white-space:nowrap}.doc-items td b{font-weight:500;display:block}.doc-items td small{margin-top:5px;font-size:8px}.doc-totals{width:48%;margin:20px 0 25px auto;font-size:10px}.doc-totals>div{justify-content:space-between;gap:15px;padding:6px 0;display:flex}.doc-totals b{white-space:nowrap;font-weight:500}.doc-grand{border-top:1px solid var(--theme-border,#cbd4c7);margin-top:7px;font-size:13px;padding-top:13px!important}.doc-grand b{font-weight:700}.doc-balance{border-top:1px solid var(--theme-border,#dde4d7);color:var(--theme-text,#28553f);margin-top:6px;padding-top:10px!important}.doc-balance b{font-weight:700}.doc-section{clear:both;margin-top:24px}.doc-section h4{margin:0 0 9px;font-size:10px;font-weight:600}.doc-payments th:last-child,.doc-payments td:last-child{text-align:right;white-space:nowrap}.doc-payments td{font-size:9px!important}.document-paper .doc-footer{clear:both;border-top:1px solid var(--theme-border,#e0e6da);text-align:center;margin-top:40px;padding-top:20px;display:block}.doc-footer p{font-size:10px}.doc-footer span{color:var(--theme-muted,#95a08e);font-size:8px}.print-workspace{background:var(--theme-soft,#edf0e8);min-height:100vh;padding:28px}.print-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:794px;margin:0 auto 20px;display:flex}.print-actions>a{color:var(--theme-link,#58704e);align-items:center;gap:7px;font-size:12px;text-decoration:none;display:flex}.print-actions p{text-align:right;width:100%;margin:0;font-size:11px}.payment-entry>button{padding:7px 9px;font-size:10px}.payment-entry>b{margin-left:auto}.print-actions button{font-size:12px}@media (max-width:1000px){.document-compose{grid-template-columns:1fr}.document-preview-pane{max-height:none}.document-compose>form{width:100%;max-width:600px;margin:0 auto}.document-toolbar{flex-direction:column;align-items:flex-start}}@media (max-width:600px){.document-paper{min-height:0;padding:25px 18px}.doc-parties{grid-template-columns:1fr}.doc-title h2{font-size:28px}.doc-brand h1{font-size:18px}.doc-totals{width:70%}.doc-items th:first-child{width:42%}.document-paper table th,.document-paper table td{padding:8px 5px}.doc-title{gap:10px}.doc-number b{font-size:10px}.doc-brand{gap:10px}.print-workspace{padding:15px}.document-preview-pane{padding:5px}.document-view-actions{flex-direction:column;align-items:flex-start}}@page{size:A4;margin:15mm}@media print{html,body{margin:0;padding:0;background:var(--theme-surface,white)!important}.print-workspace{background:var(--theme-surface,white);min-height:0;padding:0}.print-actions{display:none!important}.document-paper{width:100%;max-width:none;min-height:0;box-shadow:none;color:var(--theme-text,#253c34);-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0;padding:0}.document-paper table thead{display:table-header-group}.document-paper tr,.doc-totals,.doc-brand,.doc-title{break-inside:avoid}.document-paper .doc-footer{margin-top:25px}.document-paper h1,.document-paper h2,.document-paper h3,.document-paper h4{break-after:avoid}.doc-parties{grid-template-columns:1fr 1fr}.doc-totals{width:48%}.doc-brand h1{font-size:21px}.doc-title h2{font-size:34px}.doc-items th:first-child{width:52%}.document-paper table th{padding:10px 12px}.document-paper table td{padding:13px 12px}}.brand{justify-content:center;align-items:center;width:100%;height:155px;display:flex}.tectona-logo{width:100%;height:auto;display:block;overflow:visible}.brand>.tectona-logo{width:174px;max-width:100%;max-height:150px}.workspace{margin-top:22px}.profile>div{background:0 0;border-radius:0;flex:0 0 38px;padding:0}.profile .tectona-logo{width:38px;height:36px}.doc-mark{color:inherit;background:0 0;border-radius:0;flex:0 0 105px;width:105px;margin-top:0;padding:0}.doc-mark .tectona-logo{width:105px;height:90px}.doc-brand{align-items:center}@media (max-width:750px){.brand{justify-content:flex-start;height:85px}.brand>.tectona-logo{width:100px;max-height:85px}aside{padding-top:14px}nav{margin-top:12px}}@media print{.doc-mark{flex-basis:105px;width:105px}.doc-mark .tectona-logo{width:105px;height:90px}}.cart-modal{width:660px}.cart-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.cart-heading h3{margin:0;font-size:14px}.cart-heading span{color:var(--theme-muted,#8a958a);font-size:11px}.cart-rows{gap:12px;margin-bottom:12px;display:grid}.cart-row{background:var(--theme-soft,#f7f9f3);border:1px solid var(--theme-border,#e0e6d8);border-radius:10px;padding:15px}.cart-row>label{margin-bottom:12px}.cart-row-values{align-items:center;gap:12px;display:flex}.cart-row-values label{flex:1;min-width:0;margin-bottom:0}.cart-row-values button{margin-top:20px;padding:9px}.cart-line-total{text-align:right;min-width:90px;padding-top:20px;font-size:12px;font-weight:600}.cart-add{background:var(--theme-soft,#f0f5e9);border-color:var(--theme-border,#dbe5d0);width:100%;margin-bottom:18px;font-size:12px}.cart-net{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,white)}.sale-items-list{gap:13px;min-width:220px;max-width:340px;display:grid}.sale-items-list b{display:block}.sales-transactions td{vertical-align:top}.sales-transactions th,.sales-transactions td{padding:17px 16px}.recent>div>span:nth-child(2){min-width:0}.recent>div>span:nth-child(2)>b{white-space:nowrap;text-overflow:ellipsis;max-width:290px;display:block;overflow:hidden}@media (max-width:600px){.cart-row-values{flex-wrap:wrap}.cart-line-total{min-width:75px}.cart-row{padding:12px}.cart-row-values label{flex-basis:35%}.cart-line-total{text-align:left;padding-top:0}.cart-row-values button{margin-top:0}}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.expense-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-category-name{font-size:25px!important}.expense-filters{flex-wrap:wrap;align-items:center;gap:22px;padding:0 24px 18px;display:flex}.expense-filters>label{margin:0;font-size:11px}.expense-filters select{min-width:170px;margin-top:5px}.expense-filters .checkbox-label{align-items:center;gap:8px;display:flex}.checkbox-label input{width:auto;margin:0}.expense-filters>span{color:var(--theme-muted,#7d8878);margin-left:auto;font-size:11px}.expenses-table td{vertical-align:top}.expenses-table td:nth-child(2){min-width:200px;max-width:330px}.expense-voided{opacity:.65}.expense-voided td:nth-child(4){text-decoration:line-through}.expense-breakdown{margin-top:22px;padding-bottom:22px}.expense-category{grid-template-columns:180px 1fr 110px;align-items:center;gap:20px;padding:10px 25px;font-size:12px;display:grid}.expense-category>div{background:var(--theme-soft,#edf1e6);border-radius:7px;height:7px;overflow:hidden}.expense-category i{background:var(--theme-accent,#64834e);border-radius:7px;height:100%;display:block}.expense-category b{text-align:right}.expense-history{border-bottom:1px solid var(--theme-border,#e0e6d8);overflow-wrap:anywhere;padding:16px 0;font-size:12px}.expense-history p{margin:8px 0}.expense-history small{color:var(--theme-muted,#6d7c68);line-height:1.6;display:block}.expense-history details{margin-top:10px}.expense-history summary{cursor:pointer}.profit-note{margin-top:-6px;margin-bottom:22px}@media (max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.dashboard-stats,.expense-stats{grid-template-columns:1fr}.expense-filters{gap:14px;padding:0 16px 15px}.expense-filters>span{width:100%;margin-left:0}.expense-category{grid-template-columns:1fr 90px;gap:10px;padding:10px 18px}.expense-category>div{grid-area:2/1/auto/-1}}.sales-breakdown{background:var(--theme-soft,#edf2e8);border-radius:10px;flex-wrap:wrap;gap:12px 28px;margin:0 0 20px;padding:15px 20px;font-size:12px;display:flex}.sales-breakdown span{gap:14px;display:flex}.sales-breakdown b{color:var(--theme-text,#28553f)}.dashboard-stats .stat>div{line-height:1.5}.inventory-filters{flex-wrap:wrap;align-items:center;gap:20px;padding:0 24px 20px;display:flex}.inventory-filters label{min-width:180px;margin:0;font-size:11px}.inventory-filters select{margin-top:6px}.inventory-filters>span{color:var(--theme-muted,#778771);font-size:11px}.inventory-filters>button{margin-left:auto;font-size:11px}@media (max-width:600px){.inventory-filters{gap:12px;padding:0 16px 16px}.inventory-filters label{flex:140px;min-width:0}}.history-tabs{border-bottom:1px solid var(--theme-border,#dce3d6);gap:8px;margin-bottom:22px;padding-bottom:12px;display:flex}.history-tabs button{background:0 0;border-color:#0000;padding:11px 20px;font-size:12px}.history-tabs button[aria-selected=true]{background:var(--theme-accent,#28553f);color:var(--theme-on-accent,#fff)}.purchase-year{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;padding:20px;display:flex}.purchase-year label{max-width:130px;margin:0;font-size:11px}.purchase-year input{margin-top:5px}.purchase-months{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.purchase-months input:disabled{background:var(--theme-soft,#edf0e8);color:var(--theme-muted,#87917f)}@media (max-width:600px){.purchase-year .actions{flex-wrap:wrap}.history-tabs button{padding:10px 14px}}.ledger-tabs{flex-wrap:wrap;margin-top:18px}.ledger-tabs button{padding:10px 16px}.expense-stats .stat small{line-height:1.6}.expenses-table td small{overflow-wrap:anywhere}.expense-toolbar{flex-wrap:wrap}.expense-toolbar .search{min-width:200px}.expense-toolbar .actions{flex-wrap:wrap}@media (max-width:950px){.expense-toolbar .actions{width:100%}.expense-toolbar .search{flex-basis:100%;width:100%}}.role-guide{margin:20px 0;padding:24px}.role-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0;display:grid}.role-cards>div{background:var(--theme-soft,#f1f5ec);border-radius:10px;padding:18px}.role-cards p{font-size:12px;line-height:1.7}.access-screen{text-align:center;max-width:520px;margin:70px auto;padding:30px}.access-screen .tectona-logo{width:150px;margin:0 auto 30px}.access-screen p{line-height:1.7}.access-screen a{color:var(--theme-text,#28553f);margin-top:20px;display:block}@media (max-width:750px){.role-cards{grid-template-columns:1fr}.role-guide{padding:18px}}.barcode-scan{background:var(--theme-soft,#edf3e7);border:1px solid var(--theme-border,#d7e3cf);border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:20px;padding:16px;display:flex}.barcode-scan label{flex:1;min-width:180px;margin:0}.barcode-scan>p{width:100%;margin:3px 0;font-size:12px;line-height:1.6}.barcode-scan>button{white-space:nowrap;margin-bottom:0}.barcode-label-link{margin-top:7px;padding:6px 8px;font-size:10px}.barcode-print-page{width:100%;max-width:960px;margin:25px auto;padding:20px}.barcode-print-controls{margin-bottom:25px}.barcode-print-controls a{color:var(--theme-text,#28553f)}.barcode-print-controls p{font-size:12px;line-height:1.7}.barcode-print-options{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.barcode-print-options label{max-width:200px}.barcode-label-sheet{grid-template-columns:repeat(2,85mm);justify-content:center;gap:5mm;display:grid}.barcode-label-sheet.wide{grid-template-columns:180mm}.barcode-label{box-sizing:border-box;background:var(--theme-surface,white);width:85mm;min-height:40mm;color:var(--theme-text,black);text-align:center;border:1px dashed var(--theme-border,#aaa);break-inside:avoid;flex-direction:column;justify-content:center;align-items:center;padding:3mm;display:flex}.wide .barcode-label{width:180mm}.barcode-label>b{letter-spacing:1pt;font-size:8pt}.barcode-label>span{margin:2mm 0;font-size:9pt;line-height:1.3}.barcode-label img{object-fit:contain;width:100%;height:22mm;display:block}.barcode-label small{font-size:7pt}@media (max-width:800px){.barcode-label-sheet,.barcode-label-sheet.wide{flex-wrap:wrap;display:flex}.wide .barcode-label{max-width:100%}}@media print{.barcode-print-page{max-width:none;margin:0;padding:0}.barcode-print-controls{display:none!important}.barcode-label-sheet{grid-template-columns:repeat(2,85mm);gap:5mm;display:grid}.barcode-label-sheet.wide{grid-template-columns:180mm}.barcode-label{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:none}}.bill-dashboard{margin:20px 0 25px;padding-bottom:20px}.bill-dashboard .panel-title{flex-wrap:wrap;align-items:flex-start}.bill-reminders{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 24px 0;display:grid}.bill-reminder{text-align:left;background:var(--theme-soft,#f2f6ed);border-color:var(--theme-border,#dfe8d7);justify-content:space-between;align-items:flex-start;width:100%}.bill-reminder.urgent{background:var(--theme-warning-bg,#fff3e9);border-color:var(--theme-border,#eed9c6)}.bill-reminder small{color:var(--theme-muted,#7c8979);margin-top:7px;font-size:10px;line-height:1.6;display:block}.bill-reminder>b,.bill-reminder span{overflow-wrap:anywhere;min-width:0}.bill-due-state{text-align:right;flex-shrink:0;font-size:11px}.bill-empty{padding:10px 25px 0;font-size:12px}.bill-dashboard>.form-note{padding:0 24px}.bill-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.bills-table td{vertical-align:top}.bills-table td:first-child{min-width:200px;max-width:320px}.bill-notice{background:var(--theme-soft,#edf3e7);color:var(--theme-text,#28553f);border-radius:9px;padding:15px}aside nav{flex-shrink:1;min-height:0;overflow-y:auto}.side-note,.profile{flex-shrink:0}@media (max-width:950px){.bill-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bill-reminders{grid-template-columns:1fr}}@media (max-width:600px){.bill-reminders{padding:15px 16px 0}.bill-dashboard .panel-title{padding:20px 16px 0}}.reorder-choice{white-space:nowrap;align-items:center;gap:8px;font-size:13px;display:flex}.reorder-choice input[type=checkbox]{width:17px;min-width:17px;height:17px;accent-color:var(--theme-accent,#466b50)}.inventory-view-wrap{padding:0 22px 8px}.inventory-views{flex-wrap:wrap;gap:8px;display:flex}.inventory-views button{border:1px solid var(--theme-border,#d8dfd9);background:var(--theme-surface,#fff);color:var(--theme-text,#45564b);border-radius:9px;align-items:center;gap:10px;padding:10px 16px;display:flex}.inventory-views button[aria-pressed=true]{background:var(--theme-accent,#28513f);color:var(--theme-on-accent,#fff);border-color:var(--theme-accent,#28513f)}.inventory-views button span{background:#829b8626;border-radius:20px;padding:2px 7px;font-size:12px}.inventory-view-wrap .form-note{max-width:900px;margin:10px 0 4px}.insights-workspace{gap:22px;display:grid}.insight-intro{justify-content:space-between;align-items:center;gap:12px;display:flex}.insight-intro p{color:var(--theme-muted,#637266);margin:0;font-size:13px}.insight-confidence{border:1px solid var(--theme-border,#cfdfd2);background:var(--theme-soft,#f1f7f2);border-radius:12px;padding:18px 22px}.insight-confidence.partial{background:var(--theme-warning-bg,#fff8ec);border-color:var(--theme-border,#ead4a9)}.insight-confidence p{color:var(--theme-muted,#58655b);margin:7px 0 0;font-size:13px;line-height:1.6}.insight-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.insight-stats strong{font-size:25px}.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.insight-section{min-width:0;margin:0}.insight-section .panel-title{padding:20px 22px}.insight-body{padding:0 22px 22px;font-size:14px;line-height:1.6}.insight-number{color:var(--theme-text,#28513f);font-size:31px}.insight-body h3{margin:22px 0 10px;font-size:14px}.insight-facts{gap:0;margin:16px 0;display:grid}.insight-facts>span{border-bottom:1px solid var(--theme-border,#edf0eb);justify-content:space-between;gap:20px;padding:11px 0;font-size:13px;display:flex}.insight-facts b{text-align:right}.insight-bar-row{margin:0 0 20px}.insight-bar-row>div:first-child{justify-content:space-between;gap:10px;margin-bottom:8px;font-size:13px;display:flex}.insight-track{background:var(--theme-soft,#eaf0ea);border-radius:6px;height:7px;overflow:hidden}.insight-track i{background:var(--theme-accent,#527b5f);border-radius:6px;height:100%;display:block}.trend-track{width:110px}.insight-footnote{color:var(--theme-muted,#657367);padding:0 22px 18px;font-size:12px;line-height:1.6}.insight-priorities{padding:0 22px 10px}.insight-priorities article{border-top:1px solid var(--theme-border,#edf0eb);align-items:flex-start;gap:14px;padding:17px 0;display:flex}.insight-priorities article>span{background:var(--theme-soft,#eef3ed);width:28px;height:28px;color:var(--theme-text,#31503c);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.insight-priorities article>div{flex:1}.insight-priorities h3{margin:2px 0 7px;font-size:14px}.insight-priorities p{color:var(--theme-muted,#657367);margin:0;font-size:13px;line-height:1.6}.insight-list{margin:10px 0 22px;padding:0;list-style:none}.insight-list li{border-bottom:1px solid var(--theme-border,#edf0eb);justify-content:space-between;gap:16px;padding:10px 0;font-size:13px;display:flex}.insight-list li b{white-space:nowrap}.insight-list small{color:var(--theme-muted,#637266);margin-top:4px;display:block}@media (max-width:1150px){.insight-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-grid{grid-template-columns:1fr}}@media (max-width:600px){.insight-intro{flex-direction:column;align-items:flex-start}.insight-stats{grid-template-columns:1fr}.insight-priorities{padding:0 14px 10px}.insight-priorities article{gap:9px}.insight-body{padding:0 16px 18px}.insight-facts>span{gap:10px}.insight-list li{flex-wrap:wrap}}.closing-workspace{gap:22px;display:grid}.closing-controls{flex-wrap:wrap;align-items:center;gap:14px;padding:20px 22px;display:flex}.closing-controls>div{flex:1}.closing-controls label{align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex}.closing-controls small{color:var(--theme-muted,#657367);margin-top:8px;display:block}.closing-controls input{border:1px solid var(--theme-border,#dce3db);border-radius:7px;padding:8px}.closing-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.closing-stats strong{font-size:25px}.closing-workspace form{gap:22px;display:grid}.closing-form{padding:22px}.closing-form h2{margin:0 0 20px;font-size:18px}.closing-form label{flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px;font-weight:600;display:flex}.closing-form input,.closing-form textarea,.closing-amount{font:inherit;border:1px solid var(--theme-border,#dbe2d9);background:var(--theme-surface,#fff);color:var(--theme-text,#263c2e);border-radius:8px;padding:10px 12px}.closing-form textarea{resize:vertical;min-height:75px}.closing-form input:disabled,.closing-form textarea:disabled,.closing-amount:disabled{background:var(--theme-soft,#f4f6f2);color:var(--theme-muted,#516053);opacity:1}.closing-amount{width:120px}.closing-difference{color:var(--theme-danger,#9c4b19);font-weight:700}.closing-notice{background:var(--theme-soft,#eaf4ec);color:var(--theme-text,#28513f);border-radius:10px;padding:14px 20px}.closing-history{border-top:1px solid var(--theme-border,#e4e9e1);padding:15px 0;font-size:13px}.closing-history pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--theme-soft,#f6f8f3);max-height:300px;padding:12px;overflow:auto}.closing-form details{margin-top:18px}.closing-form summary{cursor:pointer;font-size:13px;font-weight:600}@media (max-width:800px){.closing-stats{grid-template-columns:1fr}.closing-controls label{flex-direction:column;align-items:flex-start}.closing-controls,.closing-form{padding:18px}}.furniture-fields{border:1px solid var(--theme-border,#dbe4d9);background:var(--theme-soft,#f8faf6);border-radius:10px;min-width:0;margin:20px 0;padding:18px}.furniture-fields[hidden]{display:none}.furniture-fields legend{color:var(--theme-text,#2d513b);padding:0 8px;font-size:16px;font-weight:700}.furniture-fields h3{text-transform:uppercase;letter-spacing:.08em;color:var(--theme-muted,#657b63);margin:24px 0 14px;font-size:13px}.furniture-fields textarea{min-height:75px;font:inherit;border:1px solid var(--theme-border,#dce2d8);resize:vertical;background:var(--theme-surface,#fff);border-radius:7px;padding:10px}.furniture-dimensions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.furniture-summary{white-space:normal;margin-top:10px;font-size:12px}.furniture-summary summary{cursor:pointer;color:var(--theme-text,#315c40);font-weight:600}.furniture-detail-card{background:var(--theme-soft,#f5f8f2);border:1px solid var(--theme-border,#dce5d8);border-radius:8px;min-width:230px;max-width:400px;margin:10px 0 0;padding:14px}.furniture-detail-card dl,.furniture-detail-card dl>div{margin:10px 0}.furniture-detail-card dt{color:var(--theme-muted,#53674e);font-weight:600}.furniture-detail-card dd{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-text,#253b2c);margin:3px 0 0}.furniture-detail-card a{color:var(--theme-text,#315c40);text-decoration:underline}.hr-workspace{gap:22px;display:grid}.hr-intro{background:var(--theme-soft,#edf4eb);border:1px solid var(--theme-border,#d8e4d4);border-radius:12px;justify-content:space-between;gap:20px;padding:18px 22px;display:flex}.hr-intro p{color:var(--theme-muted,#5f705d);margin-bottom:0;font-size:13px;line-height:1.6}.hr-tabs{flex-wrap:wrap;gap:8px;display:flex}.hr-tabs button[aria-pressed=true]{background:var(--theme-accent,#28513f);color:var(--theme-on-accent,#fff)}.hr-panel{padding:22px}.hr-panel h2{margin:0 0 15px;font-size:18px}.hr-panel p{font-size:13px;line-height:1.7}.hr-check{align-items:center;gap:9px;font-size:13px;display:flex}.hr-check input[type=checkbox]{width:17px;height:17px;accent-color:var(--theme-accent,#28513f)}.hr-archive{padding:0 22px 18px}.hr-file-heading{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.hr-file-heading>div{flex:1}.hr-file-heading h2{margin:10px 0 6px}.hr-profile{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;display:grid}.hr-profile dt{color:var(--theme-muted,#657761);font-size:12px}.hr-profile dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;font-size:14px}.hr-modal{width:calc(100vw - 32px);max-width:850px}.hr-fieldset{border:1px solid var(--theme-border,#dbe4d7);background:var(--theme-soft,#f9faf6);border-radius:10px;min-width:0;margin:0 0 24px;padding:20px}.hr-fieldset legend{color:var(--theme-text,#36563a);padding:0 7px;font-size:15px;font-weight:700}.hr-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.hr-fields label{flex-direction:column;gap:7px;margin:0;font-size:12px;display:flex}.hr-fields .hr-check{flex-direction:row}.hr-fields .hr-wide{grid-column:1/-1}.hr-fields input,.hr-fields select,.hr-fields textarea,.hr-reason textarea{font:inherit;border:1px solid var(--theme-border,#d9e1d4);background:var(--theme-surface,white);border-radius:8px;width:100%;min-width:0;padding:10px}.hr-fields input[type=checkbox]{flex-shrink:0;width:17px}.hr-fields textarea,.hr-reason textarea{resize:vertical;min-height:75px}.hr-reason{flex-direction:column;gap:8px;margin:22px 0;font-size:13px;display:flex}.hr-guide li{margin-bottom:13px;font-size:14px;line-height:1.8}.hr-guide a{color:var(--theme-text,#28513f);text-decoration:underline}.hr-print-page{max-width:900px;margin:25px auto;padding:22px}.hr-payslip{background:var(--theme-surface,white);color:var(--theme-text,#182c20);padding:30px}.hr-payslip header{border:0;gap:24px;height:auto;margin:0 0 25px;padding:0;display:flex}.hr-payslip header .tectona-logo{width:105px}.hr-payslip h1{letter-spacing:0;margin:0 0 10px;font-size:24px}.hr-payslip h2{margin:15px 0;font-size:16px}.hr-payslip p{font-size:13px;line-height:1.6}.hr-payslip th{text-align:left;white-space:normal;width:60%}.hr-payslip td{white-space:pre-wrap}.hr-payslip tr{break-inside:avoid}.hr-payslip small{font-size:10px;line-height:1.6}.hr-payslip .tectona-logo{max-height:110px}@media (max-width:650px){.hr-fields,.hr-profile{grid-template-columns:1fr}.hr-intro{flex-direction:column}.hr-fieldset{padding:15px}.hr-panel{padding:18px}}@media print{.hr-print-page{max-width:none;margin:0;padding:0}.hr-payslip{padding:0}.hr-payslip header{display:flex!important}.hr-payslip table{width:100%;font-size:10pt}.hr-payslip th,.hr-payslip td{border-bottom:1px solid var(--theme-border,#ddd);padding:7px}.hr-payslip .tectona-logo{display:block!important}}.hr-fieldset>summary{color:var(--theme-text,#36563a);cursor:pointer;font-size:15px;font-weight:700}.hr-fieldset[open]>summary{margin-bottom:18px}.backup-panel{margin-bottom:20px;padding:26px}.backup-panel h2{margin:8px 0 14px}.backup-panel p{max-width:850px;line-height:1.7}.backup-panel label{gap:8px;max-width:680px;margin:20px 0;display:grid}.backup-panel textarea{min-height:80px}.backup-panel button{margin:6px 10px 6px 0}.backup-review{margin:24px 0}.backup-review td:first-child{text-transform:capitalize}.backup-panel input[type=file]{max-width:100%;padding:12px}.backup-workspace .insight-intro{justify-content:space-between;align-items:center;display:flex}.purchase-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}.purchase-tabs{gap:10px;margin:20px 0;display:flex}.purchase-panel{margin:20px 0;padding:24px}.purchase-panel label{margin:15px 0}.purchase-panel p{line-height:1.65}.purchase-panel h2{margin:10px 0}.purchase-filter{align-items:center;gap:12px;max-width:350px;display:flex}.purchase-filter select{flex:1}.purchase-row-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.purchase-row-actions button{white-space:nowrap}.purchase-detail-heading{justify-content:space-between;align-items:center;gap:15px;margin:20px 0;display:flex}.purchase-info{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:20px 0;display:grid}.purchase-info p{overflow-wrap:anywhere}.purchase-totals{gap:10px;max-width:430px;margin:24px 0 24px auto;display:grid}.purchase-totals span{justify-content:space-between;gap:30px;display:flex}.purchase-totals span:last-child{border-top:1px solid var(--theme-border,#deded7);padding-top:12px}.purchase-modal{max-width:920px}.purchase-modal label{gap:7px;margin:15px 0;display:grid}.purchase-modal textarea{min-height:75px}.purchase-modal .checkbox-label{align-items:center;gap:10px;display:flex}.purchase-form-grid{grid-template-columns:1fr 1fr;gap:0 20px;display:grid}.purchase-line{border-bottom:1px solid var(--theme-border,#e5e5dc);grid-template-columns:minmax(200px,2fr) minmax(80px,.6fr) minmax(100px,.8fr) auto;align-items:end;gap:12px;padding-bottom:10px;display:grid}.purchase-line button{margin-bottom:15px}.purchase-notice{background:var(--theme-soft,#eaf1e9);border-radius:10px;margin:15px 0;padding:16px}.multiline{white-space:pre-line}.purchase-print .purchase-info{grid-template-columns:1fr 1fr}.purchase-print td{white-space:normal}.purchase-print .purchase-totals{font-size:15px}@media (max-width:760px){.purchase-stats,.purchase-info,.purchase-form-grid{grid-template-columns:1fr}.purchase-line{grid-template-columns:1fr 1fr}.purchase-line>label:first-child{grid-column:1/-1}.purchase-detail-heading{flex-direction:column;align-items:flex-start}.purchase-panel{padding:16px}}.purchase-print header{color:var(--theme-text,#253c34);justify-content:flex-start;align-items:flex-start}.purchase-print header>div{flex:1;min-width:0;display:block}.purchase-print header h1{margin:0 0 8px}.purchase-print header h2{margin:0 0 10px}.purchase-print header p{color:var(--theme-muted,#536456);margin:6px 0}.purchase-print th{width:auto}.purchase-print th:first-child{width:50%}.purchase-print td,.purchase-print th{overflow-wrap:anywhere}.stocktake-page{max-width:1000px;margin:20px auto;padding:22px}.stocktake-sheet{background:var(--theme-surface,#fff);color:var(--theme-text,#182c20);padding:30px}.stocktake-heading{align-items:flex-start;gap:22px;margin-bottom:20px;display:flex}.stocktake-heading .tectona-logo{object-fit:contain;width:95px;max-height:110px}.stocktake-heading h1{letter-spacing:0;font-size:24px}.stocktake-heading h2{margin-top:6px;font-size:17px}.stocktake-heading p{color:var(--theme-muted,#536456);font-size:12px}.stocktake-signatures{flex-wrap:wrap;gap:20px;margin:22px 0;font-size:12px;display:flex}.stocktake-instructions,.stocktake-footer{color:var(--theme-muted,#536456);font-size:11px;line-height:1.6}.stocktake-table{table-layout:fixed;border-collapse:collapse;width:100%;margin:20px 0}.stocktake-table th,.stocktake-table td{border:1px solid var(--theme-border,#aeb8ae);white-space:normal;overflow-wrap:anywhere;text-align:left;vertical-align:top;padding:9px 7px;font-size:11px}.stocktake-table th{background:var(--theme-soft,#eef2eb);color:var(--theme-text,#263c31);font-size:10px}.stocktake-table td{height:55px}.stocktake-table td small{color:var(--theme-muted,#536456);margin-top:5px;font-size:9px;display:block}.stocktake-table .stocktake-quantity{text-align:center;font-weight:700}.stocktake-table thead{display:table-header-group}.stocktake-table tr{break-inside:avoid}@page stocktake{size:A4 portrait;margin:12mm}@media print{.stocktake-page{max-width:none;margin:0;padding:0}.stocktake-sheet{page:stocktake;padding:0}.stocktake-heading{break-inside:avoid}.stocktake-table th,.stocktake-table td{padding:6px 4px;font-size:9pt}.stocktake-table th{font-size:8pt}.stocktake-table td{height:13mm}.stocktake-table td small{font-size:8pt}.stocktake-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}.stocktake-signatures{gap:12px;font-size:9pt}.stocktake-footer{font-size:8pt}}@media (max-width:700px){.stocktake-page{padding:12px}.stocktake-sheet{padding:15px}.stocktake-table th,.stocktake-table td{padding:5px 3px;font-size:9px}.stocktake-table td small{font-size:8px}.stocktake-heading h1{font-size:21px}}.cart-services{background:var(--theme-soft,#f2f5ed);border:1px solid var(--theme-border,#dce6d8);border-radius:10px;margin:24px 0;padding:18px}.cart-services .cart-row{background:var(--theme-surface,#fff)}.services-panel .panel-title{padding-bottom:16px}.service-explainer{margin:16px 25px;font-size:13px;line-height:1.7}.cost-estimate-notice{background:var(--theme-warning-bg,#f9f3df);border:1px solid var(--theme-border,#e0cc91);color:var(--theme-warning,#5c481d);border-radius:10px;margin:20px 0;padding:17px 21px}.cost-estimate-notice p{color:var(--theme-warning,#6d5b32);margin:8px 0 0;font-size:12px;line-height:1.7}.cost-estimate-notice button{margin-left:8px;font-size:12px}.purchase-fx{background:var(--theme-soft,#f3f6f1);border:1px solid var(--theme-border,#d6e0d4);border-radius:14px;margin:22px 0;padding:22px}.purchase-fx h3{margin-top:0}.purchase-fx .purchase-form-grid{margin:14px 0}.purchase-fx label{flex-direction:column;gap:7px;display:flex}.purchase-fx table{background:var(--theme-surface,white)}.purchase-fx small{display:block}.purchase-fx .form-note{line-height:1.65}.pwa-connection{color:var(--theme-text,#47604e);white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.pwa-connection.is-offline{color:var(--theme-warning,#8b4c19)}.pwa-install-button{white-space:nowrap;align-items:center;gap:7px;padding:8px 11px;font-size:12px;display:inline-flex}.pwa-offline{bottom:calc(16px + env(safe-area-inset-bottom));z-index:150;background:var(--theme-warning-bg,#fff2db);color:var(--theme-warning,#664718);border:1px solid var(--theme-border,#d7b781);box-sizing:border-box;border-radius:12px;align-items:center;gap:12px;width:min(560px,100% - 32px);padding:14px 20px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0002}.pwa-offline b,.pwa-offline span{display:block}.pwa-offline span{margin-top:3px;font-size:13px}.pwa-install-modal{width:min(620px,100vw - 32px);padding-bottom:24px}.pwa-install-modal section{border-top:1px solid var(--theme-border,#e0e6dc);margin-top:20px;padding-top:12px}.pwa-install-modal h3{margin:8px 0;font-size:17px}.pwa-install-modal ol{padding-left:22px;line-height:1.8}.pwa-app-preview{align-items:center;gap:16px;margin:20px 0;display:flex}.pwa-app-preview img{border-radius:15px}.pwa-app-preview p{color:var(--theme-muted,#667568);margin:4px 0}.pwa-guide-links{flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.pwa-install-modal details{line-height:1.7}.pwa-install-modal summary{cursor:pointer}.pwa-install-modal a{color:var(--theme-text,#345747);text-decoration:underline}@media (display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}@media (max-width:600px){main>header{flex-wrap:wrap;gap:10px;height:auto;min-height:64px;padding:14px 16px}main>header>div{flex-wrap:wrap;gap:10px}.pwa-install-modal{padding:22px}.pwa-connection{font-size:11px}}@media print{.pwa-offline,.pwa-install-button,.pwa-connection,.pwa-install-overlay{display:none!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--theme-page:#101a15;--theme-surface:#19271f;--theme-soft:#23372b;--theme-text:#e5eee7;--theme-muted:#b1c1b5;--theme-link:#a2d3ad;--theme-border:#3b5141;--theme-accent:#315d45;--theme-on-accent:#f4f8f4;--theme-focus:#d9b375;--theme-warning:#ebc083;--theme-danger:#f2ad96;--theme-warning-bg:#3a3021;--theme-danger-bg:#3d2924}.appearance-control{color:var(--theme-muted,#61725e);white-space:nowrap;flex-direction:row;align-items:center;gap:6px;margin:0;display:inline-flex}.appearance-control select{background:var(--theme-surface,#fff);width:auto;min-width:108px;color:var(--theme-text,#253c34);border:1px solid var(--theme-border,#dfe5df);border-radius:8px;margin:0;padding:7px 22px 7px 9px;font-size:12px}.appearance-label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:root[data-theme=dark] .shell .tectona-logo,:root[data-theme=dark] .access-screen .tectona-logo{filter:invert()}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#a0b1a4;opacity:1}:root[data-theme=dark] .icon,:root[data-theme=dark] .text-button{color:var(--theme-link)}:root[data-theme=dark] .document-paper,:root[data-theme=dark] .hr-payslip,:root[data-theme=dark] .stocktake-sheet,:root[data-theme=dark] .barcode-label{--theme-on-accent:initial;--theme-danger:initial;--theme-warning:initial;--theme-text:initial;--theme-link:initial;--theme-muted:initial;--theme-focus:initial;--theme-border:initial;--theme-accent:initial;--theme-page:initial;--theme-surface:initial;--theme-danger-bg:initial;--theme-warning-bg:initial;--theme-soft:initial;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (max-width:1050px){main>header{flex-wrap:wrap;gap:10px;height:auto;min-height:75px;padding-top:12px;padding-bottom:12px}main>header>div{flex-wrap:wrap;gap:10px}}@media (max-width:600px){.appearance-control select{min-width:100px;font-size:12px}.appearance-control svg{display:none}}@media print{:root[data-theme]{--theme-on-accent:initial;--theme-danger:initial;--theme-warning:initial;--theme-text:initial;--theme-link:initial;--theme-muted:initial;--theme-focus:initial;--theme-border:initial;--theme-accent:initial;--theme-page:initial;--theme-surface:initial;--theme-danger-bg:initial;--theme-warning-bg:initial;--theme-soft:initial;--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important}.appearance-control{display:none!important}:root[data-theme=dark] .tectona-logo{filter:none!important}}:root[data-theme=dark] .document-paper .tectona-logo,:root[data-theme=dark] .hr-payslip .tectona-logo,:root[data-theme=dark] .stocktake-sheet .tectona-logo{filter:none}.balance-summary{align-items:center;gap:18px;margin-bottom:24px;padding:20px 24px;display:flex}.balance-summary>div{flex:1}.balance-summary p{margin:4px 0;font-size:12px}.balance-summary strong{white-space:nowrap;font-size:23px}.balance-summary small{color:var(--theme-warning,#946a30);margin-top:4px;font-size:11px;font-weight:400;display:block}.balance-panel{margin:22px 0;padding:24px}.balance-panel .panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.balance-panel h2{font-size:19px}.balance-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0}.balance-stats .stat{padding:18px}.balance-stats strong{font-size:23px}.balance-date{max-width:240px;margin-top:18px}.balance-filters{flex-wrap:wrap;gap:18px;margin-top:20px;display:flex}.balance-filters label{flex:1;min-width:220px}.balance-panel td:nth-child(2){min-width:220px;max-width:380px}.balance-panel small{line-height:1.6;display:block}.balance-panel summary{cursor:pointer;font-weight:600}.balance-panel table{margin-top:12px}.balance-modal .form-note{line-height:1.7}@media (max-width:1000px){.balance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.balance-summary{flex-wrap:wrap}}@media (max-width:600px){.balance-stats{grid-template-columns:1fr}.balance-panel,.balance-summary{padding:18px}.balance-summary strong{font-size:21px}.balance-filters label{min-width:100%}}.card-estimate{border:1px solid var(--theme-border,#dfe5df);background:var(--theme-soft,#eaf1e9);border-radius:12px;margin:14px 0;padding:18px}.card-estimate .sale-total{margin:12px 0}.card-estimate .form-note{margin-bottom:0}.login-form{text-align:left;gap:18px;width:min(100%,420px);display:grid}.login-form button{width:100%}.access-screen .form-note{max-width:460px}.staff-guide{border:1px solid var(--theme-border,#dfe5df);background:var(--theme-surface,#fff);width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--theme-text,#253c34);border-radius:16px;padding:26px;overflow:auto;box-shadow:0 20px 80px #0004}.staff-guide::backdrop{background:#10251bcc}.staff-guide h2{font-size:21px}.staff-guide .guide-role{margin:20px 0 10px;font-size:12px}.staff-guide label.guide-role{gap:8px;display:grid}.staff-guide select{border:1px solid var(--theme-border,#dfe5df);background:var(--theme-surface,#fff);color:inherit;border-radius:8px;padding:10px}.staff-guide progress{width:100%;height:6px;accent-color:var(--theme-accent,#28553f)}.staff-guide .guide-progress{margin-bottom:8px;font-size:12px}.staff-guide .guide-instructions{color:inherit;margin:22px 0;font-size:16px;line-height:1.8}.staff-guide .form-actions{flex-wrap:wrap;gap:8px}@media (max-width:600px){.staff-guide{padding:20px}.staff-guide .modal-heading{gap:12px}.staff-guide .guide-instructions{font-size:15px}}.card-check-guide{padding-left:22px;line-height:1.7}.card-check-guide li{margin:16px 0}.card-check-guide b{margin-bottom:4px;display:block}
