@font-face{font-family:"Riviosa Gothic";src:url("/r-portal/brand/riviosa-gothic-book.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Riviosa Gothic";src:url("/r-portal/brand/riviosa-gothic-demi.woff2") format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
:root{color-scheme:light;--bg:#f3f3f0;--surface:#fbfbfa;--ink:#121211;--muted:#66655f;--rule:rgba(23,23,22,.18);--wash:#e8e8e3;--focus:#55554f;--error:#a33424;--good:#2f7850}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#0b0b0a;--surface:#151514;--ink:#f3f3f0;--muted:#aaa89f;--rule:rgba(243,243,240,.2);--wash:#20201e;--focus:#d0cfc8;--error:#ffab98;--good:#8bc3a0}}
:root[data-theme=dark]{color-scheme:dark;--bg:#0b0b0a;--surface:#151514;--ink:#f3f3f0;--muted:#aaa89f;--rule:rgba(243,243,240,.2);--wash:#20201e;--focus:#d0cfc8;--error:#ffab98;--good:#8bc3a0}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:400 16px/1.55 "Riviosa Gothic","Century Gothic","Avenir Next",Futura,Arial,sans-serif;-webkit-font-smoothing:antialiased}[hidden]{display:none!important}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}:focus-visible{outline:2px solid var(--focus);outline-offset:4px}h1,h2,h3,p,a{overflow-wrap:break-word}h1,h2,h3{font-weight:400;line-height:1.2;margin:0}h1{font-size:clamp(32px,3.8vw,48px);letter-spacing:-.025em}h2{font-size:24px;letter-spacing:-.01em}h3{font-size:19px}p{margin:0 0 16px}.workspace{max-width:1440px;margin:auto;padding:0 clamp(20px,4vw,64px)}.skip{position:absolute;top:-100px;left:20px;background:var(--surface);padding:12px;z-index:10}.skip:focus{top:12px}.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 0;border-bottom:1px solid var(--rule)}.brand{display:inline-flex;align-items:center;gap:18px;text-decoration:none;font-size:15px;letter-spacing:.13em;font-weight:600;white-space:nowrap}.brand-rule{width:1px;height:18px;background:var(--rule)}.brand-context{font-size:13px;letter-spacing:0;font-weight:400;color:var(--muted)}.masthead-actions{display:flex;align-items:center;gap:22px}.quiet-link,.back-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;background:transparent;border:0;padding:8px 0;font-size:13px;text-align:center}.quiet-link:hover,.back-link:hover{text-decoration:underline;text-underline-offset:4px}.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;line-height:1.2;padding:12px 19px;border:1px solid var(--ink);border-radius:2px;background:var(--ink);color:var(--bg);text-align:center;text-decoration:none}.button.quiet{border-color:var(--rule);background:transparent;color:var(--ink)}.button.quiet:hover{background:var(--wash);border-color:var(--ink)}.button:not(.quiet):hover{opacity:.84}.theme{font-size:13px;min-width:108px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:600;color:var(--muted);margin:0 0 12px}.intro{font-size:16px;color:var(--muted);max-width:58ch;margin:15px 0 0}.loading{padding:80px 0;color:var(--muted)}.login-view{max-width:790px;padding:clamp(55px,9vw,112px) 0 90px}.login-view h1{font-size:clamp(36px,4.6vw,60px)}.login-view .intro{max-width:48ch;font-size:18px;line-height:1.6;margin:22px 0 46px}.login-form{max-width:570px}.login-form label{display:block;font-size:14px;margin-bottom:10px}.login-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.login-fields input{min-width:0}.login-fields .button{white-space:nowrap}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:46px 0 30px}.page-heading>.button{flex:none}.notice{margin-top:24px;padding:16px 20px;border:1px solid var(--rule);background:var(--surface);font-size:14px}.processor-state{font-size:13px;color:var(--muted);margin:0 0 24px;max-width:75ch}.list-heading{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--ink)}.project-list{display:grid}.project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:25px 0;border-bottom:1px solid var(--rule);text-decoration:none}.project-row:hover .project-name{text-decoration:underline;text-underline-offset:6px}.project-name{font-size:23px;line-height:1.3;margin-bottom:6px}.project-address,.project-updated{font-size:13px;color:var(--muted);margin:0}.project-status-cell{text-align:right}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:31px;padding:5px 11px;border:1px solid var(--rule);font-size:12px;line-height:1.3;border-radius:2px;white-space:nowrap}.status-pill.is-ready{border-color:var(--good);color:var(--good)}.status-pill.is-attention{border-color:var(--error);color:var(--error)}.project-updated{margin-top:8px;font-size:11px}.empty-state{padding:55px 0;color:var(--muted)}.editor{max-width:1000px}.editor .page-heading{margin-top:22px;margin-bottom:35px}.back-link{margin-top:24px;font-size:14px;color:var(--muted)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{min-width:0;margin-bottom:26px}label{display:block;font-size:14px;margin:0 0 9px}input,textarea,select{display:block;width:100%;border:1px solid var(--rule);border-radius:2px;background:var(--surface);color:var(--ink);padding:13px 14px;line-height:1.5;min-height:48px}textarea{resize:vertical;min-height:155px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}select{text-align:center;text-align-last:center;padding-left:32px;padding-right:32px}select option{text-align:left}input:disabled,textarea:disabled,select:disabled{opacity:.7}.field-hint{font-size:12px;color:var(--muted);margin:9px 0 0;line-height:1.6}.more-details{margin:0 0 35px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:17px 0}.more-details summary{font-size:14px;cursor:pointer}.more-details summary .muted{margin-left:9px;font-size:12px}.more-details .field-grid{margin-top:22px}.more-details .field{margin-bottom:4px}.muted{color:var(--muted)}.attachments{margin:35px 0;padding-top:27px;border-top:1px solid var(--rule)}.attachment-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.file-actions{display:flex;gap:9px;flex-wrap:wrap}.file-actions .button{font-size:13px;min-width:105px}.file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.file-list{display:grid;gap:12px;margin-top:20px}.file-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:15px;align-items:center;padding:13px;border:1px solid var(--rule);background:var(--surface)}.file-preview{width:54px;height:54px;object-fit:cover;border:1px solid var(--rule);background:var(--wash)}.file-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;font-size:12px;letter-spacing:.04em;border:1px solid var(--rule);color:var(--muted);background:var(--wash)}.file-name{font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}.file-meta{font-size:11px;color:var(--muted);margin:0}.file-row .remove-file{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;font-size:22px;color:var(--muted)}.file-row .remove-file:hover{background:var(--wash);color:var(--ink)}.file-row progress{width:100%;height:5px;accent-color:var(--ink);margin-top:8px}.file-row.is-error{border-color:var(--error)}.file-row.is-error .file-meta{color:var(--error)}.form-submit{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--rule);padding:25px 0}.form-submit>.button{flex:none}.submit-state{font-size:13px;color:var(--muted);margin:0;max-width:65ch}.form-error{color:var(--error);font-size:13px;margin:12px 0 0;line-height:1.6}.connection-error{padding:70px 0}.connection-error h1{max-width:22ch}.connection-error p{margin:22px 0;color:var(--muted)}.detail-heading{align-items:flex-start}.detail-heading .status-pill{margin-top:5px}.project-progress{display:flex;justify-content:space-between;gap:35px;align-items:center;padding:28px;border:1px solid var(--rule);background:var(--surface);margin:0 0 40px}.project-progress h2{font-size:27px}.stage-message{font-size:14px;line-height:1.6;max-width:68ch;color:var(--muted);margin:12px 0}.receipt{font-size:11px;color:var(--muted);margin:14px 0 0;overflow-wrap:anywhere}.result-actions{display:flex;gap:10px;flex-wrap:wrap;max-width:360px}.result-actions .button{font-size:14px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px}.detail-grid h2{font-size:22px;margin-bottom:20px}.preserve-lines{white-space:pre-wrap;font-size:15px;line-height:1.7;max-width:67ch}.detail-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;font-size:13px;margin-top:25px}.detail-facts dt{color:var(--muted)}.detail-facts dd{margin:0}.saved-files{margin-top:0}.saved-files .file-row{grid-template-columns:46px minmax(0,1fr) auto;padding:11px}.saved-files .file-preview,.saved-files .file-icon{width:46px;height:46px}.saved-files a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.answer-section{margin:38px 0 0;padding:28px;border:1px solid var(--rule);background:var(--surface);max-width:1000px}.answer-section h2{margin-bottom:22px}.answer-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0}.activity{margin-top:35px;padding:24px 0;border-top:1px solid var(--rule)}.activity summary{font-size:14px;cursor:pointer}.activity ol{list-style:none;padding:8px 0 0;margin:0}.activity li{padding:15px 0;border-bottom:1px solid var(--rule);font-size:13px;max-width:85ch}.activity time{display:block;color:var(--muted);font-size:11px;margin-top:6px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--rule);padding:25px 0;margin-top:55px;color:var(--muted);font-size:11px}footer a{text-decoration:none}footer a:hover{text-decoration:underline}dialog{font-family:inherit;color:var(--ink);background:var(--bg);width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:1px solid var(--rule);border-radius:3px;padding:30px;overflow:auto}dialog::backdrop{background:rgba(0,0,0,.55)}.guide-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.guide-header h2{font-size:29px;max-width:21ch}.icon-button{flex:none;width:44px;height:44px;padding:0;font-size:26px;background:transparent;color:var(--ink);border-color:var(--rule)}.guide-steps{list-style:none;counter-reset:guide;padding:0;margin:28px 0}.guide-steps li{counter-increment:guide;display:grid;grid-template-columns:28px 1fr;gap:8px 14px;padding:20px 0;border-top:1px solid var(--rule)}.guide-steps li:before{content:"0" counter(guide);grid-row:1/3;color:var(--muted);font-size:12px;padding-top:3px}.guide-steps h3{font-size:19px}.guide-steps p{font-size:14px;color:var(--muted);line-height:1.65;margin:0}.guide-steps strong{font-weight:600;color:var(--ink)}.guide-done{width:100%}
@media(max-width:850px){.detail-grid{gap:28px}.masthead-actions{gap:16px}.project-progress{align-items:flex-start;flex-direction:column;gap:20px}.result-actions{max-width:none}}
@media(max-width:600px){.workspace{padding:0 20px}.masthead{padding:18px 0;gap:10px;flex-wrap:wrap}.brand{font-size:13px;gap:12px}.brand-context,.brand-rule{display:none}.masthead-actions{gap:14px;margin-left:auto}.masthead-actions .quiet-link{font-size:11px}.theme{font-size:12px;min-width:89px;padding:9px 11px}.masthead-actions #logout{order:3}h1{font-size:31px}.page-heading{margin:32px 0 26px;gap:15px}.page-heading>.button{padding:11px 14px;font-size:13px}.login-view{padding:58px 0 60px}.login-view h1{font-size:38px}.login-view .intro{font-size:16px;margin:20px 0 34px}.login-fields{grid-template-columns:1fr}.login-fields .button{width:100%;margin-top:2px}.eyebrow{font-size:10px}.intro{font-size:14px}.project-row{padding:22px 0;gap:15px}.project-name{font-size:19px}.project-address{font-size:12px}.project-updated{font-size:10px}.status-pill{font-size:11px;padding:5px 8px;max-width:115px;white-space:normal;text-align:center}.field-grid{grid-template-columns:1fr;gap:0}.field{margin-bottom:22px}input,textarea,select{font-size:16px}.more-details .field-grid{gap:20px}.more-details .field{margin-bottom:0}.attachment-heading{align-items:flex-start;flex-direction:column;gap:17px}.attachment-heading h2{font-size:22px}.file-actions{width:100%}.file-actions .button{flex:1}.file-row{grid-template-columns:44px minmax(0,1fr) 36px;gap:10px;padding:10px}.file-preview,.file-icon{width:44px;height:44px}.file-name{font-size:12px}.file-meta{font-size:10px}.file-row .remove-file{width:36px;height:44px}.form-submit{flex-direction:column;align-items:stretch;gap:18px}.form-submit>.button{width:100%}.detail-heading{flex-direction:column;gap:16px}.detail-heading .status-pill{max-width:none}.project-progress{padding:22px}.project-progress h2{font-size:23px}.detail-grid{grid-template-columns:1fr;gap:30px}.detail-grid h2{font-size:21px}.answer-section{padding:20px}.answer-section h2{font-size:22px}.answer-tools{flex-wrap:wrap}.answer-tools .button{font-size:13px;padding:11px 15px}.saved-files .file-row{grid-template-columns:40px minmax(0,1fr) auto}.saved-files .file-preview,.saved-files .file-icon{width:40px;height:40px}.saved-files a{font-size:11px}.detail-facts{gap:8px 15px}.receipt{font-size:10px}dialog{padding:22px}.guide-header{gap:15px}.guide-header h2{font-size:25px}.guide-steps{margin:22px 0}.guide-steps p{font-size:13px}.guide-steps h3{font-size:17px}footer{font-size:10px;gap:16px;margin-top:40px}}
@media(max-width:359px){.masthead{align-items:flex-start}.masthead-actions{gap:10px}.masthead-actions .theme{min-width:82px;padding-left:8px;padding-right:8px}.brand{min-height:44px}.page-heading{align-items:flex-start;flex-direction:column}.project-status-cell{max-width:104px}.project-name{font-size:18px}.result-actions{width:100%}.result-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
/* rportal-public:start */
.portal-tools{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:32px 0 28px;padding-top:22px;border-top:1px solid var(--rule)}.portal-tools h2{font-size:20px;margin:0 0 10px}.portal-tools h2 a{text-decoration:none}.portal-tools h2 a:hover{text-decoration:underline;text-underline-offset:5px}.portal-tools p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.portal-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:11px;color:var(--muted);margin:0 0 28px}.portal-breadcrumb a{color:inherit}.login-view{padding-top:clamp(36px,5vw,68px)}.login-view .intro{margin-bottom:28px}@media(max-width:600px){.portal-tools{grid-template-columns:1fr;gap:20px}.portal-tools p{font-size:14px}.login-view{padding-top:36px}}
/* rportal-public:end */

/* Private project updates: save and resume are separate actions. */
.answer-actions{display:flex;gap:10px;flex-wrap:wrap}.answer-section #answer-budget{margin-bottom:0}.answer-section #answer-budget-hint{margin-bottom:24px}.project-notes-section{margin-top:30px;padding-top:24px;border-top:1px solid var(--rule)}.project-notes-section h3{margin-bottom:16px}.project-notes{list-style:none;padding:0;margin:0}.project-notes li{padding:16px 0;border-bottom:1px solid var(--rule)}.project-notes p{margin:0 0 8px;overflow-wrap:anywhere}.project-notes time{font-size:11px;color:var(--muted)}.project-notes a{overflow-wrap:anywhere}@media(max-width:600px){.answer-actions{width:100%}.answer-actions .button{flex:1}.answer-tools>div:first-child{width:100%}}
