@import"https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Lato:wght@400;700;900&family=Montserrat:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap";.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{--bg: #f4f5f9;--bg-soft: #f5f6fa;--card: #ffffff;--ink: #2d2d2d;--muted: #888888;--line: #e0e0e0;--line-strong: #1c2f4d;--brand: #e8610a;--brand-dark: #c94f02;--brand-soft: #fff0e5;--warn-soft: #fef1df;--danger-soft: #fde8e8;--radius: 16px;--shadow: 0 10px 28px rgba(28, 47, 77, .08);--app-font: "Lato", "Inter", "Segoe UI", sans-serif;--title-font: "Lato", "Inter", "Segoe UI", sans-serif;--sidebar-font: "Lato", "Inter", "Segoe UI", sans-serif;--ui-blue: #1c2f4d;--ui-blue-dark: #16253b;--ui-blue-soft: #eef2f7;--ui-orange: #e8610a;--ui-orange-dark: #c94f02}.chart-accounts-page,.chart-accounts-shell{display:grid;gap:12px}.chart-accounts-topbar{border:1px solid rgba(223,216,200,.95);border-radius:20px;background:radial-gradient(120% 140% at 0% 0%,rgba(31,143,118,.08) 0%,transparent 45%),radial-gradient(100% 100% at 100% 0%,rgba(67,177,233,.08) 0%,transparent 46%),#ffffffeb;box-shadow:var(--shadow);padding:14px;display:grid;gap:12px}.chart-accounts-brand-block{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px}.chart-accounts-hamburger{width:42px;height:42px;border-radius:12px;border:1px solid rgba(213,206,192,.95);background:#ffffffe6;color:#2b2f2b;display:none;place-items:center;padding:0}.chart-accounts-hamburger svg{width:18px;height:18px}.chart-accounts-logo{min-width:168px;border-radius:16px;border:1px solid rgba(210,224,224,.9);background:linear-gradient(135deg,#1f8f761f,#43b1e91c);padding:10px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.chart-accounts-logo-grid{display:grid;grid-template-columns:repeat(3,7px);gap:3px}.chart-accounts-logo-grid span{width:7px;height:7px;border-radius:2px;background:linear-gradient(180deg,#1f8f76,#1780ab);opacity:.9}.chart-accounts-logo strong{font-size:14px;line-height:1.05;font-weight:800;letter-spacing:.01em}.chart-accounts-logo small{font-size:11px;font-weight:800;color:#155f50;border-radius:999px;border:1px solid rgba(31,143,118,.24);background:#1f8f761f;padding:3px 7px}.chart-accounts-title-wrap h2{font-family:var(--title-font);font-size:30px;line-height:1.06;font-weight:800}.chart-accounts-subtitle{margin-top:6px;font-size:13px;line-height:1.45;color:#615c51}.chart-accounts-subtitle strong{color:#1d1e19}.chart-accounts-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.chart-accounts-search{position:relative;display:block}.chart-accounts-search input{padding-left:40px;border-radius:14px;min-height:46px;background:#ffffffeb}.chart-accounts-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#7a7568;pointer-events:none}.chart-accounts-search-icon svg{width:100%;height:100%}.chart-accounts-add-button{min-height:46px;border-radius:14px;padding-inline:16px;font-weight:700;white-space:nowrap}.chart-accounts-layout{display:grid;grid-template-columns:minmax(300px,30%) minmax(0,1fr);gap:12px;align-items:start;position:relative}.chart-accounts-tree-pane{border:1px solid rgba(223,216,200,.95);border-radius:18px;background:#ffffffe6;box-shadow:var(--shadow);min-height:calc(100vh - 210px);max-height:calc(100vh - 54px);display:grid;grid-template-rows:auto auto auto auto auto minmax(0,1fr);gap:10px;padding:12px;position:sticky;top:18px}.chart-accounts-tree-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.chart-accounts-tree-head h3{font-size:18px;line-height:1.1}.chart-accounts-tree-head p{margin-top:3px;font-size:12px;line-height:1.35;color:#6a6457}.chart-accounts-tree-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chart-accounts-tree-stats article{border:1px solid rgba(226,219,205,.95);border-radius:12px;padding:9px 10px;background:linear-gradient(180deg,#fff,#faf6ef);display:grid;gap:3px}.chart-accounts-tree-stats span{font-size:11px;color:#6c675b}.chart-accounts-tree-stats strong{font-size:18px;line-height:1}.chart-accounts-tree-meta{display:grid;gap:4px;font-size:11px;color:#726c5d;border-radius:12px;border:1px dashed rgba(216,207,187,.95);background:#fbf8f2e6;padding:8px 10px}.chart-accounts-tree-results{font-size:12px;color:#4f584f;border-radius:12px;border:1px solid rgba(211,226,218,.85);background:#e7f8f1d9;padding:8px 10px}.chart-accounts-tree-hint{font-size:11px;line-height:1.35;color:#6d6659;border-radius:12px;border:1px dashed rgba(214,206,191,.92);background:#fcf9f2e0;padding:8px 10px}.chart-accounts-tree-hint strong{color:#2a2c28}.chart-accounts-tree-scroll{min-height:0;overflow:auto;border-radius:12px;border:1px solid rgba(231,224,209,.95);background:linear-gradient(180deg,#fffffff2,#fbf8f1d9);padding:8px}.chart-tree-root,.chart-tree-children{list-style:none;margin:0;padding:0}.chart-tree-node{display:grid;gap:4px}.chart-tree-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;align-items:center;padding-left:calc(var(--depth, 0) * 10px)}.chart-tree-toggle,.chart-tree-toggle-placeholder{width:20px;height:20px;display:grid;place-items:center}.chart-tree-toggle{border:0;background:transparent;color:#6d6a60;border-radius:8px;padding:0}.chart-tree-toggle:hover{background:#1f8f7614;color:#215d51}.chart-tree-toggle svg{width:14px;height:14px;transition:transform .18s ease}.chart-tree-toggle.open svg{transform:rotate(0)}.chart-tree-toggle:not(.open) svg{transform:rotate(-90deg)}.chart-tree-select{width:100%;border:1px solid transparent;background:transparent;border-radius:12px;padding:6px 8px;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:7px;align-items:center;text-align:left;color:#262824}.chart-tree-menu-trigger{width:28px;height:28px;border-radius:10px;border:1px solid transparent;background:transparent;color:#6e6a5f;display:grid;place-items:center;padding:0;opacity:0;transition:opacity .16s ease,background .16s ease,border-color .16s ease,color .16s ease}.chart-tree-row:hover .chart-tree-menu-trigger,.chart-tree-row.selected .chart-tree-menu-trigger,.chart-tree-row.match .chart-tree-menu-trigger{opacity:1}.chart-tree-menu-trigger:hover{background:#1f8f7614;border-color:#1f8f7624;color:#185a4d}.chart-tree-menu-trigger svg{width:16px;height:16px;fill:currentColor}.chart-tree-select:hover{background:#1f8f760f;border-color:#1f8f761f}.chart-tree-row.selected .chart-tree-select{background:linear-gradient(90deg,#1f8f761f,#43b1e914);border-color:#1f8f763d;box-shadow:inset 0 0 0 1px #fff6}.chart-tree-row.match .chart-tree-select{border-color:#dbab4c59;background:linear-gradient(90deg,#fff0cac7,#ffffffd1)}.chart-tree-level-badge{min-width:22px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;border:1px solid rgba(214,207,193,.95);background:#fffffff2;color:#534f45}.chart-tree-level-badge.level-parent{background:#dff4edf2;border-color:#1f8f7633;color:#0f6250}.chart-tree-level-badge.level-child{background:#e9f4fdf2;border-color:#43b1e938;color:#165f8c}.chart-tree-level-badge.level-class{background:#fff2d6f2;border-color:#dda8393d;color:#7b5814}.chart-tree-code{font-family:Work Sans,Manrope,sans-serif;font-weight:800;font-size:12px;color:#1f221f;min-width:28px}.chart-tree-label{font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-tree-tag{font-size:10px;font-weight:700;color:#165f8c;border-radius:999px;border:1px solid rgba(67,177,233,.18);background:#ebf7ffe6;padding:2px 6px}.chart-tree-children{display:grid;gap:4px}.chart-tree-empty{margin:8px 4px;border:1px dashed rgba(214,206,190,.95);border-radius:12px;background:#ffffffd1;padding:14px;text-align:center}.chart-tree-empty strong{display:block;font-size:14px}.chart-tree-empty p{margin-top:4px;font-size:12px;color:#6c665a}.chart-accounts-details-pane{border:1px solid rgba(223,216,200,.95);border-radius:18px;background:#ffffffeb;box-shadow:var(--shadow);padding:12px;display:grid;gap:12px;min-height:calc(100vh - 210px)}.chart-account-empty{border:1px dashed rgba(213,206,191,.95);border-radius:14px;padding:22px;text-align:center;background:#fcf9f2eb}.chart-account-empty h3{font-size:20px}.chart-account-empty p{margin-top:6px;font-size:13px;color:#6f6a5f}.chart-account-hero{border:1px solid rgba(227,219,206,.95);border-radius:16px;background:radial-gradient(120% 140% at 10% 0%,rgba(31,143,118,.08),transparent 58%),#fffffff5;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.chart-account-hero-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start}.chart-account-code-chip{min-width:74px;height:62px;border-radius:16px;border:1px solid rgba(30,143,118,.18);background:linear-gradient(180deg,#dff4edd9,#fffffff2);display:grid;place-items:center;font-family:Work Sans,Manrope,sans-serif;font-size:24px;font-weight:800;color:#125c4d}.chart-account-hero h3{font-size:24px;line-height:1.1}.chart-account-hero-desc{margin-top:6px;font-size:13px;line-height:1.45;color:#615b50}.chart-account-hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.chart-account-level-pill,.chart-account-secondary-pill{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;border:1px solid rgba(216,208,193,.95);background:#fffffff2}.chart-account-level-pill.level-parent{border-color:#1f8f762e;background:#dff4ede6;color:#145b4d}.chart-account-level-pill.level-child{border-color:#43b1e933;background:#e8f5fef2;color:#0f5f90}.chart-account-level-pill.level-class{border-color:#dda83940;background:#fff5dcf2;color:#79530f}.chart-account-secondary-pill{color:#155f8c;border-color:#43b1e92e;background:#ebf7ffe6}.chart-account-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.chart-account-kpis article{border:1px solid rgba(227,219,206,.95);border-radius:14px;background:linear-gradient(180deg,#fff,#faf7f0);padding:10px 12px;display:grid;gap:4px}.chart-account-kpis span{font-size:12px;color:#686255}.chart-account-kpis strong{font-size:20px;line-height:1.1}.chart-account-kpis strong.positive{color:#0f7d64}.chart-account-kpis strong.negative{color:#b24949}.chart-account-kpis small{font-size:11px;color:#7a7365;line-height:1.3}.chart-account-content-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.25fr);gap:12px}.chart-account-card{border:1px solid rgba(227,220,207,.95);border-radius:16px;background:#fffffff5;padding:12px;display:grid;gap:10px}.chart-account-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.chart-account-card-head h4{font-size:17px;line-height:1.15}.chart-account-card-head h5{font-size:14px;margin:0}.chart-account-card-head.minor span{font-size:11px;color:#696457}.chart-account-card-badge{border-radius:999px;border:1px solid rgba(214,206,191,.95);background:#fcf9f2f2;padding:4px 8px;font-size:11px;font-weight:700;color:#5c574d}.chart-account-card-badge.demo{border-color:#dda83938;background:#fff5daf2;color:#815a13}.chart-account-card-note{font-size:12px;line-height:1.4;color:#6a6458;border-radius:12px;border:1px dashed rgba(213,206,191,.95);background:#fcf9f3f0;padding:8px 10px}.chart-account-details-list{margin:0;display:grid;gap:8px}.chart-account-details-list>div{border:1px solid rgba(234,228,218,.95);border-radius:12px;background:#ffffffe6;padding:8px 10px;display:grid;gap:2px}.chart-account-details-list dt{font-size:11px;color:#736d61}.chart-account-details-list dd{margin:0;font-size:13px;color:#23231d;word-break:break-word}.chart-account-edit-form{border:1px solid rgba(214,226,219,.92);border-radius:14px;background:#f4fbf8e6;padding:10px;display:grid;gap:8px}.chart-account-edit-form label{display:grid;gap:4px;font-size:12px;color:#514c42}.chart-account-related{display:grid;gap:8px}.chart-inline-empty{font-size:12px;color:#6f695d;border-radius:12px;border:1px dashed rgba(214,206,191,.92);background:#fcf9f2e6;padding:10px}.chart-account-related-list{display:grid;gap:6px;max-height:260px;overflow:auto}.chart-account-related-list button{width:100%;border:1px solid rgba(229,223,210,.95);border-radius:12px;background:#fff;padding:8px 10px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;text-align:left;align-items:center}.chart-account-related-list button:hover{border-color:#1f8f762e;background:#1f8f760a}.chart-account-related-list button span{font-size:12px;font-weight:800;color:#1e2320}.chart-account-related-list button strong{font-size:12px;font-weight:600;color:#2c2d27;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-account-movements{display:grid;gap:8px;max-height:560px;overflow:auto;padding-right:2px}.chart-movement-row{border:1px solid rgba(229,223,210,.95);border-radius:14px;background:linear-gradient(180deg,#fffffffa,#fbf8f1e6);padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.chart-movement-main{min-width:0;display:grid;gap:3px}.chart-movement-main strong{font-size:13px}.chart-movement-main span{font-size:12px;color:#686457;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-movement-meta{display:grid;justify-items:end;gap:4px;font-size:11px;color:#6f695c}.chart-movement-journal{border-radius:999px;border:1px solid rgba(214,206,191,.95);background:#fffffff2;padding:3px 6px;font-weight:700;color:#4a4a43}.chart-movement-amounts{display:grid;justify-items:end;gap:4px;font-size:12px}.chart-movement-amounts .debit{color:#0b725c;font-weight:700}.chart-movement-amounts .credit{color:#8d4a32;font-weight:700}.chart-movement-amounts .muted{color:#a29c90}.chart-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#17151161;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;padding:16px;z-index:40}.chart-context-menu{position:fixed;z-index:46;width:min(248px,calc(100vw - 16px));border-radius:14px;border:1px solid rgba(215,209,197,.96);background:#fffffff7;box-shadow:0 20px 48px #16141033;padding:8px}.chart-context-menu-head{border-radius:10px;border:1px solid rgba(229,223,211,.95);background:#fbf8f1e6;padding:8px 10px;display:grid;gap:2px;margin-bottom:6px}.chart-context-menu-head strong{font-size:13px;line-height:1.1}.chart-context-menu-head span{font-size:11px;line-height:1.25;color:#696357;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chart-context-menu-list{display:grid;gap:4px}.chart-context-menu-list button{width:100%;border:1px solid transparent;background:transparent;border-radius:10px;padding:8px 9px;display:grid;gap:2px;text-align:left;color:#282a26}.chart-context-menu-list button:hover{background:#1f8f760f;border-color:#1f8f7624}.chart-context-menu-list button span{font-size:12.5px;font-weight:700;line-height:1.15}.chart-context-menu-list button small{font-size:10.5px;line-height:1.25;color:#6e685d}.chart-modal{width:min(560px,96vw);border-radius:18px;border:1px solid rgba(223,216,200,.95);background:#fffffffa;box-shadow:0 28px 64px #16161238;padding:14px;display:grid;gap:12px}.chart-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.chart-modal-head h3{font-size:22px;line-height:1.05}.chart-modal-head p:not(.eyebrow){margin-top:4px;font-size:13px;color:#655f53;line-height:1.4}.chart-modal-close{width:36px;height:36px;border-radius:12px;border:1px solid rgba(214,206,191,.95);background:#fffffff5;color:#2a2d28;font-size:22px;line-height:1;display:grid;place-items:center;padding:0}.chart-modal-form{display:grid;gap:10px}.chart-modal-form label{display:grid;gap:4px;font-size:12px;color:#544e43}.chart-accounts-drawer-backdrop{display:none}@media (max-width: 1280px){.chart-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-account-content-grid{grid-template-columns:1fr}}@media (max-width: 1100px){.chart-accounts-hamburger{display:grid}.chart-accounts-brand-block{grid-template-columns:auto auto minmax(0,1fr)}.chart-accounts-layout{grid-template-columns:1fr}.chart-accounts-tree-pane{position:fixed;top:12px;left:12px;bottom:12px;width:min(420px,calc(100vw - 24px));max-height:none;min-height:0;z-index:45;transform:translate(-110%);transition:transform .22s ease}.chart-accounts-tree-pane.drawer-open{transform:translate(0)}.chart-accounts-drawer-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#0e0f0d47;z-index:44}.chart-accounts-details-pane{min-height:0}}@media (max-width: 860px){.chart-accounts-topbar{padding:12px}.chart-accounts-brand-block{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"hamburger logo" "title title";gap:10px}.chart-accounts-hamburger{grid-area:hamburger}.chart-accounts-logo{grid-area:logo;min-width:0}.chart-accounts-title-wrap{grid-area:title}.chart-accounts-title-wrap h2{font-size:25px}.chart-accounts-actions{grid-template-columns:1fr}.chart-accounts-add-button{width:100%}.chart-account-hero,.chart-account-hero-main{grid-template-columns:1fr}.chart-account-code-chip{width:fit-content;min-width:0;height:auto;padding:10px 14px;font-size:20px}.chart-account-hero-actions{justify-content:flex-start}.chart-account-kpis{grid-template-columns:1fr}.chart-tree-menu-trigger{opacity:1}.chart-movement-row{grid-template-columns:1fr;align-items:stretch}.chart-movement-meta,.chart-movement-amounts{justify-items:start}}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:var(--app-font);font-size:14px;color:var(--ink);background:var(--bg)}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--title-font);letter-spacing:-.01em}a{color:inherit;text-decoration:none}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:8px 12px;min-height:40px;font-size:14px;line-height:1.35;transition:border-color .18s ease,box-shadow .18s ease}input:focus,select:focus,textarea:focus{border-color:#e8610a73;box-shadow:0 0 0 3px #e8610a1f}textarea{min-height:88px;resize:vertical}.readonly-input{background:#f6f9fc;color:#617482;font-weight:700}button{cursor:pointer}.app-root{min-height:100vh}.app-shell{min-height:100vh;display:grid;grid-template-columns:314px minmax(0,1fr);gap:10px}.app-main{padding:20px 22px 22px 10px;overflow:auto;background:transparent}.builder-main{padding:0;min-height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden}.app-sidebar{background:linear-gradient(180deg,#0f5f86,#0d5377);backdrop-filter:none;-webkit-backdrop-filter:none;border:1px solid rgba(10,68,102,.85);box-shadow:0 18px 42px #1b2c4029,inset 0 1px #ffffff0d;border-radius:22px;padding:14px 12px 16px;overflow:hidden;position:sticky;top:10px;height:calc(100vh - 20px);margin:10px 0 10px 10px;font-family:var(--sidebar-font);display:flex;flex-direction:column;gap:12px}.sidebar-main{overflow-y:auto;padding-right:4px}.sidebar-brand{margin-bottom:10px}.sidebar-brand-client{display:flex;align-items:center;min-height:74px}.sidebar-brand-logo{width:100%;max-width:228px;height:72px;border-radius:16px;object-fit:contain;background:#fffffff5;border:1px solid rgba(230,236,241,.85);padding:7px 9px}.sidebar-brand-company-logo{display:block}.sidebar-brand-company-name{font-size:20px;line-height:1.15;font-weight:800;color:#f6fbff;letter-spacing:.01em;margin:0;padding:6px 4px 2px}.sidebar-group{margin-bottom:10px}.sidebar-group-title{font-size:13px;line-height:1.2;font-weight:700;letter-spacing:.02em;color:#e5f1f8b3;margin:10px 10px 8px;text-transform:uppercase}.sidebar-links{display:grid;gap:4px}.sidebar-link{width:100%;border:0;background:transparent;color:#f4faffeb;border-radius:14px;padding:9px 11px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:14px;line-height:1.2;font-weight:500;text-align:left;position:relative;transition:background .18s ease,color .18s ease,transform .18s ease}.sidebar-link:before,.sidebar-disclosure:before{content:"";position:absolute;left:4px;top:8px;bottom:8px;width:3px;border-radius:99px;background:linear-gradient(180deg,#ffad42,#ff8400);opacity:0;transform:scaleY(.35);transition:opacity .18s ease,transform .18s ease}.sidebar-link:hover{background:#ffffff14;color:#fff;transform:translate(1px)}.sidebar-link:hover:before{opacity:.45;transform:scaleY(1)}.sidebar-link.active{background:linear-gradient(90deg,#ffffff29,#ffffff14);color:#fff;font-weight:600;box-shadow:inset 0 0 0 1px #deedf529}.sidebar-link.active:before{opacity:1;transform:scaleY(1)}.sidebar-link.is-muted{opacity:.82}.sidebar-link.is-muted:disabled{cursor:default}.sidebar-link.sub-item{grid-template-columns:18px minmax(0,1fr) auto;font-size:13.5px;padding:7px 10px 7px 12px}.sidebar-icon{width:18px;height:18px;color:#e7f3fae0;display:inline-grid;place-items:center;line-height:0}.sidebar-icon svg{width:18px;height:18px}.sidebar-disclosure{width:100%;border:0;background:transparent;color:#f4fafff0;border-radius:14px;padding:9px 11px;display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:10px;font-size:14px;font-weight:600;text-align:left;position:relative;transition:background .18s ease,color .18s ease}.sidebar-disclosure:hover{background:#ffffff14}.sidebar-disclosure:hover:before{opacity:.35;transform:scaleY(1)}.sidebar-disclosure.active{color:#fff;background:#ffffff1a}.sidebar-disclosure.active:before{opacity:.9;transform:scaleY(1)}.sidebar-disclosure-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-chevron{width:16px;height:16px;color:#e6f2fab8;display:inline-grid;place-items:center;transition:transform .2s ease}.sidebar-chevron svg{width:16px;height:16px}.sidebar-disclosure.open .sidebar-chevron,.sidebar-profile-toggle.open .sidebar-chevron{transform:rotate(180deg)}.sidebar-submenu{margin:2px 0 8px 12px;padding:4px 2px 2px 10px;border-radius:0;display:grid;gap:3px;border-left:1px solid rgba(230,242,250,.22);position:relative}.sidebar-submenu.compact{padding-top:3px;padding-bottom:1px}.sidebar-profile{border-top:1px solid rgba(230,242,250,.14);padding-top:10px}.sidebar-profile-toggle{width:100%;border:1px solid rgba(227,239,247,.14);background:#ffffff14;color:#f5fbff;border-radius:16px;padding:8px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left}.sidebar-profile-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#ff9d24,#ff7e00);color:#fff;display:inline-grid;place-items:center;font-weight:700;font-size:14px}.sidebar-profile-toggle strong{display:block;font-size:13px;line-height:1.1}.sidebar-profile-toggle small{display:block;font-size:11px;color:#e1eff8bd}.sidebar-profile-panel{margin-top:8px;border:1px solid rgba(228,239,247,.16);border-radius:16px;background:#ffffff14;padding:10px;display:grid;gap:9px}.sidebar-profile-client{font-size:12px;font-weight:700;color:#f0f8fd}.sidebar-profile-fields{display:grid;gap:8px}.sidebar-profile-fields label{display:grid;gap:4px;font-size:12px;color:#e1eff8c2}.sidebar-profile-fields select{padding:8px 9px;font-size:12px}.sidebar-logout{width:100%}.sidebar-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;border:1px solid rgba(228,239,247,.25);background:#ffffff24;color:#eef8fd;font-size:11px;font-weight:700;display:inline-grid;place-items:center}.sidebar-dot-badge{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 4px #ef44441f}.sidebar-link-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-quicknav{position:relative;margin-bottom:10px}.sidebar-quicknav-field{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;border-radius:14px;border:1px solid rgba(229,240,247,.14);background:#ffffff1a;padding:7px 9px;box-shadow:inset 0 1px #ffffff80}.sidebar-quicknav-field.open{border-color:#ffad4275;box-shadow:0 0 0 4px #ffad4214,inset 0 1px #ffffff0d}.sidebar-quicknav-field input{border:0;background:transparent;outline:none;font:inherit;color:#f4fbff;min-width:0}.sidebar-quicknav-field input::placeholder{color:#e3eff79e}.sidebar-quicknav-field kbd{border:1px solid rgba(230,241,247,.16);background:#ffffff1f;color:#f0f8fddb;border-radius:8px;padding:2px 6px;font-size:10px;line-height:1;font-family:var(--sidebar-font)}.sidebar-quicknav-results{position:absolute;inset:calc(100% + 8px) 0 auto 0;z-index:40;border-radius:16px;border:1px solid rgba(215,226,235,.88);background:#fffffffa;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 36px #1a1b1d1f;padding:6px;display:grid;gap:4px}.sidebar-quicknav-item{width:100%;border:0;background:transparent;border-radius:12px;padding:8px 10px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;text-align:left;color:#2b2f2c}.sidebar-quicknav-item:hover{background:#0f577b14}.sidebar-quicknav-item-text{min-width:0;display:grid;gap:2px}.sidebar-quicknav-item-text strong{font-size:13px;line-height:1.15}.sidebar-quicknav-item-text small{font-size:11px;color:#6f756f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-quicknav-empty{margin:0;padding:10px 12px;color:#757b75;font-size:12px}.auth-loading-screen,.auth-screen{min-height:100vh;display:grid;place-items:center;padding:20px;position:relative}.auth-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(36vw 36vw at 10% 8%,rgba(31,143,118,.16) 0%,transparent 72%),radial-gradient(48vw 48vw at 92% 14%,rgba(220,172,74,.18) 0%,transparent 72%);pointer-events:none}.auth-loading-card,.auth-card{width:min(560px,92vw);border:1px solid var(--line);border-radius:18px;background:#fffffff0;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:18px;position:relative;z-index:1}.auth-layout{position:relative;z-index:1;width:min(760px,96vw);display:grid;justify-items:center;gap:0}.auth-loading-card{display:grid;gap:8px;justify-items:center;text-align:center}.auth-loading-card img{width:min(230px,70vw);height:auto;max-height:96px;object-fit:contain}.auth-brand{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px}.auth-brand-login{grid-template-columns:1fr;justify-items:center;text-align:center;gap:6px;margin-bottom:8px}.auth-brand-logo{width:min(310px,68vw);max-width:310px;height:auto;object-fit:contain;object-position:center;display:block}.auth-brand-copy{display:grid;gap:2px;align-content:center;text-align:center}.auth-brand-copy h1,.auth-brand-copy p{margin:0}.auth-brand h1{font-size:26px;font-weight:800;line-height:1}.auth-brand p{margin-top:4px;color:#6d6659;font-size:12px}@media (max-width: 720px){.auth-brand,.auth-brand-login{grid-template-columns:1fr;gap:10px;justify-items:center;text-align:center}.auth-brand-logo{width:min(280px,78vw);max-width:280px}.auth-brand-copy{text-align:center}}.auth-form{display:grid;gap:10px}.auth-form label{display:grid;gap:4px;font-size:13px;color:#4f4a40}.auth-submit{margin-top:4px;width:100%}.auth-note{font-size:13px;color:#5c564a;line-height:1.45;margin-bottom:12px}.super-admin-shell{min-height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr)}.super-admin-topbar{border-bottom:1px solid #e2dccf;background:#fffdf8;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.super-admin-brand{display:flex;align-items:center;gap:9px}.super-admin-brand img{width:42px;height:42px}.super-admin-brand strong{display:block;font-size:17px;line-height:1.1}.super-admin-brand span{display:block;font-size:12px;color:#686153}.super-admin-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:#4e483d}.super-admin-main{padding:16px;overflow:auto}.saas-admin-page{border:1px solid var(--line);border-radius:18px;background:#ffffffe6;box-shadow:var(--shadow);padding:16px;display:grid;gap:14px}.saas-admin-header h2{font-family:var(--title-font);font-weight:800;font-size:30px}.saas-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.saas-card{border:1px solid #e7dfcf;border-radius:14px;background:linear-gradient(180deg,#fff,#fbf8f2);padding:12px;display:grid;gap:9px}.saas-card h3{font-size:18px;font-weight:700}.form-grid{display:grid;gap:8px}.form-grid label{display:grid;gap:4px;font-size:12px;color:#564f42}.inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.checkbox-line{display:flex!important;align-items:center;gap:8px!important}.checkbox-line input{width:auto;margin:0}.table-wrap{border:1px solid #e7dfcf;border-radius:12px;overflow:auto}@media (max-width: 1080px){.saas-admin-grid{grid-template-columns:minmax(0,1fr)}}.saas-admin-v2{border:1px solid var(--line);border-radius:18px;background:#ffffffeb;box-shadow:var(--shadow);padding:14px;display:grid;gap:12px}.saas-admin-v2-header h2{font-family:var(--title-font);font-size:30px;font-weight:800}.saas-admin-v2-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:12px}.saas-admin-v2-clients,.saas-admin-v2-details{border:1px solid #e7dfcf;border-radius:14px;background:linear-gradient(180deg,#fff,#faf7f1);padding:12px}.saas-admin-v2-clients{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:8px;min-height:540px}.saas-admin-v2-clients-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.saas-admin-v2-clients-head h3{font-size:19px}.saas-client-list{overflow:auto;display:grid;gap:8px;align-content:start}.saas-client-card{width:100%;border:1px solid #e4ddcc;border-radius:12px;background:#fff;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.saas-client-card strong{display:block;font-size:14px}.saas-client-card small{display:block;font-size:12px;color:#6c665a}.saas-client-card.selected{border-color:#1f8f76;box-shadow:0 0 0 3px #1f8f761f}.saas-inline-form{border:1px solid #e6decd;border-radius:12px;background:#fff;padding:10px;display:grid;gap:7px}.saas-inline-form label{display:grid;gap:4px;font-size:12px;color:#5a5346}.saas-admin-v2-details{display:grid;gap:10px}.saas-empty-state{border:1px dashed #d8cfbb;border-radius:12px;padding:18px;text-align:center}.saas-empty-state h3{font-size:18px}.saas-empty-state p{margin-top:4px;color:#6f685b;font-size:13px}.saas-client-summary h3{font-size:24px;font-weight:800}.saas-kpi-row{margin-top:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.saas-kpi-row article{border:1px solid #e6decd;border-radius:12px;background:#fff;padding:10px;display:grid;gap:4px}.saas-kpi-row span{font-size:12px;color:#6e685b}.saas-kpi-row strong{font-size:22px;line-height:1}.saas-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.saas-panel{border:1px solid #e6decd;border-radius:12px;background:#fff;padding:10px;display:grid;gap:8px}.saas-panel h4{font-size:16px}.saas-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.saas-company-form{border:1px solid #e6decd;border-radius:12px;padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.saas-company-form label{display:grid;gap:4px;font-size:12px;color:#5a5346}.saas-company-form .inline-actions{grid-column:1 / -1}.saas-company-logo-field{grid-column:1 / -1;border:1px dashed #d9d0be;border-radius:10px;padding:10px;display:grid;gap:8px}.saas-company-logo-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.saas-company-logo-preview{width:64px;height:64px;border-radius:10px;border:1px solid #d9d0be;background:#fff;padding:5px;display:grid;place-items:center}.saas-company-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.saas-company-logo-actions{display:flex;align-items:center;gap:8px}.saas-company-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.saas-company-cards article{border:1px solid #e6decd;border-radius:12px;background:#fff;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.saas-company-card-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.saas-company-card-logo{width:44px;height:44px;border-radius:9px;border:1px solid #d9d0be;background:#fff;padding:4px;display:grid;place-items:center}.saas-company-card-logo img{max-width:100%;max-height:100%;object-fit:contain}.saas-company-cards strong{display:block;font-size:14px}.saas-company-cards small{display:block;color:#6e685b;font-size:12px}@media (max-width: 1200px){.saas-admin-v2-layout{grid-template-columns:minmax(0,1fr)}.saas-admin-v2-clients{min-height:0;grid-template-rows:auto auto auto auto}}@media (max-width: 980px){.saas-details-grid{grid-template-columns:minmax(0,1fr)}.saas-company-form{grid-template-columns:repeat(2,minmax(0,1fr))}.saas-company-cards{grid-template-columns:minmax(0,1fr)}}.btn{border:0;border-radius:12px;padding:10px 14px;font-size:14px;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.btn-primary{color:#fff;background:#3b50ce;border-color:#3b50ce;box-shadow:0 10px 18px #3b50ce2e;font-weight:700}.btn-primary:hover{background:#3146c4;border-color:#3146c4;box-shadow:0 12px 20px #3b50ce3d}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.58;cursor:not-allowed}.btn-ghost{border:1px solid transparent;background:transparent;color:#737a86;font-weight:600}.btn-danger{border:1px solid #e9c1c1;background:#fff;color:#8a1f1f}.btn-danger:hover{background:#fff4f4}.btn-danger-outline{border-color:#e7bcbc;color:#8a1f1f}.btn-outline{border:1px solid #d9e0e7;background:#fff;color:#2d2d2d;font-weight:600}.btn-mini{border:1px solid #d9e0e7;background:#fff;color:#4d5566;border-radius:8px;font-size:12px;padding:6px 9px}.notice{border-radius:12px;font-size:13px;padding:10px 12px;border:1px solid transparent}.notice.dismissible{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notice-close{width:24px;height:24px;border:1px solid rgba(32,28,20,.22);border-radius:50%;background:#fff;color:#554f43;font-size:16px;line-height:1;display:inline-grid;place-items:center;flex:0 0 auto}.notice.success{background:#e7f8ee;border-color:#a7dfbc;color:#13623b}.notice.error{background:var(--danger-soft);border-color:#f6c9c9;color:#8a1f1f}.notice.warning{background:#fff5d9;border-color:#f1d489;color:#7f5b09}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.badge.neutral{background:#efe9db;color:#5b5547}.badge.success{background:var(--brand-soft);color:#1e6b57}.badge.warning{background:#fff1d8;color:#8a5a16}.badge.danger{background:var(--danger-soft);color:#9b3a3a}.entity-page{border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);-webkit-backdrop-filter:none;backdrop-filter:none;padding:20px;display:grid;gap:14px}.entity-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.entity-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#97a0ab;margin-bottom:3px}.entity-header h2{font-family:var(--title-font);font-size:32px;font-weight:800;margin-bottom:2px;color:var(--ink)}.entity-description{color:var(--muted);font-size:14px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.kpi-grid article{border:1px solid #e8e2d3;border-radius:14px;background:linear-gradient(180deg,#fff,#faf7f0);padding:12px;display:grid;gap:6px}.kpi-grid span{color:#6b6558;font-size:12px}.kpi-grid strong{font-size:19px;line-height:1}.kpi-grid small{font-size:11px;color:#7a7264}.dss-upload-note{margin:0}.dss-upload-shell{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:14px;align-items:start}.dss-upload-card{border:1px solid #e8e2d3;border-radius:18px;background:radial-gradient(circle at top left,rgba(214,235,227,.55),transparent 42%),linear-gradient(180deg,#fffffffa,#fbf8f2f2);padding:18px;display:grid;gap:14px;box-shadow:0 16px 34px #bfb0962e}.dss-upload-card-head{display:grid;gap:3px}.dss-upload-card-head strong{font-size:18px;color:#2f2a21}.dss-upload-card-head span{font-size:12px;color:#766f61}.dss-upload-dropzone{position:relative;border:1px dashed #c9bfa9;border-radius:18px;background:#ffffffeb;padding:18px;display:grid;gap:8px;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.dss-upload-dropzone:hover{border-color:#6d8d64;transform:translateY(-1px);box-shadow:0 14px 28px #a4b39524}.dss-upload-dropzone.is-ready{border-color:#6d8d64;background:linear-gradient(180deg,#f4faf2fa,#fffffff5)}.dss-upload-dropzone input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.dss-upload-dropzone-title{font-size:17px;font-weight:700;color:#29261e}.dss-upload-dropzone small{font-size:12px;line-height:1.45;color:#70685b}.dss-upload-file-meta{border-radius:14px;background:#ffffffd1;border:1px solid rgba(225,218,204,.92);padding:12px 14px;display:grid;gap:3px}.dss-upload-file-meta span{font-size:12px;color:#7b7366}.dss-upload-file-meta strong{font-size:14px;color:#2f2a21;overflow-wrap:anywhere}.dss-upload-result-card{gap:16px}.dss-upload-empty{border-radius:16px;background:#ffffffe0;border:1px solid rgba(227,220,206,.94);padding:18px;display:grid;gap:6px}.dss-upload-empty strong{font-size:16px;color:#302b22}.dss-upload-empty p{margin:0;color:#716a5d;font-size:13px;line-height:1.5}.dss-upload-result-status{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.dss-upload-result-status>div{display:grid;gap:5px}.dss-upload-result-status strong{font-size:18px;color:#2d281f;overflow-wrap:anywhere}.dss-upload-result-status p{margin:0;font-size:13px;color:#6f6759;line-height:1.45}.dss-upload-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-upload-kpis article strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.dss-upload-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.dss-upload-summary-list div{border-radius:14px;background:#ffffffdb;border:1px solid rgba(227,220,206,.92);padding:12px 14px;display:grid;gap:4px}.dss-upload-summary-list dt{font-size:12px;color:#7b7366}.dss-upload-summary-list dd{margin:0;font-size:14px;color:#2e281f;overflow-wrap:anywhere}.dss-upload-signatures-list{display:grid;gap:10px}.dss-upload-signatures-list article{border-radius:16px;border:1px solid rgba(224,216,201,.94);background:#ffffffe6;padding:14px;display:grid;gap:8px}.dss-upload-signature-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.dss-upload-signature-head strong{font-size:14px;color:#2c281f}.dss-upload-signatures-list p{margin:0;font-size:12px;line-height:1.45;color:#6f6759}.search-modern{border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:8px}.search-modern span{color:#7a7263;font-size:16px}.search-modern input{border:0;padding:0;border-radius:0;box-shadow:none;background:transparent}.search-modern input:focus{box-shadow:none}.search-modern.compact{padding:7px 10px}.invoice-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:center}.purchase-import-batch-card{border:1px solid #e4d8cc;border-radius:20px;background:radial-gradient(circle at top left,#fffffff2,#fff9fbeb 55%,#f8f0f4e0);box-shadow:0 18px 42px #89706014;padding:18px;display:grid;gap:16px}.purchase-import-batch-card.is-active{position:relative;overflow:hidden}.purchase-import-batch-card.is-active:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,transparent 0%,rgba(216,66,106,.04) 48%,transparent 100%);transform:translate(-100%);animation:purchase-batch-scan 2.8s linear infinite;pointer-events:none}.purchase-import-batch-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.purchase-import-batch-head h3{margin:4px 0 2px;font-size:23px}.purchase-import-batch-head p{margin:0;color:#6b6558;font-size:13px}.purchase-import-batch-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.purchase-import-batch-progress-bar{border-radius:999px;background:#e0d5ccdb;height:12px;overflow:hidden;position:relative}.purchase-import-batch-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d34a68,#cc7a7a 48%,#e1b1ae);box-shadow:0 0 18px #d34a6838;transition:width .22s ease}.purchase-import-batch-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.purchase-import-batch-stats article,.purchase-import-batch-file{border:1px solid #eaded1;border-radius:16px;background:#fffc;padding:12px;display:grid;gap:6px}.purchase-import-batch-stats span,.purchase-import-batch-file p,.purchase-import-batch-file small{color:#6d6659;font-size:12px;margin:0}.purchase-import-batch-stats strong{font-size:18px}.purchase-import-batch-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.purchase-import-batch-file-main{display:flex;align-items:center;justify-content:space-between;gap:10px}.filter-strip-stack{display:grid;gap:14px}.vision-filter-toolbar{display:flex;align-items:flex-start;gap:12px}.vision-date-range-bar{flex:1}.date-range-bar{border:1px solid #dcc9ba;border-radius:26px;background:radial-gradient(circle at left top,#fffffff2,#ffffffd1 52%,#faf1f4e0);box-shadow:0 18px 40px #93766114;padding:14px 16px;display:grid;gap:14px}.date-range-bar-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.date-range-bar-summary{min-width:260px;flex:1;display:flex;align-items:center;gap:14px;color:#342c26;font-size:17px;font-weight:700}.date-range-bar-icon{width:30px;height:30px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbc7bb;background:#ffffffc2;color:#7f6858;font-size:12px;font-weight:800;letter-spacing:.08em}.date-range-bar-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.date-range-bar-pills{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.date-range-bar-pill{border:1px solid #d7c1b1;background:#ffffffeb;color:#6d5f52;border-radius:16px;padding:10px 18px;font-size:14px;font-weight:700;box-shadow:none}.date-range-bar-pill:hover{background:#fff8f5}.date-range-bar-pill.active{background:#edd2dc;border-color:#b88497;color:#4c333d}.date-range-bar-custom{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;padding-top:12px;border-top:1px solid rgba(215,193,177,.65)}.date-range-bar-field{display:grid;gap:6px}.date-range-bar-field span{font-size:12px;color:#756456;font-weight:700}.date-range-bar-field input{width:100%;min-width:0;background:#fffffff0}.accounting-toolbar{grid-template-columns:minmax(280px,1fr) minmax(620px,1.4fr);align-items:stretch}.period-filter{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px;display:grid;gap:10px}.period-filter label{font-size:12px;color:#6f685b}.period-filter input{width:auto;min-width:148px;padding:7px 9px;font-size:12px}.period-filter select{width:auto;min-width:170px;padding:7px 9px;font-size:12px}.accounting-filter-grid{display:grid;grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(140px,1fr));gap:10px;align-items:end}.accounting-filter-field{display:grid;gap:6px}.accounting-filter-field>span{font-size:12px;color:#6f685b;font-weight:700}.accounting-filter-field select,.accounting-filter-field input{width:100%;min-width:0}.accounting-filter-date-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center}.accounting-filter-date-range small{font-size:12px;color:#7d7567;font-weight:700}.tej-filter-panel{display:grid;gap:8px;min-width:min(620px,100%)}.tej-filter-block{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tej-filter-block>label{font-size:12px;color:#6f685b;min-width:44px}.tej-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.tej-chip{border:1px solid #ddd2bf;border-radius:999px;background:#fff;color:#544c3f;padding:6px 10px;font-size:12px;font-weight:700}.tej-chip.active{border-color:#1f1c16;color:#1f1c16;background:#f7f3ea}.tej-range-display{border:1px solid #e1d8c6;border-radius:12px;background:#fffcf6;padding:8px 10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.tej-range-display strong{color:#40392f}.tej-range-display span{color:#6a6254}.tej-batch-panel{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tej-batch-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tej-batch-fields label{font-size:12px;color:#6f685b}.tej-batch-fields select,.tej-batch-fields input{width:auto;min-width:130px;padding:7px 9px;font-size:12px}.table-shell{border:1px solid var(--line);border-radius:14px;overflow:auto;background:#fff}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th,.data-table td{border-bottom:1px solid #ece6d7;padding:10px;text-align:left;font-size:13px;vertical-align:top}.data-table thead th{background:#f7f3ea;font-weight:700}.data-table tbody tr:last-child td{border-bottom:0}.row-highlight td{background:#e8f6f1}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#faf6ee}.accounting-row-main.expanded td{border-bottom-color:transparent}.accordion-toggle-cell{width:44px;text-align:center;vertical-align:middle!important}.accordion-toggle{width:28px;height:28px;border:1px solid #ddd2bf;border-radius:999px;background:#fff;color:#665f52;display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1;transition:transform .2s ease,background .2s ease,border-color .2s ease}.accordion-toggle.expanded{transform:rotate(180deg);background:#f0faf6;border-color:#b7dfce;color:#14684b}.accounting-accordion-row td{background:#fbf9f4;padding:0;border-bottom-color:#ece6d7}.accounting-accordion-shell{padding:14px;display:grid;gap:12px}.check-col{width:38px;text-align:center}.check-col input[type=checkbox]{width:16px;height:16px}.cell-title{font-weight:700;margin-bottom:2px}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.context-menu{position:relative;display:inline-flex}.context-menu-trigger{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#faf7f0;color:#4e473b;font-size:20px;line-height:1;display:inline-grid;place-items:center}.context-menu.open .context-menu-trigger{border-color:#d7ccb7;background:#f5efe1}.context-menu-panel{min-width:200px;border:1px solid #e1d9c7;border-radius:12px;background:#fff;box-shadow:0 12px 28px #1d170e24;padding:6px;display:grid;gap:3px}.context-menu-panel.portal{position:fixed;z-index:2600;transform-origin:top right;animation:pop-in .13s ease}.context-menu-item{width:100%;border:0;border-radius:9px;background:#fff;color:#3c372d;padding:9px 10px;text-align:left;font-size:13px}.context-menu-item:hover{background:#f7f2e8}.context-menu-item:disabled{color:#aba294}.context-menu-item.danger{color:#9d2d2d}.tej-hint{display:block;margin-top:4px;font-size:11px;color:#8a8070}.payment-hint{display:block;margin-top:4px;font-size:11px;color:#6f6758}.pagination-shell{border:1px solid var(--line);border-radius:12px;background:#fff;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.pagination-shell.compact{border:0;padding:4px 0 0;background:transparent}.pagination-summary{color:#696255;font-size:12px}.pagination-controls{display:flex;align-items:center;gap:8px}.pagination-controls label{display:flex;align-items:center;gap:5px;font-size:11px;color:#6f685b}.pagination-controls label select{width:auto;min-width:62px;border-radius:10px;padding:5px 8px;font-size:12px}.pagination-pages{display:flex;align-items:center;gap:4px}.categories-page{gap:12px}.category-filters{display:grid;grid-template-columns:minmax(260px,1fr) 200px;gap:10px}.category-tree-shell{border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px;display:grid;gap:8px}.category-tree-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.category-tree-item{display:grid;gap:6px}.category-inline-form{border:1px solid #e6dece;border-radius:12px;background:#fffdf8;padding:8px;display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:8px;align-items:center}.category-row{border:1px solid #e7dfcf;border-radius:12px;background:#fffdf9;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}.category-row.is-drop-target{border-color:#1f8f76;background:#eefaf6;box-shadow:inset 0 0 0 1px #1f8f7640}.category-row.is-inactive{opacity:.65;background:#faf8f4}.category-row.is-system{background:#f8fcfa;border-style:dashed}.category-row-main{display:flex;align-items:center;gap:9px;min-width:0}.category-edit-wrap{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:8px}.category-expand{width:24px;height:24px;border-radius:8px;border:1px solid #ddd4c2;background:#fff;color:#605848;font-size:15px;line-height:1;display:inline-grid;place-items:center;padding:0}.category-expand.ghost{border-color:transparent;background:transparent;cursor:default}.category-expand:disabled{opacity:.65}.category-icon{width:26px;height:26px;border-radius:8px;display:inline-grid;place-items:center;font-size:15px;color:#3f372b;border:1px solid #e2d8c5;background:#fbf7ee}.category-icon.type-article{background:#e7f6f1;color:#155f4e;border-color:#ccecdf}.category-icon.type-client{background:#eef1fb;color:#38517f;border-color:#d9e0f4}.category-icon.type-fournisseur{background:#fff1e7;color:#92572d;border-color:#f2dac8}.category-text{display:grid;gap:2px;min-width:0}.category-text strong{font-size:14px;line-height:1.2}.category-text small{color:#6f6758;font-size:11px}.category-row-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.category-inline-actions{display:inline-flex;gap:6px;align-items:center}.category-inline-actions .btn{padding:7px 10px;border-radius:9px;font-size:12px}.category-linked{border-radius:999px;border:1px solid #cfe8df;background:#edf9f4;color:#1a6754;font-size:11px;font-weight:700;padding:4px 8px}.category-linked.is-empty{border-color:#e4ddce;background:#f8f5ee;color:#6f6758}.category-root-drop{border:1px dashed #d6ccb8;border-radius:12px;background:#fdfaf3;color:#675f50;font-size:12px;padding:9px 10px;text-align:center}.category-root-drop.is-drop-target{border-color:#1f8f76;color:#155e4d;background:#ebf9f3}.pager-btn{border:1px solid var(--line);background:#fff;color:#4e473c;font-size:12px;border-radius:9px;padding:5px 8px}.pager-btn.active{border-color:#1f8f76;background:#edf9f5;color:#125d4b;font-weight:700}.pager-dots{color:#8c8474;font-size:13px;padding:0 3px}.builder-shell{position:relative;min-height:100%;overflow:visible;padding:18px 18px 26px}.builder-gradient{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(48vw 48vw at 5% 0%,#dff0eb 0%,transparent 60%),radial-gradient(45vw 45vw at 98% 6%,#faeed8 0%,transparent 58%)}.builder-header,.builder-layout{position:relative;z-index:1}.external-import-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3200;display:grid;place-items:center;padding:28px}.external-import-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(52vw 42vw at 15% 18%,rgba(182,42,61,.12) 0%,transparent 68%),radial-gradient(46vw 46vw at 88% 15%,rgba(26,76,128,.13) 0%,transparent 72%),#f7f2ead6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.external-import-card{position:relative;width:min(1040px,94vw);border:1px solid rgba(201,183,167,.9);border-radius:34px;background:linear-gradient(135deg,#fffffff7,#f8f1eef2);box-shadow:0 30px 90px #2b241f2e;padding:28px 30px 24px;overflow:hidden}.external-import-card:before{content:"";position:absolute;top:18px;right:18px;bottom:18px;left:18px;border-radius:26px;border:1px solid rgba(227,214,203,.7);pointer-events:none}.external-import-head{position:relative;z-index:1;display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:18px}.external-import-logo{width:100%;max-width:170px;height:auto;filter:drop-shadow(0 10px 16px rgba(132,29,43,.12))}.external-import-head h3{font-family:var(--title-font);font-size:34px;line-height:1.05;margin:4px 0 8px;color:var(--ui-blue);font-weight:800}.external-import-subtitle{margin:0;color:#64594e;font-size:15px}.external-import-scene{position:relative;z-index:1;border-radius:28px;padding:22px 22px 28px;background:linear-gradient(160deg,#eef5fb,#f6fbfe 28%,#e8eef5);border:1px solid rgba(193,207,219,.9);overflow:hidden}.external-import-scene:before{content:"";position:absolute;inset:auto -8% 0;height:56%;background:linear-gradient(to top,rgba(10,22,34,.24),transparent 72%),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px);background-size:auto,30px 100%,100% 30px;transform:perspective(700px) rotateX(72deg);transform-origin:bottom;opacity:.75}.external-import-monitor{position:relative;min-height:300px;border-radius:28px;border:8px solid #24282d;background:radial-gradient(circle at 12% 16%,#ffffffe0,#f0f8ffeb 34%,#c6d8e8eb);box-shadow:inset 0 0 0 1px #ffffff73,0 18px 44px #191f272e;overflow:hidden}.external-import-monitor:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.38) 26%,transparent 42%);animation:external-import-glint 3.4s ease-in-out infinite;pointer-events:none}.external-import-screen-glow{position:absolute;top:16px;right:16px;bottom:16px;left:16px;border-radius:20px;box-shadow:inset 0 0 50px #3775ac24}.external-import-document{position:absolute;left:7%;bottom:18%;width:240px;aspect-ratio:.76;border-radius:14px;background:linear-gradient(180deg,#fff,#fff8f6);box-shadow:0 26px 36px #131f2d2e,0 0 0 1px #cfd5dce6;transform:rotate(-13deg);overflow:hidden;animation:external-import-document-float 3.2s ease-in-out infinite}.external-import-document-header{display:flex;gap:6px;padding:16px 16px 8px}.external-import-document-header span{width:22px;height:6px;border-radius:999px;background:#c73647bf}.external-import-document-lines{display:grid;gap:8px;padding:10px 16px 0}.external-import-document-lines span{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,#2c3a481f,#2c3a4847)}.external-import-document-lines span:nth-child(2){width:82%}.external-import-document-lines span:nth-child(3){width:90%}.external-import-document-lines span:nth-child(4){width:68%}.external-import-scan-line{position:absolute;left:10px;right:10px;top:18%;height:12px;border-radius:999px;background:linear-gradient(180deg,#ff4a5c24,#ff4a5cf2,#ff4a5c24);box-shadow:0 0 0 1px #ff5d6d24,0 0 24px #ff4d5eb3;animation:external-import-scan-line 1.65s linear infinite}.external-import-data-stream{position:absolute;left:34%;right:20%;bottom:28%;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.external-import-data-stream span{border:1px solid rgba(150,171,190,.85);border-radius:999px;padding:5px 10px;background:#ffffffd1;color:#4c5a68;font-size:11px;font-weight:700;letter-spacing:.08em;animation:external-import-chip-drift 2.8s ease-in-out infinite}.external-import-data-stream span:nth-child(2){animation-delay:.2s}.external-import-data-stream span:nth-child(3){animation-delay:.45s}.external-import-data-stream span:nth-child(4){animation-delay:.7s}.external-import-data-stream span:nth-child(5){animation-delay:.95s}.external-import-cloud{position:absolute;right:8%;top:22%;width:148px;height:148px;border-radius:50%;display:grid;place-items:center}.external-import-cloud-core,.external-import-cloud-ring,.external-import-cloud-dot{position:absolute}.external-import-cloud-core{width:82px;height:82px;border-radius:28px;background:linear-gradient(160deg,#fff,#eff7ff);border:1px solid rgba(172,204,234,.9);color:#c63448;font-weight:800;display:grid;place-items:center;box-shadow:0 0 26px #6daaeb57}.external-import-cloud-ring{top:10px;right:10px;bottom:10px;left:10px;border-radius:50%;border:2px solid rgba(116,183,242,.45);box-shadow:0 0 28px #74b7f247;animation:external-import-ring-pulse 2.1s ease-out infinite}.external-import-cloud-dot{width:14px;height:14px;right:18px;bottom:26px;border-radius:50%;background:#ef4356;box-shadow:0 0 0 8px #ef43561f;animation:external-import-dot-pulse 1.4s ease-in-out infinite}.external-import-progress{position:relative;z-index:1;margin:22px auto 0;width:min(360px,82%);height:16px;border-radius:999px;border:1px solid rgba(135,160,183,.72);background:#ffffffd6;overflow:hidden;box-shadow:inset 0 2px 6px #17283914}.external-import-progress-bar{width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d73349,#ef4b62 40%,#f96e7c);box-shadow:0 0 16px #e4364a6b;animation:external-import-progress 2.6s ease-in-out infinite}.external-import-meta{position:relative;z-index:1;margin-top:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}.external-import-file{display:grid;gap:5px}.external-import-file span{color:#7d7065;font-size:12px;letter-spacing:.06em;text-transform:uppercase}.external-import-file strong{color:#2d2520;font-size:18px}.external-import-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.external-import-steps span{border-radius:999px;padding:8px 12px;background:#ffffffb3;border:1px solid rgba(213,196,181,.88);color:#6f6256;font-size:12px;font-weight:700}.external-import-steps span.active{background:#ffecefeb;color:#7f2130;border-color:#cb8291e0}.builder-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:14px;border:1px solid var(--line);border-radius:20px;background:#ffffffdb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:var(--shadow)}.builder-header-left{display:flex;align-items:center;gap:11px}.builder-header-left h2{font-family:var(--title-font);font-size:28px;font-weight:800}.builder-header-actions{display:flex;gap:8px}.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:30px;line-height:1;color:#4d473b}.builder-layout{display:grid;grid-template-columns:minmax(360px,45%) minmax(420px,55%);gap:14px}.builder-form-panel,.builder-preview-panel{border:1px solid var(--line);border-radius:20px;background:#ffffffd9;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:16px}.builder-preview-panel{position:sticky;top:16px;align-self:start}.builder-form-panel.readonly-mode .panel-block :is(input,textarea,select,button,.action-card,.delete-btn,.client-combobox-trigger){pointer-events:none}.builder-form-panel.readonly-mode .panel-block :is(input,textarea,select,.client-combobox-trigger,.readonly-input){opacity:1;border:1px solid #d9e0e7;border-radius:4px;background:#fff;color:#66727d;box-shadow:none;font-family:var(--app-font);font-size:14px;font-weight:400}.builder-form-panel.readonly-mode .panel-block :is(input,select,.readonly-input){min-height:38px;height:38px;padding:7px 11px}.builder-form-panel.readonly-mode .panel-block textarea{min-height:84px;padding:10px 11px;line-height:1.45}.builder-form-panel.readonly-mode .panel-block :is(button,.action-card,.delete-btn){opacity:.72}.builder-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.builder-metrics article{border:1px solid #e8e2d5;border-radius:12px;background:linear-gradient(180deg,#fff,#faf8f1);padding:10px;display:grid;gap:4px}.builder-metrics span{font-size:11px;color:#746e60}.builder-metrics strong{font-size:15px}.signature-summary-card{border:1px solid #e3eaf0;border-radius:18px;background:#fff;box-shadow:0 10px 26px #2033420a;padding:16px 18px;display:grid;gap:12px;margin-bottom:12px}.signature-summary-main{display:grid;gap:6px}.signature-summary-main strong{font-family:Inter,Manrope,sans-serif;font-size:18px;font-weight:800;line-height:1.1;color:#1d5270}.signature-summary-main p{font-size:13px;line-height:1.45;color:#657480}.signature-summary-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.signature-summary-meta article{border:1px solid #e3eaf0;border-radius:12px;background:#fff;padding:10px 12px;display:grid;gap:3px}.signature-summary-meta span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#71828d}.signature-summary-meta strong{font-size:13px;color:#2d2d2d;word-break:break-word}.ttn-summary-card{background:#fff}.validated-invoice-shell .builder-gradient{background:radial-gradient(48vw 42vw at 0% 0%,rgba(225,235,248,.55),transparent 66%),radial-gradient(44vw 40vw at 100% 8%,rgba(255,245,224,.45),transparent 62%),linear-gradient(180deg,#f4f5f9,#eef2f7)}.validated-invoice-shell .builder-header{padding:16px 18px;border-radius:18px;border-color:#dfe5ee;background:#fff;box-shadow:0 8px 24px #1c2f4d0f}.validated-invoice-shell .builder-header-left{gap:14px}.validated-invoice-shell .builder-header-left h2{font-family:var(--title-font);font-size:clamp(28px,2.6vw,36px);font-weight:800;line-height:1.1;color:#1c4c69}.validated-invoice-shell .builder-header-left .eyebrow{font-size:12px;letter-spacing:.12em;color:#98a1b0}.validated-invoice-shell .icon-btn{width:42px;height:42px;border-radius:12px;border-color:#d9e0e7;background:#fff;box-shadow:none;color:#4d5566;font-size:28px}.builder-layout.validated-invoice-layout{grid-template-columns:minmax(440px,.96fr) minmax(610px,1.04fr);gap:18px;align-items:start}.validated-invoice-layout .builder-form-panel,.validated-invoice-layout .builder-preview-panel{border-radius:18px;border-color:#dfe5ee;background:#fff;box-shadow:0 8px 24px #1c2f4d0f;padding:18px}.validated-invoice-layout .builder-form-panel{order:1;position:static}.validated-invoice-layout .builder-preview-panel{order:2;padding:20px}.validated-invoice-layout .notice.success{border-radius:14px;border-color:#a7dfbc;background:linear-gradient(90deg,#e9f9ef,#d8f3e2);color:#13623b;font-size:14px}.validated-invoice-hub{display:grid;gap:16px}.validated-invoice-hub-card,.validated-inline-card,.validated-pdf-panel{border:1px solid #e3eaf0;border-radius:18px;background:#fff;box-shadow:0 10px 26px #2033420a;padding:18px;display:grid;gap:18px}.validated-inline-card{background:#fff}.validated-workflow-copy{display:grid;gap:6px}.validated-workflow-copy h3,.validated-panel-head h3{font-family:Inter,Manrope,sans-serif;font-size:18px;font-weight:800;line-height:1.15;color:#1d5270}.validated-workflow-copy p:not(.eyebrow),.validated-panel-head p:not(.eyebrow){margin:0;font-size:13px;line-height:1.45;color:#657480}.validated-workflow-summary{border:1px solid #e3eaf0;border-radius:14px;background:#fff;padding:14px 16px;display:grid;gap:6px}.validated-workflow-summary strong{font-size:16px;font-weight:700;line-height:1.15;color:#2d2d2d;overflow-wrap:anywhere}.validated-workflow-summary p{margin:0;font-size:13px;line-height:1.45;color:#657480;overflow-wrap:anywhere}.validated-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8eef4}.validated-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.validated-status-card{border:1px solid #e3eaf0;border-radius:14px;background:#fff;padding:14px;display:grid;gap:10px;min-width:0;overflow:hidden}.validated-status-head{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0}.validated-status-head .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}.validated-panel-head .badge,.validated-status-head .badge{min-height:30px;padding:6px 12px;border:1px solid #d9e2eb;border-radius:999px;font-family:var(--app-font);font-size:12px;font-weight:700;line-height:1.1;box-shadow:none}.validated-panel-head .badge.neutral,.validated-status-head .badge.neutral{background:#f4f7fa;color:#5f6d79;border-color:#dbe4ec}.validated-panel-head .badge.success,.validated-status-head .badge.success{background:#eef9f2;color:#1c8f5a;border-color:#cfe9d8}.validated-panel-head .badge.warning,.validated-status-head .badge.warning{background:#fff6e5;color:#b67600;border-color:#f0dfb4}.validated-panel-head .badge.danger,.validated-status-head .badge.danger{background:#fff1f4;color:#d33961;border-color:#f1d3dc}.validated-status-card>strong{font-size:16px;font-weight:700;line-height:1.18;color:#244458;overflow-wrap:anywhere;word-break:break-word}.validated-status-card p{margin:0;font-size:12px;line-height:1.4;color:#657480;overflow-wrap:anywhere;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.validated-status-card .btn-mini{justify-self:flex-start;margin-top:2px}.validated-status-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.validated-status-details-grid article{border:1px solid #e3eaf0;border-radius:12px;background:#fff;padding:10px 12px;display:grid;gap:4px;min-width:0}.validated-status-details-grid span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#71828d}.validated-status-details-grid strong{font-size:13px;line-height:1.28;color:#2d2d2d;overflow-wrap:anywhere;word-break:break-word}.validated-workflow-actions,.validated-pdf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;border:1px solid #e3eaf0;border-radius:14px;background:#f9fbfd}.validated-workflow-actions .btn,.validated-pdf-actions .btn{min-height:38px;border-radius:4px;padding:7px 12px;box-shadow:none;font-family:var(--app-font);font-size:14px;font-weight:600}.validated-workflow-actions .btn-primary,.validated-pdf-actions .btn-primary{box-shadow:0 10px 18px #3b50ce2e}.validated-workflow-actions .btn-outline,.validated-pdf-actions .btn-outline,.validated-workflow-actions .btn-ghost,.validated-pdf-actions .btn-ghost{border-color:#d9e0e7;color:#2d2d2d}.validated-pdf-panel{height:100%}.validated-pdf-shell{border:1px solid #d9e2eb;border-radius:18px;background:#fff;overflow:hidden;box-shadow:inset 0 1px #ffffffd9}.validated-pdf-frame{width:100%;height:min(82vh,1120px);min-height:900px;border:0;display:block;background:#fff}.validated-pdf-fallback{padding:18px;display:grid;gap:14px}.validated-inline-frame{width:100%;min-height:620px;border:1px solid rgba(220,224,231,.95);border-radius:20px;background:#fff}.validated-inline-empty{min-height:220px;border:1px dashed rgba(210,202,188,.95);border-radius:20px;background:#fcf9f2eb;padding:18px;display:grid;place-content:center;gap:6px;text-align:center}.validated-inline-empty strong{font-size:16px;line-height:1.2;color:#2c251e}.validated-inline-empty p{margin:0;font-size:13px;line-height:1.45;color:#665f54}.signature-monitor-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.95fr);gap:12px;align-items:start}.signature-monitor-row{cursor:pointer}.signature-monitor-row.active td{background:linear-gradient(90deg,#1f8f7614,#43b1e90d)}.signature-monitor-panel{border:1px solid rgba(223,216,200,.95);border-radius:18px;background:#ffffffeb;box-shadow:var(--shadow);padding:14px;display:grid;gap:12px;position:sticky;top:18px}.signature-monitor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.signature-monitor-head h3{font-size:24px;line-height:1.06}.signature-monitor-head p:not(.eyebrow){margin-top:4px;font-size:13px;color:#655f53}.signature-monitor-actions{display:flex;flex-wrap:wrap;gap:8px}.signature-monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.signature-monitor-grid article{border:1px solid rgba(228,221,209,.95);border-radius:12px;background:#ffffffe0;padding:9px 10px;display:grid;gap:3px}.signature-monitor-grid span{font-size:11px;color:#726c5f}.signature-monitor-grid strong{font-size:13px;word-break:break-word}.signature-monitor-details{margin:0;display:grid;gap:8px}.signature-monitor-details>div{border:1px solid rgba(229,223,210,.95);border-radius:12px;background:#ffffffe6;padding:9px 10px;display:grid;gap:2px}.signature-monitor-details dt{font-size:11px;color:#746d61}.signature-monitor-details dd{margin:0;font-size:13px;color:#23221c;word-break:break-word}@media (max-width: 1100px){.signature-monitor-layout{grid-template-columns:1fr}.signature-monitor-panel{position:static}}@media (max-width: 860px){.signature-summary-meta,.signature-monitor-grid{grid-template-columns:1fr}.signature-monitor-head{flex-direction:column}}.builder-tabs{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:12px;border-bottom:1px solid var(--line)}.builder-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:0 0 12px;font-size:14px;font-weight:700;transition:color .18s ease,border-color .18s ease}.builder-tabs button:hover{color:var(--ui-blue)}.builder-tabs button.active{border-color:var(--ui-blue);color:var(--ui-blue);font-weight:700}.panel-block{display:grid;gap:8px}.panel-block h3{font-size:18px;margin-bottom:2px}.panel-block label{font-size:13px;color:#4f4a3f}.settings-helper{margin:0;font-size:13px;color:#6e6658;line-height:1.55}.settings-page{gap:18px;border:0;background:transparent;box-shadow:none;padding:0}.settings-header h2{font-family:var(--title-font);font-size:34px;font-weight:800;color:var(--ink)}.settings-shell{border:1px solid #dfe5ee;border-radius:18px;background:#fff;box-shadow:0 8px 24px #1c2f4d0f;padding:20px 24px 24px;display:grid;gap:18px}.settings-page-banner,.settings-inline-notice{border:1px solid #f2df97;border-radius:14px;background:linear-gradient(90deg,#fff8dc,#fff0b8);color:#7f6630;padding:14px 16px;font-size:14px;line-height:1.45}.settings-page-banner strong,.settings-inline-notice strong{color:#6f5420}.settings-tabs{display:flex;flex-wrap:wrap;gap:24px;padding:0 0 12px;border-bottom:1px solid #dde4ec}.settings-tab-button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#9098a3;padding:12px 0 14px;font-family:var(--app-font);font-size:15px;font-weight:700;line-height:1.1}.settings-tab-button:hover{color:var(--ui-blue)}.settings-tab-button.active{border-color:var(--ui-blue);background:transparent;color:var(--ui-blue);box-shadow:none}.settings-panel{display:grid;gap:18px}.settings-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.settings-panel-head>div{display:grid;gap:3px}.settings-panel-head h3{margin:0;font-family:Inter,Manrope,sans-serif;font-size:28px;font-weight:800;color:#1c4c69}.settings-panel-head p:not(.eyebrow){margin:0;max-width:620px;color:#657480;font-size:14px;line-height:1.55}.settings-section-stack{display:grid;gap:16px}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px}.settings-field{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:center;gap:16px;align-content:start;min-width:0}.settings-page .settings-field label{font-family:var(--app-font);font-size:13px;font-weight:500;color:#2d2d2d;line-height:1.35;margin:0}.settings-field.full-span{grid-column:1 / -1}.settings-page .settings-field>label:not(.switch-row){grid-column:1;align-self:center}.settings-page .settings-field input,.settings-page .settings-field select,.settings-page .settings-field textarea,.settings-page .client-combobox-trigger{border:1px solid #d9e0e7;border-radius:4px;background:#fff;color:var(--ink);box-shadow:none;font-family:var(--app-font);font-size:14px;font-weight:400}.settings-page .settings-field input,.settings-page .settings-field select,.settings-page .client-combobox-trigger{height:38px;min-height:38px;padding:7px 11px}.settings-page .settings-field textarea{min-height:84px;padding:10px 11px;line-height:1.45}.settings-page .settings-field>input,.settings-page .settings-field>select,.settings-page .settings-field>textarea,.settings-page .settings-field>.client-combobox,.settings-page .settings-field>.readonly-input,.settings-page .settings-field>.switch-row+.settings-helper{grid-column:2}.settings-page .settings-field input:focus,.settings-page .settings-field select:focus,.settings-page .settings-field textarea:focus,.settings-page .client-combobox.open .client-combobox-trigger{border-color:#e8610a66;box-shadow:0 0 0 2px #e8610a14;outline:none}.settings-page .settings-field input::placeholder,.settings-page .settings-field textarea::placeholder{color:#9ea8b3}.settings-page .readonly-input,.settings-page .settings-field input[readonly],.settings-page .settings-field textarea[readonly]{background:#fff;color:#66727d;font-weight:400}.settings-page .settings-field>.settings-helper{grid-column:2}.settings-page .settings-field>label.switch-row{grid-column:1 / -1}.settings-subheader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:2px}.settings-subheader>div{display:grid;gap:2px}.settings-subheader .settings-helper{margin:0}.settings-page .product-subpanel{border:1px solid #e3eaf0;border-radius:18px;background:#fff;box-shadow:0 10px 26px #2033420a;padding:20px 22px;gap:16px}.settings-page .product-subpanel-head h4{font-family:Inter,Manrope,sans-serif;font-size:18px;font-weight:800;color:#1d5270}.settings-page .product-subpanel-head span{border-color:#d8e4eb;background:#f5f9fc;color:#647b8c}.settings-page .client-combobox-trigger{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-page .inline-actions .btn,.settings-page .client-inline-actions .btn,.settings-page .settings-subheader .btn{min-height:38px;border-radius:4px;padding:7px 12px;box-shadow:none}.settings-page .client-combobox-value strong{font-size:14px;font-weight:700;color:#244458}.settings-page .client-combobox-value small{font-size:12px;color:#71828d}.settings-page .client-combobox-caret{color:#537287}.settings-page .client-combobox-menu{border:1px solid #d7e2ea;border-radius:14px;box-shadow:0 18px 36px #1e35471f}.settings-page .client-option{border-color:#e5edf3}.settings-page .client-option:hover{border-color:#cbdce8;background:#f7fbfe}.settings-page .client-option.active{border-color:#8fb7cf;background:#eef6fb}.settings-page .switch-row{display:flex;align-items:flex-start;gap:10px;color:#334a59;font-size:15px;font-weight:600;line-height:1.45}.settings-page .switch-row input{margin-top:3px;accent-color:var(--ui-orange)}.settings-page .settings-field .client-combobox{min-width:0}.settings-page .btn.btn-primary{box-shadow:0 10px 18px #3b50ce2e}@media (max-width: 960px){.settings-shell{padding:16px}.settings-panel-head{display:grid}.settings-tab-button{border-radius:12px}.settings-form-grid{grid-template-columns:1fr;gap:14px 16px}.settings-field{grid-template-columns:1fr;gap:8px}.settings-page .settings-field>input,.settings-page .settings-field>select,.settings-page .settings-field>textarea,.settings-page .settings-field>.client-combobox,.settings-page .settings-field>.readonly-input,.settings-page .settings-field>.settings-helper{grid-column:1}}.tej-mapping-table{border:1px solid var(--line);border-radius:14px;background:#fffc;overflow:hidden}.tej-mapping-row{display:grid;grid-template-columns:180px minmax(0,1fr) 130px;gap:10px;padding:10px 12px;align-items:center}.tej-mapping-row+.tej-mapping-row{border-top:1px solid rgba(215,205,184,.65)}.tej-mapping-head{background:#f1ede38c;font-size:12px;color:#5f5748;font-weight:700}.tej-mapping-head>span:last-child{text-align:center}.tej-mapping-row .btn{width:100%;padding:9px 10px;font-size:13px}.inline-actions{display:flex;gap:8px}.inline-actions>*:first-child{flex:1}.client-inline-actions{align-items:flex-start}.client-combobox{position:relative;min-width:0}.client-combobox-trigger{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.client-combobox.open .client-combobox-trigger{border-color:var(--brand);box-shadow:0 0 0 3px #1f8f761f}.client-combobox-value{display:grid;gap:3px;min-width:0}.client-combobox-value strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-combobox-value small{font-size:11px;color:#6f685a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-combobox-caret{font-size:12px;color:#5e574a;flex:0 0 auto}.client-combobox-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 22px 36px #17140e29;overflow:hidden}.client-combobox-search{margin:8px;border-radius:10px}.client-combobox-options{max-height:260px;overflow-y:auto;padding:0 8px 8px;display:grid;gap:6px}.client-option{width:100%;border:1px solid #ece5d6;border-radius:11px;background:#fff;padding:9px 10px;text-align:left;display:grid;gap:2px}.client-option strong{font-size:13px}.client-option small{font-size:11px;color:#6f685c}.client-option:hover{border-color:#d7ccb6;background:#fcfaf5}.client-option.active{border-color:#87c4b6;background:#eff9f6}.split-row{display:grid;gap:8px;grid-template-columns:1fr 1fr}.stack-cards{display:grid;gap:8px}.action-card{border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px}.action-card strong{display:block;font-size:14px}.action-card span{font-size:12px;color:var(--muted)}.action-card em{font-style:normal;color:#7b7363}.editor-table{width:100%;border-collapse:collapse}.editor-table th,.editor-table td{border-bottom:1px solid #ece6d8;padding:8px;text-align:left;font-size:12px}.editor-table thead th{background:#f8f4ea;border-top:1px solid #ece6d8}.editor-table input{font-size:12px;padding:8px}.discount-card{margin-top:10px;border:1px solid #e6decd;border-radius:14px;background:linear-gradient(140deg,#fff,#f9f7f1 55%,#f3f8f4);padding:12px 14px;display:grid;gap:10px}.discount-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.discount-card-head strong{display:block;font-size:14px;color:#2e2a22}.discount-card-head small{display:block;margin-top:2px;font-size:12px;color:#6d6659}.discount-rate-input{display:flex;align-items:center;gap:6px;font-size:12px;color:#5f584b}.discount-rate-input input{width:96px;border:1px solid #d8cfbc;border-radius:11px;background:#fff;padding:8px 10px;font-size:13px}.discount-card-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.discount-card-grid article{border:1px solid #e6decd;border-radius:11px;background:#fff;padding:9px 10px;display:grid;gap:2px}.discount-card-grid span{font-size:11px;color:#6f695d}.discount-card-grid strong{font-size:14px;color:#1f1b14}.accounting-entry-detail{display:grid;gap:12px}.accounting-entry-meta{grid-template-columns:repeat(4,minmax(0,1fr))}.accounting-entry-note{margin:0;color:#665f52;font-size:13px}.accounting-lines-table{min-width:100%}.delete-btn{border:0;background:transparent;color:#8f2323;font-size:16px}.switch-row{display:flex;align-items:center;gap:7px}.switch-row input{width:auto}.preview-sheet{position:relative;overflow:hidden;border:1px solid #d9d2c3;border-radius:16px;background:linear-gradient(180deg,#fff,#fbf8f1);padding:16px;display:grid;gap:12px}.sheet-watermark{position:absolute;right:-20px;top:4px;font-size:50px;font-weight:800;color:#28836d14;transform:rotate(-8deg);pointer-events:none}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e8e2d4;padding-bottom:10px}.sheet-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:10px;color:#766f61;margin-bottom:2px}.sheet-head h3{font-size:22px}.sheet-brand{margin-bottom:6px}.sheet-brand img{width:170px;max-width:100%;height:auto;object-fit:contain}.sheet-company-name{margin:0 0 2px;font-size:14px;font-weight:700;color:#2d2922}.sheet-company-meta{margin:0;font-size:11px;color:#6f685b;line-height:1.35}.sheet-currency{margin-top:4px;font-size:11px;color:#6d675a}.sheet-dates{display:grid;gap:5px}.sheet-dates p{display:grid;text-align:right;gap:2px;font-size:11px}.sheet-dates strong{color:#686152}.sheet-client{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sheet-client>div{border:1px solid #ece6d8;border-radius:12px;background:#fff;padding:9px;display:grid;gap:2px}.sheet-label{font-size:10px;text-transform:uppercase;color:#777163;letter-spacing:.08em}.sheet-client strong{font-size:13px}.sheet-client span{font-size:12px;color:#756e60}.sheet-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #ece6d8;border-radius:12px;overflow:hidden}.sheet-table th,.sheet-table td{border-bottom:1px solid #ece6d8;padding:8px;font-size:12px;text-align:left}.sheet-table thead th{background:#f8f4ea;font-weight:700}.sheet-table tbody tr:last-child td{border-bottom:0}.empty-row{text-align:center;color:#7a7365;padding:10px}.sheet-footer{display:grid;gap:14px;grid-template-columns:1fr}.sheet-footer.single-column{grid-template-columns:1fr}.sheet-payment{border:1px solid #e8e2d4;border-radius:12px;background:#fff;padding:12px 14px;display:grid;gap:8px;font-size:13px;line-height:1.45}.sheet-payment h4{font-size:15px}.sheet-totals{border:1px solid #e8e2d4;border-radius:12px;background:#fff;overflow:hidden}.sheet-totals>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:14px 16px;border-bottom:1px solid #ece6d8;font-size:14px;line-height:1.45}.sheet-totals>div span{color:#302d27;padding-right:10px;max-width:100%}.sheet-totals>div strong{text-align:right;white-space:nowrap}.sheet-totals>div:last-child{border-bottom:0;font-size:15px;font-weight:800;background:#fcfaf4}.sheet-qr{display:flex;justify-content:flex-end}.sheet-qr img{width:100px;height:100px;border:1px solid #e8e2d4;border-radius:8px;background:#fff;padding:4px}.sheet-legal{border:1px solid #e8e2d4;border-radius:12px;background:#fff;padding:12px 14px;display:grid;gap:6px}.sheet-legal h4{margin:0;font-size:15px}.sheet-legal p{margin:0;font-size:12px;line-height:1.5;color:#5f584b;white-space:pre-line}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:12px;overflow-y:auto;background:#0908069e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{width:min(900px,94vw);max-height:92vh;margin:auto;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:0 32px 80px #120f0a47;display:flex;flex-direction:column;animation:pop-in .22s ease}.modal-head{display:grid;gap:10px;border-bottom:1px solid #ece6d8;padding:12px 16px;position:sticky;top:0;z-index:12;background:#fff}.modal-head-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h3{font-family:Manrope,Segoe UI,sans-serif;font-size:18px;line-height:1.2;font-weight:700}.modal-head-notice{display:grid}.modal-head-notice .notice{margin:0}.modal-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#faf7f0;font-size:24px;line-height:1}.modal-body{overflow:auto;padding:12px 16px;display:grid;gap:9px}.modal-foot{border-top:1px solid #ece6d8;padding:12px 16px;display:flex;justify-content:flex-end;position:sticky;bottom:0;background:#fff;z-index:1}.modal-divider{height:1px;background:#ece6d8;margin:2px 0}.modal-subtitle{font-size:14px;font-weight:700}.modal-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}.modal-list-row{width:100%;border:0;border-bottom:1px solid #ece6d8;background:#fff;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:left}.modal-list-row:last-child{border-bottom:0}.modal-list-row span,.modal-list-row.simple{display:grid;gap:2px}.modal-list-row strong{font-size:13px}.modal-list-row small{font-size:11px;color:#756e60}.selectable .modal-list-row{cursor:pointer}.modal-form{display:grid;gap:7px}.two-cols-grid{grid-template-columns:1fr 1fr;gap:7px 10px}.three-cols-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}.two-cols-grid label{font-size:12px;color:#555045}.invoice-payments-modal{width:min(980px,95vw)}.signature-confirmation-modal{width:min(620px,94vw)}.signature-confirmation-tabs{display:flex;flex-wrap:wrap;gap:8px}.signature-confirmation-tabs button{border:1px solid var(--line);background:#fff;color:#5f584b;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer}.signature-confirmation-tabs button.active{background:#2f7fc4;border-color:#2f7fc4;color:#fff}.signature-confirmation-brand{display:flex;justify-content:flex-start}.signature-confirmation-logo{width:min(190px,55vw);height:auto;object-fit:contain}.signature-confirmation-intro{margin:0;color:#5f584b;font-size:13px;line-height:1.5}.signature-confirmation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.signature-confirmation-grid article{border:1px solid var(--line);border-radius:12px;background:#fcfaf5;padding:10px 11px;display:grid;gap:3px}.signature-confirmation-grid span{font-size:11px;color:#746d60}.signature-confirmation-grid strong{font-size:14px;word-break:break-word}.signature-confirmation-certificates{border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 11px 11px}.signature-confirmation-certificates legend{padding:0 4px;font-size:12px;font-weight:700;color:#5c5548}.signature-confirmation-radio{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#342d22}.signature-confirmation-radio input{margin:0}.signature-confirmation-actions{width:100%;display:flex;justify-content:flex-end;gap:8px}.signature-precheck-tab{display:grid;gap:10px}.signature-precheck-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.signature-precheck-kpis article{border:1px solid var(--line);border-radius:12px;background:#fcfaf5;padding:9px 11px;display:grid;gap:2px}.signature-precheck-kpis article span{font-size:11px;color:#746d60}.signature-precheck-kpis article strong{font-size:14px}.signature-precheck-table-shell{max-height:280px;overflow:auto}.signature-precheck-table{min-width:720px}.payment-modal{width:min(760px,92vw)}.invoice-payments-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.invoice-payments-summary article{border:1px solid var(--line);border-radius:12px;background:#fcfaf5;padding:9px 11px;display:grid;gap:2px}.invoice-payments-summary article span{font-size:11px;color:#746d60}.invoice-payments-summary article strong{font-size:14px}.modal-payments-table{max-height:320px;overflow:auto}.type-switch{display:flex;gap:8px}.type-switch button{border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 11px;font-size:13px}.type-switch button.active{border-color:var(--line-strong);font-weight:700}.customer-modal{width:min(1040px,95vw);max-height:min(900px,92vh);border-radius:20px}.customer-modal .modal-head{min-height:72px;padding:14px 20px}.customer-modal .modal-head h3{min-height:1px}.customer-modal .modal-close{width:46px;height:46px;font-size:32px;line-height:.8}.customer-modal .modal-body{padding:20px 24px 16px;gap:12px}.customer-modal .modal-foot{padding:12px 24px}.customer-title{font-family:Manrope,Segoe UI,sans-serif;font-size:18px;line-height:1.2;font-weight:700}.customer-type-switch button{border-radius:14px;padding:9px 13px;font-size:14px}.customer-search{margin-top:2px}.customer-existing-list{border-radius:14px;border-color:#e2d9c6;max-height:190px;overflow-y:auto}.customer-list-row{padding:11px 12px}.customer-form-grid{gap:10px 12px}.customer-accordion-layout,.supplier-accordion-layout{margin-top:4px}.customer-sections{display:grid;gap:12px}.customer-section{border:1px solid #e5ddce;border-radius:14px;background:#fffdf8;padding:10px;display:grid;gap:9px}.customer-section h4{margin:0;font-size:14px;line-height:1.2;font-weight:800;color:#252117}.customer-field{display:grid;gap:6px;align-content:start}.customer-field h4{margin:2px 0 0;font-size:14px;line-height:1.2;font-weight:800;color:#2c261b}.customer-address-block{border:1px solid #e4dbc8;border-radius:12px;background:#fcfaf5;padding:10px;margin:0}.customer-address-block.full-span{grid-column:1 / -1}.customer-address-block legend{font-size:12px;font-weight:700;color:#534e43;padding:0 6px}.customer-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}.category-chip-row{display:flex;flex-wrap:wrap;gap:8px}.category-chip{border:1px solid #d9d0bf;border-radius:999px;background:#fff;color:#4e483d;padding:7px 12px;font-size:12px;font-weight:600}.category-chip.active{border-color:#1f8f76;background:#dcf4ed;color:#135f4f}.customer-bank-block{border:1px solid #e4dbc8;border-radius:12px;background:#fcfaf5;padding:10px;margin:0}.customer-bank-block.full-span{grid-column:1 / -1}.customer-bank-block legend{font-size:12px;font-weight:700;color:#534e43;padding:0 6px}.customer-bank-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}.customer-field label{font-size:12px;color:#555044}.customer-field.full-span{grid-column:1 / -1}.customer-field textarea{min-height:86px}.customer-field input{min-height:42px}.customer-submit-btn{min-width:240px;border-radius:999px;padding:12px 18px;font-size:16px;font-weight:700}.supplier-modal{width:min(1040px,95vw);max-height:min(900px,92vh);border-radius:20px}.supplier-modal .modal-head{min-height:68px}.supplier-full-span{grid-column:1 / -1}.catalog-modal{width:min(760px,90vw);max-height:min(760px,84vh);border-radius:20px}.catalog-modal .modal-head{min-height:72px;padding:14px 20px}.catalog-modal .modal-head h3{min-height:1px}.catalog-modal .modal-close{width:46px;height:46px;font-size:32px;line-height:.8}.catalog-modal .modal-body{padding:22px 24px 16px;gap:14px}.catalog-modal .modal-foot{padding:12px 24px}.catalog-title{font-family:Manrope,Segoe UI,sans-serif;font-size:18px;line-height:1.2;font-weight:700;max-width:660px}.catalog-search{border:1.5px solid #2a271d;border-radius:14px;background:#fff;padding:8px 12px;display:flex;align-items:center;gap:10px}.catalog-search span{color:#2a271d;font-size:24px;line-height:1}.catalog-search input{border:0;box-shadow:none;border-radius:0;padding:0;font-size:16px;color:#2e2a21}.catalog-search input:focus{box-shadow:none}.catalog-autocomplete{position:relative}.catalog-list{border:1px solid #e2d9c6;border-radius:16px;overflow:hidden;background:#fff;max-height:430px;overflow-y:auto}.catalog-autocomplete-list{margin-top:8px;border:1px solid #e2d9c6;border-radius:16px;overflow:hidden;background:#fffdf8;box-shadow:0 14px 28px #14110c24;max-height:280px;overflow-y:auto}.catalog-row{width:100%;border-bottom:1px solid #e6ddcc;background:#fff;padding:14px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.catalog-row:last-child{border-bottom:0}.catalog-row.compact{padding:10px 14px}.catalog-row-meta{display:grid;gap:7px;flex:1;min-width:0}.catalog-row-text{display:grid;gap:3px}.catalog-row-text strong{font-size:16px;line-height:1.25}.catalog-row-text small{font-size:12px;color:#6b6457}.catalog-row-price{font-size:12px;color:#4d7f72;font-weight:700}.catalog-rate-note{font-size:12px;color:#756f61}.catalog-checkbox{width:24px;height:24px;accent-color:#1f8f76;margin-top:6px}.catalog-submit-btn{min-width:250px;padding:12px 18px;border-radius:999px;font-size:17px;font-weight:700}.catalog-submit-btn:disabled{background:#ece8df;color:#b1a898;border:1px solid #e1d9c9;box-shadow:none}.catalog-selected-block{display:grid;gap:8px}.catalog-selected-block h4{margin:0;font-size:13px;color:#5a5549}.catalog-list.selected-list{max-height:220px}.catalog-row.selected{align-items:center}.product-wizard-modal{width:min(1040px,95vw);max-height:min(900px,92vh);border-radius:20px}.product-wizard-modal .modal-head{min-height:68px}.product-wizard-footer{width:100%;display:flex;justify-content:space-between;gap:10px}.product-wizard-steps{display:flex;gap:8px}.product-step{border:1px solid var(--line);background:#fff;color:#5c5548;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700}.product-step.active{border-color:#1f8f76;background:#e9f7f2;color:#135f4d}.product-step:disabled{opacity:.55;cursor:not-allowed}.product-step-shell{display:grid;gap:12px}.product-category-hint{border:1px solid #dfe9dc;border-radius:11px;background:#f3fbf8;color:#244c40;font-size:12px;padding:8px 10px}.product-category-hint strong{font-size:13px;margin-left:5px}.product-category-shell{border:1px solid #e4dccb;border-radius:14px;background:#fffdf8;max-height:380px;overflow:auto;padding:8px}.product-category-tree-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.product-category-tree-item{display:grid;gap:6px}.product-category-row{width:100%;border:1px solid #e8dfce;border-radius:10px;background:#fff;display:flex;align-items:center;gap:8px;justify-content:space-between;padding:9px 10px;text-align:left}.product-category-row:hover{border-color:#d7cab0;background:#fcf8ef}.product-category-row.selected{border-color:#1f8f76;background:#eaf8f3}.product-category-row.inactive{opacity:.6;cursor:not-allowed}.product-category-expand{width:18px;color:#716958;flex:0 0 auto}.product-category-label{font-size:13px;font-weight:600;color:#262319;margin-right:auto}.product-selected-path{border:1px solid #dfe7d8;border-radius:12px;padding:10px 11px;background:#f6fbf4;display:grid;gap:4px}.product-selected-path span{font-size:11px;color:#56614e;text-transform:uppercase;letter-spacing:.08em}.product-selected-path strong{font-size:14px}.product-accordion-layout{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}.product-accordion-card{border:1px solid #ddd3bf;border-radius:18px;background:linear-gradient(180deg,#fffdfa,#fff);box-shadow:0 12px 30px #4d432c0f;overflow:hidden}.product-accordion-card.expanded{overflow:visible}.product-accordion-card-primary,.product-accordion-card-secondary{grid-column:1}.product-accordion-toggle{width:100%;border:0;background:linear-gradient(180deg,#f8f1e3,#f4ead8);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;text-align:left}.product-accordion-toggle.expanded{border-bottom:1px solid #e6d7ba}.product-accordion-title{font-size:16px;font-weight:700;color:#2d2518}.product-accordion-icon{width:34px;height:34px;border:1px solid #cfbea0;border-radius:11px;background:#fffdf7eb;color:#4a3f2d;display:inline-grid;place-items:center;font-size:20px;line-height:1;flex:0 0 auto}.product-accordion-body{padding:18px;background:linear-gradient(180deg,#fff,#fffdf8)}.supplier-modal .product-accordion-card.expanded{position:relative;z-index:4}.supplier-modal .product-accordion-card.expanded .product-accordion-body{overflow:visible}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.product-form-field{display:grid;gap:6px;min-width:0}.product-form-field label{font-size:13px;font-weight:700;color:#474033}.product-subpanel{border:1px solid #e5dcc9;border-radius:16px;background:linear-gradient(180deg,#fff,#fcf8ef);padding:14px;display:grid;gap:14px}.product-subpanel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.product-subpanel-head h4{margin:0;font-size:15px;color:#241f15}.product-subpanel-head span{font-size:12px;color:#6d6557;border:1px solid #ddd2bc;border-radius:999px;padding:6px 10px;background:#fffc}.product-subpanel-grid{display:grid;gap:14px}.product-tabs{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid var(--line)}.product-tab-btn{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:0 0 12px;font-size:14px;font-weight:600}.product-tab-btn.active{border-color:var(--ui-blue);color:var(--ui-blue);font-weight:700}.product-tab-btn:disabled{opacity:.5;cursor:not-allowed}.product-tab-grid{display:grid;gap:8px 10px}.product-category-path{min-height:48px;border:1px solid #d9d2c2;border-radius:14px;padding:11px 13px;display:flex;align-items:center;background:#fff}.product-image-upload-modern{border:1px solid #ddd3bf;border-radius:12px;background:linear-gradient(180deg,#fff,#fcf8ef);padding:10px;display:grid;gap:8px}.product-image-file-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.product-image-upload-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-upload-trigger{border-color:#cfbea1;background:#fff;color:#403a2e;font-weight:700}.product-upload-trigger:hover{background:#faf2e4}.product-image-view-btn{width:36px;height:36px;border:1px solid #cfbea1;border-radius:10px;background:#fff;color:#2e5f53;font-size:16px;line-height:1;display:inline-grid;place-items:center}.product-image-view-btn:hover:not(:disabled){background:#eef8f4;border-color:#9dd0c1}.product-image-view-btn:disabled{opacity:.45;cursor:not-allowed}.product-image-upload-meta{display:grid;gap:2px}.product-image-upload-meta strong{font-size:12px;color:#332f27}.product-image-upload-meta small{font-size:11px;color:#6c6456}.product-image-viewer-modal{width:min(760px,90vw)}.product-image-viewer-shell{border:1px solid #e2dbc9;border-radius:12px;background:#fff;padding:12px;min-height:280px;display:grid;place-items:center}.product-image-viewer-shell img{max-width:100%;max-height:65vh;object-fit:contain}.product-margin-badge{border-radius:12px;border:1px solid #ddd4c2;background:#faf8f3;padding:10px 12px;font-weight:700}.product-margin-badge.success{border-color:#c5e8dd;background:#e8f8f2;color:#155f4d}.product-margin-badge.neutral{border-color:#ddd6c8;background:#f6f3ec;color:#5e574b}.product-margin-badge.danger{border-color:#efc7c7;background:#fdeeee;color:#8b2727}.product-pricing-tab{display:grid;gap:14px}.product-price-list-card{border:1px solid #dfd7c8;border-radius:14px;background:linear-gradient(180deg,#fff,#fcfaf4);padding:12px;display:grid;gap:10px}.product-price-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.product-price-list-head h4{margin:0 0 3px;font-size:15px}.product-price-list-head p{margin:0;color:#6a6254;font-size:12px;line-height:1.35}.product-price-list-grid{display:grid;gap:10px}.product-price-rule-row{border:1px solid #e2dbc9;border-radius:12px;background:#fff;padding:10px;display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(140px,1fr) minmax(120px,.9fr) auto;gap:10px;align-items:end}.product-price-rule-field{display:grid;gap:5px}.product-price-rule-field label{font-size:11px;font-weight:700;color:#514a3e}.product-price-rule-field.customer{min-width:0}.product-price-rule-field.customer select{width:100%}.product-price-rule-hint{color:#7c7362;font-size:11px;min-height:14px}.product-price-rule-actions{display:flex;align-items:center;justify-content:flex-end}.product-history-card{border:1px solid #dfd7c8;border-radius:12px;background:#fbf8f1;padding:10px 11px;display:grid;gap:6px;min-height:88px}.product-history-card p{font-size:12px;color:#5f584b;margin:0}.product-full-span{grid-column:1 / -1}.agenda-page{padding:0;overflow:hidden}.agenda-shell{display:grid;gap:0;min-height:calc(100vh - 130px)}.agenda-topbar{border-bottom:1px solid #e6dece;background:linear-gradient(180deg,#fff,#faf7f1);padding:14px 16px;display:grid;grid-template-columns:auto auto minmax(160px,1fr) minmax(220px,320px);gap:12px;align-items:center}.agenda-title-wrap{display:inline-flex;align-items:center;gap:10px}.agenda-title-wrap h2{font-size:36px;line-height:1}.agenda-logo{width:40px;height:40px;border-radius:12px;background:#ecf6f2;display:inline-grid;place-items:center;font-size:20px}.agenda-controls{display:inline-flex;align-items:center;gap:8px}.agenda-controls .btn{padding:9px 13px}.agenda-period{font-size:34px;font-family:var(--title-font);font-weight:800;color:var(--ui-blue)}.agenda-search{justify-self:end;width:100%;max-width:320px}.agenda-layout{min-height:0;display:grid;grid-template-columns:276px minmax(0,1fr)}.agenda-sidebar-panel{border-right:1px solid #e6ddcc;background:#f7f5ef;padding:14px;display:grid;align-content:start;gap:14px}.agenda-create-btn{justify-self:start;min-width:130px}.agenda-create-wrap{position:relative;display:inline-grid;align-content:start}.agenda-create-caret{font-size:11px;margin-left:3px}.agenda-create-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:8;min-width:220px;border:1px solid #d8cfbd;border-radius:14px;background:#fff;box-shadow:0 18px 42px #1c180f29;padding:6px;display:grid;gap:3px;animation:pop-in .18s ease both}.agenda-create-menu button{border:0;border-radius:10px;background:#fff;color:#2e2a1f;font-size:14px;text-align:left;padding:9px 10px}.agenda-create-menu button:hover{background:#f3f0e9}.agenda-mini-calendar{border:1px solid #ddd5c5;border-radius:14px;background:#fff;padding:10px;display:grid;gap:10px}.agenda-mini-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.agenda-mini-head strong{font-size:18px;font-family:var(--title-font);font-weight:800}.agenda-mini-nav{display:inline-flex;gap:4px}.agenda-mini-nav button{width:28px;height:28px;border:1px solid #dacfb9;border-radius:8px;background:#fff;color:#50483b}.agenda-mini-weekdays,.agenda-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.agenda-mini-weekdays span{text-align:center;font-size:11px;font-weight:700;color:#7a7261}.agenda-mini-day{border:1px solid transparent;border-radius:8px;background:transparent;color:#393428;height:28px;font-size:12px}.agenda-mini-day.outside{color:#b3aa9a}.agenda-mini-day.today{border-color:#7cc3af;background:#eef9f5;color:#175b4a;font-weight:700}.agenda-mini-day.selected{border-color:#2b65c9;background:#2f6dd8;color:#fff;font-weight:700}.agenda-legend{border:1px solid #ddd5c5;border-radius:14px;background:#fff;padding:10px;display:grid;gap:6px}.agenda-legend-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.agenda-legend h4{font-size:14px;font-weight:800}.agenda-legend p{display:flex;align-items:center;gap:8px;font-size:12px;color:#5f584b}.agenda-legend .dot{width:10px;height:10px;border-radius:50%;display:inline-block}.agenda-empty-hint{font-size:12px;color:#7a7263;margin:0}.agenda-week-board{min-width:0;display:grid;grid-template-rows:auto 1fr;background:#fff}.agenda-week-head{display:grid;grid-template-columns:72px repeat(7,minmax(140px,1fr));border-bottom:1px solid #e5dccb;background:#fff}.agenda-time-zone{font-size:12px;color:#6b6456;display:flex;align-items:center;justify-content:center;border-right:1px solid #ece4d4}.agenda-day-head{min-height:76px;padding:8px 10px;border-right:1px solid #ece4d4;display:grid;align-content:center;gap:3px;color:#5a5448}.agenda-day-head span{font-size:12px;font-weight:700;letter-spacing:.05em}.agenda-day-head strong{font-size:40px;line-height:1;font-weight:500}.agenda-day-head.today{color:#205fc5;background:#eef4ff}.agenda-week-grid{min-height:0;overflow:auto}.agenda-hour-row{display:grid;grid-template-columns:72px repeat(7,minmax(140px,1fr))}.agenda-hour-label{min-height:68px;border-right:1px solid #ece4d4;border-bottom:1px solid #ece4d4;font-size:12px;color:#756d5e;padding:6px 8px;display:flex;align-items:flex-start;justify-content:flex-end}.agenda-day-cell{min-height:68px;border-right:1px solid #ece4d4;border-bottom:1px solid #ece4d4;padding:4px;display:grid;gap:3px;align-content:start;background:#fff}.agenda-event{width:100%;border:0;border-radius:8px;text-align:left;padding:5px 6px;display:grid;gap:1px;color:#2f2a1f;box-shadow:inset 0 0 0 1px #00000012}.agenda-event strong{font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agenda-event small{font-size:10px;color:#544d40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agenda-event.sale-invoice{background:#dff0ff}.agenda-event.purchase-invoice{background:#ece6ff}.agenda-event.quote{background:#dff5e7}.agenda-event.order{background:#fff0d9}.agenda-event.neutral{background:#efede6}.agenda-more{font-size:10px;color:#70685a;padding:0 3px}.agenda-modal-actions{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}.agenda-category-list{border:1px solid #ddd5c5;border-radius:12px;background:#fff;overflow:hidden}.agenda-category-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #ece5d6}.agenda-category-item:last-child{border-bottom:0}.agenda-category-item strong{font-size:14px}.agenda-category-item small{font-size:11px;color:#72695a}.fade-up{animation:fade-up .36s ease both}.fade-in{animation:fade-in .28s ease both}.delay-1{animation-delay:90ms}@keyframes fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes pop-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes external-import-scan-line{0%{top:16%;opacity:.85}50%{opacity:1}to{top:84%;opacity:.8}}@keyframes external-import-document-float{0%,to{transform:rotate(-13deg) translateY(0)}50%{transform:rotate(-11deg) translateY(-8px)}}@keyframes external-import-progress{0%{transform:translate(-12%);width:26%}50%{transform:translate(118%);width:42%}to{transform:translate(-12%);width:26%}}@keyframes external-import-ring-pulse{0%{transform:scale(.9);opacity:.75}to{transform:scale(1.12);opacity:0}}@keyframes external-import-dot-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.22)}}@keyframes external-import-chip-drift{0%,to{transform:translateY(0);opacity:.76}50%{transform:translateY(-8px);opacity:1}}@keyframes external-import-glint{0%,to{transform:translate(-24%);opacity:0}18%{opacity:.85}42%{transform:translate(36%);opacity:0}}@keyframes purchase-batch-scan{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 1280px){.app-shell{grid-template-columns:292px minmax(0,1fr);gap:8px}.builder-layout{grid-template-columns:1fr}.builder-preview-panel{position:static}.validated-status-grid{grid-template-columns:1fr}.validated-status-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.validated-pdf-frame{min-height:760px;height:78vh}.validated-inline-frame{min-height:640px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-upload-shell{grid-template-columns:1fr}.dss-upload-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-upload-summary-list{grid-template-columns:1fr}.agenda-topbar{grid-template-columns:1fr;align-items:stretch}.agenda-search{max-width:none;justify-self:stretch}.agenda-layout{grid-template-columns:232px minmax(0,1fr)}}@media (max-width: 860px){.app-shell{grid-template-columns:1fr;gap:0}.app-sidebar{position:static;height:auto;border-right:1px solid rgba(223,216,200,.7);border-bottom:0;margin:10px 10px 0;padding:12px 10px;overflow:visible}.sidebar-brand{margin-bottom:9px}.sidebar-brand-logo{max-width:168px;height:58px;padding:6px}.sidebar-brand-company-name{font-size:18px}.sidebar-group{margin-bottom:8px}.sidebar-group-title{font-size:12px;line-height:1.2;font-weight:700;margin-top:3px;margin-bottom:4px}.sidebar-link,.sidebar-disclosure{font-size:14px;border-radius:12px;padding:8px 9px}.sidebar-link.sub-item{font-size:13px;padding:6px 10px}.sidebar-submenu{padding:3px 2px 2px 8px;margin-left:10px}.app-main{padding:14px}.sidebar-quicknav-results{position:static;inset:auto;margin-top:8px}.builder-shell{padding:10px}.builder-header{flex-direction:column;align-items:stretch}.builder-header-left h2{font-size:22px}.builder-header-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.validated-panel-head{flex-direction:column}.validated-status-details-grid{grid-template-columns:1fr}.validated-pdf-frame{min-height:520px;height:68vh}.validated-inline-frame{min-height:460px}.external-import-overlay{padding:14px}.external-import-card{padding:18px;border-radius:24px}.external-import-card:before{top:12px;right:12px;bottom:12px;left:12px;border-radius:18px}.external-import-head{grid-template-columns:1fr;justify-items:center;text-align:center}.external-import-logo{max-width:132px}.external-import-head h3{font-size:26px}.external-import-monitor{min-height:230px}.external-import-document{width:150px;left:4%;bottom:16%}.external-import-data-stream{left:30%;right:10%;bottom:24%;gap:8px}.external-import-cloud{width:112px;height:112px;right:4%;top:18%}.external-import-cloud-core{width:64px;height:64px}.external-import-progress{width:100%}.builder-metrics,.split-row{grid-template-columns:1fr}.settings-subheader{flex-direction:column;align-items:stretch}.tej-mapping-row{grid-template-columns:1fr}.tej-mapping-head{display:none}.invoice-toolbar{grid-template-columns:1fr}.entity-header-actions{width:100%;justify-content:flex-end}.purchase-import-batch-head{flex-direction:column}.purchase-import-batch-progress,.purchase-import-batch-stats,.accounting-toolbar,.accounting-filter-grid{grid-template-columns:1fr}.accounting-entry-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.tej-filter-panel{min-width:0}.tej-filter-block{align-items:flex-start}.tej-filter-block>label{min-width:0}.category-filters{grid-template-columns:1fr}.category-row{align-items:flex-start;flex-direction:column}.category-row-meta{justify-content:flex-start}.category-inline-form,.category-edit-wrap{grid-template-columns:1fr}.period-filter{flex-wrap:wrap}.period-filter input{min-width:0;flex:1}.vision-filter-toolbar{flex-direction:column;align-items:stretch}.date-range-bar{padding:14px;border-radius:22px}.date-range-bar-summary{min-width:0;font-size:15px}.date-range-bar-controls{width:100%;justify-content:flex-start}.date-range-bar-pills{width:100%}.date-range-bar-pill{flex:1 1 110px;justify-content:center}.date-range-bar-custom{grid-template-columns:1fr}.external-import-meta{align-items:stretch}.external-import-steps{gap:8px}.tej-batch-panel{flex-direction:column;align-items:stretch}.tej-batch-fields{width:100%}.tej-batch-fields select,.tej-batch-fields input{min-width:0;flex:1}.sheet-client,.sheet-footer{grid-template-columns:1fr}.discount-card-head{flex-direction:column;align-items:stretch}.discount-rate-input input{width:100%}.discount-card-grid,.kpi-grid,.dss-upload-kpis,.two-cols-grid,.three-cols-grid,.customer-address-grid,.customer-bank-grid,.invoice-payments-summary,.signature-confirmation-grid,.signature-precheck-kpis{grid-template-columns:1fr}.client-inline-actions{flex-direction:column}.client-combobox-menu{position:static;margin-top:6px}.customer-modal .modal-head{padding:12px 14px;min-height:64px}.customer-modal .modal-body{padding:16px}.customer-modal .modal-foot{padding:12px 16px}.customer-title{font-size:17px}.customer-submit-btn{width:100%;min-width:0;font-size:16px}.data-table{min-width:640px}.agenda-layout{grid-template-columns:1fr}.agenda-sidebar-panel{border-right:0;border-bottom:1px solid #e6ddcc}.agenda-week-head,.agenda-hour-row{grid-template-columns:62px repeat(7,minmax(130px,1fr))}.agenda-day-head strong{font-size:30px}.pagination-shell{flex-direction:column;align-items:stretch}.pagination-controls{justify-content:space-between;flex-wrap:wrap}.catalog-modal .modal-head{padding:12px 14px;min-height:64px}.catalog-modal .modal-body{padding:16px}.catalog-modal .modal-foot{padding:12px 16px}.catalog-title{font-size:17px}.catalog-search{padding:8px 10px}.catalog-search span{font-size:28px}.catalog-search input{font-size:16px}.catalog-row{padding:12px}.catalog-row-text strong{font-size:15px}.catalog-submit-btn{width:100%;min-width:0;font-size:16px}.product-wizard-modal{width:min(96vw,900px)}.product-wizard-footer{flex-direction:column}.product-accordion-layout{grid-template-columns:1fr}.product-accordion-card-primary,.product-accordion-card-secondary{grid-column:1}.product-form-grid{grid-template-columns:1fr}.product-price-rule-row{grid-template-columns:1fr;align-items:stretch}.product-price-rule-actions{justify-content:flex-start}.product-category-row{flex-wrap:wrap}}.app-root{background:var(--bg)}.app-shell{min-height:100vh;display:grid;grid-template-columns:320px minmax(0,1fr);gap:0;background:var(--bg)}.app-workspace{min-width:0;min-height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr);background:var(--bg)}.app-sidebar{background:var(--ui-blue);color:#fff;border:0;border-radius:0;box-shadow:none;margin:0;padding:0;position:sticky;top:0;height:100vh;gap:0}.sidebar-brand-wrap{padding:18px 22px 16px}.sidebar-app-logo{width:122px;max-width:100%;height:auto;display:block}.sidebar-company-switcher{padding:0 20px 20px;display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:10px}.sidebar-company-selector{position:relative;display:block}.sidebar-company-selector select{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:48px;padding:0 40px 0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:#fff;color:var(--ink);font-size:15px;font-weight:700}.sidebar-company-caret{position:absolute;right:14px;top:50%;width:16px;height:16px;color:#66717e;transform:translateY(-50%);pointer-events:none;display:inline-grid;place-items:center}.sidebar-company-caret svg{width:16px;height:16px}.sidebar-company-add{border:0;border-radius:10px;background:var(--ui-orange);color:#fff;box-shadow:0 10px 22px #e8610a47;display:inline-grid;place-items:center;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.sidebar-company-add:hover,.sidebar-help-cta:hover{background:var(--ui-orange-dark);box-shadow:0 12px 24px #e8610a4d}.sidebar-main{flex:1;overflow-y:auto;padding:8px 12px 16px}.sidebar-group{display:grid;gap:4px;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-group:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.sidebar-link,.sidebar-disclosure{min-height:46px;padding:10px 14px;border-radius:12px;color:#ffffffeb;font-size:15px;font-weight:600}.sidebar-link:before,.sidebar-disclosure:before{left:0;top:10px;bottom:10px;width:4px;background:var(--ui-orange)}.sidebar-link:hover,.sidebar-disclosure:hover{background:#ffffff14;color:#fff;transform:none}.sidebar-link.active,.sidebar-disclosure.active{background:#ffffff24;color:#fff;box-shadow:inset 0 0 0 1px #ffffff14}.sidebar-icon{color:#fff}.sidebar-submenu{margin:4px 0 0 16px;padding:6px 0 0 12px;border-left:1px solid rgba(255,255,255,.14)}.sidebar-link.sub-item{min-height:38px;padding:7px 12px;font-size:14px;font-weight:500}.sidebar-chevron{color:#ffffffb8}.sidebar-badge{border-color:#fff3;background:#ffffff1f;color:#fff}.sidebar-dot-badge{background:#3ec2ff;box-shadow:0 0 0 4px #3ec2ff24}.sidebar-footer{padding:16px 20px 18px;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:14px}.sidebar-help-cta{width:100%;min-height:46px;border:0;border-radius:10px;background:var(--ui-orange);color:#fff;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.sidebar-legal{display:grid;gap:6px;color:#ffffffa8}.sidebar-legal p{font-size:12px}.sidebar-legal-links{display:flex;flex-wrap:wrap;gap:6px 12px}.sidebar-legal-links a{font-size:12px;color:#ffffffb3;text-decoration:underline;text-underline-offset:2px}.app-topbar{min-height:78px;border-bottom:1px solid var(--line);background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:16px 32px;position:sticky;top:0;z-index:20}.app-topbar-search{position:relative;width:min(650px,100%);justify-self:center}.topbar-search-field{min-height:50px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;padding:0 16px;box-shadow:0 2px 8px #1c2f4d08}.topbar-search-field.open{border-color:#1c2f4d2e;box-shadow:0 10px 24px #1c2f4d14}.topbar-search-icon{width:18px;height:18px;color:#97a0ab;display:inline-grid;place-items:center}.topbar-search-icon svg{width:18px;height:18px}.topbar-search-field input{min-height:0;border:0;background:transparent;box-shadow:none;padding:0 0 0 12px;font-size:15px}.topbar-search-field input:focus{border:0;box-shadow:none}.topbar-search-field input::placeholder{color:#9ca5b1}.topbar-search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:50;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 36px #1c2f4d1a;padding:8px;display:grid;gap:4px}.topbar-search-item{width:100%;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;padding:10px 12px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:center}.topbar-search-item:hover{background:#f7f8fc}.topbar-search-item .sidebar-icon{color:var(--ui-orange)}.topbar-search-item-text{min-width:0;display:grid;gap:2px}.topbar-search-item-text strong{font-size:14px;font-weight:700;color:var(--ink)}.topbar-search-item-text small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-search-empty{margin:0;padding:12px 14px;font-size:13px;color:var(--muted)}.app-topbar-controls{display:flex;align-items:center;justify-self:end;gap:12px}.topbar-icon-button,.topbar-language-button,.topbar-profile-button{min-height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ui-blue);display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative}.topbar-icon-button{width:46px;padding:0}.topbar-language-button,.topbar-profile-button{padding:0 14px}.topbar-icon-button svg,.topbar-language-button svg,.topbar-profile-button svg{width:20px;height:20px}.topbar-badge{position:absolute;top:7px;right:6px;min-width:18px;height:18px;border-radius:999px;background:#38bdf8;color:#fff;font-size:10px;font-weight:700;display:inline-grid;place-items:center;padding:0 4px}.topbar-profile{position:relative}.topbar-profile-panel{position:absolute;top:calc(100% + 10px);right:0;width:min(300px,88vw);border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 36px #1c2f4d1f;padding:16px;display:grid;gap:10px;z-index:60}.topbar-profile-name{font-size:16px;font-weight:800;color:var(--ink)}.topbar-profile-role,.topbar-profile-company{font-size:13px;color:var(--muted)}.topbar-profile-meta{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:#f7f8fc;color:var(--muted);font-size:12px}.topbar-profile-meta strong{color:var(--ink);font-size:13px}.topbar-logout{justify-content:center}.app-main{padding:24px 28px 28px;overflow:auto;background:var(--bg)}.settings-panel-head{display:none}.settings-page-banner,.settings-inline-notice{border:1px solid #f5df90;border-radius:10px;background:#fff7d7;color:#7c6a28}.settings-form-grid{gap:14px 42px}.settings-subheader{align-items:center}.settings-page .product-subpanel{border-radius:16px;box-shadow:none}@media (max-width: 1280px){.app-shell{grid-template-columns:292px minmax(0,1fr)}.app-topbar{padding-inline:24px}}@media (max-width: 1024px){.app-topbar{grid-template-columns:1fr}.app-topbar-search{width:100%;justify-self:stretch}.app-topbar-controls{justify-self:stretch;justify-content:flex-end}}@media (max-width: 860px){.app-shell{grid-template-columns:1fr}.app-sidebar{position:static;height:auto}.sidebar-brand-wrap{padding-bottom:14px}.sidebar-company-switcher{padding-bottom:16px}.sidebar-main{padding-top:4px}.app-topbar{padding:16px 18px;gap:16px}.app-main{padding:18px}.settings-tab-button{padding-bottom:10px}}@media (max-width: 640px){.app-topbar-controls{flex-wrap:wrap;justify-content:flex-start}.sidebar-footer{padding-top:14px}.settings-shell{padding:16px}}.app-root:not(.is-builder){--fat-bg: #fbfaf8;--fat-surface: #ffffff;--fat-surface-soft: #f7f5f1;--fat-border: #e6e1d8;--fat-border-strong: #d9d2c7;--fat-text: #20242c;--fat-muted: #737a86;--fat-faint: #a1a7b2;--fat-accent: #3b50ce;--fat-accent-strong: #3146c4;--fat-accent-soft: rgba(59, 80, 206, .09);--fat-green: #0f9d5c;--fat-green-soft: rgba(15, 157, 92, .11);--fat-red: #e11d48;--fat-red-soft: rgba(225, 29, 72, .11);--fat-amber: #d48a00;--fat-amber-soft: rgba(212, 138, 0, .12);background:var(--fat-bg);color:var(--fat-text)}.app-root:not(.is-builder),.app-root:not(.is-builder) button,.app-root:not(.is-builder) input,.app-root:not(.is-builder) select,.app-root:not(.is-builder) textarea{font-family:Geist,Inter,sans-serif}.app-root:not(.is-builder) .app-shell{min-height:100vh;grid-template-columns:286px minmax(0,1fr);background:var(--fat-bg)}.app-root:not(.is-builder) .app-sidebar{background:var(--fat-surface);border-right:1px solid var(--fat-border);color:var(--fat-text);box-shadow:none}.app-root.is-tej-rules-workspace .app-shell,.app-root.is-tej-rules-workspace .app-shell.is-tej-rules-workspace{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.app-root.is-tej-rules-workspace .app-sidebar{display:none}.app-root.is-tej-rules-workspace .app-main{padding-left:20px}.app-root:not(.is-builder) .sidebar-brand-wrap{display:flex;align-items:center;gap:12px;padding:18px 18px 16px;border-bottom:1px solid var(--fat-border)}.app-root:not(.is-builder) .sidebar-brand-mark{width:36px;height:36px;border-radius:10px;background:var(--fat-accent);color:#fff;display:inline-grid;place-items:center;font-size:18px;font-weight:700;letter-spacing:-.04em}.app-root:not(.is-builder) .sidebar-brand-copy{display:grid;gap:1px}.app-root:not(.is-builder) .sidebar-brand-copy strong{font-size:14px;font-weight:700;color:var(--fat-text)}.app-root:not(.is-builder) .sidebar-brand-copy span{font-size:11px;color:var(--fat-muted)}.app-root:not(.is-builder) .sidebar-company-switcher{padding:12px 16px 0}.app-root:not(.is-builder) .sidebar-company-selector{position:relative;min-height:64px;border:1px solid var(--fat-border);border-radius:12px;background:var(--fat-surface);display:grid;grid-template-columns:28px minmax(0,1fr) 14px;gap:10px;align-items:center;padding:10px 12px}.app-root:not(.is-builder) .sidebar-company-selector select{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;min-height:0}.app-root:not(.is-builder) .sidebar-company-avatar{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#0f7ad9,#16a0e4);color:#fff;display:inline-grid;place-items:center;font-size:12px;font-weight:700}.app-root:not(.is-builder) .sidebar-company-meta{min-width:0;display:grid}.app-root:not(.is-builder) .sidebar-company-meta strong{font-size:13px;font-weight:600;color:var(--fat-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-root:not(.is-builder) .sidebar-company-meta small{font-size:11px;color:var(--fat-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-root:not(.is-builder) .sidebar-company-caret{position:static;transform:none;color:var(--fat-muted)}.app-root:not(.is-builder) .sidebar-quick-search{position:relative;padding:10px 16px 12px}.app-root:not(.is-builder) .sidebar-quick-search-field{min-height:42px;border:1px solid var(--fat-border);border-radius:12px;background:var(--fat-surface);display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--fat-muted)}.app-root:not(.is-builder) .sidebar-quick-search-field.open{border-color:#3b50ce47;box-shadow:0 10px 22px #3b50ce14}.app-root:not(.is-builder) .sidebar-quick-search-field input{min-height:0;border:0;padding:0;background:transparent;box-shadow:none;color:var(--fat-text);font-size:13px}.app-root:not(.is-builder) .sidebar-quick-search-field input:focus{border:0;box-shadow:none}.app-root:not(.is-builder) .sidebar-quick-search-field input::placeholder{color:var(--fat-faint)}.app-root:not(.is-builder) .sidebar-quick-search-field kbd{margin-left:auto;padding:1px 6px;border:1px solid var(--fat-border);border-radius:6px;background:var(--fat-surface-soft);color:var(--fat-muted);font-size:10px;font-family:Geist,Inter,sans-serif}.app-root:not(.is-builder) .sidebar-quick-search-icon{color:var(--fat-faint);display:inline-grid;place-items:center}.app-root:not(.is-builder) .sidebar-quick-search-results{position:absolute;inset:calc(100% - 2px) 16px auto;z-index:60;border:1px solid var(--fat-border);border-radius:14px;background:var(--fat-surface);box-shadow:0 18px 32px #121a2d14;padding:8px;display:grid;gap:4px}.app-root:not(.is-builder) .sidebar-quick-search-item{width:100%;border:0;background:transparent;border-radius:10px;padding:8px 10px;display:grid;grid-template-columns:16px minmax(0,1fr);gap:10px;align-items:center;text-align:left}.app-root:not(.is-builder) .sidebar-quick-search-item:hover{background:var(--fat-surface-soft)}.app-root:not(.is-builder) .sidebar-quick-search-item .sidebar-icon{color:var(--fat-accent)}.app-root:not(.is-builder) .sidebar-quick-search-item-text{min-width:0;display:grid;gap:2px}.app-root:not(.is-builder) .sidebar-quick-search-item-text strong{font-size:13px;font-weight:600;color:var(--fat-text)}.app-root:not(.is-builder) .sidebar-quick-search-item-text small,.app-root:not(.is-builder) .sidebar-quick-search-empty{font-size:11px;color:var(--fat-muted)}.app-root:not(.is-builder) .sidebar-main{padding:6px 10px 12px}.app-root:not(.is-builder) .sidebar-section-label{padding:12px 10px 6px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--fat-faint)}.app-root:not(.is-builder) .sidebar-group{gap:2px;margin-bottom:8px;padding-bottom:0;border-bottom:0}.app-root:not(.is-builder) .sidebar-link,.app-root:not(.is-builder) .sidebar-disclosure{min-height:40px;padding:8px 10px;border-radius:10px;color:#4f5765;font-size:13px;font-weight:500}.app-root:not(.is-builder) .sidebar-link:hover,.app-root:not(.is-builder) .sidebar-disclosure:hover{background:var(--fat-surface-soft);color:var(--fat-text)}.app-root:not(.is-builder) .sidebar-link.active,.app-root:not(.is-builder) .sidebar-disclosure.active{background:var(--fat-accent-soft);color:var(--fat-text);box-shadow:none}.app-root:not(.is-builder) .sidebar-link:before,.app-root:not(.is-builder) .sidebar-disclosure:before{left:-10px;top:7px;bottom:7px;width:3px;background:var(--fat-accent)}.app-root:not(.is-builder) .sidebar-icon,.app-root:not(.is-builder) .sidebar-chevron{color:#606874}.app-root:not(.is-builder) .sidebar-link.active .sidebar-icon,.app-root:not(.is-builder) .sidebar-disclosure.active .sidebar-icon{color:var(--fat-accent)}.app-root:not(.is-builder) .sidebar-submenu{margin:2px 0 0 28px;padding:2px 0 0 8px;border-left:1px solid var(--fat-border)}.app-root:not(.is-builder) .sidebar-link.sub-item{min-height:34px;padding:6px 8px;font-size:12.5px;color:#68707c}.app-root:not(.is-builder) .sidebar-footer{padding:12px 16px 16px;border-top:1px solid var(--fat-border);gap:10px}.app-root:not(.is-builder) .sidebar-help-cta{min-height:36px;justify-content:flex-start;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--fat-muted);font-size:12.5px;font-weight:500;box-shadow:none}.app-root:not(.is-builder) .sidebar-help-cta:hover{background:var(--fat-surface-soft);color:var(--fat-text);box-shadow:none}.app-root:not(.is-builder) .sidebar-legal,.app-root:not(.is-builder) .sidebar-legal-links a{color:var(--fat-faint)}.app-root:not(.is-builder) .app-workspace,.app-root:not(.is-builder) .app-main{background:var(--fat-bg)}.app-root:not(.is-builder) .app-topbar{min-height:56px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:0 18px;border-bottom:1px solid var(--fat-border);background:var(--fat-surface);position:sticky;top:0;z-index:20}.app-root:not(.is-builder) .app-topbar-breadcrumbs{display:flex;align-items:center;gap:6px;min-width:0;color:var(--fat-muted);font-size:12px}.app-root:not(.is-builder) .topbar-crumb{display:inline-flex;align-items:center;gap:6px;min-width:0}.app-root:not(.is-builder) .topbar-crumb.is-current{color:var(--fat-text);font-weight:500}.app-root:not(.is-builder) .topbar-crumb-separator{color:#c0c5cd}.app-root:not(.is-builder) .app-topbar-controls{gap:10px}.app-root:not(.is-builder) .topbar-language-segment{display:inline-flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--fat-border);border-radius:10px;background:var(--fat-surface)}.app-root:not(.is-builder) .topbar-language-chip{min-width:36px;height:30px;border:0;border-radius:8px;background:transparent;color:#59616d;font-size:12px;font-weight:500}.app-root:not(.is-builder) .topbar-language-chip.active{background:var(--fat-surface-soft);color:var(--fat-text)}.app-root:not(.is-builder) .topbar-icon-button{width:32px;height:32px;min-height:32px;border:0;border-radius:8px;background:transparent;color:var(--fat-muted);padding:0}.app-root:not(.is-builder) .topbar-icon-button:hover,.app-root:not(.is-builder) .topbar-profile-button:hover{background:var(--fat-surface-soft);color:var(--fat-text)}.app-root:not(.is-builder) .topbar-badge{top:4px;right:3px;min-width:8px;width:8px;height:8px;padding:0;background:var(--fat-red);font-size:0}.app-root:not(.is-builder) .topbar-profile-button{min-width:32px;height:32px;min-height:32px;border:0;border-radius:999px;background:transparent;padding:0}.app-root:not(.is-builder) .topbar-profile-avatar{width:32px;height:32px;border-radius:999px;background:#eceffa;color:var(--fat-accent);display:inline-grid;place-items:center;font-size:12px;font-weight:700}.app-root:not(.is-builder) .topbar-profile-panel{top:calc(100% + 8px);border:1px solid var(--fat-border);border-radius:14px;box-shadow:0 18px 36px #121a2d14;padding:14px}.app-root:not(.is-builder) .topbar-profile-name{font-size:14px}.app-root:not(.is-builder) .topbar-profile-role,.app-root:not(.is-builder) .topbar-profile-company,.app-root:not(.is-builder) .topbar-profile-meta{color:var(--fat-muted)}.app-root:not(.is-builder) .app-main{padding:24px 28px 32px}.app-root:not(.is-builder) .entity-page:not(.settings-page){border:0;background:transparent;box-shadow:none;padding:0;gap:18px}.app-root:not(.is-builder) .entity-header{align-items:flex-start;gap:14px}.app-root:not(.is-builder) .eyebrow{color:var(--fat-faint);font-size:11px;letter-spacing:.1em}.app-root:not(.is-builder) .entity-header h2{color:var(--fat-text);font-size:22px;font-weight:700;letter-spacing:-.03em}.app-root:not(.is-builder) .entity-description{color:var(--fat-muted);font-size:13px;line-height:1.5}.app-root:not(.is-builder) .btn{min-height:36px;border:1px solid var(--fat-border);border-radius:10px;background:var(--fat-surface);color:var(--fat-text);padding:7px 12px;font-size:13px;font-weight:500;box-shadow:none}.app-root:not(.is-builder) .btn:hover{background:var(--fat-surface-soft);border-color:var(--fat-border-strong)}.app-root:not(.is-builder) .btn-primary{background:var(--fat-accent);border-color:var(--fat-accent);color:#fff}.app-root:not(.is-builder) .btn-primary:hover{background:var(--fat-accent-strong);border-color:var(--fat-accent-strong)}.app-root:not(.is-builder) .btn-ghost{border-color:transparent;background:transparent;color:var(--fat-muted)}.app-root:not(.is-builder) .btn-mini{min-height:30px;border-radius:8px;font-size:12px;color:var(--fat-muted)}.app-root:not(.is-builder) .notice{border-radius:12px;border:1px solid var(--fat-border);font-size:12.5px}.app-root:not(.is-builder) .notice.success{background:#e7f8ee;border-color:#a7dfbc;color:#13623b}.app-root:not(.is-builder) .notice.error{background:#fff2f5;border-color:#f4d7df;color:#b42347}.app-root:not(.is-builder) .notice.warning{background:#fff7e6;border-color:#f2dfb2;color:#946200}.app-root:not(.is-builder) .badge{padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600}.app-root:not(.is-builder) .badge.neutral{background:#f3f1ec;color:#666d78}.app-root:not(.is-builder) .badge.success{background:#eaf7ef;color:#0f8b52}.app-root:not(.is-builder) .badge.warning{background:#fff5e5;color:#b67600}.app-root:not(.is-builder) .badge.danger{background:#fff0f3;color:#d91c4a}.app-root:not(.is-builder) .badge.info{background:#edf3ff;color:#3b50ce}.app-root:not(.is-builder) .kpi-grid{gap:14px}.app-root:not(.is-builder) .kpi-grid article{border:1px solid var(--fat-border);border-radius:18px;background:var(--fat-surface);padding:16px 18px;box-shadow:none}.app-root:not(.is-builder) .kpi-grid span{font-size:13px;color:var(--fat-muted)}.app-root:not(.is-builder) .kpi-grid strong{margin-top:8px;font-size:20px;font-weight:700;color:var(--fat-text)}.app-root:not(.is-builder) .kpi-grid small{margin-top:6px;font-size:12px;color:var(--fat-muted)}.app-root:not(.is-builder) .kpi-card{position:relative;overflow:hidden;gap:10px;min-height:188px;grid-template-rows:auto auto auto 1fr auto}.app-root:not(.is-builder) .kpi-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.app-root:not(.is-builder) .kpi-card-label{font-size:13px;font-weight:500;color:#707887}.app-root:not(.is-builder) .kpi-card-value{margin:0;font-size:18px;font-weight:750;letter-spacing:-.03em;color:var(--fat-text)}.app-root:not(.is-builder) .kpi-card-detail{margin:-2px 0 0;min-height:34px;font-size:12.5px;line-height:1.45;color:var(--fat-muted)}.app-root:not(.is-builder) .kpi-card-chart{width:100%;height:54px;margin-top:auto}.app-root:not(.is-builder) .kpi-card-chart svg{width:100%;height:100%;display:block}.app-root:not(.is-builder) .kpi-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.app-root:not(.is-builder) .kpi-card-foot small{margin:0;font-size:11.5px;color:var(--fat-faint)}.app-root:not(.is-builder) .kpi-card-delta{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 12px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap}.app-root:not(.is-builder) .kpi-card-delta.up{background:#e9f8f0;color:#10945d}.app-root:not(.is-builder) .kpi-card-delta.down{background:#fff0f3;color:#dd365e}.app-root:not(.is-builder) .kpi-card-delta.flat{background:#f3f5f9;color:#6b7381}.app-root:not(.is-builder) .kpi-card-line,.app-root:not(.is-builder) .kpi-card-dot,.app-root:not(.is-builder) .kpi-card-chart rect{fill:currentColor;color:inherit}.app-root:not(.is-builder) .kpi-card-line{fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.app-root:not(.is-builder) .kpi-card-area{fill:currentColor;opacity:.15}.app-root:not(.is-builder) .kpi-card-chart.line,.app-root:not(.is-builder) .kpi-card-chart.bars{color:inherit}.app-root:not(.is-builder) .kpi-card-blue .kpi-card-chart{color:#3857d6}.app-root:not(.is-builder) .kpi-card-green .kpi-card-chart{color:#0d9b64}.app-root:not(.is-builder) .kpi-card-red .kpi-card-chart{color:#ef334d}.app-root:not(.is-builder) .kpi-card-amber .kpi-card-chart{color:#d99207}.app-root:not(.is-builder) .kpi-card-teal .kpi-card-chart{color:#178bb7}.app-root:not(.is-builder) .search-modern{border:1px solid var(--fat-border);border-radius:12px;background:var(--fat-surface);padding:0 12px;min-height:44px}.app-root:not(.is-builder) .search-modern span{color:var(--fat-faint);font-size:15px}.app-root:not(.is-builder) .search-modern input{color:var(--fat-text);font-size:13px}.app-root:not(.is-builder) .search-modern input::placeholder{color:var(--fat-faint)}.app-root:not(.is-builder) .filter-strip-stack,.app-root:not(.is-builder) .invoice-toolbar,.app-root:not(.is-builder) .vision-filter-toolbar{gap:12px}.app-root:not(.is-builder) .invoice-toolbar{grid-template-columns:minmax(280px,1fr) auto}.app-root:not(.is-builder) .period-filter{border:1px solid var(--fat-border);border-radius:12px;background:var(--fat-surface);padding:8px 12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.app-root:not(.is-builder) .period-filter label{color:var(--fat-muted);font-size:12px}.app-root:not(.is-builder) .period-filter input,.app-root:not(.is-builder) .period-filter select{min-width:132px;min-height:32px;padding:5px 8px}.app-root:not(.is-builder) .date-range-bar{border:1px solid var(--fat-border);border-radius:18px;background:var(--fat-surface);box-shadow:none;padding:12px 14px}.app-root:not(.is-builder) .date-range-bar-summary{font-size:14px;font-weight:600;color:var(--fat-text)}.app-root:not(.is-builder) .date-range-bar-icon{width:28px;height:28px;border:1px solid var(--fat-border);border-radius:8px;background:var(--fat-surface-soft);color:var(--fat-muted)}.app-root:not(.is-builder) .date-range-bar-pill{border:1px solid var(--fat-border);border-radius:10px;background:var(--fat-surface);color:var(--fat-muted);padding:8px 12px;font-size:12.5px}.app-root:not(.is-builder) .date-range-bar-pill.active{background:var(--fat-surface-soft);border-color:var(--fat-border);color:var(--fat-text)}.app-root:not(.is-builder) .date-range-bar-custom{border-top:1px solid var(--fat-border)}.app-root:not(.is-builder) .table-shell,.app-root:not(.is-builder) .pagination-shell,.app-root:not(.is-builder) .modal-card,.app-root:not(.is-builder) .settings-shell,.app-root:not(.is-builder) .purchase-import-batch-card{border:1px solid var(--fat-border);background:var(--fat-surface);box-shadow:none}.app-root:not(.is-builder) .table-shell,.app-root:not(.is-builder) .modal-card,.app-root:not(.is-builder) .purchase-import-batch-card{border-radius:18px}.app-root:not(.is-builder) .data-table{min-width:820px}.app-root:not(.is-builder) .data-table th,.app-root:not(.is-builder) .data-table td{border-bottom:1px solid #efebe5;padding:12px 14px;font-size:13px;color:#353b46}.app-root:not(.is-builder) .data-table thead th{background:#fff;color:var(--fat-muted);font-weight:600}.app-root:not(.is-builder) .clickable-row:hover td{background:#faf9f6}.app-root:not(.is-builder) .payment-hint,.app-root:not(.is-builder) .pagination-summary,.app-root:not(.is-builder) .pagination-controls label{color:var(--fat-muted)}.app-root:not(.is-builder) .context-menu-trigger{width:32px;height:32px;border:1px solid var(--fat-border);border-radius:10px;background:var(--fat-surface);color:var(--fat-muted)}.app-root:not(.is-builder) .context-menu-panel{border:1px solid var(--fat-border);border-radius:12px;box-shadow:0 18px 32px #121a2d14}.app-root:not(.is-builder) .context-menu-item:hover{background:var(--fat-surface-soft)}.app-root:not(.is-builder) .modal-card{border-radius:20px}.app-root:not(.is-builder) .modal-head,.app-root:not(.is-builder) .modal-foot{border-color:var(--fat-border)}.app-root:not(.is-builder) .modal-head h3,.app-root:not(.is-builder) .settings-page .settings-field label,.app-root:not(.is-builder) .modal-form label{color:var(--fat-text)}.app-root:not(.is-builder) .modal-form label{font-size:12px;font-weight:600}.app-root:not(.is-builder) .settings-page{background:transparent}.app-root:not(.is-builder) .settings-shell{border-radius:18px}.app-root:not(.is-builder) .settings-tab-button.active,.app-root:not(.is-builder) .builder-tabs button.active,.app-root:not(.is-builder) .product-tab-btn.active{border-color:var(--fat-accent);color:var(--fat-accent)}.app-root:not(.is-builder) .page-tab-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 0 8px;border-bottom:1px solid var(--fat-border)}.app-root:not(.is-builder) .page-tab{border:0;background:transparent;color:var(--fat-muted);font-size:13px;font-weight:600;padding:0 2px 10px;border-bottom:2px solid transparent;display:inline-flex;align-items:center;gap:8px}.app-root:not(.is-builder) .page-tab.active{color:var(--fat-text);border-color:var(--fat-accent)}.app-root:not(.is-builder) .page-tab-count{min-width:20px;height:20px;padding:0 6px;border-radius:6px;background:var(--fat-surface-soft);color:var(--fat-muted);display:inline-grid;place-items:center;font-size:11px;font-weight:600}.app-root:not(.is-builder) .page-tab.active .page-tab-count{background:var(--fat-accent-soft);color:var(--fat-accent)}.app-root:not(.is-builder) .invoice-list-page .kpi-grid,.app-root:not(.is-builder) .document-list-page .kpi-grid,.app-root:not(.is-builder) .customer-directory-page .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-root:not(.is-builder) .invoice-list-page .filter-strip-stack,.app-root:not(.is-builder) .document-list-page .filter-strip-stack,.app-root:not(.is-builder) .customer-directory-page .filter-strip-stack{gap:10px}.app-root:not(.is-builder) .invoice-list-page .table-shell,.app-root:not(.is-builder) .document-list-page .table-shell,.app-root:not(.is-builder) .customer-directory-page .table-shell,.app-root:not(.is-builder) .vision-360-page .table-shell{border-radius:20px}.app-root:not(.is-builder) .invoice-list-page .data-table td,.app-root:not(.is-builder) .document-list-page .data-table td,.app-root:not(.is-builder) .customer-directory-page .data-table td,.app-root:not(.is-builder) .vision-360-page .data-table td{vertical-align:middle}.app-root:not(.is-builder) .purchase-import-batch-card{border-radius:20px;padding:18px}.app-root:not(.is-builder) .purchase-import-batch-head h3{font-size:20px;color:var(--fat-text)}.app-root:not(.is-builder) .purchase-import-batch-head p,.app-root:not(.is-builder) .purchase-import-batch-stats span,.app-root:not(.is-builder) .purchase-import-batch-file p,.app-root:not(.is-builder) .purchase-import-batch-file small{color:var(--fat-muted)}.app-root:not(.is-builder) .purchase-import-batch-progress-bar{background:#eff2f6}.app-root:not(.is-builder) .purchase-import-batch-progress-bar span{background:linear-gradient(90deg,var(--fat-accent) 0%,#5770f0 100%);box-shadow:none}.app-root:not(.is-builder) .customer-directory-page .cell-title{font-size:13px;font-weight:600;color:var(--fat-text)}.app-root:not(.is-builder) .customer-directory-page .data-table td small{display:block;margin-top:3px;font-size:11px;color:var(--fat-muted)}.app-root:not(.is-builder) .customer-modal{width:min(1400px,96vw);max-height:min(92vh,980px);border-radius:22px}.app-root:not(.is-builder) .customer-modal .modal-head{padding:18px 22px 14px;min-height:0;background:#fff}.app-root:not(.is-builder) .customer-modal .modal-head h3{font-size:18px;font-weight:700;color:var(--fat-text)}.app-root:not(.is-builder) .customer-modal .modal-body{padding:18px 22px 16px;background:var(--fat-bg)}.app-root:not(.is-builder) .customer-modal .modal-foot{padding:14px 22px;background:#fff}.app-root:not(.is-builder) .customer-submit-btn{min-width:220px;border-radius:10px;padding:10px 16px;font-size:14px}.app-root:not(.is-builder) .customer-modal .product-accordion-layout{gap:16px}.app-root:not(.is-builder) .customer-modal .product-accordion-card{border:1px solid var(--fat-border);border-radius:18px;background:#fff;box-shadow:none}.app-root:not(.is-builder) .customer-modal .product-accordion-toggle{background:#fff;padding:16px 18px}.app-root:not(.is-builder) .customer-modal .product-accordion-toggle.expanded{border-bottom:1px solid var(--fat-border)}.app-root:not(.is-builder) .customer-modal .product-accordion-title{font-size:14px;font-weight:700;color:var(--fat-text)}.app-root:not(.is-builder) .customer-modal .product-accordion-icon{width:28px;height:28px;border:1px solid var(--fat-border);border-radius:8px;background:var(--fat-surface-soft);color:var(--fat-muted);font-size:16px}.app-root:not(.is-builder) .customer-modal .product-accordion-body{padding:16px 18px 18px;background:#fff}.app-root:not(.is-builder) .customer-modal .customer-form-grid{gap:16px 18px}.app-root:not(.is-builder) .customer-modal .customer-field label,.app-root:not(.is-builder) .customer-modal .customer-address-block legend{font-size:12px;font-weight:600;color:var(--fat-text)}.app-root:not(.is-builder) .customer-modal .customer-field input,.app-root:not(.is-builder) .customer-modal .customer-field select,.app-root:not(.is-builder) .customer-modal .customer-field textarea{border:1px solid var(--fat-border);border-radius:10px;background:#fff;min-height:42px;box-shadow:none}.app-root:not(.is-builder) .customer-modal .customer-field textarea{min-height:96px}.app-root:not(.is-builder) .customer-modal .type-switch{border:1px solid var(--fat-border);border-radius:12px;background:var(--fat-surface);padding:4px;display:inline-flex;gap:4px}.app-root:not(.is-builder) .customer-modal .type-switch button{min-height:34px;border:0;border-radius:9px;background:transparent;color:var(--fat-muted);padding:0 14px;font-size:13px;font-weight:600}.app-root:not(.is-builder) .customer-modal .type-switch button.active{background:var(--fat-surface-soft);color:var(--fat-text)}.app-root:not(.is-builder) .customer-modal .category-chip-row{gap:10px}.app-root:not(.is-builder) .customer-modal .category-chip{border:1px solid var(--fat-border);border-radius:999px;background:#fff;color:#444b56;padding:8px 14px;font-size:13px}.app-root:not(.is-builder) .customer-modal .category-chip.active{border-color:var(--fat-accent);background:var(--fat-accent);color:#fff}.app-root:not(.is-builder) .customer-modal .customer-address-block,.app-root:not(.is-builder) .customer-modal .customer-bank-block{border:1px solid var(--fat-border);border-radius:14px;background:#fff;padding:12px}.app-root:not(.is-builder) .customer-modal .switch-row{color:var(--fat-text)}.app-root:not(.is-builder) .customer-modal .readonly-input{background:var(--fat-surface-soft);color:var(--fat-muted)}.app-root:not(.is-builder) .vision-360-page .entity-header{align-items:flex-start}.app-root:not(.is-builder) .vision-360-page .vision-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 -4px}.app-root:not(.is-builder) .vision-360-page .vision-section-head .eyebrow{margin:0 0 2px}.app-root:not(.is-builder) .vision-360-page .vision-section-head span{font-size:12px;color:var(--fat-faint)}.app-root:not(.is-builder) .vision-360-page .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-root:not(.is-builder) .vision-360-page .kpi-grid article{min-height:198px}.app-root:not(.is-builder) .vision-360-page .table-shell+.table-shell{margin-top:12px}@media (max-width: 1024px){.app-root:not(.is-builder) .app-shell{grid-template-columns:250px minmax(0,1fr)}.app-root:not(.is-builder) .invoice-toolbar{grid-template-columns:1fr}.app-root:not(.is-builder) .invoice-list-page .kpi-grid,.app-root:not(.is-builder) .document-list-page .kpi-grid,.app-root:not(.is-builder) .customer-directory-page .kpi-grid,.app-root:not(.is-builder) .vision-360-page .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 860px){.app-root:not(.is-builder) .app-shell{grid-template-columns:1fr}.app-root:not(.is-builder) .app-topbar{grid-template-columns:1fr;padding:12px 16px}.app-root:not(.is-builder) .app-main{padding:18px 18px 24px}.app-root:not(.is-builder) .sidebar-quick-search-results{position:static;inset:auto;margin-top:8px}.app-root:not(.is-builder) .page-tab-strip{gap:8px 12px}.app-root:not(.is-builder) .invoice-list-page .kpi-grid,.app-root:not(.is-builder) .document-list-page .kpi-grid,.app-root:not(.is-builder) .customer-directory-page .kpi-grid,.app-root:not(.is-builder) .vision-360-page .kpi-grid{grid-template-columns:1fr}.app-root:not(.is-builder) .customer-modal .customer-address-grid{grid-template-columns:1fr}}.builder-shell:not(.validated-invoice-shell){min-height:100%;padding:20px 22px 28px;background:linear-gradient(180deg,#fbfbfd,#f6f7fb)}.builder-shell:not(.validated-invoice-shell) .builder-gradient{background:radial-gradient(64vw 40vw at 0% 0%,rgba(79,107,255,.05),transparent 62%),radial-gradient(34vw 32vw at 100% 10%,rgba(232,97,10,.06),transparent 58%)}.builder-shell:not(.validated-invoice-shell) .builder-header{gap:18px;padding:16px 22px;margin-bottom:16px;border:1px solid #e5e8ef;border-radius:24px;background:#fffffff5;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 18px 38px #2631560f}.builder-title-stack{display:grid;gap:4px}.builder-breadcrumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#8d96a6;font-size:13px;font-weight:500}.builder-breadcrumbs span+span:before,.builder-breadcrumbs span+strong:before{content:"›";margin-right:10px;color:#bcc4d2}.builder-breadcrumbs strong{color:#2a3040;font-weight:700}.builder-shell:not(.validated-invoice-shell) .builder-header-left .eyebrow{margin:0;color:#98a1b0;font-size:12px;letter-spacing:.12em}.builder-shell:not(.validated-invoice-shell) .builder-header-left h2{margin:0;color:#20242d;font-family:Geist,Inter,sans-serif;font-size:clamp(22px,2.5vw,28px);font-weight:700;line-height:1.15}.builder-shell:not(.validated-invoice-shell) .icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid #e1e5ec;color:#4d5566;box-shadow:none}.builder-shell:not(.validated-invoice-shell) .builder-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.builder-save-state{display:inline-flex;align-items:center;gap:8px;color:#7b8495;font-size:14px;font-weight:500;white-space:nowrap}.builder-save-dot{width:8px;height:8px;border-radius:999px;background:#81c995;box-shadow:0 0 0 6px #81c99524}.builder-shell:not(.validated-invoice-shell) .builder-layout{grid-template-columns:minmax(520px,1.02fr) minmax(520px,.98fr);gap:18px;align-items:start}.builder-shell:not(.validated-invoice-shell) .builder-form-panel,.builder-shell:not(.validated-invoice-shell) .builder-preview-panel{padding:0;border:1px solid #e5e8ef;border-radius:28px;background:#fffffff5;box-shadow:0 18px 38px #2631560f;overflow:hidden}.builder-shell:not(.validated-invoice-shell) .builder-form-panel{display:grid;gap:0;padding:22px}.builder-shell:not(.validated-invoice-shell) .builder-preview-panel{position:sticky;top:18px;padding:18px;background:linear-gradient(180deg,#fffffffa,#fafbfff2)}.builder-shell:not(.validated-invoice-shell) .builder-metrics{gap:12px;margin-bottom:18px}.builder-shell:not(.validated-invoice-shell) .builder-metrics article{min-height:88px;border:1px solid #e3e7ef;border-radius:22px;background:#fff;padding:16px 18px;gap:8px;box-shadow:inset 0 1px #fffc}.builder-shell:not(.validated-invoice-shell) .builder-metrics span{font-size:12px;font-weight:600;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:#95a0af}.builder-shell:not(.validated-invoice-shell) .builder-metrics strong{font-size:22px;font-weight:700;line-height:1.12;color:#1f2430}.builder-shell:not(.validated-invoice-shell) .builder-tabs{gap:22px;margin-bottom:22px;padding:0 2px;border-bottom:1px solid #e8ebf2}.builder-shell:not(.validated-invoice-shell) .builder-tabs button{display:inline-flex;align-items:center;gap:10px;padding:0 0 14px;color:#9098a3;font-family:var(--app-font);font-size:15px;font-weight:700}.builder-shell:not(.validated-invoice-shell) .builder-tabs button.active{color:var(--ui-blue);border-color:var(--ui-blue)}.builder-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eef1ff;color:#3550d2;font-size:12px;font-weight:700}.builder-shell:not(.validated-invoice-shell) .panel-block{gap:14px;padding:22px;border:1px solid #e6e9f0;border-radius:26px;background:#fff;box-shadow:0 10px 24px #2934520a}.builder-shell:not(.validated-invoice-shell) .panel-block h3{margin:0;color:#1d5270;font-family:Inter,Manrope,sans-serif;font-size:18px;font-weight:800}.builder-shell:not(.validated-invoice-shell) .panel-block label{color:#2d2d2d;font-family:var(--app-font);font-size:13px;font-weight:500;line-height:1.35}.builder-shell:not(.validated-invoice-shell) .panel-block :is(input,select,textarea),.builder-shell:not(.validated-invoice-shell) .client-combobox-trigger{border:1px solid #d9e0e7;border-radius:4px;background:#fff;box-shadow:none;color:#2d2d2d;font-family:var(--app-font);font-size:14px;font-weight:400}.builder-shell:not(.validated-invoice-shell) .panel-block :is(input,select),.builder-shell:not(.validated-invoice-shell) .panel-block .readonly-input{min-height:38px;height:38px;padding:7px 11px}.builder-shell:not(.validated-invoice-shell) .client-combobox-trigger{width:100%;min-height:44px;height:auto;padding:7px 11px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px}.builder-shell:not(.validated-invoice-shell) .panel-block textarea{min-height:84px;padding:10px 11px;line-height:1.45;resize:vertical}.builder-shell:not(.validated-invoice-shell) .panel-block :is(input,select,textarea):focus,.builder-shell:not(.validated-invoice-shell) .client-combobox.open .client-combobox-trigger{border-color:#e8610a66;box-shadow:0 0 0 2px #e8610a14;outline:none}.builder-shell:not(.validated-invoice-shell) .panel-block :is(input,textarea)::placeholder,.builder-shell:not(.validated-invoice-shell) .client-combobox-value small{color:#9ea8b3}.builder-shell:not(.validated-invoice-shell) .client-combobox-value strong{color:#244458;font-family:var(--app-font);font-size:14px;font-weight:700}.builder-shell:not(.validated-invoice-shell) .client-combobox-value small{font-size:12px;line-height:1.4;color:#71828d}.builder-shell:not(.validated-invoice-shell) .split-row{gap:14px}.builder-shell:not(.validated-invoice-shell) .client-combobox-menu{border:1px solid #dde2ea;border-radius:18px;box-shadow:0 26px 52px #1e28421f}.builder-shell:not(.validated-invoice-shell) .client-option{border-color:#e8ecf2;border-radius:14px}.builder-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.builder-section-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.builder-section-title span{color:#808a99;font-size:14px}.builder-section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.builder-shell:not(.validated-invoice-shell) :is(.builder-header-actions .btn,.builder-section-actions .btn,.inline-actions .btn,.client-inline-actions .btn,.btn-inline-icon){min-height:38px;border-radius:4px;padding:7px 12px;box-shadow:none;font-family:var(--app-font);font-size:14px;font-weight:600}.builder-shell:not(.validated-invoice-shell) .btn-inline-icon{padding-inline:12px}.builder-shell:not(.validated-invoice-shell) .builder-header-actions .btn-primary,.builder-shell:not(.validated-invoice-shell) .builder-section-actions .btn-primary,.builder-shell:not(.validated-invoice-shell) .inline-actions .btn-primary,.builder-shell:not(.validated-invoice-shell) .client-inline-actions .btn-primary{box-shadow:0 10px 18px #3b50ce2e;font-weight:700}.builder-shell:not(.validated-invoice-shell) .builder-header-actions .btn-primary:hover,.builder-shell:not(.validated-invoice-shell) .builder-section-actions .btn-primary:hover,.builder-shell:not(.validated-invoice-shell) .inline-actions .btn-primary:hover,.builder-shell:not(.validated-invoice-shell) .client-inline-actions .btn-primary:hover{box-shadow:0 12px 20px #3b50ce3d}.builder-shell:not(.validated-invoice-shell) .builder-header-actions .btn-outline,.builder-shell:not(.validated-invoice-shell) .builder-header-actions .btn-ghost,.builder-shell:not(.validated-invoice-shell) .builder-section-actions .btn-outline,.builder-shell:not(.validated-invoice-shell) .builder-section-actions .btn-ghost,.builder-shell:not(.validated-invoice-shell) .inline-actions .btn-outline,.builder-shell:not(.validated-invoice-shell) .inline-actions .btn-ghost,.builder-shell:not(.validated-invoice-shell) .client-inline-actions .btn-outline,.builder-shell:not(.validated-invoice-shell) .client-inline-actions .btn-ghost{border-width:1px;border-color:#d9e0e7;color:#2d2d2d}.builder-shell:not(.validated-invoice-shell) .table-shell{overflow:hidden;border:1px solid #e6eaf0;border-radius:22px;background:#fff}.builder-shell:not(.validated-invoice-shell) .editor-table{border-collapse:separate;border-spacing:0}.builder-shell:not(.validated-invoice-shell) .editor-table thead th{background:#fbfcfe;border-top:0;color:#9098a3;font-family:var(--app-font);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.builder-shell:not(.validated-invoice-shell) .editor-table th,.builder-shell:not(.validated-invoice-shell) .editor-table td{padding:14px 16px;border-bottom:1px solid #edf0f4;font-family:var(--app-font);font-size:14px;vertical-align:middle}.builder-shell:not(.validated-invoice-shell) .editor-table tbody tr:last-child td{border-bottom:0}.builder-shell:not(.validated-invoice-shell) .editor-table input{width:100%;min-height:38px;height:38px;padding:7px 11px;font-size:14px}.builder-shell:not(.validated-invoice-shell) .delete-btn{width:38px;height:38px;border-radius:12px;color:#9aa4b3;transition:background-color .18s ease,color .18s ease}.builder-shell:not(.validated-invoice-shell) .delete-btn:hover{background:#f3f5f9;color:#d05d61}.builder-shell:not(.validated-invoice-shell) .discount-card{margin-top:14px;border:1px solid #e6eaf0;border-radius:24px;background:linear-gradient(180deg,#fff,#fbfcff);padding:18px 20px}.builder-shell:not(.validated-invoice-shell) .discount-card-head strong{font-size:16px}.builder-shell:not(.validated-invoice-shell) .discount-card-grid article{border:1px solid #e8ecf3;border-radius:16px;padding:12px 14px}.builder-preview-stage{display:grid;gap:14px}.builder-preview-stage-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.builder-preview-stage-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.builder-preview-stage-copy .eyebrow{margin:0}.builder-preview-live{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #e2e6ed;border-radius:999px;background:#fff;color:#576173;font-size:13px;font-weight:600}.builder-preview-live:before{content:"◉";color:#9aa3b1;font-size:11px}.builder-preview-controls{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #e2e6ed;border-radius:16px;background:#fff}.builder-preview-controls button{min-width:72px;border:0;border-radius:12px;background:transparent;color:#505a6b;padding:10px 14px;font-size:14px;font-weight:600}.builder-preview-controls button.active{background:#f1f4fb;color:#1f2430}.builder-preview-stage-card{border:1px solid #e5e8ef;border-radius:28px;background:linear-gradient(180deg,#fff,#fafbff);padding:18px;box-shadow:inset 0 1px #fffc}.builder-preview-stage-card.is-compact{padding:14px}.sales-invoice-graphite-shell{background:linear-gradient(180deg,#fbfbfc,#f6f7fb)}.sales-invoice-graphite-shell .builder-gradient{background:radial-gradient(52vw 32vw at 0% 0%,rgba(76,99,211,.04),transparent 62%),radial-gradient(28vw 24vw at 100% 0%,rgba(76,99,211,.035),transparent 60%)}.sales-invoice-graphite-shell .builder-header{border-radius:22px;border-color:#e7eaf0;box-shadow:0 14px 30px #242f4e0d}.sales-invoice-graphite-shell .builder-header-left h2{font-family:Geist,Inter,sans-serif;font-size:clamp(20px,2.25vw,25px);font-weight:700;color:#1d2430}.sales-invoice-graphite-shell .builder-form-panel,.sales-invoice-graphite-shell .builder-preview-panel{border-radius:26px;box-shadow:0 16px 34px #2631560d}.sales-invoice-graphite-shell .builder-form-panel{padding:18px 18px 22px}.sales-invoice-graphite-shell .builder-preview-panel{padding:16px}.sales-invoice-graphite-shell .builder-metrics{gap:10px;margin-bottom:16px}.sales-invoice-graphite-shell .builder-metrics article{min-height:84px;padding:14px 16px;border-radius:20px}.sales-invoice-graphite-shell .builder-metrics span{color:#9aa2b0;font-size:11px}.sales-invoice-graphite-shell .builder-metrics strong{color:#1f2531;font-size:20px}.sales-invoice-graphite-shell .builder-tabs{gap:18px;margin-bottom:16px}.sales-invoice-graphite-shell .builder-tabs button{padding-bottom:12px;color:#626b79;font-size:14px;font-weight:600}.sales-invoice-graphite-shell .builder-tabs button.active{color:#3d50cd}.sales-invoice-graphite-shell .builder-tab-count{min-width:22px;height:22px;font-size:11px}.sales-invoice-graphite-shell .panel-block{gap:14px;padding:18px 18px 20px;border-radius:24px}.sales-invoice-graphite-shell .panel-block h3{color:#1d2430;font-family:Geist,Inter,sans-serif;font-size:16px;font-weight:700}.sales-invoice-graphite-shell .panel-block label{color:#505966;font-size:12.5px;font-weight:600}.sales-invoice-graphite-shell .panel-block :is(input,select,textarea),.sales-invoice-graphite-shell .client-combobox-trigger{border-color:#dfe4ea;border-radius:12px;font-size:14px}.sales-invoice-graphite-shell .panel-block :is(input,select),.sales-invoice-graphite-shell .panel-block .readonly-input{min-height:40px;height:40px;padding:8px 12px}.sales-invoice-graphite-shell .panel-block textarea{min-height:74px}.sales-invoice-graphite-shell .panel-block :is(input,select,textarea):focus,.sales-invoice-graphite-shell .client-combobox.open .client-combobox-trigger{border-color:#3d50cd73;box-shadow:0 0 0 3px #3d50cd14}.sales-invoice-graphite-shell .builder-header-actions .btn,.sales-invoice-graphite-shell .builder-section-actions .btn{min-height:40px;border-radius:14px;padding:8px 14px;font-size:14px}.sales-invoice-graphite-shell .builder-header-actions .btn-outline,.sales-invoice-graphite-shell .builder-header-actions .btn-ghost,.sales-invoice-graphite-shell .builder-section-actions .btn-outline,.sales-invoice-graphite-shell .builder-section-actions .btn-ghost{background:#fff;border-color:#dfe4ea;color:#1f2531}.sales-invoice-graphite-shell .builder-header-actions .btn-primary,.sales-invoice-graphite-shell .builder-section-actions .btn-primary{background:#3d50cd;border-color:#3d50cd;box-shadow:0 12px 22px #3d50cd33}.sales-invoice-graphite-shell .builder-section-title span{color:#8b93a2;font-size:13px}.sales-invoice-graphite-shell .table-shell{border-radius:22px}.sales-invoice-graphite-shell .editor-table thead th{background:#fff;color:#8a93a1;font-size:12px;letter-spacing:.06em}.sales-invoice-graphite-shell .editor-table th,.sales-invoice-graphite-shell .editor-table td{padding:16px 15px}.sales-invoice-graphite-shell .editor-table td{font-size:14px}.sales-invoice-graphite-shell .editor-table td:first-child{color:#a2a9b6;font-size:12px}.sales-invoice-graphite-shell .discount-card{border-radius:22px;padding:16px 18px}.sales-invoice-graphite-shell .discount-card-head strong{color:#1d2430;font-size:15px}.sales-invoice-graphite-shell .discount-card-grid{gap:10px}.sales-invoice-graphite-shell .discount-card-grid article{border-radius:14px}.sales-invoice-graphite-shell .builder-preview-stage{gap:12px}.sales-invoice-graphite-shell .builder-preview-stage-head{gap:10px}.sales-invoice-graphite-shell .builder-preview-stage-copy .eyebrow{color:#98a1af}.sales-invoice-graphite-shell .builder-preview-live{min-height:34px;padding:6px 12px;border-radius:999px;font-size:12px}.sales-invoice-graphite-shell .builder-preview-toolbar{display:inline-flex;align-items:center;gap:10px}.sales-invoice-graphite-shell .builder-preview-controls{border-radius:14px;padding:3px}.sales-invoice-graphite-shell .builder-preview-controls button{min-width:68px;padding:9px 13px;font-size:13px}.sales-invoice-graphite-shell .builder-preview-download{width:38px;height:38px;border:1px solid #dfe4ea;border-radius:12px;background:#fff;color:#4d5665;font-size:18px;line-height:1}.sales-invoice-graphite-shell .builder-preview-download:hover:not(:disabled){background:#f4f6fb}.sales-invoice-graphite-shell .builder-preview-download:disabled{opacity:.58;cursor:not-allowed}.sales-invoice-graphite-shell .builder-preview-stage-card{padding:16px;border-radius:24px}.catalog-modal.sales-catalog-palette-modal{width:min(704px,92vw);max-height:min(640px,84vh);border-radius:18px;overflow:hidden}.catalog-modal.sales-catalog-palette-modal .modal-head{display:none}.catalog-modal.sales-catalog-palette-modal .modal-body{padding:0;gap:0}.catalog-modal.sales-catalog-palette-modal .modal-foot{padding:10px 16px;border-top:1px solid #eef1f5;background:#fff}.sales-catalog-palette{display:grid;gap:0}.sales-catalog-palette-search{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border:0;border-bottom:1px solid #eef1f5;border-radius:0;background:#fff}.sales-catalog-palette-glyph{flex:0 0 auto;color:#8f98a8;font-size:18px;line-height:1}.sales-catalog-palette-search input{flex:1 1 auto;border:0;background:transparent;box-shadow:none;padding:0;color:#1f2531;font-size:15px}.sales-catalog-palette-search input:focus{box-shadow:none}.sales-catalog-palette-search kbd,.sales-catalog-shortcuts kbd{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;border:1px solid #dde3eb;border-radius:7px;background:#f6f8fb;color:#728097;font-family:var(--font-mono);font-size:10px;font-weight:600}.sales-catalog-palette-clear{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#8b94a3;font-size:20px;line-height:1}.sales-catalog-palette-results{display:grid;gap:2px;max-height:430px;overflow-y:auto;padding:8px 0}.sales-catalog-palette-caption{padding:8px 16px 6px;color:#97a0ae;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.sales-catalog-result{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 16px;border:0;border-radius:0;background:transparent;text-align:left;position:relative}.sales-catalog-result:hover,.sales-catalog-result.is-active{background:#f3f5ff}.sales-catalog-result.is-selected{background:#f6f7ff}.sales-catalog-result.is-active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:0 2px 2px 0;background:#4a5fda}.sales-catalog-result-copy{display:grid;gap:5px;min-width:0}.sales-catalog-result-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sales-catalog-result-title-row strong{color:#1f2531;font-size:14px;font-weight:700}.sales-catalog-result-copy small{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#7b8495;font-size:11.5px}.sales-catalog-result-price{display:grid;gap:3px;justify-items:end;color:#1f2531}.sales-catalog-result-price strong{font-size:13px;font-weight:700}.sales-catalog-result-price small{color:#8b94a3;font-size:11px}.sales-catalog-result-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#4258d0;color:#fff;font-size:10.5px;font-weight:700}.sales-catalog-rate-note{padding:0 16px 8px;color:#7f8796}.sales-catalog-result-actions{display:inline-flex;align-items:center;gap:6px;opacity:0;pointer-events:none}.sales-catalog-result.is-active .sales-catalog-result-actions,.sales-catalog-result.is-selected .sales-catalog-result-actions{opacity:1;pointer-events:auto}.sales-catalog-qty-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #dde3eb;border-radius:8px;background:#fff;color:#6a7382;font-size:18px;line-height:1;font-weight:600}.sales-catalog-qty-btn.is-primary{background:#4258d0;border-color:#4258d0;color:#fff}.sales-catalog-palette-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.sales-catalog-shortcuts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#7b8495;font-size:11px}.sales-catalog-shortcuts span{display:inline-flex;align-items:center;gap:5px}.sales-catalog-footer-main{display:flex;align-items:center;gap:12px;margin-left:auto}.sales-catalog-footer-summary{display:inline-flex;align-items:center;gap:6px;color:#7b8495;font-size:12px;white-space:nowrap}.sales-catalog-footer-summary strong,.sales-catalog-footer-summary em{color:#1f2531;font-style:normal;font-weight:700}.sales-catalog-load-more{margin:8px auto 2px;padding:8px 14px;border:1px solid #dfe4ea;border-radius:12px;background:#fff;color:#4f5868;font-size:12px;font-weight:600}.catalog-modal.sales-catalog-palette-modal .catalog-submit-btn{min-width:190px;min-height:42px;padding:10px 16px;border-radius:14px;font-size:14px}.preview-sheet{border:1px solid #e4e8ef;border-radius:24px;background:#fff;padding:28px;gap:18px;box-shadow:0 16px 34px #242f4e0d}.preview-sheet.compact{padding:18px;gap:14px}.sheet-watermark{right:18px;top:22px;font-size:clamp(52px,4.8vw,72px);font-weight:800;color:#3b476c0f;transform:none}.sheet-head{padding-bottom:16px;border-bottom:1px solid #ecf0f4}.sheet-head-copy{display:grid;gap:3px}.sheet-eyebrow{font-size:11px;letter-spacing:.12em;color:#96a0af}.sheet-head h3{font-size:clamp(34px,3vw,42px);line-height:1.04;color:#1e2430}.sheet-head h3 span{color:#a9b4c7;font-weight:700}.sheet-company-name{font-size:18px}.sheet-company-meta,.sheet-currency,.sheet-client span{color:#708099}.sheet-dates{min-width:156px;gap:10px}.sheet-dates p{gap:4px;font-size:13px}.sheet-dates strong{color:#9aa5b6;letter-spacing:.08em;text-transform:uppercase;font-size:11px}.sheet-dates span{color:#1e2430;font-weight:600}.sheet-client{gap:14px}.sheet-client>div{border:1px solid #e6ebf2;border-radius:18px;padding:16px 18px}.sheet-label{color:#94a0b1;font-size:11px;letter-spacing:.12em}.sheet-client strong{font-size:15px;color:#1f2430}.sheet-table{border:0;border-radius:0;background:transparent}.sheet-table thead th{background:transparent;color:#708099;font-size:12px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #e8edf4}.sheet-table th,.sheet-table td{padding:12px 0;border-bottom:1px solid #edf1f5;background:transparent;font-size:14px}.sheet-table th:not(:first-child),.sheet-table td:not(:first-child){padding-left:18px}.sheet-detail-cell{min-width:220px}.sheet-detail-title{display:block;color:#1f2430;font-size:14px;font-weight:600}.sheet-detail-meta{display:block;margin-top:4px;color:#90a0b4;font-size:12px;line-height:1.4}.sheet-totals,.sheet-payment,.sheet-legal{border:1px solid #e6ebf2;border-radius:20px}.sheet-totals>div{padding:14px 18px;border-bottom-color:#edf1f5}.sheet-totals>div span{color:#6e7f99}.sheet-totals>div strong{color:#1f2430}.sheet-totals>div:last-child{background:#fafbfe}.sheet-qr img{border-color:#e6ebf2;border-radius:14px}.preview-sheet.compact .sheet-watermark{font-size:44px;top:18px}.preview-sheet.compact .sheet-head h3{font-size:28px}.preview-sheet.compact .sheet-client>div,.preview-sheet.compact .sheet-totals>div,.preview-sheet.compact .sheet-payment,.preview-sheet.compact .sheet-legal{padding:12px 14px}@media (max-width: 1240px){.builder-shell:not(.validated-invoice-shell) .builder-layout{grid-template-columns:1fr}.builder-shell:not(.validated-invoice-shell) .builder-preview-panel{position:static}}@media (max-width: 860px){.builder-shell:not(.validated-invoice-shell){padding:12px}.builder-shell:not(.validated-invoice-shell) .builder-header,.builder-shell:not(.validated-invoice-shell) .builder-form-panel,.builder-shell:not(.validated-invoice-shell) .builder-preview-panel,.builder-shell:not(.validated-invoice-shell) .panel-block,.builder-preview-stage-card,.preview-sheet{border-radius:20px}.builder-shell:not(.validated-invoice-shell) .builder-header{padding:14px}.builder-shell:not(.validated-invoice-shell) .builder-header-actions{justify-content:flex-start}.builder-breadcrumbs,.builder-preview-stage-head,.builder-section-head{display:grid}.builder-preview-controls{width:100%;justify-content:space-between}.builder-preview-controls button{flex:1 1 0;min-width:0}.sheet-head,.sheet-client,.sheet-footer{grid-template-columns:1fr}.sheet-watermark{font-size:38px;right:12px;top:12px}.sheet-head h3{font-size:28px}.sheet-table{display:block;overflow-x:auto}}.app-root:not(.is-builder) .editor-workspace-page{padding-bottom:24px}.app-root:not(.is-builder) .editor-workspace{background:#fff;border:1px solid #e5e7ef;border-radius:28px;box-shadow:0 18px 48px #1222490f;overflow:hidden}.app-root:not(.is-builder) .editor-workspace-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 18px;border-bottom:1px solid #eceff5;background:#fff}.app-root:not(.is-builder) .editor-workspace-heading h1{margin:4px 0 0;font-size:20px;line-height:1.2;color:#1f2530}.app-root:not(.is-builder) .editor-workspace-heading .entity-description{max-width:760px;margin-top:8px}.app-root:not(.is-builder) .editor-workspace-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.app-root:not(.is-builder) .editor-workspace-status{margin-right:6px}.app-root:not(.is-builder) .editor-tabs{display:flex;align-items:stretch;gap:4px;padding:0 24px;border-bottom:1px solid #eceff5;background:#fff;overflow-x:auto}.app-root:not(.is-builder) .editor-tab{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:#6d7687;font-size:13px;font-weight:600;cursor:pointer;transition:color .2s ease,border-color .2s ease,background .2s ease}.app-root:not(.is-builder) .editor-tab:hover{color:#2a3448}.app-root:not(.is-builder) .editor-tab.active{color:#3751c7;border-bottom-color:#3751c7}.app-root:not(.is-builder) .editor-tab.disabled{color:#b2b8c6;cursor:not-allowed}.app-root:not(.is-builder) .editor-tab-index,.app-root:not(.is-builder) .editor-tab-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#eef2ff;color:#3751c7;font-size:10px;font-weight:700}.app-root:not(.is-builder) .editor-tab.disabled .editor-tab-index{background:#f2f4f8;color:#9aa3b6}.app-root:not(.is-builder) .editor-workspace-body{display:grid;grid-template-columns:1fr;background:#fafbfe}.app-root:not(.is-builder) .editor-workspace-body.has-side{grid-template-columns:minmax(0,1fr) 340px}.app-root:not(.is-builder) .editor-workspace-main{padding:24px}.app-root:not(.is-builder) .editor-workspace-panel{display:grid;gap:18px}.app-root:not(.is-builder) .editor-workspace-side{padding:24px 22px;border-left:1px solid #eceff5;background:#f7f8fc}.app-root:not(.is-builder) .editor-side-card{padding:18px;border:1px solid #e5e7ef;border-radius:22px;background:#fff;box-shadow:0 10px 24px #1222490a}.app-root:not(.is-builder) .editor-side-card+.editor-side-card{margin-top:18px}.app-root:not(.is-builder) .editor-side-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.app-root:not(.is-builder) .editor-side-card-head h3{margin:0;font-size:14px;color:#202636}.app-root:not(.is-builder) .editor-preview-identity,.app-root:not(.is-builder) .product-side-preview{display:flex;align-items:center;gap:12px;margin-bottom:14px}.app-root:not(.is-builder) .editor-preview-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e9eeff;color:#3751c7;font-weight:700}.app-root:not(.is-builder) .editor-preview-identity strong,.app-root:not(.is-builder) .product-side-preview-copy strong{display:block;color:#1f2530;font-size:14px}.app-root:not(.is-builder) .editor-preview-identity p,.app-root:not(.is-builder) .product-side-preview-copy p{margin:4px 0 0;color:#8d95a6;font-size:11px}.app-root:not(.is-builder) .editor-preview-grid{display:grid;gap:10px}.app-root:not(.is-builder) .editor-preview-grid>div{display:flex;justify-content:space-between;gap:16px;padding-bottom:9px;border-bottom:1px dashed #e4e8f0}.app-root:not(.is-builder) .editor-preview-grid>div:last-child{padding-bottom:0;border-bottom:0}.app-root:not(.is-builder) .editor-preview-grid span{color:#8a93a4;font-size:11px}.app-root:not(.is-builder) .editor-preview-grid strong{color:#1f2530;font-size:12px;font-weight:600;text-align:right}.app-root:not(.is-builder) .editor-checklist{display:grid;gap:12px}.app-root:not(.is-builder) .editor-checklist-item{display:flex;align-items:flex-start;gap:10px}.app-root:not(.is-builder) .editor-checklist-dot{width:10px;height:10px;margin-top:5px;border-radius:999px;flex-shrink:0}.app-root:not(.is-builder) .editor-checklist-dot.ok{background:#18a566}.app-root:not(.is-builder) .editor-checklist-dot.warn{background:#e2a317}.app-root:not(.is-builder) .editor-checklist-item strong{display:block;color:#1f2530;font-size:12px}.app-root:not(.is-builder) .editor-checklist-item p{margin:3px 0 0;color:#8a93a4;font-size:11px;line-height:1.45}.app-root:not(.is-builder) .editor-loading-state{display:grid;place-items:center;min-height:280px;border:1px solid #e5e7ef;border-radius:28px;background:#fff;color:#7d8799;font-size:14px}.app-root:not(.is-builder) .editor-form-section{padding:20px 22px;border:1px solid #e6eaf1;border-radius:24px;background:#fff;box-shadow:0 8px 24px #12224909}.app-root:not(.is-builder) .product-side-preview-media{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border:1px dashed #d9dfeb;border-radius:18px;background:#f8f9fc;color:#9aa3b6;font-size:11px}.app-root:not(.is-builder) .product-side-preview-media img{width:100%;height:100%;object-fit:cover}.app-root:not(.is-builder) .products-page .kpi-grid,.app-root:not(.is-builder) .categories-page .kpi-grid{margin-bottom:14px}.app-root:not(.is-builder) .products-page .search-modern,.app-root:not(.is-builder) .categories-page .category-filters,.app-root:not(.is-builder) .products-page .table-shell,.app-root:not(.is-builder) .categories-page .category-tree-shell{border-radius:22px}.app-root:not(.is-builder) .products-page .table-shell,.app-root:not(.is-builder) .categories-page .category-tree-shell,.app-root:not(.is-builder) .categories-page .category-row,.app-root:not(.is-builder) .categories-page .category-inline-form{background:#fff}.app-root:not(.is-builder) .categories-page .category-filters{padding:14px;border:1px solid #e6eaf1;background:#fff;box-shadow:0 8px 24px #12224909}.app-root:not(.is-builder) .categories-page .category-tree-shell{padding:16px;border:1px solid #e6eaf1;box-shadow:0 8px 24px #12224909}.app-root:not(.is-builder) .categories-page .category-row{border:1px solid #edf1f5;border-radius:18px;box-shadow:0 4px 14px #12224908}.app-root:not(.is-builder) .categories-page .category-row+.category-row,.app-root:not(.is-builder) .categories-page .category-tree-item+.category-tree-item{margin-top:10px}.builder-shell:not(.validated-invoice-shell) .builder-metrics article{border-radius:22px}.builder-shell:not(.validated-invoice-shell) .builder-preview-stage-card{border-radius:28px;box-shadow:0 18px 42px #1222490e}.builder-shell:not(.validated-invoice-shell) .builder-preview-stage-head{padding-bottom:18px;border-bottom:1px solid #edf1f5}@media (max-width: 1180px){.app-root:not(.is-builder) .editor-workspace-body.has-side{grid-template-columns:1fr}.app-root:not(.is-builder) .editor-workspace-side{border-left:0;border-top:1px solid #eceff5}}@media (max-width: 860px){.app-root:not(.is-builder) .editor-workspace-header{padding:18px}.app-root:not(.is-builder) .editor-workspace-main,.app-root:not(.is-builder) .editor-workspace-side{padding:18px}.app-root:not(.is-builder) .editor-tabs{padding:0 14px}.app-root:not(.is-builder) .editor-form-section{padding:16px;border-radius:20px}}.app-root:not(.is-builder) .editor-workspace-page .customer-address-block{margin:0;padding:18px 18px 16px;border:1px solid #e6eaf1;border-radius:18px;background:#fbfcff;box-shadow:inset 0 1px #ffffffb3}.app-root:not(.is-builder) .editor-workspace-page .customer-address-block legend{padding:0 10px;color:#4d576a;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.app-root:not(.is-builder) .editor-workspace-page .customer-address-grid{gap:14px 18px}.app-root:not(.is-builder) .editor-workspace-page .customer-address-block .customer-field.full-span:first-child{padding-bottom:8px;border-bottom:1px solid #edf1f6}.app-root:not(.is-builder) .editor-workspace-page .customer-address-block .customer-field.full-span:first-child label{margin-bottom:8px}.app-root:not(.is-builder) .editor-workspace-page .product-category-hint{padding:12px 14px;border:1px solid #e6eaf1;border-radius:14px;background:#fbfcff;color:#70798c;font-size:12px}.app-root:not(.is-builder) .editor-workspace-page .product-category-hint strong{color:#202636}.app-root:not(.is-builder) .editor-workspace-page .product-category-shell{border:1px solid #e6eaf1;border-radius:20px;background:#fff;box-shadow:0 8px 22px #12224909;overflow:hidden}.app-root:not(.is-builder) .editor-workspace-page .product-category-tree-list{gap:0}.app-root:not(.is-builder) .editor-workspace-page .product-category-row{min-height:72px;border:0;border-top:1px solid #edf1f6;border-radius:0;background:#fff;box-shadow:none;gap:12px;padding-top:14px;padding-bottom:14px}.app-root:not(.is-builder) .editor-workspace-page .product-category-row:hover{background:#fbfcff}.app-root:not(.is-builder) .editor-workspace-page .product-category-row.selected{background:#f5f8ff;box-shadow:inset 0 0 0 1px #3751c70a}.app-root:not(.is-builder) .editor-workspace-page .product-category-tree-list>.product-category-tree-item:first-child>.product-category-row{border-top:0}.app-root:not(.is-builder) .editor-workspace-page .product-category-tree-item{gap:0}.app-root:not(.is-builder) .editor-workspace-page .product-subpanel,.app-root:not(.is-builder) .editor-workspace-page .product-price-list-card,.app-root:not(.is-builder) .editor-workspace-page .product-history-card{border:1px solid #e6eaf1;border-radius:18px;background:#fbfcff;box-shadow:none}.app-root:not(.is-builder) .editor-workspace-page .product-subpanel-head,.app-root:not(.is-builder) .editor-workspace-page .product-price-list-card>header{padding-bottom:12px;border-bottom:1px solid #edf1f6}.app-root:not(.is-builder) .editor-workspace-page .product-subpanel-head h4,.app-root:not(.is-builder) .editor-workspace-page .product-price-list-card h4,.app-root:not(.is-builder) .editor-workspace-page .product-history-card h4{color:#202636;font-size:14px}.app-root:not(.is-builder) .editor-workspace-page .product-subpanel-head span,.app-root:not(.is-builder) .editor-workspace-page .product-price-list-card p,.app-root:not(.is-builder) .editor-workspace-page .product-history-card p{color:#8a93a4}.app-root:not(.is-builder) .editor-workspace-page .product-subpanel-grid{gap:14px 18px}.app-root:not(.is-builder) .editor-workspace-page .product-image-upload-modern{border:1px dashed #d6ddea;border-radius:18px;background:linear-gradient(180deg,#fcfdff,#f6f8fc)}.app-root:not(.is-builder) .editor-workspace-page .product-general-layout{gap:18px 18px}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.app-root:not(.is-builder) .editor-workspace-page .product-type-card{display:grid;gap:12px;align-content:start;min-height:148px;padding:18px 20px;border:1px solid #dfe5f0;border-radius:18px;background:#fff;color:#202636;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.app-root:not(.is-builder) .editor-workspace-page .product-type-card:hover{border-color:#cfd7ea;background:#fbfcff}.app-root:not(.is-builder) .editor-workspace-page .product-type-card.is-selected{border-color:#4861d5;background:#f4f6ff;box-shadow:0 0 0 1px #4861d514}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#f4f5f9;color:#6f788a}.app-root:not(.is-builder) .editor-workspace-page .product-type-card.is-selected .product-type-card-icon{background:#3751c7;color:#fff}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-icon svg,.app-root:not(.is-builder) .editor-workspace-page .product-category-display-icon svg,.app-root:not(.is-builder) .editor-workspace-page .product-category-display-chevron svg{width:24px;height:24px}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-copy{display:grid;gap:4px}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-copy strong{color:#202636;font-size:18px;font-weight:700}.app-root:not(.is-builder) .editor-workspace-page .product-type-card-copy small{color:#7f899b;font-size:12px;line-height:1.45}.app-root:not(.is-builder) .editor-workspace-page .product-category-display{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;min-height:48px;padding:11px 14px;border:1px solid #d9e0ee;border-radius:14px;background:#fff;color:#202636;text-align:left}.app-root:not(.is-builder) .editor-workspace-page .product-category-display:hover{border-color:#c8d2e8;background:#fbfcff}.app-root:not(.is-builder) .editor-workspace-page .product-category-display-icon{display:grid;place-items:center;width:24px;height:24px;color:#4e63c9}.app-root:not(.is-builder) .editor-workspace-page .product-category-display-value{min-width:0;overflow:hidden;color:#202636;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.app-root:not(.is-builder) .editor-workspace-page .product-category-display.is-empty .product-category-display-value{color:#8a93a4;font-weight:400}.app-root:not(.is-builder) .editor-workspace-page .product-category-display-meta{color:#8a93a4;font-size:12px;font-weight:600}.app-root:not(.is-builder) .editor-workspace-page .product-category-display-chevron{display:grid;place-items:center;color:#8a93a4}.app-root:not(.is-builder) .editor-workspace-page .product-category-expand{display:grid;place-items:center;width:20px;height:20px;color:#98a0af;flex:0 0 auto}.app-root:not(.is-builder) .editor-workspace-page .product-category-expand svg{width:12px;height:12px}.app-root:not(.is-builder) .editor-workspace-page .product-category-expand.is-open{transform:rotate(180deg)}.app-root:not(.is-builder) .editor-workspace-page .product-category-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:10px;background:#f3f5ff;color:#4861d5}.app-root:not(.is-builder) .editor-workspace-page .product-category-icon svg{width:18px;height:18px}.app-root:not(.is-builder) .editor-workspace-page .product-category-copy{display:grid;gap:4px;min-width:0;margin-right:auto}.app-root:not(.is-builder) .editor-workspace-page .product-category-label{font-size:14px;font-weight:700;color:#202636;margin-right:0}.app-root:not(.is-builder) .editor-workspace-page .product-category-subtitle{color:#7f899b;font-size:11.5px;line-height:1.45}.app-root:not(.is-builder) .editor-workspace-page .product-category-count{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid #e5e8ef;border-radius:999px;background:#fbfbfc;color:#5f6675;font-family:var(--font-mono);font-size:11px;font-weight:600;white-space:nowrap}.app-root:not(.is-builder) .editor-workspace-page .product-category-count.is-empty{color:#8b93a3}.app-root:not(.is-builder) .editor-workspace-page .product-margin-badge{border:1px solid #dde5f4;border-radius:999px;background:#f5f8ff;color:#3751c7}.app-root:not(.is-builder) .editor-workspace-page .product-margin-badge.success{background:#edf8f2;border-color:#d5ecdf;color:#1a8d5a}.app-root:not(.is-builder) .editor-workspace-page .product-margin-badge.neutral{background:#f3f5f9;border-color:#e1e7f0;color:#6e778a}.app-root:not(.is-builder) .editor-workspace-page .product-margin-badge.danger{background:#fff2f4;border-color:#f5d8dd;color:#cf4d67}.app-root:not(.is-builder) .categories-page .category-filters{display:none}.app-root:not(.is-builder) .categories-page .categories-ux-shell{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;min-height:680px}.app-root:not(.is-builder) .categories-page .categories-tree-pane,.app-root:not(.is-builder) .categories-page .categories-detail-pane{display:flex;flex-direction:column;min-height:0}.app-root:not(.is-builder) .categories-page .categories-tree-toolbar,.app-root:not(.is-builder) .categories-page .categories-detail-head,.app-root:not(.is-builder) .categories-page .categories-articles-table{border:1px solid #e6eaf1;background:#fff;box-shadow:0 8px 24px #12224909}.app-root:not(.is-builder) .categories-page .categories-tree-toolbar{display:grid;gap:10px;padding:16px;border-radius:22px}.app-root:not(.is-builder) .categories-page .categories-tree-scroll{flex:1;margin-top:14px;overflow:auto}.app-root:not(.is-builder) .categories-page .category-tree-shell.categories-tree-scroll{padding:16px}.app-root:not(.is-builder) .categories-page .category-add-root-btn{width:100%;margin-top:14px;padding:11px 14px;border:1px dashed #d5ddeb;border-radius:14px;background:#fbfcff;color:#5c6578;font-size:13px;font-weight:600}.app-root:not(.is-builder) .categories-page .category-row{align-items:center;gap:12px}.app-root:not(.is-builder) .categories-page .category-row.is-selected{border-color:#cfdbf9;background:#f5f8ff}.app-root:not(.is-builder) .categories-page .category-row-main.category-row-select{cursor:pointer;outline:none}.app-root:not(.is-builder) .categories-page .category-row-main.category-row-select:focus-visible{border-radius:12px;box-shadow:0 0 0 2px #3751c729}.app-root:not(.is-builder) .categories-page .category-row-main .category-text strong{color:#202636}.app-root:not(.is-builder) .categories-page .category-row-main .category-text small,.app-root:not(.is-builder) .categories-page .category-row-meta,.app-root:not(.is-builder) .categories-page .category-linked{color:#8a93a4}.app-root:not(.is-builder) .categories-page .categories-detail-head{padding:20px 22px;border-radius:24px}.app-root:not(.is-builder) .categories-page .categories-detail-breadcrumb{margin-bottom:12px;color:#8a93a4;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.app-root:not(.is-builder) .categories-page .categories-detail-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:start}.app-root:not(.is-builder) .categories-page .categories-detail-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#edf2ff;color:#3751c7;font-size:20px}.app-root:not(.is-builder) .categories-page .categories-detail-copy h3{margin:0;color:#202636;font-size:24px;font-weight:700}.app-root:not(.is-builder) .categories-page .categories-detail-copy p{margin:6px 0 0;color:#7f899b;font-size:13px}.app-root:not(.is-builder) .categories-page .categories-detail-title-input{width:100%;padding:0;border:0;background:transparent;color:#202636;font-size:24px;font-weight:700;outline:none}.app-root:not(.is-builder) .categories-page .categories-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.app-root:not(.is-builder) .categories-page .categories-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.app-root:not(.is-builder) .categories-page .categories-detail-kpis article{padding:14px 16px;border:1px solid #edf1f6;border-radius:16px;background:#fbfcff}.app-root:not(.is-builder) .categories-page .categories-detail-kpis span{display:block;color:#8a93a4;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.app-root:not(.is-builder) .categories-page .categories-detail-kpis strong{display:block;margin-top:4px;color:#202636;font-size:18px}.app-root:not(.is-builder) .categories-page .categories-articles-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 12px}.app-root:not(.is-builder) .categories-page .categories-articles-head h3{margin:0;color:#202636;font-size:15px}.app-root:not(.is-builder) .categories-page .categories-articles-head>div:first-child{display:flex;align-items:center;gap:10px}.app-root:not(.is-builder) .categories-page .categories-articles-actions{display:flex;align-items:center;gap:8px}.app-root:not(.is-builder) .categories-page .categories-inline-search{min-width:220px}.app-root:not(.is-builder) .categories-page .categories-articles-table{border-radius:22px;overflow:hidden}.app-root:not(.is-builder) .categories-page .categories-detail-tip{margin-top:14px;padding:13px 14px;border:1px dashed #d9e0ee;border-radius:16px;background:#fbfcff;color:#768094;font-size:12px}.app-root:not(.is-builder) .modal-card.category-create-modal{position:relative;max-width:760px;border-radius:20px;overflow:visible}.app-root:not(.is-builder) .category-create-modal .modal-head{padding:0;border-bottom:1px solid #e6edf3}.app-root:not(.is-builder) .category-create-modal .modal-head-main{padding:22px 24px 18px;align-items:center}.app-root:not(.is-builder) .category-create-modal .modal-head h3{font-family:Lato,Inter,sans-serif;font-size:18px;font-weight:700;letter-spacing:-.02em;color:#222b36}.app-root:not(.is-builder) .category-create-modal .modal-close{width:32px;height:32px;border:1px solid #d9e0e7;border-radius:999px;background:#fff;color:#66727d;font-size:20px;line-height:1}.app-root:not(.is-builder) .category-create-modal .modal-close:hover{background:#f7f9fc;color:#394554;border-color:#cfd9e3}.app-root:not(.is-builder) .category-create-modal .modal-body{padding:20px 24px 18px;overflow:visible}.app-root:not(.is-builder) .category-create-modal .modal-foot{padding:16px 24px 18px;border-top:1px solid #e6edf3;background:#fff}.app-root:not(.is-builder) .category-create-modal .modal-foot .btn{min-height:38px;border-radius:4px;padding:7px 14px;font-size:14px;font-weight:600}.app-root:not(.is-builder) .category-create-intro{margin:0 0 4px;color:#5e6a76;font-size:14px;line-height:1.5}.app-root:not(.is-builder) .category-create-form{display:grid;gap:16px}.app-root:not(.is-builder) .category-create-form .product-form-field{display:grid;gap:6px}.app-root:not(.is-builder) .category-create-form label{color:#2d2d2d;font-size:13px;font-weight:500}.app-root:not(.is-builder) .category-create-form label span{color:#ff5a67}.app-root:not(.is-builder) .category-create-form input,.app-root:not(.is-builder) .category-create-form select{min-height:38px;height:38px;padding:7px 11px;border:1px solid #d9e0e7;border-radius:4px;background:#fff;color:var(--ink);box-shadow:none;font-family:var(--app-font);font-size:14px;font-weight:400}.app-root:not(.is-builder) .category-create-form input::placeholder,.app-root:not(.is-builder) .category-create-form textarea::placeholder{color:#a0a8b7}.app-root:not(.is-builder) .category-create-form input:focus,.app-root:not(.is-builder) .category-create-form select:focus,.app-root:not(.is-builder) .category-create-form textarea:focus,.app-root:not(.is-builder) .category-create-modal .client-combobox.open .client-combobox-trigger{border-color:#e8610a66;box-shadow:0 0 0 2px #e8610a14;outline:none}.app-root:not(.is-builder) .category-create-grid-meta{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}.app-root:not(.is-builder) .category-create-field-help{color:#9aa2b3;font-size:11px;line-height:1.45}.app-root:not(.is-builder) .category-create-modal .client-combobox{min-width:0}.app-root:not(.is-builder) .category-create-modal .client-combobox-trigger{width:100%;min-height:38px;padding:7px 11px;border:1px solid #d9e0e7;border-radius:4px;background:#fff;box-shadow:none}.app-root:not(.is-builder) .category-create-modal .client-combobox-value strong{font-size:14px;font-weight:700;color:#244458}.app-root:not(.is-builder) .category-create-modal .client-combobox-value small{font-size:12px;color:#71828d}.app-root:not(.is-builder) .category-create-modal .client-combobox-caret{color:#537287}.app-root:not(.is-builder) .category-create-modal .client-combobox-menu{position:static;margin-top:8px;border:1px solid #d7e2ea;border-radius:14px;box-shadow:0 18px 36px #1e35471f}.app-root:not(.is-builder) .category-create-modal .client-combobox-search{margin:8px;min-height:38px;border:1px solid #d9e0e7;border-radius:4px}.app-root:not(.is-builder) .category-create-modal .client-combobox-search:focus-within{border-color:#e8610a66;box-shadow:0 0 0 2px #e8610a14}.app-root:not(.is-builder) .category-create-modal .client-combobox-options{max-height:220px;padding:0 8px 8px}.app-root:not(.is-builder) .category-create-modal .client-option{border-color:#e5edf3}.app-root:not(.is-builder) .category-create-modal .client-option:hover{border-color:#cbdce8;background:#f7fbfe}.app-root:not(.is-builder) .category-create-modal .client-option.active{border-color:#8fb7cf;background:#eef6fb}.app-root:not(.is-builder) .category-status-field{align-content:start}.app-root:not(.is-builder) .category-status-switch{display:inline-flex;align-items:center;gap:12px;width:fit-content;min-width:0;cursor:pointer;-webkit-user-select:none;user-select:none}.app-root:not(.is-builder) .category-status-switch input{position:absolute;opacity:0;pointer-events:none}.app-root:not(.is-builder) .category-status-switch-track{position:relative;flex:0 0 auto;width:46px;height:26px;border-radius:999px;background:#d7e1eb;box-shadow:inset 0 0 0 1px #c7d2de;transition:background .18s ease,box-shadow .18s ease}.app-root:not(.is-builder) .category-status-switch-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #141f382e;transition:transform .18s ease}.app-root:not(.is-builder) .category-status-switch-copy{display:grid;gap:2px}.app-root:not(.is-builder) .category-status-switch-copy strong{color:#244458;font-size:14px;font-weight:700}.app-root:not(.is-builder) .category-status-switch-copy small{color:#7b8895;font-size:12px}.app-root:not(.is-builder) .category-status-switch input:checked+.category-status-switch-track{background:linear-gradient(135deg,#5062d7,#3f54d0);box-shadow:inset 0 0 0 1px #3f54d033}.app-root:not(.is-builder) .category-status-switch input:checked+.category-status-switch-track .category-status-switch-thumb{transform:translate(20px)}.app-root:not(.is-builder) .category-status-switch input:focus-visible+.category-status-switch-track{box-shadow:0 0 0 3px #5062d724}.app-root:not(.is-builder) .category-create-hint{margin:4px 0 0;padding:0;color:#70798c;font-size:12px;line-height:1.55}@media (max-height: 820px){.app-root:not(.is-builder) .modal-card.category-create-modal{max-height:88vh}.app-root:not(.is-builder) .category-create-modal .modal-body{overflow:auto}}.app-root:not(.is-builder) .categories-page .category-kpi-grid article{position:relative}.app-root:not(.is-builder) .categories-page .category-kpi-grid article.has-dot:after{content:"";position:absolute;top:16px;right:18px;width:8px;height:8px;border-radius:999px}.app-root:not(.is-builder) .categories-page .category-kpi-grid article.success-dot:after{background:#12a25b}.app-root:not(.is-builder) .categories-page .category-kpi-grid article.neutral-dot:after{background:#8b92a1}.app-root:not(.is-builder) .categories-page .categories-flat-shell{border:1px solid #e6eaf1;border-radius:24px;background:#fff;box-shadow:0 8px 24px #12224909;overflow:hidden}.app-root:not(.is-builder) .categories-page .categories-flat-toolbar{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #edf1f6}.app-root:not(.is-builder) .categories-page .categories-flat-search{flex:1;display:flex;width:100%;min-width:0;max-width:none;min-height:44px;padding-left:14px;gap:12px}.app-root:not(.is-builder) .categories-page .categories-flat-toolbar select{flex:0 0 220px;min-width:220px;min-height:44px;border-radius:12px;border-color:#dfe5ef;background:#fff;font-size:13px;font-weight:600}.app-root:not(.is-builder) .categories-page .categories-flat-search>span{display:grid;flex:0 0 18px;place-items:center;color:#8a93a4;margin-left:2px}.app-root:not(.is-builder) .categories-page .categories-flat-search svg{width:16px;height:16px}.app-root:not(.is-builder) .categories-page .categories-flat-search input{min-width:0;width:100%}.app-root:not(.is-builder) .categories-page .categories-status-select:focus,.app-root:not(.is-builder) .categories-page .categories-flat-search:focus-within{border-color:#d9e0ee;box-shadow:0 0 0 3px #4861d514}.app-root:not(.is-builder) .categories-page .categories-flat-list-shell{display:grid}.app-root:not(.is-builder) .categories-page .categories-flat-list{list-style:none;margin:0;padding:0}.app-root:not(.is-builder) .categories-page .category-flat-item{list-style:none}.app-root:not(.is-builder) .categories-page .category-flat-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:0 20px;border-top:1px solid #edf1f6;background:#fff;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.app-root:not(.is-builder) .categories-page .category-flat-row:first-child{border-top:0}.app-root:not(.is-builder) .categories-page .category-flat-row:hover{background:#fbfcff}.app-root:not(.is-builder) .categories-page .category-flat-row.is-selected{background:#f7f9ff}.app-root:not(.is-builder) .categories-page .category-flat-row.is-drop-target{background:#f4f8ff;box-shadow:inset 0 0 0 1px #4861d51f}.app-root:not(.is-builder) .categories-page .category-flat-row.is-inactive{opacity:.72}.app-root:not(.is-builder) .categories-page .category-flat-row-system{background:#fff}.app-root:not(.is-builder) .categories-page .category-flat-main{display:flex;align-items:center;flex:1;min-width:0;gap:12px;padding-top:14px;padding-bottom:14px}.app-root:not(.is-builder) .categories-page .category-flat-expander{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;background:transparent;color:#98a0af;transition:transform .16s ease,color .16s ease}.app-root:not(.is-builder) .categories-page .category-flat-expander svg{width:12px;height:12px}.app-root:not(.is-builder) .categories-page .category-flat-expander.is-open{transform:rotate(90deg)}.app-root:not(.is-builder) .categories-page .category-flat-expander-ghost{visibility:hidden}.app-root:not(.is-builder) .categories-page .category-flat-select{display:flex;align-items:center;gap:14px;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:inherit}.app-root:not(.is-builder) .categories-page .category-flat-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#f3f5ff;color:#4861d5}.app-root:not(.is-builder) .categories-page .category-flat-icon svg{width:18px;height:18px}.app-root:not(.is-builder) .categories-page .category-flat-copy{display:grid;gap:5px;min-width:0}.app-root:not(.is-builder) .categories-page .category-flat-copy strong{color:#202636;font-size:14px;font-weight:700;line-height:1.15}.app-root:not(.is-builder) .categories-page .category-flat-copy small{color:#7f899b;font-size:11.5px;line-height:1.45}.app-root:not(.is-builder) .categories-page .category-flat-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.app-root:not(.is-builder) .categories-page .category-flat-count{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid #e5e8ef;border-radius:999px;background:#fbfbfc;color:#5f6675;font-family:var(--font-mono);font-size:11px;font-weight:600;white-space:nowrap}.app-root:not(.is-builder) .categories-page .category-flat-count.is-empty{color:#8b93a3}.app-root:not(.is-builder) .categories-page .category-inline-btn{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border:1px solid #dfe4ed;border-radius:12px;background:#fff;color:#252b37;font-size:12px;font-weight:600;box-shadow:none}.app-root:not(.is-builder) .categories-page .category-inline-btn:hover,.app-root:not(.is-builder) .categories-page .category-inline-icon-btn:hover{border-color:#ccd4e3;background:#fbfcff}.app-root:not(.is-builder) .categories-page .category-inline-btn-icon{display:grid;place-items:center;width:14px;height:14px}.app-root:not(.is-builder) .categories-page .category-inline-btn-icon svg,.app-root:not(.is-builder) .categories-page .category-inline-icon-btn svg{width:14px;height:14px}.app-root:not(.is-builder) .categories-page .category-inline-icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:0 10px;border:1px solid #f0d8dd;border-radius:12px;background:#fff;color:#d75467;box-shadow:none}.app-root:not(.is-builder) .categories-page .category-inline-icon-btn.is-armed{width:auto;min-width:96px;color:#b83d4f;font-weight:700}.app-root:not(.is-builder) .categories-page .category-flat-edit-wrap{display:grid;grid-template-columns:auto minmax(220px,340px) auto;align-items:center;gap:10px;min-width:0}.app-root:not(.is-builder) .categories-page .category-flat-edit-wrap input{min-width:0}.app-root:not(.is-builder) .categories-page .category-inline-actions{display:inline-flex;align-items:center;gap:6px}.app-root:not(.is-builder) .categories-page .category-inline-actions .btn{min-height:32px;padding:0 10px;border-radius:10px;font-size:12px}.app-root:not(.is-builder) .categories-page .category-root-drop{margin:16px 20px 20px;border:1px dashed #d7dfef;border-radius:16px;background:#fbfcff;color:#667085}@media (max-width: 1180px){.app-root:not(.is-builder) .categories-page .categories-ux-shell{grid-template-columns:1fr}.app-root:not(.is-builder) .categories-page .categories-detail-hero{grid-template-columns:auto 1fr}.app-root:not(.is-builder) .categories-page .categories-detail-actions{grid-column:1 / -1;justify-content:flex-start}}@media (max-width: 860px){.app-root:not(.is-builder) .editor-workspace-page .product-type-card-grid{grid-template-columns:1fr}.app-root:not(.is-builder) .categories-page .categories-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-root:not(.is-builder) .categories-page .categories-articles-head,.app-root:not(.is-builder) .categories-page .categories-articles-actions{flex-direction:column;align-items:stretch}.app-root:not(.is-builder) .categories-page .categories-flat-toolbar,.app-root:not(.is-builder) .categories-page .category-flat-row{flex-direction:column;align-items:stretch}.app-root:not(.is-builder) .categories-page .category-flat-main,.app-root:not(.is-builder) .categories-page .category-flat-actions{width:100%}.app-root:not(.is-builder) .categories-page .category-flat-actions{justify-content:flex-start;padding-bottom:18px}.app-root:not(.is-builder) .categories-page .category-flat-edit-wrap{grid-template-columns:1fr}}.table-sort-btn{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:0}.bank-statements-page,.bank-statement-detail-page{gap:16px}.bank-statement-toolbar{display:grid;grid-template-columns:minmax(340px,.78fr) minmax(780px,1.22fr);gap:12px;align-items:end}.bank-statement-toolbar .search-modern{min-width:0}.bank-statement-filter-grid{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(180px,1fr) minmax(170px,1fr) minmax(170px,1fr) minmax(130px,.72fr);gap:10px;align-items:end;min-width:0}.bank-statement-filter-grid label{display:grid;gap:6px;font-size:12px;color:#665f53;min-width:0}.bank-statement-filter-grid select,.bank-statement-filter-grid input{box-sizing:border-box;min-width:0;width:100%}.bank-statement-filter-grid button{min-height:42px;min-width:0;width:100%}.bank-statement-bulk-actions{border:1px solid #e4d7c6;border-radius:16px;background:radial-gradient(circle at top left,rgba(59,80,206,.08),transparent 42%),#fffdf8;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.bank-statement-bulk-actions p{margin:0;color:#5f584c}.bank-statement-bulk-actions strong{color:#2c37a0}.bank-statement-bulk-actions div{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.bank-statements-table .selection-cell{width:44px;text-align:center}.bank-statements-table .selection-cell input[type=checkbox]{width:16px;height:16px;accent-color:#3b50ce;cursor:pointer}.bank-statements-table tr.is-selected td{background:#3b50ce0f}.bank-statements-table td small{display:block;margin-top:3px;color:#7b7568;font-size:11px}.bank-statement-import-modal{width:min(640px,96vw)}.bank-statement-bank-picker{display:grid;gap:8px;margin-bottom:14px}.bank-statement-bank-picker span{font-size:12px;font-weight:700;color:#5d5649}.bank-statement-bank-picker select{border:1px solid #ded5c8;border-radius:12px;background:#fffdf8;color:#28231b;padding:11px 12px;font-size:14px}.bank-statement-bank-picker small{color:#726b5f}.bank-statement-dropzone{border:1px dashed #ccbfae;border-radius:18px;background:radial-gradient(circle at top left,rgba(42,106,218,.08),transparent 44%),linear-gradient(180deg,#fffffffa,#f8f5f0f0);padding:28px 20px;display:grid;gap:6px;text-align:center;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.bank-statement-dropzone:hover,.bank-statement-dropzone.active{border-color:#3b50ce;transform:translateY(-1px);box-shadow:0 18px 32px #3b50ce1a}.bank-statement-dropzone.has-file{border-style:solid;border-color:#bfd2ff;background:radial-gradient(circle at top left,rgba(59,80,206,.12),transparent 46%),linear-gradient(180deg,#f4f7fffa,#fffffff5)}.bank-statement-dropzone strong{font-size:18px;line-height:1.15;color:#252525}.bank-statement-dropzone p,.bank-statement-dropzone small{margin:0;color:#706a5e}.bank-statement-import-progress{border:1px solid #ddd3c6;border-radius:14px;background:#fffdf8;padding:12px;display:grid;gap:10px}.bank-statement-import-progress-bar{height:10px;border-radius:999px;background:linear-gradient(90deg,#3b50ce,#6a7de6);transition:width .18s ease}.bank-statement-duplicate-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.bank-statement-detail-header{align-items:center}.bank-statement-back-btn{margin-bottom:10px}.bank-statement-detail-actions{justify-content:flex-end}.bank-statement-detail-grid{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr);gap:14px;align-items:start}.bank-statement-card{border:1px solid #e6dccd;border-radius:18px;background:radial-gradient(circle at top left,rgba(59,80,206,.07),transparent 44%),#fffffffa;padding:16px;display:grid;gap:14px}.bank-statement-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bank-statement-card-head h3{font-size:21px;line-height:1.05}.bank-statement-card-head span{border-radius:999px;border:1px solid #d9d9ef;background:#f4f6ff;padding:5px 10px;font-size:12px;font-weight:700;color:#3243a7}.bank-statement-info-list{margin:0;display:grid;gap:8px}.bank-statement-info-list div{border:1px solid #ede6da;border-radius:12px;background:#ffffffe6;padding:10px 12px;display:grid;gap:3px}.bank-statement-info-list dt{font-size:11px;color:#7a7365}.bank-statement-info-list dd{margin:0;font-size:14px;color:#26231d;overflow-wrap:anywhere}.bank-statement-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-statement-balance-grid article strong.positive,.discount-card-grid article strong.positive{color:#0f7d64}.bank-statement-balance-grid article strong.negative,.discount-card-grid article strong.negative{color:#b24949}.bank-statement-operations-head{display:flex;align-items:end;justify-content:space-between;gap:14px}.bank-statement-operations-head h3{font-size:23px;margin-bottom:4px}.bank-statement-operations-head p{margin:0;color:#756e60;font-size:13px}.bank-statement-operations-shell{max-height:68vh;overflow:auto}.bank-statement-operations-table thead th{position:sticky;top:0;z-index:2}.bank-statement-operations-table tfoot td{position:sticky;bottom:0;background:#fbf8f1;font-weight:700;z-index:1}.bank-statement-operations-table td small{display:block;margin-top:3px;color:#7d7567}.bank-statement-debit{color:#b24949;font-weight:700}.bank-statement-credit{color:#0f7d64;font-weight:700}@media (max-width: 1280px){.bank-statement-toolbar,.bank-statement-detail-grid{grid-template-columns:1fr}}@media (max-width: 1120px){.bank-statement-filter-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (max-width: 860px){.bank-statement-filter-grid,.bank-statement-balance-grid{grid-template-columns:1fr}.bank-statement-operations-head,.bank-statement-detail-header,.bank-statement-detail-actions{flex-direction:column;align-items:stretch}.bank-statement-bulk-actions{align-items:stretch;flex-direction:column}.bank-statement-detail-actions{justify-content:flex-start}}.tej-rules-page{display:grid;gap:14px}.tej-rules-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px}.card-shell{border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:var(--shadow);padding:12px}.tej-rules-side{display:grid;gap:10px;align-content:start}.tej-rules-side h3,.tej-rules-main h3,.tej-rules-main h4{margin:0}.tej-rules-create-block{display:grid;gap:8px}.tej-rules-create-block input,.tej-rules-approval-actions input,.tej-sim-controls select,.tej-compare-selects select,.tej-rules-page textarea{width:100%;min-height:42px;border-radius:10px;border:1px solid var(--line);padding:9px 10px;font:inherit;background:#fff}.tej-rules-page textarea{min-height:260px;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:12px;line-height:1.45}.tej-rules-list{display:grid;gap:8px;max-height:60vh;overflow:auto}.tej-rule-item{text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px;display:grid;gap:2px;cursor:pointer}.tej-rule-item strong{font-size:13px}.tej-rule-item span{font-size:12px;color:var(--ink)}.tej-rule-item small{font-size:11px;color:var(--muted)}.tej-rule-item.active{border-color:var(--brand);box-shadow:0 0 0 2px #e8610a26}.tej-rules-main{display:grid;gap:12px}.tej-rules-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tej-rules-detail-head p{margin:6px 0 0;color:var(--muted)}.tej-rules-approval-actions{display:grid;grid-template-columns:160px repeat(5,auto);gap:8px;align-items:center}.tej-rules-content-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.tej-rules-editor-panel,.tej-rules-sim-panel,.tej-rules-compare-panel,.tej-rules-versions-panel{display:grid;gap:10px}.tej-rules-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.tej-panel-head-actions{display:flex;align-items:center;gap:8px}.status-chip{border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700;letter-spacing:.02em;border:1px solid var(--line);background:#f3f4f6;color:#3f3f46}.status-chip.success{background:#e8f7ee;color:#166534;border-color:#86efac}.status-chip.warning{background:#fff8e6;color:#92400e;border-color:#facc15}.status-chip.danger{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.status-chip.neutral{background:#f3f4f6;color:#374151;border-color:#d1d5db}.panel-subtitle{margin:0;font-size:12px;color:var(--muted)}.tej-rules-panel-actions{display:flex;justify-content:flex-end}.tej-checkbox-row{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#374151}.tej-checkbox-row input{width:15px;height:15px}.tej-sim-controls{display:grid;grid-template-columns:auto 120px;gap:8px;align-items:center}.tej-sim-controls label{font-size:12px;color:var(--muted)}.tej-sim-result pre,.tej-compare-result pre{margin:0;border:1px solid var(--line);border-radius:10px;background:#fafafa;padding:10px;overflow:auto;font-size:12px;line-height:1.4}.tej-sim-result ol{margin:0;padding-left:16px;display:grid;gap:4px}.tej-sim-overrides{border:1px solid #fdba74;border-radius:10px;background:#fff7ed;padding:10px;display:grid;gap:8px}.tej-sim-overrides h5{margin:0;color:#9a3412}.tej-sim-override-card{border:1px solid rgba(249,115,22,.3);border-radius:8px;background:#fff;padding:8px;display:grid;gap:3px}.tej-sim-override-card p{margin:0;font-size:12px}.tej-sim-override-reason code{font-size:11px;background:#fb923c33;border-radius:6px;padding:2px 6px}.tej-sim-override-meta{color:#6b7280}.tej-compare-selects{display:grid;grid-template-columns:auto minmax(120px,1fr) auto minmax(120px,1fr);gap:8px;align-items:center}.tej-compare-selects label{font-size:12px;color:var(--muted)}.tej-compare-actions{display:flex;flex-wrap:wrap;gap:8px}.tej-compare-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.table-inline-actions{display:flex;flex-wrap:wrap;gap:6px}@media (max-width: 1200px){.tej-rules-grid,.tej-rules-content-grid{grid-template-columns:1fr}.tej-rules-approval-actions,.tej-compare-selects{grid-template-columns:1fr 1fr}.tej-compare-actions{flex-direction:column}.tej-diff-summary-grid{grid-template-columns:1fr 1fr}}.tej-rules-flow-grid{grid-template-columns:1.7fr 1fr}.tej-flow-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 320px;gap:10px;min-height:560px}.tej-flow-palette,.tej-flow-properties{border:1px solid var(--line);border-radius:12px;background:#fbfbfc;padding:10px;overflow:auto}.tej-flow-palette{display:grid;align-content:start;gap:10px}.tej-flow-palette-group{display:grid;gap:6px}.tej-flow-palette-group h5{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}.tej-flow-palette-items{display:grid;gap:6px}.tej-flow-palette-item{border:1px solid var(--line);border-radius:10px;background:#fff;min-height:38px;padding:7px 9px;font-size:12px;text-align:left;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;cursor:grab}.tej-flow-palette-item:active{cursor:grabbing}.tej-flow-palette-dot{width:10px;height:10px;border-radius:999px}.tej-flow-canvas{border:1px solid var(--line);border-radius:12px;min-height:560px;background:linear-gradient(180deg,#fff,#f9fafb);overflow:hidden}.tej-flow-canvas .react-flow{width:100%;height:100%}.tej-flow-canvas.is-fullscreen,.tej-flow-canvas:fullscreen,.tej-flow-canvas:-webkit-full-screen{min-height:100vh;height:100vh;border:none;border-radius:0;background:#fff}.tej-flow-properties{display:grid;align-content:start;gap:10px}.tej-flow-properties-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.tej-flow-properties-head h5{margin:0}.tej-flow-empty-note{margin:0;font-size:12px;color:var(--muted)}.tej-flow-properties-form{display:grid;gap:8px}.tej-prop-row{display:grid;gap:4px}.tej-prop-row label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.tej-prop-row input,.tej-prop-row select,.tej-prop-row textarea{width:100%;min-height:36px;border-radius:8px;border:1px solid var(--line);padding:7px 8px;font:inherit;font-size:12px;background:#fff}.tej-prop-row textarea{min-height:78px;resize:vertical}.tej-prop-switch-cases{display:grid;gap:6px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px}.tej-prop-switch-head{display:flex;align-items:center;justify-content:space-between}.tej-prop-switch-head span{font-size:12px;font-weight:700}.tej-prop-switch-item{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.tej-expression-editor{display:grid;gap:8px}.tej-expression-assistant{border:1px solid var(--line);border-radius:10px;background:#f8fafc;padding:8px;display:grid;gap:8px}.tej-expression-assistant-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.tej-expression-assistant-head strong{font-size:12px}.tej-expression-assistant-head span{font-size:11px;color:var(--muted)}.tej-expression-assistant-error{margin:0;font-size:11px;color:#991b1b}.tej-expression-assistant-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.tej-expression-quick-operators{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.tej-expression-quick-operators span{font-size:11px;color:var(--muted)}.tej-node{border-radius:12px;border:2px solid #d1d5db;background:#fff;min-width:190px;max-width:260px;padding:8px 10px;display:grid;gap:5px;font-size:12px}.tej-node-head{font-size:10px;letter-spacing:.05em;font-weight:800;text-transform:uppercase;opacity:.8}.tej-node-diff-badge{width:fit-content;border-radius:999px;font-size:10px;font-weight:700;padding:2px 7px;border:1px solid transparent}.tej-node-diff-badge.added{color:#166534;background:#16a34a24;border-color:#16a34a4d}.tej-node-diff-badge.changed{color:#92400e;background:#f59e0b24;border-color:#f59e0b52}.tej-node-diff-badge.removed{color:#991b1b;background:#dc26261f;border-color:#dc26264d}.tej-node-diff-badge.unchanged{color:#334155;background:#94a3b829;border-color:#94a3b84d}.tej-node-label{font-size:12px;font-weight:700;color:#111827}.tej-node-expression,.tej-node-output-meta{font-size:11px;color:#374151;background:#ffffffb3;border-radius:8px;padding:4px 6px;border:1px dashed rgba(107,114,128,.4)}.tej-node-start{border-color:#16a34a;background:linear-gradient(180deg,#ecfdf3,#fff)}.tej-node-condition{border-color:#2563eb;background:linear-gradient(180deg,#eff6ff,#fff);padding-bottom:16px}.tej-node-switch{border-color:#7c3aed;background:linear-gradient(180deg,#f5f3ff,#fff);padding-bottom:18px}.tej-switch-cases{display:grid;gap:4px}.tej-switch-case{position:relative;font-size:10px;color:#4b5563;background:#fff;border:1px solid rgba(124,58,237,.2);border-radius:8px;padding:4px 6px}.tej-switch-empty{font-size:10px;color:#6b7280}.tej-node-compute{border-color:#4b5563;background:linear-gradient(180deg,#f3f4f6,#fff)}.tej-node-override{border-color:#f97316;background:linear-gradient(180deg,#fff7ed,#fff)}.tej-node-call-tree{border-color:#9333ea;background:linear-gradient(180deg,#f6ecff,#fff)}.tej-node-output{border-color:#065f46;background:linear-gradient(180deg,#ecfdf5,#fff)}.tej-node-exempt{border-color:#6b7280;background:linear-gradient(180deg,#f3f4f6,#fff)}.tej-handle{width:9px;height:9px;border:1px solid #fff}.tej-handle-target{background:#4b5563}.tej-handle-source,.tej-handle-start,.tej-handle-default,.tej-handle-switch{background:#1f2937}.tej-handle-true{background:#16a34a}.tej-handle-false{background:#dc2626}.tej-node-branch{position:absolute;bottom:-17px;font-size:9px;font-weight:700}.tej-node-branch-true{left:24%;color:#166534}.tej-node-branch-false{left:64%;color:#991b1b}.react-flow__node.tej-node-state-faded{opacity:.34}.react-flow__node.tej-node-state-traversed{box-shadow:0 0 0 3px #16a34a59}.tej-graph-diff-panel{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:10px}.tej-diff-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tej-diff-summary-grid article{border:1px solid var(--line);border-radius:10px;background:#f9fafb;padding:8px;display:grid;gap:4px}.tej-diff-summary-grid span{font-size:11px;color:var(--muted)}.tej-diff-summary-grid strong{font-size:18px;line-height:1}.tej-diff-legend{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.tej-diff-badge{border-radius:999px;border:1px solid transparent;font-size:11px;font-weight:700;padding:4px 8px}.tej-diff-badge.added{color:#166534;background:#16a34a24;border-color:#16a34a4d}.tej-diff-badge.changed{color:#92400e;background:#f59e0b24;border-color:#f59e0b52}.tej-diff-badge.removed{color:#991b1b;background:#dc26261f;border-color:#dc26264d}.tej-diff-badge.unchanged{color:#334155;background:#94a3b829;border-color:#94a3b84d}.tej-diff-legend small{margin-left:auto;font-size:11px;color:var(--muted)}.tej-diff-canvas{border:1px solid var(--line);border-radius:12px;min-height:440px;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fafc)}@media (max-width: 1500px){.tej-flow-layout{grid-template-columns:200px minmax(0,1fr)}.tej-flow-properties{grid-column:1 / -1}}@media (max-width: 1200px){.tej-rules-flow-grid{grid-template-columns:1fr}.tej-flow-layout{grid-template-columns:1fr;min-height:auto}.tej-flow-canvas{min-height:460px}.tej-expression-assistant-grid{grid-template-columns:1fr}}
