/* PIP UI/UX Release 2.0 — Warm Editorial. Pure presentation; no data or scoring changes. */
:root{--plum:#34243a;--plum-dark:#25192b;--rose:#b77c89;--ivory:#faf7f4;--gold:#c5a174;--slate:#625e67;--ink:#302736;--line:#eadfe5;--soft:#f6eff3;--white:#fff;--shadow:0 12px 35px rgba(52,36,58,.065)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}a{color:#78365e;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border-radius:10px;padding:10px 16px;border:1px solid #e0d0da;transition:background .15s,box-shadow .15s,transform .15s}button:hover,.button:hover{filter:brightness(.98)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c18da5;outline-offset:2px}.primary{display:inline-flex;align-items:center;justify-content:center;background:var(--plum);color:#fff;border:1px solid var(--plum);font-weight:700;padding:12px 20px;gap:8px}.primary:hover{background:#59304d;color:#fff;text-decoration:none}.secondary{background:#faf3f6;color:#693c59;border-color:#e9d7e0}.button{display:inline-flex;align-items:center;justify-content:center;font-weight:650}.inline{display:inline}.link{border:0;background:none;color:inherit;padding:0}.muted{color:var(--slate)}.eyebrow{font-size:11px;letter-spacing:.15em;color:#9c607c;font-weight:800;text-transform:uppercase}h1{font-size:clamp(27px,3.1vw,38px);line-height:1.18;letter-spacing:-.035em;margin:9px 0 13px;color:var(--plum)}h2{font-size:20px;letter-spacing:-.025em;margin:4px 0 14px;color:var(--plum)}p{margin:10px 0 18px}.app-shell{display:flex;min-height:100vh}.sidebar{background:linear-gradient(160deg,#462440 0%,#34243a 62%,#281c30 100%);width:256px;flex:none;color:#fff;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:28px 16px 18px;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:12px;color:#fff;padding:4px 12px 28px;border-bottom:1px solid #ffffff26}.sidebar-brand:hover{text-decoration:none}.sidebar-brand strong{display:block;font-size:16px;line-height:1.2}.sidebar-brand small{display:block;font-size:11px;color:#ead1df;margin-top:4px}.brand-symbol{font-size:29px;color:#f1c9d6}.sidebar-label{color:#bd9eaf;font-size:10px;letter-spacing:.16em;font-weight:750;margin:26px 14px 10px}.side-nav{display:grid;gap:5px}.side-link{display:flex;align-items:center;gap:12px;color:#f0e2e9;padding:11px 13px;border-radius:10px;font-weight:560}.side-link:hover,.side-link.active{color:#fff;background:#a74e855c;text-decoration:none}.nav-icon{width:24px;text-align:center;font-size:20px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff26;padding-top:18px}.side-user{display:flex;align-items:center;gap:10px;padding:8px}.avatar{display:grid;place-items:center;border-radius:50%;width:40px;height:40px;background:#e7b7cf;color:var(--plum);font-size:20px;font-weight:800}.side-user strong{font-size:12px;display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user small{display:block;color:#d9b9c9;font-size:11px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.workspace-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px clamp(20px,3vw,44px);background:#fff;border-bottom:1px solid var(--line);min-height:70px}.breadcrumb{color:#8e7d8b;font-size:13px}.breadcrumb strong{color:var(--plum)}.top-actions{display:flex;align-items:center;gap:16px;font-size:12px}.top-actions a{color:var(--slate)}.logout-btn{background:#f9f2f5;color:#6e3457;padding:8px 13px;border-color:#eadde4}.menu-toggle{display:none;background:#fff;border:1px solid var(--line)}.wrap{width:min(1320px,100%);padding:34px clamp(20px,3vw,44px) 60px;margin:0 auto;flex:1}.card{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:25px;margin:18px 0}.narrow{max-width:670px}.auth{max-width:475px;margin:60px auto}.guest-header{padding:23px max(25px,calc((100vw - 1150px)/2));background:var(--plum)}.guest-header .brand{color:#fff;font-size:23px;font-weight:800}.guest-header .brand small{color:#e9cbd9;font-size:13px;font-weight:400;margin-left:9px}.guest-wrap{max-width:1100px;margin:auto}.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(110deg,#fff 10%,#f8edf2 100%);border:1px solid #efdee7;border-radius:20px;padding:28px 30px;margin-bottom:20px}.dashboard-hero p{margin:0;color:var(--slate)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.stat-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;padding:19px 21px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#6c5c69;font-weight:650;font-size:13px}.stat-icon{background:#f8edf4;color:#8f4770;border-radius:12px;width:39px;height:39px;display:grid;place-items:center;font-size:23px}.stat-card strong{font-size:32px;display:block;line-height:1.25;margin:8px 0 3px;color:var(--plum);font-variant-numeric:tabular-nums}.stat-card small{font-size:11px;color:#948793}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:18px;align-items:start}.dashboard-columns .card{margin:0}.quick-panel{min-height:100%}.quick-links{display:grid;gap:9px;margin-top:22px}.quick-link{display:flex;align-items:center;gap:12px;background:#faf5f8;border:1px solid #f0e3eb;border-radius:11px;padding:12px;color:var(--plum);font-weight:650}.quick-link:hover{background:#f4e6ee;text-decoration:none}.quick-icon{font-size:19px;color:#a45380;width:23px;text-align:center}.quick-arrow{margin-left:auto}.text-action{font-size:13px;font-weight:700}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.tablewrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid #f0e8ed;vertical-align:middle}th{color:#7b6877;background:#fcf9fb;font-size:11px;letter-spacing:.03em;font-weight:750}tbody tr:hover{background:#fdfafd}td strong{color:#453048}.empty-state{text-align:center;color:#8e7c88;padding:35px 15px}.status-pill{display:inline-block;border-radius:20px;padding:4px 10px;background:#f1edf0;color:#655b64;font-size:11px;font-weight:750;white-space:nowrap}.status-completed{background:#e9f5ef;color:#327157}.status-in_progress{background:#fff1df;color:#946022}.status-abandoned{background:#f5e7e8;color:#99545e}.table-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.table-actions form{display:flex;align-items:center;gap:5px}.table-actions input{width:150px;min-width:120px;margin:0;padding:9px}.table-actions button{padding:8px 10px;font-size:12px}label{display:block;font-size:13px;font-weight:680;margin:17px 0;color:#53414f}input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea{display:block;width:100%;border:1px solid #d9ccd5;border-radius:10px;padding:12px 13px;background:#fff;color:var(--ink);margin-top:7px}input:focus,select:focus,textarea:focus{border-color:#a76b8a}input[type=hidden]{display:none}.error,.success{border-radius:10px;padding:13px 15px;margin:15px 0}.error{background:#fff0ee;color:#923b42}.success{background:#eaf5ee;color:#2b7151}.search{display:flex;align-items:center;gap:10px;margin:20px 0}.search input{max-width:430px;margin:0!important}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tiles .card{margin:0}.check{display:flex;align-items:flex-start;gap:10px}.check input{width:auto;margin:5px 0 0}.gender-field{border:0;padding:0;margin:22px 0 16px;min-width:0}.gender-field legend{font-size:13px;font-weight:700;color:#53414f;margin-bottom:10px}.required{color:#a53e68}.gender-options{display:flex;flex-wrap:wrap;gap:10px}.gender-option{position:relative;margin:0;cursor:pointer}.gender-option input{position:absolute;opacity:0;width:1px;height:1px}.gender-option span{display:flex;align-items:center;gap:9px;padding:11px 18px;border:1px solid #dfd0d9;border-radius:11px;background:#fff;font-weight:650;min-width:95px;justify-content:center}.gender-option span:before{content:'';display:block;width:15px;height:15px;border:2px solid #bca8b5;border-radius:50%}.gender-option input:checked+span{background:#f8eaf2;border-color:#985077;color:#673553}.gender-option input:checked+span:before{border:5px solid #8d476d}.gender-option input:focus-visible+span{outline:3px solid #c18da5;outline-offset:2px}.assessment{max-width:850px;margin:auto}.question{padding:clamp(23px,5vw,48px)}.question h1{margin:18px 0 32px}.answer{margin:12px 0;display:block;cursor:pointer}.answer input{position:absolute;opacity:0;width:1px;height:1px}.answer span{display:block;padding:18px 23px;border:1px solid #e2d3dc;border-radius:12px;font-size:18px;background:#fff}.answer input:checked+span,.answer input:focus-visible+span{border-color:#8f4c74;background:#f8eaf2;outline:2px solid #8f4c74}.answer span:hover{background:#fbf2f7}.progress{height:9px;background:#eee1e9;border-radius:20px;overflow:hidden;margin:16px 0}.progress span{display:block;height:100%;background:linear-gradient(90deg,#a85b85,#c5a174);transition:width .2s}.score{margin:20px 0}footer{text-align:center;padding:20px;color:#998a95;font-size:11px} .guest-page footer{margin-top:30px}
@media(max-width:1150px){.sidebar{width:226px}.dashboard-columns{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{position:fixed;transform:translateX(-105%);transition:transform .2s;width:265px;box-shadow:10px 0 35px #24162820}.sidebar.open{transform:translateX(0)}.menu-toggle{display:inline-flex}.workspace-top{padding:13px 17px}.top-actions{gap:10px}.top-actions a{display:none}.wrap{padding:23px 16px 45px}.dashboard-hero{padding:22px;align-items:flex-start;flex-direction:column}.stat-grid{gap:10px}.stat-card{padding:14px}.stat-card strong{font-size:27px}.card{padding:19px}.tiles{grid-template-columns:1fr}.search{flex-wrap:wrap}.gender-options{gap:7px}.gender-option span{padding:10px 12px;min-width:80px}}
@media(max-width:430px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:11px}.stat-icon{width:31px;height:31px}.breadcrumb{font-size:11px}.gender-options{display:grid;grid-template-columns:repeat(3,1fr)}.gender-option span{min-width:0;padding:10px 7px;font-size:12px}.question{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* UI/UX refinement — November 2026 */
.profile-heading,.assessment-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin:18px 0 22px}.profile-heading h1,.assessment-heading h1{margin:5px 0}.profile-identity{min-width:250px;flex:1}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.header-actions form{margin:0}.header-actions button,.header-actions .button{white-space:nowrap}.assessment-id{font-size:13px;color:#796776;margin:4px 0}.assessment-heading>div:first-child{flex:1;min-width:260px}.gauge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.gauge-card{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;background:#fdf9fb;border:1px solid #efdfeb;border-radius:16px;padding:22px 12px}.gauge{width:132px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#9a5c83 calc(var(--pct)*1%),#eadde6 0);display:grid;place-items:center}.gauge-center{width:103px;aspect-ratio:1;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.gauge-center strong{font-size:29px;color:#34243a}.gauge-center small{font-size:12px;color:#897988}.gauge-label{color:#34243a}.note form:not(.note-delete-form){display:contents}.note form:not(.note-delete-form)>label{grid-column:1/-1}.note{display:grid;grid-template-columns:max-content max-content 1fr;gap:9px;align-items:end}.note>small,.note>p{grid-column:1/-1}.note-delete-form{display:inline-flex}.note button{white-space:nowrap}.coachee-dialog{width:min(620px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:1px solid #eadce5;border-radius:20px;padding:24px 27px;box-shadow:0 24px 85px #34243a40;color:#34243a}.coachee-dialog::backdrop{background:#25192999;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-top h2{margin:5px 0}.dialog-close{padding:7px 12px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compact-form label{margin:10px 0}.compact-form .gender-field{margin:12px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.login-layout{display:grid;grid-template-columns:1.05fr .95fr;max-width:1130px;margin:40px auto;min-height:570px;background:#fff;border:1px solid #efdfeb;border-radius:24px;overflow:hidden;box-shadow:0 20px 70px #34243a17}.login-story{position:relative;display:flex;align-items:flex-end;min-height:570px;background:linear-gradient(0deg,#29192ddd 0%,#34243a44 65%),linear-gradient(135deg,#9a657b,#d8b4aa 55%,#6b516c);color:#fff;padding:44px}.login-story-inner{position:relative;z-index:1}.login-story h2{font-size:clamp(29px,3vw,45px);line-height:1.1;color:#fff;letter-spacing:-.04em;max-width:430px}.login-story p{max-width:410px;color:#f4e7ed;line-height:1.6}.login-kicker{font-size:11px;font-weight:800;letter-spacing:.15em;color:#f7d9e6}.login-layout .auth{margin:auto;width:min(430px,100%);box-shadow:none;border:0;padding:40px}.login-layout .auth button{width:100%;margin-top:10px}.login-footnote{font-size:12px;color:#897a85;text-align:center;margin-top:28px}@media(max-width:900px){.login-layout{grid-template-columns:1fr}.login-story{min-height:270px;padding:30px}.login-story h2{max-width:600px}.login-layout .auth{max-width:540px}}@media(max-width:650px){.gauge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gauge{width:112px}.gauge-center{width:87px}.form-two{grid-template-columns:1fr}.login-story{min-height:220px}.login-layout{margin:10px auto}.login-layout .auth{padding:24px}}@media(max-width:390px){.gauge-grid{grid-template-columns:1fr}.header-actions{justify-content:flex-start}}

.login-story{background:linear-gradient(0deg,#29192de8 0%,#34243a22 70%),url("relationship-login.jpg") center/cover no-repeat}
/* Release 2.2: design-reference alignment and validated coachee modal */
:root{--plum:#34243a;--rose:#b77c89;--ivory:#faf7f4;--gold:#c5a174}
.coachee-dialog{width:min(650px,calc(100vw - 24px));padding:30px 34px;background:linear-gradient(155deg,#fff 0%,#fff9fc 100%);border:1px solid #e9d7e2;box-shadow:0 28px 90px #281a3080}
.coachee-dialog .dialog-top{padding-bottom:15px;border-bottom:1px solid #f0e5eb;margin-bottom:16px}
.coachee-dialog .dialog-top h2{font-size:25px;letter-spacing:-.025em}
.coachee-dialog .dialog-top p{font-size:13px;margin:6px 0 0}
.coachee-dialog .compact-form>label{display:block;margin:12px 0 16px}
.coachee-dialog input:not([type=radio]):not([type=checkbox]){width:100%;border:1px solid #d9cbd5;border-radius:9px;padding:11px 13px;background:#fff;min-height:44px}
.coachee-dialog input:focus-visible{outline:3px solid #b77c8944;border-color:#8b4977}
.coachee-dialog .gender-field{border:0;padding:0;margin:13px 0 18px}
.coachee-dialog .gender-field legend{font-weight:700;margin-bottom:9px}
.coachee-dialog .gender-options{display:flex;gap:22px;flex-wrap:wrap}
.coachee-dialog .gender-options label{display:flex;align-items:center;gap:7px;margin:0;cursor:pointer}
.coachee-dialog .gender-options input{accent-color:#7c2c65;width:17px;height:17px}
.coachee-dialog .form-two{grid-template-columns:1fr 1fr;align-items:start;gap:16px}
.coachee-dialog .form-two label{margin:0;font-weight:600}
.coachee-dialog .required{color:#a52c5c}
.coachee-dialog .field-hint{display:block;font-size:11px;color:#766976;margin-top:5px;font-weight:400}
.coachee-dialog .dialog-actions{padding-top:17px;border-top:1px solid #f0e5eb;margin-top:20px}
.coachee-dialog .duplicate-warning{border:1px solid #e6c1c5;background:#fff3f2;border-radius:12px;padding:12px;margin-top:12px}
.coachee-dialog .duplicate-warning .check{display:flex;align-items:flex-start;gap:8px;font-size:13px}
.directory-head{align-items:center}
.login-layout{background:#fffafc;grid-template-columns:1.05fr .95fr}
.login-story{background-position:center;background-size:cover}
.login-story:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#34243a22 0%,#29192ddd 100%)}
.login-story-inner{z-index:1}
.login-story h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.025em}
.login-layout .auth h1{font-family:Georgia,'Times New Roman',serif}
.profile-heading,.assessment-heading{background:linear-gradient(120deg,#fff,#fff9fc);border:1px solid #f0e4eb;border-radius:16px;padding:20px 24px;box-shadow:0 4px 18px #34243a0a}
.profile-heading .header-actions,.assessment-heading .header-actions{margin-left:auto}
.assessment-heading h1,.profile-heading h1{font-size:clamp(25px,2.5vw,34px)}
.gauge-card{background:linear-gradient(160deg,#fff,#fdf8fb);box-shadow:0 5px 20px #34243a09}
.note{grid-template-columns:auto auto minmax(0,1fr)}
.note>form:not(.note-delete-form){display:contents}
.note .note-delete-form{grid-column:2}
@media(max-width:650px){.coachee-dialog{padding:20px}.coachee-dialog .form-two{grid-template-columns:1fr}.coachee-dialog .gender-options{gap:14px}.profile-heading,.assessment-heading{padding:15px}.login-story{min-height:260px}}
