.rep-workspace{max-width:1200px;margin:auto;color:var(--ink,#292736)}.rep-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:8px 0 30px}.rep-heading h2{font-size:27px;letter-spacing:-.8px;line-height:1.3;margin:8px 0 12px;font-weight:650}.rep-heading p{max-width:660px;color:var(--muted,#74717f);font-size:14px;line-height:1.8;margin:0}.rep-heading>.button{flex-shrink:0;margin-top:10px}.rep-heading .eyebrow{font-size:10px;letter-spacing:1.8px}.rep-directory-tools{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.rep-directory-tools form{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line,#e7e4ec);border-radius:10px;padding:7px 8px 7px 15px;flex:1;max-width:650px}.rep-directory-tools form>span{color:#8d879c;display:flex}.rep-directory-tools input{border:0;outline:0;min-width:0;flex:1;font:inherit;font-size:13px;background:transparent;padding:8px 0;color:inherit}.rep-directory-tools form:focus-within{outline:2px solid var(--purple,#7961b0);outline-offset:2px}.rep-directory-tools>span{display:flex;align-items:center;gap:8px;color:#827b90;font-size:11px}.rep-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rep-client-card{border:1px solid var(--line,#e7e4ec);border-radius:13px;background:#fff;padding:23px;transition:border-color .15s,box-shadow .15s}.rep-client-card:hover{border-color:#cfc2e4;box-shadow:0 7px 28px #37244808}.rep-client-card header{display:flex;gap:13px;align-items:center}.rep-client-avatar{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:12px;background:#f1ecf8;color:#776095;font-size:15px;font-weight:650}.rep-client-card h3{font-size:16px;line-height:1.4;margin:0;overflow-wrap:anywhere}.rep-client-card header p{display:flex;gap:5px;align-items:center;margin:6px 0 0;font-size:11px;color:#8a8494}.rep-client-card header p .ui-icon{width:12px;height:12px}.rep-card-rating{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:23px 0 20px}.rep-card-rating>strong{font-size:23px;letter-spacing:-.6px;font-weight:650}.rep-card-rating>span:last-child{flex-basis:100%;font-size:11px;color:#847d8f}.rep-stars{display:inline-flex;gap:3px;color:#d8d0e1;vertical-align:middle}.rep-stars .ui-icon{width:15px;height:15px}.rep-stars .is-filled{color:#b58b45}.rep-stars .is-filled .ui-icon{fill:#d5ae67;stroke:#bc9651}.rep-client-card>.text-button{border-top:1px solid #eeeaf3;padding-top:16px;width:100%;justify-content:space-between;font-size:12px;display:flex;align-items:center}.rep-community-note{display:flex;gap:14px;align-items:flex-start;margin:30px 0 10px;padding:20px 0;border-top:1px solid #e9e5ef;color:#80778c}.rep-community-note>.ui-icon{margin-top:3px;color:#9c8eaf}.rep-community-note strong{font-size:12px;font-weight:600}.rep-community-note p{font-size:12px;line-height:1.8;margin:6px 0 0}.rep-empty{text-align:center;padding:55px 30px}.rep-empty h3{font-size:20px;font-weight:600;margin:18px 0 12px}.rep-empty p{font-size:13px;max-width:530px;margin:0 auto 24px;color:#81798e;line-height:1.9}.rep-empty-icon{display:grid;place-items:center;margin:auto;width:56px;height:56px;border-radius:16px;background:#f4f0fa;color:#9580ae}.rep-empty-icon .ui-icon{width:25px;height:25px}.rep-more{display:flex;margin:24px auto}.rep-back{display:flex;gap:7px;align-items:center;margin-bottom:20px}.rep-profile{display:grid;grid-template-columns:1fr auto;gap:28px;padding:28px 30px}.rep-profile-identity{display:flex;gap:18px;align-items:center}.rep-profile-identity .rep-client-avatar{width:64px;height:64px;font-size:20px;border-radius:16px}.rep-profile h2{font-size:24px;margin:0 0 7px;line-height:1.4;font-weight:600}.rep-profile-identity p,.rep-profile-identity a{display:flex;gap:7px;align-items:center;font-size:12px;color:#867c95;margin:5px 0}.rep-profile-identity a{overflow-wrap:anywhere;text-decoration:none}.rep-profile-identity .ui-icon{width:14px;height:14px;flex-shrink:0}.rep-profile-score{display:flex;flex-direction:column;align-items:center;gap:7px;padding-left:30px;border-left:1px solid #eee9f3}.rep-profile-score>strong{font-size:40px;line-height:1.2;font-weight:600;letter-spacing:-1.4px}.rep-profile-score>span:last-child{font-size:11px;color:#8e849a}.rep-score-breakdown{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #eee9f3;padding-top:20px}.rep-score-breakdown>div{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#81758d}.rep-score-breakdown strong{color:#665477;font-size:16px;font-weight:600}.rep-score-breakdown small{font-size:11px;font-weight:400;color:#a298ac}.rep-review-list{display:grid;gap:18px;margin-top:24px}.rep-review{padding:26px 30px}.rep-review header{display:flex;align-items:center;justify-content:space-between;gap:20px}.rep-author{display:flex;align-items:center;gap:11px}.rep-author>span{width:36px;height:36px;border-radius:50%;background:#f1eef5;color:#8c799f;display:grid;place-items:center;font-size:11px;font-weight:600}.rep-author strong{font-size:13px;font-weight:600}.rep-author small{display:block;font-size:10px;color:#a095ab;margin-top:3px}.rep-review time{color:#a096ab;font-size:11px}.rep-review-rating{display:flex;gap:14px;align-items:center;margin:20px 0 15px;flex-wrap:wrap}.rep-project-badge{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:#81718c;border:1px solid #e8e0ef;background:#fbf9fd;border-radius:5px;padding:4px 7px}.rep-project-badge .ui-icon{width:12px;height:12px}.rep-review-copy{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#53485f}.rep-review-facts{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:11px;color:#9889a4;margin:22px 0}.rep-review-facts>span{display:flex;gap:6px;align-items:center}.rep-review-facts .ui-icon{width:14px;height:14px}.rep-review footer{border-top:1px solid #eee9f3;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:16px}.rep-review footer>div{display:flex;gap:18px}.rep-review footer small{font-size:10px;color:#a194ab}.rep-review footer button{font-size:11px;display:flex;gap:6px;align-items:center}.rep-review footer .ui-icon{width:13px;height:13px}.rep-evidence-note{font-size:11px;line-height:1.8;color:#9c90a6;margin:20px 0}.rep-notice{font-size:13px;color:#557f63;background:#f2f8f3;border:1px solid #deeadf;border-radius:9px;padding:14px 18px;margin-bottom:20px}.rep-loading{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rep-loading>div{height:225px;border-radius:13px;border:1px solid #ece7f1;background:linear-gradient(100deg,#f5f2f8 25%,#fcfbfd 45%,#f5f2f8 65%);background-size:200% 100%;animation:rep-loading 1.6s ease infinite}.rep-dialog{width:min(680px,calc(100vw - 40px));max-height:calc(100vh - 50px);border:1px solid #e7e0ef;border-radius:16px;padding:0;color:#40324d;box-shadow:0 20px 90px #2d1b4030;font-family:inherit}.rep-dialog::backdrop{background:#30223a65;backdrop-filter:blur(3px)}.rep-dialog>header{padding:25px 30px 20px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-bottom:1px solid #eee8f4}.rep-dialog h2{font-size:21px;font-weight:600;letter-spacing:-.5px;margin:7px 0 0}.rep-dialog .eyebrow{font-size:9px;color:#9b8aa9;letter-spacing:1.8px}.rep-close{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:0;border-radius:8px;background:#f6f2f9;color:#9d8bac;cursor:pointer}.rep-dialog>form{padding:18px 30px 26px}.rep-dialog .field{display:block;margin:18px 0 8px;font-size:12px}.rep-dialog .context-box{width:100%;font:inherit;font-size:13px;border:1px solid #e4dceb;border-radius:8px;background:#fff;padding:11px 12px;color:#564362}.rep-dialog textarea{resize:vertical}.rep-field-help,.rep-form-hint{font-size:11px;line-height:1.8;color:#9b8aa6;margin:8px 0}.rep-form-hint{margin:0 0 14px}.rep-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rep-rating-input{border:0;padding:0;margin:22px 0}.rep-rating-input legend{font-size:12px;margin-bottom:10px}.rep-rating-input>div{display:flex;gap:6px}.rep-rating-input label{position:relative;display:grid;place-items:center;width:40px;height:40px;cursor:pointer;border:1px solid #e7dfef;border-radius:8px}.rep-rating-input input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.rep-rating-input label:has(input:focus-visible){outline:2px solid #8768a7;outline-offset:3px}.rep-rating-input .ui-icon{width:23px;height:23px;color:#c5b4d2}.rep-rating-input label:has(input:checked){background:#faf4e7;border-color:#d9bf85}.rep-rating-input label:has(input:checked) .ui-icon{fill:#dfbf7b;stroke:#b78c40}.rep-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.rep-error{font-size:12px;color:#a04450;line-height:1.7}.rep-modal-status{padding:35px}.rep-workspace button:focus-visible,.rep-dialog button:focus-visible,.rep-dialog input:focus-visible,.rep-dialog select:focus-visible,.rep-dialog textarea:focus-visible{outline:2px solid #8c6faa;outline-offset:3px}@keyframes rep-loading{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.rep-loading>div{animation:none}}@media(max-width:1100px){.rep-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.rep-directory-tools>span{display:none}}

.rep-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.rep-client-card{min-width:0;display:flex;flex-direction:column}.rep-card-excerpt{font-size:12px;line-height:1.9;color:#82728f;margin:0 0 18px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rep-client-card>.text-button{margin-top:auto;align-self:flex-start}.rep-public-email{display:flex;gap:7px;align-items:center;font-size:12px;color:#7d5b9b;overflow-wrap:anywhere}.rep-public-email .ui-icon{width:14px;height:14px;flex-shrink:0}.rep-profile-identity>div{min-width:0}.rep-profile-identity .rep-public-email{color:#7d5b9b}.rep-purpose{background:#f2ecf7;border-radius:13px;padding:25px 28px;margin-bottom:28px}.rep-purpose>header{display:flex;align-items:flex-start;gap:12px;margin-bottom:13px}.rep-purpose>header>.ui-icon{width:20px;height:20px;color:#8a68a6;flex-shrink:0;margin-top:3px}.rep-purpose h3{font-size:21px;font-weight:550;letter-spacing:-.5px;line-height:1.4;margin:0;max-width:700px}.rep-purpose>p{font-size:13px;line-height:1.9;color:#897494;max-width:880px;margin:8px 0}.rep-purpose strong{font-weight:600;color:#5b466c}.rep-purpose>div{display:flex;gap:18px 30px;flex-wrap:wrap;border-top:1px solid #e4d8ed;padding-top:17px;margin-top:20px}.rep-purpose>div>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#90709f}.rep-purpose>div .ui-icon{width:14px;height:14px}.rep-context-note{display:flex;gap:9px;font-size:12px;line-height:1.9;padding:18px 22px;border-radius:10px;background:#f3edf8;color:#937d9f}.rep-context-note>.ui-icon{width:15px;height:15px;flex-shrink:0;margin-top:4px}.rep-write-stage{padding:24px 30px 28px}.rep-write-stage .field{margin-top:20px}.rep-write-steps{padding:0;list-style:none;display:flex;gap:10px;justify-content:space-between;font-size:10px;color:#a391af;margin:0 0 22px;flex-wrap:wrap}.rep-write-steps [aria-current]{color:#7c559a;font-weight:600}.rep-write-identity{display:flex;align-items:center;gap:13px;padding:17px 20px;background:#f3ecf8;border-radius:10px;margin-bottom:24px}.rep-write-identity strong{font-size:14px}.rep-write-identity p{font-size:12px;color:#947ca6;margin:4px 0 0;overflow-wrap:anywhere}.rep-found{padding:18px 20px;background:#f3edf8;border-radius:10px;margin-top:20px}.rep-found strong{font-size:15px}.rep-found p,.rep-found>span{font-size:12px;color:#937ba3;line-height:1.8;margin:7px 0}.rep-private-proof{border-top:1px solid #e9e0f0;margin-top:25px;padding-top:16px}.rep-private-proof summary{display:flex;align-items:center;gap:7px;font-size:12px;color:#947ca3;cursor:pointer}.rep-private-proof summary>.ui-icon{width:14px;height:14px}.rep-write-stage>.rep-field-help>.ui-icon{width:14px;height:14px;vertical-align:middle;margin-right:6px}.rep-review{min-width:0}.rep-review-copy{overflow-wrap:anywhere}.rep-write-stage [data-rep-lookup]{margin-top:10px}@media(max-width:760px){.rep-directory{grid-template-columns:1fr}.rep-purpose{padding:22px}.rep-heading{flex-direction:column}.rep-write-stage{padding:22px}.rep-purpose h3{font-size:19px}}

.rep-evidence{margin:19px 0;border-top:1px solid #ece4f2;padding-top:16px}.rep-evidence h4{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:550;margin:0 0 13px;color:#8d739e}.rep-evidence h4>.ui-icon{width:14px;height:14px}.rep-evidence ul,.rep-draft-files{list-style:none;margin:0;padding:0;display:grid;gap:8px}.rep-evidence li{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e9e0f0;border-radius:8px;padding:9px 12px}.rep-evidence li>button,.rep-draft-files li>button:first-child{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;text-align:left;min-height:36px}.rep-evidence li>button>span,.rep-draft-files li>button>span{overflow-wrap:anywhere;min-width:0}.rep-evidence li>small{font-size:10px;color:#a38bb1;white-space:nowrap}.rep-evidence .ui-icon{width:14px;height:14px;flex-shrink:0}.rep-attachment-editor{border:1px solid #e6dbee;border-radius:11px;padding:17px 18px;margin:24px 0}.rep-attachment-editor>header{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap}.rep-attachment-editor>header>div{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.rep-attachment-editor strong{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:550;color:#856795}.rep-attachment-editor>header>div>span{color:#a58db3;font-size:11px}.rep-attachment-editor .ui-icon{width:14px;height:14px}.rep-attachment-editor>header>.button{font-size:11px;padding:9px 12px}.rep-draft-files li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #ede5f3}.rep-draft-files li>.text-button:last-child{display:flex;gap:5px;align-items:center;font-size:11px;flex-shrink:0;min-height:36px}.rep-pending-files{padding-top:15px;border-top:1px solid #eae0f0;margin-top:14px}.rep-pending-files>strong{font-size:11px;margin-bottom:10px}.rep-pending-files>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 0;font-size:11px;color:#9b83a9}.rep-pending-files>div>span{overflow-wrap:anywhere;min-width:0}.rep-pending-files>div>div{display:flex;gap:12px;flex-shrink:0}.rep-pending-files button{font-size:11px;min-height:36px}.rep-file-status{font-size:12px;color:#a084b3;margin:12px 0}.rep-file-preview{width:min(1000px,calc(100vw - 48px));max-height:calc(100vh - 35px)}.rep-file-preview h2{font-size:17px;overflow-wrap:anywhere;line-height:1.5}.rep-file-frame{width:100%;height:65vh;display:block;border:0;background:#f3eff7}.rep-file-toolbar{padding:12px 25px;background:#faf7fc;border-bottom:1px solid #e8e0ed;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;color:#9882a8}.rep-file-toolbar a{display:flex;align-items:center;gap:7px;white-space:nowrap}.rep-file-error{padding:22px 30px}@media(max-width:760px){.rep-attachment-editor{padding:15px}.rep-file-toolbar{flex-wrap:wrap}.rep-pending-files>div{align-items:flex-start;flex-direction:column}}

.rep-ai-label{display:block;font-size:10px;font-weight:700;letter-spacing:1.4px;color:#7a5196;margin-bottom:7px}
.rep-purpose>.rep-purpose-main{font-size:14px;color:#644c76;line-height:1.9;margin-top:14px}
.rep-rating-input label.is-filled{background:transparent;border-color:transparent}
.rep-rating-input label.is-filled .ui-icon{fill:#dfbf7b;stroke:#b78c40}
.rep-rating-details{display:grid;gap:3px;margin:-5px 0 22px}
.rep-rating-details .field{margin-top:14px}


.rep-client-card h3,.rep-profile-identity h2,.rep-write-identity strong,.rep-found strong{overflow-wrap:anywhere;word-break:break-word}
.rep-client-card header>div,.rep-write-identity>div{min-width:0}

.rep-rating-details .rep-rating-input{margin:0 0 19px}
.rep-rating-details{gap:0;margin:0 0 5px}

.rep-rating-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.rep-rating-grid .rep-rating-input{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px}.rep-rating-grid .rep-rating-input legend{font-size:12px;padding:0 4px}.rep-rating-grid .rep-rating-input>div{gap:3px}.rep-rating-grid .rep-rating-input label{width:30px;height:36px}.rep-purpose.rep-purpose-compact{display:block;background:transparent;border:0;padding:0;margin:0 0 20px}.rep-purpose-compact>summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;color:var(--purple);border:1px solid var(--line);border-radius:20px;padding:9px 13px;font-size:12px}.rep-purpose-compact>summary::-webkit-details-marker{display:none}.rep-purpose-compact>summary:focus-visible{outline:2px solid var(--purple);outline-offset:3px}.rep-purpose-compact>summary .ui-icon{width:17px;height:17px}.rep-purpose-content{margin-top:12px;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.rep-purpose-compact:not([open])>.rep-purpose-content{display:none}.rep-purpose-content>div:last-child{display:flex;gap:15px;flex-wrap:wrap}.rep-purpose-content>div:last-child>span{display:inline-flex;gap:7px;align-items:center;font-size:12px}@media(max-width:700px){.rep-rating-grid{grid-template-columns:1fr}.rep-rating-grid .rep-rating-input>div{gap:8px}}

.rep-client-label{display:block;font-size:12px;font-weight:600;line-height:1.5;color:var(--muted);margin-bottom:6px}

.rep-analysis{margin-top:24px;padding:26px 30px}.rep-analysis>header{display:flex;justify-content:space-between;gap:18px;align-items:center}.rep-analysis h3{font-size:20px;line-height:1.4;margin:0}.rep-analysis>header>.ui-icon{color:var(--purple);width:24px;height:24px}.rep-analysis>p{font-size:13px;line-height:1.8;color:var(--muted);max-width:850px}.rep-analysis-actions{display:flex;gap:12px;margin-top:18px}.rep-analysis-actions .button{display:inline-flex;align-items:center;gap:8px}.rep-analysis-summary{font-size:15px;line-height:1.9;white-space:pre-wrap}.rep-analysis-meta{font-size:11px;color:var(--muted)}.rep-analysis-result>article{border-top:1px solid var(--line);padding:18px 0}.rep-analysis-result h4{font-size:15px;line-height:1.6;margin:0 0 8px}.rep-analysis-result article>p,.rep-analysis-limits{font-size:13px;line-height:1.8;white-space:pre-wrap}.rep-analysis-result summary{cursor:pointer;font-size:12px;color:var(--purple);padding:8px 0}.rep-analysis-result figure{margin:12px 0;padding:14px 18px;background:var(--purple-soft);border-radius:10px}.rep-analysis-result blockquote{margin:0;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.rep-analysis-result figcaption{font-size:11px;color:var(--muted);margin-top:10px}.rep-analysis-source-id{display:block;margin-top:4px;overflow-wrap:anywhere;font-size:10px}.rep-analysis-result summary:focus-visible{outline:2px solid var(--purple);outline-offset:3px}

.rep-usage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1rem;border:1px solid var(--line,#e5e7eb);border-radius:14px;margin:1rem 0}.rep-usage>div{display:flex;gap:.75rem;align-items:baseline}.rep-usage>div strong{font-size:1.5rem}.rep-usage>p{grid-column:1/-1;margin:0;color:var(--muted,#64748b)}.rep-usage>button{justify-self:start;grid-column:1/-1}@media(max-width:640px){.rep-usage{grid-template-columns:1fr}}

.rep-usage-loading{display:block;height:1rem;width:min(100%,18rem);border-radius:6px;background:var(--surface-muted,#eef2f7);animation:rep-usage-pulse 1s ease-in-out infinite alternate}@keyframes rep-usage-pulse{to{opacity:.35}}@media(prefers-reduced-motion:reduce){.rep-usage-loading{animation:none}}

.rep-purpose-trigger{display:inline-flex;align-items:center;gap:8px;margin:0 0 22px;text-align:left}
/* Purpose dialog has its own spacing, independent of the old inline card. */
.rep-purpose-dialog{width:min(600px,calc(100vw - 40px));background:#fff}
.rep-purpose-dialog>header{padding:26px 30px 22px;align-items:center}
.rep-purpose-dialog>header .eyebrow{display:none}
.rep-purpose-dialog>header h2{margin:0;font-size:21px;line-height:1.4;max-width:420px}
.rep-purpose-dialog .rep-purpose-content{margin:0;padding:26px 30px 28px;border:0;border-radius:0;background:transparent}
.rep-purpose-dialog .rep-ai-label{display:block;font-size:10px;line-height:1.6;letter-spacing:1px;color:#806299}
.rep-purpose-dialog .rep-purpose-intro{font-size:16px;line-height:1.7;margin:12px 0 24px;color:#51475d}
.rep-purpose-dialog .rep-purpose-steps{list-style:none;padding:0;margin:0;display:grid;gap:0}
.rep-purpose-dialog .rep-purpose-steps li{display:grid;grid-template-columns:32px 1fr;gap:15px;padding:18px 0;border-top:1px solid #eee9f2}
.rep-purpose-dialog .rep-purpose-number{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f2edf8;color:#806299;font-size:13px;font-weight:600}
.rep-purpose-dialog .rep-purpose-steps h3{margin:0 0 5px;font-size:15px;line-height:1.5;font-weight:600;color:#40324d}
.rep-purpose-dialog .rep-purpose-steps p{margin:0;font-size:14px;line-height:1.7;color:#756a80}
.rep-purpose-dialog .rep-purpose-decision{margin:10px 0 0;padding:16px 0 0;border-top:1px solid #eee9f2;font-size:14px;font-weight:600;color:#705491}
@media(max-width:600px){.rep-purpose-dialog>header{padding:22px}.rep-purpose-dialog .rep-purpose-content{padding:22px}.rep-purpose-dialog>header h2{font-size:19px}}

/* Separate the summary, observation and practical recommendation. */
.rep-analysis-result{margin-top:26px;max-width:900px}
.rep-analysis-overview{padding:20px 0 6px;border-top:1px solid var(--line)}
.rep-analysis-result .rep-analysis-summary{margin:8px 0 18px;font-size:15px;line-height:1.85}
.rep-analysis-result .rep-analysis-meta{margin:0 0 20px;font-size:12px}
.rep-analysis-result>article{padding:26px 0;display:grid;gap:22px}
.rep-analysis-result article section>p{margin:8px 0 0;font-size:15px;line-height:1.85;max-width:78ch}
.rep-analysis-result h4{font-size:14px;font-weight:650;color:var(--ink);margin:0}
.rep-analysis-recommendation{border-left:3px solid var(--purple);padding-left:18px}
.rep-analysis-result details{margin-top:0}
.rep-analysis-result figure{background:transparent;padding:12px 0;margin:8px 0;border-top:1px solid var(--line);border-radius:0}
.rep-analysis-result blockquote{font-size:14px}

/* Analysis stays outside the document flow; only the drawer body scrolls. */
.rep-analysis-launch{display:flex;justify-content:flex-end;margin:18px 0 24px}
.rep-analysis-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(620px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #e7e0ef;border-radius:20px 0 0 20px;overflow:hidden;padding:0;background:#fff}
.rep-analysis-drawer[open]{display:flex;flex-direction:column}
.rep-analysis-drawer>header{flex-shrink:0;padding:26px 28px;align-items:center}
.rep-analysis-drawer .rep-analysis{margin:0;padding:24px 28px 32px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}
.rep-analysis-drawer .rep-analysis>header{display:none}
.rep-analysis-drawer .rep-analysis>p{margin:0 0 24px;font-size:14px}
.rep-analysis-drawer .rep-analysis-result{margin-top:0}
.rep-analysis-drawer .rep-analysis-overview{border:0;padding-top:0}
.rep-analysis-drawer .rep-analysis-result article section>p{font-size:14px}
.rep-analysis-drawer .rep-analysis-summary{font-size:14px}
.rep-analysis-drawer .rep-close{min-width:36px;min-height:36px}
@media(prefers-reduced-motion:no-preference){.rep-analysis-drawer[open]{animation:rep-drawer-enter .22s ease-out}@keyframes rep-drawer-enter{from{transform:translateX(35px);opacity:.5}to{transform:translateX(0);opacity:1}}}

/* Experience composer: one clear surface, with unboxed rating controls. */
.rep-dialog:has(.rep-write-stage){width:min(800px,calc(100vw - 40px));background:var(--paper,#fff)}
.rep-dialog:has(.rep-write-stage)>header{position:sticky;top:0;z-index:2;padding:24px 32px 20px;background:var(--paper,#fff)}
.rep-dialog:has(.rep-write-stage) h2{font-size:24px;line-height:1.3}
.rep-write-stage{padding:24px 32px 12px}
.rep-write-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.4}
.rep-write-steps li{display:flex;gap:9px;align-items:center;min-width:0}
.rep-step-number{display:grid;place-items:center;flex:0 0 26px;height:26px;border:1px solid var(--line);border-radius:50%;font-size:11px;color:var(--muted)}
.rep-step-number .ui-icon{width:14px;height:14px}
.rep-write-steps [aria-current] .rep-step-number{background:var(--purple);color:white;border-color:var(--purple)}
.rep-write-steps .is-complete{color:var(--purple)}
.rep-write-steps .is-complete .rep-step-number{background:var(--purple-soft);border-color:transparent;color:var(--purple)}
.rep-write-identity{padding:0 0 22px;margin-bottom:4px;background:transparent;border-radius:0;gap:12px}
.rep-write-identity .rep-client-avatar{width:42px;height:42px;border-radius:12px;font-size:13px}
.rep-write-identity .rep-client-label{display:block;margin-bottom:4px;font-size:10px;letter-spacing:1px}
.rep-write-identity strong{display:block;font-size:16px;font-weight:500;line-height:1.5}
.rep-write-stage .field{font-size:13px;margin-top:22px}
.rep-write-stage .context-box{font-size:14px;padding:12px 14px;line-height:1.6}
.rep-write-stage textarea{min-height:140px}
.rep-write-stage .rep-rating-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.rep-write-stage .rep-rating-grid .rep-rating-input{border:0;border-radius:0;padding:0;margin:0;min-width:0}
.rep-write-stage .rep-rating-input legend{padding:0;margin:0 0 12px;font-size:13px;font-weight:500;color:var(--ink)}
.rep-write-stage .rep-rating-input>div{gap:3px}
.rep-write-stage .rep-rating-input label{width:36px;min-width:36px;height:40px;border:0;border-radius:50%;background:transparent}
.rep-write-stage .rep-rating-input label:has(input:checked),.rep-write-stage .rep-rating-input label.is-filled{background:transparent;border:0}
.rep-write-stage .rep-rating-input label>span{display:grid;place-items:center}
.rep-write-stage .rep-rating-input .ui-icon{width:26px;height:26px}
.rep-write-stage .rep-rating-input label:hover .ui-icon{stroke:#b78c40}
.rep-write-stage .rep-attachment-editor{border:0;border-radius:0;padding:20px 0;margin:22px 0;border-top:1px solid var(--line)}
.rep-write-stage .rep-private-proof{margin-top:18px;padding-top:20px}
.rep-write-stage .rep-form-actions{position:sticky;bottom:0;z-index:1;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:18px 0;background:var(--paper,#fff);border-top:1px solid var(--line)}
.rep-write-stage .rep-form-actions>.button:only-child{margin-left:auto}
.rep-write-stage .rep-form-actions .button{min-height:42px;font-size:13px}
@media(max-width:700px){.rep-write-stage{padding:20px}.rep-dialog:has(.rep-write-stage)>header{padding:22px 20px}.rep-write-steps{gap:8px;font-size:11px}.rep-write-steps li{align-items:flex-start;gap:6px}.rep-step-number{flex-basis:22px;height:22px}.rep-write-stage .rep-rating-grid{grid-template-columns:1fr;gap:20px}.rep-write-stage .rep-rating-input>div{gap:8px}}

/* Published experiences open as readable details instead of expanding the page. */
.rep-review-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}
.rep-review-card{position:relative;display:flex;flex-direction:column;padding:24px;min-width:0;transition:border-color .18s ease,box-shadow .18s ease}
.rep-review-card:hover{border-color:#cbb7df;box-shadow:0 8px 24px #49305b0a}
.rep-review-card:has(.rep-review-open:focus-visible){outline:2px solid var(--purple);outline-offset:3px}
.rep-review-card>header{align-items:flex-start;gap:12px}
.rep-review-card .rep-author{min-width:0}
.rep-review-card .rep-author>span{flex-shrink:0}
.rep-review-card .rep-author>div{min-width:0}
.rep-review-card .rep-author strong{display:block;overflow-wrap:anywhere}
.rep-review-card time{flex-shrink:0;white-space:nowrap;font-size:11px}
.rep-review-card .rep-review-rating{margin:20px 0 12px}
.rep-review-card .rep-review-excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.8;margin:0 0 22px}
.rep-review-card>footer{margin-top:auto;padding-top:14px;min-height:46px}
.rep-review-file-count{display:inline-flex;align-items:center;gap:6px}
.rep-review-file-count .ui-icon{width:14px;height:14px}
.rep-review-card .rep-review-open{font-size:12px;min-height:36px;white-space:nowrap}
.rep-review-open::after{content:"";position:absolute;inset:0;cursor:pointer}
.rep-review-dialog{width:min(760px,calc(100vw - 40px));background:var(--paper,#fff)}
.rep-review-dialog>header{position:sticky;top:0;z-index:2;background:var(--paper,#fff)}
.rep-review-dialog .rep-review-full{padding:28px 32px}
.rep-review-full .rep-review-copy{font-size:15px;line-height:1.9}
.rep-review-full .rep-review-facts{font-size:13px;color:var(--muted);gap:16px 28px}
.rep-review-full>footer{position:sticky;bottom:0;background:var(--paper,#fff);margin-top:24px;padding:18px 0 0}
.rep-review-full footer button{min-height:36px;font-size:12px}
@media(max-width:760px){.rep-review-list{grid-template-columns:1fr}.rep-review-dialog .rep-review-full{padding:22px}}
@media(prefers-reduced-motion:reduce){.rep-review-card{transition:none}}

.rep-analysis-date{margin:0 0 18px;font-size:12px;line-height:1.7;color:var(--muted)}
.rep-analysis-changed{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 22px;padding:14px 16px;border-radius:10px;background:var(--purple-soft)}
.rep-analysis-changed p{margin:0;font-size:13px;line-height:1.7}
.rep-analysis-changed button{flex-shrink:0;min-height:36px;font-size:12px}

.rep-analysis-guidance{margin-top:12px}
.rep-analysis-guidance p{margin:12px 0 0;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.rep-author-review-count{font-size:12px;color:var(--muted);margin-right:auto}
.rep-review-card footer{flex-wrap:wrap;gap:10px}
.rep-author-experience-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 32px 0;padding-bottom:18px;border-bottom:1px solid var(--line)}
.rep-author-experience-nav>span{font-size:14px;color:var(--muted)}
.rep-author-experience-nav .button{min-width:38px;min-height:38px;padding:8px}
.rep-withdraw-dialog{width:min(540px,calc(100vw - 40px))}
.rep-withdraw-content{padding:8px 30px 28px}
.rep-withdraw-content>p{font-size:14px;line-height:1.8;color:var(--muted)}
.rep-withdraw-content blockquote{margin:20px 0;padding:16px 18px;background:var(--purple-soft);border-radius:10px;font-size:14px;line-height:1.8;max-height:180px;overflow:auto;overflow-wrap:anywhere}
.rep-withdraw-confirm{background:#96392f;border-color:#96392f;color:#fff}
.rep-withdraw-content .rep-error{color:#96392f}
.rep-withdraw-content .rep-error:empty{display:none}
