:root {
  --ink: #1a312b;
  --green: #21513e;
  --deep: #153b30;
  --soft: #eaf0e9;
  --muted: #5f7068;
  --line: #dce3dc;
  --orange: #ffc45d;
  --paper: #f5f7f3;
  font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
main {
  min-height: 75vh;
  outline: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
input,
textarea,
select {
  color: var(--ink);
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ca7e16;
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
}
h2 {
  font-size: 1.4rem;
  font-weight: 730;
}
small {
  font-size: 0.85rem;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: white;
  padding: 0.8rem;
}
.skip:focus {
  top: 0.3rem;
}
#header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.mast {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
  font-size: 18px;
  letter-spacing: 0.02em;
  font-weight: 750;
}
.tca-logo {
  display: block;
  width: 4.75rem;
  height: auto;
  flex: none;
}
.brand-divider {
  width: 1px;
  height: 22px;
  background: #c1c9c1;
}
.site-footer .tca-logo {
  width: 3.5rem;
}
.main-nav {
  display: flex;
  gap: 29px;
  align-self: stretch;
  margin: auto;
}
.main-nav a,
.scroll-nav a {
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  font-weight: 550;
  color: #52625a;
}
.main-nav a.active,
.scroll-nav a.active {
  color: #153e2d;
  font-weight: 750;
}
.main-nav a.active:after,
.scroll-nav a.active:after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 3px;
  background: #286447;
}
.mast-actions,
.row,
.actions,
.tag-row,
.filter-row,
.section-head,
.shop-line,
.section-name {
  display: flex;
  align-items: center;
}
.mast-actions {
  margin-left: auto;
  gap: 16px;
}
.icon-btn {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 8px;
  font-size: 26px;
  border-radius: 50%;
}
.icon-btn:hover {
  background: var(--soft);
}
.account {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  font-weight: 650;
  padding: 6px 10px 6px 6px;
  font-size: 0.87rem;
}
.account small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.avatar {
  display: grid;
  place-items: center;
  background: #e5eee4;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: var(--green);
}
.scroll-nav {
  display: none;
  overflow-x: auto;
}
.admin-nav {
  display: block;
  border-top: 1px solid #f0f2ed;
}
.scroll-nav .wrap {
  display: flex;
  gap: 23px;
  min-height: 47px;
}
.admin-title {
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.hero {
  isolation: isolate;
  background: #213e32;
  position: relative;
  color: white;
  overflow: hidden;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-image {
  object-fit: cover;
  object-position: 57% 71%;
}
.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(12, 35, 29, 0.97) 0%,
    rgba(16, 40, 31, 0.9) 23%,
    rgba(17, 43, 32, 0.72) 41%,
    rgba(17, 42, 31, 0.15) 72%,
    rgba(17, 42, 31, 0.1) 100%
  );
}
.hero-inner {
  padding-block: 45px 60px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.1vw, 4rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  margin: 18px 0 10px;
}
.hero p {
  font-size: 1.05rem;
  color: #edf1eb;
  letter-spacing: 0.04em;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #ffffff55;
  background: #173b2f86;
  color: #f2f5ec;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.81rem;
  font-weight: 580;
}
.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 26px;
}
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.25;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.primary,
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #173f31;
}
.btn.secondary {
  border-color: #cbd5cb;
  background: #fff;
  color: #264635;
}
.btn.secondary:hover,
.chip:hover {
  background: #edf2eb;
}
.btn.danger {
  background: #a2382c;
  color: white;
}
.btn.orange {
  color: #322507;
  background: var(--orange);
}
.btn.orange:hover {
  background: #ffcd74;
}
.btn.glass {
  color: white;
  background: #243e32bd;
  border-color: #b6c8b6;
}
.btn.glass:hover {
  background: #2d4a3c;
}
.hero-actions .btn {
  padding: 13px 23px;
  min-height: 46px;
}
.link-btn,
.text-link {
  color: var(--green);
  font-weight: 650;
  font-size: 0.91rem;
}
.link-btn {
  background: transparent;
  border: 0;
}
.text-link:hover,
.back:hover {
  text-decoration: underline;
}
.home-body {
  padding-bottom: 50px;
}
.service-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  position: relative;
  margin-top: -20px;
  box-shadow: 0 4px 16px #263d2710;
}
.service-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 27px;
  position: relative;
}
.service-option + .service-option:before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  border-left: 1px solid var(--line);
}
.service-icon {
  height: 47px;
  width: 47px;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: #edf2e8;
  border-radius: 11px;
  color: var(--green);
}
.service-option:last-child .service-icon {
  background: #fff1d9;
  color: #845e21;
}
.service-option strong {
  font-size: 1.03rem;
  display: block;
  margin-bottom: 4px;
}
.service-option small {
  color: var(--muted);
}
.service-option:hover strong,
.shop-card:hover h3 {
  color: #3c714d;
}
.section-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.section-name {
  gap: 12px;
}
.section-name h2 {
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}
.section-mark {
  height: 21px;
  width: 5px;
  background: #d99531;
  border-radius: 1px;
}
.nearby-section,
.fault-section {
  margin-top: 33px;
}
.filter-row {
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 17px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 15px;
  font-size: 0.87rem;
  color: #526158;
  line-height: 1.45;
}
.chip.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.shop-card,
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.shop-card {
  overflow: hidden;
  display: block;
  transition: box-shadow 0.15s;
}
.shop-card:hover {
  box-shadow: 0 5px 16px #263d2717;
}
.shop-photo {
  aspect-ratio: 2.3;
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.photo-status {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: white;
  background: #1b322add;
  padding: 4px 7px;
  border-radius: 4px;
}
.shop-info {
  padding: 16px 17px 18px;
}
.shop-line {
  align-items: flex-start;
  justify-content: space-between;
  gap: 7px;
}
.shop-line h3 {
  font-size: 1.16rem;
  font-weight: 730;
  letter-spacing: -0.035em;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #96601e;
  font-size: 0.87rem;
  font-weight: 740;
  white-space: nowrap;
}
.rating svg {
  fill: #e7a23d;
  stroke: #e7a23d;
}
.shop-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--muted);
  margin: 9px 0 13px;
}
.shop-address span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-address b,
.shop-address svg {
  flex-shrink: 0;
}
.shop-address b {
  color: #43554a;
  font-weight: 550;
}
.shop-address i {
  height: 10px;
  width: 1px;
  background: #c9d0c9;
}
.tag-row {
  gap: 6px;
  flex-wrap: wrap;
}
.tag-row span,
.badge {
  display: inline-flex;
  align-items: center;
  background: #edf2eb;
  color: #435d4a;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
}
.fault-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fault-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fault-grid svg {
  color: var(--green);
}
.ongoing {
  background: #e6efe4;
  border: 1px solid #c8dac4;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 20px;
  margin-top: 18px;
  border-radius: 9px;
  font-size: 0.9rem;
}
.ongoing strong {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ongoing b {
  margin-left: auto;
  color: var(--green);
}
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 75px;
  font-size: 0.9rem;
}
.screen {
  padding: 32px 0 52px;
  min-height: 70vh;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 1px 0 24px;
}
.page-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.045em;
}
.page-heading p {
  margin-top: 7px;
}
.back {
  display: inline-block;
  color: var(--green);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.row,
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.actions {
  justify-content: flex-end;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stack > h1,
.stack > h2 {
  margin: 0;
}
.muted,
.loading {
  color: var(--muted);
}
.loading {
  padding-top: 50px;
}
.empty,
.oempty {
  background: white;
  border: 1px dashed #c6d3c7;
  border-radius: 11px;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
}
.empty svg {
  color: #70917f;
}
.empty p {
  margin: 8px 0;
}
.empty .btn {
  margin-top: 12px;
}
.panel {
  padding: 24px;
}
.grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.wide {
  grid-column: 1/-1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  min-width: 0;
}
.field input:not([type='checkbox']):not([type='radio']),
.field select,
.field textarea,
.search-bar input {
  min-height: 42px;
  border: 1px solid #c6cfc5;
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
  width: 100%;
  font-weight: 400;
  line-height: 1.45;
}
.field textarea {
  resize: vertical;
}
fieldset.field {
  border: 0;
  padding: 0;
}
fieldset.field legend {
  margin-bottom: 8px;
}
.check-group {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.check-group label {
  font-weight: 400;
}
.check-group input,
.role-tabs input {
  accent-color: var(--green);
}
.form-error {
  color: #a1372f;
  white-space: pre-line;
  font-size: 0.91rem;
}
.form-error:empty {
  display: none;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  max-width: 650px;
}
.search-bar input {
  border: 0;
  flex: 1;
  min-width: 0;
}
.search-bar .btn {
  flex: none;
}
.shop-detail {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  padding: 22px;
}
.shop-detail > img {
  border-radius: 8px;
  aspect-ratio: 1.2;
  object-fit: cover;
  object-position: center 28%;
  width: 100%;
}
.shop-detail .page-heading {
  margin: 0;
}
.details {
  margin: 12px 0;
  display: grid;
  gap: 0;
}
.details > div {
  display: grid;
  grid-template-columns: minmax(78px, 105px) 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e9eee7;
  line-height: 1.55;
}
.details dt,
.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}
.details dd {
  margin: 0;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 16px;
  max-width: 1000px;
}
.vehicle {
  padding: 22px;
}
.vehicle h2 {
  margin: 12px 0 4px;
}
.vehicle .details {
  margin-bottom: 16px;
}
.small-btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.86rem;
}
.table-scroll {
  overflow-x: auto;
}
.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}
.table-scroll td,
.table-scroll th {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #e7ebe5;
  line-height: 1.5;
}
.table-scroll th {
  background: #edf2eb;
  color: #465c50;
  white-space: nowrap;
}
.table-scroll tr:last-child td {
  border-bottom: 0;
}
.table-scroll td .btn {
  white-space: nowrap;
}
.work-banner {
  background: var(--deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 30px;
  border-radius: 12px;
}
.work-banner h1 {
  margin: 7px 0;
  font-size: 2rem;
}
.work-banner > svg {
  opacity: 0.55;
}
.work-banner small,
.work-banner p {
  color: #d5e5d7;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.metric strong {
  display: block;
  font-size: 1.95rem;
  margin-top: 6px;
}
.queue-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.queue-strip a {
  padding: 8px 12px;
  background: #e8eee5;
  border-radius: 6px;
  font-size: 0.9rem;
}
.list-rows > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.list-rows > a:last-child {
  border: 0;
}
.list-rows > a > div {
  flex: 1;
}
.list-rows small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.notice-icon {
  color: var(--green);
}
.welcome {
  max-width: 520px;
  padding: 30px;
  margin: 4vh auto;
}
.welcome button {
  align-self: flex-start;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  width: min(580px, calc(100% - 28px));
  max-height: 88vh;
  color: var(--ink);
  box-shadow: 0 20px 90px #13261f40;
}
dialog::backdrop {
  background: #10251ccd;
}
.dialog-inner {
  padding: 24px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.dialog-head h2 {
  font-size: 1.3rem;
}
.dialog-head .icon-btn {
  width: 34px;
  height: 34px;
}
.role-tabs {
  display: flex;
  gap: 8px;
}
.role-tabs label {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.role-tabs input {
  position: absolute;
  opacity: 0;
}
.role-tabs span {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
}
.role-tabs input:checked + span {
  background: #e6f0e3;
  color: var(--green);
  border-color: var(--green);
  font-weight: 650;
}
.role-tabs input:focus-visible + span {
  outline: 3px solid #ca7e16;
}
#toast {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 20px;
  border-radius: 9px;
  color: white;
  background: #183c30;
  box-shadow: 0 3px 20px #183c3036;
  max-width: 90vw;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s;
}
#toast.on {
  opacity: 1;
}
@media (min-width: 1500px) {
  .hero-image {
    object-position: 50% 68%;
  }
  .hero-inner {
    padding-block: 58px 72px;
  }
}
@media (max-width: 1040px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .mast {
    gap: 22px;
  }
  .main-nav {
    gap: 17px;
  }
  .brand {
    gap: 9px;
  }
  .shop-grid {
    gap: 13px;
  }
  .service-option {
    padding: 16px 17px;
  }
  .shop-info {
    padding: 14px;
  }
  .account small {
    display: none;
  }
  .shop-address {
    gap: 4px;
  }
  .scroll-nav .wrap {
    width: max-content;
    min-width: 100%;
    padding-inline: 24px;
  }
}
@media (max-width: 780px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast {
    min-height: 60px;
  }
  .main-nav {
    display: none;
  }
  .scroll-nav {
    display: block;
    border-top: 1px solid #edf0eb;
  }
  .scroll-nav .wrap {
    padding-inline: 16px;
    gap: 24px;
    min-height: 42px;
  }
  .mast-actions {
    gap: 5px;
  }
  .brand {
    font-size: 16px;
  }
  .brand .tca-logo {
    width: 3.5rem;
  }
  .account {
    font-size: 0.81rem;
  }
  .hero-inner {
    padding-block: 26px 42px;
  }
  .hero p {
    font-size: 0.94rem;
  }
  .hero h1 {
    margin-top: 15px;
    font-size: 2.25rem;
  }
  .hero-image {
    object-position: 68% 57%;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .hero-actions .btn {
    padding: 10px 17px;
    min-height: 42px;
  }
  .service-option {
    padding: 12px 10px;
    gap: 8px;
  }
  .service-icon {
    width: 35px;
    height: 35px;
  }
  .service-option small {
    font-size: 0.72rem;
  }
  .service-option strong {
    font-size: 0.94rem;
  }
  .service-bar {
    margin-top: -13px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fault-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .shop-detail {
    grid-template-columns: 1fr;
  }
  .shop-detail > img {
    aspect-ratio: 2.6;
  }
  .screen {
    padding-block: 22px 36px;
  }
  .admin-title {
    display: none;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand-divider {
    height: 17px;
  }
  .mast .brand {
    gap: 7px;
  }
  .mast-actions .icon-btn {
    padding: 5px;
  }
  .hero-inner {
    padding-block: 25px 34px;
  }
  .hero-image {
    object-position: 69% 62%;
  }
  .hero-shade {
    background: linear-gradient(90deg, #142c24e6, #1b342aa8 54%, #1e382a36);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.9rem;
    letter-spacing: 0;
  }
  .location-chip {
    font-size: 0.76rem;
  }
  .service-option {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 11px 3px;
  }
  .service-option strong {
    font-size: 0.88rem;
    margin: 0;
  }
  .service-option small {
    display: none;
  }
  .service-icon {
    width: 32px;
    height: 32px;
  }
  .service-icon svg {
    width: 20px;
  }
  .service-option + .service-option:before {
    top: 16px;
    bottom: 16px;
  }
  .service-bar {
    border-radius: 9px;
  }
  .nearby-section,
  .fault-section {
    margin-top: 25px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .section-name {
    gap: 8px;
  }
  .section-name h2 {
    font-size: 1.35rem;
  }
  .section-mark {
    height: 17px;
    width: 4px;
  }
  .text-link {
    font-size: 0.83rem;
  }
  .filter-row {
    gap: 7px;
  }
  .chip {
    font-size: 0.81rem;
    padding: 5px 11px;
  }
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .shop-card {
    display: grid;
    grid-template-columns: 35% 1fr;
    border-radius: 9px;
  }
  .shop-photo {
    height: 100%;
    min-height: 111px;
    aspect-ratio: auto;
  }
  .photo-status {
    top: 6px;
    left: 5px;
    padding: 3px 4px;
    font-size: 0.67rem;
  }
  .photo-status svg {
    width: 11px;
  }
  .shop-info {
    padding: 12px 10px;
    min-width: 0;
  }
  .shop-line h3 {
    font-size: 1rem;
  }
  .shop-line {
    gap: 2px;
  }
  .rating {
    font-size: 0.77rem;
  }
  .shop-address {
    font-size: 0.77rem;
  }
  .tag-row {
    gap: 4px;
  }
  .tag-row span {
    font-size: 0.73rem;
    padding: 2px 5px;
  }
  .fault-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fault-grid a {
    font-size: 0.9rem;
    padding: 10px;
  }
  .ongoing {
    flex-wrap: wrap;
    padding: 10px;
    gap: 6px;
  }
  .ongoing > span {
    order: 3;
    flex-basis: 100%;
    font-size: 0.8rem;
  }
  .form-grid,
  .grid {
    grid-template-columns: 1fr;
  }
  .dialog-inner,
  .panel {
    padding: 17px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric {
    padding: 12px;
  }
  .work-banner {
    padding: 18px;
  }
  .work-banner h1 {
    font-size: 1.5rem;
  }
  .list-rows > a {
    flex-wrap: wrap;
    gap: 5px;
  }
  .list-rows small {
    font-size: 0.75rem;
  }
  .shop-detail {
    padding: 15px;
  }
  .site-footer .wrap {
    min-height: 56px;
  }
  .role-tabs span {
    gap: 4px;
  }
  .search-bar input {
    font-size: 0.88rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.logout {
  padding: 3px 0;
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.82rem;
}

.shop-reviews {
  margin-top: 18px;
}
.shop-reviews article {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.shop-reviews strong {
  color: #96601e;
}
.shop-reviews small {
  color: var(--muted);
  margin-left: 14px;
}
.shop-reviews h2 {
  margin-bottom: 12px;
}
