/* Stage 2 Clean Blueprint — v1.6.34 */
.stage2-cb{display:grid;gap:12px;padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a;font-size:14px}
.stage2-cb button,.stage2-cb a{transition:background-color .15s,border-color .15s,color .15s;outline:none}.stage2-cb button:focus-visible,.stage2-cb a:focus-visible{box-shadow:0 0 0 1px #64748b}
.stage2-cb-hotel{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;box-shadow:0 1px 3px #0f172a14}.stage2-cb-hotel>img{width:52px;height:52px;border:1px solid #cbd5e1;border-radius:5px;object-fit:cover}.stage2-cb-hotel-copy{min-width:0}.stage2-cb-hotel h2{overflow:hidden;margin:0;color:#0f172a;font-size:14px;font-weight:700;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.stage2-cb-hotel p{overflow:hidden;margin:4px 0 0;color:#475569;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.stage2-cb-hotel footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:0;margin-top:8px;padding:8px 0 0;border-top:1px solid #e2e8f0;background:transparent;color:#334155;font-size:12px;letter-spacing:normal}.stage2-cb-hotel footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage2-cb-hotel footer a{flex:0 0 auto;color:#075985;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.stage2-cb-summary,.stage2-cb-actions,.stage2-cb-folders,.stage2-cb-folder{padding:12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.stage2-cb-summary h3,.stage2-cb-actions h3,.stage2-cb-folders h3,.stage2-cb-folder h3{margin:0;color:#0f172a;font-size:14px;font-weight:650;line-height:1.25}
.stage2-cb-summary>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:8px}.stage2-cb-summary article{min-width:0}.stage2-cb-summary article>span{display:block;color:#334155;font-size:12px;font-weight:650}.stage2-cb-summary article>p{margin:4px 0;color:#64748b;font-size:12px;line-height:1.2}.stage2-cb-summary strong,.stage2-cb-summary b{margin-right:3px;color:#0f172a;font-size:20px;line-height:1;font-weight:750}.stage2-cb-summary b{margin-left:8px;color:#64748b}.stage2-cb-summary b.has-progress{color:#15803d}.stage2-cb-summary article>i,.stage2-cb-folder-grid article>i{display:block;overflow:hidden;height:4px;border-radius:999px;background:#e2e8f0}.stage2-cb-summary article>i>span,.stage2-cb-folder-grid article>i>span{display:block;height:100%;background:#2f8f68}
.stage2-cb-actions>header{display:flex;align-items:center;gap:8px;padding:0 0 4px;border:0}.stage2-cb-actions>header span{color:#64748b;font-size:11px}.stage2-cb-actions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.stage2-cb-actions>p{margin:4px 0 0;color:#64748b;font-size:12px}.stage2-cb-actions button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:4px 8px;border:0;border-bottom:1px solid #e2e8f0;background:#fff;color:#334155;font-size:12px;text-align:left}.stage2-cb-actions button:hover{background:#f1f5f9}.stage2-cb-actions button.critical span{color:#b91c1c}.stage2-cb-actions button.warning span{color:#a16207}
.stage2-cb-folders>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.stage2-cb-folders>header p{margin:2px 0 0;color:#64748b;font-size:12px;line-height:1.2}.stage2-cb-toggle{display:flex;flex:0 0 auto;height:32px;padding:2px;border:1px solid #cbd5e1;border-radius:5px;background:#f1f5f9}.stage2-cb-toggle button{height:26px;padding:0 10px;border:0;border-radius:3px;background:transparent;color:#475569;font-size:11px;font-weight:650}.stage2-cb-toggle button:hover{background:#e2e8f0}.stage2-cb-toggle button.active{background:#0f172a;color:#fff}
.stage2-cb-folder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stage2-cb-folder-grid article{position:relative;display:flex;min-height:148px;flex-direction:column;padding:12px;border:1px solid #cbd5e1;border-radius:5px;background:#fff}.stage2-cb-folder-grid article:hover{background:#f8fafc}.stage2-cb-folder-grid article.selected{border-color:#64748b;box-shadow:0 0 0 1px #cbd5e1}.stage2-cb-folder-icon{position:absolute;top:10px;right:10px;color:#0369a1;font-size:14px}.stage2-cb-folder-grid small{padding-right:22px;color:#64748b;font-size:10px;font-weight:700;line-height:1.15;letter-spacing:.04em;text-transform:uppercase}.stage2-cb-folder-grid h4{min-height:32px;margin:4px 20px 0 0;color:#0f172a;font-size:12px;font-weight:650;line-height:1.25}.stage2-cb-folder-grid p{margin:8px 0 4px;color:#475569;font-size:11px;line-height:1.2}.stage2-cb-folder-grid p strong{color:#15803d}.stage2-cb-folder-grid em{margin-bottom:6px;color:#b91c1c;font-size:11px;font-style:normal}.stage2-cb-folder-grid em.complete{color:#15803d}.stage2-cb-folder-grid article>button{height:32px;margin-top:auto;padding:0 8px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#334155;font-size:11px;font-weight:650}.stage2-cb-folder-grid article>button:hover{background:#f1f5f9}
.stage2-cb-folder>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.stage2-cb-folder>header>div:first-child>span{display:block;color:#075985;font-size:10px;font-weight:700;letter-spacing:.05em}.stage2-cb-folder h3{margin-top:2px}.stage2-cb-email{display:flex;align-items:center;gap:8px;color:#475569;font-size:11px}.stage2-cb-email strong{color:#0f172a}.stage2-cb-email button{height:30px;padding:0 8px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#334155;font-size:11px;font-weight:650}.stage2-cb-email button:hover{background:#f1f5f9}
.stage2-cb-tabs{display:flex;align-items:end;margin-top:8px;border-bottom:1px solid #cbd5e1}.stage2-cb-tabs button{display:flex;align-items:center;gap:7px;height:32px;padding:0 10px;border:1px solid #cbd5e1;border-bottom:0;background:#f1f5f9;color:#475569;font-size:11px;font-weight:650}.stage2-cb-tabs button+button{margin-left:-1px}.stage2-cb-tabs button.active{position:relative;z-index:1;background:#fff;color:#0f172a}.stage2-cb-tabs button span{min-width:18px;padding:1px 5px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:10px;text-align:center}.stage2-cb-tabs button.active span{background:#0f172a;color:#fff}
.stage2-cb-table-wrap{overflow:auto;border:1px solid #cbd5e1;border-top:0;border-radius:0 0 5px 5px}.stage2-cb-table{width:100%;min-width:940px;border-collapse:collapse;table-layout:fixed;color:#0f172a;font-size:12px}.stage2-cb-table th{height:32px;padding:6px 10px;border-bottom:1px solid #cbd5e1;background:#f8fafc;color:#475569;font-size:11px;font-weight:700;text-align:left}.stage2-cb-table th:nth-child(1){width:29%}.stage2-cb-table th:nth-child(2){width:15%}.stage2-cb-table th:nth-child(3){width:10%}.stage2-cb-table th:nth-child(4){width:10%}.stage2-cb-table th:nth-child(5){width:23%}.stage2-cb-table th:nth-child(6){width:13%}.stage2-cb-table td{height:42px;padding:7px 10px;border-bottom:1px solid #e2e8f0;vertical-align:middle}.stage2-cb-table tbody tr:hover{background:#f8fafc}.stage2-cb-table tr.child td:first-child{padding-left:24px}.stage2-cb-table td:first-child>button{display:block;overflow:hidden;width:100%;padding:0;border:0;background:transparent;color:#0f172a;font-size:12px;font-weight:600;text-align:left;text-overflow:ellipsis;white-space:nowrap}.stage2-cb-table td:first-child>button:hover{text-decoration:underline}.stage2-cb-table td:first-child small{display:block;margin-top:2px;color:#64748b;font-size:10px;line-height:1.15}
.stage2-cb .document-status-pill{display:inline-flex;align-items:center;min-height:0;padding:2px 7px;border-radius:4px;font-size:11px;font-weight:650;line-height:1.2}.stage2-cb .document-status-pill.pending{border:1px solid #e2e8f0;background:#f1f5f9;color:#475569}.stage2-cb .document-status-pill.registered{border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d}.stage2-cb-attention{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;color:#b91c1c;font-size:10px;line-height:1}.stage2-cb-code{color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.stage2-cb-qas{display:block;width:100%;padding:4px 6px;border:0;border-radius:4px;color:#475569;font-size:11px;line-height:1.2;text-align:left}.stage2-cb-qas.info{background:#f1f5f9}.stage2-cb-qas.warning{border:1px solid #fde68a;background:#fffbeb;color:#a16207}.stage2-cb-qas.critical{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}.stage2-cb-no-qas{color:#94a3b8}
.stage2-cb-table td:last-child>div{display:flex;justify-content:flex-end;gap:4px}.stage2-cb-primary-action,.stage2-cb-detail-action{height:30px;padding:0 8px;border:1px solid #0f172a;border-radius:4px;background:#0f172a;color:#fff;font-size:10px;font-weight:650}.stage2-cb-primary-action:hover{background:#1e293b}.stage2-cb-primary-action.secondary,.stage2-cb-detail-action{border-color:#cbd5e1;background:#fff;color:#334155}.stage2-cb-primary-action.secondary:hover,.stage2-cb-detail-action:hover{background:#f1f5f9}.stage2-cb-empty{height:72px!important;color:#94a3b8;text-align:center}
@media(max-width:1100px){.stage2-cb-folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stage2-cb-folders>header{align-items:flex-start;flex-direction:column}.stage2-cb-toggle{width:100%}.stage2-cb-toggle button{flex:1}}
@media(max-width:760px){.stage2-cb{padding:8px}.stage2-cb-summary>div,.stage2-cb-actions>div{grid-template-columns:1fr}.stage2-cb-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage2-cb-hotel footer,.stage2-cb-folder>header{align-items:flex-start;flex-direction:column}.stage2-cb-email{width:100%;justify-content:space-between}}
@media(max-width:480px){.stage2-cb-folder-grid{grid-template-columns:1fr}.stage2-cb-hotel{grid-template-columns:44px minmax(0,1fr)}.stage2-cb-hotel>img{width:44px;height:44px}.stage2-cb-toggle{height:auto;flex-direction:column}.stage2-cb-toggle button{width:100%}}

/* Σ-6: semantic dark overrides inside the isolated WordPress portal. */
.hc-app.dark .stage2-cb{border-color:var(--border);background:var(--background);color:var(--foreground)}
.hc-app.dark .stage2-cb-hotel,.hc-app.dark .stage2-cb-summary,.hc-app.dark .stage2-cb-actions,.hc-app.dark .stage2-cb-folders,.hc-app.dark .stage2-cb-folder,.hc-app.dark .stage2-cb-folder-grid article{border-color:var(--border);background:var(--card);color:var(--foreground)}
.hc-app.dark .stage2-cb h2,.hc-app.dark .stage2-cb h3,.hc-app.dark .stage2-cb h4,.hc-app.dark .stage2-cb strong,.hc-app.dark .stage2-cb-email strong,.hc-app.dark .stage2-cb-table,.hc-app.dark .stage2-cb-table td:first-child>button{color:var(--foreground)}
.hc-app.dark .stage2-cb p,.hc-app.dark .stage2-cb small,.hc-app.dark .stage2-cb footer,.hc-app.dark .stage2-cb-email,.hc-app.dark .stage2-cb-table th,.hc-app.dark .stage2-cb-table td:first-child small{color:var(--muted-foreground)}
.hc-app.dark .stage2-cb-actions button,.hc-app.dark .stage2-cb-folder-grid article>button,.hc-app.dark .stage2-cb-email button,.hc-app.dark .stage2-cb-tabs button.active,.hc-app.dark .stage2-cb-primary-action.secondary,.hc-app.dark .stage2-cb-detail-action{border-color:var(--border);background:var(--card);color:var(--foreground)}
.hc-app.dark .stage2-cb-actions button:hover,.hc-app.dark .stage2-cb-folder-grid article:hover,.hc-app.dark .stage2-cb-folder-grid article>button:hover,.hc-app.dark .stage2-cb-email button:hover,.hc-app.dark .stage2-cb-primary-action.secondary:hover,.hc-app.dark .stage2-cb-detail-action:hover,.hc-app.dark .stage2-cb-table tbody tr:hover{background:var(--muted)}
.hc-app.dark .stage2-cb-toggle,.hc-app.dark .stage2-cb-tabs button,.hc-app.dark .stage2-cb-table th,.hc-app.dark .stage2-cb-qas.info,.hc-app.dark .stage2-cb .document-status-pill.pending{border-color:var(--border);background:var(--muted);color:var(--muted-foreground)}
.hc-app.dark .stage2-cb-table-wrap,.hc-app.dark .stage2-cb-table td,.hc-app.dark .stage2-cb-tabs,.hc-app.dark .stage2-cb-actions button{border-color:var(--border)}
