/* Mobile-first reference adaptation. Existing data bindings remain authoritative. */
:root{--primary:#004ac6;--muted:#626b7f;--panel:#eff4ff;--border:#e8edf8;background:#f8f9ff;color:#0b1c30;font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}
html{scroll-padding-top:80px}body{max-width:480px;margin:0 auto;background:#f8f9ff;box-shadow:0 0 70px #142f5a08;font-size:14px}.wrap{max-width:480px;padding:0 16px}.top{border:0}.top-row{min-height:64px}.brand{font-size:22px;color:var(--primary);letter-spacing:-1px}.brand-badge{display:inline-block;font-size:10px;background:#e5eeff;padding:3px 5px;border-radius:6px;margin-left:5px;vertical-align:middle}.header-actions{gap:10px;flex-direction:row-reverse}.header-search{font-size:26px;background:none;width:36px;height:36px;color:#0b1c30}.profile-link{display:grid;place-items:center;background:var(--primary);color:white;border-radius:50%;width:32px;height:32px;text-decoration:none;font-size:22px}main.wrap{padding-top:8px!important;padding-bottom:104px!important}.intro{padding:0;background:none;box-shadow:none;display:block}.intro .eyebrow{font-size:10px;color:#626b7f;font-weight:500}.intro h1{font-size:23px;line-height:1.3;margin:6px 0}.intro p{font-size:12px;line-height:1.65}.section-shortcuts{gap:7px;padding:12px 0 20px}.section-shortcuts a{background:white;font-size:11px;padding:7px 13px;color:#25374f}.section-shortcuts a:first-child,.section-shortcuts a:hover{background:var(--primary);color:white}
.layout,.layout.lower{grid-template-columns:1fr;gap:16px}.card,.results{border:1px solid #edf0f8;border-radius:20px;box-shadow:0 3px 12px #162e5a02}.search-panel,.selected-panel,.block,.results{padding:18px}.section-head{margin-bottom:13px;align-items:center;flex-wrap:nowrap}.section-head>div{min-width:0}.section-head h2,.block h2{font-size:16px;line-height:1.5;letter-spacing:-.04em}.section-head p,.block>p{font-size:11px}.step-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;margin-right:6px;background:var(--primary);color:#fff;font-size:12px}.search-panel .section-head p,.selected-panel>.section-head p{display:none}.primary{background:var(--primary);border-radius:10px;padding:11px 15px;min-height:48px}.primary:hover{background:#003aa1}.secondary{background:#e5eeff;color:var(--primary)}.search-row input,.field select,.industry-selects select,.subway-field input,#ftcForm input{background:#eff4ff;border:1px solid transparent;border-radius:10px;font-size:14px;min-height:48px;color:#0b1c30}.search-row input:focus,.field select:focus,.inline-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #004ac612}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.search-help{font-size:10px;color:#64748b;margin:8px 0}.search-help p{font-size:11px;margin:6px 0}.search-help summary{cursor:pointer}.status-text{font-size:11px;margin:8px 0}#map{height:220px;border-radius:12px}.map-note{font-size:9px;margin:5px 0 10px}.selected-place{padding:12px;margin:0;background:#eff4ff;border-radius:12px;border-left:3px solid var(--primary)}.selected-place b{font-size:13px}.selected-place span,.selected-place small{font-size:10px;line-height:1.5}.industry-picker{margin:0 0 12px}.category-label{font-size:11px!important}.industry-picker>p{font-size:10px;line-height:1.6}.industry-selects{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.industry-selects select{font-size:12px;min-width:0;text-overflow:ellipsis;padding:10px 5px}.industry-selects select:last-child:not(:disabled){background:var(--primary);color:#fff}.field{margin:12px 0}.field label{font-size:11px}.field small{font-size:10px}.notice{font-size:11px;line-height:1.7;background:#e5eeff;border:0;border-radius:10px;padding:12px}.quick-links{margin-top:12px;gap:7px}.quick-links a{font-size:10px;background:#eff4ff;padding:10px 5px}.tag{font-size:9px;background:#e5eeff;color:#465775;max-width:110px;padding:4px 8px}.pulse{margin:24px 0 18px}.pulse .section-head{margin-bottom:10px}.pulse .section-head h2{font-size:16px}.pulse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pulse-card{min-width:0;display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid #edf0f8;border-radius:16px;padding:15px 13px;min-height:156px}.pulse-card>span{font-size:11px;color:#334155;min-height:30px}.pulse-card i{float:right;background:#e5eeff;color:var(--primary);font-style:normal;padding:2px 6px;border-radius:7px}.pulse-card strong{font-size:27px;line-height:1.4;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#0b1c30;overflow-wrap:anywhere;margin:6px 0}.pulse-card small{font-size:10px;color:#53647a;line-height:1.5}.pulse-card em{font-style:normal;font-size:9px;color:#64748b;border-top:3px solid #dce9ff;padding-top:7px;margin-top:auto}.pulse>.fineprint{font-size:10px}.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mini-grid div{padding:12px}.mini-grid strong{font-size:22px;letter-spacing:-.7px}.mini-grid span{font-size:10px}.mini-grid small{font-size:10px}.saved-data,.extras,.unavailable{margin-top:16px}.compact-result{font-size:12px;line-height:1.7}.fineprint{font-size:10px;line-height:1.7}.visual-card{padding:12px}.bar-row{grid-template-columns:minmax(62px,90px) minmax(25px,1fr) minmax(65px,90px);font-size:10px;gap:6px}.bar-fill{background:#2563eb}.bar-value{font-size:10px}.sbiz-result{grid-template-columns:1fr;background:#eff4ff;padding:12px}.sbiz-count strong{color:#0b1c30;font-size:28px}.sbiz-result-copy b{color:#0b1c30}.sbiz-result-copy p{font-size:11px}.sbiz-meta span{font-size:9px}.competition-heading,.settings summary{color:var(--primary)}.settings{font-size:11px}.extras-grid{grid-template-columns:1fr;gap:8px}.extras-grid>div+div{border:0;padding:0}.subway-search{grid-template-columns:minmax(0,1fr) 80px;gap:10px}.subway-search .subway-field:first-child{grid-column:1/-1}.subway-search .subway-field input{min-height:48px;font-size:16px;padding:10px}.subway-field label{font-size:11px}.subway-search button{min-height:48px;font-size:13px}.subway-panel #subwayResult{padding:12px;font-size:12px}.unavailable-grid{grid-template-columns:1fr}.unavailable-grid b{font-size:11px}.unavailable-grid span{font-size:10px}#ftcInterior{margin-top:16px}#ftcForm{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;margin:15px 0;align-items:center}#ftcForm label{font-size:11px}#ftcForm input{width:100%;min-width:0;padding:10px}#ftcForm button{grid-column:1/-1}#ftcResults{font-size:12px;overflow-x:auto}.data-guidance{background:#eff4ff;padding:16px;border-radius:16px;margin:18px 0}.data-guidance h2{font-size:13px;margin:0 0 8px}.data-guidance p{font-size:11px;color:#64748b;line-height:1.8;margin:0}.report-action{margin:18px 0 0}.report-action button{width:100%;font-size:14px;box-shadow:0 5px 14px #004ac622}.report-action small{display:block;text-align:center;color:#64748b;font-size:10px;margin:5px}.bottom-nav{max-width:480px;margin:0 auto;gap:0;justify-content:space-around;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:#f8f9fff5}.bottom-nav a{min-width:0;flex:1;font-size:10px;min-height:48px}.bottom-nav a:first-child{color:var(--primary);font-weight:700}.bottom-nav a:hover{color:var(--primary)}footer{font-size:10px}.section-head h2:focus{outline:none}details.data-details{margin-top:16px}details.data-details>summary{padding:14px 16px;font-size:13px;font-weight:700;color:#334155;background:#eff4ff;border-radius:12px;cursor:pointer}details.data-details>.details-body{padding-top:14px}.data-details .layout{margin-top:0}.section-shortcuts::-webkit-scrollbar{height:0}[hidden]{display:none!important}@media(max-width:360px){.wrap{padding-inline:12px}.search-panel,.selected-panel,.block{padding:14px}.pulse-card{padding:12px 10px}.pulse-card strong{font-size:23px}.brand{font-size:20px}.brand-badge{font-size:9px}#map{height:200px}}
@media print{body,.wrap{max-width:none;box-shadow:none}.top,.bottom-nav,.report-action,.search-help{display:none!important}main.wrap{padding-bottom:0!important}.card,.pulse-card{break-inside:avoid;box-shadow:none}details.data-details{display:block}a{color:#0b1c30}.pulse-grid{grid-template-columns:repeat(2,1fr)}}

.seoul-options{background:#e5eeff;border-radius:12px;padding:12px;margin:12px 0}.seoul-options>summary{font-size:12px;color:#17365e;font-weight:600;cursor:pointer}.seoul-options .notice{padding:8px 0}.pulse-card strong{font-size:24px}
/* PC 화면(900px 이상): 480px 휴대폰 폭 제한을 풀고 Stitch PC 시안처럼 넓게 배치. 휴대폰 화면은 위 규칙 그대로. */
@media(min-width:900px){body{max-width:none;box-shadow:none}.wrap{max-width:1200px;padding:0 32px}.top{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.header-actions{flex-direction:row}main.wrap{padding-top:28px!important;padding-bottom:48px!important}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px}.intro h1{font-size:30px}.layout{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:20px}.layout.lower{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.search-panel,.selected-panel,.block,.results{padding:24px}#map{height:400px}.search-panel .section-head p,.selected-panel>.section-head p{display:block}.pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pulse-card{padding:20px;min-height:170px;box-shadow:0 3px 12px #162e5a06}.pulse-card strong{font-size:32px}.mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.extras-grid{grid-template-columns:1fr 1fr;gap:20px}.unavailable-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-shortcuts{position:sticky;top:64px;z-index:10;background:#f8f9ff;padding:10px 0}.bottom-nav{display:none}.report-action{max-width:420px;margin-left:auto;margin-right:auto}}

/* 허브 탭 안에서는 허브 하단 탭만 쓴다 */
.in-hub .bottom-nav{display:none!important}.in-hub main.wrap{padding-bottom:24px!important}
