:root{--navy:#002050;--navy-800:#001a40;--navy-700:#06336a;--navy-600:#0b4487;--navy-100:#e8eef8;--navy-050:#f2f6fc;--orange:#f07010;--orange-600:#d95f07;--orange-100:#fff0e3;--ink:#0e1c2e;--ink-soft:#2c3b4f;--muted:#5f7085;--muted-light:#8594a8;--line:#e4e9f1;--line-strong:#d3dbe7;--bg:#f4f6fa;--card:#fff;--green:#148a4a;--green-bg:#e6f6ed;--red:#cf2f2f;--red-bg:#fdecec;--blue:#2367c4;--blue-bg:#e8f1fd;--amber:#a85d04;--amber-bg:#fff4e0;--radius-lg:20px;--radius-md:14px;--radius-sm:10px;--shadow-sm:0 1px 2px #10223d0d, 0 4px 14px #10223d0a;--shadow-md:0 12px 34px #10223d1a;--shadow-lg:0 26px 70px #091a3338;--font:"Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;--sheet-font:Helvetica, Arial, "Liberation Sans", sans-serif}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:14px;line-height:1.5}#root{min-height:100vh}h1,h2,h3,h4,p,dl,dd,figure{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--navy-600);text-decoration:none}a:hover{text-decoration:underline}img,svg{display:block}::selection{background:#f070103d}:focus-visible{outline-offset:2px;outline:3px solid #0b448752}.btn{letter-spacing:.01em;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 18px;font-size:13.5px;font-weight:700;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-sm{border-radius:9px;min-height:34px;padding:0 12px;font-size:12.5px}.btn-primary{background:linear-gradient(135deg, #04306a 0%, var(--navy) 60%, #001838 100%);color:#fff;box-shadow:0 8px 18px #0020503d}.btn-primary:hover{box-shadow:0 12px 24px #0020504d}.btn-secondary{border-color:var(--line-strong);color:var(--ink-soft);background:#fff;box-shadow:0 1px 2px #10223d0d}.btn-secondary:hover{background:#fbfcfe;border-color:#b9c6d8}.btn-ghost-light{color:#fff;background:#ffffff1a;border-color:#ffffff47}.btn-ghost-light:hover{background:#ffffff2e}.icon-button{width:38px;height:38px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.icon-button:hover{background:var(--navy-050);color:var(--navy)}.icon-button.subtle{border-radius:9px;width:34px;height:34px}.icon-button.danger:hover{background:var(--red-bg);color:var(--red)}.link-button{color:var(--navy-600);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12.5px;font-weight:700;display:inline-flex}.link-button:hover{color:var(--orange-600)}.link-button.wide{border-top:1px solid var(--line);justify-content:center;width:100%;margin-top:auto;padding-top:14px}.link-button.danger{color:var(--red)}.link-button.danger:hover{color:#a52222}.app-shell{grid-template-columns:264px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:20;border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:22px;height:100vh;padding:26px 20px 22px;display:flex;position:sticky;top:0}.sidebar-brand{text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.brand-tile{border:1px solid var(--line);background:linear-gradient(145deg,#f7f9fd,#e9eff8);border-radius:14px;flex:0 0 46px;place-items:center;width:46px;height:46px;display:grid;overflow:hidden}.brand-tile img{object-fit:contain;width:100%;height:100%;padding:5px}.brand-caption{flex-direction:column;line-height:1.25;display:flex}.brand-caption strong{letter-spacing:-.01em;color:var(--navy);font-size:15px;font-weight:800}.brand-caption small{color:var(--muted-light);font-size:11px;font-weight:600}.sidebar-cta{width:100%}.sidebar-nav{flex-direction:column;gap:5px;display:flex}.nav-item{width:100%;min-height:44px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:0 13px;font-size:13.5px;font-weight:600;transition:background .15s,color .15s;display:flex;position:relative}.nav-item svg{color:var(--muted-light);transition:color .15s}.nav-item:hover{background:var(--navy-050);color:var(--navy)}.nav-item.active{background:var(--navy-100);color:var(--navy);font-weight:800}.nav-item.active:before{content:"";background:var(--orange);border-radius:0 3px 3px 0;width:3px;position:absolute;top:11px;bottom:11px;left:0}.nav-item.active svg{color:var(--navy)}.nav-count{border:1px solid var(--line);min-width:23px;color:var(--muted);text-align:center;background:#fff;border-radius:999px;margin-left:auto;padding:2px 7px;font-size:11px;font-weight:800}.sidebar-foot{flex-direction:column;gap:12px;margin-top:auto;display:flex}.sidebar-storage{border:1px dashed var(--line-strong);background:var(--navy-050);color:var(--navy);text-align:left;border-radius:13px;align-items:flex-start;gap:10px;padding:13px;display:flex}.sidebar-storage svg{color:var(--orange);flex:none;margin-top:1px}.sidebar-storage span{flex-direction:column;line-height:1.35;display:flex}.sidebar-storage strong{font-size:12px;font-weight:800}.sidebar-storage small{color:var(--muted);font-size:10.5px}.sidebar-version{color:var(--muted-light);text-align:center;font-size:10.5px;font-weight:600}.mobile-topbar,.mobile-nav,.fab{display:none}.main{min-width:0;padding:34px 38px 72px}.page{max-width:1240px;margin:0 auto}.main-editor .page{max-width:1520px}.toast-stack{z-index:200;pointer-events:none;flex-direction:column;align-items:flex-end;gap:10px;display:flex;position:fixed;bottom:22px;right:22px}.toast{border:1px solid var(--line);border-left:4px solid var(--navy);max-width:min(420px,100vw - 32px);color:var(--ink-soft);box-shadow:var(--shadow-md);background:#fff;border-radius:12px;align-items:center;gap:10px;padding:12px 16px;font-size:13px;font-weight:600;animation:.24s both toast-in;display:flex}.toast svg{flex:none}.toast-success{border-left-color:var(--green)}.toast-success svg{color:var(--green)}.toast-error{border-left-color:var(--red)}.toast-error svg{color:var(--red)}.toast-info{border-left-color:var(--blue)}.toast-info svg{color:var(--blue)}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-backdrop{z-index:120;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#06142885;justify-content:center;align-items:center;padding:24px;animation:.18s both fade-in;display:flex;position:fixed;inset:0}.modal{width:100%;max-height:calc(100vh - 48px);box-shadow:var(--shadow-lg);background:#fff;border-radius:20px;flex-direction:column;animation:.22s cubic-bezier(.2,.7,.3,1) both modal-in;display:flex}.modal-sm{max-width:420px}.modal-md{max-width:600px}.modal-lg{max-width:820px}.modal-xl{max-width:1040px}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 16px;display:flex}.modal-head h2{letter-spacing:-.02em;color:var(--navy);font-size:18px;font-weight:800}.modal-head p{color:var(--muted);margin-top:3px;font-size:12.5px}.modal-body{padding:22px 24px;overflow-y:auto}.modal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(14px)scale(.985)}}.status-cluster{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.status-badge{letter-spacing:.02em;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:10.5px;font-weight:800;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.status-borrador{color:#5b6b80;background:#eef1f6}.status-enviada{background:var(--blue-bg);color:#1d5bb0}.status-aceptada{background:var(--green-bg);color:var(--green)}.status-rechazada{background:var(--red-bg);color:var(--red)}.status-vencida{background:var(--amber-bg);color:var(--amber)}.avatar{letter-spacing:.02em;-webkit-user-select:none;user-select:none;border-radius:50%;flex:none;place-items:center;font-weight:800;display:inline-grid}.avatar-sm{width:32px;height:32px;font-size:10.5px}.avatar-md{width:40px;height:40px;font-size:12.5px}.avatar-lg{width:52px;height:52px;font-size:15px}.avatar-tone-0{color:#174578;background:#e8eef8}.avatar-tone-1{color:#a8500a;background:#fff0e3}.avatar-tone-2{color:#14703f;background:#e6f6ed}.avatar-tone-3{color:#5b3a9c;background:#f0eafb}.view-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.view-head-copy{min-width:0}.eyebrow{color:var(--orange-600);letter-spacing:.13em;text-transform:uppercase;margin-bottom:5px;font-size:10.5px;font-weight:800;display:inline-block}.view-head h1{letter-spacing:-.035em;color:var(--navy);font-size:clamp(26px,3vw,34px);font-weight:800;line-height:1.1}.view-head p{max-width:640px;color:var(--muted);margin-top:7px;font-size:13.5px}.view-head-actions{flex:none;align-items:center;gap:10px;display:flex}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:54px 24px 58px;display:flex}.empty-icon{background:var(--navy-050);border:1px solid var(--line);width:58px;height:58px;color:var(--navy-600);border-radius:17px;place-items:center;margin-bottom:16px;display:grid}.empty-state h3{color:var(--navy);font-size:16px;font-weight:800}.empty-state p{max-width:420px;color:var(--muted);margin-top:6px;font-size:13px}.empty-action{margin-top:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.count-pill{background:var(--navy-050);border:1px solid var(--line);min-width:27px;height:24px;color:var(--navy-600);border-radius:999px;justify-content:center;align-items:center;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.muted-note{color:var(--muted);margin:4px 0 18px;font-size:12.5px}.dashboard{flex-direction:column;gap:22px;display:flex}.quotes-view,.clients-view,.settings-view{min-width:0}.page-editor{max-width:1520px;margin:0 auto}.hero-card{color:#fff;background:radial-gradient(760px 340px at 92% -10%,#f0701052,#0000 62%),radial-gradient(520px 280px at 4% 112%,#2874c866,#0000 65%),linear-gradient(120deg,#002050 0%,#002b62 52%,#063873 100%);border-radius:26px;justify-content:space-between;align-items:stretch;gap:36px;padding:38px 42px;display:flex;position:relative;overflow:hidden;box-shadow:0 22px 48px #00205038}.hero-card:after{content:"";pointer-events:none;border:1px solid #ffffff24;border-radius:50%;width:330px;height:330px;position:absolute;bottom:-150px;right:-90px}.hero-copy{z-index:1;max-width:620px;position:relative}.hero-eyebrow{color:#ffd9b8;letter-spacing:.14em;text-transform:uppercase;background:#ffffff14;border:1px solid #fff3;border-radius:999px;align-items:center;gap:8px;padding:5px 12px;font-size:10px;font-weight:800;display:inline-flex}.hero-card h1{letter-spacing:-.04em;margin-top:16px;font-size:clamp(30px,4vw,42px);font-weight:800;line-height:1.05}.hero-card p{color:#ffffffc7;max-width:560px;margin-top:12px;font-size:13.5px;line-height:1.6}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.hero-card .btn-primary{background:linear-gradient(135deg, #ff8a35, var(--orange) 55%, #d95f07);color:#fff;box-shadow:0 12px 26px #f0701059}.hero-card .btn-primary:hover{box-shadow:0 16px 32px #f0701073}.hero-date{color:#ffffff9e;text-transform:capitalize;align-items:center;gap:8px;margin-top:22px;font-size:11.5px;font-weight:600;display:inline-flex}.hero-aside{z-index:1;justify-content:center;align-items:center;min-width:220px;display:flex;position:relative}.hero-orbit{border:1px dashed #ffffff38;border-radius:50%;width:250px;height:250px;position:absolute}.hero-number-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1a;border:1px solid #ffffff38;border-radius:18px;flex-direction:column;gap:2px;min-width:190px;padding:20px 24px;display:flex;position:relative;box-shadow:inset 0 1px #ffffff2e}.hero-number-card span{color:#ffffffad;letter-spacing:.06em;text-transform:uppercase;font-size:10.5px;font-weight:700}.hero-number-card strong{letter-spacing:-.03em;font-size:36px;font-weight:800;line-height:1.15}.hero-number-card small{color:#ffffff8f;font-size:10.5px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.kpi-card{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#fff;align-items:flex-start;gap:13px;padding:19px 18px;display:flex}.kpi-icon{border-radius:12px;flex:0 0 41px;place-items:center;width:41px;height:41px;display:grid}.tone-navy{background:var(--navy-100);color:var(--navy)}.tone-green{background:var(--green-bg);color:var(--green)}.tone-orange{background:var(--orange-100);color:var(--orange-600)}.tone-blue{background:var(--blue-bg);color:var(--blue)}.kpi-copy{flex-direction:column;min-width:0;display:flex}.kpi-copy>span{color:var(--muted);letter-spacing:.02em;font-size:11px;font-weight:700}.kpi-copy strong{color:var(--navy);letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:20px;font-weight:800;line-height:1.2;overflow:hidden}.kpi-copy small{color:var(--muted-light);margin-top:2px;font-size:10.5px;font-weight:500}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);align-items:start;gap:18px;display:grid}.card-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 16px;display:flex}.card-head.compact{align-items:center;padding-bottom:14px}.card-head h2{letter-spacing:-.015em;color:var(--navy);font-size:15px;font-weight:800}.card-head p{color:var(--muted);margin-top:2px;font-size:11.5px}.recent-list{flex-direction:column;padding:6px;display:flex}.recent-card{overflow:hidden}.recent-row{text-align:left;background:0 0;border:0;border-radius:13px;grid-template-columns:94px minmax(0,1fr) auto 20px;align-items:center;gap:14px;width:100%;padding:12px 14px;transition:background .15s;display:grid}.recent-row:hover{background:var(--navy-050)}.recent-number{flex-direction:column;line-height:1.3;display:flex}.recent-number strong{color:var(--navy);font-size:13px;font-weight:800}.recent-number small{color:var(--muted-light);font-size:10.5px}.recent-client{align-items:center;gap:10px;min-width:0;display:flex}.recent-client>span:last-child{flex-direction:column;min-width:0;line-height:1.3;display:flex}.recent-client strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.recent-client small{color:var(--muted-light);font-size:10.5px}.recent-total{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.recent-total>strong{color:var(--navy);white-space:nowrap;font-size:12.5px;font-weight:800}.recent-chevron{color:var(--muted-light)}.recent-row:hover .recent-chevron{color:var(--orange)}.dashboard-side{flex-direction:column;gap:18px;display:flex}.side-card{flex-direction:column;padding-bottom:18px;display:flex}.client-mini-list{flex-direction:column;gap:4px;padding:8px 12px 14px;display:flex}.client-mini-row{align-items:center;gap:10px;padding:7px 6px;display:flex}.client-mini-row>span:last-child{flex-direction:column;min-width:0;line-height:1.3;display:flex}.client-mini-row strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.client-mini-row small{color:var(--muted-light);font-size:10px}.side-card .muted-note{padding:18px 20px 8px}.side-card .link-button.wide{justify-content:center;width:auto;margin:0 18px;padding-top:13px}.backup-card{background:radial-gradient(300px 160px at 100% 0,#f070101f,#0000 70%),#fff;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;display:flex}.backup-icon{background:var(--orange-100);width:40px;height:40px;color:var(--orange-600);border-radius:12px;place-items:center;display:grid}.backup-card h2{color:var(--navy);font-size:14px;font-weight:800}.backup-card p{color:var(--muted);font-size:11.5px;line-height:1.55}.backup-card .btn{margin-top:4px}.quotes-panel,.clients-panel{overflow:hidden}.quotes-toolbar,.clients-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.search-field{border:1px solid var(--line-strong);width:min(360px,100%);min-height:40px;color:var(--muted-light);background:#fbfcfe;border-radius:11px;align-items:center;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.search-field:focus-within{border-color:var(--navy-600);background:#fff;box-shadow:0 0 0 3px #0b44871f}.search-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:none;padding:9px 26px 9px 9px;font-size:12.5px}.search-field input::placeholder{color:var(--muted-light)}.search-field input::-webkit-search-cancel-button{display:none}.search-clear{width:24px;height:24px;color:var(--muted);background:#eef1f6;border:0;border-radius:7px;place-items:center;padding:0;display:grid;position:absolute;right:7px}.search-clear:hover{background:#e2e7ef}.filter-chips{flex-wrap:wrap;gap:6px;display:flex}.filter-chip{border:1px solid var(--line);min-height:34px;color:var(--muted);background:#fff;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:11.5px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.filter-chip span{min-width:17px;height:17px;color:var(--muted);background:#eef1f6;border-radius:999px;place-items:center;padding:0 5px;font-size:9.5px;font-weight:800;display:inline-grid}.filter-chip:hover{color:var(--navy);border-color:#bcc9da}.filter-chip.active{background:var(--navy);border-color:var(--navy);color:#fff}.filter-chip.active span{color:#fff;background:#fff3}.quotes-head{border-bottom:1px solid var(--line);color:var(--muted-light);letter-spacing:.09em;text-transform:uppercase;background:#fafbfd;grid-template-columns:120px minmax(0,1fr) 90px 130px 120px 80px;gap:14px;padding:11px 22px;font-size:9.5px;font-weight:800;display:grid}.quotes-list{flex-direction:column;display:flex}.quote-row{border-bottom:1px solid var(--line);align-items:center;transition:background .15s;display:flex}.quote-row:last-child{border-bottom:0}.quote-row:hover{background:#fbfcfe}.quote-row-main{text-align:left;background:0 0;border:0;flex:1;grid-template-columns:120px minmax(0,1fr) 90px 130px 120px;align-items:center;gap:14px;min-width:0;padding:13px 0 13px 22px;display:grid}.quote-number{flex-direction:column;line-height:1.3;display:flex}.quote-number strong{color:var(--navy);font-size:12.5px;font-weight:800}.quote-number small{color:var(--muted-light);font-size:10.5px}.quote-client{align-items:center;gap:10px;min-width:0;display:flex}.quote-client>span:last-child{flex-direction:column;min-width:0;line-height:1.3;display:flex}.quote-client strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.quote-client small{color:var(--muted-light);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.quote-items{color:var(--muted);font-size:11.5px}.quote-total{color:var(--navy);white-space:nowrap;font-size:12.5px;font-weight:800}.quote-actions{flex:none;align-items:center;gap:2px;padding:0 18px 0 10px;display:flex}.quotes-foot{border-top:1px solid var(--line);color:var(--muted-light);background:#fafbfd;padding:14px 22px;font-size:11px;font-weight:600}.clients-toolbar .toolbar-meta{color:var(--muted-light);white-space:nowrap;font-size:11.5px}.toolbar-meta strong{color:var(--navy);font-weight:800}.clients-head{border-bottom:1px solid var(--line);color:var(--muted-light);letter-spacing:.09em;text-transform:uppercase;background:#fafbfd;grid-template-columns:minmax(200px,1.5fr) 120px minmax(160px,1fr) 110px 84px;gap:14px;padding:11px 22px;font-size:9.5px;font-weight:800;display:grid}.clients-list{flex-direction:column;display:flex}.client-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(200px,1.5fr) 120px minmax(160px,1fr) 110px 84px;align-items:center;gap:14px;padding:13px 22px;transition:background .15s;display:grid}.client-row:last-child{border-bottom:0}.client-row:hover{background:#fbfcfe}.client-main{align-items:center;gap:11px;min-width:0;display:flex}.client-info{flex-direction:column;min-width:0;line-height:1.3;display:flex}.client-info strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.client-info small{color:var(--muted-light);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.client-rnc{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.client-contact{min-width:0;color:var(--muted);flex-direction:column;gap:2px;font-size:10.5px;display:flex}.client-contact a{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;display:flex;overflow:hidden}.client-contact a:hover{color:var(--navy-600);text-decoration:none}.client-contact svg{color:var(--muted-light);flex:none}.client-actions{justify-content:flex-end;gap:2px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;display:grid}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-full{grid-column:1/-1}.field>span{color:var(--ink-soft);font-size:11.5px;font-weight:700}.field>span em{color:var(--orange-600);font-style:normal}.field input,.field select,.field textarea,.item-field input,.item-field textarea{border:1px solid var(--line-strong);width:100%;min-height:41px;color:var(--ink);background:#fff;border-radius:10px;outline:none;padding:9px 12px;font-size:12.5px;transition:border-color .15s,box-shadow .15s}.field textarea,.item-field textarea{resize:vertical;min-height:0;line-height:1.5}.field input::placeholder,.field textarea::placeholder,.item-field input::placeholder,.item-field textarea::placeholder{color:#a6b2c2}.field input:focus,.field select:focus,.field textarea:focus,.item-field input:focus,.item-field textarea:focus{border-color:var(--navy-600);box-shadow:0 0 0 3px #0b44871c}.field.has-error input,.field.has-error textarea,.item-field.has-error input,.item-field.has-error textarea{border-color:var(--red);box-shadow:0 0 0 3px #cf2f2f1a}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f7085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}.field-hint{color:var(--muted-light);font-size:10.5px;line-height:1.4}.field-note .number-preview{border:1px dashed var(--line-strong);background:var(--navy-050);min-height:41px;color:var(--navy);border-radius:10px;align-items:center;padding:0 14px;font-size:14px;font-weight:800;display:flex}.check-field{border:1px solid var(--line);color:var(--muted);background:#fbfcfe;border-radius:10px;align-items:flex-start;gap:9px;padding:10px 12px;font-size:11.5px;line-height:1.4;display:flex}.check-field input{width:15px;height:15px;accent-color:var(--navy);margin:1px 0 0}.form-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.form-alert{border:1px solid #f3c7c7;border-left:4px solid var(--red);background:var(--red-bg);color:#8c2323;border-radius:10px;grid-column:1/-1;align-items:flex-start;gap:9px;padding:11px 13px;font-size:12px;font-weight:600;display:flex}.form-alert-top{grid-column:auto;margin-bottom:18px;padding:14px 16px}.form-alert strong{margin-bottom:4px;font-size:12.5px;font-weight:800;display:block}.form-alert ul{margin:0;padding-left:18px}.form-alert li+li{margin-top:2px}.editor-view{flex-direction:column;gap:18px;display:flex}.editor-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:4px 0 2px;display:flex}.editor-head-left{align-items:center;gap:13px;min-width:0;display:flex}.back-button{border:1px solid var(--line-strong);width:40px;height:40px;color:var(--muted);background:#fff;border-radius:12px;flex:0 0 40px;place-items:center;transition:background .15s,color .15s;display:grid}.back-button:hover{background:var(--navy-050);color:var(--navy)}.editor-title{min-width:0}.editor-title h1{letter-spacing:-.03em;max-width:560px;color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(20px,2.4vw,27px);font-weight:800;line-height:1.15;overflow:hidden}.editor-title .eyebrow{margin-bottom:2px}.editor-badges{flex-wrap:wrap;align-items:center;gap:7px;margin-left:6px;display:flex}.dirty-pill{background:var(--amber-bg);color:var(--amber);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 9px;font-size:10px;font-weight:800;display:inline-flex}.editor-head-actions{flex:none;align-items:center;gap:8px;display:flex}.editor-grid{grid-template-columns:minmax(0,1fr) 440px;align-items:start;gap:22px;display:grid}.editor-form{flex-direction:column;gap:18px;min-width:0;display:flex}.form-section{padding:20px 22px 22px}.form-section-head{border-bottom:1px solid var(--line);align-items:flex-start;gap:12px;margin-bottom:18px;padding-bottom:14px;display:flex}.form-section-icon{background:var(--navy-050);border:1px solid var(--line);width:36px;height:36px;color:var(--navy-600);border-radius:10px;flex:0 0 36px;place-items:center;display:grid}.form-section-head>div{min-width:0}.form-section-head h2{letter-spacing:-.015em;color:var(--navy);font-size:14.5px;font-weight:800}.form-section-head p{color:var(--muted);margin-top:1px;font-size:11.5px}.form-section-action{margin-left:auto}.status-pills{flex-wrap:wrap;gap:6px;display:flex}.status-pill{border:1px solid var(--line-strong);min-height:38px;color:var(--muted);background:#fff;border-radius:10px;padding:0 12px;font-size:11px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.status-pill:hover{border-color:#b9c6d8}.status-pill-borrador.active{color:#46586e;background:#eef1f6;border-color:#b8c2d1}.status-pill-enviada.active{background:var(--blue-bg);color:#1d5bb0;border-color:#9dc2f2}.status-pill-aceptada.active{background:var(--green-bg);color:var(--green);border-color:#9dd9b8}.status-pill-rechazada.active{background:var(--red-bg);color:var(--red);border-color:#f0afaf}.item-editor{flex-direction:column;display:flex}.item-editor-head,.item-editor-row{grid-template-columns:28px 74px minmax(0,1fr) 128px 116px 34px;align-items:start;gap:9px;display:grid}.item-editor-head{color:var(--muted-light);letter-spacing:.08em;text-transform:uppercase;padding:0 2px 8px;font-size:9px;font-weight:800}.item-editor-row{border-top:1px solid var(--line);padding:9px 2px}.item-index{background:var(--navy-050);width:24px;height:24px;color:var(--navy-600);border-radius:7px;place-items:center;margin-top:9px;font-size:10.5px;font-weight:800;display:grid}.item-field{flex-direction:column;min-width:0;display:flex}.item-field input,.item-field textarea{font-size:12px}.item-qty input{text-align:center;padding:9px 7px}.item-field textarea{min-height:62px}.input-prefix{border:1px solid var(--line-strong);background:#fff;border-radius:10px;align-items:center;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.input-prefix>span{color:var(--muted-light);padding-left:9px;font-size:10px;font-weight:800}.input-prefix input{box-shadow:none;background:0 0;border:0;padding-left:5px}.input-prefix:focus-within{border-color:var(--navy-600);box-shadow:0 0 0 3px #0b44871c}.item-line-total{flex-direction:column;gap:6px;padding-top:1px;display:flex}.item-line-total strong{border:1px dashed var(--line-strong);min-height:41px;color:var(--navy);white-space:nowrap;background:#fbfcfe;border-radius:10px;justify-content:flex-end;align-items:center;padding:0 10px;font-size:12px;font-weight:800;display:flex}.item-remove{margin-top:4px}.item-remove:hover{background:var(--red-bg);color:var(--red)}.mobile-label{display:none}.add-item-button{border:1px dashed var(--line-strong);width:100%;min-height:42px;color:var(--navy-600);background:#fbfcfe;border-radius:11px;justify-content:center;align-items:center;gap:7px;margin-top:10px;font-size:12px;font-weight:700;transition:background .15s,border-color .15s;display:flex}.add-item-button:hover{border-color:var(--navy-600);background:var(--navy-050)}.editor-total{background:radial-gradient(240px 90px at 100% 0%, #f070101a, transparent 70%), var(--navy-050);border:1px solid #cfdbee;border-radius:13px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:14px 18px;display:flex}.editor-total>div{flex-direction:column;line-height:1.35;display:flex}.editor-total span{color:var(--ink-soft);font-size:11.5px;font-weight:700}.editor-total small{color:var(--muted-light);font-size:10.5px}.editor-total strong{color:var(--navy);letter-spacing:-.03em;white-space:nowrap;font-size:23px;font-weight:800}.editor-bottom-actions{justify-content:flex-end;gap:10px;padding-bottom:4px;display:flex}.editor-aside{position:sticky;top:22px}.preview-panel{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#fff;overflow:hidden}.preview-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.preview-title{align-items:center;gap:9px;display:flex}.preview-dot{background:var(--orange);width:8px;height:8px;box-shadow:0 0 0 4px var(--orange-100);border-radius:50%}.preview-title>div{flex-direction:column;line-height:1.25;display:flex}.preview-title strong{color:var(--navy);font-size:12px;font-weight:800}.preview-title small{color:var(--muted-light);font-size:10px}.preview-body{background:radial-gradient(360px 200px at 100% 0,#0b44870f,#0000 70%),#eef2f8;padding:20px 18px}.preview-foot{border-top:1px solid var(--line);color:var(--muted-light);background:#fafbfd;justify-content:space-between;align-items:center;gap:12px;padding:11px 16px;font-size:10px;line-height:1.4;display:flex}.share-actions{align-items:center;gap:5px;display:flex}.share-button{border:1px solid var(--line);width:32px;height:32px;color:var(--muted);background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.share-button:hover{color:var(--navy);border-color:#bcc9da}.share-whatsapp:hover{background:var(--green-bg);color:var(--green);border-color:#a9dfbd}.share-button.with-label{width:auto;padding:0 10px;font-size:11px;font-weight:700}.preview-modal{background:#eef2f8;border-radius:14px;padding:20px}.not-found{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:60px 24px;display:flex}.not-found-icon{background:var(--red-bg);width:58px;height:58px;color:var(--red);border-radius:16px;place-items:center;display:grid}.not-found h1{color:var(--navy);font-size:21px;font-weight:800}.not-found p{color:var(--muted);margin-bottom:8px;font-size:13px}.settings-view{flex-direction:column;display:flex}.settings-grid{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:20px;display:grid}.settings-main,.settings-side{flex-direction:column;gap:18px;display:flex}.settings-card{padding:22px}.settings-card h2{letter-spacing:-.015em;color:var(--navy);font-size:15px;font-weight:800}.settings-card-head{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:13px}.settings-card-head p{color:var(--muted);margin-top:2px;font-size:11.5px}.logo-field{border:1px solid var(--line);background:#fbfcfe;border-radius:14px;align-items:center;gap:16px;margin-bottom:20px;padding:14px;display:flex}.logo-preview{border:1px solid var(--line);background-color:#0000;background-image:linear-gradient(45deg,#eef1f6 25%,#0000 25% 75%,#eef1f6 75%),linear-gradient(45deg,#eef1f6 25%,#fff 25% 75%,#eef1f6 75%);background-position:0 0,6px 6px;background-repeat:repeat,repeat;background-size:12px 12px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:11px;flex:0 0 104px;place-items:center;width:104px;height:72px;padding:8px;display:grid}.logo-preview img{object-fit:contain;width:100%;height:100%}.logo-copy{min-width:0}.logo-copy strong{color:var(--ink-soft);font-size:12.5px;font-weight:800}.logo-copy p{color:var(--muted);margin-top:2px;font-size:10.5px;line-height:1.45}.logo-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:9px;display:flex}.settings-savebar{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.settings-savebar>div{flex-direction:column;line-height:1.35;display:flex}.settings-savebar strong{color:var(--navy);font-size:12.5px;font-weight:800}.settings-savebar span{color:var(--muted);font-size:10.5px}.backup-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.backup-stats>div{border:1px solid var(--line);text-align:center;background:#fafbfd;border-radius:10px;flex-direction:column;gap:2px;padding:10px 9px;display:flex}.backup-stats span{color:var(--muted-light);letter-spacing:.03em;text-transform:uppercase;font-size:9px;font-weight:700}.backup-stats strong{color:var(--navy);letter-spacing:-.02em;font-size:15px;font-weight:800}.backup-actions{flex-direction:column;gap:8px;display:flex}.backup-actions .btn{width:100%}.settings-note{color:var(--muted);margin-top:14px;font-size:10.5px;line-height:1.5}.restore-link{border-top:1px solid var(--line);width:100%;margin-top:16px;padding-top:14px;font-size:11px}.info-card{color:#fffc;background:radial-gradient(260px 140px at 100% 0,#f070104d,#0000 70%),linear-gradient(135deg,#002050,#04356e);border:0;padding:22px;position:relative;overflow:hidden}.info-icon{color:#ffd0a6;background:#ffffff1f;border:1px solid #fff3;border-radius:12px;place-items:center;width:42px;height:42px;margin-bottom:12px;display:grid}.info-card h2{color:#fff}.info-card p{margin-top:6px;font-size:11.5px;line-height:1.55}.info-card ul{margin:11px 0 0;padding-left:16px;font-size:10.5px;line-height:1.6}.app-version{color:#ffffff80;border-top:1px solid #ffffff29;flex-direction:column;gap:2px;margin-top:16px;padding-top:12px;font-size:9.5px;font-weight:600;display:flex}.sheet-scale-wrap{width:100%;position:relative;overflow:hidden}.sheet-scale-inner{transform-origin:0 0;width:816px}.preview-body .quote-sheet,.preview-modal .quote-sheet{border:1px solid #0020501f;box-shadow:0 18px 44px #091a3329}.quote-sheet{color:#000;width:612pt;height:792pt;font-family:var(--sheet-font);background:#fff;flex-direction:column;flex:none;padding:57.7pt 54.24pt 56pt;font-size:9pt;line-height:1.3;display:flex;overflow:hidden}.quote-sheet *,.quote-sheet :before,.quote-sheet :after{box-sizing:border-box}.sheet-title{letter-spacing:-.2pt;margin:0 0 31pt;font-size:22.56pt;font-weight:700;line-height:1.15}.sheet-header{justify-content:space-between;align-items:flex-start;gap:14pt;display:flex}.sheet-brand{flex-direction:row;align-items:flex-start;gap:12.2pt;min-width:0;display:flex}.sheet-logo{object-fit:contain;object-position:left top;flex:none;width:auto;max-width:100pt;height:54.24pt;margin-left:6.8pt}.sheet-company{flex-direction:column;min-width:0;margin-top:-2.4pt;display:flex}.sheet-company-name{letter-spacing:.01em;font-size:11.2pt;font-weight:700;line-height:1.38}.sheet-company-line{color:#222;font-size:10.24pt;line-height:1.15}.sheet-meta{text-align:left;white-space:nowrap;width:160.8pt;margin:0 0 0 auto;padding-top:0;font-size:9.12pt;line-height:1.05}.sheet-meta-row{justify-content:flex-start;gap:0;display:flex}.sheet-meta-row dt{flex:0 0 77.2pt;width:77.2pt;font-weight:700}.sheet-meta-row dd{margin:0;font-size:10.24pt}.sheet-bill{min-height:40.2pt;margin-top:20pt}.sheet-bill-label{margin-bottom:0;font-size:9.12pt;font-weight:700;line-height:1.15}.sheet-bill-name{font-size:10.24pt;font-weight:400;line-height:1.15}.sheet-bill-line{font-size:10.24pt;line-height:1.15}.sheet-bill-address{white-space:pre-line;max-width:320pt}.sheet-items{flex-direction:column;flex:auto;min-height:0;margin-top:8pt;display:flex;position:relative}.sheet-grid-lines{z-index:0;pointer-events:none;position:absolute;inset:0}.sheet-grid-lines span{background:#000;width:.75pt;position:absolute;top:0;bottom:0}.sheet-grid-lines span:first-child{left:0}.sheet-grid-lines span:nth-child(2){left:50.4pt}.sheet-grid-lines span:nth-child(3){left:298.08pt}.sheet-grid-lines span:nth-child(4){left:400.8pt}.sheet-grid-lines span:nth-child(5){left:calc(100% - .75pt)}.sheet-items-head{z-index:1;border-top:.75pt solid #000;border-bottom:.75pt solid #000;flex:none;grid-template-columns:50.4pt minmax(0,1fr) 102.72pt 102.72pt;align-items:center;height:21.12pt;font-size:9.12pt;font-weight:700;display:grid;position:relative}.sheet-items-head span:first-child{text-align:center}.sheet-items-head span:nth-child(2){padding-left:7.7pt}.sheet-items-head span:nth-child(3),.sheet-items-head span:nth-child(4){text-align:right;padding-right:7.7pt}.sheet-items-body{z-index:1;flex:auto;min-height:0;position:relative;overflow:hidden}.sheet-item-row{border-bottom:.75pt solid #000;grid-template-columns:50.4pt minmax(0,1fr) 102.72pt 102.72pt;align-items:start;min-height:22.05pt;padding:3.7pt 0;font-size:10.24pt;line-height:1.36;display:grid}.cell-qty{text-align:center;font-variant-numeric:tabular-nums}.cell-desc{white-space:pre-wrap;overflow-wrap:break-word;padding:0 5pt 0 7.7pt}.cell-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding-right:7.7pt}.sheet-items-fill{display:none}.sheet-total{border-top:.75pt solid #000;border-bottom:.75pt solid #000;flex:none;justify-content:flex-end;align-items:flex-start;gap:12pt;height:26.8pt;padding-top:2pt;padding-right:.5pt;font-size:11.2pt;font-weight:700;display:flex}.sheet-total span{text-align:right;font-weight:700}.sheet-total strong{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11.2pt;font-weight:700}.sheet-notes{flex:none;min-height:75.2pt;padding-top:.9pt;font-size:9.28pt;line-height:1.115;overflow:hidden}.sheet-note-text{white-space:pre-wrap}.sheet-delivery{white-space:pre-wrap;margin-top:10.35pt;font-weight:400}.print-root{display:none}@page{size:letter;margin:0}@media print{html,body{width:8.5in;min-height:0;margin:0;padding:0;background:#fff!important}body>#root,.modal-backdrop,.toast-stack{display:none!important}body>.print-root{display:block!important}.print-root .quote-sheet{width:612pt;height:792pt;box-shadow:none;page-break-after:avoid;break-after:avoid;border:0;margin:0}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media screen and (width<=1440px){.main{padding-left:30px;padding-right:30px}.editor-grid{grid-template-columns:minmax(0,1fr) 400px}}@media screen and (width<=1180px){.editor-aside{display:none}.editor-grid{grid-template-columns:minmax(0,1fr)}.hero-card{padding:32px 34px}.quotes-head,.quote-row-main{grid-template-columns:100px minmax(0,1fr) 76px 116px 110px}.quotes-head{grid-template-columns:100px minmax(0,1fr) 76px 116px 110px 70px}.clients-head,.client-row{grid-template-columns:minmax(180px,1.4fr) 110px minmax(150px,1fr) 80px 74px}}@media screen and (width<=1024px){.app-shell{display:block}.sidebar{display:none}.mobile-topbar{z-index:60;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;justify-content:space-between;align-items:center;height:62px;padding:0 18px;display:flex;position:sticky;top:0}.mobile-brand{background:0 0;border:0;padding:0}.mobile-brand img{object-fit:contain;width:auto;height:40px}.main{padding:22px 20px 104px}.mobile-nav{z-index:70;height:66px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav-item{color:var(--muted-light);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;font-size:9.5px;font-weight:700;display:flex;position:relative}.mobile-nav-item.active{color:var(--navy)}.mobile-nav-item.active:before{content:"";background:var(--orange);border-radius:0 0 3px 3px;width:26px;height:3px;position:absolute;top:0}.fab{z-index:65;background:linear-gradient(135deg, #04306a, var(--navy));color:#fff;border:0;border-radius:50%;place-items:center;width:54px;height:54px;padding:0;display:grid;position:fixed;bottom:82px;right:18px;box-shadow:0 14px 30px #00205059}.toast-stack{align-items:stretch;bottom:80px;left:16px;right:16px}.toast{max-width:none}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.settings-grid{grid-template-columns:minmax(0,1fr)}.settings-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}@media screen and (width<=900px){.hero-card{align-items:flex-start;gap:22px;padding:28px}.hero-aside{display:none}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-side{grid-template-columns:minmax(0,1fr)}}@media screen and (width<=820px){.view-head{flex-direction:column;align-items:stretch;gap:16px}.view-head-actions{justify-content:flex-start}.quotes-toolbar,.clients-toolbar{flex-direction:column;align-items:stretch}.search-field{width:100%}.filter-chips{scrollbar-width:thin;flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto}.filter-chip{flex:none}.quotes-head,.clients-head{display:none}.quote-row{gap:2px;padding-right:10px}.quote-row-main{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:12px 0 12px 14px;display:grid}.quote-number{grid-area:1/1}.quote-total{grid-area:1/2;justify-self:end}.quote-client{grid-area:2/1}.quote-status{grid-area:2/2;justify-self:end}.quote-items{display:none}.quote-actions{padding:0 2px}.client-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:13px 16px}.client-main{grid-area:1/1}.client-quotes{grid-area:1/2;justify-self:end}.client-rnc{grid-area:2/1;padding-left:43px}.client-contact{grid-area:3/1;padding-left:43px}.client-actions{grid-area:2/2/4;align-self:center}.quotes-foot{padding:12px 16px}.dashboard-side{grid-template-columns:minmax(0,1fr)}}@media screen and (width<=700px){.main{padding:18px 14px 102px}.hero-card{border-radius:20px;padding:24px 20px}.hero-card h1{font-size:30px}.hero-actions .btn{flex:160px}.form-grid{grid-template-columns:minmax(0,1fr)}.form-section{padding:17px 16px 18px}.form-section-head{margin-bottom:15px}.item-editor-head{display:none}.item-editor-row{border:1px solid var(--line);background:#fbfcfe;border-radius:12px;grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);gap:9px;margin-bottom:10px;padding:12px}.item-index{grid-area:1/1;margin-top:24px}.item-qty{grid-area:1/2}.item-price{grid-area:1/3}.item-desc{grid-area:2/1/auto/-1}.item-line-total{grid-area:3/1/auto/3}.item-remove{grid-area:3/3;place-self:end;margin-top:0}.mobile-label{color:var(--muted-light);letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:9px;font-weight:800;display:block}.item-qty input,.input-prefix,.item-line-total strong{min-height:38px}.editor-head{align-items:flex-start;gap:12px}.editor-title h1{max-width:62vw}.editor-badges{display:none}.editor-head-actions{width:100%}.editor-head-actions .btn{flex:1}.editor-total{align-items:flex-start}.editor-total strong{font-size:19px}.editor-bottom-actions .btn{flex:1}.settings-card{padding:17px 16px}.logo-field{flex-direction:column;align-items:flex-start}.logo-preview{width:100%;height:84px}.settings-savebar{flex-direction:column;align-items:stretch}.settings-savebar .btn,.view-head-actions .btn{width:100%}.modal-backdrop{padding:12px}.modal{border-radius:16px;max-height:calc(100vh - 24px)}.modal-head{padding:17px 16px 13px}.modal-body{padding:17px 16px}.preview-modal{padding:10px}.form-alert-top{margin-bottom:14px}}@media screen and (width<=560px){.hide-xs{display:none}.hero-eyebrow{font-size:9px}.hero-date{margin-top:16px}.kpi-grid{gap:10px}.kpi-card{gap:9px;padding:14px 12px}.kpi-icon{border-radius:10px;flex-basis:34px;width:34px;height:34px}.kpi-copy strong{font-size:17px}.card-head{padding:17px 16px 13px}.recent-row{grid-template-columns:68px minmax(0,1fr) auto;gap:10px;padding:11px 10px}.recent-chevron{display:none}.recent-total>strong{font-size:11.5px}.backup-card{padding:16px}.backup-card .btn{width:100%}.status-pills{gap:5px}.status-pill{flex:calc(50% - 5px);min-height:36px}.editor-title h1{max-width:58vw;font-size:19px}.back-button{flex-basis:36px;width:36px;height:36px}.share-button{width:30px;height:30px}.preview-head,.preview-foot{flex-wrap:wrap}.modal-head h2{font-size:16px}}@media screen and (width<=460px){.kpi-grid{grid-template-columns:minmax(0,1fr)}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.filter-chips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.quote-client>span:last-child small{display:none}.item-editor-row{grid-template-columns:24px minmax(0,1fr)}.item-qty{grid-area:1/2}.item-price{grid-area:2/2}.item-desc{grid-area:3/1/auto/-1}.item-line-total{grid-area:4/1}.item-remove{grid-area:4/2}.item-index{grid-row:1/3;margin-top:24px}.editor-total{flex-direction:column;gap:8px}.editor-total strong{font-size:22px}.settings-savebar{padding:14px}.backup-stats{gap:6px}.toolbar-meta{white-space:normal}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.btn:disabled,.icon-button:disabled{opacity:.55;cursor:not-allowed}.auth-shell{background:var(--bg);grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);min-height:100vh;display:grid}.auth-brand{color:#fff;background:radial-gradient(520px 320px at 100% 0,#f070105c,#0000 68%),radial-gradient(420px 340px at 0 100%,#2367c466,#0000 70%),linear-gradient(145deg,#001a40,#04356e 60%,#06336a);flex-direction:column;justify-content:space-between;gap:32px;padding:46px 52px;display:flex;position:relative;overflow:hidden}.auth-brand:after{content:"";pointer-events:none;border:1px solid #ffffff1f;border-radius:50%;width:360px;height:360px;position:absolute;bottom:-140px;right:-120px;box-shadow:0 0 0 42px #ffffff0a,0 0 0 96px #ffffff08}.auth-brand-top{z-index:1;letter-spacing:.02em;align-items:center;gap:12px;font-size:15px;font-weight:800;display:flex;position:relative}.auth-logo{object-fit:contain;background:#fff;border-radius:11px;width:auto;height:46px;padding:6px 9px}.auth-brand-copy{z-index:1;max-width:470px;position:relative}.auth-eyebrow{letter-spacing:.09em;text-transform:uppercase;color:#ffd0a6;background:#ffffff14;border:1px solid #ffffff38;border-radius:999px;margin-bottom:16px;padding:5px 11px;font-size:10px;font-weight:700;display:inline-flex}.auth-brand-copy h1{letter-spacing:-.035em;font-size:clamp(30px,3.2vw,44px);font-weight:800;line-height:1.06}.auth-brand-copy>p{color:#ffffffb8;max-width:410px;margin-top:16px;font-size:13px;line-height:1.65}.auth-features{flex-direction:column;gap:15px;margin:28px 0 0;padding:0;list-style:none;display:flex}.auth-features li{align-items:flex-start;gap:12px;display:flex}.auth-features li>span{color:#ffd0a6;background:#ffffff1a;border:1px solid #ffffff29;border-radius:11px;flex:none;place-items:center;width:36px;height:36px;display:grid}.auth-features strong{font-size:12.5px;font-weight:700;display:block}.auth-features small{color:#fff9;margin-top:1px;font-size:11px;line-height:1.45;display:block}.auth-brand-foot{z-index:1;color:#ffffff8c;align-items:center;gap:8px;font-size:10.5px;display:flex;position:relative}.auth-main{flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:40px 28px;display:flex}.auth-card{border:1px solid var(--line);width:min(450px,100%);box-shadow:var(--shadow-md);background:#fff;border-radius:24px;padding:32px}.auth-card-head{flex-direction:column;align-items:flex-start;gap:5px;margin-bottom:22px;display:flex}.auth-card-icon{background:var(--navy-100);width:42px;height:42px;color:var(--navy-600);border-radius:13px;place-items:center;margin-bottom:6px;display:grid}.auth-card-eyebrow{letter-spacing:.11em;text-transform:uppercase;color:var(--orange);font-size:9.5px;font-weight:800}.auth-card-head h2{letter-spacing:-.025em;color:var(--navy);font-size:24px;font-weight:800}.auth-card-head p{color:var(--muted);font-size:11.5px;line-height:1.55}.auth-form{flex-direction:column;gap:14px;display:flex}.auth-submit{width:100%;height:44px;margin-top:4px}.auth-help{text-align:center;color:var(--muted);margin-top:16px;font-size:10.5px;line-height:1.5}.auth-legal{color:var(--muted-light);font-size:10px}.password-field{display:block;position:relative}.password-field input{width:100%;padding-right:42px}.password-toggle{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.password-toggle:hover{background:var(--navy-050);color:var(--navy)}.form-success{background:var(--green-bg);color:var(--green);border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:11.5px;font-weight:600;display:flex}.field-hint code{background:var(--navy-050);border:1px solid var(--line);border-radius:4px;padding:1px 4px;font-size:10px}.screen-state{background:radial-gradient(520px 320px at 100% 0%, #f070101f, transparent 68%), radial-gradient(480px 360px at 0% 100%, #2367c41f, transparent 70%), var(--bg);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.screen-state-card{border:1px solid var(--line);width:min(430px,100%);box-shadow:var(--shadow-md);text-align:center;background:#fff;border-radius:24px;padding:38px 32px}.screen-state-logo{object-fit:contain;width:auto;height:46px;margin:0 auto 18px}.screen-state-icon{border-radius:14px;place-items:center;width:46px;height:46px;margin:0 auto 13px;display:grid}.screen-state-icon.loading{background:var(--blue-bg);color:var(--blue)}.screen-state-icon.loading svg{animation:1s linear infinite vg-spin}.screen-state-icon.error{background:var(--red-bg);color:var(--red)}.screen-state-card h1{letter-spacing:-.02em;color:var(--navy);font-size:20px;font-weight:800}.screen-state-card p{color:var(--muted);margin:7px 0 18px;font-size:12px;line-height:1.6}@keyframes vg-spin{to{transform:rotate(360deg)}}.sidebar-user{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:center;gap:9px;padding:9px 10px;display:flex}.sidebar-user-copy{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.sidebar-user-copy strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:800;overflow:hidden}.sidebar-user-copy small{color:var(--muted);font-size:10px}.sidebar-logout{flex:none}.editor-byline{color:var(--muted);margin-top:3px;font-size:10.5px;display:block}.users-card{margin-top:20px}.user-create-form{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,1fr) 150px auto;align-items:end;gap:12px;margin-bottom:18px;padding-bottom:18px;display:grid}.user-create-form .btn{white-space:nowrap;height:40px}.users-list{flex-direction:column;display:flex}.user-row{border-top:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) 160px 74px auto;align-items:center;gap:14px;padding:12px 0;display:grid}.user-row:first-child{border-top:0}.user-row.inactive{opacity:.6}.user-row-copy{flex-direction:column;min-width:0;line-height:1.4;display:flex}.user-row-copy strong{color:var(--ink);align-items:center;gap:6px;font-size:12.5px;font-weight:800;display:flex}.user-row-copy>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.user-hint{color:var(--amber);margin-top:1px;font-size:10px}.self-tag{background:var(--navy-100);color:var(--navy-600);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:1px 6px;font-size:9px;font-weight:800}.user-row-role select{border:1px solid var(--line-strong);background:#fff;border-radius:8px;width:100%;height:34px;padding:0 8px;font-size:11px}.user-status{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;background:#eef1f6;border-radius:999px;justify-content:center;padding:3px 9px;font-size:9.5px;font-weight:800;display:inline-flex}.user-status.active{background:var(--green-bg);color:var(--green)}.user-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.users-empty{color:var(--muted);align-items:center;gap:8px;padding:14px 0;font-size:12px;display:flex}.role-pill{background:var(--navy-100);color:var(--navy-600);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-self:flex-start;margin-top:3px;padding:2px 8px;font-size:9.5px;font-weight:800;display:inline-flex}.account-card{margin-top:20px}.account-grid{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:24px;display:grid}.account-summary{border:1px solid var(--line);background:#fbfcfe;border-radius:16px;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;display:flex}.account-summary>div{flex-direction:column;gap:2px;display:flex}.account-summary strong{color:var(--navy);font-size:15px;font-weight:800}.account-summary>div>span{color:var(--muted);font-size:12px}.account-password{min-width:0}.account-password .auth-form{gap:12px}.account-password .auth-submit{align-self:flex-start;width:auto;padding:0 20px}.company-summary{align-items:center;gap:18px;margin-bottom:14px;display:flex}.company-summary dl{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:0;display:grid}.company-summary dt{letter-spacing:.05em;text-transform:uppercase;color:var(--muted-light);font-size:9px;font-weight:700}.company-summary dd{color:var(--ink-soft);margin:0;font-size:12.5px;font-weight:600}@media screen and (width<=1100px){.auth-brand{padding:38px}.user-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.user-create-form .btn{grid-column:span 2}}@media screen and (width<=900px){.auth-shell{grid-template-columns:minmax(0,1fr)}.auth-brand{display:none}.auth-main{min-height:100vh;padding:28px 18px}.account-grid{grid-template-columns:minmax(0,1fr)}.user-row{grid-template-columns:auto minmax(0,1fr) 74px;gap:6px 12px}.user-row-role,.user-row-actions{grid-column:span 3}.user-row-actions{justify-content:flex-start}}@media screen and (width<=700px){.auth-card{border-radius:20px;padding:24px 20px}.auth-card-head h2{font-size:21px}.company-summary{flex-direction:column;align-items:flex-start}.company-summary dl,.user-create-form{grid-template-columns:minmax(0,1fr)}.user-create-form .btn{grid-column:auto;width:100%}.settings-grid-single{grid-template-columns:minmax(0,1fr)}}
