:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#192d36;background:#f4f6f6;font-synthesis:none}*{box-sizing:border-box}body,h1,h2,h3,h4,p{margin:0}h1{font-size:1.75rem;letter-spacing:-.035em}h2{font-size:1.15rem;margin-bottom:18px}h3{font-size:1.04rem}small,.hint{color:#788790}.hint{font-size:.85rem;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer;border:0;background:#0d655a;color:#fff;border-radius:9px;padding:12px 16px;font-weight:650}button:hover{filter:brightness(1.06)}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#e7f0ed;color:#175d53}.mark{display:grid;place-items:center;background:#1c8574;color:#fff;border-radius:12px;width:40px;height:40px;font-size:22px;font-weight:800;flex-shrink:0}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(ellipse at 15% 0%,#d3e9e2 0%,transparent 45%),#edf2f0}.auth-card{width:min(100%,425px);padding:36px;border:1px solid #e0e7e4;border-radius:16px;background:#fff;box-shadow:0 16px 40px #133e3520;display:flex;flex-direction:column;gap:16px}.auth-card p{line-height:1.55;color:#667b82}.auth-card form,.form-grid{display:flex;flex-direction:column;gap:16px}.auth-card form{margin-top:6px}.auth-card .notice{color:#894b1a}.auth-card a{color:#0d655a}.centered{display:grid;place-content:center;min-height:100vh;gap:16px;text-align:center}.centered .mark{margin:auto}.shell{display:flex;min-height:100vh}.sidebar{width:248px;flex:0 0 248px;background:#172a33;color:#fff;padding:28px 18px;display:flex;flex-direction:column;gap:32px;min-height:100vh}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:1.1rem}.brand small{display:block;color:#9eb0b7;margin-top:2px}.label-dark{font-size:.78rem;color:#cbd9d8}label{display:flex;flex-direction:column;gap:7px;font-size:.84rem;font-weight:600;color:#445961}input,select{width:100%;padding:11px 12px;border:1px solid #cfdada;border-radius:8px;color:#18313b;background:#fff;min-width:0;outline-offset:1px}input:focus,select:focus{border-color:#12806f;outline:2px solid #12806f28}.sidebar select{background:#253e46;color:#fff;border-color:#435b61;margin-top:8px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav button{text-align:left;background:transparent;color:#b4c7ce;font-weight:500;padding:13px 14px}.sidebar nav button:hover,.sidebar nav .nav-active{background:#25434b;color:#fff}.side-note{margin-top:auto;font-size:.78rem;line-height:1.6;color:#95afb4}.signout{background:#29444b;color:#d7e6e9;text-align:left}.main{flex:1;min-width:0;padding:34px clamp(18px,4vw,60px);max-width:1580px;margin:0 auto}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:38px}header small{font-size:.7rem;font-weight:750;letter-spacing:.14em;color:#77898e}header h1{margin-top:7px}.user{background:#fff;padding:10px 16px;border:1px solid #e0e7e7;border-radius:10px;display:flex;flex-direction:column;text-align:right;gap:5px;font-size:.86rem}.user strong{font-size:.72rem;color:#147468}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.stats article{background:#fff;border-radius:12px;border:1px solid #e2e9e8;padding:22px;display:flex;flex-direction:column;gap:12px}.stats strong{font-size:2rem;letter-spacing:-.04em}.panel{background:#fff;border:1px solid #e0e8e6;border-radius:14px;padding:26px;margin-bottom:24px}.panel p{line-height:1.6;margin-top:10px;color:#5e737a}.panel label{margin-bottom:14px}.table-wrap{max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.86rem;text-align:left}thead{background:#f1f6f5;color:#53696e}th{font-size:.78rem;font-weight:700}th,td{padding:14px 12px;border-bottom:1px solid #ebf0f0}tbody tr:hover{background:#f8fbfa}.form-grid{margin-top:30px;padding-top:26px;border-top:1px solid #e1eae9}.form-grid h3{margin-bottom:6px}.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.variation{background:#f9fbfa;border:1px solid #e3eae8;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:12px}.variation label{margin:0}.actions{display:flex;gap:12px;flex-wrap:wrap}.actions button:last-child{margin-left:auto}.notice{padding:12px 16px;border:1px solid #f0d8ae;background:#fff9eb;border-radius:10px;color:#79521a;margin-bottom:16px}fieldset{border:1px solid #dce6e3;border-radius:10px;padding:14px}legend{font-size:.83rem;font-weight:650;color:#5d7578}.check{flex-direction:row;align-items:center;gap:9px;padding:5px 0}.check input{width:auto}.invite-link{display:flex;align-items:end;gap:10px}.invite-link label{flex:1;margin:0}.invite-link input{font-size:.8rem}footer{margin-top:52px;color:#8a999c;font-size:.78rem}@media(max-width:900px){.sidebar{width:185px;flex-basis:185px;padding:24px 12px}.main{padding:28px 18px}.stats{gap:10px}.stats article{padding:15px}}@media(max-width:690px){.shell{flex-direction:column}.sidebar{width:100%;min-height:auto;flex-basis:auto;padding:14px;gap:13px}.sidebar nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px}.sidebar nav button{white-space:nowrap;font-size:.82rem;padding:10px}.sidebar .side-note,.sidebar .signout{display:none}.label-dark{max-width:280px}.main{padding:20px 13px}header{margin-bottom:20px}header h1{font-size:1.3rem}.user{padding:8px;max-width:150px}.stats{grid-template-columns:1fr 1fr}.stats article:last-child{grid-column:span 2}.panel{padding:16px}.two-cols{grid-template-columns:1fr}.actions{flex-direction:column}.actions button:last-child{margin-left:0}}.stock-module{--line:#e3eae8}.stock-module h3{margin:18px 0 12px}.stock-module p{margin-top:0}.stock-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}.stock-header h2{margin:0 0 7px}.stock-header label{min-width:190px;margin:0}.stock-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.stock-cards article{background:#f4f8f7;border:1px solid var(--line);padding:15px;border-radius:10px;display:flex;flex-direction:column;gap:6px}.stock-cards small{font-size:.76rem}.stock-cards strong{font-size:1.55rem}.stock-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 14px;margin-bottom:10px}.stock-tabs button{padding:10px 13px;background:#eaf0ee;color:#36514e;white-space:nowrap;font-size:.82rem}.stock-tabs button.selected{background:#0d655a;color:#fff}.stock-form{padding:18px;border:1px solid var(--line);border-radius:10px;background:#fcfdfc;margin:18px 0 24px;display:flex;flex-direction:column;gap:12px}.stock-form h3,.stock-form label{margin:0}.stock-form textarea{min-height:85px;padding:11px 12px;font:inherit;border:1px solid #cfdada;border-radius:8px;resize:vertical}.stock-form>button{align-self:start}.stock-line{display:grid;grid-template-columns:2fr 1fr 1.3fr auto;gap:10px;align-items:end;border-top:1px solid var(--line);padding-top:12px}.stock-line label{min-width:0}.stock-line button{margin-bottom:0}.stock-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0}.stock-actions .hint{margin-right:auto}.sku-sub{display:block;color:#829295;font-size:.75rem;margin-top:5px}.warning-chip,.ok-chip{padding:4px 9px;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}.warning-chip{background:#ffebd6;color:#9b5619}.ok-chip{background:#e6f5ef;color:#197454}.stock-select-scroll{max-height:210px;overflow:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 12px}.stock-select-scroll .check{font-size:.8rem;margin:0;padding:6px 0}.qty-field{width:100px!important}.stock-module .table-wrap{margin:12px 0 18px}.stock-module table td:first-child{min-width:150px}.stock-module .notice{margin-top:10px}@media(max-width:790px){.stock-line{grid-template-columns:1fr 1fr}.stock-line label:first-child{grid-column:span 2}.stock-header{align-items:stretch;flex-direction:column}.stock-header label{width:100%}}@media(max-width:520px){.stock-cards{grid-template-columns:1fr 1fr}.stock-cards article:last-child{grid-column:span 2}.stock-line{grid-template-columns:1fr}.stock-line label:first-child{grid-column:span 1}}.sales-module{padding-bottom:24px}.sales-heading{display:flex;gap:16px;justify-content:space-between;align-items:end;margin-bottom:16px}.sales-heading p{color:#607477;margin:4px 0}.sales-heading label{min-width:210px}.sales-mode{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.sales-mode button.chosen{background:#0d655a;color:#fff}.sales-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,.9fr);gap:16px}.sales-catalog,.sales-cart,.sales-detail{background:#fcfdfc;border:1px solid #e3eae8;border-radius:12px;padding:16px;min-width:0}.sales-catalog h3,.sales-cart h3{margin-top:0}.sales-products{max-height:480px;overflow-y:auto}.sales-product{padding:13px 3px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e3eae8}.sales-product strong,.sales-product small,.sales-product span{display:block}.sales-product small,.sales-cart-line small{font-size:.76rem;color:#6d8184;margin-top:4px}.sales-product span{font-size:.83rem;margin-top:4px}.sales-product button{white-space:nowrap}.sales-cart-line{border-bottom:1px solid #e3eae8;padding:11px 0}.sales-cart-line strong,.sales-cart-line small{display:block}.sales-edit{display:flex;align-items:end;gap:8px;margin-top:7px;flex-wrap:wrap}.sales-edit label{flex:1;min-width:82px}.sales-edit label input{width:100%}.sales-edit button{margin-bottom:0}.sales-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;font-size:1.04rem}.sales-total strong{font-size:1.35rem}.sales-cart>button{margin-top:14px;width:100%}.sales-cart>.hint{font-size:.77rem;margin-top:10px}.sales-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px;flex-wrap:wrap}.sales-history-actions,.sales-buttons,.sales-detail-head{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.sales-history-actions select{min-width:135px}.sales-history-actions button,.sales-buttons button,.sales-detail button{font-size:.8rem;padding:8px 10px}.sales-detail{margin-top:16px}.sales-detail-head{justify-content:space-between}.sales-detail h3{margin:0}.sales-module .table-wrap{margin-top:12px}.sales-module .notice{margin-bottom:15px}@media(max-width:860px){.sales-grid{grid-template-columns:1fr}.sales-heading{flex-direction:column;align-items:stretch}.sales-product{align-items:flex-start}.sales-history-actions{width:100%}.sales-history-actions select{flex:1}}.sales-payment-confirm{font-size:.76rem;min-width:170px}.sales-payment-confirm select{display:block;margin-top:4px}.sales-history-actions{align-items:end}.cash-module{display:flex;flex-direction:column;gap:20px}.cash-header{display:flex;justify-content:space-between;gap:18px;align-items:start}.cash-header p{color:#6b8387}.cash-header label{min-width:170px}.cash-toolbar{display:flex;justify-content:space-between;align-items:center;background:#f1f7f5;border-radius:10px;padding:14px;gap:14px}.cash-config,.cash-inline{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:15px;background:#f8fbfa;border:1px solid #e0e9e5;border-radius:10px}.cash-config label,.cash-inline label{flex:1;min-width:145px;margin:0}.cash-config small{width:100%;color:#657b80}.cash-registers{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.cash-card{border:1px solid #dfe8e4;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.cash-card span{color:#59747a;font-size:.88rem}.cash-card label{margin:0}.cash-card small{color:#6b8184}.cash-detail{border-top:1px solid #e0e9e5;padding-top:20px;display:flex;flex-direction:column;gap:16px}.cash-close{border-left:4px solid #b67a34}.cash-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cash-stats article{background:#f3f7f5;padding:16px;border-radius:10px;display:flex;flex-direction:column;gap:8px}.cash-stats strong{font-size:1.35rem}.cash-report{display:flex;flex-direction:column;gap:12px}.cash-close h4{width:100%}@media(max-width:700px){.cash-header{flex-direction:column}.cash-header label{width:100%}.cash-stats{grid-template-columns:1fr}}.transfers-module{display:flex;flex-direction:column;gap:22px}.transfer-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.transfer-head p{color:#658087}.transfer-form{border:1px solid #dbe9e6;background:#f8fbfa;padding:18px;border-radius:12px;display:flex;flex-direction:column;gap:16px}.transfer-form label{margin:0}.transfer-line{display:flex;align-items:end;gap:12px}.transfer-line label{max-width:180px}.transfer-head label{min-width:190px}@media(max-width:690px){.transfer-head{flex-direction:column}.transfer-head label{width:100%}}.returns-area .returns-panel{border:1px solid #d6e0e4;border-radius:12px;padding:16px;margin:18px 0;background:#64828c0d}.returns-area .returns-panel input[type=number]{max-width:95px}.returns-area .returns-panel input[type=checkbox]{width:auto}.returns-area .returns-pending{display:grid;gap:9px}.returns-area .returns-pending>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #dae0e7;padding:8px}.reports-area .reports-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:20px 0}.reports-area .reports-cards article{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #d9e1e6;border-radius:12px}.reports-area .reports-cards article strong{font-size:1.45rem}.reports-area .reports-cards article small{opacity:.7}
