/* Focused check-ins share production tokens; Classic keeps its existing layout. */
.cr-view-host {min-width:0;display:flex;flex-direction:column;}
.cr-view-mobile-work {display:none;}
.cr-view-toolbar {display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px 28px;border-bottom:1px solid var(--pal-line);background:var(--bg-1);}
.cr-view-switch {display:flex;border:1px solid var(--pal-line);padding:4px;border-radius:8px;}
.cr-view-switch button {min-height:44px;padding:8px 16px;background:transparent;border:0;border-radius:5px;font:inherit;font-size:14px;color:var(--text-2);cursor:pointer;}
.cr-view-switch button[aria-pressed="true"] {background:var(--bg-3);color:var(--text-1);}
.cr-view-switch button:disabled {opacity:.5;cursor:wait;}
.cr-view-caption {font:inherit;font-size:14px;color:var(--text-2);line-height:1.6;}
.cr-view-stage-note {padding:12px 28px;margin:0;}
.cr-view-error {font-size:14px;color:var(--amber);white-space:pre-wrap;overflow-wrap:anywhere;}
.cr-view-loading {padding:32px;}
.cr-focused-page {grid-template-columns:260px minmax(0,1fr)!important;}
.cr-focused {max-width:864px;width:100%;margin:0 auto;padding:28px 40px 32px;box-sizing:border-box;color:var(--text-1);}
.cr-focused-heading {display:flex;flex-direction:column;align-items:flex-start;gap:16px;}
.cr-focused h1 {font-size:24px;line-height:1.35;font-weight:500;margin:0;letter-spacing:-.02em;overflow-wrap:anywhere;}
.cr-focused h2 {font-size:20px;line-height:1.5;font-weight:500;margin:0 0 16px;overflow-wrap:anywhere;}
.cr-view-eyebrow {font-size:12px;letter-spacing:.07em;color:var(--text-2);}
.cr-view-state {font-size:14px;color:var(--teal-300);}
.cr-focused-links {display:flex;gap:24px;flex-wrap:wrap;}
.cr-focused>.cr-view-text {margin-right:24px;}
.cr-view-text {background:transparent;border:0;padding:8px 0;min-height:44px;font:inherit;font-size:14px;color:var(--text-2);text-align:left;cursor:pointer;}
.cr-view-text:disabled {opacity:.45;cursor:default;}
.cr-view-switch button:focus-visible,.cr-view-text:focus-visible,.cr-focused button:focus-visible,.cr-focused textarea:focus-visible {outline:2px solid var(--teal-300);outline-offset:4px;}
.cr-focused-card {margin-top:28px;padding:28px;border:1px solid var(--pal-line);border-radius:12px;background:var(--bg-2);}
.cr-focused-progress {display:flex;justify-content:space-between;gap:16px;color:var(--text-2);font-size:12px;margin-bottom:24px;}
.cr-focused-progress .cr-view-eyebrow {color:var(--teal-300);}
.cr-focused textarea {width:100%;box-sizing:border-box;min-height:112px;padding:14px;margin:8px 0 16px;border:1px solid var(--pal-line);border-radius:6px;color:var(--text-1);background:var(--bg-1);font:inherit;font-size:16px;line-height:1.6;resize:vertical;}
.cr-focused-unknowns {display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px;}
.cr-view-option {font:inherit;font-size:14px;color:var(--text-2);background:transparent;border:1px solid var(--pal-line);border-radius:6px;min-height:44px;padding:10px 16px;cursor:pointer;}
.cr-focused details {color:var(--text-2);font-size:14px;margin:12px 0;}
.cr-focused summary {min-height:44px;cursor:pointer;padding:10px 0;}
.cr-focused-actions {display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:20px;border-top:1px solid var(--pal-line);}
.cr-focused-actions .cr-btn-primary {min-height:44px;font-size:14px;}
.cr-focused-actions .cr-btn-primary:disabled {opacity:.4;cursor:default;}
.cr-focused-review {display:flex;gap:20px;justify-content:space-between;padding:20px 0;border-top:1px solid var(--pal-line);}
.cr-focused-review div {min-width:0;}
.cr-focused-review h3 {font-size:14px;font-weight:400;color:var(--text-2);margin:0 0 8px;line-height:1.6;}
.cr-focused-review p {font-size:16px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.cr-view-save {display:flex;align-items:center;gap:16px;font-size:12px;color:var(--text-2);padding:8px 0;}
.cr-view-save [hidden] {display:none;}
.cr-focused .cr-checkin-attach-row {flex-wrap:wrap;}
.cr-focused .cr-checkin-attach-hint {font-size:12px;white-space:normal;min-width:0;}
.cr-focused .cr-checkin-freeform-label {font-size:12px;}
.cr-focus>.cr-view-save {padding:12px 28px;}
.cr-view-dialog {position:fixed;inset:0 0 0 auto;width:min(480px,100%);height:100dvh;max-height:100dvh;max-width:100%;margin:0;padding:28px;box-sizing:border-box;color:var(--text-1);background:var(--bg-2);border:1px solid var(--pal-line);}
.cr-view-dialog::backdrop {background:rgba(0,0,0,.6);}
.cr-view-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;}
.cr-view-dialog-head h2 {font-size:20px;}
.cr-view-dialog p {font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;}
.cr-view-jump {display:flex;flex-direction:column;gap:8px;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--pal-line);background:transparent;color:var(--text-1);font:inherit;text-align:left;cursor:pointer;}
.cr-view-jump small {font-size:12px;color:var(--text-2);}
@media(max-width:760px) {
  header.cr-nav {height:auto;min-height:96px;padding:10px 16px;flex-wrap:wrap;gap:8px;}
  .cr-nav .cr-company,.cr-nav>.nav-spacer {display:none;}
  .cr-nav .cr-user-avatar {flex:0 0 30px;margin-left:auto;}
  .cr-nav .cr-tabs {order:3;flex-basis:100%;min-width:0;justify-content:center;}
  .cr-nav .cr-tab {min-height:44px;padding:0 12px;}
  .cr-page {grid-template-columns:minmax(0,1fr)!important;}
  .cr-page>.cr-on-this {display:none;}
  .cr-page>.cr-engagements-rail {display:none;max-height:240px;border-bottom:1px solid var(--pal-line);}
  .cr-page>.cr-engagements-rail.cr-rail-mobile-open {display:flex;}
  .cr-view-mobile-work {display:block;margin-left:auto;}
  .cr-focused {padding:24px 20px;}
  .cr-focused-card {padding:20px;}
  .cr-view-toolbar {padding:12px 20px;}
  .cr-focused h1 {font-size:22px;}
}
@media(prefers-reduced-motion:reduce){.cr-focused *,.cr-view-switch *{transition:none!important;animation:none!important;}}
