:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #111820;
  --muted: #68727f;
  --line: #dfe3e5;
  --soft: #f6f7f6;
  --teal: #007d84;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
[hidden] { display: none !important; }
.cloud-status { margin: 0; padding: 12px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.account-page { padding: 30px 24px 100px; overflow-anchor: none; }
.account-page h1 { margin: 16px 0 24px; font-size: 27px; }
.account-page h2 { margin: 28px 0 12px; font-size: 18px; }
.account-page p { margin: 12px 0; line-height: 1.6; overflow-wrap: anywhere; }
.account-page .text-action { min-height: 44px; }
.account-page > a.text-action { display: inline-flex; align-items: center; }
.legacy-photo-action { display: block; margin-top: 8px; }
.legacy-archive-picker { margin-top: 20px; }
.account-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px; }
.account-share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.account-share-row span { overflow-wrap: anywhere; }
.operator-member { padding: 18px 0; border-bottom: 1px solid var(--line); }
.operator-member .operator-email { margin: 0 0 6px; font-weight: 600; }
.operator-member .operator-status { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.operator-member .field { margin-bottom: 10px; }
.operator-actions { display: flex; align-items: center; gap: 20px; }
.operator-actions .primary-action { flex: 1; margin: 0; }
.operator-actions .delete-action { width: auto; margin: 0; min-height: 44px; }
.operator-pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.sales-total strong { display: block; margin-top: 8px; font-size: 26px; }
.account-page .shared-sales-table { font-size: 13px; }
.account-page .shared-sales-table th:first-child { width: 38%; }
.account-page .shared-sales-table th:nth-child(2) { width: 40%; }
.account-page .shared-sales-table th:last-child { width: 22%; }
.shared-sales-table td:first-child { text-align: left; }
.shared-sales-table th, .shared-sales-table td { white-space: nowrap; }
.skeleton { display: block; width: var(--bone-width, 100%); height: 12px; background: #e8eceb; border-radius: 3px; animation: skeleton-breathe 1.7s ease-in-out infinite; }
.skeleton.bone-title { height: 30px; }
.skeleton.bone-total { height: 32px; margin: 16px 0 22px; }
.loading-caption { display: flex; align-items: center; gap: 9px; margin: 12px 0 32px; color: var(--muted); font-size: 13px; }
.loading-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: skeleton-breathe 1.7s ease-in-out infinite; }
.skeleton-heading { display: grid; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.skeleton-summary { padding: 25px 0 5px; border-bottom: 1px solid var(--line); }
.skeleton-section { padding: 26px 0 12px; }
.skeleton-store-row { display: flex; align-items: center; gap: 16px; min-height: 98px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.skeleton-store-row .bone-image { flex: none; width: 58px; height: 58px; border-radius: 6px; }
.skeleton-store-row > div { flex: 1; display: grid; gap: 10px; }
.skeleton-row { display: flex; justify-content: space-between; align-items: center; min-height: 61px; border-bottom: 1px solid var(--line); }
.skeleton-table-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 51px; border-bottom: 1px solid var(--line); }
.button-spinner { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin-right: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: button-spin .8s linear infinite; }
.cloud-status { position: sticky; top: 0; z-index: 8; background: var(--bg); }
.cloud-status.is-saving::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40%; height: 2px; background: var(--teal); animation: saving-progress 1.5s ease-in-out infinite; }
.account-page :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@keyframes skeleton-breathe { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes button-spin { to { transform: rotate(360deg); } }
@keyframes saving-progress { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@media (prefers-reduced-motion: reduce) { .skeleton, .loading-dot, .button-spinner, .cloud-status.is-saving::after { animation: none; } }
* { box-sizing: border-box; }
html { background: #eef0ef; }
body { margin: 0; color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.app-shell { position: relative; width: 100%; max-width: 500px; min-height: 100dvh; margin: auto; padding-bottom: calc(76px + var(--safe-bottom)); background: var(--bg); }
.screen { min-height: calc(100dvh - 76px); outline: none; }
h1, h2, p { margin: 0; }
.page-header { min-height: 88px; padding: 37px 24px 19px; display: flex; align-items: center; justify-content: space-between; }
.page-header h1 { font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.page-header.centered { justify-content: center; }
.page-header.centered h1 { font-size: 23px; }
.header-action { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--teal); }
.home-head { padding: 37px 24px 20px; border-bottom: 1px solid var(--line); }
.home-head h1 { font-size: 27px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 8px; }
.home-head p { font-size: 14px; color: var(--muted); }
.home-map-action { display: flex; align-items: center; gap: 16px; min-height: 76px; margin: 21px 24px 3px; padding: 0 16px; background: var(--teal); color: #fff; font-size: 17px; font-weight: 700; }
.home-map-action span { flex: 1; }
.home-map-action > svg:last-child { width: 17px; }
.home-salary { display: flex; align-items: center; gap: 12px; min-height: 70px; margin: 5px 24px 10px; border-bottom: 1px solid var(--line); }
.home-salary span { flex: 1; color: var(--muted); font-size: 14px; }
.home-salary strong { font-size: 23px; }
.home-salary svg { width: 17px; color: var(--muted); }
.section-more { display: inline-flex; align-items: center; gap: 2px; color: var(--teal); font-size: 13px; font-weight: 600; }
.section-more svg { width: 15px; height: 15px; }
.home-store-list .store-row { min-height: 87px; }
.home-store-list .store-thumb { width: 58px; height: 58px; }
.home-feature { margin: 27px 24px 11px; border: 1px solid var(--line); }
.home-feature-label { padding: 15px 16px; font-size: 17px; font-weight: 700; }
.home-map { position: relative; height: 192px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-map-pin { position: absolute; left: 52%; top: 49%; color: var(--teal); transform: translate(-50%,-50%); filter: drop-shadow(0 2px 2px #0002); }
.home-map-pin svg { width: 38px; height: 38px; fill: var(--teal); stroke: var(--teal); }
.home-feature-action { display: flex; align-items: center; justify-content: space-between; min-height: 57px; padding: 0 16px; color: var(--teal); font-size: 15px; font-weight: 600; }
.home-feature-action svg, .home-link svg { width: 17px; }
.home-link { display: flex; align-items: center; justify-content: space-between; min-height: 69px; padding: 10px 24px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.home-link:last-of-type { border-bottom: 1px solid var(--line); }
.home-link small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 4px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 21px 24px 12px; }
.section-head h2 { font-size: 17px; font-weight: 700; }
.section-head small { color: var(--muted); font-size: 12px; }
.prototype-note { margin: 20px 24px 30px; color: #7d858d; font-size: 11px; line-height: 1.7; }
.search-wrap { display: flex; align-items: center; gap: 13px; height: 54px; margin: 0 24px 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); }
.search-wrap svg { width: 22px; }
.search-wrap input { width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.search-wrap input::placeholder { color: #85909a; }
.map-intro { margin: 16px 24px 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.map-result { min-height: 70px; padding: 9px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; }
.map-result > svg:first-child { color: var(--teal); }
.map-result > svg:last-child { width: 18px; color: var(--muted); }
.map-result span { flex: 1; min-width: 0; }
.map-result strong { display: block; font-size: 15px; }
.map-result small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.time-row { height: 54px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.time-row strong { font-size: 16px; }
.time-row label { position: relative; min-height: 44px; display: inline-flex; align-items: center; gap: 2px; color: var(--teal); font-size: 14px; font-weight: 600; cursor: pointer; }
.time-row label svg { width: 16px; }
.time-row input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.map-stage { position: relative; height: clamp(460px, 65dvh, 650px); overflow: hidden; background: #eff1ef; }
.map-stage > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-marker { position: absolute; display: flex; align-items: center; min-height: 50px; padding: 0; border: 0; background: none; transform: translate(-14px,-44px); color: var(--teal); }
.map-marker svg { width: 34px; height: 38px; fill: var(--teal); stroke: var(--teal); filter: drop-shadow(0 2px 2px #0003); }
.map-marker span { padding: 5px 7px; color: var(--ink); background: #fffe; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 1px 3px #0001; }
.map-disclaimer { position: absolute; left: 12px; bottom: 185px; padding: 5px 7px; background: #fffe; color: var(--muted); font-size: 10px; }
.map-sheet { position: relative; z-index: 1; margin-top: -162px; padding: 0 0 9px; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -3px 15px #00000012; }
.sheet-handle { display: block; width: 38px; height: 5px; margin: 10px auto 12px; border-radius: 4px; background: #ddd; }
.store-row, .customer-row { width: 100%; min-height: 107px; padding: 10px 24px; display: flex; align-items: center; gap: 15px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; color: var(--ink); }
.map-sheet .store-row { margin: 0 20px; width: calc(100% - 40px); padding-left: 0; padding-right: 0; }
.store-thumb { flex: none; display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.logo-thumb { object-fit: contain; padding: 7px; background: #f2f3f2; }
.dark-logo { background: #232b31; }
.empty-thumb { display: grid; place-items: center; background: #e7ebea; color: #99a5a7; }
.row-main { flex: 1; min-width: 0; }
.row-main strong { display: block; font-size: 17px; line-height: 1.25; }
.row-main small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 12px; margin-top: 5px; }
.row-main em { display: block; margin-top: 5px; color: var(--teal); font-size: 15px; font-weight: 700; font-style: normal; }
.store-row > svg:last-child, .customer-row > svg:last-child { width: 18px; color: var(--muted); }
.filter-line { display: flex; gap: 26px; padding: 0 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.filter-line::-webkit-scrollbar { display: none; }
.filter-line button { flex: none; min-height: 49px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.filter-line button.active { border-color: var(--teal); color: var(--teal); font-weight: 700; }
.detail-header { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 79px; padding: 18px 15px 8px; border-bottom: 1px solid var(--line); }
.detail-header button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); }
.detail-header h1 { text-align: center; font-size: 21px; font-weight: 700; }
.store-summary { margin: 15px 24px 0; color: var(--muted); font-size: 13px; }
.store-hours { display: flex; align-items: baseline; gap: 14px; margin: 9px 24px 0; font-size: 14px; }
.store-hours span { flex: none; color: var(--muted); font-size: 12px; }
.store-hours strong { font-weight: 600; }
.row-main .row-hours { color: var(--ink); white-space: normal; line-height: 1.5; }
.row-main .row-price { color: var(--ink); white-space: normal; line-height: 1.5; }
.row-main em { font-size: 14px; }
.store-sort { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 24px; border-bottom: 1px solid var(--line); }
.store-sort > span { font-size: 13px; color: var(--muted); }
.store-sort select { min-height: 44px; max-width: 210px; border: 0; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.comparison-panel { padding: 0 24px 14px; border-bottom: 1px solid var(--line); }
.comparison-panel summary { min-height: 44px; padding: 13px 0; font-size: 13px; color: var(--teal); cursor: pointer; }
.comparison-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.comparison-fields .field { min-width: 0; }
.comparison-fields input { font-size: 13px; }
.comparison-panel .form-help { margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calculation-fields { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.income-per-person[hidden], .income-total-back[hidden] { display: none; }
.store-photo-slot { flex: none; width: 72px; height: 72px; }
.home-store-list .store-photo-slot { width: 58px; height: 58px; }
.store-photo-gallery { display: flex; gap: 8px; overflow-x: auto; margin: 16px 24px 0; scroll-snap-type: x mandatory; }
.store-photo-gallery[hidden], .store-photo-fallback[hidden] { display: none; }
.store-photo-gallery img { display: block; flex: 0 0 100%; width: 100%; height: 220px; object-fit: cover; scroll-snap-align: start; }
.photo-caption { margin: 8px 24px 0; color: var(--muted); font-size: 12px; }
.photo-editor { padding: 8px 0 20px; border-top: 1px solid var(--line); }
.photo-heading { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; }
.photo-heading h2 { font-size: 16px; }
.photo-heading small { color: var(--muted); }
.photo-entry { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.photo-entry img { width: 88px; height: 72px; border-radius: 4px; object-fit: cover; }
.photo-entry > div { flex: 1; min-width: 0; }
.photo-entry span { display: block; font-size: 12px; color: var(--muted); }
.photo-entry .text-action { display: inline-flex; align-items: center; margin-right: 18px; font-size: 13px; }
.photo-replace { position: relative; cursor: pointer; }
.photo-replace input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.photo-replace:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.photo-editor .field { margin: 14px 0 10px; }
.photo-editor input[type="file"] { height: auto; min-height: 49px; font-size: 12px; }
.photo-editor #photo-status { margin-top: 10px; }
.store-import { padding: 18px 24px; }
.import-label { position: relative; display: inline-flex; align-items: center; font-size: 13px; cursor: pointer; }
.import-label input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.import-label:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
button:disabled { opacity: .5; cursor: wait; }
.detail-logo { display: grid; place-items: center; min-height: 130px; margin: 16px 24px 0; background: #f2f3f2; }
.detail-logo.dark-logo { background: #232b31; }
.detail-logo img { display: block; max-width: 240px; max-height: 115px; object-fit: contain; }
.detail-photo { display: block; width: calc(100% - 48px); height: 180px; margin: 16px 24px 0; object-fit: cover; }
.address-row { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 0 24px; font-size: 14px; }
.address-row svg:first-child { color: var(--muted); }
.address-row span { flex: 1; }
.address-row small { display: block; margin-top: 3px; color: var(--teal); font-size: 11px; }
.address-row svg:last-child { width: 17px; color: var(--muted); }
.detail-map { position: relative; overflow: hidden; height: 198px; margin: 0 20px; border: 1px solid var(--line); border-radius: 9px; }
.detail-map img { width: 100%; height: 100%; object-fit: cover; }
.detail-marker { position: absolute; left: 45%; top: 41%; display: flex; align-items: center; color: var(--teal); }
.detail-marker svg { width: 38px; height: 42px; fill: var(--teal); stroke: var(--teal); }
.detail-marker b { padding: 4px 6px; background: #fffe; color: var(--ink); font-size: 13px; white-space: nowrap; }
.detail-block { margin: 25px 24px 0; }
.detail-block h2 { font-size: 18px; margin-bottom: 15px; }
.detail-section-head { display: flex; align-items: baseline; justify-content: space-between; }
.detail-section-head button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--teal); }
.detail-section-head button svg { width: 19px; height: 19px; }
.condition-row { padding: 15px 0; border-top: 1px solid var(--line); }
.condition-row > strong { display: block; margin-bottom: 9px; font-size: 15px; }
.condition-row > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.condition-row > div span { color: var(--muted); }
.condition-row > div b { font-size: 15px; font-weight: 650; text-align: right; }
.back-summary { padding: 0 0 14px; font-size: 16px; font-weight: 600; }
.back-note { padding: 14px 0; white-space: pre-wrap; font-size: 14px; line-height: 1.6; }
.back-row { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-top: 1px solid var(--line); font-size: 16px; }
.back-row:last-child { border-bottom: 1px solid var(--line); }
.back-row strong { font-size: 19px; font-weight: 600; white-space: nowrap; }
.detail-empty { padding: 13px 0 20px; color: var(--muted); font-size: 14px; }
.contact-list { margin: 19px 24px 0; }
.action-row { display: flex; align-items: center; gap: 15px; min-height: 68px; border-bottom: 1px solid var(--line); font-size: 16px; }
.action-row > svg:first-child { color: var(--teal); }
.action-row span { flex: 1; }
.action-row > svg:last-child { width: 17px; color: var(--muted); }
.action-row.unavailable { color: var(--muted); }
.memo-block p { font-size: 14px; line-height: 1.6; padding-bottom: 20px; }
.personal-memo { margin: 8px 24px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.personal-memo label { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.personal-memo textarea { display: block; width: 100%; min-height: 116px; resize: vertical; padding: 12px; border: 1px solid #bfc5c8; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.6; }
.personal-memo textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.personal-memo button { display: block; min-width: 116px; min-height: 44px; margin: 12px 0 8px auto; border: 0; border-radius: 6px; background: var(--teal); color: #fff; font-weight: 700; }
.personal-memo p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.record-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.record-tabs a { display: grid; place-items: center; min-height: 52px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 16px; }
.record-tabs a.active { color: var(--teal); border-color: var(--teal); font-weight: 700; }
.calendar-top { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 20px; }
.calendar-top strong { font-size: 18px; }
.calendar-top button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); }
.calendar-top svg { width: 18px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); padding: 0 13px 13px; border-bottom: 1px solid var(--line); }
.weekday { height: 32px; text-align: center; font-size: 12px; color: var(--muted); }
.day { position: relative; height: 55px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 1px 0; border: 0; background: #fff; color: var(--ink); font-size: 14px; }
.day > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; }
.day.selected > span { background: var(--teal); color: #fff; }
.day small { color: var(--teal); font-size: 10px; font-weight: 700; }
.income-total { padding: 15px 24px 18px; }
.income-total small { display: block; color: var(--muted); font-size: 14px; margin-bottom: 5px; }
.income-total strong { font-size: 32px; letter-spacing: -.03em; }
.income-total strong span { font-size: 18px; margin-left: 2px; }
.salary-trend { padding: 24px 24px 30px; }
.salary-trend h2 { margin-bottom: 16px; font-size: 17px; }
.salary-bars { display: grid; grid-template-columns: repeat(6,1fr); align-items: end; gap: 10px; height: 150px; border-bottom: 1px solid var(--line); }
.salary-bar { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: end; }
.bar-track { display: flex; align-items: end; width: 100%; max-width: 33px; height: 120px; }
.bar-track > span { display: block; width: 100%; background: var(--teal); }
.salary-bar small { display: block; height: 28px; padding-top: 5px; color: var(--muted); font-size: 11px; }
.record-day-heading { padding: 11px 24px; background: var(--soft); font-size: 15px; font-weight: 600; }
.history-row { display: flex; align-items: center; width: 100%; min-height: 51px; gap: 10px; padding: 0 24px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font-size: 15px; }
.history-row span { flex: 1; }
.history-row strong { font-size: 15px; }
.history-row svg { width: 17px; color: var(--muted); }
.customer-note { display: flex; align-items: flex-start; gap: 24px; width: 100%; min-height: 81px; padding: 18px 24px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font-size: 14px; }
.customer-note strong { min-width: 55px; font-size: 16px; }
.customer-note span { flex: 1; }
.customer-note small { display: block; color: var(--muted); font-size: 12px; margin-top: 7px; }
.customer-note svg { width: 17px; color: var(--muted); }
.customer-row { min-height: 72px; }
.memo-text { padding: 16px 24px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.form { padding: 14px 24px 30px; }
.local-note { margin: 15px 24px 0; color: var(--muted); font-size: 12px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select { width: 100%; height: 49px; padding: 10px 12px; border: 1px solid #bfc5c8; border-radius: 6px; background: #fff; color: var(--ink); font-size: 15px; }
.field textarea { width: 100%; min-height: 100px; padding: 10px 12px; border: 1px solid #bfc5c8; border-radius: 6px; resize: vertical; font: inherit; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.editor-store-name { padding: 18px 24px 0; font-size: 18px; font-weight: 700; }
.form-subhead { margin: 10px 0 17px; font-size: 16px; }
.back-band-entry { padding: 15px 0 22px; border-bottom: 1px solid var(--line); }
.band-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.band-heading strong { font-size: 16px; }
.band-heading button { min-width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; }
.weekday-picker { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 18px; }
.weekday-picker label { position: relative; min-width: 0; }
.weekday-picker input { position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; opacity: 0; }
.weekday-picker span { display: grid; place-items: center; height: 44px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.weekday-picker input:checked + span { border-color: var(--teal); background: var(--teal); color: #fff; font-weight: 700; }
.weekday-picker input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.band-time { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.band-time .field { min-width: 0; }
.unit-input { display: flex !important; align-items: center; margin: 0 !important; border: 1px solid #bfc5c8; border-radius: 6px; }
.unit-input input { min-width: 0; border: 0; }
.unit-input small { flex: none; padding: 0 9px; color: var(--muted); font-size: 12px; }
.back-band-entry .field input { font-size: 14px; }
.detail-utility { display: flex; justify-content: flex-end; padding: 14px 24px 0; }
.detail-utility a { min-height: 44px; display: inline-flex; align-items: center; color: var(--teal); font-size: 13px; font-weight: 700; }
.customer-phone { margin: 0 24px; }
.customer-phone strong { max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.customer-age { margin: 0 24px 12px; color: var(--muted); font-size: 14px; }
.condition-reference { margin: -8px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.5; white-space: pre-wrap; }
.pay-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 16px; border-top: 1px solid var(--line); font-size: 15px; }
.pay-total strong { font-size: 23px; }
.customer-picker { max-height: 210px; overflow: auto; margin: 0 0 16px; border-top: 1px solid var(--line); }
.customer-picker label { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 14px; }
.customer-picker input { width: 19px; height: 19px; accent-color: var(--teal); }
.visit-row { padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.visit-row strong { margin-right: 12px; }
.visit-row p { margin-top: 8px; color: var(--muted); line-height: 1.5; white-space: pre-wrap; }
.delete-action { display: block; min-height: 44px; margin: 16px auto 0; border: 0; background: none; color: #b42318; font-size: 13px; }
.text-action { min-height: 44px; padding: 0; border: 0; background: none; color: var(--teal); font-weight: 700; }
.after-action { padding: 10px 0 0; }
.form-help { color: var(--muted); font-size: 12px; line-height: 1.7; }
.error { color: #b42318; font-size: 12px; margin-bottom: 14px; }
.primary-action { width: 100%; min-height: 50px; margin-top: 21px; border: 0; border-radius: 7px; background: var(--teal); color: #fff; font-weight: 700; }
.empty { padding: 24px; color: var(--muted); font-size: 13px; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 500px; min-height: calc(72px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: var(--safe-bottom); border-top: 1px solid var(--line); background: #fff; }
.bottom-nav a { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 10px; }
.bottom-nav a.active { color: var(--teal); font-weight: 700; }
.bottom-nav a svg { width: 23px; height: 23px; }
button:active, a:active { opacity: .7; }
@media (min-width: 501px) { .app-shell { box-shadow: 0 6px 36px #00000012; } }
@media (max-width: 360px) { .page-header { padding-left: 18px; }.search-wrap { margin-left: 18px; margin-right: 18px; }.time-row { padding: 0 18px; }.bottom-nav a { font-size: 9px; }.map-marker span { font-size: 10px; } }
@media (prefers-reduced-motion: no-preference) { button, a { transition: opacity .18s ease; } }

.monthly-fees{margin:0 20px 20px}.monthly-fees .action-row{padding:12px 0}.monthly-fees p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}

.bar-track{position:relative;display:block}.bar-track::after{content:"";position:absolute;left:-5px;right:-5px;top:50%;border-top:1px solid var(--line)}.bar-track>span{position:absolute}.bar-track>span.negative{background:var(--muted)}

.store-info-row{display:flex;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.store-info-row>span{flex:0 0 115px;color:var(--muted)}.store-info-row>strong{font-weight:500;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.staff-style-picker{border:0;padding:0;margin:0 0 18px}.staff-style-picker legend{font-size:14px;margin-bottom:8px}.staff-style-picker label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-right:22px;font-size:14px}

.work-stats{margin:24px}.work-stats h2{font-size:18px;margin-bottom:16px}.work-summary{display:flex;flex-wrap:wrap;gap:18px 30px}.work-summary>div{display:flex;flex-direction:column;gap:8px}.work-summary span{font-size:12px;color:var(--muted)}.work-summary strong{font-size:22px}.work-summary strong small{font-size:14px;margin-left:4px}.work-day-control{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px}.work-day-control button:disabled{color:var(--muted)}.weekday-sales{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;margin-top:20px}.weekday-sales caption{text-align:left;font-size:15px;font-weight:600;margin-bottom:12px}.weekday-sales th,.weekday-sales td{padding:12px 4px;border-bottom:1px solid var(--line);text-align:right;overflow-wrap:anywhere}.weekday-sales th:first-child{text-align:left;width:15%}.weekday-sales th:nth-child(2){width:15%}.weekday-sales thead th{color:var(--muted);font-weight:500}.weekday-sales tbody th{font-weight:500}
