/* Scoped action evaluation surfaces: the dashboard design is unchanged. */
.ae-page {
  --ae-ink: #193d51;
  --ae-muted: #607b89;
  --ae-blue: #0b5e8a;
  --ae-teal: #087f8c;
  --ae-line: #dfe8ed;
  color: var(--ae-ink);
  min-width: 0;
}
.ae-page *, .action-create-dialog * { box-sizing: border-box; }
.ae-page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 5px 0 22px; }
.ae-page-header h1 { margin: 5px 0 8px; color: #17394c; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -.035em; font-weight: 740; }
.ae-page-header p:not(.ae-eyebrow) { margin: 0; color: #607b89; font-size: 13px; line-height: 1.6; max-width: 610px; }
.ae-eyebrow { margin: 0; color: #247990; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.ae-page .ae-button, .action-create-dialog .ae-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 37px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px;
  font: inherit; font-size: 11.5px; font-weight: 660; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.ae-page .ae-button svg { flex-shrink: 0; width: 15px; height: 15px; }
.ae-page .ae-button-primary { color: #fff; background: #0b5e8a; border-color: #0b5e8a; }
.ae-page .ae-button-primary:hover { background: #084b70; border-color: #084b70; }
.ae-page .ae-button-secondary { color: #205b76; background: #edf5f8; border-color: #d9e7ed; }
.ae-page .ae-button-secondary:hover { background: #e0eef4; border-color: #bed9e5; }
.ae-page .ae-button-quiet { color: #527786; background: transparent; border-color: transparent; }
.ae-page .ae-button-quiet:hover { color: #165d79; background: #edf5f8; }
.ae-page-header > .ae-button { flex-shrink: 0; min-height: 41px; padding: 11px 17px; }
.ae-page button:disabled { opacity: .58; cursor: wait; }
.ae-page button:focus-visible, .ae-page a:focus-visible, .ae-page summary:focus-visible { outline: 2px solid #0b5e8a; outline-offset: 3px; }
.ae-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 21px; }
.ae-summary-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 18px; border: 1px solid #dce7ed; border-radius: 16px; background: linear-gradient(130deg,#fff,#f5f9fb); box-shadow: 0 2px 9px #17384b05; }
.ae-summary-card > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #e7f1f7; color: #216684; }
.ae-summary-card > span svg { width: 19px; height: 19px; }
.ae-summary-card strong { color: #164762; font-size: 27px; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ae-summary-card p { margin: 5px 0 0; color: #67808c; font-size: 10.5px; line-height: 1.4; }
.ae-summary-card.ae-tone-teal > span, .ae-summary-card.ae-tone-green > span { background: #e4f3ef; color: #258178; }
.ae-summary-card.ae-tone-teal strong, .ae-summary-card.ae-tone-green strong { color: #147b75; }
.ae-summary-card.ae-tone-slate > span { background: #eaf0f3; color: #6c8290; }
.ae-filter-panel { display: grid; grid-template-columns: minmax(200px,1.3fr) minmax(145px,1fr) minmax(130px,.9fr) minmax(130px,.9fr); align-items: end; gap: 12px; padding: 16px 18px; border: 1px solid #dfe8ed; border-radius: 15px; background: #fff; }
.ae-filter-panel > label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ae-filter-panel label > span { color: #607b89; font-size: 10.5px; font-weight: 620; }
.ae-filter-panel input, .ae-filter-panel select { width: 100%; max-width: 100%; min-width: 0; height: 38px; margin: 0; padding: 8px 10px; border: 1px solid #dce6eb; border-radius: 9px; background: #fafcfd; color: #355c70; font: inherit; font-size: 11.5px; }
.ae-filter-panel .ae-search { position: relative; }
.ae-filter-panel .ae-search svg { position: absolute; left: 11px; top: 12px; width: 15px; height: 15px; color: #7796a5; }
.ae-page #ae-search { padding-left: 34px; }
.ae-page input:focus, .ae-page select:focus, .ae-page textarea:focus { outline: 2px solid #88b6ca; outline-offset: 1px; border-color: #88b6ca; }
.ae-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 2px 13px; }
.ae-list-heading p { margin: 0; color: #72909e; font-size: 11px; line-height: 1.5; }
.ae-list-heading strong { color: #355b6e; font-weight: 660; }
.ae-list-heading > small { color: #5d7786; font-size: 10px; text-align: right; }
.ae-plan-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ae-plan-card { min-width: 0; display: flex; flex-direction: column; padding: 21px; border: 1px solid #dce7ed; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px #17384b05; }
.ae-plan-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ae-plan-card > header > div { flex: 1; min-width: 0; }
.ae-plan-card h2 { margin: 9px 0 0; font-size: 15px; line-height: 1.5; color: #21485e; font-weight: 710; overflow-wrap: anywhere; }
.ae-lifecycle { display: inline-flex; color: #607d8d; font-size: 10px; font-weight: 600; line-height: 1.4; }
.ae-lifecycle-submitted { color: #997022; }
.ae-lifecycle-verified, .ae-lifecycle-closed { color: #237a72; }
.ae-lifecycle-overdue { color: #ad5455; }
.ae-result { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; padding: 5px 8px; border-radius: 7px; color: #607b88; background: #eef3f6; font-size: 9.5px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.ae-result i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ae-result-improved { color: #187b65; background: #e7f5ee; }
.ae-result-worsened { color: #ad5356; background: #fbeeee; }
.ae-result-collecting { color: #357b99; background: #eaf4f9; }
.ae-result-limited_data { color: #987622; background: #faf5e7; }
.ae-result-unchanged { color: #647592; background: #eef0f8; }
.ae-plan-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 11px 0 16px; color: #5d7786; font-size: 10px; line-height: 1.4; }
.ae-plan-meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.ae-plan-meta svg { width: 12px; height: 12px; flex-shrink: 0; }
.ae-compare { margin-top: auto; padding: 14px 15px; border: 1px solid #e7eef2; border-radius: 12px; background: #f7fafb; }
.ae-compare-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ae-compare-heading > span { color: #54778b; font-size: 10.5px; font-weight: 650; }
.ae-compare-heading > small { color: #5d7786; font-size: 9.5px; text-align: right; max-width: 55%; overflow-wrap: anywhere; }
.ae-compare-values { display: flex; align-items: center; gap: 12px; }
.ae-compare-values > div { flex: 1; min-width: 0; }
.ae-compare-values > div > small { color: #5d7786; font-size: 10px; }
.ae-compare-values strong { display: block; margin-top: 4px; color: #264f64; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ae-compare-values > div:nth-of-type(2) strong { color: #197f7d; }
.ae-compare-values em { margin-left: 4px; color: #5d7786; font-size: 9px; font-style: normal; font-weight: 500; letter-spacing: 0; }
.ae-compare-arrow { color: #a5b9c3; }
.ae-compare-arrow svg { width: 18px; height: 18px; }
.ae-delta { max-width: 38%; margin-left: auto; color: #6c8591; font-size: 10px; font-weight: 620; line-height: 1.5; text-align: right; }
.ae-delta small { display: block; font-size: 9px; font-weight: 500; }
.ae-delta-improved { color: #237f67; }
.ae-delta-worsened { color: #b55759; }
.ae-unconfigured { display: flex; align-items: center; gap: 12px; margin-top: auto; min-height: 117px; padding: 17px; border: 1px dashed #dbe6ec; border-radius: 12px; background: #f9fbfc; }
.ae-unconfigured > svg { flex-shrink: 0; width: 26px; height: 26px; color: #99b4c2; }
.ae-unconfigured p { margin: 0; }
.ae-unconfigured strong { display: block; color: #5d7b8b; font-size: 11px; font-weight: 650; line-height: 1.5; }
.ae-unconfigured span { display: block; margin-top: 5px; color: #5d7786; font-size: 10px; line-height: 1.5; }
.ae-plan-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 17px; }
.ae-progress { display: flex; align-items: center; gap: 12px; }
.ae-progress > span { min-width: 82px; color: #5d7786; font-size: 10px; }
.ae-progress strong { margin-left: 3px; color: #53768a; font-weight: 650; }
.ae-progress progress { display: block; flex: 1; width: 100%; min-width: 0; height: 5px; overflow: hidden; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: #edf3f6; color: #5b9caa; }
.ae-progress progress::-webkit-progress-bar { background: #edf3f6; border-radius: 999px; }
.ae-progress progress::-webkit-progress-value { background: #5b9caa; border-radius: 999px; }
.ae-progress progress::-moz-progress-bar { background: #5b9caa; border-radius: 999px; }
.ae-card-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding-top: 10px; border-top: 1px solid #edf2f5; }
.ae-page .ae-card-actions .ae-button { min-height: 32px; padding: 6px 8px; font-size: 10.5px; }
.ae-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; padding: 30px 22px; border: 1px dashed #d9e6ed; border-radius: 16px; background: #f8fbfc; text-align: center; }
.ae-empty > svg { width: 32px; height: 32px; color: #97b6c4; margin-bottom: 13px; }
.ae-empty h3 { margin: 0 0 8px; color: #537689; font-size: 15px; line-height: 1.4; font-weight: 650; }
.ae-empty p { max-width: 480px; margin: 0; color: #5d7786; font-size: 12px; line-height: 1.7; }
.ae-page-error { padding: 22px; border: 1px solid #eed7d7; border-radius: 13px; color: #915356; background: #fdf7f6; font-size: 12px; line-height: 1.6; }
.ae-page-error p { margin: 6px 0 12px; }
.ae-limit-note, .ae-muted { color: #5d7786; font-size: 11px; line-height: 1.6; }
.ae-page .ae-dialog {
  width: min(610px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid #dce7ed; border-radius: 20px; background: #fff; color: #244b60;
  box-shadow: 0 20px 65px #17384b33; overflow: auto;
}
.ae-page .ae-dialog-wide { width: min(820px, calc(100vw - 32px)); }
.ae-page .ae-dialog::backdrop { background: #17384b75; backdrop-filter: blur(4px); }
.ae-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 25px 19px; border-bottom: 1px solid #e8eef2; background: #fff; }
.ae-dialog-head h2 { margin: 0; color: #244b60; font-size: 19px; line-height: 1.35; font-weight: 710; letter-spacing: -.025em; }
.ae-dialog-head p { margin: 7px 0 0; color: #8197a3; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.ae-icon-button { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 5px; border: 0; border-radius: 10px; background: #f0f5f8; color: #698696; cursor: pointer; }
.ae-icon-button svg { width: 17px; height: 17px; }
.ae-dialog-body { padding: 22px 25px 25px; }
.ae-loading { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 160px; color: #7897a7; font-size: 12px; }
.ae-loading > span { width: 18px; height: 18px; border: 2px solid #d9e8ee; border-top-color: #5892aa; border-radius: 50%; animation: ae-spin 1s linear infinite; }
@keyframes ae-spin { to { transform: rotate(360deg); } }
.ae-detail-intro > div { display: flex; align-items: center; gap: 12px; }
.ae-detail-intro h3 { margin: 13px 0 9px; color: #254e64; font-size: 19px; line-height: 1.45; overflow-wrap: anywhere; }
.ae-detail-intro > p { margin: 0; color: #5d7786; font-size: 11px; line-height: 1.65; }
.ae-evaluation-caption { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 21px 0 12px; color: #5d7786; font-size: 10.5px; }
.ae-evaluation-caption span { display: inline-flex; align-items: center; gap: 5px; }
.ae-evaluation-caption svg { width: 14px; height: 14px; }
.ae-period-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.ae-period-card { min-width: 0; padding: 17px; border: 1px solid #dce7ed; border-radius: 13px; background: #f4f8fb; }
.ae-period-card.ae-period-after { background: #f0f9f6; border-color: #d9ece5; }
.ae-period-card > p { margin: 0 0 7px; color: #6d899a; font-size: 9px; font-weight: 750; letter-spacing: .07em; }
.ae-period-after > p { color: #5a8e80; }
.ae-period-card h3 { margin: 0; color: #456c82; font-size: 11px; font-weight: 620; line-height: 1.5; }
.ae-period-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0 14px; }
.ae-period-values span { display: block; margin-bottom: 5px; color: #5d7786; font-size: 10px; }
.ae-period-values strong { color: #28566e; font-size: 22px; font-weight: 720; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ae-period-after .ae-period-values strong { color: #277f6c; }
.ae-period-values small { color: #5d7786; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.ae-period-card footer { padding-top: 11px; border-top: 1px solid #dfeaf0; color: #5d7786; font-size: 10px; }
.ae-detail-result { display: flex; align-items: flex-start; gap: 12px; margin: 17px 0; }
.ae-detail-result p { margin: 0; color: #5d7786; font-size: 11px; line-height: 1.7; }
.ae-detail-result strong { color: #537889; font-weight: 650; }
.ae-notice { display: flex; gap: 10px; margin: 16px 0; padding: 14px 15px; border: 1px solid #dfeaf0; border-radius: 12px; background: #f4f8fb; color: #678695; font-size: 11px; line-height: 1.65; }
.ae-notice > svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; color: #7ba1b4; }
.ae-notice p { margin: 0; }
.ae-notice strong { color: #4d7287; font-weight: 650; }
.ae-notice ul { margin: 5px 0 0; padding-left: 17px; }
.ae-chart-section { margin: 20px 0 0; }
.ae-chart-section > h3, .ae-plan-context > h3, .ae-evidence-section h3 { margin: 0 0 13px; color: #486d81; font-size: 13px; font-weight: 690; }
.ae-comparison-plot { min-width: 0; }
.ae-comparison-plot .pchart-top { margin-bottom: 10px; }
.ae-comparison-plot .pchart-legend { display: none; }
.ae-comparison-plot .pchart-table-toggle { margin-left: auto; font-size: 10px; }
.ae-method-note, .ae-source-note { margin: 14px 0; color: #5d7786; font-size: 10px; line-height: 1.7; }
.ae-daily-details { border: 1px solid #e0e9ee; border-radius: 11px; margin-top: 17px; overflow: hidden; }
.ae-daily-details summary { padding: 12px 14px; color: #567e94; background: #f8fafc; font-size: 11px; font-weight: 650; cursor: pointer; }
.ae-table-scroll { max-height: 240px; overflow: auto; }
.ae-table-scroll table { width: 100%; border-collapse: collapse; font-size: 10px; }
.ae-table-scroll th, .ae-table-scroll td { padding: 9px 12px; border-top: 1px solid #eaf0f4; text-align: right; color: #708c9b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ae-table-scroll th:first-child { text-align: left; font-weight: 550; }
.ae-table-scroll thead th { position: sticky; top: 0; background: #f2f7f9; color: #57798d; font-weight: 650; }
.ae-plan-context { margin-top: 23px; padding-top: 21px; border-top: 1px solid #e6edf1; }
.ae-plan-context dl { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 23px; margin: 0; }
.ae-plan-context dl > div { min-width: 0; }
.ae-plan-context dt { color: #5d7786; font-size: 10px; line-height: 1.5; }
.ae-plan-context dd { margin: 4px 0 0; color: #5a7b8e; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-line; }
.ae-evidence-section { margin-top: 23px; padding-top: 18px; border-top: 1px solid #e6edf1; }
.ae-evidence-section > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ae-evidence-section h3 { margin: 0; }
.ae-evidence-section h3 > span { color: #5d7786; font-weight: 500; margin-left: 5px; }
.ae-evidence-section ul { display: grid; gap: 11px; padding: 0; margin: 13px 0 0; list-style: none; }
.ae-evidence-section li { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border-radius: 10px; background: #f7fafb; }
.ae-evidence-section li > svg { flex-shrink: 0; width: 17px; height: 17px; color: #80a3b4; margin-top: 1px; }
.ae-evidence-section li > div { min-width: 0; }
.ae-evidence-section li strong { color: #567c90; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.ae-evidence-section li p { margin: 5px 0; color: #5d7786; font-size: 10.5px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.ae-evidence-section li small { display: block; margin-top: 6px; color: #5d7786; font-size: 9.5px; }
.ae-verification-note { padding: 12px 14px; border-radius: 10px; background: #eef8f3; color: #609481; font-size: 11px; }
.ae-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #e6edf1; }
.ae-form-intro { margin: 0 0 21px; color: #7893a1; font-size: 12px; line-height: 1.75; }
.ae-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.ae-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.ae-field > span { color: #51748a; font-size: 11px; font-weight: 650; }
.ae-field input, .ae-field select, .ae-field textarea { width: 100%; min-width: 0; margin: 0; padding: 11px 12px; border: 1px solid #d9e6ed; border-radius: 9px; background: #fff; color: #456c83; font: inherit; font-size: 12px; line-height: 1.5; }
.ae-field textarea { resize: vertical; min-height: 88px; }
.ae-field small { color: #5d7786; font-size: 10px; line-height: 1.6; }
.ae-form-error { margin: 14px 0; padding: 11px 13px; border: 1px solid #efd6d6; border-radius: 10px; color: #a05256; background: #fff6f5; font-size: 11.5px; line-height: 1.6; }
.ae-form-error[hidden] { display: none; }
.ae-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #e6edf1; }
.action-create-dialog { width: min(700px,calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid #dce7ed; border-radius: 20px; padding: 0; background: #fff; }
#action-dialog.action-create-dialog .dialog-inner { padding: 24px; }
.action-create-dialog .dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.action-create-dialog .dialog-head h2 { margin: 0 0 7px; color: #244b60; font-size: 20px; }
.action-create-dialog .dialog-head p, .action-create-note { margin: 0; color: #7893a1; font-size: 11.5px; line-height: 1.65; }
#action-dialog.action-create-dialog .form-grid { padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.action-create-dialog .form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #537789; font-size: 11px; }
.action-create-dialog .form-field > label { color: #537789; font-size: 12px; font-weight: 650; line-height: 1.5; }
.action-create-dialog .form-field.full { grid-column: 1/-1; }
.action-create-dialog .input { width: 100%; min-width: 0; min-height: 40px; padding: 10px 11px; border: 1px solid #d9e6ed; border-radius: 9px; background: #fff; color: #456c83; font: inherit; font-size: 12px; }
.action-create-dialog textarea.input { min-height: 77px; resize: vertical; }
.action-create-dialog .form-field small { color: #5d7786; font-size: 10px; line-height: 1.5; }
.action-create-note { margin-top: 19px; padding: 13px 14px; border: 1px solid #e0eaf0; border-radius: 11px; background: #f4f8fb; }
.action-create-dialog .form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.action-create-dialog #action-create-error:not([hidden]) { margin: 15px 0; padding: 11px 13px; border: 1px solid #efd6d6; border-radius: 10px; color: #a05256; background: #fff6f5; font-size: 11.5px; }
@media (max-width: 1200px) {
  .ae-summary { gap: 10px; }
  .ae-summary-card { padding: 15px 13px; gap: 9px; }
  .ae-summary-card > span { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; }
  .ae-filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ae-plan-list { grid-template-columns: minmax(0,1fr); }
  .ae-plan-bottom { flex-direction: row; align-items: center; }
  .ae-progress { flex: 1; min-width: 90px; }
  .ae-card-actions { border: 0; padding: 0; }
}
@media (max-width: 900px) {
  .ae-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ae-summary-card { padding: 16px; }
  .ae-summary-card > span { width: 36px; height: 36px; flex-basis: 36px; }
  .ae-plan-bottom { flex-direction: column; align-items: stretch; }
  .ae-card-actions { justify-content: flex-end; padding-top: 10px; border-top: 1px solid #edf2f5; }
  .ae-list-heading > small { max-width: 150px; }
}
@media (max-width: 580px) {
  .ae-page-header { align-items: flex-start; gap: 13px; margin: 6px 0 18px; }
  .ae-page-header h1 { font-size: 23px; }
  .ae-page-header p:not(.ae-eyebrow) { font-size: 11.5px; }
  .ae-page-header > .ae-button { min-height: 36px; padding: 8px 10px; font-size: 10px; white-space: nowrap; }
  .ae-page-header > .ae-button svg { width: 13px; height: 13px; }
  .ae-summary { gap: 9px; margin-bottom: 15px; }
  .ae-summary-card { padding: 13px 11px; gap: 8px; border-radius: 13px; }
  .ae-summary-card > span { width: 30px; height: 30px; flex-basis: 30px; }
  .ae-summary-card > span svg { width: 16px; height: 16px; }
  .ae-summary-card strong { font-size: 24px; }
  .ae-summary-card p { font-size: 9.5px; }
  .ae-filter-panel { padding: 13px; gap: 11px; }
  .ae-filter-panel .ae-search { grid-column: 1/-1; }
  .ae-filter-panel label:last-child { grid-column: 1/-1; }
  .ae-filter-panel input, .ae-filter-panel select { font-size: 11px; min-height: 40px; }
  .ae-list-heading { margin-top: 17px; }
  .ae-list-heading > small { display: none; }
  .ae-list-heading p span { display: block; }
  .ae-plan-card { padding: 17px 15px; border-radius: 15px; }
  .ae-plan-card > header { flex-wrap: wrap; gap: 10px; }
  .ae-plan-card > header > div { flex-basis: 100%; }
  .ae-plan-card h2 { font-size: 14px; margin-top: 6px; }
  .ae-plan-meta { margin-top: 12px; }
  .ae-compare { padding: 13px; }
  .ae-compare-values { gap: 9px; flex-wrap: wrap; }
  .ae-compare-values strong { font-size: 24px; }
  .ae-delta { flex-basis: 100%; max-width: none; text-align: left; margin-top: 3px; font-size: 10.5px; }
  .ae-delta small { display: inline; margin-left: 5px; }
  .ae-page .ae-card-actions .ae-button { min-height: 36px; font-size: 10px; padding: 6px 7px; }
  .ae-card-actions { justify-content: flex-start; gap: 3px; }
  .ae-page .ae-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 17px; }
  .ae-dialog-head { padding: 19px 17px 16px; }
  .ae-dialog-head h2 { font-size: 17px; }
  .ae-dialog-body { padding: 18px 17px 20px; }
  .ae-detail-intro h3 { font-size: 17px; }
  .ae-period-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .ae-period-card { padding: 15px; }
  .ae-detail-result { flex-direction: column; gap: 9px; }
  .ae-form-grid, .ae-plan-context dl { grid-template-columns: minmax(0,1fr); }
  .ae-field input, .ae-field select, .ae-field textarea { font-size: 16px; }
  .ae-evidence-section > div { flex-wrap: wrap; }
  .ae-detail-actions { justify-content: flex-start; }
  .ae-form-actions > .ae-button { flex: 1; }
  .action-create-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 17px; }
  #action-dialog.action-create-dialog .dialog-inner { padding: 20px 17px; }
  #action-dialog.action-create-dialog .form-grid { grid-template-columns: minmax(0,1fr); }
  .action-create-dialog .input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ae-loading > span { animation: none; } .ae-page .ae-button { transition: none; } }
