/* S02b5. Flat operator layout; optional companion stays in the document flow. */
.on-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.on-summary .oc-metric>span{min-height:0;margin-bottom:8px}.on-scope{padding:12px 24px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.6}.on-toolbar{gap:16px}.on-toolbar .search{flex:1;max-width:460px}.on-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.on-filter select{background:var(--base);color:var(--ink);font:inherit;border:1px solid var(--line);border-radius:8px;padding:8px;min-height:36px}.on-table{min-width:900px}.on-table th,.on-table td{padding:16px 10px}.on-table th:first-child,.on-table td:first-child{padding-left:24px}.on-table td{font-size:12px}.on-table .on-name{font-size:14px;font-weight:500}.on-table td:first-child{min-width:200px}.on-table td:nth-child(3){min-width:170px}.on-name:hover{text-decoration:underline;text-underline-offset:3px}.on-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.on-status:before{content:'';width:6px;height:6px;background:var(--muted);border-radius:50%}.on-status-failed:before{background:#bf4651}.on-status-completed:before,.on-status-live:before{background:#16816a}.on-status-running:before{background:#315fca}.on-status-queued:before{background:#a96812}.on-back{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:16px 24px}.on-back>a{display:inline-flex;align-items:center;gap:8px;font-size:13px}.on-back svg{width:16px;height:16px}.on-back>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.on-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.on-detail-grid h2,.on-phases h2,.on-error-detail h2{font-size:18px;font-weight:500}.on-dl{margin-top:20px}.on-dl dd{overflow-wrap:anywhere}.on-links{display:flex;align-items:center;gap:20px;margin-top:20px;flex-wrap:wrap}.on-links a{display:inline-flex;align-items:center;gap:4px;text-decoration:underline;text-underline-offset:4px;font-size:13px}.on-links svg{width:14px;height:14px}.on-portal{margin-top:20px}.on-error-detail{padding:24px;border-bottom:1px solid var(--line);border-left:3px solid #bf4651}.on-error-detail pre{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,monospace;margin:16px 0;line-height:1.6}.on-phases{padding:24px;border-bottom:1px solid var(--line)}.on-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.on-phases ol{list-style:none;margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.on-phases li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:14px 0;min-width:0}.on-phase-icon svg{width:18px;height:18px;color:var(--muted)}.on-phases li>div{flex:1;min-width:0}.on-phases strong{font-size:13px;font-weight:500;display:block}.on-phases small{font-size:12px;display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.on-phase-state{font-size:12px;color:var(--muted);text-align:right;max-width:90px}.on-questions{margin-top:20px;font-size:13px}.on-questions summary{cursor:pointer;min-height:32px}.on-questions article{padding:16px 0;border-top:1px solid var(--line)}.on-questions p{font-size:12px;line-height:1.6;margin-top:8px}.on-copy{font-size:14px;line-height:1.7;margin:16px 0}.on-detail-grid .btn+.oc-note{margin-top:16px}.on-page a:focus-visible,.on-page button:focus-visible,.on-choice:focus-within{outline:2px solid var(--ink);outline-offset:3px}.on-preview-note{padding:10px 24px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);background:var(--surface)}.on-stepnav{display:flex;align-items:center;gap:24px;padding:20px 24px;border-bottom:1px solid var(--line);overflow:auto}.on-stepnav>span{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:var(--muted)}.on-stepnav b{display:grid;place-items:center;border:1px solid var(--line);font-weight:500;width:24px;height:24px;border-radius:50%;flex:none}.on-stepnav .current{color:var(--ink);font-weight:500}.on-stepnav .current b{background:var(--ink);color:var(--base);border-color:var(--ink)}.on-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:480px}.on-step{padding:32px;max-width:850px;width:100%;margin:auto}.on-eyebrow{font-size:12px;color:var(--muted)}.on-step h2{font-size:26px;font-weight:500;letter-spacing:-.4px;margin:8px 0 28px}.on-choices{display:grid;gap:12px}.on-choice{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:var(--base)}.on-choice:has(input:checked){border-color:var(--ink);background:var(--surface)}.on-choice input,.on-check input{accent-color:var(--ink);width:17px;height:17px;flex:none}.on-choice strong{font-size:14px;font-weight:500}.on-choice small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}.on-choice>span{min-width:0}.on-choice svg{width:20px;height:20px;display:block;margin-bottom:12px}.on-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.on-tools .on-choice{align-items:flex-start}.on-tools .on-choice input{margin-top:2px}.on-guide-nav{display:flex;justify-content:space-between;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.on-companion{border-left:1px solid var(--line);padding:24px;background:var(--surface)}.on-companion img{width:100%;height:auto;display:block;border-radius:8px}.on-advice{padding-top:20px}.on-advice>span{font-size:12px;color:var(--muted)}.on-advice h3{font-size:18px;font-weight:500;line-height:1.5;margin:12px 0}.on-advice p{font-size:14px;line-height:1.7;color:var(--muted)}.on-advice .btn{margin-top:16px;padding-left:0;font-size:12px}.on-help{margin-top:16px;border-top:1px solid var(--line);padding-top:16px;font-size:12px!important}.on-guide-hidden{grid-template-columns:minmax(0,1fr)}.on-example{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.on-example>span{font-size:12px;color:var(--muted)}.on-example h3{font-size:18px;font-weight:500;line-height:1.6;margin:12px 0 20px}.on-example-answer{font-size:14px;line-height:1.7;padding:16px 0}.on-check{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.7;margin-top:20px;cursor:pointer}.on-desk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px 0}.on-desk>div{display:flex;align-items:center;flex-direction:column;gap:12px;font-size:13px;padding:16px;border:1px solid var(--line);border-radius:8px}.on-desk svg{width:28px;height:28px}.on-guide-footnote{font-size:12px;color:var(--muted);padding:16px 24px;border-top:1px solid var(--line);line-height:1.7}.on-complete{font-size:14px;padding:16px;border:1px solid var(--line);line-height:1.6;background:var(--surface)}
@media(max-width:1100px){.on-guide-layout{grid-template-columns:minmax(0,1fr) 250px}.on-guide-hidden{grid-template-columns:minmax(0,1fr)}.on-step{padding:24px}.on-companion{padding:20px}.on-stepnav{gap:16px}.on-phases ol{grid-template-columns:1fr}}
@media(max-width:768px){.on-summary{grid-template-columns:1fr 1fr}.on-summary .oc-metric{border-bottom:1px solid var(--line)}.on-scope,.on-preview-note{padding:12px 16px}.on-toolbar .search{max-width:none}.on-filter{width:100%;justify-content:space-between}.on-filter select{min-height:44px;max-width:220px}.on-table{min-width:0}.on-table td,.on-table td:first-child{min-width:0}.on-table td{font-size:13px}.on-table td:nth-child(3){min-width:0}.on-table th:first-child,.on-table td:first-child{padding-left:0}.on-detail-grid{grid-template-columns:1fr}.on-back{padding:16px;flex-wrap:wrap;gap:8px}.on-back>a{min-height:44px}.on-back>span{width:100%}.on-phases,.on-error-detail{padding:20px 16px}.on-section-title{align-items:flex-start;flex-wrap:wrap;gap:8px}.on-phase-state{max-width:85px}.on-questions summary{min-height:44px}.on-links a{min-height:44px}.on-detail-grid .btn{min-height:44px}.on-stepnav{padding:16px;gap:12px;flex-wrap:wrap;overflow:visible}.on-stepnav>span{font-size:0;gap:0}.on-stepnav>span.current{font-size:12px;gap:8px}.on-stepnav b{font-size:12px}.on-guide-layout{display:flex;flex-direction:column;min-height:0}.on-companion{order:-1;border-left:0;border-bottom:1px solid var(--line);padding:16px;display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px}.on-advice{padding:0}.on-advice h3{font-size:15px;margin:8px 0}.on-advice p{font-size:12px;line-height:1.6}.on-advice>.btn{min-height:44px;margin:4px 0 0}.on-companion img{border-radius:4px}.on-step{padding:24px 16px}.on-step h2{font-size:24px;margin-bottom:24px}.on-tools{gap:8px}.on-choice{padding:12px;min-height:64px}.on-tools .on-choice{gap:8px}.on-tools .on-choice strong{font-size:13px}.on-choice input,.on-check input{width:20px;height:20px}.on-guide-nav{gap:8px;margin-top:24px}.on-guide-nav .btn{min-height:44px;white-space:normal}.on-step>.btn{min-height:44px}.on-example{padding:16px}.on-example h3{font-size:16px}.on-example .btn{min-height:44px}.on-check{min-height:44px}.on-desk{grid-template-columns:repeat(2,minmax(0,1fr))}.on-guide-footnote{padding:16px}.on-status{white-space:normal}.on-guide-hidden{display:block}}

/* The learning journey belongs to the client BO, independent of operator access. */
@media(max-width:768px){body.bureau-active.client-learning-active #main{overflow:auto!important}}
.client-learning-active #qtop [data-bureau-onboarding]{display:none!important}
@media(max-width:768px){body.client-learning-active #qm-page-header>button{width:44px;min-width:44px;height:44px;min-height:44px;flex-shrink:0}}
