html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--app-bg: #f6f7fc;--app-ink: #1f2937;--app-muted: #6b7a90;--app-line: #ebeff7;--app-primary: #5b6cf6;--app-primary-hover: #4a5bea;--app-header-bg: #5b7bfa;--app-shadow: 0 1px 2px rgba(28, 39, 88, .04), 0 10px 28px rgba(28, 39, 88, .05)}html,body,#root{min-height:100%}body{margin:0;background:var(--app-bg);color:var(--app-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}*{box-sizing:border-box}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#ccd4e6;border:3px solid transparent;border-radius:999px;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#aab4cc;border:3px solid transparent;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}.app-content{padding:20px 24px 32px}.app-content-inner{max-width:1680px;margin:0 auto}.app-page{display:flex;flex-direction:column;gap:16px}.app-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--app-line)}.app-page-heading{min-width:0}.app-page-heading h4.ant-typography{margin:0;font-size:22px;font-weight:600;letter-spacing:.2px;color:#182135}.app-page-desc.ant-typography{margin:6px 0 0;max-width:900px;font-size:13px;line-height:1.75;color:var(--app-muted)}.app-page-tags{margin-top:8px}.app-page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ant-card{border:1px solid var(--app-line);box-shadow:var(--app-shadow)}.ant-card .ant-card-head{min-height:52px;padding-inline:20px;border-bottom:1px solid #f0f2f9}.ant-card .ant-card-head-title{font-size:15px;font-weight:600}.ant-card .ant-card-body{padding:20px}.ant-table-wrapper .ant-table{font-variant-numeric:tabular-nums}.ant-table-wrapper .ant-table-thead>tr>th{background:#f7f9fd!important;color:#5b6478;font-size:13px;font-weight:600;border-bottom:1px solid var(--app-line)!important;white-space:nowrap;vertical-align:middle}.ant-table-wrapper .ant-table-thead>tr>th:before{display:none}.ant-table-wrapper .ant-table-tbody>tr>td{border-bottom:1px solid #f0f2f9;vertical-align:middle}.ant-table-wrapper .ant-table-tbody>tr>td .ant-input,.ant-table-wrapper .ant-table-tbody>tr>td .ant-input-number,.ant-table-wrapper .ant-table-tbody>tr>td .ant-input-number-input{text-align:inherit}.ant-table-wrapper .ant-table-tbody>tr>td .ant-tag{margin-inline-end:0}.ant-table-wrapper .ant-table-tbody>tr.ant-table-row:hover>td{background:#f5f7ff!important}.ant-table-wrapper .ant-table-summary>tr>td{background:#fafbff;border-top:1px solid var(--app-line)!important;vertical-align:middle}.balance-block{padding:16px 16px 12px;border:1px solid var(--app-line);border-radius:12px;background:#fcfdff}.balance-block .ant-table-wrapper .ant-table{background:transparent}.balance-block .ant-table-wrapper .ant-table-thead>tr>th{background:#f4f7fd!important}.ant-space.balance-stats{width:100%;padding:12px 16px;border-radius:10px;background:#f7f9fd}.ant-table-wrapper .ant-table-tbody>tr.ant-table-row-selected>td{background:#eef1ff!important}.ant-table-wrapper .ant-pagination{margin-bottom:0}.ant-form-item-label>label{color:#475467;font-weight:500}.ant-input-number,.ant-input,.ant-select-selector{font-variant-numeric:tabular-nums}.ant-tag{border-radius:999px;padding-inline:10px;font-size:12px}.ant-btn{font-weight:500}.ant-btn-primary{box-shadow:0 6px 16px #5b6cf63d}.app-sider{position:sticky!important;top:0;height:100vh;overflow:auto;background:#fff!important;border-right:1px solid var(--app-line)}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column}.app-brand{display:flex;align-items:center;gap:10px;padding:18px 18px 16px}.app-brand-mark{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:10px;color:#fff;font-size:16px;font-weight:700;background:linear-gradient(135deg,#5b6cf6,#8b5cf6);box-shadow:0 6px 16px #5b6cf64d}.app-brand-logo{display:block;width:21px;height:21px}.app-brand-text{display:flex;flex-direction:column;line-height:1.25}.app-brand-title{color:#1e2a4a;font-size:14px;font-weight:600;white-space:nowrap}.app-brand-sub{color:#9aa4ba;font-size:10px;letter-spacing:.8px}.app-menu{padding:4px 0 24px;background:transparent!important;border-inline-end:none!important}.app-menu .ant-menu-item,.app-menu .ant-menu-submenu-title{width:calc(100% - 20px);font-size:14px}.app-menu .ant-menu-item-selected{background:linear-gradient(90deg,#5a6bf6,#7b87f8)!important;color:#fff!important;box-shadow:0 8px 18px #5b6cf647;font-weight:600}.app-menu .ant-menu-item-selected .anticon{color:#fff!important}.app-menu .ant-menu-item-selected:after{display:none}.app-menu .ant-menu-item .anticon,.app-menu .ant-menu-submenu-title .anticon{font-size:16px}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px!important;background:var(--app-header-bg)!important;border-bottom:none}.app-header-left{display:flex;align-items:center;gap:14px;min-width:0}.app-header-right{display:flex;align-items:center;gap:14px}.app-header .ant-breadcrumb,.app-header .ant-breadcrumb a,.app-header .ant-breadcrumb li,.app-header .ant-breadcrumb-separator{color:#ffffffd1;font-size:13px}.app-header .ant-breadcrumb li:last-child{color:#fff;font-weight:600}.app-header-divider{width:1px;height:20px;background:#ffffff4d}.app-project-label{color:#fffc;font-size:12px;font-weight:700;white-space:nowrap}.app-project-select{width:340px}.app-header .app-project-select .ant-select-selector{background:#ffffff2e!important;border-radius:8px!important}.app-header .app-project-select .ant-select-selection-item{color:#fff;font-weight:700}.app-header .app-project-select .ant-select-selection-placeholder{color:#ffffffc7}.app-header .app-project-select .ant-select-arrow,.app-header .app-project-select .ant-select-clear{color:#ffffffd9}.app-user{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:999px;cursor:pointer;transition:background .2s ease}.app-user:hover{background:#ffffff24}.app-user-avatar{background:#ffffff42!important;border:1px solid rgba(255,255,255,.5);font-size:13px}.app-user-name{font-size:13px;font-weight:700;color:#fff}.login-shell{min-height:100vh;display:flex;background:var(--app-bg)}.login-brand{position:relative;flex:1 1 58%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:56px 64px;color:#fff;background-color:#2b3663;background-image:linear-gradient(150deg,#1c2452db,#2c3a849e 45%,#4254a86b),url(/refinery-login.jpg);background-size:cover;background-position:center;background-repeat:no-repeat}.login-brand:before{content:"";position:absolute;inset:-20% -10% auto auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.28),transparent 62%);filter:blur(10px)}.login-brand:after{content:"";position:absolute;inset:auto auto -30% -10%;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(167,139,250,.42),transparent 65%)}.login-brand-inner{position:relative;z-index:1;max-width:520px}.login-kicker{font-size:11px;letter-spacing:4px;color:#f5f7ffcc}.login-title{margin:18px 0 14px;font-size:34px;line-height:1.35;font-weight:600;color:#fff}.login-subtitle{max-width:440px;font-size:14px;line-height:1.9;color:#f4f6ffd1}.login-panel{flex:1 1 42%;display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:400px}.login-card .ant-card{border:none;border-radius:18px;box-shadow:0 18px 48px #0f172a14}.login-card-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.login-card-title{margin:0;font-size:20px;font-weight:700;color:#182135}.home-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:28px 30px;border-radius:16px;color:#fff;background:linear-gradient(120deg,#5468f5,#7386f8 55%,#93a6fb);box-shadow:0 16px 36px #5468f542}.home-hero:before{content:"";position:absolute;inset:-40% -6% auto auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.22),transparent 65%)}.home-hero-main{position:relative;z-index:1;min-width:0}.home-hero-kicker{font-size:11px;letter-spacing:3px;color:#f0f3ffb8}.home-hero-title{margin:10px 0 14px;font-size:26px;font-weight:600;letter-spacing:.3px}.home-hero-project{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#f2f5ffe0}.home-hero-project-label{padding:2px 9px;border-radius:999px;background:#fff3;font-size:11px;color:#fff}.home-hero-project-name{font-size:15px;font-weight:600;color:#fff}.home-hero-project-meta{color:#f0f3ffcc}.home-hero-actions{display:flex;gap:10px;margin-top:20px}.home-hero .ant-btn-background-ghost{color:#f2f5ff;border-color:#ffffff6b}.home-hero .ant-btn-background-ghost:hover{color:#fff!important;border-color:#fff!important;background:#ffffff1a!important}.home-hero-side{position:relative;z-index:1;display:flex;align-items:center;gap:24px}.home-hero-stat{display:flex;flex-direction:column;align-items:center;gap:2px}.home-hero-stat-value{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums}.home-hero-stat-label{font-size:12px;color:#f0f3ffbf}.home-hero-stat-divider{width:1px;height:38px;background:#ffffff42}.home-kpi .ant-card-body{display:flex;flex-direction:column;gap:6px;padding:18px 20px}.home-kpi-head{display:flex;align-items:center;gap:10px}.home-kpi-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#5b6cf6,#818cf8);color:#fff;font-size:17px}.accent-blue{background:linear-gradient(135deg,#3b82f6,#60a5fa)!important;color:#fff!important}.accent-violet{background:linear-gradient(135deg,#8b5cf6,#a78bfa)!important;color:#fff!important}.accent-pink{background:linear-gradient(135deg,#ec4899,#f472b6)!important;color:#fff!important}.accent-orange{background:linear-gradient(135deg,#f97316,#fb923c)!important;color:#fff!important}.accent-amber{background:linear-gradient(135deg,#f59e0b,#fbbf24)!important;color:#fff!important}.accent-green{background:linear-gradient(135deg,#10b981,#34d399)!important;color:#fff!important}.accent-indigo{background:linear-gradient(135deg,#5b6cf6,#818cf8)!important;color:#fff!important}.home-kpi-label{font-size:12.5px;color:var(--app-muted)}.home-kpi-value{font-size:24px;font-weight:600;line-height:1.25;letter-spacing:.2px;color:#0f172a;font-variant-numeric:tabular-nums}.home-kpi-unit{font-size:11.5px;color:#94a3b8}.home-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-flow-step{display:flex;align-items:flex-start;gap:10px;padding:14px 14px 14px 12px;border:1px solid var(--app-line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.home-flow-step:hover{border-color:#c7d2fe;box-shadow:0 8px 20px #5b6cf61f;transform:translateY(-1px)}.home-flow-index{display:flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin-top:3px;border-radius:7px;background:#eef1ff;color:#5b6cf6;font-size:11px;font-weight:600}.home-flow-icon{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f3f5ff;color:#5b6cf6;font-size:15px}.home-flow-text{min-width:0}.home-flow-title{margin-bottom:2px;font-size:14px;font-weight:600;color:#0f172a}.home-flow-desc{font-size:12px;line-height:1.6;color:var(--app-muted)}.home-recent-name-wrap{display:flex;flex-direction:column;gap:2px;min-width:0}.home-recent-name{display:flex;align-items:center;gap:6px;font-weight:500;color:#0f172a}.home-recent-code{font-size:11.5px;color:#94a3b8}.home-recent-current{margin-inline:0;font-size:11px;line-height:18px}.home-master{display:flex;flex-direction:column}.home-master-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px dashed var(--app-line);cursor:pointer}.home-master-row:last-child{border-bottom:none}.home-master-row:hover .home-master-label{color:var(--app-primary)}.home-master-label{font-size:13px;color:#334155;transition:color .18s ease}.home-master-value{display:flex;align-items:center;gap:6px;font-size:13px;color:#0f172a;font-variant-numeric:tabular-nums}.home-master-arrow{font-size:11px;color:#cbd5e1}@media (max-width: 1100px){.home-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.home-hero{padding:22px}.home-hero-side{display:none}.home-hero-title{font-size:22px}.home-flow{grid-template-columns:1fr}}@media (max-width: 1200px){.app-project-select{width:240px}}@media (max-width: 960px){.login-brand{display:none}.login-panel{flex:1 1 100%;padding:24px;background:linear-gradient(160deg,#4a56d8,#8b9df9)}.login-card .ant-card{box-shadow:0 24px 60px #02061759}}@media (max-width: 900px){.app-content{padding:16px}.app-header{padding:0 16px!important}.app-project-select{width:180px}}.unit-cost-table .ant-input-number .ant-input-number-input{text-align:center}.unit-cost-table .ant-select-single .ant-select-selector .ant-select-selection-item,.unit-cost-table .ant-select-single .ant-select-selector .ant-select-selection-placeholder{text-align:center;padding-inline:18px!important}.unit-cost-table .ant-input-number-affix-wrapper .ant-input-number-suffix{width:56px;margin-inline:0 11px;text-align:left;overflow:hidden;white-space:nowrap}.report-tabs.ant-tabs-left>.ant-tabs-nav{position:sticky;top:16px;align-self:flex-start;min-width:200px;max-width:240px;max-height:calc(100vh - 32px);overflow-y:auto;margin-right:16px}.report-tabs.ant-tabs-left>.ant-tabs-nav:before{display:none}.report-tabs.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab{justify-content:flex-start;margin:0 0 4px!important;padding:8px 12px!important;border-radius:8px;white-space:normal;line-height:1.5;font-size:13px;text-align:left}.report-tabs.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active{background:#eef2ff}.report-tabs.ant-tabs-left>.ant-tabs-content-holder{min-width:0;padding-left:16px;border-left:1px solid var(--app-line)}.report-tabs .ant-tabs-tabpane{min-width:0}
