:root { color-scheme:light; --navy:#132949;--blue:#245da3;--ink:#1f2937;--muted:#64748b;--bg:#f5f7fb;--line:#dce3ed;--white:#fff;--ok:#17804a;--red:#a91d37; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
* {box-sizing:border-box} body {margin:0;background:var(--bg);color:var(--ink)}[hidden]{display:none!important} .topbar{height:74px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1050px)/2))}.brand{display:flex;align-items:center;gap:11px}.brand-mark{height:40px;width:40px;border-radius:10px;border:1px solid #8193ae;display:grid;place-items:center;font-family:Georgia,serif;font-size:24px}.brand strong,.brand span{display:block;letter-spacing:.11em}.brand strong{font-size:15px}.brand span{opacity:.75;font-size:10px;margin-top:2px}.topbar .quiet{color:#fff;background:transparent;border-color:#68809e}.wrap{max-width:1050px;margin:0 auto;padding:29px 20px 65px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.15em;color:#59749b}.pagehead h1,h1{font-size:31px;letter-spacing:-.035em;margin:6px 0}.muted{color:var(--muted)}.compact{margin-top:0;font-size:14px}.pill{border-radius:100px;background:#e6edfa;color:#284e86;padding:8px 12px;font-size:11px;font-weight:700;white-space:nowrap}.panel{background:var(--white);border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 26px rgba(23,39,70,.04);padding:25px}.auth{max-width:480px;margin:65px auto}.auth h1{margin-bottom:6px}.tabs{display:flex;gap:10px;margin:0 0 20px}.tab{cursor:pointer;border:1px solid var(--line);background:#fff;color:#39516d;border-radius:10px;padding:12px 17px;font-size:14px;font-weight:750}.tab.active{background:var(--navy);border-color:var(--navy);color:#fff}#registerView{max-width:680px}h2{margin:0 0 8px;font-size:21px;letter-spacing:-.02em}form{display:flex;flex-direction:column}label{font-size:13px;font-weight:750;margin:18px 0 8px}input,select{font:inherit;width:100%;padding:13px 14px;border-radius:10px;border:1px solid #c8d4e4;background:#fff;color:var(--ink)}input:focus,select:focus{outline:2px solid #8ab9fa;outline-offset:1px}input[type="radio"]{width:auto}.hint{display:block;color:var(--muted);font-size:12px;margin:7px 0 0}.offscreen{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.photo-target{margin-top:0;min-height:154px;background:#f8faff;border:2px dashed #b8c9e0;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;gap:7px}.photo-target strong{font-size:14px}.photo-target small{color:var(--muted);font-size:12px}.photo-target .camera{font-size:35px;color:var(--blue)}#photoPreview{max-width:100%;max-height:260px;object-fit:contain;border-radius:9px;margin-top:8px}.box-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:2px}.box-choices label{margin:0;cursor:pointer}.box-choices input{position:absolute;opacity:0}.box-choices span{display:flex;align-items:center;flex-direction:column;gap:6px;border:2px solid var(--line);border-radius:12px;padding:15px 6px;font-size:12px;color:#65758a}.box-choices b{font-size:27px;color:var(--navy)}.box-choices input:checked + span{border-color:var(--blue);background:#eaf2ff}.box-choices input:focus-visible + span{outline:2px solid #2674d2}button,.link-button{font:inherit;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:12px 17px;border:1px solid transparent;font-size:14px;font-weight:700;text-decoration:none}.primary{background:var(--navy);color:#fff}.primary:hover{background:#244669}.primary:disabled{opacity:.55;cursor:wait}.secondary{background:#f0f5fc;border-color:#c5d4e7;color:#244e80}.quiet{background:#fff;border:1px solid var(--line);color:var(--navy)}.wide{width:100%;margin-top:19px}.feedback{font-size:13px;margin:12px 0 0;min-height:16px}.error{color:var(--red)}.success-text{color:var(--ok)}.notice{padding:14px 17px;border-radius:10px;margin-bottom:20px}.danger{color:#961b36;background:#fff0f2;border:1px solid #f2bbc7}.gallery-controls{margin-bottom:22px}.control-row{display:flex;justify-content:space-between;align-items:center}.gallery-state{text-align:center;padding:18px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.item-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:left;padding:0;color:inherit;cursor:pointer;box-shadow:0 4px 15px rgba(23,39,70,.04)}.item-card:hover{outline:2px solid #8db9ed}.card-photo{height:215px;width:100%;object-fit:cover;background:#e4eaf2;display:block}.card-body{padding:14px}.card-id{font-size:15px;font-weight:800;color:var(--navy)}.card-property{font-size:13px;color:var(--muted);margin-top:4px;min-height:19px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:12px}.box-tag{background:#eaf0fc;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:800;color:#204f89}.card-date{font-size:11px;color:#62758e}.success{max-width:570px;text-align:center}.success-symbol{width:61px;height:61px;border-radius:50%;display:grid;place-items:center;margin:3px auto 15px;background:#e1f6e9;color:var(--ok);font-size:35px}.success h2{font-size:26px}.success-summary{font-size:16px;line-height:2}.footer{font-size:11px;color:#7e8fa2;text-align:center;padding:12px}.item-dialog{border:0;border-radius:16px;width:min(730px,calc(100vw - 28px));max-height:92vh;padding:0;box-shadow:0 15px 60px #17294344}.item-dialog::backdrop{background:#11233d99}.dialog-head{padding:15px 19px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialog-body{padding:16px 20px 22px;overflow-y:auto;max-height:calc(92vh - 70px);display:flex;flex-direction:column}.dialog-body img{max-width:100%;max-height:56vh;object-fit:contain;border-radius:9px;background:#f6f8fb}.dialog-meta{padding:13px 0;line-height:1.8;font-size:14px}.dialog-body .link-button{margin-bottom:6px}.dialog-body label{margin-top:14px}@media(max-width:720px){.topbar{padding:0 17px;height:64px}.wrap{padding:22px 14px 56px}.pagehead h1{font-size:28px}.pill{display:none}.panel{padding:20px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card-photo{height:150px}.card-body{padding:10px}.card-id{font-size:13px}.card-property{font-size:12px}.card-date{font-size:10px}.tabs .tab{flex:1;padding:12px 8px}.auth{margin:20px auto}}@media(max-width:360px){.photo-grid{grid-template-columns:1fr}.card-photo{height:240px}}
