:root{color:#ece9df;background:#0b0c0e;font-family:Inter,system-ui}*{box-sizing:border-box}body{margin:0}.layout{grid-template-columns:230px 1fr;min-height:100vh;display:grid}aside{background:#111216;border-right:1px solid #292a2f;padding:25px 15px}aside h1{letter-spacing:.12em;padding:0 10px 25px}aside h1 span{color:#c4a563}aside button{text-align:left;color:#aaa;background:0 0;border:0;border-radius:8px;width:100%;margin:2px 0;padding:11px 13px;display:block}.active{color:#d5b66f!important;background:#c4a56322!important}main{padding:30px}header{border-bottom:1px solid #292a2f;justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}header span,small{color:#888}.cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;display:grid}.cards article,.table,.actions{background:#15161a;border:1px solid #292a2f;border-radius:12px;padding:20px}.cards b{color:#d4b36b;margin-top:10px;font-size:28px;display:block}.table{max-height:75vh;overflow:auto}.table pre{color:#ccc;font:12px/1.5 ui-monospace}.error{color:#ff8b8b}.actions{margin-bottom:16px}.actions h3{margin-top:0}.actions>div{flex-wrap:wrap;gap:8px;display:flex}.actions input,.actions select,.actions textarea{color:#eee;background:#202126;border:1px solid #34353a;border-radius:7px;padding:9px}.actions button{color:#111;background:#c4a563;border:0;border-radius:7px;padding:9px 13px;font-weight:600}.actions small{margin-top:9px;display:block}@media (width<=700px){.layout{grid-template-columns:1fr}aside{padding:10px;display:flex;overflow:auto}aside h1{display:none}aside button{white-space:nowrap;width:auto}main{padding:18px}}.product-list{gap:10px;display:grid}.product-list article{background:#15161a;border:1px solid #292a2f;border-radius:12px;grid-template-columns:90px 1fr;gap:14px;padding:10px;display:grid}.product-list img,.product-placeholder{object-fit:contain;background:#202126;border-radius:8px;width:90px;height:100px}.product-placeholder{color:#777;place-items:center;font-size:11px;display:grid}.product-list b,.product-list small,.product-list span,.product-list em{display:block}.product-list p{color:#aaa;margin:6px 0}.product-list em{color:#e0b35d;margin-top:5px;font-size:12px}.receipt-table{background:#15161a;border:1px solid #292a2f;border-radius:16px;margin-top:16px;padding:16px;overflow-x:auto}.receipt-table table{border-collapse:collapse;width:100%;min-width:760px}.receipt-table th,.receipt-table td{text-align:left;border-bottom:1px solid #292a2f;padding:10px}.receipt-table select{color:#eee;background:#202126;border:1px solid #34353a;border-radius:6px;min-width:150px;padding:6px}.project-settings{gap:16px;display:grid}.settings-block{background:#15161a;border:1px solid #292a2f;border-radius:12px;padding:20px}.settings-block h3{margin-top:0}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.setting-field{align-items:center;gap:8px;display:flex}.setting-field:not(:has(input[type=checkbox])){flex-direction:column;align-items:stretch}.setting-field input:not([type=checkbox]){color:#eee;background:#202126;border:1px solid #34353a;border-radius:7px;width:100%;padding:9px}.setting-field code{overflow-wrap:anywhere;color:#b7c4dc}.settings-block button,.save-settings{color:#111;background:#c4a563;border:0;border-radius:7px;margin-top:12px;padding:11px 15px;font-weight:700}.settings-message{color:#74d99f;font-weight:700}.history-list{max-height:320px;overflow:auto}.history-list p{border-bottom:1px solid #292a2f;margin:0;padding:8px 0}.history-list time{color:#8995aa;margin-right:8px}.orders-list{background:#15161a;border:1px solid #292a2f;border-radius:12px;padding:10px;overflow-x:auto}.orders-list table{border-collapse:collapse;width:100%;min-width:600px}.orders-list th,.orders-list td{text-align:left;border-bottom:1px solid #292a2f;padding:12px}.orders-list button{color:#fff;cursor:pointer;background:#202126;border:1px solid #34353a;border-radius:6px;padding:6px 12px}.status{background:#222;border-radius:4px;padding:4px 8px;font-size:12px;font-weight:700}.status.PENDING_CONFIRMATION{color:#d4b36b;background:#3d341f}.status.CONFIRMED,.status.PREPARING,.status.HANDED_TO_DELIVERY,.status.DELIVERED{color:#74d99f;background:#1f3d2d}.status.CANCELLED{color:#ff8b8b;background:#3d1f1f}.order-details{flex-direction:column;gap:16px;display:flex}.details-header{align-items:center;gap:16px;margin-bottom:10px;display:flex}.details-header button{color:#fff;cursor:pointer;background:#202126;border:1px solid #34353a;border-radius:6px;padding:8px 12px}.details-grid{grid-template-columns:1fr;gap:16px;display:grid}@media (width>=900px){.details-grid{grid-template-columns:1fr 1fr}}.card{background:#15161a;border:1px solid #292a2f;border-radius:12px;padding:20px}.card h3{color:#d4b36b;border-bottom:1px solid #292a2f;margin-top:0;padding-bottom:10px}.items-card ul{margin:0;padding:0;list-style:none}.items-card li{border-bottom:1px solid #292a2f;justify-content:space-between;align-items:center;padding:12px 0;display:flex}.items-card li div{flex-direction:column;gap:4px;display:flex}.items-card li div:last-child{align-items:flex-end}.items-card li button{cursor:pointer;background:0 0;border:0;font-size:18px}.danger-text{color:#ff8b8b}.totals{text-align:right;margin-top:16px}.totals p{color:#aaa;margin:4px 0}.totals h3{color:#fff;border-top:0;margin:10px 0 0;font-size:20px}.action-buttons{flex-direction:column;gap:10px;display:flex}.action-buttons button{cursor:pointer;border:0;border-radius:8px;padding:14px;font-size:15px;font-weight:700}.btn-confirm{color:#111;background:#d4b36b}.btn-reject{color:#ff8b8b;background:#3d1f1f}.product-list-admin{overflow-x:auto}.editable-table{border-collapse:collapse;width:100%;min-width:800px}.editable-table th,.editable-table td{text-align:left;border-bottom:1px solid #292a2f;padding:10px;font-size:14px}.editable-table tr.review-needed{background:#ff8b8b0d}.small-input{color:#fff;background:#202126;border:1px solid #34353a;border-radius:4px;width:80px;padding:6px}.modal-overlay{z-index:1000;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:#15161a;border:1px solid #292a2f;border-radius:12px;flex-direction:column;gap:16px;width:100%;max-width:400px;padding:24px;display:flex}.modal-content h3{color:#ece9df;margin:0}.modal-content textarea{color:#eee;resize:vertical;background:#202126;border:1px solid #34353a;border-radius:8px;width:100%;padding:12px;font-family:inherit}.modal-actions{justify-content:flex-end;gap:12px;display:flex}.modal-actions button{padding:10px 16px;font-size:14px}
