.prep-meta{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-top:22px}.prep-meta label{min-width:180px;flex:1}.prep-private{font-size:12px;border:1px solid #d6d1c8;padding:12px;border-radius:30px}.prep-steps{display:flex;overflow-x:auto;gap:8px;padding:16px 0 24px}.prep-steps button{flex:0 0 auto;background:transparent;color:#555;border:1px solid #d8d1c8;display:flex;gap:8px;align-items:center}.prep-steps button.selected{background:#161616;color:#fff;border-color:#161616}.prep-steps small{color:#ff5a1f}.prep-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:28px;align-items:start}.prep-editor,.prep-coach{border:1px solid #ddd7cc;border-radius:24px;padding:28px;background:#fff}.prep-editor h2{font-size:30px;margin-top:0}.prep-editor label{margin-top:22px}.prep-editor textarea{background:#faf8f3;font-size:16px;line-height:1.6;resize:vertical}.prep-coach{background:#f1ebe2}.prep-coach .check{font-size:12px;line-height:1.5}.prep-coach textarea{width:100%;margin:10px 0}.prep-chat{max-height:390px;overflow-y:auto}.prep-chat p{padding:14px;border-radius:14px;white-space:pre-wrap;line-height:1.6;font-size:14px}.prep-chat strong,.prep-suggestion strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:7px}.chat-assistant{background:#fff}.chat-user{border:1px solid #d2c7b7}.prep-suggestion{border-left:3px solid #ff5a1f;background:white;padding:16px;margin-top:18px}.prep-suggestion p{white-space:pre-wrap}.prep-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px}.prep-deeper{margin-top:20px;padding:15px;background:#fff0e5;border-radius:12px}.prep-deeper p{font-size:14px;line-height:1.6}#prep-save-status{font-size:13px;color:#555;min-height:24px}#prep-save-status button{margin-left:12px}.prep-print-actions{margin:12px 0 24px}.prep-print-actions button{margin-right:12px}#reflection-document{background:white;max-width:1000px;margin:0 auto;padding:48px;border:1px solid #ddd7cc;border-radius:16px;color:#161616}.reflection-letterhead{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #ff5a1f;padding-bottom:18px}.reflection-letterhead img{width:160px}.reflection-letterhead span{font-size:10px;letter-spacing:2px}.reflection-title{display:flex;justify-content:space-between;gap:22px;align-items:end;padding:28px 0}.reflection-title h1{font-size:36px;margin:10px 0 0}.reflection-title p{font-size:12px}.reflection-title>div:last-child{font-size:13px;text-align:right;line-height:1.8}.reflection-scores{background:#f7f4ed;padding:20px;border-radius:12px}.reflection-scores h2{font-size:18px;margin:0}.reflection-scores>p{font-size:11px}.reflection-scores>div{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.reflection-scores span{display:block;font-size:11px}.reflection-scores strong{font-size:27px}.reflection-area{margin-top:28px}.reflection-area h2{font-size:22px;border-bottom:1px solid #ddd;padding-bottom:12px}.reflection-area h2 span{color:#ff5a1f;font-size:13px;margin-right:16px}.reflection-columns{display:grid;grid-template-columns:.65fr 1fr 1.3fr;gap:20px}.reflection-columns h3,.reflection-closing h3{font-size:12px;color:#555}.reflection-columns p,.reflection-closing p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.reflection-closing{margin-top:36px;border-top:3px solid #ff5a1f}.reflection-closing>h2{font-size:24px}.reflection-closing section{padding:8px 0;border-bottom:1px solid #eee}#reflection-document footer{font-size:10px;padding-top:24px;color:#666}.home-intro .secondary{margin-top:12px}
@media(max-width:700px){.prep-layout{grid-template-columns:1fr}.prep-editor,.prep-coach{padding:20px;border-radius:18px}.prep-meta{gap:10px}.prep-meta label{min-width:140px}.prep-private{width:100%;text-align:center}.prep-steps{margin-right:-16px}.prep-editor h2{font-size:26px}#reflection-document{padding:22px}.reflection-title{display:block}.reflection-title>div:last-child{text-align:left;margin-top:14px}.reflection-title h1{font-size:28px}.reflection-letterhead span{display:none}.reflection-columns{grid-template-columns:1fr;gap:0}.reflection-scores>div{grid-template-columns:repeat(2,1fr)}}
@media print{body:has(#reflection-document) .app-header,body:has(#reflection-document) .prep-controls,body:has(#reflection-document) .workspace>footer,body:has(#reflection-document) nav,body:has(#reflection-document) #save-status{display:none!important}#reflection-document{max-width:none;border:0;border-radius:0;padding:0;font-size:10pt}.reflection-title h1{font-size:26pt}.reflection-letterhead span{display:block}.reflection-title{display:flex}.reflection-title>div:last-child{text-align:right}.reflection-columns{display:grid;grid-template-columns:.65fr 1fr 1.3fr;gap:16px}.reflection-scores>div{grid-template-columns:repeat(4,1fr)}.reflection-area h2,.reflection-closing h3{break-after:avoid}.reflection-columns p{font-size:10pt;orphans:3;widows:3}.reflection-area,.reflection-closing section{break-inside:avoid}.reflection-closing{break-before:page}.reflection-letterhead{border-bottom-color:#ff5a1f}#reflection-document h2 span{color:#ff5a1f}#reflection-document footer{display:block!important}.reflection-shell{width:100%}#reflection-document{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.prep-mode{display:flex;gap:10px;margin-bottom:24px}.guide-progress{display:flex;align-items:center;gap:20px;margin:24px 0;font-size:13px}.guide-progress progress{accent-color:#ff5a1f;flex:1;height:6px}.guide-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:28px;align-items:start}.guide-conversation{background:#fff;border:1px solid #e1d9cd;border-radius:26px;padding:28px}.guide-transcript{max-height:460px;overflow-y:auto;padding-right:10px;scroll-behavior:smooth}.guide-transcript p{padding:20px;line-height:1.65;white-space:pre-wrap;border-radius:20px;margin:0 0 16px;overflow-wrap:anywhere}.guide-transcript .chat-assistant{background:#f5f0e7;margin-right:22px}.guide-transcript .chat-user{background:#fff5ef;border:1px solid #ffd1b8;margin-left:30px}.guide-transcript strong{display:block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:8px;color:#8c4727}.guide-compose{border-top:1px solid #e1d9cd;padding-top:20px;margin-top:18px}.guide-compose textarea{width:100%;font-size:16px;line-height:1.6;resize:vertical;margin:10px 0}.guide-compose .check{font-size:12px;line-height:1.5;margin-bottom:18px}.guide-send{display:flex;gap:16px;align-items:center;justify-content:space-between}.guide-send button{flex-shrink:0}.guide-paper{background:#f4eee4;border-radius:24px;padding:28px;border-top:4px solid #ff5a1f}.guide-paper h2{font-size:28px;margin-top:12px}.guide-paper p{line-height:1.65}.guide-paper>button{display:block;margin-top:14px;width:100%}.guide-earlier{margin-bottom:20px;font-size:13px}.guide-earlier summary{padding:12px;cursor:pointer}.guide-scores{margin:20px 0}.guide-finished{margin-bottom:24px}
@media(max-width:750px){.guide-layout{grid-template-columns:1fr}.guide-conversation,.guide-paper{padding:20px;border-radius:20px}.guide-send{align-items:end}.guide-send .help{font-size:11px}.guide-transcript{max-height:420px}.guide-transcript p{padding:16px}.prep-mode button{font-size:12px;padding:12px}.guide-progress{gap:12px}.guide-paper h2{font-size:24px}}

/* The private worksheet and the blank templates share one document system. */
.reflection-downloads{margin:18px 0 24px;padding:16px 20px;border:1px solid var(--line);border-radius:16px}.reflection-downloads summary{cursor:pointer;font-weight:500}.reflection-downloads p{font-size:13px}.template-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--ink);border-radius:24px;padding:10px 18px;color:var(--ink);font-size:13px;text-decoration:none}.template-download:hover{background:#eee9df}
#reflection-document{padding:0;border:0;background:transparent;max-width:1050px}.reflection-paper{background:white;border:1px solid #ddd7cc;padding:44px;margin:28px 0;border-radius:16px}.reflection-paper .reflection-letterhead img{width:145px}.reflection-paper .reflection-letterhead span{font-size:9px;letter-spacing:1px}.reflection-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#c53d11;margin:24px 0 10px}.reflection-paper .reflection-title{display:block;padding:0 0 24px}.reflection-paper .reflection-title h1{font-size:34px;line-height:1.15;margin:0 0 22px}.reflection-person{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left!important;font-size:14px!important}.reflection-person small{display:block;font-size:9px;letter-spacing:1px;color:#625c54;font-weight:700}.reflection-person span{padding:8px 0;border-bottom:1px solid #ddd7cc}.reflection-paper .reflection-scores{padding:0;background:white}.reflection-paper .reflection-scores h2{font-size:16px}.reflection-paper .reflection-scores>p{margin:4px 0 12px}.reflection-paper .reflection-scores>div{gap:10px}.reflection-paper .reflection-scores>div>p{background:#f7f4ed;padding:14px;margin:0;border-radius:8px}.reflection-paper .reflection-scores strong{font-size:24px}.reflection-instruction{font-size:12px;line-height:1.5;color:#625c54;margin:20px 0 12px}.reflection-matrix{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.reflection-matrix th,.reflection-matrix td{padding:14px 10px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #dad4ca;overflow-wrap:anywhere}.reflection-matrix thead th{background:#161616;color:white;font-size:11px;font-weight:600}.reflection-matrix th small{display:block;margin-top:5px;font-size:10px;font-weight:400}.reflection-matrix tbody th{font-size:13px;background:white}.reflection-matrix td{background:#f7f4ed}.reflection-matrix td p{font-size:13px;line-height:1.55;margin:0;min-height:90px;white-space:pre-wrap}.reflection-paper .reflection-closing{border:0;margin:0}.reflection-closing section{margin:0 0 24px;border:0;padding:0}.reflection-closing section h2{font-size:18px;margin:0 0 6px}.reflection-closing section h3{font-size:12px;font-weight:400;color:#625c54;margin:0 0 10px}.reflection-closing section p{margin:0;background:#f7f4ed;padding:16px;min-height:110px;border:1px solid #e5ded2;border-radius:8px}.reflection-paper footer{display:flex;justify-content:space-between;border-top:1px solid #dad4ca;margin-top:24px;padding-top:14px!important;font-size:9px!important}
@media screen and (max-width:700px){.reflection-paper{padding:22px 18px}.reflection-paper .reflection-title h1{font-size:27px}.reflection-person{gap:18px}.reflection-matrix,.reflection-matrix tbody{display:block}.reflection-matrix thead{display:none}.reflection-matrix tr{display:block;margin-bottom:18px}.reflection-matrix tbody th{display:block;padding:12px 0;font-size:18px}.reflection-matrix td{display:block;padding:14px;width:auto}.reflection-matrix td:before{content:attr(data-label);display:block;font-size:10px;color:#625c54;margin-bottom:8px}.reflection-matrix td p{min-height:32px}.reflection-paper footer{display:block}.reflection-paper footer span{display:block;margin-top:8px}}
@media print{@page reflection{size:letter portrait;margin:32pt 36pt}body:has(#reflection-document){page:reflection;margin:0!important;padding:0!important}body:has(#reflection-document) #sync-status,body:has(#reflection-document) #update-status{display:none!important}#reflection-document{page:reflection!important;background:white;margin:0;padding:0}.reflection-paper{page:reflection;break-before:page;border:0;border-radius:0;margin:0;padding:0}.reflection-paper:first-child{break-before:auto}.reflection-paper .reflection-letterhead{padding-bottom:12pt;border-bottom:1.5pt solid #ff5a1f}.reflection-paper .reflection-letterhead img{width:110pt}.reflection-paper .reflection-letterhead span{font-size:7pt;letter-spacing:.5pt}.reflection-eyebrow{font-size:7pt;margin:15pt 0 7pt}.reflection-paper .reflection-title{padding:0 0 14pt}.reflection-paper .reflection-title h1{font-size:23pt;margin:0 0 12pt}.reflection-person{display:grid;font-size:10pt!important;gap:24pt}.reflection-person small{font-size:6.5pt}.reflection-paper .reflection-scores h2{font-size:11pt}.reflection-paper .reflection-scores>p{font-size:7pt}.reflection-paper .reflection-scores>div>p{padding:8pt;border-radius:0}.reflection-paper .reflection-scores span{font-size:7pt}.reflection-paper .reflection-scores strong{font-size:17pt}.reflection-instruction{font-size:8pt;margin:12pt 0 8pt}.reflection-matrix{display:table;min-width:0;table-layout:fixed}.reflection-matrix thead{display:table-header-group}.reflection-matrix tbody{display:table-row-group}.reflection-matrix tr{display:table-row;break-inside:avoid}.reflection-matrix th,.reflection-matrix td{display:table-cell;padding:8pt 6pt}.reflection-matrix thead th{font-size:8pt;background:#161616!important;color:white!important}.reflection-matrix th small{font-size:7pt}.reflection-matrix tbody th{font-size:9pt}.reflection-matrix td:before{display:none}.reflection-matrix td p{font-size:9pt;line-height:1.45;min-height:55pt}.reflection-paper .reflection-closing{break-before:auto;margin:0}.reflection-closing section{margin:0 0 18pt;break-inside:avoid}.reflection-closing section h2{font-size:12pt;margin:0 0 4pt}.reflection-closing section h3{font-size:8.5pt;margin:0 0 7pt}.reflection-closing section p{font-size:10pt;line-height:1.5;min-height:54pt;padding:9pt;border-radius:0}.reflection-paper footer{display:flex!important;margin-top:18pt;font-size:7pt!important;padding-top:9pt!important}.reflection-paper footer span{display:inline}}
/* Keep standard-length reflections to two pages, including their footers. */
@media print{
 html:has(#reflection-document),body:has(#reflection-document),body:has(#reflection-document) #app-shell,body:has(#reflection-document) .workspace,body:has(#reflection-document) #main{page:reflection!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}
 body:has(#reflection-document) #toast{display:none!important}
 .reflection-paper .reflection-letterhead img{width:100pt}
 .reflection-paper .reflection-title h1{font-size:22pt;margin-bottom:10pt}
 .reflection-matrix td p{min-height:48pt}
 .reflection-paper footer{margin-top:12pt;padding:8pt 0 0!important;max-width:none;line-height:1.4;break-inside:avoid}
 .reflection-paper:last-child{break-after:auto}
}

/* A compact document footer, separate from the application footer. */
#reflection-document .reflection-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:none;border-top:1px solid #dad4ca;position:relative;padding:14px 0 0!important;margin-top:20px;line-height:1.35;color:#625c54}
#reflection-document .reflection-footer:before{content:"";position:absolute;top:-1px;left:0;width:36px;height:2px;background:#ff5a1f}
#reflection-document .reflection-footer strong{display:block;font-size:12px;letter-spacing:-.3px;color:#161616;font-weight:600}
#reflection-document .reflection-footer em{font-style:normal;color:#c53d11}
#reflection-document .reflection-footer small{display:block;margin-top:4px;font-size:7px;letter-spacing:1px}
#reflection-document .reflection-footer>span{font-size:9px;text-align:right;white-space:nowrap}
@media screen and (max-width:520px){#reflection-document .reflection-footer{align-items:flex-start;gap:10px}#reflection-document .reflection-footer>span{white-space:normal;max-width:105px;margin:0}}
@media print{
 body:has(#reflection-document) .reflection-shell{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;display:block}
 #reflection-document .reflection-paper{min-height:0!important;height:auto!important;display:block;overflow:visible;box-shadow:none;break-after:auto}
 #reflection-document .reflection-paper+.reflection-paper{break-before:page;page-break-before:always}
 #reflection-document .reflection-footer{display:flex!important;align-items:center;gap:16pt;margin:10pt 0 0!important;padding:7pt 0 0!important;break-inside:avoid;page-break-inside:avoid}
 #reflection-document .reflection-footer:before{width:28pt;height:1.5pt}
 #reflection-document .reflection-footer strong{font-size:9pt}
 #reflection-document .reflection-footer small{font-size:5.5pt;letter-spacing:.65pt;margin-top:2pt}
 #reflection-document .reflection-footer>span{font-size:7pt;max-width:none;white-space:nowrap;margin:0}
 .reflection-closing section{margin-bottom:14pt}
 .reflection-closing section:last-child{margin-bottom:0}
}
