*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1b2925;background:#f4f6f8;font-size:16px}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #669b31;outline-offset:2px}input,select{width:100%;border:1px solid #dce2e0;border-radius:8px;padding:12px;background:#fff;color:#1b2925}h1,h2,h3,p{margin-top:0}h1{font-size:28px;margin:6px 0 0;letter-spacing:-1px}h2{font-size:19px;margin:0}small{font-size:12px}.app{display:flex;min-height:100vh}.sidebar{width:194px;flex-shrink:0;background:#173d32;color:#c7d7d0;padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;color:#d9f47c;font-size:34px;font-weight:850}.brand span{font-size:15px;color:#fff;line-height:1.5}.brand small{font-size:9px;letter-spacing:1px;color:#bccfc4}.workspace{font-size:10px;letter-spacing:1.7px;margin:48px 12px 15px;color:#9fb5aa}.nav{justify-content:flex-start;width:100%;padding:16px;border-radius:10px;margin-bottom:8px}.nav.active{background:#d9f47c;color:#16382d;font-weight:650}.terminal{margin-top:auto;font-size:14px;padding:14px 6px}.terminal small{display:block;font-size:12px;color:#a4bcb0;line-height:1.8;margin:10px 0 0 15px}.dot{display:inline-block;width:7px;height:7px;background:#4fa77a;border-radius:50%;margin-right:7px}.offline{background:#b46a20}.main{flex:1;min-width:0}header{display:flex;justify-content:space-between;align-items:center;padding:27px 30px;background:#fff;border-bottom:1px solid #e5e9e7}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#7b8782;font-weight:600}.header-actions{display:flex;align-items:center;gap:18px}.status{font-size:13px}.outline{border:1px solid #dbe2de;padding:12px;border-radius:8px;font-size:14px}.notice{padding:11px 30px;display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#64736c;background:#edf1ef;border-bottom:1px solid #e0e6e2}.selling{display:grid;grid-template-columns:minmax(0,1fr) 345px;min-height:calc(100vh - 143px)}.catalog{padding:27px 25px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-heading>span,.order-title>span{font-size:12px;color:#78847e}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e0e5e2;padding:0 13px;border-radius:9px;color:#85928b}.search input{border:0;background:none;min-width:0}.categories{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.categories button,.services button{font-size:13px;padding:11px 13px;background:#fff;border:1px solid #dce4de;border-radius:8px;white-space:nowrap}.categories .selected,.services .selected{background:#173d32;color:#fff;border-color:#173d32}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{display:flex;align-items:stretch;flex-direction:column;text-align:left;padding:12px;gap:8px;background:#fff;border:1px solid #e1e6e2;border-radius:12px;transition:border-color .15s}.product:hover{border-color:#337351}.product-art{height:76px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;padding:15px;font-size:26px;font-weight:800;letter-spacing:-1px;background:#eef1d5;color:#657334}.product-art svg{opacity:.5}.c1{background:#f6e7d6;color:#a56e3a}.c2{background:#e1eaf0;color:#587c93}.c3{background:#eee2dd;color:#9f6855}.product small{color:#7c867f;font-size:11px}.product strong{font-size:14px;line-height:1.4;min-height:40px}.price{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-top:2px}.add{display:flex;padding:5px;background:#eff4ed;border-radius:7px;color:#3b664d}.order{background:#fff;border-left:1px solid #e2e6e3;display:flex;flex-direction:column;padding:23px 20px}.order-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.services{display:flex;gap:5px;margin-bottom:20px}.services button{flex:1;padding:11px 7px;font-size:12px}.reference{font-size:13px;color:#6c7771}.reference input{margin-top:8px}.items{flex:1;min-height:200px;padding:18px 0}.empty{text-align:center;color:#819188;padding:62px 0}.empty svg{color:#a5b7ac;margin-bottom:18px}.empty h3{font-size:16px;color:#4c6256;margin-bottom:8px}.empty p{font-size:14px;line-height:1.7}.item{padding:15px 0;border-bottom:1px solid #e9edea}.item-top{display:flex;justify-content:space-between;gap:12px;font-size:14px}.item-top strong{font-weight:550}.item-top b{white-space:nowrap}.item-controls{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px;color:#7b8880}.quantity{display:flex;border:1px solid #dfe5e1;align-items:center;border-radius:6px;color:#293c32}.quantity button{width:32px;height:32px}.quantity span{min-width:20px;text-align:center;font-size:14px}.item input{padding:7px;font-size:12px;background:#f8faf8}.order-bottom{padding-top:20px;border-top:1px dashed #ced8d0}.total{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.total strong{font-size:29px;letter-spacing:-1px}.order-bottom>small{color:#869189;font-size:11px}.primary{width:100%;background:#173d32;color:#fff;border-radius:8px;padding:15px;font-weight:650}.pay{margin-top:20px;justify-content:space-between;background:#d9f47c;color:#18392c}.hint{font-size:12px;text-align:center;color:#8a6e45;margin:12px 0 0}.success{display:flex;align-items:center;gap:8px;padding:14px 25px;color:#21553a;background:#e5f1e6;font-size:14px}.success button{margin-left:auto}.error{padding:12px;background:#fff0ed;color:#a03324;font-size:14px;border-radius:5px}.history{padding:28px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:35px}.stats>div{background:#fff;padding:22px;border:1px solid #e1e7e3;border-radius:10px;font-size:14px;color:#6f7d73}.stats strong{display:block;font-size:30px;color:#173d32;margin-top:12px}.history h2{margin-bottom:20px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;background:#fff;font-size:14px}th,td{text-align:left;padding:16px;border-bottom:1px solid #e2e8e3}th{color:#738077;font-size:12px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11271f88;display:grid;place-items:center;padding:20px;z-index:5}.dialog{width:420px;max-width:100%;background:#fff;border-radius:16px;padding:27px}.dialog label{display:block;font-size:14px;margin:20px 0}.dialog input,.dialog select{margin-top:8px}.payment-total{font-size:40px;font-weight:750;color:#173d32}.dialog p{font-size:14px;line-height:1.6}.loading{padding:50px}@media(min-width:1450px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}.selling{grid-template-columns:minmax(0,1fr) 390px}.catalog{padding:30px}}@media(max-width:1100px){.sidebar{width:150px;padding:25px 10px}.brand span{font-size:12px}.brand small{font-size:7px}.selling{grid-template-columns:minmax(0,1fr) 315px}.catalog{padding:22px 18px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}header{padding:22px}.status{display:none}.notice{padding:10px 22px;flex-wrap:wrap}.section-heading>span{display:none}}@media(max-width:760px){.sidebar{width:64px;padding:20px 6px}.brand{justify-content:center}.brand span,.workspace,.terminal{display:none}.nav{font-size:0;padding:15px 6px;gap:0}.sidebar nav{margin-top:30px}header{padding:18px 14px}h1{font-size:23px}.eyebrow{font-size:8px}.outline{font-size:12px;padding:10px}.selling{display:flex;flex-direction:column}.catalog{padding:20px 14px}.order{border-top:1px solid #e2e6e3;border-left:0}.product-art{height:60px}.notice{padding:10px 14px}.notice span{font-size:10px}.stats{grid-template-columns:1fr}.history{padding:18px}.section-heading h2{font-size:18px}}@media(min-width:761px){.main{height:100vh;display:flex;flex-direction:column}.selling{min-height:0;flex:1;overflow:hidden}.catalog{overflow-y:auto}.order{min-height:0}.items{min-height:0;overflow-y:auto}.history{overflow-y:auto}}.product-photo{display:block;overflow:hidden;border-radius:8px;background:#e6e3df;aspect-ratio:4/3}.product-photo img{display:block;width:100%;height:100%;object-fit:cover}.product strong{font-size:15px}.product small{font-size:12px}.dialog{max-height:calc(100dvh - 32px);overflow:auto;width:460px}.payment-fields{border:0;padding:0;margin:0;min-width:0}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.payment-methods button{border:1px solid #dbe3de;padding:13px 10px;border-radius:8px;font-size:14px;justify-content:flex-start}.payment-methods .selected{background:#eaf1e6;border-color:#3c6a4a;color:#173d32;font-weight:650}.quick-amounts{display:flex;gap:8px;flex-wrap:wrap;margin-top:-9px}.quick-amounts button{padding:10px 13px;background:#f0f4ef;border-radius:7px;font-size:14px}.balance{display:flex;justify-content:space-between;align-items:center;padding:14px 0;margin:10px 0 16px;border-bottom:1px solid #e0e6e1;gap:12px;font-size:14px}.balance strong{font-size:21px}.balance.complete{color:#267141}.dialog .payment-confirm{display:flex;gap:10px;align-items:flex-start;background:#f3f6f2;padding:12px;line-height:1.5}.payment-confirm input{width:18px;height:18px;flex-shrink:0;margin:2px 0;accent-color:#173d32}.payment-footnote{font-size:12px!important;color:#6a776e;text-align:center;margin:12px 0 0;line-height:1.5}.split-payments{background:#f7f9f7;padding:14px;border-radius:9px}.split-payments p{margin:0;font-size:13px}.dialog .split-payments label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;font-size:13px}.split-payments input{width:135px;margin:0}.split-payments .balance{margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.receipt{font-size:14px;color:#24382c;background:#fff;padding:10px 0 20px}.receipt-brand{text-align:center;font-size:24px;font-weight:800;letter-spacing:2px}.receipt-center{text-align:center;font-size:12px!important;line-height:1.8!important;margin:8px 0 20px}.receipt dl>div,.receipt-row{display:flex;justify-content:space-between;gap:15px;margin:10px 0}.receipt dd{margin:0;text-align:right}.receipt dt{color:#6e7b72}.receipt-lines{padding:12px 0;border-top:1px dashed #b8c7bc;border-bottom:1px dashed #b8c7bc}.receipt-row b{white-space:nowrap}.receipt-note{font-size:12px!important;color:#667b6b;margin:0 0 12px 15px}.receipt-total{font-size:23px;margin:20px 0}.receipt-footer{overflow-wrap:anywhere;color:#6f7e74;font-size:10px!important}.success .receipt-link{margin-left:auto;text-decoration:underline;white-space:nowrap}.success .receipt-link+button{margin-left:0}.success{flex-shrink:0}.search input{font-size:16px}.item input{font-size:14px}.services button{font-size:13px}.categories button,.reference{font-size:14px}.quantity button{width:36px;height:36px}@media print{body{background:#fff}.app>.sidebar,.app>.main,.no-print{display:none!important}.overlay{position:static;display:block;padding:0;background:#fff}.receipt-dialog{display:block;border:0;box-shadow:none;padding:0;border-radius:0;overflow:visible;max-height:none;width:72mm;margin:0 auto}.receipt{color:#000;font-family:Arial,sans-serif;padding:0;font-size:11px}.receipt-brand{font-size:19px}.receipt-total{font-size:17px}.receipt dl,.receipt-lines>div{break-inside:avoid}.receipt dt,.receipt-note,.receipt-footer{color:#000}@page{size:auto;margin:6mm}}@media(max-width:760px){.product-photo{aspect-ratio:4/3}.product strong{font-size:14px}.success{flex-wrap:wrap}.dialog{padding:20px}.split-payments input{width:110px}}.app{display:block}.device-settings{width:44px;height:44px;position:relative;border-radius:8px;color:#d6e2db}.device-settings:hover{background:#ffffff12}.connection-alert{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:#efb24b}.topbar .dialog{color:#1b2925}.topbar .overlay{text-align:left}.catalog{padding-top:20px}.topbar .header-actions{gap:8px}.topbar{display:flex;align-items:center;gap:26px;padding:14px 26px;min-height:82px;flex-shrink:0;background:#173d32;color:#f4f8f5}.top-brand{display:flex;align-items:center;gap:11px;flex-shrink:0;font-size:14px;font-weight:800;letter-spacing:.4px;line-height:1.5}.brand-mark{font-size:35px;font-weight:850;color:#d9f47c;line-height:1}.top-brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.1px;color:#bfd0c7}.top-navigation{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto;padding:4px;scrollbar-width:thin}.top-nav{padding:12px 18px;border-radius:8px;white-space:nowrap;flex-shrink:0;font-size:14px;min-height:44px;color:#d6e2db}.top-nav:hover{background:#ffffff12;color:#fff}.top-nav.active{background:#d9f47c;color:#173d32;font-weight:700}.topbar .header-actions{flex-shrink:0;gap:16px}.topbar .status{white-space:nowrap;color:#d2dfd7;font-size:12px}.topbar .outline{white-space:nowrap;border-color:#6b8a7b;color:#fff;min-height:44px}.topbar .outline:hover{background:#ffffff12}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 26px;background:#fff;flex-shrink:0}.page-heading h1{margin:0;font-size:25px;letter-spacing:-.7px}.page-heading>span{font-size:12px;color:#758279}.notice{flex-shrink:0;padding-left:26px;padding-right:26px}.sync-indicator{font-size:12px;color:#21553a;text-decoration:underline;text-underline-offset:3px;min-height:28px}.notice{align-items:center}.notice .dialog{color:#1b2925}.notice .overlay{text-align:left}@media(min-width:1300px)and (max-width:1449px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:761px)and (max-width:1100px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{gap:16px;padding:12px 18px}.top-nav{padding:12px 14px}.page-heading{padding:15px 18px}.notice{padding-left:18px;padding-right:18px}}@media(max-width:760px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 14px}.top-brand{font-size:12px;gap:8px}.brand-mark{font-size:29px}.top-brand small{font-size:7px;letter-spacing:.5px}.top-navigation{grid-column:1/-1;grid-row:2;padding:3px 0;gap:8px}.top-nav{font-size:14px;padding:10px 18px}.topbar .header-actions{grid-column:2;grid-row:1}.topbar .shift-action{font-size:12px;padding:10px;gap:6px}.page-heading{padding:14px;align-items:flex-start;flex-direction:column;gap:5px}.page-heading h1{font-size:23px}.page-heading>span{font-size:11px}.notice{padding-left:14px;padding-right:14px}}@media(min-width:761px)and (max-width:950px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-page{padding:24px 28px;overflow:auto;flex:1;min-height:0}.admin-page h1{margin:0;font-size:25px}.admin-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.admin-toolbar>input{flex:1;min-width:200px}.admin-toolbar label{display:flex;align-items:center;gap:10px;font-size:13px}.admin-toolbar select{min-width:180px;max-width:300px}.admin-toolbar>span{font-size:12px;color:#667a6c;margin-left:auto}.new-product{width:auto}.admin-login,.admin-card{background:#fff;border:1px solid #dce5de;border-radius:12px;padding:24px}.admin-login{max-width:440px;margin:35px auto}.admin-page label{display:block;font-size:14px;margin:16px 0}.admin-page input,.admin-page select{margin-top:6px}.admin-page p{font-size:14px;line-height:1.6}.admin-help{color:#65766b}.admin-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-card h2{margin-bottom:12px}.member-list{padding:0;list-style:none}.member-list li{display:flex;gap:8px;align-items:center;padding:10px 0;flex-wrap:wrap;font-size:13px}.member-list li span{flex:1}.product-thumb{height:46px;width:46px;object-fit:cover;border-radius:7px;margin-right:12px;vertical-align:middle}.product-code{display:block;color:#728177;margin-top:5px}.product-editor{width:800px}.editor-fields{padding:0;margin:0;border:0;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.editor-fields textarea{width:100%;min-height:70px;border:1px solid #dce2e0;border-radius:8px;padding:10px;font:inherit;display:block;margin-top:8px}.editor-row{display:flex;gap:10px;align-items:end;margin-bottom:12px}.editor-row label{flex:1;min-width:0;margin:8px 0}.editor-row>.outline{margin-bottom:8px}.editor-section{padding:18px 0;border-top:1px solid #e0e7e2;margin-top:18px}.editor-section h3{margin:0 0 8px;font-size:17px}.editor-section>p{font-size:12px;color:#637568}.image-editor{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.image-editor img{width:80px;height:80px;object-fit:cover;border-radius:8px}.image-editor input{max-width:270px}.option-editor{border:1px solid #dce5de;border-radius:8px;padding:14px;margin:14px 0}.option-group{border:1px solid #dce5de;border-radius:8px;margin:16px 0;padding:12px}.option-group legend{font-size:14px}.dialog .option-choice{display:flex;align-items:center;gap:10px;margin:12px 0}.option-choice input{width:18px;height:18px;margin:0;flex-shrink:0}.option-choice span{margin-left:auto}.combo-summary{background:#f3f6f2;padding:14px;border-radius:8px;margin:12px 0}.combo-summary p{margin:6px 0}.button-row{display:flex;gap:8px;flex-wrap:wrap}.product-placeholder{display:grid;place-items:center;aspect-ratio:4/3;background:#e8eee3;color:#486340;border-radius:8px;font-size:34px;font-weight:800}.catalog-warning{font-size:12px;color:#755626;padding:8px 0}.topbar .top-brand{max-width:230px}.top-brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:950px){.admin-settings{grid-template-columns:1fr}.admin-toolbar>span{margin-left:0}.admin-page{padding:18px}.editor-row{flex-wrap:wrap}.editor-row label{min-width:130px}.topbar{gap:10px}}@media(max-width:600px){.form-grid{grid-template-columns:1fr}.admin-toolbar{gap:8px}.admin-login{margin:10px auto}.top-brand{max-width:180px!important}}.catalog-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid #d7e3dc;border-radius:10px;background:#f4f8f2;font-size:14px}.catalog-link button{flex-shrink:0}@media(max-width:760px){.catalog-link{align-items:stretch;flex-direction:column}}.help-docs details{border-bottom:1px solid #dce5df;padding:16px 0}.help-docs summary{cursor:pointer;font-weight:700}.help-docs p{line-height:1.65}.admin-card details{margin:12px 0}.admin-page>.categories{margin:16px 0}.fiscal-checklist{margin-bottom:20px}.fiscal-checklist li{margin:10px 0;line-height:1.5}.ruc-input{display:flex;gap:8px;align-items:center}.ruc-input input{flex:1;min-width:0}.ruc-input button{flex-shrink:0}.ruc-result{background:#f3f7f4;border:1px solid #dce5df;border-radius:8px;padding:14px}.ruc-result dl>div{margin:8px 0}.ruc-result dt{font-weight:600}.ruc-result dd{margin:3px 0;overflow-wrap:anywhere}.ruc-result pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-size:12px}
