/* R197: CONFYRA brand surface for the existing planner. The R151 mobile
   scrolling layout, 44px controls and 13px helper text remain in the base CSS. */
@font-face {
  font-family: "CONFYRA Planner Sans";
  src: url("/fonts/IBMPlexSans-Var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
html.cf197-planner {
  font-family: "CONFYRA Planner Sans", "IBM Plex Sans", system-ui, sans-serif;
  color: #193d43;
  background: #f7f6f1;
  --green: #193d43;
  --ink: #193d43;
  --muted: #596a6b;
  --line: #d7ded9;
}
.cf197-planner button { border-radius: 4px; }
.cf197-planner button:hover { background: #ece8df; border-color: #94713f; }
.cf197-planner button.primary:hover,
.cf197-planner button[aria-pressed="true"]:hover { background: #274a50; color: #fff; }
.cf197-planner :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid #94713f;
  outline-offset: 2px;
}
.cf197-planner .intro,
.cf197-planner .segmented,
.cf197-planner .module-icon,
.cf197-planner .module-list-button.active,
.cf197-planner .metric { background: #ece8df; }
.cf197-planner :is(.viewport, .playback, .preview-plan, th) { background: #f7f6f1; }
.cf197-planner .step-copy p,
.cf197-planner .panel label,
.cf197-planner .field,
.cf197-planner .view-label { color: #38545a; }
.cf197-planner .panel input:not([type="range"]),
.cf197-planner .panel select,
.cf197-planner .dialog-body :is(input, select, textarea) { border-color: #d7ded9; border-radius: 4px; }
.cf197-planner .notice:not(.warning):not(.error) { background: #f7f6f1; }
.cf197-planner :is(.module-card, .segmented, .module-icon, .metric, .preview-plan, dialog) { border-radius: 6px; }
.cf197-planner dialog::backdrop { background: #193d4370; }
.cf197-planner #toast { background: #193d43; }
@media (min-width: 761px) {
  .cf197-planner button { font-size: 13px; }
  .cf197-planner .icon-button { font-size: 23px; }
  .cf197-planner :is(.project-name > span, .step-copy p, .panel-intro, .rail-note,
    .rail-hint, .next-step-note, .module-card small, .module-list-button small,
    .tiny-note, .muted, .dimension-scope, .angle-note, .dimension-status,
    .dimension-control > label span, .playback small, .app-footer, .view-label,
    .metric span, .export-grid small, .tool-grid small, .finding p, .finding small,
    .canvas-footer, .playback > span, .playback-label strong) {
    font-size: 13px;
    line-height: 1.45;
  }
  .cf197-planner .app-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
