/* Shared ASNI visual standard: navy navigation, blue actions, wide work area. */
.blue-theme {
    --ink: #092552; --text: #354c6d; --muted: #61728c; --line: #d8e1ef;
    --canvas: #f4f6fa; --sidebar: #001f5b; --teal: #16479c; --teal-hover: #123a80;
    --simple-green: #16479c; --simple-ink: #092552; --simple-line: #d8e1ef;
    --asni-primary: #16479c; --asni-sidebar: #001f5b; --asni-pale: #e9f0fc;
    color: var(--text); background: var(--canvas);
}
.blue-theme a { color: #16479c; }
.blue-theme a:hover { color: #123a80; }
.blue-theme .workspace { grid-template-columns: 250px minmax(0, 1fr); }
.blue-theme .workspace-content { max-width: none; margin: 0; padding: 25px 26px 0; }
.blue-theme .topbar { min-height: 68px; padding: 9px 26px; }
.blue-theme .top-brand { color: var(--ink); }
.blue-theme .top-brand .brand-name { font-size: 15px; }
.blue-theme .brand-mark { color: #16479c; background: #e9f0fc; border-color: #dbe7fa; }
.blue-theme .sidebar { background: #001f5b; }
.blue-theme .sidebar .workspace-brand { padding: 21px 16px; min-height: 98px; border-bottom-color: #ffffff26; color: #fff; }
.blue-theme .sidebar .brand-name { font-size: 14px; line-height: 1.45; }
.blue-theme .sidebar .brand-mark { flex-basis: 43px; width: 43px; height: 43px; background: #f5f8ff; border-color: #dce8fc; }
.blue-theme .workspace-menu { padding: 17px 14px; }
.blue-theme .workspace-menu a { color: #edf3ff; gap: 12px; min-height: 46px; margin-bottom: 5px; font-size: 14px; font-weight: 500; padding: 10px 12px; }
.blue-theme .workspace-menu a:hover, .blue-theme .workspace-menu a.is-active { background: #123a80; color: #fff; }
.blue-theme .workspace-menu a.is-active { box-shadow: inset 3px 0 #87bfff; }
.blue-theme .workspace-menu .glyphicon { color: #edf3ff; width: 18px; flex: 0 0 18px; font-size: 16px; }
.blue-theme .workspace-menu .simple-sidebar-main { display: block; }
.blue-theme .master-sidebar { margin: 0 0 20px; }
.blue-theme .master-sidebar > summary { display: flex; align-items: center; list-style: none; cursor: pointer; margin: 0 0 8px; padding: 12px 14px; min-height: 46px; font-size: 15px; font-weight: 600; color: #fff; border: 0; border-radius: 7px; gap: 12px; }
.blue-theme .master-sidebar > summary::-webkit-details-marker { display: none; }
.blue-theme .master-sidebar.is-current > summary { padding-left: 14px; border-left: 0; background: #123a80; }
.blue-theme .master-sidebar > summary:hover { background: #123a80; }
.blue-theme .master-sidebar > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid #d9e8ff; border-bottom: 1.5px solid #d9e8ff; margin-left: auto; transform: rotate(45deg); }
.blue-theme .master-sidebar[open] > summary::after { transform: rotate(225deg); }
.blue-theme .master-sidebar nav { margin: 0 0 0 11px; border-left: 1px solid #ffffff3a; padding: 0 0 0 9px; }
.blue-theme .workspace-menu .master-sidebar nav > a { font-size: 13px; font-weight: 500; line-height: 1.55; min-height: 42px; margin: 0 0 4px !important; padding: 10px 12px !important; color: #e4edfc; border-radius: 5px; }
.blue-theme .workspace-menu .master-sidebar nav > a.is-current { background: #16479c; box-shadow: inset 3px 0 #8ac4ff; color: #fff; font-weight: 600; }
.blue-theme .workspace-menu .master-sidebar nav > a:hover { background: #16479c; color: #fff; }
.blue-theme .simple-advanced { margin-top: 25px; padding-top: 13px; border-top-color: #ffffff3a; }
.blue-theme .simple-advanced > summary { color: #e4edfc; font-size: 13px; padding: 12px 10px; }
.blue-theme .simple-advanced > summary .glyphicon { margin-right: 9px; vertical-align: -2px; }
.blue-theme .simple-advanced a { font-size: 13px; }
.blue-theme .btn-primary { background: #16479c; border-color: #16479c; color: #fff; }
.blue-theme .btn-primary:hover, .blue-theme .btn-primary:focus, .blue-theme .btn-primary:active, .blue-theme .btn-primary:active:focus { background: #123a80; border-color: #123a80; color: #fff; }
.blue-theme .btn-default { background: #fff; color: #16479c; border-color: #b8cbea; }
.blue-theme .btn-default:hover, .blue-theme .btn-default:focus { background: #edf3fc; border-color: #86a9df; }
.blue-theme .btn, .blue-theme .form-control { border-radius: 6px; }
.blue-theme .form-control:focus { border-color: #4d7dca; box-shadow: 0 0 0 3px #e9f0fc; }
.blue-theme a:focus-visible, .blue-theme button:focus-visible, .blue-theme input:focus-visible, .blue-theme select:focus-visible, .blue-theme textarea:focus-visible, .blue-theme summary:focus-visible { outline-color: #3574ce; }
.blue-theme .dashboard-symbol, .blue-theme .master-card-icon { color: #16479c; background: #e9f0fc; }
.blue-theme .dashboard-link:hover, .blue-theme .master-card:hover { background: #f7faff; border-color: #a9c1e8; }
.blue-theme .status-active { color: #16479c; background: #e9f0fc; }
.blue-theme .finance-nav .is-current, .blue-theme .cash-nav .is-current { background: #16479c; border-color: #16479c; color: #fff; }
.blue-theme .cash-hero, .blue-theme .report-metric-emphasis { background: #123a80; border-color: #123a80; color: #fff; }
.blue-theme .report-metric-emphasis:hover, .blue-theme .report-metric-emphasis:focus { background: #001f5b; border-color: #001f5b; color: #fff; }
.blue-theme .report-metric-emphasis span, .blue-theme .report-metric-emphasis small { color: #e1ebfc; }
.blue-theme .report-metric:hover, .blue-theme .report-metric:focus { border-color: #7d9fda; }
.blue-theme .report-chart .chart-revenue { fill: #16479c; }
.blue-theme .cash-book-closing, .blue-theme .data-callout { background: #edf3fc; border-color: #c4d5f1; }
.blue-theme .cash-book-closing strong, .blue-theme .data-callout > span { color: #16479c; }
.blue-theme .data-callout { border-left-color: #6294dd; }
.blue-theme .lookup-result { border-top-color: #6294dd !important; }
.blue-theme .lookup-missing { border-top-color: #c1a36e !important; }
.blue-theme .cash-period-action summary { color: #16479c; }
.blue-theme .simple-optional { color: #315c9f; background: #edf3fc; border-color: #d9e4f6; }
.blue-theme .sample-preview, .blue-theme .simple-price-form, .blue-theme .cash-review-form { background: #f5f8fd; border-color: #dce5f4; }
.blue-theme .workspace-footer { margin-top: 10px; padding: 22px 0 24px; font-size: 11px; }
.blue-theme .app-panel { box-shadow: none; }
.blue-theme .asni-swal-container { z-index: 2000; }
.blue-theme .asni-swal { border-radius: 10px; color: #354c6d; font: 14px/1.6 'Helvetica Neue', Arial, sans-serif; }
.blue-theme .asni-swal .swal2-title { color: #092552; font-size: 23px; padding-top: 18px; }
.blue-theme .asni-swal .swal2-html-container { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.blue-theme .asni-swal .swal2-actions { gap: 10px; }
.blue-theme .asni-swal .btn { min-width: 88px; margin: 0; }
.blue-theme .asni-swal .swal2-icon.swal2-question { color: #16479c; border-color: #adc6ee; }
.blue-theme dialog > .asni-swal-container { position: fixed; inset: 0; }
@media (max-width: 1100px) {
    .blue-theme .workspace { grid-template-columns: 235px minmax(0, 1fr); }
    .blue-theme .workspace-content { padding: 23px 20px 0; }
    .blue-theme .topbar { padding-inline: 20px; }
}
@media (max-width: 820px) {
    .blue-theme .workspace { grid-template-columns: minmax(0, 1fr); }
    .blue-theme.menu-ready .sidebar { width: min(84vw, 270px); }
    .blue-theme .workspace-menu { display: block; }
    .blue-theme .workspace-content { padding: 20px 14px 0; }
    .blue-theme .topbar { padding: 9px 14px; gap: 10px; }
    .blue-theme .top-brand .brand-name { font-size: 12px; }
    .blue-theme .top-actions { gap: 8px; }
    .blue-theme .btn-logout { font-size: 12px; }
    .blue-theme .workspace-footer { font-size: 10px; flex-wrap: wrap; }
}
@media print {
    .blue-theme.phase-print { color: #000; background: #fff; }
    .blue-theme .asni-swal-container { display: none !important; }
}
