@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.basis-0{flex-basis:calc(var(--spacing) * 0)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#102127;--muted:#718086;--line:#dfe7e8;--cyan:#21cbd3;--blue:#3199ed;--deep:#0d252a;--green:#0d6656;--paper:#f4f7f6}*{box-sizing:border-box}html,body{background:var(--paper);min-height:100%;color:var(--ink);margin:0}body{font-family:Inter,Arial,Helvetica Neue,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:236px 1fr;min-height:100vh;display:grid}.sidebar{z-index:20;color:#dce8e8;background:radial-gradient(circle at 15% 0,#16484d 0,#102a30 32%,#08171e 100%);flex-direction:column;width:236px;padding:24px 16px 18px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:10px 0 35px #1021271a}.brand{color:#fff;text-align:left;background:0 0;border:0;align-items:center;gap:13px;padding:0 7px;display:flex}.brand-mark{color:#123037;background:linear-gradient(140deg,#4fe2d7,#3fb8fa);border-radius:13px;place-items:center;width:43px;height:43px;font:700 24px Georgia,serif;display:grid;box-shadow:0 7px 22px #1ed4e337}.brand strong{letter-spacing:.02em;font-size:18px;display:block}.brand small{color:#65ced1;letter-spacing:.22em;margin-top:2px;font-size:9px;display:block}.menu-caption{color:#6f9094;letter-spacing:.19em;margin:38px 12px 12px;font-size:9px}.nav-list{gap:5px;display:grid}.nav-list button{color:#a9bdc0;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:13px;padding:12px 13px;font-size:13px;font-weight:600;transition:all .18s;display:flex}.nav-list button span{color:#7f9ca0;text-align:center;width:18px;font-size:18px}.nav-list button:hover{color:#fff;background:#ffffff0a}.nav-list button.active{color:#fff;background:#0d4a52;box-shadow:inset 3px 0 #24d6d8}.sidebar-bottom{gap:12px;margin-top:auto;display:grid}.sidebar-bottom label{color:#769398;letter-spacing:.15em;gap:5px;font-size:8px;display:grid}.sidebar-bottom select{color:#e8f1f1;background:#ffffff0a;border:1px solid #ffffff18;border-radius:10px;outline:none;width:100%;padding:9px 10px;font-size:12px}.user-chip{background:#ffffff08;border:1px solid #ffffff12;border-radius:13px;align-items:center;gap:10px;padding:11px;display:flex}.user-chip>span{color:#fff;background:linear-gradient(140deg,#18c8c6,#348bf3);border-radius:10px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.user-chip strong,.user-chip small{display:block}.user-chip strong{color:#fff;font-size:11px}.user-chip small{color:#708b90;margin-top:2px;font-size:8px}.main-area{grid-column:2;min-width:0}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;background:#ffffffde;border-bottom:1px solid #dfe7e8;justify-content:space-between;align-items:center;gap:24px;height:78px;padding:0 28px;display:flex;position:sticky;top:0}.topbar small{color:#18aeb2;letter-spacing:.18em;font-size:8px;font-weight:700}.topbar h1{letter-spacing:-.03em;margin:3px 0 0;font-size:20px}.top-actions{align-items:center;gap:10px;display:flex}.org-switcher-wrap{align-items:center;gap:6px;min-width:220px;display:flex}.org-switch-label{color:#6e7f83;letter-spacing:.08em;font-size:9px;font-weight:700}.org-switcher{color:#1f3f45;background:#f7f9f9;border:1px solid #dfe5e5;border-radius:10px;outline:none;min-width:180px;padding:9px 10px;font-size:10px;font-weight:700}.search-shell{position:relative}.search{background:#f7f9f9;border:1px solid #dfe5e5;border-radius:11px;align-items:center;gap:9px;width:min(310px,30vw);height:40px;padding:0 13px;display:flex}.search input{background:0 0;border:0;outline:0;width:100%;font-size:12px}.search-results{z-index:70;background:#fff;border:1px solid #dfe5e5;border-radius:13px;width:min(360px,80vw);padding:7px;position:absolute;top:46px;right:0;box-shadow:0 18px 45px #082f3640}.search-results button{text-align:left;background:#fff;border:0;border-radius:9px;justify-content:space-between;gap:14px;width:100%;padding:10px;display:flex}.search-results button:hover{background:#eef8f7}.search-results button span,.search-results p{color:#667a7e;font-size:11px}.search-results p{margin:8px}.notification{color:#53676b;background:#fff;border:1px solid #dfe5e5;border-radius:11px;width:40px;height:40px;position:relative}.notification b{color:#fff;background:#e97163;border-radius:50%;place-items:center;width:18px;height:18px;font-size:9px;display:grid;position:absolute;top:-5px;right:-3px}.expense-quick{color:#b85b4e;background:#fff;border:1px solid #dfe5e5;border-radius:11px;padding:10px 14px;font-size:11px;font-weight:700}.primary{box-shadow:0 8px 20px #24cbd52a;color:#07343b!important;background:linear-gradient(120deg,#35ddd3,#3ba9f5)!important;border:0!important;border-radius:11px!important;padding:11px 16px!important;font-weight:700!important}.conflict-banner{color:#6b4b0a;background:#fff3d7;justify-content:center;align-items:center;gap:16px;padding:11px 18px;font-size:12px;font-weight:700;display:flex}.conflict-banner button{color:#fff;background:#0e5353;border:0;border-radius:8px;padding:8px 12px;font-weight:700}.sidebar-company-switch,.mobile-company-switch{gap:5px;display:grid}.sidebar-company-switch span,.mobile-company-switch span{color:#8aa9a3;letter-spacing:.14em;font-size:8px;font-weight:800}.sidebar-company-switch select,.mobile-company-switch select{color:#f3fbf8;width:100%;min-width:0;font:inherit;background:#123f37;border:1px solid #315f56;border-radius:10px;padding:9px 10px;font-size:11px;font-weight:700}.mobile-company-switch{margin:0 0 12px}.mobile-company-switch select{color:#153b36;background:#f2f7f5;border-color:#d4e2df}.content{padding:22px 28px 38px}.welcome-card{color:#fff;background:linear-gradient(115deg,#10383b,#0c5f51 67%,#0b7565);border-radius:18px;justify-content:space-between;align-items:flex-end;gap:25px;min-height:174px;padding:29px 31px;display:flex;position:relative;overflow:hidden;box-shadow:0 13px 35px #0a4d442b}.welcome-card:after{content:"C";color:#ffffff08;font:700 260px Georgia,serif;position:absolute;top:-67px;right:145px}.welcome-card p,.panel-head p,.section-heading p,.modal-head p{color:#55d8d2;letter-spacing:.2em;margin:0 0 7px;font-size:9px;font-weight:700}.welcome-card h2{letter-spacing:-.04em;max-width:610px;margin:0;font-size:28px}.welcome-card span{color:#b9d0cf;max-width:650px;margin-top:8px;font-size:12px;display:block}.welcome-card button{z-index:1;color:#103b3d;background:#fff;border:1px solid #ffffff25;border-radius:11px;flex:none;padding:12px 17px;font-weight:700}.metric-grid{grid-template-columns:repeat(4,1fr);gap:13px;margin:15px 0;display:grid}.metric-grid.three{grid-template-columns:repeat(3,1fr)}.metric-grid.five{grid-template-columns:repeat(5,1fr)}.metric-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.metric{border:1px solid var(--line);background:#fff;border-radius:16px;justify-content:space-between;min-height:116px;padding:20px;display:flex}.metric.clickable{width:100%;color:inherit;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s}.metric.clickable:hover{border-color:#b9deda;transform:translateY(-2px);box-shadow:0 10px 25px #193b3a12}.metric.clickable:focus-visible{outline-offset:2px;outline:3px solid #39cdd04d}.metric>div{flex-direction:column;display:flex}.metric span{color:#7c8b8e;font-size:10px;font-weight:600}.metric strong{letter-spacing:-.04em;margin:7px 0 4px;font-size:23px}.metric small{color:#92a0a2;font-size:9px}.metric i{color:#238a8c;background:#e8f7f5;border-radius:11px;place-items:center;width:37px;height:37px;font-style:normal;display:grid}.metric.mint{color:#fff;background:linear-gradient(140deg,#102e33,#113f44);border-color:#10383f}.metric.mint span,.metric.mint small{color:#8eb6b8}.metric.mint i{color:#53dfd7;background:#ffffff12}.metric.warm i{color:#d26554;background:#fff0ed}.metric.loss strong,.metric-detail-total.loss strong{color:#c9473a}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:15px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:17px;overflow:hidden}.panel-head{justify-content:space-between;align-items:center;gap:15px;padding:20px 21px 13px;display:flex}.panel-head h3{margin:0;font-size:17px}.panel-head button{color:#138f94;background:0 0;border:0;font-size:10px;font-weight:700}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{color:#8b999c;letter-spacing:.08em;text-align:left;white-space:nowrap;background:#f8faf9;padding:12px 15px;font-size:8px}td{color:#4f6165;vertical-align:middle;border-top:1px solid #edf1f1;padding:14px 15px}td strong,td small{display:block}td strong{color:#203337}td small{color:#92a0a2;margin-top:3px;font-size:8px}.status{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:700;display:inline-block}.status.paid{color:#138064;background:#e4f8f0}.status.partial{color:#a76c13;background:#fff3df}.status.debt{color:#b85448;background:#ffebe7}.revenue-chart{margin-bottom:15px}.revenue-chart .panel-head{padding-bottom:4px}.revenue-chart .panel-head>strong{color:#0d6656;font-size:18px}.chart-wrap{padding:0 18px 10px}.chart-wrap svg{width:100%;height:225px;display:block;overflow:visible}.chart-grid-line{stroke:#e7eeee;stroke-width:1px;stroke-dasharray:4 5}.chart-area{fill:#2cc8bb18}.chart-line{fill:none;stroke:#27aaa1;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:#fff;stroke:#1f9b93;stroke-width:3px}.chart-wrap text{fill:#869698;font-size:10px;font-weight:600}.report-head{align-items:flex-end}.report-total{text-align:right}.report-total strong{color:#0d6656;font-size:18px}.report-controls{justify-content:space-between;align-items:flex-end;gap:12px;padding:8px 20px 4px;display:flex}.period-switch{background:#edf3f2;border-radius:10px;gap:6px;padding:4px;display:flex}.period-switch button{color:#617477;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 13px;font-size:10px;font-weight:700}.period-switch button.active{color:#fff;background:#0e625c}.report-controls label{color:#738487;gap:5px;font-size:9px;font-weight:700;display:grid}.report-controls input{color:#203438;background:#fbfcfc;border:1px solid #d8e4e2;border-radius:9px;padding:8px 10px}.daily-summary{border:1px solid var(--line);border-radius:13px;margin:0 18px 10px}.daily-summary table{min-width:660px}.daily-summary th,.daily-summary td{padding:11px 14px}.daily-positive{color:#07856f}.daily-negative{color:#c55645}.daily-note{color:#879597;padding:0 20px 17px;font-size:9px;display:block}.profit-origin-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,.72fr);gap:15px;margin-bottom:15px;display:grid}.profit-sources .panel-head>strong{color:#14786e;font-size:10px}.profit-source-list{gap:13px;padding:4px 21px 21px;display:grid}.profit-source-row{grid-template-columns:minmax(145px,.7fr) minmax(120px,1fr) 36px;align-items:center;gap:13px;display:grid}.profit-source-row>div:first-child{justify-content:space-between;gap:12px;display:flex}.profit-source-row span{color:#5f7275;font-size:10px}.profit-source-row strong{color:#203438;white-space:nowrap;font-size:11px}.profit-source-row>small{color:#7e9092;text-align:right;font-size:9px}.profit-source-track{background:#edf3f2;border-radius:999px;height:7px;overflow:hidden}.profit-source-track i{border-radius:inherit;background:linear-gradient(90deg,#21c8be,#329ce8);min-width:0;height:100%;display:block}.profit-formula dl{margin:0;padding:0 21px}.profit-formula dl div{border-top:1px solid #edf1f1;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;display:flex}.profit-formula dt{color:#708184;font-size:10px}.profit-formula dd{margin:0;font-size:12px;font-weight:700}.profit-formula .profit-total{border-top-color:#b9dcd7;margin-top:2px}.profit-formula .profit-total dt,.profit-formula .profit-total dd{font-size:14px;font-weight:800}.profit-formula>small{color:#879597;padding:3px 21px 20px;font-size:9px;line-height:1.5;display:block}.analysis-workspace{gap:18px}.analysis-period .report-controls{min-height:78px;padding:15px 18px}.analysis-period .report-controls>strong{color:#0e665c;text-align:right;text-transform:capitalize;font-size:14px}.direction-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.direction-card{border:1px solid var(--line);background:#fff;border-radius:17px;min-width:0;min-height:266px;padding:18px;overflow:hidden;box-shadow:0 8px 22px #133c3b0b}.direction-card:before{content:"";background:linear-gradient(90deg,#22c8bd,#2d9ce9);height:4px;margin:-18px -18px 16px;display:block}.direction-card.cutting:before{background:linear-gradient(90deg,#2d9ce9,#6674e8)}.direction-card.edging:before{background:linear-gradient(90deg,#0d8879,#24c8b8)}.direction-card.drilling:before{background:linear-gradient(90deg,#c89d58,#0d8879)}.direction-title{grid-template-columns:auto 1fr auto;align-items:center;gap:11px;display:grid}.direction-title i{color:#147a73;background:#e7f7f4;border-radius:12px;place-items:center;width:40px;height:40px;font-size:18px;font-style:normal;display:grid}.direction-title span,.direction-title strong{display:block}.direction-title span{color:#718184;font-size:10px}.direction-title strong{margin-top:3px;font-size:18px}.direction-title>b{color:#087963;background:#e5f7ef;border-radius:999px;padding:6px 8px;font-size:9px}.direction-card dl{margin:16px 0 0}.direction-card dl div{border-top:1px solid #edf1f1;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.direction-card dt{color:#748588;font-size:9px}.direction-card dd{color:#263b3e;text-align:right;margin:0;font-size:10px;font-weight:700}.direction-card .positive{color:#07856f}.direction-card .negative{color:#c55645}.direction-card>small{color:#8b999b;margin-top:10px;font-size:8px;line-height:1.45;display:block}.analysis-compare .panel-head{align-items:flex-end}.analysis-compare .panel-head>strong{font-size:16px}.analysis-table{min-width:760px}.analysis-table tfoot td{background:#f7faf9;border-top:2px solid #d9e6e4}.analysis-note{color:#839396;padding:13px 20px 18px;font-size:9px;line-height:1.5;display:block}.attention-panel{padding-bottom:10px}.attention-panel>button{text-align:left;background:#f7f9f8;border:0;border-radius:12px;grid-template-columns:38px 1fr 18px;align-items:center;gap:10px;width:calc(100% - 24px);margin:0 12px 8px;padding:11px;display:grid}.attention-panel button div strong,.attention-panel button div small{display:block}.attention-panel button div strong{font-size:11px}.attention-panel button div small{color:#8b999b;margin-top:3px;font-size:9px}.attention-panel button>b{color:#8ca0a3}.attention-icon{border-radius:10px;place-items:center;width:35px;height:35px;font-weight:800;display:grid}.attention-icon.coral{color:#d25f51;background:#ffebe7}.attention-icon.amber{color:#b77818;background:#fff2dc}.attention-icon.cyan{color:#158e99;background:#e4f7f7}.overview-empty{text-align:center;place-content:center;gap:6px;min-height:170px;padding:30px;display:grid}.overview-empty strong{color:#203438}.overview-empty span{color:#879597;font-size:10px}.page-stack{gap:15px;display:grid}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;padding:8px 2px 4px;display:flex}.section-heading h2{letter-spacing:-.04em;margin:0;font-size:25px}.section-heading span{color:#77878a;margin-top:5px;font-size:11px;display:block}.filter-row{gap:7px;display:flex}.filter-row button{color:#6b7c7f;background:#fff;border:1px solid #dce5e5;border-radius:9px;padding:8px 12px;font-size:10px}.filter-row button.selected{color:#fff;background:#0d5558;border-color:#0c5558}.table-card{min-height:240px}.cash-list{padding-bottom:8px}.cash-row{border-top:1px solid #edf1f1;grid-template-columns:1fr auto auto;align-items:center;gap:24px;padding:14px 20px;display:grid}.cash-row div strong,.cash-row div small{display:block}.cash-row div strong{font-size:12px}.cash-row div small{color:#89999b;margin-top:3px;font-size:9px}.cash-row>strong{color:#b8584c;font-size:13px}.cash-row button,.link-button{color:#1a7e82;background:#fff;border:1px solid #dce5e5;border-radius:8px;padding:8px 10px;font-size:9px;font-weight:700}.link-button{white-space:nowrap}.heading-actions{gap:8px;display:flex}.heading-actions>button:not(.primary){color:#167d80;background:#fff;border:1px solid #dce5e5;border-radius:11px;padding:10px 14px;font-size:10px;font-weight:700}.empty-debts{text-align:center;gap:5px;padding:28px;display:grid}.empty-debts strong{color:#405457}.empty-debts span{color:#879597;font-size:10px}.permission-note{color:#869699;margin:-7px 3px 0;font-size:9px}.sale-actions{gap:6px;display:flex}.sale-actions button{color:#167d80;white-space:nowrap;background:#fff;border:1px solid #cfe0df;border-radius:8px;padding:7px 9px;font-size:8px;font-weight:700}.sale-actions button:hover{background:#eff9f7}.sale-actions button.danger{color:#b84e41;border-color:#efd4cf}.sale-actions button.danger:hover{background:#fff1ee}.clients-panel{min-height:300px}.clients-search{background:#f8faf9;border:1px solid #dbe5e4;border-radius:10px;align-items:center;gap:8px;width:min(280px,42vw);height:38px;padding:0 11px;display:flex}.clients-search span{color:#60777a}.clients-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:11px}.clients-panel tbody td:nth-child(4){font-weight:700}.history-amount.income{color:#138064}.history-amount.expense{color:#bd5849}.history-amount.debt{color:#a76c13}.ai-live{white-space:nowrap;background:#ebfaf7;border:1px solid #bde8e3;border-radius:999px;align-self:center;padding:8px 12px;font-weight:700;color:#14756d!important;font-size:9px!important}.ai-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:15px;display:grid}.ai-insights{gap:9px;padding:0 17px 18px;display:grid}.ai-insight{background:#f8faf9;border:1px solid #e5eceb;border-radius:13px;align-items:flex-start;gap:12px;padding:14px;display:flex}.ai-insight i{color:#167d80;background:#e1f6f3;border-radius:9px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-style:normal;font-weight:800;display:grid}.ai-insight div{gap:4px;display:grid}.ai-insight strong{font-size:11px}.ai-insight span{color:#76878a;font-size:10px;line-height:1.45}.ai-insight.warning{background:#fff9f5;border-color:#f0ddd3}.ai-insight.warning i{color:#bd634c;background:#fee9df}.ai-insight.good i{color:#148064;background:#dff6ec}.ai-summary dl{margin:0;padding:0 20px}.ai-summary dl div{border-top:1px solid #edf1f1;justify-content:space-between;gap:14px;padding:13px 0;display:flex}.ai-summary dt{color:#78888b;font-size:10px}.ai-summary dd{margin:0;font-size:12px;font-weight:700}.ai-summary .positive dd{color:#118266}.ai-summary .negative dd{color:#bf5848}.ai-summary>small{color:#8b999b;margin:16px 20px 20px;font-size:9px;line-height:1.5;display:block}.ai-chat .panel-head>span{color:#7f9193;font-size:9px}.ai-quick-questions{flex-wrap:wrap;gap:7px;padding:0 20px 13px;display:flex}.ai-quick-questions button{color:#176f6e;background:#f1faf8;border:1px solid #cfe3e1;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:700}.ai-quick-questions button:hover{background:#e5f8f4;border-color:#7bc9c2}.ai-messages{background:#f8faf9;border-block:1px solid #edf1f1;align-content:start;gap:10px;min-height:150px;max-height:330px;padding:17px 20px;display:grid;overflow:auto}.ai-message{align-items:flex-start;gap:9px;max-width:82%;display:flex}.ai-message i{color:#13766f;background:#dff5f1;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:9px;font-style:normal;font-weight:800;display:grid}.ai-message p{color:#43575a;background:#fff;border:1px solid #dfe9e8;border-radius:4px 13px 13px;margin:0;padding:10px 12px;font-size:11px;line-height:1.55}.ai-message.user{flex-direction:row-reverse;justify-self:end}.ai-message.user i{color:#fff;background:#11736c}.ai-message.user p{color:#fff;background:#11736c;border-color:#126d67;border-radius:13px 4px 13px 13px}.ai-chat-form{grid-template-columns:1fr auto;gap:9px;padding:15px 20px 9px;display:grid}.ai-chat-form input{background:#fbfcfc;border:1px solid #d7e3e2;border-radius:11px;outline:none;width:100%;min-width:0;padding:11px 13px;font-size:11px}.ai-chat-form input:focus{border-color:#27bfc1;box-shadow:0 0 0 3px #25c8ca18}.ai-chat-form button:disabled{cursor:not-allowed;opacity:.48}.ai-chat-note{color:#8a999b;padding:0 20px 16px;font-size:8px;display:block}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#07191ec7;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:19px;width:min(710px,100%);max-height:92vh;overflow:auto;box-shadow:0 28px 80px #0007}.modal-head{border-bottom:1px solid #e7eded;justify-content:space-between;align-items:center;padding:22px 25px 16px;display:flex}.modal-head h2{margin:0;font-size:23px}.modal-head button{background:#f0f4f3;border:0;border-radius:9px;width:34px;height:34px;font-size:20px}.form-grid{grid-template-columns:1fr 1fr;gap:14px;padding:20px 25px;display:grid}.form-grid label{color:#5d7073;gap:6px;font-size:10px;font-weight:600;display:grid}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{background:#fbfcfc;border:1px solid #dce5e5;border-radius:10px;outline:none;width:100%;padding:11px 12px;font-size:12px}.form-grid textarea{resize:vertical;min-height:76px}.form-grid small{color:#98a6a8;font-size:8px}.calculation{background:#f3f8f7;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 25px;padding:14px;display:grid}.calculation span{color:#7c8c8f;font-size:9px}.calculation span b{color:#273b3e;margin-top:4px;font-size:12px;display:block}.calculation>strong{border-top:1px solid #dce7e5;grid-column:1/-1;justify-content:space-between;padding-top:10px;font-size:12px;display:flex}.calculation>strong b{color:#0b8279;font-size:18px}.expense-total{color:#7a5e56;background:#fff4ef;border-radius:12px;justify-content:space-between;align-items:center;margin:0 25px;padding:14px;font-size:12px;display:flex}.expense-total strong{color:#c85236;font-size:20px}.modal-actions{justify-content:flex-end;gap:9px;padding:19px 25px 24px;display:flex}.modal-actions button{color:#607175;background:#fff;border:1px solid #dbe3e3;border-radius:10px;padding:10px 15px;font-weight:600}.modal-actions button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.toast{z-index:70;color:#fff;background:#0d6d61;border-radius:12px;padding:13px 17px;font-size:12px;font-weight:700;animation:.2s toast-in;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 32px #063b3570}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}}.balance-warning{color:#186b65;background:#ebfaf7;border:1px solid #bde8e3;border-radius:11px;margin:18px 25px 0;padding:12px 14px;font-size:11px;font-weight:700}.sale-modal .form-grid>label.full:first-child{grid-column:auto;align-self:start}.form-grid>label.full:has(>input[placeholder="ФИО или название мастерской"]){grid-column:auto;align-self:start}.sale-modal .form-grid>label:nth-child(2){align-self:start}.balance-warning.danger{color:#a94637;background:#fff0ec;border-color:#f1c2b8}.loan-kind-switch{background:#edf3f2;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;margin:16px 25px 0;padding:5px;display:grid}.loan-kind-switch button{color:#617477;background:0 0;border:0;border-radius:9px;padding:11px 12px;font-size:10px;font-weight:700}.loan-kind-switch button.active{color:#fff;background:#0e625c;box-shadow:0 5px 14px #0d61552d}.loan-total{background:#eef9f7}.loan-total strong{color:#0b8175}.debt-entry-modal{width:min(710px,100%)}.debt-entry-modal .modal-head{padding-top:24px}.debt-entry-modal .modal-head p{color:#20bfc0;letter-spacing:.2em;margin:0 0 8px;font-size:9px;font-weight:800}.debt-entry-grid{padding-bottom:18px}.debt-entry-grid label{color:#52676b}.debt-entry-grid small{margin-top:-1px}.debt-entry-modal .loan-total{margin-top:0}.debt-entry-modal .loan-total span{color:#84633e}.debt-entry-modal .loan-total strong{white-space:nowrap}@media (max-width:1050px){.metric-grid,.metric-grid.five,.metric-grid.six{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.ai-grid,.profit-origin-grid{grid-template-columns:1fr}.direction-cards{grid-template-columns:1fr 1fr}.search{display:none}}@media (max-width:760px){.app-shell{display:block}.sidebar{z-index:40;flex-direction:row;align-items:center;width:auto;height:68px;padding:7px 8px;position:fixed;inset:auto 0 0}.brand,.menu-caption,.sidebar-bottom{display:none}.nav-list{scrollbar-width:none;gap:2px;width:100%;display:flex;overflow-x:auto}.nav-list::-webkit-scrollbar{display:none}.nav-list button{text-align:center;flex:0 0 72px;place-items:center;gap:2px;padding:6px 2px;font-size:8px;display:grid}.nav-list button span{font-size:16px}.nav-list button.active{box-shadow:inset 0 2px #24d6d8}.main-area{min-height:100vh}.topbar{height:66px;padding:0 15px}.topbar h1{font-size:17px}.expense-quick{padding:10px;font-size:0}.topbar .primary{font-size:0;padding:10px!important}.notification{display:none}.content{padding:14px 13px 90px}.welcome-card{flex-direction:column;align-items:flex-start;min-height:190px;padding:23px}.welcome-card h2{font-size:24px}.welcome-card:after{right:-20px}.metric-grid,.metric-grid.three{grid-template-columns:1fr 1fr}.metric{min-height:105px;padding:15px}.section-heading{flex-direction:column;align-items:flex-start}.heading-actions{width:100%}.heading-actions button{flex:1}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.calculation{grid-template-columns:1fr 1fr}.cash-row{grid-template-columns:1fr auto;gap:10px}.cash-row button{grid-column:1/-1}.chart-wrap{padding:0 7px 8px}.chart-wrap svg{height:180px}.ai-message{max-width:94%}.ai-chat-form{grid-template-columns:1fr}.ai-chat-form button{width:100%}.toast{text-align:center;bottom:82px;left:12px;right:12px}.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.org-switcher-wrap{min-width:0}.org-switch-label{display:none}.org-switcher{min-width:104px;padding:8px 9px;font-size:10px}}@media (max-width:460px){.metric-grid,.metric-grid.three,.metric-grid.five,.metric-grid.six{grid-template-columns:1fr}.nav-list button{font-size:7px}.welcome-card h2{font-size:22px}.calculation{grid-template-columns:1fr}.top-actions .org-switcher-wrap{justify-content:flex-start;width:100%}.top-actions .org-switcher{width:100%;min-width:0}.loan-kind-switch{grid-template-columns:1fr}}@media (max-width:760px){.daily-summary{margin:0 7px 10px}.daily-note{padding-inline:10px}.report-head,.report-controls{flex-direction:column;align-items:stretch}.report-total{text-align:left}.period-switch button{flex:1}.direction-cards{grid-template-columns:1fr}.analysis-period .report-controls>strong{text-align:left}.clients-panel .panel-head{flex-direction:column;align-items:stretch}.clients-search{width:100%}}@media (max-width:560px){.profit-source-row{grid-template-columns:1fr 42px}.profit-source-row>div:first-child{grid-column:1/-1}.profit-source-track{grid-column:1}}:root{--ink:#142b28;--muted:#71817d;--line:#dce5df;--cyan:#168b77;--blue:#2b7969;--deep:#062f27;--green:#0b5c4b;--paper:#f3f4f0;--wood:#b67f49;--wood-light:#ecd5b9}html,body{background:radial-gradient(circle at 82% -10%,#e9efe8 0,transparent 34%),var(--paper)}.app-shell{grid-template-columns:252px minmax(0,1fr);width:100%}.sidebar{background:radial-gradient(circle at 15% 0,#145a4b 0,#083b32 31%,#05241f 100%);width:252px;padding:16px 14px 12px;overflow:hidden;box-shadow:12px 0 40px #0b302726}.brand{width:100%;height:82px;min-height:82px;box-shadow:none;background:0 0;border:1px solid #dcb07b40;border-radius:15px;flex:0 0 82px;padding:0 10px;overflow:hidden}.brand-logo{object-fit:contain;object-position:center;width:100%;height:100%;display:block}.brand-mark{display:none}.menu-caption{color:#8fb0a8;margin:18px 13px 9px}.nav-list{flex:none;grid-auto-rows:min-content;align-content:start;gap:4px;overflow:visible}.nav-list button{color:#b9cbc6;border:1px solid #0000;border-radius:11px;min-height:39px;padding:9px 12px}.nav-list button span{color:#91aaa4}.nav-list button:hover{background:#ffffff0b;border-color:#ffffff12}.nav-list button.active{box-shadow:inset 3px 0 0 var(--wood),0 8px 20px #021c1833;background:linear-gradient(90deg,#176152,#0e4c42);border-color:#d8ab7440}.nav-list button.active span{color:#e2b67f}.sidebar-bottom{gap:8px}.sidebar-bottom select,.user-chip{background:#ffffff0a;border-color:#dcb07b24}.user-chip{padding:8px 10px}.user-chip>span{background:linear-gradient(145deg,#168b77,#b67f49);width:32px;height:32px}.access-status{background:#ffffff08;border:1px solid #dcb07b24;border-radius:12px;gap:2px;padding:8px 11px;display:grid}.access-status small{color:#82a59c;letter-spacing:.15em;font-size:8px}.access-status strong{color:#fff;font-size:12px}.access-status span{color:#78968f;font-size:8px}.access-manage{color:#e4c39c;background:#ffffff08;border:1px solid #dcb07b36;border-radius:11px;width:100%;padding:8px 11px;font-size:9px;font-weight:700}.access-manage:hover{background:#ffffff10}.mobile-dock,.mobile-nav-backdrop{display:none}.main-area{grid-column:2}.topbar{background:#fbfcf9eb;border-bottom-color:#dce5df;height:82px;box-shadow:0 8px 26px #173a3210}.topbar-heading{align-items:center;gap:11px;min-width:0;display:flex}.topbar-logo{display:none}.data-load-error{color:#79501d;background:#fff6e6;border:1px solid #e5c490;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;margin:16px 28px 0;padding:14px 16px;display:flex}.data-load-error>div{gap:4px;min-width:0;display:grid}.data-load-error strong{font-size:13px}.data-load-error p,.data-load-error small{overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.5}.data-load-error button{min-height:44px;color:inherit;background:#fffaf2;border:1px solid #d5af72;border-radius:10px;flex:none;padding:10px 14px;font-weight:700}.data-load-error button:disabled{cursor:wait;opacity:.65}.topbar small{color:#9b6a3c}.topbar h1{color:#17332d;font-size:21px}.search{background:#f5f7f3;border-color:#d7e2dc}.primary{box-shadow:0 9px 22px #0c66552c;color:#fff!important;background:linear-gradient(135deg,#168b77,#0c6655)!important}.primary:hover{filter:brightness(1.05);transform:translateY(-1px)}.content{width:100%;max-width:1680px;margin:0 auto;padding:24px 30px 42px}.welcome-card{background:radial-gradient(circle at 82% 30%,#17725e 0,#0000 30%),linear-gradient(120deg,#07352e,#0b594a 64%,#0a6a58);border:1px solid #d5a66d52;border-radius:24px;min-height:190px;padding:32px 34px;box-shadow:0 18px 42px #073c302b}.welcome-card:before{content:"";border-radius:inherit;pointer-events:none;border-top:3px solid #d4a268;position:absolute;inset:0}.welcome-card:after{color:#e1b27b0d;font-size:285px;top:-82px;right:115px}.welcome-copy,.welcome-card>button{z-index:1;position:relative}.welcome-brand-line{color:#e2b47d;letter-spacing:.2em;align-items:center;gap:9px;margin-bottom:14px;font-size:9px;font-weight:800;display:flex}.welcome-brand-line i{background:#d3a068;border-radius:99px;width:28px;height:2px;box-shadow:0 0 12px #d3a06866}.welcome-card p{color:#8bd8c8}.welcome-card h2{max-width:720px;font-size:30px;line-height:1.08}.welcome-card span{color:#c9dcd7}.welcome-card button{background:linear-gradient(135deg,#fff,#f0dfc9);border-color:#e1bb8f80;border-radius:13px;padding:14px 20px;box-shadow:0 12px 28px #031f1a42}.metric-grid{gap:15px;margin:17px 0}.metric{border-color:#dbe4df;border-radius:20px;min-height:122px;padding:21px;position:relative;overflow:hidden;box-shadow:0 8px 24px #13372f0b}.metric:before{content:"";opacity:.55;background:#c99a64;width:3px;position:absolute;inset:0 auto 0 0}.metric strong{color:#18332d;font-size:24px}.metric i{color:#117562;background:#e5f3ed}.metric.mint{background:linear-gradient(145deg,#0a352e,#124f43);border-color:#164d42}.metric.mint strong{color:#fff}.metric.mint:before{opacity:1;background:#dfad73}.metric em{color:#9a7048;letter-spacing:.04em;opacity:0;margin-top:10px;font-size:8px;font-style:normal;font-weight:800;transition:all .18s;transform:translateY(3px)}.metric.mint em{color:#e4ba86}.metric.clickable:hover em,.metric.clickable:focus-visible em{opacity:1;transform:none}.metric-detail-backdrop{z-index:80}.metric-detail-modal{background:#fff;border:1px solid #e4d1b9;border-radius:24px;width:min(520px,100%);overflow:hidden;box-shadow:0 30px 90px #001f1966}.metric-detail-total{background:linear-gradient(135deg,#edf7f2,#fbf8f2);border:1px solid #d9e7df;border-radius:16px;gap:6px;margin:20px 24px 12px;padding:19px;display:grid}.metric-detail-total span{color:#6d8079;font-size:10px;font-weight:700}.metric-detail-total strong{color:#0c6655;letter-spacing:-.04em;font-size:29px}.metric-detail-total small{color:#788984;font-size:10px}.metric-detail-list{gap:8px;max-height:310px;padding:4px 24px 12px;display:grid;overflow:auto}.metric-detail-list>.metric-detail-row{background:#fafbf8;border:1px solid #e5ece7;border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 13px;display:grid}.metric-detail-row>div{gap:4px;min-width:0;display:grid}.metric-detail-row strong{color:#263b35;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.metric-detail-row small{color:#7b8b86;font-size:9px;line-height:1.4}.metric-detail-row>b{color:#0d7664;text-align:right;max-width:150px;font-size:10px}.metric-detail-list>.metric-detail-empty{color:#768780;text-align:center;background:#fafbf8;border:1px dashed #cedbd5;border-radius:13px;padding:18px;font-size:10px}.metric-detail-note{color:#6d7e79;background:#f1f5f2;border-radius:11px;margin:0 24px;padding:11px 13px;font-size:9px}.panel,.direction-card{border-color:#dce5df;border-radius:20px;box-shadow:0 9px 28px #12372f0c}.panel-head{padding:21px 22px 14px}th{color:#7d8e88;background:#f5f7f3}td{border-top-color:#e9efeb}.modal{border:1px solid #e5d5c2;border-radius:24px}.modal-head{background:linear-gradient(#fff,#fbfaf7)}.form-grid input,.form-grid select,.form-grid textarea{background:#fafbf8;border-color:#d8e3dd;min-height:44px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#168b77;box-shadow:0 0 0 3px #168b771c}.system-live{white-space:nowrap;border-radius:999px;align-self:center;padding:8px 12px;font-weight:800;font-size:9px!important}.system-live.good{background:#eaf8f2;border:1px solid #b8e2d4;color:#12725f!important}.system-live.warning{background:#fff5e7;border:1px solid #ead0ad;color:#9a5d24!important}.system-health{padding-bottom:15px}.system-health .panel-head>span{color:#6f827c;font-size:9px}.system-checks{gap:9px;padding:2px 20px 10px;display:grid}.system-checks>div{background:#f8faf7;border:1px solid #dfe9e3;border-radius:13px;align-items:flex-start;gap:11px;padding:12px 13px;display:flex}.system-checks>div.warning{background:#fff8ee;border-color:#ecd5b6}.system-checks i{color:#11725f;background:#dff3eb;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-style:normal;font-weight:800;display:grid}.system-checks .warning i{color:#a56428;background:#f5e3c9}.system-checks strong,.system-checks span{display:block}.system-checks strong{color:#28423b;font-size:11px}.system-checks span{color:#70827c;margin-top:3px;font-size:9px;line-height:1.45}.system-health>small{color:#899791;padding:0 20px;font-size:8px;display:block}.command-chat{border-color:#cbded5}.access-modal{background:#fff;border:1px solid #e4d1b9;border-radius:24px;width:min(760px,100%);max-height:92vh;overflow:auto;box-shadow:0 30px 90px #001f1966}.access-note{color:#51665f;background:#eff7f3;border:1px solid #d9e8df;border-radius:12px;margin:16px 22px 0;padding:12px 14px;font-size:10px;line-height:1.5}.access-form{grid-template-columns:1.4fr 1fr auto;align-items:end;gap:10px;padding:16px 22px 12px;display:grid}.access-form label{color:#61746d;gap:5px;font-size:9px;font-weight:700;display:grid}.access-form input,.access-form select,.access-users select{background:#fafbf8;border:1px solid #d8e3dd;border-radius:10px;outline:none;min-height:40px;padding:8px 10px;font-size:10px}.access-message{color:#0f7562;margin:0 22px 10px;font-size:9px;font-weight:700}.access-users{gap:8px;padding:5px 22px 14px;display:grid}.access-users>div{background:#fafbf8;border:1px solid #e4ebe7;border-radius:12px;grid-template-columns:minmax(170px,1fr) 150px auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.access-users strong,.access-users small{display:block}.access-users strong{font-size:10px}.access-users small{color:#84918d;margin-top:3px;font-size:8px}.access-users button{color:#15745f;background:#fff;border:1px solid #d6e2dc;border-radius:9px;padding:8px 10px;font-size:9px;font-weight:700}.access-users button.danger{color:#b55447;border-color:#ecd3ce}.access-matrix{background:#f4f7f4;border-radius:14px;margin:0 22px;padding:14px}.access-matrix h3{margin:0 0 7px;font-size:12px}.access-matrix dl{margin:0}.access-matrix dl div{border-top:1px solid #e1e8e3;justify-content:space-between;gap:18px;padding:8px 0;display:flex}.access-matrix dt{color:#244139;font-size:9px;font-weight:800}.access-matrix dd{color:#6d7e79;text-align:right;margin:0;font-size:9px}.employee-add-panel{overflow:visible}.employee-add-panel .panel-head{padding-bottom:2px}.employee-access-hint{color:#51665f;background:#eff7f3;border:1px solid #d9e8df;border-radius:12px;margin:0 22px 18px;padding:11px 13px;font-size:9px;line-height:1.5}.employee-message{color:#0f7562;background:#edf8f3;border:1px solid #cfe5da;border-radius:12px;padding:11px 14px;font-size:10px;font-weight:700}.employees-panel .panel-head>span{color:#71817d;font-size:10px;font-weight:700}.employees-panel table{min-width:860px}.employees-panel td{padding-block:12px}.employee-identity{align-items:center;gap:10px;display:flex}.employee-identity>i{color:#fff;background:linear-gradient(145deg,#168b77,#b67f49);border-radius:11px;flex:none;place-items:center;width:34px;height:34px;font-style:normal;font-weight:800;display:grid}.employee-identity strong,.employee-identity small{display:block}.employees-panel select{color:#29433c;background:#fafbf8;border:1px solid #d8e3dd;border-radius:10px;min-width:145px;min-height:38px;padding:7px 9px;font-size:10px}.employee-permissions{color:#6d7e79;max-width:320px;line-height:1.45}.employee-toggle{color:#15745f;background:#fff;border:1px solid #cfe1d8;border-radius:9px;padding:8px 10px;font-size:9px;font-weight:800}.employee-toggle.danger{color:#b55447;border-color:#ecd3ce}.employee-toggle:disabled,.employees-panel select:disabled{opacity:.55;cursor:wait}.employee-salary-note{color:#5d6f69;background:#fff9ef;border:1px solid #e4d1b9;border-radius:15px;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:14px 16px;display:grid}.employee-salary-note strong{color:#845d37;font-size:11px}.employee-salary-note span{font-size:10px;line-height:1.5}.owner-only-badge{color:#0c725f;letter-spacing:.04em;background:#eef8f4;border:1px solid #d5e3dd;border-radius:999px;align-items:center;min-height:34px;padding:8px 13px;font-size:9px;font-weight:800;display:inline-flex}.permission-matrix-panel{overflow:hidden}.permission-matrix-head{justify-content:space-between;align-items:flex-end;gap:24px;padding:24px 26px 18px;display:flex}.permission-matrix-head p{color:#24bfc2;letter-spacing:.26em;margin:0 0 8px;font-size:9px;font-weight:800}.permission-matrix-head h3{color:#102a26;margin:0;font-size:20px;font-weight:500}.permission-matrix-head>div>span{color:#74837f;margin-top:7px;font-size:10px;display:block}.permission-search{color:#48635c;background:#fafbf9;border:1px solid #d7e2dc;border-radius:13px;align-items:center;gap:9px;width:min(270px,100%);min-height:44px;padding:0 13px;display:flex}.permission-search input{color:#17322c;width:100%;font:inherit;background:0 0;border:0;outline:0}.permission-matrix-wrap{border-top:1px solid #e1e8e4;border-bottom:1px solid #e1e8e4;width:100%;overflow-x:auto}.permission-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:1050px}.permission-matrix th,.permission-matrix td{text-align:center;border-bottom:1px solid #e2e8e5;border-right:1px solid #e2e8e5;height:62px;padding:10px}.permission-matrix thead th{color:#60716c;letter-spacing:.08em;text-transform:uppercase;background:#f4f7f4;height:52px;font-size:8px;font-weight:800}.permission-matrix thead th:first-child,.permission-matrix tbody th{z-index:2;text-align:left;min-width:160px;padding-left:20px;position:sticky;left:0}.permission-matrix thead th:first-child{z-index:3}.permission-matrix tbody th{color:#122d28;background:#fff;font-size:11px}.permission-matrix tbody th strong,.permission-matrix tbody th small{display:block}.permission-matrix tbody th small{color:#a47542;margin-top:4px;font-size:8px;font-weight:600}.permission-matrix tr:last-child th,.permission-matrix tr:last-child td{border-bottom:0}.permission-matrix th:last-child,.permission-matrix td:last-child{border-right:0}.permission-check{cursor:pointer;place-items:center;width:29px;height:29px;display:inline-grid}.permission-check input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.permission-check>span{color:#fff;background:#fff;border:1.5px solid #aab9b4;border-radius:5px;place-items:center;width:22px;height:22px;font-size:14px;font-style:normal;font-weight:900;transition:all .15s;display:grid}.permission-check.checked>span{background:#087665;border-color:#087665;box-shadow:0 4px 12px #08766522}.permission-check:not(.fixed):hover>span{border-color:#168b77;transform:translateY(-1px)}.permission-check.fixed{cursor:not-allowed}.permission-check.fixed>span{color:#0d755f;box-shadow:none;background:#dff1eb;border-color:#87b7aa}.permission-check:has(input:focus-visible)>span{outline-offset:2px;outline:3px solid #24c9cd55}.permission-matrix-note{background:#fbfcfa;grid-template-columns:1fr 1fr;gap:14px;padding:18px 26px 22px;display:grid}.permission-matrix-note>div{background:#f1f7f4;border:1px solid #dce7e1;border-radius:13px;padding:13px 15px}.permission-matrix-note strong,.permission-matrix-note span{display:block}.permission-matrix-note strong{color:#126c5a;font-size:10px}.permission-matrix-note span{color:#6f817b;margin-top:5px;font-size:9px;line-height:1.5}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.stock-workspace .section-heading>.primary{min-width:170px}.stock-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 10px}.stock-metrics .metric{min-height:142px}.stock-metrics .metric i{width:42px;height:42px}.stock-table-card{min-height:300px;overflow:hidden}.stock-table-card table{min-width:980px}.stock-table-card td{padding-block:16px}.stock-table-card td:nth-child(5) strong,.stock-table-card td:nth-child(7) strong{color:#142b28}.fifo-lot-details{min-width:180px}.fifo-lot-details summary{color:#13725f;cursor:pointer;font-weight:800}.fifo-lot-details>div{background:#f7fbf9;border:1px solid #dce9e3;border-radius:10px;gap:6px;margin-top:10px;padding:10px;display:grid}.fifo-lot-details span{color:#647771;gap:2px;font-size:9px;line-height:1.35;display:grid}.fifo-lot-details span b{color:#263e39;font-size:9px}.debts-workspace .section-heading>.primary{min-width:170px}.debts-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 10px}.debts-metrics .metric{min-height:142px}.debt-clients-panel,.debt-obligations-panel{overflow:hidden}.debt-clients-panel{min-height:220px}.debt-obligations-panel{min-height:270px}.debt-clients-panel .panel-head>strong{color:#13725f;font-size:10px}.debt-clients-panel table{min-width:820px}.debt-obligations-panel table{min-width:1080px}.debt-kind-badge{white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800;display:inline-block}.debt-kind-badge.incoming{color:#0f7562;background:#e5f5ef}.debt-kind-badge.outgoing{color:#c25342;background:#ffebe7}.cash-balance-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 10px}.cash-balance-metrics .metric{min-height:142px}.account-balances-panel,.settlement-panel{overflow:hidden}.account-balances-panel .panel-head>strong{color:#087769;font-size:16px}.account-balance-grid{border-top:1px solid #e2e9e5;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;display:grid}.account-balance-grid .metric{min-height:128px;box-shadow:none;border:0;border-right:1px solid #e2e9e5;border-radius:0}.account-balance-grid .metric:last-child{border-right:0}.account-balance-grid .metric:hover{background:#f8fbf8;transform:none}.settlement-panel table{min-width:900px}.settlement-totals{color:#71827f;align-items:center;gap:16px;font-size:10px;display:flex}.settlement-totals b{color:#183832}.settlement-direction{white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800;display:inline-block}.settlement-direction.to-us{color:#08735f;background:#e2f5ee}.settlement-direction.from-us{color:#bd4b3b;background:#ffebe7}.expenses-workspace .section-heading{margin-bottom:4px}.expense-period{grid-template-columns:auto 1fr auto;align-items:end;gap:24px;min-height:78px;margin:0;padding:15px 20px;display:grid}.expense-period>label{color:#788987;justify-self:center;gap:6px;font-size:9px;font-weight:700;display:grid}.expense-period input{color:#193b35;min-height:37px;font:inherit;background:#fbfcfa;border:1px solid #d8e3df;border-radius:11px;padding:7px 12px;font-weight:700}.expense-period>strong{color:#087264;text-align:right;align-self:center;font-size:15px}.expense-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 8px}.expense-metrics .metric{min-height:142px}.expense-ledger,.loan-ledger{overflow:hidden}.expense-ledger table{min-width:1050px}.loan-ledger table{min-width:900px}.expense-ledger td:first-child{gap:3px;display:grid}.expense-ledger td:first-child small{color:#84928f;font-size:8px}.expense-category-badge{color:#a75d10;white-space:nowrap;background:#fff0d7;border-radius:999px;padding:6px 10px;font-size:8px;font-weight:800;display:inline-block}.profit-impact,.cash-effect{white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800;display:inline-block}.profit-impact.reduces,.cash-effect.out{color:#c45343;background:#ffe9e5}.profit-impact.neutral,.cash-effect.in{color:#0b806a;background:#e3f6ef}.loan-ledger .panel-head>button{color:#087f72;font-weight:800}@media (min-width:761px) and (min-height:680px){.modal-backdrop:has(form.modal .calculation){padding:12px}form.modal:has(.calculation){width:min(880px,100vw - 24px);max-height:calc(100vh - 24px);overflow:hidden}form.modal:has(.calculation) .modal-head{padding:13px 20px 10px}form.modal:has(.calculation) .modal-head h2{font-size:20px}form.modal:has(.calculation) .modal-head p{margin-bottom:4px;font-size:8px}form.modal:has(.calculation) .modal-head button{width:32px;height:32px}form.modal:has(.calculation) .balance-warning{margin:9px 20px 0;padding:8px 11px;font-size:9px;line-height:1.35}form.modal:has(.calculation) .form-grid{gap:7px 14px;padding:10px 20px}form.modal:has(.calculation) .form-grid label{gap:3px;font-size:9px}:is(form.modal:has(.calculation) .form-grid input,form.modal:has(.calculation) .form-grid select){min-height:36px;padding:7px 10px;font-size:11px}form.modal:has(.calculation) .calculation{grid-template-columns:repeat(4,1fr);gap:6px;margin:0 20px;padding:9px 12px}form.modal:has(.calculation) .calculation span{font-size:8px}form.modal:has(.calculation) .calculation span b{margin-top:2px;font-size:11px}form.modal:has(.calculation) .calculation>strong{border-top:0;border-left:1px solid #dce7e5;grid-column:auto;align-items:center;padding:0 0 0 12px;font-size:10px}form.modal:has(.calculation) .calculation>strong b{font-size:16px}form.modal:has(.calculation) .modal-actions{padding:10px 20px 13px}form.modal:has(.calculation) .modal-actions button{padding:8px 14px;font-size:11px}}@media (max-width:760px){.app-shell{display:block}.sidebar{width:auto}.nav-list{grid-auto-rows:auto;align-content:normal;overflow-y:hidden}.main-area{grid-column:auto}.topbar{height:70px;padding:0 13px}.topbar-heading{gap:9px}.topbar-logo{object-fit:contain;object-position:center;border:0;border-radius:10px;width:44px;height:44px;display:block}.topbar-heading small{display:none}.topbar h1{text-overflow:ellipsis;white-space:nowrap;max-width:42vw;font-size:15px;overflow:hidden}.content{padding:14px 13px 92px}.welcome-card{border-radius:20px;min-height:205px;padding:24px}.welcome-brand-line{max-width:250px;font-size:8px;line-height:1.5}.welcome-card h2{font-size:24px}.metric{border-radius:17px;min-height:112px;padding:16px}.metric em{opacity:1;display:block;transform:none}.metric-detail-modal{border-radius:20px;max-height:90vh;overflow:auto}.system-live{align-self:flex-start}.access-form,.access-users>div{grid-template-columns:1fr}.access-users select,.access-users button{width:100%}.employee-add-panel .access-form{padding-inline:16px}.employee-access-hint{margin-inline:16px}.employee-salary-note{grid-template-columns:1fr}.stock-workspace .section-heading>.primary{width:100%;min-height:48px}.stock-metrics{grid-template-columns:1fr 1fr}.stock-metrics .metric{min-height:118px}.debts-workspace .section-heading>.primary{width:100%;min-height:48px}.debts-metrics{grid-template-columns:1fr 1fr}.debts-metrics .metric{min-height:118px}.cash-balance-metrics{grid-template-columns:1fr 1fr}.cash-balance-metrics .metric{min-height:118px}.account-balance-grid{grid-template-columns:1fr 1fr}.account-balance-grid .metric{border-bottom:1px solid #e2e9e5}.account-balances-panel .panel-head,.settlement-panel .panel-head{flex-direction:column;align-items:flex-start}.settlement-totals{flex-direction:column;align-items:flex-start;gap:4px}.expense-period{grid-template-columns:1fr;align-items:stretch;gap:12px}.expense-period>label{justify-self:stretch}.expense-period>strong{text-align:left}.expense-metrics{grid-template-columns:1fr 1fr}.expense-metrics .metric{min-height:118px}}@media (max-width:460px){.stock-metrics,.debts-metrics,.cash-balance-metrics,.account-balance-grid{grid-template-columns:1fr}.account-balance-grid .metric{border-right:0}.expense-metrics{grid-template-columns:1fr}}@media (min-width:761px) and (max-height:760px){.sidebar{padding-block:10px 9px}.brand{flex-basis:66px;height:66px;min-height:66px;padding-inline:22px}.menu-caption{margin:11px 12px 6px;font-size:8px}.nav-list{gap:2px}.nav-list button{min-height:31px;padding:6px 11px;font-size:12px}.nav-list button span{font-size:15px}.sidebar-bottom{gap:5px}.access-status{padding:6px 10px}.access-status span{display:none}.access-manage,.user-chip{padding:6px 9px}.user-chip>span{width:29px;height:29px}}@media (max-width:760px){body{-webkit-tap-highlight-color:transparent}button,input,select,textarea{touch-action:manipulation}.sidebar{display:none}.mobile-dock{right:10px;bottom:max(8px,env(safe-area-inset-bottom));z-index:60;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#073a31f2;border:1px solid #d8ab744d;border-radius:19px;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-height:64px;padding:6px;display:grid;position:fixed;left:10px;box-shadow:0 14px 38px #001d1870}.mobile-dock button{color:#a9c4bd;background:0 0;border:0;border-radius:13px;align-content:center;place-items:center;gap:3px;min-width:0;min-height:44px;padding:5px 2px;display:grid}.mobile-dock button span{font-size:18px;line-height:1}.mobile-dock button small{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:8px;font-weight:700;overflow:hidden}.mobile-dock button.active{color:#fff;background:linear-gradient(145deg,#16705e,#0d594b);box-shadow:inset 0 2px #d4a268}.mobile-nav-backdrop{z-index:90;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#031713a8;align-items:flex-end;padding-top:56px;display:flex;position:fixed;inset:0}.mobile-nav-sheet{overscroll-behavior:contain;width:100%;min-width:0;max-height:100%;padding:18px 16px calc(18px + env(safe-area-inset-bottom));background:#f7f8f4;border:1px solid #d9b48666;border-bottom:0;border-radius:24px 24px 0 0;overflow:auto;box-shadow:0 -22px 60px #001d185c}.mobile-nav-sheet>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.mobile-nav-sheet>header div{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.mobile-nav-sheet>header small{color:#9b6a3c;letter-spacing:.17em;font-size:8px;font-weight:800}.mobile-nav-sheet>header strong{color:#17332d;font-size:22px}.mobile-nav-sheet>header span{color:#788984;font-size:10px}.mobile-company-switch select{min-height:44px;font-size:1rem}.mobile-nav-sheet>header button{color:#29423c;background:#e8eeea;border:0;border-radius:13px;flex:none;width:44px;height:44px;font-size:25px}.mobile-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.mobile-nav-grid button{color:#34514a;text-align:left;background:#fff;border:1px solid #dbe6df;border-radius:16px;align-items:center;gap:11px;min-width:0;min-height:72px;padding:12px;display:flex}.mobile-nav-grid button span{color:#147562;background:#e5f3ed;border-radius:11px;flex:none;place-items:center;width:35px;height:35px;font-size:18px;display:grid}.mobile-nav-grid button strong{overflow-wrap:anywhere;min-width:0;font-size:.6875rem;line-height:1.3}.mobile-nav-grid button.active{color:#fff;background:linear-gradient(145deg,#0d6655,#0a4d41);border-color:#0e6655}.mobile-nav-grid button.active span{color:#f0c18a;background:#ffffff17}.mobile-access-manage{color:#7d542f;background:#fff9ef;border:1px solid #d8b584;border-radius:14px;width:100%;min-height:46px;margin-top:12px;font-size:11px;font-weight:800}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:64px;padding:10px 11px}.topbar-heading{flex:9rem;min-width:0}.topbar-heading>div{min-width:0}.topbar-logo{border:0;border-radius:10px;flex:0 0 44px;width:44px;height:44px}.topbar h1{overflow-wrap:anywhere;white-space:normal;max-width:none;margin:0;font-size:1rem;line-height:1.3;overflow:visible}.top-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px;max-width:100%;margin-left:auto}.search-shell,.notification{display:none}.topbar .backup-action,.expense-quick,.topbar .primary{border:1px solid #dfe5e5;flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;font-size:0;display:grid;border-radius:13px!important;padding:0!important}.topbar .backup-action{color:#24584e;background:#fff}.topbar .backup-action:before{content:"⇩";font-size:22px;line-height:1}.expense-quick:before{content:"−";font-size:22px;line-height:1}.topbar .primary:before{content:"＋";font-size:22px;line-height:1}.data-load-error{flex-direction:column;align-items:stretch;margin:12px 11px 0}.data-load-error button{align-self:flex-start}.content{padding:12px 11px calc(92px + env(safe-area-inset-bottom))}.page-stack{gap:12px}.welcome-card{gap:20px;min-height:auto;padding:22px 20px}.welcome-card button{width:100%;min-height:48px}.section-heading{gap:14px;padding-inline:2px}.section-heading h2{font-size:23px}.heading-actions{flex-wrap:wrap}.heading-actions button{min-width:calc(50% - 5px);min-height:46px}.metric-grid{gap:10px;margin:10px 0}.metric{min-height:108px;padding:15px}.metric strong{font-size:21px}.panel,.direction-card{border-radius:17px}.panel-head{align-items:flex-start;padding:17px 16px 12px}.table-wrap{overscroll-behavior-inline:contain}.table-wrap>table{min-width:720px}.daily-summary>table{min-width:680px}th,td{padding:12px}.cash-row,.report-controls{padding:13px 15px}.report-controls label,.report-controls input{width:100%}.modal-backdrop{z-index:100;place-items:end center;padding:0}.modal,.access-modal,.metric-detail-modal{border-radius:23px 23px 0 0;width:100%;max-height:92dvh}.modal-head{z-index:2;padding:16px 17px 12px;position:sticky;top:0}.modal-head h2{font-size:21px}.form-grid{gap:11px;padding:15px 17px}.form-grid input,.form-grid select,.form-grid textarea{min-height:48px;font-size:16px}.calculation,.expense-total{margin:0 17px}.balance-warning,.loan-kind-switch{margin:12px 17px 0}.modal-actions{z-index:2;padding:12px 17px calc(14px + env(safe-area-inset-bottom));background:#fff;position:sticky;bottom:0;box-shadow:0 -8px 24px #102f2812}.modal-actions button{min-height:46px}.toast{z-index:110;bottom:calc(82px + env(safe-area-inset-bottom))}}@media (max-width:460px){.mobile-nav-grid button{min-height:68px;padding:10px}.mobile-nav-grid button strong{font-size:.6875rem}.metric-grid,.metric-grid.three,.metric-grid.five,.metric-grid.six{grid-template-columns:1fr}}@media (max-width:360px){.topbar{grid-template-columns:minmax(0,1fr);display:grid}.top-actions{width:100%}}.auth-page{background:radial-gradient(circle at top,#e7f5ef,#f6f4ec 60%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #dce6df;border-radius:28px;gap:18px;width:min(440px,100%);padding:34px;display:grid;box-shadow:0 24px 80px #123d3030}.auth-card img{object-fit:contain;justify-self:center;width:220px;max-height:84px}.auth-card>p,.v2-main header small,.v2-welcome small{color:#168b77;letter-spacing:.18em;margin:0;font-size:10px;font-weight:800}.auth-card h1{margin:0;font-size:30px}.auth-card form,.auth-card label{gap:8px;display:grid}.auth-card form{gap:14px}.auth-card input,.v2-form input,.v2-form select,.v2-form textarea{width:100%;font:inherit;background:#fbfcfa;border:1px solid #d9e2de;border-radius:12px;padding:13px}.auth-actions{gap:10px;display:flex}.auth-actions button{flex:1}.auth-actions .button-link{min-height:44px;color:inherit;border:1px solid #d9e2de;border-radius:12px;flex:1;place-items:center;padding:10px 14px;font-weight:700;text-decoration:none;display:grid}.auth-message{color:#166754;background:#eaf8f2;border-radius:12px;padding:12px;font-size:13px}.auth-message.error{color:#a74935;background:#fff0eb}.v2-shell{color:#142927;background:#f4f6f2;grid-template-columns:250px 1fr;min-height:100vh;display:grid}.v2-sidebar{color:#eaf8f2;background:linear-gradient(#073f35,#0c5143);flex-direction:column;gap:18px;height:100vh;padding:18px;display:flex;position:sticky;top:0}.v2-sidebar>img{object-fit:contain;width:100%;height:82px}.v2-sidebar>small{color:#9bc9ba;letter-spacing:.18em;font-size:9px}.v2-sidebar nav{gap:5px;display:grid;overflow:auto}.v2-sidebar nav button{color:#cce1da;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:12px;font-weight:700;display:flex}.v2-sidebar nav button.active,.v2-sidebar nav button:hover{color:#fff;background:#ffffff18;box-shadow:inset 3px 0 #d4a96b}.v2-sidebar nav i{text-align:center;width:24px;font-style:normal}.v2-user{background:#061f1b42;border:1px solid #ffffff18;border-radius:14px;gap:5px;margin-top:auto;padding:13px;display:grid}.v2-user span{color:#9bc9ba;font-size:11px}.v2-user button{border:0;border-radius:8px;margin-top:5px;padding:7px}.v2-main{min-width:0}.v2-main>header{background:#fff;border-bottom:1px solid #dce5df;justify-content:space-between;align-items:center;height:76px;padding:0 25px;display:flex}.v2-main header h1{margin:4px 0 0;font-size:22px}.v2-actions{gap:9px;display:flex}.v2-content{gap:18px;padding:24px;display:grid}.v2-welcome{color:#fff;background:linear-gradient(130deg,#0b463c,#0e725e);border-radius:24px;justify-content:space-between;align-items:center;min-height:190px;padding:36px;display:flex;box-shadow:0 16px 40px #103b3020}.v2-welcome h2{margin:8px 0;font-size:34px}.v2-welcome p{color:#d6ebe4}.v2-welcome button{color:#0b463c;background:#fff;border:0;border-radius:14px;padding:16px 22px;font-weight:800}.v2-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.v2-metric{text-align:left;background:#fff;border:1px solid #dce5df;border-radius:18px;gap:7px;min-height:128px;padding:20px;display:grid;box-shadow:0 10px 32px #143b2e0a}.v2-metric span{color:#6a7d76;font-size:12px}.v2-metric strong{font-size:22px}.v2-metric small{color:#9a7444}.v2-panel{background:#fff;border:1px solid #dce5df;border-radius:20px;padding:20px;overflow:hidden}.v2-panel h3{margin:0 0 16px}.v2-table{padding:0}.v2-table>table,.v2-panel>table{border-collapse:collapse;width:100%}.v2-table th,.v2-table td,.v2-panel th,.v2-panel td{text-align:left;border-bottom:1px solid #edf1ee;padding:13px 15px;font-size:12px}.v2-table th,.v2-panel th{color:#71827b;text-transform:uppercase;background:#f8faf8;font-size:10px}.v2-pagehead{justify-content:space-between;align-items:center;display:flex}.v2-pagehead h2{margin:0}.v2-status{color:#11705c;background:#e9f7f1;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;display:inline-flex}.v2-row-actions{gap:5px;display:flex}.v2-row-actions button,.v2-pagehead button,.v2-actions button,button.primary{background:#fff;border:1px solid #d5e1dc;border-radius:10px;padding:10px 13px;font-weight:700}.v2-row-actions button{padding:6px 8px;font-size:10px}.v2-actions .primary,.v2-pagehead .primary,button.primary{color:#fff;background:#0d715e;border-color:#0d715e}.v2-empty{text-align:center;padding:60px}.v2-toast{z-index:100;color:#fff;background:#0b463c;border-radius:12px;padding:14px 18px;position:fixed;bottom:20px;right:20px;box-shadow:0 14px 40px #0003}.v2-backdrop{z-index:90;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#061e1bbb;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.v2-modal{background:#fff;border-radius:22px;width:min(760px,100%);max-height:92vh;overflow:auto}.v2-modal>header,.v2-modal>footer{border-bottom:1px solid #e6ece8;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.v2-modal>footer{border-top:1px solid #e6ece8;border-bottom:0;justify-content:flex-end;gap:10px}.v2-modal>header h2{margin:0}.v2-modal>header button{background:0 0;border:0;font-size:26px}.v2-form{grid-template-columns:1fr 1fr;gap:14px;padding:22px;display:grid}.v2-form label{gap:7px;font-size:11px;font-weight:700;display:grid}.v2-form .v2-full{grid-column:1/-1}.v2-check{align-items:center;display:flex!important}.v2-check input{width:auto}.v2-modal footer button{background:#fff;border:1px solid #d7e1dd;border-radius:10px;padding:11px 16px;font-weight:700}@media (max-width:900px){.v2-shell{grid-template-columns:1fr}.v2-sidebar{z-index:50;width:auto;height:72px;padding:7px;display:block;position:fixed;inset:auto 0 0}.v2-sidebar>img,.v2-sidebar>small,.v2-user{display:none}.v2-sidebar nav{display:flex;overflow:auto}.v2-sidebar nav button{justify-items:center;gap:1px;min-width:78px;padding:6px;font-size:9px;display:grid}.v2-sidebar nav i{font-size:17px}.v2-main>header{height:66px;padding:0 14px}.v2-main header h1{font-size:18px}.v2-actions button{width:42px;height:42px;padding:0;font-size:0;overflow:hidden}.v2-actions button:first-letter{font-size:20px}.v2-content{padding:14px 12px 92px}.v2-welcome{flex-direction:column;align-items:flex-start;min-height:220px;padding:24px}.v2-welcome h2{font-size:27px}.v2-welcome button{width:100%}.v2-metrics{grid-template-columns:1fr}.v2-panel,.v2-table{overflow:auto}.v2-panel table,.v2-table table{min-width:760px}.v2-form{grid-template-columns:1fr}.v2-form .v2-full{grid-column:auto}.v2-modal{max-height:96vh}.v2-pagehead{align-items:flex-start;gap:12px}.v2-pagehead button{flex:none}}.v2-row-actions .v2-pay-button{color:#fff;background:#0d715e;border-color:#0d715e;box-shadow:0 5px 14px #0d715e24}.v2-row-actions .v2-pay-button:hover{background:#095c4d}.v2-toast.error{background:#9a3d31}.v2-payment-note{color:#835a23;background:#fff4e7;border-radius:11px;grid-column:1/-1;margin:0;padding:11px 13px;font-size:11px;line-height:1.45}.sales-orders-page .table-card{min-height:300px}.sales-orders-page .table-card table{min-width:980px}.sales-orders-page .table-card tbody tr:hover{background:#fbfdfb}.sales-orders-page .sale-actions{flex-wrap:wrap}.sale-modal .calculation{background:#f2f7f5;grid-template-columns:repeat(5,1fr)}.sale-title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.invoice-number-preview{color:#0b7565;white-space:nowrap;background:#edf9f6;border:1px solid #bce1da;border-radius:999px;align-items:center;min-height:30px;padding:6px 11px;font-size:12px;font-weight:800;display:inline-flex}.sale-modal .modal-actions .primary{min-width:176px}@media (min-width:761px) and (min-height:680px){form.modal.sale-modal{width:min(1100px,100vw - 40px)}}@media (max-width:760px){.sales-orders-page .section-heading .primary{width:100%;min-height:48px}.sales-orders-page .filter-row{padding-bottom:2px;overflow-x:auto}.sales-orders-page .filter-row button{flex:none;min-height:42px}.sale-modal{border-radius:22px 22px 0 0;width:100%;max-height:100dvh}.sale-title-row{gap:7px}.invoice-number-preview{min-height:26px;padding:4px 9px;font-size:10px}.sale-modal .calculation{grid-template-columns:1fr 1fr}.sale-modal .modal-actions{grid-template-columns:1fr 1fr;display:grid}.sale-modal .modal-actions .primary{min-width:0}}.clients-page .clients-panel table{min-width:940px}.client-pay-link{color:#0d7b67;text-underline-offset:2px;background:0 0;border:0;margin-top:5px;padding:0;font-size:9px;font-weight:800;text-decoration:underline;display:block}.client-modal{width:min(880px,100vw - 32px)}.client-modal .modal-actions .primary{min-width:190px}@media (max-width:760px){.clients-page .heading-actions{grid-template-columns:1fr;width:100%;display:grid}.clients-page .heading-actions button{width:100%;min-height:46px}.client-modal{border-radius:22px 22px 0 0;width:100%;max-height:100dvh}.client-modal .modal-actions{grid-template-columns:1fr 1fr;display:grid}.client-modal .modal-actions .primary{min-width:0}}.employees-page .section-heading>.primary{min-width:190px}.employees-page .access-form>.primary{min-height:40px}@media (max-width:760px){.employees-page .section-heading>.primary,.employees-page .access-form>.primary{width:100%;min-height:48px}.permission-matrix-head{flex-direction:column;align-items:stretch;padding:18px 16px 14px}.permission-search{width:100%}.permission-matrix-note{grid-template-columns:1fr;padding:14px 16px 18px}.permission-matrix thead th:first-child,.permission-matrix tbody th{min-width:130px;padding-left:14px}.permission-matrix th,.permission-matrix td{height:58px;padding:8px}.owner-only-badge{align-self:flex-start}}.order-toolbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.folder-tabs{background:#edf3f0;border:1px solid #dbe6e1;border-radius:11px;gap:7px;padding:4px;display:flex}.folder-tabs button{color:#617672;background:0 0;border:0;border-radius:8px;padding:8px 13px;font-size:10px;font-weight:800}.folder-tabs button.selected{color:#fff;background:#0d6658;box-shadow:0 5px 15px #0d665827}.sale-actions button.danger-text{color:#b4493b;border-color:#efd3cd}.sale-actions button.danger-text:hover{background:#fff0ed}.balance-warning.locked{color:#795c2c;background:#fff8e9;border-color:#ead9bd}.edit-order-modal{width:min(1040px,100vw - 32px)}.edit-order-lines{border:1px solid #dfe8e4;border-radius:13px;margin:0 25px;overflow:hidden}.edit-order-lines>header{color:#536d67;background:#f1f6f3;justify-content:space-between;padding:11px 14px;font-size:10px;display:flex}.edit-order-line{border-top:1px solid #e8eeeb;grid-template-columns:minmax(170px,1fr) 100px 100px 90px 120px 34px;align-items:end;gap:10px;padding:10px 13px;display:grid}.edit-order-line>div{gap:3px;display:grid}.edit-order-line small{color:#738783;font-size:8px}.edit-order-line strong{font-size:11px}.edit-order-line>label{color:#60746f;gap:3px;font-size:8px;font-weight:700;display:grid}.edit-order-line input{background:#fafbf8;border:1px solid #d8e3dd;border-radius:9px;width:100%;min-height:36px;padding:7px 9px}.edit-order-line input:disabled{color:#667873;background:#eef2ef}.edit-order-line>strong{text-align:right;color:#0c6d5d;align-self:center}.line-remove{color:#b4493b;background:#fff;border:1px solid #efd3cd;border-radius:8px;align-self:center;width:30px;height:30px}.edit-order-total{margin-top:12px}.edit-order-validation{color:#a34536;background:#fff1ed;border:1px solid #efc3ba;border-radius:10px;margin:10px 25px 0;padding:10px 13px;font-size:10px;font-weight:700}.delete-order-modal{width:min(650px,100vw - 32px);padding-bottom:1px}.delete-explanation{color:#794b43;background:#fff3f0;border:1px solid #efcfc8;border-radius:12px;gap:7px;margin:18px 25px;padding:15px;display:grid}.delete-explanation strong{font-size:12px}.delete-explanation span{font-size:10px;line-height:1.5}.delete-order-modal>label{color:#5d7073;gap:7px;margin:16px 25px;font-size:10px;font-weight:700;display:grid}.delete-order-modal select,.delete-order-modal textarea{width:100%;min-height:44px;font:inherit;background:#fafbf8;border:1px solid #d8e3dd;border-radius:10px;padding:10px 12px}.delete-order-modal textarea{resize:vertical}.delete-order-modal label small{color:#b4493b;line-height:1.4}.danger-button{color:#fff!important;background:#b8493c!important;border-color:#b8493c!important}.danger-button:hover{background:#983a31!important}@media (min-width:761px){form.modal.edit-order-modal:has(.calculation){width:min(1040px,100vw - 32px);max-height:calc(100vh - 28px);overflow:auto}}@media (max-width:760px){.order-toolbar{flex-direction:column;align-items:stretch}.folder-tabs button{flex:1;min-height:42px}.edit-order-modal,.delete-order-modal{width:100%;max-height:96dvh}.edit-order-lines{margin:0 17px}.edit-order-line{grid-template-columns:1fr 1fr}.edit-order-line>div{grid-column:1/-1}.edit-order-line>strong{text-align:left}.line-remove{position:absolute;right:18px}.edit-order-validation{margin-inline:17px}.delete-explanation,.delete-order-modal>label{margin:14px 17px}.delete-order-modal .modal-actions{grid-template-columns:1fr 1fr;display:grid}}.owner-only-badge{color:#765126;white-space:nowrap;background:#fff8ed;border:1px solid #e3c18f;border-radius:999px;align-items:center;min-height:34px;padding:7px 12px;font-size:10px;font-weight:800;display:inline-flex}.activity-panel{overflow:hidden}.activity-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:18px;padding:20px 21px;display:flex}.activity-toolbar p{color:#20afb1;letter-spacing:.18em;margin:0 0 6px;font-size:9px;font-weight:800}.activity-toolbar h3{margin:0;font-size:18px}.activity-filters{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.activity-filters input,.activity-filters select{color:#263c39;background:#fbfcfa;border:1px solid #dce6e2;border-radius:10px;min-height:39px;padding:9px 11px;font-size:11px}.activity-filters input{width:230px}.activity-panel table{min-width:940px}.activity-panel td strong{color:#0b5e51}.activity-action{color:#15705e;background:#e8f7f1;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800;display:inline-flex}.activity-action.update{color:#735623;background:#fff4dc}.activity-action.delete{color:#a74438;background:#fff0ed}.activity-privacy{color:#758682;margin:0 3px;font-size:10px}@media (max-width:760px){.activity-page .section-heading{flex-direction:column;align-items:flex-start}.activity-toolbar{flex-direction:column;align-items:stretch;padding:16px}.activity-filters{grid-template-columns:1fr;display:grid}.activity-filters input,.activity-filters select{width:100%;min-height:46px}.activity-panel table{min-width:900px}}.six-month-analytics{margin-bottom:15px;box-shadow:0 10px 32px #143b2e0a}.analytics-heading{align-items:flex-start;padding-bottom:4px}.analytics-heading h3{font-size:18px}.analytics-heading span{color:#758783;margin-top:5px;font-size:10px;display:block}.panel-head .analytics-table-toggle{color:#233b38;background:#fff;border:1px solid #d7e2de;border-radius:10px;min-height:36px;padding:8px 11px;font-size:10px}.panel-head .analytics-table-toggle:hover,.panel-head .analytics-table-toggle[aria-pressed=true]{background:#edf7f3;border-color:#9ec8bf}.analytics-chart-wrap{padding:4px 20px 0;overflow-x:auto}.analytics-chart-wrap svg{width:100%;min-width:690px;height:auto;display:block}.analytics-grid-line{stroke:#dce4e0;stroke-width:1px;stroke-dasharray:4 5}.analytics-zero-line{stroke:#bdc9c5;stroke-width:1.25px}.analytics-axis-label,.analytics-month-label{fill:#72827f;font-size:10px;font-weight:600}.analytics-hit-area{fill:#0000;cursor:crosshair;outline:none}.analytics-hit-area:focus{stroke:#8bc6bb;stroke-width:1px;stroke-dasharray:3 4}.analytics-income-area{fill:#718f2312;pointer-events:none}.analytics-line{fill:none;stroke-width:2.7px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.analytics-line.income{stroke:#6c8a28}.analytics-line.expense{stroke:#d03333}.analytics-line.profit{stroke:#26365f}.analytics-point{fill:#fff;stroke-width:2.5px;pointer-events:none;transition:r .12s}.analytics-point.income{stroke:#6c8a28}.analytics-point.expense{stroke:#d03333}.analytics-point.profit{stroke:#26365f}.analytics-tooltip rect{fill:#f3f1ec;stroke:#d8d8d1;filter:drop-shadow(0 5px 10px #24373025)}.analytics-tooltip text{fill:#63706e;font-size:10px}.analytics-tooltip .tooltip-title,.analytics-tooltip tspan{fill:#263431;font-weight:800}.analytics-tooltip circle.income{fill:#6c8a28}.analytics-tooltip circle.expense{fill:#d03333}.analytics-tooltip circle.profit{fill:#26365f}.analytics-legend{justify-content:center;align-items:center;gap:24px;padding:0 20px 13px;display:flex}.analytics-legend span{color:#536460;align-items:center;gap:7px;font-size:10px;display:inline-flex}.analytics-legend span:before{content:"";background:currentColor;border-radius:99px;width:18px;height:2px;box-shadow:8px 0 0 -5px #fff}.analytics-legend .income{color:#6c8a28}.analytics-legend .expense{color:#d03333}.analytics-legend .profit{color:#26365f}.analytics-table{border:1px solid #e0e7e3;border-radius:12px;margin:0 20px 12px}.analytics-table table{min-width:650px}.analytics-table th,.analytics-table td{padding:11px 14px}.analytics-note{color:#81908d;padding:0 21px 18px;font-size:9px;line-height:1.5;display:block}.analytics-tooltip circle.loss,.analytics-tooltip tspan.loss{fill:#c9473a}@media (max-width:760px){.analytics-heading{flex-direction:column;align-items:stretch}.panel-head .analytics-table-toggle{width:100%;font-size:11px}.analytics-chart-wrap{padding-inline:8px}.analytics-chart-wrap svg{min-width:650px}.analytics-legend{justify-content:flex-start;padding-inline:14px;overflow-x:auto}.analytics-table{margin-inline:8px}.analytics-note{padding-inline:14px}}.theme-toggle{z-index:86;color:#17362f;background:#fffdf8;border:1px solid #cfded8;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-width:94px;height:44px;padding:0 14px;font-size:12px;transition:transform .15s,background .2s,color .2s;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 12px 34px #071f1930}.theme-toggle:hover{transform:translateY(-2px)}.theme-toggle span{font-size:19px;line-height:1}.theme-toggle strong{font-size:11px}.top-actions>.theme-toggle{z-index:auto;min-width:86px;height:40px;box-shadow:none;order:-1;padding:0 12px;position:static}html[data-theme=dark]{--ink:#e7f2ed;--muted:#9aafa7;--line:#29443c;--paper:#071a17;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#071a17}html[data-theme=dark] .auth-page{background:radial-gradient(circle at 50% 0,#183b32 0,#0b211b 48%,#061511 100%)}html[data-theme=dark] .app-shell,html[data-theme=dark] .main-area,html[data-theme=dark] .content,html[data-theme=dark] .v2-shell,html[data-theme=dark] .v2-content{color:var(--ink);background:0 0}html[data-theme=dark] .topbar h1,html[data-theme=dark] .v2-main header h1,html[data-theme=dark] .section-heading h2,html[data-theme=dark] .panel h3,html[data-theme=dark] .direction-card h3{color:#eef7f3}html[data-theme=dark] .topbar small,html[data-theme=dark] .section-heading>div>p,html[data-theme=dark] .panel-head p{color:#d0a775}html[data-theme=dark] .search,html[data-theme=dark] .permission-search,html[data-theme=dark] .clients-search,html[data-theme=dark] .activity-filters input,html[data-theme=dark] .activity-filters select{color:#e7f2ed;background:#102822;border-color:#2b4940}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#e8f2ee!important;background:#10251f!important;border-color:#2c4a41!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#789087}html[data-theme=dark] .search-results,html[data-theme=dark] .search-results button{color:#e7f2ed;background:#10251f;border-color:#29473e}html[data-theme=dark] .search-results button:hover{background:#17362f}html[data-theme=dark] .folder-tabs button.selected{color:#fff;background:#137362}html[data-theme=dark] :is(.metric:not(.mint),.panel,.direction-card,.daily-summary,.report-controls,.v2-metric,.v2-panel,.auth-card,.permission-matrix-note,.access-form){color:#e5f0eb;background:#0e241e;border-color:#29443c;box-shadow:0 12px 38px #0003}html[data-theme=dark] .metric span,html[data-theme=dark] .metric small,html[data-theme=dark] .direction-card span,html[data-theme=dark] .panel small,html[data-theme=dark] .section-heading>div>span,html[data-theme=dark] .v2-metric span{color:#93aaa2}html[data-theme=dark] .metric strong,html[data-theme=dark] .direction-card strong,html[data-theme=dark] .v2-metric strong{color:#f0f7f4}html[data-theme=dark] table{color:#dcebe5}html[data-theme=dark] td,html[data-theme=dark] th{border-color:#284139}html[data-theme=dark] :is(.modal,.access-modal,.metric-detail-modal,.mobile-nav-sheet,.v2-modal){color:#e7f1ed;background:#0c211c;border-color:#315047;box-shadow:0 26px 90px #0009}html[data-theme=dark] .modal-head h2,html[data-theme=dark] .metric-detail-modal h2,html[data-theme=dark] .access-modal h2{color:#edf6f2}html[data-theme=dark] .sale-modal .calculation,html[data-theme=dark] .edit-order-lines,html[data-theme=dark] .edit-order-line input:disabled{background:#102720;border-color:#29453d}html[data-theme=dark] .edit-order-line,html[data-theme=dark] .analytics-table{border-color:#29443c}html[data-theme=dark] .analytics-axis-label,html[data-theme=dark] .analytics-month-label{fill:#9aaca6}html[data-theme=dark] .theme-toggle{color:#f4e6cb;background:#16372e;border-color:#426258;box-shadow:0 12px 38px #0008}@media (max-width:760px){.theme-toggle{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));width:44px;min-width:44px;padding:0}.theme-toggle strong{display:none}}html[data-theme=dark]{--ink:#f2f5f1;--muted:#a9b8b1;--line:#30443c;--paper:#0b1210;--night-surface:#141e1a;--night-raised:#19251f;--night-gold:#d5aa68;--night-teal:#48cbb6;background:#0b1210}html[data-theme=dark] body{color:var(--ink);background:radial-gradient(circle at 78% -12%,#1d3e3355 0,#0000 34%),radial-gradient(circle at 28% 110%,#6d51251f 0,#0000 35%),linear-gradient(145deg,#0b1210 0,#0e1714 55%,#0a110f 100%)}html[data-theme=dark] .sidebar{background:linear-gradient(#0a352e 0,#082720 54%,#071d19 100%);border-right:1px solid #d5aa682e;box-shadow:14px 0 40px #0003}html[data-theme=dark] .brand{background:linear-gradient(145deg,#0d3a31,#09271f);border-color:#d5aa6842;box-shadow:inset 0 1px #ffffff0a}html[data-theme=dark] .nav-list button{color:#b7c8c1}html[data-theme=dark] .nav-list button:hover{color:#f5eee1;background:#ffffff0b}html[data-theme=dark] .nav-list button.active{color:#fff9ec;background:linear-gradient(90deg,#1c6657,#164d43);border-color:#d5aa6859;box-shadow:0 9px 24px #001b1755,inset 3px 0 #d5aa68}html[data-theme=dark] .sidebar-bottom>div,html[data-theme=dark] .sidebar-bottom>button{background:#ffffff08;border-color:#d5aa6836}html[data-theme=dark] .topbar,html[data-theme=dark] .v2-main>header{background:#101915f2;border-color:#d5aa682b;box-shadow:0 10px 34px #0005}html[data-theme=dark] .topbar h1,html[data-theme=dark] .v2-main header h1{color:#fffaf0}html[data-theme=dark] .top-actions>.theme-toggle{color:#ffe6ba;background:linear-gradient(135deg,#2c2b20,#203a31);border-color:#d5aa687a;box-shadow:inset 0 1px #fff2,0 7px 18px #0004}html[data-theme=dark] .top-actions>.theme-toggle:hover{background:linear-gradient(135deg,#393323,#25483c);border-color:#e7bd7b}html[data-theme=dark] .search,html[data-theme=dark] .permission-search,html[data-theme=dark] .clients-search,html[data-theme=dark] .activity-filters input,html[data-theme=dark] .activity-filters select{color:#f1f4ef;background:#18221e;border-color:#354a41;box-shadow:inset 0 1px #ffffff09}html[data-theme=dark] .welcome-card{background:radial-gradient(circle at 84% 12%,#41b7a133 0,#0000 28%),linear-gradient(125deg,#0c3d35 0,#0f6252 58%,#11715e 100%);border:1px solid #d5aa6859;box-shadow:0 22px 48px #0004,inset 0 1px #ffffff17}html[data-theme=dark] .welcome-card:after{color:#ffffff0c}html[data-theme=dark] .welcome-card h2{color:#fffdf5;text-shadow:0 2px 15px #001f18}html[data-theme=dark] .metric:not(.mint),html[data-theme=dark] .v2-metric:not(.mint){background:linear-gradient(145deg,#19241f 0,#111a17 100%);border-color:#d5aa6829;box-shadow:0 16px 38px #0004,inset 0 1px #ffffff0a}html[data-theme=dark] .metric:not(.mint):hover,html[data-theme=dark] .v2-metric:not(.mint):hover{background:linear-gradient(145deg,#1d2b25,#14201b);border-color:#d5aa6857;transform:translateY(-2px)}html[data-theme=dark] .metric.mint,html[data-theme=dark] .v2-metric.mint{background:linear-gradient(145deg,#0e594c,#0a392f);border-color:#d5aa6852;box-shadow:0 18px 40px #001f1955,inset 3px 0 #d5aa68}html[data-theme=dark] .metric.mint strong,html[data-theme=dark] .metric.mint span,html[data-theme=dark] .metric.mint small{color:#fffaf0}html[data-theme=dark] .metric.loss strong,html[data-theme=dark] .metric-detail-total.loss strong{color:#ff7768}html[data-theme=dark] :is(.panel,.direction-card,.daily-summary,.report-controls,.v2-panel,.auth-card,.permission-matrix-note,.access-form){color:#edf3ef;background:linear-gradient(150deg,#17211d,#111916);border-color:#d5aa6829;box-shadow:0 18px 44px #0004,inset 0 1px #ffffff08}html[data-theme=dark] .panel-head,html[data-theme=dark] .activity-toolbar,html[data-theme=dark] .edit-order-lines>header{background:#19251f;border-color:#30443c}html[data-theme=dark] th{color:#c5d1cc;background:#1a2621}html[data-theme=dark] td,html[data-theme=dark] td b{color:#d9e4df}html[data-theme=dark] tbody tr:nth-child(2n){background:#ffffff05}html[data-theme=dark] tbody tr:hover,html[data-theme=dark] .sales-orders-page .table-card tbody tr:hover{background:#1c332b}html[data-theme=dark] .profit-source-row span{color:#aebdb7}html[data-theme=dark] .profit-source-row strong{color:#edf4f0}html[data-theme=dark] .backup-action,html[data-theme=dark] .expense-quick,html[data-theme=dark] .heading-actions button:not(.primary),html[data-theme=dark] .panel-head button,html[data-theme=dark] .folder-tabs,html[data-theme=dark] .folder-tabs button,html[data-theme=dark] .v2-row-actions button,html[data-theme=dark] .v2-pagehead button,html[data-theme=dark] .v2-actions button{color:#e8efeb;background:#18221e;border-color:#3b5047}html[data-theme=dark] .backup-action:hover,html[data-theme=dark] .expense-quick:hover,html[data-theme=dark] .heading-actions button:not(.primary):hover{background:#202d27;border-color:#d5aa6869}html[data-theme=dark] :is(.modal,.access-modal,.metric-detail-modal,.mobile-nav-sheet,.v2-modal){color:#f0f5f2;background:linear-gradient(150deg,#17221e,#0f1815);border:1px solid #d5aa6847;box-shadow:0 30px 110px #000c}html[data-theme=dark] .mobile-nav-sheet>header strong{color:#f0f5f2}html[data-theme=dark] .mobile-nav-sheet>header span{color:#b4c5bd}html[data-theme=dark] .mobile-access-manage{color:#f6dbb7;background:#20332c;border-color:#d5aa6869}html[data-theme=dark] .data-load-error{color:#f1cf9b;background:#332919;border-color:#806239}html[data-theme=dark] .data-load-error button{color:#f6dbb7;background:#473621;border-color:#99774a}html[data-theme=dark] .modal-head,html[data-theme=dark] .modal-actions,html[data-theme=dark] .v2-modal>header,html[data-theme=dark] .v2-modal>footer{background:#151f1b;border-color:#33483f}html[data-theme=dark] :is(.balance-warning,.calculation,.expense-total,.metric-detail-total,.delete-explanation,.v2-payment-note,.analytics-tooltip rect){color:#dbe8e2;background:#1d2b25;border-color:#d5aa6840}html[data-theme=dark] .analytics-grid-line{stroke:#33453e}html[data-theme=dark] .analytics-zero-line{stroke:#64776f}html[data-theme=dark] .analytics-point{fill:#17211d}html[data-theme=dark] ::-webkit-scrollbar{width:10px;height:10px}html[data-theme=dark] ::-webkit-scrollbar-track{background:#0c1512}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#42584e;border:2px solid #0c1512;border-radius:999px}@media (max-width:760px){html[data-theme=dark] .sidebar{background:#092d27ef;border-top:1px solid #d5aa6842;border-right:0;box-shadow:0 -12px 34px #0007}html[data-theme=dark] .theme-toggle{color:#ffe6ba;background:#1d382f;border-color:#d5aa687a;box-shadow:0 10px 28px #0008}}.pwa-install-trigger{z-index:86;color:#fff;min-height:44px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#0b6958,#0d5145);border:1px solid #d2a96d;border-radius:999px;align-items:center;gap:8px;padding:0 15px;transition:transform .15s,box-shadow .15s;display:flex;position:fixed;bottom:18px;right:126px;box-shadow:0 12px 34px #071f1938}.pwa-install-trigger:hover{transform:translateY(-2px);box-shadow:0 16px 38px #071f1945}.pwa-install-trigger span{font-size:20px}.pwa-install-trigger strong{white-space:nowrap;font-size:11px}.pwa-install-backdrop{z-index:130;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#061d18b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pwa-install-dialog{color:#17332d;text-align:center;background:#fff;border:1px solid #d8e4df;border-radius:25px;justify-items:center;width:min(470px,100%);padding:34px;display:grid;position:relative;box-shadow:0 28px 90px #001c176b}.pwa-install-dialog>img{border-radius:19px;box-shadow:0 10px 28px #092c2538}.pwa-install-dialog>small{color:#16917f;letter-spacing:.18em;margin-top:17px;font-size:9px;font-weight:800}.pwa-install-dialog h2{margin:7px 0 14px;font-size:25px}.pwa-install-dialog ol{color:#405852;text-align:left;background:#f1f6f3;border-radius:15px;width:100%;margin:0;padding:16px 20px 16px 42px;line-height:1.65}.pwa-install-dialog p{color:#71827d;margin:15px 0;font-size:11px;line-height:1.5}.pwa-install-dialog .primary{min-height:44px;padding:0 25px}.pwa-install-close{color:#2e4640;cursor:pointer;background:#eef3f0;border:0;border-radius:12px;width:40px;height:40px;font-size:24px;position:absolute;top:16px;right:16px}html[data-theme=dark] .pwa-install-trigger{color:#ffe9bf;background:linear-gradient(135deg,#1b5548,#17362f);border-color:#d5aa687a}html[data-theme=dark] .pwa-install-dialog{color:#f1f5f2;background:linear-gradient(150deg,#17221e,#0f1815);border-color:#d5aa6847}html[data-theme=dark] .pwa-install-dialog ol,html[data-theme=dark] .pwa-install-close{color:#dce8e3;background:#20332c}html[data-theme=dark] .pwa-install-dialog p{color:#a5b7b0}@media (max-width:760px){.pwa-install-trigger{left:12px;right:auto;bottom:calc(82px + env(safe-area-inset-bottom));justify-content:center;width:44px;min-width:44px;padding:0}.pwa-install-trigger strong{display:none}.pwa-install-dialog{padding:30px 20px 24px}.pwa-install-dialog h2{font-size:22px}.pwa-install-dialog ol{font-size:13px}}.mobile-brand,.mobile-refresh-button{display:none}.pull-refresh{top:calc(12px + env(safe-area-inset-top));z-index:75;color:#f7f6ed;text-align:center;pointer-events:none;background:#0d3e34;border:1px solid #d5aa6870;border-radius:999px;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);padding:10px 14px;font-size:12px;display:none;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #001b1840}.pull-refresh-icon{flex:none;font-size:22px;line-height:1;display:inline-block}.pull-refresh.refreshing .pull-refresh-icon{animation:1s linear infinite pull-refresh-spin}.pull-refresh.failed{background:#613927;border-color:#b97452}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pull-refresh.refreshing .pull-refresh-icon{animation:none}}@media (max-width:760px){.topbar-heading{flex:180px}.desktop-section-title{display:none}.mobile-brand{background:#10382f;border:1px solid #d5aa6840;border-radius:12px;justify-content:center;align-items:center;width:210px;max-width:100%;min-height:60px;padding:4px 7px;display:flex}.mobile-brand img{object-fit:contain;width:100%;height:auto;max-height:68px;display:block}.mobile-brand:focus-visible{outline-offset:3px;outline:3px solid #d5aa68}.top-actions{min-width:0}.pull-refresh:not(.idle){display:flex}.mobile-refresh-button{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));z-index:59;color:#f7f6ed;background:#0d3e34;border:1px solid #d5aa6870;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 13px;font-size:12px;font-weight:700;display:flex;position:fixed;box-shadow:0 4px 16px #001b1830}.mobile-refresh-button span{font-size:20px;line-height:1}.mobile-refresh-button:disabled{opacity:.6;cursor:wait}.mobile-refresh-button:focus-visible{outline-offset:3px;outline:3px solid #d5aa68}.content{padding-bottom:calc(148px + env(safe-area-inset-bottom))}.main-area,.content,.page-stack,.metric-grid,.dashboard-grid,.profit-origin-grid,.direction-cards{min-width:0;max-width:100%}.page-stack,.dashboard-grid,.profit-origin-grid,.ai-grid{grid-template-columns:minmax(0,1fr)}.metric-grid>*,.page-stack>*,.dashboard-grid>*,.profit-origin-grid>*,.direction-cards>*{min-width:0}.welcome-copy{width:100%;min-width:0;max-width:100%}.welcome-card h2,.welcome-card span,.welcome-card p,.welcome-brand-line{overflow-wrap:anywhere;max-width:100%}.welcome-card button{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.welcome-brand-line i{flex:none}.metric>div{min-width:0}.metric strong,.metric small{overflow-wrap:anywhere}.metric i{flex:none}.section-heading>div,.panel-head>div,.filter-row,.folder-tabs,.table-wrap,.analytics-chart-wrap{min-width:0;max-width:100%}}.app-shell .table-wrap>table{font-variant-numeric:tabular-nums;min-width:520px}.app-shell .table-wrap>table th,.app-shell .table-wrap>table td{padding:6px 8px;line-height:1.35}.app-shell .table-wrap>table th{letter-spacing:0;white-space:normal;font-size:10px}.app-shell .table-wrap>table td{font-size:11px}.app-shell .table-wrap>table td small{margin-top:2px;line-height:1.35}.app-shell .panel:has(>.table-wrap){min-height:0}.app-shell :is(.sales-orders-page .table-card,.clients-panel,.stock-table-card,.expense-ledger,.loan-ledger,.debt-clients-panel,.debt-obligations-panel,.settlement-panel,.activity-panel,.employees-panel){justify-self:start;width:100%;max-width:1120px}.app-shell .panel:has(>.table-wrap)>.panel-head{padding:12px 14px 9px}.app-shell .table-wrap .empty-debts{padding:18px 12px}.app-shell .sales-orders-page .table-card table{min-width:800px}.app-shell .clients-page .clients-panel table,.app-shell .stock-table-card table{min-width:760px}.app-shell .expense-ledger table{min-width:800px}.app-shell .loan-ledger table{min-width:720px}.app-shell .debt-clients-panel table,.app-shell .settlement-panel table{min-width:680px}.app-shell .debt-obligations-panel table{min-width:820px}.app-shell .activity-panel table,.app-shell .employees-panel table{min-width:740px}.app-shell .table-wrap>.analysis-table{min-width:640px}.app-shell .daily-summary>table{min-width:620px}.app-shell .analytics-table>table{min-width:540px}.app-shell .table-wrap>table td:not([colspan]){overflow-wrap:anywhere}.app-shell .sales-orders-page td:first-child,.app-shell .clients-panel td:nth-child(7),.app-shell .activity-panel td:first-child,.app-shell .expense-ledger td:first-child,.app-shell .loan-ledger td:first-child,.app-shell .loan-ledger td:nth-child(7),.app-shell .debt-clients-panel td:nth-child(5),.app-shell .debt-obligations-panel td:first-child,.app-shell .debt-obligations-panel td:nth-child(6),.app-shell .settlement-panel td:nth-child(5){white-space:nowrap;width:1%}.app-shell .sales-orders-page :is(th,td):nth-child(5),.app-shell .stock-table-card :is(th,td):nth-child(n+3):nth-child(-n+7),.app-shell .clients-panel :is(th,td):nth-child(n+3):nth-child(-n+6),.app-shell .expense-ledger :is(th,td):nth-child(4),.app-shell .loan-ledger :is(th,td):nth-child(n+4):nth-child(-n+6),.app-shell .debt-clients-panel :is(th,td):nth-child(n+3):nth-child(-n+4),.app-shell .debt-obligations-panel :is(th,td):nth-child(5),.app-shell .settlement-panel :is(th,td):nth-child(4),.app-shell .analysis-table :is(th,td):nth-child(n+2),.app-shell .analytics-table :is(th,td):nth-child(n+2),.app-shell .daily-summary :is(th,td):nth-child(n+2){text-align:right;width:1%}.app-shell .sales-orders-page td:nth-child(5),.app-shell .stock-table-card td:nth-child(n+3):nth-child(-n+7),.app-shell .clients-panel td:nth-child(n+3):nth-child(-n+6),.app-shell .expense-ledger td:nth-child(4),.app-shell .loan-ledger td:nth-child(n+4):nth-child(-n+6),.app-shell .debt-clients-panel td:nth-child(n+3):nth-child(-n+4),.app-shell .debt-obligations-panel td:nth-child(5),.app-shell .settlement-panel td:nth-child(4),.app-shell .analysis-table td:nth-child(n+2),.app-shell .analytics-table td:nth-child(n+2),.app-shell .daily-summary td:nth-child(n+2){white-space:nowrap}.app-shell .sales-orders-page td:nth-child(3){min-width:150px;max-width:300px}.app-shell .clients-panel td:nth-child(2){min-width:100px;max-width:220px}.app-shell .expense-ledger td:nth-child(7),.app-shell .debt-obligations-panel td:nth-child(7),.app-shell .activity-panel td:nth-child(6),.app-shell .employees-panel .employee-permissions{max-width:260px}.app-shell .expense-ledger td:first-child{display:table-cell}.app-shell .sale-actions{gap:4px}.app-shell .table-wrap td button:not(.customer-name-button):not(.customer-card-link){min-height:28px;padding:4px 7px;font-size:10px}.app-shell .clients-panel .client-pay-link{margin-top:3px;margin-left:auto}@media (max-width:760px),(pointer:coarse){.app-shell .table-wrap>table th,.app-shell .table-wrap>table td{padding:5px 7px}.app-shell .table-wrap td button:not(.customer-name-button):not(.customer-card-link){min-width:44px;min-height:44px;padding:6px 8px}.app-shell .table-wrap td select{min-height:44px;font-size:16px}}.mobile-column-label{display:none}@media (max-width:760px){.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table):has(>.mobile-record-table){min-width:0;max-width:100%;overflow:visible}.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table)>table.mobile-record-table{width:100%;min-width:0;max-width:100%;display:block}.app-shell .mobile-record-table>thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .mobile-record-table>:is(tbody,tfoot){width:100%;min-width:0;display:block}.app-shell .mobile-record-table>:is(tbody,tfoot)>tr{border-bottom:1px solid var(--card-line,var(--line,#dce5df));grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense;gap:0;width:100%;min-width:0;padding:6px;display:grid;position:relative}.app-shell .mobile-record-table>:is(tbody,tfoot)>tr:last-child{border-bottom:0}.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table)>table.mobile-record-table>:is(tbody,tfoot)>tr>td[role=cell]{white-space:normal;overflow-wrap:anywhere;text-align:left;border:0;width:auto;min-width:0;max-width:none;height:auto;padding:4px 6px;font-size:12px;line-height:1.35;display:block}.app-shell .mobile-record-table .mobile-column-label{color:var(--card-muted,var(--muted,#64776e));margin:0 0 2px;font-size:10px;font-weight:400;line-height:1.3;display:block}.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table)>table.mobile-record-table>:is(tbody,tfoot)>tr>td[role=cell]:is([data-mobile-title],[data-mobile-wide],[data-mobile-empty]){grid-column:1/-1}.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table)>table.mobile-record-table>:is(tbody,tfoot)>tr>td[role=cell][data-mobile-title]{order:-1;padding-bottom:6px;font-size:13px;font-weight:600}.app-shell .mobile-record-table td[data-mobile-title]>.mobile-column-label{display:none}.app-shell :is(.table-wrap,.customer-card-table-wrap,.v2-table)>table.mobile-record-table>:is(tbody,tfoot)>tr>td[role=cell][data-mobile-auxiliary]{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell .mobile-record-table caption{white-space:normal;width:100%;min-width:0;display:block}.app-shell .mobile-record-table :is(.sale-actions,.v2-row-actions){flex-wrap:wrap;gap:5px;min-width:0;max-width:100%;display:flex}.app-shell .mobile-record-table td[role=cell] button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:44px}.app-shell .mobile-record-table .customer-cell-heading{gap:8px;width:100%;min-width:0;max-width:100%}.app-shell .mobile-record-table .customer-name-button{max-width:none}.app-shell .mobile-record-table .client-pay-link{margin-left:0}.app-shell .mobile-record-table .employee-identity,.app-shell .mobile-record-table .employee-identity>div{min-width:0}.app-shell .mobile-record-table :is(.expense-category-badge,.status,.debt-kind-badge,.settlement-direction,.profit-impact,.cash-effect){white-space:normal;overflow-wrap:anywhere;max-width:100%}}@media (min-width:761px){.app-shell :is(.sales-orders-page .table-card,.clients-panel,.stock-table-card,.expense-ledger,.loan-ledger,.debt-clients-panel,.debt-obligations-panel,.settlement-panel,.activity-panel,.employees-panel){max-width:none}.app-shell .table-wrap{scrollbar-gutter:stable;background:#fff}.app-shell .table-wrap>table{border-collapse:separate;border-spacing:0;color:#223632}.app-shell .table-wrap>table>thead>tr>th{z-index:2;color:#526762;letter-spacing:.055em;text-transform:uppercase;background:linear-gradient(#f7f9f6 0%,#edf2ee 100%);border-bottom:1px solid #cbd8d3;border-right:1px solid #dce5e1;min-height:34px;padding:8px 9px;font-size:9px;font-weight:800;line-height:1.25;position:sticky;top:0;box-shadow:inset 0 1px #fff}.app-shell .table-wrap>table>thead>tr>th:last-child,.app-shell .table-wrap>table>:is(tbody,tfoot)>tr>td:last-child{border-right:0}.app-shell .table-wrap>table>tbody>tr>td,.app-shell .table-wrap>table>tfoot>tr>td{background:#fff;border-bottom:1px solid #dfe7e3;border-right:1px solid #e2e9e5;padding:7px 9px;line-height:1.3}.app-shell .table-wrap>table>tbody>tr:nth-child(2n)>td{background:#f8faf8}.app-shell .table-wrap>table>tbody>tr:hover>td,.app-shell .table-wrap>table>tbody>tr:focus-within>td{background:#eef8f4}.app-shell .table-wrap>table>tbody>tr:focus-within{outline-offset:-2px;outline:2px solid #58a998}.app-shell .table-wrap>table>tbody>tr:last-child>td{border-bottom:0}.app-shell .table-wrap>table>tfoot>tr>td{color:#173a32;background:#edf4f0;font-weight:800}.app-shell .table-wrap>table td strong{color:#132d28;font-weight:800}.app-shell .table-wrap>table td small{color:#70827d}.app-shell .table-wrap>table :is(button,select,input){font-variant-numeric:tabular-nums}.app-shell .table-wrap>table tbody tr[data-selected=true]>td{background:#dff3eb}}html[data-theme=dark] .app-shell .table-wrap>table>thead>tr>th{color:#c5d0cb;background:linear-gradient(#27342f 0%,#1d2925 100%);border-color:#34463f;box-shadow:inset 0 1px #ffffff0d}html[data-theme=dark] .app-shell .table-wrap>table>:is(tbody,tfoot)>tr>td{background:#111c18;border-color:#304139}html[data-theme=dark] .app-shell .table-wrap>table>tbody>tr:nth-child(2n)>td{background:#17231f}html[data-theme=dark] .app-shell .table-wrap>table>tbody>tr:hover>td,html[data-theme=dark] .app-shell .table-wrap>table>tbody>tr:focus-within>td{background:#20372f}html[data-theme=dark] .app-shell .table-wrap>table>tfoot>tr>td{color:#eef6f2;background:#20332c}html[data-theme=dark] .app-shell .table-wrap>table td strong{color:#f0f6f3}@media (max-width:760px){.app-shell .mobile-record-table>:is(tbody,tfoot)>tr{background:#fff;border:1px solid #dce5df;border-radius:12px;margin-bottom:8px;box-shadow:0 4px 14px #173c3009}.app-shell .mobile-record-table>:is(tbody,tfoot)>tr:last-child{margin-bottom:0}html[data-theme=dark] .app-shell .mobile-record-table>:is(tbody,tfoot)>tr{background:#111c18;border-color:#30463d}}html[data-theme=dark]{--panel:#17211d;--surface:#1f2d27;--border:#40534a;--card-line:#40534a;--card-muted:#b2c0ba}@media (min-width:761px){.app-shell :is(.daily-panel>.daily-toolbar,.daily-card-section>.daily-toolbar,.sales-orders-page .order-toolbar,.sales-orders-page .filter-row,.expense-period,.report-controls,.activity-toolbar){background:#f1f4f1;border:1px solid #d7e1dc;border-radius:9px;padding:10px 12px;box-shadow:inset 0 1px #fff}.app-shell :is(.daily-panel .daily-table,.analytics-table>table){border-collapse:separate;border-spacing:0;color:#223632;font-variant-numeric:tabular-nums;background:#fff;border:1px solid #d7e1dc;font-size:12px}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>thead>tr>th{color:#526762;letter-spacing:.055em;text-transform:uppercase;background:linear-gradient(#f7f9f6 0%,#edf2ee 100%);border-bottom:1px solid #cbd8d3;border-right:1px solid #dce5e1;padding:8px 9px;font-size:9px;font-weight:800;line-height:1.25;box-shadow:inset 0 1px #fff}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>:is(tbody,tfoot)>tr>td{color:#344b45;background:#fff;border-bottom:1px solid #dfe7e3;border-right:1px solid #e2e9e5;padding:7px 9px;line-height:1.35}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>thead>tr>th:last-child,.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>:is(tbody,tfoot)>tr>td:last-child{border-right:0}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tbody>tr:nth-child(2n)>td{background:#f8faf8}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tbody>tr:hover>td,.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tbody>tr:focus-within>td{background:#eef8f4}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tbody>tr:focus-within{outline-offset:-2px;outline:2px solid #58a998}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tbody>tr:last-child>td{border-bottom:0}.app-shell :is(.daily-panel .daily-table,.analytics-table>table)>tfoot>tr>td{color:#173a32;background:#edf4f0;font-weight:800}.app-shell .report-direction-list{border:1px solid #d7e1dc;border-radius:8px;overflow:hidden}.app-shell .report-direction-list>.report-direction{border-bottom:1px solid #dfe7e3;padding:9px 10px}.app-shell .report-direction-list>.report-direction:nth-child(2n){background:#f8faf8}.app-shell .report-direction-list>.report-direction:last-child{border-bottom:0}.app-shell .activity-journal>div>.daily-card-section{background:#fff;border:1px solid #d7e1dc;border-top:0;margin:0;padding:11px 12px}.app-shell .activity-journal>div>.daily-card-section:first-child{border-top:1px solid #d7e1dc;border-radius:8px 8px 0 0}.app-shell .activity-journal>div>.daily-card-section:last-child{border-radius:0 0 8px 8px}.app-shell .activity-journal>div>.daily-card-section:nth-child(2n){background:#f8faf8}.app-shell .activity-journal>div>.daily-card-section:hover{background:#eef8f4}.app-shell .activity-journal>div>.daily-card-section>p{margin:3px 0}.app-shell .activity-journal>div>.daily-card-section>details{margin-top:8px}.app-shell .activity-journal>div>.daily-card-section>details>summary{color:#35564e;background:#f1f4f1;border:1px solid #d7e1dc;border-radius:7px;padding:7px 9px}}html[data-theme=dark] .app-shell :is(.form-grid,.daily-form,.access-form,.customer-card-fields,.advance-fields,.invoice-correction-content,.invoice-addition-line,.daily-toolbar,.activity-filters,.report-controls) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-shadow:inset 0 1px #ffffff0b;color:#f2f5f1!important;background:#1b2722!important;border-color:#52665d!important}html[data-theme=dark] .app-shell :is(.form-grid,.daily-form,.access-form,.customer-card-fields,.advance-fields,.invoice-correction-content,.invoice-addition-line,.daily-toolbar,.activity-filters,.report-controls) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:#69b6a5!important;box-shadow:0 0 0 3px #58a99833,inset 0 1px #ffffff0b!important}html[data-theme=dark] .app-shell :is(.form-grid,.daily-form,.access-form,.customer-card-fields,.advance-fields,.invoice-correction-content,.invoice-addition-line) :is(input,textarea)::placeholder{color:#a6b5ae}html[data-theme=dark] .app-shell :is(input[type=checkbox],input[type=radio]){accent-color:#48cbb6}html[data-theme=dark] .app-shell .daily-account-button{color:#eaf2ee;background:linear-gradient(145deg,#1b2823,#15201c);border-color:#40534a;box-shadow:inset 0 1px #ffffff0b}html[data-theme=dark] .app-shell .daily-account-button:hover,html[data-theme=dark] .app-shell .daily-account-button:focus-visible{background:linear-gradient(145deg,#22332c,#192620);border-color:#628075}html[data-theme=dark] .app-shell .daily-account-button strong{color:#f7faf8}html[data-theme=dark] .app-shell .daily-account-button :is(span,small){color:#b3c1bb}html[data-theme=dark] :is(.modal-head>button,.daily-dialog>header>button,.invoice-correction-modal>header>button,.invoice-items-addition-modal>header>button){color:#f1f5f3;background:#25342e;border:1px solid #4a5f55}html[data-theme=dark] :is(.modal-actions,.daily-dialog footer)>button:not(.primary){color:#e8efeb;background:#202d27;border-color:#4a5f55}html[data-theme=dark] :is(.modal-actions,.daily-dialog footer)>button:not(.primary):hover{background:#293a32;border-color:#71897e}html[data-theme=dark] .primary{color:#071d18!important;background:linear-gradient(135deg,#47bea8,#2d927e)!important;box-shadow:0 9px 22px #0c6f5e52!important}html[data-theme=dark] .app-shell .table-wrap{background:#141e1a}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table){color:#e8efeb;background:#141e1a;border-color:#40534a}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>thead>tr>th{color:#d7e1dc;background:linear-gradient(#2a3832 0%,#222e29 100%);border-color:#4a5c54;box-shadow:inset 0 1px #ffffff12}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>:is(tbody,tfoot)>tr>td{color:#e8efeb;background:#17211d;border-color:#40534a}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>tbody>tr:nth-child(2n)>td{background:#1b2722}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>tbody>tr:hover>td,html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>tbody>tr:focus-within>td{background:#263a32}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table)>tfoot>tr>td{color:#f2f7f4;background:#26372f}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table) td strong{color:#f5f8f6}html[data-theme=dark] .app-shell :is(.table-wrap>table,.daily-panel .daily-table,.analytics-table>table) td small{color:#b6c3bd}html[data-theme=dark] .app-shell :is(.table-wrap,.daily-panel) table button:not(.daily-link):not(.customer-name-button):not(.customer-card-link):not(.danger-text){color:#d9eee6;background:#203029;border-color:#50665c}html[data-theme=dark] .app-shell :is(.table-wrap,.daily-panel) table button:not(.daily-link):not(.customer-name-button):not(.customer-card-link):not(.danger-text):hover{background:#2a4036;border-color:#6b867a}html[data-theme=dark] .app-shell :is(.daily-panel>.daily-toolbar,.daily-card-section>.daily-toolbar,.sales-orders-page .order-toolbar,.sales-orders-page .filter-row,.expense-period,.report-controls,.activity-toolbar){color:#e7efeb;background:#1b2722;border-color:#40534a;box-shadow:inset 0 1px #ffffff0b}html[data-theme=dark] .app-shell .report-direction-list{background:#17211d;border-color:#40534a}html[data-theme=dark] .app-shell .report-direction-list>.report-direction{color:#e8efeb;border-bottom-color:#40534a}html[data-theme=dark] .app-shell .report-direction-list>.report-direction:nth-child(2n){background:#1b2722}html[data-theme=dark] .app-shell .report-direction-list>.report-direction:hover{background:#263a32}html[data-theme=dark] .app-shell .activity-journal>div>.daily-card-section{color:#e8efeb;background:#17211d;border-color:#40534a}html[data-theme=dark] .app-shell .activity-journal>div>.daily-card-section:nth-child(2n){background:#1b2722}html[data-theme=dark] .app-shell .activity-journal>div>.daily-card-section:hover{background:#263a32}html[data-theme=dark] .app-shell .activity-journal>div>.daily-card-section>p:nth-of-type(n+2){color:#b6c3bd}html[data-theme=dark] .app-shell .activity-journal>div>.daily-card-section>details>summary{color:#dbe8e2;background:#202f29;border-color:#50665c}html[data-theme=dark] .app-shell .permission-matrix :is(th,td){color:#e7efeb;background:#17211d;border-color:#40534a}html[data-theme=dark] .app-shell .permission-matrix thead th{color:#d7e1dc;background:#25322d}html[data-theme=dark] .app-shell .permission-matrix tbody tr:nth-child(2n) :is(th,td){background:#1b2722}@media (max-width:760px){html[data-theme=dark] .app-shell .mobile-record-table>:is(tbody,tfoot)>tr{color:#e8efeb;background:#17211d;border-color:#40534a;box-shadow:0 5px 18px #0004}html[data-theme=dark] .app-shell .mobile-record-table .mobile-column-label{color:#b2c0ba}}.context-recovery-content{display:contents}.context-recovery-backdrop{z-index:10000;background:#000000a6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.context-recovery-dialog{box-sizing:border-box;color:#f2f7f3;background:#17241d;border:1px solid #52665c;border-radius:16px;outline:none;width:min(100%,560px);min-width:0;max-height:calc(100dvh - 32px);padding:24px;overflow:auto;box-shadow:0 20px 60px #0008}.context-recovery-dialog h2{color:inherit;margin:0 0 16px;font-size:22px;line-height:1.25}.context-recovery-dialog p{overflow-wrap:anywhere;word-break:normal;margin:0 0 14px;line-height:1.55}.context-recovery-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;display:flex}.context-recovery-actions button,.context-recovery-actions a{box-sizing:border-box;white-space:normal;max-width:100%;min-height:44px;padding:10px 14px;line-height:1.4}.context-recovery-actions button{color:#13271b;cursor:pointer;background:#cae9d6;border:0;border-radius:8px}.context-recovery-actions button:disabled{opacity:.65;cursor:wait}.context-recovery-actions a{color:#d3ecdf;text-decoration:underline}.context-recovery-actions :focus-visible{outline-offset:3px;outline:3px solid #f9d874}@media (max-width:480px){.context-recovery-dialog{padding:18px}.context-recovery-actions{flex-direction:column;align-items:stretch}.context-recovery-actions a{text-align:center}}.sales-status-legend{color:#526d75;flex-wrap:wrap;gap:8px 20px;font-size:12px;display:flex}.sales-status-legend>span{align-items:center;gap:7px;display:inline-flex}.sales-status-legend i{border:1px solid;border-radius:3px;width:12px;height:12px}.sales-status-legend .ready{background:#e7f2fc;border-color:#73a9d2}.sales-status-legend .delivered{background:#e0f3e5;border-color:#6aaf82}.app-shell .sales-orders-page tr[data-order-status=ready]{--completion-bg:#e7f2fc;--completion-hover:#d8eafb;--completion-accent:#4386b9}.app-shell .sales-orders-page tr[data-order-status=delivered]{--completion-bg:#e0f3e5;--completion-hover:#cfebd7;--completion-accent:#3e9160}html[data-theme=dark] .app-shell .sales-orders-page tr[data-order-status=ready]{--completion-bg:#172f43;--completion-hover:#203e55;--completion-accent:#79b8e9}html[data-theme=dark] .app-shell .sales-orders-page tr[data-order-status=delivered]{--completion-bg:#173b2d;--completion-hover:#214b39;--completion-accent:#74c394}.app-shell .sales-orders-page tr[data-payment-due=true]{--completion-bg:#fff0f0;--completion-hover:#ffe2e2;--completion-accent:#c94e4e}html[data-theme=dark] .app-shell .sales-orders-page tr[data-payment-due=true]{--completion-bg:#452328;--completion-hover:#55282e;--completion-accent:#f09a9a}.sales-status-legend .debt{background:#fff0f0;border-color:#c94e4e}html[data-theme=dark] .sales-status-legend .debt{background:#452328;border-color:#f09a9a}html .app-shell .sales-orders-page .table-wrap>table.mobile-record-table>tbody>tr:is([data-order-status=ready],[data-order-status=delivered],[data-payment-due=true]),html .app-shell .sales-orders-page .table-wrap>table.mobile-record-table>tbody>tr:is([data-order-status=ready],[data-order-status=delivered],[data-payment-due=true])>td{background:var(--completion-bg)}html .app-shell .sales-orders-page .table-wrap>table.mobile-record-table>tbody>tr:is([data-order-status=ready],[data-order-status=delivered],[data-payment-due=true]):is(:hover,:focus-within),html .app-shell .sales-orders-page .table-wrap>table.mobile-record-table>tbody>tr:is([data-order-status=ready],[data-order-status=delivered],[data-payment-due=true]):is(:hover,:focus-within)>td{background:var(--completion-hover)}html .app-shell .sales-orders-page .table-wrap>table.mobile-record-table>tbody>tr:is([data-order-status=ready],[data-order-status=delivered],[data-payment-due=true])>td:first-child{box-shadow:inset 3px 0 var(--completion-accent)}html[data-theme=dark] .sales-status-legend{color:#b7cbd1}html[data-theme=dark] .sales-status-legend .ready{background:#172f43;border-color:#79b8e9}html[data-theme=dark] .sales-status-legend .delivered{background:#173b2d;border-color:#74c394}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
