:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #1d2939;
  background: #f4f7fb;
  font-synthesis: none;
  --navy: #172b4d;
  --ink: #1d2939;
  --muted: #758197;
  --line: #e7ebf1;
  --green: #07845f;
  --green-dark: #066b4f;
  --green-pale: #e7f6ef;
  --blue: #2865d7;
  --blue-pale: #eaf1ff;
  --orange: #c06a12;
  --orange-pale: #fff2df;
  --red: #c84040;
  --red-pale: #ffeded;
}

.recipe-ingredient-list { display: grid; gap: 10px; margin: 12px 0; }
.recipe-ingredient-row { grid-template-columns: minmax(160px, 2fr) minmax(90px, .8fr) minmax(85px, .7fr) minmax(130px, 1.1fr) minmax(90px, .7fr) auto; align-items: end; padding: 12px; border: 1px solid #e8edf3; border-radius: 9px; background: #fbfcfe; }
.recipe-ingredient-row .form-field { min-width: 0; }
.recipe-ingredient-row .form-help { font-size: 9px; }
@media (max-width: 900px) { .recipe-ingredient-row { grid-template-columns: 1fr 1fr; } .recipe-ingredient-row .form-field:first-child { grid-column: 1 / -1; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.login-screen { display: grid; place-items: center; min-height: 100vh; padding: 28px 18px 50px; background: radial-gradient(ellipse at 50% 0%, #e2f2ec 0, #f4f7fb 54%); }
.login-card { width: min(430px, 100%); padding: 34px 36px 27px; border: 1px solid #e3e9ef; border-radius: 14px; background: #fff; box-shadow: 0 18px 55px #172b4d12; }
.login-brand { margin: 0 0 33px; }
.login-kicker { color: #087858; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.login-card h1 { margin: 9px 0 6px; color: #1b2d47; font-family: Manrope, sans-serif; font-size: 26px; letter-spacing: -.7px; }
.login-intro { margin: 0 0 23px; color: #778397; font-size: 12px; line-height: 1.6; }
.login-field { display: grid; gap: 7px; margin: 13px 0; }
.login-field > span { color: #445168; font-size: 10px; font-weight: 700; }
.login-field input, .login-field select { width: 100%; height: 41px; padding: 0 11px; border: 1px solid #dce3ec; border-radius: 6px; outline-color: #32997b; color: #354258; background: #fff; font-size: 11px; }
.login-field input::placeholder { color: #a0a9b6; }
.login-submit { width: 100%; min-height: 42px; margin-top: 9px; font-size: 12px; }
.login-submit span { margin-left: auto; font-size: 16px; }
.login-demo-note { display: grid; gap: 4px; margin-top: 20px; padding: 11px 12px; border: 1px solid #f0d9b8; border-radius: 6px; color: #8c5718; background: #fff8ed; font-size: 9px; line-height: 1.5; }
.login-demo-note strong { font-size: 10px; }
.login-footer { position: absolute; bottom: 19px; color: #939eae; font-size: 9px; }
.app-shell { min-height: 100vh; }
.sidebar { width: 250px; position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; padding: 25px 16px 14px; background: #fff; border-right: 1px solid #e8edf3; }
.brand { display: flex; align-items: center; gap: 11px; margin: 1px 10px 22px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #fff; background: #087858; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 800; box-shadow: 0 5px 12px #08785830; }
.brand-mark span { color: #95e8c5; }
.brand-name { font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.8px; }
.brand-name small { display: block; margin-top: 1px; color: #8d98a9; font-family: "DM Sans", sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 1.35px; }
.nav-caption, .eyebrow { color: #929bad; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.profile-copy { display: grid; gap: 3px; flex: 1; }
.profile-copy strong { font-size: 12px; }
.profile-copy small { color: var(--muted); font-size: 10px; }
.primary-nav { flex: 1 1 auto; min-height: 0; margin-top: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #cbd5e1 transparent; scrollbar-width: thin; }
.nav-caption { margin: 0 10px 10px; }
.nav-caption, .nav-link { flex-shrink: 0; }
.nav-caption-spaced { margin-top: 28px; }
.nav-link { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; margin: 3px 0; padding: 0 11px; border: 0; border-radius: 7px; color: #59667a; background: transparent; text-align: left; font-size: 12px; font-weight: 600; }
.nav-link:hover { background: #f4f7fa; color: var(--ink); }
.nav-link.active { color: #087858; background: #e7f5ef; font-weight: 700; }
.nav-icon { width: 17px; text-align: center; font-size: 16px; }
.nav-count { display: grid; place-items: center; min-width: 19px; height: 19px; margin-left: auto; padding: 0 5px; border-radius: 10px; color: #a95d10; background: #ffefd8; font-size: 10px; font-weight: 700; }
.sidebar-bottom { flex: 0 0 auto; margin-top: auto; }
.profile { display: flex; align-items: center; gap: 9px; width: 100%; margin-top: 13px; padding: 12px 4px 3px; border: 0; border-top: 1px solid var(--line); background: #fff; text-align: left; }
.avatar, .top-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 33px; height: 33px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #c87a4b; font-size: 10px; font-weight: 700; }
.main-area { min-height: 100vh; margin-left: 250px; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 37px; border-bottom: 1px solid #e8edf3; background: #fff; }
.breadcrumbs { display: flex; gap: 11px; align-items: center; color: #8b96a8; font-size: 11px; }
.breadcrumbs b { color: #c4cbd5; font-weight: 400; }
.breadcrumbs strong { color: #354154; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.logout-topbar { min-height: 31px; padding: 0 10px; border-color: #edcaca; color: #a93737; background: #fff; font-size: 10px; }
.logout-topbar:hover { border-color: #c84040; color: #fff; background: #c84040; }
.date-chip { display: flex; align-items: center; gap: 7px; color: #667388; font-size: 11px; }
.icon-button { position: relative; width: 31px; height: 31px; border: 1px solid #e8edf3; border-radius: 8px; color: #59667a; background: #fff; font-size: 17px; }
.notification-button i { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: #e55454; }
.top-avatar { width: 30px; height: 30px; background: #dda249; }
.page-content { max-width: 1440px; min-height: calc(100vh - 101px); margin: 0 auto; padding: 27px 37px 24px; }
.employee-welcome { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #cfe9dc; border-radius: 8px; background: #f0faf5; }
.employee-welcome-icon { display: grid; flex: 0 0 auto; place-items: center; width: 33px; height: 33px; border-radius: 8px; color: #087858; background: #d9f0e4; font-size: 17px; }
.employee-welcome > div:nth-child(2) { flex: 1; }
.employee-welcome strong { color: #1d6045; font-size: 11px; }
.employee-welcome p { margin: 3px 0 0; color: #537968; font-size: 10px; line-height: 1.5; }
.role-pill { padding: 5px 8px; border: 1px solid #a8d9c2; border-radius: 12px; color: #087858; background: #fff; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.employee-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.employee-feature-card { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid #e4eaf1; border-radius: 10px; background: #fff; box-shadow: 0 3px 9px #1d293908; }
.employee-feature-icon { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 17px; border-radius: 10px; color: #087858; background: #e5f5ed; font-size: 19px; }
.opname-feature .employee-feature-icon { color: #2865d7; background: #eaf1ff; }
.employee-feature-tag { color: #8290a3; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.employee-feature-card h2 { margin: 6px 0 0; color: #22334e; font-family: Manrope, sans-serif; font-size: 19px; }
.employee-feature-card > p { min-height: 38px; margin: 8px 0 17px; color: #778397; font-size: 10px; line-height: 1.6; }
.employee-feature-meta { display: flex; gap: 19px; width: 100%; margin-bottom: 16px; padding: 12px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; color: #7b8798; font-size: 9px; }
.employee-feature-meta strong { color: #31415a; font-size: 11px; }
.monthly-status { display: grid; gap: 8px; width: 100%; margin: 0 0 14px; padding: 10px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.monthly-status > div { display: flex; align-items: center; justify-content: space-between; color: #657187; font-size: 9px; }
.employee-feature-card > .button { width: 100%; margin-top: auto; }
.employee-footer-note { margin-top: 16px; padding: 11px 13px; border: 1px solid #e5eaf1; border-radius: 7px; color: #778397; background: #fff; font-size: 9px; }
.employee-footer-note strong { color: #45536a; }
.monthly-blocked { display: block; margin-top: 5px; padding: 7px 8px; border: 1px solid #f0cccc; border-radius: 5px; color: #a53636; background: #fff1f1; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.page-heading h1 { margin: 0; color: #1a2b45; font-family: Manrope, sans-serif; font-size: 24px; letter-spacing: -.7px; }
.page-heading p { margin: 6px 0 0; color: #7d899b; font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 700; transition: .15s ease; }
.button:hover { filter: brightness(.94); transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; filter: grayscale(.25); opacity: .58; transform: none; box-shadow: none; }
.button-primary { color: #fff; background: #087858; box-shadow: 0 2px 4px #08785825; }
.button-blue { color: #fff; background: #2865d7; }
.button-orange { color: #fff; background: #bd6812; }
.button-danger { color: #fff; background: #c53f3f; }
.button-outline { border-color: #dbe2eb; color: #465469; background: #fff; }
.button-soft { border-color: #f3d9b3; color: #a45b11; background: #fff5e8; }
.button-small { min-height: 29px; padding: 0 9px; font-size: 10px; }
.select-control, .search-control { height: 35px; padding: 0 10px; border: 1px solid #dfe5ed; border-radius: 6px; outline-color: #32997b; color: #425067; background: #fff; font-size: 11px; }
.search-control { width: 190px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.stat-card, .panel, .table-card { border: 1px solid #e6ebf2; border-radius: 9px; background: #fff; box-shadow: 0 2px 5px #1d293908; }
.stat-card { position: relative; min-height: 117px; padding: 16px 16px 13px; overflow: hidden; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #758197; font-size: 10px; font-weight: 600; }
.stat-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; font-size: 16px; }
.stat-icon.green { color: #087858; background: #e5f5ed; }
.stat-icon.blue { color: #2865d7; background: #eaf1ff; }
.stat-icon.orange { color: #af6717; background: #fff1dd; }
.stat-icon.purple { color: #7751bb; background: #f0eaff; }
.stat-value { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; color: #22334e; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.stat-value small { color: #8490a2; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.stat-foot { margin-top: 3px; color: #8994a4; font-size: 10px; }
.stat-foot .positive { color: #07845f; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); gap: 15px; margin-top: 17px; }
.panel { padding: 17px 18px; }
.panel-heading, .table-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-heading h2, .table-heading h2 { margin: 0; color: #25354e; font-size: 13px; font-weight: 700; }
.panel-heading p, .table-heading p { margin: 4px 0 0; color: #8994a4; font-size: 10px; }
.text-link { padding: 0; border: 0; color: #2265d1; background: none; font-size: 10px; font-weight: 700; white-space: nowrap; }
.chart-legend { display: flex; align-items: center; gap: 13px; color: #748096; font-size: 9px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #07845f; }
.legend-dot.blue-dot { background: #84a8ec; }
.chart-wrap { height: 183px; margin-top: 7px; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-gridline { stroke: #edf0f5; stroke-dasharray: 3 4; }
.chart-label { fill: #98a2b1; font-family: "DM Sans", sans-serif; font-size: 9px; }
.chart-fill { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #07845f; stroke-width: 2.5; }
.chart-line-blue { fill: none; stroke: #83a5e8; stroke-width: 2; }
.alert-list { display: grid; gap: 0; margin-top: 8px; }
.alert-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.alert-row:last-child { border-bottom: 0; }
.alert-symbol { display: grid; flex: 0 0 auto; place-items: center; width: 29px; height: 29px; border-radius: 7px; font-weight: 700; }
.alert-symbol.red { color: #c23c3c; background: #ffeded; }
.alert-symbol.amber { color: #ad650f; background: #fff2df; }
.alert-symbol.blue { color: #2865d7; background: #eaf1ff; }
.alert-copy { flex: 1; min-width: 0; }
.alert-copy strong { display: block; color: #354154; font-size: 10px; }
.alert-copy p { margin: 3px 0 0; color: #8994a4; font-size: 9px; line-height: 1.5; }
.alert-time { color: #a1aab7; font-size: 9px; white-space: nowrap; }
.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .9fr); gap: 15px; margin-top: 15px; }
.workflow-panel { display: flex; align-items: center; gap: 14px; padding: 15px 17px; }
.workflow-illustration { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #087858; background: #e7f5ef; font-size: 21px; }
.workflow-copy { flex: 1; }
.workflow-copy strong { color: #2b3a51; font-size: 11px; }
.workflow-copy p { margin: 4px 0 0; color: #7f8a9b; font-size: 10px; line-height: 1.5; }
.warehouse-panel { padding: 14px 16px; }
.warehouse-heading { display: flex; justify-content: space-between; align-items: center; color: #334158; font-size: 11px; font-weight: 700; }
.warehouse-bars { display: grid; gap: 10px; margin-top: 13px; }
.warehouse-line { display: grid; grid-template-columns: 82px 1fr 38px; align-items: center; gap: 8px; color: #778397; font-size: 9px; }
.bar-track { height: 6px; border-radius: 6px; background: #edf1f5; }
.bar-fill { height: 100%; border-radius: 6px; background: #07845f; }
.bar-fill.blue-fill { background: #5b87df; }
.warehouse-line strong { color: #425067; text-align: right; font-size: 9px; }
.table-card { margin-top: 17px; overflow: hidden; }
.table-heading { align-items: center; padding: 16px 17px; border-bottom: 1px solid #edf0f4; }
.table-heading > div:first-child { min-width: 0; }
.table-tools { display: flex; align-items: center; gap: 8px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 37px; padding: 0 16px; color: #8490a2; background: #fafbfd; text-align: left; font-size: 9px; font-weight: 700; }
td { height: 51px; padding: 0 16px; border-top: 1px solid #eff2f6; color: #536075; font-size: 10px; }
td strong { color: #2d3c54; font-size: 10px; }
.muted-cell { margin-top: 3px; color: #939dac; font-size: 9px; }
.doc-id { color: #2763c3; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 5px; min-height: 21px; padding: 0 8px; border-radius: 12px; font-size: 9px; font-weight: 700; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-green { color: #087858; background: #e7f6ef; }
.status-amber { color: #a45b11; background: #fff2df; }
.status-blue { color: #2865d7; background: #eaf1ff; }
.status-red { color: #c13d3d; background: #ffeded; }
.status-gray { color: #687488; background: #edf0f4; }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.empty-state { padding: 42px 20px; color: #8591a2; text-align: center; font-size: 11px; }
.empty-state strong { display: block; margin-bottom: 5px; color: #344258; font-size: 13px; }
.summary-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 15px; border: 1px solid #cfe9dc; border-radius: 8px; background: #f0faf5; color: #24704f; font-size: 10px; }
.summary-strip strong { color: #15593d; }
.progress-track { width: 85px; height: 5px; border-radius: 5px; background: #e4eaf1; }
.progress-fill { height: 100%; border-radius: 5px; background: #07845f; }
.tab-row { display: flex; gap: 4px; padding: 0 17px; border-bottom: 1px solid #edf0f4; }
.tab-button { position: relative; padding: 11px 10px; border: 0; color: #778397; background: transparent; font-size: 10px; font-weight: 600; }
.tab-button.active { color: #087858; }
.tab-button.active::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; background: #07845f; content: ""; }
.division-chip { display: inline-flex; padding: 4px 7px; border-radius: 4px; color: #2763c3; background: #edf3ff; font-size: 9px; font-weight: 700; }
.discrepancy-note { display: flex; align-items: flex-start; gap: 10px; margin: 15px 17px 0; padding: 11px 12px; border: 1px solid #f0d6b5; border-radius: 7px; color: #9e5712; background: #fff8ef; font-size: 10px; line-height: 1.55; }
.discrepancy-note strong { display: block; margin-bottom: 2px; }
.footer-note { padding: 11px 16px; color: #818c9e; font-size: 9px; line-height: 1.6; }
.app-footer { display: flex; justify-content: space-between; padding: 0 37px 17px; color: #99a2b0; font-size: 9px; }
.app-footer b { margin-left: 4px; color: #28a477; font-size: 8px; }
.mobile-menu { display: none; }
.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; gap: 8px; }
.toast { max-width: 360px; padding: 12px 16px; border: 1px solid #cde6d9; border-left: 4px solid #07845f; border-radius: 7px; color: #15593d; background: #fff; box-shadow: 0 8px 30px #25334d20; font-size: 11px; animation: toast-in .2s ease; }
.toast.error { border-color: #f0cccc; border-left-color: #c84040; color: #913232; }
.role-notice { position: fixed; right: 18px; bottom: 18px; z-index: 8; max-width: 330px; padding: 10px 13px; border: 1px solid #f0d6b5; border-radius: 7px; color: #89500f; background: #fff6e8; box-shadow: 0 4px 15px #172b4d12; font-size: 9px; line-height: 1.5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 18px; background: #16243a88; }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(500px, 100%); max-height: 90vh; overflow: auto; border-radius: 11px; background: #fff; box-shadow: 0 20px 60px #10233a40; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 19px 21px 15px; border-bottom: 1px solid #edf0f4; }
.modal-header h2 { margin: 5px 0 0; color: #22334e; font-family: Manrope, sans-serif; font-size: 18px; }
.modal-close { width: 30px; height: 30px; border: 1px solid #e1e6ed; border-radius: 6px; color: #606d7f; background: #fff; font-size: 19px; }
.modal-body { padding: 18px 21px 21px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pr-item-list { display: grid; gap: 10px; }
.pr-item-row { grid-template-columns: minmax(0, 2fr) minmax(100px, 1fr) auto; align-items: end; margin-top: 10px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #4d5a70; font-size: 10px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 37px; padding: 8px 10px; border: 1px solid #dce3ec; border-radius: 6px; outline-color: #32997b; color: #354258; background: #fff; font-size: 11px; }
.form-field textarea { min-height: 76px; resize: vertical; }
.form-help { color: #8a95a6; font-size: 9px; line-height: 1.5; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #edf0f4; }
.blind-info { padding: 10px 11px; border: 1px solid #d9e5fa; border-radius: 6px; color: #385e9e; background: #f3f7ff; font-size: 10px; line-height: 1.5; }
.check-row { display: flex; align-items: flex-start; gap: 8px; color: #69768b; font-size: 10px; line-height: 1.5; }
.check-row input { margin-top: 1px; accent-color: #087858; }
.count-list { display: grid; gap: 10px; max-height: 51vh; overflow: auto; margin-top: 13px; padding-right: 3px; }
.count-item { display: grid; grid-template-columns: minmax(125px, 1fr) minmax(180px, 1.2fr); gap: 10px 14px; padding: 12px; border: 1px solid #e8edf3; border-radius: 7px; background: #fff; }
.count-product { display: grid; align-content: center; gap: 4px; }
.count-product strong { color: #304057; font-size: 11px; }
.count-product span { color: #8490a2; font-size: 9px; line-height: 1.45; }
.count-input { display: grid; gap: 5px; }
.count-input > span, .photo-input > span:first-child { color: #637086; font-size: 9px; font-weight: 600; }
.count-input input { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid #dce3ec; border-radius: 5px; outline-color: #32997b; font-size: 11px; }
.count-units { display: flex; flex-wrap: wrap; gap: 7px; }
.unit-count { display: grid; flex: 1 1 72px; gap: 4px; color: #7c8798; font-size: 9px; }
.unit-count input { min-width: 0; width: 100%; min-height: 31px; padding: 5px 7px; border: 1px solid #dce3ec; border-radius: 5px; outline-color: #32997b; font-size: 11px; }
.count-total { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid #edf0f4; color: #68768b; font-size: 9px; }
.count-total strong { color: #087858; font-size: 11px; }
.photo-input { display: grid; grid-column: 1 / -1; gap: 6px; color: #637086; font-size: 9px; }
.photo-input input { width: 100%; padding: 6px; border: 1px dashed #b7c4d4; border-radius: 5px; color: #607087; background: #fafbfd; font-size: 10px; }
.photo-preview { width: 100%; max-width: 190px; max-height: 120px; object-fit: cover; border: 1px solid #e1e7ef; border-radius: 6px; }
.review-summary { margin: 0 0 14px; }
.review-table { max-height: 280px; margin: 0 -2px; border: 1px solid #edf0f4; border-radius: 6px; }
.review-reason { margin-top: 14px; }
.evidence-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.evidence-item { display: grid; gap: 4px; width: 102px; color: #6e7b8f; font-size: 8px; }
.evidence-item img { width: 100px; height: 67px; object-fit: cover; border: 1px solid #e2e8ef; border-radius: 5px; }
.loss-cell { color: #bf3f3f; font-weight: 700; }
.positive-cell { color: #087858; font-weight: 700; }

@media (max-width: 1100px) {
  .sidebar { width: 220px; }
  .main-area { margin-left: 220px; }
  .topbar { padding: 0 25px; }
  .page-content { padding: 24px 25px; }
  .app-footer { padding-right: 25px; padding-left: 25px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .login-card { padding: 28px 24px 23px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 25px #172b4d16; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .mobile-menu { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border: 1px solid #e5eaf1; border-radius: 6px; color: #47556a; background: white; }
  .topbar { justify-content: flex-start; height: 56px; padding: 0 15px; }
  .topbar-actions { gap: 9px; margin-left: auto; }
  .date-chip { display: none; }
  .page-content { padding: 20px 15px; }
  .app-footer { padding: 0 15px 14px; }
  .dashboard-grid, .bottom-grid { grid-template-columns: 1fr; }
  .page-heading { margin-bottom: 17px; }
  .page-heading h1 { font-size: 21px; }
  .page-heading p { max-width: 380px; line-height: 1.5; }
  .heading-actions { flex-wrap: wrap; }
  .page-heading:has(.heading-actions) { align-items: center; }
  .search-control { width: 145px; }
  .employee-feature-grid { grid-template-columns: 1fr; }
  .employee-feature-card { min-height: 260px; }
  .employee-welcome { align-items: flex-start; }
}
@media (max-width: 520px) {
  .login-screen { padding-right: 14px; padding-left: 14px; }
  .login-card { padding: 24px 19px 20px; }
  .breadcrumbs { gap: 6px; font-size: 10px; }
  .top-avatar { width: 27px; height: 27px; }
  .logout-topbar { min-height: 29px; padding: 0 7px; }
  .topbar-actions { gap: 7px; }
  .stat-grid { gap: 9px; }
  .stat-card { min-height: 108px; padding: 12px; }
  .stat-value { font-size: 22px; }
  .stat-top { font-size: 9px; }
  .page-heading { display: block; }
  .page-heading .heading-actions { margin-top: 14px; }
  .heading-actions .button { flex: 1; }
  .chart-legend { gap: 7px; font-size: 8px; }
  .panel { padding: 14px; }
  .table-heading { align-items: flex-start; flex-direction: column; }
  .table-tools { width: 100%; }
  .table-tools .search-control { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .count-item { grid-template-columns: 1fr; }
  .count-total, .photo-input { grid-column: auto; }
  .summary-strip { align-items: flex-start; flex-direction: column; }
  .employee-welcome { flex-wrap: wrap; }
  .employee-welcome .role-pill { margin-left: 45px; }
  .employee-feature-meta { flex-direction: column; gap: 8px; }
}
