:root {
  --tw-accent: #11877a;
  --tw-border: color-mix(in srgb, currentColor 13%, transparent);
  --tw-muted: color-mix(in srgb, currentColor 63%, transparent);
  --tw-wash: color-mix(in srgb, currentColor 3%, transparent);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 12px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--tw-accent); outline-offset: 3px; }
.panel { padding: 14px 12px 20px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--tw-border); gap: 8px; }
.brand { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
h1, h2, p { margin: 0; }
h1 { font-size: 13px; font-weight: 650; letter-spacing: -.2px; }
.brand-mark { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: var(--tw-accent); color: #fff; font-size: 21px; font-weight: 700; line-height: 1; padding-bottom: 3px; }
.icon-button { display: grid; place-items: center; border: 1px solid var(--tw-border); border-radius: 6px; padding: 5px; background: transparent; flex-shrink: 0; }
.icon-button:hover:enabled { background: var(--tw-wash); }
.badge { font-size: 10px; padding: 2px 6px; border: 1px solid var(--tw-border); border-radius: 4px; color: var(--tw-muted); }
.customer { padding: 18px 0 16px; }
.eyebrow { color: var(--tw-muted); font-size: 9px; letter-spacing: 1px; font-weight: 650; margin-bottom: 4px; }
.customer h2 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.35px; overflow-wrap: anywhere; }
.customer p { margin-top: 4px; overflow-wrap: anywhere; }
.secondary { color: var(--tw-muted); }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.section-header h2 { font-size: 12px; font-weight: 650; }
.section-header span { font-size: 10px; }
.date-range { font-size: 10px; margin: 3px 0 10px; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--tw-border); border-radius: 7px; }
table { width: 100%; min-width: 440px; border-collapse: collapse; table-layout: auto; text-align: left; font-size: 11px; }
th { padding: 8px 7px; font-size: 9px; font-weight: 650; color: var(--tw-muted); background: var(--tw-wash); white-space: nowrap; }
td { padding: 9px 7px; border-top: 1px solid var(--tw-border); vertical-align: top; }
th:first-child, td:first-child { padding-left: 9px; }
td.date, td.time { white-space: nowrap; font-variant-numeric: tabular-nums; }
td.employees { min-width: 103px; max-width: 180px; overflow-wrap: anywhere; }
td.service { min-width: 106px; max-width: 190px; overflow-wrap: anywhere; }
td.service a { color: inherit; text-decoration-color: color-mix(in srgb, var(--tw-accent) 50%, transparent); text-underline-offset: 3px; }
td.service a:hover { color: var(--tw-accent); }
tr.upcoming { background: color-mix(in srgb, var(--tw-accent) 5%, transparent); }
tr.upcoming td.date { box-shadow: inset 2px 0 0 var(--tw-accent); }
.legend { display: flex; align-items: center; gap: 5px; color: var(--tw-muted); font-size: 9px; padding-top: 9px; }
.legend-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tw-accent); }
.status { margin-top: 16px; padding: 14px 12px; border: 1px solid var(--tw-border); border-radius: 7px; background: var(--tw-wash); }
.status > span { font-size: 12px; font-weight: 600; }
.status p { font-size: 11px; color: var(--tw-muted); margin-top: 4px; }
.status[data-kind='loading'] > span::before { content: ''; display: inline-block; width: 10px; height: 10px; border: 2px solid var(--tw-border); border-top-color: var(--tw-accent); border-radius: 50%; margin-right: 7px; vertical-align: -1px; animation: spin .8s linear infinite; }
.status[data-kind='error'], .error-text { color: #ba3b42; }
.empty-missions { padding: 16px 0; color: var(--tw-muted); font-size: 11px; }
.choice { padding-top: 12px; }
.choice label, .auth-card label { display: block; font-size: 10px; font-weight: 600; margin-bottom: 5px; color: var(--tw-muted); }
.choice select, .auth-card input { width: 100%; border: 1px solid var(--tw-border); border-radius: 5px; padding: 7px 8px; background: transparent; }
.choice option { color: #222; background: #fff; }
.auth-card { padding: 18px 0 4px; }
.auth-card h2 { font-size: 14px; }
.auth-card p { font-size: 11px; color: var(--tw-muted); margin: 6px 0 12px; }
.auth-card .error-text { color: #ba3b42; margin-bottom: 0; }
.primary-button { border: 0; border-radius: 5px; background: var(--tw-accent); color: #fff; padding: 7px 12px; margin-top: 10px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .status[data-kind='loading'] > span::before { animation: none; } }
