@import"https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap";:root{--page-bg: #f4f9ff;--surface: #ffffff;--surface-soft: #eef6ff;--surface-warm: #fff8de;--sidebar-bg: #dceeff;--sidebar-deep: #cfe5ff;--primary: #1f6fd6;--primary-deep: #0d4f9d;--highlight: #ffd34f;--highlight-soft: #fff2bd;--text: #18314f;--muted: #607791;--border: rgba(31, 111, 214, .14);--shadow: 0 22px 55px rgba(19, 74, 141, .12);--radius-xl: 32px;--radius-lg: 24px;--radius-md: 18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Roboto,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text);background:radial-gradient(circle at top right,rgba(255,211,79,.38),transparent 24rem),linear-gradient(180deg,#f8fbff,#ebf5ff)}button,input,textarea,select{font:inherit}button{border:0;background:none}#root{min-height:100vh;overflow-x:hidden}.app-shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh;width:100%;overflow-x:hidden}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;padding:20px 14px;background:linear-gradient(180deg,var(--sidebar-bg) 0%,var(--sidebar-deep) 100%);border-right:1px solid rgba(13,79,157,.08);display:flex;flex-direction:column}.logout-button{width:100%;margin:0 0 14px}.sidebar-guest-card{margin:0 0 14px;padding:16px;border-radius:20px;background:#ffffffd1;border:1px solid rgba(31,111,214,.14);box-shadow:var(--shadow)}.sidebar-guest-card strong{display:block;margin-bottom:8px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,rgba(255,211,79,.28),transparent 22rem),linear-gradient(180deg,#f8fbff,#ebf5ff)}.login-card{width:min(520px,100%);padding:32px;border-radius:32px;background:linear-gradient(180deg,#fff,#f8fce9);border:1px solid rgba(232,245,189,.95);box-shadow:var(--shadow)}.login-shell-compact{min-height:auto;place-items:stretch;padding:0 0 14px;background:transparent}.landing-shell{min-height:100vh;display:grid;place-items:center;padding:16px;overflow:hidden;background:radial-gradient(circle at top left,rgba(238,212,255,.36),transparent 10rem),radial-gradient(circle at top right,rgba(255,232,187,.7),transparent 12rem),radial-gradient(circle at bottom right,rgba(233,210,243,.34),transparent 12rem),linear-gradient(180deg,#fbfbfb,#f9f7fb)}.landing-hero-card{position:relative;width:min(760px,100%);overflow:hidden;padding:34px 28px 30px;border-radius:8px;background:#ffffffeb;text-align:center;box-shadow:0 24px 48px #5c3f7914}.landing-orb{position:absolute;border-radius:999px;pointer-events:none}.landing-orb-left{top:18px;left:-26px;width:78px;height:78px;background:#eed4ff6b}.landing-orb-right{top:-18px;right:-10px;width:96px;height:96px;background:#ffecc5e6}.landing-orb-bottom{right:-36px;bottom:-42px;width:186px;height:186px;display:none}.landing-eyebrow{margin:0 0 12px;color:#111;font-size:1rem;font-weight:700;letter-spacing:.34em;text-transform:uppercase}.landing-logo{position:relative;z-index:1;width:min(230px,58vw);max-width:100%;display:block;margin:0 auto 10px;object-fit:contain}.landing-title{position:relative;z-index:1;margin:0 0 10px;color:#101010;font-size:clamp(2rem,3vw,2.55rem);line-height:1.18;font-weight:700}.landing-copy{position:relative;z-index:1;width:min(520px,100%);margin:0 auto 18px;color:#424242;font-size:1rem;line-height:1.7}.landing-cta-button{position:relative;z-index:1;min-width:150px;height:46px;padding:0 24px;border-radius:10px;background:linear-gradient(180deg,#a54cb2,#843693);color:#fff;font-size:.9rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;cursor:pointer;box-shadow:0 16px 30px #8436934d}.landing-cta-button:hover{transform:translateY(-1px)}.login-card-compact{width:100%;padding:18px;border-radius:24px;box-shadow:none}.login-card-compact h1{font-size:1.5rem}.login-card h1{margin:0}.login-title{text-align:center}.login-form{display:grid;gap:16px;margin-top:18px}.login-button,.primary-button.login-button{width:100%;background:linear-gradient(180deg,#a54cb2,#843693);border-color:#84369359;color:#fff;box-shadow:0 16px 30px #84369342}.login-card .purchase-input{background:#fff;border-color:#607b8f29}.brand-card,.module-group,.hero,.focus-panel,.stat-card,.panel,.journey-card,.finance-strip article{box-shadow:var(--shadow)}.brand-card{display:flex;flex-direction:column;gap:10px;align-items:center;padding:8px 8px 16px;margin-bottom:8px;border-radius:26px;background:transparent;border:0;box-shadow:none}.brand-button{width:100%;text-align:center;cursor:pointer}.brand-mark-shell{width:158px;height:158px;display:grid;place-items:center;overflow:hidden;border-radius:999px;background:#fffffff5;box-shadow:0 18px 34px #134a8d1a}.brand-mark{width:100%;height:100%;display:block;object-fit:cover;flex-shrink:0}.brand-card h1{font-size:1.55rem;line-height:1.1}.brand-title-block{display:grid;gap:4px;justify-items:center}.brand-copy{margin:0;color:var(--muted);font-size:.78rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase}.sidebar-user-card{margin-top:4px}.brand-card h1,.hero h2,.focus-panel h3,.panel h3,.section-title h3{margin:0}.hero-copy{margin:10px 0 0;color:var(--muted);max-width:760px;line-height:1.6}.brand-copy{margin:6px 0 0;color:var(--muted);font-size:.92rem}.eyebrow{margin:0 0 6px;color:var(--muted);font-size:.74rem;letter-spacing:.14em;text-transform:uppercase}.module-nav{display:flex;flex-direction:column;gap:12px;flex:1;padding-bottom:20px}.module-group{width:100%;padding:12px 14px;text-align:left;border-radius:20px;background:#fffc;border:1px solid transparent;transition:transform .2s ease,border-color .2s ease,background .2s ease}.module-group:hover,.module-group.is-active{transform:translateY(-2px);background:#fffffffa;border-color:#1f6fd63d}.module-header{display:flex;justify-content:space-between;align-items:center;font-weight:700}.module-trigger{width:100%;cursor:pointer;text-align:left}.module-arrow{color:var(--primary);font-size:1.15rem;transition:transform .2s ease}.module-group.is-open .module-arrow{transform:rotate(45deg)}.module-items{display:none;margin-top:12px;gap:8px;flex-direction:column;align-items:stretch}.module-group.is-open .module-items{display:flex}.module-items span,.hero-badges span,.tag,.pill-row span,.journey-tags span{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:.84rem;background:var(--surface-soft);border:1px solid rgba(31,111,214,.12)}.module-items span{width:100%;justify-content:flex-start}.submodule-button{width:100%;display:inline-flex;align-items:center;justify-content:flex-start;padding:10px 12px;border-radius:14px;background:#f4f9ff;border:1px solid rgba(31,111,214,.12);color:var(--text);cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}.dashboard-page-grid>*{min-width:0}.dashboard-summary-grid,.dashboard-quick-grid,.dashboard-alert-grid,.dashboard-chart-grid{display:grid;gap:20px}.dashboard-summary-grid,.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-alert-grid,.dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary-card,.dashboard-quick-card,.dashboard-alert-card,.dashboard-chart-card{min-width:0}.dashboard-summary-card strong,.dashboard-quick-card strong{display:block;margin-top:8px;font-size:1.9rem}.dashboard-summary-card span,.dashboard-quick-card p{color:var(--muted)}.dashboard-summary-card.dashboard-sales{background:linear-gradient(180deg,#fff,#f3fbdf)}.dashboard-summary-card.dashboard-purchase{background:linear-gradient(180deg,#fff,#eef5ff)}.dashboard-summary-card.dashboard-profit{background:linear-gradient(180deg,#fff,#ecffe7)}.dashboard-summary-card.dashboard-loss,.dashboard-summary-card.dashboard-due{background:linear-gradient(180deg,#fff,#fff3e8)}.dashboard-bar-chart,.dashboard-line-chart{min-height:260px;display:flex;align-items:flex-end;gap:16px;padding:12px 6px 6px}.dashboard-bar-group,.dashboard-line-point{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px}.dashboard-bar-stack{display:flex;gap:10px;align-items:flex-end}.dashboard-bar-track{display:flex;flex-direction:column;align-items:center;gap:8px}.dashboard-bar-track span,.dashboard-line-point span{font-size:.78rem;color:var(--muted);text-align:center}.dashboard-bar{width:26px;border-radius:16px 16px 6px 6px;background:linear-gradient(180deg,#d9ed90,#a4d65e)}.dashboard-bar.purchase-bar{background:linear-gradient(180deg,#cfe5ff,#6ba6ea)}.dashboard-line-chart{position:relative;align-items:flex-end}.dashboard-line-point{position:relative;min-height:220px;justify-content:flex-end}.dashboard-line-node{position:absolute;width:18px;height:18px;border-radius:999px;border:3px solid #ffffff;box-shadow:0 12px 24px #18314f24}.dashboard-line-node.profit-node{background:#7bc96f}.dashboard-line-node.loss-node{background:#ef7d7d}.dashboard-alert-list{display:grid;gap:12px}.dashboard-alert-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fce9);border:1px solid rgba(232,245,189,.95)}.dashboard-alert-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.dashboard-alert-meta em{color:var(--muted);font-style:normal;font-size:.8rem}@media (max-width: 1120px){.dashboard-summary-grid,.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-alert-grid,.dashboard-chart-grid{grid-template-columns:1fr}}@media (max-width: 720px){.dashboard-summary-grid,.dashboard-quick-grid{grid-template-columns:1fr}}.submodule-button:hover,.submodule-button.is-selected{background:#fff;border-color:#1f6fd64d;transform:translate(2px)}.main-content{padding:28px;min-width:0;overflow-x:auto}.warehouse-toolbar-card .table-header{align-items:center}.table-actions{display:flex;gap:10px;flex-wrap:nowrap}.warehouse-type-badge,.warehouse-status-badge{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;font-size:.85rem;font-weight:700}.warehouse-type-main{background:#607b8f24;color:#3d5871}.warehouse-type-distribution{background:#e8f5bdbd;color:#4f6b17}.warehouse-type-retail{background:#ffd34f40;color:#8a6300}.warehouse-status-badge.is-active{background:#bbe7a96b;color:#2f7c4f}.warehouse-status-badge.is-inactive{background:#ffd6d6b3;color:#a14444}.warehouse-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#12314f3d;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;z-index:1200;padding:24px}.warehouse-form-card{width:min(720px,100%);max-height:calc(100vh - 40px);overflow-y:auto;border-radius:28px;background:radial-gradient(circle at top right,rgba(255,211,79,.18),transparent 16rem),linear-gradient(180deg,#fffffffa,#f7fcfffa);border:1px solid rgba(31,111,214,.12);box-shadow:var(--shadow);padding:26px}.contact-form-card{width:min(920px,calc(100% - 24px))}.warehouse-form-grid{margin-top:14px}.warehouse-stock-toolbar .table-header{align-items:center}.warehouse-stock-total{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.warehouse-stock-total span{color:var(--muted);font-size:.84rem}.warehouse-stock-total strong{color:#193c65;font-size:1.5rem}.contact-filter-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.contact-filter-button{width:auto}.contact-group-filter-select{min-width:180px;width:auto}.contact-form-grid{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.field-span-2{grid-column:span 2}.contact-type-badge,.contact-role-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-size:.84rem;font-weight:700}.contact-type-individual{background:#607b8f1f;color:#466078}.contact-type-company{background:#e8f5bde0;color:#476400}.contact-role-customer{background:#1f6fd61f;color:#215f9f}.contact-role-supplier{background:#ffd34f38;color:#8a5a00}.contact-role-both{background:#8566e024;color:#6246b8}.contact-profile-header .table-header{align-items:flex-start}.contact-profile-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:18px}.contact-profile-main p,.contact-overview-panel p{margin:0 0 10px}.contact-profile-side{display:grid;gap:12px}.contact-profile-chip,.contact-activity-item,.contact-overview-panel{padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92)}.contact-profile-chip span{display:block;color:var(--muted);margin-bottom:6px}.contact-profile-chip strong{color:#173a63}.contact-tabs{display:flex;flex-wrap:wrap;gap:10px}.contact-tab-button{width:auto}.contact-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.contact-summary-grid{margin-top:0}.contact-summary-card span{color:var(--muted)}.contact-summary-card strong{color:#173a63;font-size:1.2rem}.user-search-field{min-width:min(380px,100%);flex:1}.user-role-filter-field{min-width:220px}.user-role-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#eef8cf,#fff1b6);border:1px solid rgba(232,245,189,.98);color:#385267;font-size:.84rem;font-weight:700}.user-row-inactive{background:linear-gradient(90deg,#fff4f4f0,#ffefefe6)}.role-form-card{width:min(980px,calc(100% - 24px))}.permission-matrix{display:grid;gap:14px;margin-top:18px}.permission-row{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:center;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92)}.permission-row strong{color:#173a63}.permission-actions{display:flex;flex-wrap:wrap;gap:12px}.permission-checkbox{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:#fff;border:1px solid rgba(96,123,143,.14);color:var(--text)}.permission-checkbox input{width:16px;height:16px}.permission-role-selector{max-width:320px}.permission-table-wrap{max-height:none;min-height:0;overflow-x:auto;overflow-y:visible;padding-bottom:8px}.permission-matrix-table{min-width:860px}.permission-matrix-table thead th{position:sticky;top:0;z-index:2}.permission-matrix-table tbody tr:last-child td{border-bottom:0}.permission-checkbox-inline{justify-content:center;min-width:0;padding:8px}.activity-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.activity-filter-actions{align-items:center}.activity-log-table{min-width:1180px}.activity-row-update{background:linear-gradient(90deg,#fff7dee0,#ffefc68a)}.activity-row-delete{background:linear-gradient(90deg,#ffebebe6,#ffdede94)}.activity-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.activity-pagination span{color:var(--muted);font-weight:600}.settings-card .table-header{align-items:flex-start}.settings-grid{margin-top:8px}.settings-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-file-input{padding-top:10px;padding-bottom:10px}.settings-file-name{color:var(--muted);font-size:.82rem}.settings-textarea{min-height:120px;padding-top:12px}.settings-toggle{min-height:44px}.notification-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.report-filter-actions{display:flex;align-items:end;gap:10px}.report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-chart-card{overflow:hidden}.report-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:16px;align-items:end;min-height:250px}.report-chart-bar-wrap{display:grid;gap:10px;align-items:end;justify-items:center}.report-chart-bar-wrap span,.report-chart-bar-wrap strong{color:var(--muted);font-size:.82rem;font-weight:700}.report-chart-bar{width:100%;max-width:72px;border-radius:18px 18px 8px 8px;background:linear-gradient(180deg,#e8f5bd,#d5eb7c);border:1px solid rgba(96,123,143,.14);box-shadow:0 14px 24px #607b8f1f}.report-table{min-width:1080px}.report-sort-button{cursor:pointer;color:inherit;font-weight:inherit}.report-row-unpaid{background:linear-gradient(90deg,#fff8ef,#fff1de)}.report-row-high-due{background:linear-gradient(90deg,#fff0f0,#ffe2e2)}.report-row-mismatch{background:linear-gradient(90deg,#fff6dc,#ffeab5)}.report-profit-filter-grid,.profit-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-card-positive{background:linear-gradient(180deg,#eef9e7,#dff3cf);border-color:#89c978eb}.profit-card-negative{background:linear-gradient(180deg,#fff1f1,#ffe1e1);border-color:#e18484eb}.report-breakdown-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:18px;align-items:end;min-height:260px}.profit-chart-group{display:grid;gap:10px;justify-items:center}.profit-chart-bars{display:flex;gap:12px;align-items:end}.profit-chart-track{display:grid;gap:10px;justify-items:center;align-items:end}.profit-chart-track span,.profit-chart-group strong{color:var(--muted);font-size:.82rem;font-weight:700}.profit-chart-bar{width:34px;border-radius:16px 16px 8px 8px;border:1px solid rgba(96,123,143,.14);box-shadow:0 14px 24px #607b8f1f}.profit-chart-bar-sales{background:linear-gradient(180deg,#e8f5bd,#d5eb7c)}.profit-chart-bar-purchase{background:linear-gradient(180deg,#dfeeff,#bfd8f4)}.due-chart-grid{grid-template-columns:repeat(2,minmax(140px,1fr));max-width:420px}.due-chart-customer{background:linear-gradient(180deg,#e8f5bd,#d5eb7c)}.due-chart-supplier{background:linear-gradient(180deg,#ffd6d6,#ffbcbc)}.report-balance-filter-grid{grid-template-columns:minmax(0,320px)}.balance-sheet-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.balance-column{display:grid;gap:18px}.balance-section-card{min-height:100%}.balance-section-groups{display:grid;gap:14px}.balance-group-card{border-radius:20px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92);overflow:hidden}.balance-group-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer;color:var(--text);font-weight:700}.balance-group-meta{display:flex;align-items:center;gap:14px}.balance-group-items{display:grid;gap:10px;padding:0 18px 18px}.balance-account-row{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:#ffffffc7;border:1px solid rgba(96,123,143,.1)}.balance-account-row span{color:var(--muted)}.balance-account-row strong{color:#173a63}.contact-activity-list{display:grid;gap:12px;margin-top:12px}.group-form-card{width:min(620px,calc(100% - 24px))}.tag-selector-grid{margin-top:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.communication-timeline{display:grid;gap:14px;margin-top:10px}.communication-timeline-item{position:relative;padding:18px 20px;border-radius:20px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92)}.communication-timeline-item.has-follow-up{border-color:#1f6fd63d;box-shadow:0 10px 24px #1f6fd614}.communication-timeline-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.communication-timeline-meta span{color:var(--muted);font-weight:700}.communication-timeline-item p{margin:0 0 10px}.communication-timeline-item small{color:#245f9b;font-weight:600}.warehouse-stock-filter-grid{margin-top:14px}.warehouse-stock-row.is-low{background:linear-gradient(90deg,#fff3d6e6,#ffeab899)}.warehouse-stock-row.is-out{background:linear-gradient(90deg,#ffe2e2f0,#ffefefe6)}.warehouse-stock-low{background:#ffd34f47;color:#9a6700}.warehouse-checkbox-list{display:grid;gap:12px}.warehouse-checkbox-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92);cursor:pointer;transition:transform .2s ease,border-color .2s ease}.warehouse-checkbox-item:hover{transform:translateY(-1px);border-color:#607b8f47}.warehouse-checkbox-item.is-disabled{opacity:.62;cursor:not-allowed}.warehouse-checkbox-item input{width:18px;height:18px}.warehouse-mapping-summary{display:grid;gap:16px}.warehouse-mapping-product{margin:0;color:#173a63;font-size:1rem}.warehouse-mapping-tags{display:flex;flex-wrap:wrap;gap:10px}.warehouse-mapping-tag,.warehouse-mapping-empty{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:linear-gradient(135deg,#eef8cf,#fff1b6);border:1px solid rgba(232,245,189,.98);color:#385267;font-weight:600}.warehouse-toggle{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;border-radius:999px;border:1px solid rgba(31,111,214,.15);background:#f6fbff;color:var(--text);cursor:pointer;width:fit-content}.warehouse-toggle.is-on{background:linear-gradient(135deg,#e8f5bdf2,#ffd34f61)}.warehouse-toggle-knob{width:18px;height:18px;border-radius:50%;background:var(--primary);box-shadow:0 6px 14px #1f6fd63d}.toast{position:fixed;top:18px;right:18px;z-index:1000;display:flex;gap:12px;align-items:center;padding:14px 18px;border-radius:16px;box-shadow:var(--shadow);border:1px solid rgba(96,123,143,.16)}.toast-success{background:linear-gradient(135deg,#effad6,#f8ffeb);color:#355b21}.toast-error{background:linear-gradient(135deg,#fff1f1,#fff7f7);color:#a34141}.toast button{cursor:pointer;color:inherit}.page-message{margin-top:22px;padding:22px;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fce9);border:1px solid rgba(232,245,189,.95);color:var(--text);box-shadow:var(--shadow)}.error-message{color:#a34141}.hero{display:flex;justify-content:space-between;gap:22px;padding:30px;border-radius:var(--radius-xl);background:linear-gradient(135deg,#fff,#edf6ff 70%,#fff4c4);border:1px solid var(--border)}.hero-copy,.focus-panel p,.stat-card span,.journey-card p,.finance-strip p,.mini-card p{color:var(--muted);line-height:1.65}.hero-copy{margin:12px 0 0;max-width:760px}.hero-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-self:flex-start}.focus-panel,.stats-grid,.flow-board,.journey-grid,.finance-strip,.support-grid{margin-top:22px}.focus-panel{display:flex;justify-content:space-between;gap:16px;padding:24px 26px;border-radius:28px;background:linear-gradient(120deg,#fff,#eef6ff);border:1px solid var(--border)}.focus-copy p:last-child{margin:10px 0 0}.tag{align-self:flex-start;background:var(--highlight-soft);border-color:#ffd34f70}.stats-grid,.flow-board,.journey-grid,.finance-strip,.support-grid{display:grid;gap:18px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{padding:22px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border)}.stat-card p,.stat-card span,.mini-card p,.journey-card p,.finance-strip p{margin:0}.stat-card p{margin-bottom:10px;color:var(--muted)}.stat-card strong{display:block;margin-bottom:8px;font-size:1.12rem}.accent-card{background:linear-gradient(145deg,var(--surface-warm) 0%,#ffffff 100%)}.flow-board{grid-template-columns:1.25fr 1fr 1fr;align-items:start}.panel{padding:24px;border-radius:28px;background:var(--surface);border:1px solid var(--border)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mini-card{padding:18px;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#eef6ff);border:1px solid rgba(31,111,214,.1)}.mini-card h4,.journey-card h4,.finance-strip h4{margin:0 0 8px}.feature-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.feature-list li{padding:12px 14px;border-radius:14px;background:#f8fbff;border:1px solid rgba(31,111,214,.08)}.section-title{margin-bottom:14px}.journey-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.journey-card{padding:24px;border-radius:26px;background:linear-gradient(180deg,#fff,#f1f8ff);border:1px solid var(--border)}.journey-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.finance-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-strip article{padding:22px;border-radius:24px;background:linear-gradient(135deg,#eaf4ff,#fffdf3);border:1px solid rgba(31,111,214,.12)}.support-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-page-grid{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.module-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.transfer-layout{margin-top:22px;display:grid;grid-template-columns:1fr;gap:18px;align-items:start}.transfer-form-card{padding:24px;border-radius:28px;background:linear-gradient(180deg,#fff,#f8fce9);border:1px solid rgba(232,245,189,.95);box-shadow:var(--shadow)}.transfer-form{margin-top:6px}.transfer-actions{margin-top:18px;display:flex;justify-content:flex-start}.transfer-submit{min-width:180px}.inventory-hero{background:linear-gradient(135deg,#fff,#f4fadf 60%,#eef4f7)}.dashboard-hero{background:linear-gradient(135deg,#fff,#f7ecff 55%,#fff5bf)}.dashboard-block-grid{margin-top:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dashboard-block{text-align:left;padding:24px;border-radius:28px;border:1px solid rgba(173,134,224,.2);background:linear-gradient(145deg,#f4e9ff,#fff3b8);box-shadow:0 18px 45px #9a79d024;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.dashboard-block:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 26px 55px #9a79d033;border-color:#ad86e06b}.dashboard-block h3,.dashboard-block p{margin:0}.dashboard-block h3{margin-bottom:10px;color:#41305e}.dashboard-block p:last-child{color:#5f5874;line-height:1.65}.product-toolbar,.product-table-card,.modal-card{background:linear-gradient(180deg,#fff,#f8fce9);border:1px solid var(--border);box-shadow:var(--shadow)}.product-toolbar{margin-top:22px;padding:24px 26px;border-radius:28px;display:flex;justify-content:space-between;gap:18px;align-items:center;border-color:#e8f5bdf2}.product-toolbar h3,.table-header h3,.modal-header h3{margin:0}.product-toolbar-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap;justify-content:flex-start;order:1}.product-toolbar>div:first-child{order:2;text-align:right}.stock-toolbar .product-toolbar-actions{order:1}.stock-toolbar>div:last-child{order:2;text-align:right}.search-field,.field{display:grid;gap:8px;color:var(--muted);font-size:.9rem}.stock-toolbar .search-field span,.stock-toolbar .eyebrow{font-weight:700;color:#48657f;letter-spacing:.06em}.search-field input,.field input,.field select,.field textarea{min-width:240px;padding:0 14px;border-radius:14px;border:1px solid rgba(96,123,143,.18);background:linear-gradient(180deg,#fff,#f5fae7);color:var(--text)}.search-field input,.field input,.field select{height:44px}.field textarea{min-height:110px;padding:12px 14px;resize:vertical}.filter-button,.primary-button,.action-button,.close-button{height:44px;border-radius:14px;padding:0 16px;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease}.filter-button,.action-button{background:linear-gradient(180deg,#f7fbef,#eef4f7);border:1px solid rgba(96,123,143,.18);color:#607b8f}.primary-button{background:linear-gradient(135deg,#e8f5bd,#d8ef8f);border:1px solid rgba(96,123,143,.14);color:#385267;font-weight:700}.filter-button:hover,.primary-button:hover,.action-button:hover,.close-button:hover{transform:translateY(-1px)}button:disabled{opacity:.7;cursor:not-allowed}.product-table-card{margin-top:22px;padding:24px;border-radius:28px;border-color:#e8f5bdf2}.table-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.table-note,.modal-note{margin:0;color:var(--muted)}.table-wrap{overflow-x:auto;overflow-y:hidden;padding-bottom:8px}.product-table{width:100%;border-collapse:collapse;min-width:1360px;table-layout:auto}.product-table th,.product-table td{padding:14px 10px;text-align:left;border-bottom:1px solid rgba(96,123,143,.12);font-size:.9rem;word-break:break-word;overflow-wrap:anywhere;vertical-align:top}.product-table th{color:#607b8f;background:linear-gradient(180deg,#f4fad8,#eef4df);font-weight:700}.product-table tbody tr:hover{background:linear-gradient(90deg,#fbfef5,#f4fadf)}.product-table tbody tr:nth-child(2n){background:#f8fce973}.status-badge{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:.82rem;font-weight:700}.status-badge.is-low{background:linear-gradient(135deg,#fff1de,#ffe2b8);color:#a0581a}.status-badge.is-ok{background:linear-gradient(135deg,#edf8ef,#dff2e4);color:#3d7a54}.table-actions{display:flex;gap:6px;flex-wrap:nowrap;align-items:center}.table-actions .action-button{width:auto;min-width:74px}.stock-filter select{min-width:170px}.stock-toolbar .search-field{align-self:end}.stock-toolbar .search-field input,.stock-toolbar .search-field select{height:54px;border-radius:18px;border:1px solid rgba(96,123,143,.2);background:linear-gradient(180deg,#fff,#f5fae7);box-shadow:inset 0 1px #fffc;padding:0 18px;color:#48657f;appearance:none;-webkit-appearance:none;-moz-appearance:none}.stock-toolbar .stock-filter{position:relative}.stock-toolbar .stock-filter:after{content:"";position:absolute;right:16px;bottom:18px;width:10px;height:10px;border-right:2px solid #607b8f;border-bottom:2px solid #607b8f;transform:rotate(45deg);pointer-events:none}.stock-toolbar .stock-filter select{padding-right:42px}.stock-summary-grid{margin-top:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.summary-card{padding:22px;border-radius:24px;background:linear-gradient(180deg,#fff,#f7fce6);border:1px solid rgba(232,245,189,.9);box-shadow:var(--shadow)}.summary-card p,.summary-card strong,.summary-card span{margin:0}.summary-card p{color:#607b8f;margin-bottom:10px}.summary-card strong{display:block;font-size:1.7rem;color:#173a63;margin-bottom:8px}.summary-card span{color:var(--muted);line-height:1.6}.summary-card.low-card{background:linear-gradient(180deg,#fff6ef,#fff0e4);border-color:#ffd0adf2}.summary-card.critical-card{background:linear-gradient(180deg,#fff2f2,#ffe4e4);border-color:#f4adadf2}.stock-table tbody tr{transition:background .2s ease,transform .2s ease}.stock-table tbody tr:hover{background:linear-gradient(90deg,#fbfef5,#eef7d7)}.stock-table tbody tr.is-warning-row{background:linear-gradient(90deg,#fff9f5,#fff0ea)}.stock-table tbody tr.is-low-row{background:linear-gradient(90deg,#fffaf2,#fff0de)}.stock-table tbody tr.is-critical-row{background:linear-gradient(90deg,#fff4f4,#ffe6e6)}.action-button.delete{background:linear-gradient(180deg,#fff4f4,#ffe9e9);color:#b04d4d}.action-button.view{background:linear-gradient(135deg,#eef6ff,#dfeeff);border-color:#607b8f38;color:#476c8b;box-shadow:0 10px 18px #607b8f14}.action-button.transfer{background:linear-gradient(135deg,#eef8cf,#e3f29d);border-color:#a0bc6059;color:#4f6d1c;box-shadow:0 10px 18px #b5c96924}.action-button.purchase{background:linear-gradient(135deg,#ffeab6,#ffd57f);border-color:#e3b05459;color:#845114;box-shadow:0 10px 18px #e3b05429}.status-badge.is-critical{background:linear-gradient(135deg,#ffe3e3,#ffcaca);color:#b24242}.status-badge.is-warehouse{background:linear-gradient(135deg,#e7f1ff,#d5e8ff);color:#3f6791}.status-badge.is-shop{background:linear-gradient(135deg,#e8f7ea,#d9f0df);color:#3f7a50}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14223257;display:grid;place-items:center;padding:20px}.modal-card{width:min(760px,100%);max-height:calc(100vh - 40px);border-radius:28px;padding:24px;overflow-y:auto;scrollbar-gutter:stable;background:linear-gradient(180deg,#fff,#f7fce4 55%,#eef6dc);border:1px solid rgba(232,245,189,.9)}.modal-header,.modal-footer{display:flex;justify-content:space-between;gap:16px;align-items:center}.close-button{width:44px;background:linear-gradient(180deg,#fff,#f1f8df);border:1px solid rgba(96,123,143,.16);color:#1f6fd6}.modal-grid{margin-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field input,.field select,.field textarea{min-width:100%}.field-wide{grid-column:1 / -1}.field-error{color:#c15d4c;font-size:.82rem}.modal-form{margin-top:8px;padding-right:6px}.modal-header{padding-bottom:14px;border-bottom:1px solid rgba(232,245,189,.9)}.modal-footer{padding-top:16px;border-top:1px solid rgba(232,245,189,.9)}.modal-card::-webkit-scrollbar{width:10px}.modal-card::-webkit-scrollbar-track{background:#eef4df;border-radius:999px}.modal-card::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d7ec97,#a9bfd0);border-radius:999px;border:2px solid #eef4df}.modal-card::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#c8e67a,#8ea8bc)}.modal-animated{animation:modal-rise .28s ease}@keyframes modal-rise{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-footer{margin-top:22px}.modal-actions{display:flex;gap:10px}.is-highlighted{border-color:#ffd34fcc;box-shadow:0 18px 50px #ffd34f33}.purchase-page-grid{margin-top:22px;display:grid;gap:18px}.purchase-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.purchase-order-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-bills-table{min-width:980px}.purchase-input{width:100%;height:44px;padding:0 14px;border-radius:14px;border:1px solid rgba(96,123,143,.18);background:linear-gradient(180deg,#fff,#f5fae7);color:var(--text)}.purchase-input:focus,.purchase-form-grid input:focus,.purchase-form-grid select:focus,.purchase-summary-list input:focus,.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#607b8f;box-shadow:0 0 0 3px #607b8f24}.purchase-input-error,.purchase-input-error:focus{border-color:#c15d4c;box-shadow:0 0 0 3px #c15d4c1f}.purchase-total-cell{min-height:44px;display:flex;align-items:center;font-weight:700;color:#385267}.purchase-row-actions{margin-top:18px;display:flex;justify-content:flex-start}.purchase-summary-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.purchase-order-summary-layout{align-items:start}.purchase-summary-card{min-height:100%}.purchase-summary-list{display:grid;gap:16px}.purchase-summary-item{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#fbfef5,#eef6df);border:1px solid rgba(232,245,189,.92)}.purchase-summary-item span{color:var(--muted)}.purchase-summary-item strong{color:#173a63;font-size:1.04rem}.purchase-grand-total{background:linear-gradient(135deg,#eef8cf,#e3f29d)}.purchase-actions-card{padding-top:18px;padding-bottom:18px}.purchase-action-buttons{display:flex;justify-content:flex-end;gap:12px}.purchase-remove{min-width:92px}.sales-stock-pill{min-height:44px;display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,#eef8cf,#f8fde9);border:1px solid rgba(160,188,96,.3);color:#4f6d1c;font-weight:700}.purchase-warning-card{background:linear-gradient(180deg,#fff4ec,#ffe7d4);border:1px solid rgba(214,137,76,.2)}.purchase-warning-card strong{color:#a55c22}.purchase-bills-table tbody tr{transition:background .2s ease,transform .2s ease}.purchase-bills-table tbody tr:hover{background:linear-gradient(90deg,#fbfef5,#eef6df)}.purchase-bills-table td{vertical-align:top}.purchase-actions-card .primary-button,.purchase-actions-card .filter-button,.purchase-row-actions .filter-button{min-width:148px}@media (max-width: 1200px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.product-table th,.product-table td{padding:12px 8px;font-size:.84rem}.flow-board,.journey-grid,.finance-strip,.dashboard-page-grid,.module-preview-grid,.dashboard-block-grid,.transfer-layout{grid-template-columns:1fr}.stats-grid,.support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-form-grid,.purchase-summary-layout{grid-template-columns:1fr}.purchase-order-grid{grid-template-columns:1fr 1fr}.activity-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid-compact,.notification-toggle-grid{grid-template-columns:1fr}.report-filter-grid,.report-summary-grid,.report-profit-filter-grid,.report-breakdown-layout,.profit-summary-grid,.balance-sheet-layout{grid-template-columns:1fr 1fr}}@media (max-width: 720px){.landing-shell{padding:16px}.landing-hero-card{padding:30px 20px 24px}.landing-title{font-size:1.9rem}.landing-copy{font-size:.94rem}.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.main-content,.sidebar{padding:16px}.hero,.focus-panel,.product-toolbar,.modal-footer,.modal-header{flex-direction:column;padding:22px}.hero-badges{justify-content:flex-start}.stats-grid,.support-grid,.mini-grid,.modal-grid,.stock-summary-grid{grid-template-columns:1fr}.search-field input,.field input,.field select{min-width:100%}.product-table th,.product-table td{padding:10px 6px;font-size:.78rem}.action-button,.filter-button,.primary-button{width:100%}.table-actions .action-button{width:auto}.table-actions{flex-wrap:nowrap}.product-toolbar-actions,.modal-actions{width:100%}.purchase-action-buttons{flex-direction:column}.purchase-order-grid,.activity-filter-grid{grid-template-columns:1fr}.activity-pagination{flex-direction:column;align-items:stretch}.report-filter-grid,.report-summary-grid,.report-profit-filter-grid,.report-breakdown-layout,.profit-summary-grid,.balance-sheet-layout{grid-template-columns:1fr}.warehouse-stock-total{align-items:flex-start}.product-toolbar>div:first-child{order:1;text-align:left}.product-toolbar-actions{order:2}.stock-toolbar>div:last-child{order:1;text-align:left}.stock-toolbar .product-toolbar-actions{order:2}}
