:root{font-family:Inter,system-ui,Arial,sans-serif;color:#0f172a;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}.shell{max-width:1180px;margin:auto;min-height:100vh}.top{position:sticky;top:0;z-index:5;background:#0f172a;color:#fff;padding:16px 18px;display:flex;justify-content:space-between;align-items:center}.brand{font-weight:800}.user{font-size:13px;opacity:.9}.tabs{display:flex;gap:7px;padding:10px;background:#fff;border-bottom:1px solid #e2e8f0;overflow:auto;position:sticky;top:56px;z-index:4}.tabs button,.btn{border:0;border-radius:11px;padding:11px 14px;font-weight:700;cursor:pointer}.tabs button{background:#eef2f7;white-space:nowrap}.tabs button.active,.btn.primary{background:#0f172a;color:white}.btn.ok{background:#166534;color:#fff}.btn.warn{background:#fff7ed;color:#9a3412}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:14px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 5px 18px #0f172a0a}.metric b{display:block;font-size:25px;margin-top:5px}.section{padding:0 14px 14px}.section h2{margin:8px 0 12px}.row{display:flex;gap:10px;align-items:center;justify-content:space-between}.item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:13px;margin:8px 0}.muted{color:#64748b;font-size:13px}.status{font-size:12px;font-weight:800;padding:5px 8px;border-radius:999px;background:#e2e8f0}.status.confirmed{background:#dcfce7;color:#166534}.status.completed{background:#dbeafe;color:#1d4ed8}.status.pending{background:#fef3c7;color:#92400e}.fab{position:fixed;right:20px;bottom:22px;width:58px;height:58px;border-radius:50%;border:0;background:#0f172a;color:white;font-size:30px;box-shadow:0 10px 25px #0f172a44}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px;margin:6px 0 12px;font:inherit}label{font-size:13px;font-weight:700}dialog{border:0;border-radius:18px;padding:0;max-width:560px;width:calc(100% - 24px)}dialog::backdrop{background:#02061788}.modal{padding:18px}.actions{display:flex;gap:8px;flex-wrap:wrap}.login{max-width:420px;margin:12vh auto;background:#fff;border-radius:18px;padding:24px;border:1px solid #e2e8f0}.login h1{font-size:24px}.public{max-width:560px;margin:24px auto;padding:14px}.receipt{background:#fff;border:1px solid #cbd5e1;padding:22px;border-radius:12px}.filterbar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.empty{padding:25px;text-align:center;color:#64748b}@media(max-width:760px){.grid{grid-template-columns:repeat(2,1fr)}.filterbar{grid-template-columns:1fr 1fr}.top{padding:14px}.tabs{top:52px}.row{align-items:flex-start}.card{padding:13px}}
.company-head{display:grid;grid-template-columns:110px 1fr auto;gap:16px;align-items:center;background:#0b3d8f;color:#fff;padding:14px 16px;border-radius:12px;margin-bottom:18px}
.company-logo svg{width:94px;height:78px;display:block}.company-info,.company-contact{display:flex;flex-direction:column;gap:3px}.company-info b{font-size:18px}.company-head span{font-size:13px}
.official-doc{background:#fff;border:3px solid #0b3d8f;border-radius:14px;padding:18px;color:#0f172a}.doc-title{text-align:center;color:#0b2f72;font-size:28px;margin:18px 0 22px}.doc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;border:2px solid #0b3d8f;border-radius:12px;padding:14px}
.warranty-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;border:2px solid #0b3d8f;border-radius:12px;padding:14px}.warranty-caption{margin:18px auto 10px;border:2px solid #0b3d8f;border-radius:999px;text-align:center;font-weight:800;padding:6px 14px;color:#0b2f72;max-width:420px}
.warranty-copy{font-size:15px;line-height:1.55}.warranty-copy p{margin:10px 0}.number-chip{display:inline-flex;width:30px;height:30px;border-radius:50%;background:#0b3d8f;color:white;align-items:center;justify-content:center;font-weight:800;margin-right:10px}.indent{padding-left:42px}.preventive{text-align:right;border-bottom:1px solid #64748b;padding-bottom:4px}
.payment-strip{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;font-size:13px;font-weight:700;margin:10px 0}.signature-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:34px}.signature-row>div{min-height:56px;border-bottom:2px solid #64748b;display:flex;flex-direction:column;justify-content:flex-end;text-align:center}.signature-row small{font-size:11px}.doc-actions{margin-top:12px}
.public>.company-head{max-width:560px;margin:0 auto 14px}
@media(max-width:620px){.company-head{grid-template-columns:78px 1fr}.company-contact{grid-column:2}.company-logo svg{width:70px;height:60px}.warranty-fields,.doc-grid{grid-template-columns:1fr}.official-doc{padding:11px}.doc-title{font-size:22px}.payment-strip{justify-content:flex-start}.signature-row{gap:20px}.indent{padding-left:18px}}
@media print{.doc-actions{display:none}.official-doc{border-color:#0b3d8f!important}.company-head{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Real brand identity */
.brand-compact{display:flex;align-items:center;gap:10px}
.brand-compact img{width:48px;height:48px;object-fit:cover;border-radius:10px;display:block}
.brand-compact b{font-size:18px;line-height:1.1}
.app-brand-wrap{display:flex;flex-direction:column;gap:4px}
.login>.brand-compact{margin-bottom:18px}
.top .brand-compact img{width:42px;height:42px;border-radius:9px}
.company-head{grid-template-columns:92px 1fr auto}
.company-logo-real{width:86px;height:86px;object-fit:cover;border-radius:12px;display:block}
.public-order-head{max-width:560px;margin:0 auto 14px;padding:14px 16px;background:#fff;border:1px solid #dbe4f0;border-radius:16px}
.public-order-head .brand-compact{margin-bottom:10px}
.public-order-head h1{margin:4px 0 4px;font-size:24px;color:#0f172a}
.public-order-head p{margin:0;color:#64748b}
@media(max-width:620px){
  .brand-compact img{width:44px;height:44px}
  .brand-compact b{font-size:17px}
  .company-head{grid-template-columns:72px 1fr}
  .company-logo-real{width:66px;height:66px}
  .public-order-head h1{font-size:22px}
}

/* Visual 3D refinement */
body{background:radial-gradient(circle at 15% 0%,#fff 0,#f4f7fb 38%,transparent 60%),linear-gradient(145deg,#edf3fa 0%,#f8fbff 45%,#e8eef7 100%);min-height:100vh}
.shell{perspective:1200px}
.top{box-shadow:0 12px 28px rgba(15,23,42,.22),inset 0 1px 0 rgba(255,255,255,.12)}
.tabs{box-shadow:0 7px 18px rgba(15,23,42,.08)}
.card,.item,.login,.public-order-head,.official-doc,dialog{box-shadow:0 15px 30px rgba(15,23,42,.10),0 3px 7px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.9)}
.card,.item,.login,.public-order-head{background:linear-gradient(145deg,#fff,#f8fbff)}
.card{transform:translateZ(0);transition:transform .16s ease,box-shadow .16s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 20px 36px rgba(15,23,42,.13),0 5px 10px rgba(15,23,42,.08)}
.btn,.tabs button{box-shadow:0 6px 12px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.58);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.btn:hover,.tabs button:hover{transform:translateY(-1px);filter:brightness(1.02)}
.btn:active,.tabs button:active{transform:translateY(1px);box-shadow:0 2px 5px rgba(15,23,42,.14),inset 0 1px 2px rgba(15,23,42,.12)}
.btn.primary,.tabs button.active{background:linear-gradient(145deg,#17243b,#0b1220)}
.btn.ok{background:linear-gradient(145deg,#1b7a43,#14532d)}

.fab{background:linear-gradient(145deg,#1d2d49,#0b1220);box-shadow:0 16px 28px rgba(15,23,42,.28),inset 0 1px 0 rgba(255,255,255,.18);transition:transform .15s ease}
.fab:hover{transform:translateY(-2px) scale(1.02)}
.metric b{text-shadow:0 1px 0 #fff}
input,select,textarea{background:linear-gradient(#fff,#fbfdff);box-shadow:inset 0 2px 5px rgba(15,23,42,.05),0 1px 0 rgba(255,255,255,.9)}
.company-head{box-shadow:0 12px 24px rgba(11,61,143,.22),inset 0 1px 0 rgba(255,255,255,.18)}
.brand-compact img,.company-logo-real{box-shadow:0 8px 18px rgba(2,6,23,.22),inset 0 1px 0 rgba(255,255,255,.25)}
.status{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 3px 8px rgba(15,23,42,.08)}
@media(max-width:760px){.card:hover{transform:none}.card,.item,.login,.public-order-head{box-shadow:0 10px 22px rgba(15,23,42,.09),0 2px 5px rgba(15,23,42,.06)}}
