.company-form[hidden]{display:none}
.tour-view .intro{padding:22px 0 16px}.tour-view .intro .eyebrow{margin-bottom:10px}.tour-view .intro h1{font-size:32px;margin-bottom:0;line-height:1.12}.tour-view .intro>p{display:none}.tour-view .company-form{margin-bottom:22px}.tour-view .journey-top{font-size:10px}.journey-top #customize-company{margin-left:auto}.journey-top #reset-demo{margin-left:0}
.tour-player{display:flex;gap:26px;justify-content:space-between;align-items:center;padding:18px 22px;border:1px solid #bdd9eb;border-radius:14px;background:#eef7fd;margin:0 0 14px;scroll-margin-top:18px;min-height:106px}
.tour-narration{flex:1;min-width:0}.tour-status{display:block;font:10px/1.5 var(--mono);letter-spacing:.06em;color:var(--ink)}.tour-status:before{content:"";display:inline-block;background:var(--mute);width:6px;height:6px;border-radius:50%;margin-right:7px;vertical-align:1px}.tour-running .tour-status:before{background:var(--ice)}.tour-narration p{margin:6px 0 10px;font-size:13px;line-height:1.6;min-height:21px;color:var(--ink);max-width:850px}.tour-buttons{display:flex;align-items:center;gap:16px;flex-shrink:0}.tour-buttons .button{font-size:12px;min-width:114px}.tour-buttons .text-button{font-size:11px}.tour-narration progress{display:block;width:100%;height:3px;border:0;border-radius:3px;appearance:none;background:#d4e7f4;overflow:hidden}.tour-narration progress::-webkit-progress-bar{background:#d4e7f4}.tour-narration progress::-webkit-progress-value{background:var(--ice)}.tour-narration progress::-moz-progress-bar{background:var(--ice)}
.tour-highlight{outline:2px solid #3fa6e8!important;outline-offset:4px;border-radius:10px}.tour-player:has(button:focus-visible){outline:2px solid var(--ice);outline-offset:3px}
@media(max-width:760px){.tour-view .intro h1{font-size:25px}.tour-view .intro{padding:20px 0 14px}.tour-player{padding:15px;gap:14px;align-items:flex-start;flex-direction:column;min-height:0}.tour-narration{width:100%}.tour-narration p{font-size:12px;min-height:58px}.tour-buttons{justify-content:space-between;width:100%}.tour-buttons .button{min-height:38px;padding:8px 12px}.tour-view .journey-top{font-size:9px}.journey-top #company-label{max-width:155px}.journey-top #customize-company{margin-left:0}.tour-view .intro .eyebrow{font-size:9px}.tour-highlight{outline-offset:2px}}
@media(prefers-reduced-motion:no-preference){.tour-narration progress::-webkit-progress-value{transition:width .35s ease}.tour-highlight{animation:tour-focus .5s ease-out}@keyframes tour-focus{from{outline-color:transparent}to{outline-color:#3fa6e8}}}
.tour-player{position:sticky;top:12px;z-index:5;box-shadow:0 8px 24px -20px #0b3a5e80}
.tour-player{gap:18px;align-items:flex-start;padding:14px 18px}.firny-host{position:relative;flex:0 0 100px;display:flex;flex-direction:column;align-items:center;align-self:center}.firny-host img{width:94px;height:94px;object-fit:contain;position:relative;z-index:1}.firny-host>span:last-child{font:8px/1.5 var(--mono);color:var(--mute);white-space:nowrap;margin-top:3px}.host-ring{position:absolute;left:7px;top:5px;width:84px;height:84px;border:1px dashed #9bcde9;border-radius:50%}#host-tool{position:absolute;right:-1px;bottom:21px;width:29px;height:29px;padding:4px;color:var(--ice);background:white;border:1px solid #b7d9ee;border-radius:8px;z-index:2}.tour-buttons{flex-direction:column;gap:9px;align-items:stretch}.tour-options{display:flex;align-items:center;justify-content:space-between;gap:10px;font:9px var(--mono);color:var(--mute)}.tour-options select{font:9px var(--mono);border:1px solid #bad4e6;border-radius:5px;background:white;color:var(--ink);padding:4px}.loop-option{display:flex;gap:4px;align-items:center;white-space:nowrap}.loop-option input{accent-color:var(--ice);margin:0}.tour-narration p{font-size:14px;font-weight:500;min-height:44px;line-height:1.5;margin:6px 0 8px}.tour-narration progress{margin-top:10px;height:2px}.beat-track{height:3px;overflow:hidden;border-radius:3px;background:#cfe4f3}.beat-track i{display:block;height:100%;width:0;background:var(--ice)}.replay-activity{display:flex;gap:12px;align-items:baseline;min-height:19px;margin-top:9px;font:9px/1.5 var(--mono);color:#407393}.replay-activity>span:first-child{color:var(--ice);white-space:nowrap}.replay-activity b{font-weight:400}.tour-running .beat-track i{animation-play-state:running!important}body:not(.tour-running) .beat-track i{animation-play-state:paused!important}.work-packages{padding-left:17px;font-size:12px;line-height:1.6}.work-packages li+li{margin-top:12px}.tour-view .guide{display:none}.step-link{position:relative;overflow:hidden}.tour-running .step-link[aria-current="step"]{border-color:#65b2e3;box-shadow:0 0 0 2px #b8e1f633}.tour-running .step-link[aria-current="step"]:after{content:"";position:absolute;left:0;bottom:0;height:2px;width:40%;background:var(--ice)}
@keyframes beat-sweep{from{width:0}to{width:100%}}
@media(prefers-reduced-motion:no-preference){.tour-running .firny-host img{animation:host-bob 1.8s ease-in-out infinite}.tour-running .host-ring{animation:host-turn 7s linear infinite}.tour-running #host-tool{animation:tool-glow 1s ease-in-out infinite alternate}.tour-running .tour-status:before{animation:tool-glow .6s ease-in-out infinite alternate}.tour-running .step-link[aria-current="step"]:after{animation:rail-sweep 1s ease-in-out infinite}.tour-running .flow-edges path{stroke-dasharray:7 5;animation:edge-flow 1s linear infinite}.activity-arrive{animation:feed-in .2s ease-out}.tour-running .strata>div{animation:strata-scan 1.2s ease-in-out infinite alternate}.tour-running .strata>div:nth-child(2){animation-delay:.3s}.tour-running .strata>div:nth-child(3){animation-delay:.6s}@keyframes host-bob{50%{transform:translateY(-4px) rotate(-2deg)}}@keyframes host-turn{to{transform:rotate(360deg)}}@keyframes tool-glow{to{filter:drop-shadow(0 0 5px #3fa6e8);opacity:.6}}@keyframes rail-sweep{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes edge-flow{to{stroke-dashoffset:-24}}@keyframes feed-in{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes strata-scan{to{filter:brightness(1.12);transform:translateX(3px)}}}
@media(max-width:760px){.tour-player{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px 12px;padding:12px;min-height:0}.firny-host{width:62px;align-self:start;grid-column:1;grid-row:1}.firny-host img{width:62px;height:62px}.host-ring{left:4px;top:3px;width:55px;height:55px}.firny-host>span:last-child{font-size:6px}#host-tool{width:23px;height:23px;bottom:14px;right:-4px;padding:3px}.tour-narration{grid-column:2;min-width:0}.tour-narration p{font-size:12px;min-height:48px;margin-top:5px}.tour-status{font-size:8px}.replay-activity{display:block;min-height:33px;font-size:8px;margin-top:6px}.replay-activity>span:first-child{margin-right:6px}.tour-buttons{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:8px;justify-content:space-between}.tour-buttons .button{min-width:91px;min-height:34px;font-size:10px;padding:6px 8px}.tour-options{gap:6px;font-size:8px}.tour-options select{font-size:8px;padding:3px}.tour-buttons>.text-button{font-size:8px;max-width:58px;text-align:right}.tour-player{top:6px}.tour-narration progress{margin-top:7px}}
@media(prefers-reduced-motion:reduce){.beat-track i{animation:none!important;width:100%!important}.firny-host img,.host-ring,#host-tool,.flow-edges path,.strata>div,.step-link:after{animation:none!important}}
.replay-activity{font-size:11px}.tour-status{font-size:11px}@media(max-width:760px){.replay-activity{font-size:9px}.tour-status{font-size:8px}}
.tour-narration p{background:#fff;border:1px solid #cce3f2;border-radius:10px 10px 10px 3px;padding:8px 12px}
/* Task-level evidence and the owner's two management horizons. */
.trust-roles { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:14px }
.trust-role { display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:16px }
.trust-role h3,.trust-role .eyebrow,.trust-band p { margin:0 }
.trust-role .eyebrow { font-size:10px }
.trust-band { padding:12px 13px;border-left:3px solid;border-radius:4px 10px 10px 4px }
.trust-band.supported,.brief-result { color:#125337;background:#eef8f1;border-color:#42966c }
.trust-band.needed { color:#744806;background:#fff7e8;border-color:#c0851f }
.trust-band b { font-size:13px }
.trust-band p { margin:6px 0;font-size:14px }
.trust-band small,.desk-zones small,.brief-author small { display:block;font-size:12px;line-height:1.55 }
.trust-band small+small { margin-top:9px }
.trust-role button { margin-top:auto }
.desk-zones { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px }
.desk-zones button { cursor:pointer;text-align:left;color:var(--ink);background:#f5f9fc;border:1px solid var(--line);border-radius:12px;padding:15px }
.desk-zones button[aria-pressed=true] { background:#e8f5ff;border-color:#4389b7;box-shadow:inset 0 -3px #4389b7 }
.desk-zones span,.brief-author small { color:var(--mute);font:10px var(--mono) }
.desk-zones b { display:block;margin:5px 0;font:600 17px var(--sans) }
.topic-choices { display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px }
.topic-choices [aria-pressed=true] { color:white;background:var(--ink) }
.brief-dialog { border:1px solid var(--line);border-radius:16px;padding:clamp(16px,3vw,28px);font-size:15px }
.brief-author { display:flex;align-items:center;gap:11px }
.brief-author>span { display:grid;place-items:center;width:40px;height:40px;background:var(--ink);color:white;border-radius:12px;font:13px var(--mono) }
.brief-author small { margin-top:3px }
.chief-question { font-size:clamp(17px,2vw,22px);line-height:1.45;max-width:60ch }
.brief-dialog summary { cursor:pointer;color:#316383 }
.owner-line,.sample-reply,.brief-result { border-radius:12px;padding:12px 15px }
.owner-line { margin-left:12%;background:#eaf4fb }.sample-reply { background:#f4f6f9 }.sample-reply p { margin:5px 0 }
@media(max-width:480px){.desk-zones button{padding:10px}.desk-zones b{font-size:14px}.desk-zones small{font-size:11px}}
.mobile-settings { display:none }
.brief-views { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px }
.brief-views button { background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--ink);padding:10px 14px;cursor:pointer }
.brief-views button[aria-pressed=true] { color:white;background:var(--ink) }
.team-room { border:1px solid var(--line);border-radius:14px;padding:clamp(14px,3vw,25px) }
.team-room h3,.team-turn h4,.team-turn p { margin:0 }
.team-subtitle { color:var(--mute);font-size:13px;margin:4px 0 18px }
.team-turn { border-left:3px solid #94bcd7;padding:8px 14px;margin:12px 0 }
.team-turn small { color:#345d79;font:10px var(--mono);letter-spacing:.06em }
.team-turn h4 { margin:5px 0;font-size:15px }.team-turn p,.team-queue p { font-size:14px;line-height:1.55 }
.team-proposal { background:#f2f8fc;border-radius:0 10px 10px 0 }.team-proposal .proposal-target { margin:10px 0 }
.team-queue { margin-top:14px }.team-queue summary { cursor:pointer;font-size:14px }.team-queue li { margin:8px 0 }.team-queue p { margin:4px 0 }
@media(max-width:760px){
  .tour-player { grid-template-columns:48px minmax(0,1fr);padding:9px 12px;gap:6px 10px }
  .firny-host,.firny-host img { width:48px }.firny-host img{height:48px}.host-ring{width:42px;height:42px}
  .firny-host>span:last-child,.tour-player .replay-activity,.tour-player .beat-track { display:none }
  .tour-player #host-tool { bottom:0;right:-3px;width:19px;height:19px }
  .tour-narration p { min-height:0;font-size:13px;line-height:1.4;margin:3px 0;padding:5px 8px }
  .tour-buttons { flex-wrap:wrap;gap:4px 10px;justify-content:flex-start }
  .mobile-settings { display:inline-block }.tour-buttons button,.tour-options select,.loop-option,.brief-views button,.topic-choices button,.team-room button,.team-queue summary,.control-tabs button { min-height:44px }
  .tour-buttons .button,.tour-buttons .mobile-settings { font-size:12px;min-height:44px }
  .tour-buttons:not(.options-open) .tour-options,.tour-buttons:not(.options-open)>#tour-replay {display:none}
  .tour-options select,.loop-option,.tour-buttons>#tour-replay {font-size:12px}
  .tour-buttons>#tour-replay {max-width:none}.brief-views button { flex:1;min-width:105px }.team-room {overflow-wrap:anywhere}
}
@media(max-height:500px) and (orientation:landscape){.tour-player{position:static}}
