/* 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: 0; border-radius: 14px; box-shadow: 0 1px 2px rgb(35 31 25 / 8%); }
body:has(#smartgov-harness-host) .ant-menu-item-selected .ant-menu-title-content { color: #93442e !important; }
.wb-framebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding: 0 14px 0 18px; flex-shrink: 0; border-bottom: 1px solid var(--sg-border); background: var(--sg-surface); 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: 30px; background: none; border: 1px solid transparent; border-radius: 8px; padding: 0 8px; color: var(--sg-muted); font: inherit; cursor: pointer; text-decoration: none; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.wb-framebar button:hover, .wb-framebar a:hover { border-color: var(--sg-border); background: var(--sg-subtle); color: var(--sg-text); }
.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: 30px; display: flex; align-items: center; cursor: pointer; color: var(--sg-muted); }
.wb-storage summary:hover { color: var(--sg-text); }
.wb-framebar { flex-wrap: wrap; padding-block: 4px; gap: 4px 12px; font-size: 14px; }
.wb-framebar .wb-area strong { color: var(--sg-text); }
.wb-framebar :is(button, a, summary) { min-height: 36px; border-radius: var(--sg-radius); }
.wb-framebar .wb-upload-file { color: var(--sg-accent); border-color: var(--sg-border); }
.wb-storage[open] summary { color: var(--sg-text); }
.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: 10px; }
  .wb-framebar { padding-inline: 10px; }
  .wb-framebar > div { gap: 4px; }
}
