
:root{
  --bg:#f4f1ea;--surface:#fbfaf7;--surface-2:#efede7;--ink:#202421;--muted:#6f746f;
  --line:#ddd9d1;--accent:#4f7069;--accent-soft:#e8f0ed;--shadow:0 20px 60px rgba(28,32,29,.08);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
background:radial-gradient(circle at 15% -10%,rgba(79,112,105,.10),transparent 32%),var(--bg);color:var(--ink)}
button,textarea{font:inherit} button{cursor:pointer}
.shell{width:min(980px,calc(100% - 30px));margin:0 auto;padding:18px 0 52px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:4px 2px 18px}
.brand{display:flex;align-items:center;gap:10px;font-weight:740;letter-spacing:-.025em}
.mark{width:34px;height:34px;border-radius:12px;background:var(--ink);color:#fff;display:grid;place-items:center}
.status{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:7px}
.status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(79,112,105,.10)}
.frame{background:rgba(251,250,247,.90);border:1px solid rgba(221,217,209,.9);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}
.main{min-height:680px;padding:clamp(28px,5vw,58px)}
.hidden{display:none!important}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-size:12px;font-weight:780;letter-spacing:.1em;text-transform:uppercase}
.eyebrow:before{content:"";width:16px;height:1px;background:currentColor;opacity:.5}
h1,h2,h3,p{margin-top:0} h1{font-size:clamp(42px,7vw,76px);line-height:.98;letter-spacing:-.055em;margin:18px 0 22px;max-width:840px}
h2{font-size:clamp(30px,4.4vw,50px);line-height:1.05;letter-spacing:-.045em;margin:14px 0}
h3{font-size:18px;letter-spacing:-.02em;margin-bottom:6px}
.lead{font-size:18px;line-height:1.55;color:#4d524e;max-width:700px;margin-bottom:0}
.subtle{font-size:14px;line-height:1.5;color:var(--muted)}
.welcome-note{display:flex;gap:10px;align-items:flex-start;margin-top:24px;color:#5c625e;font-size:14px}
.mini-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);margin-top:6px}
.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px}
.mode{border:1px solid var(--line);background:#fffdfa;border-radius:18px;padding:20px;text-align:left;color:var(--ink);transition:.16s}
.mode:hover{transform:translateY(-2px);border-color:#b8c5c0;box-shadow:0 10px 24px rgba(31,35,33,.05)}
.mode strong{display:block;font-size:17px;margin-bottom:6px}.mode span{display:block;color:var(--muted);font-size:14px;line-height:1.45}
.mode-meta{margin-top:12px!important;display:inline-flex!important;width:auto!important;padding:5px 8px;border-radius:999px;background:var(--surface-2);font-size:12px!important;font-weight:700}
.question-shell{max-width:760px;margin:0 auto}
.progress-wrap{margin-bottom:30px}.progress-top{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px;margin-bottom:10px}
.progress-line{height:4px;background:#e9e5de;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);width:0;transition:.25s}
.question-lead{color:var(--muted);font-size:16px;line-height:1.5;margin:0 0 14px;max-width:670px}
.learn-more{border:none;background:transparent;color:var(--accent);font-size:13px;font-weight:700;padding:0;margin-bottom:8px}
.explain,.reaction{margin:8px 0 18px;padding:13px 15px;border-radius:14px;font-size:13.5px;line-height:1.5}
.explain{background:var(--accent-soft);color:#48605b}.reaction{background:#f0eee8;color:#595f5b}
.options{display:grid;gap:10px;margin-top:20px}
.option{width:100%;border:1px solid var(--line);background:#fffdfa;border-radius:16px;padding:16px 17px;display:flex;align-items:center;gap:13px;text-align:left;transition:.16s;color:var(--ink)}
.option:hover{transform:translateY(-1px);border-color:#b8c4c0}.option.selected{background:var(--accent-soft);border-color:#9fb4ae}
.dot{width:20px;height:20px;border:1.5px solid #aaa;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.option.selected .dot{border-color:var(--accent)}.option.selected .dot:after{content:"";width:10px;height:10px;border-radius:50%;background:var(--accent)}
.check{border-radius:6px}.option.selected .check:after{content:"✓";width:auto;height:auto;background:none;color:var(--accent);font-size:14px;font-weight:900}
.textarea{width:100%;min-height:140px;border:1px solid var(--line);border-radius:16px;background:#fffdfa;padding:15px;line-height:1.5;resize:vertical}
.live-strip{margin-top:24px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.chip{padding:6px 9px;border-radius:999px;background:var(--accent-soft);color:#48605b;font-size:12px;font-weight:700}
.nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px}.nav-right{display:flex;gap:9px}
.btn{border:none;border-radius:13px;padding:12px 16px;font-weight:720;transition:.16s}.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:#fff}.btn-secondary{background:var(--surface-2);color:var(--ink)}.btn-ghost{background:transparent;color:var(--muted);padding-left:4px;padding-right:4px}
.result-hero{padding-bottom:22px;border-bottom:1px solid var(--line)}
.profile-card{margin-top:24px;padding:24px;border-radius:22px;background:linear-gradient(145deg,#fff,#f4f7f5);border:1px solid #e1e1dc}
.profile-kicker{color:var(--muted);font-size:13px;margin-bottom:10px}.profile-summary{font-size:22px;line-height:1.4;letter-spacing:-.02em;margin:0;max-width:760px}
.result-actions-main,.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.result-stack{display:grid;gap:14px;margin-top:22px}.fold{border-top:1px solid var(--line);padding-top:18px}.fold-head{display:flex;justify-content:space-between;gap:14px;align-items:center}
.summary-list{display:grid;gap:10px;list-style:none;margin:12px 0 0;padding:0}.summary-list li{position:relative;padding-left:20px;line-height:1.5;color:#4f5551}
.summary-list li:before{content:"";position:absolute;left:0;top:.7em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.output-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tab{border:1px solid var(--line);background:#fffdfa;padding:8px 11px;border-radius:10px;font-weight:650}
.tab.active{background:var(--accent-soft);color:#48605b;border-color:#9fb4ae}.output{width:100%;min-height:300px;border:1px solid var(--line);border-radius:15px;padding:15px;background:#f7f5f0;line-height:1.55;resize:vertical}
.guide-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.guide{padding:15px;border-radius:15px;background:var(--surface-2)}
.guide strong{display:block;margin-bottom:4px;font-size:14px}.guide span{font-size:13px;color:var(--muted);line-height:1.45}
.toast{position:fixed;right:18px;bottom:18px;padding:11px 14px;border-radius:12px;background:var(--ink);color:#fff;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;font-size:13px}
.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:720px){.shell{width:min(100% - 20px,980px);padding-top:10px}.main{padding:24px 18px 34px}.status{display:none}.mode-grid,.guide-cards{grid-template-columns:1fr}h1{font-size:44px}.profile-summary{font-size:19px}.nav{align-items:flex-end}.nav-right{flex-direction:column-reverse}.nav-right .btn{width:100%}}

/* --- Tunoa typography pass 0.2 --- */
:root{
  --font-display:"Segoe UI Variable Display","Segoe UI Variable","SF Pro Display","Aptos Display","Segoe UI",sans-serif;
  --font-text:"Segoe UI Variable Text","Segoe UI Variable","SF Pro Text","Aptos","Segoe UI",sans-serif;
}
body{
  font-family:var(--font-text);
  font-size:16px;
  line-height:1.58;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.brand{font-family:var(--font-display);gap:11px}
.brand-lockup{display:flex;flex-direction:column;gap:1px;line-height:1.05}
.brand-name{font-size:17px;font-weight:720;letter-spacing:-.028em}
.brand-tag{color:var(--muted);font-family:var(--font-text);font-size:11px;font-weight:500;letter-spacing:.01em}
.mark{font-family:var(--font-display);font-size:15px;font-weight:760;letter-spacing:-.03em}
h1,h2,h3,.profile-summary,.mode strong,.btn,.tab{font-family:var(--font-display)}
h1{font-weight:670;letter-spacing:-.06em;line-height:.98;text-wrap:balance}
h2{font-weight:650;letter-spacing:-.048em;line-height:1.04;text-wrap:balance}
h3{font-weight:650;letter-spacing:-.024em}
.lead{font-size:18.5px;line-height:1.62;letter-spacing:-.012em}
.question-lead{font-size:16.5px;line-height:1.58;letter-spacing:-.006em}
.mode strong{font-size:17.5px;font-weight:640;letter-spacing:-.025em}
.mode span{line-height:1.52}
.option{font-size:15.5px;line-height:1.48;letter-spacing:-.004em}
.profile-summary{font-size:23px;font-weight:560;line-height:1.48;letter-spacing:-.03em;text-wrap:balance}
.btn{font-weight:640;letter-spacing:-.012em}
.eyebrow{font-family:var(--font-text);font-weight:700;letter-spacing:.12em}
.subtle,.status,.progress-top,.live-strip,.guide span,.explain,.reaction{letter-spacing:.001em}
.output{font-family:"Segoe UI Variable Text","Cascadia Code","SFMono-Regular",Consolas,monospace;font-size:14px;line-height:1.62}
.main{padding-top:clamp(34px,5.5vw,66px);padding-bottom:clamp(36px,5.5vw,62px)}
.mode-grid{margin-top:38px}
.profile-card{padding:28px}
@media(max-width:720px){
  .brand-tag{display:none}
  h1{font-size:42px;letter-spacing:-.055em}
  .lead{font-size:17.5px}
  .profile-summary{font-size:20px}
}


/* --- Tunoa polish 0.3 --- */
:root{
  --ease:cubic-bezier(.2,.7,.2,1);
}
.frame{
  box-shadow:0 24px 70px rgba(28,32,29,.075);
}
.mode,.option,.btn,.tab,.profile-card,.chip{
  transition:transform .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease);
}
.mode:active,.option:active,.btn:active{transform:scale(.992)}
.option.selected{
  box-shadow:0 5px 18px rgba(79,112,105,.055), inset 0 0 0 1px rgba(79,112,105,.05);
}
.question-animate{
  animation:tunoaRise .28s var(--ease) both;
}
.result-enter{
  animation:tunoaRise .34s var(--ease) both;
}
@keyframes tunoaRise{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
.progress-fill{
  transition:width .34s var(--ease);
}
.live-strip{
  min-height:32px;
}
.chip{
  animation:chipIn .22s var(--ease) both;
}
@keyframes chipIn{
  from{opacity:0;transform:scale(.96)}
  to{opacity:1;transform:scale(1)}
}
.profile-card{
  box-shadow:0 10px 32px rgba(31,35,33,.035);
}
.mode:focus-visible,.option:focus-visible,.btn:focus-visible,.tab:focus-visible,.learn-more:focus-visible{
  outline:3px solid rgba(79,112,105,.18);
  outline-offset:3px;
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* --- Tunoa Concept Lab 0.4 --- */
.top-actions{display:flex;align-items:center;gap:14px}
.library-link{
  border:1px solid var(--line);
  background:rgba(255,253,250,.72);
  color:var(--ink);
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
  font-weight:680;
}
.library-link:hover{background:#fff}
.library-link span{
  display:inline-grid;place-items:center;
  min-width:19px;height:19px;padding:0 5px;
  margin-left:4px;border-radius:999px;
  background:var(--accent-soft);color:var(--accent);
  font-size:11px;font-weight:800;
}
.mode-grid-three{grid-template-columns:repeat(3,1fr)}
.mode-accent{
  background:linear-gradient(145deg,#edf4f1,#fffdfa);
  border-color:#b9c9c4;
}
.preset-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:11px;
  margin:30px 0 20px;
}
.preset-card{
  border:1px solid var(--line);
  background:#fffdfa;
  color:var(--ink);
  border-radius:18px;
  padding:19px;
  text-align:left;
  transition:.18s var(--ease);
}
.preset-card:hover{
  transform:translateY(-2px);
  border-color:#aebfba;
  box-shadow:0 10px 28px rgba(31,35,33,.055);
}
.preset-card strong{
  display:block;
  font-family:var(--font-display);
  font-size:17px;
  font-weight:660;
  letter-spacing:-.025em;
  margin-bottom:5px;
}
.preset-card span{
  color:var(--muted);
  font-size:13.5px;
  line-height:1.5;
}
.concept-note{
  margin:4px 0 20px;
  padding:12px 14px;
  border-radius:14px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.save-panel{
  margin-top:15px;
  padding:15px;
  border-radius:16px;
  background:var(--surface-2);
}
.save-panel label{
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  margin-bottom:7px;
}
.save-row{display:flex;gap:8px}
.save-input{
  flex:1;min-width:0;
  border:1px solid var(--line);
  background:#fffdfa;
  color:var(--ink);
  border-radius:12px;
  padding:11px 12px;
  outline:none;
}
.save-input:focus{border-color:#9fb4ae;box-shadow:0 0 0 3px rgba(79,112,105,.10)}
.save-panel>span{
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:11.5px;
}
.saved-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:11px;
  margin:28px 0 22px;
}
.saved-card{
  border:1px solid var(--line);
  background:#fffdfa;
  border-radius:18px;
  padding:18px;
}
.saved-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
.saved-card h3{margin:0 0 4px;font-size:17px}
.saved-meta{color:var(--muted);font-size:12px}
.saved-desc{
  color:#555c57;
  font-size:13.5px;
  line-height:1.5;
  margin:13px 0 15px;
}
.saved-actions{display:flex;gap:8px;flex-wrap:wrap}
.mini-btn{
  border:none;border-radius:10px;
  padding:8px 10px;font-size:12px;font-weight:700;
  background:var(--surface-2);color:var(--ink)
}
.mini-btn.primary{background:var(--ink);color:#fff}
.mini-btn.danger{color:#8a4747}
.empty-state{
  padding:28px;
  margin:26px 0 22px;
  border:1px dashed #cbc7bf;
  border-radius:18px;
  text-align:center;
  background:rgba(255,255,255,.35);
}
.empty-state strong{display:block;margin-bottom:5px}
.empty-state span{color:var(--muted);font-size:13.5px}
@media(max-width:820px){
  .mode-grid-three{grid-template-columns:1fr}
}
@media(max-width:720px){
  .preset-grid,.saved-grid{grid-template-columns:1fr}
  .save-row{flex-direction:column}
}


/* --- Tunoa Visual Lab 0.5 --- */
:root{
  --bg:#f5f1e9;
  --surface:#fffdf9;
  --surface-2:#f0ece5;
  --ink:#182421;
  --muted:#68716c;
  --line:#ddd8cf;
  --accent:#2f817c;
  --accent-strong:#1e6662;
  --accent-soft:#e6f1ee;
  --display-serif:Georgia,"Times New Roman",serif;
}
body{
  background:
    radial-gradient(circle at 82% 6%,rgba(47,129,124,.08),transparent 24%),
    radial-gradient(circle at 8% 0%,rgba(207,187,143,.08),transparent 22%),
    var(--bg);
}
.frame{
  position:relative;
  overflow:hidden;
  background:rgba(255,253,249,.93);
}
.frame:after{
  content:"";
  pointer-events:none;
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-48px;
  height:140px;
  opacity:.55;
  background:
    radial-gradient(ellipse at 75% 85%,rgba(47,129,124,.24) 0 16%,transparent 17%),
    radial-gradient(ellipse at 88% 95%,rgba(47,129,124,.15) 0 26%,transparent 27%),
    radial-gradient(ellipse at 38% 100%,rgba(143,151,139,.10) 0 32%,transparent 33%);
  z-index:0;
}
.main,.topbar{position:relative;z-index:1}
.orbit-mark{
  position:relative;
  background:transparent!important;
  box-shadow:none!important;
  border:1.6px solid rgba(47,129,124,.55);
  border-radius:50%!important;
}
.orbit-mark:before{
  content:"";
  position:absolute;
  width:39px;height:18px;
  border:1.4px solid var(--accent);
  border-radius:50%;
  transform:rotate(-28deg);
}
.orbit-mark .legacy-node{
  width:7px;height:7px;border-radius:50%;
  background:var(--accent);
  position:absolute;right:1px;top:5px;
  box-shadow:0 0 0 3px rgba(47,129,124,.10);
}
h1,h2,.profile-summary,.preset-card strong,.saved-card h3{
  font-family:var(--display-serif);
}
h1{
  font-weight:500;
  letter-spacing:-.045em;
  font-size:clamp(48px,6vw,74px);
}
h2{
  font-weight:500;
  letter-spacing:-.038em;
}
.eyebrow{
  color:var(--accent);
}
.welcome-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:34px;
  align-items:center;
}
.welcome-copy{min-width:0}
.hero-visual{
  min-height:285px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:20px;
}
.tuning-orbit{
  position:relative;
  width:190px;
  height:150px;
}
.tuning-orbit-large{width:260px;height:190px}
.tuning-orbit .core{
  position:absolute;
  width:112px;height:112px;
  border-radius:50%;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle at 30% 30%,rgba(100,177,169,.55),rgba(230,241,238,.75) 46%,rgba(242,233,218,.55) 100%);
  box-shadow:inset 0 0 30px rgba(255,255,255,.65);
}
.tuning-orbit-large .core{width:145px;height:145px}
.tuning-orbit .orbit-line{
  position:absolute;
  left:12px;right:12px;top:50%;
  height:72px;
  border:1.4px solid rgba(47,129,124,.62);
  border-radius:50%;
  transform:translateY(-50%) rotate(-17deg);
}
.tuning-orbit-large .orbit-line{height:92px}
.tuning-orbit .orbit-dot{
  position:absolute;
  width:14px;height:14px;border-radius:50%;
  right:25px;top:47px;
  background:linear-gradient(145deg,#7fc2b9,#2f817c);
  box-shadow:0 4px 12px rgba(47,129,124,.25),0 0 0 4px rgba(47,129,124,.08);
}
.tuning-orbit-large .orbit-dot{right:34px;top:56px}
.hero-words{
  color:rgba(47,129,124,.72);
  font-size:11px;
  line-height:1.85;
  letter-spacing:.18em;
  text-align:left;
  align-self:flex-end;
  margin-right:18px;
}
.hero-words.small{font-size:9px;margin:8px 0 0 0;align-self:center}
.mode{
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:22px;
  background:rgba(255,253,249,.88);
  box-shadow:0 12px 34px rgba(32,39,36,.04);
}
.mode strong{
  font-family:var(--display-serif);
  font-size:22px;
  font-weight:500;
}
.mode-meta{margin-top:auto!important}
.mode-accent{
  background:linear-gradient(145deg,#3e938d,#246f6a);
  color:#fff;
  border-color:rgba(30,102,98,.4);
  box-shadow:0 18px 40px rgba(47,129,124,.18);
}
.mode-accent strong,.mode-accent span{color:#fff}
.mode-accent .mode-meta{
  background:rgba(255,255,255,.14);
  color:#fff;
}
.welcome-note{
  margin-top:22px;
}
.how-link{
  margin-top:8px;
  border:none;
  background:transparent;
  color:var(--accent-strong);
  padding:0;
  font-size:13px;
  font-weight:700;
}
.how-panel{
  margin-top:12px;
  max-width:700px;
  padding:16px 17px;
  border:1px solid rgba(47,129,124,.16);
  border-radius:16px;
  background:rgba(230,241,238,.58);
  color:#45524d;
  font-size:13.5px;
  line-height:1.55;
}
.how-panel strong{display:block;margin-bottom:5px}
.how-panel p{margin:5px 0}
.question-shell-wide{max-width:880px}
.quiz-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:28px;
  align-items:center;
}
.quiz-visual{
  display:flex;flex-direction:column;align-items:center;
  opacity:.82;
}
.option{
  padding:18px 19px;
  min-height:70px;
}
.option.selected{
  border-color:var(--accent);
  background:linear-gradient(145deg,rgba(230,241,238,.92),rgba(255,253,249,.94));
  box-shadow:0 8px 24px rgba(47,129,124,.08);
}
.profile-card{
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(244,248,246,.92));
  border-color:rgba(47,129,124,.13);
}
.result-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:15px;
}
.result-chips .chip{
  background:#eef3f1;
  color:#52625c;
}
.preset-card{
  min-height:120px;
}
.preset-card strong,.saved-card h3{
  font-family:var(--display-serif);
  font-weight:500;
}
.library-link{
  border-color:rgba(47,129,124,.18);
}
@media(max-width:860px){
  .welcome-grid{grid-template-columns:1fr}
  .hero-visual{display:none}
  .quiz-content-grid{grid-template-columns:1fr}
  .quiz-visual{display:none}
}


/* --- Tunoa questionnaire visual pass 0.6 --- */
.question-shell-wide{max-width:1000px}
.quiz-topline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:26px;
  margin-bottom:38px;
}
.quiz-topline .progress-wrap{
  margin:0;
  min-width:0;
}
.profile-panel{
  min-width:285px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 14px;
  border:1px solid rgba(47,129,124,.13);
  border-radius:16px;
  background:rgba(255,253,249,.72);
  box-shadow:0 8px 26px rgba(24,36,33,.035);
}
.profile-panel-icon{
  width:38px;height:38px;flex:0 0 auto;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:19px;
}
.profile-panel-label{
  display:block;
  color:var(--muted);
  font-size:11.5px;
  margin-bottom:5px;
}
.profile-panel .live-strip{
  margin:0;
  min-height:0;
  gap:5px;
}
.profile-panel .chip{
  padding:4px 7px;
  font-size:10.5px;
}
.question-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:32px;
  align-items:center;
}
.question-copy{
  min-width:0;
}
.question-stage h2{
  font-size:clamp(38px,5vw,62px);
  max-width:760px;
  margin-top:18px;
  line-height:1.03;
}
.question-stage .question-lead{
  max-width:720px;
  margin-top:18px;
  font-size:17.5px;
}
.question-stage .quiz-visual{
  display:flex;
  opacity:.9;
}
#answerArea{
  margin-top:28px;
}
.options.option-cards{
  display:grid;
  gap:13px;
}
.options.option-cards.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.options.option-cards.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.options.option-cards.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.option.option-card{
  position:relative;
  display:block;
  min-height:172px;
  padding:20px 20px 19px;
  border-radius:20px;
  background:rgba(255,253,249,.90);
  box-shadow:0 10px 30px rgba(24,36,33,.035);
}
.option.option-card:hover{
  box-shadow:0 14px 34px rgba(24,36,33,.065);
}
.option.option-card.selected{
  border-color:var(--accent);
  background:linear-gradient(145deg,rgba(230,241,238,.96),rgba(255,253,249,.98));
  box-shadow:0 14px 34px rgba(47,129,124,.09), inset 0 0 0 1px rgba(47,129,124,.06);
}
.option-icon{
  width:45px;height:45px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-family:var(--font-display);
  font-size:20px;
  margin-bottom:20px;
}
.option-card-title{
  display:block;
  padding-right:30px;
  font-family:var(--display-serif);
  font-size:20px;
  line-height:1.16;
  letter-spacing:-.025em;
  color:var(--ink);
}
.option-card-desc{
  display:block;
  margin-top:9px;
  color:var(--muted);
  font-size:13.3px;
  line-height:1.48;
}
.option-check{
  position:absolute;
  right:16px;top:16px;
  width:25px;height:25px;
  display:grid;place-items:center;
  border-radius:50%;
  border:1px solid var(--line);
  color:transparent;
  background:#fff;
  font-size:13px;
  font-weight:800;
}
.option-card.selected .option-check{
  color:#fff;
  background:var(--accent);
  border-color:var(--accent);
}
.why-zone{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:18px;
}
.why-zone .learn-more{
  margin:0;
  padding:8px 10px;
  color:#385f5a;
}
.why-zone .explain{
  width:min(720px,100%);
  margin:8px auto 0;
}
.nav{
  padding-top:9px;
  border-top:1px solid rgba(221,216,207,.72);
}
.skip-btn{
  background:transparent;
  color:var(--muted);
}
.tuning-orbit .core,
.tuning-orbit .orbit-line,
.tuning-orbit .orbit-dot{
  transition:all .35s var(--ease);
}
.quiz-orbit-progress-1 .core{transform:translate(-50%,-50%) scale(.90);opacity:.72}
.quiz-orbit-progress-2 .core{transform:translate(-50%,-50%) scale(.96);opacity:.82}
.quiz-orbit-progress-3 .core{transform:translate(-50%,-50%) scale(1.03);opacity:.94}
.quiz-orbit-progress-4 .core{transform:translate(-50%,-50%) scale(1.08);opacity:1}
.quiz-orbit-progress-4 .orbit-line{border-width:1.7px}
.quiz-orbit-progress-4 .orbit-dot{box-shadow:0 4px 13px rgba(47,129,124,.32),0 0 0 6px rgba(47,129,124,.08)}
@media(max-width:900px){
  .quiz-topline{grid-template-columns:1fr}
  .profile-panel{min-width:0;width:max-content;max-width:100%}
  .question-stage{grid-template-columns:1fr}
  .question-stage .quiz-visual{display:none}
}
@media(max-width:720px){
  .options.option-cards.cols-2,
  .options.option-cards.cols-3,
  .options.option-cards.cols-4{grid-template-columns:1fr}
  .option.option-card{min-height:0}
  .profile-panel{display:none}
  .question-stage h2{font-size:38px}
}


/* =========================================================
   Tunoa Visual Implementation 0.7
   ========================================================= */
.shell{
  width:min(1240px,calc(100% - 28px));
  margin:28px auto 42px;
}
.topbar{
  min-height:76px;
  padding:0 24px;
  background:rgba(255,253,249,.94);
  border:1px solid rgba(218,215,208,.8);
  border-bottom:none;
  border-radius:26px 26px 0 0;
  backdrop-filter:blur(18px);
}
.frame{
  border-radius:0 0 26px 26px;
  border-top:none;
  min-height:720px;
  box-shadow:0 26px 70px rgba(34,44,40,.11);
}
.frame:after{
  height:170px;
  bottom:-58px;
  opacity:.78;
  background:
    radial-gradient(ellipse at 15% 98%,rgba(210,216,207,.34) 0 26%,transparent 27%),
    radial-gradient(ellipse at 44% 106%,rgba(158,180,171,.29) 0 30%,transparent 31%),
    radial-gradient(ellipse at 70% 104%,rgba(93,147,139,.28) 0 28%,transparent 29%),
    radial-gradient(ellipse at 92% 100%,rgba(47,129,124,.35) 0 27%,transparent 28%),
    linear-gradient(to bottom,transparent 54%,rgba(239,244,240,.42) 55%,rgba(230,239,235,.68) 100%);
}
.frame:before{
  content:"";
  position:absolute;
  right:8%;
  bottom:35px;
  width:76px;height:76px;
  border-radius:50%;
  background:rgba(250,236,205,.58);
  box-shadow:0 0 50px rgba(250,236,205,.4);
  pointer-events:none;
  z-index:0;
}
.main{padding:62px 58px 84px}
.brand-button{
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
}
.top-nav{gap:8px}
.nav-link{
  border:none;
  background:transparent;
  color:#51615b;
  padding:9px 11px;
  border-radius:10px;
  font-weight:650;
  font-size:13px;
}
.nav-link:hover{background:rgba(47,129,124,.055);color:var(--accent-strong)}
.status{
  display:flex;
  gap:7px;
  align-items:center;
  background:#f0f5f2;
}
.status-dot{width:7px;height:7px;border-radius:50%;background:#4c9b78;box-shadow:0 0 0 4px rgba(76,155,120,.10)}
.landing-hero{
  grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
  gap:38px;
  align-items:center;
}
.hero-lead{max-width:670px;font-size:19px;line-height:1.52}
.benefit-row{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  margin-top:23px;
}
.benefit{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:#5a6b65;
  font-size:13px;
}
.benefit b{
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:700;
}
.hero-visual-polished{min-height:310px;position:relative}
.hero-whisper{
  position:absolute;
  right:4px;
  bottom:20px;
  font-family:var(--display-serif);
  font-style:italic;
  color:#6e7e79;
  font-size:14px;
  line-height:1.4;
}
.landing-modes{margin-top:34px}
.mode-rich{
  min-height:224px;
  position:relative;
  align-items:flex-start;
  text-align:left;
  gap:0;
}
.mode-rich .mode-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:26px;
  margin-bottom:18px;
}
.mode-rich .mode-copy{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mode-rich .mode-copy>span{
  color:var(--muted);
  line-height:1.5;
}
.mode-rich .mode-foot{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:22px;
  font-size:13px;
  color:#52635d;
}
.mode-arrow{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f0eee8;
  color:var(--ink);
  font-size:20px;
}
.mode-badge{
  position:absolute;
  top:16px;right:16px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:9px;
  letter-spacing:.12em;
}
.mode-accent .mode-icon{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
}
.mode-accent .mode-copy>span,
.mode-accent .mode-foot{color:rgba(255,255,255,.83)}
.mode-arrow.light{background:#fff;color:var(--accent-strong)}
.privacy-line{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin:22px auto 0;
  color:#60716b;
  font-size:12.5px;
}
.privacy-lock{color:var(--accent)}
.text-link{
  border:none;
  background:transparent;
  padding:0;
  color:var(--accent-strong);
  font-weight:700;
  cursor:pointer;
}
.how-section{
  display:grid;
  grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);
  gap:38px;
  padding:28px 0 18px;
  margin-top:22px;
  border-top:1px solid rgba(221,216,207,.72);
}
.how-intro h2{
  font-size:34px;
  margin:8px 0 8px;
}
.how-intro>p{color:var(--muted);line-height:1.55;margin:0 0 9px}
.how-steps{
  display:grid;
  grid-template-columns:1fr 28px 1fr 28px 1fr;
  gap:12px;
  align-items:start;
}
.how-step{display:flex;gap:12px}
.how-step strong{
  display:block;
  font-family:var(--display-serif);
  font-size:16px;
  margin-bottom:5px;
}
.how-step p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.45}
.step-no{
  width:36px;height:36px;flex:0 0 36px;
  display:grid;place-items:center;
  border-radius:50%;
  color:var(--accent-strong);
  background:var(--accent-soft);
  border:1px solid rgba(47,129,124,.16);
  font-family:var(--display-serif);
}
.how-connector{
  margin-top:18px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(47,129,124,.35),transparent);
}
.landing-quote{
  margin-top:28px;
  font-family:var(--display-serif);
  font-style:italic;
  color:#65756f;
  font-size:16px;
}
.question-shell{
  padding-bottom:18px;
}
.question-stage h2{max-width:730px}
.option.option-card{
  border-color:rgba(218,215,208,.82);
  box-shadow:0 12px 26px rgba(24,36,33,.035);
}
.option.option-card.selected{
  box-shadow:0 14px 34px rgba(47,129,124,.095),inset 0 0 0 1px rgba(47,129,124,.08);
}
.result-hero-polished{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(285px,.72fr);
  gap:42px;
  align-items:center;
  margin-bottom:26px;
}
.result-copy h2{
  font-size:clamp(44px,5.7vw,68px);
  margin:12px 0 12px;
}
.profile-summary-hero{
  max-width:760px;
  font-family:var(--font-text);
  font-size:17px;
  line-height:1.57;
  color:#52635d;
  margin-top:16px;
}
.result-chips-hero{margin-top:16px}
.result-chips-hero .chip{
  padding:8px 12px;
  border-radius:999px;
  background:#edf3f0;
}
.result-orbit{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.result-orbit-shape{margin-bottom:-8px}
.result-quote{
  margin-top:16px;
  align-self:flex-end;
  font-family:var(--display-serif);
  font-style:italic;
  color:#677872;
  font-size:14px;
  line-height:1.4;
}
.result-workspace{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);
  gap:14px;
  align-items:stretch;
}
.prompt-panel,.result-action-panel{
  border:1px solid rgba(218,215,208,.82);
  border-radius:22px;
  background:rgba(255,253,249,.90);
  box-shadow:0 12px 30px rgba(24,36,33,.035);
}
.prompt-panel{padding:22px}
.prompt-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.prompt-head h3{
  margin:4px 0 0;
  font-family:var(--display-serif);
  font-weight:500;
  font-size:23px;
}
.eyebrow.mini{font-size:10px}
.mini-copy{
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:9px 13px;
  color:#455650;
  font-weight:700;
  cursor:pointer;
}
.compact-tabs{margin-top:16px}
.output-polished{
  min-height:164px;
  margin-top:12px;
  background:#f7f8f6;
  border-color:#dfe5e1;
  color:#4d5b56;
  font-size:14px;
  line-height:1.55;
}
.prompt-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:9px;
  color:#78837f;
  font-size:11.5px;
}
.result-action-panel{
  padding:11px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.result-primary-action{
  display:flex;
  align-items:center;
  gap:13px;
  width:100%;
  border:none;
  border-radius:17px;
  padding:14px;
  text-align:left;
  background:linear-gradient(145deg,#42978f,#27736e);
  color:#fff;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(47,129,124,.16);
}
.result-primary-action .action-icon{
  width:46px;height:46px;
  flex:0 0 46px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--accent-strong);
  font-size:22px;
}
.result-primary-action strong{
  display:block;
  font-family:var(--display-serif);
  font-size:18px;
  font-weight:500;
}
.result-primary-action small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.78);
}
.result-side-action{
  width:100%;
  display:grid;
  grid-template-columns:24px 1fr 20px;
  align-items:center;
  gap:7px;
  padding:11px 10px;
  border:1px solid #d9dedb;
  border-radius:14px;
  background:#fff;
  color:#33443e;
  text-align:left;
  cursor:pointer;
}
.result-side-action strong{font-weight:700}
.result-side-action b{text-align:right}
.save-panel-polished{
  margin:4px 0 0;
  padding:12px;
  border-radius:14px;
}
.save-panel-polished .save-input{width:100%;margin-top:6px}
.btn.full{width:100%;margin-top:8px}
.result-mode-section{
  margin-top:28px;
}
.result-mode-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}
.result-mode-heading h3{
  margin:0;
  font-family:var(--display-serif);
  font-size:30px;
  font-weight:500;
}
.result-mode-heading p{margin:4px 0 0;color:var(--muted);font-size:12.5px}
.result-modes-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.result-mode-card{
  min-height:150px;
  position:relative;
  padding:14px;
  border:1px solid rgba(218,215,208,.82);
  border-radius:17px;
  background:rgba(255,253,249,.88);
  box-shadow:0 10px 24px rgba(24,36,33,.03);
}
.result-mode-card .mode-small-icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  margin-bottom:10px;
}
.result-mode-card h4{
  margin:0;
  font-family:var(--display-serif);
  font-size:17px;
  font-weight:500;
}
.result-mode-card p{
  color:var(--muted);
  font-size:11.5px;
  line-height:1.42;
  margin:7px 0 25px;
}
.result-mode-card .mode-small-action{
  position:absolute;
  right:10px;bottom:10px;
  width:30px;height:30px;
  display:grid;place-items:center;
  border:none;border-radius:50%;
  background:#f1efe9;
  cursor:pointer;
}
.result-mode-card.saved{
  border-color:rgba(47,129,124,.2);
}
.result-mode-card .mode-small-status{
  position:absolute;
  right:10px;top:10px;
  padding:4px 7px;
  border-radius:999px;
  background:#edf3f0;
  color:#527069;
  font-size:9.5px;
}
.result-stack-polished{margin-top:14px}
.result-bottom-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
}
.local-reassurance{color:#6d7b76;font-size:11.5px}
@media(max-width:980px){
  .main{padding:48px 34px 70px}
  .landing-hero,.result-hero-polished{grid-template-columns:1fr}
  .hero-visual-polished,.result-orbit{display:none}
  .how-section{grid-template-columns:1fr}
  .how-steps{grid-template-columns:1fr}
  .how-connector{display:none}
  .result-workspace{grid-template-columns:1fr}
  .result-modes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .shell{width:min(100% - 12px,1240px);margin:6px auto 20px}
  .topbar{border-radius:18px 18px 0 0;padding:0 14px}
  .frame{border-radius:0 0 18px 18px}
  .main{padding:34px 18px 62px}
  .top-nav .nav-link,.top-nav .status{display:none}
  .library-link{font-size:12px}
  .benefit-row{gap:10px}
  .benefit{font-size:11.5px}
  .privacy-line{justify-content:flex-start}
  .result-modes-grid{grid-template-columns:1fr}
  .result-mode-heading,.result-bottom-actions{align-items:flex-start;flex-direction:column}
}


/* --- PTC Composer 0.4: editorial variants --- */
.prompt-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.mini-redraft{
  border:1px solid rgba(47,129,124,.22);
  border-radius:999px;
  background:var(--accent-soft);
  padding:9px 13px;
  color:var(--accent-strong);
  font-weight:750;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.mini-redraft:hover{
  transform:translateY(-1px);
  background:#dcece8;
  border-color:rgba(47,129,124,.34);
}
.mini-redraft:disabled{
  cursor:default;
  opacity:.48;
  transform:none;
}
.redaction-meta{
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:7px;
  font-size:10.5px;
  color:#74817c;
}
.redaction-meta #redactionLabel{
  color:var(--accent-strong);
  font-weight:750;
}
.redaction-lock{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.redaction-lock:before{
  content:"";
  width:5px;height:5px;border-radius:50%;
  background:#67a58a;
}
.redaction-flash{
  animation:redactionFlash .32s ease-out;
}
@keyframes redactionFlash{
  from{opacity:.35;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:700px){
  .prompt-head{align-items:flex-start;flex-direction:column}
  .prompt-head-actions{justify-content:flex-start}
}


/* =========================================================
   Tunoa 1.2 — Adaptive UX
   ========================================================= */
.adaptive-question-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:11px;
  padding:7px 10px;
  border:1px solid rgba(47,129,124,.18);
  border-radius:999px;
  background:rgba(231,241,238,.68);
  color:#426d66;
  font-size:11px;
  font-weight:750;
  letter-spacing:.02em;
}
.adaptive-question-badge:before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(47,129,124,.08);
}
.question-copy .adaptive-question-badge + .eyebrow{margin-top:3px}
.question-copy .reaction{
  max-width:720px;
  border:1px solid rgba(47,129,124,.08);
}
.question-copy .reaction:before{
  content:"PTC";
  display:inline-block;
  margin-right:8px;
  color:var(--accent-strong);
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}

.profile-logic-section{
  margin-top:28px;
  padding:24px;
  border:1px solid rgba(218,215,208,.82);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,253,249,.96),rgba(244,248,246,.82));
  box-shadow:0 12px 30px rgba(24,36,33,.035);
}
.profile-logic-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.profile-logic-head h3{
  margin:4px 0 0;
  font-family:var(--display-serif);
  font-size:28px;
  font-weight:500;
}
.profile-logic-head p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:12.5px;
}
.logic-badge,.simulator-local-badge{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:#4f6e67;
  font-size:10.5px;
  font-weight:750;
}
.profile-logic-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.logic-card{
  padding:15px;
  border:1px solid rgba(218,215,208,.78);
  border-radius:17px;
  background:rgba(255,253,249,.83);
}
.logic-card-head{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:10px;
}
.logic-card-head strong{
  font-family:var(--display-serif);
  font-size:17px;
  font-weight:500;
}
.logic-icon{
  width:29px;height:29px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:11px;
  font-weight:800;
}
.logic-list{display:grid;gap:8px}
.logic-row{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  align-items:start;
  padding:9px;
  border-radius:12px;
  background:#f7f7f3;
}
.logic-rank{
  width:25px;height:25px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff;
  color:#527069;
  font-size:10.5px;
  font-weight:800;
  border:1px solid #e0e4e1;
}
.logic-copy strong{
  display:block;
  color:#37463f;
  font-size:12.5px;
  line-height:1.42;
}
.logic-copy small{
  display:block;
  margin-top:3px;
  color:#7a8581;
  font-size:10.8px;
  line-height:1.38;
}
.logic-empty{
  padding:12px;
  border-radius:12px;
  background:#f7f7f3;
  color:#727e79;
  font-size:12px;
  line-height:1.45;
}

.why-structured-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:15px;
}
.why-structured-card{
  padding:14px;
  border:1px solid rgba(218,215,208,.82);
  border-radius:16px;
  background:rgba(255,253,249,.85);
}
.why-structured-kicker{
  display:block;
  margin-bottom:10px;
  color:#63756f;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.why-mini-list{display:grid;gap:8px}
.why-mini-row{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:8px;
  align-items:start;
}
.why-mini-row>span{
  width:22px;height:22px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:9px;
  font-weight:800;
}
.why-mini-row strong{
  display:block;
  font-size:12px;
  line-height:1.38;
  color:#43514c;
}
.why-mini-row small{
  display:block;
  margin-top:2px;
  font-size:10.5px;
  line-height:1.38;
  color:#7b8581;
}
.why-mini-empty{
  color:#7b8581;
  font-size:11.5px;
  line-height:1.45;
}
.compact-rationale{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(221,216,207,.72);
}

.simulator-fold{
  scroll-margin-top:22px;
}
.simulator-tabs{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:15px 0 12px;
}
.sim-tab{
  border:1px solid var(--line);
  border-radius:999px;
  background:#fffdfa;
  padding:8px 11px;
  color:#5f6c67;
  font-size:11.5px;
  font-weight:720;
  cursor:pointer;
}
.sim-tab.active{
  border-color:#9fb4ae;
  background:var(--accent-soft);
  color:#426760;
}
.simulator-grid{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
  gap:12px;
}
.simulator-prompt-card,
.simulator-response-card{
  padding:17px;
  border:1px solid rgba(218,215,208,.82);
  border-radius:17px;
}
.simulator-prompt-card{
  background:#f4f1eb;
}
.simulator-response-card{
  background:linear-gradient(145deg,#fffdfa,#f3f8f6);
  border-color:rgba(47,129,124,.14);
}
.simulator-label{
  display:block;
  color:#74817c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.simulator-prompt-card p{
  margin:14px 0 0;
  font-family:var(--display-serif);
  font-size:20px;
  line-height:1.4;
  color:#394640;
}
.simulator-response-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.simulator-signals{
  display:flex;
  justify-content:flex-end;
  gap:5px;
  flex-wrap:wrap;
}
.sim-signal{
  padding:4px 7px;
  border-radius:999px;
  background:#edf3f0;
  color:#567069;
  font-size:9.5px;
  font-weight:750;
}
.simulator-response{
  margin-top:14px;
  color:#43514c;
  font-size:14px;
  line-height:1.68;
}
.simulator-note{
  margin:10px 2px 0;
  color:#7a8581;
  font-size:10.8px;
  line-height:1.45;
}
@media(max-width:800px){
  .profile-logic-head{align-items:flex-start;flex-direction:column}
  .profile-logic-grid,.why-structured-grid,.simulator-grid{grid-template-columns:1fr}
  .simulator-response-head{flex-direction:column}
  .simulator-signals{justify-content:flex-start}
}


/* =========================================================
   Tunoa 1.3 — Site Polish
   ========================================================= */
.topbar{
  position:sticky;
  top:12px;
  z-index:50;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  background:rgba(255,253,249,.82);
  border:1px solid rgba(221,216,207,.72);
  box-shadow:0 10px 30px rgba(31,43,39,.045);
}
.library-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.library-link .library-label{
  font-size:12px;
  font-weight:700;
  color:inherit;
}
.library-link .library-count{
  display:inline-grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 5px;
  margin-left:0;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:11px;
  font-weight:800;
}
.library-link:before{content:none!important}

.welcome-copy .eyebrow{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border:1px solid rgba(47,129,124,.12);
  border-radius:999px;
  background:rgba(230,241,238,.54);
}
.hero-lead{max-width:720px}
.benefit-row{
  row-gap:10px;
}
.benefit{
  padding:7px 10px 7px 7px;
  border:1px solid rgba(221,216,207,.72);
  border-radius:999px;
  background:rgba(255,253,249,.65);
}
.benefit b{
  width:26px;
  height:26px;
  font-size:12px;
}
.mode-rich{
  border-color:rgba(218,213,204,.88);
}
.mode-rich:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(31,43,39,.07);
}
.mode-rich .mode-copy>span{
  min-height:63px;
}
.privacy-line{
  border-color:rgba(47,129,124,.12);
  background:linear-gradient(90deg,rgba(230,241,238,.62),rgba(255,253,249,.66));
}

.how-section-v13{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(218,213,204,.82);
  background:
    radial-gradient(circle at 86% 5%,rgba(47,129,124,.07),transparent 25%),
    rgba(255,253,249,.78);
}
.how-section-v13:before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-78px;
  top:-92px;
  border:1px solid rgba(47,129,124,.13);
  border-radius:50%;
  box-shadow:
    0 0 0 32px rgba(47,129,124,.025),
    0 0 0 64px rgba(47,129,124,.018);
  pointer-events:none;
}
.how-intro-v13{
  position:relative;
  z-index:1;
}
.how-intro-v13 h2{
  max-width:720px;
}
.how-intro-v13>div:first-child>p{
  max-width:780px;
  font-size:16px;
  line-height:1.65;
}
.how-proof-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:16px 0 3px;
}
.how-proof-row span{
  padding:6px 9px;
  border:1px solid rgba(47,129,124,.12);
  border-radius:999px;
  background:#f2f7f5;
  color:#58716a;
  font-size:10.5px;
  font-weight:750;
}
.how-link-v13{
  margin-top:13px;
}
.how-panel-v13{
  margin-top:15px;
  padding:0;
  border:none;
  background:transparent;
}
.how-panel-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.how-detail-card{
  min-height:158px;
  padding:17px;
  border:1px solid rgba(218,213,204,.82);
  border-radius:16px;
  background:rgba(255,253,249,.86);
  box-shadow:0 8px 24px rgba(31,43,39,.025);
}
.how-detail-icon{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:13px;
  font-weight:800;
}
.how-detail-card strong{
  display:block;
  margin-bottom:6px;
  font-family:var(--display-serif);
  color:#33453f;
  font-size:16px;
  font-weight:500;
}
.how-detail-card p{
  margin:0;
  color:#69756f;
  font-size:12.5px;
  line-height:1.55;
}
.privacy-detail-card{
  border-color:rgba(47,129,124,.20);
}
.privacy-pulse{
  animation:privacyPulse 1.15s ease;
}
@keyframes privacyPulse{
  0%,100%{box-shadow:0 8px 24px rgba(31,43,39,.025)}
  45%{box-shadow:0 0 0 5px rgba(47,129,124,.08),0 14px 34px rgba(47,129,124,.10)}
}
.how-engine-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:10px;
  padding:13px 14px;
  border-radius:14px;
  background:#eef4f1;
  color:#566c65;
  font-size:12px;
  line-height:1.5;
}
.how-engine-note strong{
  flex:0 0 auto;
  color:#355e56;
}
.how-steps-v13 .how-step{
  min-height:150px;
}
.how-steps-v13 .how-step p{
  line-height:1.5;
}

.landing-footer{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin:18px 2px -4px;
  padding-top:16px;
  border-top:1px solid rgba(221,216,207,.64);
  color:#8a918d;
  font-size:10.5px;
  letter-spacing:.01em;
}
.landing-footer strong{
  color:#64736e;
}

.prompt-panel{
  box-shadow:0 16px 45px rgba(31,43,39,.045);
}
.prompt-head{
  border-bottom-color:rgba(218,213,204,.72);
}
.output-polished{
  line-height:1.63;
}
.result-action-panel{
  position:sticky;
  top:94px;
  align-self:start;
}
.profile-logic-section{
  box-shadow:0 14px 34px rgba(31,43,39,.04);
}
.logic-card,.why-structured-card,.simulator-prompt-card,.simulator-response-card{
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.logic-card:hover,.why-structured-card:hover{
  border-color:rgba(47,129,124,.18);
}

@media(max-width:860px){
  .topbar{
    top:6px;
  }
  .top-actions{
    gap:4px;
  }
  .status{
    display:none;
  }
  .nav-link{
    padding:8px 7px;
  }
  .how-panel-grid{
    grid-template-columns:1fr;
  }
  .how-detail-card{
    min-height:0;
  }
  .result-action-panel{
    position:static;
  }
}
@media(max-width:720px){
  .library-link{
    padding:7px 9px;
    font-size:12px;
  }
  .library-link .library-label{
    font-size:12px;
  }
  .library-link .library-count{
    font-size:10px;
  }
  .topbar{
    align-items:center;
  }
  .brand-tag{
    display:none;
  }
  .top-nav .nav-link:nth-child(2){
    display:none;
  }
  .landing-footer{
    flex-direction:column;
    gap:4px;
  }
}
@media(max-width:520px){
  .top-nav .nav-link:first-child{
    display:none;
  }
  .library-link .library-label{
    font-size:0;
  }
  .library-link .library-label:after{
    content:"Tryby";
    font-size:11px;
  }
  .mode-rich .mode-copy>span{
    min-height:0;
  }
}


/* =========================================================
   Tunoa 1.4 — Provider Setup
   ========================================================= */
.provider-setup-action{
  border-color:rgba(47,129,124,.22);
  background:linear-gradient(90deg,#f7fbf9,#fff);
}
.provider-setup-action span{
  color:var(--accent-strong);
}
.provider-setup-fold{
  scroll-margin-top:24px;
}
.provider-fold-head{
  align-items:flex-start;
}
.provider-verified{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid rgba(47,129,124,.12);
  border-radius:999px;
  background:#f1f6f4;
  color:#61756f;
  font-size:10px;
  font-weight:750;
}
.provider-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:16px 0 12px;
}
.provider-card{
  min-height:104px;
  padding:13px;
  border:1px solid rgba(218,213,204,.85);
  border-radius:16px;
  background:#fffdfa;
  color:#3f4d48;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.provider-card:hover{
  transform:translateY(-2px);
  border-color:rgba(47,129,124,.22);
  box-shadow:0 10px 24px rgba(31,43,39,.04);
}
.provider-card.active{
  border-color:rgba(47,129,124,.38);
  background:linear-gradient(145deg,#f0f7f4,#fffdfa);
  box-shadow:0 0 0 2px rgba(47,129,124,.05);
}
.provider-mark{
  width:30px;height:30px;
  display:grid;place-items:center;
  margin-bottom:10px;
  border-radius:50%;
  background:#edf3f0;
  color:#426b63;
  font-family:var(--display-serif);
  font-size:15px;
  font-weight:600;
}
.provider-card strong{
  display:block;
  font-family:var(--display-serif);
  font-size:16px;
  font-weight:500;
}
.provider-card small{
  display:block;
  margin-top:4px;
  color:#818986;
  font-size:10px;
  line-height:1.35;
}
.provider-config-panel{
  padding:16px;
  border:1px solid rgba(218,213,204,.82);
  border-radius:18px;
  background:rgba(255,253,249,.76);
}
.provider-config-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.provider-config-label{
  display:block;
  margin-bottom:7px;
  color:#6f7c77;
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.provider-surface-tabs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.provider-surface-tab{
  padding:8px 11px;
  border:1px solid #d9dedb;
  border-radius:999px;
  background:#fff;
  color:#66736e;
  font-size:11px;
  font-weight:720;
  cursor:pointer;
}
.provider-surface-tab.active{
  border-color:#9db5ae;
  background:var(--accent-soft);
  color:#42665f;
}
.provider-select{
  max-width:270px;
  padding:9px 10px;
  border:1px solid #d8ddd9;
  border-radius:11px;
  background:#fff;
  color:#46534e;
  font:inherit;
  font-size:11.5px;
}
.provider-compatibility{
  margin:13px 0;
  padding:10px 12px;
  border-radius:12px;
  font-size:11.5px;
  line-height:1.45;
}
.provider-compatibility.ok{
  background:#eef5f1;
  color:#4b685f;
}
.provider-compatibility.info{
  background:#edf3f5;
  color:#50666f;
}
.provider-compatibility.warn{
  background:#f7f2e7;
  color:#786746;
}
.provider-compatibility.limited{
  background:#f6eeee;
  color:#775c5c;
}
.provider-output-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:11px;
}
.provider-export-card,
.provider-guide-card{
  padding:14px;
  border:1px solid rgba(218,213,204,.82);
  border-radius:15px;
  background:#fff;
}
.provider-export-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.provider-export-head strong{
  display:block;
  font-family:var(--display-serif);
  color:#364842;
  font-size:17px;
  font-weight:500;
}
.provider-export-meta{
  display:flex;
  gap:5px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.provider-export-meta span{
  padding:4px 7px;
  border-radius:999px;
  background:#f1f5f3;
  color:#65756f;
  font-size:9.5px;
  font-weight:700;
}
.provider-output{
  width:100%;
  min-height:255px;
  margin-top:12px;
  padding:14px;
  resize:vertical;
  border:1px solid #dfe2df;
  border-radius:12px;
  background:#fafaf7;
  color:#33423d;
  font:12px/1.6 var(--ui-font);
}
.provider-output:disabled{
  color:#857979;
  background:#f7f2f2;
}
.provider-export-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:9px;
}
.provider-copy-btn{
  margin:0;
  white-space:nowrap;
}
.provider-copy-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.provider-compression-note{
  color:#7d8783;
  font-size:10.5px;
  line-height:1.4;
}
.provider-guide-card h4{
  margin:3px 0 10px;
  font-family:var(--display-serif);
  color:#374841;
  font-size:19px;
  font-weight:500;
}
.provider-guide-steps{
  display:grid;
  gap:9px;
  margin:0;
  padding-left:22px;
  color:#4b5954;
}
.provider-guide-steps li{
  padding-left:3px;
  font-size:12px;
  line-height:1.48;
}
.provider-guide-note{
  margin-top:12px;
  padding:10px;
  border-radius:11px;
  background:#f2f5f3;
  color:#697671;
  font-size:10.7px;
  line-height:1.45;
}
.provider-source-note{
  display:flex;
  gap:8px;
  margin-top:10px;
  padding:0 2px;
  color:#8a918e;
}
.provider-source-note span{
  flex:0 0 auto;
  color:#6c7c76;
}
.provider-source-note p{
  margin:0;
  font-size:10.3px;
  line-height:1.45;
}
@media(max-width:850px){
  .provider-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .provider-output-grid{
    grid-template-columns:1fr;
  }
  .provider-config-top{
    align-items:flex-start;
    flex-direction:column;
  }
  .provider-plan-wrap{
    width:100%;
  }
  .provider-select{
    width:100%;
    max-width:none;
  }
}
@media(max-width:540px){
  .provider-cards{
    grid-template-columns:1fr 1fr;
  }
  .provider-export-head{
    flex-direction:column;
  }
  .provider-export-meta{
    justify-content:flex-start;
  }
  .provider-export-actions{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* =========================================================
   Tunoa 1.5 — Semantic Export Studio
   ========================================================= */
.export-version-panel{
  margin:13px 0;
  padding:13px;
  border:1px solid rgba(218,213,204,.82);
  border-radius:15px;
  background:linear-gradient(145deg,#fbfcfa,#f5f8f6);
}
.export-version-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.export-version-head strong{
  display:block;
  font-family:var(--display-serif);
  color:#3c4c46;
  font-size:17px;
  font-weight:500;
}
.export-version-hint{
  color:#82908a;
  font-size:10.5px;
}
.export-version-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.export-version-tab{
  position:relative;
  min-height:78px;
  padding:12px;
  border:1px solid #dce1dd;
  border-radius:13px;
  background:#fff;
  color:#495852;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.export-version-tab:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:rgba(47,129,124,.24);
}
.export-version-tab.active{
  border-color:rgba(47,129,124,.42);
  background:#eff6f3;
  box-shadow:0 0 0 2px rgba(47,129,124,.045);
}
.export-version-tab.unavailable,
.export-version-tab:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.export-version-tab strong{
  display:block;
  margin-bottom:4px;
  font-size:12.5px;
}
.export-version-tab small{
  display:block;
  color:#7f8a86;
  font-size:10px;
  line-height:1.3;
}
.recommended-pill{
  position:absolute;
  right:8px;
  top:7px;
  padding:3px 6px;
  border-radius:999px;
  background:#dfeee8;
  color:#4c7066;
  font-size:8px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.export-mode-status{
  margin-top:9px;
  color:#687771;
  font-size:10.7px;
  line-height:1.45;
}
.semantic-saturation-note{
  margin-top:9px;
  padding:9px 10px;
  border-radius:10px;
  background:#f3f6f4;
  color:#74817c;
  font-size:10.3px;
  line-height:1.45;
}
.semantic-saturation-note strong{
  color:#5b6e67;
}
#providerSRS{
  background:#eaf3ef;
  color:#4e6f65;
}
@media(max-width:640px){
  .export-version-tabs{
    grid-template-columns:1fr;
  }
  .export-version-tab{
    min-height:0;
  }
  .export-version-head{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* =========================================================
   Tunoa 1.6 — Focused IA
   Etap 1: mniej szumu, wyraźniejsza hierarchia.
   ========================================================= */

.topbar{
  padding:8px 6px 14px;
  background:rgba(255,253,249,.90);
  box-shadow:none;
  border-color:rgba(221,216,207,.55);
}
.brand-tag{
  color:#8a918e;
}
.top-nav{
  gap:6px;
}
.top-nav .nav-link{
  color:#6f7773;
}
.library-link{
  background:#f6f7f4;
  border-color:#e3e4df;
}

.landing-hero{
  min-height:360px;
  align-items:center;
}
.welcome-copy{
  max-width:760px;
}
.welcome-copy .eyebrow{
  border:none;
  padding:0;
  background:transparent;
}
.welcome-copy h1{
  max-width:700px;
  margin-top:14px;
}
.hero-lead{
  max-width:650px;
  font-size:19px;
}
.hero-visual-polished{
  opacity:.78;
}
.hero-words{
  opacity:.46;
}
.hero-whisper{
  color:#6f7b76;
}

.benefit-row{
  margin-top:24px;
  gap:8px;
}
.benefit{
  border:none;
  background:#f4f6f3;
  padding:6px 10px 6px 6px;
}
.benefit b{
  background:#fff;
}

.landing-choice-block{
  margin-top:26px;
}
.landing-modes-primary{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:0;
}
.landing-modes-primary .mode-rich{
  min-height:180px;
}
.mode-primary-choice{
  border-color:rgba(47,129,124,.25);
  background:linear-gradient(145deg,#f6faf8,#fffdfa);
}
.mode-rich .mode-copy>span{
  min-height:46px;
}
.instant-link{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:10px;
  align-items:center;
  margin-top:9px;
  padding:12px 14px;
  border:0;
  border-radius:14px;
  background:transparent;
  color:#67726d;
  text-align:left;
  cursor:pointer;
}
.instant-link:hover{
  background:#f5f6f3;
}
.instant-link strong{
  color:#4d5954;
}
.instant-dot{
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#eef4f1;
  color:#4b7167;
}
.instant-link b{
  color:#6f7d77;
}

.privacy-line{
  margin-top:12px;
  padding:10px 12px;
  border:0;
  background:transparent;
  color:#7b8581;
}
.privacy-lock{
  background:#f1f4f2;
}

.how-section-v16{
  margin-top:44px;
  padding:30px;
  border:1px solid rgba(221,216,207,.62);
  border-radius:22px;
  background:#fbfaf7;
  box-shadow:none;
}
.how-simple-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:24px;
}
.how-simple-head h2{
  max-width:640px;
  margin-bottom:0;
}
.how-simple-head>p{
  max-width:330px;
  margin:0 0 4px;
  color:#7d8581;
  font-size:13px;
  line-height:1.5;
}
.how-steps-v16{
  margin-top:0;
}
.how-steps-v16 .how-step{
  min-height:128px;
  background:#fff;
}
.how-steps-v16 .how-step p{
  color:#7a8580;
}
.how-more-row{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:12px;
}
.how-link-v16{
  padding:7px 9px;
  font-size:11px;
}
.how-panel-v16{
  margin-top:12px;
}
.how-panel-grid-v16 .how-detail-card{
  min-height:132px;
}
.how-engine-note{
  background:#f3f5f3;
}
.landing-quote{
  margin-top:34px;
  opacity:.74;
}
.footer-tech-link{
  padding:0;
  border:0;
  background:transparent;
  color:#929995;
  font:inherit;
  cursor:pointer;
}
.footer-tech-link:hover{
  color:#68736e;
}

.adaptive-question-badge{
  background:#f4f6f4;
  border-color:#e4e8e5;
  color:#70807a;
}
.adaptive-question-badge:before{
  background:#78958d;
  box-shadow:none;
}

.result-hero-polished{
  min-height:300px;
}
.result-copy{
  max-width:720px;
}
.result-copy h2{
  max-width:620px;
}
.result-chips-hero .chip:nth-child(n+4){
  display:none;
}
.result-orbit{
  opacity:.72;
}
.result-quote{
  color:#6d7773;
}

.result-workspace{
  gap:16px;
  align-items:start;
}
.prompt-panel{
  border-color:rgba(218,213,204,.72);
  box-shadow:none;
}
.output-tabs{
  opacity:.80;
}
.result-action-panel-v16{
  display:grid;
  gap:9px;
}
.result-next-kicker{
  display:block;
  margin:0 0 7px 2px;
  color:#86908c;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-primary-action{
  border-color:rgba(47,129,124,.26);
  background:linear-gradient(145deg,#edf6f2,#fff);
}
.result-secondary-action{
  width:100%;
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  align-items:start;
  padding:12px;
  border:1px solid #e2e4e0;
  border-radius:14px;
  background:#fff;
  color:#4d5954;
  text-align:left;
  cursor:pointer;
}
.result-secondary-action>span:first-child{
  width:26px;height:26px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f1f4f2;
  color:#60736d;
}
.result-secondary-action strong,
.result-secondary-action small{
  display:block;
}
.result-secondary-action strong{
  font-size:12px;
}
.result-secondary-action small{
  margin-top:3px;
  color:#848d89;
  font-size:10px;
  line-height:1.35;
}
.result-quiet-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.quiet-action{
  padding:9px 8px;
  border:0;
  border-radius:11px;
  background:#f5f6f3;
  color:#707b76;
  font-size:10.5px;
  font-weight:700;
  cursor:pointer;
}
.quiet-action:hover{
  background:#eef2ef;
  color:#53655f;
}

.profile-logic-section{
  margin-top:18px;
}
.result-stack-polished{
  margin-top:16px;
}
.more-tools-fold{
  background:#fbfaf8;
}
.more-tools-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.more-tool-card{
  display:grid;
  grid-template-columns:30px 1fr auto;
  gap:9px;
  align-items:start;
  padding:13px;
  border:1px solid #e0e2de;
  border-radius:14px;
  background:#fff;
  color:#4b5853;
  text-align:left;
  cursor:pointer;
}
.more-tool-card>span{
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f0f4f2;
  color:#5d766e;
}
.more-tool-card strong,.more-tool-card small{
  display:block;
}
.more-tool-card strong{
  font-size:11.5px;
}
.more-tool-card small{
  margin-top:3px;
  color:#848d89;
  font-size:9.8px;
  line-height:1.35;
}
.more-tool-card b{
  color:#82908a;
}

.provider-setup-fold{
  border-color:rgba(47,129,124,.12);
}
.provider-fold-head .eyebrow{
  color:#6d817a;
}
.provider-cards{
  margin-top:14px;
}
.provider-card{
  min-height:92px;
}
.provider-config-panel{
  margin-top:8px;
  background:#fcfbf8;
}
.export-version-panel{
  background:#f7f8f5;
}
.export-version-hint{
  display:none;
}
.provider-export-meta{
  opacity:.8;
}
.export-details-toggle{
  margin-top:9px;
  padding:0;
  border:0;
  background:transparent;
  color:#75827d;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.semantic-saturation-note{
  background:#f4f5f2;
}

@media(max-width:900px){
  .how-simple-head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .how-simple-head>p{
    max-width:560px;
  }
  .more-tools-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .landing-modes-primary{
    grid-template-columns:1fr;
  }
  .landing-modes-primary .mode-rich{
    min-height:0;
  }
  .how-section-v16{
    padding:20px;
  }
  .result-quiet-actions{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .top-nav .nav-link{
    display:none;
  }
  .brand-tag{
    display:none;
  }
  .landing-hero{
    min-height:0;
  }
  .benefit-row{
    display:grid;
    grid-template-columns:1fr;
  }
  .instant-link{
    grid-template-columns:auto 1fr;
  }
  .instant-link b{
    display:none;
  }
  .how-more-row{
    justify-content:flex-start;
  }
}


/* =========================================================
   Tunoa 1.7 — Visual System
   Modern calm-tech: less decoration, stronger rhythm.
   ========================================================= */

:root{
  --bg:#f5f3ee;
  --surface:#fffdf9;
  --surface-subtle:#f7f5f0;
  --surface-muted:#efede7;
  --ink:#17201d;
  --ink-soft:#45504c;
  --muted:#737c77;
  --line:#dedbd4;
  --line-strong:#cbc8c0;
  --accent:#3d746d;
  --accent-strong:#2e5e58;
  --accent-soft:#e8f1ee;
  --accent-faint:#f3f7f5;
  --shadow-soft:0 18px 50px rgba(25,32,29,.055);
  --shadow-card:0 8px 24px rgba(25,32,29,.035);
  --radius-xl:26px;
  --radius-lg:18px;
  --radius-md:13px;

  --font-display:"Segoe UI Variable Display","SF Pro Display","Aptos Display","Segoe UI",sans-serif;
  --font-text:"Segoe UI Variable Text","SF Pro Text","Aptos","Segoe UI",system-ui,sans-serif;
  --display-serif:var(--font-display);
  --ui-font:var(--font-text);
}

body{
  font-family:var(--font-text);
  background:
    radial-gradient(circle at 84% -6%,rgba(61,116,109,.065),transparent 29%),
    radial-gradient(circle at 0% 0%,rgba(185,166,128,.045),transparent 22%),
    var(--bg);
  color:var(--ink);
}

.shell{
  width:min(1060px,calc(100% - 34px));
  padding:18px 0 56px;
}

.frame{
  border-radius:30px;
  border-color:rgba(222,219,212,.82);
  background:rgba(255,253,249,.95);
  box-shadow:var(--shadow-soft);
}
.frame:after{
  opacity:.22;
}

.main{
  padding:clamp(38px,5.6vw,70px);
}

/* Brand */
.topbar{
  position:relative;
  top:auto;
  min-height:58px;
  padding:4px 4px 14px;
  border:none;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.brand{
  gap:11px;
}
.brand-name{
  font-family:var(--font-display);
  font-size:18px;
  font-weight:680;
  letter-spacing:-.035em;
}
.brand-tag{
  margin-top:2px;
  color:#858d89;
  font-size:10.5px;
  font-weight:540;
}
.orbit-mark{
  width:36px;
  height:36px;
  overflow:visible;
  border:1px solid rgba(61,116,109,.50)!important;
  background:rgba(255,255,255,.5)!important;
}
.orbit-mark:before{
  width:42px;
  height:19px;
  border:1.15px solid rgba(61,116,109,.74);
  transform:rotate(-28deg);
}
.orbit-mark:after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  border:1px solid rgba(61,116,109,.22);
  border-radius:50%;
}
.orbit-mark .orbit-core{
  position:absolute;
  width:5px;
  height:5px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:var(--accent);
}
.orbit-mark .orbit-node{
  position:absolute;
  width:6px;
  height:6px;
  right:-2px;
  top:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 3px rgba(61,116,109,.09);
}

/* Remove old mark span styling from visual-lab lineage. */
.orbit-mark>span:not(.orbit-core):not(.orbit-node){display:none}

.nav-link,.library-link{
  min-height:38px;
  border-radius:11px;
}
.nav-link{
  padding:8px 10px;
  font-size:11.5px;
  font-weight:650;
}
.library-link{
  padding:8px 10px;
  border-color:rgba(222,219,212,.78);
  background:rgba(255,255,255,.46);
}
.library-link:hover,.nav-link:hover{
  background:#f4f4f0;
}

/* Typography */
.eyebrow{
  gap:7px;
  color:var(--accent);
  font-size:10.5px;
  font-weight:750;
  letter-spacing:.13em;
}
.eyebrow:before{
  width:12px;
  opacity:.42;
}

h1,h2,h3,.profile-summary,.mode strong,.btn,.tab{
  font-family:var(--font-display);
}
h1{
  max-width:680px;
  margin:16px 0 20px;
  font-size:clamp(48px,6.4vw,72px);
  line-height:.97;
  font-weight:620;
  letter-spacing:-.062em;
}
h2{
  font-size:clamp(29px,4vw,45px);
  line-height:1.02;
  font-weight:610;
  letter-spacing:-.05em;
}
h3{
  font-weight:630;
}
.lead{
  color:var(--ink-soft);
  font-size:18px;
  line-height:1.62;
  letter-spacing:-.013em;
}
.subtle{
  color:var(--muted);
}

/* Landing */
.landing-hero{
  min-height:350px;
  grid-template-columns:minmax(0,1.45fr) minmax(245px,.55fr);
  gap:42px;
}
.hero-lead{
  max-width:620px;
}
.benefit-row{
  margin-top:27px;
}
.benefit{
  min-height:38px;
  padding:6px 10px 6px 6px;
  border:1px solid rgba(222,219,212,.56);
  background:rgba(255,255,255,.54);
  color:#616b66;
}
.benefit b{
  background:var(--accent-faint);
  color:var(--accent);
}
.hero-visual-polished{
  transform:scale(.94);
  opacity:.72;
}
.tuning-orbit-large{
  filter:saturate(.8);
}
.hero-words{
  color:#71807a;
  font-size:9px;
  letter-spacing:.17em;
  opacity:.46;
}
.hero-whisper{
  color:#77837e;
  font-size:11px;
  line-height:1.5;
}

.landing-choice-block{
  margin-top:30px;
}
.landing-modes-primary{
  gap:14px;
}
.landing-modes-primary .mode-rich{
  min-height:168px;
  padding:21px;
  border-color:rgba(222,219,212,.86);
  background:rgba(255,255,255,.56);
  box-shadow:none;
}
.landing-modes-primary .mode-rich:hover{
  transform:translateY(-2px);
  border-color:rgba(61,116,109,.26);
  background:#fff;
  box-shadow:var(--shadow-card);
}
.mode-primary-choice{
  background:linear-gradient(145deg,var(--accent-faint),rgba(255,255,255,.70))!important;
  border-color:rgba(61,116,109,.24)!important;
}
.mode-icon{
  background:#f1f5f3!important;
  color:var(--accent)!important;
}
.mode-copy strong{
  color:#25312d;
  font-size:17px;
  font-weight:650;
}
.mode-copy>span{
  color:#747e79;
  font-size:12.5px;
  line-height:1.55;
}
.mode-foot{
  color:#89918d!important;
}
.mode-arrow{
  color:var(--accent)!important;
}
.instant-link{
  margin-top:8px;
  border:1px solid transparent;
}
.instant-link:hover{
  border-color:rgba(222,219,212,.62);
  background:rgba(255,255,255,.44);
}
.privacy-line{
  margin-top:7px;
  padding-left:5px;
}

/* How */
.how-section-v16{
  margin-top:48px;
  padding:30px 31px;
  border-radius:22px;
  border-color:rgba(222,219,212,.66);
  background:var(--surface-subtle);
}
.how-simple-head{
  margin-bottom:25px;
}
.how-simple-head>p{
  color:#818985;
}
.how-steps-v16 .how-step{
  min-height:122px;
  padding:18px;
  border-color:rgba(222,219,212,.62);
  background:rgba(255,255,255,.65);
}
.how-step strong{
  font-size:13.5px;
}
.how-step p{
  margin-top:5px;
  font-size:11.5px;
}
.step-no{
  background:var(--accent-faint);
  color:var(--accent);
}
.how-more-row{
  margin-top:10px;
}
.how-link-v16{
  color:#707c77;
  font-weight:650;
}
.how-panel-v16{
  padding-top:3px;
}
.how-detail-card{
  box-shadow:none;
  background:rgba(255,255,255,.67);
}
.how-engine-note{
  background:#eef2f0;
}

/* Questionnaire */
.question-shell{
  max-width:720px;
}
.progress-wrap{
  margin-bottom:36px;
}
.progress-line{
  height:3px;
  background:#ebe9e4;
}
.progress-fill{
  background:var(--accent);
}
.question-lead{
  color:#65706b;
}
.option{
  min-height:58px;
  padding:15px 16px;
  border-radius:14px;
  border-color:rgba(222,219,212,.9);
  background:rgba(255,255,255,.56);
}
.option:hover{
  border-color:rgba(61,116,109,.28);
  background:#fff;
}
.option.selected{
  border-color:rgba(61,116,109,.42);
  background:var(--accent-faint);
  box-shadow:none;
}
.dot{
  border-color:#b6bcb8;
}
.btn{
  border-radius:11px;
  min-height:42px;
}
.btn-primary{
  background:#1d2925;
}
.btn-secondary{
  background:#efefeb;
}
.chip{
  background:#eef4f1;
  color:#547169;
}

/* Result */
.result-hero-polished{
  min-height:285px;
  border-bottom-color:rgba(222,219,212,.68);
}
.result-copy{
  max-width:690px;
}
.result-orbit{
  opacity:.58;
}
.result-quote{
  font-size:11px;
  color:#7e8883;
}
.result-workspace{
  margin-top:24px;
  gap:18px;
}
.prompt-panel{
  border-radius:18px;
  border-color:rgba(222,219,212,.76);
  background:rgba(255,255,255,.60);
}
.prompt-head{
  padding-bottom:12px;
}
.output{
  border-color:#e2e0da;
  background:#f8f7f3;
}
.result-action-panel-v16{
  gap:8px;
}
.result-primary-action,
.result-secondary-action{
  border-radius:14px;
  box-shadow:none;
}
.provider-primary-action{
  background:linear-gradient(145deg,#edf5f2,#fafcfb);
}
.quiet-action{
  color:#747e79;
  background:#f2f3f0;
}
.quiet-action:hover{
  background:#eaece8;
}

/* Provider Setup */
.provider-setup-fold{
  margin-top:6px;
  padding-top:22px;
}
.provider-verified{
  border:none;
  background:#f1f3f1;
  color:#858d89;
}
.provider-cards{
  gap:8px;
}
.provider-card{
  min-height:88px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.58);
}
.provider-card.active{
  background:var(--accent-faint);
  border-color:rgba(61,116,109,.34);
  box-shadow:none;
}
.provider-mark{
  background:#eef3f1;
  color:var(--accent);
}
.provider-config-panel{
  border-radius:16px;
  background:#faf9f5;
}
.provider-output-grid{
  gap:10px;
}
.provider-export-card,.provider-guide-card{
  border-radius:14px;
  background:rgba(255,255,255,.70);
}
.export-version-panel{
  border-radius:14px;
  background:#f5f6f3;
}
.export-version-tab{
  min-height:72px;
  border-radius:12px;
  background:rgba(255,255,255,.72);
}
.export-version-tab.active{
  background:#edf4f1;
  box-shadow:none;
}
.recommended-pill{
  background:#dfece7;
}

/* Footer */
.landing-footer{
  margin-top:28px;
  padding-top:14px;
  color:#909792;
}
.footer-tech-link{
  color:#929995;
}

/* Accessibility & interaction */
button,
.option,
.mode,
.provider-card,
.export-version-tab,
.tab{
  -webkit-tap-highlight-color:transparent;
}
button:focus-visible,
.option:focus-visible,
.mode:focus-visible,
.provider-card:focus-visible,
.export-version-tab:focus-visible,
.tab:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible{
  outline:3px solid rgba(61,116,109,.22);
  outline-offset:2px;
}
.textarea:focus,.output:focus,.provider-output:focus,.save-input:focus,.provider-select:focus{
  border-color:rgba(61,116,109,.40);
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
@media(max-width:820px){
  .landing-hero{
    grid-template-columns:1fr;
  }
  .hero-visual-polished{
    display:none;
  }
}
@media(max-width:720px){
  .shell{
    width:min(100% - 18px,1060px);
    padding-top:8px;
  }
  .frame{
    border-radius:22px;
  }
  .main{
    padding:28px 18px 38px;
  }
  h1{
    font-size:clamp(42px,13vw,56px);
  }
  .hero-lead{
    font-size:17px;
  }
  .benefit-row{
    gap:5px;
  }
  .how-section-v16{
    margin-top:36px;
    padding:21px 18px;
  }
}
@media(max-width:520px){
  .brand-name{font-size:17px}
  .orbit-mark{width:33px;height:33px}
  .orbit-mark:before{width:39px;height:17px}
  .benefit{
    min-height:34px;
  }
}


/* =========================================================
   Tunoa 1.8 — Guided Result Flow
   ========================================================= */

.compact-tabs{
  margin-top:10px;
}
.compact-tabs .tab{
  padding:7px 10px;
  border-radius:999px;
  font-size:10.5px;
}
.compact-tabs .tab[data-tab="json"]{
  color:#7d8581;
}

.provider-wizard{
  scroll-margin-top:16px;
}
.provider-wizard-progress{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:10px;
  margin:18px 0 22px;
  padding:10px 12px;
  border:1px solid rgba(222,219,212,.68);
  border-radius:14px;
  background:#f6f6f2;
}
.provider-wizard-progress>i{
  height:1px;
  background:#dcdfdc;
}
.provider-wizard-step{
  display:flex;
  align-items:center;
  gap:7px;
  padding:4px 0;
  border:0;
  background:transparent;
  color:#89918d;
  cursor:pointer;
}
.provider-wizard-step span{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border:1px solid #d6dad7;
  border-radius:50%;
  background:#fff;
  font-size:10px;
  font-weight:800;
}
.provider-wizard-step strong{
  font-size:10.5px;
  font-weight:700;
}
.provider-wizard-step.active{
  color:#3f5f57;
}
.provider-wizard-step.active span{
  border-color:rgba(61,116,109,.40);
  background:#e9f2ef;
  color:var(--accent);
}
.provider-wizard-step.done{
  color:#687873;
}
.provider-wizard-step.done span{
  border-color:transparent;
  background:#e4eeea;
  color:#456c62;
}
.provider-stage{
  animation:tunoaRise .22s var(--ease) both;
}
.provider-stage-head{
  display:flex;
  gap:13px;
  align-items:flex-start;
  margin-bottom:13px;
}
.provider-stage-number{
  flex:0 0 auto;
  color:#a0a6a2;
  font-family:var(--font-display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.provider-stage-head strong,
.provider-stage-head small{
  display:block;
}
.provider-stage-head strong{
  color:#35423d;
  font-family:var(--font-display);
  font-size:15px;
  font-weight:620;
}
.provider-stage-head small{
  margin-top:3px;
  color:#828b87;
  font-size:10.5px;
  line-height:1.4;
}

.provider-stage-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:13px;
}
.provider-stage-help{
  color:#8a928e;
  font-size:10.5px;
}
.provider-stage-actions-final{
  justify-content:flex-start;
}

.provider-stage .provider-cards{
  margin:0;
}
.provider-stage .provider-card{
  min-height:92px;
}
.provider-stage .provider-card small{
  margin-top:3px;
}
.provider-config-panel-v18{
  margin-top:0;
  padding:14px;
}
.provider-config-panel-v18 .provider-compatibility{
  margin-bottom:11px;
}
.provider-stage #exportVersionTabs{
  margin-top:2px;
}
.provider-stage .export-version-panel{
  margin-bottom:0;
}
.provider-stage .provider-output-grid{
  margin-top:0;
}
.provider-stage .provider-export-card,
.provider-stage .provider-guide-card{
  min-height:100%;
}
.provider-stage .provider-source-note{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(222,219,212,.55);
}

/* Result: keep one primary path visible */
.prompt-head-actions .mini-copy{
  display:none;
}
.result-secondary-action{
  display:none;
}
.result-next-step{
  margin-bottom:0;
}
.result-primary-action{
  min-height:92px;
}
.result-quiet-actions{
  margin-top:2px;
}

/* Make technical profile tab visibly secondary */
.tab[data-tab="json"]{
  opacity:.76;
}

/* Mobile wizard */
@media(max-width:720px){
  .provider-wizard-progress{
    grid-template-columns:auto 1fr auto 1fr auto;
    gap:5px;
    padding:9px;
  }
  .provider-wizard-step{
    gap:0;
  }
  .provider-wizard-step strong{
    display:none;
  }
  .provider-wizard-progress>i{
    min-width:12px;
  }
  .provider-stage-actions{
    align-items:stretch;
  }
  .provider-stage-actions .btn{
    flex:1;
  }
}
@media(max-width:520px){
  .provider-stage .provider-cards{
    grid-template-columns:1fr 1fr;
  }
  .provider-stage-actions{
    flex-direction:column-reverse;
  }
  .provider-stage-actions .btn{
    width:100%;
  }
  .provider-stage-help{
    text-align:center;
  }
}


/* =========================================================
   Tunoa 1.9 — Preflight Polish
   ========================================================= */

/* More stable reading widths */
.prompt-panel,
.provider-setup-fold,
.profile-logic-section,
.more-tools-fold,
#whyFold,
#simulatorFold,
#guideFold{
  scroll-margin-top:20px;
}

.prompt-foot{
  gap:12px;
}
.prompt-foot>span{
  max-width:68%;
  line-height:1.4;
}

/* Keep secondary / technical content visually quiet */
.redaction-meta{
  gap:6px;
}
.redaction-meta span{
  font-size:9.5px;
}
.redaction-lock{
  color:#8a918d;
}
.export-details-toggle,
.footer-tech-link,
.how-link-v16{
  text-underline-offset:3px;
}

/* Accessibility: don't rely solely on color for selected states */
.option.selected:after{
  content:"Wybrane";
  margin-left:auto;
  color:var(--accent-strong);
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.provider-card.active:after{
  content:"✓";
  position:absolute;
  right:10px;
  top:9px;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
}
.provider-card{
  position:relative;
}
.export-version-tab.active:after{
  content:"✓";
  position:absolute;
  right:9px;
  bottom:8px;
  color:var(--accent);
  font-size:10px;
  font-weight:900;
}

/* Make click targets comfortably sized */
.text-link,
.how-link,
.footer-tech-link,
.export-details-toggle,
.quiet-action{
  min-height:36px;
}
.text-link,
.how-link,
.footer-tech-link,
.export-details-toggle{
  display:inline-flex;
  align-items:center;
}

/* Mobile: reduce density instead of shrinking text */
@media(max-width:720px){
  .topbar{
    min-height:50px;
  }
  .main{
    padding-left:17px;
    padding-right:17px;
  }
  .landing-choice-block{
    margin-top:24px;
  }
  .landing-modes-primary{
    gap:9px;
  }
  .landing-modes-primary .mode-rich{
    padding:18px;
  }
  .privacy-line{
    align-items:flex-start;
  }
  .how-simple-head{
    margin-bottom:18px;
  }
  .how-steps-v16{
    gap:7px;
  }
  .how-steps-v16 .how-step{
    min-height:0;
  }
  .result-hero-polished{
    min-height:0;
    padding-bottom:18px;
  }
  .result-orbit{
    display:none;
  }
  .result-workspace{
    margin-top:18px;
  }
  .prompt-panel{
    padding:14px;
  }
  .prompt-head{
    gap:9px;
  }
  .prompt-head-actions{
    width:100%;
  }
  .mini-redraft{
    width:100%;
    justify-content:center;
  }
  .output{
    min-height:250px;
    font-size:13px;
  }
  .prompt-foot{
    align-items:flex-start;
    flex-direction:column;
  }
  .prompt-foot>span{
    max-width:none;
  }
  .provider-fold-head{
    gap:9px;
  }
  .provider-verified{
    display:none;
  }
  .provider-wizard-progress{
    margin-top:13px;
    margin-bottom:18px;
  }
  .provider-config-panel-v18{
    padding:12px;
  }
  .provider-output{
    min-height:230px;
  }
  .provider-guide-card{
    padding-top:15px;
  }
}
@media(max-width:480px){
  .shell{
    width:calc(100% - 12px);
  }
  .frame{
    border-radius:18px;
  }
  .main{
    padding:25px 14px 34px;
  }
  h1{
    font-size:41px;
  }
  h2{
    font-size:30px;
  }
  .lead{
    font-size:16.5px;
  }
  .benefit-row{
    margin-top:20px;
  }
  .benefit{
    font-size:11px;
  }
  .instant-link{
    padding-left:8px;
    padding-right:8px;
  }
  .how-section-v16{
    padding:18px 14px;
  }
  .provider-stage .provider-cards{
    grid-template-columns:1fr;
  }
  .provider-card{
    min-height:70px;
  }
  .provider-mark{
    margin-bottom:7px;
  }
  .export-version-tabs{
    gap:6px;
  }
  .provider-output,
  .output{
    min-height:220px;
  }
}


/* =========================================================
   Tunoa 2.0 RC — Quiet Product
   Final visual consolidation.
   ========================================================= */

/* Hero: one visual metaphor, no decorative words. */
.hero-visual-polished{
  opacity:.68;
}
.hero-visual-polished .hero-words,
.hero-visual-polished .hero-whisper{
  display:none!important;
}

/* "How it works": clear three-column structure on desktop. */
.how-simple-head{
  display:block;
  margin-bottom:20px;
}
.how-simple-head>p{
  max-width:620px;
  margin:8px 0 0;
}
.how-steps-v16{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.how-steps-v16 .how-connector{
  display:none;
}
.how-steps-v16 .how-step{
  min-height:116px;
}
.how-more-row{
  justify-content:flex-start;
}

/* Result: no competing tabs. */
.output-tabs.compact-tabs{
  display:none!important;
}
.prompt-head{
  align-items:flex-start;
}
.prompt-head-actions{
  margin-left:auto;
}
.mini-redraft{
  min-height:36px;
  padding:7px 10px;
  background:#eef4f1;
  border-color:rgba(61,116,109,.18);
  color:#456b62;
  box-shadow:none;
}
.redaction-meta{
  margin-top:5px;
}

/* Fix contrast regression on the primary provider CTA. */
.provider-primary-action{
  color:#28423b!important;
  background:linear-gradient(145deg,#e8f2ee,#f7faf8)!important;
  border:1px solid rgba(61,116,109,.22)!important;
}
.provider-primary-action strong{
  color:#28423b!important;
}
.provider-primary-action small{
  color:#687a74!important;
}
.provider-primary-action .action-icon{
  background:#fff!important;
  color:#3d746d!important;
  box-shadow:0 0 0 1px rgba(61,116,109,.08);
}
.provider-primary-action:hover{
  background:linear-gradient(145deg,#e2efea,#f2f8f5)!important;
  border-color:rgba(61,116,109,.34)!important;
}

/* Result secondary actions remain deliberately quiet. */
.result-quiet-actions{
  margin-top:6px;
}
.quiet-action{
  border:1px solid transparent;
}
.quiet-action:hover{
  border-color:#dfe3df;
}

/* Technical data lives in More options. */
.more-tools-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.more-tool-card{
  min-height:78px;
}
.more-tool-card>span{
  font-family:var(--ui-font);
  font-size:11px;
  font-weight:750;
}

/* Slightly calmer provider final step. */
.provider-stage-actions-final{
  gap:7px;
}
.provider-source-note{
  opacity:.84;
}

/* Desktop content proportions. */
@media(min-width:901px){
  .how-section-v16{
    padding:28px;
  }
  .result-workspace{
    grid-template-columns:minmax(0,1fr) 300px;
  }
}

/* Mobile keeps the simple stacked how-section. */
@media(max-width:900px){
  .how-steps-v16{
    grid-template-columns:1fr;
  }
  .more-tools-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:720px){
  .prompt-head{
    flex-direction:column;
  }
  .prompt-head-actions{
    width:100%;
    margin-left:0;
  }
  .mini-redraft{
    width:auto;
    align-self:flex-start;
  }
}


/* --- Tunoa Specialist Overlay 0.1 --- */
.specialist-action{
  display:grid!important;
  border-color:#bfd0cb!important;
  background:linear-gradient(145deg,#f4f8f6,#fffdfa)!important;
}
.specialist-action:hover{border-color:#95b1aa!important}
.specialist-action .specialist-badge{
  display:inline-flex;align-items:center;
  margin-left:7px;padding:2px 7px;border-radius:999px;
  background:var(--accent-soft);color:var(--accent);
  font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;
}
.specialist-setup-fold{
  border:1px solid #cfdcd7;
  background:
    radial-gradient(circle at 90% 5%,rgba(47,129,124,.07),transparent 27%),
    var(--surface);
}
.specialist-intro{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  margin-bottom:20px;
}
.specialist-intro p{margin:5px 0 0;color:var(--muted);font-size:13.5px;line-height:1.55}
.specialist-local{
  flex:none;padding:5px 9px;border-radius:999px;background:var(--accent-soft);
  color:var(--accent);font-size:10.5px;font-weight:800;
}
.specialist-category-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;
}
.specialist-category{
  border:1px solid var(--line);background:#fffdfa;color:var(--ink);
  border-radius:16px;padding:17px;text-align:left;transition:.18s var(--ease);
}
.specialist-category:hover{
  transform:translateY(-1px);border-color:#a9bdb7;
  box-shadow:0 8px 22px rgba(31,35,33,.045);
}
.specialist-category .spec-icon{
  display:grid;place-items:center;width:31px;height:31px;border-radius:10px;
  background:var(--accent-soft);color:var(--accent);font-weight:800;margin-bottom:12px;
}
.specialist-category strong{display:block;font-size:15px;margin-bottom:5px}
.specialist-category small{display:block;color:var(--muted);font-size:12.5px;line-height:1.45}
.specialist-question-head{
  display:flex;align-items:flex-start;gap:12px;margin-bottom:18px;
}
.specialist-question-index{
  display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;
  background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:850;
}
.specialist-question-head h4{margin:0;font-size:19px}
.specialist-question-head p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.specialist-options{
  display:grid;grid-template-columns:repeat(2,1fr);gap:9px;
}
.specialist-option{
  border:1px solid var(--line);background:#fffdfa;color:var(--ink);
  border-radius:14px;padding:14px 15px;text-align:left;
}
.specialist-option:hover{border-color:#9eb7b0;background:#fff}
.specialist-option strong{display:block;font-size:13.5px;margin-bottom:3px}
.specialist-option small{display:block;color:var(--muted);font-size:12px;line-height:1.4}
.specialist-nav{
  display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;
}
.specialist-summary-card{
  border:1px solid #c7d8d2;background:#f5f9f7;border-radius:17px;padding:17px;
}
.specialist-summary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.specialist-summary-top h4{margin:0 0 4px;font-size:18px}
.specialist-summary-top p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.specialist-summary-list{
  display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px;
}
.specialist-summary-item{
  padding:10px 11px;border-radius:12px;background:#fffdfa;border:1px solid var(--line);
}
.specialist-summary-item span{display:block;color:var(--muted);font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.specialist-summary-item strong{display:block;margin-top:3px;font-size:12.5px;line-height:1.35}
.specialist-summary-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.specialist-status-chip{
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 8px;border-radius:999px;background:var(--accent-soft);
  color:var(--accent);font-size:11px;font-weight:800;margin-top:7px;
}
@media(max-width:780px){
  .specialist-category-grid{grid-template-columns:1fr}
  .specialist-options,.specialist-summary-list{grid-template-columns:1fr}
  .specialist-intro{flex-direction:column}
}


/* --- Tunoa Advanced / Developer Tools 2.4 --- */
.advanced-tool-card{
  border-color:#c4d3ce!important;
  background:linear-gradient(145deg,#f7faf8,#fffdfa)!important;
}
.advanced-tool-card .advanced-mini-badge{
  display:inline-flex;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  background:#eef3f1;
  color:#4e625d;
  font-size:9.5px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.advanced-fold{
  border:1px solid #cbd8d3;
  background:
    radial-gradient(circle at 94% 4%,rgba(47,129,124,.06),transparent 28%),
    var(--surface);
}
.advanced-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.advanced-head h3{margin:3px 0 5px}
.advanced-head p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55}
.advanced-optional{
  flex:none;
  padding:5px 9px;
  border-radius:999px;
  background:#eef3f1;
  color:#52645f;
  font-size:10.5px;
  font-weight:800;
}
.api-security-warning{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:11px;
  padding:14px 15px;
  margin:4px 0 18px;
  border:1px solid #e2aaa5;
  background:#fff2f0;
  border-radius:15px;
  color:#6f2923;
}
.api-security-warning .warning-icon{
  display:grid;place-items:center;
  width:28px;height:28px;border-radius:50%;
  background:#f8d8d4;
  font-weight:900;
}
.api-security-warning strong{display:block;margin-bottom:3px;font-size:13.5px}
.api-security-warning p{margin:0;font-size:12.4px;line-height:1.5;color:#7a3731}
.advanced-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.advanced-panel{
  border:1px solid var(--line);
  background:#fffdfa;
  border-radius:18px;
  padding:17px;
}
.advanced-panel.full{grid-column:1/-1}
.advanced-panel-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;
}
.advanced-panel-head h4{margin:0 0 4px;font-size:16px}
.advanced-panel-head p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.45}
.advanced-panel-tag{
  flex:none;
  padding:4px 7px;border-radius:999px;
  background:var(--accent-soft);color:var(--accent);
  font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;
}
.dev-actions{display:flex;flex-wrap:wrap;gap:8px}
.dev-action{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:12px;
  padding:9px 11px;
  font-size:12px;
  font-weight:760;
}
.dev-action:hover{border-color:#9eb6af}
.dev-action.primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.dev-format-preview{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#f7f7f4;
}
.dev-preview-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:9px 11px;
  border-bottom:1px solid var(--line);
  background:#fbfbf8;
}
.dev-preview-head strong{font-size:11.5px}
.dev-preview-head span{font-size:10.5px;color:var(--muted)}
.dev-preview{
  width:100%;
  min-height:150px;
  max-height:280px;
  resize:vertical;
  border:0;
  outline:0;
  padding:12px;
  background:transparent;
  color:#2a302d;
  font:11.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.api-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.api-field{display:flex;flex-direction:column;gap:5px}
.api-field.full{grid-column:1/-1}
.api-field label{
  font-size:10.5px;font-weight:800;color:#5c6965;text-transform:uppercase;letter-spacing:.04em;
}
.api-field input,.api-field select,.api-field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:var(--ink);
  padding:10px 11px;
  font:12.5px/1.45 inherit;
  outline:none;
}
.api-field textarea{min-height:86px;resize:vertical}
.api-field input:focus,.api-field select:focus,.api-field textarea:focus{
  border-color:#86aaa1;
  box-shadow:0 0 0 3px rgba(47,129,124,.08);
}
.api-inline-note{
  margin:9px 0 0;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.48;
}
.api-inline-note strong{color:#4e5a56}
.code-preview{
  width:100%;
  min-height:260px;
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#202522;
  color:#ecf1ee;
  padding:14px;
  resize:vertical;
  font:11.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  outline:none;
}
.proxy-warning{
  margin-top:10px;
  padding:10px 11px;
  border-radius:12px;
  background:#f7f5ed;
  color:#6d654f;
  font-size:11.5px;
  line-height:1.48;
}
.proxy-result{
  margin-top:12px;
  min-height:86px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#f8f8f5;
  padding:12px;
  white-space:pre-wrap;
  color:#33403b;
  font-size:12px;
  line-height:1.5;
}
.proxy-result.empty{color:var(--muted)}
.proxy-status{
  display:inline-flex;align-items:center;gap:5px;
  margin-top:8px;
  font-size:11px;
  color:var(--muted);
}
.proxy-status.ok{color:#39766c}
.proxy-status.error{color:#9b433b}
@media(max-width:780px){
  .advanced-grid,.api-form-grid{grid-template-columns:1fr}
  .advanced-panel.full,.api-field.full{grid-column:auto}
  .advanced-head{flex-direction:column}
}


/* Structural hardening utilities — replaces inline style attributes. */
.u-mt-9{margin-top:9px!important}.u-mt-10{margin-top:10px!important}.u-mt-12{margin-top:12px!important}.u-mt-14{margin-top:14px!important}


/* --- Tunoa 2.5.3 release surface --- */
.footer-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
#appVersion{font-variant-numeric:tabular-nums}
.release-notes{
  margin:12px 2px 0;
  padding:16px 17px;
  border:1px solid rgba(221,216,207,.78);
  border-radius:16px;
  background:rgba(255,253,250,.72);
}
.release-notes-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.release-notes-head>div{display:flex;align-items:baseline;gap:8px}
.release-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:720}
.release-notes-head strong{font-family:var(--font-display);font-size:15px}
.release-notes-body{display:grid;gap:10px}
.release-entry{padding-top:10px;border-top:1px solid rgba(221,216,207,.58)}
.release-entry:first-child{padding-top:0;border-top:0}
.release-entry-head{display:flex;gap:8px;align-items:baseline;margin-bottom:5px}
.release-entry-head strong{font-size:12px;color:var(--accent)}
.release-entry-head span{font-size:12px;color:#5d6661;font-weight:650}
.release-entry ul{margin:0;padding-left:18px;color:#747b77;font-size:11.5px;line-height:1.55}
@media(max-width:720px){
  .landing-footer{align-items:flex-start}
  .footer-links{justify-content:flex-start}
}

/* --- Tunoa 2.5.5 Final Guardrails --- */
.universal-copy-action{
  display:grid!important;
}
.export-mode-status.error{
  padding:9px 10px;
  border:1px solid #e0aaa4;
  border-radius:10px;
  background:#fff2f0;
  color:#7a3731;
  font-weight:650;
}
.provider-copy-btn:disabled{
  opacity:.48;
  cursor:not-allowed;
}

/* --- Tunoa 2.5.6 Positioning polish --- */
.engine-claim{
  margin:14px 0 0;
  color:var(--ink);
  font-size:14px;
  font-weight:760;
  letter-spacing:.015em;
}


/* --- Tunoa 2.5.8 Public polish --- */
.public-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid rgba(221,216,207,.62);
  padding-top:18px;
}
.footer-meta{display:grid;gap:4px;font-size:11.5px;line-height:1.45}
.footer-disclaimer{max-width:520px;color:#a0a6a2;font-size:10.5px}
.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.footer-tech-link{text-decoration:none;font-size:11.5px;line-height:1.2}
a.footer-tech-link:focus-visible{
  outline:3px solid rgba(61,116,109,.18);
  outline-offset:3px;
  border-radius:4px;
}
.release-more-link{
  display:inline-block;
  margin-top:12px;
  color:var(--accent-strong,#3d746d);
  font-size:11.5px;
  font-weight:700;
  text-decoration:none;
}
.release-more-link:hover{text-decoration:underline}
@media(max-width:720px){
  .public-footer{align-items:flex-start;flex-direction:column}
  .footer-links{justify-content:flex-start;gap:12px}
}
