/* 5탭(9/29) 역할 재설계 — 기존 입체 slate/blue 표면·음영을 그대로 쓰고 새 강조색은 만들지 않는다. */
body .parking-primary-nav.tabbar-5{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px;padding-inline:6px}
body .parking-primary-nav.tabbar-5 .tab-btn{position:relative;min-width:0;width:auto;grid-column:auto;order:initial}
body .parking-primary-nav.tabbar-5 .tab-txt{font-size:clamp(11px,3.1vw,13px)!important;white-space:nowrap;letter-spacing:-.02em}
body .parking-primary-nav.tabbar-5 .tab-icon-tile img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 1px #102c4b33)}
body .parking-primary-nav.tabbar-5 .tab-btn[data-tab=community]{--tab-accent:#4b5c72;--tab-soft:#eef2f7;--tab-edge:#c5d0dd}
body .parking-primary-nav.tabbar-5 .tab-news-badge,body .parking-primary-nav.tabbar-5 .tab-badge{position:absolute;top:4px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#c2463a;color:#fff;font:700 11px/18px system-ui,sans-serif;font-style:normal;box-shadow:0 1px 2px #0003}
body .parking-primary-nav.tabbar-5 .tab-badge:empty{min-width:10px;width:10px;height:10px;padding:0;top:8px;right:12px}
body #view-more .home-personal-intro{display:block;position:static;width:auto;height:auto;clip-path:none;overflow:visible;margin:12px 0 18px}
body #view-more .home-personal-intro .tab-h{font-size:26px;color:#293b52}
body #view-more .residence-card{background:linear-gradient(145deg,#fff,#f0f3f8);border:1px solid #d4dce6;box-shadow:var(--app-raised);padding:18px}
body #view-more #residenceName{font-size:21px;color:#293b52;overflow-wrap:anywhere}
body #view-more #residenceHome{color:#536176;line-height:1.6}
body #view-more .place-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
body #view-more .place-heading-row button{flex:0 0 auto;width:auto;min-height:48px;padding:9px 14px;border:1px solid #bdcadb;border-radius:14px;color:#314a67;background:linear-gradient(#fff,#edf1f7);box-shadow:var(--app-button);font-family:inherit;font-size:14px;font-weight:600;line-height:1.4}
body #view-more #streetHomeCard{display:none!important}
body #profileSetupSheet.profile-global [data-profile-step="1"],
body #profileSetupSheet.profile-global [data-profile-step="2"],
body #profileSetupSheet.profile-global [data-profile-step="3"],
body #profileSetupSheet.profile-global .profile-place-note{display:none!important}
body #profileSetupSheet.profile-global .profile-global-note{display:block}
body #profileSetupSheet .profile-global-note{display:none}
body .secondary-role-back{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #bfcddd;border-radius:14px;background:linear-gradient(#fff,#eef2f7);color:#314a67;font-size:14px;font-weight:700;margin:8px 0 16px}
body #view-more [hidden]{display:none!important}
@media(max-width:360px){body .parking-primary-nav.tabbar-5{gap:2px;padding-inline:4px}body #view-more .residence-card,body #view-more .place-dashboard{padding:15px}body .community-actions{gap:9px}}
/* ── 공통: 한 화면 한 개의 주 행동(slate 채움 56px) ── */
body [data-primary-action="place-plan"],body [data-primary-action="facility-plan"],body [data-primary-action="car-find"]{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:12px 16px;border:1px solid #507899;border-radius:17px;background:linear-gradient(160deg,#5c89af,#35658b);color:#fff;box-shadow:inset 0 1px #bdd9ec88,0 3px 0 #294e70,0 8px 16px #1d3a5a26;font-weight:800;font-size:17px;line-height:1.35;font-family:inherit;letter-spacing:-.02em;text-align:center;word-break:keep-all;cursor:pointer}
body [data-primary-action="place-plan"]:active,body [data-primary-action="facility-plan"]:active,body [data-primary-action="car-find"]:active{transform:translateY(2px);box-shadow:inset 0 1px #bdd9ec88,0 1px 0 #294e70}
body [data-primary-action="facility-plan"][aria-expanded="true"]{background:linear-gradient(#fff,#eef2f7);color:#314a67;border-color:#bfcddd;box-shadow:var(--app-button)}
/* ── 생활권 ── */
body #view-more .home-personal-intro{margin:10px 0 12px}
body #view-more .place-dashboard{margin:0 0 16px;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f3f5f9);box-shadow:var(--app-raised)}
body .place-scope,body .facility-scope{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
body .place-scope button,body .facility-scope button{min-height:48px;padding:9px 14px;border:1px solid #d3dbe5;border-radius:15px;background:linear-gradient(#fff,#eef1f5);box-shadow:var(--app-button);color:#3c4d63;font-weight:700;font-size:14px;line-height:1.3;font-family:inherit;cursor:pointer}
body .place-scope button[aria-pressed="true"],body .facility-scope button[aria-pressed="true"]{border-color:#7ba9e7;background:linear-gradient(145deg,#e1efff,#c3d9f5);color:#1f4a78;box-shadow:inset 0 1px 1px #fff,0 2px 0 #9fbbe0}
body .facility-scope [data-facility-browse]{border-style:dashed;color:#4b5c72}
body .place-type,body .facility-type{display:inline-block;padding:4px 10px;border-radius:10px;background:#e6edf6;color:#3f5673;font-size:12px;font-weight:800;letter-spacing:-.01em}
body #view-more .place-dashboard-head h3{margin:8px 0 4px;font-size:21px;line-height:1.35;color:#293b52;overflow-wrap:anywhere}
body #view-more .place-dashboard-head p{margin:0;color:#536176;font-size:14px;line-height:1.55}
body #view-more .place-entrances{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
body #view-more .place-entrances [role="radio"]{min-height:48px;padding:10px 14px;border:1px solid #cdd6e2;border-radius:14px;background:linear-gradient(#fff,#f0f3f7);box-shadow:var(--app-button);color:#3a4c63;font-weight:700;font-size:15px;line-height:1.3;font-family:inherit;cursor:pointer;overflow-wrap:anywhere}
body #view-more .place-entrances [role="radio"][aria-checked="true"]{border:2px solid #35658b;background:linear-gradient(145deg,#eef6ff,#d6e6f8);color:#1d466f}
body #view-more .place-entrances [role="radio"][aria-checked="true"]::before{content:'● ';color:#35658b}
body #view-more .place-entrance-empty{flex:1 1 100%;margin:0;color:#536176;font-size:14px}
body #view-more .place-entrance-add,body .place-community-link,body #view-more .place-auto button{min-height:48px;padding:10px 14px;border:1px solid #c8d3e0;border-radius:14px;background:linear-gradient(#fff,#eef2f6);box-shadow:var(--app-button);color:#314a67;font-weight:700;font-size:14px;line-height:1.35;font-family:inherit;cursor:pointer}
body #view-more .place-nav-note{margin:8px 2px 0;color:#5b6a7d;font-size:12.5px;line-height:1.5}
body #view-more .place-auto{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;padding:12px 14px;border-radius:16px;background:#eef2f7;box-shadow:var(--app-inset)}
body #view-more .place-auto b{display:block;color:#293b52;font-size:15px}
body #view-more .place-auto p{margin:4px 0 0;color:#536176;font-size:12.5px;line-height:1.5}
body #view-more .place-auto>div{flex:1 1 auto;min-width:0}
body #view-more .place-auto button{flex:0 0 auto;width:auto;white-space:nowrap}
body .place-community-link{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:12px;background:transparent;box-shadow:none;border-style:dashed}
@media(max-width:360px){body #view-more .place-auto{flex-direction:column;align-items:stretch}body #view-more .place-auto button{width:100%}}
/* 도착주차 빈 화면의 주 행동도 한 손 기준 48px(역할·순서는 그대로). */
body #view-home.arrival-parking-role [data-arrival-empty] [data-primary-action]{min-height:52px}
body #view-home.arrival-parking-role .arrival-monitor-line{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#eef2f7;color:#3f5673;font-size:13px;font-weight:700;box-shadow:var(--app-inset)}
body #view-home.arrival-parking-role .arrival-monitor-line[hidden]{display:none}
/* ── 단지생활 ── */
/* All existing apartment tools have a direct entry in 내 단지. Keep the approved shell/palette. */
body #view-more #communityActions.community-catalogue{display:block}
body #view-more .community-feature-group{margin:0 0 20px}
body #view-more .community-feature-group h4{margin:0 0 10px;color:#3b4c62;font-size:15px;line-height:1.4;font-weight:800}
body #view-more .community-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body #view-more #communityActions .community-feature-grid .community-action{min-height:116px;padding:14px 12px;gap:8px;background:linear-gradient(145deg,#fff,#eef2f7);border:1px solid #d3dbe5;border-bottom:4px solid #c8d2df;box-shadow:var(--app-button);color:#293b52}
body #view-more .community-feature-grid .community-action img{width:32px;height:32px}
body #view-more .community-feature-grid .community-action b{font-size:15px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
body #view-more .community-feature-grid .community-action small{font-size:12px;line-height:1.5;color:#536176;word-break:keep-all}
body #view-more .community-feature-grid .community-arrow{top:14px;right:12px;color:#536176}
body #view-more .community-catalogue .community-empty{width:100%;margin-bottom:20px}
body #view-community .facility-header{margin:10px 0 14px;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f3f5f9);box-shadow:var(--app-raised)}
body #view-community .facility-title-row{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
body #view-community .facility-title-row>img{flex:0 0 44px;width:44px;height:44px;filter:drop-shadow(0 3px 2px #1d3a5a26)}
body #view-community .facility-title-row h2{margin:6px 0 2px;font-size:21px;line-height:1.35;color:#293b52;overflow-wrap:anywhere}
body #view-community .facility-link{margin:0;color:#536176;font-size:13px;line-height:1.5}
body #view-community .facility-resident{width:100%;min-height:48px;padding:10px 14px;border:1px solid #9fb6d1;border-radius:15px;background:linear-gradient(145deg,#f4f8fd,#e1ebf7);box-shadow:var(--app-button);color:#1f4a78;font-weight:800;font-size:14px;line-height:1.35;font-family:inherit}
body #view-community .facility-resident.is-verified{border-color:#8fc0a8;background:linear-gradient(145deg,#f3fbf6,#dcf0e4);color:#1e6445}
body #view-community .facility-parking{margin:0 0 16px;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f8f9fb);box-shadow:var(--app-raised)}
body #view-community .facility-parking>h3{margin:0 0 10px;font-size:19px;color:#293b52}
body #view-community .facility-floors{display:flex;gap:6px;margin:0 0 8px;padding:6px;border-radius:16px;background:linear-gradient(180deg,#dfe7f1 0%,#eef2f7 45%,#cfd9e6 100%);box-shadow:var(--app-inset)}
body #view-community .facility-floor{flex:1 1 0;min-width:0;min-height:44px;display:grid;place-items:center;padding:8px 6px;border-radius:12px;background:linear-gradient(#fff,#eef2f7);box-shadow:0 2px 0 #c6d0dc;color:#2f4a68;font-size:14px;font-weight:800;text-align:center;overflow-wrap:anywhere}
body #view-community .facility-floor.is-muted{color:#6a778a;font-weight:700;background:linear-gradient(#f7f9fb,#e9eef4)}
body #view-community .facility-floor-note{margin:0 0 12px;color:#536176;font-size:12.5px;line-height:1.55}
body #view-community #residenceParkingHost{margin-top:14px}
body #view-community .facility-prefer{margin:14px 0 0;padding:14px;border-radius:18px;background:#eef2f7;box-shadow:var(--app-inset)}
body #view-community .facility-prefer>b{display:block;color:#293b52;font-size:16px}
body #view-community .facility-prefer>p{margin:6px 0 10px;color:#536176;font-size:12.5px;line-height:1.55}
body #view-community .facility-prefer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body #view-community .facility-prefer button,body #view-community .facility-prefer-form button{min-height:48px;padding:10px 12px;border:1px solid #c8d3e0;border-radius:14px;background:linear-gradient(#fff,#eef2f6);box-shadow:var(--app-button);color:#314a67;font-weight:700;font-size:14px;line-height:1.35;font-family:inherit;word-break:keep-all}
body #view-community .facility-prefer-form{display:grid;gap:10px;margin-top:12px}
body #view-community .facility-prefer-form label{display:grid;gap:6px;color:#3b4c62;font-size:13px;font-weight:700}
body #view-community .facility-prefer-form select,body #view-community .facility-prefer-form input{min-height:48px;padding:10px 12px;border:1px solid #c8d3e0;border-radius:12px;background:#fff;font-size:16px;color:#223246}
body #view-community .facility-prefer-form button[type=submit]{background:linear-gradient(160deg,#5c89af,#35658b);color:#fff;border-color:#507899}
body #view-community .facility-prefer-status{margin:8px 0 0;color:#1e6445;font-size:13px;font-weight:700}
body #view-community .facility-radar-host>*{margin-bottom:16px}
body #view-community .place-life{margin:6px 0 18px}
body #view-community .place-life h3{font-size:20px;color:#293b52;margin:4px 0 8px}
body #view-community .place-life .community-scope{padding:0;margin:0 0 12px}
body #view-community #communityActions .community-action{min-height:112px}
body #view-community .facility-contact{display:grid;gap:14px;margin:0 0 16px}
body #view-community .facility-contact .car-move,body #view-community .facility-contact .car-reg{margin:0;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f8f9fb);box-shadow:var(--app-raised)}
body #view-community .plate-readonly{margin:10px 0;padding:12px 14px;border-radius:14px;background:#eef2f7;color:#293b52;font-size:16px;font-weight:800;box-shadow:var(--app-inset)}
body #view-community .cm-settings{min-height:48px}
body #view-community.facility-street details[data-apt-only],body #view-community.facility-empty details[data-apt-only],body #view-community.facility-empty .facility-contact .car-reg{display:none!important}
/* 단지 유형별 원래 블록: 아파트=층별 혼잡 신호·입주민 인증, 회사·주택가=골목 레이더. 감시 모드(body.area-mode-street)가 아닌 보는 시설 기준으로 보여 준다. */
body #view-community.facility-apt #streetRadar,body #view-community.facility-empty #streetRadar,body #view-community.facility-empty #residentParkingGate,body #view-community.facility-empty #parkingRadar{display:none!important}
body #view-community.facility-street #streetRadar{display:block!important}
body #view-community.facility-street #residentParkingGate,body #view-community.facility-street #parkingRadar,body #view-community.facility-street .radar-detail{display:none!important}
body.area-mode-street:not(.resident-locked) #view-community.facility-apt #parkingRadar{display:block!important}
body.area-mode-street #view-community.facility-apt #residentParkingGate:not([hidden]){display:block!important}
body.area-mode-street #view-community.facility-apt #siteParkingPlan:not([hidden]),body.area-mode-street #view-community.facility-apt #aptParkingEvidence{display:block!important}
body #view-community .gate-band{margin:12px 0}
/* ── 내 차·기록 ── */
body #view-parking .records-intro{margin:10px 0 12px}
body #view-parking .last-parking-card{margin:0 0 16px;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f1f4f8);box-shadow:var(--app-raised)}
body #view-parking .last-parking-top{display:flex;gap:14px;align-items:center;margin-bottom:14px}
body #view-parking .floor-badge{flex:0 0 auto;display:grid;place-items:center;min-width:64px;height:64px;padding:0 8px;border-radius:20px;background:linear-gradient(150deg,#6f9ac0,#35658b);color:#fff;font-size:24px;font-weight:900;letter-spacing:-.03em;box-shadow:inset 0 2px 1px #c9e0f288,0 4px 0 #294e70,0 10px 18px #1d3a5a33}
body #view-parking .floor-badge[hidden]{display:none}
body #view-parking .last-parking-copy{min-width:0}
body #view-parking .last-parking-copy h3{margin:4px 0;font-size:20px;line-height:1.4;color:#293b52;word-break:keep-all;overflow-wrap:anywhere}
body #view-parking .last-parking-copy p{margin:0;color:#536176;font-size:13px;line-height:1.55}
body #view-parking .last-parking-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
body #view-parking .last-parking-more button,body #view-parking [data-outcome-edit],body #view-parking .rp-delete{min-height:48px;padding:10px 12px;border:1px solid #c8d3e0;border-radius:14px;background:linear-gradient(#fff,#eef2f6);box-shadow:var(--app-button);color:#314a67;font-weight:700;font-size:14px;line-height:1.35;font-family:inherit}
body #view-parking .last-parking-more small{font-weight:600;color:#6a778a}
body #view-parking .outcome-sites{margin:16px 0;padding:16px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fffefa,#f8f9fb);box-shadow:var(--app-raised)}
body #view-parking .outcome-sites h2{margin:0;font-size:19px;color:#293b52}
body #view-parking .outcome-site{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding:12px 0;border-top:1px solid #e3e8ef}
body #view-parking .outcome-site>b{color:#293b52;font-size:15px;overflow-wrap:anywhere}
body #view-parking .outcome-site>small{grid-column:1;color:#536176;font-size:12.5px}
body #view-parking .outcome-site>button{grid-column:2;grid-row:1/span 2}
body #view-parking .outcome-site>.pk-outcomes{grid-column:1/-1}
body #view-parking .record-data{margin:16px 0}
body #view-parking .record-data summary{min-height:48px;align-content:center}
body #view-parking .record-data-note{color:#536176;font-size:12.5px;line-height:1.55}
body #view-parking .geo-data-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body #view-parking .geo-mini-btn{min-height:48px;font-size:14px}
@media(max-width:360px){body #view-parking .last-parking-more{grid-template-columns:1fr}body #view-community .facility-prefer-actions{grid-template-columns:1fr}}
/* 생활권의 내 주차 구역 카드도 한 손 기준 48px */
body #view-more #residencePersonalZones .pz-actions button{min-height:48px}

/* Recover a failed registry read without confusing it with missing floor data. */
body #view-community .facility-retry{min-height:48px;padding:10px 14px;margin:0 0 12px;border:1px solid #9fb6d1;border-radius:14px;background:linear-gradient(#fff,#eef2f7);box-shadow:var(--app-button);color:#314a67;font-family:inherit;font-weight:700;font-size:14px;line-height:1.4;cursor:pointer}
body #view-community .facility-retry[hidden]{display:none}

/* v643 final role contract */
.place-heading-row button,.place-scope button,.place-verification button,.place-secondary-navigate,.record-tools button,.map-choice-reset{min-height:48px;padding:10px 14px;border-radius:16px;border:1px solid #ccd3dd;background:#f6f8fb;color:#34435a;font:inherit}
.place-heading-row{gap:12px;flex-wrap:wrap}.place-decision{margin:14px 0}.place-decision h3{font-size:18px;margin:0 0 6px}.place-decision p{font-size:14px;color:#596573;line-height:1.5;margin:0 0 12px}.place-verification{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;color:#596573}.place-verification button{font-size:13px}.place-verification span{align-self:center}
#view-more .place-entrances{margin:8px 0}#view-more .place-life{margin:18px 0}#view-more .brand-hub{display:block;margin-top:24px}.auth-chip{font-size:11px;padding:3px 6px;border-radius:8px;background:#e7edf7;color:#345275}.community-action{position:relative}.record-tools{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
#mapChoiceClose{min-width:48px;min-height:48px}.map-choice-remember{min-height:48px;display:flex;align-items:center}#mapNavigationStatus:empty{display:none}.map-choice-reset{margin-top:12px}#complexGate input,.visit-sheet input,.visit-sheet select,#visitSheet input{font-size:16px!important}
#view-finder .pf-search-row{flex-wrap:wrap}#view-finder .pf-search-row input{min-width:0;flex:1 1 160px}#view-finder [data-primary-action]{min-height:48px}#view-finder .street-radar{margin-top:22px}

#view-more .community-actions .community-action{min-height:100px}#view-more .community-actions button{min-width:0}#view-more .place-dashboard{padding:14px}#view-more .place-dashboard-head{margin-bottom:6px}#view-more .place-decision{margin-top:8px}#visitorSheetWrap input,#visitorSheetWrap select{font-size:16px!important}

body #view-finder #streetRadar{display:block!important}

#view-finder .pf-search-shortcuts button{word-break:keep-all;padding-inline:8px;min-height:48px}

/* Keep navigation provider names and recommendations readable in every app theme. */
#mapChoiceBackdrop .map-choice-sheet{color:#24364b;background:#fff}
#mapChoiceBackdrop .map-choice-grid button{padding-top:30px;min-height:94px;background:linear-gradient(155deg,#fff,#edf2f7);color:#24364b;box-shadow:inset 0 1px #fff,0 3px #ccd5df}
#mapChoiceBackdrop .map-choice-grid button small{font-size:12px;line-height:1.4;color:#4b5d70}
#mapChoiceBackdrop .map-choice-grid button b{font-size:15px;color:#24364b}
#mapChoiceBackdrop .map-choice-grid button>em{font-size:10px;line-height:1.2;background:#304c67;color:#fff}
#mapChoiceBackdrop [data-map-provider="naver"]{border-color:#84b99c;background:linear-gradient(155deg,#fff,#e7f3ec)}
#mapChoiceBackdrop .map-choice-note{font-size:12px;line-height:1.5;color:#4b5d70}
