/* The public worksheet uses the same photo / entry-card layout as Capture. */
#demo-capture-review { --cr-border:#d9ddd3; color:#202b23; scroll-margin-top:88px; }
.cr-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:12px 0 18px; }
.cr-intro > div { max-width:680px; }
.app-preview .cr-intro h3 { max-width:18ch; margin:7px 0 12px; font:700 clamp(2.15rem,4.2vw,3.55rem)/.99 Georgia,serif; letter-spacing:-.05em; }
.cr-intro p:not(.demo-eyebrow) { margin:0; color:#515b51; font-size:14px; line-height:1.55; }
.cr-safety { display:flex; flex:0 1 265px; align-items:center; gap:10px; padding:12px 14px; background:#e7f4ed; border:1px solid #b3d2c0; border-radius:10px 19px 10px 19px; }
.cr-safety > span { display:grid; place-items:center; width:19px; height:19px; border:1.5px solid; border-radius:50%; flex:none; }
.cr-safety strong,.cr-safety small,.cr-photo-title small { display:block; line-height:1.4; }
.cr-safety strong { font-size:12px; }.cr-safety small,.cr-photo-title small { font-size:11px; }
.cr-layout { display:grid; grid-template-columns:minmax(200px,.92fr) minmax(0,1.8fr); align-items:start; gap:14px; }
.cr-layout .demo-card,.cr-inbox { min-width:0; padding:clamp(12px,1.7vw,22px); }
.cr-photo { display:grid; gap:12px; position:sticky; top:80px; }
.cr-photo-title { display:flex; align-items:center; gap:10px; overflow-wrap:anywhere; }
.cr-photo-title > span { display:grid; width:34px; height:34px; place-items:center; background:#26382d; color:#d5ec91; border-radius:7px; font-size:22px; flex:none; }
.cr-thumbnail { padding:0; border:0; border-radius:7px; overflow:hidden; background:#f0f1e8; cursor:zoom-in; }
.cr-thumbnail img { width:100%; height:auto; max-height:430px; display:block; object-fit:contain; }
.cr-review-head,.cr-entry-tools,.cr-approval,.cr-inbox header,.cr-form-actions,.cr-inbox-row { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.cr-review-head { align-items:flex-start; }
.app-preview .cr-review-head h4,.app-preview .cr-inbox h4,.app-preview .cr-extra-form h4 { font:600 19px/1.3 'DM Sans',sans-serif; margin:4px 0; letter-spacing:-.025em; }
.cr-reviewed,.cr-confidence { display:inline-block; width:fit-content; padding:3px 8px; border-radius:20px; color:#285549; background:#e3f2e7; font-size:11px; font-weight:700; }
.cr-check .cr-confidence { background:#fff2d2; color:#725418; }
.cr-help { color:#596159; margin:7px 0 14px; font-size:12px; }
.cr-extra,.cr-extra-form,.cr-entry { padding:12px; border:1px solid var(--cr-border); border-radius:9px; }
.cr-extra { background:#f1f4e9; display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.cr-extra small { flex:1 1 135px; font-size:11px; }.cr-entries { display:grid; gap:12px; }
.cr-entry { border-inline-start:4px solid #84a95a; background:#fdfdfa; }
.cr-entry.cr-check { border-inline-start-color:#c48d36; }
.cr-entry-tools > div,.cr-form-actions { display:flex; flex-wrap:wrap; gap:4px; }
.app-preview .cr-entry-tools button { font-size:11px; min-height:32px; padding:4px 9px; border-radius:20px; }
.cr-check-label { display:inline-flex; gap:6px; align-items:center; font-size:12px; font-weight:650; }
.app-preview .cr-check-label input { width:16px; height:16px; min-height:16px; margin:0; accent-color:#456842; }
.cr-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0; }
.cr-fields label,.cr-note label { min-width:0; display:grid; align-content:start; gap:4px; font-size:11px; font-weight:700; }
#demo-capture-review :is(.cr-fields,.cr-note,.cr-teach) :is(input,select,textarea) { width:100%; min-width:0; min-height:38px; padding:7px 8px; border:1px solid #ccd2c7; border-radius:6px; background:#fff; color:#26352a; font:400 13px/1.35 'DM Sans',sans-serif; }
#demo-capture-review .cr-fields :disabled { background:#f1f2ec; color:#5e695d; opacity:1; }
.cr-fields small { font-size:10px; font-weight:400; color:#627060; }
.cr-note { display:flex; align-items:flex-end; gap:7px; margin-top:8px; }.cr-note label { flex:1; }.cr-note textarea { resize:vertical; }
.cr-teach { display:grid; gap:6px; border-top:1px solid var(--cr-border); margin-top:12px; padding-top:10px; font-size:11px; }
.cr-teach > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:6px; }
.cr-extra-form { background:#fff; margin:10px 0; }.cr-extra-form fieldset { border:0; padding:0; margin:8px 0; }.cr-extra-form legend { font-size:12px; font-weight:650; }.cr-extra-form fieldset label { margin:6px 10px 0 0; }
.cr-form-actions { justify-content:flex-end; }.cr-approval { border-top:1px solid var(--cr-border); margin-top:14px; padding-top:14px; }
.app-preview #demo-capture-review button:disabled { opacity:.58; cursor:default; }
.cr-inbox { margin-top:14px; }.cr-inbox-row { justify-content:flex-end; border-top:1px solid var(--cr-border); padding-top:8px; margin-top:10px; font-size:12px; }.cr-inbox-row strong { margin-inline-end:auto; overflow-wrap:anywhere; }
.cr-inbox p:not(.demo-eyebrow) { font-size:12px; color:#637064; margin:12px 0 0; }
.cr-photo-dialog { max-width:min(92vw,740px); max-height:90dvh; padding:16px; border:1px solid #ced7c9; border-radius:12px; background:#fff; }
.cr-photo-dialog::backdrop { background:#17251ec4; }.cr-photo-dialog > div { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }.cr-photo-dialog img { display:block; max-width:100%; max-height:74dvh; object-fit:contain; margin:auto; }
@media(max-width:900px) { .cr-layout { grid-template-columns:minmax(150px,.75fr) minmax(0,1.8fr); }.cr-teach > div { grid-template-columns:repeat(2,minmax(0,1fr)); }.cr-teach button { justify-self:start; } }
@media(max-width:720px) { .cr-intro { display:grid; gap:12px; }.cr-safety { justify-self:start; }.cr-layout { grid-template-columns:1fr; }.cr-photo { position:static; grid-template-columns:62px minmax(0,1fr); align-items:center; }.cr-thumbnail { grid-row:1/3; grid-column:1; }.cr-photo-title,.cr-photo > .demo-button { grid-column:2; }.cr-photo-title > span { display:none; }.cr-photo > .demo-button { justify-self:start; }.cr-review-head button { min-height:36px; }.cr-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }.cr-note { display:grid; }.cr-note button { justify-self:end; } }
@media(max-width:425px) { .cr-teach > div { grid-template-columns:1fr; }.cr-review-head { gap:6px; }.cr-entry-tools { align-items:flex-start; }.cr-inbox-row { justify-content:flex-start; } }
.cr-banner { border:1px solid #c6d5bb; background:#f1f6e9; border-radius:9px; padding:12px 15px; margin-bottom:18px; font-size:13px; }
.cr-inbox-row > div { margin-inline-end:auto; }.cr-inbox-row small { display:block; font-size:11px; color:#5f685d; }
.cr-review-head + .cr-extra { margin-top:12px; }
