@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-ext-wght-normal.20g3-bbbhdq0_.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-wght-normal.2cxlyxah-fd35.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-ext-wght-normal.0mkxydxl0e43d.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-wght-normal.1rx9vjatjkdar.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-vietnamese-wght-normal.2kcj5i_8uff48.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-ext-wght-normal.3gdi_th3seg1n.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-wght-normal.0gsaq8ukbf34m.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f7fb;--surface:#fff;--surface-soft:#eef3f8;--text:#162033;--muted:#607086;--line:#d9e0ea;--primary:#ff6b1a;--primary-dark:#a43e00;--accent:#d08b26;--nav:#465f6a;--button-primary-bg:#ff6b1a;--button-primary-hover:#a43e00;--button-primary-border:#ff6b1a;--on-primary-ink:#0d1c2f;--brand-soft:#fff0e8;--success:#1d7a42;--success-soft:#e6f6ed;--info:#0037b1;--button-confirm-bg:#24762c;--button-danger-bg:#ba1a1a;--button-secondary-bg:#fff;--button-secondary-text:#a43e00;--button-secondary-border:#e2bfb2;--button-disabled-bg:#d6dde1;--button-disabled-text:#465158;--primary-text:var(--primary-dark)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171514;--surface:#24211f;--surface-soft:#302b27;--text:#f6eee8;--muted:#c5b9ae;--line:#55483f;--primary:#ff8a45;--primary-dark:#ffb083;--accent:#6ec7b1;--nav:#d4c9bd;--button-primary-bg:#ff7a2f;--button-primary-hover:#ff9b61;--button-primary-border:#ff7a2f;--on-primary-ink:#0d1c2f;--brand-soft:#3a2a20;--success:#5ed88f;--success-soft:#1c3128;--info:#93b8ff;--button-confirm-bg:#42b667;--button-danger-bg:#f77;--button-secondary-bg:#302b27;--button-secondary-text:#ffd0b7;--button-secondary-border:#6d5648;--button-disabled-bg:#423b35;--button-disabled-text:#c5b9ae}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171514;--surface:#24211f;--surface-soft:#302b27;--text:#f6eee8;--muted:#c5b9ae;--line:#55483f;--primary:#ff8a45;--primary-dark:#ffb083;--accent:#6ec7b1;--nav:#d4c9bd;--button-primary-bg:#ff7a2f;--button-primary-hover:#ff9b61;--button-primary-border:#ff7a2f;--on-primary-ink:#0d1c2f;--brand-soft:#3a2a20;--success:#5ed88f;--success-soft:#1c3128;--info:#93b8ff;--button-confirm-bg:#42b667;--button-danger-bg:#f77;--button-secondary-bg:#302b27;--button-secondary-text:#ffd0b7;--button-secondary-border:#6d5648;--button-disabled-bg:#423b35;--button-disabled-text:#c5b9ae}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,a{font:inherit}button{border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;border-radius:8px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.shell{grid-template-columns:256px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--surface);height:100vh;color:var(--text);border-right:1px solid var(--line);grid-template-rows:auto minmax(0,1fr) auto;gap:26px;padding:24px 16px;display:grid;position:sticky;top:0;overflow:hidden}.sidebar-brand{gap:4px;padding:0 8px 4px;display:grid}.sidebar-brand strong{color:var(--primary-dark);letter-spacing:-.04em;font-family:Geist,Inter Variable,ui-sans-serif,system-ui,sans-serif;font-size:42px;font-weight:850;line-height:1;display:block}.sidebar-brand span,.sidebar-user small,.sidebar-nav p{color:var(--muted)}.sidebar-nav{scrollbar-width:thin;align-content:start;gap:10px;padding-right:2px;display:grid;overflow:auto}.sidebar-nav section{gap:5px;display:grid}.sidebar-nav p{color:var(--muted);letter-spacing:0;margin:8px 8px 3px;font-size:11px;font-weight:850;line-height:1.2}.sidebar-nav section:first-child p{margin-top:0}.sidebar-nav-compact{min-width:0;display:none;position:relative}.sidebar-icon{color:currentColor;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;flex:none;width:24px;height:24px;display:inline-block}.sidebar-quick-nav{align-items:center;gap:24px;min-width:0;display:flex}.sidebar-quick-nav a,.sidebar-more-button{min-height:40px;color:var(--muted);letter-spacing:.05em;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:600;text-decoration:none;display:flex}.sidebar-more-button{cursor:pointer}.sidebar-quick-nav .sidebar-icon,.sidebar-more-button .sidebar-icon,.sidebar-more-panel a .sidebar-icon{color:currentColor;flex:none}.sidebar-quick-nav a[aria-current=page],.sidebar-more-button[data-active=true],.sidebar-quick-nav a[aria-current=page] .sidebar-icon,.sidebar-more-button[data-active=true] .sidebar-icon,.sidebar-more-panel a[aria-current=page] .sidebar-icon{color:var(--primary-dark)}.sidebar-more-backdrop{z-index:45;cursor:default;background:#121c2a33;border:0;border-radius:0;position:fixed;inset:0}.sidebar-active-callout,.sidebar-compact-meta{display:none}.sidebar-active-pill{height:32px;color:var(--primary-dark);letter-spacing:.05em;white-space:nowrap;background:#ffdbca73;border:1px solid #9d430033;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:700;display:inline-flex}.sidebar-avatar,.sidebar-drawer-avatar{color:#582200;background:#ffdbca;border:1px solid #e0c0b1;border-radius:999px;flex:none;place-items:center;width:32px;height:32px;font-size:12px;font-weight:800;display:grid}.sidebar-more-panel{z-index:70;background:var(--surface);border-left:1px solid #e0c0b1;border-radius:0;grid-template-rows:auto auto minmax(0,1fr);width:min(480px,100vw);height:100vh;display:grid;position:fixed;top:0;right:0;overflow:hidden;box-shadow:0 10px 15px -3px #0000001a}.sidebar-sheet-handle{display:none}.sidebar-drawer-head{background:var(--surface-soft);border-bottom:1px solid #e0c0b1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:64px;padding:16px;display:grid}.sidebar-drawer-head strong{color:var(--text);font-size:16px;font-weight:800;line-height:1.2;display:block}.sidebar-drawer-head span{color:var(--muted);font-size:13px;line-height:1.35;display:block}.sidebar-drawer-close{width:40px;height:40px;color:var(--text);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.sidebar-module-search{margin:16px;display:block;position:relative}.sidebar-module-search .sidebar-icon{color:var(--muted);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.sidebar-module-search input{background:var(--surface-soft);width:100%;height:48px;color:var(--text);font:inherit;border:0;border-radius:12px;padding:0 16px 0 48px}.sidebar-module-search input:focus{outline:4px solid #f973162e}.sidebar-more-list{padding:0 16px 48px;overflow:auto}.sidebar-more-panel section{gap:4px;margin:0 0 18px;display:grid}.sidebar-more-panel p{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:700;line-height:16px}.sidebar-more-panel section>div{gap:4px;display:grid}.sidebar-more-panel a{min-height:48px;color:var(--text);background:0 0;border:0;border-radius:8px;align-items:center;gap:16px;padding:12px;font-size:16px;font-weight:500;text-decoration:none;display:flex;position:relative}.sidebar-more-panel a:hover{background:var(--surface-soft)}.sidebar-more-panel a[aria-current=page]{color:var(--on-primary-ink);background:#d6e0f1;border-left:4px solid #9d4300;font-weight:800}.sidebar-more-panel a small{background:var(--button-primary-bg);color:var(--on-primary-ink);text-transform:uppercase;border-radius:999px;margin-left:auto;padding:3px 7px;font-size:10px;font-weight:800;line-height:1}.sidebar-module-empty{border:1px dashed var(--line);background:var(--surface-soft);color:var(--muted);text-align:center;border-radius:8px;margin:8px 4px;padding:16px}.sidebar a{color:var(--muted);border-radius:8px;align-items:center;gap:12px;min-height:44px;padding:10px 12px;font-size:14px;font-weight:720;text-decoration:none;transition:background .16s,color .16s;display:flex}.sidebar a span,.sidebar-user>span{width:24px;height:24px;color:var(--muted);border:1px solid #0000;border-radius:7px;place-items:center;font-size:12px;font-weight:900;display:grid}.sidebar a[aria-current=page]{background:var(--surface-soft);color:var(--muted);box-shadow:inset 0 0 0 1px #ff6b1a57}.sidebar a:hover{background:var(--surface-soft);color:var(--on-primary-ink)}.sidebar a[aria-current=page] span{color:var(--on-primary-ink);background:#ff6b1a;border-color:#ff6b1a}.sidebar a:hover span{color:var(--primary-dark)}.sidebar a[aria-current=page]:hover span{color:#fff}.sidebar-user{border-top:1px solid #c7c4d8;gap:8px;padding:22px 0 0;display:grid}.sidebar-user a{padding:9px 16px}.sidebar-user .sidebar-session-link{border:1px solid var(--line);color:var(--primary-dark);justify-content:center;margin-top:2px;font-weight:800}.sidebar-user button{color:#fff;cursor:pointer;background:#ba1a1a;border:0;border-radius:8px;width:100%;min-height:44px;margin-top:10px;font-weight:800}.workspace{align-content:start;gap:20px;padding:0 28px 34px;display:grid}.topbar,.panel,.split article,.metric{background:var(--surface);border:1px solid var(--line);border-radius:8px}.topbar{border-top:0;border-left:0;border-right:0;border-radius:0;justify-content:space-between;align-items:center;min-height:72px;margin:0 -28px;padding:0 28px;display:flex}.topbar>div:first-child{min-width:220px}.topbar-actions{flex:1;justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.topbar-product-search{width:min(360px,32vw);min-width:180px}.topbar-actions label{background:var(--surface-soft);width:min(360px,32vw);min-height:42px;color:var(--muted);border:1px solid #c7c4d8;border-radius:999px;align-items:center;gap:8px;padding:0 14px;display:flex}.topbar-product-search label{width:100%}.topbar-actions input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.topbar-search-submit{background:var(--button-primary-bg);min-height:32px;color:var(--on-primary-ink);border:0;border-radius:999px;flex:none;padding:0 10px;font-size:12px;font-weight:850}.topbar-primary-action,.topbar-icon-link,.topbar-avatar-link{text-decoration:none}.sidebar :is(a,button,input):focus-visible,.topbar-actions :is(a,button,input):focus-visible,.workspace :is(a,button,input,select,textarea):focus-visible,#firebase-auth-session:focus-visible{outline:3px solid var(--primary-dark);outline-offset:2px}.eyebrow{color:var(--primary-text);text-transform:uppercase;margin:0 0 4px;font-size:13px;font-weight:700}
h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:28px}h2{font-size:18px}.topbar button,.topbar-primary-action,.actions button,.actions a{background:var(--button-primary-bg);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:800;text-decoration:none}.topbar-actions button{border:1px solid var(--button-primary-border);background:var(--button-primary-bg);min-height:42px;color:var(--on-primary-ink);border-radius:999px;font-weight:800}.topbar-primary-action{border:1px solid var(--button-primary-border);background:var(--button-primary-bg);min-height:42px;color:var(--on-primary-ink);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:10px 14px;font-weight:800;display:inline-flex}.topbar button:hover,.topbar-primary-action:hover,.actions button:hover,.actions a:hover{background:var(--button-primary-hover)}@media (min-width:701px) and (max-width:1024px){.shell{grid-template-columns:1fr;align-content:start;overflow-x:hidden}.sidebar{z-index:20;grid-template-rows:auto;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;width:100%;height:auto;padding:12px 18px;display:grid;position:sticky;top:0;overflow:visible}.sidebar-brand{min-width:120px;padding:4px 0}.sidebar-brand strong{letter-spacing:0;font-size:24px}.sidebar-brand span,.sidebar-user,.sidebar-nav{display:none}.sidebar-nav-compact{justify-self:end;width:min(680px,100%);display:block}.sidebar-quick-nav{justify-content:flex-end;overflow:visible}.sidebar-more-panel{top:calc(100% + 8px);right:0}.sidebar a{white-space:nowrap;flex:0 auto;gap:8px;padding:8px 10px;font-size:12px}.sidebar a span{width:20px;height:20px}.workspace{gap:16px;min-width:0;padding:16px 18px 30px}.topbar{flex-wrap:wrap;gap:12px;margin:-16px -18px 0;padding:12px 18px}.topbar>div:first-child{min-width:0}.topbar-actions{flex:320px;min-width:0}.topbar-actions label{width:min(280px,44vw)}.stitch-dashboard-shell{grid-template-columns:1fr}.stitch-dashboard-topbar{flex-wrap:wrap;gap:12px;padding:14px 18px;position:static}.stitch-dashboard-content{padding:24px 18px 34px}.stitch-dashboard-title,.stitch-panel-head{display:grid}.stitch-dashboard-layout{grid-template-columns:1fr}}.topbar-actions .topbar-icon-button,.topbar-actions .topbar-avatar{border:1px solid #0000;border-radius:999px;place-items:center;width:42px;min-width:42px;min-height:42px;padding:0;display:grid}.topbar-actions .topbar-icon-button{background:var(--surface-soft);color:var(--muted);border-color:#e5eaf6}.topbar-actions .topbar-icon-button:hover{background:#e5eaf6}.topbar-actions .topbar-avatar{border-color:var(--button-primary-border);background:var(--button-primary-bg);color:var(--on-primary-ink);font-size:15px;font-weight:800}.topbar-actions .topbar-avatar:hover{background:var(--button-primary-hover)}.topbar-actions .topbar-search-submit{color:var(--on-primary-ink)}#devis,#factures,#avoirs,#bons-de-commande{scroll-margin-top:96px}#devis:focus-visible,#factures:focus-visible,#avoirs:focus-visible,#bons-de-commande:focus-visible{outline:3px solid var(--primary-dark);outline-offset:4px}.actions button:disabled,.actions button[aria-disabled=true]{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.actions button:disabled:hover,.actions button[aria-disabled=true]:hover{background:var(--button-disabled-bg)}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric{padding:16px}.metric span,.metric small{color:var(--muted)}.metric strong{margin:8px 0;font-size:24px;display:block}.panel{justify-content:space-between;gap:20px;padding:20px;display:flex}.crud-workbench{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:14px;padding:20px;display:grid}.crud-actions{flex-wrap:wrap;gap:10px;display:flex}.crud-actions button{background:var(--button-primary-bg);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px}.crud-actions button:hover{background:var(--button-primary-hover)}.auth-meta{color:var(--muted)}.screen-index{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.screen-summary{color:var(--muted);margin:0 0 18px;font-weight:700}.screen-group{margin-top:22px}.screen-group-head{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.screen-group h2{color:var(--text);text-transform:capitalize;margin:0 0 12px;font-size:18px}.screen-group-head h2{margin:0}.screen-group-head a{color:var(--primary-dark);font-size:13px;font-weight:800;text-decoration:none}.screen-index a{min-height:86px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:6px;padding:14px;text-decoration:none;display:grid}.screen-index a:hover{border-color:var(--primary)}.screen-index strong{text-transform:capitalize}
.screen-index span{color:var(--muted);font-size:13px}.screen-index small{color:var(--primary-dark);font-weight:800}.screen-full{background:#e7ecf5;min-height:100vh;overflow:auto}.screen-full header{z-index:2;color:#fff;background:var(--nav);align-items:center;gap:18px;padding:12px 16px;display:flex;position:sticky;top:0}.screen-full header a{color:#fff;font-weight:700;text-decoration:none}.screen-full header span{color:#dbe7f4;margin-left:auto}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips span{border:1px solid var(--line);color:var(--nav);background:var(--surface-soft);border-radius:999px;padding:5px 9px;font-size:13px}table{border-collapse:collapse;background:var(--surface);width:100%}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:13px 16px}th{background:var(--surface-soft);color:var(--muted);text-transform:uppercase;font-size:13px}tbody tr:hover{background:var(--surface)}.timeline{display:block}.settings-premium-console{gap:24px;display:grid}.settings-premium-topbar{grid-template-columns:minmax(260px,1fr) max-content;align-items:center;gap:18px;display:grid}.settings-premium-topbar label{gap:6px;display:grid}.settings-premium-topbar label span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.settings-premium-topbar input{background:var(--surface-soft);width:100%;min-height:52px;color:var(--text);border:1px solid #f2cdbf;border-radius:10px;padding:0 18px;font-size:16px;font-weight:700}.settings-premium-actions{gap:12px;display:flex}.settings-premium-actions button,.settings-premium-actions a,.settings-priority-panel button,.settings-priority-panel a{background:var(--surface);min-height:48px;color:var(--primary-dark);cursor:pointer;border:1px solid #d9b8a9;border-radius:10px;place-items:center;padding:0 20px;font-weight:900;text-decoration:none;display:inline-grid}.settings-premium-actions button:last-child,.settings-premium-actions a:last-child,.settings-priority-panel button,.settings-priority-panel a{border-color:var(--primary);background:var(--primary);color:var(--on-primary-ink)}.settings-premium-heading{grid-template-columns:minmax(0,1fr) minmax(280px,420px);align-items:end;gap:20px;display:grid}.settings-premium-heading h2{letter-spacing:0;margin:0;font-size:clamp(30px,4vw,48px)}.settings-premium-heading p{max-width:760px;color:var(--muted);margin:8px 0 0;font-size:17px}.settings-premium-heading aside{background:var(--surface-soft);border:1px solid #f2cdbf;border-radius:14px;gap:10px;padding:20px;display:grid}.settings-premium-heading aside:after{content:none}.settings-premium-heading aside span{color:var(--muted)}.settings-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.settings-premium-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:16px;min-height:268px;padding:24px;display:grid;box-shadow:0 1px 2px #0f172a0a}.settings-premium-card.danger{background:var(--surface);border-color:#fecaca}.settings-premium-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-premium-icon{background:var(--surface-soft);width:52px;height:52px;color:var(--primary-dark);border-radius:12px;place-items:center;font-size:24px;font-weight:900;display:inline-grid}.settings-premium-card-head strong{color:#166534;text-transform:uppercase;background:#dcfce7;border-radius:8px;padding:7px 10px;font-size:13px}.settings-premium-card.danger .settings-premium-card-head strong{background:var(--brand-soft);color:var(--primary-dark)}.settings-premium-card h3{margin:0;font-size:21px}.settings-premium-card p{color:var(--muted);margin:0;line-height:1.45}.settings-premium-links{gap:8px;display:grid}.settings-premium-links button,.settings-premium-links a{width:fit-content;color:var(--primary-dark);cursor:pointer;background:0 0;border:0;padding:0;font-weight:900;text-decoration:none}.settings-premium-links button:before,.settings-premium-links a:before{content:"›";margin-right:10px}.settings-premium-card footer{color:var(--muted);border-top:1px solid #f1d3c8;margin-top:auto;padding-top:14px;font-weight:800}.settings-priority-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:16px;padding:20px;display:grid}.settings-priority-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.settings-priority-grid article{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;gap:6px;padding:14px;display:grid}.settings-priority-grid span{color:var(--muted);text-transform:uppercase;font-size:13px;font-weight:900}.settings-priority-grid p{color:var(--muted);margin:0;font-size:13px}.settings-superpdp-panel,.settings-config-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 1px 2px #0f172a0a}.settings-superpdp-panel>p{max-width:780px;color:var(--muted);margin:8px 0 0}.settings-superpdp-panel button,.settings-superpdp-panel a,.settings-config-card button,.settings-config-card a{background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.settings-superpdp-panel,.settings-config-card{gap:14px;padding:18px;display:grid}.settings-step-list span{background:var(--surface-soft);color:var(--primary-dark);border-radius:999px;justify-self:start;padding:4px 8px;font-size:12px;font-weight:900}.settings-step-list p{color:var(--muted);margin:0}.settings-step-list{gap:8px;display:grid}.settings-step-list article{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) max-content;gap:10px;padding:10px;display:grid}.settings-config-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-config-row{border-top:1px solid var(--line);grid-template-columns:minmax(150px,.45fr) minmax(0,.55fr);gap:12px;padding:10px 0;display:grid}.settings-config-row span{color:var(--primary-dark);font-weight:800}.settings-config-row strong{color:var(--text);overflow-wrap:anywhere}.settings-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-detail-card{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--primary);border-radius:8px;align-content:start;gap:14px;padding:18px;display:grid}.settings-detail-card .section-head{align-items:center}:root[data-theme=dark] .sidebar-brand strong,:root[data-theme=dark] .settings-config-row span,:root[data-theme=dark] .settings-detail-row span,:root[data-theme=dark] .sidebar-quick-nav a,:root[data-theme=dark] .sidebar-more-button{color:var(--primary-dark)}:root[data-theme=dark] .sidebar-brand span,:root[data-theme=dark] .sidebar-user small,:root[data-theme=dark] .sidebar-nav p,:root[data-theme=dark] .muted,:root[data-theme=dark] .auth-meta{color:var(--muted)}:root[data-theme=dark] .settings-config-card,:root[data-theme=dark] .settings-detail-card,:root[data-theme=dark] .crud-workbench,:root[data-theme=dark] .invoice-flow-result{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=dark] .settings-detail-row,:root[data-theme=dark] .settings-config-row,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{background:var(--surface-soft);border-color:var(--line);color:var(--text)}
.settings-detail-card .section-head button,.settings-detail-card .section-head a,.settings-danger button,.settings-danger a{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 12px;font-weight:700;text-decoration:none}.settings-detail-rows{gap:8px;display:grid}.settings-detail-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(130px,.42fr) minmax(0,.58fr);align-items:start;gap:12px;padding:12px;display:grid}.settings-detail-row span{color:var(--primary-dark);font-weight:700}.settings-detail-row strong{color:var(--text);overflow-wrap:anywhere;font-weight:700}.settings-danger{align-items:center}.billing-console .section-head button,.quota-console .section-head button,.integrations-console .section-head button,.provider-health .section-head button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 12px;font-weight:700}.quota-console .section-head,.provider-health .section-head{margin-bottom:14px}.accounting-workbench .section-head button,.accounting-workbench .section-head a{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;text-align:center;border:0;border-radius:8px;padding:9px 12px;font-weight:700;text-decoration:none}.muted{color:var(--muted);margin:0}.live-data-panel{gap:14px;display:grid}.route-live-panel{grid-template-columns:minmax(190px,.62fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px 12px 18px;display:grid;position:relative;overflow:hidden}.route-live-panel:before{content:"";background:#aab6bf;width:4px;position:absolute;inset:0 auto 0 0}.route-live-panel[data-live-state=ready]:before{background:#22a66b}.route-live-panel[data-live-state=loading],.route-live-panel[data-live-state=saving]{background:var(--surface-soft)}.route-live-panel[data-live-state=error]:before{background:#d94f45}.route-live-panel .section-head{display:contents}.route-live-panel .section-head>div{min-width:0}.route-live-panel h2{margin:0;font-size:14px;line-height:1.25}.route-live-panel .eyebrow{letter-spacing:.06em;margin-bottom:2px;font-size:10px}.route-live-panel .muted{display:none}.route-live-panel .live-metrics{grid-template-columns:repeat(3,minmax(76px,1fr))}.route-live-panel .live-metrics div{border-radius:7px;padding:7px 9px}.route-live-panel .live-metrics span{font-size:11px}.route-live-panel .live-metrics strong{font-size:14px}.route-live-panel .live-actions{justify-content:end}.route-live-panel .live-actions span{display:none}.route-live-panel .live-actions button{min-height:34px;padding:8px 11px}.live-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.live-metrics div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.live-metrics span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700;display:block}.live-metrics strong{color:var(--text);overflow-wrap:anywhere;margin-top:4px;display:block}.live-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.live-actions span{color:var(--muted);font-size:13px}.live-actions button{background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 14px;font-weight:850}.live-actions button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.live-error{background:var(--surface);color:var(--primary-dark);border:1px solid #ffd1d1;border-radius:8px;margin:0;padding:12px 14px;font-weight:700}.billing-commandbar{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(260px,420px);align-items:center;gap:18px;padding:20px;display:grid;box-shadow:0 1px 2px #0f172a0a}.billing-commandbar h2,.billing-panel-head h2{margin:0}.billing-commandbar p{max-width:820px;color:var(--muted);margin:8px 0 0}.billing-commandbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;max-width:100%;display:grid}.billing-commandbar-actions :is(button,a){background:var(--primary);width:100%;min-width:0;max-width:100%;min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border:0;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.billing-commandbar-actions button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.billing-panel-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.billing-panel-head p{color:var(--muted);margin:5px 0 0}.billing-panel-head label{min-width:260px;color:var(--muted);text-transform:uppercase;gap:6px;font-size:12px;font-weight:800;display:grid}.billing-panel-head input{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;text-transform:none;border-radius:8px;padding:10px 12px}.billing-snapshot{gap:8px;margin:0;display:grid}.billing-snapshot div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(100px,.42fr) minmax(0,1fr);gap:12px;padding:10px;display:grid}.billing-snapshot dt{color:var(--primary-dark);font-weight:800}.billing-snapshot dd{color:var(--text);margin:0}
.crm-client-row button,.crm-client-row a{background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border:0;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.crm-client-row{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(160px,1fr) max-content minmax(120px,.7fr) max-content max-content;align-items:center;gap:12px;padding:13px 14px;display:grid}.crm-client-row:last-child{border-bottom:0}.crm-client-row[aria-current=true]{background:var(--surface-soft);box-shadow:inset 4px 0 0 var(--primary)}.crm-client-row p{color:var(--muted);margin:3px 0 0}.crm-client-row>span{color:var(--muted)}.billing-panel-head a{background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border:0;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.workspace .payments-commandbar-actions>a:not(:first-child){border:1px solid var(--line);background:var(--surface);color:var(--text)}.workspace .payments-commandbar-actions>a:not(:first-child):hover{border-color:var(--primary);background:var(--surface-soft);color:var(--primary-dark)}
.payments-document-row{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(130px,1fr) 120px minmax(100px,.8fr) 70px minmax(96px,120px);align-items:center;gap:10px;padding:13px 14px;display:grid}.payments-document-row:last-child{border-bottom:0}.payments-document-row[data-state=overdue]{border-left:4px solid #d84b42}.payments-document-row[data-state=credit_note],.payments-document-row[data-state=refund]{border-left:4px solid var(--accent)}.payments-document-row p{color:var(--muted);margin:3px 0 0}.payments-document-row span{background:var(--surface-soft);min-width:0;color:var(--primary-dark);text-align:center;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:900}.payments-document-row em{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-style:normal}.payments-document-row button{white-space:normal;justify-self:stretch;min-width:0;line-height:1.15}.accounting-operation-row button,.accounting-operation-row a{background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border:0;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.accounting-operation-list{border:1px solid var(--line);border-radius:8px;display:grid;overflow:hidden}.accounting-operation-row{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:58px minmax(150px,.8fr) minmax(180px,1fr) minmax(120px,.65fr) 82px minmax(82px,112px);align-items:center;gap:12px;padding:13px 14px;display:grid}.accounting-operation-row:last-child{border-bottom:0}.accounting-operation-row time{color:var(--nav);justify-items:center;display:grid}.accounting-operation-row time strong{font-size:22px;line-height:1}.accounting-operation-row p{color:var(--muted);margin:3px 0 6px}.accounting-operation-row>span,.accounting-operation-row em{color:var(--muted);font-style:normal}.accounting-operation-row button{white-space:normal;justify-self:stretch;min-width:0}.accounting-control-grid{flex-wrap:wrap;gap:8px;display:flex}.accounting-control-grid span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.invoice-editor{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:16px;padding:20px;display:grid}.invoice-editor-total{color:var(--muted);justify-items:end;gap:2px;display:grid}.invoice-editor-total strong{color:var(--text);font-size:24px}.invoice-document-kind-switcher{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:14px;padding:14px;display:grid}
.invoice-document-kind-switcher h3{color:var(--text);margin:3px 0 0}.invoice-document-kind-tabs{grid-template-columns:repeat(3,minmax(96px,1fr));gap:8px;display:grid}.invoice-document-kind-tabs button{border:1px solid var(--line);background:var(--surface-soft);min-height:42px;color:var(--nav);cursor:pointer;border-radius:8px;padding:8px 12px;font-weight:900}.invoice-document-kind-tabs button[aria-selected=true]{border-color:var(--primary);background:var(--primary);color:var(--on-primary-ink)}.invoice-catalog-picker{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:14px;display:grid}.invoice-catalog-picker--advanced,.invoice-manual-entry{background:var(--surface)}.invoice-manual-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.invoice-manual-entry-wide{grid-column:span 2}.invoice-manual-entry-kpi{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:4px;padding:10px 12px;display:grid}.invoice-manual-entry-kpi span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.invoice-manual-entry-kpi strong{color:var(--text)}.invoice-manual-entry-kpi--wide{grid-column:span 2}.invoice-manual-entry-actions{flex-wrap:wrap;gap:10px;display:flex}.invoice-manual-entry-actions button{border:1px solid var(--line);background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:10px 14px;font-weight:900}.invoice-manual-entry-actions button+button{background:var(--surface);color:var(--nav)}.invoice-catalog-search{color:var(--muted);text-transform:uppercase;gap:6px;font-size:12px;font-weight:800;display:grid}.invoice-catalog-search input{border:1px solid var(--line-strong);background:var(--surface);min-height:44px;color:var(--nav);border-radius:8px;padding:0 14px;font-size:15px;font-weight:700}.invoice-file-button{border:1px solid var(--primary);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;place-items:center;padding:9px 12px;font-weight:850;display:inline-grid;position:relative}.invoice-file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.invoice-attachment-empty{border:1px dashed var(--line);background:var(--surface);color:var(--muted);border-radius:8px;margin:0;padding:12px}.invoice-attachment-list{gap:8px;display:grid}.invoice-attachment-list article{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;padding:10px 12px;display:grid}.invoice-attachment-list strong,.invoice-attachment-list span,.invoice-attachment-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.invoice-attachment-list span,.invoice-attachment-list small{color:var(--muted)}.invoice-attachment-list button{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);cursor:pointer;border-radius:8px;padding:8px 10px;font-weight:800}.invoice-catalog-tabs,.module-action-rail{flex-wrap:wrap;gap:8px;display:flex}.invoice-catalog-tabs button,.module-action-rail a{border:1px solid var(--line);background:var(--surface);color:var(--nav);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:800;text-decoration:none}.invoice-catalog-tabs button span{color:var(--muted);margin-left:6px;font-size:12px}.invoice-catalog-tabs button[aria-selected=true],.module-action-rail a:first-child{border-color:var(--primary);background:var(--surface-soft);color:var(--primary-dark)}.invoice-catalog-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.36fr);align-items:start;gap:14px;display:grid}.invoice-catalog-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.invoice-catalog-list--advanced{grid-template-columns:minmax(0,1fr)}.invoice-catalog-list article{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:10px;padding:12px;display:grid}.invoice-catalog-list--advanced article{background:var(--surface);grid-template-columns:minmax(0,1fr) minmax(92px,max-content) minmax(126px,max-content) minmax(96px,max-content)}.invoice-catalog-list--advanced article.is-selected{border-color:var(--primary-dark);background:var(--surface-soft);box-shadow:inset 4px 0 0 var(--primary)}.invoice-catalog-empty{border:1px dashed var(--line);color:var(--muted);border-radius:8px;margin:0;padding:14px}.invoice-catalog-list p,.invoice-catalog-list small{color:var(--muted);margin:3px 0 0}.invoice-catalog-list span{color:var(--primary-dark);font-weight:850}.invoice-catalog-item-main{min-width:0}.invoice-catalog-item-main strong,.invoice-catalog-item-main p,.invoice-catalog-item-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.invoice-catalog-item-price{color:var(--nav);justify-items:end;gap:2px;display:grid}.invoice-catalog-item-price strong{color:var(--nav);font-weight:900}.invoice-catalog-item-price small{color:var(--muted);margin:0;font-size:11px}.invoice-catalog-quantity{grid-template-columns:34px 54px 34px;align-items:center;gap:6px;display:grid}.invoice-catalog-quantity button{border:1px solid var(--primary);background:var(--primary);min-height:38px;color:var(--on-primary-ink);cursor:pointer;border-radius:999px;font-size:18px;font-weight:900}.invoice-catalog-quantity button:disabled{border-color:var(--line);background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.invoice-catalog-quantity input{border:1px solid var(--line-strong);min-height:38px;color:var(--nav);text-align:center;border-radius:8px;font-weight:850}.invoice-catalog-line-total{color:var(--nav);justify-self:end}.invoice-catalog-selection{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;min-height:0;padding:14px;display:grid;position:sticky;top:84px}.invoice-catalog-selection-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.invoice-catalog-selection-head h4{margin:2px 0 0;font-size:18px}.invoice-catalog-selection-head button,.invoice-catalog-selection-list button{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);cursor:pointer;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:850}.invoice-catalog-selection-empty{color:var(--muted);margin:0;font-weight:650}.invoice-catalog-selection-list{gap:8px;display:grid}.invoice-catalog-selection-list article{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) max-content;gap:6px 10px;padding-bottom:8px;display:grid}.invoice-catalog-selection-list strong,.invoice-catalog-selection-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.invoice-catalog-selection-list small{color:var(--muted)}.invoice-catalog-selection-list span{color:var(--nav);font-weight:900}.invoice-catalog-selection-list button{grid-column:1/-1;justify-self:start}.invoice-catalog-selection-total{border-top:1px solid var(--line);gap:6px;margin-top:auto;padding-top:12px;display:grid}.invoice-catalog-selection-total span{color:var(--muted);font-size:13px;font-weight:750}.invoice-catalog-selection-total strong{color:var(--nav);font-size:18px}.invoice-catalog-footer{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;padding-top:12px;display:grid}.invoice-catalog-footer span{color:var(--nav);font-weight:900}.invoice-catalog-footer button{border:1px solid var(--primary);background:var(--primary);min-height:46px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:0 18px;font-weight:900}.invoice-catalog-footer button:disabled{border-color:var(--line);background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.invoice-editor-lines{gap:10px;display:grid}.invoice-editor-empty{border:1px dashed var(--line);background:var(--surface-soft);color:var(--muted);text-align:center;border-radius:8px;gap:4px;padding:18px;display:grid}.invoice-editor-empty strong{color:var(--text)}.invoice-editor-line{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;grid-template-columns:44px 52px minmax(0,1fr) minmax(170px,max-content) max-content;align-items:center;gap:12px;padding:12px;display:grid}.invoice-editor-line--layout{border-left-color:var(--nav);background:var(--surface)}.invoice-editor-line p,.invoice-editor-line small{color:var(--muted);margin:4px 0 0}.invoice-editor label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:12px;font-weight:800;display:grid}.invoice-editor input,.invoice-editor select{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;text-transform:none;border-radius:8px;padding:8px 9px}.invoice-editor input:disabled{background:var(--surface-soft);color:#8b98a8}.invoice-line-fields{gap:4px;display:grid}.invoice-line-children{border-top:1px solid var(--line);gap:6px;margin-top:8px;padding:8px 0 0;display:grid}.invoice-line-children span,.invoice-line-children small{color:var(--muted);font-size:12px}.invoice-line-child-actions{flex-wrap:wrap;gap:6px;display:flex}.invoice-line-child-actions button{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--text);border-radius:999px;padding:0 10px;font-weight:800}.invoice-line-child-editor{border-bottom:1px solid #e7ebf2;grid-template-columns:minmax(220px,1fr) minmax(150px,max-content) minmax(86px,max-content) max-content;align-items:center;gap:8px;padding:7px 0;display:grid}.invoice-line-child-main{gap:3px;min-width:0;display:grid}.invoice-line-child-main input{color:var(--text);background:0 0;border:0;border-radius:0;padding:0;font-size:13px;font-weight:500}.invoice-line-child-main span,.invoice-line-child-side span{color:var(--muted);font-size:12px;font-weight:500}.invoice-line-child-side{text-align:right;gap:2px;display:grid}.invoice-line-child-side strong{color:var(--text);font-size:13px;font-weight:700}.invoice-line-child-details summary{color:var(--nav);cursor:pointer;font-size:12px;font-weight:800}.invoice-line-child-details div{grid-template-columns:repeat(5,minmax(68px,1fr));gap:6px;margin-top:8px;display:grid}.invoice-line-actions{place-self:end;gap:8px;display:grid}.invoice-line-child-editor button,.invoice-line-actions button{cursor:pointer;border-radius:8px;min-height:34px;padding:0 10px;font-weight:900}.invoice-line-edit{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav)}.invoice-line-delete,.invoice-line-child-editor button{border:1px solid var(--line);background:var(--surface);color:var(--primary-dark)}.invoice-line-delete{width:100%}@media (max-width:820px){.invoice-editor-line,.invoice-line-child-editor{grid-template-columns:1fr}.invoice-line-child-side,.invoice-line-actions,.invoice-line-delete{text-align:left;justify-self:stretch}.invoice-line-child-details div,.invoice-line-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.drag-handle{background:var(--nav);color:#fff;cursor:grab;border-radius:8px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.invoice-line-order-actions{gap:4px;margin-top:6px;display:flex}.invoice-line-order-actions button{border:1px solid var(--line);background:var(--surface);width:34px;height:28px;color:var(--text);border-radius:6px;place-items:center;font-weight:900;display:grid}.invoice-line-order-actions button:disabled{cursor:not-allowed;opacity:.38}.invoice-line-money{justify-items:end;gap:8px;display:grid}.invoice-line-money--grouped{align-content:start}.invoice-line-money label{max-width:160px}.invoice-line-radio-group{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:220px;margin:0;padding:8px;display:grid}.invoice-line-radio-group legend{color:var(--muted);text-transform:uppercase;padding:0 4px;font-size:11px;font-weight:900}.invoice-line-radio-group label{max-width:none;color:var(--text);text-transform:none;align-items:center;gap:5px;font-size:12px;display:flex}.invoice-line-radio-group input[type=radio]{width:auto}.invoice-line-radio-group>input[type=number]{grid-column:1/-1}.invoice-line-money>span{color:var(--primary-dark);font-size:13px;font-weight:700}.qty-stepper{grid-template-columns:34px minmax(54px,1fr) 34px;align-items:center;gap:4px;display:grid}.qty-stepper button{border-color:var(--line);background:var(--surface-soft);min-height:38px;font-weight:900}.invoice-editor-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.invoice-editor-summary span{border:1px solid var(--line);background:var(--surface-soft);color:var(--primary-dark);border-radius:8px;padding:10px;font-weight:700}.invoice-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.invoice-flow-grid>*{min-width:0}.invoice-flow-totals{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.invoice-flow-totals span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);border-radius:8px;padding:8px 10px;font-weight:700}.invoice-flow-totals label,.invoice-flow-totals button{width:100%;min-width:0}.invoice-flow-totals button{border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;border-radius:8px;gap:4px;padding:10px;display:grid}.invoice-flow-totals button[aria-pressed=true]{border-color:var(--primary);background:var(--surface-soft)}.invoice-flow-totals button strong,.invoice-flow-totals button span,.invoice-flow-totals button small{overflow-wrap:anywhere;min-width:0}.invoice-flow-totals button span,.invoice-flow-totals button small{color:var(--muted);background:0 0;border:0;padding:0;font-size:12px;display:block}.invoice-flow-actions{justify-items:end;gap:8px;display:grid}.invoice-flow-actions button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:800}.invoice-flow-actions button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:progress}.invoice-flow-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.invoice-flow-steps div{border:1px solid var(--line);background:var(--surface);border-left:4px solid #cad4df;border-radius:8px;gap:5px;padding:10px;display:grid}.invoice-flow-steps div[data-state=running]{border-left-color:var(--accent)}.invoice-flow-steps div[data-state=done]{border-left-color:#3aa458}.invoice-flow-steps div[data-state=error]{border-left-color:#de4a42}.invoice-flow-steps span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.invoice-flow-result{border:1px solid var(--line);color:#f8fbff;background:#162033;border-radius:8px;margin:0;padding:12px;overflow-x:auto}.ocr-workbench{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:16px;padding:20px;display:grid}.ocr-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.ocr-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.ocr-workbench .section-head>strong[data-state=done]{background:var(--surface-soft);color:var(--success)}.ocr-workbench-controls,.ocr-workbench-actions{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:10px;display:flex}.ocr-workbench label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:12px;font-weight:800;display:grid}.ocr-workbench input,.ocr-workbench select{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--text);font:inherit;text-transform:none;border-radius:8px;padding:8px 9px}.ocr-workbench button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:800}.ocr-workbench button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.ocr-prefill-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.ocr-prefill-grid div{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;gap:4px;padding:10px;display:grid}.ocr-prefill-grid span,.ocr-prefill-grid small,.ocr-workbench-actions span{color:var(--muted)}.ocr-responsibility{flex-direction:row;grid-template-columns:auto minmax(0,1fr);align-items:center;text-transform:none!important;gap:8px!important;display:flex!important}.ocr-responsibility input{width:auto}.client-crud-workbench{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:16px;padding:20px;display:grid}.client-crud-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.client-crud-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.client-crud-workbench .section-head>strong[data-state=done]{background:var(--surface-soft);color:var(--success)}.client-form-grid,.client-address-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.client-crud-workbench label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:12px;font-weight:800;display:grid}.client-crud-workbench input{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--text);font:inherit;text-transform:none;border-radius:8px;padding:8px 9px}.country-combobox{position:relative}.country-combobox small{color:var(--muted);text-transform:none;font-size:11px;font-weight:800}.country-combobox-list{z-index:20;border:1px solid var(--line);background:var(--surface);border-radius:8px;max-height:260px;padding:6px;display:grid;position:absolute;top:calc(100% - 2px);left:0;right:0;overflow:auto;box-shadow:0 12px 28px #0f172a29}.country-combobox-list button{color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.country-combobox-list button:hover,.country-combobox-list button[aria-selected=true]{background:var(--surface-soft)}.client-address-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;gap:10px;padding:12px;display:grid}.client-address-grid article>strong{text-transform:uppercase}.client-address-grid span,.client-crud-actions span{color:var(--muted)}.client-crud-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.client-crud-actions button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:800}.client-crud-actions button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:progress}.document-actions-workbench{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:16px;padding:20px;display:grid}.document-actions-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.document-actions-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.document-actions-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.document-actions-grid,.document-actions-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.document-actions-grid button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:800}.document-actions-grid button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.document-actions-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);overflow-wrap:anywhere;border-radius:8px;padding:9px 10px;font-weight:700}.document-actions-live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.document-actions-live-grid section{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:14px}.document-actions-live-grid h3{color:var(--nav);margin:0 0 10px;font-size:1rem}.document-actions-live-grid p{color:var(--muted);margin:0}.document-actions-stack{gap:8px;margin:0;padding:0;display:grid}.document-actions-row{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);border-radius:8px;align-items:flex-start;gap:10px;padding:10px;list-style:none;display:flex}
.document-actions-row input{accent-color:var(--primary);margin-top:3px}.document-actions-row strong,.document-actions-row small{display:block}.document-actions-row small{color:var(--muted);margin-top:3px;font-weight:700}.document-actions-row[data-tone=success]{background:var(--surface-soft);border-color:#b7e6c6}.document-actions-row[data-tone=warning]{background:var(--surface-soft);border-color:#ffd7b5}.document-actions-row[data-tone=info]{background:var(--surface-soft);border-color:#bdd7ff}.bank-live-workbench{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:16px;padding:20px;display:grid}.bank-live-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.bank-live-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.bank-live-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.rbac-live-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.rbac-live-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.rbac-live-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.accounting-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:16px;padding:20px;display:grid}.accounting-live-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.accounting-live-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.accounting-live-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.accounting-live-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.accounting-live-actions button{border:1px solid var(--line);background:var(--primary);min-height:44px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:10px 14px;font-weight:800}.accounting-live-actions button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.accounting-live-kpis,.accounting-live-results{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.accounting-live-kpis span,.accounting-live-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.accounting-live-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.accounting-live-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.accounting-live-grid h3{margin:0}.accounting-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.accounting-live-grid p:last-child{border-bottom:0;padding-bottom:0}.accounting-live-grid span{color:var(--muted);overflow-wrap:anywhere;font-size:.86rem}.inventory-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:16px;padding:20px;display:grid}.inventory-live-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.inventory-live-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.inventory-live-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.inventory-live-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.inventory-live-actions button{border:1px solid var(--line);background:var(--primary);min-height:44px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:10px 14px;font-weight:800}.inventory-live-results{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.inventory-live-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.inventory-live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.inventory-live-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.inventory-live-grid h3{margin:0}.inventory-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.inventory-live-grid p:last-child{border-bottom:0;padding-bottom:0}.inventory-live-grid span,.inventory-live-grid small{color:var(--muted);overflow-wrap:anywhere}.document-vault-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:16px;padding:20px;display:grid}.document-vault-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.document-vault-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.document-vault-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.document-vault-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.document-vault-actions button{border:1px solid var(--line);background:var(--primary);min-height:44px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:10px 14px;font-weight:800}.document-vault-upload{border:1px dashed var(--primary);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:center;gap:12px;padding:14px;display:grid}.document-vault-upload label,.document-vault-upload div{gap:6px;display:grid}.document-vault-upload label span{color:var(--nav);font-weight:850}.document-vault-upload input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:42px;color:var(--text);border-radius:8px;padding:8px}.document-vault-upload strong{color:var(--nav);overflow-wrap:anywhere}.document-vault-upload p{color:var(--muted);margin:0}.document-vault-results{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.document-vault-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.document-vault-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.document-vault-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.document-vault-grid h3{margin:0}.document-vault-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.document-vault-grid p:last-child{border-bottom:0;padding-bottom:0}.document-vault-grid span{color:var(--muted);overflow-wrap:anywhere}.pdf-studio-panel{--studio-bg:#f8f9ff;--studio-rail:#27313f;--studio-line:#e0c0b1;--studio-orange:var(--button-primary-bg);--studio-ink:#121c2a;--studio-muted:#555f6d;border:1px solid var(--studio-line);background:var(--studio-bg);min-height:860px;color:var(--studio-ink);border-radius:8px;grid-template-columns:256px minmax(0,1fr);display:grid;overflow:hidden}.settings-pdf-customization{gap:18px;display:grid}.settings-pdf-customization-status{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.settings-pdf-customization-status span{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--muted);overflow-wrap:anywhere;border-radius:8px;padding:12px;font-size:13px;font-weight:750}.pdf-studio-shell-nav{background:var(--studio-rail);color:#eaf1ff;flex-direction:column;min-width:0;display:flex}.pdf-studio-brand{gap:4px;padding:28px 24px 24px;display:grid}.pdf-studio-brand strong{color:#fff;letter-spacing:-.03em;font-size:29px;font-weight:950}.pdf-studio-brand span{color:#bdc7d8;font-size:15px}.pdf-studio-new-doc{background:var(--studio-orange);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:46px;margin:20px 24px 18px;font-size:15px;font-weight:750;display:flex}.pdf-studio-new-doc span{font-size:26px;font-weight:400;line-height:1}.pdf-studio-shell-nav nav{display:grid}.pdf-studio-shell-nav nav button{color:#bdc7d8;min-height:56px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-left:4px solid #0000;align-items:center;gap:14px;padding:0 24px;font-size:15px;display:flex}.pdf-studio-shell-nav nav button[aria-current=page]{border-left-color:var(--studio-orange);color:#596372;background:#d6e0f1}.pdf-studio-shell-nav nav button span{color:currentColor;width:22px;font-size:21px}.pdf-studio-user{border-top:1px solid #e0c0b138;align-items:center;gap:12px;margin-top:auto;padding:24px;display:flex}.pdf-studio-user>span{color:#341100;background:#ffdbca;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.pdf-studio-user p{gap:2px;margin:0;display:grid}.pdf-studio-user small{color:#bdc7d8}
.document-hero p,.ged-hero p{max-width:780px;color:var(--muted);margin:10px 0 0}.document-hero-actions{gap:8px;min-width:220px;display:grid}.document-hero-actions button,.document-hero-actions a,.ged-search button,.document-work-panel .section-head button,.document-work-panel .section-head a,.ged-results .section-head button,.ged-panel .section-head button{border:1px solid var(--line);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.document-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.document-kpi-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:5px;padding:16px;display:grid}.document-kpi-grid strong{color:var(--nav);font-size:26px;line-height:1}.document-kpi-grid span{font-weight:850}.document-kpi-grid p{color:var(--muted);margin:0;font-size:13px}.document-main-grid,.ged-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.document-work-panel,.ged-panel,.ged-results{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:14px;padding:18px;display:grid}.ged-upload-card{border:1px dashed var(--primary);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;display:grid}.ged-upload-card h2,.ged-upload-card p{margin:0}.ged-upload-card h2{color:var(--nav);font-size:20px;line-height:1.18}.ged-upload-card p:not(.eyebrow){color:var(--muted);margin-top:6px}.ged-upload-card a{background:var(--primary);min-height:42px;color:var(--on-primary-ink);border-radius:8px;place-items:center;padding:9px 12px;font-weight:850;text-decoration:none;display:inline-grid}.document-work-panel .section-head,.ged-results .section-head,.ged-panel .section-head{align-items:center}.document-work-panel .section-head p,.ged-results .section-head p{color:var(--muted);margin:4px 0 0}.document-template-list,.document-vault-list,.document-object-list,.document-template-matrix,.document-customization-grid,.ged-card-list,.ged-technical-list,.ged-hold-list{gap:10px;display:grid}.document-template-matrix{grid-template-columns:repeat(3,minmax(0,1fr))}.document-template-matrix article,.document-customization-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:6px;padding:14px;display:grid}.document-template-matrix strong,.document-customization-grid span{color:var(--nav);font-weight:850}.document-template-matrix p,.document-customization-grid p{color:var(--muted);margin:0}.document-customization-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.document-template-list article,.document-vault-list article,.ged-card-list article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:14px;display:grid}.document-template-list h3,.document-vault-list h3,.ged-card-list h3,.document-object-list strong,.ged-technical-list strong,.ged-hold-list strong{color:var(--nav);margin:0}.document-template-list p,.document-vault-list p,.document-object-list p,.ged-card-list p,.ged-technical-list p,.ged-hold-list p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0}.document-template-list span,.ged-card-list span{color:var(--primary-dark);text-transform:uppercase;font-weight:850}.document-template-list small,.document-vault-list small,.ged-card-list small,.ged-technical-list small{color:var(--muted);overflow-wrap:anywhere}.document-vault-list span,.ged-card-list strong{color:var(--nav);text-transform:uppercase;background:#e9f7ff;border-radius:999px;padding:5px 8px;font-size:12px}.document-flow-panel{border:1px solid var(--line);background:var(--nav);color:#fff;border-radius:8px;gap:16px;padding:20px;display:grid}.document-flow-panel h2,.document-flow-panel p{margin:0}.document-flow-panel p{color:#ffffffb8}.document-flow-panel ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.document-flow-panel li{background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;gap:8px;padding:14px;display:grid}.document-flow-panel li span{background:var(--primary);border-radius:999px;width:max-content;padding:4px 7px;font-weight:850}.document-object-list article,.ged-technical-list article,.ged-hold-list article{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px;display:grid}.document-object-list span,.ged-technical-list span,.ged-hold-list span{color:var(--nav);font-weight:800}.ged-search{grid-template-columns:minmax(240px,360px) auto;align-items:end;gap:10px;display:grid}.ged-search label{color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.ged-search input{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);border-radius:8px;padding:9px 10px}.ged-layout{grid-template-columns:190px minmax(0,1fr);gap:14px;display:grid}.ged-filters{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:8px;padding:12px;display:grid}.ged-filters :is(button,a){min-height:38px;color:var(--nav);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;padding:8px 10px;font-weight:800;text-decoration:none;display:flex}.ged-filters :is(button,a)[aria-current=page]{border-color:var(--line);background:#e9f7ff}.ged-empty-result{grid-template-columns:1fr}.ged-retention-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ged-retention-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:5px;padding:12px;display:grid}.ged-retention-grid span{color:var(--primary-dark);font-weight:850}.ged-retention-grid p,.ged-retention-grid small{color:var(--muted);margin:0}.activity-list-panel .section-head button,.activity-list-panel .section-head a,.activity-detail-panel .section-head button,.activity-detail-panel .section-head a,.activity-schedule-panel .section-head button,.activity-schedule-panel .section-head a{border:1px solid var(--line);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.activity-list-panel .section-head p,.activity-detail-panel .section-head p,.activity-schedule-panel .section-head p{color:var(--muted);margin:4px 0 0}.stock-console{gap:18px;display:grid}.stock-commandbar{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;padding:24px;display:grid}.document-console,.ged-console{gap:18px;display:grid}.document-hero,.ged-hero{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;padding:24px;display:grid}.document-hero h2,.ged-hero h2{max-width:860px;color:var(--nav);margin:0;font-size:28px;line-height:1.12}
.stock-commandbar h2{max-width:900px;color:var(--nav);margin:0;font-size:28px;line-height:1.12}.stock-commandbar p{max-width:820px;color:var(--muted);margin:10px 0 0}.stock-commandbar-actions{gap:8px;min-width:210px;display:grid}.stock-commandbar-actions button,.stock-commandbar-actions a,.stock-panel .section-head button,.stock-panel .section-head a{border:1px solid var(--line);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;text-align:center;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}.stock-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stock-kpi-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:6px;padding:16px;display:grid}.stock-kpi-grid strong{color:var(--nav);font-size:24px;line-height:1}.stock-kpi-grid span{color:var(--primary-text);font-weight:850}.stock-kpi-grid p{color:var(--muted);margin:0}.stock-main-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.stock-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:14px;padding:18px;display:grid}.stock-panel .section-head p{color:var(--muted);margin:4px 0 0}.stock-item-list,.stock-reservation-list,.stock-asset-list,.stock-rule-list{gap:10px;display:grid}.stock-item-list article,.stock-reservation-list article,.stock-asset-list article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;grid-template-columns:minmax(160px,1fr) auto auto auto auto;align-items:center;gap:10px;padding:14px;display:grid}.stock-item-list article[data-low=true]{background:var(--surface);border-left-color:#de4a42}.stock-reservation-list article,.stock-asset-list article{grid-template-columns:minmax(180px,1fr) auto auto auto}.stock-item-list h3,.stock-item-list p,.stock-asset-list h3,.stock-asset-list p{margin:0}.stock-item-list h3,.stock-reservation-list strong,.stock-asset-list h3,.stock-rule-list strong,.stock-amortization-panel h2{color:var(--nav)}.stock-item-list p,.stock-reservation-list p,.stock-asset-list p,.stock-rule-list p,.stock-amortization-panel p,.stock-amortization-panel small{color:var(--muted);margin:4px 0 0}.stock-item-list span,.stock-reservation-list span,.stock-asset-list span,.stock-rule-list span{width:fit-content;color:var(--nav);background:#e9f7ff;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:850}.stock-item-list em,.stock-reservation-list em{color:var(--muted);font-style:normal;font-weight:800}.stock-rule-list article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:6px;padding:12px;display:grid}.stock-rule-list small{color:var(--muted);overflow-wrap:anywhere}.stock-amortization-panel{border:1px solid var(--line);background:var(--nav);color:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(220px,.35fr) minmax(280px,.55fr);align-items:start;gap:16px;padding:20px;display:grid}.stock-amortization-panel h2,.stock-amortization-panel p,.stock-amortization-panel small{margin:0}.stock-amortization-panel h2,.stock-amortization-summary strong,.stock-amortization-plan strong{color:#fff}.stock-amortization-panel p,.stock-amortization-panel small,.stock-amortization-summary span,.stock-amortization-plan span{color:#ffffffb8}.stock-amortization-summary,.stock-amortization-plan{gap:10px;display:grid}.stock-amortization-summary{background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;padding:14px}.stock-amortization-plan article{border-bottom:1px solid #ffffff24;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.stock-amortization-plan article:last-child{border-bottom:0}.planning-panel .section-head button,.planning-panel .section-head a,.library-panel .section-head button,.library-panel .section-head a,.purchase-order-panel .section-head button,.purchase-order-panel .section-head a,.purchase-panel .section-head button,.purchase-panel .section-head a,.sync-queue-panel .section-head button,.sync-queue-panel .section-head a{border:1px solid var(--line);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:9px 12px;font-weight:800;text-decoration:none}
.admin-panel .section-head button,.integrations-console .section-head button,.security-console .section-head button{border:1px solid var(--line);background:var(--primary);min-height:40px;color:var(--on-primary-ink);cursor:pointer;border-radius:8px;padding:9px 12px;font-weight:800}.security-console article{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:14px;padding:18px;display:grid;box-shadow:0 10px 24px #1e2b430d}.admin-panel .section-head p,.integrations-console .section-head p,.security-console .section-head p{color:var(--muted);margin:4px 0 0}.payments-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:16px;padding:20px;display:grid}.payments-live-workbench .section-head>strong{background:var(--surface-soft);color:var(--nav);text-transform:uppercase;border-radius:999px;padding:6px 10px}.payments-live-workbench .section-head>strong[data-state=error]{background:var(--surface-soft);color:var(--primary-dark)}.payments-live-workbench .section-head>strong[data-state=ready]{background:var(--surface-soft);color:var(--success)}.integration-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:18px;padding:22px;display:grid;box-shadow:0 16px 40px #0f274414}.integration-live-actions{flex-wrap:wrap;gap:10px;display:flex}.integration-live-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.integration-live-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.integration-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.integration-live-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.integration-live-grid h3{margin:0}.integration-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.integration-live-grid p:last-child{border-bottom:0;padding-bottom:0}.integration-live-grid span{color:var(--muted);overflow-wrap:anywhere}.quality-live-workbench,.security-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:18px;padding:22px;display:grid;box-shadow:0 16px 40px #0f274414}.security-live-actions{flex-wrap:wrap;gap:10px;display:flex}.security-live-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.security-live-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.security-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.security-live-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}
.security-live-grid h3{margin:0}.security-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.security-live-grid p:last-child{border-bottom:0;padding-bottom:0}.security-live-grid span{color:var(--muted);overflow-wrap:anywhere}.reporting-live-workbench,.vat-live-workbench,.compliance-live-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:18px;padding:22px;display:grid;box-shadow:0 16px 40px #0f274414}.compliance-live-actions{flex-wrap:wrap;gap:10px;display:flex}.compliance-live-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.compliance-live-results span{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.compliance-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.compliance-live-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.compliance-live-grid h3{margin:0}.compliance-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.compliance-live-grid p:last-child{border-bottom:0;padding-bottom:0}.compliance-live-grid span{color:var(--muted);overflow-wrap:anywhere}.commercial-live-workbench,.project-live-workbench,.project-margin-workbench{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:18px;padding:22px;display:grid;box-shadow:0 16px 40px #0f274414}.project-live-actions,.project-margin-actions{flex-wrap:wrap;gap:10px;display:flex}.project-live-results,.project-margin-form,.project-margin-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.project-live-results span,.project-margin-grid article,.project-margin-hint{border:1px solid var(--line);background:var(--surface-soft);color:var(--nav);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 10px;font-weight:700;overflow:hidden}.project-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.project-live-grid article{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);border-radius:8px;align-content:start;gap:10px;padding:14px;display:grid}.project-live-grid h3,.project-margin-grid h3{margin:0}.project-live-grid p{border-bottom:1px solid var(--line);gap:4px;margin:0;padding-bottom:10px;display:grid}.project-live-grid p:last-child{border-bottom:0;padding-bottom:0}.project-live-grid span,.project-margin-grid span{color:var(--muted);overflow-wrap:anywhere}.security-console,.contract-console{overflow-x:auto}.import-console .section-head button,.runbook-console .section-head button,.qa-console .section-head button,.support-console .section-head button,.portal-console .section-head button,.supplier-console .section-head button,.purchase-console .section-head button,.vault-console .section-head button,.security-console .section-head button,.contract-console .section-head button,.compliance-console .section-head button,.automation-console .section-head button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 12px;font-weight:700}.settings-danger p{color:var(--muted);margin:0}.actions{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-color:#465f6a2e;flex-wrap:wrap;place-content:center flex-end;align-items:center;gap:10px;display:flex;position:sticky;bottom:16px;box-shadow:0 18px 46px #1e2b431f}.actions:before{content:"Actions rapides";color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-right:auto;font-size:12px;font-weight:900}.actions button:not(:first-of-type),.actions a:not(:first-of-type){border:1px solid var(--button-secondary-border);background:var(--button-secondary-bg);color:var(--button-secondary-text)}.actions button:not(:first-of-type):hover,.actions a:not(:first-of-type):hover{border-color:var(--button-primary-border);background:var(--brand-soft);color:var(--button-secondary-text)}.section-head{justify-content:space-between;align-items:flex-start;gap:16px;width:100%;display:flex}.section-head h2,.section-head h3{margin-bottom:0}.section-head button,.accounting-operations button{background:var(--primary);color:var(--on-primary-ink);cursor:pointer;border:0;border-radius:8px;padding:9px 12px;font-weight:700}
.select-like.wide{width:100%;min-width:0;font-weight:600}.accounting-operations{gap:18px;display:grid}.km-threshold.first{left:18%}.km-threshold.second{left:70%}.empty-illustration.small{width:42px;height:42px}.positive{color:var(--success)}.negative{color:var(--primary-dark)}.bank-reconciliation{gap:14px;display:grid}.soft-badge.success{background:var(--success-soft);color:var(--success)}.attachment{border:1px solid var(--line);width:fit-content;color:var(--nav);border-radius:999px;padding:6px 10px}.tax-matrix .section-head{margin-bottom:18px}.split{grid-template-columns:1fr 1fr;gap:14px;display:grid}.split article{padding:20px}li{margin:8px 0}.stitch-dashboard-shell{background:var(--surface-soft);min-height:100vh;color:var(--text);grid-template-columns:256px minmax(0,1fr);font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:grid}.stitch-dashboard-main{grid-template-rows:78px minmax(0,1fr);min-width:0;display:grid}.stitch-dashboard-topbar{z-index:5;background:var(--surface);border-bottom:1px solid #dce3ee;align-items:center;gap:22px;padding:0 38px;display:flex;position:sticky;top:0}.stitch-dashboard-topbar label{background:var(--surface-soft);border-radius:8px;align-items:center;gap:10px;width:min(560px,46vw);height:48px;padding:0 16px;display:flex}.stitch-dashboard-topbar label span{color:var(--muted);font-size:24px}.stitch-dashboard-topbar input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.stitch-dashboard-sync{background:var(--surface-soft);color:#047852;letter-spacing:0;border:1px solid #bdeed9;border-radius:14px;align-items:center;gap:8px;min-height:48px;padding:0 20px;font-size:15px;font-weight:800;display:flex}.stitch-dashboard-sync[data-state=loading]{color:#7b2f00;background:#fc71231f;border-color:#fc712359}.stitch-dashboard-sync[data-state=error]{color:#93000a;background:#ffdad6;border-color:#ba1a1a59}.stitch-dashboard-topbar button{width:38px;height:38px;color:var(--text);cursor:pointer;background:0 0;border:0;place-items:center;margin-left:auto;font-size:22px;display:grid}.stitch-dashboard-topbar button+button{margin-left:0}.stitch-dashboard-content{align-content:start;gap:28px;padding:42px 40px 48px;display:grid;overflow:auto}.stitch-dashboard-title,.stitch-panel-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.stitch-dashboard-title h1{color:var(--text);letter-spacing:0;margin:0;font-size:40px;font-weight:900;line-height:1.15}.stitch-dashboard-title p{color:var(--muted);margin:4px 0 0;font-size:18px}.stitch-dashboard-controls{align-items:stretch}.stitch-dashboard-select{background:var(--surface);min-width:152px;color:var(--text);border:1px solid #d6dee9;border-radius:8px;gap:6px;padding:10px 12px;display:grid}
.stitch-dashboard-main{grid-template-rows:64px minmax(0,1fr)}.stitch-dashboard-topbar{gap:12px;min-width:0;padding:0 24px}.stitch-dashboard-search{flex:420px;align-items:center;gap:8px;min-width:240px;max-width:640px;display:flex}.stitch-dashboard-search label{background:var(--surface-soft);border:1px solid #0000;flex:auto;width:auto;height:44px}.stitch-dashboard-shell .stitch-dashboard-search input,.stitch-dashboard-shell .stitch-dashboard-select select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:0 0}.stitch-dashboard-search label:focus-within{border-color:#a14000;box-shadow:0 0 0 3px #fc712333}.stitch-dashboard-search button,.stitch-dashboard-topbar .stitch-dashboard-topbar-link{background:var(--surface);width:auto;min-height:44px;color:var(--text);border:1px solid #c4c5d7;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0 14px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.stitch-dashboard-topbar .stitch-dashboard-sync{color:#005234;border-radius:999px;min-height:44px;padding:0 16px;text-decoration:none}.stitch-dashboard-topbar .stitch-dashboard-sync[data-state=partial]{color:#6f3a00;background:#fff7e6;border-color:#c87918}.stitch-dashboard-content{gap:24px;padding:32px 32px 48px}.stitch-dashboard-title{align-items:end}.stitch-dashboard-title h1{letter-spacing:-.02em;font-size:32px;line-height:1.2}.stitch-dashboard-title p{max-width:720px;font-size:16px}.stitch-dashboard-primary-actions,.stitch-dashboard-secondary-actions,.stitch-dashboard-controls{flex-wrap:wrap;align-items:stretch;gap:8px;display:flex}.stitch-dashboard-primary-actions{justify-content:flex-end}.stitch-dashboard-primary-actions a,.stitch-dashboard-secondary-actions :is(button,a){background:var(--surface);min-height:48px;color:var(--on-primary-ink);border:1px solid #c4c5d7;border-radius:8px;justify-content:center;align-items:center;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex}.stitch-dashboard-primary-actions a:last-child{border-color:var(--button-primary-border);background:var(--button-primary-bg);color:var(--on-primary-ink)}.stitch-dashboard-filterbar{background:var(--surface);border:1px solid #d8dee9;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.stitch-dashboard-filterbar .stitch-dashboard-select{min-width:168px;min-height:56px;padding:8px 12px}.stitch-dashboard-select span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:900}.stitch-dashboard-select select{color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-weight:850}.stitch-dashboard-reconnect{background:var(--surface-soft);color:var(--text);border:1px solid #f1c7b6;border-left:5px solid #b54016;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.stitch-dashboard-reconnect>div{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px 10px;min-width:0;display:grid}.stitch-dashboard-reconnect strong{color:var(--text);font-size:18px;font-weight:900}.stitch-dashboard-reconnect p{color:var(--muted);margin:0}.stitch-dashboard-reconnect small{color:var(--muted);word-break:break-word}.stitch-dashboard-reconnect button{border:1px solid var(--button-primary-border);background:var(--button-primary-bg);min-height:46px;color:var(--on-primary-ink);border-radius:8px;flex:none;padding:0 18px;font-weight:900}.stitch-dashboard-pipeline-notice{background:var(--surface-soft);color:var(--text);border:1px solid #ffd6b8;border-left:5px solid #fc7123;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;display:flex}.stitch-dashboard-pipeline-notice strong{color:var(--text);font-size:20px;font-weight:900;display:block}.stitch-dashboard-pipeline-notice p{color:var(--muted);margin:5px 0 0}.stitch-dashboard-pipeline-notice a{background:var(--button-primary-bg);min-height:48px;color:var(--on-primary-ink);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 18px;font-weight:900;text-decoration:none;display:inline-flex}.stitch-dashboard-layout{grid-template-columns:minmax(0,1fr) minmax(300px,340px);align-items:start;gap:24px;display:grid}.stitch-dashboard-left,.stitch-dashboard-insights{gap:24px;display:grid}.stitch-section-title,.stitch-dashboard-insights>h2{color:var(--text);margin:0;font-size:24px;font-weight:900}.stitch-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stitch-kpi-card,.stitch-dashboard-panel,.stitch-action-card{background:var(--surface);border:1px solid #c4c5d7;border-radius:8px}.stitch-kpi-card{align-content:start;gap:8px;min-width:0;min-height:152px;padding:20px;display:grid;position:relative;overflow:hidden}.stitch-kpi-card:before{content:"";background:var(--kpi-accent,#1f4fd8);height:4px;display:block;position:absolute;inset:0 0 auto}.stitch-kpi-card[data-tone=blue]{--kpi-accent:#1f4fd8;background:var(--surface-soft);border-color:#bfddff}.stitch-kpi-card[data-tone=orange]{--kpi-accent:#fc7123;background:var(--surface-soft);border-color:#ffd36b}.stitch-kpi-card[data-tone=red]{--kpi-accent:#ba1a1a;background:var(--surface-soft);border-color:#ffbec8}.stitch-kpi-card[data-tone=green]{--kpi-accent:#006b45;background:var(--surface-soft);border-color:#b9efd6}.stitch-kpi-card span{color:var(--info);letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:800}.stitch-kpi-card strong{color:#123c91;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(22px,1.7vw,28px);font-weight:850;line-height:1.15}.stitch-kpi-card small{color:#047852;overflow-wrap:anywhere;font-size:14px;font-weight:750;line-height:1.4}.stitch-kpi-card[data-tone=orange] span,.stitch-kpi-card[data-tone=orange] strong,.stitch-kpi-card[data-tone=red] span,.stitch-kpi-card[data-tone=red] strong,.stitch-kpi-card[data-tone=red] small{color:var(--primary-dark)}.stitch-kpi-card[data-tone=green] span,.stitch-kpi-card[data-tone=green] strong{color:#047852}.stitch-dashboard-panel{overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.stitch-panel-head{border-bottom:1px solid #eef2f7;align-items:center;min-height:72px;padding:12px 20px}.stitch-panel-head h2{color:var(--text);margin:0;font-size:20px;font-weight:800}.stitch-panel-head a,.stitch-panel-head span{color:var(--info);font-weight:800;text-decoration:none}.stitch-doc-filters{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.stitch-doc-filters button{background:var(--surface);color:var(--text);cursor:pointer;font:inherit;border:1px solid #d6dee9;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:850}.stitch-doc-filters button[aria-selected=true]{border-color:var(--button-primary-border);background:var(--brand-soft);color:var(--primary-dark)}.stitch-chart-panel{grid-template-rows:auto minmax(260px,1fr) auto;display:grid}.stitch-chart{grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;min-height:330px;padding:32px 30px 18px;display:grid}.stitch-chart span{background:#ece7e2;border-radius:10px 10px 0 0;display:block}.stitch-chart span:nth-child(4),.stitch-chart span:nth-child(5){background:#1f4fd8}.stitch-chart-empty{color:var(--muted);text-align:center;grid-column:1/-1;align-self:center;margin:0;font-size:14px;font-weight:750}.stitch-chart-meta{border-top:1px solid #c4c5d7;grid-template-columns:repeat(4,max-content);gap:8px 18px;padding:24px 30px;display:grid}.stitch-chart-meta strong{color:var(--text);font-size:18px}.stitch-chart-meta span{color:var(--muted)}.stitch-doc-table{display:grid}.stitch-doc-row{border-bottom:1px solid #eef2f7;grid-template-columns:minmax(130px,.95fr) minmax(160px,1fr) minmax(120px,.75fr) minmax(96px,.6fr);align-items:center;gap:18px;min-height:72px;padding:0 20px;display:grid}.stitch-doc-row:last-child{border-bottom:0}.stitch-doc-head{background:var(--surface);min-height:56px;color:var(--text);letter-spacing:.08em;text-transform:uppercase;font-size:14px;font-weight:800}.stitch-doc-row strong{color:var(--text);font-weight:850}.stitch-doc-row span{color:var(--text)}.stitch-doc-state-cell{justify-items:start;gap:6px;display:grid}.stitch-doc-source{background:var(--surface-soft);border-radius:999px;width:fit-content;padding:5px 10px;font-size:12px;font-weight:850;color:var(--text)!important}.stitch-doc-source[data-kind=pipeline]{background:var(--brand-soft);color:var(--primary-dark)!important}.stitch-status-pill{background:var(--surface-soft);text-transform:capitalize;border:1px solid #b8d9cc;border-radius:999px;width:fit-content;padding:6px 12px;font-size:13px;font-weight:800;color:#006b45!important}.stitch-status-pill[data-tone=blue]{background:var(--surface-soft);border-color:#ffb690;color:var(--info)!important}.stitch-status-pill[data-tone=red]{background:#ffdad6;border-color:#ffb4ab;color:#93000a!important}.stitch-doc-empty{color:var(--muted);padding:30px}.stitch-doc-skeleton i{background:#ece7e2;border-radius:999px;height:18px;display:block}.stitch-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stitch-action-card{min-width:0;min-height:104px;color:var(--on-primary-ink);justify-content:space-between;align-items:center;gap:16px;padding:18px;text-decoration:none;display:flex}.stitch-action-copy{gap:6px;min-width:0;display:grid}.stitch-action-copy>span{color:var(--muted);font-size:14px;line-height:1.4}.stitch-action-card strong{overflow-wrap:anywhere;font-size:17px;line-height:1.3}.stitch-action-link{color:var(--primary-dark);flex:none;font-size:13px;font-weight:850}.stitch-dashboard-insights{align-content:start}.stitch-alert-card{background:var(--surface);border:1px solid #dce3ee;border-left:5px solid #667085;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:16px;display:grid}.stitch-alert-card[data-severity=warning]{border-left-color:#d21f1f}.stitch-alert-card strong{color:var(--text);font-size:17px;font-weight:900}.stitch-alert-card span{color:var(--muted);grid-column:1;font-weight:750}.stitch-alert-card a{color:#fff;background:#071227;border-radius:8px;grid-area:1/2/span 2;padding:10px 12px;font-weight:900;text-decoration:none}.stitch-insight-card{background:var(--surface);border:1px solid #dce3ee;border-radius:8px;gap:14px;padding:18px;display:grid;box-shadow:0 1px 2px #0f172a0a}.stitch-insight-card strong{color:var(--text);font-size:18px}.stitch-insight-card>div{gap:4px;display:grid}.stitch-insight-card span,.stitch-insight-card p{color:var(--muted)}.stitch-insight-card.urgent{border-left:5px solid #d21f1f}.stitch-insight-card.urgent span{color:var(--primary-dark)}.stitch-insight-card a:not(.stitch-dashboard-list-row){color:#fff;background:#c51616;border-radius:5px;justify-content:center;padding:12px 14px;font-weight:900;text-decoration:none;display:inline-flex}.stitch-insight-card>button:disabled{background:var(--button-disabled-bg);min-height:42px;color:var(--button-disabled-text);cursor:not-allowed;opacity:1;border:1px solid #c7cdd8;border-radius:5px;padding:10px 14px;font-weight:850}.stitch-dashboard-shell :is(a,button,input,select):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}@media (min-width:1025px) and (max-width:1280px){.stitch-dashboard-layout{grid-template-columns:1fr}.stitch-dashboard-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.stitch-dashboard-insights>h2,.stitch-dashboard-insights>.stitch-alert-list,.stitch-dashboard-insights>.stitch-chart-panel{grid-column:1/-1}}@media (min-width:701px) and (max-width:1180px){.stitch-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.stitch-insight-card.compact{grid-template-columns:1fr;align-items:center}.stitch-dashboard-list-card{gap:10px}.stitch-dashboard-list-row{color:inherit;border-top:1px solid #eef2f7;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;gap:2px 12px;padding-top:10px;text-decoration:none;display:grid}.stitch-dashboard-list-row span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.stitch-dashboard-list-row strong{color:var(--text);text-align:right;font-size:15px}.stitch-dashboard-list-row small{color:var(--muted);grid-column:1/-1;font-weight:750}@media (min-width:701px) and (max-width:1024px){.stitch-dashboard-shell{grid-template-columns:1fr;max-width:100vw;overflow-x:hidden}.stitch-dashboard-main{grid-template-rows:auto minmax(0,1fr);max-width:100vw}.stitch-dashboard-topbar{flex-wrap:wrap;gap:12px;padding:14px 18px;position:static}.stitch-dashboard-search{flex:100%;order:2;max-width:none}.stitch-dashboard-topbar .stitch-dashboard-sync{margin-left:0}.stitch-dashboard-topbar label{width:min(560px,100%)}.stitch-dashboard-content{padding:28px 24px 40px;overflow-x:hidden}.stitch-dashboard-title,.stitch-panel-head{display:grid}.stitch-dashboard-filterbar{flex-direction:column;align-items:stretch}.stitch-dashboard-layout{grid-template-columns:1fr}.stitch-kpi-grid,.stitch-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stitch-kpi-card{min-height:160px;padding:26px}.stitch-kpi-card strong,.stitch-action-card strong,.stitch-action-card span{overflow-wrap:anywhere}.stitch-action-card{min-height:96px}}
@media (max-width:700px){body{overflow-x:hidden}.stitch-dashboard-shell{grid-template-columns:1fr;max-width:100vw;overflow-x:hidden}.stitch-dashboard-main{grid-template-rows:auto minmax(0,1fr);max-width:100vw}.stitch-dashboard-topbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 16px;display:grid;position:static}.stitch-dashboard-search{grid-area:3/1/auto/-1;min-width:0;max-width:none}.stitch-dashboard-search label{width:100%}.stitch-dashboard-topbar .stitch-dashboard-sync{grid-column:1/-1;justify-content:center;max-width:none}.stitch-dashboard-topbar .stitch-dashboard-topbar-link{width:100%}.stitch-dashboard-search button{flex:none}.stitch-dashboard-content{padding:20px 16px 32px;overflow-x:hidden}.stitch-dashboard-title,.stitch-panel-head{display:grid}.stitch-dashboard-primary-actions,.stitch-dashboard-secondary-actions,.stitch-dashboard-controls,.stitch-dashboard-filterbar{grid-template-columns:1fr;width:100%;display:grid}.stitch-dashboard-primary-actions a,.stitch-dashboard-secondary-actions :is(button,a),.stitch-dashboard-filterbar .stitch-dashboard-select{width:100%}.stitch-dashboard-title h1{overflow-wrap:anywhere;font-size:28px}.stitch-kpi-grid,.stitch-dashboard-layout,.stitch-action-grid{grid-template-columns:1fr}.stitch-dashboard-reconnect{display:grid}.stitch-dashboard-reconnect button{width:100%}.stitch-dashboard-pipeline-notice,.stitch-alert-card{display:grid}.stitch-dashboard-pipeline-notice a,.stitch-alert-card a{width:100%}.stitch-alert-card a{grid-area:auto/1;justify-content:center}.stitch-kpi-card{min-height:0;padding:24px 30px}.stitch-kpi-card span{font-size:16px}.stitch-kpi-card strong{overflow-wrap:anywhere;font-size:27px}.stitch-kpi-card small{overflow-wrap:anywhere}.stitch-doc-row{grid-template-columns:minmax(0,1fr) max-content;gap:8px 14px;min-height:112px;padding:16px 20px}.stitch-doc-head{display:none}.stitch-action-card{gap:12px;min-height:96px}.stitch-action-card strong,.stitch-action-card span{overflow-wrap:anywhere;min-width:0}.stitch-action-card span{font-size:13px;display:block}.stitch-dashboard-insights{gap:16px}.stitch-doc-row>span:nth-child(2),.stitch-doc-row>span:nth-child(3){grid-column:1/-1}.stitch-doc-row>strong:nth-child(4),.stitch-status-pill{justify-self:end}.stitch-doc-state-cell{justify-items:end}.stitch-chart-meta{grid-template-columns:1fr 1fr}.stitch-dashboard-list-row{grid-template-columns:minmax(0,1fr)}.stitch-dashboard-list-row strong{text-align:left}.shell{grid-template-columns:1fr;align-content:start;overflow-x:hidden}.sidebar{z-index:20;grid-template-rows:auto auto;align-content:start;align-self:start;align-items:start;gap:8px;width:100%;min-width:0;max-width:100vw;height:auto;padding:10px 12px;display:grid;position:sticky;top:0;overflow:hidden}.sidebar-brand{grid-template-columns:1fr;align-items:baseline;gap:0;padding:0 4px}.sidebar-brand>span{width:auto;height:auto;font-size:11px;line-height:1.2;display:block}.sidebar-brand strong{font-size:18px}.sidebar-user,.sidebar-brand small,.sidebar-nav{display:none}.sidebar-nav-compact{z-index:60;width:auto;display:block;position:fixed;bottom:10px;left:12px;right:12px}.sidebar-quick-nav{background:var(--surface);border:1px solid #dce3ee;border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px;display:grid;box-shadow:0 14px 45px #16203333}.sidebar-quick-nav a,.sidebar-more-button{text-align:center;flex-direction:column;justify-content:center;gap:3px;min-height:54px;padding:7px 5px;font-size:11px;overflow:hidden}.sidebar-quick-nav span,.sidebar-more-button span{width:22px;height:22px}.sidebar-more-panel{border-radius:18px;width:auto;max-height:min(66vh,520px);position:fixed;inset:auto 12px 84px}.sidebar-more-panel section>div{grid-template-columns:1fr}.workspace{gap:14px;padding:16px 16px 104px}.topbar{align-items:stretch}.topbar-actions{grid-template-columns:1fr auto auto;gap:8px;width:100%;display:grid}.topbar-actions label{grid-column:1/-1;width:100%}.subscription-hero{grid-template-columns:1fr}.catalog-panel .section-head{gap:10px;display:grid}h1{font-size:24px}.metrics,.split,.billing-commandbar,.billing-commandbar-actions,.crm-client-row,.accounting-operation-row,.settings-step-list article,.settings-config-grid,.settings-config-row,.document-hero,.document-hero-actions,.document-kpi-grid,.document-main-grid,.document-flow-panel ol,.document-template-list article,.document-vault-list article,.document-object-list article,.ged-hero,.ged-search,.ged-layout,.ged-filters,.ged-split,.ged-card-list article,.ged-technical-list article,.ged-retention-grid,.ged-hold-list article,.stock-commandbar,.stock-commandbar-actions,.stock-kpi-grid,.stock-main-grid,.stock-item-list article,.stock-reservation-list article,.stock-asset-list article,.stock-amortization-panel,.route-live-panel,.route-live-panel .live-metrics,.live-metrics,.invoice-catalog-layout,.invoice-catalog-list,.invoice-catalog-list article,.invoice-catalog-footer,.invoice-manual-entry-grid,.invoice-manual-entry-actions,.invoice-document-kind-switcher,.invoice-editor-line,.invoice-editor-summary,.invoice-flow-grid,.invoice-flow-steps,.ocr-prefill-grid,.client-form-grid,.client-address-grid,.document-actions-grid,.document-actions-results,.document-actions-live-grid,.accounting-live-actions,.accounting-live-kpis,.accounting-live-results,.accounting-live-grid,.inventory-live-actions,.inventory-live-results,.inventory-live-grid,.document-vault-actions,.document-vault-results,.document-vault-grid,.document-template-matrix,.document-customization-grid,.automation-live-actions,.automation-live-results,.automation-live-grid,.integration-live-actions,.integration-live-results,.integration-live-grid,.security-live-actions,.security-live-results,.security-live-grid,.compliance-live-actions,.compliance-live-results,.compliance-live-grid,.project-live-actions,.project-live-results,.project-live-grid,.project-margin-actions,.project-margin-form,.project-margin-grid,.screen-index,.settings-detail-grid{grid-template-columns:1fr}.topbar,.panel{display:grid}.billing-panel-head,.billing-snapshot div{grid-template-columns:1fr}.billing-panel-head{display:grid}.route-live-panel .section-head{display:flex}.route-live-panel .live-actions{justify-content:start}.billing-commandbar-actions button,.billing-commandbar-actions a{max-width:calc(100vw - 68px)}.invoice-catalog-selection{position:static}.invoice-catalog-list--advanced article{grid-template-columns:minmax(0,1fr);align-items:stretch}.invoice-catalog-item-price{justify-items:start}.invoice-catalog-quantity{width:min(100%,168px)}.invoice-catalog-line-total{justify-self:start}.invoice-catalog-footer button{width:100%}.billing-panel-head label{min-width:0}.crm-client-row>strong,.crm-client-row button,.accounting-operation-row>strong,.accounting-operation-row button{justify-self:start}.live-actions,.crud-actions{grid-template-columns:1fr;display:grid}.actions,.section-head{justify-content:start}.settings-detail-row{grid-template-columns:1fr}.km-threshold.second{left:54%}}
.stitch-reference-card.mobile{max-width:420px}.screen-reference-device span{color:var(--primary-text);text-transform:uppercase;background:#ff702424;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.screen-reference-device strong{color:var(--text);font-size:28px}.screen-reference-device small{color:var(--muted);font-weight:700}.screen-reference-workbench{gap:22px;padding:28px;display:grid}.screen-reference-hero{border:1px solid var(--line);background:var(--surface);border-radius:22px;grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:stretch;gap:24px;padding:24px;display:grid;box-shadow:0 14px 34px #1e2b4314}.screen-reference-hero h1{color:var(--text);letter-spacing:0;margin:4px 0 10px;font-size:34px}.screen-reference-hero p{color:var(--muted);max-width:760px}.screen-reference-device{border:1px solid var(--line);background:linear-gradient(145deg, #1348a414, transparent), var(--surface-soft);text-align:center;border-radius:20px;place-items:center;gap:10px;min-height:190px;display:grid}.screen-reference-device[data-device=mobile]{justify-self:end;max-width:250px}.screen-reference-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:18px;display:grid}.screen-reference-grid article{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:20px}.screen-reference-grid h2{color:var(--text);margin:0 0 12px}.screen-reference-grid li{color:var(--muted);margin:8px 0}.screen-reference-checks{flex-wrap:wrap;gap:10px;display:flex}.screen-reference-checks span{background:var(--surface-soft);color:var(--text);border-radius:999px;padding:9px 12px;font-weight:800}@media (max-width:820px){.screen-reference-hero,.screen-reference-grid{grid-template-columns:1fr}.screen-reference-device[data-device=mobile]{justify-self:stretch;max-width:none}}:root{--aylivo-primary:#ff6b1a;--aylivo-primary-strong:#a43e00;--aylivo-ink:var(--text);--aylivo-muted:var(--muted);--aylivo-border:var(--line);--aylivo-border-soft:var(--line);--aylivo-panel:var(--surface);--aylivo-bg:var(--bg);--aylivo-soft:var(--surface-soft);--aylivo-success:var(--success);--aylivo-warning:#b45309;--aylivo-danger:var(--button-danger-bg)}.workspace{background:var(--bg)}.eyebrow,.document-template-list span,.ged-card-list span{color:var(--aylivo-primary);letter-spacing:.08em}.billing-commandbar,.document-hero,.ged-hero{border-color:var(--aylivo-border-soft);background:var(--aylivo-panel);box-shadow:none}.billing-commandbar h2,.document-hero h2,.ged-hero h2{color:var(--aylivo-ink);letter-spacing:0;font-size:26px}.billing-commandbar p,.document-hero p,.ged-hero p{color:var(--aylivo-muted)}.settings-superpdp-panel,.settings-config-card,.settings-detail-card,.document-work-panel,.ged-panel,.ged-results,.document-kpi-grid article,.security-console article,.route-live-panel,.live-panel,.crud-workbench,.document-actions-workbench,.bank-live-workbench,.accounting-live-workbench,.document-vault-workbench{border:1px solid var(--aylivo-border-soft);background:var(--aylivo-panel);border-radius:8px;box-shadow:0 1px 2px #1218280d}.document-kpi-grid article{background:var(--surface);position:relative;overflow:hidden}.document-kpi-grid article:before{content:"";background:var(--aylivo-primary);width:3px;position:absolute;inset:0 auto 0 0}.document-kpi-grid strong{color:var(--aylivo-ink)}.billing-commandbar-actions button:first-of-type,.crm-client-row button:first-of-type,.accounting-operation-row button:first-of-type,.accounting-operation-row a:first-of-type,.settings-superpdp-panel button:first-of-type,.settings-config-card button:first-of-type,.document-hero-actions button:first-of-type,.document-hero-actions a:first-of-type,.ged-search button:first-of-type,.document-work-panel .section-head button:first-of-type,.document-work-panel .section-head a:first-of-type,.ged-results .section-head button:first-of-type,.ged-panel .section-head button:first-of-type,.purchase-order-panel .section-head button:first-of-type,.purchase-panel .section-head button:first-of-type,.planning-panel .section-head button:first-of-type,.library-panel .section-head button:first-of-type,.sync-queue-panel .section-head button:first-of-type,.admin-panel .section-head button:first-of-type,.integrations-console .section-head button:first-of-type,.security-console .section-head button:first-of-type,.live-actions button:first-of-type,.crud-actions button:first-of-type,.document-actions-grid button:first-of-type,.accounting-live-actions button:first-of-type,.document-vault-actions button:first-of-type,.integration-live-actions button:first-of-type,.catalog-live-actions button:first-of-type,.security-live-actions button:first-of-type,.project-margin-actions button:first-of-type,.project-live-actions button:first-of-type,.compliance-live-actions button:first-of-type,.inventory-live-actions button:first-of-type,.client-crud-actions button:first-of-type,.workspace [class$=-premium-actions]>button:first-of-type,.workspace [class$=-premium-actions]>a:first-of-type,.workspace [class$=-hero-actions]>button:first-of-type,.workspace [class$=-hero-actions]>a:first-of-type,.workspace [class$=-live-actions]>button:first-of-type,.workspace [class$=-commandbar-actions]>button:first-of-type,.workspace [class$=-commandbar-actions]>a:first-of-type,.workspace [class$=-review-actions]>button:first-of-type,.workspace [class$=-review-actions]>a:first-of-type,.workspace [class$=-editor-actions]>button:first-of-type,.workspace [class$=-editor-actions]>a:first-of-type,.workspace [class$=-flow-actions]>button:first-of-type,.workspace [class$=-workbench-actions]>button:first-of-type{background:var(--aylivo-primary);color:var(--on-primary-ink);box-shadow:none;border:1px solid #0000;border-radius:8px}.crud-actions>:is(button,a)~:is(button,a),.live-actions>:is(button,a)~:is(button,a),.actions>:is(button,a)~:is(button,a),.workspace [class$=-actions]>:is(button,a)~:is(button,a){border:1px solid var(--button-secondary-border);background:var(--button-secondary-bg);color:var(--button-secondary-text)}.integration-live-actions button:hover,.catalog-live-actions button:hover,.security-live-actions button:hover,.project-margin-actions button:hover,.project-live-actions button:hover,.compliance-live-actions button:hover,.inventory-live-actions button:hover,.client-crud-actions button:hover,.workspace [class$=-premium-actions]>button:hover,.workspace [class$=-premium-actions]>a:hover,.workspace [class$=-hero-actions]>button:hover,.workspace [class$=-hero-actions]>a:hover,.workspace [class$=-live-actions]>button:hover,.workspace [class$=-commandbar-actions]>button:hover,.workspace [class$=-commandbar-actions]>a:hover,.workspace [class$=-review-actions]>button:hover,.workspace [class$=-review-actions]>a:hover,.workspace [class$=-editor-actions]>button:hover,.workspace [class$=-editor-actions]>a:hover,.workspace [class$=-flow-actions]>button:hover,.workspace [class$=-workbench-actions]>button:hover{border-color:var(--aylivo-primary-strong);background:var(--aylivo-primary-strong);color:#fff}.workspace [class$=-premium-actions]>button:disabled,.workspace [class$=-hero-actions]>button:disabled,.workspace [class$=-live-actions]>button:disabled,.workspace [class$=-commandbar-actions]>button:disabled,.workspace [class$=-review-actions]>button:disabled,.workspace [class$=-editor-actions]>button:disabled,.workspace [class$=-flow-actions]>button:disabled,.workspace [class$=-workbench-actions]>button:disabled{border-color:var(--button-disabled-bg);background:var(--button-disabled-bg);color:var(--button-disabled-text);cursor:not-allowed}.crm-client-row button,.accounting-operation-row button{border-color:var(--aylivo-border-soft);background:var(--surface);color:var(--aylivo-primary)}.billing-panel-head h2,.billing-panel-head h3,.section-head h2,.section-head h3,.document-template-list h3,.document-vault-list h3,.ged-card-list h3{color:var(--aylivo-ink)}.accounting-operation-list{border-color:var(--aylivo-border-soft);background:var(--aylivo-panel)}.crm-client-row,.accounting-operation-row{border-color:var(--aylivo-border-soft);background:var(--surface)}.crm-client-row:hover,.accounting-operation-row:hover{background:var(--aylivo-soft)}.billing-snapshot div,.document-template-list article,.document-vault-list article,.document-object-list article,.ged-card-list article,.ged-technical-list article,.ged-hold-list article,.ged-retention-grid article{border-color:var(--aylivo-border-soft);background:var(--surface);box-shadow:none}.document-template-list article,.document-vault-list article,.ged-card-list article{border-left-color:var(--aylivo-primary)}.accounting-control-grid span,.document-vault-list span,.ged-card-list strong{background:var(--aylivo-soft);color:var(--aylivo-primary-strong)}.negative{background:var(--surface-soft);color:var(--aylivo-danger)}.positive{background:var(--surface-soft);color:var(--aylivo-success)}
