:root{--ink:#17323d;--brand:#0f5368;--accent:#e19a22;--bg:#f3f6f5;--line:#dbe4e3;--white:#fff;--muted:#64767c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}nav{height:68px;padding:0 max(20px,calc((100% - 980px)/2));display:flex;align-items:center;justify-content:space-between;background:#103d4c;color:white}.brand{font-size:21px;font-weight:800;color:white;text-decoration:none}.brand span{color:#efb34d}nav>div{display:flex;gap:12px;align-items:center}.inline{display:inline}.link{border:0;padding:5px;background:none;color:white;text-decoration:underline}.user{opacity:.8}main{max-width:980px;margin:auto;padding:28px 20px 60px}.hero{padding:18px 0 6px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--brand)}h1{font-size:clamp(28px,6vw,42px);line-height:1.1;margin:8px 0 24px}h2{margin-top:32px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 28px}.stats div{background:white;border:1px solid var(--line);border-radius:14px;padding:16px}.stats strong{display:block;font-size:26px}.stats span,.muted{color:var(--muted)}.actions{display:grid;gap:14px}.action{display:flex;align-items:center;gap:18px;min-height:94px;padding:20px;border:1px solid var(--line);border-radius:18px;background:white;color:var(--ink);text-decoration:none;box-shadow:0 3px 14px #17323d0c}.action:hover{transform:translateY(-1px);box-shadow:0 6px 24px #17323d15}.action b{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#e8f0f1;color:var(--brand);font-size:29px}.action span{font-size:20px;font-weight:750}.action small{display:block;font-size:14px;font-weight:400;color:var(--muted)}.action.primary{background:var(--brand);color:white;border:0}.action.primary b{background:#ffffff1c;color:white}.action.primary small{color:#d8e6ea}.card{background:white;border:1px solid var(--line);padding:clamp(20px,5vw,36px);border-radius:20px}.auth{max-width:430px;margin:10vh auto}.auth h1{margin-bottom:4px}.auth .muted{margin:0 0 25px}label{display:block;font-weight:650;margin:15px 0}input,select{width:100%;min-height:52px;margin-top:7px;padding:12px 14px;border:1px solid #bfcfce;border-radius:11px;background:white;font:inherit;color:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:10px 19px;border:1px solid #abc0c1;border-radius:11px;background:white;color:var(--ink);font:700 16px inherit;text-decoration:none;cursor:pointer}.primary{border-color:var(--brand)!important;background:var(--brand)!important;color:white!important}.wide{width:100%;margin-top:14px}.steps{display:flex;gap:4px;margin:0 0 18px}.steps span{flex:1;padding:9px 4px;border-bottom:4px solid #d7e1e0;color:#819095;font-size:13px;text-align:center}.steps span.active{border-color:var(--accent);color:var(--ink);font-weight:800}.step{display:none}.step.active{display:block}.type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}.type{margin:0}.type input{position:absolute;opacity:0;width:1px;height:1px}.type span{min-height:66px;display:grid;place-items:center;padding:10px;border:2px solid var(--line);border-radius:13px;text-align:center}.type input:checked+span{border-color:var(--brand);background:#e9f2f3;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo{padding:20px;border:2px dashed #b7c9c8;border-radius:14px}.photo input{position:absolute;opacity:0;width:1px}.photo span{display:grid;place-items:center;min-height:100px;color:var(--brand);text-align:center}.row{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.wrap{flex-wrap:wrap}.success{text-align:center;max-width:660px;margin:auto}.check{width:56px;height:56px;display:grid;place-items:center;margin:auto;border-radius:50%;background:#dff3e8;color:#167044;font-size:30px}.success h1{color:var(--brand);font-size:50px}.copy{display:flex}.copy input{margin:0;border-radius:11px 0 0 11px}.copy button{border-radius:0 11px 11px 0}.qr{width:min(100%,320px);image-rendering:pixelated}.page-head,.device-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.page-head h1{margin-bottom:12px}.search{display:flex;margin:14px 0 22px}.search input{margin:0;border-radius:12px 0 0 12px}.search button{border-radius:0 12px 12px 0;background:var(--brand);color:white}.device-list{display:grid;gap:9px}.device-list>a{display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:12px;padding:16px;background:white;border:1px solid var(--line);border-radius:12px;color:inherit;text-decoration:none}.device-list span{color:var(--muted)}.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#e5ebeb;font-size:13px;font-weight:750;white-space:nowrap}.badge.available{background:#dff3e8;color:#167044}.badge.in_use{background:#e3eef7;color:#175a83}.badge.defective{background:#fde6e2;color:#a63227}.badge.repair{background:#fff0cf;color:#845b00}.badge.retired{background:#e7e7e7;color:#555}.device-title p{margin:0;color:var(--muted)}.device-title h1{margin:3px 0}.photos{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.photos figure{margin:0;background:white;border-radius:16px;overflow:hidden}.photos img{width:100%;height:300px;display:block;object-fit:cover}.photos figcaption{padding:10px 14px;color:var(--muted)}dl{margin:0}dl div{display:grid;grid-template-columns:180px 1fr;padding:11px 0;border-bottom:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0;font-weight:650}.history{max-width:700px;margin-top:32px}.history>div{display:flex;gap:14px}.dot{width:11px;height:11px;margin-top:7px;border-radius:50%;background:var(--accent)}.history p{margin:0 0 20px}.history small{display:block;color:var(--muted)}.empty,.flash{padding:20px;border-radius:12px;background:white}.flash{margin-bottom:15px}@media(max-width:600px){main{padding:18px 14px 50px}nav{padding:0 14px}.user{display:none}.stats div{padding:12px}.stats strong{font-size:22px}.stats span{font-size:12px}.photo-grid,.photos{grid-template-columns:1fr}.type-grid{grid-template-columns:1fr 1fr}.device-list>a{grid-template-columns:1fr auto}.device-list>a span{grid-column:1/-1;grid-row:2}.photos img{height:230px}dl div{grid-template-columns:1fr}dd{margin-top:3px}.page-head{align-items:flex-start;flex-direction:column}.page-head .button{width:100%}}@media print{nav,.steps,.row,.copy,h2,p{display:none!important}body,main,.card{background:white;border:0}.success h1{display:block}.qr{width:70mm}}
