*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#10243d;font-family:Arial,Helvetica,sans-serif}main{min-height:100vh}header{height:88px;background:#123f78;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 6vw}.center{display:grid;place-items:center;padding:28px}.card{background:white;max-width:760px;margin:70px auto;padding:48px;border-radius:24px;box-shadow:0 14px 50px rgba(18,63,120,.1)}.card.test{max-width:1180px}.narrow{max-width:500px;margin:0}.brand{display:flex;align-items:center;gap:12px;font-size:27px}.brand small{display:block;letter-spacing:7px;font-size:10px}.brand-mark{width:42px;height:42px;border:2px solid;border-radius:50%;display:grid;place-items:center;font-weight:800}.eyebrow{color:#1765ba;font-weight:800;letter-spacing:1.5px;font-size:13px}h1{font-size:38px;line-height:1.08;margin:12px 0 18px}.muted{color:#64748b;line-height:1.6}.notice{padding:18px;background:#eef6ff;border-left:4px solid #1765ba;border-radius:10px;margin:25px 0;line-height:1.5}label{display:block;font-weight:700;margin:18px 0 7px}input{width:100%;padding:14px;border:1px solid #ccd6e3;border-radius:10px}button,input{font-size:16px}button{border:0;background:#1765ba;color:white;padding:15px 24px;border-radius:12px;font-weight:800;cursor:pointer;margin-top:20px}button:disabled{opacity:.45;cursor:not-allowed}.ghost{background:transparent;border:1px solid rgba(255,255,255,.5);margin:0}.progress{height:8px;background:#e5edf6;border-radius:10px;overflow:hidden;margin-bottom:28px}.progress span{height:100%;display:block;background:#1765ba}.options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin:22px 0 14px}.option{margin:0;background:white;color:#10243d;border:2px solid #dbe4ee;padding:0;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-width:0;min-height:218px}.option:hover{border-color:#9fbfe6}.option.selected{border-color:#1765ba;background:#eef6ff;box-shadow:0 0 0 2px rgba(23,101,186,.08)}.option img{width:100%;height:155px;object-fit:contain;display:block;background:#fff;padding:10px 12px 2px}.option span{display:block;padding:12px 8px 14px;font-weight:800;line-height:1.15}.test{text-align:center}.test>button:not(.option){margin-top:8px}.orientation-hint{display:none;color:#64748b;font-size:13px;margin:8px 0 0}.loader{color:#1765ba}.error,.loader{font-weight:700}.error{color:#b42318}.classification,.result-box{padding:20px;border-radius:16px;background:#f4f8fc;margin:18px 0;display:flex;justify-content:space-between;align-items:center}.result-box strong{font-size:28px;color:#1765ba}.classification strong{font-size:20px}@media(max-width:650px) and (orientation:portrait){header{height:72px;padding:0 18px}.brand{font-size:21px}.brand-mark{width:38px;height:38px}.card{margin:18px 10px;padding:24px 16px;border-radius:20px}.center .card{margin:0}.card.test{max-width:none}h1{font-size:28px;margin:9px 0 12px}.muted{line-height:1.35;margin:8px 0}.progress{margin-bottom:18px}.options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 10px}.option{min-height:164px}.option img{height:116px;padding:6px 7px 0}.option span{font-size:14px;padding:9px 5px 10px}.orientation-hint{display:block}.test>button:not(.option){margin-top:6px;padding:13px 20px}}@media(max-height:650px) and (orientation:landscape){header{height:58px;padding:0 24px}.brand{font-size:20px}.brand-mark{width:34px;height:34px}.brand small{font-size:8px}.card{margin:10px auto;padding:16px 20px;border-radius:18px}.card.test{max-width:calc(100vw - 24px)}.progress{margin-bottom:10px;height:6px}.eyebrow{font-size:11px}h1{font-size:25px;margin:6px 0 8px}.muted{margin:6px 0;line-height:1.25}.options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0 8px}.option{min-height:132px}.option img{height:88px;padding:4px 6px 0}.option span{font-size:13px;padding:7px 4px 8px}.test>button:not(.option){margin-top:4px;padding:11px 18px}}.brand-logo{display:block;width:165px;max-width:100%;height:auto;object-fit:contain}@media(max-width:700px){.brand-logo{width:145px}}