:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --line: #d8dee7;
  --line-strong: #aab6c5;
  --text: #18202a;
  --muted: #667085;
  --header: #24303d;
  --accent: #0f766e;
  --accent-soft: #e5f3f0;
  --amber: #b45309;
  --danger: #b42318;
  --pin-blue: #2563eb;
  --pin-lime: #84cc16;
  --pin-orange: #f97316;
  --pin-pink: #ec4899;
  --place-uninstalled: #f39800;
  --place-installed: #0879c9;
  --place-unavailable: #e23b4d;
  --work-new: #d9368b;
  --work-installed: #08a9e7;
  --shadow: 0 14px 30px rgba(24, 32, 42, 0.08);
  --pc-header-height: clamp(64px, 3.66vw, 74px);
  --pc-header-pad-top: clamp(8px, 0.58vw, 12px);
  --pc-header-pad-right: clamp(36px, 2.15vw, 44px);
  --pc-header-pad-bottom: clamp(6px, 0.39vw, 8px);
  --pc-header-pad-left: clamp(38px, 2.35vw, 48px);
  --pc-header-gap: clamp(10px, 0.68vw, 14px);
  --pc-body-pad-top: clamp(18px, 1.17vw, 24px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

.pc-shell {
  min-height: 100vh;
  background: #fff;
}

.pc-header {
  min-height: var(--pc-header-height);
  display: flex;
  align-items: flex-end;
  gap: var(--pc-header-gap);
  padding: var(--pc-header-pad-top) var(--pc-header-pad-right) var(--pc-header-pad-bottom) var(--pc-header-pad-left);
  border-bottom: 2px solid #08a9e7;
  background: #fff;
}

.pc-logo-button,
.pc-mobile-menu-button,
.pc-icon-button,
.pc-logout-button,
.pc-menu-button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}

.pc-logo-button:hover:not(:disabled),
.pc-mobile-menu-button:hover:not(:disabled),
.pc-icon-button:hover:not(:disabled),
.pc-logout-button:hover:not(:disabled),
.pc-menu-button:hover:not(:disabled) {
  border-color: transparent;
  color: inherit;
}

.pc-logo-button:focus-visible,
.pc-mobile-menu-button:focus-visible,
.pc-icon-button:focus-visible,
.pc-logout-button:focus-visible,
.pc-menu-button:focus-visible {
  outline: 3px solid rgba(8, 169, 231, 0.24);
  outline-offset: 4px;
}

.pc-logo-button img {
  width: clamp(218px, 12.5vw, 256px);
  height: auto;
  display: block;
}

.pc-logo-button .pc-logo-d-mark,
.pc-mobile-logout-menu-button {
  display: none;
}

.pc-mobile-menu-button {
  display: none;
}

.pc-mobile-menu-backdrop {
  display: none;
}

.pc-refresh-button {
  margin-left: clamp(5px, 0.32vw, 7px);
}

.office-pc-qr-button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.office-pc-qr-button[hidden],
body:not(.is-office-smartphone-app) .office-pc-qr-button {
  display: none;
}

.office-pc-qr-button img {
  width: 40px;
  height: 40px;
  display: block;
}

.pc-refresh-button img {
  width: clamp(32px, 1.95vw, 40px);
  height: auto;
  display: block;
}

.deskstyle-notification-anchor {
  position: relative;
  overflow: visible;
}

.app-notification-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 4;
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e23b4d;
  color: #fff;
  box-shadow: 0 4px 10px rgba(226, 59, 77, 0.34);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.pc-information-card .app-notification-badge {
  top: 8px;
  right: 10px;
}

.app-notification-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 6000;
  width: min(340px, calc(100vw - 36px));
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid #9ad9f2;
  border-radius: 8px;
  background: #ffffff;
  color: #202020;
  box-shadow: 0 18px 36px rgba(24, 32, 42, 0.2);
  text-align: left;
  line-height: 1.35;
}

.app-notification-toast[hidden] {
  display: none;
}

.app-notification-toast span {
  color: #0879c9;
  font-size: 12px;
  font-weight: 800;
}

.app-notification-toast strong {
  color: #202020;
  font-size: 14px;
  font-weight: 700;
}

.pc-agency-filter {
  position: relative;
  width: clamp(198px, 11.2vw, 230px);
  margin-left: clamp(26px, 1.72vw, 36px);
}

.pc-agency-button {
  width: 100%;
  min-height: clamp(30px, 1.75vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 34px 4px 14px;
  border: 1px solid #39afe6;
  border-radius: 10px;
  background: #fff;
  color: #202020;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-agency-button::after {
  position: absolute;
  right: 14px;
  width: 0;
  height: 0;
  border-top: 14px solid #08a9e7;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  content: "";
}

.pc-agency-button:hover:not(:disabled) {
  border-color: #08a9e7;
  box-shadow: 0 0 0 4px rgba(8, 169, 231, 0.1);
}

.pc-agency-button:focus-visible {
  outline: 3px solid rgba(8, 169, 231, 0.24);
  outline-offset: 4px;
}

.pc-agency-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #b9d6e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(24, 32, 42, 0.14);
}

.pc-agency-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #202020;
  font-size: 15px;
  line-height: 1.2;
}

.pc-agency-option:hover {
  background: rgba(8, 169, 231, 0.08);
}

.pc-agency-option input {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: #08a9e7;
}

.pc-agency-option span {
  color: #202020;
  font-size: 15px;
}

.pc-header-spacer {
  flex: 1 1 auto;
}

.pc-user-name {
  width: clamp(220px, 12.4vw, 254px);
  min-height: clamp(30px, 1.75vw, 36px);
  display: grid;
  place-items: center;
  padding: 4px 18px;
  border: 1px solid #39afe6;
  border-radius: 999px;
  background: #fff;
  color: #202020;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-logout-button {
  margin-left: 2px;
}

.pc-logout-button img {
  width: clamp(78px, 4.7vw, 96px);
  height: auto;
  display: block;
}

.pc-body {
  min-height: calc(100vh - var(--pc-header-height));
  display: grid;
  grid-template-columns: 169px minmax(0, 1fr);
  gap: 28px;
  padding: var(--pc-body-pad-top) 28px 44px;
  transition: grid-template-columns 160ms ease, gap 160ms ease;
}

.pc-sidebar {
  min-height: calc(100vh - 176px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 6px;
}

.pc-menu-toggle {
  width: 36px;
  min-height: 36px;
  align-self: end;
  display: grid;
  place-items: center;
  margin: -8px 17px 12px 0;
  padding: 0;
  border: 1px solid #b9d6e8;
  border-radius: 999px;
  background: #fff;
  color: #0879c9;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.pc-menu-toggle:hover:not(:disabled) {
  border-color: #08a9e7;
  color: #0879c9;
  box-shadow: 0 0 0 4px rgba(8, 169, 231, 0.1);
}

.pc-menu-toggle span {
  transform: translateY(-1px);
}

.pc-menu-group {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.pc-menu-bottom {
  margin-top: auto;
  padding-bottom: 4px;
}

.pc-menu-button {
  position: relative;
  width: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: width 160ms ease;
}

.pc-menu-button img {
  width: 126px;
  height: auto;
  display: block;
}

.pc-mobile-logout-menu-button img {
  width: 96px;
}

.pc-menu-composite {
  width: 126px;
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
  color: #202020;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-menu-composite-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
}

.pc-menu-composite-icon-kintai {
  background-image: url("/design-assets/pc/menu/button-kintai.png");
  background-position: -13px center;
  background-size: 126px auto;
}

.pc-menu-composite-label {
  display: block;
}

.pc-menu-button::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -10px;
  width: 3px;
  border-radius: 999px;
  content: "";
  background: transparent;
}

.pc-menu-button:hover img,
.pc-menu-button.is-active img {
  filter: saturate(1.08);
}

.pc-menu-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.pc-menu-button.is-active::before {
  background: #08a9e7;
}

.pc-shell.is-menu-collapsed .pc-body {
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
}

.pc-shell.is-menu-collapsed .pc-sidebar {
  align-items: center;
}

.pc-shell.is-menu-collapsed .pc-menu-toggle {
  align-self: center;
  margin-right: 0;
}

.pc-shell.is-menu-collapsed .pc-menu-toggle span {
  transform: translateY(-1px) rotate(180deg);
}

.pc-shell.is-menu-collapsed .pc-menu-group {
  justify-items: start;
}

.pc-shell.is-menu-collapsed .pc-menu-button {
  width: 50px;
  place-items: center start;
}

.pc-shell.is-menu-collapsed .pc-menu-button img {
  max-width: none;
}

.pc-shell.is-menu-collapsed .pc-menu-composite {
  gap: 0;
  padding-left: 10px;
}

.pc-shell.is-menu-collapsed .pc-menu-composite-label {
  width: 0;
  overflow: hidden;
}

.pc-shell.is-menu-collapsed .pc-menu-button::before {
  left: 0;
}

.pc-content {
  min-width: 0;
}

.pc-top-screen,
.pc-setti-screen {
  min-width: 0;
}

.pc-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(368px, 452px) minmax(440px, 1fr);
  gap: 26px;
  align-items: start;
}

.pc-stack {
  display: grid;
  gap: 22px;
}

.pc-info-card,
.pc-main-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #aab8ca;
  border-radius: 8px;
  background: #fff;
}

.pc-frame-title {
  width: 100%;
  height: 36px;
  display: block;
  background: #1d386e;
  object-fit: contain;
  object-position: left center;
}

.pc-frame-body {
  min-height: 0;
  background: #fff;
}

.pc-frame-body-todo {
  height: 281px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pc-frame-body-info {
  height: 325px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pc-main-panel {
  min-height: 697px;
  max-height: calc(100vh - var(--pc-header-height) - 58px);
  padding: 18px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pc-message-detail {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
}

.pc-message-detail-empty {
  min-height: 640px;
  place-items: center;
  color: #60747c;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.pc-message-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.pc-message-detail-head time {
  color: #60747c;
  font-size: 13px;
  font-weight: 800;
}

.pc-message-detail-new {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6007e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.pc-message-detail h2 {
  margin: 0;
  color: #1d386e;
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pc-message-detail-meta {
  display: grid;
  gap: 7px;
  margin: 0;
}

.pc-message-detail-meta div {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.pc-message-detail-meta dt,
.pc-message-detail-meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.pc-message-detail-meta dt {
  color: #60747c;
  font-weight: 800;
}

.pc-message-detail-meta dd {
  min-width: 0;
  color: #202020;
  overflow-wrap: anywhere;
}

.pc-message-detail-body {
  color: #202020;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pc-message-attachments {
  display: grid;
  gap: 8px;
}

.pc-message-attachments h3 {
  margin: 0;
  color: #1d386e;
  font-size: 14px;
}

.pc-message-attachment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 180px));
  gap: 10px;
}

.pc-message-attachment {
  min-width: 0;
  display: grid;
  gap: 5px;
  margin: 0;
}

.pc-message-attachment img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3f7;
}

.pc-message-attachment figcaption {
  min-width: 0;
  overflow: hidden;
  color: #526273;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-message-thread {
  display: grid;
  gap: 9px;
}

.pc-message-thread:empty {
  display: none;
}

.pc-message-thread h3 {
  margin: 4px 0 0;
  color: #1d386e;
  font-size: 14px;
}

.pc-message-thread-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  background: #f8fbff;
}

.pc-message-thread-head {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #60747c;
  font-size: 12px;
  line-height: 1.35;
}

.pc-message-thread-head strong,
.pc-message-thread-head time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-message-thread-item p {
  margin: 0;
  color: #202020;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pc-meyasu-admin-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #b9d6e8;
  border-radius: 8px;
  background: #f7fbff;
}

.pc-meyasu-admin-head {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.pc-meyasu-admin-head h3,
.pc-meyasu-codex-panel h4 {
  margin: 0;
  color: #1d386e;
  font-size: 15px;
  line-height: 1.35;
}

.pc-meyasu-status-pill {
  max-width: 180px;
  padding: 4px 10px;
  border: 1px solid #08a9e7;
  border-radius: 999px;
  background: #ffffff;
  color: #0879c9;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.pc-meyasu-admin-field,
.pc-meyasu-codex-panel {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.pc-meyasu-admin-field span {
  color: #60747c;
  font-size: 12px;
  font-weight: 900;
}

.pc-meyasu-admin-field textarea,
.pc-meyasu-codex-panel textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #9ecade;
  border-radius: 8px;
  background: #ffffff;
  color: #202020;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.pc-meyasu-admin-field textarea {
  min-height: 78px;
  padding: 8px 10px;
}

.pc-meyasu-codex-panel textarea {
  min-height: 190px;
  padding: 10px 12px;
  font-size: 13px;
  white-space: pre-wrap;
}

.pc-meyasu-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-meyasu-admin-actions button {
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 7px;
  background: #0879c9;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.pc-meyasu-admin-actions button[data-meyasu-admin-action="reconsider"] {
  background: #7563b5;
}

.pc-meyasu-admin-actions button[data-meyasu-admin-action="reject"] {
  background: #c94c58;
}

.pc-meyasu-admin-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pc-meyasu-admin-actions button:focus-visible,
.pc-meyasu-admin-field textarea:focus-visible,
.pc-meyasu-codex-panel textarea:focus-visible {
  outline: 3px solid rgba(8, 121, 201, 0.28);
  outline-offset: 2px;
}

.pc-meyasu-admin-status {
  min-height: 18px;
  margin: 0;
  color: #0a6b91;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.setti-command-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(470px, 1.08fr);
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
  padding: 5px 12px;
  border-radius: 10px;
  background: #1d386e;
}

.setti-filter-controls {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1.05fr) minmax(104px, 0.78fr) minmax(104px, 0.78fr) 54px;
  gap: 7px;
}

.setti-filter-controls select,
.setti-display-button {
  min-height: 28px;
  border: 2px solid #08a9e7;
  border-radius: 6px;
  background: #fff;
  color: #202020;
  font-size: 13px;
  line-height: 1.2;
}

.setti-filter-controls select {
  padding: 2px 7px;
}

.setti-display-button {
  min-width: 0;
  padding: 2px 7px;
  background: #ffffcf;
  color: #1d386e;
  font-weight: 900;
  white-space: nowrap;
}

.setti-display-button.is-dirty {
  border-color: #8ac914;
  box-shadow: 0 0 0 2px rgba(138, 201, 20, 0.24);
}

.setti-display-button:disabled {
  opacity: 0.68;
}

.setti-action-tabs {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: 7px;
  align-items: center;
}

.setti-action-button {
  min-width: 0;
  min-height: 28px;
  padding: 2px 8px;
  border-width: 2px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.setti-action-button.is-report {
  border-color: #eb5a19;
  background: #ffffcf;
  color: #eb5a19;
}

.setti-action-button.is-work {
  border-color: #8ac914;
  background: #ffffcf;
  color: #00a040;
}

.setti-action-button.is-approval {
  border-color: #e6007e;
  background: #ffffcf;
  color: #e6007e;
}

.setti-action-button.is-map,
.setti-action-button.is-list {
  border-color: #08a9e7;
  background: #bceeff;
  color: #1d386e;
}

.setti-action-button:hover:not(:disabled),
.setti-action-button.is-active {
  filter: saturate(1.08);
  box-shadow: 0 0 0 2px rgba(8, 169, 231, 0.18);
}

.pc-setti-screen .app-main {
  min-height: calc(100vh - 206px);
  padding: 0;
}

.pc-setti-screen .workspace,
.pc-setti-screen .map-screen {
  min-height: calc(100vh - 218px);
  grid-template-rows: minmax(520px, calc(100vh - 218px));
}

.setti-dashboard-screen {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.setti-dashboard-head {
  display: none;
  min-height: 0;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.setti-dashboard-head .eyebrow {
  margin: 0;
  color: #0879c9;
}

.setti-dashboard-status {
  min-width: 0;
  margin: 0;
  color: #3e4d5f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.setti-summary-card {
  grid-area: summary;
  min-width: 0;
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(150px, 0.86fr) minmax(182px, 0.94fr) minmax(258px, 1.2fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #b9d6e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.setti-summary-group {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-left: 1px solid #dbe7ef;
}

.setti-summary-group:first-child {
  border-left: 4px solid #08a9e7;
}

.setti-summary-group h2 {
  margin: 0;
  color: #1d386e;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.setti-summary-group dl {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(54px, max-content));
  justify-content: center;
  column-gap: 22px;
  row-gap: 6px;
  margin: 0;
}

.setti-summary-group dt {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.setti-summary-group dd {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.setti-summary-value.is-new,
.setti-summary-value.is-active {
  color: #08a9e7;
}

.setti-summary-value.is-follow {
  color: #8ac914;
}

.setti-summary-value.is-inactive {
  color: #e6007e;
}

.setti-summary-slash {
  padding: 0 4px;
  color: currentColor;
}

.setti-dashboard-grid {
  min-width: 0;
  min-height: calc(100vh - 230px);
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(270px, 1fr) minmax(340px, 1.18fr);
  grid-template-rows: auto minmax(300px, 0.78fr) minmax(180px, 0.55fr) minmax(180px, 0.55fr);
  grid-template-areas:
    "summary summary ratio"
    "year year storetype"
    "prefecture staff storetype"
    "prefecture agency storetype";
  gap: 14px;
  align-items: stretch;
}

.setti-analysis-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.setti-year-panel {
  grid-area: year;
  min-height: 300px;
}

.setti-ratio-card {
  grid-area: ratio;
  min-height: 96px;
}

.setti-prefecture-panel {
  grid-area: prefecture;
}

.setti-staff-panel {
  grid-area: staff;
}

.setti-agency-panel {
  grid-area: agency;
}

.setti-store-type-panel {
  grid-area: storetype;
}

.setti-panel-head {
  min-height: 42px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.setti-panel-head h2 {
  color: #1d386e;
  font-size: 15px;
}

.setti-panel-head span {
  color: #0879c9;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.setti-line-chart {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-items: stretch;
  padding: 10px 12px 12px;
}

.setti-line-chart svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
}

.setti-chart-grid line {
  stroke: #d8dee7;
  stroke-width: 1;
}

.setti-chart-y-label,
.setti-chart-x-label {
  fill: #667085;
  font-size: 12px;
  font-weight: 800;
}

.setti-chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.setti-chart-line.is-new {
  stroke: #08a9e7;
}

.setti-chart-line.is-follow {
  stroke: #8ac914;
}

.setti-chart-point {
  fill: #fff;
  stroke-width: 3;
  cursor: pointer;
  outline: none;
}

.setti-chart-point.is-new {
  stroke: #08a9e7;
}

.setti-chart-point.is-follow {
  stroke: #8ac914;
}

.setti-chart-point:focus-visible {
  stroke-width: 5;
}

.setti-chart-tooltip {
  position: absolute;
  z-index: 2;
  max-width: min(260px, calc(100% - 24px));
  padding: 7px 10px;
  border-radius: 6px;
  background: #1d386e;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(29, 56, 110, 0.28);
  transform: translate(-50%, calc(-100% - 10px));
}

.setti-chart-tooltip::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid #1d386e;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.setti-chart-tooltip[data-align="start"] {
  transform: translate(0, calc(-100% - 10px));
}

.setti-chart-tooltip[data-align="start"]::after {
  left: 12px;
  transform: none;
}

.setti-chart-tooltip[data-align="end"] {
  transform: translate(-100%, calc(-100% - 10px));
}

.setti-chart-tooltip[data-align="end"]::after {
  right: 12px;
  left: auto;
  transform: none;
}

.setti-chart-legend {
  position: absolute;
  left: 64px;
  top: 18px;
  display: flex;
  gap: 14px;
  color: #3e4d5f;
  font-size: 12px;
  font-weight: 900;
}

.setti-chart-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.setti-chart-legend span::before {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
  content: "";
}

.setti-chart-legend .is-new::before {
  background: #08a9e7;
}

.setti-chart-legend .is-follow::before {
  background: #8ac914;
}

.setti-chart-badge {
  position: absolute;
  right: 22px;
  top: 18px;
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #1d386e;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.setti-ratio-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px 12px 10px;
}

.setti-ratio-card .setti-panel-head {
  min-height: 32px;
  justify-content: center;
  padding: 6px 12px 2px;
  border-bottom: 0;
  background: #fff;
}

.setti-ratio-card .setti-panel-head h2 {
  font-size: 13px;
  text-align: center;
}

.setti-ratio-donut {
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1d386e;
  font-size: 16px;
  font-weight: 900;
  background: #eef1f4;
}

.setti-ratio-list {
  display: grid;
  gap: 2px;
  margin: 0;
}

.setti-ratio-list div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.setti-ratio-list dt {
  color: #3e4d5f;
  font-size: 12px;
  font-weight: 900;
}

.setti-ratio-list dd {
  margin: 0;
  color: #1d386e;
  font-size: 15px;
  font-weight: 900;
}

.setti-bar-list {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px 14px 14px;
  overflow: auto;
}

.setti-bar-row {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.setti-bar-row-head {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.setti-bar-row-head span {
  min-width: 0;
  overflow: hidden;
  color: #3e4d5f;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-bar-row-head strong {
  flex: none;
  color: #1d386e;
  font-size: 13px;
  font-weight: 900;
}

.setti-bar-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}

.setti-bar-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #08a9e7, #8ac914);
}

.setti-bar-track.is-stacked {
  height: 10px;
}

.setti-bar-stack {
  height: 100%;
  display: flex;
  overflow: hidden;
  border-radius: inherit;
}

.setti-bar-stack span {
  height: 100%;
  display: block;
}

.setti-bar-stack .is-active {
  background: #08a9e7;
}

.setti-bar-stack .is-inactive {
  background: #e6007e;
}

.setti-bar-stack .is-follow {
  background: #8ac914;
}

.setti-chart-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1.7fr);
  gap: 20px;
  align-items: center;
  padding: 14px 24px;
  background: var(--header);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}

.eyebrow {
  margin: 0 0 4px;
  color: #a9bdc8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.title-block {
  min-width: 0;
}

.title-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px);
  gap: 10px;
  align-items: center;
}

.view-tabs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.view-tabs button {
  min-height: 32px;
  padding: 5px 12px;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.view-tabs button:hover,
.view-tabs button.is-active {
  border-color: #fff;
  background: #fff;
  color: var(--header);
}

h1,
h2 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  flex: none;
  font-size: 24px;
}

#headerInstallerSelect {
  width: 100%;
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-weight: 700;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  gap: 8px;
  margin: 0;
}

.summary-grid div {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.summary-grid dt {
  color: #c0cbd3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.summary-grid dd {
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
}

.app-main {
  min-height: calc(100vh - 86px);
  display: grid;
  padding: 12px;
}

.workspace {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(540px, clamp(560px, 32vw, 640px)) minmax(0, 1fr);
  grid-template-rows: minmax(560px, calc(100vh - 110px));
  grid-template-areas:
    "list detail";
  gap: 12px;
  overflow: visible;
}

.map-screen {
  height: max(560px, calc(100vh - 110px));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(560px, 1.05fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
}

.pc-setti-screen .map-screen {
  height: max(560px, calc(100vh - 132px));
  min-height: 560px;
  grid-template-rows: minmax(0, 1fr);
}

.list-pane,
.map-pane,
.detail-pane,
.nearby-results-panel,
.pc-work-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.list-pane {
  grid-area: list;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  border-color: #37bfff;
  border-radius: 10px;
}

.detail-pane {
  grid-area: detail;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  border-color: #37bfff;
  border-radius: 10px;
}

.map-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.map-screen .map-pane {
  min-height: 0;
  border-color: #37bfff;
  border-radius: 10px;
}

.nearby-pane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.nearby-results-panel,
.pc-work-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-color: #37bfff;
  border-radius: 10px;
}

.pc-work-panel {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.pc-map-search-panel {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.pc-map-search-controls {
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 128px) minmax(86px, 96px);
  gap: 7px 10px;
  align-items: end;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(8, 169, 231, 0.34);
  background: #fff;
}

.pc-map-search-controls > h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: #1d2d7c;
  font-size: 22px;
  line-height: 1.25;
}

.pc-map-search-controls .nearby-address-field {
  grid-column: 1 / 2;
  gap: 3px;
}

.pc-map-search-controls label span {
  font-size: 11px;
  line-height: 1.1;
}

.pc-map-search-controls input,
.pc-map-search-controls button {
  min-height: 34px;
}

.pc-map-search-controls input,
.pc-map-search-controls select {
  padding: 5px 8px;
  font-size: 13px;
}

.pc-map-search-controls .radius-segment {
  grid-column: 2 / 3;
}

.pc-map-clear-button {
  grid-column: 3 / 4;
  min-height: 34px;
  min-width: 0;
  padding: 0 8px;
  border-color: #08a9e7;
  border-radius: 999px;
  background: #dff6ff;
  color: #08a9e7;
  font-weight: 900;
}

.pc-map-search-controls .pc-store-type-multi {
  grid-column: 1 / 2;
}

.pc-place-unavailable-toggle {
  grid-column: 2 / 3;
  min-height: 34px;
  min-width: 0;
  padding: 0 8px;
  border-color: #08a9e7;
  background: #dff6ff;
  color: #1d386e;
  font-size: 13px;
  font-weight: 900;
}

.pc-place-unavailable-toggle.is-active {
  border-color: var(--place-unavailable);
  background: #fff1f0;
  color: var(--place-unavailable);
}

.pc-current-location-button {
  grid-column: 3 / 4;
  min-height: 34px;
  min-width: 0;
  padding: 0 10px;
  border-color: #b9d6e8;
  color: #1d386e;
  font-size: 13px;
  font-weight: 800;
}

.pc-map-search-button {
  grid-column: 3 / 4;
  min-height: 34px;
  min-width: 0;
  padding: 0 10px;
  border-color: #0879c9;
  border-radius: 999px;
  background: #0879c9;
  color: #fff700;
  font-size: 16px;
  font-weight: 900;
}

.pc-map-search-button:hover:not(:disabled) {
  border-color: #065f9e;
  background: #065f9e;
  color: #fff700;
}

.pc-map-search-controls .nearby-search-status {
  grid-column: 1 / -1;
  min-height: 34px;
}

.pc-map-results-head {
  min-height: 36px;
  padding: 6px 10px;
  background: #fff;
}

.pc-map-display-pane {
  box-shadow: none;
}

.pc-map-display-head {
  min-height: 40px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(8, 169, 231, 0.34);
  background: #fff;
}

.pc-map-display-head h2 {
  margin: 0;
  color: #1d2d7c;
  font-size: 22px;
  line-height: 1.25;
}

.pc-map-work-dock {
  display: none;
  max-height: 220px;
  box-shadow: none;
}

.toolbar {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.5fr)
    minmax(150px, 0.9fr)
    54px;
  gap: 6px;
  align-items: end;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.pc-list-toolbar {
  grid-template-columns: auto auto 92px;
  grid-template-areas:
    "store-type unavailable clear"
    "store-name store-name store-name";
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-color: rgba(8, 169, 231, 0.38);
  background: #fff;
}

.pc-list-store-type-field {
  grid-area: store-type;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 210px;
  gap: 8px;
  align-items: center;
}

.pc-list-store-type-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.pc-list-store-type-multi {
  position: relative;
  min-width: 0;
  width: 210px;
}

#listStoreTypeButton {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  text-align: left;
  border: 1px solid #08a9e7;
  border-radius: 6px;
  color: #1d386e;
}

#listStoreTypeButton::after {
  content: "";
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 12px solid #08a9e7;
}

#listStoreTypeButton span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

#listStoreTypeButton.has-selection {
  border-color: var(--accent);
}

.pc-list-store-type-options {
  position: absolute;
  z-index: 8;
  right: 0;
  left: 0;
  max-height: 240px;
  overflow: auto;
  margin-top: 4px;
  padding: 6px;
  border: 1px solid #08a9e7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 32, 42, 0.18);
}

.pc-list-store-type-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 6px;
  border-radius: 5px;
  cursor: pointer;
}

.pc-list-store-type-option:hover {
  background: var(--surface-2);
}

.pc-list-store-type-option input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.pc-list-store-type-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.pc-list-store-name-field {
  grid-area: store-name;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(220px, 360px);
  gap: 8px;
  align-items: center;
}

.pc-list-store-name-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.pc-list-store-name-search {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
  align-items: center;
}

.pc-list-store-name-search input {
  border-color: #08a9e7;
}

.pc-list-store-name-button {
  min-height: 36px;
  padding: 4px 12px;
  border-color: #08a9e7;
  background: #08a9e7;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.pc-list-unavailable-toggle {
  grid-area: unavailable;
  justify-self: start;
  min-height: 36px;
  padding: 4px 10px;
  border-color: #08a9e7;
  background: #dff6ff;
  color: #1d386e;
  font-size: 12px;
  font-weight: 900;
}

.pc-list-unavailable-toggle.is-active {
  border-color: var(--danger);
  background: #fff1f0;
  color: var(--danger);
}

.pc-list-clear-button {
  grid-area: clear;
  min-height: 36px;
  padding: 4px 12px;
  border-color: #08a9e7;
  border-radius: 999px;
  background: #dff6ff;
  color: #08a9e7;
  font-size: 12px;
  font-weight: 900;
}

label {
  min-width: 0;
  display: grid;
  gap: 5px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
button {
  min-height: 36px;
  border-radius: 6px;
}

input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  padding: 7px 10px;
}

button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

button:disabled {
  cursor: default;
  color: #a6afba;
  background: #eef1f4;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.22);
  outline-offset: 1px;
}

.result-bar {
  min-height: 44px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.is-error {
  color: var(--danger);
  font-weight: 700;
}

.map-toolbar {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.map-control-block {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.map-control-heading {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.map-control-heading h2 {
  font-size: 14px;
  line-height: 1.25;
}

.map-control-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.map-filter-bar {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(160px, 280px) 72px;
  gap: 8px;
  align-items: end;
}

.map-actions {
  display: grid;
  grid-template-columns: 82px minmax(160px, 1fr) 64px 64px;
  gap: 8px;
  align-items: end;
}

.radius-field {
  min-width: 0;
}

.nearby-control-block {
  border-color: rgba(8, 121, 201, 0.28);
}

.nearby-search-grid {
  display: grid;
  grid-template-columns: 116px minmax(180px, 1fr) 154px minmax(170px, 230px);
  gap: 8px;
  align-items: end;
}

.nearby-address-field {
  min-width: 0;
}

.radius-segment {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.radius-segment button {
  min-height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.radius-segment button + button {
  border-left: 1px solid var(--line);
}

.radius-segment button.is-active {
  background: #08a9e7;
  color: #fff;
}

.pc-store-type-multi {
  position: relative;
  min-width: 0;
}

#pcStoreTypeButton {
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-color: #08a9e7;
  color: #1d386e;
  text-align: left;
}

#pcStoreTypeButton::after {
  content: "";
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 10px solid #08a9e7;
}

#pcStoreTypeButton strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

#pcStoreTypeButton span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#pcStoreTypeButton.has-selection {
  border-color: var(--accent);
}

.pc-store-type-options {
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  max-height: 300px;
  overflow: auto;
  margin-top: 4px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 32, 42, 0.18);
}

.pc-store-type-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 6px;
  border-radius: 5px;
  cursor: pointer;
}

.pc-store-type-option:hover {
  background: var(--surface-2);
}

.pc-store-type-option input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.pc-store-type-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
}

.nearby-search-status {
  min-height: 34px;
  display: grid;
  align-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.map-search-status-line {
  color: var(--text);
  font-weight: 800;
}

.map-search-status-breakdown {
  display: block;
  font-weight: 800;
}

.map-search-status-count.is-uninstalled {
  color: var(--place-uninstalled);
}

.map-search-status-count.is-installed {
  color: var(--place-installed);
}

.map-search-status-count.is-unavailable {
  color: var(--place-unavailable);
}

.map-status {
  min-height: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.map-status strong {
  color: var(--text);
  font-size: 13px;
}

.map-canvas {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 222, 231, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(216, 222, 231, 0.5) 1px, transparent 1px),
    #eef3f6;
  background-size: 48px 48px;
  touch-action: none;
}

.map-screen .map-canvas {
  min-height: 0;
}

.map-canvas:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.22);
  outline-offset: -3px;
}

.google-map-base,
.map-tiles,
.map-radius-layer,
.map-markers {
  position: absolute;
  inset: 0;
}

.google-map-base {
  z-index: 0;
  display: none;
}

.map-canvas.is-google-map {
  background: #e5e7eb;
  touch-action: auto;
}

.map-canvas.is-google-map .google-map-base {
  display: block;
}

.map-canvas.is-google-map .map-tiles,
.map-canvas.is-google-map .map-radius-layer,
.map-canvas.is-google-map .map-markers,
.map-canvas.is-google-map .map-attribution {
  display: none;
}

.map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
}

.radius-circle {
  position: absolute;
  border: 2px solid rgba(15, 118, 110, 0.75);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.radius-origin {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 6px rgba(24, 32, 42, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 8px rgba(24, 32, 42, 0.32);
  cursor: pointer;
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-marker::after {
  position: absolute;
  inset: 4px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.map-marker:hover,
.map-marker.is-selected {
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(24, 32, 42, 0.18), 0 3px 10px rgba(24, 32, 42, 0.34);
}

.map-marker.visit-within-3,
.legend-dot.visit-within-3 {
  background: var(--pin-blue);
}

.map-marker.visit-within-6,
.legend-dot.visit-within-6 {
  background: var(--pin-lime);
}

.map-marker.visit-within-12,
.legend-dot.visit-within-12 {
  background: var(--pin-orange);
}

.map-marker.visit-over-12,
.legend-dot.visit-over-12 {
  background: var(--pin-pink);
}

.map-marker.place-uninstalled,
.legend-dot.place-uninstalled {
  background: var(--place-uninstalled);
}

.map-marker.place-installed,
.legend-dot.place-installed {
  background: var(--place-installed);
}

.map-marker.place-unavailable,
.legend-dot.place-unavailable {
  background: var(--place-unavailable);
}

.map-zoom {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: grid;
  gap: 6px;
}

.map-zoom button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.map-attribution {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 3;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.84);
  color: #3e4d5f;
  font-size: 11px;
  text-decoration: none;
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.map-legend div {
  min-width: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border-right: 1px solid var(--line);
}

.map-legend div:last-child {
  border-right: 0;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.map-legend dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.google-map-card {
  display: grid;
  gap: 4px;
  min-width: 220px;
  max-width: 280px;
  color: var(--text);
  font-family: inherit;
  line-height: 1.45;
}

.google-map-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: start;
}

.google-map-card-title {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  min-width: 0;
}

.google-map-card-close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.google-map-card-close:hover,
.google-map-card-close:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
  outline: none;
}

.google-map-card-status {
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.google-map-card-meta {
  color: var(--muted);
  font-size: 12px;
}

.google-map-card-date {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.google-map-card-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.google-map-card.is-uninstalled .google-map-card-status {
  color: var(--place-uninstalled);
}

.google-map-card.is-installed .google-map-card-status {
  color: var(--place-installed);
}

.google-map-card.is-unavailable .google-map-card-status {
  color: var(--place-unavailable);
}

.gm-style .gm-style-iw-chr {
  display: none;
}

.gm-style .gm-style-iw-c {
  padding-top: 12px !important;
}

.nearby-panel-head {
  min-height: 54px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.nearby-panel-head .eyebrow {
  color: var(--accent);
}

.nearby-panel-head h2 {
  font-size: 18px;
}

.nearby-panel-head.pc-map-results-head {
  min-height: 36px;
  padding: 5px 10px;
}

.nearby-panel-head.pc-map-results-head h2 {
  font-size: 17px;
  line-height: 1.1;
}

.pc-map-results-actions {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pc-map-work-target-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-map-work-target-field span {
  flex: none;
}

#pcMapWorkTargetStaffSelect {
  width: min(28vw, 210px);
  min-width: 152px;
  min-height: 30px;
  overflow: hidden;
  border-color: var(--line-strong);
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .nearby-panel-head.pc-map-results-head {
    flex-wrap: wrap;
  }

  .pc-map-results-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  #pcMapWorkTargetStaffSelect {
    width: min(54vw, 210px);
    min-width: 140px;
  }
}

#pcMapWorkTargetStaffSelect.is-missing {
  border-color: #d89a45;
  color: #a15c00;
}

#pcMapWorkAddButton {
  min-width: 112px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

#pcMapWorkAddButton:disabled {
  border-color: var(--line-strong);
  background: #eef1f4;
  color: #8b96a3;
}

.place-results {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  margin: 0;
  padding: 7px;
  overflow: auto;
  list-style: none;
}

.place-result-item {
  display: grid;
  gap: 4px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--place-uninstalled);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.place-result-item:hover,
.place-result-item.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.place-result-item.is-installed {
  border-left-color: var(--place-installed);
}

.place-result-item.is-unavailable {
  border-left-color: var(--place-unavailable);
}

.place-result-head,
.place-result-foot,
.pc-map-work-card-head {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.place-result-title,
.pc-map-work-card-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.place-result-side {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.place-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(243, 152, 0, 0.12);
  color: var(--place-uninstalled);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.place-status-badge.is-installed {
  background: rgba(8, 121, 201, 0.12);
  color: var(--place-installed);
}

.place-status-badge.is-unavailable {
  background: rgba(226, 59, 77, 0.12);
  color: var(--place-unavailable);
}

.place-result-distance {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.place-result-meta {
  display: grid;
  gap: 3px;
}

.place-result-meta p,
.pc-map-work-card p {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.place-last-install-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: baseline;
}

.place-last-install-line span:first-child {
  color: #3e4d5f;
  font-weight: 800;
}

.place-last-install-line strong {
  color: var(--text);
  font-size: 14px;
}

.place-result-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  border: 0;
}

.place-result-metrics div {
  min-width: 0;
  display: flex;
  gap: 3px;
  align-items: baseline;
  padding: 0;
  border-right: 0;
  background: transparent;
}

.place-result-metrics div:last-child {
  border-right: 0;
}

.place-result-metrics dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.place-result-metrics dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.place-result-work-mark {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.place-result-work-mark.is-empty {
  visibility: hidden;
}

.place-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.place-result-action,
.show-more-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  min-height: 24px;
  padding: 2px 8px;
  color: var(--accent);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.place-result-address-search-button {
  min-width: 136px;
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
}

.place-result-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.show-more-button {
  margin: 0 10px 10px;
}

.place-result-empty,
.pc-work-empty {
  margin: 0;
  padding: 28px 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.pc-map-work-groups {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  overflow: auto;
}

.pc-map-work-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pc-map-work-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.pc-map-work-group-head strong {
  font-size: 14px;
}

.pc-map-work-group-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pc-map-work-group-head button {
  min-height: 28px;
  padding: 3px 8px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.pc-map-work-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.pc-map-work-meta div {
  min-width: 0;
  padding: 7px;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}

.pc-map-work-meta div:last-child {
  border-right: 0;
}

.pc-map-work-meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.pc-map-work-meta dd {
  min-width: 0;
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.pc-map-work-cards {
  display: grid;
  gap: 7px;
}

.pc-map-work-card {
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 2px solid var(--work-new);
  border-radius: 6px;
  background: #fff;
}

.pc-map-work-card.is-installed,
.pc-map-work-card.is-unavailable {
  border-color: var(--work-installed);
}

.pc-map-work-card.is-unavailable .pc-map-work-card-head strong {
  color: var(--place-unavailable);
}

.pc-todo-list {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 10px;
  list-style: none;
}

.pc-todo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
}

.pc-todo-row:focus-visible {
  outline: 2px solid #08a9e7;
  outline-offset: -2px;
}

.pc-todo-badge {
  display: block;
  width: 72px;
  height: auto;
  justify-self: end;
}

.pc-todo-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pc-todo-main strong,
.pc-todo-main span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-todo-main strong {
  color: #1d386e;
  font-size: 13px;
}

.pc-todo-main span {
  color: #526273;
  font-size: 12px;
}

.pc-information-list {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 10px;
  list-style: none;
}

.pc-information-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 6px;
  align-items: center;
  min-height: 42px;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  background: #f8fbff;
}

.pc-information-row.is-selected {
  border-color: #08a9e7;
  background: #eef9ff;
}

.pc-information-button {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  align-content: center;
  align-items: center;
  padding: 7px 4px 7px 10px;
  border: 0;
  background: transparent;
  color: #1d386e;
  text-align: left;
  cursor: pointer;
}

.pc-information-button:focus-visible {
  outline: 2px solid #08a9e7;
  outline-offset: -3px;
}

.pc-information-time {
  min-width: 0;
  color: #0879c9;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-information-title {
  min-width: 0;
  overflow: hidden;
  color: #1d386e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-information-new-mark {
  width: 25px;
  height: auto;
  justify-self: center;
}

.pc-information-new-placeholder {
  width: 25px;
  height: 1px;
  justify-self: center;
}

.pc-information-empty {
  margin: 0;
  padding: 24px 10px;
  color: #60747c;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.setti-work-screen {
  min-height: calc(100vh - 218px);
  display: grid;
  grid-template-columns: minmax(380px, 0.98fr) minmax(420px, 1.02fr);
  gap: 10px;
}

.setti-work-list-pane,
.setti-work-detail-pane {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #b9d6e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.setti-work-list-pane {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.setti-work-list-head {
  min-height: 64px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #d9e6ef;
  background: #f7fbff;
}

.setti-work-list-head .eyebrow,
.setti-work-detail-head .eyebrow {
  margin: 0 0 3px;
  color: #0879c9;
  font-size: 11px;
  font-weight: 900;
}

.setti-work-list-head h2,
.setti-work-detail-head h2 {
  margin: 0;
  color: #1d386e;
}

.setti-work-list-head h2 {
  font-size: 18px;
  line-height: 1.2;
}

.setti-work-summary,
.setti-work-status {
  margin: 2px 0 0;
  color: #516273;
  font-size: 12px;
  font-weight: 800;
}

.setti-work-status {
  min-height: 18px;
  padding: 4px 12px 0;
}

#pcSettiWorkRefreshButton {
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: #0879c9;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

#pcSettiWorkRefreshButton:disabled {
  opacity: 0.55;
}

#pcSettiWorkRefreshButton:focus-visible,
.setti-work-card:focus-visible,
.setti-work-map-link:focus-visible {
  outline: 3px solid rgba(8, 121, 201, 0.28);
  outline-offset: 2px;
}

.setti-work-empty {
  margin: 0;
  padding: 10px 12px;
  color: #6b7785;
  font-size: 13px;
  font-weight: 900;
}

.setti-work-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 10px;
  overflow: auto;
  list-style: none;
}

.setti-work-card {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 2px solid #f39800;
  border-radius: 8px;
  background: #fff;
  color: #202020;
  text-align: left;
}

.setti-work-card.is-installed {
  border-color: #08a9e7;
}

.setti-work-card.is-unavailable {
  border-color: #d82438;
}

.setti-work-card.is-selected {
  box-shadow: 0 0 0 2px rgba(8, 121, 201, 0.2);
}

.setti-work-card-head {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.setti-work-card-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-work-card p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #526273;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-work-card-search {
  color: #0879c9;
}

.setti-work-detail-pane {
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.setti-work-detail-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: #6b7785;
  font-weight: 900;
}

.setti-work-detail {
  display: grid;
  gap: 12px;
}

.setti-work-detail-head {
  display: grid;
  gap: 3px;
}

.setti-work-detail-head h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.25;
}

#pcSettiWorkDetailMeta {
  margin: 0;
  color: #516273;
  font-size: 12px;
  font-weight: 800;
}

.setti-work-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.setti-work-detail-grid div {
  min-width: 0;
  padding: 8px;
  border: 1px solid #dce8f0;
  border-radius: 6px;
  background: #f8fbfd;
}

.setti-work-detail-grid dt {
  margin: 0 0 3px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.setti-work-detail-grid dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #1d386e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.setti-work-map-link {
  justify-self: start;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 6px;
  background: #00a040;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.setti-check-screen {
  min-height: calc(100vh - 218px);
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(420px, 1.04fr);
  gap: 10px;
}

.setti-check-list-pane,
.setti-check-detail-pane {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #b9d6e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.setti-check-list-pane {
  display: grid;
  grid-template-rows: auto 1fr;
}

.setti-check-list-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 12px;
  border-bottom: 1px solid #d9e6ef;
  background: #f7fbff;
}

.setti-check-heading-block {
  flex: 1 1 auto;
  min-width: 0;
}

.setti-check-title-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.setti-check-list-head h2,
.setti-check-panel-head h3,
.setti-check-detail-head h2 {
  margin: 0;
  color: #1d386e;
}

.setti-check-list-head h2 {
  font-size: 18px;
  line-height: 1.2;
}

.setti-check-staff-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  min-width: 0;
  color: #516273;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.setti-check-staff-filter select {
  min-width: 156px;
  max-width: 210px;
  min-height: 32px;
  padding: 5px 28px 5px 8px;
  border: 1px solid #9fc6dc;
  border-radius: 6px;
  background: #fff;
  color: #17335c;
  font-size: 12px;
  font-weight: 900;
}

.setti-check-list-head .eyebrow,
.setti-check-detail-head .eyebrow {
  margin: 0 0 3px;
  color: #e6007e;
  font-size: 11px;
  font-weight: 900;
}

.setti-check-summary {
  margin: 2px 0 0;
  color: #516273;
  font-size: 12px;
  font-weight: 800;
}

#settiCheckCompleteButton {
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: #00a040;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.setti-check-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 10px;
  list-style: none;
}

.setti-check-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 2px solid #d6e3ed;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.setti-check-card.is-active {
  border-color: #08a9e7;
  box-shadow: 0 0 0 2px rgba(8, 169, 231, 0.18);
}

.setti-check-card.is-ready {
  background: #f4fff8;
}

.setti-check-card.is-new-install {
  border-color: #69cbed;
}

.setti-check-card.is-follow-install {
  border-color: #a8d957;
}

.setti-check-card.is-new-install.is-active {
  border-color: #20b8e8;
  box-shadow: 0 0 0 2px rgba(32, 184, 232, 0.2);
}

.setti-check-card.is-follow-install.is-active {
  border-color: #83bf28;
  box-shadow: 0 0 0 2px rgba(131, 191, 40, 0.2);
}

.setti-check-card-top,
.setti-check-card-meta,
.setti-check-card-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.setti-check-card-title {
  min-width: 0;
  overflow: hidden;
  color: #202020;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-check-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf2f7;
  color: #3e4d5f;
  font-size: 11px;
  font-weight: 900;
}

.setti-check-badge.is-approved {
  background: #dff8e7;
  color: #087a34;
}

.setti-check-badge.is-rejected {
  background: #ffe5ee;
  color: #b0004f;
}

.setti-check-card-meta,
.setti-check-card-foot {
  color: #526273;
  font-size: 12px;
}

.setti-check-card-meta span,
.setti-check-card-foot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-check-detail-pane {
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.setti-check-detail-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: #6b7785;
  font-weight: 900;
}

.setti-check-detail {
  display: grid;
  gap: 12px;
}

.setti-check-detail-head {
  display: grid;
  gap: 3px;
}

.setti-check-detail-head h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.25;
}

#settiCheckDetailMeta {
  margin: 0;
  color: #516273;
  font-size: 12px;
  font-weight: 800;
}

.setti-check-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 8px;
}

.setti-check-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #1d386e;
  font-size: 12px;
  font-weight: 900;
}

.setti-check-form select,
.setti-check-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c8d8;
  border-radius: 6px;
  background: #fff;
  color: #202020;
  font: inherit;
}

.setti-check-form select {
  min-height: 34px;
  padding: 4px 7px;
}

.setti-check-form textarea {
  min-height: 34px;
  padding: 6px 8px;
  resize: vertical;
}

.setti-check-comment-field {
  grid-column: 1 / -1;
}

.setti-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.setti-check-actions button {
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

#settiCheckSimilarButton {
  background: #08a9e7;
  color: #fff;
}

#settiCheckAssignIdButton {
  background: #f39800;
  color: #202020;
}

#settiCheckSaveStatus {
  min-width: 0;
  color: #516273;
  font-size: 12px;
  font-weight: 800;
}

.setti-check-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d9e6ef;
  border-radius: 8px;
}

.setti-check-detail-grid div {
  min-width: 0;
  padding: 8px 10px;
  border-right: 1px solid #d9e6ef;
  border-bottom: 1px solid #d9e6ef;
}

.setti-check-detail-grid div:nth-child(2n) {
  border-right: 0;
}

.setti-check-detail-grid dt {
  color: #6b7785;
  font-size: 11px;
  font-weight: 900;
}

.setti-check-detail-grid dd {
  min-width: 0;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  color: #202020;
  font-size: 13px;
  font-weight: 800;
}

.setti-check-panel-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.setti-check-panel-head h3 {
  font-size: 15px;
}

.setti-check-panel-head span {
  color: #6b7785;
  font-size: 12px;
  font-weight: 800;
}

.setti-check-similar-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.setti-check-similar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d9e6ef;
  border-radius: 8px;
  background: #f8fbff;
}

.setti-check-similar-row strong,
.setti-check-similar-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setti-check-similar-row strong {
  color: #1d386e;
  font-size: 13px;
}

.setti-check-similar-row span {
  color: #516273;
  font-size: 12px;
}

.setti-check-similar-row em {
  color: #e6007e;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.setti-check-photo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.setti-check-photo {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.setti-check-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: #eef3f7;
}

.setti-check-photo span {
  min-width: 0;
  overflow: hidden;
  color: #526273;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1500px) {
  .nearby-search-grid {
    grid-template-columns: 116px minmax(200px, 1fr) 154px minmax(190px, 240px) 66px 66px;
  }
}

.pager {
  display: grid;
  grid-template-columns: 36px 88px 36px;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--line);
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf1f5;
  color: #3e4d5f;
  font-size: 12px;
  font-weight: 700;
}

.list-pane tbody tr {
  cursor: pointer;
}

.list-pane tbody tr:hover {
  background: #f7faf9;
}

.list-pane tbody tr.is-selected {
  background: var(--accent-soft);
}

.list-pane tbody tr.has-store-alert td {
  color: var(--danger);
  font-weight: 700;
}

.pc-list-results {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 10px;
  overflow: auto;
  list-style: none;
  background: #fff;
}

.pc-list-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(8, 169, 231, 0.42);
  border-left: 5px solid #08a9e7;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.pc-list-card:hover,
.pc-list-card.is-selected {
  background: #eefaff;
  border-color: #08a9e7;
}

.pc-list-card.has-store-alert {
  border-left-color: var(--danger);
}

.pc-list-card-head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.pc-list-card-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #1d386e;
  font-size: 14px;
  line-height: 1.35;
}

.pc-list-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-list-status.is-installed {
  background: #eaf8ff;
  color: #0879c9;
}

.pc-list-status.is-unavailable {
  background: #fff1f0;
  color: var(--danger);
}

.pc-list-card-meta {
  margin: 0;
  overflow-wrap: anywhere;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

.pc-list-card-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.pc-list-card-metrics div {
  min-width: 0;
  padding: 6px;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}

.pc-list-card-metrics div:last-child {
  border-right: 0;
}

.pc-list-card-metrics dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.pc-list-card-metrics dd {
  min-width: 0;
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.pc-list-card-actions {
  display: flex;
  justify-content: flex-end;
}

.pc-list-map-search-button {
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid #1da84a;
  border-radius: 6px;
  background: #1da84a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.pc-list-map-search-button:hover,
.pc-list-map-search-button:focus-visible {
  background: #13833a;
  border-color: #13833a;
}

.pc-list-map-search-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.pc-list-empty {
  padding: 28px 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.list-pane table {
  min-width: 0;
  table-layout: fixed;
}

.list-pane th,
.list-pane td {
  padding: 7px 6px;
  font-size: 12px;
}

.list-pane th {
  font-size: 11px;
}

.list-pane th:nth-child(1),
.list-pane td:nth-child(1) {
  width: 36%;
}

.list-pane th:nth-child(2),
.list-pane td:nth-child(2) {
  width: 16%;
}

.list-pane th:nth-child(3),
.list-pane td:nth-child(3) {
  width: 16%;
}

.list-pane th:nth-child(4),
.list-pane td:nth-child(4) {
  width: 18%;
}

.list-pane th:nth-child(5),
.list-pane td:nth-child(5) {
  width: 14%;
}

.empty-row td {
  padding: 28px 10px;
  color: var(--muted);
  text-align: center;
}

.detail-head {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.detail-head .eyebrow {
  color: var(--accent);
}

.detail-head h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  font-size: 19px;
  word-break: break-word;
}

.store-status-mark {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 7px;
  border: 1px solid rgba(180, 35, 24, 0.38);
  border-radius: 4px;
  background: #fff1f0;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.detail-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.detail-head p:last-child span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-head p:last-child strong {
  margin-right: 4px;
  color: #3e4d5f;
}

.store-profile {
  max-height: 210px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  overflow: auto;
  border-bottom: 1px solid var(--line);
}

.store-profile div {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.store-profile div.is-wide {
  grid-column: 1 / -1;
}

.store-profile dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.store-profile dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.history-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.history-head h3 {
  margin: 0;
  color: #3e4d5f;
  font-size: 14px;
}

.history-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.detail-wrap table {
  min-width: 640px;
  table-layout: fixed;
}

.detail-wrap th:nth-child(1),
.detail-wrap td:nth-child(1) {
  width: 90px;
}

.detail-wrap th:nth-child(2),
.detail-wrap td:nth-child(2) {
  width: 112px;
}

.detail-wrap th:nth-child(3),
.detail-wrap td:nth-child(3) {
  width: 70px;
}

.detail-wrap th:nth-child(4),
.detail-wrap td:nth-child(4) {
  width: 58px;
}

.detail-wrap th:nth-child(5),
.detail-wrap td:nth-child(5) {
  width: 70px;
}

.detail-wrap th:nth-child(6),
.detail-wrap td:nth-child(6) {
  width: 62px;
}

.detail-wrap th:nth-child(7),
.detail-wrap td:nth-child(7) {
  width: 120px;
}

.login-panel {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 32, 42, 0.72);
}

.login-box {
  width: min(380px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.login-box[hidden] {
  display: none;
}

.login-box h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  text-align: center;
}

.pc-qr-login-note {
  margin: 0;
  color: #314155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.pc-login-qr {
  width: min(300px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pc-login-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pc-login-qr-loading {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.pc-login-code-panel {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 12px;
  border: 1px solid #cde0ed;
  border-radius: 8px;
  background: #f7fbfd;
}

.pc-login-code-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pc-login-code-panel strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.pc-login-expiry {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #314155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.pc-login-status {
  text-align: center;
}

.login-staff-name {
  min-height: 20px;
  margin: 0;
  color: #314155;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.password-rule {
  margin: -4px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.login-box button {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

.pc-qr-inline-panel {
  width: min(calc(100% - 20px), 430px);
  display: grid;
  gap: 12px;
  margin: 10px auto 0;
  padding: 16px;
  border: 1px solid #9ecade;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgb(0 55 82 / 12%);
}

.pc-qr-inline-panel[hidden],
body:not(.is-office-smartphone-app) .pc-qr-inline-panel {
  display: none;
}

.pc-qr-scan-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.pc-qr-eyebrow {
  margin: 0 0 2px;
  color: #5d707b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.pc-qr-scan-head h2,
.pc-qr-approval-panel h2 {
  margin: 0;
  color: #0879c9;
  font-size: 22px;
  line-height: 1.25;
}

.pc-qr-close-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid #9ecade;
  border-radius: 50%;
  background: #ffffff;
  color: #0879c9;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.pc-qr-video-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #12222d;
}

.pc-qr-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-qr-scan-status,
.pc-qr-approval-status {
  min-height: 24px;
  margin: 0;
  color: #31434c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.pc-qr-scan-status.error,
.pc-qr-approval-status.error {
  color: var(--danger);
}

.pc-qr-scan-status.success,
.pc-qr-approval-status.success {
  color: #16774c;
}

.pc-qr-manual,
.pc-qr-code-login {
  display: grid;
  gap: 8px;
}

.pc-qr-manual label,
.pc-qr-code-login label {
  color: #31434c;
  font-size: 14px;
  font-weight: 800;
}

.pc-qr-manual textarea,
.pc-qr-code-login input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #9ecade;
  border-radius: 8px;
  font-size: 16px;
}

.pc-qr-action-button,
.pc-qr-secondary-button,
.pc-qr-close-button {
  min-height: 46px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.pc-qr-secondary-button,
.pc-qr-close-button {
  background: #31434c;
}

.pc-qr-scan-success-mark {
  min-width: 140px;
  min-height: 140px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f8ee;
  color: #16774c;
  font-size: 22px;
  font-weight: 900;
}

.office-qr-success-runner {
  position: fixed;
  inset: 0;
  z-index: 6100;
  pointer-events: none;
  overflow: hidden;
}

.office-qr-success-runner img {
  position: absolute;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  left: 0;
  width: clamp(112px, 36vw, 178px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 16px rgba(24, 32, 42, 0.22));
  transform: translateX(-140%);
  animation: officeQrSuccessRun 3.4s cubic-bezier(0.28, 0.02, 0.18, 1) forwards;
}

@keyframes officeQrSuccessRun {
  0% {
    opacity: 0;
    transform: translateX(-140%) translateY(8px);
  }

  8% {
    opacity: 1;
  }

  48% {
    transform: translateX(36vw) translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(calc(100vw + 140%)) translateY(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-qr-success-runner img {
    right: 18px;
    left: auto;
    width: 132px;
    transform: translateY(16px);
    animation: officeQrSuccessReduced 1.6s ease forwards;
  }

  @keyframes officeQrSuccessReduced {
    0% {
      opacity: 0;
      transform: translateY(16px);
    }

    20%,
    78% {
      opacity: 1;
      transform: translateY(0);
    }

    100% {
      opacity: 0;
      transform: translateY(10px);
    }
  }
}

.error-text {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

@media (max-width: 1320px) {
  .setti-command-bar {
    grid-template-columns: minmax(420px, 0.92fr) minmax(470px, 1.08fr);
    gap: 8px;
  }

  .setti-filter-controls,
  .setti-action-tabs {
    gap: 7px;
  }

  .setti-dashboard-grid {
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) minmax(300px, 1fr);
    gap: 12px;
  }

  .setti-check-screen {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .setti-summary-card {
    grid-template-columns: minmax(140px, 0.86fr) minmax(170px, 0.94fr) minmax(235px, 1.2fr);
  }

  .app-header {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.7fr);
  }

  .summary-grid {
    grid-template-columns: repeat(3, minmax(112px, 1fr));
  }

  .workspace {
    min-height: calc(100vh - 110px);
    overflow: visible;
    grid-template-columns: minmax(520px, 540px) minmax(0, 1fr);
    grid-template-rows: minmax(540px, calc(100vh - 110px));
    grid-template-areas:
      "list detail";
  }

  .detail-pane {
    min-height: 360px;
  }

  .map-screen {
    grid-template-columns: minmax(480px, 0.95fr) minmax(520px, 1.05fr);
  }

  #pcPlaceSearchButton,
  #pcPlaceClearButton {
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .setti-command-bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .setti-filter-controls {
    grid-template-columns: 1fr;
  }

  .setti-action-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setti-dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "summary"
      "ratio"
      "year"
      "prefecture"
      "staff"
      "agency"
      "storetype";
  }

  .setti-work-screen,
  .setti-check-screen {
    grid-template-columns: 1fr;
  }

  .setti-work-list {
    max-height: 360px;
  }

  .setti-check-list {
    max-height: 360px;
  }

  .setti-check-photo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setti-year-panel {
    min-height: 420px;
  }

  .app-header {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "list"
      "detail";
  }

  .map-screen {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .pc-setti-screen .map-screen {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .nearby-pane {
    grid-template-rows: auto auto;
    overflow: visible;
  }

  .nearby-results-panel,
  .pc-work-panel {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --pc-header-height: 56px;
    --pc-header-pad-top: 8px;
    --pc-header-pad-right: 10px;
    --pc-header-pad-bottom: 8px;
    --pc-header-pad-left: 10px;
    --pc-header-gap: 4px;
    --pc-body-pad-top: 10px;
  }

  body,
  .pc-shell {
    overflow-x: hidden;
  }

  .pc-header {
    position: sticky;
    top: 0;
    z-index: 70;
    align-items: center;
    gap: var(--pc-header-gap);
  }

  body.is-office-smartphone-app .pc-header {
    justify-content: space-between;
    gap: 6px;
  }

  .pc-mobile-menu-button {
    flex: 0 0 38px;
    width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #39afe6;
    border-radius: 8px;
    background: #fff;
    color: #0879c9;
  }

  .pc-mobile-menu-button span,
  .pc-mobile-menu-button span::before,
  .pc-mobile-menu-button span::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .pc-mobile-menu-button span {
    position: relative;
  }

  .pc-mobile-menu-button span::before,
  .pc-mobile-menu-button span::after {
    position: absolute;
    left: 0;
  }

  .pc-mobile-menu-button span::before {
    top: -6px;
  }

  .pc-mobile-menu-button span::after {
    top: 6px;
  }

  .pc-mobile-menu-button:hover:not(:disabled) {
    border-color: #08a9e7;
    color: #0879c9;
    box-shadow: 0 0 0 4px rgba(8, 169, 231, 0.1);
  }

  .pc-logo-button {
    flex: 0 1 auto;
  }

  .pc-logo-button img {
    width: clamp(92px, 32vw, 126px);
  }

  body.is-office-smartphone-app .pc-logo-button {
    flex: 0 0 44px;
  }

  body.is-office-smartphone-app .pc-logo-button .pc-logo-full {
    display: none;
  }

  body.is-office-smartphone-app .pc-logo-button .pc-logo-d-mark {
    width: 44px;
    display: block;
  }

  .pc-refresh-button {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .pc-refresh-button img {
    width: 28px;
  }

  body.is-office-smartphone-app .pc-refresh-button img {
    width: auto;
    height: 42px;
  }

  body.is-office-smartphone-app .office-pc-qr-button {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: 0;
  }

  body.is-office-smartphone-app .office-pc-qr-button img {
    width: 38px;
    height: 38px;
    filter: invert(69%) sepia(56%) saturate(1051%) hue-rotate(286deg) brightness(103%) contrast(91%);
  }

  .pc-agency-filter {
    flex: 1 1 72px;
    width: auto;
    min-width: 72px;
    max-width: 104px;
    margin-left: 0;
  }

  body.is-office-smartphone-app .pc-agency-filter {
    flex: 0 1 112px;
    max-width: 112px;
  }

  .pc-agency-button {
    min-height: 32px;
    padding: 3px 20px 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    overflow: hidden;
  }

  .pc-agency-button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-agency-button::after {
    right: 8px;
    border-top-width: 9px;
    border-right-width: 6px;
    border-left-width: 6px;
  }

  .pc-agency-options {
    right: 0;
    left: auto;
    width: min(200px, 76vw);
  }

  .pc-header-spacer,
  .pc-user-name {
    display: none;
  }

  .pc-logout-button {
    flex: 0 0 auto;
  }

  body.is-office-smartphone-app .pc-header > .pc-logout-button {
    display: none;
  }

  .pc-logout-button img {
    width: 50px;
  }

  .pc-body,
  .pc-shell.is-menu-collapsed .pc-body {
    min-height: calc(100vh - var(--pc-header-height));
    display: block;
    padding: var(--pc-body-pad-top) 10px 28px;
  }

  .pc-sidebar,
  .pc-shell.is-menu-collapsed .pc-sidebar {
    position: fixed;
    top: var(--pc-header-height);
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(188px, 82vw);
    min-height: 0;
    align-items: stretch;
    padding: 12px 12px 20px;
    overflow-y: auto;
    border-right: 1px solid #b9d6e8;
    background: #fff;
    box-shadow: 18px 0 36px rgba(24, 32, 42, 0.16);
    transform: translateX(calc(-100% - 8px));
    transition: transform 180ms ease;
  }

  .pc-shell.is-mobile-menu-open .pc-sidebar {
    transform: translateX(0);
  }

  .pc-mobile-menu-backdrop {
    position: fixed;
    inset: var(--pc-header-height) 0 0;
    z-index: 55;
    display: block;
    background: rgba(24, 32, 42, 0.34);
  }

  .pc-menu-toggle {
    display: none;
  }

  .pc-menu-group,
  .pc-shell.is-menu-collapsed .pc-menu-group {
    gap: 12px;
    justify-items: start;
  }

  .pc-menu-bottom {
    margin-top: 18px;
  }

  body.is-office-smartphone-app .pc-mobile-logout-menu-button {
    display: grid;
  }

  .pc-menu-button,
  .pc-shell.is-menu-collapsed .pc-menu-button {
    width: 128px;
    place-items: center;
  }

  .pc-menu-button img,
  .pc-shell.is-menu-collapsed .pc-menu-button img {
    width: 126px;
    max-width: 100%;
  }

  .pc-menu-button::before,
  .pc-shell.is-menu-collapsed .pc-menu-button::before {
    left: -10px;
  }

  .pc-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pc-frame-body-todo,
  .pc-frame-body-info,
  .pc-main-panel {
    height: auto;
    min-height: 240px;
  }

  .pc-main-panel {
    max-height: none;
    padding: 14px;
  }

  .pc-message-detail-empty {
    min-height: 220px;
  }

  .setti-command-bar {
    padding: 8px;
    border-radius: 10px;
  }

  .setti-summary-card {
    grid-template-columns: 1fr;
  }

  .setti-ratio-panel {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .app-header {
    padding: 14px;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .toolbar label:first-child,
  .pc-list-store-type-field {
    grid-column: 1 / -1;
  }

  .pc-list-toolbar {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "store-type store-type"
      "store-name store-name"
      "unavailable clear";
  }

  .pc-list-store-type-field {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pc-list-store-type-multi {
    width: 100%;
  }

  .pc-list-store-name-field {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pc-list-card-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-list-card-actions {
    justify-content: stretch;
  }

  .pc-list-map-search-button {
    width: 100%;
  }

  .map-actions {
    grid-template-columns: 1fr 1fr;
  }

  .map-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .pc-map-search-controls {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .pc-map-search-controls > h2,
  .pc-map-search-controls .nearby-address-field,
  .pc-map-search-controls .pc-store-type-multi,
  .pc-map-search-controls .nearby-search-status,
  .pc-map-search-button {
    grid-column: 1 / -1;
  }

  .radius-segment {
    grid-column: 1 / 2;
  }

  .pc-map-clear-button {
    grid-column: 2 / 3;
  }

  .pc-place-unavailable-toggle {
    grid-column: 1 / 2;
  }

  .pc-current-location-button {
    grid-column: 2 / 3;
  }

  .radius-field {
    grid-column: 1 / -1;
  }

  .map-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .place-result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-map-work-meta {
    grid-template-columns: 1fr;
  }

  .pc-map-work-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pc-map-work-meta div:last-child {
    border-bottom: 0;
  }

  .setti-work-list-head,
  .setti-check-list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .setti-work-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .setti-work-card p {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .setti-work-detail-grid {
    grid-template-columns: 1fr;
  }

  .setti-check-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .setti-check-staff-filter {
    margin-left: 0;
  }

  .setti-check-staff-filter select {
    width: 100%;
    max-width: none;
  }

  .setti-check-form,
  .setti-check-detail-grid,
  .setti-check-photo-list {
    grid-template-columns: 1fr;
  }

  #clearButton {
    grid-column: 1 / -1;
  }

  #mapFilterClearButton {
    grid-column: 1 / -1;
  }

  .store-profile {
    grid-template-columns: 1fr;
  }

  .result-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .pager {
    align-self: end;
  }
}

@media (max-width: 360px) {
  .pc-header {
    gap: 3px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .pc-mobile-menu-button {
    flex-basis: 34px;
    width: 34px;
    min-height: 34px;
  }

  .pc-logo-button img {
    width: 88px;
  }

  .pc-refresh-button img {
    width: 26px;
  }

  .pc-agency-filter {
    min-width: 66px;
  }

  .pc-agency-button {
    font-size: 11px;
  }

  .pc-logout-button img {
    width: 44px;
  }
}
