.workspace{background:#f5f3ed;color:#191918}.space-header{padding:18px clamp(20px,5vw,80px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #cac8c0;background:#f5f3ed}.space-header img{width:168px;height:auto}.space-header nav{display:flex;gap:25px;font-size:14px}.space-wrap{max-width:1280px;margin:auto;padding:55px clamp(20px,5vw,70px)}.workspace h1{font-size:clamp(42px,6vw,82px);line-height:1.03;letter-spacing:-.055em;margin:12px 0 24px;font-weight:750}.workspace h1 em,.workspace h2 em{color:#db272c;font-style:normal}.workspace h2{font-size:clamp(28px,3.5vw,46px);line-height:1.08;letter-spacing:-.035em}.workspace p{line-height:1.6}.workspace .lead{max-width:650px;font-size:20px;margin-bottom:28px}.workspace label{font-size:16px;display:block;margin:20px 0 8px;font-weight:650}.workspace input:where(:not([type=checkbox]):not([type=radio]):not([type=file])),.workspace select,.workspace textarea{display:block;width:100%;background:#fff;border:1px solid #94948d;padding:14px 16px;font:inherit;font-size:16px;color:#171717;border-radius:0}.workspace textarea{resize:vertical}.workspace input:focus,.workspace textarea:focus,.workspace select:focus{outline:3px solid #e62d33;outline-offset:2px}.workspace .micro{font-size:14px;color:#55554e;line-height:1.6}.space-panel{padding:30px;background:#fff;border-top:5px solid #e12b31;max-width:730px;margin:28px 0}.space-panel .button{margin-top:20px}.workspace .checkbox{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:14px;line-height:1.6}.workspace .checkbox input{width:18px;height:18px;flex:0 0 18px;margin-top:4px}.space-intro{display:flex;justify-content:space-between;gap:40px;align-items:center;margin-bottom:34px}.quota{width:290px;flex:0 0 290px;border-left:5px solid #df2e31;padding-left:24px}.quota strong{font-size:40px;letter-spacing:-.05em}.quota p{margin:5px 0}.quota .small{font-size:14px;margin:14px 0}.space-tabs{display:flex;gap:32px;border-bottom:1px solid #b5b5aa;margin-bottom:36px;overflow:auto}.space-tabs button{font:inherit;white-space:nowrap;padding:14px 0;background:none;border:0;border-bottom:4px solid transparent;cursor:pointer;color:#52524b}.space-tabs button.active{border-color:#df2e31;color:#111;font-weight:700}.expertise-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:30px}.expertise-picker button{position:relative;text-align:left;background:#fff;border:1px solid #c7c7bc;padding:20px 18px;min-height:115px;cursor:pointer;font:inherit;transition:transform .2s,border .2s}.expertise-picker button:nth-child(2){border-radius:28px 0 0 0}.expertise-picker button:nth-child(3){border-radius:0 0 28px 0}.expertise-picker button:nth-child(4){border-radius:0 28px 0 0}.expertise-picker button strong{display:block;font-size:19px;margin-bottom:8px}.expertise-picker button span{font-size:14px;color:#5a5a53}.expertise-picker button.selected{background:#181817;color:#fff;border-color:#181817;box-shadow:0 5px 0 #e12b31}.expertise-picker button.selected span{color:#d2d2c8}.brief-panel{background:white;padding:30px;border-bottom:5px solid #1a1a19}.field-help{color:#55554f;font-size:16px;max-width:800px}.submit-row{display:flex;gap:24px;align-items:center;margin-top:24px}.workspace button:disabled{opacity:.5;cursor:wait}.workspace .text-link{cursor:pointer;text-decoration:underline;text-underline-offset:5px;background:none;border:0;font:inherit;padding:8px 0;text-align:left}.view-heading{display:flex;align-items:center;justify-content:space-between}.history-row,.team-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid #ccc;flex-wrap:wrap}.history-row button{font:inherit;font-size:20px;font-weight:650;text-align:left;border:0;background:none;cursor:pointer;color:#1b1b1a}.history-row span{font-size:14px;color:#52524a}.result-panel{margin-top:48px;background:#fff;padding:clamp(22px,5vw,56px);border-top:6px solid #e42a31;box-shadow:8px 8px 0 #deddd4}.result-meta{display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#626258;flex-wrap:wrap}.result-panel h2{margin:28px 0}.result-panel article{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:17px}.result-panel ul{padding-left:24px}.result-panel li{line-height:1.7;margin:8px 0}.result-actions{display:flex;gap:25px;flex-wrap:wrap;margin:30px 0}.result-panel form{margin-top:20px;padding-top:15px;border-top:1px solid #ccc}.result-panel form button{margin-top:20px}.space-footer{margin-top:65px;border-top:1px solid #ccc;padding:25px 0;font-size:14px;color:#55554d}.space-footer>p{max-width:850px}.space-footer details{margin-bottom:25px}.space-footer summary{font-size:16px;cursor:pointer}.space-footer details p{max-width:850px}.workspace [hidden]{display:none!important}#notice:not(:empty){padding:18px 22px;background:#181818;color:#fff;border-left:5px solid #ef3a3f;margin-bottom:24px;font-size:16px;line-height:1.5}#result-versions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}#result-versions button{padding:8px 12px;background:#f4f3ee;border:1px solid #ccc;font:inherit;cursor:pointer;font-size:14px}.workspace .button{min-height:48px}#login .micro{margin-top:18px}.workspace .button:focus-visible,.workspace button:focus-visible,.workspace a:focus-visible{outline:3px solid #d3272f;outline-offset:5px}@media(max-width:760px){.space-wrap{padding-top:32px}.space-intro{display:block}.quota{width:auto;margin:30px 0}.space-tabs{gap:22px}.expertise-picker{grid-template-columns:repeat(2,1fr)}.expertise-picker button{min-height:100px;padding:16px 14px}.expertise-picker button strong{font-size:17px}.brief-panel,.space-panel{padding:20px}.submit-row{display:block}.submit-row .micro{display:block;margin-top:16px}.space-header nav{gap:15px}.space-header img{width:135px}.result-panel{box-shadow:4px 4px 0 #deddd4}.workspace .field-row{display:block}.workspace .button{max-width:100%;white-space:normal;text-align:center}.space-tabs button{font-size:14px}}@media(prefers-reduced-motion:reduce){.expertise-picker button{transition:none}}
.profile-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;border-left:4px solid #d62621;padding:20px 24px;background:#ece9e1;margin-bottom:25px}.profile-summary strong{font-size:18px}.profile-summary p{margin:8px 0 0;font-size:15px;overflow-wrap:anywhere}.profile-summary button{flex-shrink:0}.profile-intro{max-width:800px}.workspace fieldset{border:0;padding:0;margin:0;min-width:0}.workspace legend{font-size:20px;font-weight:700}.workspace .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.profile-details,.mission-method{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:18px 0;margin:22px 0}.profile-details summary,.mission-method summary{font-size:17px;line-height:1.5;font-weight:650;cursor:pointer}.mission-method p,.mission-method li{font-size:15px;line-height:1.6}.mission-method ul{padding-left:22px;columns:2;column-gap:30px}.mission-method li{break-inside:avoid;margin:8px 0}.workspace fieldset:disabled{opacity:.8}#result-context-text{white-space:pre-wrap;overflow-wrap:anywhere}#profile-title{scroll-margin-top:25px}#profile-saved{overflow-wrap:anywhere}.workspace .space-view{min-width:0}@media(max-width:760px){.workspace .field-row{display:block}.profile-summary{display:block;padding:18px}.profile-summary button{margin-top:10px}.mission-method ul{columns:1}.workspace .space-tabs{flex-wrap:wrap;gap:0 22px;overflow:visible}.space-tabs button{white-space:normal}}
/* Internal calculation receipts never enter the client-document copy. */
.calculation-audit{margin-top:1.5rem;padding:1rem;border-left:4px solid var(--red,#ed302b);background:rgba(128,128,128,.08);min-width:0}
.calculation-audit summary{cursor:pointer;font-size:1rem;font-weight:700;min-height:44px;display:list-item;align-content:center}
.calculation-audit section{margin-top:1.25rem;padding-top:.75rem;border-top:1px solid rgba(128,128,128,.35)}
.calculation-audit pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:.875rem;line-height:1.5;max-width:100%}
