.login-page{background:radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--color-accent,#0f7f86) 8%, transparent), transparent 45%), var(--color-background,#f4f5f4);justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.login-card{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-lg,0 18px 45px #0f172a1a);text-align:center;gap:1.5rem;width:100%;max-width:380px;padding:2.5rem 2rem;display:grid}.login-brand{justify-items:center;gap:.5rem;display:grid}.login-logo{object-fit:contain;width:6.5rem;height:auto}.login-brand h1{color:var(--color-text,#111827);letter-spacing:-.04em;margin:0;font-size:1.75rem}.login-brand p{color:var(--color-text-muted,#475569);margin:0;font-size:.9rem}.login-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));border-radius:var(--radius-md,.75rem);color:#991b1b;padding:.75rem 1rem;font-size:.85rem;font-weight:600}.login-google-btn{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);cursor:pointer;font:inherit;border-radius:999px;justify-content:center;align-items:center;gap:.65rem;width:100%;min-height:3rem;padding:.75rem 1.25rem;font-size:.95rem;font-weight:700;transition:border-color .18s,box-shadow .18s,transform .18s;display:inline-flex}.login-google-btn:hover:not(:disabled){border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);transform:translateY(-1px)}.login-google-btn:disabled{cursor:not-allowed;opacity:.65}.login-footer{color:var(--color-text-muted,#475569);margin:0;font-size:.78rem}:root{--font-family:"IBM Plex Sans", system-ui, -apple-system, sans-serif;--font-family-display:"Source Serif 4", Georgia, "Times New Roman", serif;--color-background:#f4f5f4;--color-surface:#fff;--color-surface-hover:#eef0f0;--color-text:#101a1d;--color-text-muted:#586165;--color-border:#d7dadb;--color-border-light:#e3e5e4;--color-primary:#0d2023;--color-accent:#0f7f86;--color-accent-light:#0f7f8612;--color-on-primary:#fff;--color-success:#15803d;--color-success-light:#dcfce7;--color-warning:#b54708;--color-warning-light:#fffaeb;--color-error:#b91c1c;--color-error-light:#fee2e2;--color-info:#1d4ed8;--color-info-light:#dbeafe;--spacing-xs:.25rem;--spacing-sm:.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--spacing-2xl:3rem;--radius-sm:.3rem;--radius-md:.4rem;--radius-lg:.5rem;--radius-xl:.65rem;--radius-full:999px;--shadow-xs:0 1px 2px #0d20230d;--shadow-sm:0 2px 10px #0d20230f;--shadow-md:0 6px 18px #0d202312;--shadow-lg:0 12px 32px #0d202317;--transition-fast:.15s ease;--transition-base:.2s ease;--transition-slow:.3s ease}@media (prefers-color-scheme:dark){:root{--color-background:#0f172a;--color-surface:#1e293b;--color-surface-hover:#334155;--color-text:#f1f5f9;--color-text-muted:#94a3b8;--color-border:#334155;--color-border-light:#1e293b;--color-primary:#e2e8f0;--color-accent:#60a5fa;--color-accent-light:#60a5fa1f;--color-on-primary:#0f172a;--color-success:#4ade80;--color-success-light:#4ade801f;--color-warning:#fbbf24;--color-warning-light:#fbbf241f;--color-error:#f87171;--color-error-light:#f871711f;--color-info:#60a5fa;--color-info-light:#60a5fa1f;--shadow-xs:0 1px 3px #0003;--shadow-sm:0 4px 16px #00000040;--shadow-md:0 8px 24px #0000004d;--shadow-lg:0 16px 40px #00000059}}html[data-theme=navy]{--color-primary:#0d2023;--color-surface:#fff;--color-background:#f4f5f4;--color-text:#101a1d;--color-accent:#0f7f86;--color-on-primary:#fff}html[data-theme=executive-green]{--color-primary:#064e3b;--color-surface:#fff;--color-background:#f3f4f6;--color-text:#064e3b;--color-accent:#059669;--color-on-primary:#fff}html[data-theme=elegant-wine]{--color-primary:#5b0f1b;--color-surface:#fff;--color-background:#f5f4f6;--color-text:#3f0d12;--color-accent:#be185d;--color-on-primary:#fff}html[data-theme=graphite]{--color-primary:#111827;--color-surface:#fff;--color-background:#f3f4f6;--color-text:#111827;--color-accent:#4b5563;--color-on-primary:#fff}.app-shell{background:var(--color-background,#f4f5f4);grid-template-columns:264px 1fr;min-height:100vh;display:grid}.app-sidebar{gap:var(--spacing-lg,1.5rem);padding:var(--spacing-lg,1.5rem) var(--spacing-md,1rem);background:linear-gradient(#0d2023,#0a1a1c);border-right:1px solid #06181a;flex-direction:column;height:100vh;display:flex;position:sticky;top:0;overflow-y:auto}.app-brand{text-align:center;border-bottom:1px solid #ffffff14;flex-direction:column;align-items:center;gap:.65rem;padding:.4rem .25rem .9rem;display:flex}.app-brand-mark{object-fit:contain;filter:drop-shadow(0 2px 6px #00000059);flex-shrink:0;width:84px;height:auto}.app-brand strong,.app-brand small{display:block}.app-brand strong{color:#f2f4f4;font-size:.92rem;font-weight:700}.app-brand small{color:#7fa8ab;letter-spacing:.04em;text-transform:uppercase;margin-top:.15rem;font-size:.68rem}.app-navigation{gap:var(--spacing-xs,.25rem);display:grid}.app-nav-item{border-radius:var(--radius-md,.4rem);color:#c3d2d3;cursor:pointer;font:inherit;text-align:left;transition:background-color var(--transition-fast,.15s ease), border-color var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);background:0 0;border:1px solid #0000;gap:.15rem;padding:.7rem .85rem;display:grid}.app-nav-item span{align-items:center;gap:.4rem;font-size:.88rem;font-weight:700;display:flex}.app-nav-item small{color:#5c7c7e;font-size:.72rem}.app-nav-item:hover{background:#ffffff0d;border-color:#ffffff14}.app-nav-item.active{box-shadow:none;background:#0f7f8629;border-color:#0f7f8659}.app-nav-item.active span{color:#e9f6f6}.app-nav-item.active small{color:#8fc3c6}.app-main{min-width:0;overflow-y:auto}@media (width<=860px){.app-shell{grid-template-columns:1fr}.app-sidebar{border-right:none;border-bottom:1px solid var(--color-border,#e2e8f0);height:auto;padding:var(--spacing-md,1rem);position:static}.app-navigation{gap:var(--spacing-xs,.25rem);grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.app-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}}.products-page{gap:1.5rem;max-width:1180px;margin:0 auto;padding:2rem;display:grid}.products-header{background:radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent), transparent 32rem), var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-lg,0 18px 45px #0f172a1a);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.75rem;display:flex}.products-label{color:var(--color-primary,#1f4f9c);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .5rem;font-size:.78rem;font-weight:700}.products-header h1,.products-panel h2,.products-empty-state h3{color:var(--color-text,#111827);margin:0}.products-header h1{letter-spacing:-.05em;font-size:clamp(2rem,4vw,3.1rem);line-height:.95}.products-description{color:var(--color-text-muted,#475569);max-width:680px;margin:1rem 0 0;line-height:1.65}.products-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.products-primary-button,.products-secondary-button{cursor:pointer;font:inherit;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:2.75rem;padding:.75rem 1.15rem;font-size:.92rem;font-weight:700;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex}.products-primary-button{background:var(--color-primary,#1f4f9c);border:1px solid var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff)}.products-secondary-button{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827)}.products-primary-button:hover,.products-secondary-button:hover{transform:translateY(-1px)}.products-primary-button:focus-visible,.products-secondary-button:focus-visible{box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent);outline:none}.products-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.products-summary-card,.products-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-sm,0 8px 24px #0f172a12)}.products-summary-card{padding:1.2rem}.products-summary-label{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.6rem;font-size:.78rem;font-weight:700;display:block}.products-summary-card strong{color:var(--color-text,#111827);letter-spacing:-.04em;font-size:2rem;line-height:1;display:block}.products-summary-card p{color:var(--color-text-muted,#475569);margin:.6rem 0 0;line-height:1.5}.products-panel{overflow:hidden}.products-panel-header{border-bottom:1px solid var(--color-border,#e2e8f0);padding:1.35rem 1.5rem}.products-panel-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0}.products-empty-state{grid-template-columns:auto 1fr;align-items:center;gap:1rem;padding:2rem 1.5rem;display:grid}.products-empty-icon{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 25%, var(--color-border,#e2e8f0));color:var(--color-primary,#1f4f9c);letter-spacing:-.04em;border-radius:1rem;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;font-weight:700;display:inline-flex}.products-empty-state p{color:var(--color-text-muted,#475569);margin:.5rem 0 0;line-height:1.6}@media (width<=880px){.products-header{display:grid}.products-header-actions{justify-content:flex-start}.products-summary-grid{grid-template-columns:1fr}}@media (width<=640px){.products-page{padding:1rem}.products-empty-state{grid-template-columns:1fr;align-items:flex-start}}.products-table-wrapper{overflow-x:auto}.products-table{border-collapse:collapse;width:100%;min-width:920px}.products-table th,.products-table td{border-bottom:1px solid var(--color-border,#e2e8f0);text-align:left;vertical-align:middle;padding:1rem}.products-table th{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;background:var(--color-background,#f8fafc);font-size:.75rem;font-weight:600}.products-table tbody tr{transition:background-color var(--transition-fast,.15s ease)}.products-table tbody tr:hover{background-color:var(--color-accent-light,#2563eb0a)}.products-code{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, var(--color-border,#e2e8f0));color:var(--color-primary,#1f4f9c);white-space:nowrap;border-radius:999px;padding:.35rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.products-concept-cell{gap:.25rem;min-width:280px;display:grid}.products-concept-cell strong{color:var(--color-text,#111827)}.products-concept-cell span{color:var(--color-text-muted,#475569);font-size:.9rem;line-height:1.45}.products-status-badge{white-space:nowrap;border-radius:999px;padding:.35rem .7rem;font-size:.8rem;font-weight:700;display:inline-flex}.products-status-badge.active{background:color-mix(in srgb, #15803d 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #15803d 28%, var(--color-border,#e2e8f0));color:#166534}.products-status-badge.inactive{background:color-mix(in srgb, #b45309 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #b45309 28%, var(--color-border,#e2e8f0));color:#92400e}.products-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.products-link-button{color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.88rem;font-weight:700}.products-link-button:hover{text-decoration:underline}.products-link-button.danger{color:#9f2020}.products-form{gap:1.2rem;padding:1.5rem;display:grid}.products-form-header h2{color:var(--color-text,#111827);margin:0}.products-form-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0;line-height:1.55}.products-form-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));border-radius:var(--radius-md,.75rem);color:#991b1b;padding:.85rem 1rem;font-weight:700}.products-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.products-field{gap:.45rem;display:grid}.products-field-wide{grid-column:1/-1}.products-field span{color:var(--color-text,#111827);font-size:.88rem;font-weight:700}.products-field input,.products-field select,.products-field textarea{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;padding:.85rem .95rem}.products-field textarea{resize:vertical}.products-field input:focus,.products-field select:focus,.products-field textarea:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.products-form-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}@media (width<=720px){.products-form-grid{grid-template-columns:1fr}.products-form-actions{justify-content:flex-start}}.products-search{border-bottom:1px solid var(--color-border,#e2e8f0);gap:1rem;padding:1.25rem 1.5rem;display:grid}.products-search-fields{grid-template-columns:2fr 1fr 1fr;gap:1rem;display:grid}.products-search-field{gap:.45rem;display:grid}.products-search-field span{color:var(--color-text,#111827);font-size:.86rem;font-weight:700}.products-search-field input,.products-search-field select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;padding:.8rem .95rem}.products-search-field input:focus,.products-search-field select:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.products-search-footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.products-search-footer p{color:var(--color-text-muted,#475569);margin:0}.products-search-footer strong{color:var(--color-text,#111827)}.products-link-button:disabled{cursor:not-allowed;opacity:.45;text-decoration:none}@media (width<=900px){.products-search-fields{grid-template-columns:1fr}.products-search-footer{align-items:flex-start;display:grid}}.products-page-message{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 24%, var(--color-border,#e2e8f0));color:var(--color-text,#111827);border-radius:1rem;padding:.9rem 1rem;font-weight:700}.products-import-panel{background:color-mix(in srgb, var(--color-surface,#fff) 94%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);border-radius:var(--radius-xl,1.25rem);gap:1rem;margin-bottom:1.5rem;padding:1.1rem;display:grid;box-shadow:0 18px 36px #0f172a14}.products-import-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.products-import-header h2{color:var(--color-text,#172033);margin:.2rem 0}.products-import-header p,.products-import-upload p{color:var(--color-muted,#64748b);margin:0}.products-import-upload{border:1px dashed color-mix(in srgb, var(--color-border,#d8dee9) 95%, transparent);border-radius:1rem;grid-template-columns:minmax(220px,340px) 1fr;align-items:center;gap:1rem;padding:1rem;display:grid}.products-import-upload label{gap:.45rem;display:grid}.products-import-upload label span{color:var(--color-text,#172033);font-weight:700}.products-import-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;display:grid}.products-import-summary article{border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);border-radius:1rem;padding:.9rem}.products-import-summary span{color:var(--color-muted,#64748b);text-transform:uppercase;font-size:.8rem;font-weight:700;display:block}.products-import-summary strong{color:var(--color-text,#172033);margin-top:.25rem;font-size:1.5rem;display:block}.products-import-table-wrapper{overflow-x:auto}.products-import-table{border-collapse:collapse;width:100%;min-width:980px}.products-import-table th,.products-import-table td{border-bottom:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);color:var(--color-text,#172033);text-align:left;vertical-align:top;padding:.75rem}.products-import-table th{color:var(--color-muted,#64748b);text-transform:uppercase;font-size:.75rem;font-weight:950}.products-import-row.valid td:nth-child(2){color:#15803d;font-weight:700}.products-import-row.duplicate td:nth-child(2),.products-import-row.invalid td:nth-child(2){color:#b91c1c;font-weight:700}.products-import-actions{flex-wrap:wrap;justify-content:flex-end;gap:.8rem;display:flex}@media (width<=760px){.products-import-header,.products-import-upload{grid-template-columns:1fr}.products-import-header{display:grid}.products-import-summary{grid-template-columns:1fr}}.products-import-selection-actions{flex-wrap:wrap;gap:.75rem;display:flex}.products-import-table input[type=checkbox]{accent-color:var(--color-primary,#7f1d1d);min-width:18px;min-height:18px}.products-import-helper{background:color-mix(in srgb, var(--color-background,#f8fafc) 92%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);border-radius:1rem;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.products-import-helper strong{color:var(--color-text,#172033);font-weight:950;display:block}.products-import-helper p{color:var(--color-muted,#64748b);margin:.25rem 0 0}@media (width<=760px){.products-import-helper{align-items:stretch;display:grid}}.products-import-template-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}@media (width<=760px){.products-import-template-actions{justify-content:stretch}.products-import-template-actions button{width:100%}}.products-import-table select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);font:inherit;border-radius:.65rem;min-width:9.5rem;padding:.45rem .6rem}.products-import-safety-note{background:color-mix(in srgb, var(--color-primary,#1f4e79) 8%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4e79) 24%, transparent);border-radius:var(--radius-md,.75rem);color:var(--color-text,#172033);padding:.85rem 1rem;font-size:.92rem;line-height:1.5}.clients-page{gap:1.5rem;max-width:1180px;margin:0 auto;padding:2rem;display:grid}.clients-header{background:radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent), transparent 32rem), var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-lg,0 18px 45px #0f172a1a);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.75rem;display:flex}.clients-label{color:var(--color-primary,#1f4f9c);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .5rem;font-size:.78rem;font-weight:700}.clients-header h1,.clients-panel h2,.clients-empty-state h3{color:var(--color-text,#111827);margin:0}.clients-header h1{letter-spacing:-.05em;font-size:clamp(2rem,4vw,3.1rem);line-height:.95}.clients-description{color:var(--color-text-muted,#475569);max-width:680px;margin:1rem 0 0;line-height:1.65}.clients-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.clients-primary-button,.clients-secondary-button{cursor:pointer;font:inherit;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:2.75rem;padding:.75rem 1.15rem;font-size:.92rem;font-weight:700;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex}.clients-primary-button{background:var(--color-primary,#1f4f9c);border:1px solid var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff)}.clients-secondary-button{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827)}.clients-primary-button:hover,.clients-secondary-button:hover{transform:translateY(-1px)}.clients-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.clients-summary-card,.clients-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-sm,0 8px 24px #0f172a12)}.clients-summary-card{padding:1.2rem}.clients-summary-label{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.6rem;font-size:.78rem;font-weight:700;display:block}.clients-summary-card strong{color:var(--color-text,#111827);letter-spacing:-.04em;font-size:2rem;line-height:1;display:block}.clients-summary-card p,.clients-panel-header p,.clients-empty-state p{color:var(--color-text-muted,#475569);margin:.6rem 0 0;line-height:1.55}.clients-panel{overflow:hidden}.clients-panel-header{border-bottom:1px solid var(--color-border,#e2e8f0);padding:1.35rem 1.5rem}.clients-empty-state{grid-template-columns:auto 1fr;align-items:center;gap:1rem;padding:2rem 1.5rem;display:grid}.clients-empty-icon{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 25%, var(--color-border,#e2e8f0));color:var(--color-primary,#1f4f9c);letter-spacing:-.04em;border-radius:1rem;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;font-weight:700;display:inline-flex}@media (width<=880px){.clients-header{display:grid}.clients-header-actions{justify-content:flex-start}.clients-summary-grid{grid-template-columns:1fr}}@media (width<=640px){.clients-page{padding:1rem}.clients-empty-state{grid-template-columns:1fr;align-items:flex-start}}.clients-table-wrapper{overflow-x:auto}.clients-table{border-collapse:collapse;width:100%;min-width:980px}.clients-table th,.clients-table td{border-bottom:1px solid var(--color-border,#e2e8f0);text-align:left;vertical-align:middle;padding:1rem}.clients-table th{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;background:var(--color-background,#f8fafc);font-size:.75rem;font-weight:600}.clients-table tbody tr{transition:background-color var(--transition-fast,.15s ease)}.clients-table tbody tr:hover{background-color:var(--color-accent-light,#2563eb0a)}.clients-name-cell{gap:.25rem;min-width:280px;display:grid}.clients-name-cell strong{color:var(--color-text,#111827)}.clients-name-cell span{color:var(--color-text-muted,#475569);font-size:.9rem;line-height:1.45}.clients-rfc{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, var(--color-border,#e2e8f0));color:var(--color-primary,#1f4f9c);white-space:nowrap;border-radius:999px;padding:.35rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.clients-status-badge{white-space:nowrap;border-radius:999px;padding:.35rem .7rem;font-size:.8rem;font-weight:700;display:inline-flex}.clients-status-badge.active{background:color-mix(in srgb, #15803d 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #15803d 28%, var(--color-border,#e2e8f0));color:#166534}.clients-status-badge.inactive{background:color-mix(in srgb, #b45309 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #b45309 28%, var(--color-border,#e2e8f0));color:#92400e}.clients-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.clients-link-button{color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.88rem;font-weight:700}.clients-link-button:hover{text-decoration:underline}.clients-link-button.danger{color:#9f2020}.clients-form{gap:1.2rem;padding:1.5rem;display:grid}.clients-form-header h2{color:var(--color-text,#111827);margin:0}.clients-form-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0;line-height:1.55}.clients-form-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));border-radius:var(--radius-md,.75rem);color:#991b1b;padding:.85rem 1rem;font-weight:700}.clients-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.clients-field{gap:.45rem;display:grid}.clients-field-wide{grid-column:1/-1}.clients-field span{color:var(--color-text,#111827);font-size:.88rem;font-weight:700}.clients-field input,.clients-field select,.clients-field textarea{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;padding:.85rem .95rem}.clients-field textarea{resize:vertical}.clients-field input:focus,.clients-field select:focus,.clients-field textarea:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.clients-form-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}@media (width<=720px){.clients-form-grid{grid-template-columns:1fr}.clients-form-actions{justify-content:flex-start}}.clients-search-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-sm,0 8px 24px #0f172a12);gap:1rem;padding:1.2rem;display:grid}.clients-search-main{grid-template-columns:minmax(0,1fr) 180px 180px;align-items:end;gap:1rem;display:grid}.clients-search-field,.clients-search-select{gap:.45rem;display:grid}.clients-search-field span,.clients-search-select span{color:var(--color-text,#111827);font-size:.86rem;font-weight:700}.clients-search-field input,.clients-search-select select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;min-height:2.75rem;padding:.75rem .9rem}.clients-search-field input:focus,.clients-search-select select:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.clients-search-footer{border-top:1px solid var(--color-border,#e2e8f0);justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem;display:flex}.clients-search-footer p{color:var(--color-text-muted,#475569);margin:0;font-weight:700}@media (width<=900px){.clients-search-main{grid-template-columns:1fr}.clients-search-footer{flex-direction:column;align-items:flex-start}}.clients-loading{color:var(--color-text-muted,#475569);margin:0;padding:2rem 1.5rem;font-weight:700}.clients-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));color:#991b1b;border-radius:1rem;padding:1rem 1.2rem;font-weight:700}.clients-primary-button:disabled,.clients-secondary-button:disabled{cursor:not-allowed;opacity:.65;transform:none}.client-history-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d1d5db);border-radius:var(--radius-lg,1rem);gap:1.25rem;padding:1.5rem;display:grid}.client-history-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.client-history-header h3{color:var(--color-text,#111827);margin:0}.client-history-header p{color:var(--color-text-muted,#475569);margin:.25rem 0 0;font-size:.82rem;line-height:1.5}.client-history-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;display:grid}.client-history-metrics article{background:var(--color-background,#f4f5f7);border-radius:var(--radius-md,.75rem);text-align:center;padding:.75rem}.client-history-metrics span{color:var(--color-text-muted,#475569);letter-spacing:.03em;text-transform:uppercase;font-size:.72rem;font-weight:700;display:block}.client-history-metrics strong{color:var(--color-text,#111827);margin-top:.25rem;font-size:1.15rem;display:block}.client-history-section h4{color:var(--color-text,#111827);margin:0 0 .5rem;font-size:.9rem}.client-history-table{border-collapse:collapse;width:100%;font-size:.82rem}.client-history-table th{background:var(--color-background,#f4f5f7);border-bottom:2px solid var(--color-border,#d1d5db);color:var(--color-text-muted,#475569);letter-spacing:.03em;text-align:left;text-transform:uppercase;padding:.5rem .65rem;font-size:.72rem;font-weight:700}.client-history-table td{border-bottom:1px solid var(--color-border-light,#e5e7eb);padding:.5rem .65rem}.client-history-table tbody tr:hover td{background:var(--color-surface-hover,#f9fafb)}.client-history-empty{color:var(--color-text-muted,#475569);font-size:.82rem;font-style:italic}.quotes-page{gap:1.5rem;max-width:1180px;margin:0 auto;padding:2rem;display:grid}.quotes-header{background:radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent), transparent 32rem), var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-lg,0 18px 45px #0f172a1a);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.75rem;display:flex}.quotes-label{color:var(--color-primary,#1f4f9c);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .5rem;font-size:.78rem;font-weight:700}.quotes-header h1,.quotes-panel h2,.quotes-empty-state h3{color:var(--color-text,#111827);margin:0}.quotes-header h1{letter-spacing:-.05em;font-size:clamp(2rem,4vw,3.1rem);line-height:.95}.quotes-description{color:var(--color-text-muted,#475569);max-width:720px;margin:1rem 0 0;line-height:1.65}.quotes-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.quotes-primary-button,.quotes-secondary-button{cursor:pointer;font:inherit;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:2.75rem;padding:.75rem 1.15rem;font-size:.92rem;font-weight:700;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex}.quotes-primary-button{background:var(--color-primary,#1f4f9c);border:1px solid var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff)}.quotes-secondary-button{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827)}.quotes-primary-button:hover,.quotes-secondary-button:hover{transform:translateY(-1px)}.quotes-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.quotes-summary-card,.quotes-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-sm,0 8px 24px #0f172a12)}.quotes-summary-card{padding:1.2rem}.quotes-summary-label{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.6rem;font-size:.78rem;font-weight:700;display:block}.quotes-summary-card strong{color:var(--color-text,#111827);letter-spacing:-.04em;font-size:1.8rem;line-height:1;display:block}.quotes-summary-card p,.quotes-panel-header p,.quotes-empty-state p{color:var(--color-text-muted,#475569);margin:.6rem 0 0;line-height:1.55}.quotes-panel{overflow:hidden}.quotes-panel-header{border-bottom:1px solid var(--color-border,#e2e8f0);padding:1.35rem 1.5rem}.quotes-empty-state{grid-template-columns:auto 1fr;align-items:center;gap:1rem;padding:2rem 1.5rem;display:grid}.quotes-empty-icon{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 25%, var(--color-border,#e2e8f0));color:var(--color-primary,#1f4f9c);letter-spacing:-.04em;border-radius:1rem;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;font-weight:700;display:inline-flex}@media (width<=980px){.quotes-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=880px){.quotes-header{display:grid}.quotes-header-actions{justify-content:flex-start}}@media (width<=640px){.quotes-page{padding:1rem}.quotes-summary-grid{grid-template-columns:1fr}.quotes-empty-state{grid-template-columns:1fr;align-items:flex-start}}.quotes-table{border-collapse:collapse;width:100%;min-width:980px}.quotes-table th,.quotes-table td{border-bottom:1px solid var(--color-border,#e2e8f0);text-align:left;vertical-align:middle;padding:1rem}.quotes-table th{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;background:var(--color-background,#f8fafc);font-size:.75rem;font-weight:600}.quotes-table tbody tr{transition:background-color var(--transition-fast,.15s ease)}.quotes-table tbody tr:hover{background-color:var(--color-accent-light,#2563eb0a)}.quotes-folio-cell,.quotes-client-cell{gap:.25rem;min-width:180px;display:grid}.quotes-folio-cell strong,.quotes-client-cell strong{color:var(--color-text,#111827)}.quotes-folio-cell span,.quotes-client-cell span{color:var(--color-text-muted,#475569);font-size:.9rem;line-height:1.45}.quotes-status-badge{white-space:nowrap;border-radius:999px;padding:.35rem .7rem;font-size:.8rem;font-weight:700;display:inline-flex}.quotes-status-badge.draft{background:color-mix(in srgb, #64748b 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #64748b 28%, var(--color-border,#e2e8f0));color:#475569}.quotes-status-badge.sent{background:color-mix(in srgb, #2563eb 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #2563eb 28%, var(--color-border,#e2e8f0));color:#1d4ed8}.quotes-status-badge.accepted{background:color-mix(in srgb, #15803d 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #15803d 28%, var(--color-border,#e2e8f0));color:#166534}.quotes-status-badge.rejected{background:color-mix(in srgb, #dc2626 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));color:#991b1b}.quotes-status-badge.cancelled{background:color-mix(in srgb, #334155 12%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #334155 28%, var(--color-border,#e2e8f0));color:#1e293b}.quotes-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.quotes-link-button{color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.88rem;font-weight:700}.quotes-link-button:hover{text-decoration:underline}.quotes-search-panel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);box-shadow:var(--shadow-sm,0 8px 24px #0f172a12);gap:1rem;padding:1.2rem;display:grid}.quotes-search-main{grid-template-columns:minmax(0,1fr) 180px 160px 160px;align-items:end;gap:1rem;display:grid}.quotes-search-field,.quotes-search-select,.quotes-search-date{gap:.45rem;display:grid}.quotes-search-field span,.quotes-search-select span,.quotes-search-date span{color:var(--color-text,#111827);font-size:.86rem;font-weight:700}.quotes-search-field input,.quotes-search-select select,.quotes-search-date input{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;min-height:2.75rem;padding:.75rem .9rem}.quotes-search-field input:focus,.quotes-search-select select:focus,.quotes-search-date input:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.quotes-search-footer{border-top:1px solid var(--color-border,#e2e8f0);justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem;display:flex}.quotes-search-footer p{color:var(--color-text-muted,#475569);margin:0;font-weight:700}@media (width<=980px){.quotes-search-main{grid-template-columns:1fr 1fr}}@media (width<=640px){.quotes-search-main{grid-template-columns:1fr}.quotes-search-footer{flex-direction:column;align-items:flex-start}}.quotes-loading{color:var(--color-text-muted,#475569);margin:0;padding:2rem 1.5rem;font-weight:700}.quotes-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));color:#991b1b;border-radius:1rem;padding:1rem 1.2rem;font-weight:700}.quotes-primary-button:disabled,.quotes-secondary-button:disabled{cursor:not-allowed;opacity:.65;transform:none}.quotes-status-cell{align-items:flex-start;gap:.5rem;display:grid}.quotes-status-select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);font:inherit;border-radius:.75rem;padding:.45rem .6rem;font-size:.84rem;font-weight:700}.quotes-editor{gap:1.2rem;padding:1.5rem;display:grid}.quotes-editor-header h2{color:var(--color-text,#111827);margin:0}.quotes-editor-label{color:var(--color-primary,#1f4f9c);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .45rem;font-size:.78rem;font-weight:700}.quotes-editor-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0;line-height:1.55}.quotes-editor-error{background:color-mix(in srgb, #dc2626 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #dc2626 28%, var(--color-border,#e2e8f0));border-radius:var(--radius-md,.75rem);color:#991b1b;padding:.85rem 1rem;font-weight:700}.quotes-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.quotes-field{gap:.45rem;display:grid}.quotes-field-wide{grid-column:1/-1}.quotes-field span{color:var(--color-text,#111827);font-size:.88rem;font-weight:700}.quotes-field input,.quotes-field select,.quotes-field textarea{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;padding:.85rem .95rem}.quotes-field textarea{resize:vertical}.quotes-field input:focus,.quotes-field select:focus,.quotes-field textarea:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.quotes-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}@media (width<=720px){.quotes-editor-grid{grid-template-columns:1fr}.quotes-editor-actions{justify-content:flex-start}}.quotes-client-selector{border-top:1px solid var(--color-border,#e2e8f0);gap:1.2rem;padding:1.5rem;display:grid}.quotes-client-selector-header h3{color:var(--color-text,#111827);margin:0}.quotes-client-selector-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0;line-height:1.55}.quotes-client-selector-grid{gap:1rem;display:grid}.quotes-client-card{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 7%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, var(--color-border,#e2e8f0));border-radius:1rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem;display:grid}.quotes-client-card div{gap:.2rem;display:grid}.quotes-client-card span,.quotes-client-empty span{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;font-size:.78rem;font-weight:700}.quotes-client-card strong,.quotes-client-empty strong{color:var(--color-text,#111827)}.quotes-client-empty{background:var(--color-surface,#fff);border:1px dashed var(--color-border,#e2e8f0);border-radius:1rem;padding:1rem}.quotes-client-empty p{color:var(--color-text-muted,#475569);margin:.35rem 0 0;line-height:1.55}@media (width<=720px){.quotes-client-card{grid-template-columns:1fr}}.quotes-items-editor{border-top:1px solid var(--color-border,#e2e8f0);gap:1.2rem;padding:1.5rem;display:grid}.quotes-items-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.quotes-items-header h3{color:var(--color-text,#111827);margin:0}.quotes-items-header p{color:var(--color-text-muted,#475569);margin:.45rem 0 0;line-height:1.55}.quotes-items-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.quotes-items-summary article{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 7%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, var(--color-border,#e2e8f0));border-radius:1rem;gap:.35rem;padding:1rem;display:grid}.quotes-items-summary span{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;font-size:.78rem;font-weight:700}.quotes-items-summary strong{color:var(--color-text,#111827);font-size:1.25rem}.quotes-items-empty{background:var(--color-surface,#fff);border:1px dashed var(--color-border,#e2e8f0);border-radius:1rem;padding:1rem}.quotes-items-empty strong{color:var(--color-text,#111827)}.quotes-items-empty p{color:var(--color-text-muted,#475569);margin:.35rem 0 0;line-height:1.55}.quotes-items-table-wrapper{overflow-x:auto}.quotes-items-table{border-collapse:collapse;width:100%;min-width:920px}.quotes-items-table th,.quotes-items-table td{border-bottom:1px solid var(--color-border,#e2e8f0);text-align:left;vertical-align:middle;padding:.9rem}.quotes-items-table th{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;font-size:.76rem;font-weight:700}.quotes-item-name{gap:.25rem;min-width:240px;display:grid}.quotes-item-name strong{color:var(--color-text,#111827)}.quotes-item-name span{color:var(--color-text-muted,#475569);font-size:.9rem;line-height:1.45}@media (width<=900px){.quotes-items-header{display:grid}.quotes-items-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.quotes-items-summary{grid-template-columns:1fr}}.quotes-items-add-panel{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 6%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, var(--color-border,#e2e8f0));border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:1rem;padding:1rem;display:grid}.quotes-items-notice{background:color-mix(in srgb, #b45309 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, #b45309 28%, var(--color-border,#e2e8f0));color:#92400e;border-radius:1rem;padding:1rem}.quotes-items-notice strong{font-weight:700;display:block}.quotes-items-notice p{margin:.35rem 0 0;line-height:1.55}.quotes-link-button:disabled{cursor:not-allowed;opacity:.6;text-decoration:none}@media (width<=720px){.quotes-items-add-panel{grid-template-columns:1fr;align-items:stretch}}.quotes-item-number-input,.quotes-item-notes-input{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);font:inherit;border-radius:.75rem;min-width:7rem;padding:.55rem .65rem}.quotes-item-notes-input{min-width:12rem}.quotes-item-number-input:focus,.quotes-item-notes-input:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.quotes-item-number-input:disabled,.quotes-item-notes-input:disabled{cursor:not-allowed;opacity:.65}.quote-preview-shell{border-top:1px solid var(--color-border,#e2e8f0);background:#e5e7eb;padding:1.5rem}.quote-preview-page{color:#111827;background:#fff;border-radius:1rem;gap:1.5rem;max-width:960px;margin:0 auto;padding:2rem;display:grid;box-shadow:0 24px 70px #0f172a29}.quote-preview-header{border-bottom:2px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding-bottom:1.5rem;display:flex}.quote-preview-company{align-items:flex-start;gap:1rem;display:flex}.quote-preview-company img{object-fit:contain;border-radius:.75rem;max-width:120px;max-height:72px}.quote-preview-company h2,.quote-preview-meta h1,.quote-preview-client h3{margin:0}.quote-preview-company p,.quote-preview-meta span,.quote-preview-client p,.quote-preview-notes p{color:#4b5563;margin:.25rem 0 0;line-height:1.5}.quote-preview-meta{text-align:right;gap:.35rem;display:grid}.quote-preview-meta p,.quote-preview-section-label{color:#1f4f9c;letter-spacing:.06em;text-transform:uppercase;margin:0 0 .35rem;font-size:.75rem;font-weight:700}.quote-preview-client{background:#f8fafc;border:1px solid #e5e7eb;border-radius:1rem;grid-template-columns:2fr 1fr;gap:1rem;padding:1rem;display:grid}.quote-preview-items{overflow-x:auto}.quote-preview-items table{border-collapse:collapse;width:100%;min-width:860px}.quote-preview-items th,.quote-preview-items td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:.85rem}.quote-preview-items th{color:#475569;letter-spacing:.05em;text-transform:uppercase;background:#f8fafc;font-size:.74rem;font-weight:700}.quote-preview-items td span{color:#64748b;margin-top:.25rem;font-size:.88rem;line-height:1.45;display:block}.quote-preview-totals{justify-self:end;gap:.5rem;min-width:320px;display:grid}.quote-preview-totals div{justify-content:space-between;align-items:center;gap:1rem;display:flex}.quote-preview-totals span{color:#475569;font-weight:700}.quote-preview-total-final{border-top:2px solid #111827;margin-top:.35rem;padding-top:.65rem;font-size:1.25rem}.quote-preview-notes{border-top:1px solid #e5e7eb;gap:1rem;padding-top:1.25rem;display:grid}@media (width<=760px){.quote-preview-header{display:grid}.quote-preview-meta{text-align:left}.quote-preview-client{grid-template-columns:1fr}.quote-preview-totals{justify-self:stretch;min-width:0}}.quote-preview-toolbar{justify-content:space-between;align-items:flex-start;gap:1rem;max-width:960px;margin:0 auto 1rem;display:flex}.quote-preview-toolbar h3{color:var(--color-text,#111827);margin:0}.quote-preview-toolbar p{color:var(--color-text-muted,#475569);margin:.35rem 0 0;line-height:1.55}.quote-preview-toolbar-actions{flex-shrink:0;align-items:flex-start;gap:.5rem;display:flex}.quote-preview-watermark-select{color:var(--color-text-muted,#475569);flex-direction:column;gap:.25rem;font-size:.78rem;font-weight:700;display:flex}.quote-preview-watermark-select select{font:inherit;border:1px solid var(--color-border,#d1d5db);border-radius:var(--radius-md,.75rem);background:var(--color-surface,#fff);color:var(--color-text,#111827);padding:.4rem .6rem;font-size:.82rem}@media print{@page{margin:12mm;size:letter}body{background:#fff!important}body *{visibility:hidden!important}.quote-preview-page,.quote-preview-page *{visibility:visible!important}.quote-preview-page{position:absolute;top:0;left:0;box-shadow:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.quote-preview-shell{background:#fff!important;border:0!important;padding:0!important}.quote-preview-toolbar{display:none!important}.quote-preview-header,.quote-preview-client,.quote-preview-items table,.quote-preview-notes{break-inside:avoid}.quote-preview-items{overflow:visible!important}.quote-preview-items table{min-width:0!important}.quote-preview-items th,.quote-preview-items td{padding:.55rem!important}}@media (width<=760px){.quote-preview-toolbar{display:grid}}.quotes-status-description{color:var(--color-text-muted,#475569);font-size:.78rem;font-weight:700;display:block}.quotes-status-badge,.quote-preview-status-badge{border-radius:999px;justify-content:center;align-items:center;width:fit-content;font-weight:700;line-height:1;display:inline-flex}.quotes-status-badge{padding:.42rem .65rem;font-size:.74rem}.quote-preview-status-badge{text-transform:uppercase;margin-top:.35rem;padding:.5rem .75rem;font-size:.78rem}.quotes-status-badge.draft,.quote-preview-status-badge.draft{color:#334155;background:#f1f5f9}.quotes-status-badge.sent,.quote-preview-status-badge.sent{color:#1d4ed8;background:#dbeafe}.quotes-status-badge.accepted,.quote-preview-status-badge.accepted{color:#15803d;background:#dcfce7}.quotes-status-badge.rejected,.quote-preview-status-badge.rejected{color:#b91c1c;background:#fee2e2}.quotes-status-badge.cancelled,.quote-preview-status-badge.cancelled{color:#6b7280;background:#f3f4f6}@media print{html,body,#root{background:#fff!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}body *{visibility:hidden!important}.quote-preview-page,.quote-preview-page *{visibility:visible!important}.quote-preview-page{box-shadow:none!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0 auto!important;padding:0!important;display:block!important;position:absolute!important;top:0!important;left:0!important}.quote-preview-shell,.quotes-panel,.quotes-page{box-shadow:none!important;background:#fff!important;border:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.app-shell,.app-main,.app-content,.quotes-page{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}.app-sidebar,.quotes-header,.quotes-summary-grid,.quotes-error,.quotes-editor,.quotes-client-selector,.quotes-items-editor,.quote-readiness-panel,.quote-preview-toolbar,.quotes-search,.quotes-panel-header,.quotes-table-wrapper{display:none!important}.quote-preview-header,.quote-preview-client,.quote-preview-items table,.quote-preview-notes{break-inside:avoid;page-break-inside:avoid}.quote-preview-items{overflow:visible!important}.quote-preview-items table{width:100%!important;min-width:0!important}.quote-preview-items th,.quote-preview-items td{padding:.45rem!important}}.quote-workflow-panel{border-top:1px solid var(--color-border,#e2e8f0);gap:1.2rem;padding:1.5rem;display:grid}.quote-workflow-panel.draft{background:color-mix(in srgb, #64748b 6%, var(--color-surface,#fff))}.quote-workflow-panel.sent{background:color-mix(in srgb, #2563eb 6%, var(--color-surface,#fff))}.quote-workflow-panel.accepted{background:color-mix(in srgb, #16a34a 6%, var(--color-surface,#fff))}.quote-workflow-panel.rejected{background:color-mix(in srgb, #dc2626 6%, var(--color-surface,#fff))}.quote-workflow-panel.cancelled{background:color-mix(in srgb, #6b7280 6%, var(--color-surface,#fff))}.quote-workflow-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.quote-workflow-header h3{color:var(--color-text,#111827);margin:0}.quote-workflow-header p{color:var(--color-text-muted,#475569);margin:.35rem 0 0;line-height:1.55}.quote-workflow-status{border-radius:999px;flex:none;padding:.55rem .8rem;font-size:.78rem;font-weight:700}.quote-workflow-status.draft{color:#334155;background:#f1f5f9}.quote-workflow-status.sent{color:#1d4ed8;background:#dbeafe}.quote-workflow-status.accepted{color:#15803d;background:#dcfce7}.quote-workflow-status.rejected{color:#b91c1c;background:#fee2e2}.quote-workflow-status.cancelled{color:#6b7280;background:#f3f4f6}.quote-workflow-actions{flex-wrap:wrap;gap:.75rem;display:flex}.quote-workflow-button{cursor:pointer;font:inherit;border:0;border-radius:999px;padding:.75rem 1rem;font-weight:700;transition:transform .16s,box-shadow .16s,opacity .16s}.quote-workflow-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px #0f172a24}.quote-workflow-button:disabled{cursor:not-allowed;opacity:.65}.quote-workflow-button.primary{background:var(--color-primary,#1f4f9c);color:#fff}.quote-workflow-button.secondary{border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);background:#fff}.quote-workflow-button.success{color:#fff;background:#16a34a}.quote-workflow-button.danger{color:#fff;background:#dc2626}@media (width<=760px){.quote-workflow-header{display:grid}}.quote-preview-file-name{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 8%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, var(--color-border,#e2e8f0));color:var(--color-text,#111827);border-radius:999px;margin-top:.65rem;padding:.45rem .75rem;font-size:.82rem;font-weight:700;display:inline-flex}.quote-preview-shell{background:radial-gradient(circle at 0 0,#1f4f9c1f,#0000 34rem),#e5e7eb}.quote-preview-page{border:1px solid #0f172a14}@media print{.quote-preview-file-name{display:none!important}}.maxemi-quote-document{--maxemi-navy:#0b2742;--maxemi-steel:#314b60;--maxemi-light:#eef3f7;--maxemi-orange:#f57c20;--maxemi-text:#172033;color:var(--maxemi-text);border:0;border-radius:0;gap:1.1rem;max-width:960px;padding:.95rem;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.maxemi-quote-hero{border-bottom:3px solid var(--maxemi-orange);background:linear-gradient(135deg,#0b2742fa,#0b2742f0),radial-gradient(circle at 100% 0,#f57c2038,#0000 24rem);justify-content:space-between;align-items:center;min-height:88px;padding:1rem 1.25rem;display:flex}.maxemi-quote-logo-zone{align-items:center;min-height:58px;display:flex}.maxemi-quote-logo-zone img{object-fit:contain;max-width:150px;max-height:64px}.maxemi-quote-logo-placeholder{color:#fff;letter-spacing:.05em;font-size:1.35rem;font-weight:950}.maxemi-quote-hero-title{color:#fff;text-align:right}.maxemi-quote-hero-title p{letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:700}.maxemi-quote-hero-title h2{color:#61c6d7;text-transform:uppercase;margin:.55rem 0 0;font-size:.92rem}.maxemi-quote-title-block{justify-content:space-between;align-items:flex-start;gap:1rem;padding:.4rem .1rem 0;display:flex}.maxemi-quote-title-block h1{color:var(--maxemi-navy);text-transform:uppercase;margin:0;font-family:Georgia,Times New Roman,serif;font-size:2.65rem;line-height:.95}.maxemi-quote-title-block p{color:var(--maxemi-orange);margin:.4rem 0 0;font-size:.95rem;font-weight:700}.maxemi-quote-status{text-transform:uppercase;border-radius:999px;padding:.55rem .85rem;font-size:.78rem;font-weight:950}.maxemi-quote-status.draft{color:#334155;background:#f1f5f9}.maxemi-quote-status.sent{color:#1d4ed8;background:#dbeafe}.maxemi-quote-status.accepted{color:#15803d;background:#dcfce7}.maxemi-quote-status.rejected{color:#b91c1c;background:#fee2e2}.maxemi-quote-status.cancelled{color:#6b7280;background:#f3f4f6}.maxemi-quote-meta-grid{border:1px solid #d9e1e8;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.maxemi-quote-meta-grid article{background:var(--maxemi-light);border-bottom:1px solid #d9e1e8;border-right:1px solid #d9e1e8;gap:.25rem;min-height:70px;padding:.75rem .85rem;display:grid}.maxemi-quote-meta-grid article:nth-child(3n){border-right:0}.maxemi-quote-meta-grid article:nth-last-child(-n+3){border-bottom:0}.maxemi-quote-meta-grid span,.maxemi-quote-executive-summary h3,.maxemi-quote-economic-scope h3,.maxemi-quote-value-section h3,.maxemi-quote-notes-section h3{color:var(--maxemi-navy);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:950}.maxemi-quote-meta-grid strong{color:var(--maxemi-text);font-size:.94rem;line-height:1.25}.maxemi-quote-executive-summary,.maxemi-quote-economic-scope,.maxemi-quote-value-section,.maxemi-quote-notes-section{gap:.55rem;display:grid}.maxemi-quote-executive-summary>div{border:1px solid #d9e1e8;border-left:4px solid var(--maxemi-orange);background:#f8fafc;padding:.85rem 1rem}.maxemi-quote-executive-summary p{color:#334155;margin:0;line-height:1.55}.maxemi-quote-table-wrapper{overflow-x:auto}.maxemi-quote-economic-scope table{border-collapse:collapse;width:100%;min-width:760px}.maxemi-quote-economic-scope th{background:var(--maxemi-navy);color:#fff;letter-spacing:.04em;text-transform:uppercase;padding:.85rem;font-size:.74rem;font-weight:950}.maxemi-quote-economic-scope td{color:#334155;vertical-align:top;border:1px solid #d9e1e8;padding:.85rem}.maxemi-quote-economic-scope tbody tr:nth-child(2n) td{background:var(--maxemi-light)}.maxemi-quote-economic-scope td:first-child{width:48%}.maxemi-quote-economic-scope td span{color:#64748b;margin-top:.25rem;font-size:.86rem;line-height:1.45;display:block}.maxemi-quote-totals{border:1px solid #d9e1e8;border-top:0;width:max-content;min-width:300px;max-width:100%;margin-left:auto;display:grid}.maxemi-quote-totals div{background:#f8fafc;border-bottom:1px solid #d9e1e8;justify-content:space-between;align-items:center;display:flex}.maxemi-quote-totals div:last-child{border-bottom:0}.maxemi-quote-totals span,.maxemi-quote-totals strong{padding:.75rem .85rem}.maxemi-quote-totals span{color:var(--maxemi-navy);text-transform:uppercase;font-size:.78rem;font-weight:950}.maxemi-quote-totals strong{color:var(--maxemi-text);text-align:right;white-space:nowrap}.maxemi-quote-grand-total span{background:var(--maxemi-navy);color:#fff;flex:none}.maxemi-quote-grand-total strong{background:var(--maxemi-orange);color:#fff;text-align:right;white-space:nowrap;flex:auto;font-size:1rem}.maxemi-quote-value-section{page-break-inside:avoid}.maxemi-quote-observations{border:1px solid #d9e1e8;border-left:4px solid var(--maxemi-orange);page-break-inside:avoid;background:#fbfdff;margin-top:.9rem;padding:.75rem .9rem}.maxemi-quote-observations h3{color:var(--maxemi-navy);text-transform:uppercase;margin:0 0 .35rem;font-size:.82rem}.maxemi-quote-observations p{color:var(--maxemi-text);white-space:pre-wrap;margin:0;font-size:.82rem;line-height:1.45}.maxemi-quote-value-grid{border:1px solid #d9e1e8;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.maxemi-quote-value-grid article{background:var(--maxemi-light);border-right:1px solid #d9e1e8;padding:.85rem}.maxemi-quote-value-grid article:last-child{border-right:0}.maxemi-quote-value-grid strong{color:var(--maxemi-navy);text-transform:uppercase;margin-bottom:.5rem;font-size:.8rem;font-weight:950;display:block}.maxemi-quote-value-grid p,.maxemi-quote-notes-section p{color:#334155;margin:0;font-size:.9rem;line-height:1.5}.maxemi-quote-notes-section{border-top:1px solid #d9e1e8;padding-top:.8rem}.maxemi-quote-footer{color:#64748b;border-top:1px solid #d9e1e8;flex-wrap:wrap;justify-content:center;align-items:center;gap:.55rem;padding-top:.85rem;font-size:.72rem;font-weight:700;display:flex}.maxemi-quote-footer span:not(:last-child):after{color:var(--maxemi-orange);content:"|";margin-left:.55rem}@media print{.maxemi-quote-document{gap:.75rem!important;padding:0!important}.maxemi-quote-hero{min-height:76px!important;padding:.75rem 1rem!important}.maxemi-quote-title-block h1{font-size:2.25rem!important}.maxemi-quote-economic-scope table{min-width:0!important}.maxemi-quote-economic-scope th,.maxemi-quote-economic-scope td{padding:.55rem!important}.maxemi-quote-value-grid{break-inside:avoid;page-break-inside:avoid}}@media (width<=760px){.maxemi-quote-hero,.maxemi-quote-title-block{text-align:left;display:grid}.maxemi-quote-hero-title{text-align:left}.maxemi-quote-meta-grid,.maxemi-quote-value-grid{grid-template-columns:1fr}.maxemi-quote-meta-grid article,.maxemi-quote-value-grid article{border-right:0}.maxemi-quote-meta-grid article:nth-last-child(-n+3){border-bottom:1px solid #d9e1e8}.maxemi-quote-meta-grid article:last-child,.maxemi-quote-value-grid article:last-child{border-bottom:0}.maxemi-quote-totals{max-width:none}}.quotes-table-wrapper{overflow-x:auto}.quotes-table th:last-child,.quotes-table td:last-child{white-space:nowrap;min-width:140px}.quotes-row-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.quotes-link-button{color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;text-underline-offset:.2rem;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.quotes-link-button.danger{color:#dc2626}.maxemi-quote-second-page{border-top:3px solid var(--maxemi-orange);page-break-before:always;gap:1rem;margin-top:.5rem;padding-top:1.1rem;display:grid}.maxemi-quote-section-heading{border-bottom:3px solid var(--maxemi-orange);color:#fff;background:linear-gradient(135deg,#0b2742fa,#314b60f2);padding:1rem 1.15rem}.maxemi-quote-section-heading p{color:#fff;letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:950}.maxemi-quote-section-heading h2{color:#fff;text-transform:uppercase;margin:.3rem 0 0;font-size:1.45rem}.maxemi-quote-section-heading span{color:#e2e8f0;margin-top:.35rem;font-size:.9rem;display:block}.maxemi-quote-conditions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.maxemi-quote-conditions-grid article{background:var(--maxemi-light);border:1px solid #d9e1e8;border-left:4px solid var(--maxemi-orange);gap:.28rem;min-height:108px;padding:.85rem;display:grid}.maxemi-quote-conditions-grid span,.maxemi-quote-technical-scope h3,.maxemi-quote-assumptions h3,.maxemi-quote-acceptance h3{color:var(--maxemi-navy);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:950}.maxemi-quote-conditions-grid strong{color:var(--maxemi-text);font-size:.98rem}.maxemi-quote-conditions-grid p{color:#334155;margin:0;font-size:.88rem;line-height:1.45}.maxemi-quote-technical-scope,.maxemi-quote-assumptions,.maxemi-quote-acceptance{gap:.6rem;display:grid}.maxemi-quote-technical-scope ul,.maxemi-quote-assumptions ol{color:#334155;background:#fff;border:1px solid #d9e1e8;gap:.45rem;margin:0;padding:.9rem 1.15rem .9rem 1.6rem;line-height:1.45;display:grid}.maxemi-quote-signature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.maxemi-quote-signature-grid article{background:var(--maxemi-light);border:1px solid #d9e1e8;gap:.65rem;min-height:135px;padding:.9rem;display:grid}.maxemi-quote-signature-grid span{color:var(--maxemi-navy);text-transform:uppercase;font-size:.78rem;font-weight:950}.maxemi-signature-line{border-bottom:1px solid #64748b;height:2.3rem}.maxemi-quote-signature-grid p,.maxemi-quote-signature-grid small{color:#334155;margin:0}.maxemi-quote-confidentiality{color:#64748b;text-align:center;border-top:1px solid #d9e1e8;margin:0;padding-top:.75rem;font-size:.78rem;line-height:1.45}@media print{.maxemi-quote-second-page{margin-top:0!important;padding-top:0!important}.maxemi-quote-section-heading{padding:.75rem 1rem!important}.maxemi-quote-conditions-grid{gap:.55rem!important}.maxemi-quote-conditions-grid article{min-height:84px!important;padding:.6rem!important}.maxemi-quote-technical-scope ul,.maxemi-quote-assumptions ol{gap:.25rem!important;padding-top:.65rem!important;padding-bottom:.65rem!important}.maxemi-quote-signature-grid article{min-height:108px!important;padding:.65rem!important}}@media (width<=760px){.maxemi-quote-conditions-grid,.maxemi-quote-signature-grid{grid-template-columns:1fr}}@media print{@page{size:letter;margin:8mm}.quote-preview-page.maxemi-quote-document{gap:.38rem!important;padding:0!important;font-size:10px!important;line-height:1.25!important}.maxemi-quote-hero{min-height:54px!important;padding:.45rem .65rem!important}.maxemi-quote-logo-zone{min-height:42px!important}.maxemi-quote-logo-zone img{max-width:120px!important;max-height:44px!important}.maxemi-quote-logo-placeholder{font-size:1rem!important}.maxemi-quote-hero-title p{font-size:.62rem!important}.maxemi-quote-hero-title h2{margin-top:.25rem!important;font-size:.68rem!important}.maxemi-quote-title-block{padding-top:.15rem!important}.maxemi-quote-title-block h1{font-size:1.85rem!important;line-height:.9!important}.maxemi-quote-title-block p{margin-top:.18rem!important;font-size:.72rem!important}.maxemi-quote-status{padding:.35rem .55rem!important;font-size:.58rem!important}.maxemi-quote-meta-grid article{gap:.15rem!important;min-height:44px!important;padding:.42rem .5rem!important}.maxemi-quote-meta-grid span,.maxemi-quote-executive-summary h3,.maxemi-quote-economic-scope h3,.maxemi-quote-value-section h3,.maxemi-quote-notes-section h3,.maxemi-quote-conditions-grid span,.maxemi-quote-technical-scope h3,.maxemi-quote-assumptions h3,.maxemi-quote-acceptance h3{letter-spacing:.035em!important;font-size:.58rem!important}.maxemi-quote-meta-grid strong{font-size:.72rem!important;line-height:1.15!important}.maxemi-quote-executive-summary,.maxemi-quote-economic-scope,.maxemi-quote-value-section,.maxemi-quote-notes-section{gap:.3rem!important}.maxemi-quote-executive-summary>div{border-left-width:3px!important;padding:.45rem .55rem!important}.maxemi-quote-executive-summary p{font-size:.72rem!important;line-height:1.3!important}.maxemi-quote-economic-scope table{table-layout:fixed!important;min-width:0!important}.maxemi-quote-economic-scope th{padding:.38rem .42rem!important;font-size:.56rem!important}.maxemi-quote-economic-scope td{padding:.38rem .42rem!important;font-size:.68rem!important}.maxemi-quote-economic-scope td:first-child{width:48%!important}.maxemi-quote-economic-scope td span{margin-top:.12rem!important;font-size:.62rem!important;line-height:1.25!important}.maxemi-quote-totals{width:max-content!important;min-width:240px!important;max-width:100%!important}.maxemi-quote-totals span,.maxemi-quote-totals strong{white-space:nowrap!important;padding:.38rem .48rem!important;font-size:.66rem!important}.maxemi-quote-grand-total strong{font-size:.78rem!important}.maxemi-quote-value-grid article{padding:.45rem!important}.maxemi-quote-value-grid strong{margin-bottom:.25rem!important;font-size:.58rem!important}.maxemi-quote-value-grid p,.maxemi-quote-notes-section p{font-size:.66rem!important;line-height:1.25!important}.maxemi-quote-second-page{break-before:page!important;page-break-before:always!important;gap:.55rem!important;margin-top:0!important;padding-top:0!important}.maxemi-quote-section-heading p{font-size:.56rem!important}.maxemi-quote-section-heading h2{margin-top:.16rem!important;font-size:1rem!important}.maxemi-quote-section-heading span{margin-top:.18rem!important;font-size:.68rem!important}.maxemi-quote-conditions-grid{gap:.4rem!important}.maxemi-quote-conditions-grid article{border-left-width:3px!important;gap:.14rem!important;min-height:58px!important;padding:.42rem!important}.maxemi-quote-technical-scope,.maxemi-quote-assumptions,.maxemi-quote-acceptance{gap:.3rem!important}.maxemi-quote-technical-scope ul,.maxemi-quote-assumptions ol{gap:.18rem!important;padding:.45rem .65rem .45rem 1rem!important;font-size:.64rem!important;line-height:1.22!important}.maxemi-quote-signature-grid{gap:.55rem!important}.maxemi-quote-signature-grid article{gap:.3rem!important;min-height:72px!important;padding:.45rem!important}.maxemi-quote-signature-grid span,.maxemi-quote-signature-grid p,.maxemi-quote-signature-grid small{font-size:.62rem!important}.maxemi-quote-footer{gap:.3rem!important;padding-top:.35rem!important;font-size:.55rem!important;display:none!important}.maxemi-quote-second-page:after{color:#64748b;content:"MAXEMI  |  Teléfono  |  Correo  |  maxxemi.com";text-align:center;border-top:1px solid #d9e1e8;margin-top:.35rem;padding-top:.35rem;font-size:.55rem;font-weight:700;display:block}.maxemi-quote-second-page{page-break-after:avoid!important;break-after:avoid!important;min-height:auto!important}.maxemi-quote-confidentiality{margin-bottom:0!important}.maxemi-quote-second-page{gap:.42rem!important}.maxemi-quote-section-heading{padding:.45rem .65rem!important}.maxemi-quote-section-heading h2{font-size:.92rem!important}.maxemi-quote-conditions-grid article{min-height:52px!important;padding:.35rem .42rem!important}.maxemi-quote-conditions-grid strong{font-size:.68rem!important}.maxemi-quote-conditions-grid p{font-size:.58rem!important;line-height:1.18!important}.maxemi-quote-technical-scope ul,.maxemi-quote-assumptions ol{padding:.36rem .55rem .36rem .95rem!important;font-size:.58rem!important;line-height:1.18!important}.maxemi-quote-signature-grid article{min-height:62px!important;padding:.35rem .45rem!important}.maxemi-signature-line{height:1rem!important}.maxemi-quote-confidentiality{padding-top:.25rem!important;font-size:.52rem!important;line-height:1.15!important}}.maxemi-quote-document{text-rendering:geometricprecision}.maxemi-quote-economic-scope td,.maxemi-quote-conditions-grid p,.maxemi-quote-technical-scope li,.maxemi-quote-assumptions li,.maxemi-quote-meta-grid strong{overflow-wrap:anywhere}@media print{.maxemi-quote-document{-webkit-print-color-adjust:exact;print-color-adjust:exact}.maxemi-quote-economic-scope,.maxemi-quote-value-section{break-inside:avoid;page-break-inside:avoid}.maxemi-quote-conditions-grid,.maxemi-quote-signature-grid,.maxemi-quote-economic-scope tbody tr{break-inside:avoid;page-break-inside:avoid}.maxemi-quote-economic-scope,.maxemi-quote-table-wrapper{break-inside:auto!important;page-break-inside:auto!important}.maxemi-quote-economic-scope table{break-inside:auto!important;page-break-inside:auto!important;width:100%!important}.maxemi-quote-economic-scope th,.maxemi-quote-economic-scope td{vertical-align:top!important;line-height:1.18!important}.maxemi-quote-totals{break-inside:avoid!important;page-break-inside:avoid!important;margin-top:.28rem!important}.maxemi-quote-value-section{break-inside:auto!important;page-break-inside:auto!important}.maxemi-quote-value-grid{break-inside:avoid!important;page-break-inside:avoid!important;gap:.38rem!important}.maxemi-quote-second-page{break-before:page!important;page-break-before:always!important;break-inside:auto!important;page-break-inside:auto!important}.maxemi-quote-technical-scope,.maxemi-quote-assumptions,.maxemi-quote-acceptance,.maxemi-quote-confidentiality{break-inside:avoid!important;page-break-inside:avoid!important}.maxemi-quote-document{gap:.32rem!important}.maxemi-quote-meta-grid{gap:.38rem!important}.maxemi-quote-executive-summary{margin-bottom:.1rem!important}.maxemi-quote-economic-scope h3,.maxemi-quote-value-section h3{margin-bottom:.2rem!important}.maxemi-quote-economic-scope td:first-child strong{margin-bottom:.08rem!important;display:block!important}.maxemi-quote-economic-scope td:first-child span{max-height:2.4em!important;display:block!important;overflow:hidden!important}.quote-preview-page.maxemi-quote-document,.maxemi-quote-economic-scope,.maxemi-quote-table-wrapper,.maxemi-quote-value-section,.maxemi-quote-second-page{display:block!important}.maxemi-quote-title-block,.maxemi-quote-meta-grid,.maxemi-quote-value-grid,.maxemi-quote-conditions-grid,.maxemi-quote-signature-grid{display:grid!important}.maxemi-quote-economic-scope{break-before:auto!important;page-break-before:auto!important;break-inside:auto!important;page-break-inside:auto!important;margin-top:.28rem!important}.maxemi-quote-table-wrapper{break-before:auto!important;page-break-before:auto!important;break-inside:auto!important;page-break-inside:auto!important;overflow:visible!important}.maxemi-quote-economic-scope table{break-before:auto!important;page-break-before:auto!important;break-inside:auto!important;page-break-inside:auto!important;border-collapse:collapse!important}.maxemi-quote-economic-scope thead{display:table-header-group!important}.maxemi-quote-economic-scope tfoot{display:table-footer-group!important}.maxemi-quote-economic-scope tbody{display:table-row-group!important}.maxemi-quote-economic-scope tr{break-inside:avoid!important;page-break-inside:avoid!important}.maxemi-quote-economic-scope th{padding:.28rem .36rem!important}.maxemi-quote-economic-scope td{padding:.3rem .36rem!important}.maxemi-quote-economic-scope td:first-child span{max-height:1.9em!important}.maxemi-quote-totals{break-inside:avoid!important;page-break-inside:avoid!important}.maxemi-quote-value-section{break-before:auto!important;page-break-before:auto!important;break-inside:avoid!important;page-break-inside:avoid!important;margin-top:.35rem!important}.maxemi-quote-second-page{break-before:page!important;page-break-before:always!important}.quote-preview-page.maxemi-quote-document{padding:0!important}.maxemi-quote-hero{min-height:38px!important;padding:.28rem .45rem!important}.maxemi-quote-logo-placeholder{letter-spacing:.08em!important;font-size:.72rem!important}.maxemi-quote-logo-zone img{max-width:100px!important;max-height:34px!important}.maxemi-quote-hero-title p{letter-spacing:.08em!important;font-size:.5rem!important}.maxemi-quote-hero-title h2{margin-top:.08rem!important;font-size:.52rem!important}.maxemi-quote-title-block{grid-template-columns:1fr auto!important;align-items:center!important;gap:.25rem!important;margin:0!important;padding:.08rem 0 0!important;display:grid!important}.maxemi-quote-title-block h1{margin:0!important;font-size:1.35rem!important;line-height:.9!important}.maxemi-quote-title-block p{margin:.06rem 0 0!important;font-size:.58rem!important;line-height:1!important}.maxemi-quote-status{min-width:74px!important;padding:.22rem .36rem!important;font-size:.46rem!important}.maxemi-quote-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:.2rem 0 0!important;display:grid!important}.maxemi-quote-meta-grid article{gap:.08rem!important;min-height:31px!important;padding:.28rem .38rem!important}.maxemi-quote-meta-grid span{letter-spacing:.05em!important;font-size:.45rem!important;line-height:1!important}.maxemi-quote-meta-grid strong{font-size:.56rem!important;line-height:1.05!important}.maxemi-quote-executive-summary{gap:.14rem!important;margin:.18rem 0 0!important}.maxemi-quote-executive-summary h3{font-size:.5rem!important;line-height:1!important}.maxemi-quote-executive-summary>div{border-left-width:2px!important;padding:.28rem .38rem!important}.maxemi-quote-executive-summary p{font-size:.55rem!important;line-height:1.18!important}.maxemi-quote-economic-scope{margin-top:.2rem!important}.maxemi-quote-economic-scope h3{margin-bottom:.12rem!important;font-size:.52rem!important;line-height:1!important}.maxemi-quote-economic-scope th{padding:.22rem .3rem!important;font-size:.48rem!important}.maxemi-quote-economic-scope td{padding:.24rem .3rem!important;font-size:.56rem!important}.maxemi-quote-economic-scope td:first-child span{max-height:2.1em!important;font-size:.5rem!important;line-height:1.08!important}.maxemi-quote-totals span,.maxemi-quote-totals strong{white-space:nowrap!important;padding:.26rem .36rem!important;font-size:.52rem!important}.maxemi-quote-grand-total strong{font-size:.62rem!important}.maxemi-quote-value-section{margin-top:.22rem!important}.maxemi-quote-value-section h3{margin-bottom:.12rem!important;font-size:.52rem!important}.maxemi-quote-value-grid article{padding:.3rem!important}.maxemi-quote-value-grid strong{font-size:.5rem!important}.maxemi-quote-value-grid p{font-size:.5rem!important;line-height:1.15!important}}.quote-preview-visibility-panel{background:color-mix(in srgb, var(--color-surface,#fff) 94%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);border-radius:var(--radius-xl,1.25rem);gap:1rem;margin-bottom:1.25rem;padding:1.1rem;display:grid;box-shadow:0 18px 36px #0f172a14}.quote-preview-visibility-panel h4{color:var(--color-text,#172033);margin:.2rem 0 0;font-size:1.05rem}.quote-preview-visibility-panel p{color:var(--color-muted,#64748b);margin:.25rem 0 0}.quote-preview-visibility-actions{flex-wrap:wrap;gap:.7rem;display:flex}.quote-preview-visibility-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:.7rem;display:grid}.quote-preview-visibility-option{background:color-mix(in srgb, var(--color-background,#f8fafc) 92%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);color:var(--color-text,#172033);cursor:pointer;border-radius:999px;align-items:center;gap:.55rem;padding:.55rem .75rem;font-size:.9rem;font-weight:700;display:flex}.quote-preview-visibility-option input{accent-color:var(--color-primary,#0b2742)}@media print{.quote-preview-visibility-panel{display:none!important}.maxemi-quote-document.no-second-page .maxemi-quote-footer{color:#64748b;text-align:center;border-top:1px solid #d9e1e8;justify-content:center;font-weight:700;margin-top:.45rem!important;padding-top:.35rem!important;font-size:.55rem!important;display:flex!important}}.quote-preview-value-placement{background:color-mix(in srgb, var(--color-background,#f8fafc) 92%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dee9) 85%, transparent);border-radius:1rem;gap:.45rem;padding:.8rem;display:grid}.quote-preview-value-placement span{color:var(--color-text,#172033);font-size:.9rem;font-weight:700}.quote-preview-value-placement select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);font:inherit;border-radius:.8rem;padding:.65rem .8rem;font-weight:700}.quote-preview-value-placement small{color:var(--color-muted,#64748b);font-size:.78rem}@media print{@page{size:letter;margin:8mm;@bottom-right{content:"Página " counter(page) " de " counter(pages);color:#64748b;font-family:Arial,sans-serif;font-size:8px;font-weight:700}}}.quotes-client-card-wide{grid-column:1/-1}.quotes-quick-client-form{background:color-mix(in srgb, var(--color-background,#f8fafc) 92%, transparent);border:1px solid var(--color-border,#d8dee9);border-radius:1rem;grid-column:1/-1;gap:1rem;padding:1rem;display:grid}.quotes-quick-client-form h4{color:var(--color-text,#172033);margin:.15rem 0 0;font-size:1.05rem}.quotes-quick-client-form p{color:var(--color-muted,#64748b);margin:.25rem 0 0}.maxemi-quote-document.compact-one-page{gap:.42rem}.maxemi-quote-document.compact-one-page .maxemi-quote-hero{min-height:54px;padding:.7rem .9rem}.maxemi-quote-document.compact-one-page .maxemi-quote-title-block,.maxemi-quote-document.compact-one-page .maxemi-quote-meta-grid,.maxemi-quote-document.compact-one-page .maxemi-quote-executive-summary,.maxemi-quote-document.compact-one-page .maxemi-quote-economic-scope,.maxemi-quote-document.compact-one-page .maxemi-quote-value-section,.maxemi-quote-document.compact-one-page .maxemi-quote-compact-conditions{margin-top:.35rem}.maxemi-quote-compact-conditions{border:1px solid #d9e2ec;gap:.38rem;padding:.45rem;display:grid}.maxemi-quote-compact-conditions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;display:grid}.maxemi-quote-compact-conditions-grid article{background:#eef3f8;border-left:3px solid #f37021;padding:.38rem .45rem}.maxemi-quote-compact-conditions-grid span,.maxemi-quote-compact-signatures span{color:#102338;letter-spacing:.04em;text-transform:uppercase;font-size:.48rem;font-weight:700;display:block}.maxemi-quote-compact-conditions-grid strong{color:#0f2438;margin-top:.08rem;font-size:.58rem;display:block}.maxemi-quote-compact-conditions-grid p{color:#36506a;margin:.12rem 0 0;font-size:.48rem;line-height:1.35}.maxemi-quote-compact-signatures{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;display:grid}.maxemi-quote-compact-signatures article{background:#f6f9fc;border:1px solid #d9e2ec;padding:.4rem .45rem}.maxemi-quote-compact-signatures .maxemi-signature-line{margin-top:.42rem}.maxemi-quote-compact-signatures p{color:#50667c;margin:.16rem 0 0;font-size:.48rem}.maxemi-quote-compact-confidentiality{color:#50667c;text-align:center;border-top:1px solid #d9e2ec;margin:0;padding-top:.25rem;font-size:.46rem;line-height:1.35}@media print{.maxemi-quote-document.compact-one-page{page-break-after:auto;min-height:auto}.maxemi-quote-document.compact-one-page .maxemi-quote-second-page{display:none}}.maxemi-quote-second-page .maxemi-quote-footer{page-break-before:avoid;break-before:avoid;margin-top:.35rem}.maxemi-quote-second-page .maxemi-quote-confidentiality{margin-bottom:.2rem}.quotes-catalog-smart-panel{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:stretch;gap:1rem;display:grid}.quotes-catalog-controls{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(180px,.28fr);gap:.75rem;display:grid}.quotes-catalog-results,.quotes-catalog-preview{background:color-mix(in srgb, var(--color-surface,#fff) 94%, var(--color-background,#f8fafc));border:1px solid var(--color-border,#d8dee9);border-radius:1rem;padding:1rem}.quotes-catalog-results-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.quotes-catalog-results-header span,.quotes-catalog-preview-heading span,.quotes-catalog-preview-grid span{color:var(--color-muted,#64748b);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:700}.quotes-catalog-results-header strong{background:color-mix(in srgb, var(--color-primary,#f37021) 14%, transparent);color:var(--color-primary,#f37021);border-radius:999px;padding:.2rem .55rem;font-size:.8rem}.quotes-catalog-list{gap:.55rem;max-height:360px;padding-right:.25rem;display:grid;overflow:auto}.quotes-catalog-option{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d8dee9);border-radius:var(--radius-md,.75rem);cursor:pointer;text-align:left;gap:.18rem;padding:.75rem;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.quotes-catalog-option:hover,.quotes-catalog-option.selected{border-color:var(--color-primary,#f37021);box-shadow:0 14px 32px color-mix(in srgb, var(--color-primary,#f37021) 14%, transparent);transform:translateY(-1px)}.quotes-catalog-option span{color:var(--color-primary,#f37021);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:700}.quotes-catalog-option strong{color:var(--color-text,#172033);font-size:.96rem}.quotes-catalog-option small{color:var(--color-muted,#64748b);font-size:.78rem}.quotes-catalog-empty,.quotes-catalog-preview-empty{background:color-mix(in srgb, var(--color-background,#f8fafc) 88%, transparent);border:1px dashed var(--color-border,#d8dee9);border-radius:var(--radius-md,.75rem);padding:1rem}.quotes-catalog-empty strong,.quotes-catalog-preview-empty strong{color:var(--color-text,#172033)}.quotes-catalog-empty p,.quotes-catalog-preview-empty p,.quotes-catalog-limit-note{color:var(--color-muted,#64748b);margin:.35rem 0 0}.quotes-catalog-limit-note{font-size:.82rem}.quotes-catalog-preview{align-content:start;gap:1rem;display:grid}.quotes-catalog-preview-heading{gap:.35rem;display:grid}.quotes-catalog-preview-heading strong{color:var(--color-text,#172033);font-size:1.15rem}.quotes-catalog-preview-heading p,.quotes-catalog-preview-notes{color:var(--color-muted,#64748b);margin:0;line-height:1.55}.quotes-catalog-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.quotes-catalog-preview-grid article{background:color-mix(in srgb, var(--color-background,#f8fafc) 90%, transparent);border:1px solid var(--color-border,#d8dee9);border-radius:.75rem;padding:.7rem}.quotes-catalog-preview-grid strong{color:var(--color-text,#172033);margin-top:.2rem;display:block}@media (width<=980px){.quotes-catalog-smart-panel,.quotes-catalog-controls{grid-template-columns:1fr}}.quotes-catalog-option.already-added{border-style:dashed}.quotes-catalog-option em{background:color-mix(in srgb, var(--color-primary,#f37021) 12%, transparent);color:var(--color-primary,#f37021);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;place-self:start;padding:.18rem .5rem;font-size:.68rem;font-style:normal;font-weight:700}.quotes-catalog-duplicate-note{background:color-mix(in srgb, var(--color-warning,#f59e0b) 12%, transparent);border:1px solid color-mix(in srgb, var(--color-warning,#f59e0b) 28%, transparent);color:var(--color-text,#172033);border-radius:.75rem;margin:0;padding:.7rem;font-size:.84rem;line-height:1.45}.quotes-catalog-action-notice{background:color-mix(in srgb, var(--color-primary,#f37021) 10%, var(--color-surface,#fff));border:1px solid color-mix(in srgb, var(--color-primary,#f37021) 28%, transparent);border-radius:var(--radius-md,.75rem);color:var(--color-text,#172033);grid-column:1/-1;padding:.8rem 1rem;font-size:.9rem;font-weight:700;line-height:1.45}.quotes-catalog-option{grid-template-columns:minmax(0,1fr) auto;align-items:center}.quotes-catalog-option-content{gap:.18rem;display:grid}.quotes-catalog-select-button{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);cursor:pointer;white-space:nowrap;border-radius:999px;padding:.45rem .75rem;font-size:.76rem;font-weight:700}.quotes-catalog-select-button:hover,.quotes-catalog-select-button.selected{background:var(--color-primary,#f37021);border-color:var(--color-primary,#f37021);color:#fff}.quotes-item-description-input{background:color-mix(in srgb, var(--color-surface,#fff) 96%, transparent);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);font:inherit;resize:vertical;border-radius:.65rem;width:100%;min-height:74px;margin-top:.55rem;padding:.6rem;line-height:1.4}.quotes-item-description-input:focus{border-color:var(--color-primary,#f37021);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary,#f37021) 14%, transparent);outline:none}.quotes-item-snapshot-note{color:var(--color-muted,#64748b);margin-top:.35rem;font-size:.72rem;display:block}.quotes-item-description-input{background:color-mix(in srgb, var(--color-background,#f8fafc) 88%, transparent);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);font:inherit;resize:vertical;border-radius:.7rem;width:100%;min-width:260px;margin-top:.45rem;padding:.55rem .65rem;line-height:1.45}.quotes-item-description-input:focus,.quotes-item-unit-input:focus{border-color:var(--color-primary,#f37021);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary,#f37021) 14%, transparent);outline:none}.quotes-item-quantity-unit{gap:.35rem;min-width:92px;display:grid}.quotes-item-unit-input{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d8dee9);color:var(--color-text,#172033);font:inherit;border-radius:.65rem;width:100%;padding:.45rem .5rem;font-size:.78rem}.quotes-hidden-file-input{display:none}.config-page{background:radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary,#1f4f9c) 10%, transparent), transparent 30rem), var(--color-background,#e7edf5);min-height:100vh;color:var(--color-text,#111827);padding:3rem 2rem}.config-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2.25rem;display:flex}.config-label{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;margin:0 0 1rem;font-size:.78rem;font-weight:700}.config-header h1{color:var(--color-text,#111827);margin:0;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.05}.config-description{color:var(--color-text-muted,#475569);max-width:58rem;margin:1rem 0 0;font-size:1rem}.config-state{flex-shrink:0;align-items:center;padding-top:3.9rem;display:flex}.config-status{white-space:nowrap;border-radius:999px;padding:.45rem .8rem;font-size:.86rem;font-weight:700;display:inline-flex}.config-status.saved{color:#126433;background:#d7f5e2}.config-status.pending{color:#7c4b00;background:#fcebca}.config-shell{grid-template-columns:260px minmax(0,1fr);align-items:flex-start;gap:1.5rem;display:grid}.config-nav{background:color-mix(in srgb, var(--color-surface,#fff) 72%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dde8) 72%, transparent);border-radius:1.1rem;padding:.8rem;position:sticky;top:1.5rem;box-shadow:0 16px 40px #0f172a14}.config-nav ul{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.config-nav-button{color:var(--color-text,#111827);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:.75rem;justify-content:flex-start;width:100%;padding:.75rem .85rem;font-size:.92rem;font-weight:650;transition:background-color .18s,color .18s,transform .18s;display:flex}.config-nav-button:hover{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 8%, transparent)}.config-nav-button:focus-visible{box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, transparent);outline:none}.config-nav-button.active{background:color-mix(in srgb, var(--color-primary,#1f4f9c) 12%, var(--color-surface,#fff));color:var(--color-text,#111827)}.config-main{gap:1.5rem;min-width:0;display:grid}.config-content{min-width:0}.config-section{gap:1.25rem;display:grid}.config-section-header h2{color:var(--color-text,#111827);margin:0;font-size:1.55rem}.config-section-header p{color:var(--color-text-muted,#475569);margin:.7rem 0 0;font-size:1rem}.config-card{background:color-mix(in srgb, var(--color-surface,#fff) 78%, transparent);border:1px solid color-mix(in srgb, var(--color-border,#d8dde8) 74%, transparent);border-radius:1.1rem;padding:1.25rem;box-shadow:0 14px 36px #0f172a12}.config-placeholder-card{color:var(--color-text,#111827);font-size:1rem}.config-placeholder-card p{margin:0}.config-actions{flex-wrap:wrap;align-items:center;gap:.9rem;margin-top:.5rem;display:flex}.config-actions button{cursor:pointer;font:inherit;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:2.9rem;padding:.75rem 1.25rem;font-weight:700;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex}.config-actions button:hover:not(:disabled){transform:translateY(-1px)}.config-actions button:focus-visible{box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 18%, transparent);outline:none}.config-actions button:disabled{cursor:not-allowed;opacity:.55}.config-actions button:first-child{background:var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff)}.config-actions button:not(:first-child){border-color:var(--color-border,#d8dde8);color:var(--color-text,#111827);background:0 0}.config-error{border-radius:var(--radius-md,.75rem);color:#8b1d1d;background:#fae7e7;border:1px solid #f1baba;padding:.9rem 1rem;font-weight:700}.config-success,.config-status-message{border-radius:var(--radius-md,.75rem);color:#126433;background:#e5f9ed;border:1px solid #c1efd2;padding:.9rem 1rem;font-weight:700}.config-loading{color:var(--color-text-muted,#475569);margin:0;font-size:1rem;font-weight:700}.config-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.config-field{flex-direction:column;gap:.4rem;display:flex}.config-field-full{grid-column:1/-1}.config-field label{color:var(--color-text,#111827);font-size:.9rem;font-weight:700}.config-field input,.config-field textarea,.config-field select{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);color:var(--color-text,#111827);font:inherit;width:100%;padding:.82rem .95rem;transition:border-color .18s,box-shadow .18s,background-color .18s}.config-field textarea{resize:vertical;min-height:7rem}.config-field input:focus,.config-field textarea:focus,.config-field select:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent);outline:none}.config-help-text{color:var(--color-text-muted,#475569);margin:0;font-size:.82rem}.config-logo-section,.config-preview-card{background:var(--color-surface-muted,#f6f8fb);border:1px dashed var(--color-border,#e2e8f0);border-radius:1rem;margin-top:1.25rem;padding:1rem}.config-logo-section strong,.config-preview-card span{color:var(--color-text,#111827);margin-bottom:.35rem;font-weight:700;display:block}.config-logo-section p{color:var(--color-text-muted,#475569);margin:0 0 .75rem;font-size:.85rem}.config-logo-preview{align-items:center;gap:1rem;display:flex}.config-logo-preview img{border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md,.75rem);object-fit:contain;background:#fff;max-width:180px;max-height:64px;padding:.35rem}.config-logo-actions{gap:.5rem;display:flex}.config-logo-btn{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;border-radius:999px;padding:.45rem .85rem;font-size:.82rem;font-weight:700;transition:border-color .18s,background-color .18s}.config-logo-btn:hover{border-color:var(--color-primary,#1f4f9c)}.config-logo-btn.danger{color:#9f2020}.config-logo-btn.danger:hover{border-color:#9f2020}.config-logo-upload-btn{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-primary,#1f4f9c);cursor:pointer;font:inherit;border-radius:999px;padding:.6rem 1.1rem;font-size:.88rem;font-weight:700;transition:border-color .18s,transform .18s}.config-logo-upload-btn:hover{border-color:var(--color-primary,#1f4f9c);transform:translateY(-1px)}.config-preview-card strong{background:var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff);letter-spacing:.04em;border-radius:999px;margin-top:.35rem;padding:.45rem .85rem;font-size:1rem;display:inline-flex}.appearance-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:1.25rem;display:grid}.appearance-panel{flex-direction:column;gap:.9rem;display:flex}.appearance-panel h3{color:var(--color-text,#111827);margin:0;font-size:1rem}.appearance-panel p{color:var(--color-text-muted,#475569);margin:0}.theme-option-grid{gap:.85rem;display:grid}.theme-option{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);cursor:pointer;text-align:left;border-radius:1rem;grid-template-columns:auto 1fr;align-items:center;gap:.9rem;padding:.9rem;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.theme-option:hover{transform:translateY(-1px)}.theme-option:focus-visible{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent);outline:none}.theme-option.selected{border-color:var(--color-primary,#1f4f9c);box-shadow:0 10px 24px color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent)}.theme-option strong,.theme-option small{display:block}.theme-option small{color:var(--color-text-muted,#475569);margin-top:.2rem;line-height:1.35}.theme-swatch{border-radius:999px;width:2.4rem;height:2.4rem;display:inline-block}.theme-swatch-navy{background:linear-gradient(135deg,#0d2023,#0f7f86)}.theme-swatch-executive-green{background:linear-gradient(135deg,#103d31,#2f8f6f)}.theme-swatch-elegant-wine{background:linear-gradient(135deg,#4b1025,#a0435f)}.theme-swatch-graphite{background:linear-gradient(135deg,#23272f,#737b8a)}.appearance-preview-card{background:var(--color-surface-muted,#f6f8fb);border:1px solid var(--color-border,#e2e8f0);border-radius:1rem;margin-top:.25rem;padding:1rem}.appearance-preview-card span{color:var(--color-text-muted,#475569);text-transform:uppercase;margin-bottom:.4rem;font-size:.8rem;font-weight:700;display:block}.appearance-preview-card strong{color:var(--color-text,#111827);margin-bottom:.4rem;font-size:1.2rem;display:block}.appearance-preview-card p{color:var(--color-text-muted,#475569);margin:0;line-height:1.5}@media (width<=980px){.config-page{padding:2rem 1rem}.config-header{display:grid}.config-state{padding-top:0}.config-shell{grid-template-columns:1fr}.config-nav{position:static}.config-nav ul{padding-bottom:.2rem;display:flex;overflow-x:auto}.config-nav li{flex:none}.config-nav-button{white-space:nowrap}.appearance-grid{grid-template-columns:1fr}}@media (width<=720px){.config-form-grid{grid-template-columns:1fr}.config-card{padding:1rem}.config-actions{flex-direction:column;align-items:stretch}.config-actions button{width:100%}}.config-secondary-button,.config-danger-button{cursor:pointer;font:inherit;border-radius:999px;justify-content:center;align-items:center;min-height:2.5rem;padding:.65rem 1rem;font-size:.9rem;font-weight:700;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex}.config-secondary-button{background:var(--color-primary,#1f4f9c);border:1px solid var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff)}.config-danger-button{border:1px solid color-mix(in srgb, #d83b3b 45%, var(--color-border,#e2e8f0));color:#9f2020;background:0 0}.config-secondary-button:hover,.config-danger-button:hover:not(:disabled){transform:translateY(-1px)}.config-secondary-button:focus-visible,.config-danger-button:focus-visible{box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 16%, transparent);outline:none}.config-danger-button:disabled{cursor:not-allowed;opacity:.5}.config-table-wrapper{overflow-x:auto}.config-table{border-collapse:collapse;width:100%;min-width:760px}.config-table th,.config-table td{border-bottom:1px solid var(--color-border,#e2e8f0);text-align:left;vertical-align:middle;padding:.85rem}.config-table th{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:600}.config-table tbody tr{transition:background-color var(--transition-fast,.15s ease)}.config-table tbody tr:hover{background-color:var(--color-accent-light,#2563eb0a)}.config-table td input[type=text],.config-table td input[type=number]{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);color:var(--color-text,#111827);font:inherit;border-radius:.75rem;width:100%;padding:.7rem .8rem}.config-table td input[type=text]:focus,.config-table td input[type=number]:focus{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent);outline:none}.config-checkbox-inline{color:var(--color-text,#111827);white-space:nowrap;align-items:center;gap:.55rem;font-weight:700;display:inline-flex}.config-checkbox-inline input{accent-color:var(--color-primary,#1f4f9c);width:1rem;height:1rem}.config-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.config-toggle-card{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);cursor:pointer;border-radius:1rem;grid-template-columns:auto 1fr;align-items:flex-start;gap:.75rem;padding:1rem;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.config-toggle-card:hover{transform:translateY(-1px)}.config-toggle-card:focus-within{border-color:var(--color-primary,#1f4f9c);box-shadow:0 0 0 4px color-mix(in srgb, var(--color-primary,#1f4f9c) 14%, transparent)}.config-toggle-card input{accent-color:var(--color-primary,#1f4f9c);margin-top:.2rem}.config-toggle-card strong,.config-toggle-card small{display:block}.config-toggle-card strong{color:var(--color-text,#111827);margin-bottom:.25rem}.config-toggle-card small{color:var(--color-text-muted,#475569);line-height:1.4}.config-empty-state{background:var(--color-surface-muted,#f6f8fb);border:1px dashed var(--color-border,#e2e8f0);border-radius:1rem;padding:1.25rem}.config-empty-state strong{color:var(--color-text,#111827);margin-bottom:.4rem;display:block}.config-empty-state p{color:var(--color-text-muted,#475569);margin:0}.config-sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=720px){.config-toggle-grid{grid-template-columns:1fr}.config-section-header{align-items:flex-start;gap:1rem;display:grid}}.config-backup-card{grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:1.25rem;display:grid}.config-backup-card h3{color:var(--color-text,#111827);margin:0;font-size:1.15rem}.config-backup-card p{color:var(--color-text-muted,#475569);margin:.55rem 0 0;line-height:1.55}.config-backup-list{color:var(--color-text,#111827);gap:.45rem;margin:1rem 0 0;padding-left:1.2rem;font-weight:700;display:grid}.config-backup-actions{flex-direction:column;justify-content:center;align-items:stretch;gap:.75rem;display:flex}.config-backup-actions button{background:var(--color-primary,#1f4f9c);color:var(--color-on-primary,#fff);cursor:pointer;font:inherit;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:2.9rem;padding:.75rem 1.25rem;font-weight:700;transition:background-color .18s,box-shadow .18s,transform .18s;display:inline-flex}.config-backup-actions button:hover:not(:disabled){transform:translateY(-1px)}.config-backup-actions button:disabled{cursor:not-allowed;opacity:.55}@media (width<=900px){.config-backup-card{grid-template-columns:1fr}}.config-backup-card.danger{border-color:color-mix(in srgb, #d83b3b 30%, var(--color-border,#d8dde8));background:linear-gradient(135deg, #d83b3b14, transparent 52%), color-mix(in srgb, var(--color-surface,#fff) 78%, transparent)}.config-backup-warning{border-radius:var(--radius-md,.75rem);background:#fdf3e0;border:1px solid #fbe7be;padding:.75rem .85rem;font-weight:700;color:#7c4b00!important}.config-backup-file-input{display:none}.config-backup-actions button.danger{color:#fff;background:#b42318}.config-backup-actions button.secondary{border-color:var(--color-border,#d8dde8);color:var(--color-text,#111827);background:0 0}.audit-log-table-wrapper{margin-top:.75rem;overflow-x:auto}.audit-log-table{border-collapse:collapse;width:100%;font-size:.82rem}.audit-log-table th{background:var(--color-background,#f4f5f7);border-bottom:2px solid var(--color-border,#d1d5db);color:var(--color-text-muted,#475569);letter-spacing:.03em;text-align:left;text-transform:uppercase;padding:.6rem .75rem;font-size:.72rem;font-weight:700}.audit-log-table td{border-bottom:1px solid var(--color-border-light,#e5e7eb);vertical-align:middle;padding:.55rem .75rem}.audit-log-table tbody tr:hover td{background:var(--color-surface-hover,#f9fafb)}.audit-log-date{color:var(--color-text-muted,#475569);white-space:nowrap;font-size:.76rem}.audit-log-module{border-radius:999px;padding:.2rem .55rem;font-size:.7rem;font-weight:700;display:inline-block}.audit-module-products{color:#1e40af;background:#dbeafe}.audit-module-clients{color:#166534;background:#dcfce7}.audit-module-quotes{color:#92400e;background:#fef3c7}.audit-module-projects{color:#5b21b6;background:#ede9fe}.audit-module-config{color:#475569;background:#f1f5f9}.audit-module-system{color:#9d174d;background:#fce7f3}.config-color-row{align-items:center;gap:.5rem;display:flex}.config-color-row input[type=color]{cursor:pointer;border:1px solid #d1d5db;border-radius:.4rem;flex:none;width:2.8rem;height:2.3rem;padding:.15rem}.config-color-row input[type=text]{flex:auto;min-width:0}.config-section-footer{border-top:1px solid #eef2f7;justify-content:flex-end;margin-top:1rem;padding-top:.85rem;display:flex}@media (width<=1100px){.dashboard-hero,.dashboard-panels-grid,.dashboard-activity-grid{grid-template-columns:1fr}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-kpi-grid,.dashboard-stat-list{grid-template-columns:1fr}.dashboard-record-list>div{flex-direction:column}}@media (width<=1200px){.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-executive-grid{grid-template-columns:1fr}}@media (width<=640px){.dashboard-kpi-grid{grid-template-columns:1fr}}@media (width<=1500px){.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-record-meta{text-align:left;align-items:flex-start}}@media (width<=640px){.dashboard-alert-list article{flex-direction:column}.dashboard-alert-list article small{text-align:left}}@media (width<=1100px){.dashboard-quick-actions{grid-template-columns:1fr}.dashboard-quick-actions-list{justify-content:flex-start}}@media (width<=640px){.dashboard-quick-actions-list{flex-direction:column}.dashboard-quick-actions-list button{width:100%}}@media (width<=1100px){.reports-hero,.reports-panels-grid{grid-template-columns:1fr}.reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.reports-kpi-grid,.reports-system-grid{grid-template-columns:1fr}.reports-status-list>div,.reports-client-list>div{flex-direction:column}.reports-status-list small,.reports-client-list small,.reports-client-list em{text-align:left}}@media (width<=1100px){.reports-quote-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-quote-list>div{flex-direction:column}.reports-quote-list small{text-align:left}}@media (width<=1100px){.reports-project-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-project-list>div{flex-direction:column}.reports-project-list small{text-align:left}}@media (width<=1100px){.reports-client-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-client-detail-list>div{flex-direction:column}.reports-client-detail-list small{text-align:left}}@media (width<=1100px){.reports-export-panel{grid-template-columns:1fr}}@media (width<=640px){.reports-export-actions{grid-template-columns:1fr}}@media (width<=640px){.reports-print-panel{grid-template-columns:1fr}.reports-print-panel button{width:100%}}@media print{@page{size:letter;margin:12mm}html,body,#root{color:#111827!important;background:#fff!important}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.app-shell{display:block!important}.app-sidebar,.reports-export-panel,.reports-print-panel{display:none!important}.app-main{background:#fff!important;margin:0!important;padding:0!important}.reports-page{gap:.75rem!important}.reports-hero{display:none!important}.reports-print-cover{page-break-inside:avoid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;box-shadow:none!important;border:1px solid #d1d5db!important;display:grid!important}.reports-kpi-grid,.reports-panels-grid,.reports-quote-grid,.reports-project-grid,.reports-client-grid{page-break-inside:avoid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.5rem!important}.reports-hero-card,.reports-kpi-card,.reports-panel,.reports-print-cover{box-shadow:none!important;background:#fff!important;border-radius:.5rem!important}.reports-kpi-card,.reports-panel{page-break-inside:avoid;border:1px solid #d1d5db!important;padding:.65rem!important}.reports-kpi-card strong,.reports-system-grid strong,.reports-status-list strong,.reports-client-list strong,.reports-quote-list strong,.reports-project-list strong,.reports-client-detail-list strong{color:#111827!important}.reports-hero-card span,.reports-kpi-card span,.reports-panel-header span,.reports-system-grid span,.reports-status-list span,.reports-client-list span,.reports-quote-list span,.reports-project-list span,.reports-client-detail-list span,.reports-muted{color:#4b5563!important}.reports-panel-header{margin-bottom:.5rem!important}.reports-panel-header h2{font-size:1rem!important}.reports-status-list,.reports-client-list,.reports-quote-list,.reports-project-list,.reports-client-detail-list{gap:.35rem!important}.reports-status-list>div,.reports-client-list>div,.reports-quote-list>div,.reports-project-list>div,.reports-client-detail-list>div,.reports-system-grid>div{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:.4rem!important;padding:.45rem!important}.reports-system-grid{gap:.35rem!important}.reports-kpi-card p,.reports-muted{font-size:.78rem!important}.reports-client-grid,.reports-project-grid,.reports-quote-grid{break-before:auto}button{display:none!important}}@media (width<=1100px){.projects-header,.projects-search-panel{grid-template-columns:1fr}.projects-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-table-card{overflow-x:auto}.projects-table{min-width:920px}}@media (width<=640px){.projects-summary-grid{grid-template-columns:1fr}}@media (width<=1100px){.project-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-header,.project-items-list article{flex-direction:column}}@media (width<=640px){.project-detail-grid{grid-template-columns:1fr}}@media (width<=760px){.app-empty-state{grid-template-columns:1fr}.app-empty-state__icon{display:none}.app-empty-state button{width:100%}}@media print{.app-empty-state{box-shadow:none!important;background:#fff!important;border:1px solid #d1d5db!important}.app-empty-state button{display:none!important}}@media (width<=640px){.app-action-button{width:100%}}@media print{.app-action-button{display:none!important}}.toast-container{z-index:9999;pointer-events:none;flex-direction:column;gap:.5rem;width:100%;max-width:420px;display:flex;position:fixed;top:1.25rem;right:1.25rem}.toast{border-radius:var(--radius-md,.75rem);border:1px solid var(--color-border,#d1d5db);background:var(--color-surface,#fff);box-shadow:var(--shadow-lg,0 16px 40px #0f172a14);color:var(--color-text,#111827);pointer-events:auto;align-items:flex-start;gap:.65rem;padding:.85rem 1rem;animation:.28s ease-out toastIn;display:flex}@keyframes toastIn{0%{opacity:0;transform:translate(24px)scale(.96)}to{opacity:1;transform:translate(0)scale(1)}}.toast__icon{border-radius:var(--radius-full,999px);flex-shrink:0;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;font-size:.72rem;font-weight:700;display:inline-flex}.toast--success .toast__icon{color:#15803d;background:#dcfce7}.toast--error .toast__icon{color:#b91c1c;background:#fee2e2}.toast--warning .toast__icon{color:#b54708;background:#fef3c7}.toast--info .toast__icon{color:#1d4ed8;background:#dbeafe}.toast--success{border-color:#bbf7d0}.toast--error{border-color:#fecaca}.toast--warning{border-color:#fde68a}.toast--info{border-color:#bfdbfe}.toast__message{flex:1;margin:0;font-size:.88rem;line-height:1.45}.toast__close{border-radius:var(--radius-full,999px);width:1.5rem;height:1.5rem;color:var(--color-text-muted,#4b5563);cursor:pointer;transition:background-color var(--transition-fast,.15s ease);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;font-size:.7rem;display:inline-flex}.toast__close:hover{background:var(--color-background,#f4f5f7)}@media (width<=480px){.toast-container{max-width:none;top:.75rem;left:.75rem;right:.75rem}}.confirm-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a73;justify-content:center;align-items:center;animation:.2s ease-out confirmFadeIn;display:flex;position:fixed;inset:0}@keyframes confirmFadeIn{0%{opacity:0}to{opacity:1}}.confirm-dialog{border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);width:100%;max-width:400px;box-shadow:var(--shadow-lg,0 16px 40px #0f172a14);text-align:center;margin:1rem;padding:1.5rem;animation:.2s ease-out confirmScaleIn}@keyframes confirmScaleIn{0%{opacity:0;transform:scale(.95)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.confirm-icon{border-radius:var(--radius-full,999px);justify-content:center;align-items:center;width:2.75rem;height:2.75rem;margin:0 auto 1rem;font-size:1.1rem;font-weight:700;display:inline-flex}.confirm-icon--default{color:#1d4ed8;background:#dbeafe}.confirm-icon--danger{color:#b91c1c;background:#fee2e2}.confirm-title{color:var(--color-text,#111827);margin:0 0 .5rem;font-size:1.1rem}.confirm-message{color:var(--color-text-muted,#4b5563);margin:0 0 1.25rem;font-size:.9rem;line-height:1.5}.confirm-actions{justify-content:center;gap:.65rem;display:flex}.confirm-cancel,.confirm-accept{border-radius:var(--radius-full,999px);min-height:2.5rem;font:inherit;cursor:pointer;transition:transform var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);padding:.6rem 1.15rem;font-size:.88rem;font-weight:700}.confirm-cancel{background:var(--color-surface,#fff);border:1px solid var(--color-border,#d1d5db);color:var(--color-text,#111827)}.confirm-accept--default{background:var(--color-primary,#111827);border:1px solid var(--color-primary,#111827);color:var(--color-on-primary,#fff)}.confirm-accept--danger{color:#fff;background:#b91c1c;border:1px solid #b91c1c}.confirm-cancel:hover,.confirm-accept:hover{transform:translateY(-1px)}.confirm-cancel:focus-visible,.confirm-accept:focus-visible{outline:2px solid var(--color-accent,#2563eb);outline-offset:2px}.skeleton{background:linear-gradient(90deg, var(--color-border-light,#e5e7eb) 25%, var(--color-background,#f4f5f7) 50%, var(--color-border-light,#e5e7eb) 75%);background-size:200% 100%;animation:1.5s ease-in-out infinite skeletonShimmer}@keyframes skeletonShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-card{border:1px solid var(--color-border,#d1d5db);border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);flex-direction:column;gap:.55rem;padding:1.2rem;display:flex}.skeleton-table-wrapper{flex-direction:column;gap:0;padding:0 1rem;display:flex}.skeleton-table-row{border-bottom:1px solid var(--color-border-light,#e5e7eb);grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:1rem;padding:1rem 0;display:grid}.skeleton-table-row:last-child{border-bottom:none}.skeleton-row td{padding:1rem}.saving-indicator{z-index:9998;border-radius:var(--radius-full,999px);background:var(--color-primary,#111827);color:var(--color-on-primary,#fff);box-shadow:var(--shadow-lg,0 16px 40px #0f172a14);align-items:center;gap:.5rem;padding:.55rem 1rem;font-size:.82rem;font-weight:700;animation:.25s ease-out savingSlideUp;display:inline-flex;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)}@keyframes savingSlideUp{0%{opacity:0;transform:translate(-50%)translateY(12px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.saving-indicator__spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:.85rem;height:.85rem;animation:.6s linear infinite savingSpin}@keyframes savingSpin{to{transform:rotate(360deg)}}.scroll-to-top{z-index:9000;border:1px solid var(--color-border,#d1d5db);border-radius:var(--radius-full,999px);background:var(--color-surface,#fff);width:2.5rem;height:2.5rem;color:var(--color-text,#111827);cursor:pointer;box-shadow:var(--shadow-md,0 8px 24px #0f172a12);transition:transform var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);justify-content:center;align-items:center;font-size:1rem;font-weight:700;animation:.2s ease-out scrollTopFadeIn;display:inline-flex;position:fixed;bottom:1.25rem;right:1.25rem}@keyframes scrollTopFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.scroll-to-top:hover{box-shadow:var(--shadow-lg,0 16px 40px #0f172a14);transform:translateY(-2px)}.scroll-to-top:focus-visible{outline:2px solid var(--color-accent,#2563eb);outline-offset:2px}.app-main>*{animation:.25s ease-out pageEnter}@keyframes pageEnter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.app-nav-badge{border-radius:var(--radius-full,999px);color:#c3d2d3;background:#ffffff1f;justify-content:center;align-items:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;font-size:.68rem;font-weight:700;line-height:1;display:inline-flex}.app-nav-item.active .app-nav-badge{color:#0d2023;background:#3fb7a0}.app-main,.app-shell,.app-main>*,.page-shell,.dashboard-page,.products-page,.clients-page,.quotes-page,.projects-page,.reports-page,.config-page{min-width:0}@media (width<=1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-sidebar{padding:1rem}.app-brand{gap:.7rem}.app-brand strong{font-size:.95rem}.app-brand small{font-size:.72rem}.app-nav-item{padding:.75rem}.app-nav-item span{font-size:.9rem}.app-nav-item small{font-size:.72rem}.app-main{padding:1rem}}@media (width<=960px){.app-shell{display:block}.app-sidebar{z-index:20;border-right:0;border-bottom:1px solid var(--color-border,#e5e7eb);background:var(--color-surface,#fff);display:block;position:sticky;top:0}.app-brand{margin-bottom:.8rem}.app-navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;display:grid}.app-nav-item{min-width:0;padding:.65rem}.app-nav-item span,.app-nav-item small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.app-main{padding:1rem}}@media (width<=760px){.app-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.app-brand-mark{width:2.4rem;height:2.4rem}.app-main{padding:.85rem}.page-header,.dashboard-hero,.products-hero,.clients-hero,.quotes-hero,.projects-hero,.reports-hero,.config-hero{grid-template-columns:1fr!important}.page-header-actions,.hero-actions,.products-actions,.clients-actions,.quotes-actions,.projects-actions,.config-actions{grid-template-columns:1fr;gap:.5rem;width:100%;display:grid}.card-grid,.dashboard-kpi-grid,.reports-kpi-grid{grid-template-columns:1fr!important}input,select,textarea{font-size:16px}}@media (width<=520px){.app-sidebar{padding:.75rem}.app-brand{align-items:center}.app-brand strong{font-size:.9rem}.app-brand small{font-size:.68rem}.app-navigation{grid-template-columns:1fr}.app-nav-item{padding:.6rem .7rem}.app-main{padding:.7rem}h1{font-size:clamp(1.75rem,9vw,2.25rem)!important}h2{font-size:clamp(1.15rem,6vw,1.45rem)}.reports-status-list>div,.reports-client-list>div,.reports-quote-list>div,.reports-project-list>div,.reports-client-detail-list>div{align-items:flex-start}}@media print{html,body{overflow:visible!important}.app-sidebar{display:none!important}.app-main{padding:0!important}}:root{font-family:var(--font-family,system-ui, -apple-system, sans-serif);background:var(--color-background,#f8fafc);color:var(--color-text,#0f172a);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:var(--color-background,#f8fafc);min-height:100vh;color:var(--color-text,#0f172a);margin:0}h1{font-family:var(--font-family-display,Georgia, serif);letter-spacing:-.01em;font-weight:600}:focus-visible{outline:2px solid var(--color-accent,#2563eb);outline-offset:2px}button:focus:not(:focus-visible),input:focus:not(:focus-visible),select:focus:not(:focus-visible),textarea:focus:not(:focus-visible){outline:none}.app-root{text-align:center;min-height:100vh;padding:var(--spacing-xl,2rem);place-items:center;font-size:1.25rem;display:grid}.dashboard-page{gap:var(--spacing-lg,1.5rem);padding:var(--spacing-xl,2rem);flex-direction:column;max-width:1400px;margin:0 auto;display:flex}.dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:stretch;gap:1rem;display:grid}.dashboard-eyebrow{margin-bottom:var(--spacing-sm,.5rem);color:var(--color-accent,#2563eb);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:700;display:inline-flex}.dashboard-hero h1{margin:0;font-size:clamp(2.2rem,5vw,3.5rem)}.dashboard-hero p{max-width:760px;color:var(--color-text-muted,#667085);margin:.65rem 0 0}.dashboard-hero-card,.dashboard-kpi-card,.dashboard-panel{border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f);transition:box-shadow var(--transition-base,.2s ease)}.dashboard-kpi-card:hover,.dashboard-panel:hover{box-shadow:var(--shadow-md,0 8px 24px #0f172a12)}.dashboard-hero-card{background:linear-gradient(135deg, #0f7f861a, transparent 55%), var(--color-surface,#fff);flex-direction:column;justify-content:center;padding:1.25rem;display:flex}.dashboard-hero-card span,.dashboard-kpi-card span,.dashboard-panel-header span,.dashboard-stat-list span{color:var(--color-text-muted,#475569);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:600}.dashboard-hero-card strong{margin-top:.4rem;font-size:1.8rem;display:block}.dashboard-hero-card p{margin:.35rem 0 0}.dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.dashboard-kpi-card{padding:1rem}.dashboard-kpi-card.featured{background:linear-gradient(135deg, #0f7f8624, transparent 58%), var(--color-surface,#fff)}.dashboard-kpi-card strong{margin-top:.35rem;font-size:1.55rem;display:block}.dashboard-kpi-card p,.dashboard-muted{color:var(--color-text-muted,#475569);margin:.25rem 0 0;font-size:.85rem}.dashboard-panels-grid,.dashboard-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.dashboard-panel{padding:1.1rem}.dashboard-panel-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.dashboard-panel-header h2{margin:.25rem 0 0;font-size:1.25rem}.dashboard-panel-header>strong{font-size:1.6rem}.dashboard-stat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.dashboard-stat-list div,.dashboard-record-list>div{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);padding:.8rem}.dashboard-stat-list strong{margin-top:.25rem;font-size:1.1rem;display:block}.dashboard-record-list{flex-direction:column;gap:.65rem;display:flex}.dashboard-record-list>div{justify-content:space-between;gap:1rem;display:flex}.dashboard-record-list span{color:var(--color-text-muted,#667085);margin-top:.2rem;font-size:.86rem;display:block}.dashboard-record-list small{color:var(--color-text-muted,#475569);white-space:nowrap;font-weight:700}@media (width<=1100px){.dashboard-hero,.dashboard-panels-grid,.dashboard-activity-grid{grid-template-columns:1fr}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-kpi-grid,.dashboard-stat-list{grid-template-columns:1fr}.dashboard-record-list>div{flex-direction:column}}.dashboard-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-kpi-card.warning,.dashboard-executive-card.warning{background:linear-gradient(135deg, #f59e0b29, transparent 58%), var(--color-surface,#fff)}.dashboard-kpi-card.info,.dashboard-executive-card.info{background:linear-gradient(135deg, #175cd31f, transparent 58%), var(--color-surface,#fff)}.dashboard-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.dashboard-executive-card{border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-xl,1.25rem);padding:var(--spacing-md,1rem);background:var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f);transition:box-shadow var(--transition-base,.2s ease)}.dashboard-executive-card:hover{box-shadow:var(--shadow-md,0 8px 24px #0f172a12)}.dashboard-executive-card span{color:var(--color-text-muted,#475569);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:600}.dashboard-executive-card strong{margin-top:.35rem;font-size:1.7rem;display:block}.dashboard-executive-card p{color:var(--color-text-muted,#475569);margin:.5rem 0 0;font-size:.85rem}@media (width<=1200px){.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-executive-grid{grid-template-columns:1fr}}@media (width<=640px){.dashboard-kpi-grid{grid-template-columns:1fr}}.dashboard-kpi-card{min-width:0;overflow:hidden}.dashboard-kpi-card strong,.dashboard-hero-card strong,.dashboard-panel-header>strong,.dashboard-stat-list strong,.dashboard-executive-card strong{overflow-wrap:anywhere;word-break:normal;line-height:1.08}.dashboard-kpi-card strong{font-size:clamp(1.15rem,1.8vw,1.55rem)}.dashboard-kpi-card p{overflow-wrap:anywhere}@media (width<=1500px){.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.dashboard-record-main{min-width:0}.dashboard-record-main em{color:var(--color-text-muted,#667085);margin-top:.2rem;font-size:.76rem;font-style:normal;display:block}.dashboard-record-meta{text-align:right;flex-direction:column;align-items:flex-end;gap:.45rem;display:flex}.dashboard-status-badge{border-radius:var(--radius-full,999px);white-space:nowrap;padding:.25rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}.dashboard-status-badge.quote-draft,.dashboard-status-badge.project-new{color:#175cd3;background:#eff8ff}.dashboard-status-badge.quote-sent,.dashboard-status-badge.project-in_progress{color:#b54708;background:#fffaeb}.dashboard-status-badge.quote-accepted,.dashboard-status-badge.project-delivered{color:#067647;background:#ecfdf3}.dashboard-status-badge.quote-rejected,.dashboard-status-badge.quote-cancelled,.dashboard-status-badge.project-cancelled{color:#b42318;background:#fef3f2}@media (width<=640px){.dashboard-record-meta{text-align:left;align-items:flex-start}}.dashboard-alert-list{flex-direction:column;gap:.6rem;margin-top:.9rem;display:flex}.dashboard-alert-list article{border:1px solid var(--color-border,#e5e7eb);background:#ffffffb8;border-radius:.85rem;justify-content:space-between;gap:.8rem;padding:.7rem;display:flex}.dashboard-alert-list article strong{margin:0;font-size:.94rem;line-height:1.2;display:block}.dashboard-alert-list article span{color:var(--color-text-muted,#667085);letter-spacing:0;text-transform:none;margin-top:.2rem;font-size:.78rem;font-weight:600;display:block}.dashboard-alert-list article small{color:var(--color-text-muted,#475569);text-align:right;white-space:nowrap;font-weight:700}.dashboard-alert-empty{border:1px dashed var(--color-border,#e5e7eb);background:#ffffff8c;border-radius:.85rem;padding:.75rem;font-weight:700;margin-top:.9rem!important}@media (width<=640px){.dashboard-alert-list article{flex-direction:column}.dashboard-alert-list article small{text-align:left}}.dashboard-quick-actions{border:1px solid var(--color-border,#e5e7eb);background:linear-gradient(135deg, #0f172a0a, transparent 54%), var(--color-surface,#fff);border-radius:1.25rem;grid-template-columns:minmax(0,1fr) minmax(420px,620px);align-items:center;gap:1rem;padding:1rem;display:grid;box-shadow:0 18px 48px #0f172a0f}.dashboard-quick-actions span{color:var(--color-accent,#2563eb);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:700}.dashboard-quick-actions h2{margin:.25rem 0 0;font-size:1.25rem}.dashboard-quick-actions-list{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;display:flex}.dashboard-quick-actions-list button{border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-full,999px);background:var(--color-background,#f8fafc);color:var(--color-text,#0f172a);cursor:pointer;font:inherit;transition:transform var(--transition-fast,.15s ease), border-color var(--transition-fast,.15s ease), background var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);padding:.6rem 1rem;font-size:.85rem;font-weight:700}.dashboard-quick-actions-list button:first-child{background:#0f7f8617;border-color:#0f7f8666}.dashboard-quick-actions-list button:hover{border-color:var(--color-accent,#0f7f86);background:#0f7f8614;transform:translateY(-1px)}@media (width<=1100px){.dashboard-quick-actions{grid-template-columns:1fr}.dashboard-quick-actions-list{justify-content:flex-start}}@media (width<=640px){.dashboard-quick-actions-list{flex-direction:column}.dashboard-quick-actions-list button{width:100%}}.app-action-button{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.45rem;font-weight:850;line-height:1;text-decoration:none;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s,color .16s;display:inline-flex}.app-action-button:hover{transform:translateY(-1px)}.app-action-button:focus-visible{outline-offset:2px;outline:3px solid #0f7f8647}.app-action-button:disabled,.app-action-button[aria-disabled=true]{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.app-action-button--sm{min-height:2.15rem;padding:.55rem .8rem;font-size:.82rem}.app-action-button--md{min-height:2.65rem;padding:.75rem 1rem;font-size:.92rem}.app-action-button--lg{min-height:3.1rem;padding:.95rem 1.25rem;font-size:1rem}.app-action-button--full{width:100%}.app-action-button--primary{background:var(--color-text,#111827);border-color:var(--color-text,#111827);color:#fff;box-shadow:0 14px 32px #0f172a29}.app-action-button--primary:hover{box-shadow:0 18px 40px #0f172a33}.app-action-button--secondary{background:var(--color-background,#f8fafc);border-color:var(--color-border,#e5e7eb);color:var(--color-text,#111827)}.app-action-button--secondary:hover{border-color:var(--color-accent,#0f7f86);box-shadow:0 12px 28px #0f172a1a}.app-action-button--ghost{color:var(--color-text-muted,#475569);background:0 0;border-color:#0000}.app-action-button--ghost:hover{background:var(--color-background,#f8fafc);color:var(--color-text,#111827)}.app-action-button--danger{color:#b91c1c;background:#dc26261a;border-color:#dc262633}.app-action-button--danger:hover{background:#dc262624;box-shadow:0 12px 28px #dc262624}.app-action-button--premium{background:var(--color-accent,#0f7f86);border-color:var(--color-accent,#0f7f86);color:#fff;box-shadow:0 14px 32px #0f7f8638}.app-action-button--premium:hover{box-shadow:0 18px 42px #0f7f8642}@media (width<=640px){.app-action-button{width:100%}}@media print{.app-action-button{display:none!important}}.app-empty-state{border:1px solid var(--color-border,#e5e7eb);background:linear-gradient(135deg, #0f172a0a, transparent 62%), var(--color-surface,#fff);border-radius:1.25rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.1rem;display:grid;box-shadow:0 14px 36px #0f172a12}.app-empty-state__icon{background:var(--color-background,#f8fafc);width:2.75rem;height:2.75rem;color:var(--color-text-muted,#475569);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.app-empty-state span{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.25rem;font-size:.76rem;font-weight:700;display:inline-flex}.app-empty-state h2{margin:0;font-size:1.2rem;line-height:1.2}.app-empty-state p{max-width:720px;color:var(--color-text-muted,#475569);margin:.4rem 0 0}.app-empty-state button{border:1px solid var(--color-border,#e5e7eb);background:var(--color-background,#f8fafc);color:var(--color-text,#111827);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;padding:.75rem 1rem;font-weight:700;transition:transform .16s,border-color .16s,box-shadow .16s}.app-empty-state button:hover{border-color:var(--color-accent,#0f7f86);transform:translateY(-1px);box-shadow:0 12px 28px #0f172a1a}.app-empty-state button:focus-visible{outline-offset:2px;outline:3px solid #0f7f8647}.app-empty-state--commercial{background:linear-gradient(135deg, #0f7f8614, transparent 62%), var(--color-surface,#fff)}.app-empty-state--operational{background:linear-gradient(135deg, #175cd31a, transparent 62%), var(--color-surface,#fff)}.app-empty-state--warning{background:linear-gradient(135deg, #f59e0b21, transparent 62%), var(--color-surface,#fff)}@media (width<=760px){.app-empty-state{grid-template-columns:1fr}.app-empty-state__icon{display:none}.app-empty-state button{width:100%}}@media print{.app-empty-state{box-shadow:none!important;background:#fff!important;border:1px solid #d1d5db!important}.app-empty-state button{display:none!important}}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%;height:auto}button,input,select,textarea{max-width:100%}.app-main,.app-shell,.app-main>*,.page-shell,.dashboard-page,.products-page,.clients-page,.quotes-page,.projects-page,.reports-page,.config-page{min-width:0}table{max-width:100%}.table-wrapper,.products-table-wrapper,.clients-table-wrapper,.quotes-table-wrapper,.projects-table-wrapper,.config-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}td,th,strong,small,span,p{overflow-wrap:anywhere}@media (width<=1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-sidebar{padding:1rem}.app-brand{gap:.7rem}.app-brand strong{font-size:.95rem}.app-brand small{font-size:.72rem}.app-nav-item{padding:.75rem}.app-nav-item span{font-size:.9rem}.app-nav-item small{font-size:.72rem}.app-main{padding:1rem}}@media (width<=960px){.app-shell{display:block}.app-sidebar{z-index:20;border-right:0;border-bottom:1px solid var(--color-border,#e5e7eb);background:var(--color-surface,#fff);display:block;position:sticky;top:0}.app-brand{margin-bottom:.8rem}.app-navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;display:grid}.app-nav-item{min-width:0;padding:.65rem}.app-nav-item span,.app-nav-item small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.app-main{padding:1rem}}@media (width<=760px){.app-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.app-brand-mark{width:2.4rem;height:2.4rem}.app-main{padding:.85rem}.page-header,.dashboard-hero,.products-hero,.clients-hero,.quotes-hero,.projects-hero,.reports-hero,.config-hero{grid-template-columns:1fr!important}.page-header-actions,.hero-actions,.products-actions,.clients-actions,.quotes-actions,.projects-actions,.config-actions{grid-template-columns:1fr;gap:.5rem;width:100%;display:grid}.card-grid,.dashboard-kpi-grid,.reports-kpi-grid{grid-template-columns:1fr!important}input,select,textarea{font-size:16px}}@media (width<=520px){.app-sidebar{padding:.75rem}.app-brand{align-items:center}.app-brand strong{font-size:.9rem}.app-brand small{font-size:.68rem}.app-navigation{grid-template-columns:1fr}.app-nav-item{padding:.6rem .7rem}.app-main{padding:.7rem}h1{font-size:clamp(1.75rem,9vw,2.25rem)!important}h2{font-size:clamp(1.15rem,6vw,1.45rem)}.reports-status-list>div,.reports-client-list>div,.reports-quote-list>div,.reports-project-list>div,.reports-client-detail-list>div{align-items:flex-start}}@media print{html,body{overflow:visible!important}.app-sidebar{display:none!important}.app-main{padding:0!important}}.reports-page{flex-direction:column;gap:1.5rem;display:flex}.reports-hero{grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:stretch;gap:1rem;display:grid}.reports-eyebrow{margin-bottom:var(--spacing-sm,.5rem);color:var(--color-accent,#2563eb);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:600;display:inline-flex}.reports-hero h1{margin:0;font-size:clamp(2.2rem,5vw,3.5rem)}.reports-hero p{max-width:760px;color:var(--color-text-muted,#475569);margin:.65rem 0 0}.reports-hero-card,.reports-kpi-card,.reports-panel{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f)}.reports-hero-card{background:linear-gradient(135deg, #0f7f861a, transparent 55%), var(--color-surface,#fff);flex-direction:column;justify-content:center;padding:1.25rem;display:flex}.reports-hero-card span,.reports-kpi-card span,.reports-panel-header span,.reports-system-grid span{color:var(--color-text-muted,#475569);letter-spacing:.05em;text-transform:uppercase;font-size:.78rem;font-weight:700}.reports-hero-card strong{margin-top:.4rem;font-size:2rem;display:block}.reports-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.reports-kpi-card{min-width:0;padding:1rem;overflow:hidden}.reports-kpi-card.featured{background:linear-gradient(135deg, #0f7f8624, transparent 58%), var(--color-surface,#fff)}.reports-kpi-card.warning{background:linear-gradient(135deg, #f59e0b29, transparent 58%), var(--color-surface,#fff)}.reports-kpi-card strong{overflow-wrap:anywhere;margin-top:.35rem;font-size:clamp(1.15rem,1.8vw,1.55rem);line-height:1.08;display:block}.reports-kpi-card p,.reports-muted{color:var(--color-text-muted,#475569);margin:.35rem 0 0}.reports-panels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.reports-panel{padding:1.1rem}.reports-panel-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.reports-panel-header h2{margin:.25rem 0 0;font-size:1.25rem}.reports-status-list,.reports-client-list{flex-direction:column;gap:.65rem;display:flex}.reports-status-list>div,.reports-client-list>div,.reports-system-grid>div{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);padding:.8rem}.reports-status-list>div,.reports-client-list>div{justify-content:space-between;gap:1rem;display:flex}.reports-status-list strong,.reports-client-list strong,.reports-system-grid strong{font-size:.98rem;display:block}.reports-status-list span,.reports-client-list span{color:var(--color-text-muted,#475569);margin-top:.2rem;font-size:.84rem;display:block}.reports-status-list small,.reports-client-list small{color:var(--color-text-muted,#475569);text-align:right;white-space:nowrap;font-weight:700}.reports-client-list em{color:var(--color-text-muted,#475569);text-align:right;margin-top:.2rem;font-size:.76rem;font-style:normal;font-weight:700;display:block}.reports-system-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.reports-system-grid strong{overflow-wrap:anywhere;margin-top:.25rem;font-size:1.1rem}@media (width<=1100px){.reports-hero,.reports-panels-grid{grid-template-columns:1fr}.reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.reports-kpi-grid,.reports-system-grid{grid-template-columns:1fr}.reports-status-list>div,.reports-client-list>div{flex-direction:column}.reports-status-list small,.reports-client-list small,.reports-client-list em{text-align:left}}.reports-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.reports-quote-summary{background:linear-gradient(135deg, #0f7f8617, transparent 56%), var(--color-surface,#fff)}.reports-quote-list{flex-direction:column;gap:.65rem;display:flex}.reports-quote-list>div{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);justify-content:space-between;gap:1rem;padding:.8rem;display:flex}.reports-quote-list strong{font-size:.98rem;display:block}.reports-quote-list span{color:var(--color-text-muted,#475569);margin-top:.2rem;font-size:.84rem;display:block}.reports-quote-list small{color:var(--color-text-muted,#475569);text-align:right;white-space:nowrap;font-weight:700}@media (width<=1100px){.reports-quote-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-quote-list>div{flex-direction:column}.reports-quote-list small{text-align:left}}.reports-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.reports-project-summary{background:linear-gradient(135deg, #175cd31f, transparent 56%), var(--color-surface,#fff)}.reports-project-list{flex-direction:column;gap:.65rem;display:flex}.reports-project-list>div{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);justify-content:space-between;gap:1rem;padding:.8rem;display:flex}.reports-project-list strong{font-size:.98rem;display:block}.reports-project-list span{color:var(--color-text-muted,#475569);margin-top:.2rem;font-size:.84rem;display:block}.reports-project-list small{color:var(--color-text-muted,#475569);text-align:right;white-space:nowrap;font-weight:700}@media (width<=1100px){.reports-project-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-project-list>div{flex-direction:column}.reports-project-list small{text-align:left}}.reports-client-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.reports-client-summary{background:linear-gradient(135deg, #10b9811f, transparent 56%), var(--color-surface,#fff)}.reports-client-detail-list{flex-direction:column;gap:.65rem;display:flex}.reports-client-detail-list>div{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);justify-content:space-between;gap:1rem;padding:.8rem;display:flex}.reports-client-detail-list strong{font-size:.98rem;display:block}.reports-client-detail-list span{color:var(--color-text-muted,#475569);margin-top:.2rem;font-size:.84rem;display:block}.reports-client-detail-list small{color:var(--color-text-muted,#475569);text-align:right;white-space:nowrap;font-weight:700}@media (width<=1100px){.reports-client-grid{grid-template-columns:1fr}}@media (width<=640px){.reports-client-detail-list>div{flex-direction:column}.reports-client-detail-list small{text-align:left}}.reports-export-panel{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-xl,1.25rem);background:linear-gradient(135deg, #0f172a0f, transparent 62%), var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f);grid-template-columns:minmax(0,1fr) minmax(320px,520px);align-items:center;gap:1rem;padding:1.15rem;display:grid}.reports-export-panel h2{margin:0;font-size:1.35rem}.reports-export-panel p{color:var(--color-text-muted,#475569);margin:.45rem 0 0}.reports-export-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.reports-export-actions button{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);width:100%;color:var(--color-text,#111827);font:inherit;text-align:left;cursor:pointer;padding:.75rem .85rem;font-weight:700;transition:transform .16s,border-color .16s,box-shadow .16s}.reports-export-actions button:hover{border-color:var(--color-accent,#0f7f86);transform:translateY(-1px);box-shadow:0 12px 28px #0f172a1a}.reports-export-actions button:focus-visible{outline-offset:2px;outline:3px solid #0f7f8647}@media (width<=1100px){.reports-export-panel{grid-template-columns:1fr}}@media (width<=640px){.reports-export-actions{grid-template-columns:1fr}}.reports-print-panel,.reports-print-cover{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f)}.reports-print-panel{background:linear-gradient(135deg, #0f7f8617, transparent 62%), var(--color-surface,#fff);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.15rem;display:grid}.reports-print-panel h2{margin:0;font-size:1.35rem}.reports-print-panel p{color:var(--color-text-muted,#475569);margin:.45rem 0 0}.reports-print-panel small{color:var(--color-text-muted,#475569);margin-top:.5rem;font-weight:700;display:block}.reports-print-panel button{border:1px solid var(--color-accent,#0f7f86);background:var(--color-accent,#0f7f86);color:#fff;font:inherit;cursor:pointer;border-radius:999px;padding:.85rem 1.1rem;font-weight:700;transition:transform .16s,box-shadow .16s;box-shadow:0 14px 32px #0f7f8638}.reports-print-panel button:hover{transform:translateY(-1px);box-shadow:0 18px 42px #0f7f8642}.reports-print-panel button:focus-visible{outline-offset:2px;outline:3px solid #0f7f8647}.reports-print-cover{padding:1.25rem;display:none}.reports-print-cover span,.reports-print-cover small{color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;font-weight:700}.reports-print-cover h2{margin:.35rem 0 0;font-size:1.8rem}.reports-print-cover p{color:var(--color-text-muted,#475569);margin:.4rem 0 0}.reports-print-cover strong{text-align:right;font-size:2rem;display:block}.reports-print-cover small{text-align:right;display:block}@media (width<=640px){.reports-print-panel{grid-template-columns:1fr}.reports-print-panel button{width:100%}}@media print{@page{size:letter;margin:12mm}html,body,#root{color:#111827!important;background:#fff!important}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.app-shell{display:block!important}.app-sidebar,.reports-export-panel,.reports-print-panel{display:none!important}.app-main{background:#fff!important;margin:0!important;padding:0!important}.reports-page{gap:.75rem!important}.reports-hero{display:none!important}.reports-print-cover{page-break-inside:avoid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;box-shadow:none!important;border:1px solid #d1d5db!important;display:grid!important}.reports-kpi-grid,.reports-panels-grid,.reports-quote-grid,.reports-project-grid,.reports-client-grid{page-break-inside:avoid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.5rem!important}.reports-hero-card,.reports-kpi-card,.reports-panel,.reports-print-cover{box-shadow:none!important;background:#fff!important;border-radius:.5rem!important}.reports-kpi-card,.reports-panel{page-break-inside:avoid;border:1px solid #d1d5db!important;padding:.65rem!important}.reports-kpi-card strong,.reports-system-grid strong,.reports-status-list strong,.reports-client-list strong,.reports-quote-list strong,.reports-project-list strong,.reports-client-detail-list strong{color:#111827!important}.reports-hero-card span,.reports-kpi-card span,.reports-panel-header span,.reports-system-grid span,.reports-status-list span,.reports-client-list span,.reports-quote-list span,.reports-project-list span,.reports-client-detail-list span,.reports-muted{color:#4b5563!important}.reports-panel-header{margin-bottom:.5rem!important}.reports-panel-header h2{font-size:1rem!important}.reports-status-list,.reports-client-list,.reports-quote-list,.reports-project-list,.reports-client-detail-list{gap:.35rem!important}.reports-status-list>div,.reports-client-list>div,.reports-quote-list>div,.reports-project-list>div,.reports-client-detail-list>div,.reports-system-grid>div{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:.4rem!important;padding:.45rem!important}.reports-system-grid{gap:.35rem!important}.reports-kpi-card p,.reports-muted{font-size:.78rem!important}.reports-client-grid,.reports-project-grid,.reports-quote-grid{break-before:auto}button{display:none!important}}.projects-page{flex-direction:column;gap:1.5rem;display:flex}.projects-header{grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:stretch;gap:1rem;display:grid}.projects-eyebrow{color:var(--color-accent,#2563eb);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.35rem;font-size:.75rem;font-weight:600;display:inline-flex}.projects-header h1{margin:0;font-size:clamp(2rem,4vw,3.25rem)}.projects-header p{max-width:760px;color:var(--color-text-muted,#475569);margin:.6rem 0 0}.projects-header-card,.projects-summary-card,.projects-search-panel,.projects-table-card,.projects-empty-state{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-xl,1.25rem);background:var(--color-surface,#fff);box-shadow:var(--shadow-sm,0 4px 16px #0f172a0f)}.projects-header-card{flex-direction:column;justify-content:center;padding:1.25rem;display:flex}.projects-header-card strong{font-size:1.6rem}.projects-header-card span{color:var(--color-text-muted,#475569)}.projects-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;display:grid}.projects-summary-card{padding:1rem}.projects-summary-card span{color:var(--color-text-muted,#475569);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.projects-summary-card strong{margin-top:.35rem;font-size:1.5rem;display:block}.projects-summary-card p{color:var(--color-text-muted,#475569);margin:.35rem 0 0;font-size:.9rem}.projects-search-panel{grid-template-columns:minmax(240px,1fr) repeat(3,minmax(150px,180px)) auto;align-items:end;gap:1rem;padding:1rem;display:grid}.projects-search-panel label{color:var(--color-text-muted,#475569);flex-direction:column;gap:.35rem;font-size:.85rem;font-weight:700;display:flex}.projects-search-panel input,.projects-search-panel select{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#fff);min-height:42px;color:var(--color-text,#101828);padding:0 .85rem}.projects-secondary-button,.projects-link-button{color:var(--color-accent,#2563eb);cursor:pointer;background:0 0;border:0;font-weight:700}.projects-secondary-button{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);min-height:42px;padding:0 1rem}.projects-link-button.danger{color:#b42318}.projects-table-card{overflow:hidden}.projects-table{border-collapse:collapse;width:100%}.projects-table th,.projects-table td{border-bottom:1px solid var(--color-border,#e5e7eb);text-align:left;vertical-align:top;padding:.95rem}.projects-table th{background:var(--color-background,#f8fafc);color:var(--color-text-muted,#475569);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:600}.projects-table tbody tr{transition:background-color var(--transition-fast,.15s ease)}.projects-table tbody tr:hover{background-color:var(--color-accent-light,#2563eb0a)}.projects-table td small{color:var(--color-text-muted,#475569);margin-top:.25rem;display:block}.project-status-badge{border-radius:999px;padding:.3rem .65rem;font-size:.78rem;font-weight:700;display:inline-flex}.project-status-badge.new{color:#175cd3;background:#eff8ff}.project-status-badge.in_progress{color:#b54708;background:#fffaeb}.project-status-badge.delivered{color:#067647;background:#ecfdf3}.project-status-badge.cancelled{color:#b42318;background:#fef3f2}.projects-empty-state{text-align:center;padding:2rem}.projects-empty-state p,.projects-muted,.projects-error{color:var(--color-text-muted,#475569)}.projects-error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:1rem;padding:1rem;font-weight:700}@media (width<=1100px){.projects-header,.projects-search-panel{grid-template-columns:1fr}.projects-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-table-card{overflow-x:auto}.projects-table{min-width:920px}}@media (width<=640px){.projects-summary-grid{grid-template-columns:1fr}}.projects-row-actions{flex-wrap:wrap;gap:.45rem;display:flex}.projects-action-button{color:#fff;cursor:pointer;border:0;border-radius:999px;padding:.35rem .7rem;font-size:.78rem;font-weight:700}.projects-action-button:disabled,.projects-link-button:disabled{cursor:not-allowed;opacity:.6}.projects-action-button.primary{background:#175cd3}.projects-action-button.success{background:#067647}.projects-action-button.danger{background:#b42318}.projects-action-button.secondary{background:#475467}.project-detail-panel{border:1px solid var(--color-border,#e5e7eb);background:linear-gradient(135deg, #0f7f8617, transparent 42%), var(--color-surface,#fff);border-radius:1.4rem;flex-direction:column;gap:1.25rem;padding:1.25rem;display:flex;box-shadow:0 22px 60px #0f172a1a}.project-detail-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.project-detail-header h2{margin:0;font-size:1.8rem}.project-detail-header p{color:var(--color-text-muted,#475569);margin:.35rem 0 0}.project-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid}.project-detail-grid article,.project-detail-notes,.project-detail-section{border:1px solid var(--color-border,#e5e7eb);background:#ffffffbd;border-radius:1rem}.project-detail-grid article{padding:.9rem}.project-detail-grid span,.project-detail-notes span{color:var(--color-text-muted,#475569);letter-spacing:.04em;text-transform:uppercase;font-size:.76rem;font-weight:700;display:block}.project-detail-grid strong{margin-top:.3rem;display:block}.project-detail-notes,.project-detail-section{padding:1rem}.project-detail-notes p,.project-detail-section h3{margin:.35rem 0 0}.project-items-list,.project-history-list{flex-direction:column;gap:.7rem;margin-top:.9rem;display:flex}.project-items-list article,.project-history-list article{border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-md,.75rem);background:var(--color-background,#f8fafc);justify-content:space-between;gap:1rem;padding:.8rem;display:flex}.project-items-list span,.project-history-list span{color:var(--color-text-muted,#475569);margin-top:.25rem;font-size:.82rem;display:block}.project-history-list article{display:block}.project-history-list p{color:var(--color-text-muted,#475569);margin:.55rem 0 0}@media (width<=1100px){.project-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-header,.project-items-list article{flex-direction:column}}@media (width<=640px){.project-detail-grid{grid-template-columns:1fr}}.projects-header-actions{flex-wrap:wrap;gap:.6rem;margin-top:1rem;display:flex}.projects-hidden-input{display:none}
