:root{--bg:#f5f6fb;--paper:#fff;--ink:#1f263c;--muted:#667089;--purple:#6e32d2;--purple2:#9a6aff;--line:#e6e7f0;--shadow:0 12px 30px rgba(30,30,80,.07)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;font-size:15px}button,input,select{font:inherit}.rainbow{height:6px;background:linear-gradient(90deg,#e05274 0%,#ef8f55 20%,#f7d36d 35%,#60c69a 52%,#45b5dc 71%,#713de2 88%)}.site-head{background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 30px;gap:18px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:15px;align-items:center}.logo{background:#f1e9fe;color:#7340d1;border-radius:18px;width:58px;height:58px;display:grid;place-items:center;font-size:29px;font-weight:800;flex:none}.eyebrow{font-size:12px;color:#72809f;margin-bottom:3px}h1{font-size:27px;letter-spacing:.2px;margin:0;line-height:1.2;font-weight:850}h1 span{color:var(--purple)}.subtitle{color:#6b7390;font-size:13px;margin:6px 0 0}.stats{display:flex;gap:10px}.stats>div{min-width:98px;background:#f7f5fc;border:1px solid #eeebf7;padding:10px 13px;border-radius:14px;text-align:center}.stats strong{display:block;color:var(--purple);font-size:22px}.stats span{display:block;color:#79748b;font-size:11px;margin-top:3px}.notice{margin:14px 16px 0;border:1px solid #efe3af;background:#fffbee;color:#756019;padding:10px 14px;border-radius:12px;font-size:13px}.notice.is-demo{background:#fff5e6;color:#875612;border-color:#f4d6aa}.notice.is-ok{background:#f0faf6;border-color:#cce7da;color:#266348}.notice.is-error{background:#fff1f1;border-color:#f1c4cc;color:#b02f47}.layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(325px,.68fr);gap:15px;padding:15px 16px;min-height:690px}.map-card,.panel{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.map-card{position:relative;min-height:615px}.map-floating{position:absolute;z-index:500;top:15px;left:15px;padding:13px 17px;background:rgba(255,255,255,.95);box-shadow:0 5px 20px #12142b1a;border-radius:13px;max-width:70%;pointer-events:none}.map-title{font-size:14px;font-weight:750;color:#673ac4}.map-desc{font-size:12px;color:#667086;margin-top:3px}#map{position:absolute;inset:0;background:#e8f0f7}.leaflet-container{font-family:inherit}.legend{position:absolute;z-index:500;bottom:15px;left:15px;background:#fffefeea;border-radius:12px;box-shadow:0 5px 20px #12142b18;padding:10px 13px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:#5d657d;pointer-events:none}.dot{width:9px;height:9px;display:inline-block;border-radius:50%;margin-right:6px}.dot.purple{background:#7750d5}.dot.green{background:#20966a}.dot.amber{background:#e0a12d}.dot.red{background:#d14d5e}.panel{display:flex;flex-direction:column;min-height:0}.panel-head{padding:18px 18px 14px;border-bottom:1px solid var(--line)}.panel-title{font-weight:750;font-size:19px}.muted{font-size:12px;color:var(--muted);margin:5px 0 14px}.panel-head input,.panel-head select{width:100%;border:1px solid #dfe2ed;outline:0;border-radius:11px;padding:11px 12px;margin:0 0 10px;background:#fff;color:#252b42}.panel-head input:focus,.panel-head select:focus{border-color:#9869e6;box-shadow:0 0 0 3px #e6d9fa}.panel-tools{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#727b91;gap:5px}.panel-tools button{border:0;background:none;color:#6f43c3;cursor:pointer;padding:4px}.updated{font-size:11px;color:#818ba1;line-height:1.5;margin-top:6px}.results{overflow:auto;flex:1;min-height:180px;max-height:480px}.entry{display:block;text-align:left;width:100%;background:#fff;padding:15px 18px;border:0;border-bottom:1px solid #eff0f5;cursor:pointer;transition:background .12s}.entry:hover,.entry.active{background:#f5f0ff}.entry strong{display:block;color:#34344f;font-size:13px;line-height:1.5}.entry small{color:#8a90a6;display:block;margin:4px 0}.pill{display:inline-block;font-size:11px;border-radius:99px;padding:4px 10px;font-weight:650;margin-top:4px}.pill.purple{background:#f0e8fc;color:#7043be}.pill.green{background:#e7f7ee;color:#187649}.pill.amber{background:#fff2d8;color:#926213}.pill.red{background:#fde9ec;color:#be374c}.detail{padding:16px 18px;border-top:3px solid #8b5be3;background:#fcfaff;max-height:470px;overflow:auto}.detail h2{font-size:16px;margin:0 0 3px}.detail .pill{margin:9px 0}.detail .info{font-size:12px;color:#44506c;line-height:1.7;margin:8px 0}.detail .warning{font-size:12px;background:#fff7e7;border:1px solid #f0dfb3;color:#7c621f;padding:9px;border-radius:9px}.schedule{font-size:12px;margin:7px 0 12px;display:grid;grid-template-columns:auto 1fr;gap:5px 14px}.schedule span:nth-child(odd){color:#6e7391}.schedule span:nth-child(even){font-weight:550}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.actions a{background:#6f38cd;color:#fff;text-decoration:none;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:700}.actions a.secondary{background:#eee5fc;color:#6734b8}.error-box{padding:20px;color:#a63145;line-height:1.7}.footer{padding:2px 16px 18px;text-align:center;font-size:12px;color:#7b8398}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}button:focus-visible,.entry:focus-visible,.actions a:focus-visible{outline:3px solid #a37fe3;outline-offset:-2px}
@media(max-width:900px){.site-head{padding:14px 16px;flex-wrap:wrap}.layout{grid-template-columns:1fr}.map-card{min-height:470px}.panel{min-height:380px}.results{max-height:300px}.stats{width:100%}.stats>div{flex:1;min-width:0}.logo{height:48px;width:48px}.brand h1{font-size:22px}.map-floating{top:12px;left:12px}.footer{padding-bottom:16px}}
@media(max-width:500px){.map-card{min-height:440px}.legend{bottom:10px;left:9px;font-size:10px}.layout{padding:10px;gap:10px}.notice{margin:10px 10px 0}.map-desc{font-size:11px}.site-head{padding:14px 12px}.brand{gap:9px}.subtitle{font-size:11px}}
