.ai-helper-v2 { --ahv2-ink: #172a40; --ahv2-muted: #596b80; --ahv2-border: #d5dfe9; --ahv2-blue: #175cb3; color: var(--ahv2-ink); max-width: 1320px; margin: 0 auto; min-width: 0; font-size: 14px; line-height: 1.55; }
.ai-helper-v2 *, .ai-helper-v2 *::before, .ai-helper-v2 *::after { box-sizing: border-box; }
.ai-helper-v2 h2, .ai-helper-v2 h3, .ai-helper-v2 p { margin: 0; }
.ai-helper-v2 h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.035em; }
.ai-helper-v2 h3 { font-size: 17px; }
.ai-helper-v2 button, .ai-helper-v2 input, .ai-helper-v2 select { font: inherit; }
.ai-helper-v2 button { min-height: 40px; border: 1px solid var(--ahv2-blue); border-radius: 8px; padding: 8px 14px; color: #fff; background: var(--ahv2-blue); cursor: pointer; white-space: normal; }
.ai-helper-v2 button:hover:not(:disabled) { background: #104a92; }
.ai-helper-v2 button:disabled { opacity: .5; cursor: not-allowed; }
.ai-helper-v2 .ahv2-secondary { color: #284562; background: #fff; border-color: #b9c9da; }
.ai-helper-v2 .ahv2-secondary:hover:not(:disabled) { background: #edf3fa; }
.ai-helper-v2 :is(button, input, select, summary):focus-visible { outline: 3px solid #68a6ed; outline-offset: 2px; }
.ai-helper-v2 :is(input:not([type="radio"]), select) { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #bdccdb; border-radius: 7px; padding: 8px 11px; color: var(--ahv2-ink); background: #fff; text-overflow: ellipsis; }
.ai-helper-v2 :is(input, select):disabled { background: #f0f3f7; }
.ahv2-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.ahv2-heading p { color: var(--ahv2-muted); margin-top: 4px; }
.ahv2-heading button { flex-shrink: 0; }
.ahv2-eyebrow { color: #335e8d; font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.ahv2-preserve { padding: 16px 20px; border: 1px solid #b8d0ea; border-left: 4px solid var(--ahv2-blue); background: #edf5ff; border-radius: 10px; }
.ahv2-preserve p { color: #405a75; margin-top: 4px; }
.ahv2-announcement { min-height: 25px; color: #235a3f; margin: 10px 0 !important; overflow-wrap: anywhere; }
.ahv2-error, .ahv2-alert { margin-top: 12px !important; padding: 12px 16px; border: 1px solid #e8bdb9; border-radius: 8px; background: #fff4f2; color: #8a2c24; }
.ahv2-alert { color: #704d0a; background: #fff8e8; border-color: #e9d7ab; }
.ahv2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ahv2-stats > div { background: #fff; border: 1px solid var(--ahv2-border); border-radius: 10px; padding: 15px 18px; display: grid; gap: 3px; min-width: 0; }
.ahv2-stats strong { font-size: 27px; line-height: 1.3; }
.ahv2-stats span { font-weight: 600; }
.ahv2-stats small, .ahv2-caption { color: var(--ahv2-muted); font-size: 12px; }
.ahv2-caption { margin-top: 7px !important; }
.ahv2-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 24px; }
.ahv2-panel { background: #fff; border: 1px solid var(--ahv2-border); border-radius: 12px; padding: 22px; min-width: 0; }
.ahv2-panel > p { color: var(--ahv2-muted); margin-top: 8px; }
.ahv2-section-heading { display: flex; gap: 8px 14px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ahv2-section-heading > span { font-size: 12px; color: var(--ahv2-muted); }
.ahv2-station-form { display: grid; gap: 6px; margin-top: 18px; }
.ahv2-inline { display: flex; gap: 8px; align-items: start; }
.ahv2-inline input { flex: 1; }
.ahv2-inline button { flex-shrink: 0; }
.ahv2-secret { background: #fff9eb; border: 1px solid #e8cd93; padding: 15px; border-radius: 8px; margin-top: 16px; }
.ahv2-secret p { color: #725a29; font-size: 13px; margin: 6px 0 12px; }
.ahv2-secret button { margin: 4px 6px 0 0; }
.ahv2-stations { list-style: none; padding: 0; margin: 18px 0 0; }
.ahv2-stations li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e4eaf0; padding: 14px 0; }
.ahv2-stations li > div { display: grid; min-width: 0; }
.ahv2-stations strong { overflow-wrap: anywhere; }
.ahv2-stations span, .ahv2-stations small { color: var(--ahv2-muted); font-size: 12px; }
.ahv2-revoke { gap: 7px; }
.ahv2-task-form { display: grid; gap: 7px; }
.ahv2-task-form > label { font-weight: 600; margin-top: 8px; }
.ahv2-task-form fieldset { padding: 0; border: 0; margin: 14px 0 3px; min-width: 0; }
.ahv2-task-form legend { font-weight: 600; padding: 0 0 6px; }
.ahv2-provider-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ahv2-provider-options label { display: flex; gap: 8px; align-items: center; border: 1px solid #c6d2e0; border-radius: 8px; padding: 11px; cursor: pointer; }
.ahv2-provider-options label.is-selected { border-color: var(--ahv2-blue); background: #edf5ff; }
.ahv2-provider-options input[type="radio"] { accent-color: var(--ahv2-blue); flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; padding: 0; margin: 0; }
.ahv2-provider-options span { flex: 1; min-width: 0; }
.ahv2-provider-options strong { font-size: 13px; display: block; }
.ahv2-provider-options small { font-size: 11px; color: var(--ahv2-muted); display: block; }
.ahv2-scope { margin: 10px 0; padding: 12px 14px; background: #f4f7fa; border-radius: 8px; color: #4b6076; font-size: 13px; }
.ahv2-scope strong { display: block; color: #2d455e; }
.ahv2-primary { width: 100%; }
.ahv2-results { margin-top: 22px; }
.ahv2-production { margin-top: 22px; }
.ahv2-production > p, .ahv2-production-assignment p { font-size: 13px; color: var(--ahv2-muted); overflow-wrap: anywhere; }
.ahv2-production > label { display: block; margin: 14px 0 6px; font-weight: 600; }
.ahv2-production > select { width: 100%; }
.ahv2-production > button { margin-top: 12px; }
.ahv2-production-assignment { margin-top: 16px; border-top: 1px solid #dce4ed; padding-top: 14px; }
.ahv2-production-assignment > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ahv2-production-assignment strong { overflow-wrap: anywhere; }
.ahv2-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ahv2-task { border: 1px solid #dce4ed; border-radius: 9px; padding: 16px; min-width: 0; }
.ahv2-task p { color: var(--ahv2-muted); font-size: 12px; margin-top: 7px; overflow-wrap: anywhere; }
.ahv2-task-top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px; }
.ahv2-task-top > div { display: grid; min-width: 0; }
.ahv2-task-top strong, .ahv2-task-top span { overflow-wrap: anywhere; }
.ahv2-task-top > div > span { font-size: 12px; color: var(--ahv2-muted); }
.ahv2-badge { display: inline-block; padding: 4px 8px; border-radius: 5px; font-size: 11px; background: #edf1f6; color: #415b77; }
.ahv2-badge.is-saved { background: #e8f5ee; color: #246746; }
.ahv2-task .ahv2-receipt { color: #246746; font-weight: 600; }
.ahv2-receipt small { display: block; color: var(--ahv2-muted); font-weight: normal; }
.ahv2-task button { margin-top: 12px; }
.ahv2-task details { margin-top: 10px; }
.ahv2-task summary { cursor: pointer; color: #315e92; font-size: 13px; min-height: 32px; padding: 5px 0; }
.ahv2-task dl { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 5px 8px; font-size: 12px; }
.ahv2-task dd { margin: 0; overflow-wrap: anywhere; }
.ahv2-task dt { color: var(--ahv2-muted); }
.ahv2-evidence { padding-left: 20px; font-size: 12px; }
.ahv2-evidence li { margin-top: 8px; overflow-wrap: anywhere; }
.ahv2-evidence small { display: block; color: var(--ahv2-muted); }
.ahv2-empty { color: var(--ahv2-muted); padding: 22px 8px; grid-column: 1 / -1; }
@media (max-width: 850px) { .ahv2-columns, .ahv2-task-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .ahv2-heading { align-items: start; gap: 12px; flex-wrap: wrap; }
  .ahv2-heading button { min-height: 36px; padding: 6px 12px; }
  .ahv2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ahv2-stats > div { padding: 12px; }
  .ahv2-stats span { font-size: 12px; }
  .ahv2-stats small { font-size: 11px; }
  .ahv2-panel { padding: 16px; }
  .ahv2-preserve { padding: 13px 14px; }
  .ahv2-columns { margin-top: 18px; gap: 14px; }
  .ahv2-provider-options label { padding: 9px 7px; gap: 6px; }
}
