/* A compact, consistent visual system for the existing management screens. */
.ui-icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.professional-ui body .shell { --ink: #233a37; --muted: #60716f; --green: #285c50; --line: #dfe6e5; --light: #eaf2ef; background: #f2f5f5; }
.professional-ui body .shell .sidebar { width: 232px; padding: 20px 14px 0; background: #fff; border-right-color: #dce4e1; }
.professional-ui body .shell .main { margin-left: 232px; width: calc(100% - 232px); }
.professional-ui body .shell .brand-logo { width: 186px; }
.professional-ui body .shell .nav-search { margin: 18px 0 12px; border-radius: 7px; background: #f4f7f6; }
.professional-ui body .shell .nav-search input { background: transparent; min-height: 38px; font-size: 13px; }
.professional-ui body .shell .nav-caption { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; margin: 18px 12px 6px; color: #7c8c86; }
.professional-ui body .shell .sidebar nav a { font-size: 13px; min-height: 37px; padding: 8px 11px; gap: 11px; border-radius: 7px; color: #53655e; }
.professional-ui body .shell .sidebar nav a.active { color: #fff; background: #285c50; box-shadow: 0 3px 8px #174e3920; }
.professional-ui body .shell .sidebar nav a:hover:not(.active) { color: #285c50; background: #edf3ef; }
.professional-ui body .shell .nav-icon { width: 18px; height: 18px; }
.professional-ui body .shell .user { margin-left: -14px; margin-right: -14px; padding: 12px 14px; font-size: 13px; }
.professional-ui body .shell .topbar { height: 60px; padding: 0 28px; background: #fff; box-shadow: 0 1px 0 #233a3703; }
.professional-ui body .shell .top-context { gap: 12px; }
.professional-ui body .shell .top-context > .ui-icon { color: #638679; width: 17px; height: 17px; }
.professional-ui body .shell .top-context b { font-size: 14px; padding-left: 12px; }
.professional-ui body .shell .role-chip { border-radius: 6px; background: #f0f5f2; font-size: 12px; }
.professional-ui body .shell .content { --module-accent: #285c50; --module-tint: #e8f1eb; padding: 24px 28px 20px; font-size: 14px; }
.professional-ui body .content[data-ui-icon="people"] { --module-accent: #346d8a; --module-tint: #eaf2f8; }
.professional-ui body .content[data-ui-icon="calendar"] { --module-accent: #287b78; --module-tint: #e7f3f1; }
.professional-ui body .content[data-ui-icon="wallet"] { --module-accent: #526486; --module-tint: #edf0f7; }
.professional-ui body .content[data-ui-icon="box"] { --module-accent: #916c35; --module-tint: #f8f1e5; }
.professional-ui body .content[data-ui-icon="chart"] { --module-accent: #65568a; --module-tint: #f1edf7; }
.professional-ui body .content[data-ui-icon="settings"] { --module-accent: #536a79; --module-tint: #ebf0f4; }
.professional-ui body .shell .page-heading { margin-bottom: 18px; gap: 12px 20px; align-items: center; }
.professional-ui body .shell .page-heading h1 { font-size: 24px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 4px; }
.professional-ui body .shell .page-heading p { font-size: 13px; line-height: 1.65; max-width: 820px; }
.professional-ui body .shell .page-heading .eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .8px; color: var(--module-accent); margin-bottom: 4px; }
.visual-heading-copy { position: relative; padding-left: 54px; }
.page-symbol { position: absolute; top: 2px; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--module-accent); background: var(--module-tint); border: 1px solid color-mix(in srgb, var(--module-accent) 12%, transparent); }
.page-symbol .ui-icon { width: 23px; height: 23px; }
.professional-ui body .shell .card { border-radius: 10px; border-color: #dfe6e5; box-shadow: 0 2px 5px #213d3203; }
.professional-ui body .shell .card-title { padding-bottom: 10px; border-bottom: 1px solid #edf1ef; margin-bottom: 12px; }
.professional-ui body .shell .card h2 { font-size: 16px; font-weight: 650; }
.visual-section-heading { display: flex; align-items: center; gap: 8px; }
.section-symbol { color: var(--module-accent); width: 17px; height: 17px; }
.professional-ui body .shell .button { gap: 6px; border-radius: 7px; font-size: 13px; padding: 7px 12px; min-height: 36px; }
.professional-ui body .shell .button .ui-icon { width: 15px; height: 15px; }
.professional-ui body .shell .button.primary { background: #285c50; border-color: #285c50; box-shadow: 0 2px 4px #285c5010; }
.professional-ui body .shell .button.primary:hover { background: #1c4c40; border-color: #1c4c40; }
.professional-ui body .shell .module-tabs { margin-bottom: 20px; gap: 4px; padding-bottom: 7px; }
.professional-ui body .shell .module-tabs a { font-size: 13px; min-height: 36px; padding: 7px 12px; border-radius: 6px; }
.professional-ui body .shell .module-tabs a.active { color: var(--module-accent); background: var(--module-tint); box-shadow: inset 0 -2px var(--module-accent); }
.professional-ui body .shell .filter-bar { background: #f6f8f8; border-color: #e2e9e6; padding: 12px; gap: 10px; border-radius: 8px; }
.professional-ui body .shell .filter-bar label { font-size: 12px; }
.professional-ui body .shell .filter-bar input, .professional-ui body .shell .filter-bar select { min-height: 36px; margin-top: 4px; font-size: 13px; }
.professional-ui body .shell .category-cascade { min-width: 0; max-width: 100%; gap: 8px; }
.professional-ui body .shell .category-cascade > div { min-width: min(140px, 100%); }
.professional-ui body .shell .form-section > legend { color: var(--module-accent); border-bottom: 1px solid #dfe8e2; font-size: 16px; }
.professional-ui body .shell .form-actions { padding-top: 14px; }
.professional-ui body .shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .professional-ui body .shell select, .professional-ui body .shell textarea { border-color: #d7e1dc; }
.professional-ui body .shell input:focus-visible, .professional-ui body .shell select:focus-visible, .professional-ui body .shell textarea:focus-visible { outline: 2px solid #76a493; outline-offset: 2px; }
.professional-ui body .shell .metric { position: relative; padding: 14px; border-radius: 9px; border-top: 2px solid var(--module-accent); }
.professional-ui body .shell .metric > span:not(.metric-symbol) { max-width: calc(100% - 40px); font-size: 12px; }
.metric-symbol { position: absolute; top: 13px; right: 13px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--module-tint); color: var(--module-accent); }
.professional-ui body .shell .metric strong { font-size: 26px; line-height: 1.3; margin-top: 8px; color: #263f39; }
.professional-ui body .shell .metric.warn { border-top-color: #b57836; }
.professional-ui body .shell .metric.warn .metric-symbol { color: #a36b2e; background: #fbf0df; }
.professional-ui body .shell .tag { font-size: 11px; padding: 3px 7px; border-radius: 5px; font-weight: 500; }
.professional-ui body .shell .tag[class*="status-"]::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: middle; }
.professional-ui body .shell .data-table th, .professional-ui body .shell .ledger-table th, .professional-ui body .shell .inventory-table th { background: #f0f5f3; color: #5c7067; font-weight: 600; font-size: 12px; }
.professional-ui body .shell .data-table td, .professional-ui body .shell .ledger-table td { font-size: 13px; }
.professional-ui body .shell .data-table tbody tr:hover, .professional-ui body .shell .ledger-table tbody tr:hover { background: #f6faf7; }
.record-symbol { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; color: var(--module-accent); background: var(--module-tint); }
.record-symbol .ui-icon { width: 17px; height: 17px; }
.professional-ui body .shell .file-row { gap: 12px; }
.professional-ui body .shell .setting-link { gap: 12px; }
.professional-ui body .shell .setting-link > div { flex: 1; min-width: 0; }
.empty-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #edf3ef; color: #8ca799; margin: 0 auto 10px; }
.empty-symbol .ui-icon { width: 23px; height: 23px; }
.professional-ui body .shell .empty-state { padding: 28px 16px; }
.professional-ui body .shell .visit-shortcuts a > .ui-icon { width: 20px; height: 20px; color: var(--module-accent); }
.professional-ui body .shell .visit-shortcuts a > div { flex: 1; }
.professional-ui body .shell .today-card { padding: 16px; border-left: 3px solid #285c50; background: linear-gradient(110deg, #f9fcfa, #fff 50%); }
.professional-ui body .shell .today-card .daily-metrics { gap: 10px; margin-bottom: 14px; }
.professional-ui body .shell .today-card .daily-metrics > a { padding: 12px; border-radius: 8px; position: relative; }
.daily-metric-icon { position: absolute; top: 12px; right: 12px; color: #7c9a89; }
.professional-ui body .shell .today-card .daily-metrics strong { font-size: 25px; padding-right: 28px; }
.professional-ui body .shell .today-card .daily-metrics span { font-size: 12px; }
.professional-ui body .shell .today-card .daily-columns { padding-top: 12px; }
.professional-ui body .shell .today-card .daily-columns h3 { font-size: 14px; }
.professional-ui body .shell .stat-grid { gap: 12px; margin-bottom: 18px; }
.professional-ui body .shell .kpi-stat { position: relative; overflow: hidden; border-top: 2px solid #43836b; padding: 14px; }
.professional-ui body .shell .kpi-stat .stat-label { font-size: 12px; padding-right: 48px; }
.professional-ui body .shell .kpi-stat .stat-number { font-size: 26px; margin: 8px 0; padding-right: 55px; }
.professional-ui body .shell .kpi-stat > small { font-size: 11px; }
.kpi-dial { position: absolute; top: 20px; right: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#42846b calc(var(--dial-value) * 1%), #eaf0ed 0); }
.kpi-dial > span { display: grid; place-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #356a53; font-size: 12px; font-weight: 600; }
.kpi-dial small { font-size: 9px !important; }
.kpi-empty-icon { position: absolute; top: 24px; right: 16px; color: #8ca899; }
.finance-stat-icon { position: absolute; top: 20px; right: 16px; color: #b28a53; }
.finance-stat-icon .ui-icon { width: 30px; height: 30px; }
.kpi-chart-card { position: relative; }
.professional-ui body .shell .kpi-chart-card .kpi-dial { top: 62px; right: 18px; width: 60px; height: 60px; }
.professional-ui body .shell .kpi-chart-card .kpi-dial > span { width: 48px; height: 48px; font-size: 14px; }
.professional-ui body .shell .kpi-chart-card .kpi-number { font-size: 32px; padding-right: 64px; margin: 16px 0; }
.professional-ui body .shell .dashboard-month { margin-top: 22px; }
.professional-ui body .shell .dashboard-shortcuts { margin-bottom: 14px; }
.professional-ui body .shell .activity-card { border-radius: 10px; border-color: #dce6e0; transition: box-shadow .15s ease; }
.professional-ui body .shell .activity-card:hover { transform: none; box-shadow: 0 5px 15px #26463712; }
.professional-ui body .shell .activity-cover { height: 86px; min-height: 0; background: #e8f1ed; padding: 12px 14px; }
.professional-ui body .shell .activity-cover.cover-peach { background: #edf0f6; color: #526989; }
.activity-cover .activity-cover-icon { position: absolute; right: 18px; bottom: 16px; width: 42px; height: 42px; opacity: .28; }
.professional-ui body .shell .activity-cover > small { left: 14px; bottom: 10px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.8px; }
.professional-ui body .shell .activity-cover > span { font-size: 11px; letter-spacing: .5px; }
.professional-ui body .shell .activity-body { padding: 12px 14px; }
.professional-ui body .shell .activity-body h2 { font-size: 16px; }
.professional-ui body .shell .inventory-thumbnail-empty { color: #a6b4ab; background: #f1f5f1; }
.professional-ui body .shell .inventory-thumbnail-empty .ui-icon { width: 24px; height: 24px; }
.professional-ui body .shell .date-chip, .professional-ui body .shell .deadline-day { border: 1px solid #e1e9e2; border-radius: 7px; background: #f3f7f3; }
.professional-ui body .shell .milestone-grid { margin-top: 10px; }
.professional-ui body .shell .milestone .day { font-size: 24px; }
.professional-ui body .shell .milestone-grid { gap: 8px; padding-bottom: 0; }
.professional-ui body .shell .milestone-grid::after, .professional-ui body .shell .milestone-grid .step-dot { display: none; }
.professional-ui body .shell .milestone { padding: 10px 8px; border: 1px solid #e2e9e4; border-radius: 7px; background: #f7faf7; font-size: 12px; }
.professional-ui body .shell .milestone .day { margin: 0 0 6px; font-size: 21px; }
.professional-ui body .shell .milestone > small { font-size: 11px; }
.milestone-progress { display: block; width: 100%; height: 4px; margin: 8px 0 0; border: 0; border-radius: 4px; appearance: none; background: #e6ede7; accent-color: #4d8a6e; }
.milestone-progress::-webkit-progress-bar { background: #e6ede7; border-radius: 4px; }
.milestone-progress::-webkit-progress-value { background: #4d8a6e; border-radius: 4px; }
.milestone-progress::-moz-progress-bar { background: #4d8a6e; border-radius: 4px; }
.professional-ui body .shell .settings-grid > .card { border-top: 2px solid #718b7d; }
.professional-ui body .shell footer { font-size: 11px; margin-top: 24px; padding-top: 14px; }
.professional-ui body .login-story { background: #234e43; }
.professional-ui body .login-story .wordmark { background: #fff; width: fit-content; padding: 12px 18px; border-radius: 12px; }
.professional-ui body .login-story h1 { color: #fff; }
.professional-ui body .login-story p, .professional-ui body .login-story > small, .professional-ui body .login-story > .eyebrow { color: #cfdfd6; }
.professional-ui body .login-panel { background: #f7f9f7; }
.professional-ui body .login-form > h2 { font-weight: 650; }
@media (max-width: 1100px) {
  .professional-ui body .shell .content { padding: 22px; }
  .professional-ui body .shell .kpi-stat .stat-number { font-size: 23px; padding-right: 0; }
  .kpi-dial { width: 40px; height: 40px; right: 10px; top: 18px; }
  .kpi-dial > span { width: 32px; height: 32px; font-size: 10px; }
}
@media (max-width: 950px) {
  .professional-ui body .shell .sidebar { width: 264px; }
  .professional-ui body .shell .main { margin-left: 0; width: 100%; }
  .professional-ui body .shell .topbar { height: 58px; padding: 0 18px; }
  .professional-ui body .shell .top-context > .ui-icon { display: none; }
  .professional-ui body .shell .top-context b { padding-left: 0; }
  .professional-ui body .shell .sidebar nav a { min-height: 42px; }
}
@media (max-width: 680px) {
  .professional-ui body .shell .content { padding: 18px 14px; }
  .professional-ui body .shell .page-heading { margin-bottom: 16px; }
  .professional-ui body .shell .page-heading h1 { font-size: 22px; }
  .visual-heading-copy { padding-left: 45px; }
  .page-symbol { width: 34px; height: 34px; border-radius: 9px; }
  .page-symbol .ui-icon { width: 20px; height: 20px; }
  .professional-ui body .shell .page-heading p { font-size: 12px; }
  .professional-ui body .shell .button { min-height: 44px; }
  .professional-ui body .shell .module-tabs a { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .professional-ui body .shell .metric { padding: 12px; }
  .professional-ui body .shell .metric strong { font-size: 23px; }
  .metric-symbol { width: 28px; height: 28px; top: 10px; right: 10px; }
  .metric-symbol .ui-icon { width: 17px; height: 17px; }
  .professional-ui body .shell .kpi-stat { padding: 12px; }
  .professional-ui body .shell .kpi-stat .stat-label { padding-right: 0; }
  .professional-ui body .shell .kpi-stat .stat-number { padding-right: 40px; font-size: 23px; margin: 10px 0; }
  .kpi-dial { top: 40px; right: 10px; }
  .finance-stat-icon { top: 38px; right: 12px; }
  .professional-ui body .shell .today-card { padding: 12px; }
  .professional-ui body .shell .today-card .daily-metrics { gap: 8px; }
  .professional-ui body .shell .today-card .daily-metrics > a { padding: 12px; }
  .professional-ui body .shell .visit-shortcuts a { gap: 10px; }
  .professional-ui body .shell .login-story .wordmark { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .professional-ui body .shell .activity-card { transition: none; }
}
@media print {
  .page-symbol, .record-symbol, .metric-symbol, .section-symbol, .daily-metric-icon { display: none !important; }
  .visual-heading-copy { padding-left: 0; }
  .professional-ui body .shell .main { margin-left: 0; width: 100%; }
  .professional-ui body .shell .content { padding: 0; }
  .professional-ui body .shell { background: white; }
  .professional-ui body .shell .sidebar { display: none; }
}
