:root{--bg:#0a1421;--surface:#0f2033;--surface-2:#11263b;--surface-3:#091725;--surface-4:#0b1a29;--line:#263f53;--line-2:#29485e;--line-soft:#1b3143;--text:#edf3f7;--muted:#8fa0ae;--muted-2:#6f8393;--blue:#2ba8dc;--blue-2:#176d93;--green:#1f9f50;--green-2:#197f40;--red:#d84b57;--shadow:0 14px 34px rgba(0,0,0,.16);--ui-description-size:11px;--ui-description-line-height:1.5;--ui-description-color:#8395a4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 12% -12%,rgba(43,168,220,.06),transparent 28%),linear-gradient(180deg,#0a1421,#0b1725);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}::selection{background:#307faa57;color:#f2f6f8}header{height:64px;border-bottom:1px solid #183047;background:#0a1421f5;backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.header-inner{max-width:1320px;height:100%;margin:0 auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px}.brandmark{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#132b40;border:1px solid #2b4e68;color:#78c9eb;font-size:10px;font-weight:900;letter-spacing:.03em}.brand b{display:block;font-size:13px;letter-spacing:-.01em;font-weight:760}.brand small{display:block;margin-top:2px;color:#75889a;font-size:8px;letter-spacing:.08em}.header-state{height:29px;padding:0 10px;border-radius:7px;border:1px solid #29445a;background:#0f2033;display:flex;align-items:center;gap:7px;color:#8fa8b9;font-size:8.5px;font-weight:800}.header-state i{width:6px;height:6px;border-radius:50%;background:var(--green)}main{max-width:1320px;margin:0 auto;padding:22px 26px 34px}.page-head{min-height:54px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 20px;border:1px solid #2d4a60;border-radius:16px;overflow:hidden;box-shadow:0 12px 32px #030e1624}.page-head h1{margin:0;font-size:27px;font-weight:760;letter-spacing:-.025em;line-height:1.15}.page-head p{max-width:790px;margin:5px 0 0;color:var(--ui-description-color);font-size:var(--ui-description-size);line-height:var(--ui-description-line-height);font-weight:400}.page-tag{height:28px;padding:0 10px;border-radius:7px;border:1px solid #2d5870;background:#0f2033;color:#8bcce7;font-size:8px;font-weight:850;letter-spacing:.055em;display:flex;align-items:center;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(420px,.44fr) minmax(0,.56fr);gap:14px;align-items:stretch}.panel{border:1px solid var(--line-2);background:#0e1f31;border-radius:13px;overflow:hidden;box-shadow:var(--shadow)}.panel-head{min-height:58px;padding:11px 14px;border-bottom:1px solid #203b50;background:#11263a;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{margin:0;font-size:14px;font-weight:760;color:#e7edf2}.panel-head p{margin:4px 0 0;color:var(--ui-description-color);font-size:var(--ui-description-size);line-height:var(--ui-description-line-height);font-weight:400}.panel-body{padding:10px}.textarea-wrap{position:relative}textarea{width:100%;min-height:310px;resize:vertical;border:1px solid #223c50;border-radius:9px;background:#091724;color:#e4ebf0;outline:0;padding:13px 14px 48px;font-size:12.5px;line-height:1.62;transition:border-color .16s ease,box-shadow .16s ease}textarea::placeholder{color:#6f8393}textarea:focus{border-color:#397695;box-shadow:0 0 0 2px #2ba8dc0f}.textarea-tools{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.textarea-tools>*{pointer-events:auto}.char-info{color:#667d90;font-size:8.5px}.mini-actions{display:flex;gap:6px}.btn{height:29px;padding:0 9px;border-radius:6px;border:1px solid #29445a;background:#0f2033;color:#cbd6df;font-size:9px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;transition:.16s ease}.btn:hover{border-color:#397695;background:#112a40}.btn:disabled{opacity:.42;cursor:not-allowed;filter:none}.btn-primary{min-width:112px;color:#fff;background:linear-gradient(180deg,#237da6,#1d6f99);border-color:#319dc9}.btn-primary:hover{filter:brightness(1.05)}.btn-green{min-width:118px;color:#fff;background:linear-gradient(180deg,#209b4d,#197f40);border-color:#2aac5c}.btn-green:hover{filter:brightness(1.07)}.btn-muted{color:#a7b4bf;background:#0c1b2b;border-color:#243d51}.btn-danger-lite{color:#b7c2cb;background:#0c1b2b;border-color:#243d51}.btn-danger-lite:hover{color:#f0b1b6;border-color:#70404a;background:#211924}.detect-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.field{min-width:0}.field.wide{grid-column:1/-1}.field label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 5px;color:#93a6b5;font-size:9px;font-weight:750}.field label em{font-style:normal;color:#60788b;font-size:8px;font-weight:650}.field input{width:100%;height:36px;padding:0 10px;border:1px solid #243f54;border-radius:7px;background:#0a1827;color:#eef5fa;outline:0;font-size:10.5px;font-weight:650;transition:.16s ease}.field input::placeholder{color:#63798a}.field input:focus{border-color:#397695;background:#0b1c2d}.field.valid input{border-color:#2d5c4a;background:#0b1d22}.parse-strip{margin-bottom:9px;padding:8px 9px;border:1px solid #21394d;border-radius:8px;background:#0a1724;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.parse-item{min-width:0;padding-right:7px;border-right:1px solid #1d3548}.parse-item:last-child{border-right:0;padding-right:0}.parse-item span{display:block;margin-bottom:2px;color:#6f8495;font-size:7.5px;white-space:nowrap}.parse-item b{display:block;color:#cddae3;font-size:9px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-row{margin-top:10px;padding-top:9px;border-top:1px solid #1f394f;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.status{min-width:0;display:flex;align-items:center;gap:7px;color:#71859a;font-size:9px;line-height:1.4}.status i{width:7px;height:7px;border-radius:50%;background:#526d87;flex:0 0 auto}.status.processing{color:#d4ba72}.status.processing i{background:#d5a73e;box-shadow:0 0 0 3px #d5a73e14;animation:pulse 1s infinite}.status.ready{color:#81dba0}.status.ready i{background:var(--green)}.status.error{color:#e49aa1}.status.error i{background:var(--red)}.action-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto}@keyframes pulse{50%{opacity:.35}}.result-panel{margin-top:14px;display:none}.result-panel.show{display:block}.result-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:10px;padding:10px}.identity-card,.coord-card{border:1px solid #233e52;border-radius:10px;background:#0b1a29;overflow:hidden}.card-head{min-height:38px;padding:0 10px;border-bottom:1px solid #20384b;background:#102236;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head h3{margin:0;color:#e3ebf1;font-size:11px;font-weight:750}.card-body{padding:10px}.location-line{font-size:14px;font-weight:760;color:#edf3f7;letter-spacing:-.01em;line-height:1.35}.parcel-line{margin-top:4px;color:#8fa4b4;font-size:10px}.result-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:9px}.meta-box{padding:7px 8px;border:1px solid #1f394d;border-radius:7px;background:#0a1724;min-width:0}.meta-box span{display:block;margin-bottom:3px;color:#6f8495;font-size:7.5px;white-space:nowrap}.meta-box b{display:block;color:#cddae3;font-size:9px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coord-value{min-height:42px;padding:0 10px;border:1px solid #223c50;border-radius:7px;background:#091724;display:flex;align-items:center;color:#e4ebf0;font:700 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.coord-actions{display:flex;gap:7px;margin-top:8px}.coord-actions .btn{flex:1}.map-actions{padding:0 10px 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.map-btn{min-height:42px;padding:7px 9px;border:1px solid #233e52;border-radius:8px;background:#0a1724;color:#becbd5;text-align:left;transition:.16s ease}.map-btn:hover{border-color:#37627d;background:#0d2031}.map-btn b{display:block;font-size:9.5px;font-weight:760;color:#dce6ed}.map-btn small{display:block;margin-top:2px;color:#6f8495;font-size:7.5px;line-height:1.35}.history-panel{margin-top:12px;border:1px solid #223c50;border-radius:10px;background:#0b1929;overflow:hidden}.history-panel summary{min-height:38px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;color:#a9bac7;font-size:9px;font-weight:800}.history-panel summary::-webkit-details-marker{display:none}.history-panel summary:after{content:"+";color:#6e8798;font-size:12px;font-weight:500}.history-panel[open] summary:after{content:"\2212"}.history-list{padding:8px 10px 10px;border-top:1px solid #1f394f;display:flex;gap:6px;flex-wrap:wrap}.history-chip{height:27px;padding:0 9px;border:1px solid #243d51;border-radius:6px;background:#0a1724;color:#92a4b2;font-size:8px;font-weight:700;cursor:pointer}.history-chip:hover{border-color:#37627d;color:#dce7ef}.empty-history{color:#657b8d;font-size:8.5px}.footer-note{margin-top:12px;padding-top:10px;border-top:1px solid rgba(31,57,79,.72);color:#6f8393;font-size:9px;line-height:1.55}.toast{position:fixed;right:22px;bottom:22px;z-index:50;display:none;padding:10px 12px;border:1px solid #31536b;border-radius:8px;background:#102238;color:#dce6ed;font-size:9px;font-weight:700;box-shadow:0 14px 30px #00000047}.toast.show{display:block}@media(max-width:1100px){.workspace{grid-template-columns:1fr}textarea{min-height:220px}.result-overview{grid-template-columns:1fr}}@media(max-width:780px){main{padding:20px 14px 42px}.header-inner{padding:0 14px}.header-state{display:none}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:24px}.page-tag{display:none}.map-actions,.result-meta{grid-template-columns:1fr 1fr}}@media(max-width:560px){.brand small{display:none}.detect-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.parse-strip{grid-template-columns:1fr}.parse-item{border-right:0;border-bottom:1px solid #1d3548;padding:0 0 6px}.parse-item:last-child{border-bottom:0;padding-bottom:0}.action-row{align-items:flex-start;flex-direction:column}.action-buttons{width:100%;margin-left:0}.action-buttons .btn{flex:1}.map-actions,.result-meta{grid-template-columns:1fr}}.service-tools{margin-top:8px;padding:8px 9px;border:1px solid #21394d;border-radius:8px;background:#091724;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.service-tools .service-copy{min-width:0}.service-tools b{display:block;color:#cbd8e1;font-size:9px;font-weight:760}.service-tools small{display:block;margin-top:2px;color:#708697;font-size:8px;line-height:1.4}.handoff-panel{display:none;margin-top:10px;padding:10px;border:1px solid #5a4a2a;border-radius:9px;background:linear-gradient(180deg,#69501929,#281f0e1c)}.handoff-panel.show{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.handoff-panel strong{display:block;color:#dec78d;font-size:10px;margin-bottom:3px}.handoff-panel span{display:block;color:#a99b79;font-size:8.5px;line-height:1.45;max-width:770px}.btn-warn{color:#f0dcaa;background:#2b2517;border-color:#66542d;min-width:138px}.btn-warn:hover{background:#372e1b;border-color:#8b7138}.diagnostic-log{display:none;margin-top:8px;padding:8px 9px;border:1px solid #233e52;border-radius:8px;background:#081521;color:#8da0af;font:600 8px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.diagnostic-log.show{display:block}.handoff-panel{border-color:#315b69!important;background:linear-gradient(180deg,#1846522e,#0a1c231a)!important}.handoff-panel strong{color:#9fd9e3!important}.handoff-panel span{color:#88aab2!important}.btn-warn{color:#e9f5f8!important;background:linear-gradient(180deg,#237b91,#1c6275)!important;border-color:#318da4!important}.recovery-panel{display:none;margin-top:9px;border:1px solid #27465a;border-radius:9px;background:#091724;padding:10px}.recovery-panel.show{display:block}.recovery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.recovery-head h3{margin:0;color:#cfdae2;font-size:10px}.recovery-head p{margin:3px 0 0;color:#758b9a;font-size:8.5px;line-height:1.45}.coord-verify-row{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:8px}.coord-verify-row input{height:34px;border:1px solid #29465b;border-radius:8px;background:#0d1c2d;color:#eef5fa;outline:0;padding:0 10px;font-size:10px}.coord-verify-row input:focus{border-color:#397695}.verify-note{margin-top:7px;color:#6f8798;font-size:8px;line-height:1.45}.mode-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #31536b;border-radius:999px;color:#8fb8c8;background:#30c0f809;font-size:8px;font-weight:800;white-space:nowrap}.mode-pill i{width:6px;height:6px;border-radius:50%;background:#30c0f8}.map-btn.disabled{opacity:.42;pointer-events:none}@media(max-width:700px){.coord-verify-row{grid-template-columns:1fr}.coord-verify-row .btn{width:100%}}
