:root {
  --ls-navy: #102a43;
  --ls-blue: #2563eb;
  --ls-cyan: #38bdf8;
  --ls-green: #62b535;
  --ls-bg: #f5f7fb;
}

.app-main { min-width: 0; }
.sidebar,
.sidebar-mobile { background: linear-gradient(180deg, #102a43, #173f5f); }
.sidebar { width: 248px; position: sticky; top: 0; height: 100vh; }
.sidebar-mobile { width: min(86vw, 300px) !important; }

.brand { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: .65rem; width: 100%; min-height: 68px; padding: .35rem 0; }
.brand-logo { display: block; width: 54px; height: 54px; padding: .3rem; border-radius: .75rem; background: #fff; box-shadow: 0 5px 18px rgba(4, 17, 29, .22); object-fit: contain; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.15; }
.brand-title { color: #fff; font-size: 1.05rem; letter-spacing: .12em; white-space: nowrap; }
.brand-divider { width: 100%; height: 1px; margin: .3rem 0; background: linear-gradient(90deg, var(--ls-green), rgba(98, 181, 53, 0)); }
.brand-subtitle { color: #b9c7d5; font-size: .68rem; letter-spacing: .03em; white-space: nowrap; }

.sidebar .nav-link,
.sidebar-mobile .nav-link { display: flex; align-items: center; gap: .8rem; color: #cbd8e5; border-radius: .6rem; padding: .7rem .8rem; letter-spacing: .04em; }
.sidebar .nav-link:hover,
.sidebar .nav-link:focus,
.sidebar-mobile .nav-link:hover,
.sidebar-mobile .nav-link:focus { color: #fff; background: rgba(255, 255, 255, .1); }
.sidebar .nav-link i,
.sidebar-mobile .nav-link i { display: inline-grid; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; margin-right: 0 !important; place-items: center; font-size: 1rem; line-height: 1; }
.sidebar .nav,
.sidebar-mobile .nav { row-gap: .35rem !important; }
.sidebar .nav-parent-button,
.sidebar-mobile .nav-parent-button { width: 100%; border: 0; text-align: left; background: transparent; }
.nav-parent-button .nav-chevron { flex: 0 0 auto; margin-left: auto; font-size: .72rem; transition: transform .18s ease; }
.nav-submenu { display: none; margin: .15rem 0 .2rem 1.35rem; padding-left: .6rem; border-left: 1px solid rgba(203, 216, 229, .2); }
.nav-branch.is-open > .nav-submenu { display: block; }
.nav-branch.is-open > .nav-parent-button .nav-chevron { transform: rotate(180deg); }
.nav-submenu-empty { display: block; padding: .5rem .7rem; color: #91a5b8; font-size: .78rem; }
.sidebar .nav-sublink,
.sidebar-mobile .nav-sublink { padding: .55rem .7rem; color: #aebfd0; font-size: .88rem; }
.sidebar .nav-sublink.active,
.sidebar-mobile .nav-sublink.active { color: #fff; background: rgba(56, 189, 248, .16); }
.sidebar .nav-sublink i,
.sidebar-mobile .nav-sublink i { font-size: .86rem; }

.nav-label { font-size: .72rem; color: #7f9bb4; text-transform: uppercase; margin: 1.2rem .8rem .35rem; }
.topbar { height: 64px; }
.language-switcher { margin: 0; }
.language-switcher__button { display: inline-flex; min-width: 50px; height: 32px; align-items: center; justify-content: center; gap: .35rem; padding: 0 .58rem; border: 1px solid #d7e1ea; border-radius: 8px; color: #426078; background: #fff; font-size: .76rem; font-weight: 750; line-height: 1; transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease; }
.language-switcher__button:hover, .language-switcher__button:focus-visible { border-color: #5f9bcd; color: #176eb0; background: #f3f8fc; box-shadow: 0 3px 10px rgba(25, 100, 160, .11); }
.language-switcher__button .bi { font-size: .93rem; }
.language-switcher--compact .language-switcher__button { min-width: 40px; height: 30px; padding: 0 .45rem; }
.language-switcher--compact .language-switcher__button .bi { display: none; }
.page-breadcrumb { display: inline-flex; max-width: 100%; margin: .1rem 0 1.15rem; padding: .32rem; border: 1px solid #e4eaf0; border-radius: 12px; background: rgba(255, 255, 255, .82); box-shadow: 0 3px 10px rgba(20, 49, 77, .04); }
.page-breadcrumb .breadcrumb { display: flex; align-items: center; min-width: 0; font-size: .82rem; }
.page-breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; color: #68798a; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { align-self: center; width: 18px; height: 18px; margin: 0 .18rem; padding: 0; color: transparent; content: ""; background: linear-gradient(135deg, transparent 46%, #c5d0da 47%, #c5d0da 53%, transparent 54%); transform: rotate(-45deg); }
.page-breadcrumb a { display: inline-flex; align-items: center; gap: .38rem; padding: .38rem .55rem; border-radius: 8px; color: #607488; font-weight: 600; text-decoration: none; transition: color .16s ease, background .16s ease; }
.page-breadcrumb a:hover,
.page-breadcrumb a:focus { color: #156fc2; background: #f0f6fc; }
.page-breadcrumb .breadcrumb-home a { color: #476b89; }
.page-breadcrumb .breadcrumb-home i { color: #7c91a5; }
.breadcrumb-current { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .65rem; border-radius: 8px; color: #fff; background: #256fae; font-weight: 700; box-shadow: 0 3px 8px rgba(37, 111, 174, .18); }
.breadcrumb-current i { color: #dff1ff; font-size: .84rem; }
.platform-motto { display: inline-flex; align-items: center; gap: .65rem; min-height: 38px; padding: .25rem .85rem .25rem .3rem; border: 1px solid #e2ebf2; border-radius: 999px; background: linear-gradient(100deg, #f7fbff, #fbfef9); box-shadow: 0 3px 12px rgba(16, 42, 67, .05); }
.motto-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--ls-blue), #28a998 58%, var(--ls-green)); box-shadow: 0 4px 10px rgba(32, 137, 150, .22); font-size: .82rem; }
.motto-copy { display: flex; align-items: center; gap: .7rem; font-size: .8rem; letter-spacing: .04em; white-space: nowrap; }
.motto-copy strong { color: var(--ls-navy); font-weight: 700; }
.motto-divider { width: 1px; height: 14px; background: linear-gradient(180deg, transparent, #b6c7d5, transparent); }
.motto-highlight { font-weight: 700; background: linear-gradient(90deg, #2385c7, #239c79 70%, #62a936); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.module-card { border: 0; box-shadow: 0 3px 16px rgba(16, 42, 67, .07); color: #1f2937; transition: transform .2s, box-shadow .2s; }
.module-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px rgba(16, 42, 67, .13); }
.module-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--ls-blue), var(--ls-cyan)); font-size: 1.35rem; margin-bottom: 1rem; }
.workspace-tabs-shell { margin: -.1rem 0 1.2rem; }
.workspace-tabs { display: flex; flex-wrap: nowrap; width: 100%; min-height: 50px; gap: .35rem; align-items: stretch; padding: .38rem; overflow-x: auto; border: 1px solid #dce6ef; border-radius: 12px; background: linear-gradient(180deg, #f8fbfd, #edf3f8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 10px rgba(25, 66, 103, .045); scrollbar-width: thin; }
.workspace-tabs::-webkit-scrollbar { height: 5px; }
.workspace-tabs::-webkit-scrollbar-thumb { border-radius: 999px; background: #b7cadb; }
.workspace-tab { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .55rem; min-height: 40px; padding: .45rem .5rem .45rem .8rem; border: 1px solid transparent; border-radius: 8px; color: #61778b; background: transparent; font-size: .82rem; font-weight: 750; letter-spacing: .01em; transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.workspace-tab:hover, .workspace-tab:focus-within { color: #1d6fae; background: rgba(255, 255, 255, .7); border-color: #d1e0ec; }
.workspace-tab.is-active { color: #1f70b2; border-color: #bfd8eb; background: #fff; box-shadow: 0 2px 7px rgba(36, 94, 139, .12); }
.workspace-tab.is-active::before { width: 5px; height: 5px; border-radius: 50%; content: ""; background: #3f91d0; box-shadow: 0 0 0 3px rgba(63, 145, 208, .12); }
.workspace-tab-link { min-width: 0; overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.workspace-tab-link:focus-visible { outline: 2px solid #7db2dc; outline-offset: 3px; }
.workspace-tab-close { display: inline-grid; width: 21px; height: 21px; padding: 0; place-items: center; border: 0; border-radius: 6px; color: #8aa0b2; background: transparent; font-size: 1rem; line-height: 1; transition: color .15s ease, background .15s ease; }
.workspace-tab-close:hover, .workspace-tab-close:focus-visible { color: #b33a4b; background: #fcedef; }
@media (max-width: 575.98px) { .workspace-tabs-shell { margin-right: -1rem; margin-left: -1rem; } .workspace-tabs { padding-left: 1rem; border-radius: 0; } .workspace-tab { min-height: 38px; font-size: .78rem; } }
.daily-report-heading { padding: .25rem .15rem; }
.daily-report-eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: #3578ac; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.scan-status-chip { display: flex; align-items: center; gap: .7rem; min-width: 210px; padding: .65rem .85rem; border: 1px solid #dce9e4; border-radius: 12px; color: #285f4e; background: #f4fbf8; }
.scan-status-chip > span:last-child { display: flex; flex-direction: column; }
.scan-status-chip small { color: #729184; font-size: .65rem; }
.scan-status-chip strong { font-size: .76rem; font-weight: 700; }
.scan-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #32a475; box-shadow: 0 0 0 5px rgba(50, 164, 117, .1); }
.scan-status-chip.is-warning { color: #86601d; border-color: #f0dfb8; background: #fffaf0; }
.scan-status-chip.is-warning .scan-status-dot { background: #d8992f; box-shadow: 0 0 0 5px rgba(216, 153, 47, .1); }
.scan-status-chip.is-error { color: #97454d; border-color: #efd7da; background: #fff7f8; }
.scan-status-chip.is-error .scan-status-dot { background: #d95764; box-shadow: 0 0 0 5px rgba(217, 87, 100, .1); }
.daily-filter-panel { padding: 1rem 1.1rem; border: 1px solid #e4ebf1; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(22, 55, 84, .05); }
.daily-filter-panel .form-label { margin-bottom: .35rem; color: #637486; font-size: .7rem; font-weight: 700; }
.daily-filter-panel .form-control,
.daily-filter-panel .form-select { min-height: 40px; border-color: #dfe7ee; border-radius: 9px; color: #34495e; font-size: .82rem; }
.daily-filter-panel .btn { min-height: 40px; border-radius: 9px; }
.daily-kpi-card { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 118px; padding: 1.1rem; overflow: hidden; border: 1px solid #e5ebf1; border-radius: 16px; background: #fff; box-shadow: 0 7px 24px rgba(20, 52, 80, .055); }
.daily-kpi-card::after { position: absolute; width: 88px; height: 88px; right: -34px; top: -36px; border-radius: 50%; content: ""; background: currentColor; opacity: .045; }
.daily-kpi-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 13px; font-size: 1.15rem; }
.daily-kpi-card > div { min-width: 0; }
.daily-kpi-card div > span,
.daily-kpi-card strong,
.daily-kpi-card small { display: block; }
.daily-kpi-card div > span { margin-bottom: .3rem; color: #708091; font-size: .7rem; font-weight: 650; }
.daily-kpi-card strong { overflow: hidden; margin-bottom: .25rem; color: #19334c; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.daily-kpi-card small { color: #8a98a6; font-size: .64rem; white-space: nowrap; }
.kpi-sales { color: #2477bd; }
.kpi-sales .daily-kpi-icon { color: #2477bd; background: #eaf4fd; }
.kpi-target { color: #d58d2a; }
.kpi-target .daily-kpi-icon { color: #c97e18; background: #fff4df; }
.kpi-margin { color: #2d9a73; }
.kpi-margin .daily-kpi-icon { color: #258967; background: #eaf8f2; }
.kpi-store { color: #755fba; }
.kpi-store .daily-kpi-icon { color: #6e58b2; background: #f1edff; }
.daily-chart-card,
.daily-detail-card { overflow: hidden; border: 1px solid #e4ebf1; border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(20, 52, 80, .055); }
.daily-card-header { padding: 1.05rem 1.2rem; border-bottom: 1px solid #edf1f5; }
.daily-detail-card { border-color: #dfe8f0; border-radius: 20px; box-shadow: 0 12px 34px rgba(20, 52, 80, .07); }
.daily-detail-header { position: relative; min-height: 100px; padding: 1.25rem 1.4rem; background: linear-gradient(120deg, #fff 0%, #f7faff 72%, #f1f7fc 100%); }
.daily-detail-header::before { position: absolute; width: 4px; height: 42px; left: 0; top: 50%; border-radius: 0 4px 4px 0; content: ""; background: linear-gradient(180deg, #2783c8, #45aaa0); transform: translateY(-50%); }
.daily-detail-heading h2 { color: #19364f; font-weight: 750; }
.daily-detail-kicker { display: block; margin-bottom: .28rem; color: #4681af; font-size: .6rem; font-weight: 800; letter-spacing: .13em; }
.daily-detail-count { display: flex; min-width: 82px; height: 46px; padding: 0 .9rem; align-items: baseline; justify-content: center; gap: .28rem; border: 1px solid #dce8f2; border-radius: 14px; color: #718496; background: rgba(255, 255, 255, .86); box-shadow: 0 4px 13px rgba(28, 74, 112, .06); }
.daily-detail-count strong { color: #226fae; font-size: 1.05rem; line-height: 44px; }
.daily-detail-count span { font-size: .65rem; font-weight: 650; }
.daily-chart-legend { display: flex; align-items: center; gap: 1rem; color: #697b8d; font-size: .72rem; }
.daily-chart-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.daily-chart-legend i { display: inline-block; width: 20px; height: 3px; border-radius: 3px; }
.daily-chart-legend .legend-sales { background: #2477bd; }
.daily-chart-legend .legend-target { height: 2px; background: repeating-linear-gradient(90deg, #e09a35 0 5px, transparent 5px 8px); }
.daily-chart-wrap { position: relative; min-height: 330px; padding: .35rem .85rem .25rem; }
#dailyTrendChart { display: block; width: 100%; }
.daily-chart-tooltip { position: absolute; z-index: 2; display: flex; width: 150px; padding: .65rem .75rem; flex-direction: column; border: 1px solid rgba(24, 61, 94, .12); border-radius: 10px; color: #e7f3fd; background: rgba(20, 49, 75, .94); box-shadow: 0 8px 22px rgba(12, 31, 48, .2); font-size: .68rem; pointer-events: none; transform: translate(-50%, -100%); }
.daily-chart-tooltip strong { margin-bottom: .25rem; color: #fff; font-size: .72rem; }
.daily-table-shell { position: relative; max-height: 640px; overflow: auto; background: #fff; scrollbar-color: #bacbd9 #f2f6f9; scrollbar-width: thin; }
.daily-table-shell::-webkit-scrollbar { width: 9px; height: 9px; }
.daily-table-shell::-webkit-scrollbar-track { background: #f2f6f9; }
.daily-table-shell::-webkit-scrollbar-thumb { border: 2px solid #f2f6f9; border-radius: 999px; background: #b7c9d8; }
.daily-table-shell::-webkit-scrollbar-thumb:hover { background: #8eabc1; }
.daily-report-table { width: 100%; min-width: 940px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.daily-report-table th,
.daily-report-table td { text-align: center !important; }
.daily-col-date { width: 13%; }
.daily-col-market { width: 15%; }
.daily-col-store { width: 22%; }
.daily-col-sales { width: 14%; }
.daily-col-target { width: 14%; }
.daily-col-completion { width: 12%; }
.daily-col-margin { width: 10%; }
.daily-report-table thead th { position: sticky; z-index: 1; top: 0; padding: .78rem .85rem; border: 0; border-bottom: 1px solid #dfe8f0; color: #657b8f; background: #f4f8fb; box-shadow: inset 0 -1px 0 rgba(215, 227, 237, .5); font-size: .66rem; font-weight: 800; letter-spacing: .035em; vertical-align: middle; white-space: nowrap; }
.daily-report-table thead th:first-child { padding-left: 1.1rem; }
.daily-report-table tbody td { height: 56px; padding: .68rem .85rem; border: 0; border-bottom: 1px solid #edf2f6; color: #3d5063; background: #fff; font-size: .76rem; vertical-align: middle; transition: background .16s ease, box-shadow .16s ease; }
.daily-report-table tbody tr:nth-child(even) td { background: #fbfdff; }
.daily-report-table tbody tr:hover td { background: #f3f8fc; }
.daily-report-table tbody td:first-child { padding-left: 1.1rem; border-left: 3px solid transparent; }
.daily-report-table tbody tr:hover td:first-child { border-left-color: #4b9bd2; }
.daily-report-table tbody tr:last-child td { border-bottom: 0; }
.daily-report-table thead th + th { border-left: 1px solid #e1e9f0; }
.daily-report-table tbody td + td { border-left: 1px solid #edf2f6; }
.daily-report-table thead th:first-child,
.daily-report-table tbody td:first-child { position: sticky; z-index: 3; left: 0; }
.daily-report-table thead th:last-child,
.daily-report-table tbody td:last-child { position: sticky; z-index: 3; right: 0; }
.daily-report-table thead th:first-child,
.daily-report-table thead th:last-child { z-index: 5; background: #f4f8fb; }
.daily-report-table tbody td:first-child,
.daily-report-table tbody td:last-child { background: #fff; }
.daily-report-table tbody tr:nth-child(even) td:first-child,
.daily-report-table tbody tr:nth-child(even) td:last-child { background: #fbfdff; }
.daily-report-table tbody tr:hover td:first-child,
.daily-report-table tbody tr:hover td:last-child { background: #f3f8fc; }
.daily-report-table thead th:first-child,
.daily-report-table tbody td:first-child,
.daily-report-table thead th:last-child,
.daily-report-table tbody td:last-child { box-shadow: none; }
.daily-date-cell { display: inline-flex; align-items: center; justify-content: center; gap: .52rem; color: #294a65; font-weight: 750; white-space: nowrap; }
.daily-date-cell i { display: block; width: 7px; height: 7px; border: 2px solid #8cb6d5; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #eef6fc; }
.daily-market-cell { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .3rem; }
.daily-region-tag,
.daily-platform-tag { display: inline-flex; margin: 0; padding: .28rem .52rem; border: 1px solid transparent; border-radius: 7px; font-size: .62rem; font-weight: 750; line-height: 1; }
.daily-region-tag { color: #26715e; border-color: #d9eee7; background: #edf8f4; }
.daily-platform-tag { color: #356c9d; border-color: #dceaf6; background: #eff6fc; }
.daily-store-name { display: block; overflow: hidden; max-width: 100%; color: #29465f; font-weight: 750; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.daily-money { color: #536b7f; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .77rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily-money.is-sales { color: #1f496b; font-weight: 750; }
.daily-money.is-target { color: #718393; }
.daily-rate { display: inline-flex; min-width: 64px; align-items: center; justify-content: center; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily-rate-pill { padding: .32rem .55rem; border: 1px solid #e4eaf0; border-radius: 999px; color: #b06f16; background: #fff8ec; }
.daily-rate-pill.is-good { color: #238364; border-color: #d5ece4; background: #edf8f4; }
.daily-rate-pill.is-watch { color: #a66d1d; border-color: #f0e2c8; background: #fff8eb; }
.daily-margin-pill { color: #466d8c; }
.daily-margin-pill.is-positive { color: #426d8d; }
.daily-margin-pill.is-bad { color: #bd4d5a; }
.daily-rate.is-empty { color: #9aa8b4; border-color: transparent; background: transparent; }
.daily-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; padding: 1.15rem 1rem; border-top: 1px solid #edf1f5; background: #fbfcfe; }
.daily-page-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .38rem; }
.daily-page-link { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 .55rem; border: 1px solid #d8e2eb; border-radius: 9px; color: #49677f; background: #fff; font-size: .78rem; font-weight: 700; line-height: 1; text-decoration: none; box-shadow: 0 1px 2px rgba(27, 71, 105, .03); transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
a.daily-page-link:hover,
a.daily-page-link:focus-visible { border-color: #80acd0; color: #1e6eae; background: #f3f8fc; box-shadow: 0 4px 12px rgba(31, 103, 160, .1); transform: translateY(-1px); }
.daily-page-link.is-current { border-color: #2477bd; color: #fff; background: linear-gradient(135deg, #2477bd, #3695d8); box-shadow: 0 5px 13px rgba(36, 119, 189, .25); }
.daily-page-link.is-disabled { color: #b3bec8; background: #f5f7f9; cursor: not-allowed; box-shadow: none; }
.daily-page-action { gap: .22rem; padding: 0 .72rem; }
.daily-page-action i { font-size: .7rem; }
.daily-page-ellipsis { display: inline-flex; width: 28px; height: 36px; align-items: center; justify-content: center; color: #90a0ae; font-weight: 700; }
.daily-page-summary { color: #8493a1; font-size: .72rem; white-space: nowrap; }
.daily-page-jump { display: inline-flex; align-items: center; gap: .38rem; color: #748595; font-size: .75rem; white-space: nowrap; }
.daily-page-jump .form-control { width: 60px; height: 36px; padding: .25rem .4rem; border-color: #d8e2eb; border-radius: 9px; color: #35546d; font-size: .78rem; font-weight: 700; text-align: center; box-shadow: none; }
.daily-page-jump .form-control:focus { border-color: #69a0cd; box-shadow: 0 0 0 3px rgba(36, 119, 189, .1); }
.daily-page-jump input[type="number"]::-webkit-inner-spin-button,
.daily-page-jump input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }
.daily-page-jump button { height: 36px; padding: 0 .78rem; border: 1px solid #8ab3d3; border-radius: 9px; color: #256fae; background: #f6faff; font-size: .75rem; font-weight: 700; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.daily-page-jump button:hover,
.daily-page-jump button:focus-visible { border-color: #2477bd; color: #fff; background: #2477bd; }
.daily-empty-state { padding: 4.5rem 1rem; border: 1px dashed #d5e0e9; border-radius: 17px; background: #fff; text-align: center; }
.daily-empty-state > span { display: grid; width: 58px; height: 58px; margin: 0 auto 1rem; place-items: center; border-radius: 17px; color: #5e85a7; background: #edf5fb; font-size: 1.4rem; }
.management-hero { position: relative; overflow: hidden; padding: 1.35rem 1.5rem; border: 1px solid #e6edf4; border-radius: 18px; background: linear-gradient(120deg, #fff 0%, #f6faff 68%, #eef7ff 100%); box-shadow: 0 8px 28px rgba(27, 74, 117, .06); }
.management-hero::after { content: ""; position: absolute; width: 180px; height: 180px; right: 18%; bottom: -135px; border-radius: 50%; border: 28px solid rgba(35, 132, 237, .05); pointer-events: none; }
.management-hero-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--ls-blue), #34a9ee); box-shadow: 0 8px 20px rgba(25, 118, 220, .22); font-size: 1.3rem; }
.management-kicker { color: #2577c8; font-size: .66rem; letter-spacing: .15em; }
.management-description { color: #64778b; font-size: .9rem; }
.management-hero .btn { position: relative; z-index: 1; min-height: 40px; border-radius: 10px; }
.account-form-card { overflow: visible; border-radius: 16px; box-shadow: 0 8px 30px rgba(16, 42, 67, .07) !important; }
.management-stat-card { display: flex; align-items: center; gap: .85rem; min-height: 92px; padding: 1rem 1.1rem; border: 1px solid #e8eef4; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(21, 56, 88, .05); }
.management-stat-card .stat-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 13px; font-size: 1.2rem; }
.management-stat-card div > span { display: block; margin-bottom: .15rem; color: #718096; font-size: .76rem; }
.management-stat-card strong { display: block; color: #172b42; font-size: 1.35rem; line-height: 1; }
.management-panel { overflow: hidden; border: 1px solid #e8eef4 !important; border-radius: 16px; box-shadow: 0 8px 28px rgba(19, 54, 87, .06); }
.management-panel table thead th { padding: .9rem 1rem; border-top: 1px solid #edf1f5; border-bottom-color: #edf1f5; color: #728296; background: #f8fafc; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.management-panel table tbody td { padding: 1rem; border-color: #edf1f5; }
.management-panel table tbody tr { transition: background .18s; }
.management-panel table tbody tr:hover { background: #f8fbff; }
.user-avatar { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #1769bd; background: linear-gradient(135deg, #e7f3ff, #dff8f3); font-size: 1rem; font-weight: 800; }
.permission-badge, .scope-chip, .department-badge { display: inline-flex; align-items: center; gap: .3rem; margin: .15rem .25rem .15rem 0; padding: .32rem .58rem; border: 1px solid #dfe9f4; border-radius: 999px; color: #315b7f; background: #f5f9fd; font-size: .72rem; font-weight: 600; }
.scope-chip { color: #25705c; border-color: #d8eee7; background: #f0faf6; }
.status-dot { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 3px currentColor; opacity: .75; }
.status-active { color: #299267; }
.status-disabled { color: #8795a3; }
.account-action { border-radius: 9px; color: #286da8; background: #fff; }
.management-mobile-card { border: 1px solid #e7edf3 !important; border-radius: 15px; box-shadow: 0 7px 22px rgba(21, 56, 88, .06); }
.mobile-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .8rem; border-radius: 11px; background: #f7f9fb; }
.mobile-info-grid span, .mobile-info-grid strong { display: block; }
.mobile-info-grid span { margin-bottom: .25rem; color: #8492a1; font-size: .65rem; }
.mobile-info-grid strong { overflow: hidden; color: #34495e; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.management-empty { padding: 3rem 1rem; border: 1px dashed #d7e0e9; border-radius: 15px; color: #8492a1; text-align: center; background: #fff; }
.management-empty i { display: block; margin-bottom: .5rem; font-size: 2rem; }
.role-card { overflow: hidden; border: 1px solid #e5edf4; border-radius: 17px; box-shadow: 0 7px 24px rgba(21, 56, 88, .06); transition: transform .2s, border-color .2s, box-shadow .2s; }
.role-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #2479d8, #2eb4bd, #7cbd45); }
.role-card:hover { transform: translateY(-3px); border-color: #cee0f1; box-shadow: 0 14px 34px rgba(21, 72, 118, .11); }
.role-card-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #2478c7; background: #eaf4ff; font-size: 1.25rem; }
.role-code { display: inline-block; padding: .2rem .45rem; border-radius: 6px; color: #64788b; background: #f4f6f8; font-size: .68rem; }
.role-description { min-height: 42px; margin: 1rem 0; line-height: 1.55; }
.role-scope-block { min-height: 78px; padding: .75rem; border: 1px solid #edf1f5; border-radius: 11px; background: #f9fbfd; }
.role-section-label { color: #60758a; font-size: .72rem; font-weight: 700; }
.department-badge { color: #635695; border-color: #e7e0fa; background: #f7f4ff; }
.role-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #edf1f5; }
.role-metrics div { min-width: 0; text-align: center; }
.role-metrics strong, .role-metrics span { display: block; }
.role-metrics strong { overflow: hidden; color: #19334c; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.role-metrics span { margin-top: .15rem; color: #8a98a6; font-size: .64rem; }
.delete-confirm-modal { overflow: hidden; border-radius: 1.25rem; box-shadow: 0 24px 70px rgba(21, 38, 58, .22); }
.delete-confirm-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 1rem; place-items: center; border-radius: 50%; color: #dc3545; background: #fff0f1; box-shadow: 0 0 0 10px rgba(220, 53, 69, .06); font-size: 1.65rem; }
.delete-confirm-eyebrow { color: #dc3545; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.delete-confirm-subject { color: #263b50; font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.business-scope-card { padding: 1.1rem 1.2rem; border: 1px solid #e4ebf2; border-radius: 14px; background: linear-gradient(135deg, #fbfdff, #f7fbff); }
.business-scope-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; padding-bottom: .85rem; border-bottom: 1px solid #e9eff5; }
.business-scope-heading > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #2278c8; background: #e8f3ff; }
.business-scope-heading h3 { margin: 0 0 .15rem; color: #20364c; font-size: .95rem; }
.business-scope-heading p { margin: 0; color: #78899a; font-size: .74rem; }
.business-scope-empty { border: 1px dashed #dbe4ed; border-radius: 13px; background: #fafcfe; }
.permission-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .65rem; }
.permission-choice { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .65rem .8rem; border: 1px solid #dfe8ef; border-radius: .65rem; background: #f8fafc; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.permission-choice:hover { border-color: #93c5fd; background: #f3f8ff; }
.permission-choice:has(input:checked) { border-color: #60a5fa; background: #eff6ff; box-shadow: 0 0 0 2px rgba(59, 130, 246, .08); }
.permission-choice input { width: 1rem; height: 1rem; accent-color: var(--ls-blue); }
.department-picker-button { min-height: 38px; border: 1px solid #dee2e6; background: #fff; }
.department-picker-button:hover,
.department-picker-button:focus { border-color: #86b7fe; background: #fff; box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12); }
.department-picker-menu { max-height: min(440px, 65vh); padding: .45rem; overflow: visible; }
.department-branch > .d-flex { border-radius: .35rem; }
.department-branch-toggle { flex: 0 0 36px; color: #6c757d; }
.department-group-menu { top: -.45rem; left: calc(100% - .15rem); z-index: 1060; min-width: 220px; max-height: 300px; overflow-y: auto; }
.department-branch.submenu-open-left > .department-group-menu { right: calc(100% - .15rem); left: auto; }
.department-branch-toggle i { transition: transform .16s ease; }
.department-branch.submenu-open-left .department-branch-toggle i { transform: rotate(180deg); }

@media (hover: hover) and (min-width: 768px) {
  .department-branch:hover > .department-group-menu { display: block; }
  .department-branch:hover .department-branch-toggle i { transform: translateX(2px); }
  .department-branch.submenu-open-left:hover .department-branch-toggle i { transform: rotate(180deg) translateX(2px); }
}

@media (max-width: 767.98px) {
  .department-picker-menu { overflow-y: auto; }
  .department-group-menu { position: static !important; width: calc(100% - 1rem); margin: .15rem .5rem .45rem !important; border-color: #e8edf3; box-shadow: none !important; }
  .department-branch.submenu-open-left > .department-group-menu { right: auto; }
  .department-branch.submenu-open-left .department-branch-toggle i { transform: none; }
}

/* Login page: constructed with Bootstrap, CSS and inline vector artwork. */
.login-page { min-height: 100vh; overflow-x: hidden; color: #102047; background: #f8fbff; }
.login-backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(circle at 12% 14%, rgba(255, 241, 169, .32), transparent 28%), radial-gradient(circle at 72% 12%, rgba(170, 215, 255, .34), transparent 34%), linear-gradient(135deg, #fffef7 0%, #f7fbff 46%, #d7ebff 100%); }
.login-backdrop::after { content: ""; position: absolute; inset: 8% -8% -15% 38%; background: linear-gradient(145deg, rgba(194, 225, 255, .3), rgba(41, 135, 244, .72)); clip-path: polygon(100% 0, 100% 100%, 0 100%, 28% 42%); }
.login-backdrop span { position: absolute; border-radius: 50%; border: 1px solid rgba(50, 144, 237, .12); }
.login-backdrop span:first-child { width: 520px; height: 520px; left: -260px; bottom: -290px; }
.login-backdrop span:nth-child(2) { width: 360px; height: 360px; right: 10%; top: -210px; }
.login-backdrop span:last-child { width: 22px; height: 22px; right: 45%; top: 20%; background: rgba(255, 179, 57, .65); border: 0; filter: blur(8px); }

.login-topbar { height: 102px; border-bottom: 1px solid rgba(67, 103, 142, .14); background: rgba(255, 255, 255, .3); backdrop-filter: blur(10px); }
.login-brand { display: flex; align-items: center; color: #07142e; }
.login-brand:hover { color: #07142e; }
.login-brand-mark { display: grid; place-items: center; width: 48px; height: 48px; padding: .26rem; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(18, 91, 173, .15); }
.login-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.login-brand-name { margin-left: .75rem; font-size: 1.55rem; font-weight: 800; letter-spacing: .06em; }
.login-brand-separator { width: 1px; height: 28px; margin: 0 1rem; background: rgba(20, 43, 78, .3); }
.login-brand-subtitle { font-size: 1.25rem; font-weight: 650; letter-spacing: .04em; }

.login-main { display: flex; align-items: center; min-height: calc(100vh - 102px); padding-top: 2rem; padding-bottom: 2rem; }
.showcase-copy { position: relative; z-index: 1; padding-left: 1rem; }
.showcase-kicker { display: inline-flex; align-items: center; margin-bottom: .85rem; color: #1376df; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.showcase-copy h1 { margin: 0; color: #071b50; font-size: clamp(2.3rem, 3.3vw, 3.8rem); font-weight: 800; line-height: 1.22; letter-spacing: -.04em; }
.showcase-copy p { margin: .8rem 0 0; color: #55708d; font-size: 1rem; }
.growth-visual { width: min(760px, 100%); margin-top: -1rem; }
.growth-visual svg { display: block; width: 100%; height: auto; overflow: visible; }

.login-panel-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.login-card { width: min(460px, 100%); overflow: hidden; border: 1px solid rgba(255, 255, 255, .86) !important; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(232, 245, 255, .48)); box-shadow: 0 30px 80px rgba(12, 79, 163, .2), inset 0 1px 0 rgba(255, 255, 255, .9); backdrop-filter: blur(24px); }
.login-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #62b535, #23a8f2, #176ef0); }
.login-heading h2 { color: #071b3d; font-size: 2rem; font-weight: 800; }
.login-heading p { font-size: .88rem; }
.login-eyebrow { color: #1478db; font-size: .68rem; font-weight: 800; letter-spacing: .18em; }
.login-input-group { overflow: hidden; min-height: 58px; border: 1px solid rgba(90, 128, 165, .28); border-radius: 999px; background: rgba(255, 255, 255, .58); transition: border-color .2s, box-shadow .2s, background .2s; }
.login-input-group:focus-within { border-color: #2f91ef; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 .22rem rgba(40, 139, 231, .13); }
.login-input-group .input-group-text,
.login-input-group .form-control { border: 0; background: transparent; box-shadow: none; }
.login-input-group .input-group-text { padding-left: 1.25rem; padding-right: .2rem; color: #1173dd; font-size: 1.25rem; }
.login-input-group .form-control { min-height: 56px; padding-left: .8rem; font-size: 1rem; }
.login-password-toggle { display: grid; flex: 0 0 54px; width: 54px; min-height: 54px; place-items: center; border: 0; border-radius: 50% !important; color: #6d8298; background: transparent; box-shadow: none !important; font-size: 1.12rem; }
.login-password-toggle:hover { color: #1173dd; background: rgba(17, 115, 221, .07); }
.login-password-toggle:focus-visible { color: #1173dd; outline: 2px solid rgba(17, 115, 221, .28); outline-offset: -5px; }
.login-submit { min-height: 58px; border: 0; border-radius: 999px; color: #fff; font-weight: 750; background: linear-gradient(100deg, #168ff6, #1266ed); box-shadow: 0 14px 28px rgba(22, 112, 236, .28); transition: transform .2s, box-shadow .2s; }
.login-submit:hover,
.login-submit:focus { color: #fff; transform: translateY(-2px); background: linear-gradient(100deg, #0b82ec, #0958dc); box-shadow: 0 18px 32px rgba(22, 112, 236, .34); }
.login-security { color: #71869a; font-size: .73rem; }
.login-security i { color: #2e9b6b; }
.login-copyright { margin: 1.4rem 0 0; color: rgba(44, 74, 110, .64); font-size: .72rem; text-align: center; }

@media (min-width: 992px) and (max-height: 820px) {
  .login-topbar { height: 82px; }
  .login-main { min-height: calc(100vh - 82px); padding-top: 1rem; padding-bottom: 1rem; }
  .showcase-copy h1 { font-size: clamp(2.15rem, 3vw, 3.1rem); }
  .growth-visual { width: min(650px, 100%); margin-top: -1.5rem; }
  .login-card .card-body { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .login-heading { margin-bottom: 1.5rem !important; }
}

@media (max-width: 991.98px) {
  .login-main { min-height: auto; padding-top: 2.5rem; padding-bottom: 3rem; }
  .login-showcase { text-align: center; }
  .showcase-copy { padding-left: 0; }
  .growth-visual { width: min(680px, 100%); margin: -1.25rem auto -1rem; }
  .login-panel-wrap { margin-top: -1rem; }
  .module-card:hover { transform: none; }
}

@media (max-width: 575.98px) {
  .page-breadcrumb { display: flex; margin-bottom: 1rem; padding: .25rem; border-radius: 10px; }
  .page-breadcrumb .breadcrumb { flex-wrap: nowrap; overflow-x: auto; font-size: .76rem; scrollbar-width: none; }
  .page-breadcrumb .breadcrumb::-webkit-scrollbar { display: none; }
  .page-breadcrumb .breadcrumb-item { flex: 0 0 auto; }
  .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { margin: 0 .08rem; }
  .page-breadcrumb a,
  .breadcrumb-current { padding: .34rem .48rem; }
  .daily-pagination { align-items: stretch; padding: 1rem .75rem; }
  .daily-page-list { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: .15rem 0 .35rem; scrollbar-width: thin; }
  .daily-page-link { flex: 0 0 auto; }
  .daily-page-summary { order: 2; }
  .daily-page-jump { order: 3; }
  .login-topbar { height: 76px; }
  .login-brand-mark { width: 40px; height: 40px; }
  .login-brand-name { margin-left: .55rem; font-size: 1.05rem; }
  .login-brand-separator { height: 22px; margin: 0 .55rem; }
  .login-brand-subtitle { font-size: .82rem; }
  .login-main { padding-top: 1.75rem; }
  .showcase-kicker { font-size: .58rem; letter-spacing: .08em; }
  .showcase-copy h1 { font-size: 2.05rem; }
  .showcase-copy p { font-size: .86rem; line-height: 1.6; }
  .growth-visual { width: 440px; max-width: 112%; margin-top: -1rem; margin-left: -6%; }
  .login-panel-wrap { margin-top: -2.5rem; }
  .login-card { border-radius: 20px; }
  .login-heading { margin-bottom: 1.75rem !important; }
  .login-heading h2 { font-size: 1.65rem; }
  .login-input-group,
  .login-submit { min-height: 54px; }
}
