:root { --blue:#173cc8; --navy:#082c67; --green:#39ad42; --ink:#101828; --muted:#667085; --line:#e6ebf4; --panel:rgba(255,255,255,.92); }
* { box-sizing:border-box; }
html,body,#app { min-height:100%; }
body { margin:0; color:var(--ink); background:#f4f7fc url("/assets/background.jpg") center/cover fixed; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
button,a { -webkit-tap-highlight-color:transparent; } button { font:inherit; }
.splash { min-height:100dvh; display:grid; place-content:center; gap:32px; padding:32px; background:#fff; }
.splash img { width:min(78vw,460px); height:auto; }
.splash-line { height:4px; border-radius:999px; background:linear-gradient(90deg,var(--blue),#6b8cff); animation:load 1s ease both; transform-origin:left; }
@keyframes load { from { transform:scaleX(0); opacity:.3; } to { transform:scaleX(1); opacity:1; } }
.login-screen { min-height:100dvh; display:grid; place-items:center; padding:24px; background:rgba(244,247,252,.78); backdrop-filter:blur(10px); }
.login-panel { width:min(100%,420px); padding:28px 24px 24px; border:1px solid rgba(23,60,200,.1); border-radius:28px; background:rgba(255,255,255,.96); box-shadow:0 24px 70px rgba(10,45,100,.18); text-align:center; }
.login-logo { width:min(72%,260px); max-height:120px; object-fit:contain; }
.login-eyebrow { margin:16px 0 5px; color:var(--blue); font-size:11px; font-weight:800; letter-spacing:.18em; }
.login-panel h1 { margin:0; font-size:25px; letter-spacing:-.03em; }
.login-note { margin:10px auto 20px; color:var(--muted); font-size:14px; line-height:1.45; }
.login-form { display:grid; gap:10px; text-align:left; }
.password-input { width:100%; height:52px; padding:0 16px; border:1px solid #d7e0ee; border-radius:15px; outline:none; color:var(--ink); background:#fff; font:inherit; font-size:16px; }
.password-input:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(23,60,200,.1); }
.login-error { min-height:18px; margin:0 3px; color:#c32929; font-size:13px; }
.login-button { height:52px; border:0; border-radius:15px; color:#fff; background:linear-gradient(135deg,var(--blue),#315ae4); font-weight:800; cursor:pointer; }
.login-button:disabled { opacity:.7; }
.app-shell { min-height:100dvh; padding-bottom:calc(28px + env(safe-area-inset-bottom)); }
.topbar { position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:14px; min-height:86px; padding:calc(12px + env(safe-area-inset-top)) 18px 12px; background:rgba(255,255,255,.88); backdrop-filter:blur(18px); border-bottom:1px solid rgba(13,56,128,.09); }
.brand-mark { color:var(--blue); font-size:38px; font-weight:800; line-height:1; letter-spacing:-5px; }
.brand-mark span { display:inline-grid; place-items:center; width:34px; height:34px; margin-left:6px; border-radius:50%; color:#fff; background:var(--blue); font-size:15px; letter-spacing:0; vertical-align:5px; }
.heading p { margin:0 0 2px; color:var(--blue); font-size:11px; font-weight:800; letter-spacing:.18em; }
.heading h1 { margin:0; font-size:24px; line-height:1.1; letter-spacing:-.03em; }
.content { width:min(100%,760px); margin:0 auto; padding:22px 16px; }
.section-note { margin:0 2px 16px; color:var(--muted); font-size:14px; }
.object-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.object-card { position:relative; min-height:214px; padding:0; overflow:hidden; border:0; border-radius:24px; background:#fff; box-shadow:0 10px 35px rgba(25,55,110,.13); cursor:pointer; text-align:left; transition:transform .16s ease,box-shadow .16s ease; }
.object-card:active,.report-card:active { transform:scale(.985); }
.object-card img { width:100%; height:100%; min-height:214px; object-fit:contain; padding:14px 14px 66px; background:#fff; }
.object-overlay { position:absolute; inset:auto 0 0; display:flex; flex-direction:column; gap:3px; padding:18px; color:#fff; background:linear-gradient(180deg,transparent,rgba(4,31,76,.96) 32%); }
.object-overlay strong { font-size:18px; } .object-overlay small { color:#dce7ff; }
.report-grid { display:grid; gap:14px; }
.report-card { display:grid; grid-template-columns:112px 1fr 20px; align-items:center; gap:14px; width:100%; min-height:126px; padding:10px 16px 10px 10px; border:1px solid rgba(21,58,160,.08); border-radius:22px; background:var(--panel); box-shadow:0 9px 28px rgba(25,55,110,.1); cursor:pointer; text-align:left; }
.report-image { position:relative; display:block; width:112px; height:106px; overflow:hidden; border-radius:16px; background:#fff; }
.report-image img { width:100%; height:100%; object-fit:cover; }
.type-badge { position:absolute; left:7px; bottom:7px; padding:4px 8px; border-radius:99px; color:#fff; background:var(--blue); box-shadow:0 3px 8px rgba(0,0,0,.15); font-size:10px; font-weight:800; }
.type-badge.sheet { background:#16813a; } .type-badge.map { background:#075db7; }
.card-copy { display:flex; min-width:0; flex-direction:column; gap:5px; } .card-copy strong { font-size:17px; line-height:1.2; } .card-copy small { color:var(--muted); font-size:13px; line-height:1.35; } .chevron { color:var(--blue); font-size:30px; font-weight:300; }
.icon-button,.external-button { display:grid; flex:0 0 auto; place-items:center; width:42px; height:42px; border:1px solid #dde5f3; border-radius:14px; color:var(--navy); background:#fff; font-size:22px; text-decoration:none; cursor:pointer; }
.viewer { height:100dvh; overflow:hidden; background:#eef3fb; }
.viewer-bar { display:grid; grid-template-columns:42px 1fr 42px; align-items:center; gap:12px; min-height:72px; padding:calc(10px + env(safe-area-inset-top)) 12px 10px; background:#fff; border-bottom:1px solid var(--line); }
.viewer-title { display:flex; min-width:0; flex-direction:column; gap:2px; } .viewer-bar strong { overflow:hidden; font-size:15px; text-overflow:ellipsis; white-space:nowrap; } .viewer-bar span { overflow:hidden; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.frame-scroll { width:100%; height:calc(100dvh - 72px - env(safe-area-inset-top)); overflow:auto; background:#fff; -webkit-overflow-scrolling:touch; }
.frame-canvas { width:100%; height:100%; min-width:100%; min-height:100%; transform-origin:top left; }
.report-frame { display:block; width:100%; height:100%; border:0; background:#fff; transform-origin:top left; }
.zoom-controls { position:fixed; z-index:20; left:50%; bottom:calc(14px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:4px; padding:6px; border:1px solid rgba(23,60,200,.12); border-radius:17px; background:rgba(255,255,255,.95); box-shadow:0 10px 28px rgba(10,45,100,.2); transform:translateX(-50%); backdrop-filter:blur(12px); }
.zoom-button,.zoom-reset { height:38px; border:0; border-radius:11px; color:var(--navy); background:#edf2ff; font-weight:800; cursor:pointer; }
.zoom-button { width:42px; font-size:23px; }
.zoom-reset { padding:0 12px; font-size:12px; }
.zoom-value { min-width:54px; color:var(--ink); font-size:13px; font-weight:800; text-align:center; }
.status-card { padding:22px; border-radius:18px; color:var(--muted); background:rgba(255,255,255,.9); }
@media (max-width:540px) { .object-grid { grid-template-columns:1fr; } .object-card,.object-card img { min-height:190px; } }
@media (min-width:700px) { .content { padding-top:30px; } .object-grid { gap:18px; } .report-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
