.profile-panel{background:#fff;border:1px solid #e3e8e3;border-radius:16px;padding:24px;margin:18px 0;color:var(--ink,#202d2c);min-width:0}.profile-panel h2{font-size:20px;margin:0 0 12px}.profile-panel h3{font-size:16px;margin:0 0 10px}.profile-panel h4{font-size:14px;margin:20px 0 8px}.profile-panel p,.profile-panel li{font-size:14px;line-height:1.8}.profile-panel p{margin:9px 0}.profile-panel small,.profile-muted{color:var(--muted,#687373);font-size:12px!important;line-height:1.6}.profile-beta{display:inline-flex;background:#eef4ea;color:#28594c;font-size:11px;font-weight:600;border-radius:6px;padding:5px 8px;margin-bottom:10px}.profile-maturity{display:grid;grid-template-columns:1.5fr 1fr;gap:28px;align-items:center;background:linear-gradient(120deg,#f5f8ef,#fff)}.profile-maturity-data{display:grid;gap:8px}.profile-maturity-data strong{font-size:28px}.profile-maturity-data span{font-size:13px}.profile-maturity progress{width:100%;height:10px;accent-color:#28594c}.profile-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 16px}.profile-tabs button{border:1px solid #dbe3dd;background:#fff;color:#536660;border-radius:10px;padding:12px 18px;cursor:pointer;font:inherit;font-size:13px}.profile-tabs button[aria-pressed=true]{background:#28594c;color:white;border-color:#28594c}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0 4px}.profile-actions .button{margin:0}.profile-task-grid,.profile-direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.profile-task-grid article,.profile-direction{border:1px solid #e1e7e0;background:#fbfcfa;border-radius:12px;padding:20px;min-width:0;overflow-wrap:anywhere}.profile-task-grid .button{margin-top:12px;white-space:normal;min-height:42px}.profile-panel details summary{cursor:pointer;font-size:13px;font-weight:600;padding:10px 0;color:#28594c}.profile-panel details p{font-size:13px}.profile-axis-list{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;margin-top:20px}.profile-axis{min-width:0}.profile-axis>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.profile-axis strong{font-size:13px}.profile-interest-bar{height:12px;position:relative;background:linear-gradient(90deg,#e6e2dc 0%,#f0f2ee 42.1%,#d0dfc6 100%);border-radius:6px;margin:12px 8px 5px}.profile-interest-bar:before{content:'';position:absolute;left:42.1%;height:100%;width:1px;background:#a5afa6}.profile-interest-bar i{position:absolute;top:-3px;width:7px;height:18px;background:#28594c;border-radius:3px;transform:translateX(-50%)}.profile-direction dl{font-size:12px;margin:16px 0}.profile-direction dl>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #e7ece5}.profile-direction dd{margin:0}.profile-direction ul{padding-left:18px}.profile-direction li{font-size:12px}.profile-direction p{font-size:13px}.profile-quadrants{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-quadrants>div{padding:20px;background:#f4f6ee;border:1px solid #e1e7dd;border-radius:12px}.profile-panel form>label,.profile-preferences label{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:13px;font-weight:500}.profile-panel select,.profile-feedback select,.profile-feedback textarea{max-width:100%;min-width:0;border:1px solid #ced8cf;border-radius:8px;padding:11px;background:#fff;color:#253d32;font:inherit;box-sizing:border-box}.profile-panel .profile-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.7}.profile-check input,.profile-experiment-days input{accent-color:#28594c;flex:0 0 auto;width:17px;height:17px}.profile-preferences{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.profile-history{margin:18px 0;max-height:460px;overflow:auto}.profile-history article{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e6ebe5;align-items:flex-start}.profile-history article>div{min-width:0;overflow-wrap:anywhere}.profile-history strong{font-size:13px}.profile-history small{display:block;margin-top:8px}.profile-history .text-button{flex:0 0 auto;min-height:36px}.profile-delete-confirm{border:1px solid #b47162;background:#fff6f2;border-radius:10px;padding:18px;margin-top:18px}.profile-panel .danger{color:#8c3e2e;border-color:#c58e81}.profile-experiment-days{display:grid;gap:12px;margin:16px 0}.profile-experiment-days label{display:flex;gap:8px;font-size:12px;line-height:1.6;align-items:flex-start}.profile-onboarding form{max-width:720px}.profile-feedback{position:fixed;right:22px;bottom:24px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 60px);overflow:auto;z-index:80;background:#fff;border:1px solid #d6e0d5;border-radius:18px;box-shadow:0 16px 60px #15342930;padding:22px;color:#202d2c;box-sizing:border-box}.profile-feedback-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.profile-feedback h2{font-size:20px;margin:0}.profile-feedback p{font-size:12px;line-height:1.7;color:#627268}.profile-feedback fieldset{border:0;margin:15px 0;padding:0;min-width:0}.profile-feedback legend{font-size:13px;font-weight:600;padding:0;margin-bottom:9px}.profile-radio-options{display:flex;gap:8px;flex-wrap:wrap}.profile-radio-options label{display:flex;align-items:center;gap:5px;border:1px solid #dce5d9;border-radius:8px;padding:9px 8px;font-size:12px;cursor:pointer;min-height:38px;box-sizing:border-box}.profile-radio-options input{accent-color:#28594c;width:14px;height:14px;margin:0}.profile-feedback details{border-top:1px solid #edf0e9;padding-top:9px}.profile-feedback summary{cursor:pointer;font-size:12px;color:#28594c}.profile-feedback details>label{display:grid;gap:7px;font-size:12px;margin-top:14px}.profile-feedback small{font-size:11px;color:#687373}.profile-feedback textarea{resize:vertical;width:100%}.profile-entry .mine-actions{flex-wrap:wrap}.profile-feedback .button{min-height:42px}.profile-panel button:focus-visible,.profile-feedback button:focus-visible,.profile-tabs button:focus-visible{outline:3px solid #91ae72;outline-offset:3px}
@media(max-width:1100px){.profile-direction-grid{grid-template-columns:1fr}.profile-task-grid{grid-template-columns:1fr 1fr}.profile-maturity{grid-template-columns:1fr}.profile-axis-list{grid-template-columns:1fr}}
@media(max-width:600px){.profile-panel{padding:18px;border-radius:12px}.profile-task-grid,.profile-preferences{grid-template-columns:1fr}.profile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.profile-tabs button{padding:12px 8px;min-height:44px}.profile-feedback{right:12px;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:calc(100vw - 24px);max-height:calc(100dvh - 110px);padding:18px}.profile-feedback h2{font-size:18px}.profile-radio-options{gap:6px}.profile-radio-options label{padding:9px 7px}.profile-quadrants{gap:8px}.profile-quadrants>div{padding:13px}.profile-quadrants h3{font-size:14px}.profile-panel .button{min-height:42px;white-space:normal}.profile-direction{padding:16px}.profile-history{max-height:none}.profile-maturity-data strong{font-size:25px}}

/* Study advice uses the same panels and color palette as the profile. */
.study-planner{display:grid;gap:18px;min-width:0;overflow-wrap:anywhere}
.study-planner .profile-panel{margin:0}
.study-planner .profile-panel p{max-width:42.5rem;font-size:16px;line-height:1.6}
.study-planner .study-identity{background:#edf7ef;border-color:#aec7b5}
.study-identity h2#study-persona-title{font-size:clamp(22px,3vw,33px);letter-spacing:-.02em}
.study-tags,.study-metrics,.study-distribution,.study-resources,.study-saved-list{list-style:none;padding:0;margin:0}
.study-tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.study-tags li{border:1px solid #bed5c2;border-radius:999px;background:#fbfffa;padding:3px 10px;font-weight:600}
.study-metrics,.study-distribution,.study-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.study-metrics div,.study-distribution li{background:#fff;border-radius:12px;border:1px solid #d5e2dc;padding:10px 12px}
.study-metrics dt{font-size:13px;color:#435961}
.study-metrics dd{margin:4px 0 0;color:#193c32;font-size:18px;font-weight:750}
.study-spectra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.study-spectrum{display:grid;gap:9px;background:#f5f8f7;border:1px solid #d5e2dc;border-radius:12px;padding:12px}
.study-spectrum>div:first-child,.study-spectrum-ends{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.study-spectrum h3{margin:0}
.study-spectrum strong{font-size:13px;color:#235044}
.study-spectrum-bar{position:relative;height:8px;background:linear-gradient(90deg,#b7cdea,#8ebca4);border-radius:999px;margin-inline:5px}
.study-spectrum-bar[aria-hidden]{opacity:.5}
.study-spectrum-bar span{position:absolute;left:var(--study-point);top:50%;width:14px;height:14px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#204d40;box-shadow:0 0 0 1px #204d40}
.study-spectrum-ends{font-size:12px;color:#40565c}
.study-distribution li{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;background:#f6f9f8}
.study-distribution b{white-space:nowrap;color:#20483b}
.study-evidence-links,.study-directions-head,.study-resource-actions,.study-catalog-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.study-evidence-links{margin-block:12px 4px}
.study-evidence-links a,.study-saved-list a{color:#235044;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.study-history{border-top:1px solid #d5e2dc;margin-top:12px}
.study-history ol,.study-history ul{padding:0;list-style:none}
.study-history li,.study-saved-list li{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;padding:8px 0;border-bottom:1px solid #e2ebe6}
.study-directions-head{justify-content:space-between;margin-bottom:12px}
.study-directions-head h2{margin:0}
.study-direction{min-width:0;padding:14px;border:1px solid #c9dcd2;border-radius:14px;background:#f6f9f8}
.study-direction-meta{display:flex;justify-content:space-between;gap:4px 8px;align-items:baseline;flex-wrap:wrap;color:#3a5059;font-size:12px;margin-bottom:8px}
.study-direction-meta span:first-child{font-weight:750;color:#245243}
.study-resources{display:grid;gap:8px;margin-top:12px}
.study-resources li{background:#fff;border:1px solid #d5e2dc;border-radius:10px;padding:10px}
.study-resources b,.study-resources small{display:block}
.study-resource-actions .text-button,.study-catalog-controls .text-button,.study-history .text-button,.study-saved-list .text-button{min-height:44px;text-align:start}
.study-catalog-controls{margin-top:8px;padding-top:8px;border-top:1px solid #d5e2dc}
.study-catalog-controls [aria-pressed=true]{font-weight:750}
.study-focused-resource{margin-top:16px;min-width:0}
.study-focused-resource>article{width:100%;max-width:880px}
@media(max-width:1100px){.study-directions{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .study-planner{gap:12px}
  .study-metrics,.study-distribution{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .study-spectra{grid-template-columns:minmax(0,1fr)}
  .study-direction{padding:12px}
  .profile-tabs [data-profile-action="show-planner"]{grid-column:1/-1}
}

.local-profile-panel{display:flex;align-items:end;flex-wrap:wrap;gap:12px 22px;padding-block:14px}
.local-profile-choice{display:flex;flex-direction:column;gap:6px;min-width:0;flex:0 1 320px;font-size:13px;font-weight:700}
.local-profile-choice select{width:100%}
.local-profile-create{min-width:0;max-width:100%}
.local-profile-create>summary{padding-block:10px}
.local-profile-create form{display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px}
.local-profile-create form>label{margin:0;min-width:0}
.local-profile-create input{width:min(100%,245px);min-height:44px;padding:8px 11px;border:1px solid #829ba4;border-radius:12px;font:inherit;color:var(--study-ink,#243a40);background:#fff}
@media(max-width:600px){.local-profile-panel{gap:8px 12px}.local-profile-choice{flex-basis:100%}}
