:root {
  --bg: #f3f5f5;
  --ink: #203330;
  --muted: #798884;
  --line: #e5ebe8;
  --green: #247b60;
  --green-dark: #196249;
  --green-soft: #edf6f0;
  --sidebar: #153d34;
  --sidebar-hover: #224a40;
  --shadow: 0 3px 16px rgba(26, 55, 44, .025);
  --topbar-h: 72px;
  --sidebar-w: 224px;
}
body { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { transition: background .16s, border-color .16s, color .16s, box-shadow .16s; }
button:focus-visible, a:focus-visible { outline: 3px solid #7bc6a6; outline-offset: 3px; }
[hidden], .nav-item[hidden] { display: none !important; }
.sidebar-collapsed .sidebar .nav-group .nav-item[hidden] { display: none !important; }
.admin-shell:not(.hidden) { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); grid-template-rows: var(--topbar-h) minmax(0, 1fr); }
.layout { display: contents; }
.topbar { grid-column: 2; grid-row: 1; padding: 0 32px; border-bottom-color: var(--line); }
.topbar-left { gap: 16px; }
.topbar .brand { display: none; }
.page-context { display: flex; gap: 12px; padding: 0; margin: 0; border: 0; }
.page-context span { font-size: 12px; color: #8a9691; }
.page-context svg { width: 13px; color: #b3bcb7; }
.page-context b { font-size: 13px; font-weight: 600; color: #364c43; }
.icon-btn { background: transparent; width: 34px; height: 34px; border-radius: 9px; }
.date-chip { background: none; font-size: 12px; gap: 8px; color: #7b8983; }
.top-actions { gap: 13px; }
.user-menu { padding-left: 20px; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 12px; background: #e5f1e9; color: #347254; font-size: 13px; }
.user-copy { gap: 4px; }
.user-copy b { font-weight: 600; font-size: 12px; }
.user-copy small { font-size: 10px; color: #8e9b95; }
.text-btn { font-size: 11px; }
.sidebar { grid-column: 1; grid-row: 1 / 3; border: 0; grid-template-rows: auto auto minmax(0, 1fr) auto; color: #fff; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 27px 21px 24px; min-height: 88px; white-space: nowrap; }
.sidebar-brand > span { width: 37px; height: 37px; border-radius: 11px; background: #2d6451; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px #5c927630; }
.sidebar-brand svg { width: 24px; height: 24px; color: #c6e6c6; stroke-width: 1.5; }
.sidebar-brand > div { display: flex; flex-direction: column; gap: 4px; }
.sidebar-brand b { font-size: 19px; letter-spacing: 1.5px; font-weight: 650; }
.sidebar-brand small { font-size: 8px; letter-spacing: 1.5px; color: #8faea0; }
.sidebar-workspace { margin: 0 16px 17px; padding: 12px; gap: 10px; border-radius: 11px; background: #20483e; border-color: #355c4d; }
.workspace-icon { width: 30px; height: 30px; background: #345c4b; border: 0; color: #b8d8bf; border-radius: 8px; }
.sidebar-workspace b { font-size: 12px; font-weight: 550; color: #dbe9df; }
.sidebar-workspace small { font-size: 9px; color: #98b0a0; }
.nav-scroll { padding: 0 13px 20px; scrollbar-color: #46675a transparent; }
.nav-scroll::-webkit-scrollbar { width: 4px; }
.nav-scroll::-webkit-scrollbar-thumb { background: #46675a; }
.nav-group { margin-bottom: 16px; }
.side-title { height: 28px; padding: 0 13px; margin-bottom: 6px; font-size: 10px; color: #89a497; font-weight: 500; letter-spacing: .6px; }
.side-title:hover { background: #20463c; color: #d4e4d9; }
.side-title svg { width: 12px; opacity: .65; }
.nav-item { margin: 3px 0; height: 40px; border-radius: 9px; padding: 0 13px; font-size: 13px; color: #b6cdc0; gap: 12px; font-weight: 400; }
.nav-item svg { width: 17px; height: 17px; color: #95b3a2; stroke-width: 1.65; }
.nav-item:hover { background: #244d40; color: #fff; }
.nav-item.active { background: #d7eacb; color: #244b37; font-weight: 650; }
.nav-item.active svg { color: #315e42; }
.nav-item.active:before { display: none; }
.sidebar-foot { height: 78px; padding: 0 23px; background: #153d34; border-color: #315346; gap: 11px; }
.sidebar-foot > span { display: grid; place-items: center; width: 24px; }
.sidebar-foot svg { width: 20px; color: #a0bf91; }
.sidebar-foot b { font-size: 10px; font-weight: 500; color: #c3d6c5; }
.sidebar-foot small { color: #7fa18d; font-size: 9px; margin-top: 3px; }
.content { grid-column: 2; grid-row: 2; padding: 28px 32px 42px; }
.page-head { margin-bottom: 24px; align-items: flex-end; }
.page-kicker { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #8c9993; margin-bottom: 14px; }
.page-kicker span { color: #c4cdc7; }
.page-head h1 { font-size: 26px; letter-spacing: -.5px; font-weight: 650; margin-bottom: 10px; }
.page-head p { color: #7d8b83; font-size: 12px; line-height: 1.6; }
.head-actions { gap: 10px; }
.primary, .ghost, .danger-button { min-height: 38px; padding: 9px 16px; border-radius: 9px; font-size: 12px; font-weight: 550; gap: 7px; }
.primary { box-shadow: 0 3px 7px #1c654413; }
.primary:hover { box-shadow: 0 4px 10px #1c654422; }
.ghost { border-color: #dce5de; color: #576c60; }
.ghost svg { width: 15px; height: 15px; }
.card, .kpi { border-radius: 14px; border-color: #e4ebe6; box-shadow: var(--shadow); }
.card { padding: 22px; }
.card-title { font-weight: 650; font-size: 14px; color: #294638; }
.card-title small { font-size: 11px; color: #91a097; }
.kpi-grid { gap: 16px; }
.kpi { padding: 22px; min-height: 136px; }
.kpi .label { color: #75877c; font-size: 12px; }
.kpi .value { color: #234533; font-family: "Segoe UI", Arial, sans-serif; font-size: 30px; font-weight: 650; letter-spacing: -.75px; font-variant-numeric: tabular-nums; margin: 14px 0 10px; }
.kpi .trend { font-size: 10px; color: #8c9a91; }
.kpi .kpi-icon { width: 34px; height: 34px; top: 19px; right: 18px; border-radius: 11px; background: #edf5ef; }
.kpi .kpi-icon svg { width: 17px; stroke-width: 1.6; }
.grid-2 { gap: 18px; margin-top: 18px; }
.overview-hero { position: relative; background: #254e3d; border-radius: 16px; min-height: 154px; padding: 27px 30px; overflow: hidden; color: #fff; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-copy { z-index: 1; }
.hero-eyebrow { color: #c0d5b2; font-size: 10px; letter-spacing: 1.5px; display: flex; align-items: center; gap: 7px; }
.hero-eyebrow:before { content: ""; width: 5px; height: 5px; background: #c1d79e; border-radius: 50%; }
.overview-hero h1 { margin: 12px 0 9px; font-size: 29px; font-weight: 600; letter-spacing: 1px; }
.overview-hero p { margin: 0; color: #b1c8b7; font-size: 11px; letter-spacing: .5px; }
.hero-actions { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 13px; z-index: 1; }
.hero-actions > small { color: #a3bda9; font-size: 10px; }
.hero-actions .hero-link { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 16px; border: 1px solid #a2c3a347; border-radius: 9px; background: #ffffff0b; color: #e0ebd9; font-size: 12px; }
.hero-link svg { width: 14px; height: 14px; }
.hero-link:hover { background: #ffffff18; border-color: #a2c3a381; }
.hero-landscape { position: absolute; height: 100%; width: 420px; right: 85px; top: 0; opacity: .5; pointer-events: none; }
.overview-kpis { margin-bottom: 18px; }
.overview-kpis .kpi:first-child { background: #fff; border-top: 3px solid #347d59; padding-top: 20px; }
.overview-kpis .kpi:first-child .value { color: #246d46; }
.overview-kpis .kpi .value small { font-size: 18px; color: #799b86; font-weight: 400; margin-right: 4px; }
.overview-kpis .kpi .kpi-icon.cyan { background: #edf1fa; color: #7e8eb0; }
.overview-kpis .kpi .kpi-icon.warning { background: #fbf4e7; color: #b69b5b; }
.overview-panels { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr); gap: 18px; }
.overview-panels .card { min-height: 310px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-heading h2 { margin: 0; font-size: 14px; font-weight: 650; color: #294638; }
.panel-heading p { margin: 7px 0 0; font-size: 11px; color: #7d8d81; }
.panel-chip { color: #8b9a91; font-size: 10px; border: 1px solid #e6ece7; border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.chart-summary { margin-top: 17px; display: flex; align-items: baseline; gap: 10px; }
.chart-summary > b { color: #335844; font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }
.chart-summary > b span { color: #90a195; font-size: 10px; margin-left: 5px; font-weight: 400; }
.chart-summary > span { font-size: 10px; color: #94a096; }
.dashboard-chart { display: grid; grid-template-columns: 25px minmax(0, 1fr); margin-top: 17px; margin-bottom: 27px; gap: 10px; }
.axis-labels { height: 144px; display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: #a0aca3; text-align: left; }
.trend-plot { height: 144px; position: relative; display: flex; align-items: flex-end; gap: 20px; justify-content: space-around; background: repeating-linear-gradient(to top, #edf1ed 0, #edf1ed 1px, transparent 1px, transparent 36px); border-bottom: 1px solid #e4ebe4; }
.trend-column { position: relative; display: flex; justify-content: center; align-items: flex-end; flex: 1; height: 100%; max-width: 85px; }
.trend-bar { width: 30px; background: #d9e9dc; border-radius: 6px 6px 0 0; position: relative; min-height: 3px; }
.trend-bar.peak { background: #4e8964; }
.trend-bar > i { position: absolute; left: 50%; top: -19px; transform: translateX(-50%); color: #75927c; font-size: 10px; font-style: normal; }
.trend-column > span { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); font-size: 10px; color: #95a095; white-space: nowrap; }
.dashboard-donut { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 230px; padding-top: 20px; }
.dashboard-donut .donut { width: 148px; height: 148px; flex: none; }
.dashboard-donut .donut:after { inset: 19px; }
.donut-center { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.donut-center b { font-size: 29px; font-weight: 600; color: #365442; font-variant-numeric: tabular-nums; }
.donut-center span { font-size: 9px; color: #9ca99c; }
.category-legend { flex: 1; max-width: 150px; min-width: 118px; display: flex; flex-direction: column; gap: 16px; }
.category-legend > div { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; color: #667d66; }
.category-legend i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.category-legend strong { margin-left: auto; color: #46614b; font-size: 11px; font-weight: 550; }
.table-card { margin-top: 18px; padding: 0; border-radius: 14px; }
.table-card > .card-title { padding: 18px 22px; min-height: 66px; border-bottom: 0; }
.table-card > .data-table { display: table; }
.data-table { min-width: 760px; font-size: 12px; }
.data-table th { background: #f5f8f4; font-size: 11px; color: #758873; font-weight: 500; padding: 12px 20px; border-bottom-color: #e8eee6; }
.data-table td { padding: 16px 20px; font-size: 13px; color: #586b5d; border-bottom-color: #edf1eb; font-variant-numeric: tabular-nums; }
.data-table td b { color: #425e47; font-weight: 550; }
.data-table td .muted { font-size: 11px; color: #839281; margin-top: 5px; }
.data-table tbody tr:hover td { background: #f8fbf6; }
.link-btn { font-weight: 500; font-size: 11px; margin-right: 10px; }
.badge { font-size: 10px; padding: 5px 9px; gap: 5px; border-radius: 6px; font-weight: 400; }
.badge:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.badge.green { background: #eaf4e9; color: #41734b; }
.badge.orange { background: #fbf3e3; color: #96752f; }
.badge.blue { background: #edf2f6; color: #607c96; }
.badge.red { background: #f8ece7; color: #9d604f; }
.table-tools { gap: 10px; flex-wrap: wrap; }
.recent-total { margin-left: 7px; }
.search, .select { height: 38px; font-size: 12px; background: #fafcf9; border-radius: 8px; border-color: #e2e9df; }
.search { min-width: 260px; }
.search::placeholder { color: #a3afa1; }
.search:focus, .select:focus { background: #fff; }
.product-cell { gap: 12px; }
.product-cell img, .service-image-fallback { width: 46px; height: 46px; border-radius: 10px; border-color: #e3ebdf; }
.empty { padding: 52px 24px; color: #9aa89c; line-height: 1.8; }
.table-empty { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: #81927b; }
.table-empty > svg { width: 31px; height: 31px; color: #b8c8af; margin-bottom: 4px; }
.table-empty small { font-size: 11px; color: #a0ad95; }
.modal-backdrop { background: #163d324d; backdrop-filter: blur(4px); }
.modal { position: relative; border-radius: 18px; padding: 30px; box-shadow: 0 24px 100px #13352b24; border: 1px solid #edf2ed; outline: none; }
.modal-close { position: absolute; right: 17px; top: 15px; width: 30px; height: 30px; background: #f4f7ef; color: #809576; border-radius: 9px; font-size: 22px; line-height: 1; }
.modal-close:hover { background: #e8efdf; color: #456442; }
.modal .detail-heading, .modal .form-heading { padding-right: 26px; }
.modal h3 { font-size: 22px; font-weight: 600; }
.form-heading { padding-bottom: 20px; border-bottom: 1px solid #edf1eb; margin-bottom: 24px; }
.form-heading span { letter-spacing: .7px; font-size: 10px; color: #8fa28c; font-weight: 500; }
.form-heading h3 { margin: 9px 0; }
.form-heading p { font-size: 11px; line-height: 1.75; color: #94a08e; }
.form-grid { gap: 20px 18px; }
.form-grid label, .dialog-field { color: #60775c; font-size: 12px; }
.form-grid input, .form-grid select, .form-grid textarea, .dialog-field textarea { background: #fafcf8; border-color: #e2eadc; border-radius: 9px; font-size: 12px; padding: 11px 12px; margin-top: 9px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: #fff; }
.modal-actions { padding-top: 22px; border-top: 1px solid #edf1e7; margin-top: 28px; gap: 10px; }
.detail-heading { padding-bottom: 20px; border-bottom: 1px solid #edf1e7; margin-bottom: 24px; }
.detail-kicker { color: #8fa28c; font-weight: 500; }
.detail-grid { border-color: #e4ebde; border-radius: 12px; }
.detail-grid > div { border-color: #e4ebde; padding: 16px; gap: 8px; }
.detail-grid span { color: #95a18c; }
.detail-grid b { font-size: 13px; color: #52674a; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.upload-preview, .waypoint-editor { background: #f8fbf5; border-color: #dce8d6; border-radius: 11px; }
.banner-admin-card { border-radius: 14px; border-color: #e4ebe1; }
.banner-admin-card > img { height: 170px; }
.banner-admin-body { padding: 20px; }
.filter-card button { font-size: 12px; padding: 11px 13px; border-radius: 8px; }
.feature-item { padding: 18px 0; }
.uav-kpis { gap: 16px; }
.uav-map { border-color: #e0e9dc; border-radius: 12px; }
.uav-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.uav-layout > .card { min-width: 0; }
.uav-layout .table-card { margin-top: 0; }
.uav-layout .data-table td { white-space: nowrap; }
.stat-grid div { border: 1px solid #eaf0e4; border-radius: 10px; background: #f8fbf5; padding: 13px 8px; }
.stat-grid b { font-weight: 600; }
.login-page { background: #f5f7f3; }
.login-art { background: #244b3b; padding: 52px 10%; }
.brand-mark { font-size: 20px; letter-spacing: 1px; }
.brand-mark > span { width: 42px; height: 42px; border: 1px solid #c7dfb650; border-radius: 12px; background: #ffffff09; }
.brand-mark svg { width: 27px; color: #d1e3b9; }
.login-intro h1 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 550; line-height: 1.45; letter-spacing: 2px; margin-top: 23px; }
.login-intro .eyebrow { color: #b9cf9e; font-size: 9px; letter-spacing: 2.5px; }
.login-intro p { font-size: 13px; color: #a7c1a3; line-height: 2; }
.login-metrics { gap: 47px; margin-top: 48px; }
.login-metrics b { font-size: 32px; font-weight: 500; color: #e4eed4; }
.login-metrics span { font-size: 10px; color: #9cb497; }
.login-foot { color: #8cab85; font-size: 10px; letter-spacing: 1px; }
.login-card { border-radius: 20px; padding: 45px; border-color: #e4eadc; box-shadow: 0 14px 80px #24442f09; }
.login-card h2 { font-size: 26px; font-weight: 550; margin-top: 16px; }
.login-card .eyebrow { color: #92a589; font-size: 9px; letter-spacing: 2px; }
.login-card > p { font-size: 11px; color: #9aa58f; }
.login-badge { border-radius: 13px; background: #edf3e7; color: #82a173; }
.input-shell { height: 46px; border-radius: 9px; background: #fafcf7; border-color: #e1e8d9; }
.input-shell input { font-size: 13px; }
.login-card .full { height: 44px; margin-top: 18px; }
.demo-account { font-size: 10px; color: #a0ab92; border-color: #e7eddf; }
.demo-account b { font-weight: 500; color: #7e916e; }
.sidebar-collapsed .admin-shell:not(.hidden) { grid-template-columns: 76px minmax(0, 1fr); }
.sidebar-collapsed .sidebar-brand { justify-content: center; padding: 26px 0; }
.sidebar-collapsed .sidebar-brand > div { display: none; }
.sidebar-collapsed .sidebar-workspace { padding: 10px 0; margin: 0 13px 14px; }
.sidebar-collapsed .sidebar-foot { padding: 0; }
.sidebar-collapsed .nav-scroll { padding: 0 12px 20px; }
.sidebar-collapsed .nav-group { margin-bottom: 8px; }
@media (min-width: 761px) and (max-width: 1180px) {
  :root { --sidebar-w: 204px; }
  .content { padding: 24px; }
  .topbar { padding: 0 24px; }
  .sidebar-brand { padding-inline: 18px; }
  .overview-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .overview-kpis .kpi { padding: 18px; }
  .overview-kpis .kpi .value { font-size: 27px; }
  .overview-kpis .kpi .kpi-icon { display: none; }
  .overview-panels { grid-template-columns: minmax(0, 1.35fr) minmax(285px, 1fr); gap: 14px; }
  .dashboard-donut { gap: 14px; }
  .dashboard-donut .donut { width: 124px; height: 124px; }
}
@media (max-width: 960px) {
  .uav-layout { grid-template-columns: 1fr; }
  .overview-panels { grid-template-columns: 1fr; }
  .dashboard-donut { gap: 36px; min-height: 200px; }
  .category-legend { max-width: 170px; }
  .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-landscape { right: 10px; width: 290px; }
  .hero-actions > small { display: none; }
}
@media (max-width: 760px) {
  .admin-shell:not(.hidden), .sidebar-collapsed .admin-shell:not(.hidden) { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 62px minmax(0, 1fr); }
  .topbar { grid-column: 1; grid-row: 1; height: 62px; padding: 0 15px; }
  .topbar .brand { display: flex; font-size: 14px; }
  .topbar .brand-icon { border-radius: 9px; }
  .page-context { display: none; }
  .topbar-left { gap: 8px; }
  .user-menu { padding-left: 10px; }
  .content { grid-column: 1; grid-row: 2; padding: 18px 16px 30px; }
  .sidebar { position: fixed; top: 0; height: 100vh; z-index: 50; width: 260px; transform: translateX(-102%); }
  .nav-scrim { position: fixed; z-index: 45; inset: 0; background: #102c2660; }
  .sidebar-collapsed .sidebar-brand { justify-content: flex-start; padding: 27px 21px 24px; }
  .sidebar-collapsed .sidebar-brand > div { display: flex; }
  .sidebar-collapsed .sidebar-workspace { padding: 12px; margin: 0 16px 17px; }
  .sidebar-collapsed .sidebar-foot { padding: 0 23px; }
  .sidebar-collapsed .nav-scroll { padding: 0 13px 20px; }
  .page-head { gap: 18px; align-items: stretch; margin-bottom: 20px; }
  .page-head h1 { font-size: 24px; }
  .page-kicker { margin-bottom: 11px; }
  .overview-hero { min-height: 170px; padding: 22px; gap: 20px; align-items: flex-start; flex-direction: column; }
  .overview-hero h1 { font-size: 27px; }
  .overview-hero p { font-size: 10px; line-height: 1.8; max-width: 240px; }
  .hero-actions { align-items: flex-start; }
  .hero-actions .hero-link { min-height: 34px; font-size: 11px; }
  .hero-landscape { top: auto; bottom: 0; right: -60px; width: 310px; height: 150px; }
  .overview-kpis { gap: 12px; }
  .overview-kpis .kpi { min-height: 127px; padding: 17px; }
  .overview-kpis .kpi:first-child { padding-top: 15px; }
  .overview-kpis .kpi .value { font-size: 27px; }
  .overview-kpis .kpi .kpi-icon { display: none; }
  .overview-panels { gap: 14px; }
  .card { padding: 20px; }
  .table-card { padding: 0; }
  .table-card > .card-title { flex-wrap: wrap; padding: 18px; }
  .table-tools { width: 100%; }
  .search { min-width: 0; width: 100%; }
  .select { flex: 1; }
  .head-actions .primary, .head-actions .ghost { padding-inline: 13px; }
  .modal-backdrop { padding: 12px; }
  .modal { padding: 24px; max-height: calc(100vh - 24px); border-radius: 16px; }
  .form-grid { gap: 17px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { border-right: 0; }
  .detail-grid > div:nth-last-child(2) { border-bottom: 1px solid #e4ebde; }
  .login-panel { padding: 22px; }
  .login-card { padding: 32px; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { min-height: 124px; padding: 17px; }
  .kpi .value { font-size: 26px; }
  .kpi .kpi-icon { display: none; }
  .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-donut { gap: 19px; }
  .dashboard-donut .donut { width: 130px; height: 130px; }
  .category-legend { min-width: 113px; }
  .panel-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

.membership-admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.membership-admin-tabs button{padding:10px 18px;border:1px solid #d8e2da;background:#fff;color:#171717;border-radius:9px;font-size:14px}.membership-admin-tabs button.active{background:#e0edd8;border-color:#65856c;font-weight:600}.member-method-checks{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px}.member-method-checks label{display:flex;align-items:center;gap:8px}.member-method-checks input{width:auto!important;height:auto!important}.member-gift-preview{margin-top:12px;border:1px solid #dfe6db;padding:14px;border-radius:12px;color:#333}.member-gift-preview img{width:150px;height:150px;object-fit:cover;border-radius:10px}
.qualification-grid,.review-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.qualification-thumb,.review-image-grid button{background:#f4f7f1;border:1px solid #dce5d5;border-radius:10px;padding:10px;min-width:0;color:#171717}.qualification-thumb img,.review-image-grid img{display:block;width:100%;height:150px;object-fit:contain;background:#fff;border-radius:7px}.qualification-thumb span{display:block;font-size:12px;margin-top:9px}.qualification-thumb small{display:block;font-size:12px;color:#333;margin-top:5px}.qualification-note{padding:12px;background:#f1f5eb;border-radius:8px;margin-top:12px;font-size:13px}.review-large-image{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:auto}

.access-matrix{max-height:52vh;overflow:auto;margin-top:16px}.access-matrix th{position:sticky;top:0;background:#eef4e7;z-index:1;font-size:12px}.access-matrix td{font-size:13px;text-align:center;padding:12px 10px}.access-matrix td:first-child{text-align:left;min-width:125px}.access-matrix input[type=checkbox]{width:17px;height:17px;accent-color:#2d765c}.access-group td{background:#f2f6ec;font-weight:600;text-align:left!important}.access-matrix-tools{display:flex;align-items:center;gap:10px;margin-top:18px}.access-matrix-tools b{margin-right:auto}.access-matrix-tools button{padding:7px 12px;font-size:13px}#content button[disabled]{opacity:.55;cursor:not-allowed}
.modal.access-role-modal{width:min(1100px,calc(100vw - 48px));max-width:1100px}.access-role-modal .access-matrix{max-height:38vh}.access-role-modal .access-matrix table{min-width:780px}.access-role-modal .form-grid label,.access-role-modal .form-heading p,.access-role-modal .muted{color:#333}.access-role-modal .access-matrix th,.access-role-modal .access-matrix td{color:#171717}
.commerce-card{padding:0;overflow:hidden}.commerce-tabs{display:flex;gap:4px;padding:18px 22px 0;border-bottom:1px solid #e5ecdf;overflow:auto}.commerce-tabs button{background:transparent;padding:13px 18px;color:#333;border-bottom:3px solid transparent;white-space:nowrap}.commerce-tabs button.active{color:#174f3d;border-bottom-color:#247b60;font-weight:600}.commerce-tabs span{font-size:12px;margin-left:9px;background:#edf2e7;padding:2px 6px;border-radius:6px}.commerce-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 22px}.commerce-filters .search{width:280px}.commerce-filters .select{min-width:140px;max-width:230px}.commerce-batch{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:13px 22px;background:#f3f7ef;border-top:1px solid #e5ecdf;border-bottom:1px solid #e5ecdf}.commerce-batch b{font-size:13px;color:#171717}.commerce-batch>span{font-size:12px;color:#333;margin-right:auto}.commerce-batch .ghost{font-size:12px;padding:7px 11px}.commerce-table{width:100%;min-width:940px}.commerce-table input[type=checkbox]{width:17px;height:17px;accent-color:#247b60}.commerce-table th,.commerce-table td{color:#171717}.commerce-table th{white-space:nowrap}.commerce-table .row-actions{min-width:180px}.commerce-table td:first-child{width:38px}.commerce-table .product-cell{min-width:205px}.commerce-table .muted{font-size:12px;color:#333;margin-top:6px}.commerce-reason{font-size:12px;color:#9b3b35;max-width:160px;line-height:1.5;margin-top:6px}.stock-low{font-size:12px;color:#a45415;margin-top:6px}.commerce-pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 22px;color:#333;font-size:13px}.commerce-pager>span{margin-right:auto}.commerce-pager .select{width:75px;min-width:0}.commerce-pager button{padding:8px 12px}.merchant-detail-modal{width:min(950px,calc(100vw - 40px));max-width:950px}.merchant-metrics{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.merchant-metrics span{padding:9px 14px;background:#eef4e8;border-radius:8px;color:#171717;font-size:13px}
.admin-list-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:14px 20px;background:#f4f7ef;border-bottom:1px solid #e4ecdd}.admin-list-controls .search{width:250px}.admin-list-controls .select{max-width:180px}.admin-list-controls span{font-size:12px;color:#333;margin-left:auto}.admin-list-controls button{font-size:12px;padding:7px 12px}
.admin-pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 22px;color:#171717;font-size:13px}.admin-pagination .pager-pages{display:flex;align-items:center;gap:6px}.admin-pagination button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 9px;border:1px solid transparent;border-radius:4px;background:#f2f5f2;color:#171717;font-size:13px}.admin-pagination button:hover:not(:disabled){border-color:#82ad94;background:#e9f2eb}.admin-pagination button.active{background:#c5e4cc;color:#174d2c;font-weight:600}.admin-pagination .pager-arrow{font-size:21px;color:#34503e}.admin-pagination button:disabled{background:#f5f5f5;color:#858d88}.admin-pagination .pager-ellipsis{min-width:24px;text-align:center;color:#343f37}.admin-pagination .pager-size{width:108px;min-width:108px;height:32px;padding:4px 9px;border-radius:4px;font-size:13px}.admin-pagination .pager-total{margin:0;white-space:nowrap}.admin-pagination .pager-jump{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#171717;font-size:13px}.admin-pagination .pager-jump input{width:48px;height:32px;box-sizing:border-box;text-align:center;border:1px solid #d7e1d8;border-radius:4px;background:#fff;color:#171717;padding:4px;font:inherit}.pager-page-count{color:#414c44}.admin-pagination button:focus-visible,.admin-pagination input:focus-visible,.admin-pagination select:focus-visible{outline:2px solid #247b60;outline-offset:2px}
.modal.merchant-detail-modal{width:min(1160px,calc(100vw - 48px));max-width:1160px}.merchant-profile-table{width:100%;border-collapse:collapse;border:1px solid #dfe6dc;font-size:13px;color:#171717;table-layout:fixed}.merchant-profile-table th{width:110px;background:#f4f7f0;text-align:left;font-weight:500}.merchant-profile-table th,.merchant-profile-table td{border:1px solid #e0e7dd;padding:10px 13px;overflow-wrap:anywhere}.merchant-record-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #dfe7db;margin-top:20px}.merchant-record-tabs button{display:flex;align-items:center;gap:8px;white-space:nowrap;background:transparent;border-bottom:3px solid transparent;color:#171717;border-radius:0;padding:13px 15px;font-size:14px}.merchant-record-tabs button.active{border-bottom-color:#247b60;color:#174f3d;font-weight:600}.merchant-record-tabs button span{font-size:12px;background:#eef3e9;padding:1px 7px;border-radius:5px}.merchant-record-scroll{max-height:330px;border:1px solid #e0e7dd;border-top:0}.merchant-record-table{width:100%;min-width:790px}.merchant-record-table th{position:sticky;top:0;background:#f4f7f0;z-index:1;white-space:nowrap}.merchant-record-table td,.merchant-record-table th{padding:12px 14px;color:#171717;font-size:13px}.merchant-record-table .muted{font-size:12px;color:#3f4741;margin-top:5px}.merchant-record-table td{max-width:260px;overflow-wrap:anywhere}.merchant-detail-modal .admin-pagination{padding:14px 0;gap:12px}.merchant-detail-modal .modal-actions{margin-top:8px;padding-top:16px}.merchant-detail-modal .merchant-metrics{margin-top:14px;gap:10px}.merchant-detail-modal .merchant-metrics span{padding:7px 12px}.merchant-record-table .table-empty{text-align:center;padding:45px 14px}.service-detail-labels{margin-top:18px}.admin-account-name{display:block;font-weight:600;color:#171717}.admin-account-login{display:block;color:#414c44;font-size:12px;margin-top:5px}
@media(max-width:760px){.admin-pagination{justify-content:flex-start;gap:12px;padding:14px}.admin-pagination .pager-pages{max-width:100%;flex-wrap:wrap}.merchant-profile-table th{width:78px}.merchant-profile-table th,.merchant-profile-table td{padding:9px 8px}.merchant-record-tabs button{padding:12px 10px}.pager-page-count{display:none}}
.modal.merchant-detail-modal{display:flex;flex-direction:column;height:min(860px,calc(100vh - 48px));overflow:hidden;padding:24px 28px}.merchant-detail-modal .detail-heading{flex-shrink:0;margin-bottom:14px;padding-bottom:14px}.merchant-detail-modal .detail-heading h3{margin-top:6px;font-size:23px}.merchant-detail-modal .merchant-profile-table,.merchant-detail-modal .merchant-metrics,.merchant-detail-modal .merchant-record-tabs,.merchant-detail-modal [data-merchant-pager],.merchant-detail-modal .modal-actions{flex-shrink:0}.merchant-detail-modal .merchant-profile-table th,.merchant-detail-modal .merchant-profile-table td{padding:8px 11px}.merchant-detail-modal .merchant-metrics{margin-top:10px}.merchant-detail-modal .merchant-record-tabs{margin-top:12px}.merchant-detail-modal .merchant-record-scroll{flex:1;min-height:90px;max-height:none}.merchant-detail-modal .admin-pagination{padding:12px 0}.merchant-detail-modal .modal-actions{padding-top:12px;margin-top:0}
.dialog-validation{font-size:13px;color:#a53730;margin:12px 0 0;line-height:1.6}
@media(max-width:760px){.modal.merchant-detail-modal{display:block;height:auto;overflow:auto;padding:22px 18px}.merchant-detail-modal .merchant-record-scroll{max-height:280px}}
.modal.home-shortcuts-modal{width:min(850px,calc(100vw - 40px));max-width:850px}.home-shortcuts-modal .form-heading p{color:#333;line-height:1.7}.shortcut-config-summary{display:flex;align-items:center;gap:20px;margin:20px 0;color:#171717}.shortcut-config-summary b{white-space:nowrap}.shortcut-config-summary [role=status]{font-size:13px;color:#a43d34}.shortcut-config-list{max-height:32vh;overflow:auto;border:1px solid #e0e8d8;border-radius:12px}.shortcut-config-row{display:flex;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid #e6ebdf}.shortcut-config-row:last-child{border-bottom:0}.shortcut-config-row>label{display:flex;align-items:center;gap:12px;width:155px;flex-shrink:0;font-size:14px;color:#171717}.shortcut-config-row input[type=checkbox]{width:17px;height:17px;accent-color:#247b60}.shortcut-config-row .shortcut-label-input{padding:8px 10px;width:145px;min-width:0;border:1px solid #dce4d4;border-radius:7px;color:#171717;background:#fafcf7}.shortcut-config-state{font-size:12px;color:#333;margin-left:auto;white-space:nowrap}.shortcut-config-row button{padding:7px 10px}.shortcut-config-preview{margin-top:18px;padding:14px 18px;background:#f1f6ec;border-radius:12px;color:#333;font-size:12px}.shortcut-config-preview>div{display:flex;margin-top:12px;gap:12px}.shortcut-config-preview>div>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;color:#171717}.shortcut-config-preview svg{width:24px;height:24px;color:#284d3a}.shortcut-config-preview b{font-size:13px;font-weight:500}.home-shortcuts-modal .modal-actions{margin-top:18px;padding-top:18px}@media(max-width:600px){.shortcut-config-row{gap:8px;padding:10px}.shortcut-config-row>label{width:120px;font-size:12px}.shortcut-config-row .shortcut-label-input{width:95px}.shortcut-config-state{display:none}.shortcut-config-row button{padding:6px 8px}}
