/* Design Screens slice. Print rules follow cookbook design-system 2c29676d
   ui_kits/3d-review/print.css patterns, with local colors so this file does not
   consume Root token files. Tab/tour/help styles are local to this slice. */

.stage-tabs{display:flex;flex-wrap:wrap;gap:8px}
.stage-tabs button{min-height:44px;padding:8px 14px;background:transparent;color:inherit;border:1px solid #abb7c3;border-radius:6px}
.stage-tabs button[aria-selected="true"]{background:#175d91;color:#fff;border-color:#175d91}
.stage-now,.stage-repeat,.role-help p,.stage-tour p{color:#536578;font-size:.88rem}
.role-help,.stage-tour{background:#fff;border:1px solid #d7dde3;border-radius:8px;padding:1rem;margin:1rem 0}
.stage-tour .headrow,.role-help .headrow{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.stage-tour button,.role-help button{min-height:30px}

.print-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:14px 28px;background:#f6f7f8;border-bottom:1px solid #d7dde3}
.print-tools label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}
.print-tools select{width:auto;margin:0;min-height:36px;padding:4px 10px}
.paper{background:#fff;color:#111;margin:28px auto;padding:18mm 16mm;box-shadow:0 8px 24px rgba(23,33,43,.08);font:11pt/1.4 Georgia,"Times New Roman",serif;box-sizing:border-box}
.paper.a4{width:210mm;min-height:297mm}.paper.letter{width:216mm;min-height:279mm}
.p-head{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:start;border-bottom:2px solid #111;padding-bottom:10px;margin-bottom:12px}
.p-brand{font:700 14pt/1 Inter,system-ui,sans-serif;letter-spacing:-.4px;margin-bottom:6px}.p-brand span{display:inline-block;background:#111;color:#fff;padding:2px 5px;border-radius:4px;margin-right:4px}
.paper h1{font:600 16pt/1.2 Inter,system-ui,sans-serif;margin:0 0 4px}.p-meta{font-size:10pt;color:#444}
.p-label{font:600 7.5pt/1.2 Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#444;margin:4px 0}
.p-slot{display:flex;gap:4px}.p-slot span{width:9mm;height:11mm;border:1.2px solid #111;border-radius:2px}
.p-qr .qr{width:24mm;height:24mm;background:#fff;border:1.2px solid #111;box-sizing:border-box}
.p-intro{font-size:10pt;margin:0 0 10px}
.p-items{list-style:none;margin:0;padding:0;columns:1}
.p-item{break-inside:avoid;padding:7px 0;border-top:1px solid #ddd}
.p-q{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:baseline;font-weight:600;font-size:10.5pt}
.p-n{font:700 10pt/1 Inter,system-ui,sans-serif;color:#444;min-width:16px}.p-dim{font:400 7.5pt/1.2 Inter,system-ui,sans-serif;color:#666;text-transform:uppercase;letter-spacing:.06em}
.p-opts{display:grid;grid-template-columns:1fr 1fr;gap:3px 14px;margin:5px 0 0 24px;font-size:9.5pt}
.p-opt{display:flex;gap:6px;align-items:flex-start;break-inside:avoid}
.p-box{flex:none;width:4mm;height:4mm;border:1.1px solid #111;margin-top:1px}.p-box.rd{border-radius:50%}.p-box.sq{border-radius:1px}
.p-lines{margin:6px 0 0 24px}.p-lines div{height:7mm;border-bottom:1px solid #999}
.p-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #111;margin-top:14px;padding-top:6px;font:8pt/1.3 Inter,system-ui,sans-serif;color:#444}
@page{margin:12mm}
@media print{html,body{background:#fff}.no-print,#toasts,#layer{display:none!important}.paper{margin:0;padding:6mm 4mm;box-shadow:none;width:auto;min-height:0}.p-page::after{content:"Page " counter(page)}}
@media(max-width:700px){.stage-tabs button{flex:1 1 40%}.p-head{grid-template-columns:1fr}.paper.a4,.paper.letter{width:auto;min-height:0;margin:12px}}

/* Dedicated print child is normally absent/hidden; print excludes every workspace sibling. */
.stage-print-only{display:none}
@media print {
  body:has(> .stage-print-only) > :not(.stage-print-only){display:none!important}
  body > .stage-print-only{display:block!important}
  body:has(> .stage-print-only){display:block!important;overflow:visible!important;min-height:0!important}
}

/* Mounted staff stage area spans the existing facilitator grid. */
.rv #stage-workspace{grid-column:1 / -1;min-width:0}
@media screen{
  .rv #stage-print-root .paper{max-width:100%}
}

/* Compact assessment-shell navigation; guidance remains available by disclosure. */
@media screen {
  .rv #stage-workspace{padding:14px 18px}
  .rv #stage-tabs-root{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}
  .rv .stage-tabs{gap:4px;flex-wrap:wrap}
  .rv .stage-tabs button{min-height:36px;padding:6px 12px;border-radius:var(--r-button);box-shadow:none}
  .rv .stage-now,.rv .stage-repeat{margin:0;font-size:12px}
  .rv .stage-now{margin-left:auto}
  .rv .stage-repeat{color:var(--secondary)}
  .rv .stage-tour,.rv .role-help{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:8px 0 0;margin:8px 0 0}
  .rv .stage-tour summary,.rv .role-help summary{cursor:pointer;font-size:13px;font-weight:550}
  .rv .stage-tour .headrow{margin:4px 0;gap:8px}
  .rv .stage-tour p,.rv .role-help p{margin:4px 0;font-size:12px}
  .rv .stage-tour ol{padding-left:20px;margin:4px 0;font-size:13px;line-height:1.4}
  .rv .stage-tour button{min-height:28px;padding:3px 10px;font-size:12px}
}
@media screen and (max-width:700px){
  .rv .stage-tabs{width:100%}
  .rv .stage-tabs button{flex:1 1 auto}
  .rv .stage-now{margin-left:0}
}
