/* Doctor Repair Shop - the TEG RepairShop page (own template), its top bar, and the [repairshop-*] shortcodes */
:root { --drs-accent: #0E7C7B; }
body.drs-app { margin: 0; background: #f4f6f8; color: #1c2024; font: 16px/1.55 "Segoe UI", -apple-system, Helvetica, Arial, sans-serif; }
body.drs-app.drs-font-serif { font-family: Georgia, "Times New Roman", serif; }

/* top bar: one Return button on the left, title, then the menu */
.drs-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: #1c2438; color: #fff; padding: 8px 16px; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(0,0,0,.25); font-family: "Segoe UI", -apple-system, Helvetica, Arial, sans-serif; font-size: 14px; }
.drs-return { display: inline-block; background: var(--drs-accent); color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.drs-return:hover { filter: brightness(1.1); color: #fff; }
.drs-topbar-title { color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; margin-right: 8px; }
.drs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; flex: 1 1 auto; }
.drs-nav-item { color: #d5dbe7; text-decoration: none; padding: 6px 10px; border-radius: 5px; white-space: nowrap; }
.drs-nav-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.drs-nav-active { background: rgba(255,255,255,.16); color: #fff; }
.drs-nav-sep { color: #8a94a8; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 0 8px 0 14px; border-left: 1px solid rgba(255,255,255,.15); margin-left: 6px; }
.drs-nav-staff { color: #b7c4e0; }
.drs-nav-toggle, .drs-nav-burger { display: none; }
@media (max-width: 900px) {
	.drs-nav-burger { display: inline-block; margin-left: auto; font-size: 22px; cursor: pointer; padding: 2px 8px; }
	.drs-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 6px; }
	.drs-nav-toggle:checked ~ .drs-nav { display: flex; }
	.drs-nav-sep { border: none; margin: 6px 0 0; padding: 4px 10px; }
}

/* the page */
.drs-app-main { max-width: 980px; margin: 0 auto; padding: 28px 20px 40px; }
.drs-app-main h1 { font-size: 28px; margin: 0 0 8px; color: #1c2438; }
.drs-app-main h2 { font-size: 20px; margin: 0 0 14px; color: #1c2438; }
.drs-app-lead { color: #4b5563; margin: 0 0 20px; }
.drs-app-titlebar { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.drs-app-titlebar img { width: 64px; height: 64px; flex: none; }
.drs-app-titlebar h1 { margin: 0 0 4px; }
.drs-app-titlebar .drs-app-lead { margin: 0; }
.drs-app-hero { display: flex; align-items: center; gap: 30px; padding: 10px 0 20px; }
.drs-app-hero-text { flex: 1 1 320px; }
.drs-app-hero-img { flex: 1 1 320px; max-width: 460px; width: 100%; height: auto; }
.drs-app-logo { max-height: 80px; max-width: 240px; margin-bottom: 10px; display: block; }
.drs-app-hero h1 { color: var(--drs-accent); font-size: 34px; line-height: 1.15; }
.drs-app-tagline { color: #6b7280; margin: 0 0 8px; font-size: 17px; }
.drs-app-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.drs-app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 12px 0 30px; }
.drs-app-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px 20px; text-decoration: none; color: #1c2024; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .12s, box-shadow .12s; }
.drs-app-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); border-color: var(--drs-accent); }
.drs-app-card strong { font-size: 18px; color: var(--drs-accent); }
.drs-app-card span:last-child { color: #6b7280; font-size: 14px; }
.drs-app-card img { width: 56px; height: 56px; }
.drs-app-steps { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 22px; margin-bottom: 24px; }
.drs-app-steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.drs-app-steps-row > div { display: flex; flex-direction: column; gap: 6px; }
.drs-app-steps-row img { width: 48px; height: 48px; }
.drs-app-steps-row strong { color: #1c2438; }
.drs-app-steps-row span { color: #6b7280; font-size: 14px; }
.drs-app-services { margin-bottom: 24px; }
.drs-app-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.drs-app-service { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; }
.drs-app-service img { width: 40px; height: 40px; flex: none; }
.drs-app-service div { flex: 1; display: flex; flex-direction: column; }
.drs-app-service span { color: #6b7280; font-size: 13px; }
.drs-app-service em { font-style: normal; font-weight: 700; color: var(--drs-accent); white-space: nowrap; }
.drs-app-devices { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 6px 0 26px; }
.drs-app-devices > div { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #4b5563; font-size: 14px; }
.drs-app-devices img { width: 64px; height: 64px; }
/* account */
.drs-auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.drs-auth-card { max-width: none; }
.drs-auth-icon { width: 48px; height: 48px; margin-bottom: 4px; }
.drs-auth-card details { margin-top: 8px; }
.drs-auth-card summary { cursor: pointer; color: var(--drs-accent); font-weight: 600; }
.drs-account-head { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.drs-account-head .drs-auth-icon { margin: 0; }
.drs-account-out { margin-left: auto; }
.drs-inline { font-weight: normal !important; }
.drs-row3 { display: flex; gap: 8px; }
.drs-row3 label { flex: 1; }
.drs-muted { color: #6b7280; font-size: 14px; }
.drs-portal-ok { color: #15803d; font-weight: 600; background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 8px 12px; }
.drs-portal-btn-ghost { background: #fff; color: var(--drs-accent); }
.drs-portal-btn-ghost:hover { background: #f0fdfa; color: var(--drs-accent); }
@media (max-width: 720px) { .drs-app-hero { flex-direction: column; text-align: center; } .drs-app-cta { justify-content: center; } .drs-app-logo { margin: 0 auto 10px; } .drs-app-titlebar { flex-direction: column; text-align: center; } }
.drs-app-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 20px; font-size: 15px; color: #374151; }
.drs-app-contact a { color: var(--drs-accent); }
.drs-app-foot { text-align: center; color: #9ca3af; font-size: 13px; padding: 18px; }

/* forms and tables used by the sections and shortcodes */
.drs-portal, .drs-portal-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 20px; }
.drs-portal-form { max-width: 560px; }
.drs-portal-form label { font-weight: 600; font-size: 14px; }
.drs-portal-form input[type=text], .drs-portal-form input[type=date], .drs-portal-form input[type=email], .drs-portal-form select, .drs-portal-form textarea { width: 100%; padding: 9px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; box-sizing: border-box; margin-top: 3px; }
.drs-portal-form p { margin: 0 0 12px; }
.drs-portal-intro { font-weight: normal; color: #4b5563; }
.drs-portal-btn { display: inline-block; font: inherit; font-weight: 600; padding: 10px 20px; border-radius: 6px; border: 1px solid var(--drs-accent); background: var(--drs-accent); color: #fff; cursor: pointer; text-decoration: none; }
.drs-portal-btn:hover { filter: brightness(1.1); color: #fff; }
.drs-portal-btn-small { display: inline-block; padding: 2px 10px; font-size: 13px; margin-left: 6px; }
.drs-portal-error { color: #b91c1c; font-weight: 600; }
.drs-book-done { background: #f0fdf4; border: 1px solid #86efac; }
.drs-portal h3 { margin: 4px 0 10px; font-size: 18px; color: #1c2438; }
.drs-portal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 15px; }
.drs-portal-table th, .drs-portal-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e5e7eb; }
.drs-portal-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.drs-portal-table a { color: var(--drs-accent); }

/* intake questions, terms */
.drs-intake { border-top: 1px dashed #e5e7eb; margin-top: 6px; padding-top: 8px; }
.drs-intake-h { font-size: 15px; margin: 0 0 8px; color: #4b5563; }
.drs-intake select, .drs-intake input[type=tel], .drs-intake input[type=number] { width: 100%; padding: 9px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; box-sizing: border-box; margin-top: 3px; }
.drs-req { color: #b91c1c; }
.drs-terms-full { white-space: pre-line; color: #374151; }

/* quotes, plans, chat */
.drs-quote-result { border-top: 1px solid #e5e7eb; margin-top: 12px; padding-top: 12px; }
.drs-quote-price { font-size: 30px; font-weight: 700; color: var(--drs-accent); margin: 4px 0 8px; }
.drs-plan-cards .drs-app-card { cursor: default; } .drs-plan-cards .drs-app-card:hover { transform: none; }
.drs-plan-price { font-size: 22px; font-weight: 700; color: #1c2438; } .drs-plan-cards .drs-portal-btn { align-self: flex-start; margin-top: 6px; }
.drs-chat { margin-top: 18px; } .drs-chat-form { max-width: none; } .drs-chat-form textarea { width: 100%; padding: 9px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; box-sizing: border-box; }
.drs-qc .drs-checks { list-style: none; padding: 0; margin: 4px 0; columns: 2; }
/* kiosk */
body.drs-kiosk { font-size: 19px; } body.drs-kiosk .drs-app-main { max-width: 720px; } body.drs-kiosk .drs-portal-form input, body.drs-kiosk .drs-portal-form select, body.drs-kiosk .drs-portal-form textarea { font-size: 20px; padding: 14px 12px; } body.drs-kiosk .drs-portal-btn { font-size: 20px; padding: 16px 28px; } body.drs-kiosk .drs-app-foot { display: none; }
.drs-kiosk-bar { justify-content: space-between; } .drs-kiosk-hint { color: #b7c4e0; }
/* customer self check-in */
.drs-checkin { max-width: 560px; } .drs-checkin .drs-portal-form { max-width: none; } .drs-checkin h3 { margin: 14px 0 6px; } .drs-checkin-phone input[type=tel] { font-size: 22px; letter-spacing: .04em; }
/* staff mobile page */
.drs-staff { max-width: 640px; }
.drs-staff-login { max-width: 420px; }
.drs-staff-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; color: #4b5563; }
.drs-staff-new { margin-bottom: 14px; } .drs-staff-new summary { cursor: pointer; font-weight: 700; color: var(--drs-accent); font-size: 17px; } .drs-staff-new .drs-portal-form { max-width: none; border: none; padding: 8px 0 0; }
.drs-staff-search { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; } .drs-staff-search input[type=search] { flex: 1; padding: 9px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; min-width: 0; }
.drs-staff-card { background: #fff; border: 1px solid #e5e7eb; border-left: 5px solid #94a3b8; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.drs-staff-card.drs-prio-urgent { border-left-color: #dc2626; } .drs-staff-card.drs-prio-high { border-left-color: #f59e0b; } .drs-staff-card.drs-late { background: #fef2f2; }
.drs-staff-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; } .drs-staff-when { margin-left: auto; color: #6b7280; font-size: 13px; }
.drs-staff-body p { margin: 4px 0; } .drs-staff-body a { color: var(--drs-accent); }
.drs-staff-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; } .drs-staff-actions form { display: inline; } .drs-staff-actions select { padding: 8px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; }
.drs-staff .drs-portal-btn-small { padding: 8px 14px; font-size: 14px; margin: 0; }
.drs-staff-note { display: flex; gap: 6px; align-items: center; margin-top: 6px; } .drs-staff-note input[type=text] { flex: 1; min-width: 0; padding: 8px; font: inherit; border: 1px solid #94a3b8; border-radius: 6px; }
.drs-rate-stars { font-size: 34px; color: #f59e0b; margin: 6px 0; }
.drs-warranty, .drs-hold { margin-top: 18px; } .drs-hold #drs-hold-card { max-width: 420px; margin: 8px 0; }
.drs-opt { display: inline-block; background: #fef3c7; color: #78350f; border-radius: 4px; padding: 0 6px; font-size: 12px; margin-right: 4px; }
/* customer help */
.drs-help-customer .drs-help-section { border-bottom: 1px solid #e5e7eb; padding: 6px 0 12px; margin-bottom: 8px; }
.drs-help-customer h3 { margin: 12px 0 6px; color: var(--drs-accent); }
.drs-help-customer ol, .drs-help-customer ul { padding-left: 22px; }
.drs-help-customer p, .drs-help-customer li { color: #374151; }

/* the top bar on the standalone document pages */
body.drs-doc .drs-topbar { position: static; }
@media print { .drs-topbar { display: none !important; } }

/* 1.9.0: condition diagram, scanner, clock, compat chips */
.drs-cond { margin: 8px 0 12px; }
.drs-cond-box { max-width: 320px; background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; padding: 6px; }
.drs-cond-box svg { width: 100%; height: auto; display: block; cursor: crosshair; }
.drs-cond-view .drs-cond-box svg { cursor: default; }
.drs-cond-tools { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 4px 0; }
.drs-cond-type { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.drs-cond-type span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.drs-cond-legend { margin: 6px 0 0 18px; font-size: 13px; }
.drs-cond-note { margin-top: 6px; width: 100%; max-width: 320px; }
.drs-scan-overlay { position: fixed; inset: 0; background: #000; z-index: 100001; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.drs-scan-overlay video { width: 100%; max-width: 640px; max-height: 70vh; }
.drs-scan-overlay p { margin: 10px; }
.drs-scan-overlay .drs-scan-close { position: absolute; top: 10px; right: 14px; font-size: 32px; background: none; border: none; color: #fff; cursor: pointer; }
.drs-scan-overlay .drs-scan-type { background: #fff; color: #111; border: none; border-radius: 6px; padding: 8px 14px; cursor: pointer; }
.drs-clock { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.drs-clock-state { font-weight: 600; margin-right: 6px; }
.drs-compat li { margin: 4px 0; }
.drs-compat-chips { margin: 6px 0; }
.drs-compat-chips .button { margin: 2px 4px 2px 0; }
.drs-line-taxclass { margin-left: 4px; max-width: 9em; font-size: 12px; }
.drs-gift-redeem { margin: 6px 0; }
.drs-ar-line { margin: 6px 0; }
.drs-gift-check input[name=gift] { width: 14em; }

/* 1.10 */
.drs-urgency-portal { display: grid; gap: 8px; margin: 6px 0 14px; }
.drs-urgency-portal .drs-urgency-opt { display: block; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 14px; cursor: pointer; background: #fff; }
.drs-urgency-portal .drs-urgency-opt.is-selected { border-color: var(--drs-accent, #2563eb); box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); }
.drs-urgency-rate { font-weight: 600; margin-left: 6px; }
.drs-sig { margin: 6px 0 12px; }
.drs-sig-tools { margin: 6px 0 0; }
.drs-queue { background: #eff6ff; border-radius: 8px; padding: 8px 12px; margin: 6px 0 10px; font-weight: 500; }
.drs-sig-view img { display: block; margin-top: 4px; }
