.fu-workspace { display: grid; gap: 18px; min-width: 0; }
.fu-heading, .fu-toolbar, .fu-readiness { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fu-heading { justify-content: space-between; }
.fu-heading h2, .fu-heading p { margin: 0 0 5px; }
.fu-heading select { max-width: 100%; }
#fu-status { position: sticky; top: 0; z-index: 2; background: var(--surface, #fff); padding: 14px; border: 1px solid #d8dee6; border-radius: 10px; }
#fu-status p { margin: 8px 0 0; }
.fu-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fu-assets > div { padding: 16px; border: 1px solid #dde2e8; border-radius: 10px; display: grid; gap: 6px; overflow-wrap: anywhere; }
.fu-assets > p { grid-column: 1 / -1; margin: 0; color: #657184; }
.fu-assets strong { font-size: 21px; }
.fu-assets small, .fu-assets span { color: #657184; }
.fu-layout { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr); gap: 18px; align-items: start; }
.fu-panel, .fu-period { padding: 20px; border: 1px solid #dde2e8; border-radius: 12px; min-width: 0; background: var(--surface, #fff); }
.fu-panel h3 { margin: 0 0 15px; }
.fu-period { background: #f7f9fc; }
.fu-form-grid { display: grid; gap: 12px; }
.fu-form-grid [hidden] { display: none; }
.fu-form-grid input:not([type=checkbox]), .fu-form-grid select { width: 100%; min-width: 0; }
.fu-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #dde2e8; padding-bottom: 12px; }
.fu-tabs button { padding: 9px; border: 0; border-radius: 6px; background: #f2f4f7; cursor: pointer; }
.fu-tabs button[aria-selected=true] { background: #24364b; color: white; }
.fu-position, .fu-record { border-bottom: 1px solid #e0e5ec; padding: 16px 0; overflow-wrap: anywhere; }
.fu-record { display: grid; gap: 8px; }
.fu-position dl { display: grid; gap: 8px; }
.fu-position dl > div { display: flex; justify-content: space-between; gap: 12px; }
.fu-position dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
.fu-evidence { max-height: 360px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: #f3f5f8; font-size: 12px; }
.fu-market { border-top: 1px solid #dde2e8; margin-top: 16px; padding-top: 8px; overflow-wrap: anywhere; }
.fu-workspace button:focus-visible, .fu-workspace input:focus-visible, .fu-workspace select:focus-visible { outline: 2px solid #2c67a4; outline-offset: 3px; }
.fu-workspace button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 760px) {
  .fu-layout { grid-template-columns: minmax(0, 1fr); }
  .fu-assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fu-panel, .fu-period { padding: 14px; }
  .fu-heading > label { width: 100%; min-width: 0; }
  .fu-heading select { width: 100%; }
  .fu-tabs button { flex: 1 1 80px; }
  .fu-readiness { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) { .fu-assets strong { font-size: 16px; } .fu-assets > div { padding: 10px; } }
