/* Two visible states: a private draft, or a demand handed to Buddy. */
#intake-settings #intake-handoff,#intake-settings #intake-review-handoff{background:#3154eb;border-color:#3154eb;color:#fff;font-weight:700;box-shadow:3px 4px 0 #192458}
.intake-handoff-hint{background:#f1f56b;color:#192458;border-radius:12px;padding:18px 20px;line-height:1.8}.intake-state{display:inline-block;padding:5px 9px;background:#edf3ff;color:#192458;border-radius:6px}.intake-state-active{background:#f1f56b}.peer-authorized-needs{background:#edf3ff;color:#192458;padding:16px;border-radius:12px;margin-top:16px;overflow-wrap:anywhere}.peer-authorized-needs summary{font-weight:700;cursor:pointer}
/* Existing Buddy blue, clear output/input separation; desktop top/mobile bottom. */
.five-nav{position:sticky;top:0;z-index:30;display:flex;justify-content:center;gap:8px;background:#fff;border-bottom:1px solid #c8d2df;padding:10px 20px}.five-nav[hidden]{display:none}.five-nav a{padding:12px 22px;color:#182458;text-decoration:none;border-radius:8px;font-size:17px;font-weight:650;white-space:nowrap}.five-nav a[aria-current=page]{color:#fff;background:#263ec7}.five-nav a:focus-visible,.five-view button:focus-visible{outline:3px solid #e4e959;outline-offset:3px}.five-view{max-width:1080px;margin:32px auto;padding:0 24px 40px}.five-heading{max-width:760px;margin-bottom:28px}.five-heading h1{font-size:clamp(28px,4vw,42px);line-height:1.25;color:#17244f;margin:12px 0}.five-heading p{font-size:19px;line-height:1.65;color:#51616a}.five-row{padding:24px 0;border-bottom:1px solid #cad2d6;max-width:850px}.five-row h2{font-size:23px;line-height:1.4;margin:8px 0}.five-row p,.five-empty p{line-height:1.7;overflow-wrap:anywhere;max-width:720px}.five-muted,.five-row small{font-size:15px;color:#5b686e;line-height:1.65}.five-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.five-view a,.five-view button{color:#263ec7}.five-view button,.five-links a,.five-empty a{display:inline-block;min-height:44px;padding:12px 16px;border:1px solid #adbaca;border-radius:8px;background:white;text-decoration:none;font:inherit;cursor:pointer}.five-empty{padding:28px;background:#eef3f9}.five-empty h2{font-size:24px}.five-filters{display:flex;flex-wrap:wrap;gap:10px}.five-filters button[aria-pressed=true]{background:#182458;color:#fff}body[data-five-view] .top-dashboard,body[data-five-view] .top-agent,body[data-five-view] #hero,body[data-five-view] #owner-summary>p,body[data-five-view] #owner-summary>.dashboard-hero{display:none!important}body[data-five-view]:not([data-five-view=messages]) #owner-summary{display:none!important}body[data-five-view=messages] #owner-summary .connection-board{margin-top:16px}body[data-five-view] .top{padding-top:12px;padding-bottom:12px}.five-view[hidden]{display:none!important}#five-intake-host{max-width:860px}#five-own-card{max-width:850px}.five-view input,.five-view textarea{max-width:100%}
@media(max-width:650px){.five-nav{position:fixed;top:auto;bottom:0;left:0;right:0;padding:6px 2px calc(6px + env(safe-area-inset-bottom));gap:0;justify-content:space-around;border-top:1px solid #c8d2df;box-shadow:0 -3px 12px #1824580d}.five-nav a{padding:12px 3px;font-size:12px;min-width:0;text-align:center;flex:1}.five-view{margin:20px auto;padding:0 16px 30px}body:has(.five-nav:not([hidden])){padding-bottom:76px}.five-heading p{font-size:17px}.five-links{flex-direction:column}.five-row{padding:18px 0}.five-row h2{font-size:21px}.five-empty{padding:20px}.five-filters button{font-size:14px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.five-mine-menu{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:0}
.five-mine-menu a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 20px;border:1px solid #b9c4ec;border-radius:999px;background:#eef2ff;color:#182458;font-size:18px;font-weight:800;text-decoration:none;line-height:1.5;white-space:nowrap}
.five-mine-menu a[aria-current=page]{background:#182458;border-color:#182458;color:#fff}
.five-mine-menu a:focus-visible{outline:3px solid #f1f56b;outline-offset:3px}
#five-mine #share-invite{background:#f1f56b;border-color:#192458;color:#192458}
@media(max-width:650px){.five-mine-menu{gap:8px;margin-bottom:24px}.five-mine-menu a{min-height:44px;padding:10px 14px;font-size:14px}}
@media(max-width:650px){body[data-five-view] .profile-guide-launcher{bottom:calc(84px + env(safe-area-inset-bottom))}body[data-five-view].personal-settings-view:has(#profile-guide-launcher:not([hidden])) main{padding-bottom:180px}}
body[data-five-view=settings] #owner-summary{display:block!important}body[data-five-view=settings] #owner-summary>.connection-board,body[data-five-view=settings] #owner-summary>.dashboard-extra,body[data-five-view=settings] #owner-summary>.dashboard-note{display:none!important}
body[data-five-view=settings]:not([data-five-view=messages]) #owner-summary{display:block!important}
#intake-settings.intake-wizard .intake-step{padding:20px 0}#intake-settings.intake-wizard .intake-step-heading{font-size:22px;margin:0 0 16px}#intake-settings .intake-audience{display:flex;gap:12px;flex-wrap:wrap}#intake-settings .intake-audience button[aria-pressed=true]{background:#192458;color:#fff}#intake-settings .intake-step-nav{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}#intake-settings .intake-original-preview{white-space:pre-wrap;line-height:1.7;max-height:260px;overflow:auto;background:#f1f4fa;padding:16px;overflow-wrap:anywhere}

/* One authenticated desktop canvas; do not alter login, old UI or card dialogs. */
body[data-five-view] main {
  width:100%;
  max-width:1344px;
  margin-inline:auto;
  padding:32px 32px 72px;
}
body[data-five-view] .five-view {
  max-width:none;
  margin:0;
  padding:0 0 32px;
}
body[data-five-view] .five-heading {max-width:none}
body[data-five-view] .five-heading p {max-width:80ch}
body[data-five-view] .five-row {max-width:none;min-width:0}
body[data-five-view] #owner-summary {max-width:100%;margin-top:0}
body[data-five-view] #intake-settings,
body[data-five-view] #five-own-card,
body[data-five-view] #five-own-card>.buddy-public-card {max-width:none}
body[data-five-view] #intake-settings>p {max-width:80ch}

@media(min-width:900px) {
  /* Same semantic reading order: person, progress, action. No new content. */
  body[data-five-view] #five-report-list .five-row {
    display:grid;
    grid-template-columns:minmax(160px,1fr) minmax(0,2.5fr) auto;
    align-items:center;
    gap:24px;
  }
  body[data-five-view] #five-report-list .five-row h2,
  body[data-five-view] #five-report-list .five-row p {margin:0}
  body[data-five-view] #five-report-list .five-row button {justify-self:end}
  body[data-five-view] #five-own-card .buddy-public-card dl {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:32px;
  }
  body[data-five-view] #five-own-card .buddy-card-field:first-child {grid-column:1/-1}
}
@media(min-width:651px) and (max-width:899px) {
  body[data-five-view] main {padding-inline:24px}
}
@media(max-width:650px) {
  body[data-five-view] main {padding:24px 16px 40px}
  body[data-five-view] .five-view {padding-bottom:24px}
}

/* Owner's work brief: blue holds facts, yellow asks for a decision. */
.report-toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 24px}
.five-view [data-report-period][aria-pressed=true]{background:#3154eb;color:white;border-color:#3154eb}
.report-brief{padding:28px 32px;background:#edf3ff;border:1px solid #bdd0f5;border-radius:20px;margin-bottom:36px}
.report-brief h2{font-size:28px;color:#192458;margin:0 0 14px}.report-brief>p{font-size:19px;line-height:1.8;max-width:75ch;margin:0}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0}
.report-metrics>div{border-left:3px solid #3154eb;padding-left:16px}.report-metrics>div:nth-child(3){background:#f1f56b;border-color:#192458;border-radius:0 12px 12px 0;padding-block:10px;margin-block:-10px}
.report-metrics dt{font-weight:700;font-size:16px;color:#192458}.report-metrics dd{font-size:42px;font-weight:750;margin:4px 0 0;line-height:1.1;color:#192458;font-variant-numeric:tabular-nums}
.report-metrics small{display:block;font-size:13px;font-weight:400;margin-top:10px;line-height:1.5;color:#405376}
.report-counting{font-size:14px;line-height:1.7;color:#405376}.report-counting summary{cursor:pointer}.report-counting p{max-width:85ch}
.report-group{margin:0 0 36px}.report-group>header h2{font-size:26px;color:#192458;margin:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.report-group>header h2 span,.report-quiet>summary span{font-size:14px;background:#edf3ff;border-radius:99px;padding:6px 12px;font-weight:600}.report-group-act>header h2 span,.report-group-input>header h2 span{background:#f1f56b}.report-group>header>p{color:#51616a;font-size:15px;margin:10px 0 18px}
.report-item{border:1px solid #b7c9e9;border-radius:18px;background:#fffef7;margin:0 0 20px;overflow:hidden;color:#17221d}
.report-item>header{padding:20px 26px;background:#edf3ff}.report-item h3{font-size:25px;line-height:1.45;margin:10px 0 0;color:#192458;overflow-wrap:anywhere}
.report-item-tags{display:flex;gap:10px;flex-wrap:wrap;font-size:14px;color:#3154eb}.report-item-tags strong{background:#f1f56b;color:#192458;padding:0 6px}
.report-item-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:30px;padding:26px}
.report-person{min-width:0;border-right:1px solid #c9d4e6;padding-right:24px}.report-person h4{font-size:21px;margin:0 0 10px;color:#192458;overflow-wrap:anywhere}.report-person-kind{display:inline-block;background:#e5edff;border-radius:6px;padding:5px 8px;font-size:13px;color:#192458}.report-person p{line-height:1.7;overflow-wrap:anywhere}.report-person code{font-size:12px;overflow-wrap:anywhere;white-space:normal}.report-person details{font-size:14px;color:#405376}.report-person summary{cursor:pointer}
.report-findings{min-width:0}.report-findings dl{margin:0}.report-findings dl>div{margin-bottom:18px}.report-findings dt{font-size:14px;color:#52647c;font-weight:600;margin-bottom:6px}.report-findings dd{margin:0;font-size:17px;line-height:1.7;overflow-wrap:anywhere;max-width:75ch}.report-findings dd strong{color:#192458;font-size:20px}.report-findings dd p{margin:5px 0}.report-findings dd small{display:block;font-size:13px;color:#52647c}
.report-unknowns{margin:14px 0;font-size:15px;line-height:1.8}.report-unknowns summary{cursor:pointer;color:#3154eb}.report-unknowns ul{padding-left:22px}.report-unknowns li{margin-bottom:8px;overflow-wrap:anywhere}
.report-findings>.report-next{margin-bottom:18px}.report-quote-source{font-size:14px;line-height:1.7;margin-top:8px}.report-quote-source summary{cursor:pointer;color:#3154eb;width:fit-content;max-width:100%;padding:8px 0;min-height:44px}.report-quote-source summary:focus-visible{outline:3px solid #3154eb;outline-offset:3px;border-radius:4px}.report-quote-source p{white-space:pre-wrap;background:#edf3ff;border-left:3px solid #3154eb;padding:12px 14px}.report-source-reused{color:#52647c}
.report-next{background:#f1f56b;padding:16px 20px;border-radius:10px;color:#192458;line-height:1.7}.report-next>b{font-size:16px}.report-next p{margin:6px 0 0;font-size:16px;overflow-wrap:anywhere}
.report-item>footer{border-top:1px solid #d3dced;padding:16px 26px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.report-evidence{min-width:0;flex:1;line-height:1.7}.report-evidence summary{cursor:pointer;color:#3154eb;font-weight:650;padding:10px 0}.report-evidence blockquote{background:#edf3ff;border-left:3px solid #3154eb;margin:14px 0;padding:14px 18px;font-size:15px;overflow-wrap:anywhere}.report-evidence blockquote p{white-space:pre-wrap;margin:8px 0}.report-evidence small{font-size:12px;color:#52647c}.five-view .report-item>footer button{flex-shrink:0;background:#3154eb;color:#fff;border-color:#3154eb;box-shadow:3px 4px 0 #192458;border-radius:10px}
.report-quiet{margin:20px 0}.report-quiet>summary{font-size:19px;color:#405376;cursor:pointer;padding:18px 0}.report-loading{padding:28px;background:#edf3ff}.report-error{border-left:5px solid #e2c43b}
@media(max-width:899px){.report-item-grid{grid-template-columns:minmax(150px,1fr) minmax(0,2fr);gap:20px}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:650px){.report-toolbar{gap:12px}.report-toolbar>button{font-size:14px}.report-brief{padding:22px 18px;border-radius:14px}.report-brief h2{font-size:24px}.report-brief>p{font-size:17px}.report-metrics{gap:24px 12px}.report-metrics dt{font-size:14px}.report-metrics dd{font-size:34px}.report-metrics>div{padding-left:10px}.report-metrics small{font-size:12px}.report-item>header{padding:18px}.report-item h3{font-size:22px}.report-item-grid{grid-template-columns:1fr;padding:18px;gap:18px}.report-person{border-right:0;border-bottom:1px solid #c9d4e6;padding:0 0 16px}.report-person p{margin:8px 0}.report-person h4{font-size:19px}.report-item>footer{padding:16px 18px;flex-direction:column;gap:10px}.report-evidence{width:100%}.report-item>footer button{width:100%}.report-group>header h2{font-size:23px}.report-findings dd{font-size:16px}.report-findings dd strong{font-size:18px}}

/* Three-view clarity: person, actual progress, one next step. */
.clarity-person-meta{display:block;font-size:14px;line-height:1.7;color:#52647c;overflow-wrap:anywhere}
.report-round-detail{font-size:14px;line-height:1.8;color:#52647c;margin-top:14px}
.report-round-detail summary,.report-person summary{cursor:pointer;min-height:44px;padding:10px 0;max-width:100%}
.report-person h4{font-size:24px;line-height:1.4}.report-person .clarity-person-meta{margin:12px 0 4px}
.report-judgment dd>p{font-size:16px;color:#405376}.report-next p{max-width:72ch}
.five-view .report-item>footer button,.five-view .clarity-opportunity>button{background:#f1f56b;border:1px solid #192458;color:#192458;box-shadow:none;font-weight:700}
.clarity-opportunity{background:#fffef7;border:1px solid #bdd0f5;border-radius:18px;padding:26px;margin:20px 0}
.clarity-opportunity-person{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid #c9d4e6;padding-bottom:16px;margin-bottom:20px}
.clarity-opportunity-person h2{font-size:27px;line-height:1.4;color:#192458;margin:0 0 4px;overflow-wrap:anywhere}
.clarity-opportunity-person p{margin:0}.clarity-type{font-size:14px;line-height:1.5;padding:6px 10px;background:#edf3ff;color:#192458;border-radius:6px;flex-shrink:0}
.clarity-opportunity-title{font-size:22px;line-height:1.45;color:#192458;margin:0 0 18px;overflow-wrap:anywhere}
.clarity-opportunity-progress{background:#edf3ff;padding:14px 18px;border-left:3px solid #3154eb;line-height:1.7;max-width:none!important}
.clarity-opportunity-progress>b{display:block;font-size:14px;color:#52647c;margin-bottom:4px}.clarity-case-judgment{font-size:17px;line-height:1.7;color:#405376}
.clarity-opportunity>.report-next{margin-top:18px}.clarity-opportunity>button{margin-top:18px;min-height:48px}
.clarity-simulation{font-size:14px;color:#52647c;margin:0 0 10px!important}
body[data-five-view=messages] .clarity-message{padding-block:24px;align-items:start}
body[data-five-view=messages] .clarity-message .connection-title{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:6px}
body[data-five-view=messages] .clarity-message .connection-title>strong{font-size:23px;line-height:1.4;overflow-wrap:anywhere;min-width:0}
body[data-five-view=messages] .clarity-message .connection-signal{white-space:nowrap;font-size:12px;line-height:1.5;min-width:0;height:auto;padding:4px 8px}
body[data-five-view=messages] .clarity-message-progress{display:block;font-size:17px;line-height:1.7;margin-top:12px;white-space:normal;overflow:visible;-webkit-line-clamp:unset;color:#17221d}
body[data-five-view=messages] .clarity-message-next{display:block;background:#f5f8cc;color:#192458;font-size:15px;line-height:1.7;padding:8px 12px;margin-top:10px;border-radius:6px;white-space:normal;overflow-wrap:anywhere}
.clarity-message-other{display:block;font-size:13px;color:#52647c;line-height:1.7;margin-top:8px;overflow-wrap:anywhere}
@media(max-width:650px){.clarity-opportunity{padding:18px;border-radius:14px}.clarity-opportunity-person{flex-wrap:wrap;gap:10px}.clarity-opportunity-person h2{font-size:23px}.clarity-opportunity-title{font-size:20px}.clarity-opportunity>button{width:100%}.report-person h4{font-size:22px}body[data-five-view=messages] .clarity-message .connection-title>strong{font-size:20px}}
@media(max-width:450px){body[data-five-view=messages] .clarity-message{grid-template-columns:36px minmax(0,1fr);gap:12px}body[data-five-view=messages] .clarity-message .connection-meta{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px}body[data-five-view=messages] .clarity-message .connection-avatar{width:36px;height:36px;min-width:0}body[data-five-view=messages] .clarity-message-progress{font-size:16px}}
/* End three-view clarity. */
