/* InsureClause presentation layer.
   Preserve routes, controls, semantic states and branded hero fields.
   Loaded after the owning stylesheets; no wordmark or hero-gradient declarations. */
:root {
  --presentation-paper: #fff;
  --presentation-soft: #f7f7f5;
  --presentation-ink: #1f2937;
  --presentation-muted: var(--ic-secondary, #46505E);
  --presentation-rule: #dedfdd;
  --presentation-space: clamp(24px, 3.5vw, 44px);
  --public-panel-radius: 10px;
  --public-panel-shadow: 0 12px 30px -24px rgba(16, 41, 23, .3);
  --public-surface-tint: color-mix(in srgb, var(--ic-brand, #173e20) 4%, white);
}
.perspective-demonstration { margin: 28px 0 22px; }
.perspective-demonstration img { display: block; width: 100%; height: auto; }
.perspective-demonstration figcaption,
.context-photography figcaption { margin-top: 12px; color: var(--presentation-muted); font-size: .8125rem; line-height: 1.6; }
.perspective-mobile-text { display: none; }
.capability-details { padding: 18px 0; border-top: 1px solid var(--presentation-rule); }
.capability-details > summary { min-height: 44px; font-weight: 600; color: var(--presentation-ink); }
.engagement-editorial > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.engagement-editorial h2 { grid-column: 1; }
.engagement-editorial .grid { grid-column: 1; grid-template-columns: 1fr; margin-top: 0; gap: 0; }
.context-photography { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.context-photography img { display: block; width: 100%; height: auto; }

/* Neutral reading surfaces. Branded sections retain their own backgrounds. */
body:has(:is(.public-header-band, .app-shell, .workbook-shell)) {
  background: var(--presentation-paper);
}
.public-header-band,
.access-header-band,
.site-footer,
.footer,
.public-trust-footer,
.workbook-footer,
.access-card-shell {
  background: var(--presentation-paper);
}
.app-shell,
.app-shell .workspace {
  --premium-canvas: #fff;
  --premium-paper-soft: #f7f7f5;
  --premium-line: #dedfdd;
  background: var(--presentation-paper);
}
.section :is(p, li),
.article-body :is(p, li),
.policy-content :is(p, li),
.app-shell .finding-story-step p {
  line-height: 1.65;
}

/* Navigation is typography and space, with persistent keyboard focus. */
.public-navigation-enabled :is(.workspace-link, .sign-in, .landing-access-link),
.public-navigation-enabled .public-nav-disclosure,
.public-navigation-enabled .public-menu-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 600;
}
.public-navigation-enabled :is(.workspace-link, .sign-in, .landing-access-link) {
  padding-inline: 8px;
  text-underline-offset: 5px;
}
.public-navigation-enabled :is(.workspace-link, .sign-in, .landing-access-link):hover {
  background: transparent;
  text-decoration: underline;
}
.public-navigation-enabled .public-nav-chevron {
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
  border: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transform: rotate(0);
  transform-origin: center;
  transition: transform 160ms ease;
}
.public-navigation-enabled .public-nav-disclosure[aria-expanded="true"] .public-nav-chevron {
  transform: rotate(45deg);
}
.public-navigation-enabled .public-nav-disclosure:is(:hover, :focus-visible, [aria-expanded="true"]) {
  background: transparent;
  color: var(--presentation-ink);
}
.public-navigation-enabled .public-nav-panel,
.app-shell .workspace-learning-panel,
.app-shell .account-menu,
.app-shell .result-help-actions,
.app-shell .workspace-more-list {
  border: 0;
  border-radius: 0;
  border-top: 2px solid var(--brand-solid, #173e20);
  background: var(--presentation-paper);
  box-shadow: 0 14px 28px -18px #1f293766;
}
.public-navigation-enabled .public-nav-panel a,
.app-shell .account-menu button,
.app-shell .workspace-more-list :is(a, button) {
  border-radius: 0;
  min-height: 44px;
  line-height: 1.45;
}

/* Help, Terms and the account trigger share the same quiet treatment. */
.app-shell .workspace-learning-menu > summary,
.app-shell .workspace-more-menu > summary,
.app-shell .account-menu-button,
.app-shell .insurance-terms-button {
  min-height: 44px;
  height: auto;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
  box-shadow: none;
  font-family: var(--font-body, "Manrope", "Segoe UI", sans-serif);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}
.app-shell .workspace-learning-menu > summary span:first-child { font-size: inherit; }
.app-shell .workspace-learning-menu > summary span:first-child::after { content: none; }
.app-shell .workspace-learning-menu > summary > span[aria-hidden="true"],
.app-shell .workspace-more-menu > summary > span[aria-hidden="true"],
.app-shell .account-menu-button > .account-chevron[aria-hidden="true"] { display: none; }
.app-shell .workspace-more-menu > summary:hover,
.app-shell .workspace-more-menu:is([open], .has-active-section) > summary,
.app-shell .workspace-more-menu:is([open], .has-active-section) > summary:hover,
.app-shell .workspace-learning-menu > summary:hover,
.app-shell .workspace-learning-menu[open] > summary,
.app-shell .account-menu-button:hover,
.app-shell .insurance-terms-button:hover {
  background: transparent;
  color: var(--presentation-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.app-shell .signed-in-status {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell .signed-in-indicator { box-shadow: none; }
.app-shell .signed-in-copy strong { font-size: .875rem; font-weight: 600; }
.app-shell .signed-in-copy small { font-size: .75rem; font-weight: 400; }
.app-shell .workspace-learning-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.app-shell .workspace-learning-grid a,
.app-shell .result-help-actions a {
  min-height: 0;
  gap: 5px;
  padding: 14px 2px;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
}
.app-shell .workspace-learning-grid a:hover,
.app-shell .workspace-learning-grid a:focus-visible,
.app-shell .result-help-actions a:hover,
.app-shell .result-help-actions a:focus-visible {
  background: var(--presentation-soft);
}
.app-shell .workspace-learning-grid strong,
.app-shell .result-help-actions strong { font-size: .875rem; font-weight: 600; }
.app-shell .workspace-learning-grid small,
.app-shell .result-help-actions span,
.app-shell .workspace-learning-footer a { font-size: .8125rem; line-height: 1.55; }
.app-shell .workspace-learning-footer { flex-wrap: wrap; gap: 6px 20px; }

/* Ordinary labels need no enclosing shape; their existing semantic colors stay. */
.app-shell :is(.review-status, .status-pill, .screen-badge, .environment-badge,
  .matter-run-status, .playbook-status, .member-status, .demo-data-badge,
  .recommended-badge, .confirmation-badge, .outcome-badge, .priority-badge,
  .redline-action-badge, .export-file-badge),
.site-wrap :is(.live-pill, .resource-format),
.wrap .live-pill,
.learning-hero .learning-time-pill,
.learning-guide .guide-time,
.workbook-shell :is(.semantic-badge, .section-status, .evidence-chip) {
  min-height: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-body, "Manrope", "Segoe UI", sans-serif);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
}
.app-shell .recommended-badge { color: var(--brand-solid, #173e20); }
.app-shell .redline-action-badge { color: var(--presentation-ink); }
.app-shell .redline-suggestion-card[data-redline-action="Delete"] .redline-action-badge {
  background: transparent;
  color: #8a2f2f;
}
.app-shell .redline-suggestion-card[data-redline-action="Insert"] .redline-action-badge {
  background: transparent;
  color: var(--brand-solid, #173e20);
}

/* Public content has a consistent frame when items represent distinct tasks.
   Learning and examples own their richer components in their own stylesheets.
   These selectors do not change authenticated workspace cards. */
.public-landing-resources .public-resource-card,
.section :is(.card, .role-card, .resource-card, .solution-card, .start-card),
.resource-start .start-card,
.section :is(.link-card-grid > a, .policy-card-grid > article, .resource-search-ways > article) {
  min-height: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--presentation-rule);
  border-radius: var(--public-panel-radius);
  background: var(--presentation-paper);
  box-shadow: var(--public-panel-shadow);
  transform: none;
}
.public-landing-resources a.public-resource-card,
.section a:is(.role-card, .resource-card, .solution-card, .start-card),
.section .link-card-grid > a {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.public-landing-resources a.public-resource-card:is(:hover, :focus-visible),
.section a:is(.role-card, .resource-card, .solution-card, .start-card):is(:hover, :focus-visible),
.section .link-card-grid > a:is(:hover, :focus-visible) {
  border-color: var(--brand-solid, #173e20);
  box-shadow: 0 14px 30px -22px rgba(16, 41, 23, .3);
  transform: none;
}
.section.dark .card {
  color: #fff;
  border-color: #ffffff45;
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}
.section.dark .card :is(h3, .tag) { color: #fff; }
.section.dark .card :is(p, li) { color: #f7f8f4; }
.public-task-grid,
.section :is(.resource-grid, .role-grid, .policy-card-grid, .link-card-grid) {
  gap: clamp(16px, 2vw, 24px);
}
.public-task-grid .public-resource-card strong { min-height: 0; }
.public-task-grid .public-resource-card em {
  margin-top: auto;
  padding-top: 18px;
  border: 0;
}
.section :is(.resource-search-shell, .conversion-bridge, .trust-route,
  .acquisition-conversion, .fact-panel, .support-form-card) {
  border: 1px solid var(--presentation-rule);
  border-radius: var(--public-panel-radius);
  background: var(--public-surface-tint);
  box-shadow: none;
  padding: clamp(20px, 3vw, 32px);
}
.section :is(.conversion-bridge, .trust-route, .acquisition-conversion) {
  border-inline-start: 3px solid var(--brand-solid, #173e20);
}
.resource-subnav,
.section-index,
.policy-index {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--presentation-rule);
  border-radius: var(--public-panel-radius);
  background: var(--presentation-soft);
}
.resource-subnav a,
.section-index a,
.policy-index a {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--presentation-ink);
  font-weight: 600;
  text-decoration: none;
}
.resource-subnav a:is(:hover, :focus-visible, [aria-current="page"]),
.section-index a:is(:hover, :focus-visible, [aria-current="location"]),
.policy-index a:is(:hover, :focus-visible, [aria-current="location"]) {
  background: var(--presentation-paper);
  color: var(--brand-solid, #173e20);
  box-shadow: 0 1px 3px #10291714;
}
.section :is(.faq details, .pricing-faq details) {
  padding: 16px 22px;
  border: 1px solid var(--presentation-rule);
  border-radius: var(--public-panel-radius);
  background: var(--presentation-paper);
  box-shadow: none;
}
.section :is(.faq details, .pricing-faq details)[open] {
  border-color: var(--brand-solid, #173e20);
}
.section :is(.resource-icon, .evidence-rule > span) {
  border: 0;
  border-radius: 0;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .public-landing-resources a.public-resource-card,
  .section a:is(.role-card, .resource-card, .solution-card, .start-card),
  .section .link-card-grid > a { transition: none; }
}

/* Dashboard and history retain their controls and exact existing destinations. */
.app-shell .workspace-start,
.app-shell .dashboard-panel,
.app-shell .dashboard-metrics article,
.app-shell .workspace-task-card,
.app-shell .workbook-entry-card,
.app-shell .workbook-overview-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.app-shell .dashboard-panel,
.app-shell .workbook-overview-card { padding: 24px 0; background: transparent; }
.app-shell .workspace-task-grid { gap: var(--presentation-space); }
.app-shell .workspace-task-card,
.app-shell .workbook-entry-card {
  padding: 24px 0;
  border-top: 1px solid var(--presentation-rule);
  background: transparent;
}
.app-shell .workspace-task-card:hover,
.app-shell .workbook-entry-card:hover { transform: none; box-shadow: none; }
.app-shell .workspace-task-grid { row-gap: 16px; }
.app-shell .workspace-task-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 16px;
  min-height: 0;
  padding-block: 20px;
}
.app-shell .workspace-task-card :is(h3, p) { margin: 0; }
.app-shell .dashboard-metrics { gap: var(--presentation-space); }
.app-shell .dashboard-metrics article {
  padding: 20px 0;
  border-top: 1px solid var(--presentation-rule);
}
.app-shell .dashboard-metrics article:not(.metric-attention) { background: transparent; }
.app-shell :is(.workspace-task-icon, .section-number, .workbook-entry-number) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand-solid, #173e20);
}
.app-shell .workspace-tabs,
.app-shell .result-view-tabs {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab) {
  min-height: 44px;
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
}
.app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab):is(:hover, :focus-visible),
.app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab).is-active,
.app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab).is-active:is(:hover, :focus-visible) {
  background: transparent;
  color: var(--brand-solid, #173e20);
}
.app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab).is-active {
  box-shadow: inset 0 -2px 0 var(--brand-solid, #173e20);
}
.app-shell .review-record {
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell .review-record-open-title {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-wrap: pretty;
  cursor: pointer;
}
.app-shell .review-record-open-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.app-shell .review-open-status {
  margin: 10px 0 0;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  background: transparent;
  color: var(--presentation-muted);
  font-size: .875rem;
  line-height: 1.5;
}
.app-shell .review-record[aria-busy="true"] { border-top-color: var(--brand-solid, #173e20); }

/* The actual result remains primary; supporting information has clear levels. */
#screen-results .result-context-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 20px 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
#screen-results .result-context-line > div { min-width: 0; max-width: 100%; }
#screen-results .result-context-line dt { color: var(--presentation-muted); font-size: .8125rem; line-height: 1.5; }
#screen-results .result-context-line dd { margin: 4px 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
/* Standalone evidence has its own source context; never show a prior contract. */
.evidence-result-mode .result-context-line { display: none !important; }
#screen-results :is(.position-hero, .evidence-answer-panel, .result-progressive-card),
.app-shell .form-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#screen-results .position-hero,
#screen-results .evidence-answer-panel {
  padding: 28px 0;
  border-top: 2px solid var(--brand-solid, #173e20);
  background: transparent;
}
.app-shell .form-section { padding: 28px 0; background: transparent; }
#screen-results .result-work-status {
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
}
#screen-results .result-work-status > div { padding: 18px 20px 18px 0; }
#screen-results .result-work-status > div + div { padding-left: 20px; }
#screen-results .finding-accordion {
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#screen-results .finding-accordion > summary { padding-inline: 0; }
#screen-results .finding-accordion-body { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }

/* Evidence: act on exceptions first; inspect displayed facts and sources on demand. */
#screen-results .evidence-answer-groups > article {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
#screen-results .evidence-answer-groups > .evidence-next-action {
  border-top-color: var(--brand-solid, #173e20) !important;
  background: transparent !important;
}
#screen-results .evidence-answer-groups h3 { margin-bottom: 12px; }
#screen-results :is(.evidence-shown-facts, .evidence-follow-up-requests) {
  min-width: 0;
  padding-block: 14px;
  border-top: 1px solid var(--presentation-rule);
}
#screen-results :is(.evidence-shown-facts, .evidence-follow-up-requests) > summary {
  cursor: pointer;
  color: var(--presentation-ink);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#screen-results :is(.evidence-shown-facts, .evidence-follow-up-requests)[open] > summary { margin-bottom: 14px; }
#screen-results .evidence-answer-groups :is(p, li, dt, dd),
#screen-results #intelligenceComparisonResult .notice { overflow-wrap: anywhere; }

/* Keep the selected task close to its controls without hiding the answer's
   uncertainty, saved identity or source receipt. All views use the same nodes. */
#screen-results .result-toolbar { margin-top: 0; margin-bottom: 16px; scroll-margin-top: 80px; }
#screen-results.is-task-view .concise-results-header { gap: 8px; margin-bottom: 12px; }
#screen-results.is-task-view .concise-results-header h1 { font-size: 1.375rem; }
#screen-results.is-task-view .result-context-line { gap: 8px 24px; margin: 8px 0 0; }
#screen-results.is-task-view .position-hero { padding: 14px 0; margin-bottom: 0; }
#screen-results.is-task-view .position-hero-main { gap: 8px; }
#screen-results.is-task-view #resultPositionLabel { display: none; }
#screen-results.is-task-view .position-hero-main h2 { margin: 0; font-size: 1rem; line-height: 1.5; }
#screen-results.is-task-view .position-hero-main > p,
#screen-results.is-task-view .decision-at-a-glance { margin-block: 4px; }
#screen-results.is-task-view .decision-at-a-glance { gap: 8px 24px; }
#screen-results .result-work-status { display: block; margin-block: 0 20px; }
#screen-results .result-work-status > div,
#screen-results .result-work-status > div + div { padding: 10px 0; }
#screen-results .result-work-status .result-saved-identity { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
#screen-results .result-work-status .result-saved-identity strong { font-size: .9375rem; }
#screen-results .result-work-status .result-saved-identity span { margin: 0; }
#screen-results .result-work-status .saved-scope-conflicts { border-left: 0; }
#screen-results .export-result-note { margin: 0 0 12px; color: var(--presentation-muted); line-height: 1.5; }
#screen-results .decision-command-facts .priority-action-card.is-primary { grid-template-columns: minmax(0, 1fr); }

#screen-results.is-task-view .result-view-tab::after { display: none; }
#screen-results.is-task-view .redline-heading .eyebrow,
#screen-results.is-task-view .redline-heading p { display: none; }
#screen-results.is-task-view .redline-heading { gap: 8px; margin-bottom: 12px; padding-bottom: 12px; }
#screen-results.is-task-view .redline-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.4; }
#screen-results.is-task-view .redline-heading-actions .button { width: auto; }

#screen-results.is-task-view #ic-builder .ic-heading .ic-eyebrow,
#screen-results.is-task-view #ic-builder .ic-heading .ic-intro { display: none; }
/* Keep the three task choices together; secondary actions get their own row
   while the workspace column is narrow. Labels retain their normal type size. */
@media (max-width: 1100px) {
  #screen-results .result-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  #screen-results .result-view-tabs { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  #screen-results .result-view-tab { min-width: 0; }
  #screen-results .result-toolbar > .export-menu,
  #screen-results .result-toolbar > .result-help-menu { width: 100%; margin: 0; }
  #screen-results .result-toolbar > .export-menu { grid-column: 1; }
  #screen-results .result-toolbar > .result-help-menu { grid-column: 2; }
  #screen-results .result-toolbar > .export-menu[open],
  #screen-results .result-toolbar > .result-help-menu[open] { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .workspace.is-review:has(#screen-results.is-task-view:not([hidden])) .progress-panel { position: static; }
}
@media (max-width: 600px) {
  #screen-results.is-task-view .result-view-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  #screen-results.is-task-view .result-view-tab { min-height: 48px; padding: 8px 6px; align-content: center; }
  #screen-results.is-task-view #ic-builder .ic-main { padding: 16px 0; }
  #screen-results.is-task-view #ic-builder .ic-heading { margin-bottom: 16px; }
}

/* The source declaration belongs beside the supplied wording. Its selected
   value remains visible while choice guidance stays available on demand. */
.wording-source-scope { margin: 12px 0; border-top: 1px solid var(--presentation-rule); border-bottom: 1px solid var(--presentation-rule); }
.wording-source-scope > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 0; cursor: pointer; color: var(--presentation-ink); font-size: .9375rem; line-height: 1.5; }
.wording-source-scope > summary > span { min-width: 0; overflow-wrap: anywhere; }
.wording-source-scope .wording-source-change { flex-shrink: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--brand-solid, #173e20); }
.wording-source-scope > summary:focus-visible { outline: 2px solid var(--brand-solid, #173e20); outline-offset: 3px; }
.wording-source-scope > .field-group { margin: 8px 0 16px; }
.wording-source-scope:not([open]) > .field-group { display: none; }

/* Read the answer in open rows; methods and later decisions remain optional. */
#screen-results .agreement-decision-path { grid-template-columns: minmax(0, 1fr); gap: 0; }
#screen-results .agreement-decision-path li {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#screen-results .agreement-decision-path li > span {
  width: auto;
  height: auto;
  padding-top: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--presentation-muted);
  font-weight: 500;
}
#screen-results .agreement-decision-path small { max-width: 80ch; line-height: 1.6; }
#screen-results .decision-at-a-glance > div {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#screen-results .decision-command-facts .priority-action-card {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#screen-results .decision-command-facts .priority-action-index,
#screen-results .decision-command-facts .priority-action-card.is-primary .priority-action-index {
  position: static;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 1px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--presentation-muted);
  line-height: 1.5;
  transform: none;
}
#screen-results .priority-followup-details,
#screen-results .priority-followup-details > summary { border: 0; border-radius: 0; background: transparent; }
#screen-results .priority-followup-details > summary { padding-inline: 0; }
#screen-results .answer-reasoning-section { padding-inline: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.later-decision-records { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--presentation-rule); }
.later-decision-records > summary { min-height: 44px; padding: 10px 0; color: var(--presentation-ink); font-weight: 600; cursor: pointer; }
.later-decision-records > summary small { display: block; margin-top: 5px; color: var(--presentation-muted); font-size: .8rem; font-weight: 400; }
.later-decision-records > p { max-width: 76ch; line-height: 1.6; }
.later-decision-topic { margin-top: 24px; }
.later-decision-topic > h3 { margin-bottom: 8px; font-size: 1rem; }
.app-shell .later-decision-records .finding-decision-panel { border: 0; border-top: 1px solid var(--presentation-rule); border-radius: 0; background: transparent; }
.app-shell .later-decision-records .finding-decision-panel > summary { padding-inline: 0; background: transparent; }
.app-shell .later-decision-records .finding-decision-body { padding-inline: 0; }
.coverage-considerations { margin-block: 28px; }
.coverage-considerations > header p { max-width: 76ch; }
.coverage-workbench { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 40px; margin-top: 28px; }
.coverage-workbench > * { min-width: 0; }
.coverage-workbench-title { margin: 0 0 16px; font-size: 1.0625rem; font-weight: 600; }
.coverage-consideration { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--presentation-rule); }
.coverage-consideration > div { min-width: 0; }
.coverage-consideration h3 { margin: 0 0 8px; font-size: 1rem; }
.coverage-consideration p { margin: 8px 0; font-size: .9rem; line-height: 1.6; }
.coverage-consideration-question { color: var(--presentation-ink); font-weight: 600; }
.coverage-consideration .coverage-scope-state { margin: 0 0 8px; color: var(--presentation-muted); font-size: .75rem; font-weight: 600; }
.coverage-consideration[data-coverage-applicability="conflicting"] .coverage-scope-state { color: #8a4b15; }
.coverage-source-basis > summary { min-height: 44px; padding-block: 10px; font-size: .8rem; cursor: pointer; }
.coverage-source-basis li { margin-block: 6px; color: var(--presentation-muted); font-size: .8125rem; line-height: 1.6; }
.coverage-draft-evolution { padding-left: 28px; border-left: 1px solid var(--presentation-rule); }
.coverage-draft-note, .coverage-draft-empty { color: var(--presentation-muted); font-size: .8125rem; line-height: 1.6; }
.coverage-draft-comparison > section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--presentation-rule); }
.coverage-draft-comparison h4 { margin: 0 0 10px; font-size: .8125rem; font-weight: 600; }
.coverage-draft-comparison p { font-size: .875rem; line-height: 1.7; }
.coverage-source-text { max-height: 22rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
#coverageDiscussionChanges section { margin-top: 18px; }
#coverageDiscussionChanges section > h4 { color: var(--presentation-muted); }
#coverageDiscussionChanges ins { color: var(--presentation-ink); background: transparent; text-decoration: underline; text-decoration-color: var(--brand-solid, #173e20); text-underline-offset: 4px; white-space: pre-wrap; }
.coverage-consideration-option > small { display: block; color: var(--presentation-muted); font-size: .75rem; }
.coverage-consideration-option label { display: flex; align-items: start; gap: 12px; min-height: 44px; padding-block: 8px; font-size: .875rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.coverage-consideration-option input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-solid, #173e20); }
.coverage-consideration-option summary,
#coverageDiscussionPreview > summary { min-height: 44px; padding-block: 12px; font-size: .875rem; cursor: pointer; }
.coverage-consideration-boundary,
.coverage-discussion-boundary { color: var(--presentation-muted); font-size: .8125rem; line-height: 1.6; }
#coverageDiscussionPreview { margin-block: 16px; }
#coverageDiscussionWording { width: 100%; min-height: 180px; padding: 16px; border: 1px solid var(--presentation-rule); border-radius: 2px; background: var(--presentation-soft); color: var(--presentation-ink); font: inherit; line-height: 1.6; }
#coverageDiscussionStatus { font-size: .875rem; line-height: 1.6; }
.coverage-considerations :is(button, input, summary):focus-visible,
.later-decision-records > summary:focus-visible { outline: 3px solid var(--brand-solid, #173e20); outline-offset: 4px; }
@media (min-width: 1280px) {
  .coverage-draft-evolution { position: sticky; top: 110px; }
}
@media (max-width: 1100px) {
  .coverage-workbench { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .coverage-draft-evolution { padding-left: 0; border-left: 0; }
  .coverage-draft-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
  .coverage-draft-comparison { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .coverage-consideration { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .coverage-draft-evolution > button { max-width: 100%; white-space: normal; }
}

/* Workspace and contextual definitions remain easy to find without a pill. */
.app-shell .workspace-home-button {
  min-height: 44px; padding: 8px 10px; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; color: var(--presentation-ink);
  font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
}
.app-shell .workspace-home-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.app-shell .workspace-home-button:focus-visible { outline: 3px solid var(--brand-solid, #173e20); outline-offset: 3px; }
.app-shell .review-reference { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--presentation-rule); }
.app-shell .review-reference .insurance-terms-button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: auto; max-width: 100%; padding-inline: 0; text-align: left; }
.app-shell .review-reference svg { flex: 0 0 20px; }
.app-shell .review-reference > p { margin: 2px 0 0; color: var(--presentation-muted); font-size: .75rem; line-height: 1.55; }
.app-shell .workspace-learning-grid a { display: flex; flex-direction: column; align-items: flex-start; }
.insurance-help-dialog { border: 0; border-radius: 2px; background: var(--presentation-paper); }
.insurance-help-dialog .insurance-knowledge-search { padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--presentation-rule); border-radius: 0; background: transparent; }
.insurance-help-dialog .insurance-knowledge-search input { border-radius: 2px; }
.insurance-help-dialog .insurance-help-related { margin-block: 0 22px; padding: 0 0 16px; border-top: 0; border-bottom: 1px solid var(--presentation-rule); }
.insurance-help-dialog .insurance-help-related button { min-height: 44px; padding: 10px 0; margin-right: 16px; border: 0; border-radius: 0; background: transparent; color: var(--presentation-ink); text-decoration: underline; text-underline-offset: 4px; }
.insurance-help-dialog .insurance-help-related button:hover { background: transparent; color: var(--brand-solid, #173e20); }
.insurance-help-dialog .insurance-help-related button:focus-visible { outline: 3px solid var(--brand-solid, #173e20); outline-offset: 3px; }
.insurance-help-dialog .insurance-help-certainty { padding: 0; border-radius: 0; background: transparent; color: var(--presentation-muted); font-weight: 500; }
.insurance-help-dialog .insurance-help-definition { padding: 0; border: 0; border-radius: 0; background: transparent; }
.insurance-help-dialog section { padding: 18px 0 0; border-top: 1px solid var(--presentation-rule); border-radius: 0; background: transparent; }
.insurance-help-dialog .insurance-help-boundary { border-left: 0; background: transparent !important; }
.app-shell .clarification-question,
.app-shell .scope-clarification-question {
  min-width: 0;
  padding: 24px 0;
  margin-block: 20px;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell .clarification-question legend { max-width: 100%; padding: 0 16px 0 0; line-height: 1.5; }
.app-shell .scope-choice {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell .scope-choice:has(input:checked) {
  border-bottom-color: var(--brand-solid, #173e20);
  background: transparent;
  box-shadow: none;
}
.app-shell .expert-requirement-table-wrap,
.section .service-table-wrap { border-radius: 0; box-shadow: none; }
.app-shell :is(.finding-story-step:last-child, .scope-discrepancy, .scope-conflict-notice) { border-radius: 0; }

/* Access, registration and reference material follow the same visual language. */
.access-gateway .access-card,
.trial-layout .trial-card,
.workbook-lock .lock-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.trial-layout .trial-card { padding: 0; }
.trial-layout .trial-task-choice label,
.plan-fit .plan-fit-options label {
  padding-inline: 0;
  border: 0;
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
}
.trial-layout .trial-task-choice label:has(input:checked),
.plan-fit .plan-fit-options label:has(input:checked) {
  background: transparent;
  color: var(--presentation-ink);
  border-bottom-color: var(--brand-solid, #173e20);
  box-shadow: none;
}
.section .plan-card,
.trial-custom-plan,
.workbook-shell :is(.workspace-section, .start-option, .request-card, .answer-card) {
  border-radius: 0;
  box-shadow: none;
}
.workbook-shell .start-option,
.workbook-shell .summary-list article {
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.workbook-shell :is(.journey-step, .quiet-button, .text-button, .workbook-help-link) {
  border-radius: 0;
}

/* Controls keep their affordances and hit areas; no rounded badge-like buttons. */
:is(.public-landing, .site-wrap, .wrap, .app-shell, .access-gateway, .workbook-shell)
  :is(.button, .primary-button, .secondary-button, .export-button),
.trial-card :is(.button, .trial-password-wrap button),
.app-shell :is(.access-field input, .field-group input, .field-group select,
  .field-group textarea, .review-filter-bar input, .review-filter-bar select,
  .scope-explanation textarea, .scope-other-party input) {
  border-radius: 2px;
}
.app-shell :is(.workspace-learning-menu > summary, .workspace-more-menu > summary, .account-menu-button,
  .insurance-terms-button, .review-record-open-title):focus-visible,
.resource-subnav a:focus-visible,
.filter-chips button:focus-visible,
.learning-filters button:focus-visible {
  outline: 3px solid var(--brand-solid, #173e20);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .public-navigation-enabled .public-nav-panel {
    border-top: 0;
    border-left: 1px solid var(--presentation-rule);
    box-shadow: none;
  }
}
@media (max-width: 760px) {
  .engagement-editorial > .wrap { display: block; }
  .context-photography { margin-block: 28px; }
  .perspective-mobile-text { display: block; }
  .perspective-mobile-text p { margin-block: 16px; }
  .public-task-grid,
  .app-shell .workspace-task-grid { grid-template-columns: minmax(0, 1fr); }
  .app-shell .workspace-task-grid { row-gap: 0; }
  .app-shell .workspace-task-card {
    grid-template-rows: auto auto auto;
    grid-row: auto;
    row-gap: 12px;
  }
  .app-shell .dashboard-panel { padding: 20px 0; }
  .app-shell .review-record-meta { white-space: normal; }
  #screen-results .result-work-status > div,
  #screen-results .result-work-status > div + div { padding: 8px 0; }
}
@media (max-width: 480px) {
  .app-shell .site-header .header-actions { gap: 2px; }
  .app-shell .workspace-learning-menu > summary,
  .app-shell .workspace-more-menu > summary,
  .app-shell .insurance-terms-button,
  .app-shell .account-menu-button { padding-inline: 7px; }
  .public-navigation-enabled :is(.workspace-link, .sign-in, .landing-access-link) { padding-inline: 4px; }
  .section-index,
  .policy-index,
  .resource-subnav,
  .filter-chips,
  .learning-filters { gap: 4px 16px; }
  .public-task-grid .public-resource-card { padding: 20px 0; }
  .trial-layout .trial-card { padding-block: 16px; }
  #screen-results .result-context-line { gap: 12px 24px; }
}
@media (forced-colors: active) {
  .app-shell :is(.workspace-tab, .result-view-tab, .input-method-tab).is-active,
  .plan-fit .plan-fit-options label:has(input:checked),
  .app-shell .scope-choice:has(input:checked),
  .trial-task-choice label:has(input:checked),
  .filter-chips button.is-active,
  .learning-filters button.is-active { outline: 2px solid Highlight; outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-navigation-enabled .public-nav-chevron { transition: none; }
}

/* Remaining account, trial and private Founder surfaces.
   Scope is deliberate: preserve hero fields, MFA inputs and semantic notices. */
body:has(.founder-shell),
.founder-header,
.founder-shell,
.founder-shell .founder-sidebar {
  background: var(--presentation-paper);
  color: var(--presentation-ink);
}
.founder-header .founder-badge,
.founder-shell .status-pill {
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173e20;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
}
.founder-shell .status-pill.neutral { color: var(--ic-secondary); }
.founder-shell .status-pill.warning { color: var(--ic-warning); }
.founder-shell .status-pill.danger { color: var(--ic-error); }
.founder-header .view-switcher {
  padding: 0;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
}
.founder-header .view-switcher button,
.founder-shell .founder-sidebar nav button {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--presentation-ink);
}
.founder-header .view-switcher button:is(:hover, :focus-visible, .is-active),
.founder-shell .founder-sidebar nav button:is(:hover, :focus-visible, .is-active) {
  background: transparent;
  color: #173e20;
}
.founder-header .view-switcher button.is-active,
.founder-shell .founder-sidebar nav button.is-active {
  box-shadow: inset 0 -2px 0 #173e20;
}
.founder-header .founder-account button,
.founder-shell :is(.content-actions button, .table-action, .section-toolbar > button:not(.primary-action)) {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173e20;
  font-size: .875rem;
  font-weight: 600;
}
.founder-header .founder-account button:hover,
.founder-shell :is(.content-actions button, .table-action, .section-toolbar > button:not(.primary-action)):hover {
  background: transparent;
  color: #173e20;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.founder-shell :is(.panel, .metric, .growth-score-grid > article,
  .quick-action-grid > button, .experience-grid > article, .release-gate,
  .content-list > button, .publication-gates > div, .growth-roadmap > div,
  .quality-stage, .ticket, .revenue-sequence > span),
.founder-shell .quality-metric:not(.is-error):not(.is-provisional) {
  min-width: 0;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--presentation-ink);
}
.founder-shell :is(.content-list > button, .quick-action-grid > button):hover {
  background: var(--presentation-soft);
  color: var(--presentation-ink);
}
.founder-shell .quality-metric.is-unmeasured { border-top-style: dashed; }
.founder-shell :is(.quality-metric.is-error, .quality-metric.is-provisional) {
  border-radius: 0;
  box-shadow: none;
}
.founder-shell :is(.quality-stage-number, .revenue-sequence i, .publication-gates i) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173e20;
}
.founder-shell .publication-gates i { color: var(--ic-warning); }
.founder-shell .publication-gates .is-ready i { background: transparent; color: #173e20; }
.founder-shell :is(.metric-grid, .growth-score-grid, .quick-action-grid,
  .experience-grid, .quality-metric-grid, .release-gates, .growth-roadmap) {
  column-gap: 28px;
}
.founder-gate .gate-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--presentation-ink);
}
.founder-header button,
.founder-shell button,
.founder-gate :is(button, a),
.trial-card button,
#accountDialog button {
  min-height: 44px;
}
.founder-gate :is(button, a),
.founder-shell :is(.primary-action, .experience-grid button),
#accountDialog {
  border-radius: 2px;
}
#accountDialog .account-detail-grid { gap: 8px 28px; }
#accountDialog .account-detail-grid article {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
}
#accountDialog .account-detail-grid span {
  color: var(--presentation-muted);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
#accountDialog .account-detail-grid strong { font-size: .9375rem; line-height: 1.5; }
.trial-layout .trial-state-icon,
.trial-story .trial-steps li > span {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173e20;
  box-shadow: none;
}
.trial-layout .trial-state-icon { justify-items: start; }
.trial-card .trial-offer-summary,
.section .plan-fit {
  padding-inline: 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
  box-shadow: none;
}
.founder-header button:focus-visible,
.founder-shell :is(button, a):focus-visible,
.trial-card button:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 620px) {
  .founder-shell :is(.panel, .metric, .quick-action-grid > button,
    .experience-grid > article, .content-list > button) { padding-block: 18px; }
  .founder-header .view-switcher { max-width: 100%; }
  .founder-header .view-switcher button { padding-inline: 8px; }
  .founder-shell .release-gate { flex-wrap: wrap; }
  .founder-shell .release-gate .gate-state { max-width: 100%; text-align: left; }
}
@media (forced-colors: active) {
  .founder-header .view-switcher button.is-active,
  .founder-shell .founder-sidebar nav button.is-active {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/* The access gateway is outside app-shell; keep the same control geometry. */
#access-gateway .access-field input { border-radius: 2px; }
#access-gateway .access-request-route {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--presentation-rule);
  border-radius: 0;
  background: transparent;
  color: var(--presentation-ink);
  box-shadow: none;
}
#access-gateway .access-request-route strong { margin-inline-end: .4em; }

/* Public example layout is owned by flagship-demo.css. Keeping it there
   prevents this shared workspace layer from flattening the public experience. */

/* Shared guide metadata remains readable despite historical inline templates. */
.guide-panel .guide-meta { color:var(--ic-brand,#173e20);font-size:.875rem; }

/* Keep the compact plan comparison readable on narrow screens. */
.plan-comparison :is(th,td) { font-size:.875rem; }
