:root{--ink:#142033;--muted:#728096;--line:#e6eaf0;--paper:#f5f7fa;--navy:#101827;--blue:#3569d4;--green:#16845b;--amber:#b87516}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-bottom:env(safe-area-inset-bottom)}.topbar{height:76px;background:var(--navy);color:white;padding:14px 20px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:20px;font-weight:900;letter-spacing:2px}.brand span{color:#72a0ff}.subbrand{font-size:8px;letter-spacing:1.8px;color:#a9b5c7;margin-top:3px}.icon-btn{border:1px solid #344157;background:#1c293c;color:white;border-radius:12px;width:40px;height:40px;font-size:21px}.hero{background:linear-gradient(130deg,#17243a,#243d61);color:white;padding:25px 20px 22px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.7px;color:#8da1bd}.hero h1{font-size:25px;margin:8px 0 4px;letter-spacing:-.5px}.hero p{margin:0;color:#bdc9d9;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:22px}.stats div{background:#ffffff12;border:1px solid #ffffff19;border-radius:12px;padding:12px 10px}.stats b{display:block;font-size:22px}.stats span{display:block;color:#b7c5d8;font-size:8px;letter-spacing:1px;margin-top:3px}.tabs{display:flex;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.tab{flex:1;border:0;background:none;padding:15px 5px;color:#8792a3;font-size:13px;font-weight:700;border-bottom:2px solid transparent}.tab.active{color:var(--blue);border-bottom-color:var(--blue)}main{max-width:760px;margin:auto}.view{padding:20px 16px 28px}.hidden{display:none!important}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-head h2{font-size:21px;margin:5px 0 0;letter-spacing:-.5px}.demo-pill{background:#fff1d9;color:#946017;border-radius:6px;font-size:8px;font-weight:900;letter-spacing:1px;padding:6px 8px}.search-wrap{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);border-radius:12px;padding:0 13px;height:46px;color:#8b97a8}.search-wrap input{border:0;outline:0;width:100%;font-size:13px;color:var(--ink)}.filters{display:flex;gap:8px;margin-top:10px;align-items:center;flex-wrap:wrap}.filters select{border:1px solid var(--line);background:white;border-radius:9px;padding:9px 8px;color:#526176;font-size:11px;max-width:48%}.toggle{display:flex;align-items:center;gap:6px;font-size:10px;color:#66748a}.toggle input{accent-color:var(--blue)}.results-line{display:flex;justify-content:space-between;align-items:center;color:#8a96a7;font-size:10px;margin:17px 2px 9px}.text-btn{border:0;background:none;color:var(--blue);font-size:10px;font-weight:700}.application-list{display:grid;gap:10px}.app-card{background:white;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:0 2px 8px #182b4607}.card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.ref{font-size:9px;color:#8390a2;font-weight:700;letter-spacing:.5px}.status{font-size:9px;font-weight:800;border-radius:6px;padding:5px 7px;white-space:nowrap}.status.pending{background:#fff2dc;color:#a66b17}.status.approved{background:#e2f5ec;color:#18744f}.status.refused{background:#fde8e8;color:#b44343}.status.withdrawn{background:#edf0f4;color:#647084}.app-card h3{font-size:14px;margin:9px 0 5px;line-height:1.35}.proposal{font-size:12px;color:#5d6b7e;line-height:1.45;margin:0}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid #f0f2f5}.meta{font-size:10px;color:#8995a5}.major{font-size:8px;letter-spacing:.8px;font-weight:900;color:#2460c5;background:#edf3ff;padding:5px 7px;border-radius:5px}.card-actions{display:flex;gap:8px}.small-btn{border:1px solid var(--line);background:white;border-radius:8px;padding:7px 9px;color:#58677b;font-size:10px;font-weight:700}.small-btn.saved{color:var(--blue);border-color:#b9ccf4;background:#f2f6ff}.empty{background:white;border:1px dashed #d8dfe8;border-radius:14px;padding:30px 18px;text-align:center;color:#7d899a;font-size:12px;line-height:1.6}#map{height:58vh;min-height:360px;border-radius:15px;border:1px solid var(--line);z-index:1}.map-note{font-size:10px;color:#8591a1;line-height:1.5}footer{max-width:760px;margin:auto;padding:15px 18px 25px;color:#9aa4b1;font-size:9px;display:flex;justify-content:space-between;gap:10px}.modal{position:fixed;inset:0;background:#07111f88;z-index:20;display:flex;align-items:flex-end;justify-content:center}.modal-sheet{background:white;border-radius:20px 20px 0 0;width:100%;max-width:680px;max-height:88vh;overflow:auto;padding:14px 20px 32px;position:relative}.modal-handle{height:4px;width:38px;background:#d9dfe7;border-radius:8px;margin:0 auto 20px}.close-btn{position:absolute;right:18px;top:13px;border:0;background:#f1f3f6;border-radius:50%;width:30px;height:30px;color:#647084}.detail-title{font-size:21px;line-height:1.3;margin:9px 0}.detail-section{border-top:1px solid var(--line);padding:14px 0}.detail-section h4{font-size:10px;letter-spacing:1px;color:#8b97a7;margin:0 0 7px}.detail-section p{font-size:13px;line-height:1.5;color:#4f5e72;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-grid b{display:block;font-size:12px;margin-top:4px}.detail-grid span{font-size:9px;color:#8995a5}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;background:#152238;color:white;padding:11px 16px;border-radius:10px;font-size:11px;z-index:30;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}a{color:var(--blue)}@media(min-width:650px){.view{padding:25px 24px}.hero{padding:30px 24px}.application-list{grid-template-columns:1fr 1fr}.modal{align-items:center}.modal-sheet{border-radius:20px}}
