/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.lowercase{text-transform:lowercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#e6e8ea;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--shell:#0e0e10;--shell-2:#1a1d22;--panel:#f5f6f6;--panel-2:#fafafa;--ink:#12141a;--muted:#5a5f66;--line:#c2c6cc;--line-dark:#2e3238;--accent:#f5a400;--accent-2:#c98500;--technical-white:#e6e8ea;--danger:#b42318;--surface:#fafafa;--surface-alt:#f3f4f6;--surface-hover:#dce1e7;--surface-zebra:#e2e5e9;--surface-header:#d3dde5;--border:#d1d5db;--border-strong:#9ca3af;--text-thead:#374151;--text-secondary:#6b7280;background:#0e0e10;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--shell);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.full-page-state,.login-page{background:var(--shell);color:#eef1f5;place-items:center;min-height:100vh;display:grid}.login-panel{border:1px solid var(--line-dark);background:#1f2327;border-radius:8px;width:min(420px,100vw - 32px);padding:28px;box-shadow:0 24px 70px #0000004d}.login-brand{text-align:center;margin-bottom:26px}.login-logo{object-fit:contain;width:min(304px,86%);max-height:96px;margin:0 auto 18px;display:block}.login-brand h1{letter-spacing:0;margin:12px 0 4px;font-size:24px}.login-brand p,.form-note{color:#a8b0bd;margin:0;font-size:13px}.login-form,.editor-form{gap:16px;display:grid}.login-form label{color:#cbd3df}.app-shell{background:var(--shell);grid-template-columns:248px 1fr;min-height:100vh;transition:grid-template-columns .22s cubic-bezier(.4,0,.2,1);display:grid}.app-shell.sidebar-collapsed{grid-template-columns:72px 1fr}.sidebar{border-right:1px solid var(--line-dark);background:#111315;flex-direction:column;height:100vh;padding:18px;transition:width .22s cubic-bezier(.4,0,.2,1),padding .22s cubic-bezier(.4,0,.2,1);display:flex;position:sticky;top:0;overflow:hidden}.sidebar-collapsed .sidebar{width:72px;padding:18px 8px}.brand-header{justify-content:flex-start;align-items:center;width:100%;min-height:40px;margin-bottom:30px;display:flex;position:relative}.sidebar-collapsed .brand-header{justify-content:center;margin-bottom:22px}.brand-block{color:#f4f6f8;align-items:center;gap:12px;display:flex}.sidebar-collapsed .brand-block{justify-content:center;width:32px;height:32px;overflow:hidden}.sidebar-logo{object-fit:contain;width:154px;height:auto;max-height:52px;transition:width .22s,height .22s,max-width .22s;display:block}.sidebar-collapsed .sidebar-logo{object-fit:cover;object-position:left;width:32px;min-width:32px;height:32px}.sidebar-toggle-btn{background:var(--shell);border:1px solid var(--line-dark);color:#cbd3df;cursor:pointer;z-index:150;border-radius:50%;place-items:center;width:24px;height:24px;transition:all .15s cubic-bezier(.4,0,.2,1);display:inline-grid;position:absolute;top:7px;right:-24px;box-shadow:0 2px 6px #0000004d}.sidebar-toggle-btn:hover{color:var(--accent);border-color:var(--accent);background:#24272a;transform:scale(1.08)}.drawer-logo{width:162px}.brand-block strong{font-size:15px;display:block}.brand-block span{color:#9ba3af;margin-top:2px;font-size:12px;display:block}.brand-mark,.document-logo{color:#f5f5f5;border:1px solid #f5f5f5;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:inline-grid}.brand-mark-asset{background:var(--technical-white);border-color:#3a3f45;padding:6px}.brand-mark-asset img{object-fit:contain;width:100%;height:100%;display:block}.sidebar-nav{gap:6px;display:grid}.sidebar-nav a,.sidebar-logout{color:#cbd3df;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;transition:all .15s;display:flex}.sidebar-nav a.active,.sidebar-nav a:hover,.sidebar-logout:hover{color:#f4f1e8;background:#24272a}.sidebar-nav a span,.sidebar-logout span{white-space:nowrap;opacity:1;transition:opacity .15s}.sidebar-collapsed .sidebar-nav a span,.sidebar-collapsed .sidebar-logout span{display:none!important}.sidebar-collapsed .sidebar-nav a,.sidebar-collapsed .sidebar-logout{justify-content:center;width:52px;margin:0 auto;padding:10px 0}.sidebar-footer{gap:12px;margin-top:auto;display:grid}.user-card{border:1px solid var(--line-dark);color:#eef1f5;border-radius:8px;align-items:center;gap:10px;min-width:0;padding:10px 12px;transition:all .22s;display:flex}.user-avatar{color:#0c0c0d;letter-spacing:.02em;background:linear-gradient(135deg,#f5a400 0%,#d97706 100%);border-radius:50%;place-items:center;width:34px;min-width:34px;height:34px;font-size:13px;font-weight:700;display:grid;box-shadow:0 2px 8px #f5a4002e}.user-info{gap:2px;min-width:0;display:grid}.user-info strong{color:var(--technical-white);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;display:block;overflow:hidden}.user-info span,.user-info em{color:#9ba3af;overflow-wrap:anywhere;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-style:normal;display:block;overflow:hidden}.sidebar-collapsed .user-info{display:none!important}.sidebar-collapsed .user-card{background:0 0;border:0;justify-content:center;padding:0}.main-shell{min-width:0;padding:22px}.topbar{color:#f4f6f8;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.topbar h1{letter-spacing:0;margin:3px 0 0;font-size:22px;line-height:1.2}.eyebrow{color:#98a2b3;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.page-stack{gap:18px;display:grid}.panel,.document-preview{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px}.panel{padding:18px}.panel-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.panel-heading h2{margin:0;font-size:18px;line-height:1.2}.panel-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.editor-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.mobile-preview-inline{gap:6px}.primary-button,.secondary-button,.danger-button{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 13px;font-weight:650;display:inline-flex}.primary-button{background:var(--accent);color:#15110a}.primary-button:hover{background:var(--accent-2);color:#f8f1df}.secondary-button{border-color:var(--line);color:var(--ink);background:#fff}.secondary-button:hover{background:#eef1f5}.danger-button{background:var(--danger);color:#fff}button:disabled{cursor:not-allowed;opacity:.58}.full-width{width:100%}.button-row{align-items:center;gap:10px;display:flex}.button-row.wrap{flex-wrap:wrap}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.kpi-card{background:var(--shell-2);border:1px solid var(--line-dark);border-radius:8px;padding:16px}.kpi-card span{color:#9ca3af;font-size:13px;display:block}.kpi-card strong{color:var(--technical-white);font-variant-numeric:tabular-nums;margin-top:6px;font-size:22px;display:block}.filters-bar{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px;display:grid}.filters-bar label:first-child{grid-column:span 2}.input-with-icon{display:block;position:relative}.input-with-icon svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.input-with-icon input{padding-left:34px}label{color:var(--ink);gap:6px;font-size:12px;font-weight:650;display:grid}.field-label-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.field-badge{letter-spacing:.02em;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:16px;padding:0 6px;font-size:9px;font-weight:750;line-height:1;display:inline-flex}.field-badge.required{color:#687281;background:#f6f8fa;border-color:#d4dae2}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1.5px solid #6b7280;border-radius:6px;outline:none;min-height:38px;padding:8px 10px;transition:border-color .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1),background-color .2s}input:hover,select:hover,textarea:hover{border-color:#374151}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), 0 0 0 4px #f5a40026, 0 2px 4px #0000000d}.table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:6px;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:860px;font-size:13px}.data-table th,.data-table td{text-align:left;vertical-align:middle;padding:10px 14px}.data-table th{background:var(--surface-header);color:var(--text-thead);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border-strong);font-size:11px;font-weight:700}.data-table tbody tr{border-bottom:1px solid var(--border);transition:background-color .12s ease-out}.data-table tbody tr:nth-child(2n),.data-table tbody tr:nth-child(2n) td{background-color:var(--surface-zebra)}.data-table tbody tr:hover{background-color:var(--surface-hover)}.data-table tbody tr:hover td{background-color:var(--surface-hover)!important}.data-table tbody tr:last-child{border-bottom:0}.strong-cell{font-weight:650}.cell-stack{gap:2px;display:grid}.cell-stack small{color:var(--muted);font-size:12px;font-weight:500}.row-actions{align-items:center;gap:4px;display:inline-flex}.row-actions a,.row-actions button,.ghost-icon{color:#27303a;cursor:pointer;background:#fff;border:1px solid #d4dae2;border-radius:6px;place-items:center;width:30px;height:30px;display:inline-grid}.row-actions a:hover,.row-actions button:hover,.ghost-icon:hover{background:#eef1f5}.danger-icon{color:var(--danger)!important}.status-badge{border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.status-draft{color:#4d5562;background:#edf0f4}.status-sent{color:#8a5b00;background:#fff5db}.status-approved{color:#067647;background:#e7f6ec}.status-rejected{color:#b42318;background:#fee4e2}.status-canceled{color:#525866;background:#e7e9ed}.status-deleted{color:#fff;background:#1f2937}.row-deleted{color:#5b6472;background:#f3f4f6}.deleted-audit-line{color:#6b7280;overflow-wrap:anywhere;margin-top:4px;font-size:11px;font-weight:600;line-height:1.35;display:block}.editor-grid,.view-grid{grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:start;gap:18px;display:grid}.preview-panel{justify-self:center;width:100%;max-width:340px;max-height:calc(100vh - 36px);position:sticky;top:18px;overflow:hidden}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.form-grid>label,.form-grid>.span-2{align-content:start;align-self:start;min-width:0}.form-grid>label input,.form-grid>label select{min-height:38px}input[type=date]{height:38px;min-height:38px;padding-block:7px;line-height:1.2}input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:20px}input[type=date]::-webkit-calendar-picker-indicator{margin-left:auto}.span-2{grid-column:span 2}.number-pill{color:#f5f1e7;background:#0c0c0d;border-radius:999px;align-items:center;min-height:34px;padding:0 12px;font-size:13px;display:inline-flex}.warning-banner,.error-state,.empty-state,.skeleton-block{border-radius:8px;margin-bottom:14px;padding:14px}.warning-banner{color:#6d4d00;background:#fff3cd;border:1px solid #f1c96b}.error-state{color:#912018;background:#fee4e2}.empty-state,.skeleton-block{color:#69707d;background:#eef1f5;gap:4px;display:grid}.items-toolbar{justify-content:space-between;align-items:center;margin-top:4px;display:flex}.items-toolbar h3{margin:0;font-size:15px}.items-table{border:1px solid var(--border-strong);background:0 0;border-radius:6px;overflow:hidden}.items-head,.items-row{grid-template-columns:80px minmax(220px,1fr) 120px 120px 40px;align-items:stretch;gap:0;display:grid}.items-head{background:var(--surface-header);color:var(--text-thead);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border-strong);font-size:11px;font-weight:700}.items-head span{align-items:center;height:100%;padding:8px 10px;display:flex}.items-head span:not(:last-child){border-right:1px solid var(--border)}.items-row{background:0 0}.items-table .items-row:nth-child(2n){background:var(--surface-zebra)!important}.items-row:last-child input,.items-row:last-child .items-action-cell{border-bottom:0}.items-row input{border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);width:100%;height:100%;min-height:38px;color:var(--ink);box-sizing:border-box;background:0 0;border-radius:0;margin:0;padding:6px 10px;font-size:13px;transition:background-color .12s ease-out}.items-table .items-row:nth-child(odd) input{background-color:var(--surface-zebra)}.items-row input[inputmode=decimal]{font-variant-numeric:tabular-nums;text-align:right}.items-row input:hover{background-color:var(--surface-hover)}.items-row input:focus{outline:2px solid var(--accent);outline-offset:-2px;z-index:10;background-color:var(--surface);position:relative}.items-row input:disabled{background:var(--surface-alt);color:var(--text-secondary);cursor:not-allowed}.items-action-cell{background:0 0;justify-content:center;align-items:center;display:flex}.items-table .items-row:nth-child(2n) .items-action-cell{background:var(--surface-zebra)!important}.items-table .items-row:nth-child(odd) .items-action-cell{background-color:var(--surface-zebra)}.items-action-cell .ghost-icon{border:1px solid var(--border);background:var(--surface);width:26px;height:26px;color:var(--danger);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;transition:background-color .12s ease-out,border-color .12s ease-out;display:flex}.items-action-cell .ghost-icon:hover:not(:disabled){color:#991b1b;background:#fef2f2;border-color:#fca5a5}.items-action-cell .ghost-icon:disabled{opacity:.4;cursor:not-allowed}.form-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.pagination-bar{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:13px;display:flex}.pagination-bar strong{color:var(--ink)}.document-preview{background:#fbfbfa;overflow:hidden;box-shadow:0 12px 30px #0000002e}.document-preview.compact{transform-origin:top;width:min(330px,100%);max-height:calc(100vh - 52px)}.document-preview.compact .document-header{padding:10px 10px 9px}.document-preview.compact .document-logo{width:32px;height:32px;margin-bottom:6px;font-size:12px}.document-preview.compact .document-brand-logo{max-width:218px;max-height:56px;margin-bottom:7px}.document-preview.compact .document-header p{margin:1px 0;font-size:9px}.document-preview.compact .document-meta{grid-template-columns:56px minmax(0,1fr) 82px minmax(0,1fr)}.document-preview.compact .document-service,.document-preview.compact .document-obs{grid-template-columns:56px minmax(0,1fr)}.document-preview.compact .document-meta span,.document-preview.compact .document-meta strong,.document-preview.compact .document-service span,.document-preview.compact .document-client-content{overflow-wrap:anywhere;min-height:20px;padding:4px 6px;font-size:9px}.document-preview.compact .doc-row span{min-height:14px;padding:2px 5px;font-size:8px;line-height:1.15}.document-preview.compact .document-obs{min-height:28px;font-size:9px}.document-preview.compact .document-obs strong,.document-preview.compact .document-obs span{padding:5px 6px}.document-preview.compact .document-validity{padding:8px 8px 9px;font-size:12px}.document-preview.compact.density-comfort{width:min(360px,100%)}.document-preview.compact.density-comfort .doc-row span{min-height:17px;font-size:9px}.document-header{color:#e6e8ea;text-align:center;border-bottom:4px solid var(--accent);background:#0c0c0d;padding:20px 20px 18px}.document-header .document-logo{margin-bottom:10px}.document-brand-logo{object-fit:contain;width:min(280px,76%);max-height:76px;margin:0 auto 12px;display:block}.document-header p{margin:3px 0;font-size:13px;font-weight:700}.document-deleted-banner{color:#fff;text-align:center;letter-spacing:.08em;background:#1f2937;border-bottom:1px solid #111;padding:8px;font-size:13px;font-weight:900}.document-meta,.document-service{color:#0c0c0d;border-top:1px solid #0c0c0d;grid-template-columns:110px 1fr 160px 1fr;display:grid}.document-service{grid-template-columns:110px 1fr}.document-meta span,.document-meta strong,.document-service span{border-bottom:1px solid #111;border-right:1px solid #111;align-items:center;min-height:32px;padding:6px 8px;display:flex}.document-client-content{border-bottom:1px solid #111;border-right:1px solid #111;align-content:center;gap:2px;min-height:32px;padding:6px 8px;display:grid}.document-table{color:#0c0c0d}.doc-row{grid-template-columns:12% 54% 17% 17%;display:grid}.doc-row span{border-bottom:1px solid #111;border-right:1px solid #111;min-height:28px;padding:6px 8px;font-size:12px}.doc-row span:first-child,.doc-row span:nth-child(3),.doc-row span:nth-child(4){text-align:center}.doc-head{background:#e6e8ea;font-weight:800}.doc-total{grid-template-columns:83% 17%;font-weight:800}.doc-total span:first-child{text-align:right}.document-obs{color:#0c0c0d;grid-template-columns:110px 1fr;min-height:48px;display:grid}.document-obs strong,.document-obs span{border-bottom:1px solid #111;border-right:1px solid #111;padding:8px}.document-validity{color:#0c0c0d;text-align:center;padding:22px 12px 30px;font-size:20px;font-weight:900}.compact-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.client-list{gap:10px;display:grid}.client-form-shell{gap:18px}.client-flow-hero{border:1px solid var(--line);background:linear-gradient(135deg,#1113150a,#f5a4000f),#fff;border-radius:8px;gap:14px;padding:16px;display:grid}.client-flow-hero h3,.client-section-heading h3{margin:4px 0 0;font-size:18px}.client-flow-hero p,.client-section-heading p{color:var(--muted);margin:4px 0 0;font-size:12px;font-weight:500}.client-progress-strip{flex-wrap:wrap;gap:8px;display:flex}.client-progress-strip span{border:1px solid var(--line);color:#4d5562;background:#f1f3f6;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.client-form-section{border:1px solid var(--line);background:#fff;border-radius:8px;gap:14px;padding:16px;display:grid}.client-section-heading{align-items:flex-start;gap:10px;display:flex}.client-section-heading svg{color:#8a5b00;margin-top:2px}.client-type-toggle{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:inline-grid}.type-chip{border:1px solid var(--line);color:#4d5562;cursor:pointer;background:#f8f9fa;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-weight:750;display:inline-flex}.type-chip.active{color:#f5f1e7;background:#111315;border-color:#111315}.client-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.client-section-grid label{gap:7px}.cnpj-input-wrapper{align-items:stretch;gap:8px;width:100%;display:flex}.cnpj-input-wrapper input{flex:1}.cnpj-input-wrapper button.compact-btn{flex-shrink:0;padding:0 12px}.client-section-toolbar{gap:12px;margin-top:0}.client-submit-bar{border:1px solid var(--line);background:#fff;border-radius:8px;padding:14px 16px}.client-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.client-list .client-row:nth-child(2n){background:var(--surface-zebra)}.client-row-icon{width:42px;height:42px;color:var(--accent);background:#111315;border-radius:8px;place-items:center;display:grid}.client-row-main{gap:3px;min-width:0;display:grid}.client-row-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.client-row-title strong{font-size:15px}.client-row-main span{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.client-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.quick-client-link{align-content:end}.quick-client-link .secondary-button{justify-content:center}.representantes-list{gap:8px;display:grid}.representantes-list.polished{gap:12px}.representante-row{grid-template-columns:repeat(4,minmax(120px,1fr)) 110px 34px;align-items:center;gap:8px;display:grid}.representante-editor-card{border:1px solid var(--line);background:#f9fafb;border-radius:8px;gap:14px;padding:14px;display:grid}.representante-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.representante-card-header strong{display:block}.representante-card-header span{color:var(--muted);font-size:12px}.representante-card-actions{align-items:center;gap:8px;display:flex}.principal-chip{min-width:96px}.principal-chip.active{color:#735000;background:#fff5db;border-color:#dca137}.representative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-check{border:1px solid var(--line);background:#fff;border-radius:6px;justify-content:center;align-self:stretch;min-height:38px;padding:0 8px}.client-profile-hero{border-top:3px solid var(--accent)}.client-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.client-detail-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:start;gap:18px;display:grid}.representante-cards,.timeline-list{gap:10px;display:grid}.representante-card,.timeline-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px;display:grid}.representante-card svg,.timeline-item svg{color:#8a5b00}.representante-card div,.timeline-item div{gap:2px;display:grid}.representante-card span,.timeline-item span{color:var(--muted);font-size:12px}.representante-card em{color:#735000;background:#fff5db;border-radius:999px;align-self:start;padding:4px 8px;font-size:11px;font-style:normal;font-weight:800}.inline-link{color:#8a5b00;font-weight:750}.danger-text{color:var(--danger)}.settings-grid{grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:18px;display:grid}.settings-hero{justify-content:space-between;align-items:center;gap:16px;display:flex}.settings-hero h2,.settings-section-title h3,.settings-summary h3{margin:0}.settings-hero p,.settings-section-title p{color:var(--muted);margin:5px 0 0;font-size:13px}.eyebrow.dark{color:#6d7177}.role-chip{border:1px solid var(--line);min-height:32px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:750;display:inline-flex}.role-chip.admin{color:#735000;background:#fff5db;border-color:#dca137}.settings-panel{gap:16px;display:grid}.settings-section-title{align-items:flex-start;gap:10px;display:flex}.settings-section-title svg{color:#8a5b00;margin-top:1px}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-divider{background:var(--line);height:1px}.checkbox-line{align-self:end;align-items:center;gap:9px;min-height:38px;display:flex}.checkbox-line input{width:18px;min-height:18px}.settings-footer span{color:var(--muted);font-size:13px}.settings-summary{gap:14px;display:grid;position:sticky;top:18px}.settings-summary dl{gap:10px;margin:0;display:grid}.settings-summary div{border:1px solid var(--line);background:#eef0f1;border-radius:8px;padding:10px}.settings-summary dt{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.settings-summary dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:750}.meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;display:grid}.meta-grid div{background:#eef1f5;border-radius:8px;padding:12px}.meta-grid-highlight{grid-column:span 2}.meta-grid dt{color:var(--muted);font-size:12px}.meta-grid dd{margin:4px 0 0;font-weight:750}.modal-backdrop{z-index:50;background:#0000007a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{width:min(420px,100%);color:var(--ink);background:#fff;border-radius:8px;padding:20px}.confirm-dialog h2{margin:0 0 8px;font-size:18px}.confirm-dialog p{color:var(--muted);margin:0 0 18px}.dialog-fields{gap:12px;margin-bottom:18px;display:grid}.dialog-actions{justify-content:flex-end;gap:10px;display:flex}.cliente-picker{gap:10px;min-width:0;display:grid;position:relative}.cliente-picker-skeleton{border:1px solid var(--line);background:#f9fafb;border-radius:8px;padding:12px}.skeleton-line,.skeleton-card{background:#e5e7eb;border-radius:999px;position:relative;overflow:hidden}.skeleton-line{width:100%;height:12px}.skeleton-title{width:min(260px,52%);height:16px}.skeleton-card{border-radius:8px;min-height:96px}.skeleton-line:after,.skeleton-card:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);animation:1.2s infinite skeleton-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes skeleton-shimmer{to{transform:translate(100%)}}.cliente-selected-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:16px;display:grid;box-shadow:0 2px 8px #0000000a}.cliente-selected-card.compact{box-shadow:none}.cliente-selected-card .card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cliente-selected-card .title-area{gap:4px;min-width:0;display:grid}.cliente-selected-card .title-area h3{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:700;line-height:1.25}.cliente-selected-card .nome-fantasia{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.cliente-selected-card .info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cliente-selected-card .span-all{grid-column:span 2}.cliente-selected-card .info-label{color:var(--muted);text-transform:uppercase;letter-spacing:0;margin-bottom:2px;font-size:10px;font-weight:700;display:block}.cliente-selected-card .info-val{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:600}.cliente-selected-card .info-item{min-width:0}.cliente-selected-card .info-item:has(svg){align-items:center;gap:6px;display:flex}.cliente-selected-card .card-tags{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.cliente-selected-card .tag-badge{color:#4d5562;background:#eef1f5;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.cliente-selected-actions{border-top:1px solid #f1f3f5;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.cliente-search-container{gap:8px;display:grid;position:relative}.cliente-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:8px;display:grid}.cliente-search-container .input-wrapper{flex:1;min-width:0;position:relative}.cliente-search-icon{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.cliente-picker-input{width:100%;padding-left:36px;padding-right:36px}.cliente-picker-actions{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.cliente-icon-button{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d8dee6;border-radius:6px;place-items:center;width:38px;height:38px;transition:background-color .15s,border-color .15s,color .15s;display:inline-grid}.cliente-icon-button:hover{color:#7a5400;background:#fffaf0;border-color:#c8921f}.cliente-icon-button:disabled{cursor:not-allowed;opacity:.55}.cliente-change-toolbar{justify-content:flex-end;display:flex}.cliente-change-cancel{min-height:32px;padding-inline:10px;font-size:12px}.clear-input-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;transition:background-color .15s,color .15s;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.cliente-search-hint{color:var(--muted);margin:0;font-size:12px}.clear-input-button:hover{color:var(--ink);background:#f1f3f5}.cliente-picker-results{border:1px solid var(--line);z-index:100;background:#fff;border-radius:8px;flex-direction:column;max-height:320px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 25px #0000001f}.cliente-result-card{cursor:pointer;text-align:left;background:0 0;border-top:0;border-bottom:1px solid #f1f3f5;border-left:3px solid #0000;border-right:0;gap:5px;min-height:74px;padding:12px;transition:background .15s,border-color .15s;display:grid}.cliente-result-card:hover,.cliente-result-card.focused{border-left-color:var(--accent);background:#fdfaf2}.cliente-result-card .result-card-header{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.cliente-result-card .result-name{color:var(--ink);overflow-wrap:anywhere;font-size:14px;font-weight:700}.cliente-result-card .result-fantasia{color:var(--muted);font-size:12px}.cliente-result-card .result-details{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.cliente-result-card .result-tags{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.tag-badge-small{color:#4d5562;background:#eef1f5;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:700}.cliente-picker-results .no-results{text-align:center;color:var(--muted);padding:20px;font-size:13px}.cliente-empty-state,.cliente-loading-state{color:var(--muted);gap:10px;padding:16px;font-size:13px;display:grid}.cliente-empty-state strong{color:var(--ink)}.quick-client-link-panel{z-index:5;justify-content:flex-start;padding:8px 0 0;display:flex}.cliente-refreshing{animation:.9s linear infinite cliente-refresh-spin}@keyframes cliente-refresh-spin{to{transform:rotate(360deg)}}.representante-picker{gap:8px;min-width:0;display:grid}.representante-picker .field-label-row{color:var(--ink);font-size:12px;font-weight:650}.representante-options{gap:8px;display:grid}.representante-option-card{border:1px solid var(--line);width:100%;min-height:72px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:8px;gap:5px;padding:12px;transition:border-color .15s,box-shadow .15s,background .15s;display:grid}.representante-option-card:hover,.representante-option-card.selected{background:#fffaf0;border-color:#c8921f;box-shadow:0 1px #c9921f2e}.representante-option-card span{color:var(--muted);font-size:12px}.representante-option-card strong{overflow-wrap:anywhere}.representante-option-card .representante-card-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.rep-badge{background:#111827;border-radius:999px;flex:none;padding:2px 7px;font-weight:700;color:#fff9e8!important;font-size:10px!important}.representante-line{overflow-wrap:anywhere;align-items:center;gap:5px;min-width:0;display:flex}.representante-warning-banner{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;gap:10px;padding:12px;display:grid}.representante-warning-banner .warning-content{align-items:center;gap:8px;font-size:13px;display:flex}@media (width<=760px){.cliente-picker-results{width:100%;max-height:none;box-shadow:none;border:1px solid var(--line);margin-top:.5rem;position:static}.cliente-selected-actions{flex-direction:column;align-items:stretch}.cliente-search-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.cliente-picker-actions{gap:4px}.cliente-icon-button{width:44px;height:44px}.cliente-change-toolbar{justify-content:stretch}.cliente-result-card,.representante-option-card{min-height:72px;padding:.875rem}.cliente-selected-card .info-grid{grid-template-columns:1fr}.cliente-selected-card .span-all{grid-column:auto}.cliente-selected-actions .secondary-button,.cliente-selected-actions .primary-button,.cliente-selected-actions .danger-button,.cliente-change-cancel{justify-content:center;width:100%}input[type=date]{height:44px;min-height:44px}}.tags-field-wrapper{gap:6px;display:grid}.tags-field-wrapper span.field-label-row{color:var(--ink);font-size:12px;font-weight:650}.tags-input-container-wrapper{width:100%;position:relative}.tags-input-container{cursor:text;background:#fff;border:1.5px solid #6b7280;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;min-height:38px;padding:5px 8px;transition:border-color .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1);display:flex}.tags-input-container:hover{border-color:#374151}.tags-input-container.focused{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), 0 0 0 4px #f5a40026, 0 2px 4px #0000000d}.tag-chip{color:var(--ink);border:1px solid var(--line);-webkit-user-select:none;user-select:none;background:#eef1f5;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.tag-chip-delete{cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:0;font-size:13px;line-height:1;transition:color .15s,background-color .15s;display:inline-flex}.tag-chip-delete:hover{color:var(--danger);background-color:#b4231814}.tags-input-field{color:var(--ink);flex:80px;box-shadow:none!important;background:0 0!important;border:0!important;outline:none!important;height:26px!important;min-height:26px!important;padding:0 4px!important}.tags-autocomplete-dropdown{z-index:50;border:1.5px solid var(--line);background:#fff;border-radius:6px;max-height:200px;margin:0;padding:0;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.tags-autocomplete-option{cursor:pointer;color:var(--ink);padding:8px 12px;font-size:13px;font-weight:500;transition:background-color .15s,color .15s}.tags-autocomplete-option.highlighted{background:var(--accent);color:#15110a}.tags-autocomplete-no-results{color:var(--muted);padding:8px 12px;font-size:13px;font-style:italic}.revision-badge{color:#15110a;letter-spacing:.04em;vertical-align:middle;background:linear-gradient(135deg,#f5a400 0%,#f59e0b 100%);border-radius:20px;align-items:center;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:700;line-height:1.5;display:inline-flex}.info-banner{color:#1d4ed8;background:#3b82f614;border:1px solid #3b82f640;border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:500;display:flex}.mobile-only{display:none!important}@media (width<=1150px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-grid,.view-grid,.settings-grid,.client-detail-grid{grid-template-columns:1fr}.editor-grid .preview-panel.desktop-only{display:none!important}.view-grid .document-preview{justify-self:center;width:100%;max-width:800px;margin-top:12px}.preview-fab.mobile-only{background:var(--accent);width:56px;height:56px;color:var(--shell);cursor:pointer;z-index:90;border:0;border-radius:50%;place-items:center;transition:transform .15s;position:fixed;bottom:24px;right:24px;box-shadow:0 6px 20px #f5a40052;display:grid!important}.preview-fab.mobile-only:active{transform:scale(.92)}.preview-modal.mobile-only{z-index:300;background:#fff;flex-direction:column;animation:.2s ease-out preview-modal-in;position:fixed;inset:0;display:flex!important}.preview-modal-header{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.preview-modal-header strong{color:var(--ink);font-size:16px}.preview-modal-header button{color:#4b5563;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:40px;height:40px;display:inline-grid}.preview-modal-body{-webkit-overflow-scrolling:touch;flex:1;padding:12px;overflow-y:auto}.preview-modal-body .document-preview.compact{width:100%;max-height:none}.settings-summary{width:100%;max-width:none;margin-top:12px;position:static}}@media (width<=768px){.desktop-only{display:none!important}.mobile-only{display:flex!important}.app-shell{flex-direction:column;grid-template-columns:none;min-height:100dvh;padding-bottom:64px;display:flex}.main-shell{padding:66px 14px 16px}.topbar{flex-direction:column;align-items:stretch;gap:10px}.topbar h1{font-size:18px}.mobile-header{border-bottom:1px solid var(--line-dark);z-index:100;background:#111315;justify-content:space-between;align-items:center;height:54px;padding:0 14px;position:fixed;top:0;left:0;right:0;display:flex!important}.mobile-brand{color:#f4f6f8;align-items:center;gap:8px;display:flex}.mobile-logo{object-fit:contain;width:96px;height:auto;max-height:34px;display:block}.mobile-brand strong{font-size:14px}.brand-mark-sm{width:30px;height:30px;font-size:11px}.mobile-menu-btn{color:#e5e7eb;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:40px;height:40px;display:inline-grid}.mobile-menu-btn:active{background:#242932}.mobile-header-spacer{width:40px}.mobile-bottom-nav{border-top:1px solid var(--line-dark);z-index:100;height:64px;padding-bottom:env(safe-area-inset-bottom,0px);background:#111315;align-items:stretch;position:fixed;bottom:0;left:0;right:0;display:flex!important}.bottom-nav-item{color:#9ba3af;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:600;text-decoration:none;transition:color .15s;display:flex}.bottom-nav-item.active{color:var(--accent)}.drawer-backdrop{z-index:200;background:#0000008c;position:fixed;inset:0;display:flex!important}.mobile-drawer{background:#111315;flex-direction:column;width:min(300px,85vw);height:100%;animation:.22s ease-out drawer-slide-in;display:flex}@keyframes drawer-slide-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.drawer-top{border-bottom:1px solid var(--line-dark);justify-content:space-between;align-items:center;padding:14px;display:flex}.drawer-top .brand-block{margin-bottom:0}.drawer-nav{gap:4px;padding:14px;display:grid}.drawer-nav a{color:#cbd3df;border-radius:6px;align-items:center;gap:10px;min-height:44px;padding:12px 14px;font-size:14px;font-weight:500;display:flex}.drawer-nav a.active{color:#fff;background:#242932}.drawer-footer{border-top:1px solid var(--line-dark);gap:12px;margin-top:auto;padding:14px;display:grid}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-card{padding:14px}.kpi-card strong{font-size:20px}.filters-bar{grid-template-columns:1fr;gap:10px}.editor-grid,.view-grid,.form-grid,.meta-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.panel-heading{flex-direction:column;align-items:stretch;gap:10px}.panel-heading h2{font-size:16px}.number-pill{width:fit-content}.editor-heading-actions{justify-content:flex-start}.mobile-preview-inline{width:fit-content;min-height:38px;padding-inline:12px;font-size:13px}.items-head,.items-row{grid-template-columns:70px minmax(180px,1fr) 100px 105px 40px;min-width:540px}.items-table{overflow-x:auto}.form-footer{flex-direction:column;align-items:stretch;gap:12px}.button-row{flex-wrap:wrap}.button-row .primary-button,.button-row .secondary-button{flex:1;min-width:0;min-height:44px;font-size:13px}.pagination-bar{flex-direction:column;align-items:stretch;gap:10px}.pagination-bar .button-row{justify-content:center}.document-header h2{font-size:22px}input,select,textarea{min-height:44px;font-size:16px}.primary-button,.secondary-button,.danger-button{min-height:44px;font-size:14px}.row-actions a,.row-actions button,.ghost-icon{width:38px;height:38px}.orcamento-card-list{gap:10px;display:grid!important}.orcamento-card{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:8px;overflow:hidden}.card-header{border:0;border-bottom:1px solid var(--line);cursor:pointer;width:100%;color:inherit;font:inherit;text-align:left;background:0 0;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.card-header-left{align-items:center;gap:10px;display:flex}.card-number{color:#8a5b00;font-size:13px;font-weight:800}.card-date{color:var(--muted);font-size:12px}.card-header-right{color:var(--muted);align-items:center;gap:8px;display:flex}.card-body{padding:12px 14px}.card-info{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-client{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.card-total{color:#735000;white-space:nowrap;font-size:15px;font-weight:800}.card-actions{border-top:1px solid var(--line);background:#f1f3f6;flex-wrap:wrap;gap:6px;padding:10px 14px;animation:.18s ease-out card-actions-in;display:flex}@keyframes card-actions-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.card-action-btn{color:var(--ink);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:5px;min-height:38px;padding:8px 12px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.card-action-btn:active{background:#e8ebf0}.card-action-danger{color:var(--danger);border-color:#e8c6c3}.preview-fab{display:none!important}.preview-fab:active{transform:scale(.92)}.preview-modal{z-index:300;background:#fff;flex-direction:column;animation:.2s ease-out preview-modal-in;position:fixed;inset:0;display:flex!important}@keyframes preview-modal-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.preview-modal-header{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.preview-modal-header strong{color:var(--ink);font-size:16px}.preview-modal-header button{cursor:pointer;width:40px;height:40px;color:var(--ink);background:0 0;border:0;border-radius:6px;place-items:center;display:inline-grid}.preview-modal-header button:active{background:#eef1f5}.preview-modal-body{-webkit-overflow-scrolling:touch;flex:1;padding:12px;overflow-y:auto}.preview-modal-body .document-preview.compact{width:100%;max-height:none}.modal-backdrop{padding:14px}.confirm-dialog{max-width:calc(100vw - 28px)}.login-panel{padding:22px}.settings-grid{grid-template-columns:1fr}.settings-hero{flex-direction:column;align-items:stretch}.settings-form-grid{grid-template-columns:1fr}.settings-summary{position:static}.compact-kpis,.client-meta-grid,.client-detail-grid,.client-row{grid-template-columns:1fr}.client-row-icon{display:none}.client-flow-hero,.client-form-section,.client-submit-bar{padding:14px}.client-section-grid,.representative-grid,.client-type-toggle{grid-template-columns:1fr}.client-flow-hero h3{font-size:16px}.client-row-actions{justify-content:stretch}.client-row-actions .secondary-button{flex:1;min-height:44px}.representante-card-header,.client-section-toolbar{flex-direction:column;align-items:stretch}.filters-bar label:first-child{grid-column:span 1}.representante-card-actions{justify-content:space-between}.meta-grid-highlight{grid-column:span 1}.client-submit-bar{box-shadow:none;position:static;bottom:auto}.document-meta,.document-service{grid-template-columns:90px 1fr}.document-preview .document-meta span,.document-preview .document-meta strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.doc-row{grid-template-columns:16% 46% 19% 19%}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
