:root {
  --xb-color-navy: #0b2b49;
  --xb-color-blue: #1768ee;
  --xb-color-bg: #f5f8fc;
  --xb-color-border: #e2e8f0;
  --xb-color-text: #1f2937;
  --xb-color-muted: #6b7280;
  --xb-color-success: #22a559;
  --xb-color-warning: #f59e0b;
  --xb-color-error: #e53e3e;
  --xb-header-height: 68px;
  --xb-sidebar-width: 214px;
  --xb-card-radius: 12px;
}

* { box-sizing: border-box; }
body.mcp-shell { background: var(--xb-color-bg); color: var(--xb-color-text); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
.mcp-layout { min-height: 100vh; }
.mcp-sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--xb-sidebar-width); padding: 18px 10px 24px; border: 0; border-radius: 0; background: linear-gradient(180deg, #0d2b4c 0%, #102f53 62%, #0b2745 100%); color: #fff; overflow-y: auto; }
.mcp-brand { display: block; margin: 0 6px 28px; padding: 14px 12px 12px; border-radius: 12px; background: #fff; color: var(--xb-color-navy); }
.mcp-brand-logo { display: block; width: min(100%, 168px); height: auto; }
.mcp-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #3ca9f5, #1768ee); color: #fff; font-size: 26px; font-weight: 900; line-height: 1; transform: skew(-8deg); }
.mcp-brand-mark span { transform: skew(8deg); }
.mcp-brand-name { margin-top: 11px; color: var(--xb-color-navy); font-size: 14px; font-weight: 800; }
.mcp-brand-sub { margin-top: 3px; color: #61738b; font-size: 12px; }
.mcp-selected-container { display: grid; gap: 4px; margin: -8px 0 18px; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.07); }
.mcp-selected-container a { color: #b8c9df; font-size: 12px; text-decoration: none; }
.mcp-selected-container a:hover { color: #fff; }
.mcp-selected-container strong { overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.mcp-selected-container span { color: #b8c9df; font-size: 12px; }
.mcp-nav { gap: 6px; }
.mcp-nav-section { margin: 18px 12px 6px; color: #9fb4cf; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.mcp-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; color: #e7effa; font-size: 14px; }
.mcp-nav a:hover, .mcp-nav a.is-active { background: var(--xb-color-blue); color: #fff; }
.mcp-nav a.is-disabled { color: #8198b6; }
.mcp-nav-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mcp-sidebar-footer .mcp-btn { width: 100%; justify-content: center; }
.mcp-main { margin-left: var(--xb-sidebar-width); }
.mcp-topbar { position: fixed; z-index: 30; inset: 0 0 auto var(--xb-sidebar-width); height: var(--xb-header-height); padding: 0 28px; margin-left: 0; border: 0; background: rgba(255,255,255,.96); box-shadow: 0 1px 8px rgba(15,23,42,.06); }
.mcp-topbar-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mcp-menu-toggle, .mcp-icon-btn, .mcp-avatar-btn { border: 0; background: transparent; color: var(--xb-color-navy); cursor: pointer; }
.mcp-menu-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; }
.mcp-menu-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mcp-topbar-title { padding-left: 14px; border-left: 1px solid var(--xb-color-border); font-size: 18px; font-weight: 800; white-space: nowrap; }
.mcp-topbar .mcp-page-kicker, .mcp-topbar .mcp-page-title, .mcp-topbar .mcp-page-subtitle { display: none; }
.mcp-topbar-actions { gap: 14px; }
.mcp-icon-btn { display: grid; place-items: center; width: 38px; height: 38px; }
.mcp-icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mcp-user-menu { position: relative; }
.mcp-avatar-btn { display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 12px; border-left: 1px solid var(--xb-color-border); font-weight: 700; }
.mcp-user-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: none; min-width: 180px; padding: 8px; border: 1px solid var(--xb-color-border); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.12); }
.mcp-user-menu.is-open .mcp-user-menu-panel { display: grid; }
.mcp-user-menu-panel a { padding: 10px 12px; color: var(--xb-color-text); text-decoration: none; border-radius: 7px; }
.mcp-user-menu-panel a:hover { background: var(--xb-color-bg); color: var(--xb-color-blue); }
.mcp-content { padding: calc(var(--xb-header-height) + 20px) 20px 32px; }
.mcp-page, .mcp-page-head { max-width: 1440px; margin: 0 auto; }
.mcp-breadcrumb { margin-bottom: 18px; }
.mcp-breadcrumb a:hover { color: var(--xb-color-blue); }
.mcp-page-header, .mcp-page-head { align-items: center; margin-bottom: 24px; }
.mcp-page-title, .mcp-page-head h2 { color: var(--xb-color-navy); font-size: 28px; }
.mcp-page-description { font-size: 14px; }
.mcp-card { border-color: var(--xb-color-border); border-radius: var(--xb-card-radius); box-shadow: 0 4px 14px rgba(15,23,42,.05); }
.mcp-list-filter { margin-bottom: 18px; }
.mcp-filter-form { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto minmax(140px, .45fr) auto; gap: 10px; align-items: center; }
.mcp-filter-form .mcp-label { color: var(--xb-color-muted); font-size: 12px; }
.mcp-stat .value { color: var(--xb-color-navy); }
.mcp-table-wrap { border-color: var(--xb-color-border); }
.mcp-table th { background: #eef4fb; color: var(--xb-color-navy); text-transform: none; letter-spacing: 0; }
.mcp-table td { padding-top: 16px; padding-bottom: 16px; }
.mcp-table tr:hover td { background: #f7fbff; }
.mcp-connector-table { min-width: 960px; table-layout: fixed; }
.mcp-connector-table th, .mcp-connector-table td { padding-left: 16px; padding-right: 16px; vertical-align: middle; }
.mcp-connector-table .mcp-connector-col-name { width: 18%; text-align: left; }
.mcp-connector-table .mcp-connector-col-method { width: 24%; text-align: left; }
.mcp-connector-table .mcp-connector-col-auth { width: 18%; text-align: left; white-space: nowrap; }
.mcp-connector-table .mcp-connector-col-setting { width: 16%; text-align: center; white-space: nowrap; }
.mcp-connector-table .mcp-connector-col-action { width: 12%; text-align: center; white-space: nowrap; }
.mcp-connector-table .mcp-connector-col-status { width: 12%; text-align: center; white-space: nowrap; }
.mcp-connector-method { line-height: 1.5; }
.mcp-connector-method .mcp-muted { margin-top: 2px; }
.mcp-connector-help-callout, .mcp-salesforce-help-callout { margin: 0 0 20px; padding: 16px; border: 1px solid rgba(23,104,238,.22); border-radius: 10px; background: #eef6ff; color: var(--xb-color-navy); }
.mcp-connector-help-callout p, .mcp-salesforce-help-callout p { margin: 6px 0 12px; color: var(--xb-color-muted); font-size: 13px; }
.mcp-help-callback { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mcp-help-callback code { display: inline-block; padding: 10px 12px; border-radius: 6px; background: #f5f7fb; word-break: break-all; }
.mcp-help-page { max-width: 1080px; }
.mcp-help-intro { border-left: 4px solid var(--xb-color-blue); background: #eef6ff; }
.mcp-help-notice { border-left: 4px solid var(--xb-color-warning); background: #fff8e8; }
.mcp-help-notice strong { color: #8a5a00; }
.mcp-help-step { padding: 22px; }
.mcp-help-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mcp-help-step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--xb-color-blue); color: #fff; font-weight: 800; }
.mcp-help-step h2 { margin: 0; color: var(--xb-color-navy); font-size: 20px; }
.mcp-help-step p { line-height: 1.8; }
.mcp-help-checklist { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.mcp-help-checklist li { line-height: 1.7; }
.mcp-help-checklist li::before { content: "□"; display: inline-block; margin-right: 8px; color: var(--xb-color-blue); font-size: 18px; vertical-align: -1px; }
.mcp-help-table-wrap { overflow-x: auto; margin: 16px 0; }
.mcp-help-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.mcp-help-table th, .mcp-help-table td { padding: 12px 14px; border: 1px solid var(--xb-color-border); text-align: left; vertical-align: top; }
.mcp-help-table th { width: 36%; background: #eef4fb; color: var(--xb-color-navy); }
.mcp-help-links { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.mcp-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mcp-help-muted { color: var(--xb-color-muted); font-size: 13px; }
.mcp-btn-primary, .mcp-btn.primary { background: var(--xb-color-blue); border-color: var(--xb-color-blue); }
.mcp-btn-primary:hover, .mcp-btn.primary:hover { background: #0f56cf; }
.mcp-input:focus, .mcp-select:focus, .mcp-textarea:focus, .mcp-btn:focus, .mcp-nav a:focus, .mcp-avatar-btn:focus, .mcp-menu-toggle:focus { outline: 3px solid rgba(23,104,238,.24); outline-offset: 2px; }
.mcp-login-page { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; overflow: hidden; min-height: 100vh; padding: 32px 24px; background: linear-gradient(135deg, #fff 0%, #f5f9ff 48%, #dcecff 100%); }
.mcp-login-page::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -80px; height: 220px; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.46); box-shadow: 0 -24px 0 rgba(255,255,255,.22), 0 -48px 0 rgba(255,255,255,.16); }
.mcp-login-card { position: relative; z-index: 1; max-width: 880px; padding: 66px 92px 60px; border: 0; border-radius: 34px; box-shadow: 0 18px 50px rgba(38,87,145,.13); }
.mcp-login-brand { width: min(880px, 100%); display: flex; justify-content: center; align-items: center; }
.mcp-login-logo { display: block; width: min(290px, 100%); height: auto; }
.mcp-login-card .mcp-brand { margin-bottom: 32px; padding: 0; background: transparent; text-align: center; }
.mcp-login-card .mcp-brand-logo { display: none; }
.mcp-login-card .mcp-brand-mark { display: none; }
.mcp-login-card .mcp-brand-name { color: var(--xb-color-navy); font-size: 30px; text-align: center; }
.mcp-login-card .mcp-brand-sub { margin-top: 10px; color: var(--xb-color-muted); font-size: 16px; text-align: center; }
.mcp-login-card .mcp-form-group { margin-bottom: 20px; }
.mcp-login-card .mcp-label { color: var(--xb-color-navy); font-size: 16px; }
.mcp-login-card .mcp-input { height: 54px; border-radius: 10px; font-size: 15px; }
.mcp-login-card .mcp-btn { height: 56px; border-radius: 10px; font-size: 18px; font-weight: 700; }
.mcp-login-help { display: block; margin-top: 24px; color: var(--xb-color-blue); text-align: center; text-decoration: none; font-size: 14px; }
.mcp-login-help:hover { text-decoration: underline; }
.mcp-login-input-wrap { position: relative; }
.mcp-login-input-wrap .mcp-input { padding-left: 48px; padding-right: 48px; }
.mcp-input-icon, .mcp-password-toggle { position: absolute; top: 50%; transform: translateY(-50%); color: #7890b2; }
.mcp-input-icon { left: 16px; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mcp-password-toggle { right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.mcp-password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mcp-dashboard-page { max-width: 1600px; }
.mcp-dashboard-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.mcp-dashboard-container-name { margin: 6px 0 0; color: var(--xb-color-muted); font-size: 15px; }
.mcp-dashboard-container-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border: 1px solid #8598b2; border-radius: 50%; vertical-align: 1px; }
.mcp-dashboard-period { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--xb-color-border); border-radius: 10px; background: #fff; }
.mcp-dashboard-updated { display: inline-flex; align-items: center; gap: 6px; margin-right: 9px; color: var(--xb-color-muted); font-size: 11px; white-space: nowrap; }
.mcp-dashboard-updated a { display: inline-flex; color: var(--xb-color-muted); }
.mcp-dashboard-updated svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mcp-dashboard-period a { padding: 8px 16px; border-radius: 7px; color: var(--xb-color-muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.mcp-dashboard-period a:hover, .mcp-dashboard-period a.is-active { background: #eaf3ff; color: var(--xb-color-blue); }
.mcp-dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mcp-dashboard-kpi { min-height: 144px; padding: 18px; }
.mcp-dashboard-kpi-top { display: flex; align-items: center; gap: 9px; color: var(--xb-color-muted); font-size: 13px; font-weight: 700; }
.mcp-dashboard-kpi-top svg { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 10px; background: #edf5ff; fill: none; stroke: var(--xb-color-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mcp-dashboard-kpi:nth-child(2) .mcp-dashboard-kpi-top svg { background: #eaf9f1; stroke: #16a66a; }
.mcp-dashboard-kpi-value { margin-top: 14px; color: var(--xb-color-navy); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.mcp-dashboard-kpi-primary { border-color: #b9d6ff; background: linear-gradient(145deg, #fff, #f1f7ff); }
.mcp-dashboard-kpi-primary .mcp-dashboard-kpi-value { color: var(--xb-color-blue); }
.mcp-dashboard-kpi-value.is-warning { color: #bd6b16; }
.mcp-dashboard-kpi-note, .mcp-dashboard-kpi-subnote { margin-top: 3px; color: var(--xb-color-muted); font-size: 12px; }
.mcp-dashboard-kpi-subnote { color: #bd6b16; }
.mcp-dashboard-chart-card { margin-top: 16px; padding: 22px; }
.mcp-dashboard-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mcp-dashboard-section-heading h2 { margin: 0; color: var(--xb-color-navy); font-size: 17px; }
.mcp-dashboard-section-heading p { margin: 5px 0 0; color: var(--xb-color-muted); font-size: 12px; }
.mcp-dashboard-legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--xb-color-muted); font-size: 12px; }
.mcp-dashboard-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mcp-dashboard-legend i { display: inline-block; width: 16px; height: 4px; border-radius: 3px; }
.mcp-dashboard-legend-bar { background: #8bb7f7; }
.mcp-dashboard-legend-line { background: #174ea6; }
.mcp-dashboard-chart { position: relative; min-height: 285px; overflow: hidden; }
.mcp-dashboard-chart canvas { display: block; max-width: 100%; }
.mcp-dashboard-chart-empty { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; color: var(--xb-color-muted); font-size: 13px; }
.mcp-dashboard-chart.is-empty .mcp-dashboard-chart-empty { display: flex; }
.mcp-dashboard-chart.is-empty canvas { display: none; }
.mcp-dashboard-trend-data { display: none; }
.mcp-dashboard-section-heading h2 { display: flex; align-items: center; gap: 8px; }
.mcp-dashboard-section-heading h2 svg { width: 21px; height: 21px; fill: none; stroke: var(--xb-color-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.mcp-dashboard-chart-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr); gap: 28px; min-height: 265px; }
.mcp-dashboard-main-chart { min-width: 0; padding-right: 24px; border-right: 1px solid var(--xb-color-border); }
.mcp-dashboard-active-chart { min-width: 0; }
.mcp-dashboard-main-chart h3, .mcp-dashboard-active-chart h3 { margin: 2px 0 10px; color: var(--xb-color-navy); font-size: 14px; }
.mcp-dashboard-chart-legend { display: flex; justify-content: center; gap: 16px; margin-top: 2px; color: var(--xb-color-muted); font-size: 11px; }
.mcp-dashboard-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mcp-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.mcp-dashboard-panel { min-width: 0; padding: 20px; }
.mcp-dashboard-table-wrap { overflow-x: auto; }
.mcp-dashboard-table { width: 100%; min-width: 500px; border-collapse: collapse; font-size: 13px; }
.mcp-dashboard-table th, .mcp-dashboard-table td { padding: 11px 8px; border-bottom: 1px solid var(--xb-color-border); text-align: left; white-space: nowrap; }
.mcp-dashboard-table th { color: var(--xb-color-muted); font-size: 11px; font-weight: 700; }
.mcp-dashboard-table td { color: var(--xb-color-navy); }
.mcp-dashboard-table tr:last-child td { border-bottom: 0; }
.mcp-dashboard-table strong { font-weight: 800; }
.mcp-dashboard-empty { padding: 32px 8px !important; color: var(--xb-color-muted) !important; text-align: center !important; }
.mcp-dashboard-connector-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--xb-color-blue); }
.mcp-dashboard-empty-state { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 126px; color: var(--xb-color-muted); font-size: 13px; }
.mcp-dashboard-empty-state svg { width: 20px; height: 20px; fill: none; stroke: #2d9a68; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mcp-dashboard-alerts { display: grid; gap: 8px; }
.mcp-dashboard-alert { display: grid; grid-template-columns: 42px minmax(150px, .65fr) minmax(180px, 1.35fr) auto 10px; align-items: center; gap: 14px; min-height: 52px; padding: 8px 12px; border: 1px solid #e3eaf3; border-radius: 9px; background: #fff; color: var(--xb-color-navy); }
.mcp-dashboard-alert.notice { border-color: #f1d9a7; }
.mcp-dashboard-alert.critical { border-color: #f2caca; }
.mcp-dashboard-alert.info { border-color: #c8def8; }
.mcp-dashboard-alert-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f5b52e; color: #fff; }
.mcp-dashboard-alert.critical .mcp-dashboard-alert-mark { background: #e44747; }
.mcp-dashboard-alert.info .mcp-dashboard-alert-mark { background: #2d82df; }
.mcp-dashboard-alert-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mcp-dashboard-alert-mark svg { width: 21px; height: 21px; }
.mcp-dashboard-alert-title, .mcp-dashboard-alert-message { min-width: 0; }
.mcp-dashboard-alert-title strong, .mcp-dashboard-alert-message span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcp-dashboard-alert-title strong { font-size: 15px; }
.mcp-dashboard-alert-message span { color: var(--xb-color-navy); font-size: 13px; }
.mcp-dashboard-alert-status { display: inline-block; padding: 4px 10px; border: 1px solid #f1d9a7; border-radius: 5px; background: #fff7e8; color: #bd7418; font-size: 11px; font-weight: 700; white-space: nowrap; }
.mcp-dashboard-alert.critical .mcp-dashboard-alert-status { border-color: #f2caca; background: #fff0ef; color: #c63e3e; }
.mcp-dashboard-alert.info .mcp-dashboard-alert-status { border-color: #c8def8; background: #eef6ff; color: #2675c9; }
.mcp-dashboard-alert-arrow { color: #8fa2b9; font-size: 22px; line-height: 1; }
.mcp-dashboard-alert-heading-icon { width: 22px; height: 22px; fill: #d34545 !important; stroke: #d34545 !important; stroke-width: 1.5 !important; }
.mcp-dashboard-status { color: var(--xb-color-blue); font-size: 12px; font-weight: 700; }
.mcp-dashboard-result { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mcp-dashboard-result.is-success { background: #e9f7ef; color: #237b4b; }
.mcp-dashboard-result.is-failed { background: #fff0ef; color: #b5413e; }
.mcp-dashboard-privacy { margin: 20px 0 0; color: var(--xb-color-muted); font-size: 11px; }
@media (max-width: 1399px) { .mcp-dashboard-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .mcp-dashboard-header { align-items: flex-start; flex-direction: column; } .mcp-dashboard-grid { grid-template-columns: 1fr; } .mcp-dashboard-alert { grid-template-columns: 38px minmax(0, 1fr) auto 10px; gap: 10px; } .mcp-dashboard-alert-mark { width: 38px; height: 38px; } .mcp-dashboard-alert-message { grid-column: 2; } }
@media (max-width: 900px) { .mcp-dashboard-chart-layout { grid-template-columns: 1fr; gap: 18px; } .mcp-dashboard-main-chart { padding-right: 0; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid var(--xb-color-border); } }
@media (max-width: 520px) { .mcp-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mcp-dashboard-kpi { min-height: 132px; padding: 14px; } .mcp-dashboard-kpi-value { font-size: 25px; } .mcp-dashboard-period { flex-wrap: wrap; } .mcp-dashboard-updated { width: 100%; justify-content: flex-end; margin-right: 0; } .mcp-dashboard-period a { padding: 7px 12px; } }
@media (max-width: 1199px) {
  .mcp-sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 24px rgba(15,23,42,.16); }
  .mcp-sidebar.is-open { transform: translateX(0); }
  .mcp-main { margin-left: 0; }
  .mcp-topbar { margin-left: 0; }
  .mcp-menu-toggle { display: inline-grid; }
  .mcp-sidebar-backdrop { display: none; position: fixed; z-index: 15; inset: var(--xb-header-height) 0 0; background: rgba(11,43,73,.35); }
  .mcp-sidebar-backdrop.is-visible { display: block; }
}
@media (min-width: 1200px) { .mcp-menu-toggle { display: none; } }
@media (max-width: 700px) {
  .mcp-topbar { padding: 0 16px; }
  .mcp-topbar-title { font-size: 15px; }
  .mcp-topbar-user-meta { display: none; }
  .mcp-topbar-actions { gap: 8px; }
  .mcp-avatar-btn { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mcp-content { padding: calc(var(--xb-header-height) + 22px) 16px 32px; }
  .mcp-filter-form { grid-template-columns: 1fr; }
  .mcp-grid.cards, .mcp-grid-4, .mcp-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp-login-card { padding: 42px 24px 36px; border-radius: 24px; }
  .mcp-login-brand { width: 100%; }
  .mcp-login-card .mcp-brand-name { font-size: 23px; }
  .mcp-help-step { padding: 18px; }
  .mcp-help-step-header { align-items: flex-start; }
  .mcp-help-actions .mcp-btn { width: 100%; justify-content: center; }
}
@media (max-width: 430px) { .mcp-grid.cards, .mcp-grid-4, .mcp-grid-5 { grid-template-columns: 1fr; } }
