:root{font-family:'DM Sans',Arial,sans-serif;color:#302d2a;background:#faf8f6;font-size:14px;--ink:#302d2a;--muted:#8b837d;--rose:#a76d69;--line:#eee7e2;--card:#fff;--bg:#faf8f6}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.loading{padding:4rem;text-align:center;color:var(--rose)}.shell{min-height:100vh}.side{width:245px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:4px 7px 42px}.brand-mark{width:38px;height:38px;border-radius:11px;background:#b47772;color:#fff;display:grid;place-items:center;font-size:20px}.brand strong{display:block;font-family:'Playfair Display',Georgia,serif;font-size:22px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#a79a93;margin-top:3px;font-weight:700}.nav-label,.eyebrow,.subhead{font-size:10px;font-weight:700;letter-spacing:1.35px;color:#b09e96}.nav-label{padding:0 12px 13px}nav{display:grid;gap:5px}nav button{border:0;background:transparent;color:#867c75;text-align:left;padding:12px;border-radius:9px;font-weight:600;display:flex;align-items:center;gap:12px}nav button:hover,nav button.active{background:#f6eae7;color:#a56560}.side-note{margin-top:auto;background:#f8f2ef;border-radius:12px;padding:17px;color:#8e655f}.side-note strong{font-family:'Playfair Display',Georgia,serif;font-size:15px}.side-note p{font-size:11px;line-height:1.55;color:#a7978e;margin-bottom:0}.side-footer{font-size:9px;letter-spacing:1px;color:#c4b8b1;padding:20px 0 0;text-align:center}main{margin-left:245px;min-width:0}.top{height:70px;background:#ffffffbd;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;color:#aa9e97;font-size:10px;letter-spacing:1px;font-weight:700}.top b{padding:0 9px;color:#ddd2cb}.top-right{display:flex;align-items:center;gap:14px}.avatar{width:34px;height:34px;border-radius:50%;background:#efe0d9;color:#a46c65;display:grid;place-items:center;font-family:'Playfair Display',serif;font-size:15px}.logout{border:0;background:transparent;color:#9a766e;font-size:11px;font-weight:700}.content{max-width:1400px;margin:auto;padding:38px 40px 70px}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{color:#b47b74;margin-bottom:10px}.eyebrow span{padding-left:4px}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;font-weight:600;margin:0}h1{font-size:34px;letter-spacing:-.6px}h2{font-size:19px}h3{font-size:16px}.heading p,.card-head p{color:var(--muted);margin:8px 0 0;line-height:1.5}.primary,.outline{border-radius:8px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px}.primary{background:#aa706b;border:1px solid #aa706b;color:white}.primary:hover{background:#955f5a}.outline{background:white;border:1px solid #decac3;color:#a16a64}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:21px}.stat,.card{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 18px #5b423108}.stat{padding:20px;position:relative;min-height:126px}.stat>span{font-size:9px;color:#a4968d;font-weight:700;letter-spacing:1px}.stat strong{display:block;font-family:'Playfair Display',Georgia,serif;font-size:26px;margin:14px 0 6px}.stat small{color:#aaa099;font-size:11px}.dashboard-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.card{padding:23px}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.card-head p{font-size:12px}.text-btn{border:0;background:none;color:#ae7771;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:4px;padding:3px}.product-row,.history-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f3eeeb}.product-row:last-child,.history-row:last-child{border:0}.product-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#f8efeb;color:#bc8b80;font-size:20px;overflow:hidden}.product-mark img{width:100%;height:100%;object-fit:cover}.grow{flex:1;min-width:0}.product-row strong,.history-row strong{font-size:12px}.product-row small,.history-row small{display:block;font-size:11px;color:#a59b94;margin-top:4px}.pill{background:#edf4ee;color:#72957b;font-size:10px;font-weight:700;border-radius:20px;padding:6px 9px;white-space:nowrap}.pill.low{background:#f9ece8;color:#b47870}.empty{text-align:center;padding:34px 10px 22px;color:#a79a92}.empty>div{font-size:28px;color:#c99d92;margin-bottom:10px}.empty strong{display:block;color:#76665d;font-family:'Playfair Display',Georgia,serif;font-size:15px}.empty p{font-size:12px;line-height:1.6;max-width:300px;margin:9px auto 15px}.tip{background:#f4e9e4;border:1px solid #efded6;border-radius:12px;margin-top:20px;display:flex;align-items:center;gap:14px;padding:18px 22px;color:#a57168}.tip>span{font-size:22px}.tip strong{font-family:'Playfair Display',Georgia,serif;font-size:15px}.tip p{margin:5px 0 0;color:#ad958a;font-size:12px}.tip button{margin-left:auto;border:0;background:none;color:#a76d65;font-weight:700;font-size:11px;white-space:nowrap}.section-gap{margin-top:18px}form{display:grid;gap:15px}label{display:grid;gap:6px;color:#746a64;font-size:11px;font-weight:700}input,select,textarea{width:100%;border:1px solid #e9e1dc;border-radius:7px;background:#fff;color:#403a36;padding:10px 11px;outline:none;min-width:0}textarea{min-height:82px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#bb8982;box-shadow:0 0 0 3px #f7eae7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint,.muted{font-size:11px;line-height:1.6;color:#a49a93;margin:0}.subhead{margin-top:6px}.price-product{border-top:1px solid #f0e9e5;padding:15px 0}.price-product small{color:#a69a92;display:block;margin:6px 0}.price-list>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8b7e77;padding:6px 0}.price-list strong{color:#9f6a63;text-align:right}.sale-item,.purchase-editor,.user-card,.catalog-editor{border:1px solid #f0e7e2;border-radius:9px;padding:13px;display:grid;gap:12px;background:#fff}.add{justify-self:start}.remove,.row-actions button{border:0;background:none;color:#aa7770;font-size:11px;padding:0}.history-row{justify-content:space-between}.history-row b{white-space:nowrap;font-size:13px}.sale-history{border-bottom:1px solid #f0eae7;padding:4px 0 14px}.sale-history .history-row{border:0}.sale-history.cancelled{opacity:.56}.sale-details{font-size:11px;color:#a1968e;line-height:1.8}.sale-details strong{color:#8b6c62}.row-actions{display:flex;gap:17px;margin-top:10px}.row-actions button{display:flex;align-items:center;gap:5px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.alert{padding:12px 15px;border-radius:8px;margin-bottom:17px;font-size:12px;display:flex;justify-content:space-between;gap:12px}.alert button{border:0;background:none;font-size:18px;line-height:1;color:inherit}.error{background:#fbeae8;color:#a3413b}.success{background:#eef7ef;color:#517c58}.purchase-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.purchase-item-head,.purchase-list-header{display:flex;justify-content:space-between;align-items:center}.purchase-item-head strong{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#a78176}.purchase-items{max-height:330px;overflow:auto;display:grid;gap:1px}.purchase-list-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #f0eae7;padding:10px 3px}.purchase-list-name{flex:1;min-width:0}.purchase-list-name strong{display:block;font-size:12px;overflow-wrap:anywhere}.purchase-list-name small{display:block;font-size:10px;color:#a0958d;margin-top:4px}.purchase-list-total{white-space:nowrap;font-size:11px}.purchase-list-actions{display:flex;gap:4px}.purchase-list-actions button{display:inline-flex;align-items:center;gap:3px;border:0;background:none;color:#a66f68;font-size:10px;padding:5px}.purchase-list-header{font-size:12px}.purchase-list-header span{font-size:11px;color:#a79a92}.item-error{color:#a3413b;background:#fbeae8;border-radius:6px;padding:9px;margin:5px 0 0;font-size:11px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.catalog-editor{grid-template-columns:92px 1fr;align-items:start}.catalog-preview{width:92px;height:115px;border-radius:7px;background:#f8efeb;object-fit:cover}.catalog-fields{display:grid;gap:10px;min-width:0}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.user-card{grid-template-columns:1fr auto;align-items:center}.user-card small{display:block;color:#9a8c84;font-size:11px;margin-top:5px}.user-actions{display:flex;gap:8px;align-items:center}.user-actions button{border:0;background:none;color:#a76d69;font-size:11px;font-weight:700}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(100%,470px);background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 14px 45px #5b42310c}.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:27px}.auth-brand .brand-mark{flex:none}.auth-card h1{font-size:28px}.auth-card>p{color:var(--muted);font-size:12px;line-height:1.6}.auth-card form{margin-top:20px}.password-hint{font-size:10px;color:#9c8d84;line-height:1.5}.notice{color:#a3413b;font-size:12px;line-height:1.5;margin:12px 0}.sale-line{border:1px solid #f0e7e2;border-radius:8px;padding:12px;display:grid;gap:10px}.line-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#a78176;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.pill-list{display:flex;gap:8px;flex-wrap:wrap}.link{color:#a76d69;text-decoration:none;font-weight:700}.menu-button,.close-mobile{display:none}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.content{padding:32px 25px}.top{padding:0 25px}.catalog-grid{grid-template-columns:1fr}}
@media(max-width:760px){.side{transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 30px #3b30201a}.side.open{transform:translateX(0)}.close-mobile{display:block;border:0;background:none;margin-left:auto;color:#9b8a80}.menu-button{display:block;border:0;background:none;color:#8d756d;padding:0}.top{height:60px;gap:12px;padding:0 16px}.top>span{flex:1;font-size:9px}.top b{padding:0 4px}main{margin-left:0}.content{padding:27px 15px 45px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:29px}.heading .primary{width:100%}.stats{gap:9px}.stat{padding:14px;min-height:112px}.stat strong{font-size:21px}.dashboard-grid,.two-col{grid-template-columns:1fr}.card{padding:18px}.tip{align-items:flex-start;flex-wrap:wrap}.tip button{margin-left:35px}.form-grid{gap:9px}.catalog-editor{grid-template-columns:72px 1fr}.catalog-preview{width:72px;height:96px}.user-card{grid-template-columns:1fr}.user-actions{justify-content:flex-start}.auth-card{padding:25px 21px}}
@media(max-width:430px){.purchase-list-actions button span{display:none}.purchase-list-row{gap:6px}.purchase-list-actions button{padding:6px}.purchase-fields{grid-template-columns:1fr 1fr;gap:7px}.top-right{gap:8px}.logout{font-size:10px;padding:4px}}
.brand-mark{overflow:hidden;flex:none}.brand-logo{width:100%;height:100%;object-fit:contain;background:transparent;border-radius:inherit}.brand-preview{display:flex;align-items:center;gap:13px;padding:18px;border-radius:12px;background:var(--brand-background);color:var(--brand-text);border:1px solid var(--line);margin:5px 0 18px}.brand-preview .brand-mark{width:44px;height:44px;border-radius:10px}.brand-preview strong{display:block;font-family:'Playfair Display',Georgia,serif;font-size:19px}.brand-preview small{display:block;color:var(--muted);font-size:9px;letter-spacing:1px;margin-top:4px}.color-swatches{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:16px 0 22px}.color-swatches>div{display:flex;align-items:center;gap:9px}.color-swatches span{width:35px;height:35px;border:1px solid var(--line);border-radius:8px;flex:none}.color-swatches small{font-size:10px;line-height:1.6;color:#867c75}input[type=color]{height:42px;padding:4px;cursor:pointer}
.visibility-settings{margin-bottom:18px}
.sales-history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:16px 0 20px;align-items:end}.sales-filter-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;min-height:42px}.sales-filter-meta small{line-height:1.5}@media(max-width:430px){.sales-history-filters{grid-template-columns:1fr}}
