/* Homepage visual system; management pages keep their own layout. */
.parking-home {
  --forest: #253b35;
  --muted: #626b64;
  --line: #d8dbcf;
  --mint: #eef0d9;
  --ink: #232e29;
  --paper: #f5f3eb;
  --yellow: #e4ec8e;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
.parking-home button { border-radius: 5px; }
.parking-home :is(a, button, input, select, summary):focus-visible { outline: 3px solid #8b5c18; outline-offset: 4px; }
.topbar { max-width: 1440px; margin: auto; padding: 0 4.5%; height: 100px; border-color: #2b3a2d33; background: transparent; }
.brand { font-size: 23px; letter-spacing: -.8px; gap: 12px; }
.brand-icon { width: 46px; height: 49px; border-radius: 4px; background: var(--ink); font-size: 35px; font-family: Arial,sans-serif; font-weight: 800; }
.brand-icon span { color: var(--yellow); font-size: 20px; top: -5px; right: -6px; background: var(--ink); border: 3px solid var(--paper); line-height: 20px; }
.brand small { font-size: 10px; letter-spacing: 1px; margin-top: 6px; font-weight: 500; }
.top-actions { gap: 25px; }
.top-actions a, .top-actions .subtle { font-size: 13px; font-weight: 650; text-decoration: none; }
.top-actions .subtle { padding: 10px 0; min-height: 44px; }
.top-actions .admin-link { border-left: 1px solid #bdc3b7; padding-left: 26px; gap: 15px; color: #636f63; }
.nav-find { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid var(--ink); }
main { max-width: 1440px; padding: 0 4.5%; }
.cover { position: relative; isolation: isolate; min-height: 500px; padding: 48px 0 34px; margin-block: 12px; }
.cover-copy { position: relative; z-index: 1; width: 52%; min-height: 404px; display: flex; flex-direction: column; align-items: flex-start; }
.cover-kicker { display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 650; letter-spacing: 2px; margin: 0 0 25px; }
.tiny-route { width: 26px; height: 9px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: skew(-25deg); }
.cover h1 { font-size: clamp(46px,4.8vw,70px); letter-spacing: -2.5px; line-height: 1.3; font-weight: 800; margin: 0 0 24px; }
.cover h1 span { color: inherit; }
.hand-line { position: relative; white-space: nowrap; isolation: isolate; }
.hand-line::after { content: ""; position: absolute; left: 3%; right: 5%; bottom: 5%; height: 13%; background: var(--yellow); z-index: -1; transform: rotate(-2deg); }
.cover-description { font-size: 14px; line-height: 2; color: #4d5a51; margin: 0 0 26px; }
.cover-actions { display: flex; align-items: center; gap: 21px; }
.cover-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; color: white; background: var(--ink); text-decoration: none; padding: 17px 22px; border-radius: 6px; font-size: 14px; font-weight: 650; min-height: 56px; box-shadow: 0 6px 16px #253b3514; }
.cover-cta:hover { background: #3b5145; }
.cover-cta span { font-size: 23px; line-height: 1; color: var(--yellow); }
.cover-index { display: flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: 1px; color: #59665b; margin: auto 0 0; padding-top: 30px; }
.cover-visual { position: absolute; z-index: 0; inset: 0 -3% 0 0; overflow: hidden; pointer-events: none; user-select: none; }
.cover-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.service-strip { display: flex; justify-content: space-between; padding: 18px 0; border-block: 1px solid #bec5b6; margin-bottom: 37px; gap: 15px; }
.service-strip p { margin: 0; font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 13px; }
.service-strip p>span { font: 11px/1.5 Consolas,monospace; color: #596453; }
.service-strip small { font-size: 12px; font-weight: 400; color: #596453; }
.toolbar { border: 1px solid #d6ddcc; border-top: 3px solid var(--forest); border-radius: 12px; padding: 27px 30px 18px; box-shadow: 0 12px 36px #253b3507; background: #fffef9; scroll-margin-top: 18px; }
.finder-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.finder-heading .eyebrow { color: #59694e; font-size: 11px; letter-spacing: 1px; margin-bottom: 7px; }
.finder-heading h2 { font-size: 25px; letter-spacing: -.5px; margin: 0; }
.finder-heading>p { font-size: 12px; color: #647052; margin: 0 0 3px; }
.search-row { gap: 10px; }
.search { background: #f4f5ee; border-radius: 6px; padding: 0 20px; border: 1px solid #bbc6b2; gap: 13px; min-width: 0; }
.search svg { width: 20px; height: 20px; stroke: #526346; stroke-width: 1.7; flex-shrink: 0; }
.search input { min-height: 59px; padding: 15px 0; font-size: 15px; }
.search input::placeholder { color: #616b5a; opacity: 1; }
.search-row .primary { background: var(--ink); border-color: var(--ink); min-width: 192px; font-size: 14px; }
.search-row .primary:hover { background: #3b5145; }
.primary-filters { display: grid; grid-template-columns: 1.2fr 1.1fr 1fr 1fr; gap: 0; margin-top: 16px; }
.primary-filters label { display: block; min-width: 0; padding: 0 19px; border-left: 1px solid #d6ddcc; font-size: 12px; color: #566548; }
.primary-filters label:first-child { padding-left: 0; border: 0; }
.primary-filters label:has(#city) { border: 0; padding-left: 0; }
.primary-filters select { display: block; width: 100%; max-width: 100%; min-height: 44px; font-size: 14px; font-weight: 650; color: var(--ink); padding: 0 24px 0 0; }
.extra-filters { border-top: 1px solid #c6cfb3; margin-top: 17px; }
.extra-filters summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font-size: 12px; color: #445337; font-weight: 650; }
.extra-filters summary::-webkit-details-marker { display: none; }
.extra-filters summary span { font-size: 20px; }
.extra-filters[open] summary span { transform: rotate(45deg); }
.extra-filters .filters { margin: 0 0 13px; gap: 8px 20px; }
.extra-filters .filters select { color: var(--ink); }
.extra-filters .filters .check { border: 0; padding: 0; }
.extra-filters button { background: #f6f8e9; border-color: #bdc7a7; }
.finder-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid #d6ddcc; padding-top: 14px; font-size: 12px; color: #566548; }
.finder-foot p { margin: 0; line-height: 1.7; flex: 1; }
.source-label { background: var(--ink); color: #f3f7df; padding: 4px 7px; white-space: nowrap; font-size: 9px; letter-spacing: 1px; }
#notice { border-radius: 0; border: 0; border-left: 2px solid #a6ae8a; background: transparent; margin: 20px 0; padding: 3px 12px; color: #59634d; font-size: 12px; }
#notice.error-notice { color: #923a31; border-color: #b45146; background: #fcece7; padding-block: 12px; }
.workspace { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 35px; margin-top: 38px; }
.results-heading { padding-bottom: 15px; border-bottom: 2px solid var(--ink); }
.results-heading h2 { margin-bottom: 7px; font-size: 22px; }
.results-heading #result-title { background: none; color: var(--ink); font-size: inherit; border-radius: 0; padding: 0; margin: 0; }
.results-heading #result-count { background: #e5e9d2; border-radius: 3px; color: #526044; font: 12px/1 Consolas,monospace; vertical-align: middle; }
.results-heading p { font-size: 11px; }
.distance-note { font-size: 11px; line-height: 1.7; color: #677261; margin: 15px 0; }
.parking-card { border: 0; border-bottom: 1px solid #c6cdbf; border-radius: 0; background: transparent; padding: 24px 0; margin: 0; box-shadow: none; }
.parking-card:first-child { padding-top: 10px; }
.parking-card:hover { border-color: #53604c; box-shadow: none; }
.parking-card.selected { box-shadow: -5px 0 0 var(--yellow); padding-left: 14px; background: #eff0e5; }
.card-title { font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.card-address { font-size: 12px; }
.badge { background: #e9ede2; color: #4f634e; border-radius: 3px; }
.card-meta { font-size: 12px; gap: 9px; }
.card-meta .distance { color: var(--ink); font: 12px/1.5 Consolas,monospace; }
.fee { background: #eeeee4; border: 1px solid #dfe1d3; border-radius: 3px; padding: 12px 15px; }
.fee strong { font-size: 10px; color: #69745c; letter-spacing: 1px; }
.fee p { font-size: 13px; color: #394a37; }
.source-time { font-size: 12px; color: #55644e; }
.card-actions { margin-top: 15px; }
.card-actions a { border-radius: 4px; background: var(--ink); }
.card-actions button { border-color: #bbc6b2; background: transparent; }
.card-actions button:hover { background: #e8edd9; }
.construction-card, .construction-card:first-child { padding: 18px 15px; margin: 15px 0; border: 1px solid #e8bf96; border-left: 4px solid #bd5c0a; background: #fff9ed; }
.construction-card .fee { background: #f8f1e4; }
.construction-notice { border-radius: 3px; }
.map-panel { border-radius: 5px; top: 18px; border-color: #bdc5b6; }
.map-heading { background: var(--ink); color: #f3f3e8; padding: 18px 20px; font-size: 15px; }
.map-heading small { color: #d3ddbf; font-size: 10px; }
#map { height: 470px; }
.map-legend { background: #fffef7; font-size: 11px; line-height: 1.7; }
.tip { background: #eeefe4; padding: 20px; }
.tip strong { font-size: 13px; }
.tip p { font-size: 12px; }
footer { margin-top: 70px; padding: 30px 0 20px; color: #6c7666; border-top: 1px solid #bdc5b6; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 23px; }
.footer-top strong { color: var(--ink); font-size: 22px; }
.footer-top p { font-size: 12px; }
.footer-top>div:last-child { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-top a, .footer-top button { color: #56664d; font-size: 11px; text-decoration: none; }
.footer-top #pending-count { background: #e5e9d2; padding: 2px 6px; border-radius: 3px; }
.data-notes { border-top: 1px solid #d4d9cb; padding: 12px 0; font-size: 11px; }
.data-notes summary { cursor: pointer; min-height: 34px; display: flex; align-items: center; }
.data-notes summary::before { content: "+"; margin-right: 9px; font-size: 17px; }
.data-notes[open] summary::before { content: "−"; }
.data-notes p { margin-block: 7px; }
.footer-bottom { border-top: 1px solid #d4d9cb; display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; font-size: 9px; letter-spacing: 1.3px; }
.search:focus-within { outline: 3px solid #8b5c18; outline-offset: 3px; }
.search input:focus-visible { outline: none; }
.cover-index span { font-size: 20px; }
/* Static scene stays inside the hero and never intercepts input. */
.cover-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, #f5f3ebfa 27%, #f5f3ebd9 38%, #f5f3eb00 59%); }
@media (min-width:1600px) { #map { height: 550px; } }
@media (max-width:1050px) {
  .cover { min-height: 460px; padding-top: 36px; }
  .cover h1 { font-size: clamp(42px,5vw,51px); }
  .cover-copy { min-height: 380px; }
  .cover-description { font-size: 13px; }
  .cover-actions { gap: 13px; }
  .cover-cta { padding-inline: 16px; gap: 20px; }
  .service-strip small { display: none; }
  .workspace { gap: 24px; }
  .map-heading { display: block; }
  .map-heading small { display: block; margin-top: 5px; }
  .finder-foot>span:last-child { display: none; }
}
@media (max-width:720px) {
  .topbar { min-height: 77px; height: 77px; padding: 0 20px; flex-wrap: nowrap; gap: 14px; }
  .brand { font-size: 20px; gap: 10px; white-space: nowrap; }
  .brand-icon { width: 36px; height: 39px; font-size: 29px; }
  .brand-icon span { font-size: 16px; line-height: 18px; }
  .brand small { font-size: 9px; letter-spacing: .5px; }
  .top-actions { gap: 0; margin-left: auto; }
  .top-actions .nav-find, .top-actions .admin-link { display: none; }
  .top-actions .subtle { font-size: 12px; padding: 9px 0; white-space: nowrap; }
  main { padding: 0 20px; }
  .cover { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); column-gap: 10px; padding: 23px 0 22px; margin: 0; min-height: 0; }
  .cover-copy { display: contents; }
  .cover-kicker { grid-column: 1 / -1; grid-row: 1; font-size: 11px; letter-spacing: 1px; margin-bottom: 15px; }
  .tiny-route { width: 20px; height: 7px; }
  .cover h1 { grid-column: 1 / -1; grid-row: 2; font-size: clamp(36px,8.8vw,58px); letter-spacing: -1.8px; line-height: 1.3; margin-bottom: 18px; }
  .cover-description { grid-column: 1; grid-row: 3; align-self: end; width: auto; font-size: 13px; line-height: 1.9; margin: 0 0 16px; }
  .cover-description br { display: none; }
  .cover-actions { grid-column: 1; grid-row: 4; align-self: start; width: auto; padding-bottom: 7px; }
  .cover-cta { padding: 12px; gap: 12px; font-size: 13px; min-height: 48px; white-space: nowrap; }
  .cover-cta span { font-size: 20px; }
  .cover-index, .cover-visual::after { display: none; }
  .cover-visual { grid-column: 2; grid-row: 3 / 5; position: relative; inset: auto; align-self: stretch; min-height: 178px; border-radius: 8px; }
  .cover-visual img { position: absolute; inset: 0; object-position: right center; }
  .service-strip { padding: 12px 0; margin-bottom: 23px; gap: 9px; }
  .service-strip p { font-size: 11px; gap: 6px; }
  .service-strip p>span { font-size: 9px; }
  .toolbar { padding: 19px 16px 13px; border-radius: 8px; }
  .finder-heading { margin-bottom: 15px; }
  .finder-heading h2 { font-size: 23px; }
  .finder-heading>p { display: none; }
  .finder-heading .eyebrow { font-size: 11px; }
  .search-row { gap: 9px; }
  .search { padding: 0 12px; gap: 8px; }
  .search svg { width: 17px; height: 17px; }
  .search input { font-size: 16px; min-height: 50px; }
  .search-row .primary { min-width: 0; width: 100%; min-height: 48px; font-size: 14px; }
  .primary-filters { grid-template-columns: 1fr 1fr; gap: 12px 0; margin-top: 19px; }
  .primary-filters label { padding: 0 12px; font-size: 12px; }
  .primary-filters label:nth-child(odd) { border: 0; padding-left: 0; }
  .primary-filters select { font-size: 14px; padding-right: 5px; min-height: 44px; }
  .extra-filters summary { font-size: 13px; }
  .extra-filters .filters { gap: 5px 10px; }
  .extra-filters .filters label { flex-wrap: wrap; }
  .finder-foot { align-items: flex-start; font-size: 12px; gap: 7px; }
  .source-label { font-size: 8px; padding: 3px 5px; }
  #notice { font-size: 12px; margin-block: 16px; }
  .workspace { display: flex; gap: 20px; margin-top: 27px; }
  .results-heading h2 { font-size: 20px; }
  .results-heading p { font-size: 10px; line-height: 1.7; }
  .results-heading .mobile-only { background: #e9edce; padding: 8px 12px; white-space: nowrap; }
  .card-top { gap: 9px; }
  .card-title { font-size: 16px; }
  .card-address { font-size: 11px; }
  .availability .badge { font-size: 9px; }
  .card-meta { font-size: 10px; gap: 6px; }
  .card-meta .badge { font-size: 10px; }
  .fee p { font-size: 12px; }
  .source-time { font-size: 12px; }
  .map-panel { top: 0; }
  .map-heading { display: flex; font-size: 13px; padding: 14px; }
  .map-heading small { font-size: 9px; }
  #map { height: 330px; }
  footer { margin-top: 40px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-top>div:last-child { gap: 13px; }
  .footer-top .subtle { padding: 8px 0; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.public-site #review-open, .public-site label:has(#mode), .public-site label:has(#sort), .public-site #report-dialog,
.public-site #review-dialog, #publication-note:empty { display: none !important; }
