/* One persistent scene carries the whole introduction. */
.chapter{grid-template-columns:minmax(280px,.7fr) minmax(0,1.8fr);gap:32px;animation:none}
.narrative h1,.narrative h2{font-size:clamp(36px,3.3vw,52px)}
.overview .narrative h1{font-size:clamp(40px,3.7vw,58px)}
.experience{position:relative;min-width:0;min-height:0;height:100%;isolation:isolate;overflow:hidden}
.experience .workspace{margin:0;width:100%;height:100%}
.experience .stage{min-height:0;overflow:hidden}
.feature-layer{position:absolute;top:50px;right:0;bottom:0;width:55%;z-index:2;min-height:0}
.feature-layer[hidden]{display:none}
.feature-layer>.interaction,.feature-layer>.voucher-stage,.feature-layer>.calendar-panel{height:100%;width:100%;min-height:0}
.feature-layer .interaction{padding:22px 24px}
.feature-layer .panel-heading{gap:12px;margin-bottom:18px}
.feature-layer .panel-heading h3{font-size:18px}
.feature-layer .panel-note,.feature-layer .panel-foot{font-size:12px}
.feature-layer .room-detail{display:none}
.feature-layer .room-detail strong{font-size:14px}
.feature-layer .room-detail p{font-size:12px}
.feature-layer .form-grid{gap:18px 12px}
.feature-layer .field{gap:8px}
.feature-layer .field input,.feature-layer .field select{font-size:13px;padding:10px}
.feature-layer .slot-grid{gap:6px}
.feature-layer .slot{font-size:13px;padding:8px 4px}
.feature-layer .form-actions{gap:8px;margin-top:18px}
.feature-layer .primary,.feature-layer .secondary{font-size:13px;padding:12px 14px;gap:12px}
.feature-layer .record-details{gap:18px 12px;margin-bottom:18px}
.feature-layer .record-details dd{font-size:14px}
.feature-layer .decision-box{padding:16px}
.feature-layer .decision-box p{font-size:13px}
.feature-layer .decision-box>p:first-child{display:none}
.feature-layer .flow{display:none}
.feature-layer .role-tabs{margin-bottom:16px}
.feature-layer .role-tabs button{font-size:13px}
.feature-layer .calendar-panel{padding:22px 16px}
.feature-layer .calendar-top{gap:10px;margin-bottom:18px}
.feature-layer .calendar-top h3{font-size:18px}
.feature-layer .calendar-table th:first-child{width:48px}
.feature-layer .calendar-table th{padding:10px 4px;font-size:12px}
.feature-layer .calendar-table td{height:66px;font-size:12px;padding:4px}
.feature-layer .calendar-booking{padding:7px 5px;font-size:12px}
.feature-layer .calendar-legend{gap:12px;font-size:12px}
.feature-layer .voucher-stage{padding:18px;background:var(--pale);align-items:safe center}
.feature-layer .voucher{animation:none}
.feature-layer .voucher-top{padding:22px}
.feature-layer .voucher-top img{margin-bottom:12px}
.feature-layer .voucher-top h3{font-size:25px}
.feature-layer .voucher-body{padding:20px 22px}
.feature-layer .voucher-footer{padding:14px 22px;font-size:12px}
.feature-layer .voucher-date{font-size:14px}
.feature-layer .empty-state{padding:20px;min-height:260px}
.feature-layer .empty-state h3{font-size:18px;line-height:1.5}
.feature-layer .empty-state p{font-size:14px}
.has-feature .scene-tabs,.has-feature .scene-caption,.has-feature .scene-bottom{display:none}

.has-feature .workspace-head{width:43%;padding:0;font-size:12px}
.scene-focus{display:none;position:absolute;left:14px;bottom:22px;align-items:flex-start;gap:10px;width:39%;padding:16px 12px;background:var(--bg);z-index:1;pointer-events:none}
.has-feature .scene-focus{display:flex}
.scene-focus strong{font-size:16px;font-weight:500}
.scene-focus p{font-size:12px;line-height:1.6;margin:6px 0 0;color:var(--muted)}
.focus-dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);margin-top:7px;flex-shrink:0}
.has-feature .office .room-label{font-size:20px}
[data-chapter=management] .room-label{font-size:30px}
.chapter .narrative .hint{font-size:13px;padding:16px}
@media(min-width:1600px){.feature-layer{width:53%}.narrative h1,.narrative h2{font-size:52px}.feature-layer .interaction{padding:30px}.feature-layer .field input,.feature-layer .field select,.feature-layer .slot,.feature-layer .primary,.feature-layer .secondary{font-size:14px}.feature-layer .record-details dd{font-size:16px}.feature-layer .panel-heading h3{font-size:20px}}
@media(max-width:1100px) and (min-width:761px){.chapter{grid-template-columns:minmax(260px,.9fr) minmax(0,1.4fr);gap:24px}.narrative h1,.narrative h2{font-size:36px}.overview .narrative h1{font-size:40px}.experience.has-feature{display:flex;flex-direction:column}.has-feature .workspace{height:205px;flex:none}.has-feature .workspace-head{width:100%;height:30px}.has-feature .scene-focus{left:auto;right:8px;bottom:8px;width:auto;padding:8px}.has-feature .scene-focus strong{font-size:13px}.has-feature .scene-focus p{font-size:11px;margin-top:3px}.has-feature .focus-dot{width:5px;height:5px;margin-top:5px}.has-feature .stage{overflow:hidden}.feature-layer{position:relative;top:auto;right:auto;bottom:auto;width:100%;flex:1;min-height:0}.feature-layer .interaction{padding:20px}.has-feature .office .room-label{font-size:17px}}
@media(max-width:760px){.chapter{display:flex;gap:24px}.narrative h1,.narrative h2{font-size:36px}.overview .narrative h1{font-size:42px}.experience{height:400px;overflow:visible}.experience .workspace{height:400px}.experience.has-feature{height:auto;display:flex;flex-direction:column}.experience.has-feature .workspace{height:300px;flex:none}.has-feature .workspace-head{width:100%;height:36px;font-size:13px}.has-feature .scene-focus{left:0;bottom:6px;width:auto;max-width:95%;padding:10px 12px;background:var(--bg)}.has-feature .scene-focus strong{font-size:14px}.has-feature .scene-focus p{font-size:12px;margin-top:3px}.has-feature .stage{min-height:0}.feature-layer{position:relative;top:auto;right:auto;bottom:auto;width:100%;height:auto;margin-top:20px}.feature-layer>.interaction,.feature-layer>.voucher-stage,.feature-layer>.calendar-panel{height:auto;min-height:0}.feature-layer .interaction{padding:24px 20px}.feature-layer .field input,.feature-layer .field select{font-size:14px}.feature-layer .slot,.feature-layer .primary,.feature-layer .secondary{font-size:14px}.feature-layer .record-details dd{font-size:14px}.feature-layer .panel-note,.feature-layer .panel-foot{font-size:13px}.feature-layer .voucher-stage{padding:22px;min-height:470px}.feature-layer .empty-state{min-height:280px}.feature-layer .calendar-panel{padding:24px 14px}.has-feature .office .room-label{font-size:19px}}
@media(max-width:760px){.chapter .narrative .hint,.chapter .narrative .steps{display:none}.chapter .narrative .lead{margin-bottom:12px}.chapter .narrative .footnote{margin-top:8px}}

@media print{.experience{overflow:visible}.has-feature .workspace{display:none}.feature-layer{position:static;width:100%;height:auto}.feature-layer>.interaction,.feature-layer>.voucher-stage,.feature-layer>.calendar-panel{height:auto;overflow:visible}}

/* The canvas keeps its own input area beside the product panel. */
.experience .stage{position:relative;flex:1;min-height:160px}
.experience .office{position:absolute;inset:0;width:100%;height:100%;transform:none;max-width:none;margin:0}
.office canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-3px}
.office canvas:focus-visible{outline:3px solid var(--cyan)}
.world-label{position:absolute;left:0;top:0;padding:6px 9px;background:#fff;color:var(--ink);font-size:12px;line-height:1.3;white-space:nowrap;pointer-events:none}
.world-label.selected{background:var(--accent);color:white}
.world-label[hidden]{display:none}
.camera-tools{position:absolute;left:12px;top:12px;display:flex;gap:4px;z-index:1}
.camera-tools button{width:40px;height:40px;border:1px solid #c5cfd6;background:#fff;color:var(--accent);font:20px/1 sans-serif;cursor:pointer}
.camera-tools button:hover{background:#e0eaf4}
.camera-help{position:absolute;left:14px;bottom:8px;margin:0;color:#4b6174;font-size:11px;pointer-events:none}
.scene-fallback{padding:75px 24px 24px;font-size:14px;line-height:1.8;color:var(--muted)}
@media(min-width:1101px){.has-feature .stage{width:45%;margin-bottom:110px}.has-feature .scene-focus{bottom:14px}.has-feature .camera-tools{left:4px;gap:3px}.has-feature .camera-tools button{width:38px;height:38px}.has-feature .camera-help{left:8px;font-size:10px}}
@media(min-width:1600px){.has-feature .stage{width:47%}}
@media(max-width:1100px){.has-feature .stage{width:100%;margin-bottom:58px;min-height:100px}.has-feature .scene-focus{left:0;right:auto;bottom:0;padding:8px 12px;background:#edf1f3}.has-feature .camera-help{bottom:4px;font-size:10px}.has-feature .camera-tools{top:4px;left:6px}.has-feature .camera-tools button{width:38px;height:38px}}
@media(max-width:760px){.scene-tabs{gap:6px}.scene-tabs button{font-size:11px;padding:6px}.camera-tools button{width:44px;height:44px}.has-feature .camera-tools button{width:44px;height:44px}.world-label{font-size:11px;padding:5px 7px}.has-feature .stage{margin-bottom:62px}}

.chapter-doc-link{display:inline-block;min-height:36px;padding:6px 0;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.masthead .docs-home{display:inline-flex!important;min-height:44px;font-size:12px}.masthead .brand>span{display:none}.masthead .tools{gap:2px}.masthead .docs-home{padding:8px}.chapter-doc-link{min-height:44px}}
