/* Claude review, 2026-11-27: layout fixes and finishing touches, loaded last.
   Everything here is presentation only; remove the file to return to the previous look. */

/* The code tab's editor fills its panel, so the Apply bar sits at the bottom
   instead of leaving an empty dark band beneath it. */
.code-area .code-editor-stack { flex:1 1 480px; height:auto; }

/* Laptop-height windows: the whole sidebar fits without scrolling. */
@media(min-width:701px) and (max-height:860px) {
  .sidebar { padding-top:18px; padding-bottom:10px; }
  .sidebar .brand { margin-bottom:16px; }
  .sidebar .brand-sub { display:none; }
  .sidebar .workspace-picker { margin-bottom:16px; padding-top:8px; padding-bottom:8px; }
  .sidebar .nav-item { padding-top:8px; padding-bottom:8px; margin:2px 0; }
  .sidebar .nav-label { margin-bottom:8px; }
  .sidebar .nav-divider { margin:12px 10px; }
  .sidebar .sidebar-bottom { padding-top:16px; }
  .sidebar .local-card { padding:11px 12px; }
  .sidebar .local-card p { margin:6px 0 8px; }
  .sidebar .profile { padding-top:11px; }
}

/* Keep selected text readable on both shell surfaces. */
::selection { background:#d8caff; color:#21182f; }

.test-data-scroll { max-height: 16rem; overflow: auto; margin: 1rem 0; }
.test-data-scroll table { border-collapse: collapse; width: 100%; font-size: .86rem; text-align: left; }
.test-data-scroll td, .test-data-scroll th { padding: .45rem .65rem; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; min-width: 5rem; }

/* Durable projects: the review shows the accepted and proposed pages side by side. */
.durable-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.durable-preview{margin:0;min-width:0}
.durable-preview figcaption{font-size:12px;font-weight:600;margin-bottom:6px}
.durable-preview iframe{display:block;width:100%;height:220px;border:1px solid #9fdcec;border-radius:8px;background:#fff}
#durable-status{flex:1;min-width:0}
.durable-diff{margin:10px 0}
.durable-diff summary{cursor:pointer;font-size:13px}
.durable-diff pre{max-height:240px;overflow:auto;margin:8px 0 0;padding:10px;border-radius:8px;background:#0f1b2d;color:#e7f6ff;font-size:12px;line-height:1.5;white-space:pre}
.durable-diff del{color:#ffb4a8;text-decoration:none}
.durable-diff ins{color:#a6f0b8;text-decoration:none}

/* Who does the work, in the headline task form (the local model, E2's last step). */
.route-choice { border:0; padding:0; margin:0 0 14px; display:grid; gap:8px; min-width:0; }
.route-choice legend { padding:0; margin-bottom:6px; font-weight:600; }
.route-choice label { display:flex; gap:8px; align-items:flex-start; font-weight:400; line-height:1.35; }
.route-choice input { margin-top:3px; flex:none; }
