/* Shared front-end palette. Kept after page styles so every route agrees. */
:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --text-primary: #203347;
  --text-secondary: #526777;
  --text-tertiary: #6c7e8b;
  --accent: #087f75;
  --accent-light: #159d8e;
  --accent-bg: #e6f5f1;
  --border: #dde7e8;
  --shadow: 0 4px 20px rgba(32, 51, 71, .06);
}
body { background: #f4f7f8 !important; color: #203347; }
.sidebar { background: #fff !important; border-right: 1px solid #dde7e8; }
.login-aside, .register-aside { background: linear-gradient(150deg,#eff8f5,#f8fafb) !important; color: #203347; }
.sidebar-brand, .drawer-header, .sidebar-footer { border-color: #dde7e8 !important; }
.brand-name, .m-brand-name, .drawer-name, .aside-title {
  background: none !important; -webkit-text-fill-color: #203347 !important;
  color: #203347 !important; animation: none !important;
}
.menu-item, .drawer-item { color: #526777 !important; }
.menu-item:hover, .drawer-item:hover { background: #eff7f5 !important; color: #087f75 !important; }
.menu-item.active, .drawer-item.active { background: #e1f3ed !important; color: #087f75 !important; font-weight: 600; }
.sidebar .menu-item { color: #8a641f !important; }
.sidebar .menu-item:hover { background: #fbf3e2 !important; color: #785514 !important; }
.sidebar .menu-item.active { background: #f6e8c8 !important; color: #785514 !important; }
.sidebar .menu-item .material-symbols-rounded { color: inherit; }
.contact-btn, .drawer-contact-btn { background: #eff5f5 !important; color: #526777 !important; }
.contact-btn:hover, .drawer-contact-btn:hover { background: #e1f3ed !important; color: #087f75 !important; }
.sidebar .contact-btn { background: #faf4e8 !important; color: #8a641f !important; }
.sidebar .contact-btn:hover { background: #f6e8c8 !important; color: #785514 !important; }
.mobile-header, .mobile-drawer, .bottom-nav, .mobile-bottom-nav { background: #fff !important; border-color: #dde7e8 !important; }
.user-header, .user-card, .user-info-card, .profile-card, .c2c-card {
  background: linear-gradient(120deg,#e5f5ef,#f4f8fb) !important;
  color: #203347 !important; border: 1px solid #d5e8e2;
}
.user-header h2, .user-header p, .user-card .user-name,
.user-card .user-id, .profile-card .user-name, .profile-card .user-id { color: #203347 !important; }
.card, .settings-group, .asset-card, .func-card, .order-card, .product-card {
  border-color: #dde7e8; box-shadow: 0 4px 20px rgba(32,51,71,.05);
}
.input, .form-input, .field-input input, textarea, select {
  color: #203347; background-color: #fff; border-color: #cddddd;
}
input::placeholder, textarea::placeholder { color: #71828c; opacity: 1; }
input:focus, textarea:focus, select:focus { outline-color: #087f75; }
.aside-desc, .step-text, .feature-text, .feature-desc { color: #526777 !important; }
.c2c-title, .c2c-desc, .user-name, .user-id { color: #203347 !important; }
.modal-content, .dialog-content, .popup-content { background: #fff; color: #203347; }
::selection { background: #c5e9de; color: #203347; }
.bill-name, .bill-item .bill-name { color: #203347 !important; }
.bill-meta, .bill-item .bill-meta { color: #526777 !important; }
.bill-amount, .detail-title { color: #203347; }
.home-notice {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 20px 30px 0; padding: 16px 20px;
  background: #eaf6f2; border: 1px solid #cce5dc;
  border-radius: 14px; color: #203347;
}
.home-notice > .material-symbols-rounded { color: #087f75; font-size: 24px; }
.home-notice strong { display: block; font-size: 14px; margin-bottom: 5px; }
.home-notice p { margin: 0; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1024px) {
  .home-notice { margin: 12px 16px; padding: 14px; }
}
