:root {
  --ink: #111111;
  --muted: #626a69;
  --cream: #f4f6f5;
  --paper: #ffffff;
  --line: #dce4e2;
  --lime: #00c7b7;
  --lime-dark: #00a88f;
  --forest: #063c37;
  --orange: #00c7b7;
  --shadow: 0 24px 70px rgba(0, 40, 36, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #008577; outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { height: 94px; max-width: 1280px; margin: auto; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; background: #fff; }
.site-header::after { content: ""; position: absolute; left: 42px; right: 42px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--lime-dark), var(--lime), transparent 75%); }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 220px; height: 72px; object-fit: contain; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
.desktop-nav a { transition: color .2s; }
.desktop-nav a:hover { color: #007c70; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.login-button { border: 1px solid var(--lime-dark); background: transparent; border-radius: 5px; padding: 11px 17px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 700; }
.login-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-button { display: none; border: 0; background: var(--ink); border-radius: 50%; width: 42px; height: 42px; padding: 0; cursor: pointer; }
.menu-button span { display: block; width: 17px; height: 1.5px; background: white; margin: 5px auto; }
.mobile-menu { position: absolute; right: 22px; top: 72px; width: min(300px, calc(100vw - 44px)); padding: 12px; background: var(--paper); box-shadow: var(--shadow); border-radius: 18px; }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: 14px; border: 0; border-radius: 10px; background: transparent; text-align: left; font-weight: 600; }

.hero { min-height: 650px; padding: 82px 24px 45px; position: relative; overflow: hidden; background-color: #111; background-image: linear-gradient(rgba(0,199,183,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,199,183,.07) 1px, transparent 1px), radial-gradient(circle at 15% 20%, rgba(0,168,143,.24), transparent 28%), radial-gradient(circle at 85% 90%, rgba(0,199,183,.12), transparent 24%); background-size: 42px 42px, 42px 42px, auto, auto; }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(24,36,33,.08); border-radius: 50%; }
.hero::before { width: 520px; height: 520px; left: -300px; top: 120px; border-color: rgba(0,199,183,.18); }
.hero::after { width: 360px; height: 360px; right: -180px; top: -90px; border-color: rgba(0,199,183,.18); }
.hero-copy { text-align: center; max-width: 700px; margin: 0 auto 42px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: #b7ccca; }
.eyebrow i { width: 7px; height: 7px; border-radius: 1px; background: var(--lime); box-shadow: 0 0 0 4px rgba(0,199,183,.14); transform: rotate(45deg); }
h1, h2, h3 { font-family: "Inter", system-ui, "Segoe UI", sans-serif; }
.hero h1 { font-family: "Orbitron", "Inter", system-ui, sans-serif; margin: 19px 0 18px; font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; color: white; text-transform: uppercase; }
h1 em { color: var(--lime); font-style: normal; position: relative; }
h1 em::after { content: ""; position: absolute; height: 4px; background: var(--lime); bottom: -7px; left: 3px; right: 0; z-index: -1; }
.hero-copy > p { max-width: 520px; margin: auto; color: #aab8b6; font-size: 17px; line-height: 1.65; }
.tracker-card { position: relative; z-index: 1; max-width: 790px; margin: auto; background: rgba(255,255,255,.98); border: 1px solid rgba(0,199,183,.35); padding: 28px; border-radius: 10px; box-shadow: 0 28px 75px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.card-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 23px; }
.search-icon { width: 48px; height: 48px; flex: 0 0 auto; background: #111; color: var(--lime); border-radius: 5px; display: grid; place-items: center; }
.search-icon svg, .search-field svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.card-heading h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.03em; }
.card-heading p { margin: 0; color: var(--muted); font-size: 14px; }
#tracking-form > label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 8px 4px; }
.search-field { padding: 7px 7px 7px 17px; border: 1px solid #ced4cd; border-radius: 6px; display: flex; align-items: center; gap: 11px; background: white; transition: box-shadow .2s, border .2s; }
.search-field:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(23,59,50,.08); }
.search-field > svg { color: #87918d; flex: 0 0 auto; }
.search-field input { min-width: 0; width: 100%; padding: 10px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field button, .modal-submit { border: 0; border-radius: 4px; padding: 13px 20px; background: var(--lime); color: #063c37; font-weight: 800; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s; }
.search-field button:hover, .modal-submit:hover { background: var(--lime); color: #111; transform: translateY(-1px); }
.search-field button span { margin-left: 8px; }
.form-hint, .form-error { margin: 10px 4px 0; font-size: 12px; color: var(--muted); }
.demo-code { border: 0; background: none; padding: 0; color: #007c70; font-weight: 700; text-decoration: underline; cursor: pointer; }
.form-error { color: #ae3f25; }
.trust-row { max-width: 680px; margin: 30px auto 0; display: flex; justify-content: space-between; position: relative; z-index: 1; color: #aab8b6; font-size: 12px; font-weight: 600; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row svg { width: 17px; fill: none; stroke: var(--lime); stroke-width: 1.6; }

.result-section { max-width: 1100px; margin: 0 auto; padding: 100px 28px; }
.result-section .eyebrow { color: var(--muted); }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.result-head h2, .steps h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; }
.order-number { background: var(--lime); padding: 10px 14px; border-radius: 3px; font-weight: 800; font-size: 13px; }
.result-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.device-card, .timeline { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.device-label { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 700; }
.device-card h3 { font-size: 26px; margin: 8px 0 25px; }
.device-card dl { margin: 0; }
.device-card dl div { padding: 13px 0; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); font-size: 13px; }
.device-card dt { color: var(--muted); }.device-card dd { margin: 0; text-align: right; font-weight: 700; }
.privacy-note { background: #e8f5f2; color: #365d56; padding: 12px; border-radius: 10px; margin: 18px 0 0; font-size: 11px; line-height: 1.5; }
.status-item { position: relative; padding: 0 0 27px 42px; }
.status-item:last-child { padding-bottom: 0; }
.status-item::before { content: ""; position: absolute; left: 14px; top: 19px; bottom: -4px; width: 1px; background: var(--line); }
.status-item:last-child::before { display: none; }
.status-dot { position: absolute; left: 2px; top: 0; width: 25px; height: 25px; border: 2px solid #b9c0ba; background: var(--paper); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.status-item.done .status-dot { background: var(--forest); border-color: var(--forest); color: white; }
.status-item.current .status-dot { background: var(--lime); border-color: var(--lime-dark); box-shadow: 0 0 0 6px rgba(0,199,183,.2); }
.status-item h4 { margin: 0 0 4px; font: 700 14px "Inter", system-ui, sans-serif; }
.status-item p { margin: 0; color: var(--muted); font-size: 12px; }
.status-item.current h4 { color: #007c70; }

.steps { padding: 110px 28px; text-align: center; color: white; background-color: #111; background-image: linear-gradient(90deg, transparent 49.8%, rgba(0,199,183,.08) 50%, transparent 50.2%); }
.section-kicker { color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.step-grid { max-width: 1000px; margin: 55px auto 0; display: grid; grid-template-columns: repeat(3,1fr); text-align: left; }
.step-grid article { padding: 10px 35px; border-right: 1px solid rgba(255,255,255,.15); }
.step-grid article:last-child { border: 0; }
.step-grid span { color: var(--lime); font: 700 12px "Orbitron", sans-serif; }
.step-grid h3 { margin: 18px 0 8px; font-size: 21px; }
.step-grid p { color: #b9c8c2; font-size: 14px; line-height: 1.6; }
.services { max-width: 1100px; margin: auto; padding: 105px 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.services .section-kicker { color: #007c70; }
.services h2 { margin: 14px 0 0; font-size: clamp(34px, 4.5vw, 54px); letter-spacing: -.055em; line-height: 1.1; }
.services > p { color: var(--muted); font-size: 16px; line-height: 1.7; }
footer { padding: 28px 42px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
footer p a { color: var(--ink); font-weight: 700; }
.brand-footer img { width: 185px; height: 74px; }

.login-modal { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 24px; padding: 38px; color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.25); }
.login-modal::backdrop { background: rgba(10,24,20,.62); backdrop-filter: blur(4px); }
.close-modal { position: absolute; right: 17px; top: 13px; border: 0; background: transparent; font-size: 28px; color: var(--muted); cursor: pointer; }
.modal-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--lime); border-radius: 14px; font-weight: 800; }
.login-modal h2 { margin: 21px 0 7px; font-size: 28px; letter-spacing: -.04em; }
.login-modal > p { color: var(--muted); margin: 0 0 25px; }
.login-modal label { display: block; margin: 14px 0 7px; font-size: 12px; font-weight: 700; }
.login-modal input { width: 100%; border: 1px solid #cfd5ce; border-radius: 11px; padding: 13px; outline: 0; }
.login-modal input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,59,50,.08); }
.password-wrap { position: relative; }.password-wrap input { padding-right: 54px; }.password-wrap button { position: absolute; right: 8px; top: 8px; bottom: 8px; border: 0; background: #eef0eb; border-radius: 7px; font-size: 11px; cursor: pointer; }
.modal-submit { width: 100%; margin-top: 22px; padding: 14px; }
.login-modal small { display: block; margin-top: 17px; text-align: center; color: var(--muted); }
.login-message { min-height: 18px; margin: 10px 0 0!important; color: #ae3f25!important; font-size: 12px; text-align: center; }

@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 20px; }
  .site-header::after { left: 20px; right: 20px; }
  .brand img { width: 154px; height: 61px; }
  .desktop-nav, .header-actions .login-button { display: none; }
  .menu-button { display: block; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(30px, 8vw, 49px); }
  .tracker-card { padding: 20px; }
  .search-field { align-items: stretch; flex-wrap: wrap; padding: 12px; }
  .search-field > svg { margin-left: 3px; }
  .search-field input { width: calc(100% - 38px); }
  .search-field button { width: 100%; }
  .trust-row { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .result-head { align-items: flex-start; gap: 20px; flex-direction: column; }
  .result-grid, .services { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 28px 0; }
  .services { gap: 20px; }
  footer { padding: 30px 22px; flex-direction: column; gap: 20px; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .tracker-card { animation: rise .7s ease-out both; }
  .hero-copy { animation: rise .6s .1s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
:root { scroll-behavior: smooth; }
.workspace { max-width: 1180px; margin: 40px auto; padding: 32px 24px; }
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.workspace-heading h1 { color: var(--ink); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; font-size: clamp(28px, 4vw, 44px); margin: 12px 0; }
.workspace-heading p { color: var(--muted); line-height: 1.6; }
.workspace-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.workspace-option { color: #edf6f4; min-width: 0; border: 1px solid #244047; border-radius: 18px; padding: 24px; background: #101c21; }
.workspace-option h2 { color: #edf6f4; overflow-wrap: anywhere; line-height: 1.35; font-size: 21px; margin: 18px 0; }
.workspace-option a { display: block; color: #55e5d0; padding: 8px 0; }
.workspace-option .create-link { color: #b9cdd0; font-size: 14px; }
.access-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.access-card { color: #edf6f4; width: 100%; max-width: 490px; border: 1px solid #244047; background: #101c21; border-radius: 24px; padding: 36px; }
.access-card img { max-width: 100%; margin-bottom: 32px; }
.access-card h1 { color: #edf6f4; line-height: 1.2; letter-spacing: -.03em; font-size: clamp(28px, 5vw, 38px); margin: 16px 0; }
.access-card em { color: #55e5d0; font-style: normal; }
.access-form { display: grid; gap: 12px; margin-top: 24px; }
.access-form input { width: 100%; padding: 14px; border: 1px solid #35545c; border-radius: 8px; color: #fff; background: #0b1318; font: inherit; }
.access-form button { margin: 8px 0 16px; }
.back-link { color: #007c70; font-weight: 600; }
.access-card .back-link { color: #55e5d0; }
.access-card p { color: #b9cdd0; line-height: 1.6; }
.access-card .form-error, .workspace-option .form-error, .workspace-option .errorlist { color: #ffb4a8; }
.errorlist { padding-left: 20px; font-size: 13px; line-height: 1.6; }
.workspace > .workspace-heading .eyebrow { color: #007c70; }
@media (max-width: 600px) { .workspace-heading { align-items: flex-start; flex-direction: column; } .access-card { padding: 24px; } }

.users-layout { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.access-form select { width: 100%; padding: 14px; border: 1px solid #35545c; border-radius: 8px; color: white; background: #0b1318; font: inherit; }
.access-form label { display: block; margin-bottom: 8px; }
.field-help { color: #a8bec4; font-size: 13px; line-height: 1.6; margin: 8px 0; }
.field-help ul { padding-left: 20px; }
.users-table { overflow-x: auto; }
.users-table table { color: #edf6f4; width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.users-table th, .users-table td { padding: 14px 10px; border-bottom: 1px solid #244047; }
.user-success { padding: 16px; border: 1px solid #55e5d0; border-radius: 8px; margin-bottom: 20px; }
@media(max-width: 850px) { .users-layout { grid-template-columns: 1fr; } }

/* Shared interaction and responsive states. */
.login-button { color: #075b52; min-height: 44px; border-radius: 8px; }
.login-button:hover { background: #e3f4f0; }
.mobile-menu button { color: var(--ink); cursor: pointer; }
.access-form input, .access-form select { min-height: 46px; color-scheme: dark; }
.access-form input::placeholder { color: #a8bec4; opacity: 1; }
.access-form input:focus, .access-form select:focus { border-color: #55e5d0; outline: 2px solid #55e5d0; outline-offset: 2px; }
.access-form input[aria-invalid="true"] { border-color: #ffb4a8; }
.workspace-option a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.workspace-grid .workspace-option { box-shadow: 0 8px 24px rgba(6,60,55,.08); }
.workspace-grid .workspace-option:hover { border-color: #008577; }
.users-table th { color: #b9cdd0; font-size: 12px; letter-spacing: .03em; }
.users-table td { overflow-wrap: anywhere; min-width: 90px; }
.users-table tbody tr:hover { background: #16282d; }
.user-success { background: #e3f4f0; color: #075b52; }
.status-badge { display: inline-block; padding: 5px 9px; border-radius: 20px; background: #20483f; color: #adf3d9; font-size: 12px; font-weight: 600; }
.status-badge.inactive { background: #383f47; color: #d6dce4; }
button:disabled { opacity: .65; cursor: wait; transform: none; }
.device-card dd { overflow-wrap: anywhere; min-width: 0; }
.card-heading h2 { line-height: 1.3; }
@media(max-width: 400px) { .workspace { padding: 24px 16px; margin: 16px auto; } .workspace-option { padding: 20px; } .workspace-grid { grid-template-columns: minmax(0, 1fr); } .hero { padding-inline: 16px; } .card-heading h2 { font-size: 18px; } }
@media(prefers-reduced-motion: reduce) { html, :root { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.equipment-workspace { max-width: 960px; }
.equipment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.equipment-form .wide-field { grid-column: 1 / -1; }
.service-options, .maintenance-fields { min-width:0; margin:0; border:1px solid #35545c; border-radius:14px; padding:20px; }
.service-options legend, .maintenance-fields legend { padding:0 8px; color:#a8bec4; font-size:13px; font-weight:700; }
.service-switches { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:16px; margin-top:18px; }
.service-switches .intake-field { padding:16px; border-radius:10px; background:#0b1318; }
.client-fields { display:grid; gap:20px; }
.maintenance-fields .intake-field + .intake-field { margin-top:22px; }
.intake-field input[type="checkbox"]:not([role="switch"]), .intake-field input[type="radio"] { width:20px; height:20px; min-height:20px; padding:0; margin:0 8px 0 0; vertical-align:middle; accent-color:#00c7b7; }
.intake-field [id^="id_temperatura_ambiente"], .intake-field [id^="id_posicion_ps5"] { display:flex; flex-wrap:wrap; gap:10px 16px; }
.intake-field [id^="id_temperatura_ambiente"] label, .intake-field [id^="id_posicion_ps5"] label { display:flex; align-items:center; margin:0; padding:8px 0; }
.required-mark { color:#55e5d0; }
.access-form textarea { width: 100%; padding: 14px; border: 1px solid #35545c; border-radius: 8px; color: #edf6f4; background: #0b1318; font: inherit; resize: vertical; }
.access-form textarea:focus { outline: 2px solid #55e5d0; outline-offset: 2px; }
@media(max-width: 600px) { .equipment-form { grid-template-columns: 1fr; } }

.location-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:20px; margin-top:24px; }
.location-grid .modal-submit { white-space:normal; line-height:1.5; }
.location-grid .status-badge { line-height:1.6; }
.location-pagination { display:flex; justify-content:center; gap:24px; margin-top:32px; flex-wrap:wrap; }
.location-heading { align-items:flex-end; }
.location-new { flex-shrink:0; display:inline-block; padding:13px 18px; border-radius:10px; color:#fff; background:#087b65; font-size:12px; font-weight:700; }
.location-new:hover { background:#066650; }
.location-error { margin-bottom:24px; }.location-error p { margin:8px 0 0; line-height:1.7; }
.location-toolbar { padding:24px; background:#fff; border:1px solid #dbe7df; border-radius:17px; }
.location-toolbar label { display:block; font-size:12px; font-weight:700; color:#4f6d5a; margin-bottom:10px; }
.location-search { display:flex; align-items:center; gap:12px; border:1px solid #cdded3; border-radius:11px; padding:6px 6px 6px 14px; background:#f8fbf9; }
.location-search:focus-within { border-color:#168b73; box-shadow:0 0 0 3px #e9f7ef; }
.location-search svg { width:19px; flex-shrink:0; stroke:#7f9b89; fill:none; stroke-width:1.7; }
.location-search input { min-width:0; width:100%; padding:10px 0; border:0; outline:0; background:transparent; font-size:13px; color:#244c3a; }
.location-search input::placeholder { color:#91a498; }
.location-search button { flex-shrink:0; background:#087b65; color:#fff; border:0; border-radius:8px; padding:12px 20px; font-size:12px; font-weight:700; cursor:pointer; }
.location-toolbar-note { display:flex; align-items:flex-start; gap:9px; margin-top:17px; }
.location-live-dot { flex-shrink:0; width:6px; height:6px; border-radius:50%; background:#60ad8a; margin-top:6px; }
.location-toolbar-note p { margin:0; font-size:12px; line-height:1.7; color:#668270; }
.location-toolbar-note small { display:block; font-size:11px; color:#98a99d; margin-top:3px; }
.location-list-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:28px 0 16px; }
.location-list-heading > div { display:flex; align-items:center; gap:10px; }
.location-list-heading h2 { font-size:14px; color:#4e6d58; font-weight:650; margin:0; }
.location-count { display:grid; place-items:center; min-width:28px; height:27px; padding:0 8px; border-radius:8px; background:#dfeee5; color:#087b65; font-size:12px; font-weight:800; }
.location-list-heading > span, .location-list-heading > a { color:#869b8d; font-size:11px; }
.location-list-heading > a { color:#087b65; }
.location-board { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; align-items:stretch; }
.location-order { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:#fff; border:1px solid #dce7e0; border-radius:18px; box-shadow:0 5px 24px #214e3705; }
.location-order > header, .location-order > section, .location-order > footer, .location-order > .location-no-action { flex-shrink:0; }
.location-order-top { display:flex; align-items:center; flex-wrap:wrap; gap:9px; padding:16px 24px; background:#fbfdfb; border-bottom:1px solid #e9efea; }
.location-order-id { color:#567b63; background:#ecf5ef; border:1px solid #dcebe1; padding:5px 8px; border-radius:6px; font-size:10px; font-weight:750; white-space:nowrap; }
.location-invoice { color:#83978a; font-size:11px; overflow-wrap:anywhere; }
.location-stage { display:inline-flex; align-items:center; gap:7px; margin-left:auto; max-width:100%; color:#087b65; background:#edf8f1; padding:7px 10px; border-radius:8px; font-size:11px; font-weight:650; line-height:1.6; }
.location-stage i { width:5px; height:5px; flex-shrink:0; border-radius:50%; background:#2d9e78; }
.location-stage.delivered { color:#5f7385; background:#eef3f7; }.location-stage.delivered i { background:#8ca4b8; }
.location-order-body { padding:24px; flex:1; }
.location-device-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:23px; }
.location-device-heading > div { min-width:0; }
.location-device-heading > div:first-child { flex:0 1 32%; }
.location-work { flex:1; min-width:0; display:grid; gap:12px; }
.location-work:empty { display:none; }
.location-work h3 { color:#087b65; font-size:12px; line-height:1.6; margin:0 0 5px; }
.location-work p { color:#638079; font-size:12px; line-height:1.7; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:600px) { .location-device-heading { flex-wrap:wrap; } .location-device-heading > div:first-child { flex:1; } .location-work { order:3; flex-basis:100%; } }
.location-device-type { color:#97a89c; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:650; }
.location-device-heading h2 { font-size:23px; line-height:1.35; letter-spacing:-.035em; color:#204c35; margin:8px 0 0; overflow-wrap:anywhere; }
.location-edition { color:#759480; font-size:12px; line-height:1.7; margin:7px 0 0; overflow-wrap:anywhere; }
.location-turn { display:flex; flex-direction:column; align-items:center; gap:4px; flex-shrink:0; padding:12px 14px; border:1px solid #deebe2; border-radius:12px; background:#f5faf7; }
.location-turn > span { color:#93a99a; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.location-turn strong { color:#087b65; font-size:21px; letter-spacing:-.03em; }
.location-turn small { color:#9bad9f; font-size:9px; white-space:nowrap; }
.location-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 24px; padding:20px 0; margin:0; border-top:1px solid #eef2ee; }
.location-meta dt { font-size:10px; color:#98ab9d; margin-bottom:6px; }.location-meta dd { margin:0; color:#52745e; font-size:12px; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
.location-services { display:flex; gap:6px; flex-wrap:wrap; }.location-services:empty { display:none; }
.location-services span { font-size:10px; line-height:1.6; color:#6c8a76; border:1px solid #e4ece6; background:#f6f9f7; border-radius:6px; padding:5px 9px; }
.location-decision { padding:12px 14px; border-radius:9px; font-size:12px; line-height:1.6; margin:18px 0 0; }
.location-decision.approved { background:#edf8f0; color:#528167; }.location-decision.declined { background:#fff4ea; color:#a47b51; }
.location-joycons { display:flex; flex-wrap:wrap; gap:12px 22px; border:1px solid #e4eee7; background:#f9fcfa; border-radius:10px; padding:14px; margin-top:18px; }
.location-joycons strong { width:100%; color:#6e8c78; font-size:11px; }.location-joycons span { color:#93a99b; font-size:10px; line-height:1.7; }.location-joycons b { display:block; color:#587d64; font-size:12px; font-weight:600; }
.location-warranty { margin-top:18px; border:1px solid #e0ebe3; border-radius:10px; padding:14px; }
.location-warranty summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#63896e; font-size:11px; cursor:pointer; list-style:none; }
.location-warranty summary::-webkit-details-marker { display:none; }.location-warranty summary > span:last-child { color:#91a999; font-size:10px; }.location-warranty summary i { font-style:normal; margin-left:8px; }
.location-warranty dl { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:18px 0 0; padding-top:16px; border-top:1px solid #eaf0eb; }.location-warranty dt { color:#9aac9e; font-size:10px; }.location-warranty dd { color:#6c8975; font-size:12px; line-height:1.7; margin:7px 0 0; }
.location-next-step { border-top:1px solid #e3eee6; background:#f5faf6; padding:22px 24px; }
.location-action-heading { display:flex; align-items:center; gap:11px; }.location-action-heading > span { display:grid; place-items:center; width:30px; height:30px; flex-shrink:0; color:#6b9a7b; background:#e5f1e8; border-radius:9px; font-weight:700; }
.location-action-heading h3 { color:#507d5e; font-size:12px; margin:0 0 4px; }.location-action-heading p { color:#9bb0a0; font-size:10px; line-height:1.6; margin:0; }
.location-action-form { gap:15px; margin-top:18px; }
.location-form-field label { color:#64876e; font-size:12px; font-weight:650; margin-bottom:9px; }
.location-action-form input:not([type="hidden"]), .location-action-form textarea { color-scheme:light; background:#fff; color:#355a40; border:1px solid #d1e1d5; border-radius:10px; padding:13px; font-size:13px; }
.location-action-form input::placeholder, .location-action-form textarea::placeholder { color:#a3b5a8; font-size:12px; }.location-action-form input:focus, .location-action-form textarea:focus { border-color:#5da585; outline:2px solid #c7e7d6; outline-offset:2px; }
.location-form-field > p { color:#94aa9b; font-size:10px; line-height:1.7; margin:8px 0 0; }
.location-action-buttons { display:flex; gap:9px; flex-wrap:wrap; }
.location-action-form .location-action { display:flex; align-items:center; justify-content:space-between; gap:18px; flex:1 1 220px; margin:0; border:1px solid #087b65; border-radius:9px; padding:13px 16px; background:#087b65; color:#fff; font-size:12px; font-weight:650; text-align:left; cursor:pointer; line-height:1.6; }
.location-action:hover { background:#066750; }.location-action-form .location-action.secondary { background:#fff; color:#9a765c; border-color:#e4d6ca; }.location-action-form .location-action.secondary:hover { background:#fff7ef; }
.location-no-action { display:flex; align-items:center; gap:10px; padding:17px 24px; border-top:1px solid #edf1ed; background:#fbfcfb; color:#9bad9e; font-size:11px; line-height:1.7; }
.location-order-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:15px 24px; border-top:1px solid #e9f0ea; background:white; font-size:10px; color:#a1b1a5; }
.location-order-footer a { color:#5f8b70; font-weight:650; }.location-order-footer a:hover { text-decoration:underline; }.location-order-footer a span { margin-left:7px; }
.location-empty { padding:55px 24px; background:#fff; border:1px dashed #cddfd3; border-radius:18px; text-align:center; }
.location-empty > span { display:grid; place-items:center; width:52px; height:52px; margin:auto; background:#eef7f1; color:#69a383; border-radius:50%; font-size:22px; }.location-empty h2 { color:#597d63; font-size:20px; margin:22px 0 10px; }.location-empty p { color:#97a99b; font-size:13px; line-height:1.7; margin:0 0 20px; }
.location-pages { align-items:center; font-size:12px; color:#8c9f90; }.location-pages a { background:#fff; border:1px solid #dce8df; border-radius:8px; padding:10px 14px; color:#678d72; }
.history-filter > label, .history-filter-grid label { display:block; color:#577964; font-size:12px; font-weight:650; margin-bottom:9px; }
.history-search { display:flex; gap:10px; }
.history-filter input, .history-filter select { width:100%; min-width:0; min-height:44px; padding:11px 12px; border:1px solid #cddfd3; border-radius:9px; color:#355d42; background:#f9fcfa; font-size:12px; }
.history-filter input:focus, .history-filter select:focus { outline:2px solid #c9e7d6; outline-offset:2px; border-color:#5d9f7d; }
.history-filter button { background:#087b65; color:#fff; padding:12px 22px; font-size:12px; font-weight:700; border:0; border-radius:9px; cursor:pointer; }
.history-filter > details { margin-top:22px; border-top:1px solid #e4ece6; padding-top:20px; }
.history-filter summary { color:#4c765a; font-size:12px; font-weight:700; cursor:pointer; line-height:1.7; }.history-filter summary span { display:block; margin:5px 0 0 16px; font-size:11px; color:#83998a; font-weight:400; }
.history-filter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:22px; }
.history-filter-grid > div { min-width:0; }.history-filter .errorlist { color:#b44538; font-size:12px; }
.history-hint { color:#789481; font-size:12px; line-height:1.7; margin:16px 0; }
.history-filter-actions { display:flex; align-items:center; gap:18px; margin-top:20px; }.history-filter-actions a { color:#698d74; font-size:12px; }
.history-filter .intake-errors { margin-top:20px; }
.history-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:22px 0; }
.history-stats > div { min-width:0; border:1px solid #d9e7de; background:#fff; padding:20px 18px; border-radius:13px; }.history-stats strong { display:block; color:#227051; font-size:27px; letter-spacing:-.04em; margin-bottom:7px; }.history-stats span { color:#7c9886; font-size:11px; line-height:1.6; display:block; }
.history-results-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:20px; }.history-results-heading h2, .history-data > h2 { color:#386246; font-size:19px; letter-spacing:-.03em; margin:0; }.history-results-heading > span { color:#7c9785; font-size:11px; }
.history-table { border-collapse:collapse; width:100%; min-width:720px; text-align:left; font-size:12px; line-height:1.7; }.history-table th { color:#829c8b; font-size:10px; font-weight:650; white-space:nowrap; }.history-table td { color:#537b60; max-width:240px; vertical-align:top; overflow-wrap:anywhere; }.history-table th, .history-table td { border-bottom:1px solid #e7eee9; padding:15px 10px; }.history-table td > strong { display:block; color:#375f44; font-size:12px; }.history-table td > span:not(.history-state):not(.history-warranty) { display:block; }.history-table small { display:block; color:#8ca694; font-size:10px; margin-top:6px; }.history-table tr:hover td { background:#f8fcf9; }
.history-state, .history-warranty { display:inline-block; padding:6px 9px; font-size:10px; border-radius:7px; line-height:1.6; }.history-state { background:#eef5f1; color:#60836c; }.history-warranty { background:#f2f5f3; color:#82938a; }.history-warranty.vigente { background:#e9f8ef; color:#26825c; }.history-warranty.vencida { background:#fff1e9; color:#af7650; }.history-warranty.sin_garantia { background:#f3f0f6; color:#8d7898; }.history-warranty.pendiente { background:#eef2fa; color:#7d8ead; }
.history-no-results { padding:40px 15px !important; text-align:center; }
.history-detail-status { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:24px; }.history-detail-status > span:not([class]) { color:#6d8d78; font-size:12px; }.history-detail-status > a { margin-left:auto; color:#087b65; font-size:12px; font-weight:650; }
.history-sections { display:grid; gap:22px; }.history-data > h2 { margin-bottom:24px; }.history-data dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; margin:0; }.history-data dl > div { padding:15px 0; border-bottom:1px solid #edf2ee; min-width:0; }.history-data dt { color:#819b8a; font-size:11px; margin-bottom:8px; }.history-data dd { color:#466f53; font-size:13px; line-height:1.8; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.history-warranty-record { border:1px solid #dfece4; border-radius:12px; padding:20px; margin-top:18px; }.history-warranty-record h3 { color:#4a795b; font-size:15px; margin:0; }.history-warranty-record > p { color:#7f9d8a; font-size:12px; }.history-claim { border-top:1px solid #e3ede6; margin-top:18px; padding-top:18px; color:#6b8c77; font-size:12px; line-height:1.8; }.history-claim small { display:block; color:#8aa493; }.history-claim a { color:#087b65; }
.history-timeline { padding-left:17px; border-left:1px solid #d5e7dc; margin-left:5px; }.history-timeline > article { position:relative; padding:0 0 28px 10px; }.history-timeline > article::before { content:''; position:absolute; left:-22px; top:5px; height:7px; width:7px; border-radius:50%; background:#6ca88c; border:2px solid white; }.history-event-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:12px; color:#507f60; }.history-event-heading time { color:#8fa899; font-size:10px; }.history-timeline article > p { color:#688a73; font-size:12px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }.history-timeline summary { color:#729b80; font-size:11px; cursor:pointer; }.history-timeline details dl { margin-top:15px; border-top:1px solid #e2eee7; }
@media(max-width:1000px) { .history-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .history-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .history-filter-grid, .history-data dl { grid-template-columns:minmax(0,1fr); } .history-detail-status > a { width:100%; margin:5px 0 0; } .history-results { padding:20px 12px; } .history-search { flex-wrap:wrap; }.history-search button { width:100%; } }
.location-device-type, .location-meta dt, .location-toolbar-note small { color:#6c8172; }
.location-meta dd { color:#3d6249; }
.location-form-field > p, .location-action-heading p { color:#6d8976; font-size:11px; }
.location-order-footer, .location-list-heading > span { color:#758b7c; }
@media(min-width:1700px) { .location-board { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .location-order-top, .location-order-body, .location-next-step { padding:18px; } .location-stage { margin-left:0; } .location-meta { gap:18px 14px; } .location-search { flex-wrap:wrap; } .location-search input { width:calc(100% - 32px); flex:1; } .location-search button { width:100%; } .location-toolbar { padding:18px; } .location-turn { padding:10px; } .location-device-heading h2 { font-size:21px; } .location-order-footer { flex-direction:row; text-align:left; padding:14px 18px; } }

#device-diagnosis { white-space:pre-wrap; }
.warranty-summary { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.warranty-summary h3 { font-size:18px; margin:0 0 10px; }
.warranty-summary p { color:var(--muted); font-size:14px; }

.access-form input[role="switch"] { appearance:none; display:inline-block; width:52px; height:30px; min-height:30px; padding:3px; border-radius:20px; background:#53646b; cursor:pointer; vertical-align:middle; }
.access-form input[role="switch"]::before { content:""; display:block; width:22px; height:22px; border-radius:50%; background:#fff; transition:transform .15s; }
.access-form input[role="switch"]:checked { background:#007c70; border-color:#55e5d0; }
.access-form input[role="switch"]:checked::before { transform:translateX(22px); }
.switch-state::after { content:"OFF"; margin-left:12px; font-weight:700; font-size:13px; }
input[role="switch"]:checked + .switch-state::after { content:"ON"; color:#55e5d0; }

/* Reception questionnaire. */
.premium-intake { gap:22px; margin-top:0; }
.intake-heading h1 { letter-spacing:-.045em; }
.intake-section { min-width:0; padding:30px; background:#fff; color:#173a34; border:1px solid #dce6e2; border-radius:20px; box-shadow:0 8px 28px rgba(17,57,46,.035); }
.intake-section-heading { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.intake-section-heading > div { min-width:0; }
.intake-section-heading h2 { font-size:20px; line-height:1.35; letter-spacing:-.025em; margin:0 0 5px; color:#173a34; }
.intake-section-heading p { margin:0; font-size:13px; line-height:1.6; color:#647a73; }
.section-number, .service-symbol { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border-radius:13px; background:#e8f7f1; color:#087b65; font-size:14px; font-weight:800; }
.service-symbol { font-size:23px; }
.intake-store { margin-left:auto; max-width:30%; padding:8px 12px; border-radius:30px; background:#f2f6f4; color:#506b62; font-size:11px; overflow-wrap:anywhere; }
.intake-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.premium-intake .intake-field > label { color:#37584c; font-size:13px; font-weight:650; margin-bottom:9px; line-height:1.5; }
.premium-intake input:not([type="checkbox"]):not([type="radio"]), .premium-intake select, .premium-intake textarea { background:#f8faf9; color:#183c31; color-scheme:light; border:1px solid #ceddd6; border-radius:11px; padding:14px 15px; min-height:49px; transition:background .18s,border-color .18s,box-shadow .18s; }
.premium-intake input::placeholder, .premium-intake textarea::placeholder { color:#7c8f86; font-size:13px; }
.premium-intake input:focus, .premium-intake select:focus, .premium-intake textarea:focus { background:#fff; border-color:#168b73; outline:2px solid #b7e5d8; outline-offset:2px; box-shadow:0 0 0 4px #eaf6f1; }
.premium-intake .required-mark { color:#00816a; }
.premium-intake .field-help, .premium-intake .intake-note { color:#6b8076; font-size:12px; line-height:1.6; margin:0; }
.premium-intake #catalogo-ayuda { margin-top:-10px; }
.premium-intake .client-fields { gap:22px; padding-top:22px; margin-top:2px; border-top:1px solid #e6eeea; }
.equipment-identity { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,28%); gap:28px; align-items:stretch; }
.equipment-identity-fields { min-width:0; display:grid; gap:22px; }
.equipment-photo { display:flex; flex-direction:column; justify-content:center; align-items:center; margin:0; padding:20px; min-height:260px; min-width:0; background:radial-gradient(ellipse at center,#fff,#f2f7f4); border:1px solid #e0eae4; border-radius:16px; text-align:center; }
.equipment-photo img { display:block; width:100%; height:240px; object-fit:contain; }
.equipment-photo figcaption { color:#607d6d; font-size:12px; line-height:1.6; overflow-wrap:anywhere; margin-top:14px; }
.equipment-photo figcaption:empty { display:none; }
#equipment-photo-empty > span { display:block; font-size:42px; color:#b2cbbd; margin-bottom:16px; }
#equipment-photo-empty strong { color:#577965; font-size:13px; }
#equipment-photo-empty p { font-size:12px; line-height:1.7; color:#8a9e91; margin:8px 0 0; }
.joycon-fields { display:grid; gap:18px; padding:20px; border:1px solid #d2e7db; border-radius:14px; background:#f3faf5; }
.joycon-fields > p { margin:0; color:#688773; font-size:12px; line-height:1.6; }
.joycon-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; margin-top:18px; padding-top:18px; border-top:1px solid #dde9e1; }
.joycon-photos figure { margin:0; min-width:0; }
.joycon-photos figure > span { display:block; color:#688773; font-size:10px; font-weight:700; margin-bottom:12px; }
.joycon-photos img { width:100%; height:110px; object-fit:contain; }
.joycon-photos p { display:grid; place-items:center; min-height:110px; color:#91a798; font-size:11px; margin:0; line-height:1.6; }
.joycon-photos figcaption { font-size:11px; margin-top:8px; }
.joycon-photos:has(figure[hidden]) { grid-template-columns:minmax(0,1fr); }
.joycon-photos:has(figure[hidden]) img { height:160px; }
.catalog-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.catalog-tabs a { padding:11px 16px; border:1px solid #d3e1d8; border-radius:10px; color:#5d7a68; font-size:12px; background:#fff; }
.catalog-tabs a[aria-current] { color:#fff; background:#087b65; border-color:#087b65; }
@media(max-width:1100px) { .equipment-identity { grid-template-columns:minmax(0,1fr); } .equipment-photo { min-height:180px; } .equipment-photo img { height:190px; } }
.premium-intake .service-switches { margin:0; gap:12px; }
.premium-intake .service-choice { min-width:0; border:1px solid #dce8e1; background:#f8fbf9; border-radius:14px; padding:16px; transition:background .18s,border-color .18s; }
.premium-intake .service-choice:has(.service-selected) { border-color:#61bda2; background:#edfaf3; box-shadow:inset 0 0 0 1px #61bda233; }
.premium-intake .service-switches .intake-field { padding:0; border-radius:0; background:none; }
.premium-intake .service-choice > p { font-size:12px; line-height:1.6; color:#6b8076; margin:12px 0 0; }
.premium-intake input[role="switch"] { border:1px solid #adbbb4; background:#bac8c0; }
.premium-intake input[role="switch"]:checked { background:#087b65; border-color:#087b65; }
.premium-intake .switch-state::after { content:"Inactivo"; color:#70877c; font-size:11px; margin-left:8px; }
.premium-intake input[role="switch"]:checked + .switch-state::after { content:"Activo"; color:#087b65; }
.premium-intake .service-empty { margin:22px 0 0; border-top:1px dashed #cfdfd6; padding-top:20px; color:#7a8c81; font-size:13px; line-height:1.6; }
.intake-kicker { display:block; text-transform:uppercase; font-size:10px; letter-spacing:.12em; color:#087b65; font-weight:800; margin-bottom:6px; }
.premium-intake .maintenance-fields .intake-field + .intake-field { margin-top:0; }
.premium-intake [id="id_temperatura_ambiente"], .premium-intake [id="id_posicion_ps5"] { gap:8px; }
.premium-intake [id="id_temperatura_ambiente"] label, .premium-intake [id="id_posicion_ps5"] label { padding:11px 13px; border:1px solid #d6e2db; background:#f8faf9; border-radius:10px; font-size:12px; cursor:pointer; }
.premium-intake [id="id_temperatura_ambiente"] label:has(:checked), .premium-intake [id="id_posicion_ps5"] label:has(:checked) { background:#eaf8f0; border-color:#72bda3; color:#07694f; }
.premium-intake input[type="checkbox"]:not([role="switch"]), .premium-intake input[type="radio"] { accent-color:#087b65; }
.premium-intake .intake-field:has(> input[type="checkbox"]:not([role="switch"])) { display:flex; flex-direction:row-reverse; justify-content:flex-end; align-items:center; gap:12px; padding:15px; border:1px solid #dce8e1; border-radius:12px; background:#f8fbf9; }
.premium-intake .intake-field:has(> input[type="checkbox"]:not([role="switch"])) > label { margin:0; cursor:pointer; }
.premium-intake .errorlist, .premium-intake .form-error { color:#b13929; font-size:12px; }
.intake-errors { border:1px solid #f2d1c7; border-radius:12px; background:#fff2ed; color:#a23724; padding:18px; font-size:13px; }
.intake-submit { padding:8px 2px 20px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.intake-submit strong { color:#264c3c; font-size:14px; }
.intake-submit p { color:#72877b; font-size:12px; line-height:1.6; margin:5px 0 0; }
.premium-intake .intake-submit .modal-submit { width:auto; margin:0; min-width:190px; border-radius:12px; background:#087b65; color:white; padding:17px 24px; box-shadow:0 6px 16px #087b651a; }
.premium-intake .intake-submit .modal-submit:hover { background:#065f4e; color:#fff; }
.intake-submit .modal-submit span { margin-left:14px; }
.create-account { margin-bottom:26px; }
.create-account summary { cursor:pointer; color:#087b65; font-size:16px; font-weight:750; line-height:1.5; }
.create-account summary span { display:block; margin-top:4px; font-size:12px; font-weight:400; color:#75877e; }
.create-account[open] summary { padding-bottom:24px; border-bottom:1px solid #e0e9e4; margin-bottom:24px; }
.account-form { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.account-form .account-field { min-width:0; }
.account-form label { color:#37584c; font-weight:650; font-size:13px; }
.account-form > .modal-submit, .account-form > .errorlist, .account-form > .field-help { grid-column:1 / -1; }
.account-form > .modal-submit { width:auto; justify-self:start; margin:0; padding:14px 22px; background:#087b65; color:#fff; border-radius:10px; }
.account-form .account-checkbox { grid-column:1 / -1; display:grid; grid-template-columns:24px 1fr; gap:8px 10px; padding:16px; border:1px solid #d4e5dc; border-radius:12px; background:#f2f8f4; }
.account-form .account-checkbox label { grid-column:2; grid-row:1; margin:0; align-self:center; }
.account-form .account-checkbox input { grid-column:1; grid-row:1; width:20px; height:20px; min-height:20px; padding:0; accent-color:#087b65; }
.account-form .account-checkbox .field-help { grid-column:2; }
.account-type-permissions { grid-column:1 / -1; padding:20px; border:1px solid #d0e4d7; border-radius:13px; background:#f4faf6; }
.account-type-permissions > div[id] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; margin:16px 0; }
.account-type-permissions > div[id] label { display:flex; align-items:center; gap:10px; font-size:13px; margin:0; cursor:pointer; }
.account-type-permissions input[type="checkbox"] { width:18px; height:18px; min-height:18px; padding:0; margin:0; flex-shrink:0; accent-color:#087b65; }
.account-intake-types { color:#698371; font-size:12px; line-height:1.7; margin:0 0 16px; }
.account-form .field-help { margin-top:8px; }
.account-form ul { padding-left:18px; margin:8px 0; line-height:1.6; }
.account-search { border-color:#d4e2db; border-radius:12px; }
.directory-count { color:#72847a; font-size:12px; margin:18px 2px; }
.account-list { display:grid; gap:14px; }
.account-card { min-width:0; background:#fff; border:1px solid #dce6e1; border-radius:17px; padding:22px; box-shadow:0 4px 20px #173a3404; }
.account-card-heading { display:flex; align-items:center; gap:13px; }
.account-card-heading > div { min-width:0; }
.account-avatar { display:grid; place-items:center; flex-shrink:0; width:42px; height:42px; border-radius:13px; font-weight:800; color:#087b65; background:#eaf7f0; }
.account-card-heading h2 { color:#244c3a; margin:0; font-size:17px; letter-spacing:-.025em; overflow-wrap:anywhere; }
.account-card-heading h2 small { color:#73887b; font-size:10px; margin-left:10px; }
.account-card-heading p { color:#7b8d82; font-size:12px; margin:6px 0 0; overflow-wrap:anywhere; line-height:1.6; }
.account-status { margin-left:auto; flex-shrink:0; font-size:11px; font-weight:700; padding:7px 11px; border-radius:30px; }
.account-status.active { color:#087b65; background:#e9f8ef; }
.account-status.paused { color:#8a6315; background:#fff4d7; }
.account-status.inactive { color:#86615e; background:#f7eeec; }
.account-roles { display:flex; flex-wrap:wrap; gap:6px; margin:18px 0; }
.account-roles span { color:#6b8074; background:#f3f6f4; border:1px solid #e7ede9; border-radius:6px; padding:5px 8px; font-size:10px; font-weight:650; }
.account-roles .full-admin { color:#087b65; border-color:#c5e3d4; background:#eef8f2; }
.account-actions { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:15px; border-top:1px solid #edf1ee; }
.account-actions form { display:flex; gap:8px; flex-wrap:wrap; }
.account-edit { color:#087b65; font-size:12px; font-weight:700; line-height:1.6; }
.account-edit span { margin-left:6px; }
.account-edit:hover { text-decoration:underline; }
.account-action { border:1px solid #dce6df; background:#fff; border-radius:8px; min-height:38px; padding:8px 12px; font-size:12px; font-weight:650; cursor:pointer; }
.account-action.pause { color:#8a6315; }
.account-action.deactivate { color:#a2493c; }
.account-action.activate { color:#087b65; background:#edf8f1; border-color:#b6dfc9; }
.account-action:hover { background:#f1f6f3; }
.account-edit-heading { margin-top:28px; }
.account-password { margin-top:24px; }
.account-empty { padding:30px; background:white; border-radius:14px; color:#6a8073; }
.catalog-heading { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:28px; }
.catalog-heading h2 { color:#244c3a; font-size:23px; letter-spacing:-.03em; margin:8px 0; }
.catalog-heading p { max-width:500px; color:#75877e; font-size:13px; line-height:1.7; margin:0; }
.catalog-add { display:inline-block; flex-shrink:0; border-radius:10px; background:#087b65; color:white; padding:13px 17px; font-weight:700; font-size:12px; }
.catalog-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.catalog-filters > div:first-child { flex:2 1 200px; }
.catalog-filters > div { flex:1 1 150px; }
.catalog-filters label { display:block; margin-bottom:8px; font-size:12px; font-weight:650; color:#587363; }
.catalog-filters input, .catalog-filters select { width:100%; min-height:45px; padding:11px; border:1px solid #ceddd6; border-radius:9px; background:#f8faf9; color:#244c3a; font-size:12px; }
.catalog-filters button { min-height:45px; padding:11px 18px; border:0; border-radius:9px; background:#e8f5ed; color:#087b65; font-size:12px; font-weight:700; cursor:pointer; }
.catalog-filters > a { padding:14px 0; font-size:12px; color:#607e6e; }
.catalog-table-wrap { overflow-x:auto; }
.catalog-table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; line-height:1.6; }
.catalog-table th, .catalog-table td { padding:14px 10px; border-bottom:1px solid #e6ede8; vertical-align:middle; }
.catalog-table thead th { font-weight:650; color:#7d9085; white-space:nowrap; font-size:11px; }
.catalog-table tbody th { color:#244c3a; min-width:150px; max-width:250px; overflow-wrap:anywhere; }
.catalog-table td { color:#637c6c; max-width:180px; overflow-wrap:anywhere; }
.catalog-table tr:hover { background:#f8fbf9; }
.catalog-id { font-variant-numeric:tabular-nums; }
.catalog-thumb, .catalog-no-image { display:block; width:48px; height:48px; border:1px solid #e3ece6; border-radius:10px; background:#f5f8f6; object-fit:contain; }
.catalog-no-image { display:grid; place-items:center; font-size:20px; color:#b6c8bc; }
.catalog-edit { color:#087b65; white-space:nowrap; font-weight:700; }
.catalog-row-actions { display:flex; align-items:center; gap:16px; }
.catalog-delete { display:inline-flex; color:#b44538; white-space:nowrap; border:1px solid #efd9d3; border-radius:7px; padding:6px 10px; font-size:11px; font-weight:650; }
.catalog-delete:hover { background:#fff0ec; }
.catalog-delete-confirm h2 { color:#355a45; margin:16px 0; }
.catalog-delete-confirm p, .catalog-delete-confirm li { color:#6d8074; font-size:14px; line-height:1.8; }
.catalog-delete-id { color:#85978a; font-size:12px; }
.catalog-delete-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:28px; }
.catalog-delete-button { background:#b44538; color:white; border:0; border-radius:8px; padding:14px 20px; font-weight:700; cursor:pointer; }
.catalog-delete-button:hover { background:#953a2f; }
.catalog-joycon-summary { display:block; color:#799483; font-size:10px; margin-top:5px; line-height:1.6; }
.inline-joycon-editor { grid-column:1 / -1; border:1px solid #cee5d8; border-radius:14px; background:#f4faf6; padding:22px; }
.inline-joycon-sides { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:22px 0; }
.inline-joycon-sides article { min-width:0; padding:18px; border:1px solid #dce8e0; border-radius:12px; background:white; }
.inline-joycon-sides h2 { color:#426950; font-size:16px; margin:0 0 20px; }
.inline-joycon-details { display:grid; gap:18px; margin-top:22px; }
.inline-joycon-details input[type="file"] { max-width:100%; width:100%; font-size:11px; }
@media(max-width:1000px) { .inline-joycon-sides { grid-template-columns:minmax(0,1fr); } }
.catalog-preview { display:flex; align-items:center; gap:22px; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid #e1eae4; }
.catalog-preview img { width:120px; height:120px; object-fit:contain; background:#f7faf8; border:1px solid #dde8e0; border-radius:15px; }
.catalog-preview strong { color:#244c3a; font-size:14px; }
.catalog-preview p { max-width:320px; font-size:12px; color:#71877a; line-height:1.7; }
.catalog-form .account-field:has(input[type="file"]) { grid-column:1 / -1; }
.catalog-form input[type="file"] { width:100%; max-width:100%; font-size:12px; }
.catalog-form input[type="file"]::file-selector-button { background:#e4f2e9; border:0; color:#087b65; border-radius:6px; padding:8px 10px; margin-right:10px; cursor:pointer; font-weight:650; }
@media(max-width:600px) { .catalog-heading { align-items:flex-start; flex-direction:column; } .catalog-preview { align-items:flex-start; flex-direction:column; } }
@media(max-width:1000px) { .account-form { grid-template-columns:minmax(0,1fr); } }
@media(max-width:500px) { .account-card { padding:18px; } .account-card-heading { flex-wrap:wrap; } .account-status { margin-left:0; } .account-actions { align-items:flex-start; flex-direction:column; } }
@media(max-width:1000px) { .intake-section { padding:22px; } .intake-store { display:none; } }
@media(max-width:600px) { .intake-fields { grid-template-columns:minmax(0,1fr); } .intake-section { padding:20px; border-radius:16px; } .intake-submit { flex-direction:column; align-items:stretch; } .premium-intake .intake-submit .modal-submit { width:100%; } }

/* Staff workspace: one menu and a persistent, independently scrolling tracker. */
.panel-page { background:#edf2f1; }
.panel-header { min-height:88px; padding:8px 32px; background:white; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:20px; }
.panel-header .brand img { width:190px; height:65px; }
.panel-account { display:flex; align-items:center; gap:24px; font-size:14px; font-weight:700; }
.panel-account small { display:block; font-size:12px; font-weight:400; color:var(--muted); margin-top:5px; }
.panel-layout { max-width:1800px; margin:auto; padding:28px 32px; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:28px; align-items:start; }
.panel-main { min-width:0; }
.panel-nav { display:flex; flex-wrap:wrap; gap:6px; padding:7px; border:1px solid var(--line); border-radius:14px; background:white; }
.panel-nav a { padding:12px 16px; border-radius:9px; font-size:13px; font-weight:700; color:#4f6460; }
.panel-nav a:hover { background:#eaf7f4; color:#075b52; }
.panel-nav a[aria-current] { background:#063c37; color:white; }
.panel-content { padding:32px 0; }
.panel-content .workspace-heading { margin-bottom:28px; }
.panel-content .workspace-heading .eyebrow { color:#007c70; }
.panel-content .workspace-heading h1 { font-size:clamp(28px,3vw,40px); }
.panel-content .users-layout { grid-template-columns:minmax(0,1fr); }
.panel-intro { padding:40px; border-radius:22px; color:#eefaf7; background:radial-gradient(ellipse at top right,#12645a,transparent 65%),#102b28; }
.panel-intro h2 { font-size:clamp(28px,3.5vw,48px); line-height:1.15; letter-spacing:-.04em; margin:24px 0 16px; }
.panel-intro > p { max-width:540px; color:#b9d3cc; line-height:1.7; }
.panel-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; border-top:1px solid #38615a; margin-top:40px; padding-top:24px; }
.panel-guide span { color:#b9d3cc; font-size:13px; line-height:1.6; }
.panel-guide strong { display:block; color:#fff; font-size:17px; margin:10px 0 6px; }
.public-home-link { display:inline-block; color:#52716a; font-size:13px; padding-bottom:24px; }
.quick-tracker { position:sticky; top:20px; max-height:calc(100dvh - 40px); overflow-y:auto; overscroll-behavior:contain; background:white; border:1px solid #cfded9; border-radius:18px; padding:24px; box-shadow:0 12px 36px #063c3709; scrollbar-width:thin; }
.quick-tracker-heading .eyebrow { color:#007c70; font-size:10px; }
.quick-tracker-heading h2 { font-size:21px; letter-spacing:-.03em; margin:12px 0 8px; }
.quick-tracker-heading p { color:var(--muted); font-size:13px; line-height:1.6; margin-bottom:24px; }
.quick-tracker .search-field { flex-wrap:wrap; padding:8px; }
.quick-tracker .search-field svg { display:none; }
.quick-tracker .search-field input { width:100%; padding:10px 6px; }
.quick-tracker .search-field button { width:100%; }
.quick-tracker .result-section { padding:24px 0 0; margin-top:24px; border-top:1px solid var(--line); }
.quick-tracker .result-head { display:block; margin-bottom:20px; }
.quick-tracker .result-head h2 { font-size:21px; margin:10px 0 18px; }
.quick-tracker .result-head .eyebrow { font-size:9px; }
.quick-tracker .order-number { display:inline-block; max-width:100%; overflow-wrap:anywhere; }
.quick-tracker .result-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
.quick-tracker .device-card, .quick-tracker .timeline { padding:0; border:0; border-radius:0; }
.quick-tracker .device-card h3 { font-size:20px; }
.quick-tracker .device-card dl div { flex-direction:column; gap:6px; }
.quick-tracker .device-card dd { text-align:left; }
.quick-tracker .timeline { border-top:1px solid var(--line); padding-top:24px; }
.panel-content .location-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
@media(min-width:1450px) { .panel-content .users-layout { grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr); } }
@media(max-width:1000px) {
  .panel-layout { grid-template-columns:minmax(0,1fr) 300px; padding:20px; gap:20px; }
  .panel-nav a { padding:10px; }
  .quick-tracker { padding:18px; }
  .panel-guide { grid-template-columns:1fr; gap:18px; }
  .panel-guide strong { display:inline; margin:0 10px; }
}
@media(max-width:760px) {
  .panel-header { padding:10px 16px; flex-wrap:wrap; }
  .panel-account { width:100%; justify-content:space-between; gap:12px; }
  .panel-layout { display:flex; flex-direction:column; padding:16px; }
  .panel-main, .quick-tracker { width:100%; }
  .quick-tracker { position:static; max-height:none; }
  .panel-intro { padding:24px; }
  .panel-content { padding:24px 0; }
}

/* Configuraciones e intervenciones administrativas del historial */
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.settings-grid > .settings-card { display:flex; flex-direction:column; min-width:0; }
.settings-grid > .settings-card > .access-form { display:flex; flex-direction:column; flex:1; gap:12px; }
.settings-grid .settings-actions { margin-top:auto; padding-top:24px; }
.settings-grid .settings-actions button { min-height:48px; min-width:180px; }
.settings-card { background:#fff; color:#173e3b; border:1px solid #dbe7e4; border-radius:22px; padding:30px; box-shadow:0 12px 36px #173e3b06; }
.settings-card h2 { margin:16px 0 8px; font-size:22px; letter-spacing:-.4px; }
.settings-card > p { color:#638079; line-height:1.65; margin-bottom:24px; }
.settings-icon { display:inline-flex; justify-content:center; align-items:center; width:42px; height:42px; border-radius:14px; background:#e7f6f0; color:#087b68; font-size:13px; font-weight:800; }
.settings-card .access-form { width:100%; max-width:none; padding:0; margin:0; background:none; box-shadow:none; border:0; }
.settings-card label, .history-edit-field label { display:block; color:#365b51; font-size:13px; font-weight:700; margin-bottom:9px; }
.settings-card input:not([type="checkbox"]), .settings-card select, .settings-card textarea { box-sizing:border-box; width:100%; color:#173e3b; background:#f7faf8; border:1px solid #cddfd6; border-radius:12px; padding:13px 15px; min-height:48px; font:inherit; }
.settings-card input:focus-visible, .settings-card select:focus-visible, .settings-card textarea:focus-visible { outline:3px solid #b9e7da; outline-offset:2px; }
.settings-note { margin:22px 0; background:#f3f9f6; border:1px solid #dfebe4; border-radius:14px; padding:18px; font-size:13px; line-height:1.7; color:#57756a; }
.settings-note strong { color:#275847; }
.settings-note p { margin:8px 0 0; }
.settings-card label.settings-switch { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; border:1px solid #cde4da; border-radius:15px; background:#f7fbf9; cursor:pointer; margin-top:22px; }
.settings-switch strong { display:block; font-size:15px; }
.settings-switch small { display:block; font-weight:400; color:#638079; margin-top:7px; }
.settings-card .settings-switch input[role="switch"] { flex:none; margin:0; width:52px; min-height:30px; border:0; }
.settings-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:24px; }
.settings-card button, .history-action-button { display:inline-block; border:0; background:#087b68; color:#fff; padding:14px 20px; border-radius:11px; font-size:14px; font-weight:700; cursor:pointer; text-decoration:none; }
.settings-actions a:not(.history-action-button):not(.location-new) { color:#087b68; font-size:14px; }
.history-toolbar { margin:0 0 24px; }
.history-row-actions { display:flex; gap:14px; margin-top:13px; font-size:12px; }
.history-row-actions .history-delete-link { color:#a33a37; }
.settings-card .history-danger, .history-danger { color:#fff; background:#a83d3a; }
.settings-delete-summary { display:grid; grid-template-columns:100px 1fr; gap:12px; margin:22px 0; }
.settings-delete-summary dd { margin:0; overflow-wrap:anywhere; }
.settings-delete-summary dt { color:#638079; }
.settings-delete-note { background:#fff5f2; color:#894d42; border:1px solid #f2d9d0; border-radius:14px; padding:16px 20px; font-size:14px; line-height:1.7; margin-bottom:24px; }
.history-edit-field small { color:#638079; display:block; margin-top:8px; font-size:12px; }
.history-edit-wide { grid-column:1 / -1; }
.history-edit-field input[type="checkbox"] { width:22px; height:22px; accent-color:#087b68; }
.settings-card .errorlist { color:#a33a37; font-size:13px; }
@media(max-width:1000px) { .settings-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .settings-card { padding:22px 18px; } .settings-switch small { line-height:1.5; } }

/* Trabajos y precios de recepción */
.pricing-job { border:1px solid #dce7e0; border-radius:15px; padding:20px; margin-bottom:15px; background:#fbfdfb; }
.pricing-job.selected { border-color:#86bca7; background:#f4faf6; }
.pricing-job-heading { display:flex!important; align-items:center; flex-wrap:wrap; gap:12px; margin:0!important; cursor:pointer; }
.premium-intake .pricing-job input[type="checkbox"]:not([role="switch"]) { width:20px; height:20px; min-height:20px; flex:none; margin:0; accent-color:#087b65; color-scheme:light; }
.premium-intake .pricing-job input[role="switch"] { width:52px; height:30px; min-height:30px; flex:none; margin:0; }
.pricing-job-heading strong { color:#204c35; font-size:15px; }
.pricing-cost { margin-left:auto; color:#087b65; font-size:13px; }
.pricing-description { font-size:13px; color:#6e897b; white-space:pre-wrap; line-height:1.6; }
.pricing-options { display:grid; gap:10px; margin-top:20px; padding-top:16px; border-top:1px solid #dfebe3; }
.pricing-options > label { margin:0!important; color:#456c56; font-size:12px; }
.pricing-options .pricing-check { display:flex!important; align-items:center; gap:12px; padding:10px 0; cursor:pointer; }
.pricing-options small { display:block; font-size:12px; color:#6e897b; }
.pricing-options .pricing-origin { color:#087b65; font-weight:650; }
.pricing-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin-top:24px; }
.pricing-totals > div { padding:20px; background:#eef7f1; border-radius:13px; }
.pricing-totals span { display:block; color:#648370; font-size:11px; line-height:1.6; }
.pricing-totals strong { display:block; color:#087b65; font-size:22px; margin-top:8px; }
.pricing-order-line { font-size:12px; line-height:1.7; color:#52745e; }
#pricing-status { color:#6e897b; font-size:13px; line-height:1.7; margin-bottom:15px; }
.history-edit-field #id_modelos { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; max-height:340px; overflow:auto; padding:15px; border:1px solid #dce7e0; border-radius:12px; }
.history-edit-field #id_modelos label { display:flex; align-items:center; gap:10px; margin:0; }
@media(max-width:650px) { .pricing-totals { grid-template-columns:1fr; } .pricing-cost { margin-left:32px; } }
.history-edit-form input[role="switch"] { appearance:none; display:block; width:52px; height:30px; min-height:30px; padding:3px; border:0; border-radius:20px; background:#bac8c0; cursor:pointer; }
.history-edit-form input[role="switch"]::before { content:""; display:block; width:24px; height:24px; border-radius:50%; background:#fff; transition:transform .15s; }
.history-edit-form input[role="switch"]:checked { background:#087b65; }
.history-edit-form input[role="switch"]:checked::before { transform:translateX(22px); }
.settings-wide { grid-column:1 / -1; }
.receipt-terms-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.receipt-terms-grid textarea { min-height:430px; resize:vertical; line-height:1.7; font-size:13px; }
.receipt-preview iframe { display:block; width:100%; height:850px; border:1px solid #dce7e0; border-radius:12px; margin-top:20px; background:#f3f8f5; }
.receipt-preview .settings-actions { margin-top:0; }
@media(max-width:800px) { .receipt-terms-grid { grid-template-columns:1fr; } .receipt-preview iframe { height:620px; } }
.billing-state { display:inline-flex; padding:7px 11px; border-radius:8px; font-size:12px; font-weight:650; line-height:1.5; background:#eef3f2; color:#627b75; }
.billing-state.pagado, .billing-state.sin_cobro { background:#e7f6ef; color:#087b65; }
.billing-state.parcial { background:#fff3d9; color:#946719; }
.billing-state.pendiente { background:#fdf0e9; color:#a85e3b; }
.billing-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
.billing-stats strong { font-size:24px; overflow-wrap:anywhere; }
.billing-ledger { margin-top:24px; }
.billing-void { color:#a33a37; }
.billing-void-form { min-width:180px; }
.billing-void-form summary { color:#a33a37; font-size:12px; cursor:pointer; }
.billing-void-form form { display:grid; gap:10px; padding-top:15px; }
.billing-void-form label { color:#587569; font-size:12px; }
.billing-void-form textarea { width:100%; min-height:70px; color:#173e3b; background:#f8fbf9; border:1px solid #cddfd6; border-radius:9px; padding:10px; }
.billing-void-form button { background:#a83d3a; color:#fff; border:0; border-radius:9px; padding:10px 14px; cursor:pointer; }
@media(max-width:650px) { .billing-stats { grid-template-columns:1fr; } }
.billing-summary, .billing-orders { margin-top:24px; }
.settings-card button:disabled { opacity:.5; cursor:not-allowed; }
.pricing-mode-toggle { display:flex!important; align-items:center; gap:12px; margin:0 0 0 auto!important; flex-shrink:0; cursor:pointer; color:#365b51; font-size:12px; font-weight:650; }
.pricing-mode-toggle input[role="switch"] { margin:0; flex:none; width:52px; min-height:30px; }
.pricing-retail { display:grid; gap:10px; }
.pricing-retail > label { margin:0; color:#456c56; font-size:12px; }
.pricing-retail[hidden] { display:none; }
.pricing-totals.base-only { grid-template-columns:1fr; }
#pricing-section > .intake-section-heading { flex-wrap:wrap; }
@media(max-width:650px) { .pricing-mode-toggle { margin:4px 0 0!important; width:100%; justify-content:flex-end; } }
.defaults-table-wrap { max-height:560px; overflow:auto; margin-top:20px; border:1px solid #e0ebe5; border-radius:12px; }
.defaults-table-wrap thead th { position:sticky; top:0; background:#f4f9f6; z-index:1; }
.defaults-table-wrap table { min-width:650px; }
.defaults-table-wrap th[scope="row"] { width:30%; }
.edition-default-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
.edition-default-form .default-edition-label { grid-column:1 / -1; margin:0; font-size:11px; }
.edition-default-form select { min-width:0; }
.defaults-table-wrap tr[hidden] { display:none; }
@media(max-width:650px) { .edition-default-form { gap:8px; } }
.location-review-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.location-review-panel { min-width:0; border:1px solid #cddfd3; border-radius:10px; padding:14px; background:#fff; }
.location-review-panel summary { color:#52745f; font-size:12px; font-weight:700; cursor:pointer; }
.location-review-panel[open] { border-color:#7eb49c; }
.location-review-panel .location-action-form { margin-top:16px; }
.location-new-fault { padding:12px; border-radius:8px; background:#fff4df; color:#8b6a30!important; margin:0 0 12px!important; }
.location-diagnostic-history article { margin-top:15px; padding-top:14px; border-top:1px solid #e1ebe4; font-size:12px; line-height:1.7; color:#52745f; }
.location-diagnostic-history article p { white-space:pre-wrap; overflow-wrap:anywhere; margin:7px 0 0; }
#device-diagnosis { white-space:pre-line; overflow-wrap:anywhere; }
@media(max-width:650px) { .location-review-options { grid-template-columns:1fr; } }
.notification-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:20px;background:#dff1e9;color:#007d6c;margin-left:5px;padding:0 5px}
.notification-toolbar,.notification-toolbar nav,.notification-actions,.notification-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.notification-toolbar{justify-content:space-between;margin:28px 0}.notification-toolbar nav a{padding:12px 18px;border-radius:12px;color:#315d59;text-decoration:none}.notification-toolbar nav a[aria-current]{background:#007e6c;color:white}.notification-list{display:grid;gap:16px}.notification-card{display:flex;gap:20px;padding:26px;background:white;border:1px solid #d9e6e1;border-radius:20px}.notification-card.unread{border-left:4px solid #008773}.notification-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:13px;background:#e7f5ef;color:#008773}.notification-copy{min-width:0;flex:1}.notification-copy h2{font-size:20px;margin:14px 0 10px}.notification-copy p,.notification-diagnosis{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.notification-meta{font-size:12px;color:#68847f}.notification-actions{margin-top:20px;font-size:12px}.notification-read{background:transparent;color:#007e6c;border:1px solid #cfdfd9;border-radius:10px;padding:12px 16px;cursor:pointer}.notification-toolbar form,.notification-actions form{margin:0}@media(max-width:650px){.notification-card{padding:18px;gap:12px}.notification-toolbar{align-items:stretch}.notification-actions{align-items:stretch;flex-direction:column}.notification-actions a{text-align:center}}

.notification-toolbar button.location-new{border:0;font:inherit;font-size:13px;cursor:pointer}

.facturero-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.facturero-filters p{margin:0}.invoice-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.invoice-data dt{color:#68847f;font-size:12px}.invoice-data dd{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.facturero-filters input,.facturero-filters select{width:100%}.catalog-table td small{display:block;margin-top:5px;color:#68847f}.settings-actions form{margin:0}.settings-actions button.location-new{border:0;cursor:pointer}@media(max-width:650px){.facturero-filters,.invoice-data{grid-template-columns:1fr}}
.panel-page .facturero-filters input,.panel-page .facturero-filters select{background:#f6f9f7;color:#173e3b;border:1px solid #ccddd6;border-radius:12px;min-height:50px;padding:12px 14px;color-scheme:light}.facturero-filters label{display:block;font-size:13px;font-weight:700;color:#3e625b;margin-bottom:8px}.invoice-detail>.intake-section,.invoice-detail>.settings-grid{margin-bottom:24px}
.quote-form{padding:18px;border:1px solid #cbdfd5;border-radius:14px;margin-bottom:20px!important;background:#f9fcfa}.quote-form h3{margin-top:0}.quote-summary,.quote-final{display:grid;gap:7px;padding:18px;border-radius:12px;background:#e7f4ee;margin:16px 0}.quote-summary>span,.quote-final>span{font-size:12px;color:#50756b}.quote-summary>strong{font-size:22px;color:#086650}.quote-summary>small{font-size:11px;color:#68847f}.quote-final>strong{font-size:24px;color:#006e5c}
