/* Material-aware reading surfaces. Native world rendering stays in its iframe. */
body.office-cardboard-restored{--reading-ink:#26271f;--reading-muted:#45493c;--reading-paper:#eee2c7;--reading-sage:#ced5bb;--reading-orange:#99501d}
body.office-cardboard-restored :is(p,li,label,textarea,input,select,.small-copy){line-height:1.6}
body.office-cardboard-restored main :is(.guide-intro,.command-footnote){color:var(--reading-ink);background:#eee2c7;padding:16px 20px;border:1px solid #36382c;border-radius:4px;font:16px/1.6 var(--body)}
body.office-cardboard-restored :is(.page-intro,.fw-white-card,.fw-setup-sheet,.published-sprint-card,dialog,.reading-page){color:var(--reading-ink)}
body.office-cardboard-restored :is(.page-intro,.fw-white-card,.fw-setup-sheet,.published-sprint-card,dialog,.reading-page) :is(h1,h2,h3,h4,p,li,label,small,strong,figcaption){color:var(--reading-ink)}
body.office-cardboard-restored :is(.page-intro,.fw-white-card,.fw-setup-sheet,.published-sprint-card,dialog,.reading-page) :is(.eyebrow,.tiny-tag){color:#84421c}
body.office-cardboard-restored :is(.page-intro,.fw-white-card,.fw-setup-sheet,.published-sprint-card,dialog,.reading-page) :is(p,li,small){font-family:var(--body);font-weight:400}
body.office-cardboard-restored .vision-card-copy p{color:#3b4033!important;font:17px/1.55 var(--body)!important}
body.office-cardboard-restored :is(.front-card,.agent-card-copy,.purpose-grid article,.art-path-grid article) :is(p,li){color:#f1ead8;font:17px/1.6 var(--body);opacity:1}
body.office-cardboard-restored :is(.front-card,.agent-card-copy) :is(h2,h3){font-weight:400;text-shadow:none}
body.office-cardboard-restored main .section-heading{padding:22px 26px;background:#eee2c7 url('/assets/kraft-control-texture.png') center/520px auto repeat;color:#26271f;border:1px solid #33382b;border-radius:5px}
body.office-cardboard-restored main .section-heading :is(h2,h3,p,span){color:var(--reading-ink)}
body.office-cardboard-restored main .section-heading .eyebrow{color:#84421c}
body.office-cardboard-restored :is(.guide-panel,.version-guide,.goal-section){background:#eee2c7 url('/assets/kraft-control-texture.png') center/520px auto repeat;color:var(--reading-ink);border:2px solid #303329;border-radius:6px}
body.office-cardboard-restored :is(.guide-panel,.version-guide,.goal-section) :is(h2,h3,p,li,span,label,small,strong,b,figcaption){color:var(--reading-ink)}
body.office-cardboard-restored :is(.guide-panel,.version-guide,.goal-section) :is(.eyebrow,.section-number){color:#84421c}
body.office-cardboard-restored :is(.guide-panel,.version-guide,.goal-section) :is(p,li,small){font:16px/1.65 var(--body)}
body.office-cardboard-restored .goal-flow{padding-left:26px;margin:24px 0}
body.office-cardboard-restored .goal-flow li{padding-left:4px;margin:0 0 18px}
body.office-cardboard-restored .goal-flow li::marker{font:400 24px var(--pixel);color:#87431c}
body.office-cardboard-restored .goal-flow span{display:block}
body.office-cardboard-restored .goal-input{margin:26px 0 22px}
body.office-cardboard-restored .goal-input>label{display:block;font:400 26px/1.2 var(--pixel);margin-bottom:10px}
body.office-cardboard-restored .goal-input textarea{display:block;width:100%;min-height:110px;box-sizing:border-box;padding:14px 16px;background:#fff5dd;border:2px solid #34382b;border-radius:5px;color:#25271f;font:17px/1.55 var(--body);resize:vertical}
body.office-cardboard-restored .goal-input textarea::placeholder{color:#5a5e4d;opacity:1}
body.office-cardboard-restored .goal-input #goal-input-help{margin:7px 0 0;font:14px/1.5 var(--body)}
body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt,.goal-extension .prompt-box){padding:22px 24px;background:#d9dcc5;border:2px solid #34382b;border-radius:5px;box-shadow:3px 4px 0 #30332933}
body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt,.goal-extension .prompt-box)::before,body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt,.goal-extension .prompt-box)::after{display:none}
body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt) :is(h3,p,label,small){color:#26271f!important}
body.office-cardboard-restored .setup-prompt-panel>h3{margin:0 0 8px;font:400 30px/1.2 var(--pixel)}
body.office-cardboard-restored .setup-prompt-panel>p{margin:0 0 8px;font:16px/1.55 var(--body)}
body.office-cardboard-restored .setup-prompt-panel .prompt-box{background:none;padding:0;border:0;box-shadow:none}
body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt,.goal-extension) textarea{background:#fff2d9;color:#25271f;border:1px solid #5c624b;border-radius:4px;font:16px/1.6 var(--body);padding:14px 16px;min-height:185px;box-sizing:border-box;width:100%}
body.office-cardboard-restored .goal-prompt textarea{min-height:240px}
body.office-cardboard-restored .next-planning-link{display:inline-block;margin:4px 0 18px;color:#643714;font:600 15px/1.5 var(--body);text-decoration:underline;text-underline-offset:3px}
body.office-cardboard-restored .goal-section .sprint-demo{padding:24px;background:#d1d7bd;border:2px solid #34382b;background-image:none;box-shadow:none;border-radius:5px}
body.office-cardboard-restored .goal-section .sprint-demo :is(h3,span,p,small){color:#252a20}
body.office-cardboard-restored .goal-section .sprint-demo .eyebrow{color:#5a4226}
body.office-cardboard-restored .goal-section .sprint-demo label{background:#e8eadb;color:#252a20;border:2px solid #373e2e;padding:14px 16px;box-shadow:none}
body.office-cardboard-restored .goal-section .sprint-demo label:has(:checked){background:#aebd92;color:#1c2519}
body.office-cardboard-restored .goal-section .sprint-demo label :is(span,small){color:inherit;font:16px/1.5 var(--body)}
body.office-cardboard-restored .goal-section .sprint-demo #sprint-value{font:400 36px/1 var(--pixel);color:#26351e}
body.office-cardboard-restored .goal-section .sprint-meter{background:#a3aa90;border:1px solid #464f3b}
body.office-cardboard-restored .goal-section #sprint-meter{background:#465f31}
body.office-cardboard-restored .team-options li{border-color:#7b806a}
body.office-cardboard-restored .team-preview{background:#d0d6bd;padding:20px;border:1px solid #657054;border-radius:5px}
body.office-cardboard-restored .dot-setup .dot-enable{align-items:flex-start;gap:12px}
body.office-cardboard-restored .dot-setup input{width:22px;height:22px;flex:none;margin-top:3px}
body.office-cardboard-restored .dot-setup strong{font:600 17px/1.5 var(--body)}
body.office-cardboard-restored .dot-setup small{display:block;font:15px/1.5 var(--body)}
body.office-cardboard-restored .dot-mode-panel{padding:16px;margin-top:14px;background:#d8ddc7;border:1px solid #667154;border-radius:5px}
body.office-cardboard-restored .dot-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.office-cardboard-restored .dot-mode-options button{min-height:48px;padding:12px 15px;background:#dbb17a url('/assets/kraft-control-texture.png') center/cover;border:2px solid #30372a;border-radius:5px;color:#25271f;font:400 23px/1.2 var(--pixel);cursor:pointer}
body.office-cardboard-restored .dot-mode-options button[aria-pressed="true"]{background:#5d6e4d;background-image:none;color:#fff4dc;border:3px solid #283222;text-decoration:underline;text-underline-offset:4px}
body.office-cardboard-restored .dot-mode-options button:hover{transform:translateY(-2px) rotate(-.3deg);box-shadow:2px 3px 0 #30372a}
body.office-cardboard-restored .dot-mode-options button:active{transform:translateY(1px);box-shadow:none}
body.office-cardboard-restored .dot-mode-panel p{margin:12px 0 0;color:#30392a;font:15px/1.55 var(--body)}
body.office-cardboard-restored :is(.faq-list,.transfer-grid) details{background:#eee2c7;border:2px solid #30362a;box-shadow:none;color:#26271f}
body.office-cardboard-restored :is(.faq-list,.transfer-grid) :is(summary,.disclosure-body,p,li,small){color:#26271f}
body.office-cardboard-restored :is(.faq-list,.transfer-grid) summary{background:#c9d0b8;background-image:none;color:#26271f}
body.office-cardboard-restored :is(.faq-list,.transfer-grid) .disclosure-body{background:#eee2c7;font:16px/1.65 var(--body)}
body.office-cardboard-restored .compact-command-table .compact-command-row{background:#e8ddc5;color:#292c23}
body.office-cardboard-restored .compact-command-table :is(p,span,small){color:#343b2c}
body.office-cardboard-restored .compact-command-table code{color:#374f28}
body.office-cardboard-restored .compact-command-row .command-availability{background:#d2d8bd;color:#27331e;border:1px solid #576548}
body.office-cardboard-restored .compact-command-drawer>summary{background:#d0d6bd;color:#26271f}
body.office-cardboard-restored .compact-command-drawer>summary :is(b,small,span){color:#26271f}
body.office-cardboard-restored dialog .notice{background:#d2d8bf;color:#293024}
body.office-cardboard-restored :is(.goal-input textarea,.dot-mode-options button,.next-planning-link):focus-visible{outline:3px solid #98501f;outline-offset:3px}
@media(max-width:650px){body.office-cardboard-restored :is(.setup-prompt-panel,.goal-prompt,.goal-extension .prompt-box){padding:18px}body.office-cardboard-restored .dot-mode-options{grid-template-columns:1fr}body.office-cardboard-restored .goal-section .sprint-demo{padding:18px}body.office-cardboard-restored main .section-heading{padding:20px}}
@media(prefers-reduced-motion:reduce){body.office-cardboard-restored .dot-mode-options button{transform:none!important}}

body.office-cardboard-restored :is(.guide-panel,.version-guide,.goal-section) {background-blend-mode:luminosity}
body.office-cardboard-restored main .section-heading{background-blend-mode:luminosity}
body.office-cardboard-restored .goal-copy .goal-prompt textarea{min-height:270px!important;max-height:none;height:auto}
body.office-cardboard-restored .goal-extension textarea{min-height:105px}
body.office-cardboard-restored .setup-prompt-panel{padding:24px!important}
