/* The public entry shows a concrete research workflow; all rules stay within auth. */
#authView{--auth-forest:#124b3e;--auth-lime:#dff18b;--auth-light:#d1e3da;--auth-preview-ink:#203e33;--auth-preview-muted:#52695e;--auth-preview-line:#d9e4dc;grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr)}
#authView .brand-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:32px clamp(28px,4.4vw,84px);background:var(--auth-forest);overflow:visible}
#authView .auth-brand-lockup{display:flex;align-items:center;gap:12px;margin-bottom:20px}
#authView .brand-mark{flex:none;width:42px;height:42px;border-radius:12px;font-size:22px;box-shadow:none}
#authView .auth-brand-lockup>div{display:grid;gap:4px}
#authView .auth-brand-lockup strong{font-size:18px;letter-spacing:.01em}
#authView .auth-brand-lockup>div>span{font-size:12px;color:var(--auth-light)}
#authView h1{margin:0 0 12px;font-family:Georgia,"Songti SC","SimSun",serif;font-weight:500;font-size:clamp(34px,3.2vw,54px);line-height:1.3;letter-spacing:-.025em}
#authView h1 em{font-style:normal;color:var(--auth-lime)}
#authView .brand-copy{max-width:none;margin:0;color:var(--auth-light);font-size:15px;line-height:1.7}
#authView .auth-workflow{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:16px;list-style:none;padding:0;margin:18px 0 18px}
#authView .auth-workflow li{display:flex;align-items:center;gap:10px;position:relative;min-width:0}
#authView .auth-workflow li+li::before{content:'';width:7px;height:7px;border-top:1px solid var(--auth-light);border-right:1px solid var(--auth-light);transform:rotate(45deg);position:absolute;left:-15px;top:17px}
#authView svg{display:block;flex:none;width:20px;height:20px}
#authView .auth-feature-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #608277;border-radius:12px;color:var(--auth-lime);background:#235b4d}
#authView .auth-workflow strong{display:block;font-size:14px;font-weight:600;line-height:1.5}
#authView .auth-workflow small{display:block;margin-top:3px;font-size:12px;color:var(--auth-light);line-height:1.4}
#authView .auth-product-preview{margin:0;border:1px solid #729388;border-radius:14px;background:#f4f7f4;color:var(--auth-preview-ink);box-shadow:0 18px 46px #052a2633;overflow:hidden}
#authView .auth-product-preview figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 16px;background:#e7efe9;border-bottom:1px solid var(--auth-preview-line);font-size:12px;color:var(--auth-preview-muted)}
#authView .auth-product-preview figcaption>span:first-child{display:flex;align-items:center;gap:7px;font-weight:600;color:var(--auth-preview-ink)}
#authView .auth-product-preview figcaption>span>i{width:7px;height:7px;border-radius:50%;background:#45836d}
#authView .auth-preview-workspace{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)}
#authView .auth-preview-source{padding:15px;border-right:1px solid var(--auth-preview-line);background:#eaf0eb;min-width:0}
#authView .auth-preview-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.5}
#authView .auth-preview-label svg{width:16px;height:16px;color:#37745b}
#authView .auth-preview-label b{margin-left:auto;font-size:10px;color:var(--auth-preview-muted);font-weight:500}
#authView .auth-preview-paper{position:relative;display:flex;flex-direction:column;gap:9px;margin-top:12px;padding:18px 15px 12px;background:white;border:1px solid var(--auth-preview-line);box-shadow:0 3px 8px #203e3308;min-height:224px}
#authView .auth-paper-kicker{font-size:8px;font-weight:700;letter-spacing:.1em;color:var(--auth-preview-muted)}
#authView .auth-preview-paper>strong{font:600 16px/1.22 Georgia,serif;color:#26352d}
#authView .auth-paper-rule{height:1px;background:#789889}
#authView .auth-paper-lines{display:grid;gap:5px}
#authView .auth-paper-lines i{display:block;height:3px;border-radius:3px;background:#d5ded7}
#authView .auth-paper-lines i:last-child{width:70%}
#authView .auth-preview-paper mark{padding:4px 6px;background:#e5ee9f;color:#354324;font-size:12px;line-height:1.6;align-self:flex-start}
#authView .auth-paper-diagram{display:flex;align-items:center;justify-content:center;height:23px}
#authView .auth-paper-diagram span{width:28px;height:20px;border:1px solid #8daa9b;border-radius:4px;background:#eaf0eb}
#authView .auth-paper-diagram i{width:17px;height:1px;background:#8daa9b}
#authView .auth-paper-page{margin-top:auto;font-size:10px;color:var(--auth-preview-muted);text-align:center}
#authView .auth-preview-research{display:flex;flex-direction:column;align-items:stretch;padding:14px;min-width:0;background:#fcfdfb}
#authView .auth-preview-question{align-self:flex-end;padding:9px 11px;margin:10px 0 10px;border-radius:9px 9px 2px 9px;background:#e9f0eb;font-size:12px;line-height:1.6}
#authView .auth-preview-answer{font-size:13px;line-height:1.8;margin:0 0 12px}
#authView .auth-preview-answer sup{font-size:10px;color:#256b4c;margin-left:3px}
#authView .auth-preview-evidence{display:flex;gap:8px;align-items:center;padding:9px 10px;border-left:2px solid #73a187;background:#f0f5ed}
#authView .auth-preview-evidence svg{width:16px;height:16px;color:#417656}
#authView .auth-preview-evidence strong{display:block;font-size:12px;font-weight:500}
#authView .auth-preview-evidence small{display:block;font-size:11px;margin-top:4px;color:var(--auth-preview-muted);line-height:1.5}
#authView .auth-preview-outcome{display:flex;align-items:center;gap:9px;margin-top:10px;padding:10px 10px;border:1px solid #c6d9cb;border-radius:9px;background:#fff;box-shadow:0 4px 10px #36544308}
#authView .auth-outcome-icon{display:grid;place-items:center;width:30px;height:36px;color:#27614a;background:#edf3ea;border-radius:5px;flex:none}
#authView .auth-preview-outcome strong{display:block;font-size:12px;font-weight:600;line-height:1.5}
#authView .auth-preview-outcome small{display:block;font-size:11px;color:var(--auth-preview-muted);line-height:1.5;margin-top:3px}
#authView .auth-outcome-check{margin-left:auto;color:#31754d}
#authView .auth-outcome-check svg{width:16px;height:16px}
#authView .auth-brand-bottom{margin-top:15px}
#authView .auth-example-link{gap:10px;font-size:14px;border:0;text-decoration:none;min-height:44px;transition:color .15s}
#authView .auth-example-link:hover{text-decoration:underline;color:var(--auth-lime)}
#authView .auth-example-link svg{width:18px;height:18px}
#authView .auth-panel{padding:40px 36px 70px}
#authView .auth-card{width:420px;max-width:100%;padding:32px;border-radius:18px;background:white;box-shadow:0 16px 50px #173c300a;backdrop-filter:none}
#authView .auth-card h2{font-family:inherit;font-size:30px;font-weight:600;letter-spacing:-.04em}
#authView .auth-card>p:nth-of-type(2){font-size:14px;margin-bottom:26px}
#authView .auth-password-label{margin-bottom:8px}
#authView .auth-password-control{position:relative;margin-bottom:10px}
#authView #passwordInput{padding-right:86px}
#authView .auth-password-control #authShowPassword{position:absolute;right:4px;top:1px;min-height:44px;margin:0;padding:0 10px;font-size:12px;line-height:1.4;border-radius:6px}
#authView #authPasswordHint{font-size:12px}
#authView .auth-secondary-actions .text-button{min-height:44px;margin:8px auto 0}
#authView #authError:empty{margin:8px 0;min-height:12px}
#authView :is(a,button,summary):focus-visible{outline:2px solid currentColor;outline-offset:4px}
#authView .icp-auth-filing{bottom:24px}
@media(min-width:1051px) and (max-height:820px){
  #authView .brand-panel{padding-top:26px;padding-bottom:22px}
  #authView .auth-brand-lockup{margin-bottom:22px}
  #authView h1{font-size:38px}
  #authView .auth-workflow{margin-top:20px;margin-bottom:18px}
  #authView .auth-preview-paper{gap:9px;min-height:218px;padding-top:14px}
  #authView .auth-paper-lines-short{display:none}
}
@media(max-width:1200px) and (min-width:1051px){
  #authView .brand-panel{padding-left:28px;padding-right:28px}
  #authView .auth-workflow{gap:14px}#authView .auth-feature-icon{width:34px;height:36px;border-radius:10px}
  #authView .auth-workflow li{gap:7px}#authView .auth-workflow small{font-size:11px}
  #authView .auth-preview-source,#authView .auth-preview-research{padding:12px}
  #authView .auth-preview-paper{padding-left:10px;padding-right:10px}
  #authView .auth-panel{padding-left:24px;padding-right:24px}
}
@media(max-width:1050px){
  #authView{grid-template-columns:minmax(0,1fr);align-content:start;background:#f7faf8}
  #authView .brand-panel{padding:24px 24px 20px;color:var(--auth-forest);background:transparent;align-items:center;text-align:center}
  #authView .auth-brand-lockup{margin-bottom:18px;text-align:left;gap:10px}
  #authView .brand-mark{width:36px;height:36px;font-size:20px;color:white;background:var(--auth-forest);border:0;border-radius:10px}
  #authView .auth-brand-lockup strong{font-size:16px}#authView .auth-brand-lockup>div>span{display:none}
  #authView h1{font-size:30px;line-height:1.3;margin:0 0 12px}#authView h1 br{display:none}#authView h1 em{color:var(--auth-forest)}
  #authView .brand-copy{font-size:14px;color:var(--auth-preview-muted)}
  #authView .auth-workflow{width:100%;max-width:440px;margin:20px 0 0;gap:24px;text-align:left;grid-template-columns:repeat(3,minmax(0,1fr))}
  #authView .auth-workflow li{flex-direction:column;gap:6px;text-align:center}
  #authView .auth-feature-icon{width:40px;height:40px;background:#e6eee7;color:#276247;border-color:#cbdcd1}
  #authView .auth-workflow li+li::before{left:-15px;top:16px;border-color:#819f8b}
  #authView .auth-workflow strong{font-size:13px}#authView .auth-workflow small{display:none}
  #authView .auth-product-preview,#authView .auth-brand-bottom{display:none}
  #authView .auth-panel{padding:0 24px 68px;display:block;min-width:0}
  #authView .auth-card{margin:0 auto;width:440px;padding:26px 30px}
  #authView .auth-card>.eyebrow{display:none}
  #authView .auth-card h2{margin:0 0 6px;font-size:25px}
  #authView .auth-card>p:nth-of-type(2){margin-bottom:22px}
  #authView .auth-mobile-intro:not(:empty){margin:-8px 0 12px}
  #authView .auth-mobile-intro .auth-example-link{color:var(--auth-forest);min-height:36px}
}
@media(max-width:480px){
  #authView .brand-panel{padding:22px 18px 18px}
  #authView .auth-brand-lockup{margin-bottom:14px}
  #authView h1{font-family:inherit;font-size:23px;font-weight:600;letter-spacing:-.035em;margin-bottom:0}
  #authView h1 br{display:block}
  #authView .brand-copy{display:block;font-size:12px;line-height:1.6;max-width:290px;margin-top:8px}
  #authView .auth-workflow{margin-top:16px;max-width:310px}
  #authView .auth-panel{padding-left:18px;padding-right:18px}
  #authView .auth-card{padding:24px 22px}
  #authView .auth-card h2{font-size:24px}
  #authView .auth-card label{font-size:13px;margin-top:14px;margin-bottom:8px}
  #authView .auth-card input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#authView .auth-example-link{transition:none}}

/* Team members, shared evidence and co-writing are the focal point of the example. */
#authView .auth-product-preview figcaption svg{width:18px;height:18px}
#authView .auth-team-presence{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap}
#authView .auth-avatar-stack{display:flex;padding-left:6px}
#authView .auth-avatar-stack i{display:grid;place-items:center;width:27px;height:27px;margin-left:-6px;border:2px solid #e7efe9;border-radius:50%;background:#285e4c;color:#fff;font-style:normal;font-size:10px}
#authView .auth-avatar-stack i:nth-child(2){background:#736c9a}#authView .auth-avatar-stack i:nth-child(3){background:#956e3d}
#authView .auth-annotation-author{padding:2px 4px;margin-right:4px;color:#316546;background:#eaf0dc;border-radius:3px}
#authView .auth-cowriting-line{position:relative;margin:10px 2px 4px;padding-bottom:16px;font-size:12px;line-height:1.7}
#authView .auth-cowriting-line>span{color:#4e4774;background:#e9e4f4;border-right:2px solid #7564a0;padding:2px 4px}
#authView .auth-cowriting-line>b{position:absolute;right:8px;bottom:0;border-radius:3px;padding:1px 6px;background:#7564a0;color:white;font-size:10px;font-weight:500}
#authView .auth-team-tasks{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;padding:12px 16px;border-top:1px solid var(--auth-preview-line);font-size:12px;line-height:1.6;background:#eef4ee}
#authView .auth-team-tasks strong{font-size:12px;font-weight:600}
#authView .auth-team-tasks>span{display:flex;align-items:center;gap:5px;color:var(--auth-preview-muted)}
#authView .auth-team-tasks i{display:grid;place-items:center;width:13px;height:13px;border-radius:50%;font-style:normal;flex:none}
#authView .auth-task-done{background:#327753;color:white;font-size:10px}
#authView .auth-task-doing{border:1px solid #867542;background:#eee8cc}
#authView .auth-preview-disclaimer{margin:0;padding:7px 16px;color:var(--auth-preview-muted);background:#f7faf6;font-size:10px;line-height:1.5}
@media(min-width:1051px) and (max-width:1200px){#authView .auth-team-presence>span:last-child{display:none}}
