.choferfy-dashboard,.dashboard-preferences{--dashboard-background:var(--dashboard-bg);--dashboard-surface:var(--surface);--dashboard-ink:var(--dashboard-navy);--dashboard-orange:var(--dashboard-accent);--dashboard-muted:var(--muted-foreground);--dashboard-line:var(--border);--dashboard-shadow:0 2px 4px color-mix(in srgb, var(--dashboard-navy) 5%, transparent);color:var(--dashboard-ink)}.app-content:has(.choferfy-dashboard){background:var(--dashboard-bg)}.choferfy-dashboard{min-width:0;padding:16px 5px 12px;font-size:12px}.dashboard-heading{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:24px;display:grid}.dashboard-eyebrow{color:var(--dashboard-orange);margin-bottom:9px;font-size:10px;font-weight:700}.dashboard-heading h1{overflow-wrap:anywhere;letter-spacing:0;margin:0 0 8px;font-size:34px;font-weight:800;line-height:1.2}.dashboard-heading p:not(.dashboard-eyebrow){color:var(--dashboard-muted);font-size:11px;line-height:1.6}.dashboard-heading-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.dashboard-heading-controls button{min-height:36px;box-shadow:var(--dashboard-shadow);white-space:normal;font-size:10px}.dashboard-date{border:1px solid var(--dashboard-line);background:var(--dashboard-surface);color:var(--dashboard-muted);border-radius:8px;align-items:center;gap:7px;padding:10px 12px;font-size:10px;font-weight:600;display:inline-flex}.dashboard-date svg{width:12px;height:12px}.dashboard-section-heading{align-items:baseline;gap:10px;margin-bottom:10px;display:flex}.dashboard-section-heading h2{font-size:12px;font-weight:800}.dashboard-section-heading p{color:var(--dashboard-muted);font-size:10px}.dashboard-section-heading.stacked{display:block}.dashboard-section-heading.stacked p{margin-top:5px}.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.choferfy-dashboard .dashboard-quick-action{text-align:left;background:var(--dashboard-surface);border:1px solid var(--control-border);height:100%;min-height:82px;box-shadow:0 2px 0 var(--dashboard-line), var(--dashboard-shadow);color:var(--dashboard-ink);white-space:normal;cursor:pointer;border-radius:8px;grid-template-columns:38px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:14px 12px;transition:box-shadow .15s;display:grid}.choferfy-dashboard .dashboard-quick-action:hover{box-shadow:0 3px 10px color-mix(in srgb, var(--dashboard-navy) 12%, transparent);border-color:var(--dashboard-orange)}.dashboard-action-icon{background:var(--accent);width:38px;height:40px;color:var(--dashboard-orange);border-radius:8px;place-items:center;display:grid}.dashboard-action-add-driver .dashboard-action-icon{background:var(--blue-bg);color:var(--dashboard-blue)}.dashboard-action-register-payment .dashboard-action-icon{background:var(--green-bg);color:var(--green)}.dashboard-action-new-inspection .dashboard-action-icon{background:var(--amber-bg);color:var(--amber)}.dashboard-action-copy{min-width:0}.dashboard-action-copy strong{font-size:11px;font-weight:700;line-height:1.4;display:block}.dashboard-action-copy small{color:var(--dashboard-muted);margin-top:4px;font-size:9px;font-weight:400;line-height:1.5;display:block}.dashboard-action-arrow{background:var(--dashboard-orange);width:28px;height:28px;color:var(--dashboard-surface);box-shadow:0 2px 5px color-mix(in srgb, var(--dashboard-orange) 25%, transparent);border-radius:50%;place-items:center;display:grid}.dashboard-action-arrow svg{width:14px;height:14px}.dashboard-indicators-section{margin:28px 0 18px}.dashboard-indicators{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dashboard-panel{background:var(--dashboard-surface);border:1px solid var(--dashboard-line);min-width:0;box-shadow:var(--dashboard-shadow);border-radius:8px;padding:16px}.dashboard-indicator{min-height:112px}.dashboard-indicator dt{color:var(--dashboard-muted);grid-template-columns:minmax(0,1fr) 25px;align-items:center;gap:5px;font-size:10px;display:grid}.dashboard-indicator dt span{background:var(--dashboard-background);border-radius:7px;place-items:center;width:25px;height:25px;display:grid}.dashboard-indicator svg{width:13px;height:13px}.dashboard-indicator dd{overflow-wrap:anywhere;margin:3px 0;font-size:26px;font-weight:800;line-height:1.3}.dashboard-indicator p{color:var(--dashboard-muted);font-size:9px;line-height:1.5}.dashboard-charts-grid{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:14px;display:grid}.dashboard-panel-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:10px;display:grid}.dashboard-panel-heading h2{font-size:12px;font-weight:800;line-height:1.5}.dashboard-panel-heading p{color:var(--dashboard-muted);margin-top:4px;font-size:10px;line-height:1.5}.dashboard-panel-heading>svg{color:var(--dashboard-muted);width:16px;height:16px}.dashboard-finance-legend{color:var(--dashboard-muted);gap:12px;padding-top:2px;font-size:9px;display:flex}.dashboard-finance-legend span{align-items:center;gap:5px;display:flex}.dashboard-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.dashboard-segment-0{background:var(--dashboard-orange)}.dashboard-segment-1{background:var(--dashboard-blue)}.dashboard-segment-2{background:var(--dashboard-green)}.dashboard-segment-3{background:var(--dashboard-gray)}.dashboard-segment-4{background:var(--dashboard-muted)}.dashboard-periods{flex-wrap:wrap;gap:4px;margin-top:0;display:flex}.dashboard-periods button{border-color:var(--dashboard-line);min-height:30px;color:var(--dashboard-muted);border-radius:6px;padding:4px 9px;font-size:10px}.dashboard-periods button[aria-pressed=true]{background:var(--accent);color:var(--accent-foreground);border-color:var(--dashboard-orange)}.dashboard-period-row{border-top:1px solid var(--dashboard-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:13px;display:flex}.dashboard-period-copy{gap:2px;display:grid}.dashboard-period-copy span{color:var(--dashboard-ink);font-size:10px;font-weight:800;line-height:1.5}.dashboard-period-range{color:var(--dashboard-muted);margin:0;font-size:9px}.dashboard-finance-chart{height:235px;margin-bottom:25px;position:relative}.dashboard-chart-data{color:var(--dashboard-muted);z-index:1;width:100%;font-size:9px;position:absolute;top:100%}.dashboard-chart-data[open]{background:var(--dashboard-surface);border:1px solid var(--dashboard-line);max-height:200px;padding:8px;position:relative;top:auto;overflow:auto}.dashboard-chart-data table{width:100%;font-size:10px}.dashboard-chart-data td,.dashboard-chart-data th{text-align:left;padding:5px}.dashboard-chart-state{text-align:center;min-height:260px;color:var(--dashboard-muted);justify-content:center;align-items:center;font-size:12px;display:flex}.dashboard-chart-footer{border-top:1px solid var(--dashboard-line);color:var(--dashboard-muted);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px;padding-top:13px;font-size:10px;display:grid}.dashboard-chart-footer strong{color:var(--dashboard-ink);font-size:13px}.dashboard-vehicle-chart{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:14px;min-height:284px;display:grid}.dashboard-donut{aspect-ratio:1;width:100%;min-width:0;max-width:190px;position:relative}.dashboard-donut-total{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.dashboard-donut-total strong{font-size:25px;font-weight:800}.dashboard-donut-total span{color:var(--dashboard-muted);margin-top:2px;font-size:10px}.dashboard-empty-ring{border:18px solid var(--dashboard-line);border-radius:50%;position:absolute;inset:5%}.dashboard-donut-legend{color:var(--dashboard-muted);gap:12px;padding:0;font-size:9px;list-style:none;display:grid}.dashboard-donut-legend li{grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:5px;display:grid}.dashboard-donut-legend strong{color:var(--dashboard-ink)}.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.dashboard-attention-list,.dashboard-activity-list{margin:0;padding:0;list-style:none}.dashboard-attention-list li{border-top:1px solid var(--dashboard-line);grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:10px;padding:14px 0;display:grid}.dashboard-attention-list li:first-child,.dashboard-activity-list li:first-child{border-top:0}.dashboard-attention-list h3,.dashboard-activity-list h3{font-size:11px;font-weight:700;line-height:1.5}.dashboard-attention-list p,.dashboard-activity-list p{color:var(--dashboard-muted);margin-top:3px;font-size:10px;line-height:1.6}.dashboard-pending-icon,.dashboard-activity-icon{background:var(--amber-bg);width:32px;height:32px;color:var(--amber);border-radius:8px;place-items:center;display:grid}.dashboard-pending-icon.urgent{background:var(--red-bg);color:var(--red)}.dashboard-pending-icon svg,.dashboard-activity-icon svg{width:15px;height:15px}.dashboard-attention-list a{background:0 0;border:0;width:32px;height:32px;min-height:32px}.dashboard-activity-icon{background:var(--green-bg);color:var(--green)}.dashboard-activity-list li{border-top:1px solid var(--dashboard-line);grid-template-columns:32px minmax(0,1fr);gap:10px;padding:14px 0;display:grid}.dashboard-activity-list time{color:var(--dashboard-muted);margin-top:4px;font-size:9px;display:block}.dashboard-empty{color:var(--dashboard-muted);padding:26px 4px;font-size:12px;line-height:1.7}.dashboard-preference-list{gap:0;display:grid}.dashboard-preference-list label{border-bottom:1px solid var(--dashboard-line);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;font-size:13px;display:flex}@media (width>=761px) and (width<=1200px){.dashboard-heading{grid-template-columns:1fr}.dashboard-heading-controls{justify-content:flex-start}.choferfy-dashboard .dashboard-quick-action{grid-template-columns:30px minmax(0,1fr) 24px;gap:7px;padding:12px 9px}.dashboard-action-icon{width:30px;height:34px}.dashboard-action-arrow{width:24px;height:24px}.dashboard-vehicle-chart{grid-template-columns:1fr;justify-items:center;gap:0;padding-top:20px}.dashboard-donut{max-width:150px}.dashboard-donut-legend{grid-template-columns:1fr 1fr;width:100%;margin:10px 0}}@media (width<=760px){.choferfy-dashboard{padding:12px 2px}.dashboard-heading{grid-template-columns:1fr;gap:16px;margin-bottom:20px}.dashboard-heading h1{font-size:27px}.dashboard-heading-controls{justify-content:flex-start}.dashboard-section-heading{display:block}.dashboard-section-heading p{margin-top:4px}.dashboard-quick-grid,.dashboard-indicators{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choferfy-dashboard .dashboard-quick-action{grid-template-columns:minmax(0,1fr) 25px;gap:7px;min-height:106px;padding:12px;position:relative}.dashboard-action-icon{grid-column:1;width:28px;height:28px}.dashboard-action-copy{grid-area:2/1}.dashboard-action-arrow{grid-area:1/2/3;width:25px;height:25px}.dashboard-action-copy strong{font-size:10px}.dashboard-action-copy small{font-size:9px}.dashboard-indicators-section{margin-top:23px}.dashboard-panel{padding:14px}.dashboard-indicator dd{font-size:24px}.dashboard-charts-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-vehicle-chart{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:220px}.dashboard-income-panel .dashboard-panel-heading{grid-template-columns:1fr}.dashboard-finance-chart{height:210px}.dashboard-finance-legend{margin-top:3px}.dashboard-period-row{flex-direction:column;align-items:flex-start;gap:10px}.dashboard-preferences{max-width:calc(100vw - 24px)}}@media (width<=340px){.dashboard-indicators{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.choferfy-dashboard *,.dashboard-preferences *{transition:none}}.dashboard-doc-alert{border:1px solid var(--amber);background:var(--amber-bg);color:var(--dashboard-ink);border-left-width:4px;border-radius:12px;grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:14px;margin-top:16px;padding:16px 18px;display:grid}.dashboard-doc-alert-icon{background:var(--card,#fff);width:40px;height:40px;color:var(--amber);border-radius:10px;place-items:center;display:grid}.dashboard-doc-alert-icon svg{width:20px;height:20px}.dashboard-doc-alert h2{font-size:15px;font-weight:700;line-height:1.35}.dashboard-doc-alert p{margin-top:4px;font-size:13px;line-height:1.5}.dashboard-doc-alert-detail{color:var(--dashboard-muted)}.dashboard-doc-fields{overflow-wrap:anywhere;gap:4px;margin:6px 0 0;padding:0;font-size:13px;line-height:1.45;list-style:none;display:grid}.dashboard-doc-fields a{text-underline-offset:2px;text-decoration:underline}.dashboard-doc-fields small{color:var(--dashboard-muted)}.dashboard-doc-chips{flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none;display:flex}.dashboard-doc-chips li{border:1px solid var(--amber);background:var(--card,#fff);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}.dashboard-doc-alert-actions{flex-direction:column;align-items:stretch;gap:6px;display:flex}.dashboard-doc-alert-actions a,.dashboard-doc-alert-actions button{min-height:40px}.dashboard-attention-list li.dashboard-profile-group{grid-template-columns:32px minmax(0,1fr);align-items:start}.dashboard-profile-list{margin:6px 0 0;padding:0;list-style:none}.dashboard-attention-list .dashboard-profile-list li{border:0;padding:0;display:block}.dashboard-attention-list .dashboard-profile-list a{width:100%;height:auto;min-height:44px;color:var(--dashboard-ink);border-radius:8px;grid-template-columns:minmax(0,1fr) 16px;align-items:center;column-gap:8px;margin:0 -8px;padding:6px 8px;display:grid}.dashboard-profile-list a:hover{background:var(--dashboard-line)}.dashboard-profile-list a:focus-visible,.dashboard-profile-more:focus-visible{outline:2px solid var(--ring,currentColor);outline-offset:2px}.dashboard-profile-list strong{overflow-wrap:anywhere;grid-column:1;font-size:12px}.dashboard-profile-list small{color:var(--dashboard-muted);overflow-wrap:anywhere;grid-column:1;font-size:11px}.dashboard-profile-list svg{grid-area:1/2/span 2;width:14px;height:14px}.dashboard-attention-list a.dashboard-profile-more{width:auto;height:auto;font-size:12px;font-weight:600;text-decoration:underline}@media (width<=760px){.dashboard-doc-alert{grid-template-columns:36px minmax(0,1fr)}.dashboard-doc-alert-actions{grid-column:1/-1}}.doc-detail{gap:1.25rem;min-width:0;display:grid}.doc-detail-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.doc-detail-kicker{letter-spacing:.1em;text-transform:uppercase;color:var(--orange);font-size:.72rem;font-weight:800}.doc-detail-titlerow{flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.3rem;display:flex}.doc-detail-heading h1{color:var(--navy);overflow-wrap:anywhere;font-size:2rem;font-weight:800;line-height:1.15}.doc-detail-sub{color:var(--muted-foreground);margin-top:.4rem;font-size:.9rem}.doc-badge{background:var(--neutral-bg);color:var(--muted-foreground);border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .7rem;font-size:.75rem;font-weight:700;display:inline-flex}.doc-badge-dot{background:currentColor;border-radius:999px;width:.4rem;height:.4rem}.doc-badge[data-tone=good]{background:var(--green-bg);color:var(--green)}.doc-badge[data-tone=warn]{background:var(--amber-bg);color:var(--amber)}.doc-badge[data-tone=danger]{background:var(--red-bg);color:var(--red)}.doc-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.doc-detail-actions svg{width:1rem;height:1rem}.doc-action-primary{background:var(--navy);color:var(--card)}.doc-detail-notice{border-radius:var(--radius);border:1px solid var(--border);background:var(--card);color:var(--muted-foreground);padding:.75rem 1rem;font-size:.875rem}.doc-detail-notice[data-tone=danger]{border-color:var(--danger-border);background:var(--red-bg);color:var(--red);font-weight:600}.doc-detail-grid{grid-template-columns:minmax(0,1fr) 20rem;align-items:start;gap:1.25rem;display:grid}.doc-detail-main,.doc-detail-side,.doc-detail-secondary{gap:1.25rem;min-width:0;display:grid}.doc-card{background:var(--card);border:1px solid var(--border);border-radius:calc(var(--radius) + 4px);box-shadow:0 1px 3px color-mix(in srgb, var(--navy) 7%, transparent);min-width:0;padding:1.25rem}.doc-card h2{color:var(--navy);margin-bottom:.9rem;font-size:1rem;font-weight:800}.doc-summary-head{border-bottom:1px solid var(--border);align-items:flex-start;gap:.9rem;margin-bottom:1.1rem;padding-bottom:1.1rem;display:flex}.doc-summary-head h2{margin-bottom:.2rem;font-size:1.1rem}.doc-summary-icon{background:color-mix(in srgb, var(--orange) 12%, transparent);width:2.75rem;height:2.75rem;color:var(--orange);border-radius:.75rem;flex:none;place-items:center;display:grid}.doc-summary-icon svg{width:1.3rem;height:1.3rem}.doc-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.doc-field dt,.doc-side-list dt,.doc-related-card p{text-transform:uppercase;letter-spacing:.06em;color:var(--muted-foreground);font-size:.7rem;font-weight:700}.doc-field dd{color:var(--navy);overflow-wrap:anywhere;margin-top:.4rem;font-size:.9rem;font-weight:700;line-height:1.5}.doc-related-intro{margin-top:-.6rem;margin-bottom:1rem}.doc-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.doc-related-card{border:1px solid var(--border);border-radius:var(--radius);gap:.75rem;min-width:0;padding:.9rem;display:flex}.doc-related-icon{background:var(--neutral-bg);width:2.1rem;height:2.1rem;color:var(--navy);border-radius:.6rem;flex:none;place-items:center;display:grid}.doc-related-icon svg,.doc-activity-icon svg,.doc-side-note svg{width:1rem;height:1rem}.doc-related-card a{color:var(--navy);gap:.2rem;margin-top:.3rem;display:grid}.doc-related-card a strong{overflow-wrap:anywhere;font-size:.9rem}.doc-related-card a span{color:var(--muted-foreground);font-size:.8rem}.doc-related-card a:hover strong{text-decoration:underline}.doc-side-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:.75rem;padding:.7rem 0;display:flex}.doc-side-list>div:first-child{padding-top:0}.doc-side-list dt{text-transform:none;letter-spacing:0;font-size:.8rem;font-weight:500}.doc-side-list dd{color:var(--navy);text-align:right;font-size:.8rem;font-weight:800}.doc-side-help{color:var(--muted-foreground);margin-top:.7rem;font-size:.78rem}.doc-side-note{border:1px solid var(--border);border-radius:var(--radius);background:var(--neutral-bg);color:var(--muted-foreground);gap:.6rem;margin-top:.9rem;padding:.8rem;font-size:.78rem;line-height:1.5;display:flex}.doc-side-note svg{flex:none;margin-top:.15rem}.doc-side-note[data-tone=danger]{background:var(--red-bg);color:var(--red);border-color:var(--danger-border)}.doc-muted{color:var(--muted-foreground);font-size:.85rem}.doc-activity{display:grid}.doc-activity li{border-top:1px solid var(--border);color:var(--navy);gap:.7rem;padding:.8rem 0;font-size:.82rem;display:flex}.doc-activity li div{gap:.2rem;display:grid}.doc-activity li div span{color:var(--muted-foreground);font-size:.75rem}.doc-activity-icon{background:var(--neutral-bg);width:1.7rem;height:1.7rem;color:var(--muted-foreground);border-radius:999px;flex:none;place-items:center;display:grid}.doc-links{gap:.5rem;display:grid}.doc-links a{color:var(--orange);font-size:.875rem;font-weight:700}.doc-links a:hover{text-decoration:underline}@media (width<=1023px){.doc-detail-grid{grid-template-columns:minmax(0,1fr)}.doc-detail-actions{justify-content:flex-start}}@media (width<=639px){.doc-detail-actions{grid-template-columns:minmax(0,1fr) auto;width:100%;display:grid}.doc-detail-actions>*{white-space:normal;grid-column:1/-1;width:100%;min-width:0}.doc-detail-actions>[aria-label="Más acciones del documento"]{grid-column:2;justify-self:end;width:2.75rem;height:2.75rem}.doc-summary-grid,.doc-related-grid{grid-template-columns:minmax(0,1fr)}.doc-card{padding:1rem}}.doc-related-card .doc-related-link{color:var(--orange);text-underline-offset:3px;margin-top:.5rem;font-size:.8125rem;font-weight:600;display:inline-block}.doc-related-card .doc-related-link:hover{text-decoration:underline}.doc-actions-menu{min-width:14rem;max-width:min(18rem,100vw - 1.5rem)}.doc-actions-menu-hint{color:var(--muted-foreground);padding:0 .5rem .375rem 2rem;font-size:.75rem;line-height:1.25}.settings-general{min-width:0}.settings-general-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:.75rem 1.25rem;display:grid}@media (width>=640px){.settings-general-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.settings-general-field{flex-direction:column;gap:.375rem;min-width:0;display:flex}.settings-general-field>label{min-height:1.25rem;line-height:1.25rem}.settings-general-field :is(input,button[role=combobox],select){width:100%;min-width:0;height:2.5rem}.settings-general-field>p{line-height:1.1rem}
