/* Hallmark · shape: app screen · genre: modern-minimal · theme: brand · redesign: full · v2.0.0
 * nav: shared business shell · signature: complete Harness conversation and workspace · states: loading, error, ready */
/* Hallmark · pre-emit critique: preserve official interactions; remove the duplicate navigation and task form */
#smartgov-harness-host { display: flex; flex-direction: column; width: 100%; height: calc(100dvh - 96px); min-height: 480px; overflow: clip; background: var(--sg-surface); border: 1px solid var(--sg-border); border-radius: 6px; }
.wb-framebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 16px; flex-shrink: 0; border-bottom: 1px solid var(--sg-border); color: var(--sg-muted); font-size: 12px; }
.wb-framebar > div { display: flex; align-items: center; gap: 16px; }
.wb-framebar button, .wb-framebar a { display: inline-flex; align-items: center; min-height: 40px; background: none; border: none; padding: 0; color: var(--sg-muted); font: inherit; cursor: pointer; text-decoration: none; }
.wb-framebar button:hover, .wb-framebar a:hover { color: var(--sg-accent); }
.wb-framebar :is(button, a):active { transform: translateY(1px); }
.wb-frame { display: block; width: 100%; flex: 1; min-height: 0; border: 0; }
.wb-loading { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; max-width: 480px; margin: auto; padding: 32px; color: var(--sg-muted); }
.wb-loading h1 { font-size: 22px; color: var(--sg-text); margin: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.wb-loading p { margin: 0; }
.wb-loading button { min-height: 44px; padding: 0 16px; border: 1px solid var(--sg-border); background: var(--sg-surface); color: var(--sg-accent); border-radius: 4px; cursor: pointer; font: inherit; }
#smartgov-harness-host :is(button, a, summary):focus-visible { outline: 2px solid var(--sg-accent); outline-offset: 3px; }
.wb-storage { position: relative; }
.wb-storage summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; color: var(--sg-muted); }
.wb-storage summary:hover { color: var(--sg-accent); }
.wb-storage[open] summary { color: var(--sg-accent); }
.wb-storage-note { position: absolute; inset: 42px auto auto 0; z-index: 10; width: min(420px, calc(100dvw - 60px)); padding: 16px; border: 1px solid var(--sg-border); border-radius: 6px; background: var(--sg-surface); color: var(--sg-text); line-height: 1.7; }
.wb-storage-note p { margin: 8px 0 0; color: var(--sg-muted); }
.wb-storage-note code { display: block; margin-top: 12px; padding: 8px; overflow-wrap: anywhere; background: var(--sg-sidebar); font-size: 11px; }
@media(max-width: 800px) { #smartgov-harness-host { height: calc(100dvh - 76px); min-height: 360px; border-radius: 0; } .wb-framebar { padding-inline: 12px; } }
