:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17221c;background:#f3f6f4;font-synthesis:none;--ink:#17221c;--muted:#69766f;--line:#dce4df;--surface:#fff;--surface-soft:#f7f9f8;--accent:#176b47;--accent-hover:#10583a;--accent-soft:#e7f2eb;--danger:#a83b34;--focus:0 0 0 3px rgba(23,107,71,.14)}*{box-sizing:border-box}html,body,#app{min-width:320px;min-height:100%}body{margin:0;min-height:100vh;overflow-x:hidden}button,input,select,textarea{max-width:100%;font:inherit}button{transition:background-color .15s,border-color .15s,color .15s,transform .1s}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.55;cursor:not-allowed!important}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#e5eee7,transparent 38%),#f5f7f5}.auth-card{position:relative;width:min(100%,430px);padding:42px;border:1px solid #dfe5e0;border-radius:22px;background:#fff;box-shadow:0 24px 70px #182b1f17}.auth-theme{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d6ded9;border-radius:10px;background:#f8faf9;color:#526158;font-size:19px;cursor:pointer}.auth-theme:hover{background:#eef3f0}.auth-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:20px 0 24px;padding:4px;border:1px solid #dce4df;border-radius:11px;background:#f3f6f4}.auth-mode a{display:grid;place-items:center;min-height:38px;padding:7px 10px;border-radius:7px;color:#69766f;font-size:12px;font-weight:750;text-align:center;transition:background .15s,color .15s,box-shadow .15s}.auth-mode a.active{background:#fff;color:#18221d;box-shadow:0 1px 4px #18221d1a}.brand-mark{display:grid;place-items:center;width:48px;height:48px;margin-bottom:24px;border-radius:14px;background:#1d5c3d;color:#fff;font-weight:800;letter-spacing:-.04em}.brand-mark--small{width:38px;height:38px;margin:0;border-radius:11px}.eyebrow{margin-bottom:8px;color:#648071;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.auth-card h1,.page-header h1{margin-bottom:10px;font-size:clamp(28px,4vw,38px);letter-spacing:-.04em}.muted{color:#6c7971}.auth-form{display:grid;gap:18px;margin-top:30px}.auth-form label{display:grid;gap:8px;color:#34453b;font-size:13px;font-weight:700}.auth-form input{width:100%;padding:13px 14px;border:1px solid #cad4cd;border-radius:10px;outline:none}.auth-form input:focus{border-color:#1d7047;box-shadow:0 0 0 3px #1d70471f}.primary-button{padding:12px 18px;border:0;border-radius:10px;background:#1d6542;color:#fff;font-weight:750;cursor:pointer}.primary-button:disabled{opacity:.6;cursor:wait}.form-error{margin:0;color:#ad342d;font-size:13px}.app-shell{width:100%;min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 18px;border-right:1px solid #dfe5e0;background:#fff}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 8px 25px}.sidebar-brand span:last-child{display:grid}.sidebar-brand small,.profile-copy small{color:#7a877f;font-size:11px}.sidebar-nav{display:grid;gap:4px}.sidebar-nav a{padding:10px 12px;border-radius:9px;color:#526158;font-size:14px;font-weight:650}.sidebar-nav a:hover,.sidebar-nav a.router-link-exact-active{background:#eaf2ed;color:#175b3b}.sidebar-profile{display:flex;align-items:center;gap:9px;margin-top:auto;padding:14px 8px 0;border-top:1px solid #e6eae7}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dcebe1;color:#1b6040;font-weight:800}.profile-copy{min-width:0;display:grid;flex:1;font-size:12px}.profile-copy strong,.profile-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{border:0;background:none;color:#76827b;cursor:pointer}.workspace{width:100%;min-width:0;max-width:1600px;padding:36px clamp(24px,4vw,64px) 64px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:99px;background:#e7f4eb;color:#25633f;font-size:12px;font-weight:700;white-space:nowrap}.status-pill i{width:7px;height:7px;border-radius:50%;background:#3b9c61}.status-pill--off{background:#f2eceb;color:#85504b}.status-pill--off i{background:#b36a61}.section-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.section-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:22px;border:1px solid #dfe5e0;border-radius:15px;background:#fff;transition:transform .15s,border-color .15s}.section-card:hover{transform:translateY(-2px);border-color:#a8bcae}.section-card h2{margin-bottom:5px;font-size:17px}.section-card p{margin:0;color:#748078;font-size:13px}.section-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e9f2ec;color:#1e6542;font-weight:800}.arrow{color:#849087}.empty-state,.table-card{padding:34px;border:1px solid #dfe5e0;border-radius:15px;background:#fff}.empty-state{min-height:280px;display:grid;place-items:center;align-content:center;text-align:center}.empty-state p{max-width:540px;color:#6c7971}.table-card{width:100%;min-width:0;padding:0;overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px 18px;border-bottom:1px solid #e7ebe8;text-align:left;font-size:13px}th{background:#f7f9f7;color:#6e7a73;font-size:11px;text-transform:uppercase;letter-spacing:.06em}tbody tr{transition:background-color .12s}tbody tr:hover{background:#fafcfb}td strong,td small{display:block}td small{margin-top:3px;color:#7b867f}.table-message{padding:26px}.secondary-button{padding:10px 15px;border:1px solid #cbd5ce;border-radius:9px;background:#fff;color:#34453b;font-weight:700;cursor:pointer}.form-card,.panel-card{padding:28px;border:1px solid #dfe5e0;border-radius:15px;background:#fff}.settings-form{display:grid;gap:22px;max-width:600px}.settings-form label,.filter-grid label{display:grid;gap:7px;color:#405148;font-size:13px;font-weight:700}.settings-form input,.filter-grid input,.filter-grid select{padding:11px 12px;border:1px solid #cbd5ce;border-radius:9px;background:#fff}.settings-form small{color:#7c8881;font-weight:400}.form-actions{padding-top:6px}.notice{margin:16px 0;padding:12px 14px;border-radius:9px;font-size:13px}.notice--error{background:#fbeceb;color:#983b34}.notice--success{background:#e8f5ec;color:#286743}.skeleton-stack{display:grid;gap:15px}.skeleton-stack i{height:48px;border-radius:9px;background:linear-gradient(90deg,#eef1ef,#f8faf8,#eef1ef);background-size:200%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position:-200% 0}}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;margin-bottom:22px}.metric-card{display:grid;padding:22px;border:1px solid #dfe5e0;border-radius:14px;background:#fff}.metric-card span{color:#65736b;font-size:12px;font-weight:700}.metric-card strong{margin:5px 0 1px;font-size:36px;letter-spacing:-.04em}.metric-card small{color:#89928d}.tabs{display:flex;gap:6px;margin:20px 0 14px}.tabs button{padding:9px 13px;border:0;border-radius:9px;background:transparent;color:#65736b;font-weight:700;cursor:pointer}.tabs button.active{background:#dfece3;color:#175b3b}.tabs b{margin-left:5px;padding:1px 6px;border-radius:99px;background:#00000012}.filter-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr) auto;align-items:end;gap:12px;margin-bottom:28px}.chart{min-height:330px}.chart svg{display:block;width:100%;min-height:270px;overflow:visible}.chart-grid{stroke:#e5eae6;stroke-width:1}.chart-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-legend{display:flex;flex-wrap:wrap;gap:16px;color:#66746c;font-size:11px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:8px;height:8px;border-radius:50%}.chart-empty{display:grid;place-items:center;min-height:290px;color:#7d8882}@media(max-width:1000px){.filter-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.sidebar-nav{display:flex;overflow-x:auto}.sidebar-profile{margin-top:18px}.workspace{padding:28px 18px}.page-header{align-items:stretch;flex-direction:column}.table-card{overflow-x:auto}.metric-grid,.filter-grid{grid-template-columns:1fr}}.workspace>*{min-width:0}.workspace h1{margin-bottom:6px;color:var(--ink);font-size:clamp(25px,3vw,34px);line-height:1.15;letter-spacing:-.035em}.workspace h2{letter-spacing:-.015em}.workspace header p{margin:5px 0 0;color:var(--muted)}.workspace .card,.workspace .panel,.workspace .order,.workspace .formula,.workspace .form-card,.workspace .panel-card,.workspace .table-card{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:none}.workspace .card,.workspace .panel,.workspace .order,.workspace .formula{padding:20px}.workspace input:not([type=checkbox]):not([type=file]),.workspace select,.workspace textarea,.auth-page input{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #c9d4cd;border-radius:8px;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}.workspace textarea{min-height:96px;resize:vertical}.workspace input:not([type=checkbox]):focus,.workspace select:focus,.workspace textarea:focus{border-color:var(--accent);box-shadow:var(--focus)}.workspace input:disabled,.workspace select:disabled,.workspace textarea:disabled{background:#f1f4f2;color:#87918b}.workspace label{color:#3e4d45;font-size:13px}.workspace button,.workspace .upload{min-height:38px;padding:8px 12px;border:1px solid #cbd5ce;border-radius:8px;background:#fff;color:#34453b;font-weight:700;cursor:pointer}.workspace button:hover:not(:disabled),.workspace .upload:hover{border-color:#99ada1;background:#f7faf8}.workspace .primary,.workspace .primary-button,.workspace form button:first-of-type{border-color:var(--accent);background:var(--accent);color:#fff}.workspace .primary:hover:not(:disabled),.workspace .primary-button:hover:not(:disabled),.workspace form button:first-of-type:hover:not(:disabled){border-color:var(--accent-hover);background:var(--accent-hover)}.workspace .danger,.workspace .danger-button{border-color:#ecd4d1;background:#fff6f5;color:var(--danger)}.workspace .danger:hover:not(:disabled),.workspace .danger-button:hover:not(:disabled){border-color:#d9aaa5;background:#fbe9e7}.workspace a:not(.sidebar-nav a):not(.sidebar-brand){color:var(--accent);overflow-wrap:anywhere}.workspace code,.workspace pre{overflow-wrap:anywhere;word-break:break-word}.workspace table{min-width:620px}.workspace .card:has(>table){padding:0;overflow-x:auto}.workspace input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 auto;width:42px!important;height:24px;margin:0 8px 0 0;padding:0!important;border:1px solid #c7d1ca!important;border-radius:999px!important;background:#dfe5e1!important;vertical-align:middle;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}.workspace input[type=checkbox]:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #18221d33;transition:transform .16s}.workspace input[type=checkbox]:checked{border-color:var(--accent)!important;background:var(--accent)!important}.workspace input[type=checkbox]:checked:after{transform:translate(18px)}.workspace input[type=checkbox]:focus-visible{outline:none;box-shadow:var(--focus)}.workspace fieldset{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:9px}.workspace fieldset label{display:flex;align-items:center;gap:2px;margin-top:8px}.workspace form:not(.filters):not(.filter-grid):not(.auth-form){display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:16px!important}.workspace form:not(.filters):not(.filter-grid):not(.auth-form)>label{display:grid;gap:7px}@media(max-width:900px){.workspace .card,.workspace .panel,.workspace .order,.workspace .formula{padding:16px}.workspace table{min-width:560px}}@media(max-width:780px){.sidebar{overflow:hidden;padding:16px 14px 14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-brand{padding-bottom:14px}.sidebar-nav{margin:0 -14px;padding:0 14px 4px;scrollbar-width:none}.sidebar-nav a{flex:0 0 auto;white-space:nowrap}.sidebar-profile{margin-top:12px}.workspace{padding:24px 14px 48px}.workspace .head,.workspace header,.workspace .order-head,.workspace .crm-head{align-items:stretch;flex-direction:column}.workspace .row-actions,.workspace .actions,.workspace .buttons{white-space:normal}.auth-card{padding:30px 24px;border-radius:16px}}html[data-theme=dark]{color-scheme:dark;--ink:#eef0ef;--muted:#9ca19e;--line:#343836;--surface:#1c1f1d;--surface-soft:#242725;--accent:#d7dad8;--accent-hover:#f0f2f1;--accent-soft:#303330;--danger:#f08a82;--focus:0 0 0 3px rgba(215,218,216,.18);background:#101211}html[data-theme=dark] body{color:#e7e9e8;background:#101211}html[data-theme=dark] .sidebar{border-color:#303331;background:#171918}html[data-theme=dark] .sidebar-brand{color:#eef4f0}html[data-theme=dark] .sidebar-brand small,html[data-theme=dark] .profile-copy small{color:#8e9c94}html[data-theme=dark] .sidebar-nav a{color:#aab7af}html[data-theme=dark] .sidebar-nav a:hover,html[data-theme=dark] .sidebar-nav a.router-link-exact-active{background:#303330;color:#f0f2f1}html[data-theme=dark] .sidebar-profile{border-color:#303c35}html[data-theme=dark] .avatar{background:#303330;color:#e3e6e4}html[data-theme=dark] .icon-button{color:#aab7af}html[data-theme=dark] .icon-button:hover{color:#fff}html[data-theme=dark] .theme-button{font-size:18px}html[data-theme=dark] .workspace h1,html[data-theme=dark] .workspace h2,html[data-theme=dark] .workspace h3{color:#edf3ef}html[data-theme=dark] .workspace header p,html[data-theme=dark] .workspace .muted,html[data-theme=dark] .workspace .meta{color:#93a198!important}html[data-theme=dark] .workspace .card,html[data-theme=dark] .workspace .panel,html[data-theme=dark] .workspace .order,html[data-theme=dark] .workspace .formula,html[data-theme=dark] .workspace .form-card,html[data-theme=dark] .workspace .panel-card,html[data-theme=dark] .workspace .table-card,html[data-theme=dark] .workspace .section-card,html[data-theme=dark] .workspace .metric-card,html[data-theme=dark] .workspace .settings-list{border-color:#343836!important;background:#1c1f1d!important;color:#e7e9e8;box-shadow:none!important}html[data-theme=dark] .workspace input:not([type=checkbox]),html[data-theme=dark] .workspace select,html[data-theme=dark] .workspace textarea{border-color:#414643!important;background:#131514!important;color:#eef0ef!important}html[data-theme=dark] .workspace input::placeholder,html[data-theme=dark] .workspace textarea::placeholder{color:#718078}html[data-theme=dark] .workspace input:disabled,html[data-theme=dark] .workspace select:disabled,html[data-theme=dark] .workspace textarea:disabled{background:#242725!important;color:#858a87!important}html[data-theme=dark] .workspace label{color:#b9c5be!important}html[data-theme=dark] .workspace button,html[data-theme=dark] .workspace .upload{border-color:#454a47!important;background:#252825!important;color:#dfe2e0!important}html[data-theme=dark] .workspace button:hover:not(:disabled),html[data-theme=dark] .workspace .upload:hover{border-color:#5c625e!important;background:#2e322f!important}html[data-theme=dark] .workspace .primary,html[data-theme=dark] .workspace .primary-button,html[data-theme=dark] .workspace form button:first-of-type{border-color:#d7dad8!important;background:#d7dad8!important;color:#171918!important}html[data-theme=dark] .workspace .danger,html[data-theme=dark] .workspace .danger-button{border-color:#67413e!important;background:#3b2927!important;color:#f29a92!important}html[data-theme=dark] th{border-color:#343836!important;background:#242725!important;color:#9fa5a1!important}html[data-theme=dark] td{border-color:#303432!important}html[data-theme=dark] tbody tr:hover{background:#232624!important}html[data-theme=dark] .workspace .active{background:#263b31!important}html[data-theme=dark] .workspace .facts div,html[data-theme=dark] .workspace .kpis article,html[data-theme=dark] .workspace .last{background:#242725!important;color:#e1e4e2!important}html[data-theme=dark] .workspace .facts small,html[data-theme=dark] .workspace .kpis span{color:#91a097!important}html[data-theme=dark] .workspace .balance{background:#263d31!important;color:#dcebe2!important}html[data-theme=dark] .workspace .tabs button.active{background:#d7dad8!important;color:#171918!important}html[data-theme=dark] .workspace .stage{border-color:#3d4a42!important;background:#252f29!important;color:#a5b2aa!important}html[data-theme=dark] .workspace .stage-index{background:#344039!important;color:#b2beb6!important}html[data-theme=dark] .workspace .stage.done{border-color:#365543!important;background:#26382f!important}html[data-theme=dark] .workspace .stage.current{border-color:#4b956c!important;background:#294235!important;color:#e5f3ea!important}html[data-theme=dark] .workspace .setting-row{border-color:#344139!important}html[data-theme=dark] .workspace .type-pill{background:#303b35!important;color:#aab7af!important}html[data-theme=dark] .workspace .status-pill{background:#303330;color:#e3e6e4}html[data-theme=dark] .workspace .status-pill--off{background:#3b302d;color:#dda39e}html[data-theme=dark] .workspace fieldset{border-color:#46534c}html[data-theme=dark] .workspace input[type=checkbox]{border-color:#56635b!important;background:#3b4640!important}html[data-theme=dark] .workspace input[type=checkbox]:checked{border-color:#d7dad8!important;background:#d7dad8!important}html[data-theme=dark] .notice--error,html[data-theme=dark] .workspace .error{background:#3b2927!important;color:#f1a19a!important}html[data-theme=dark] .notice--success,html[data-theme=dark] .workspace .notice:not(.error){background:#263d31!important;color:#89d3a9!important}html[data-theme=dark] .chart-grid{stroke:#344139}html[data-theme=dark] .auth-page{background:#101211}html[data-theme=dark] .auth-card{border-color:#343836;background:#1c1f1d;box-shadow:0 24px 70px #00000052}html[data-theme=dark] .auth-card h1{color:#edf3ef}html[data-theme=dark] .auth-card .muted{color:#97a69e}html[data-theme=dark] .auth-form label{color:#bec9c2}html[data-theme=dark] .auth-form input{border-color:#414643;background:#131514;color:#eef0ef}html[data-theme=dark] .auth-theme{border-color:#454a47;background:#252825;color:#dfe2e0}html[data-theme=dark] .auth-mode{border-color:#343836;background:#131514}html[data-theme=dark] .auth-mode a{color:#999f9b}html[data-theme=dark] .auth-mode a.active{background:#d7dad8;color:#171918;box-shadow:none}html[data-theme=dark] .secret-box{border-color:#6a5a30!important;background:#332f21!important;color:#ead99f!important}html[data-theme=dark] .modal-card{border-color:#383c39!important;background:#1c1f1d!important;color:#e7e9e8;box-shadow:0 28px 80px #00000080!important}html[data-theme=dark] .modal-head{border-color:#343836!important;background:#1c1f1df7!important}html[data-theme=dark] .modal-head h2{color:#edf3ef!important}html[data-theme=dark] .modal-close{border-color:#46544c!important;background:#29332d!important;color:#b8c4bc!important}html[data-theme=dark] .modal-body label{color:#bdc8c1!important}html[data-theme=dark] .modal-body input:not([type=checkbox]),html[data-theme=dark] .modal-body select,html[data-theme=dark] .modal-body textarea{border-color:#444945!important;background:#131514!important;color:#eef0ef!important}html[data-theme=dark] .modal-body button{border-color:#454a47!important;background:#252825!important;color:#dfe2e0!important}html[data-theme=dark] .modal-body button.primary,html[data-theme=dark] .modal-body form button[type=submit]:last-child{border-color:#d7dad8!important;background:#d7dad8!important;color:#171918!important}html[data-theme=dark] .modal-body .form-actions{border-color:#343836!important;background:#1c1f1d!important}html[data-theme=dark] .modal-body details,html[data-theme=dark] .modal-body fieldset{border-color:#3d423f!important;background:#222523!important}html[data-theme=dark] .modal-body summary,html[data-theme=dark] .modal-body legend{color:#aab7af!important}html[data-theme=dark] .modal-body input[type=checkbox]{border-color:#56635b!important;background:#3b4640!important}html[data-theme=dark] .modal-body input[type=checkbox]:checked{border-color:#d7dad8!important;background:#d7dad8!important}html[data-theme=dark] .brand-mark{background:#d7dad8;color:#171918}html[data-theme=dark] .workspace .filters{border:1px solid #343836!important;background:#1c1f1d!important;color:#e7e9e8!important}html[data-theme=dark] .workspace .tabs button{color:#b9bfbb!important}html[data-theme=dark] .workspace .tabs button.active{color:#171918!important}html[data-theme=dark] .workspace .stage.current{border-color:#8d9390!important;background:#303330!important;color:#f0f2f1!important;box-shadow:inset 3px 0 #d7dad8!important}html[data-theme=dark] .workspace .stage.current .stage-index{background:#d7dad8!important;color:#171918!important}html[data-theme=dark] .workspace .stage.done{border-color:#444946!important;background:#272a28!important}html[data-theme=dark] .workspace .stage.done .stage-index{background:#3a3e3b!important;color:#d7dad8!important}html[data-theme=dark] .workspace .balance{background:#292c2a!important;color:#e3e6e4!important}html[data-theme=dark] .workspace .section-icon{background:#303330!important;color:#e3e6e4!important}html[data-theme=dark] .notice--success,html[data-theme=dark] .workspace .notice:not(.error){background:#292c2a!important;color:#d7dad8!important}html[data-theme=dark] .status-pill i{background:#b7bcb9}
