/* Hallmark · scope: app · direction: recorded Outlook reference · brand: original Veto asset · theme: source-locked neutral */
/* Critique: restore source proportions; reduce boxed layers; expose draft content; quiet document actions and chrome. */
/* User-pinned reconstruction: preserve illustrative Outlook host, existing handlers, source glyphs and dense native typography. */
.veto-product {
  --vp-bg: #202122;
  --vp-surface: #292a2c;
  --vp-line: #3e3f41;
  --vp-fg: #f1f1ef;
  --vp-muted: #b2b2af;
  --vp-accent: #e2e2de;
  --vp-hover: #303133;
  --vp-danger: #efaaa0;
  --vp-on-accent: #202122;
  --vp-shadow: 0 3px 10px #0000001a;
  --vp-dialog-shadow: -12px 0 32px #00000016;
  --vp-font: Arial, sans-serif;
  --vp-rail-width: 270px;
}
html[data-prototype-theme="dark"] .veto-product {
  --vp-bg: #202122;
  --vp-surface: #292a2c;
  --vp-line: #3e3f41;
  --vp-fg: #f1f1ef;
  --vp-muted: #b2b2af;
  --vp-accent: #e2e2de;
  --vp-hover: #303133;
}
html[data-prototype-theme="light"] .veto-product {
  --vp-bg: #f3f3f3;
  --vp-surface: #ffffff;
  --vp-line: #e1e1df;
  --vp-fg: #252525;
  --vp-muted: #6d6d69;
  --vp-accent: #252525;
  --vp-hover: #eaeae8;
  --vp-danger: #a54438;
  --vp-on-accent: #ffffff;
  --vp-shadow: 0 3px 10px #0000000d;
}

/* The only changes to host geometry reserve space for the teammate. */
.veto-product #app .rail { width: var(--vp-rail-width); background: var(--vp-bg) !important; border-left: 1px solid var(--vp-line) !important; color: var(--vp-fg); }
.veto-product #app .reader { right: calc(var(--vp-rail-width) + 10px); }
.veto-product #app .ribbon { right: var(--vp-rail-width); }
.veto-product #app.veto-pane-closed .reader { right: 10px; }
.veto-product #app.veto-pane-closed .ribbon { right: 0; }

.veto-product #app.veto-pane-closed .ribbon-control[data-action="open-pane"] { width: 32px !important; justify-content: center; background: inherit !important; z-index: 1; }
.veto-product #app .rail,
.veto-product .veto-dialog { color-scheme: dark; font-family: var(--vp-font); -webkit-font-smoothing: antialiased; }
html[data-prototype-theme="light"] .veto-product #app .rail,
html[data-prototype-theme="light"] .veto-product .veto-dialog { color-scheme: light; }
.veto-product #app .brand { padding: 0 18px; background: var(--vp-bg) !important; border-bottom: 1px solid var(--vp-line); }
html[data-prototype-theme="light"] .veto-product #app .brand { background: var(--vp-surface) !important; }
.veto-product #app .brand .veto-wordmark { width: 61px; height: 21px; }
.veto-product #app .utilities { padding: 0 15px; border-bottom: 0; }
.veto-product #app .brand .end button,
.veto-product #app .utilities button:not(.small-avatar) { margin: 0; padding: 5px; border: 0 !important; background: transparent !important; }
.veto-product #app .brand .end button { width: 28px; height: 28px; min-height: 28px; border-radius: 6px; }
.veto-product #app .utilities button:not(.small-avatar) { width: 26px; height: 28px; min-height: 28px; border-radius: 6px; display: inline-flex; justify-content: center; align-items: center; }
.veto-product #app .brand .end button:hover,
.veto-product #app .utilities button:not(.small-avatar):hover { background: var(--vp-hover) !important; color: var(--vp-fg) !important; }
.veto-product #app .small-avatar { width: 18px; height: 18px; padding: 0; border-radius: 50%; background: var(--vp-hover) !important; color: var(--vp-fg) !important; border: 0; font-size: 9px; }
.veto-product #app .greeting { left: 14px; right: 14px; font-size: 18px; line-height: 23px; letter-spacing: -.6px; color: var(--vp-fg); }
.veto-product #app .greeting .muted { color: var(--vp-muted) !important; }
.veto-product #app .greeting .veto-disclaimer { margin: 12px auto 0 !important; max-width: 260px; font-size: 11px !important; line-height: 1.55 !important; }
.veto-product #app .greeting > .veto-button { margin: 0; padding: 4px 7px; min-height: 26px; border: 0 !important; background: transparent !important; color: var(--vp-muted) !important; font-size: 11px; }

/* Scrollable work area and reusable controls. */
.veto-product #app .chat-scroll,
.veto-product #app .veto-panel { padding: 20px 14px 20px; bottom: 176px; font-size: 12px; line-height: 1.5; color: var(--vp-fg); scrollbar-gutter: stable; }
.veto-product #app .chat-scroll.summary-start { padding-top: 40px; }
.veto-product #app .chat-scroll.draft-start { padding-top: 18px; }
.veto-product #app #response-text { font-size: 12px; line-height: 1.5; }
.veto-product #app .veto-response-body { font-size: 11px; line-height: 17px; }
.veto-product #app .veto-response-body h3 { font-size: 12px; line-height: 17px; }
.veto-product #app .chat-scroll h3 { margin: 18px 0 8px; font-size: 13px; line-height: 1.45; }
.veto-product #app .chat-scroll p { margin: 10px 0; }
.veto-product #app .chat-scroll ul { padding-left: 20px; margin: 10px 0; }
.veto-product #app .chat-scroll li { margin: 5px 0; }
.veto-product .veto-panel-header { margin-bottom: 18px; gap: 12px; }
.veto-product .veto-panel h3,
.veto-product .veto-dialog h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.2px; }
.veto-product .veto-button { min-height: 30px; margin: 3px 4px 3px 0; padding: 7px 10px; gap: 6px; border-radius: 7px; border-color: var(--vp-line) !important; background: var(--vp-surface) !important; color: var(--vp-fg) !important; font-size: 12px; line-height: 1.4; }
.veto-product .veto-button:hover:not(:disabled) { background: var(--vp-hover) !important; border-color: var(--vp-muted) !important; }
.veto-product .veto-button:active:not(:disabled) { background: var(--vp-hover) !important; transform: translateY(1px); }
.veto-product .veto-panel-header .veto-button { min-height: 28px; padding: 5px 8px; font-size: 11px; }
.veto-product .veto-field { min-height: 37px; padding: 9px 10px; margin: 7px 0 15px; border-radius: 7px; font-size: 12px; line-height: 1.5; box-sizing: border-box; }
.veto-product .veto-field::placeholder { color: var(--vp-muted); opacity: 1; }
.veto-product .veto-list { gap: 9px; }
.veto-product .veto-list > .veto-button { width: 100%; margin: 0; min-height: 42px; padding: 11px 12px; }
.veto-product .veto-list-item { padding: 15px 0; }
.veto-product .veto-list-item:first-child { padding-top: 3px; }
.veto-product .veto-list-item b { font-size: 13px; line-height: 1.45; font-weight: 600; }
.veto-product .veto-list-item p { margin: 7px 0 10px; color: var(--vp-muted); font-size: 12px; line-height: 1.6; }
.veto-product .veto-list-item small { font-size: 11px; line-height: 1.5; }
.veto-product .veto-menu { gap: 8px; }
.veto-product .veto-empty,
.veto-product .veto-disclaimer { font-size: 11px !important; line-height: 1.6 !important; }
.veto-product .veto-submitted-prompt { padding: 9px 11px; border: 0; background: var(--vp-surface); border-radius: 7px; margin-bottom: 16px; font-size: 11px; line-height: 1.5; }
.veto-product .veto-message { margin-bottom: 20px; padding-bottom: 20px; }
.veto-product .veto-inline-actions { gap: 6px; margin-top: 14px; }
.veto-product .veto-inline-actions .veto-button { min-height: 28px; padding: 5px 8px; font-size: 11px; }
.veto-product #app .generating { color: var(--vp-muted) !important; font-size: 12px; gap: 8px; margin-bottom: 16px; }
.veto-product .veto-response-label { display: flex; align-items: center; margin: 0 0 9px; line-height: 18px; color: var(--vp-fg); }
.veto-product .veto-response-label .veto-mark { width: 15px; height: 15px; color: var(--vp-fg); }

/* A quiet, anchored composer with a genuine focus boundary. */
.veto-product #app .composer-wrap { left: 7px; right: 7px; bottom: 67px; }
.veto-product #app .context { height: 28px; margin: 0 8px; padding: 0 7px; border: 0; border-radius: 10px 10px 0 0; background: var(--vp-surface) !important; box-shadow: none !important; }
.veto-product #app .context > button { margin: 0; padding: 2px 0; min-height: 22px; border: 0 !important; background: transparent !important; }
.veto-product #app .context > button:first-child .native-icon { width: 14px; height: 14px; }
.veto-product #app .context > button[data-action="remove-context"] { margin-left: auto; }
.veto-product #app .context > button:first-child { max-width: 250px; font-size: 11px; text-align: left; color: var(--vp-muted) !important; }
.veto-product #app .context > button:first-child:hover { color: var(--vp-fg) !important; background: transparent; }
.veto-product #app .context > [data-action="remove-context"] { width: 22px; height: 22px; border-radius: 4px; }
.veto-product #app .composer { height: 78px; padding: 11px 10px 32px; border: 1px solid transparent; border-radius: 14px; background: var(--vp-surface) !important; box-shadow: var(--vp-shadow) !important; }
.veto-product #app .composer.has-prompt { height: 110px; }
.veto-product #app .composer:focus-within { border-color: var(--vp-muted); box-shadow: var(--vp-shadow) !important; }
.veto-product #app .composer textarea { height: 100%; padding: 0; font-size: 11px; line-height: 1.5; color: var(--vp-fg) !important; background: transparent !important; }
.veto-product #app .composer textarea::placeholder { color: var(--vp-muted) !important; opacity: 1; }
.veto-product #app .composer .composer-tools { right: 9px; bottom: 8px; gap: 9px; color: var(--vp-muted) !important; }
.veto-product #app .composer-tools > button { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; padding: 5px; border-radius: 6px; }
.veto-product #app .composer-tools > button:hover:not(:disabled) { background: var(--vp-hover) !important; }
.veto-product #app .composer-tools .ask { background: var(--vp-accent) !important; color: var(--vp-on-accent) !important; border-radius: 50%; }
.veto-product #app .composer-tools .ask:hover:not(:disabled) { background: var(--vp-accent) !important; opacity: .88; }
.veto-product #app .composer-tools .ask:disabled { background: var(--vp-line) !important; color: var(--vp-muted) !important; opacity: .6; cursor: default; }
.veto-product #app .composer-wrap > .veto-button { margin: 0 0 6px 2px; min-height: 24px; padding: 3px 7px; font-size: 11px; }
.veto-product #app .rail-nav { height: 60px; border-top: 1px solid var(--vp-line) !important; background: var(--vp-bg); padding: 0; gap: 0; }
.veto-product #app .rail-nav button { position: relative; border-radius: 0; gap: 5px; font-size: 10px; color: var(--vp-muted) !important; }
.veto-product #app .rail-nav button:hover { background: var(--vp-surface) !important; color: var(--vp-fg) !important; }
.veto-product #app .rail-nav button.active { background: transparent !important; color: var(--vp-fg) !important; }

/* Draft artifact: metadata, content, supporting actions, then one clear next step. */
.veto-product .veto-draft-card { overflow: hidden; margin: 8px 0 10px; border: 1px solid var(--vp-line); border-radius: 6px; background: var(--vp-bg); color: var(--vp-fg); }
.veto-product .veto-draft-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 11px 11px 9px; }
.veto-product .veto-draft-title { min-width: 0; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.45; letter-spacing: -.1px; overflow-wrap: anywhere; }
.veto-product .veto-status { flex-shrink: 0; padding: 3px 0; border: 0; color: var(--vp-muted); font-size: 10px; line-height: 1.3; font-weight: 400; }
.veto-product .veto-draft-meta { display: grid; gap: 5px; padding: 0 11px 11px; border-bottom: 1px solid var(--vp-line); font-size: 11px; line-height: 1.5; }
.veto-product .veto-draft-meta > div { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.veto-product .veto-draft-meta > div > span { color: var(--vp-muted); }
.veto-product .veto-draft-meta strong { color: var(--vp-fg); font-weight: 400; overflow-wrap: anywhere; }
.veto-product .veto-draft-content { max-height: 210px; overflow: hidden; padding: 4px 11px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.veto-product .veto-draft-content.expanded { max-height: none; overflow: visible; padding-bottom: 4px; }
.veto-product #app .veto-draft-content p { margin: 8px 0; }
.veto-product #app .veto-draft-content ul,
.veto-product #app .veto-draft-content ol { margin: 12px 0; padding-left: 19px; }
.veto-product .veto-draft-toggle { display: block; margin: 6px 8px 9px; padding: 5px 6px; border-radius: 5px; background: transparent; color: var(--vp-accent); font-size: 11px; line-height: 1.5; text-align: left; }
.veto-product .veto-draft-toggle:hover { background: var(--vp-hover); }
.veto-product .veto-draft-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; padding: 9px 9px; border-top: 1px solid var(--vp-line); }
.veto-product .veto-draft-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 29px; padding: 5px 7px; margin: 0; border: 0 !important; border-radius: 5px; background: transparent !important; color: var(--vp-muted) !important; font-size: 11px; line-height: 1.4; }
.veto-product .veto-draft-tools button:hover:not(:disabled) { background: var(--vp-hover) !important; color: var(--vp-fg) !important; }
.veto-product .veto-draft-tools :is(svg, .native-icon) { flex-shrink: 0; width: 14px; height: 14px; }
.veto-product .veto-draft-card .veto-draft-primary { display: flex; align-items: center; justify-content: center; gap: 5px; width: auto; min-height: 30px; margin: 0; padding: 5px 7px; border: 0 !important; border-radius: 6px; background: var(--vp-hover) !important; color: var(--vp-fg) !important; font: 500 11px/1.4 var(--vp-font); text-align: center; white-space: nowrap; }
.veto-product .veto-draft-card .veto-draft-primary:hover:not(:disabled) { background: var(--vp-line) !important; }
.veto-product .veto-draft-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 9px 10px 10px; }
.veto-product .veto-draft-footer .veto-draft-tools { margin: 0; padding: 0; border: 0; gap: 0; }
.veto-product .veto-draft-footer .veto-draft-tools button { min-height: 28px; padding: 5px; font-size: 11px; }
.veto-product .veto-draft-footer .veto-draft-tools :is([data-action="draft-edit"], [data-action="download"]) span { display: none; }
.veto-product .veto-draft-card .veto-draft-primary:active:not(:disabled) { transform: translateY(1px); }
.veto-product .veto-source-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; align-items: center; font-size: 11px; color: var(--vp-muted); }
.veto-product .veto-source-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-width: 0; padding: 5px 8px; border: 1px solid var(--vp-line); border-radius: 6px; background: transparent; color: var(--vp-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; text-align: left; }
.veto-product button.veto-source-chip:hover,
.veto-product a.veto-source-chip:hover { background: var(--vp-hover); color: var(--vp-accent); }
.veto-product .veto-source { text-underline-offset: 3px; }

/* Editing is an explicit state, not a second artifact surface. */
.veto-product .veto-draft-card[data-editing="true"] { border-color: var(--vp-accent); }
.veto-product .veto-draft-subject { display: block; width: calc(100% - 28px); box-sizing: border-box; margin: 0 14px 12px; padding: 9px 10px; border: 1px solid var(--vp-line); border-radius: 6px; background: var(--vp-bg); color: var(--vp-fg); font: 12px/1.5 Arial, sans-serif; }
.veto-product .veto-formatbar { display: flex; gap: 4px; margin: 0 14px; padding: 5px; border: 1px solid var(--vp-line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--vp-bg); }
.veto-product .veto-formatbar button { min-width: 28px; min-height: 28px; padding: 4px 7px; border-radius: 4px; background: transparent; color: var(--vp-muted); font-size: 12px; }
.veto-product .veto-formatbar button:hover,
.veto-product .veto-formatbar button[aria-pressed="true"] { background: var(--vp-hover); color: var(--vp-accent); }
.veto-product .veto-draft-editor { min-height: 180px; max-height: 360px; overflow: auto; padding: 10px 12px; margin: 0 14px; border: 1px solid var(--vp-line); border-radius: 0 0 6px 6px; background: var(--vp-bg); color: var(--vp-fg); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.veto-product .veto-draft-edit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 10px 14px 13px; }
.veto-product .veto-draft-edit-actions button { margin: 0; min-height: 30px; padding: 6px 10px; border: 1px solid var(--vp-line); border-radius: 6px; background: var(--vp-bg); color: var(--vp-fg); font-size: 11px; }
.veto-product .veto-draft-edit-actions button:hover { background: var(--vp-hover); }

/* Native email draft keeps its host identity; only new Veto details are styled. */
.veto-product .veto-compose-recipient,
.veto-product .veto-compose-subject { display: flex; align-items: baseline; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--vp-line); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.veto-product .veto-compose-subject { font-weight: 600; }
.veto-product .veto-compose-local { margin: 0; padding: 10px 20px 13px; color: var(--vp-muted); font-size: 11px; line-height: 1.5; }

/* Dialogs remain in the teammate lane instead of covering the inbox. */
.veto-product .veto-dialog { width: var(--vp-rail-width); box-sizing: border-box; padding: 16px; border-color: var(--vp-line); box-shadow: var(--vp-dialog-shadow); background: var(--vp-bg) !important; font-size: 12px; line-height: 1.65; scrollbar-gutter: stable; }
.veto-product .veto-dialog > header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--vp-line); align-items: flex-start; }
.veto-product .veto-dialog label { font-size: 12px; line-height: 1.5; }
.veto-product .veto-dialog p { margin: 12px 0; }
.veto-product .veto-dialog textarea.veto-field { min-height: 150px; }
.veto-product .veto-source-viewer { font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.veto-product .veto-panel table,
.veto-product .veto-dialog table { font-size: 11px; line-height: 1.5; }
.veto-product .veto-panel :is(th, td),
.veto-product .veto-dialog :is(th, td) { padding: 8px 6px; }
.veto-product .veto-panel th,
.veto-product .veto-dialog th { background: var(--vp-surface); font-weight: 600; }
.veto-product .veto-launcher { border-radius: 8px; box-shadow: var(--vp-shadow); }
.veto-product #veto-toast:not(:empty) { border-radius: 8px; padding: 10px 15px; box-shadow: var(--vp-shadow); }

/* Every treatment stays inside the product, including focus and motion. */
.veto-product :is(.rail, .veto-dialog, .veto-draft-card, .veto-source-row, .veto-launcher) :is(button, a, input, textarea, [contenteditable="true"]):focus-visible,
.veto-product .veto-launcher:focus-visible { outline: 2px solid var(--vp-accent); outline-offset: 3px; }
.veto-product #app .composer textarea:focus-visible { outline: none; }
.veto-product :is(.rail, .veto-dialog) button { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease; }
.veto-product #app .rail button:disabled,
.veto-product .veto-dialog button:disabled { background: var(--vp-surface) !important; color: var(--vp-muted) !important; border-color: var(--vp-line); opacity: .6; cursor: not-allowed; }
.veto-product :is(.chat-scroll, .veto-panel, .veto-dialog, .veto-draft-editor) { scrollbar-width: thin; scrollbar-color: var(--vp-line) transparent; overscroll-behavior: contain; }
.veto-product :is(.chat-scroll, .veto-panel, .veto-dialog, .veto-draft-editor)::-webkit-scrollbar { width: 5px; height: 5px; }
.veto-product :is(.chat-scroll, .veto-panel, .veto-dialog, .veto-draft-editor)::-webkit-scrollbar-track { background: transparent; }
.veto-product :is(.chat-scroll, .veto-panel, .veto-dialog, .veto-draft-editor)::-webkit-scrollbar-thumb { background: var(--vp-line); border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  .veto-product :is(.rail, .veto-dialog) button { transition: none; }
  .veto-product :is(.veto-button, .veto-draft-primary):active:not(:disabled) { transform: none; }
}

.veto-product #app .response-actions { flex-wrap: wrap; gap: 7px; padding-bottom: 14px; }
.veto-product #app .response-actions button { min-height: 30px; padding: 6px 9px; border: 1px solid var(--vp-line); border-radius: 6px; background: var(--vp-surface) !important; color: var(--vp-fg); font-size: 11px; }
.veto-product #app .response-actions button:hover { background: var(--vp-hover) !important; }
/* Compact preview fits the fixed work area; expansion stays explicit. */
.veto-product #app .chat-scroll .veto-draft-content:not(.expanded) { max-height: 130px; }
.veto-product .veto-ui-icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; vertical-align: -3px; }
.veto-product .veto-draft-title,
.veto-product .veto-status,
.veto-product .veto-draft-toggle { display: inline-flex; align-items: center; gap: 6px; }
.veto-product .veto-draft-meta .veto-draft-subject { width: 100%; min-width: 0; margin: 0; padding: 6px 8px; }
.veto-product .veto-draft-edit-actions .veto-draft-primary { width: auto; min-height: 30px; margin: 0; padding: 6px 10px; }
.veto-product #app .greeting { top: clamp(146px, calc(100% - 506px), 270px); left: 14px; right: 14px; }
.veto-product #app .greeting > .muted { margin-top: 0; font-size: 18px; line-height: 23px; letter-spacing: -.6px; }
.veto-product #app .starters { display: flex; flex-direction: column; gap: 0; margin: 32px 0 10px; padding: 6px; border-radius: 18px; background: var(--vp-surface); }
.veto-product #app .starter { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 9px 7px; border: 0; border-radius: 12px; background: transparent !important; color: var(--vp-fg) !important; font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0; text-align: left; }
.veto-product #app .starter:hover { background: var(--vp-hover) !important; border-color: var(--vp-muted); }
.veto-product #app .starter > .veto-ui-icon { color: var(--vp-accent); }
.veto-product #app .starter > .starter-icon { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; }
.veto-product #app .starter > .veto-ui-icon { width: 28px; height: 28px; padding: 6px; }
.veto-product #app .starter small { display: block; margin-top: 2px; color: var(--vp-muted); font-size: 10px; line-height: 1.5; }
.veto-product .veto-draft-content,
.veto-product .veto-draft-editor,
.veto-product .veto-email-compose .email-editor { white-space: pre-wrap; }
/* Local checklist state, without implying any external task completion. */
.veto-product #app .veto-checklist { list-style: none; padding: 0; margin: 12px 0; }
.veto-product #app .veto-checklist > li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--vp-line); }
.veto-product #app .veto-checklist > li:last-child { border-bottom: 0; }
.veto-product .veto-checklist > li > label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 12px; line-height: 1.6; color: var(--vp-fg); }
.veto-product .veto-checklist input[type="checkbox"] { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--vp-accent); cursor: pointer; }
.veto-product .veto-checklist input[type="checkbox"]:focus-visible { outline: 2px solid var(--vp-accent); outline-offset: 3px; }
.veto-product .veto-checklist > li.is-done > label > span { color: var(--vp-muted); text-decoration: line-through; text-decoration-color: var(--vp-muted); }
.veto-product .veto-checklist-status { margin: 10px 0 14px; color: var(--vp-muted); font-size: 11px; line-height: 1.5; }

/* Final prompt label separation. */
.veto-product .veto-submitted-prompt b{display:block;margin-bottom:4px;font-size:10px;letter-spacing:.035em;font-weight:600;color:var(--vp-muted)}

/* Keep the hidden fidelity overlay out of product layout. */
.veto-product:not(.veto-inspect) #overlay{display:none!important}
/* Mask the scaled canvas without letting focus pan its unscaled overflow. */
.veto-product:not(.veto-inspect) #scaled{overflow:clip;border-radius:7px}

/* One wordmark in the header; the cropped V remains on avatars and entry points. */
.veto-product .brand>.veto-mark{display:none!important}
.veto-product .veto-submitted-prompt b{display:inline-block;margin:0 6px 0 0}
.veto-product .veto-submitted-prompt{padding-top:9px;padding-bottom:9px}

/* Leave room for the source pill below a compact draft. */
.veto-product .veto-draft-card .veto-draft-content:not(.expanded){max-height:210px!important;min-height:0!important}

/* Readable email typography, separate from teammate text. */
.veto-product .veto-email-compose .email-editor{font-size:14px!important;line-height:1.6!important;padding:20px 26px!important}
.veto-product .veto-email-compose .email-editor p{margin:0 0 12px!important}
.veto-product .veto-email-compose .email-editor ul{margin:12px 0 18px!important;padding-left:24px!important}
.veto-product .veto-email-compose .email-editor li{margin:6px 0!important}

/* R6: one identity and one toolbar, retaining the existing control hooks. */
.veto-product #app .brand { height:51px; padding:0 10px; gap:6px; }
.veto-product #app .brand .veto-wordmark { width:53px; height:20px; margin-right:auto; }
.veto-product #app .brand .utilities { display:flex; position:static; height:auto; gap:0; padding:0; border:0; }
.veto-product #app .brand .end { margin:0; gap:0; }
.veto-product #app .brand .utilities button,
.veto-product #app .brand .end button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 26px; width:26px; height:30px; min-height:30px; padding:5px; border:0!important; border-radius:5px; background:transparent!important; }
.veto-product #app .brand .small-avatar { font-size:0; color:var(--vp-muted)!important; }
.veto-product #app .brand .small-avatar::before { content:''; display:block; width:16px; height:16px; background:currentColor; mask:url('legora-recorded-source/icons/settings.png') center/contain no-repeat; }
.veto-product #app .chat-scroll,
.veto-product #app .veto-panel { top:51px; }
.veto-product .veto-response-label { display:none; }
.veto-product #app .command { position:relative; padding-right:78px; }
.veto-product #app .ribbon-control[data-action="open-pane"],
.veto-product #app.veto-pane-closed .ribbon-control[data-action="open-pane"] { position:absolute; left:auto!important; right:0!important; width:70px!important; height:30px; z-index:3; justify-content:center; gap:7px; background:var(--vp-surface)!important; border-left:1px solid var(--vp-line); font-size:11px; }
.veto-product #app .ribbon-control[data-action="open-pane"] .veto-mark { width:16px; height:16px; }
.veto-product #app .rail.r6-browsing .composer-wrap { display:none; }
.veto-product #app .r6-workspace { bottom:60px; padding:24px 16px; scrollbar-gutter:auto; }
.veto-product #app .r6-workspace .veto-panel-header { margin-bottom:6px; align-items:center; }
.veto-product #app .r6-workspace h3 { font-size:17px; font-weight:500; letter-spacing:-.35px; }
.veto-product #app .r6-workspace h4 { margin:24px 0 9px; font-size:11px; line-height:1.5; color:var(--vp-muted); font-weight:500; }
.veto-product .r6-intro { margin:0 0 20px; color:var(--vp-muted); font-size:11px; line-height:1.6; }
.veto-product #app .r6-workspace .veto-panel-header button { background:transparent!important; border:0!important; padding:6px 0 6px 8px; gap:4px; font-size:11px; }
.veto-product .r6-search { display:flex; align-items:center; gap:6px; padding:8px 0; border-bottom:1px solid var(--vp-line); }
.veto-product .r6-search > svg { width:15px; height:15px; color:var(--vp-muted); }
.veto-product .r6-search input { width:100%; min-width:0; border:0; background:transparent; color:var(--vp-fg); outline:0; font:11px/1.6 Arial,sans-serif; }
.veto-product .r6-search:focus-within { border-color:var(--vp-fg); }
.veto-product .r6-search .veto-button { font-size:0; padding:3px; min-height:24px; min-width:24px; background:transparent!important; border:0!important; margin:0; }
.veto-product .r6-search .veto-button::after { content:'×'; color:var(--vp-muted); font-size:16px; }
.veto-product .r6-prompt-row { display:flex; align-items:center; gap:10px; min-height:64px; width:100%; padding:12px 0; text-align:left; border-bottom:1px solid var(--vp-line); color:var(--vp-fg); }
.veto-product .r6-prompt-row > span { flex:1; min-width:0; }
.veto-product .r6-prompt-row b { display:block; font-size:12px; font-weight:400; line-height:1.6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.veto-product .r6-prompt-row small { display:block; margin-top:3px; color:var(--vp-muted); font-size:10px; line-height:1.6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.veto-product .r6-prompt-row > svg { color:var(--vp-muted); width:15px; height:15px; flex-shrink:0; }
.veto-product .r6-prompt-row > svg:last-child { width:12px; height:12px; transform:rotate(-90deg); }
.veto-product .r6-prompt-row:hover,
.veto-product .r6-action-row:hover { background:var(--vp-hover)!important; }
.veto-product .r6-quiet,.veto-product .r6-help { margin:10px 0 14px; font-size:11px; line-height:1.65; color:var(--vp-muted); overflow-wrap:anywhere; }
.veto-product .r6-help { font-size:10px; margin-top:24px; }
.veto-product .r6-prompt-instructions { white-space:pre-wrap; font-size:13px; line-height:1.8; }
.veto-product .r6-eyebrow { color:var(--vp-muted); font-size:10px; }
.veto-product .r6-empty { padding:20px 0; font-size:12px; line-height:1.7; color:var(--vp-muted); }
.veto-product #app .r6-empty h4 { color:var(--vp-fg); margin-top:8px; font-size:13px; }
.veto-product .r6-action-list { margin:28px 0 32px; }
.veto-product .r6-action-row { display:flex; align-items:flex-start; width:100%; gap:15px; min-height:92px; padding:18px 1px; text-align:left; border:0; border-radius:0; background:transparent; color:var(--vp-fg); }
.veto-product .r6-action-icon { flex:0 0 23px; width:23px; height:23px; margin-top:1px; }
.veto-product .r6-action-row > span { min-width:0; }
.veto-product .r6-action-row b { font-size:14px; line-height:1.5; font-weight:400; }
.veto-product .r6-action-row small { display:block; margin-top:5px; font-size:11px; line-height:1.6; color:var(--vp-muted); }
.veto-product #app .r6-email-tools { border-top:1px solid var(--vp-line); padding-top:5px; }
.veto-product .r6-email-tools > button { display:flex; width:100%; min-height:36px; padding:7px 0; border:0!important; border-radius:0; background:transparent!important; color:var(--vp-muted)!important; margin:0; font-size:11px; }
.veto-product .r6-email-tools > button:hover { color:var(--vp-fg)!important; }
.veto-product #app .r6-flow { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.veto-product .r6-flow-header { flex:0 0 48px; display:flex; align-items:center; justify-content:space-between; padding:6px 12px; }
.veto-product .r6-flow-header .veto-button { border:0!important; background:transparent!important; font-size:10px; margin:0; padding:5px 2px; color:var(--vp-muted)!important; }
.veto-product .r6-flow-header [data-action="r6-back"] svg { transform:rotate(180deg); }
.veto-product .r6-flow-header [data-action="r6-close"] { font-size:0; padding:7px; }
.veto-product .r6-flow-scroll { flex:1; min-height:0; overflow:auto; padding:8px 16px 20px; overscroll-behavior:contain; }
.veto-product .r6-flow-heading { margin:0 0 26px; }
.veto-product .r6-flow-heading .r6-action-icon { margin-bottom:14px; width:27px; height:27px; }
.veto-product .r6-flow-heading p { font-size:11px; line-height:1.6; color:var(--vp-muted); margin:7px 0; }
.veto-product .r6-flow .veto-field { background:transparent!important; border-radius:5px; font-size:11px; line-height:1.65; margin:7px 0 14px; padding:9px; }
.veto-product .r6-flow textarea { resize:vertical; min-height:140px; max-height:360px; }
.veto-product .r6-label { display:block; font-size:11px; line-height:1.7; color:var(--vp-muted); overflow-wrap:anywhere; }
.veto-product .r6-types { display:grid; gap:0; margin:24px 0 12px; padding:0; border:0; }
.veto-product .r6-types legend { margin:0 0 8px; color:var(--vp-muted); font-size:11px; }
.veto-product .r6-types label { display:flex; align-items:center; gap:10px; min-height:36px; cursor:pointer; }
.veto-product .r6-types input,.veto-product .r6-replacement input { accent-color:var(--vp-fg); width:14px; height:14px; flex-shrink:0; }
.veto-product .r6-limitation { font-size:10px; line-height:1.65; color:var(--vp-muted); margin:20px 0 0; }
.veto-product .r6-bottom-cta { flex-shrink:0; padding:12px 16px; border-top:1px solid var(--vp-line); background:var(--vp-bg); }
.veto-product .r6-bottom-cta .veto-button { display:flex; justify-content:center; width:100%; margin:0; min-height:36px; background:var(--vp-fg)!important; color:var(--vp-bg)!important; border:0!important; }
.veto-product .r6-bottom-cta .veto-button:disabled { opacity:.4; }
.veto-product .r6-review-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.veto-product #app .r6-review-heading h4 { margin:0; }
.veto-product .r6-review-heading button { border:0!important; background:transparent!important; padding:4px 0; font-size:10px; }
.veto-product .r6-replacement { display:flex; align-items:center; gap:8px; padding:14px 0; border-bottom:1px solid var(--vp-line); }
.veto-product .r6-replacement label { display:flex; flex:1; min-width:0; align-items:flex-start; gap:8px; cursor:pointer; }
.veto-product .r6-replacement label > span { min-width:0; display:flex; flex-direction:column; gap:4px; font-size:11px; overflow-wrap:anywhere; }
.veto-product .r6-replacement small { color:var(--vp-muted); font-size:9px; }
.veto-product .r6-replacement b { font-weight:400; }
.veto-product .r6-replacement-arrow { color:var(--vp-muted); }
.veto-product .r6-replacement .veto-button { border:0!important; background:transparent!important; margin:0; padding:7px 0 7px 4px; font-size:0; }
.veto-product .r6-replacement.is-dismissed .r6-original { text-decoration:line-through; color:var(--vp-muted); }
.veto-product .r6-add-term { margin-top:24px; }
.veto-product .r6-add-term button { margin:0; background:transparent!important; }
.veto-product .r6-output { padding:14px 0; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; font:12px/1.8 Arial,sans-serif; color:var(--vp-fg); max-width:100%; }
.veto-product .r6-error { color:var(--vp-danger); font-size:11px; line-height:1.6; }
.veto-product .r6-imported details { border-bottom:1px solid var(--vp-line); padding:10px 0; margin-bottom:20px; }
.veto-product .r6-imported summary { cursor:pointer; font-size:11px; }
.veto-product .veto-dialog { top:91px; max-width:100%; }
.veto-product :is(.r6-workspace,.veto-dialog) :is(button,input,select,textarea,pre):focus-visible { outline:2px solid var(--vp-fg); outline-offset:2px; }
/* The native host receives only the fluid rail; the mailbox stays in Outlook. */
.veto-outlook-host { min-width:320px; background:var(--vp-bg); }
.veto-outlook-host #viewport { padding:0!important; overflow:hidden; }
.veto-outlook-host #scaled { margin:0; border-radius:0!important; }
.veto-outlook-host #app > :not(.rail):not(#veto-overlay-root) { display:none!important; }
.veto-outlook-host #app .rail { width:100%; top:0; border:0!important; }
.veto-outlook-host .veto-product-footer { display:none; }
.veto-outlook-host .veto-dialog { top:51px; width:100%; }
.veto-outlook-host #app { background:var(--vp-bg); }
.veto-outlook-host #app .greeting { top:160px; }
@media (max-width:600px) {
 .veto-product:not(.veto-inspect) #viewport { padding:0!important; }
 .veto-product:not(.veto-inspect) #scaled { margin:0; width:100%!important; height:calc(100dvh - 45px)!important; border-radius:0!important; }
 .veto-product:not(.veto-inspect) #app { width:100%!important; height:100%!important; transform:none!important; }
 .veto-product:not(.veto-inspect) #app > :not(.rail):not(#veto-overlay-root) { display:none!important; }
 .veto-product:not(.veto-inspect) #app .rail { top:0; width:100%; border:0!important; }
 .veto-product .veto-dialog { width:100%; top:51px; }
 .veto-product-footer { font-size:10px; min-height:45px; padding:5px 10px; }
 .veto-product-footer > span { display:none; }
 .veto-outlook-host #scaled { height:100dvh!important; }
}
.veto-product #app .brand :is(.utilities,.end) button { font-size:0; gap:0; }
.veto-product #app .brand :is(.utilities,.end) button::before { display:none; }
.veto-product #app .brand :is(.utilities,.end) button > svg { width:15px; height:15px; flex:0 0 15px; }
.veto-product .r6-action-row small { white-space:nowrap; }
.veto-outlook-host #app > .veto-launcher { display:inline-flex!important; }
@media (max-width:600px) { .veto-product:not(.veto-inspect) #app > .veto-launcher { display:inline-flex!important; } }
.veto-outlook-host #app .r6-native { bottom:176px; }
.veto-outlook-host .composer-tools [disabled] { opacity:.45; }
.veto-product .r6-native-instructions { margin:0 8px 6px; color:var(--vp-muted); font:10px/1.5 Arial,sans-serif; }
@media (max-width:600px) {
 .veto-product.veto-outlook-host:not(.veto-inspect) #scaled { height:100dvh!important; }
}
.veto-product #app .r6-bottom-cta .veto-button:hover:not(:disabled) { background:var(--vp-fg)!important; color:var(--vp-bg)!important; opacity:.9; }
.veto-product #veto-overlay-root:empty { display:none; }
.veto-product .r6-search-icon { width:15px;height:15px;flex:0 0 15px;color:var(--vp-muted); }
.veto-product details.r6-email-tools > summary { cursor:pointer;font:11px/1.6 Arial,sans-serif;color:var(--vp-muted);padding:12px 0; }
.veto-product details.r6-email-tools:not([open]) { border-top:0;margin-top:20px; }
.veto-product details.r6-email-tools[open] > summary { margin-bottom:12px; }
html[data-prototype-theme="light"] .veto-product .r6-workspace { background:#fff; }
.veto-product .r6-workspace > .r6-help { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
