:root { --demo-primary: #006544; --demo-surface: #ebfef2; }
body { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; }
#billing-tabs { max-width: 100%; overflow-x: auto; }
[role="button"], [data-action] { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 2px solid #006544; outline-offset: 3px; }
[hidden] { display: none !important; }
.demo-selected { background-color: #006544 !important; color: white !important; }
.demo-selected .material-symbols-outlined { color: inherit !important; }
.demo-toast { position: fixed; bottom: 105px; left: 50%; transform: translateX(-50%); z-index: 10000; background: #24342c; color: white; padding: 12px 20px; border-radius: 8px; max-width: min(520px, 90vw); width: max-content; box-shadow: 0 8px 24px #0002; font-size: 14px; }
.demo-toast[data-error="true"] { background: #93000a; }
.demo-dialog { width: min(620px, calc(100vw - 32px)); max-height: 88dvh; border: 1px solid #bdc9c0; padding: 0; border-radius: 12px; background: #fff; color: #0f1f18; box-shadow: 0 16px 60px #00211338; }
.demo-dialog::backdrop { background: #14241d66; backdrop-filter: blur(3px); }
.demo-dialog > header { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; padding: 16px 20px; border-bottom: 1px solid #dff2e7; background: #fff; z-index: 1; }
.demo-dialog h2 { font-size: 18px; font-weight: 700; line-height: 26px; margin: 0; overflow-wrap: anywhere; }
.demo-dialog h3 { font-size: 16px; font-weight: 600; margin: 12px 0; }
.demo-dialog-body { padding: 20px; line-height: 1.7; overflow-wrap: anywhere; }
.demo-dialog > footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 12px 20px 18px; background: #fff; }
.demo-dialog > .demo-toast { position: sticky; left: auto; bottom: 0; transform: none; margin: 0 auto 12px; max-width: calc(100% - 24px); }
.demo-button { background: #006544; color: white; border: 0; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.demo-button.secondary { background: #e5f8ed; color: #006544; }
.demo-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e5f8ed; flex-shrink: 0; }
.demo-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.demo-field input, .demo-field textarea, .demo-field select { width: 100%; background: #e5f8ed; color: #0f1f18; border: 1px solid #bdc9c0; padding: 10px 12px; border-radius: 8px; font: inherit; font-weight: 400; }
.demo-form-error { color: #ba1a1a; }
.demo-list > * { display: block; padding: 12px 0; border-bottom: 1px solid #dff2e7; }
.demo-list button { text-align: left; width: 100%; }
.demo-list small, .demo-muted { color: #3e4942; font-size: 12px; }
.demo-list strong { display: block; font-weight: 600; }
.demo-empty { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 36px 16px; color: #6e7a72; }
.demo-inline { margin: 12px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.demo-inline img, .demo-upload-preview { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.demo-detail-image { width: 100%; max-height: 420px; object-fit: contain; border-radius: 8px; }
.demo-timeline { list-style: none; padding-left: 16px; border-left: 2px solid #94f6c5; }
.demo-timeline li { padding: 6px 0 14px; }
.demo-timeline time { display: block; color: #6e7a72; font-size: 12px; }
.demo-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin-bottom: 16px; font-size: 13px; }
.demo-meta dt { color: #6e7a72; }
.demo-meta dd { margin: 0; }
.demo-inline-section { padding: 12px 0; }
.demo-auth-note { margin: 12px 0; font-size: 12px; color: #3e4942; }
.demo-mobile-only { display: none; }
html[data-group="web"] main { padding-top: 84px; }
html[data-group="web"] header.fixed { gap: 12px; }
html[data-group="web"] header.fixed button, html[data-group="web"] header.fixed a { white-space: nowrap; }
html[data-group="web"] header.fixed > div { min-width: 0; }
html[data-group="web"] header.fixed .hidden.xl\:flex { white-space: nowrap; }
html[data-group="web"] header .relative.w-80 { width: min(250px, 19vw); }
html[data-group="web"] main > div { min-width: 0; }
html[data-group="web"] table { min-width: 680px; }
html[data-group="web"] table th { white-space: nowrap; }
@media (max-width: 1250px) {
  html[data-group="web"] header.fixed > div:first-child > div:first-child { display: none; }
}
@media (min-width: 801px) and (max-width: 1600px) {
  html[data-group="web"] header.fixed > div:first-child > div:first-child { display: none; }
}
@media (max-width: 800px) {
  html[data-group="web"] body > aside { transform: translateX(-100%); transition: transform .15s; width: 260px; }
  html[data-group="web"] body.demo-menu-open > aside { transform: translateX(0); z-index: 80; }
  html[data-group="web"] body > .pl-72, html[data-group="web"] body > .pl-64 { padding-left: 0; }
  html[data-group="web"] header.fixed { left: 0; padding-left: 52px; }
  html[data-group="web"] header.fixed .relative.w-80 { display: none; }
  html[data-group="web"] header.fixed button { flex-shrink: 0; }
  html[data-group="web"] header.fixed [title="切换全屏"] { display: none; }
  .demo-mobile-only { display: inline-flex; position: fixed; top: 14px; left: 10px; z-index: 90; }
  html[data-group="web"] main { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 480px) {
  .demo-dialog { width: calc(100vw - 20px); max-height: 91dvh; }
  .demo-dialog-body { padding: 16px; }
  .demo-dialog > footer { padding: 12px; }
  html:not([data-group="web"]) button, html:not([data-group="web"]) h2, html:not([data-group="web"]) h3 { overflow-wrap: anywhere; }
  html[data-group="worker"] .font-display-lg { font-size: 30px; }
  html[data-group="worker"] h2 { font-size: 20px; }
  html[data-page="checkin"] .fixed.bottom-0 button { font-size: 14px; }
  html[data-group="web"] header [title="融媒体待审素材"], html[data-group="web"] header [title="消息通知"] { display: none; }
  html[data-page="expenses"] main .flex:has(> .relative > #search-input) { flex-wrap: wrap; width: 100%; }
  html[data-page="finance"] #billing-tabs > .flex:first-child { max-width: 100%; overflow-x: auto; }
  html[data-page="finance"] #billing-tabs button { flex-shrink: 0; white-space: nowrap; }
  html[data-page="weekly"] main .flex:has(> #preview-trigger-btn) { flex-wrap: wrap; flex-shrink: 1; }
  html[data-page="weekly"] main .flex:has(> .text-outline) { flex-wrap: wrap; }
}
@media print {
  body > *:not(dialog) { display: none !important; }
  dialog.demo-dialog { position: static; display: block; max-height: none; border: 0; width: 100%; box-shadow: none; }
  dialog footer, dialog header button { display: none !important; }
}
.demo-arrival-sla { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #e5f8ed; color: #005236; }
.demo-arrival-sla strong, .demo-arrival-sla small { display: block; }
.demo-arrival-sla small { margin-top: 2px; color: #3e4942; font-size: 12px; line-height: 1.55; }
.demo-arrival-sla[data-state="overdue"] { background: #ffdad6; color: #93000a; }
.demo-repair-center { margin: 0; padding: 14px; border: 1px solid #dff2e7; border-radius: 8px; background: #ffffff; }
.demo-repair-center-heading, .demo-repair-center-heading > div, .demo-repair-order { display: flex; align-items: center; }
.demo-repair-center-heading { justify-content: space-between; gap: 10px; }
.demo-repair-center-heading > div { gap: 8px; min-width: 0; }
.demo-repair-center-heading .material-symbols-outlined { color: #006544; }
.demo-repair-center h2, .demo-repair-center h3, .demo-repair-center p { margin: 0; }
.demo-repair-center h2 { font-size: 17px; }
.demo-repair-center h3 { padding: 10px 0 5px; font-size: 14px; }
.demo-repair-center p, .demo-repair-order small, .demo-repair-empty { color: #3e4942; font-size: 12px; }
.demo-repair-metrics { display: flex; gap: 7px; margin-top: 11px; overflow-x: auto; }
.demo-repair-metrics span { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: #e5f8ed; color: #005236; font-size: 12px; }
.demo-repair-section { border-top: 1px solid #dff2e7; margin-top: 10px; }
.demo-repair-order { width: 100%; justify-content: space-between; gap: 9px; padding: 10px 0; border: 0; border-top: 1px solid #edf3ef; background: transparent; color: inherit; text-align: left; }
.demo-repair-section h3 + .demo-repair-order { border-top: 0; }
.demo-repair-order > div { min-width: 0; }
.demo-repair-order strong, .demo-repair-order small { display: block; }
.demo-repair-order strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-repair-order small { margin-top: 3px; }
.demo-repair-status { flex: 0 0 auto; max-width: 106px; color: #3e4942; font-size: 12px; text-align: right; }
.demo-repair-status.active { color: #006544; font-weight: 700; }
.demo-repair-order .demo-button { flex: 0 0 auto; padding: 7px 9px; font-size: 12px; }
.demo-repair-empty { margin-top: 12px; padding: 12px; border-radius: 6px; background: #f7fcf8; text-align: center; }
.demo-review-dashboard { margin: 0 0 20px; padding: 18px; border-bottom: 1px solid #bdc9c0; background: #ffffff; }
.demo-review-dashboard-heading, .demo-review-dashboard-heading > div, .demo-review-card-top, .demo-review-card-foot { display: flex; align-items: center; }
.demo-review-dashboard-heading { justify-content: space-between; gap: 12px; }
.demo-review-dashboard-heading > div { gap: 9px; min-width: 0; }
.demo-review-dashboard-heading > div > .material-symbols-outlined { color: #006544; }
.demo-review-dashboard h2 { margin: 0; font-size: 17px; line-height: 1.4; }
.demo-review-dashboard p { margin: 2px 0 0; color: #3e4942; font-size: 12px; }
.demo-review-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.demo-review-metrics article { padding: 11px; border: 1px solid #dff2e7; border-radius: 6px; background: #f7fcf8; }
.demo-review-metrics strong, .demo-review-metrics span { display: block; }
.demo-review-metrics strong { color: #006544; font-size: 21px; line-height: 1.25; }
.demo-review-metrics span { margin-top: 4px; color: #3e4942; font-size: 12px; }
.demo-review-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.demo-review-tabs button { border: 0; border-radius: 999px; padding: 7px 11px; background: #e5f8ed; color: #005236; font-size: 12px; font-weight: 700; }
.demo-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.demo-review-list article { padding: 12px; border: 1px solid #dff2e7; border-radius: 6px; background: #ffffff; }
.demo-review-card-top { justify-content: space-between; gap: 10px; }
.demo-review-card-top strong, .demo-review-card-top small { display: block; }
.demo-review-card-top small, .demo-review-card-foot small { margin-top: 3px; color: #6e7a72; font-size: 12px; }
.demo-rating { flex: 0 0 auto; color: #7c4d00; font-size: 12px; font-weight: 700; }
.demo-rating .material-symbols-outlined { font-size: 16px; font-variation-settings: 'FILL' 1; }
.demo-review-tags { color: #006544 !important; }
.demo-review-comment { min-height: 20px; }
.demo-review-card-foot { justify-content: space-between; gap: 10px; margin-top: 10px; }
.demo-review-followed, .demo-review-archived, .demo-order-review-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 7px; font-size: 12px; font-weight: 600; }
.demo-review-followed, .demo-order-review-status.reviewed { background: #e5f8ed; color: #006544; }
.demo-review-archived { background: #f0f2f0; color: #3e4942; }
.demo-order-review-status { margin-top: 5px; white-space: nowrap; }
.demo-order-review-status.pending { background: #fff3e9; color: #7c4d00; }
@media (max-width: 800px) { .demo-review-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .demo-review-list { grid-template-columns: 1fr; } }
