/* 내 맞춤 단계별 입력·결과·내 조건(혜택 메뉴 개편 12판 R3~R8, F-05) */
#bokjifit-pages #app .bf-fit-steps{box-sizing:border-box;min-height:100dvh;padding:0 16px calc(100px + env(safe-area-inset-bottom));background:#f4f4f5}
#bokjifit-pages #app .bf-steps-head{display:flex;align-items:center;gap:6px;min-height:56px}
#bokjifit-pages #app .bf-steps-head .bf-page-icon{display:grid;place-items:center;width:44px;height:44px;margin-left:-12px;border:0;background:none;color:#202b40}
#bokjifit-pages #app .bf-steps-head strong{flex:1;font-size:20px;font-weight:750;letter-spacing:-.8px;color:#111318}
#bokjifit-pages #app .bf-steps-count{font-size:14px;font-weight:750;color:#0755ff}
#bokjifit-pages #app .bf-steps-bar{height:4px;border-radius:2px;background:#e3e7ee;overflow:hidden;margin:0 0 16px}
#bokjifit-pages #app .bf-steps-bar i{display:block;height:100%;border-radius:2px;background:#0755ff;transition:width .3s}
#bokjifit-pages #app .bf-steps-card{padding:24px 20px;border-radius:24px;background:#fff}
#bokjifit-pages #app .bf-steps-card h1{margin:0;font-size:22px;line-height:1.35;font-weight:800;letter-spacing:-.06em;color:#111318}
#bokjifit-pages #app .bf-steps-help{margin:6px 0 18px;font-size:14px;line-height:1.5;color:#525e72}
#bokjifit-pages #app .bf-steps-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#bokjifit-pages #app .bf-steps-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:9px 8px;border:0;border-radius:10px;background:#f0f1f5;color:#111318;font:inherit;font-size:15px;font-weight:650;line-height:1.3;cursor:pointer;word-break:keep-all;text-align:center}
#bokjifit-pages #app .bf-steps-choice small{font-size:12px;font-weight:500;color:#525e72}
#bokjifit-pages #app .bf-steps-choice[aria-pressed=true]{background:#0755ff;color:#fff}
#bokjifit-pages #app .bf-steps-choice[aria-pressed=true] small{color:#dbe6ff}
#bokjifit-pages #app .bf-steps-context .bf-steps-choice{min-height:72px;border-radius:12px;font-size:16px}
#bokjifit-pages #app .bf-steps-area{margin-top:14px}
#bokjifit-pages #app .bf-steps-area[disabled]{opacity:.5}
#bokjifit-pages #app .bf-steps-note{margin:8px 0 0;font-size:12px;line-height:1.5;color:#7c8798}
#bokjifit-pages #app .bf-steps-age{display:inline-block;margin:14px 0 0;padding:8px 12px;border-radius:10px;background:#e6efff;color:#0755ff;font-size:14px;font-weight:750}
#bokjifit-pages #app .bf-steps-section{padding:16px 0 0;margin:16px 0 0;border-top:1px solid #eef0f3}
#bokjifit-pages #app .bf-steps-section:first-of-type{border-top:0;margin-top:0;padding-top:0}
#bokjifit-pages #app .bf-steps-section h2{display:flex;align-items:baseline;gap:8px;margin:0 0 10px;font-size:16px;font-weight:750;color:#111318}
#bokjifit-pages #app .bf-steps-section h2 small{font-size:12px;font-weight:500;color:#7c8798}
#bokjifit-pages #app .bf-steps-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;padding:14px;border-radius:12px;background:#f5f7fa;cursor:pointer}
#bokjifit-pages #app .bf-steps-consent input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:#0755ff}
#bokjifit-pages #app .bf-steps-consent b{display:block;font-size:14px;font-weight:750;color:#111318}
#bokjifit-pages #app .bf-steps-consent small{display:block;margin-top:3px;font-size:12px;line-height:1.5;color:#525e72}
#bokjifit-pages #app .bf-steps-consented{display:flex;align-items:center;gap:4px;margin:12px 0 0;font-size:12px;color:#525e72}
#bokjifit-pages #app .bf-steps-actions{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;gap:8px;max-width:480px;margin:0 auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(#f4f4f500,#f4f4f5 24%)}
#bokjifit-pages #app .bf-steps-actions button{min-height:52px;border:0;border-radius:14px;font:inherit;font-size:16px;font-weight:750;cursor:pointer}
#bokjifit-pages #app .bf-steps-main{flex:1;background:#0755ff;color:#fff}
#bokjifit-pages #app .bf-steps-sub{flex:0 0 80px;background:#e4e7ec;color:#525e72}
/* 결과 상단 1줄: [내 조건] [분야 칩 …] │ 맞는 순 ▾ */
#bokjifit-pages #app .bf-mine-tools{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin:0 0 12px}
#bokjifit-pages #app .bf-mine-conditions{flex:none;display:inline-flex;align-items:center;gap:5px}
#bokjifit-pages #app .bf-mine-chips{flex:1 1 auto;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}
#bokjifit-pages #app .bf-mine-chips::-webkit-scrollbar{display:none}
#bokjifit-pages #app .bf-mine-chip{flex:none;max-width:120px;height:36px;padding:0 12px;border:1px solid #d8dfe9;border-radius:999px;background:#fff;color:#333d4b;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#bokjifit-pages #app .bf-mine-chip[aria-pressed=true]{border-color:#e4edff;background:#e4edff;color:#0755ff;font-weight:700}
#bokjifit-pages #app .bf-mine-sort{flex:none}
/* 목록 중간 유도 카드 */
#bokjifit-pages #app .bf-mine-nudge{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:16px;border-radius:20px;background:#e6efff}
#bokjifit-pages #app .bf-mine-nudge p{flex:1;margin:0;font-size:14px;line-height:1.5;color:#1d2a44}
#bokjifit-pages #app .bf-mine-nudge b{font-weight:750;color:#0755ff}
#bokjifit-pages #app .bf-mine-nudge button{flex:none;min-height:44px;padding:0 16px;border:0;border-radius:12px;background:#0755ff;color:#fff;font:inherit;font-size:14px;font-weight:750;cursor:pointer}
/* 판정 이유 칩: ✓ 맞는 이유 · ? 확인할 것 */
#bokjifit-pages #app .bf-tag.bf-reason-ok{padding:2px 8px;border-radius:6px;background:#e6efff;color:#0755ff;font-weight:700}
#bokjifit-pages #app .bf-tag.bf-reason-check{padding:2px 8px;border-radius:6px;background:#fff6e5;color:#916425;font-weight:700}
/* 마이 › 내 조건 */
#bokjifit-pages #app .bf-conditions{box-sizing:border-box;min-height:calc(100dvh - 56px);padding:8px 16px 40px;background:#f4f4f5}
#bokjifit-pages #app .bf-cond-section{margin:0 0 12px;padding:20px 20px 4px;border-radius:24px;background:#fff}
#bokjifit-pages #app .bf-cond-section header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 4px}
#bokjifit-pages #app .bf-cond-section h2{margin:0;font-size:17px;font-weight:800;color:#111318}
#bokjifit-pages #app .bf-cond-section header small{font-size:12px;color:#a0a8b4;white-space:nowrap}
#bokjifit-pages #app .bf-cond-row{display:flex;align-items:center;gap:8px;width:100%;min-height:56px;padding:17px 0;border:0;border-bottom:1px solid #f2f3f5;background:none;font:inherit;text-align:left;cursor:pointer}
#bokjifit-pages #app .bf-cond-row:last-child{border-bottom:0}
#bokjifit-pages #app .bf-cond-row>span{flex:0 0 auto;min-width:88px;font-size:14px;font-weight:650;color:#111318}
#bokjifit-pages #app .bf-cond-row>span small{display:block;margin-top:3px;font-size:11px;font-weight:500;color:#a0a8b4;white-space:nowrap}
#bokjifit-pages #app .bf-cond-row>b{flex:1;min-width:0;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;color:#54667e}
#bokjifit-pages #app .bf-cond-row>b.mute{color:#a3abb9;font-weight:500}
#bokjifit-pages #app .bf-cond-row>[data-lucide],#bokjifit-pages #app .bf-cond-row>svg{flex:none;color:#b1b8c2}
#bokjifit-pages #app .bf-cond-subhead{margin:0;padding:14px 0 4px;border-top:1px solid #f2f3f5;font-size:12px;color:#a0a8b4}
#bokjifit-pages #app .bf-cond-subhead b{margin-right:6px;font-weight:700;color:#7c8798}
#bokjifit-pages #app .bf-cond-note{margin:8px 4px 0;font-size:12px;line-height:1.6;color:#7c8798}
#bokjifit-pages[data-page=results] #app .bf-mine-tools{background:#f5f5f5;padding:8px 0;margin:0 0 4px;box-shadow:none;border:0}
#bokjifit-pages[data-page=results] #app .bf-mine-tools .bf-tools-sep{flex:none;width:1px;height:18px;background:#d1d6e0}
#bokjifit-pages[data-page=results] #app .bf-mine-sort{display:flex;align-items:center;position:relative;min-height:36px;color:#525e72}
#bokjifit-pages[data-page=results] #app .bf-mine-sort>svg,#bokjifit-pages[data-page=results] #app .bf-mine-sort>i{display:none}
#bokjifit-pages[data-page=results] #app .bf-mine-sort .bf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#bokjifit-pages[data-page=results] #app .bf-mine-sort select{appearance:none;border:0;background:none;font:inherit;font-size:14px;font-weight:600;color:#525e72;padding:6px 18px 6px 2px}
#bokjifit-pages[data-page=results] #app .bf-mine-sort .bf-select-trigger{border:0;background:none;padding:0 18px 0 2px;min-height:36px;width:auto;gap:4px;font-size:14px;font-weight:600;color:#525e72;box-shadow:none;position:relative}
#bokjifit-pages[data-page=results] #app .bf-mine-sort .bf-select-trigger svg{position:absolute;right:0;top:50%;margin-top:-8px}
#bokjifit-pages[data-page=results] #app .bf-mine-results .bf-badge-row .bf-tag{height:22px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 7px;border-radius:5px;font-size:12px}
/* 정렬 드롭다운은 필터 칩 줄의 오른쪽 끝: 고른 문구 너비만큼만 차지하고 글자도 오른쪽에 붙인다. */
#bokjifit-pages[data-page=results] #app .bf-mine-sort{margin-left:auto}
#bokjifit-pages[data-page=results] #app .bf-mine-sort select{field-sizing:content;text-align:right;text-align-last:right}
/* 사는 곳: 시·도 17곳은 4열 촘촘한 칩(5줄)으로 저장 버튼까지 한 화면에, 시·군·구는 따로 한 화면에서 4열 칩으로 고른다(경기 31곳도 스크롤 없이). */
#bokjifit-pages #app .bf-steps-grid.bf-steps-regions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#bokjifit-pages #app .bf-steps-regions .bf-steps-choice{min-height:40px;padding:6px 2px;border-radius:10px;font-size:15px}
#bokjifit-pages #app .bf-steps-arearow{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:12px 0 0;padding:0 12px 0 14px;border:0;border-radius:12px;background:#f0f1f5;font:inherit;text-align:left;cursor:pointer}
#bokjifit-pages #app .bf-steps-arearow>span{flex:none;font-size:13px;font-weight:600;color:#7c8798}
#bokjifit-pages #app .bf-steps-arearow>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:750;color:#111318}
#bokjifit-pages #app .bf-steps-arearow>svg,#bokjifit-pages #app .bf-steps-arearow>[data-lucide]{flex:none;color:#7c8798}
#bokjifit-pages #app .bf-steps-card.bf-steps-areacard{padding:20px 16px}
#bokjifit-pages #app .bf-steps-areahead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px}
#bokjifit-pages #app .bf-steps-areahead h1{min-width:0}
#bokjifit-pages #app .bf-steps-areaback{flex:none;display:inline-flex;align-items:center;gap:2px;min-height:32px;padding:0 10px 0 6px;border:0;border-radius:999px;background:#eef3ff;color:#0755ff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#bokjifit-pages #app .bf-steps-grid.bf-steps-areagrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#bokjifit-pages #app .bf-steps-areagrid .bf-steps-choice{min-height:36px;padding:4px 2px;border-radius:8px;font-size:13px;line-height:1.2;letter-spacing:-.3px}
