:root{
  --ink:#182033;--muted:#667085;--line:#e6e0ed;--surface:#fff;--canvas:#f6f4f8;
  --purple:#4b2a82;--purple-2:#7148c8;--purple-soft:#f1ecf9;--purple-pale:#faf8fd;
  --green:#8aad1e;--green-soft:#eff5df;--red:#c23a34;--red-soft:#fbeae8;
  --yellow:#f6c64e;--yellow-soft:#fff5d5;--blue:#2479b9;--blue-soft:#e7f2fa;
  --shadow:0 18px 50px rgba(52,35,78,.09);--shadow-soft:0 8px 24px rgba(52,35,78,.07);
  --radius-xl:26px;--radius-lg:20px;--radius-md:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 93% 2%,#eee7fa 0,transparent 28%),var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.brand-ribbon{height:5px;background:linear-gradient(90deg,var(--purple) 0 62%,var(--green) 62%)}
.app-header{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:13px max(20px,calc((100vw - 1480px)/2));background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid rgba(75,42,130,.09)}
.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,var(--purple-2),var(--purple));color:#fff;font-size:21px;box-shadow:0 8px 20px rgba(75,42,130,.23)}.brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}.brand strong{font-size:21px}.brand small{margin-top:5px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.main-nav{justify-self:center;display:flex;gap:5px;padding:4px;background:#f1eef5;border-radius:13px}.main-nav button,.main-nav a{border:0;background:transparent;padding:9px 15px;border-radius:10px;color:#655d6d;font-weight:750;text-decoration:none;white-space:nowrap}.main-nav button.active,.main-nav a.active{background:#fff;color:var(--purple);box-shadow:0 3px 12px rgba(49,35,67,.08)}
.header-actions{display:flex;align-items:center;gap:9px}.local-badge{display:flex;align-items:center;gap:7px;border:1px solid #dfe9ce;background:#f8fbf1;color:#58750f;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800}.local-badge i{width:8px;height:8px;border-radius:50%;background:#84aa18;box-shadow:0 0 0 4px #eaf2d6}.header-actions select,.square-button{height:38px;border:1px solid var(--line);background:#fff;border-radius:11px;color:var(--ink)}.header-actions select{padding:0 28px 0 10px}.square-button{width:38px;color:var(--purple);font-weight:900}
.app-shell{max-width:1480px;margin:auto;padding:30px 24px 80px}.mode-panel{animation:fadeIn .2s ease}@keyframes fadeIn{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}
.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 18px}.page-intro>div:first-child{max-width:900px}.eyebrow{margin:0 0 7px;color:var(--purple);font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:11px}.page-intro h1,.coach-intro h1,.profiles-header h1{margin:0;font-size:clamp(29px,3.4vw,50px);line-height:1.06;letter-spacing:-.038em}.page-intro p:not(.eyebrow),.coach-intro>p:not(.eyebrow),.profiles-header p:not(.eyebrow){margin:9px 0 0;color:#596174;font-size:16px}.prototype-note{max-width:420px;padding:13px 15px;border-radius:15px;background:#27163e;color:#fff;box-shadow:var(--shadow-soft)}.prototype-note strong{display:block;margin-bottom:2px}.prototype-note span{display:block;opacity:.78;font-size:12px}
.quick-demos{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:14px}.quick-demos>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.quick-demos button{border:1px solid var(--line);background:#fff;color:#504858;border-radius:999px;padding:8px 12px;font-size:12px}.quick-demos button:hover{border-color:#9e85ca;color:var(--purple)}
.translator-workspace{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:stretch;gap:0;margin-bottom:18px}.message-panel{min-width:0;display:flex;flex-direction:column;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow);padding:21px}.workspace-arrow{display:grid;place-items:center;color:var(--purple);font-size:23px;font-weight:900}.panel-head,.section-heading{display:flex;align-items:flex-start;gap:12px}.panel-head{margin-bottom:15px}.panel-head>div:nth-child(2),.section-heading>div:nth-child(2){min-width:0;flex:1}.panel-head h2,.section-heading h2{margin:0;font-size:20px;letter-spacing:-.02em}.panel-head p,.section-heading p{margin:2px 0 0;color:var(--muted);font-size:12px}.step-number{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:11px;background:var(--purple-soft);color:var(--purple);font-weight:900;font-size:12px}.step-number.success{background:var(--green-soft);color:#66870f}.text-button{border:0;background:transparent;color:var(--purple);font-weight:800;padding:6px;white-space:nowrap}
.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f0edf4;border-radius:13px;padding:4px;margin-bottom:11px}.segmented button{border:0;background:transparent;color:#665d70;border-radius:10px;padding:9px 10px}.segmented button.active{background:#fff;color:var(--purple);font-weight:850;box-shadow:0 3px 11px rgba(45,31,65,.08)}
textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:16px;background:#fcfbfd;color:var(--ink);padding:16px;outline:none}.input-panel textarea{min-height:292px;flex:1}.output-panel #resultText{min-height:254px;background:#fff}.message-panel textarea:focus,.coach-card textarea:focus,input:focus,select:focus{border-color:#8c6fc0;box-shadow:0 0 0 3px rgba(75,42,130,.09)}.textarea-meta{display:flex;justify-content:space-between;margin:7px 3px 12px;color:#8a8393;font-size:10px}
.screenshot-zone{display:flex;align-items:center;justify-content:space-between;border:1px dashed #c7b8d9;border-radius:14px;padding:11px;background:#fbf9fd;margin-bottom:13px}.screenshot-zone label{display:flex;align-items:center;gap:10px;cursor:pointer}.screenshot-zone input,.file-button input{display:none}.screenshot-zone label>span:last-child{display:flex;flex-direction:column}.screenshot-zone small{color:var(--muted)}.upload-plus{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--purple-soft);color:var(--purple);font-size:19px;font-weight:900}.screenshot-preview{width:100%;max-height:240px;object-fit:contain;border:1px solid var(--line);background:#f5f3f7;border-radius:14px;margin-bottom:13px}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:11px 16px;text-decoration:none;font-weight:850}.primary-button{border:1px solid var(--purple);background:linear-gradient(120deg,var(--purple-2),var(--purple));color:#fff;box-shadow:0 8px 18px rgba(75,42,130,.18)}.primary-button:hover{filter:brightness(1.04)}.secondary-button{border:1px solid #d7cde4;background:#fff;color:var(--purple)}.full{width:100%}.input-panel>.primary-button{margin-top:auto}
.output-panel{position:relative}.output-empty{min-height:420px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #d5c9e2;border-radius:17px;background:linear-gradient(160deg,#fdfcff,#f7f3fb);padding:30px}.output-empty strong{font-size:18px}.output-empty p{max-width:350px;margin:6px 0;color:var(--muted)}.empty-heart{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:var(--purple-soft);color:var(--purple);font-size:26px;margin-bottom:13px}.applied-style{display:flex;align-items:flex-start;gap:11px;padding:11px 13px;margin-bottom:10px;border-radius:14px;background:#f3eef9;color:#493267}.applied-style>span{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:9px;background:#fff;color:var(--purple);font-weight:900}.applied-style strong{display:block}.applied-style small{display:block;color:#695c77;margin-top:2px}.mix-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.mix-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;background:#fff;border:1px solid #e3dbea;border-radius:999px;font-size:10px;font-weight:800}.mix-chip i{width:7px;height:7px;border-radius:50%}.result-actions,.meeting-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:10px}.output-insights{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.output-insights section{padding:12px;border-radius:14px;border:1px solid var(--line);background:#fcfbfd}.insight-head{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#4e376c}.insight-head>span{width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:var(--purple-soft);font-weight:900}.insight-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.insight-list li{position:relative;padding-left:15px;color:#595263;font-size:11px}.insight-list li:before{content:"";position:absolute;left:1px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--purple)}.advice-blue:before{background:var(--blue)!important}.advice-red:before{background:var(--red)!important}.advice-yellow:before{background:var(--yellow)!important}.advice-green:before{background:var(--green)!important}.meeting-card{display:flex;gap:12px;padding:13px;margin-top:11px;border:1px solid #e2c26f;border-radius:15px;background:#fff8df}.meeting-card p{margin:4px 0;color:#625b49;font-size:12px}.meeting-icon{width:35px;height:35px;display:grid;place-items:center;flex:none;border-radius:11px;background:#fff1bd;color:#765a04;font-weight:900}.result-meta{margin:10px 2px 0;color:#8a8392;font-size:10px}
.card{background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow)}.style-bridge{padding:22px}.people-selectors{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:17px 0 13px}.people-selectors label,.compact-controls label{display:block}.people-selectors label>span,.compact-controls label>span{display:block;margin-bottom:6px;color:#51495d;font-size:11px;font-weight:850}.people-selectors select,.compact-controls select,.profile-filter input,.profile-filter select{width:100%;height:43px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 12px;color:var(--ink);outline:none}
.profile-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.45fr) minmax(0,1fr);align-items:center;gap:18px}.profile-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:17px;background:#fbfafc}.profile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}.profile-card-head strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-card-head small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dominant-pill{padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}.dominant-pill.blue{background:var(--blue-soft);color:#175c90}.dominant-pill.red{background:var(--red-soft);color:#992d28}.dominant-pill.yellow{background:var(--yellow-soft);color:#765500}.dominant-pill.green{background:var(--green-soft);color:#5e7d0d}.profile-bars{display:grid;gap:7px}.profile-bar{display:grid;grid-template-columns:92px minmax(80px,1fr) 36px;align-items:center;gap:8px;font-size:10px}.profile-bar-label{display:flex;align-items:center;gap:6px;color:#565060;white-space:nowrap}.profile-bar-label i{width:9px;height:9px;border-radius:3px;flex:none}.profile-bar-track{height:8px;background:#ece8f0;border-radius:999px;overflow:hidden}.profile-bar-fill{display:block;height:100%;width:calc(var(--value) * 1%);min-width:2px;border-radius:inherit;transition:width .35s ease}.profile-bar b{text-align:right;color:#716978}.blue .profile-bar-label i,.blue .profile-bar-fill{background:var(--blue)}.red .profile-bar-label i,.red .profile-bar-fill{background:var(--red)}.yellow .profile-bar-label i,.yellow .profile-bar-fill{background:var(--yellow)}.green .profile-bar-label i,.green .profile-bar-fill{background:var(--green)}
.bridge-summary{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}.bridge-line{height:1px;flex:1;background:#d9d1e2}.bridge-summary>div{min-width:0;text-align:center}.bridge-summary strong{display:block;color:var(--purple);font-size:20px}.bridge-summary small{display:block;color:var(--muted);font-size:10px}.target-mix{display:none}.control-grid{display:grid;grid-template-columns:1.55fr .9fr;gap:20px;margin-top:20px;padding-top:19px;border-top:1px solid var(--line)}fieldset{border:0;padding:0;margin:0}legend{margin-bottom:8px;color:#51495d;font-size:11px;font-weight:850}.adaptation-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.adaptation-options button{min-height:67px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:13px;padding:10px 12px;color:#554d60}.adaptation-options button strong,.adaptation-options button small{display:block}.adaptation-options button small{margin-top:2px;color:var(--muted);font-size:10px}.adaptation-options button.active{border-color:#8a69c0;background:#f4effa;color:var(--purple);box-shadow:inset 0 0 0 1px #8a69c0}.compact-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px}.toggle-control{grid-column:1/-1;display:flex!important;align-items:center;gap:9px;padding:7px 0}.toggle-control input{display:none}.toggle-control>span{position:relative;width:38px;height:21px;border-radius:999px;background:#c8c0d1;transition:.2s;flex:none}.toggle-control>span:after{content:"";position:absolute;width:17px;height:17px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.15);transition:.2s}.toggle-control input:checked+span{background:var(--purple)}.toggle-control input:checked+span:after{transform:translateX(17px)}.toggle-control b{font-size:10px;color:#51495d}.compact-controls>.full{grid-column:1/-1}
.coach-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;align-items:start}.coach-intro{padding:34px 18px}.coach-prompts{display:grid;gap:8px;margin-top:22px}.coach-prompts button{border:1px solid var(--line);background:#fff;text-align:left;border-radius:13px;padding:11px 13px;color:#4f4858}.coach-prompts button:hover{border-color:#9e87c4;color:var(--purple)}.coach-card{padding:22px}.coach-card textarea{min-height:260px;margin:16px 0 12px}.coach-result{margin-top:14px;padding:16px;border-radius:16px;background:#f5f1fa;border:1px solid #ddd1eb}.coach-result h3{margin:0 0 4px}.coach-result p{color:#5c5366}.route-card{padding:13px;margin:10px 0;border-radius:13px;background:#fff;border:1px solid #e2d9ec}.route-card strong,.route-card small{display:block}.route-card small{color:var(--muted);margin-top:3px}.coach-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.profiles-header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px}.profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.profile-stats>div{padding:16px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft)}.profile-stats strong,.profile-stats span{display:block}.profile-stats strong{font-size:25px;color:var(--purple)}.profile-stats span{color:var(--muted);font-size:11px}.profile-filter{display:grid;grid-template-columns:1fr 260px;gap:10px;padding:13px;margin-bottom:14px}.persona-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.persona-card{padding:15px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-soft)}.persona-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:10px}.persona-head strong,.persona-head small{display:block}.persona-head small{color:var(--muted)}.persona-meta{display:flex;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid #eeeaf1;color:#7b7383;font-size:9px}.file-button{cursor:pointer}
.toast{position:fixed;left:50%;bottom:24px;z-index:80;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:11px 16px;border-radius:12px;background:#241734;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.18);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1080px){.app-header{grid-template-columns:auto auto}.main-nav{order:3;grid-column:1/-1;justify-self:stretch}.main-nav button,.main-nav a{flex:1;text-align:center}.translator-workspace{grid-template-columns:1fr}.workspace-arrow{height:34px;transform:rotate(90deg)}.profile-comparison{grid-template-columns:1fr}.bridge-summary{padding:0 20px}.control-grid{grid-template-columns:1fr}.coach-layout{grid-template-columns:1fr}.persona-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.app-shell{padding:22px 13px 60px}.app-header{padding:10px 13px;gap:10px}.brand small,.local-badge{display:none}.header-actions{justify-self:end}.main-nav{overflow:auto}.main-nav button,.main-nav a{padding:8px 11px;white-space:nowrap}.page-intro{display:block}.prototype-note{margin-top:14px}.translator-workspace{gap:0}.message-panel,.style-bridge,.coach-card,.profiles-header{padding:16px;border-radius:20px}.output-insights{grid-template-columns:1fr}.people-selectors,.compact-controls,.adaptation-options{grid-template-columns:1fr}.toggle-control,.compact-controls>.full{grid-column:auto}.profile-comparison{gap:10px}.bridge-summary{min-height:52px}.bridge-line{display:block}.profile-bar{grid-template-columns:83px minmax(70px,1fr) 31px}.result-actions,.meeting-actions{display:grid;grid-template-columns:1fr}.result-actions>*{width:100%}.coach-intro{padding:15px 4px}.profiles-header{display:block}.profile-actions{margin-top:14px}.profile-stats{grid-template-columns:1fr}.profile-filter{grid-template-columns:1fr}.persona-grid{grid-template-columns:1fr}.page-intro h1,.coach-intro h1,.profiles-header h1{font-size:31px}.quick-demos{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.quick-demos button{white-space:nowrap}.input-panel textarea{min-height:230px}.output-empty{min-height:300px}}
