:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#172033;background:#f5f7fb;line-height:1.45}
*{box-sizing:border-box}body{margin:0}.topbar{height:64px;background:#101827;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{font-weight:800;letter-spacing:.08em}.brand span{font-weight:400;opacity:.6}.topbar nav{display:flex;gap:20px}.topbar a{color:#dbe3f0;text-decoration:none;font-size:14px}.container{max-width:1180px;margin:36px auto;padding:0 20px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-head h1{margin:0 0 4px}.muted{color:#69758a}.card{background:white;border:1px solid #e2e7ef;border-radius:14px;padding:24px;box-shadow:0 5px 20px rgba(16,24,39,.04)}h2{font-size:18px;margin:0 0 18px}form label{display:block;font-weight:600;font-size:14px;margin-bottom:16px}input,select{width:100%;margin-top:7px;border:1px solid #ccd4e0;border-radius:8px;padding:11px 12px;background:white;font:inherit}.grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.button,button{border:1px solid #ccd4e0;background:white;padding:10px 14px;border-radius:8px;cursor:pointer;text-decoration:none;color:#172033}.primary{background:#172033;color:white;border-color:#172033}.full{width:100%}.big{font-size:34px;font-weight:800;margin:8px 0 20px}.summary{height:max-content;position:sticky;top:20px}.options{border:1px solid #e2e7ef;border-radius:10px;overflow:hidden;margin-bottom:22px}.option{display:grid;grid-template-columns:1fr 80px 100px 100px;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #edf0f4}.option:last-child{border:0}.check{margin:0!important}.check input{width:auto;margin:0}.unit,.price{color:#69758a;font-size:14px}.qty{margin:0}.flash{padding:12px 14px;border-radius:8px;margin-bottom:16px;background:#eef3fb}.flash.error{background:#fff0f0;color:#9d2222}.auth{max-width:420px;margin:80px auto}.auth h1{margin-bottom:4px}.preview{height:160px;border:1px dashed #c7d0dd;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview div{border:2px solid #172033;position:relative}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:28px}.stats div{background:#f6f8fb;border-radius:10px;padding:14px}.stats span{display:block;color:#69758a;font-size:12px}.stats strong{display:block;margin-top:4px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #edf0f4}th{color:#69758a;font-weight:600}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.inline-form{display:grid;grid-template-columns:1.5fr 1fr 1.5fr auto;gap:8px;margin-bottom:16px}.inline-form input,.inline-form select{margin:0}.admin-grid section:nth-child(2) .inline-form{grid-template-columns:1fr auto}.admin-grid section:nth-child(4) .inline-form{grid-template-columns:1fr 1fr 1fr auto}.auth form{margin-top:24px}@media(max-width:850px){.grid,.admin-grid{grid-template-columns:1fr}.summary{position:static}.two,.three,.stats{grid-template-columns:1fr}.topbar{height:auto;padding:16px;gap:12px;align-items:flex-start;flex-direction:column}.topbar nav{flex-wrap:wrap}.option{grid-template-columns:1fr 70px 90px}.option .qty{grid-column:1/-1}.inline-form{grid-template-columns:1fr!important}}
@media print{.topbar,.page-head button{display:none}.container{margin:0;max-width:none}.card{box-shadow:none}}
