/* ============================================================
   Sabea Broker Portal — Workflow / Kanban Module
   Scoped under .wf-* to avoid clashing.
   Trello-style layout; Sabea navy/gold/cream palette.
   ============================================================ */

/* -------- Label colour palette (Trello-style with Sabea addons) -------- */
:root {
  --wf-red:    #EB5A46;
  --wf-orange: #FF9F1A;
  --wf-yellow: #F2D600;
  --wf-green:  #61BD4F;
  --wf-blue:   #0079BF;
  --wf-purple: #C377E0;
  --wf-navy:   #12153D;
  --wf-gold:   #C9A84C;

  --wf-red-soft:    #F7DCD9;
  --wf-orange-soft: #FCE7CF;
  --wf-yellow-soft: #FAF3BF;
  --wf-green-soft:  #D6EAD9;
  --wf-blue-soft:   #D9E9F3;
  --wf-purple-soft: #EDDEF6;
  --wf-navy-soft:   #DCDFEC;
  --wf-gold-soft:   #EFE3BD;
}

/* ============================================================
   BOARDS LANDING (list of boards)
   ============================================================ */
.wf-landing {
  padding: 4px 0;
}
.wf-landing-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 20px; flex-wrap: wrap;
}
.wf-landing-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.wf-landing-sub {
  font-size: 13px; color: var(--mu); margin-top: 4px;
}

.wf-section-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--mu); margin: 24px 0 12px;
}

.wf-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.wf-board-tile {
  position: relative;
  border-radius: 12px;
  padding: 0; height: 110px;
  cursor: pointer; overflow: hidden;
  transition: transform .12s, box-shadow .12s;
  border: 1.5px solid transparent;
}
.wf-board-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18,21,61,.15);
}
.wf-board-tile-cover {
  position: absolute; inset: 0;
}
.wf-board-tile-cover.navy   { background: linear-gradient(135deg, #12153D, #262a6a); }
.wf-board-tile-cover.gold   { background: linear-gradient(135deg, #C9A84C, #b38a28); }
.wf-board-tile-cover.cream  { background: linear-gradient(135deg, #FBF7EE, #E8D9AE); }
.wf-board-tile-cover.red    { background: linear-gradient(135deg, #EB5A46, #a13428); }
.wf-board-tile-cover.green  { background: linear-gradient(135deg, #61BD4F, #3c8c2c); }
.wf-board-tile-cover.purple { background: linear-gradient(135deg, #C377E0, #8a4bae); }
.wf-board-tile-cover.blue   { background: linear-gradient(135deg, #0079BF, #004a82); }

.wf-board-tile-content {
  position: relative; z-index: 1;
  padding: 14px 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%;
}
.wf-board-tile-cover.cream ~ .wf-board-tile-content,
.wf-board-tile-cover.gold  ~ .wf-board-tile-content {
  color: var(--navy);
}
.wf-board-tile-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 17px; line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.wf-board-tile-cover.cream ~ .wf-board-tile-content .wf-board-tile-title,
.wf-board-tile-cover.gold  ~ .wf-board-tile-content .wf-board-tile-title { text-shadow: none; }

.wf-board-tile-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; opacity: .85;
}

.wf-board-tile-create {
  background: var(--bg); border: 2px dashed var(--br);
  display: flex; align-items: center; justify-content: center;
  color: var(--mu); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: .15s;
}
.wf-board-tile-create:hover {
  border-color: var(--gold); color: var(--navy); background: #fff;
}

/* ============================================================
   BOARD VIEW (the actual kanban)
   ============================================================ */
.wf-board {
  display: flex; flex-direction: column;
  height: calc(100vh - 120px);
  margin: -20px -24px -24px;             /* escape the default panel padding */
  padding: 0;
  background-size: cover; background-position: center;
}
.wf-board.cover-navy   { background: #12153D; }
.wf-board.cover-gold   { background: #C9A84C; }
.wf-board.cover-cream  { background: #FBF7EE; }
.wf-board.cover-red    { background: #EB5A46; }
.wf-board.cover-green  { background: #61BD4F; }
.wf-board.cover-purple { background: #C377E0; }
.wf-board.cover-blue   { background: #0079BF; }

.wf-board-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: rgba(0,0,0,.18); backdrop-filter: blur(6px);
  color: #fff; flex-wrap: wrap;
}
.wf-board.cover-cream .wf-board-header,
.wf-board.cover-gold  .wf-board-header {
  background: rgba(255,255,255,.4); color: var(--navy);
}
.wf-board-back {
  background: rgba(255,255,255,.15); border: 0; color: inherit;
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
  transition: .15s;
}
.wf-board-back:hover { background: rgba(255,255,255,.25); }
.wf-board-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  border: 0; background: transparent; color: inherit;
  padding: 4px 8px; border-radius: 4px;
  min-width: 100px; max-width: 400px;
}
.wf-board-title:hover { background: rgba(255,255,255,.15); }
.wf-board-title:focus { outline: 0; background: rgba(255,255,255,.2); }

.wf-board-members {
  display: flex; align-items: center; gap: -4px;
}
.wf-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
  border: 2px solid #fff;
  margin-left: -6px;
  transition: transform .1s;
}
.wf-avatar:first-child { margin-left: 0; }
.wf-avatar:hover { transform: translateY(-2px); z-index: 2; }
.wf-avatar-more {
  background: rgba(255,255,255,.25); color: #fff;
  border-color: rgba(255,255,255,.5);
}
.wf-avatar-add {
  background: transparent; color: inherit;
  border-style: dashed; cursor: pointer;
}
.wf-avatar-add:hover { background: rgba(255,255,255,.2); }

.wf-board-actions { margin-left: auto; display: flex; gap: 8px; }
.wf-btn-icon {
  background: rgba(255,255,255,.15); border: 0; color: inherit;
  width: 32px; height: 32px; border-radius: 6px; cursor: pointer;
  font-size: 16px; display: inline-grid; place-items: center;
  transition: .15s;
}
.wf-btn-icon:hover { background: rgba(255,255,255,.28); }

/* -------- Columns area (horizontal scroll) -------- */
.wf-lists-area {
  flex: 1; overflow-x: auto; overflow-y: hidden;
  padding: 14px 12px;
  display: flex; align-items: flex-start; gap: 10px;
}

.wf-list {
  background: #EBECF0;
  border-radius: 12px;
  width: 288px; flex-shrink: 0;
  max-height: calc(100vh - 200px);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}

.wf-list-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 4px;
}
.wf-list-title {
  flex: 1; font-weight: 600; font-size: 14px;
  color: var(--navy);
  border: 0; background: transparent; font-family: inherit;
  padding: 4px 6px; border-radius: 4px;
  min-width: 0;
}
.wf-list-title:hover { background: rgba(0,0,0,.08); }
.wf-list-title:focus { outline: 2px solid var(--gold); outline-offset: 0; background: #fff; }
.wf-list-menu {
  background: transparent; border: 0; color: var(--mu);
  width: 26px; height: 26px; border-radius: 4px; cursor: pointer;
  font-size: 16px; flex: none;
}
.wf-list-menu:hover { background: rgba(0,0,0,.08); color: var(--navy); }

.wf-list-cards {
  flex: 1; overflow-y: auto;
  padding: 4px 8px 8px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 4px;
}
.wf-list-cards.drop-target {
  background: rgba(201,168,76,.22);
}

.wf-list-foot {
  padding: 4px 8px 8px;
}
.wf-add-card-btn {
  width: 100%; padding: 8px 10px;
  background: transparent; border: 0; border-radius: 6px;
  color: var(--mu); cursor: pointer; font-family: inherit;
  font-size: 13px; text-align: left;
  transition: background .12s;
}
.wf-add-card-btn:hover { background: rgba(0,0,0,.08); color: var(--navy); }

.wf-add-card-form {
  padding: 0 4px;
}
.wf-add-card-form textarea {
  width: 100%; border: 0; border-radius: 6px;
  padding: 10px 12px; font-family: inherit; font-size: 14px;
  background: #fff; color: var(--navy);
  resize: none; min-height: 54px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.wf-add-card-form textarea:focus { outline: 2px solid var(--gold); }
.wf-add-card-actions {
  display: flex; gap: 6px; margin-top: 6px;
}
.wf-btn-primary {
  background: var(--navy); color: #fff; border: 0; border-radius: 6px;
  padding: 7px 14px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600;
}
.wf-btn-primary:hover { background: #1a1e4a; }
.wf-btn-ghost {
  background: transparent; border: 0; color: var(--mu);
  padding: 7px 10px; cursor: pointer; font-family: inherit;
  font-size: 13px; border-radius: 6px;
}
.wf-btn-ghost:hover { background: rgba(0,0,0,.08); color: var(--navy); }

/* -------- Card tile -------- */
.wf-card {
  background: #fff; border-radius: 6px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(9,30,66,.25);
  transition: background .12s, transform .08s;
  overflow: hidden;
}
.wf-card:hover { background: #F9FAFB; }
.wf-card.dragging { opacity: .4; transform: rotate(3deg); }

.wf-card-cover {
  height: 8px;
}
.wf-card-cover.red    { background: var(--wf-red); }
.wf-card-cover.orange { background: var(--wf-orange); }
.wf-card-cover.yellow { background: var(--wf-yellow); }
.wf-card-cover.green  { background: var(--wf-green); }
.wf-card-cover.blue   { background: var(--wf-blue); }
.wf-card-cover.purple { background: var(--wf-purple); }
.wf-card-cover.navy   { background: var(--wf-navy); }
.wf-card-cover.gold   { background: var(--wf-gold); }

.wf-card-body { padding: 8px 10px 10px; }

.wf-card-labels {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px;
}
.wf-label {
  display: inline-block; height: 8px; min-width: 40px;
  border-radius: 4px;
}
.wf-label.has-text {
  height: auto; padding: 2px 8px;
  font-size: 11px; font-weight: 600; color: #fff;
  line-height: 1.3;
}
.wf-label.red,    .wf-card-labels .red    { background: var(--wf-red); }
.wf-label.orange, .wf-card-labels .orange { background: var(--wf-orange); color: var(--navy); }
.wf-label.yellow, .wf-card-labels .yellow { background: var(--wf-yellow); color: var(--navy); }
.wf-label.green,  .wf-card-labels .green  { background: var(--wf-green); }
.wf-label.blue,   .wf-card-labels .blue   { background: var(--wf-blue); }
.wf-label.purple, .wf-card-labels .purple { background: var(--wf-purple); }
.wf-label.navy,   .wf-card-labels .navy   { background: var(--wf-navy); }
.wf-label.gold,   .wf-card-labels .gold   { background: var(--wf-gold); color: var(--navy); }

.wf-card-title {
  font-size: 14px; line-height: 1.35; color: var(--navy);
  word-wrap: break-word;
}

.wf-card-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px;
  font-size: 11px; color: var(--mu); align-items: center;
}
.wf-card-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 6px; border-radius: 4px;
}
.wf-card-badge.due-today     { background: var(--wf-yellow-soft); color: #8A6D00; font-weight: 600; }
.wf-card-badge.due-overdue   { background: var(--wf-red-soft);    color: #B3261E; font-weight: 700; }
.wf-card-badge.due-completed { background: var(--wf-green-soft);  color: #1E7D53; font-weight: 600; }

.wf-card-assignees {
  display: flex; gap: -4px; margin-left: auto;
}
.wf-card-assignees .wf-avatar {
  width: 22px; height: 22px; font-size: 10px; border-width: 1.5px;
  margin-left: -4px;
}
.wf-card-assignees .wf-avatar:first-child { margin-left: 0; }

/* ============================================================
   CARD DETAIL DRAWER
   ============================================================ */
.wf-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.wf-drawer[aria-hidden="false"] { pointer-events: auto; }
.wf-drawer-backdrop {
  position: absolute; inset: 0; background: rgba(18,21,61,.55);
  opacity: 0; transition: opacity .2s;
}
.wf-drawer[aria-hidden="false"] .wf-drawer-backdrop { opacity: 1; }
.wf-drawer-panel {
  position: absolute; top: 20px; bottom: 20px;
  left: 50%; transform: translateX(-50%) scale(.95);
  width: 768px; max-width: calc(100vw - 32px);
  background: var(--bg);
  border-radius: 14px;
  box-shadow: 0 40px 80px rgba(18,21,61,.45);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.wf-drawer[aria-hidden="false"] .wf-drawer-panel {
  transform: translateX(-50%) scale(1); opacity: 1;
}

.wf-card-cover-full {
  height: 80px; position: relative;
}
.wf-card-cover-full.red    { background: var(--wf-red); }
.wf-card-cover-full.orange { background: var(--wf-orange); }
.wf-card-cover-full.yellow { background: var(--wf-yellow); }
.wf-card-cover-full.green  { background: var(--wf-green); }
.wf-card-cover-full.blue   { background: var(--wf-blue); }
.wf-card-cover-full.purple { background: var(--wf-purple); }
.wf-card-cover-full.navy   { background: var(--wf-navy); }
.wf-card-cover-full.gold   { background: var(--wf-gold); }

.wf-card-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 24px 10px;
}
.wf-card-title-full {
  flex: 1; font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--navy);
  border: 0; background: transparent;
  padding: 4px 8px; border-radius: 4px; margin: -4px -8px;
  line-height: 1.3;
}
.wf-card-title-full:hover { background: rgba(0,0,0,.04); }
.wf-card-title-full:focus { outline: 2px solid var(--gold); background: #fff; }
.wf-card-meta-sub {
  font-size: 12px; color: var(--mu); margin-top: 4px; margin-left: -8px; padding-left: 8px;
}
.wf-card-close {
  background: transparent; border: 0; color: var(--mu);
  width: 32px; height: 32px; border-radius: 6px;
  cursor: pointer; font-size: 18px; flex: none;
}
.wf-card-close:hover { background: rgba(0,0,0,.08); color: var(--navy); }

.wf-card-body-full {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 180px; gap: 24px;
  padding: 0 24px 24px;
}
@media (max-width: 700px) {
  .wf-card-body-full { grid-template-columns: 1fr; }
}

.wf-card-main {}
.wf-card-side {}

.wf-section {
  margin-bottom: 20px;
}
.wf-section-title {
  font-size: 13px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.wf-section-title .icon { color: var(--mu); }

.wf-desc-textarea {
  width: 100%; min-height: 80px;
  border: 1.5px solid var(--br); border-radius: 8px;
  padding: 10px 12px; font-family: inherit; font-size: 13px;
  background: #fff; color: var(--navy); resize: vertical;
  line-height: 1.5;
}
.wf-desc-textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.wf-desc-display {
  background: rgba(0,0,0,.03); padding: 10px 14px;
  border-radius: 8px; min-height: 40px; font-size: 13px;
  color: var(--navy); line-height: 1.5;
  cursor: pointer;
  white-space: pre-wrap; word-break: break-word;
}
.wf-desc-display:hover { background: rgba(0,0,0,.06); }
.wf-desc-display.empty { color: var(--mu); font-style: italic; }

/* Side panel */
.wf-side-section {
  background: #fff; border: 1.5px solid var(--br);
  border-radius: 8px; padding: 10px 12px; margin-bottom: 10px;
}
.wf-side-section-title {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--mu); margin-bottom: 8px;
}
.wf-side-btn {
  width: 100%; padding: 8px 10px;
  background: #fff; border: 1.5px solid var(--br);
  border-radius: 6px; color: var(--navy);
  cursor: pointer; font-family: inherit; font-size: 12px;
  font-weight: 500; text-align: left;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
  transition: .1s;
}
.wf-side-btn:hover { background: var(--bg); border-color: var(--gold); }
.wf-side-btn .icon { color: var(--mu); flex: none; }

/* Checklists */
.wf-checklist { margin-bottom: 16px; }
.wf-checklist-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.wf-checklist-title {
  flex: 1; font-weight: 600; color: var(--navy);
  border: 0; background: transparent; font-family: inherit;
  font-size: 14px; padding: 4px 6px; border-radius: 4px;
  margin: -4px -6px;
}
.wf-checklist-title:hover { background: rgba(0,0,0,.04); }
.wf-checklist-title:focus { outline: 2px solid var(--gold); background: #fff; }
.wf-checklist-progress {
  height: 8px; background: var(--br); border-radius: 4px;
  margin-bottom: 10px; overflow: hidden;
}
.wf-checklist-progress-fill {
  height: 100%; background: var(--wf-green);
  transition: width .2s;
}
.wf-checklist-progress-fill.complete { background: var(--wf-green); }
.wf-checklist-items { display: flex; flex-direction: column; gap: 2px; }

.wf-cli {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 6px; border-radius: 6px;
  transition: background .1s;
}
.wf-cli:hover { background: rgba(0,0,0,.04); }
.wf-cli input[type="checkbox"] { margin-top: 3px; flex: none; cursor: pointer; }
.wf-cli-text {
  flex: 1; font-size: 13px; color: var(--navy); line-height: 1.4;
  word-break: break-word;
}
.wf-cli.done .wf-cli-text { text-decoration: line-through; color: var(--mu); }
.wf-cli-delete {
  opacity: 0; background: transparent; border: 0; cursor: pointer;
  color: var(--mu); font-size: 14px;
}
.wf-cli:hover .wf-cli-delete { opacity: 1; }

.wf-cli-add {
  padding: 6px 6px;
}
.wf-cli-add input {
  width: 100%; border: 1.5px solid var(--br); border-radius: 6px;
  padding: 7px 10px; font-family: inherit; font-size: 13px;
  background: #fff; color: var(--navy);
}
.wf-cli-add input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* Comments / activity */
.wf-comment-form {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.wf-comment-form .wf-avatar { flex: none; }
.wf-comment-form textarea {
  flex: 1; border: 1.5px solid var(--br); border-radius: 8px;
  padding: 8px 10px; font-family: inherit; font-size: 13px;
  background: #fff; color: var(--navy); min-height: 36px; resize: vertical;
}
.wf-comment-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

.wf-comment {
  display: flex; gap: 10px; margin-bottom: 12px;
}
.wf-comment-body { flex: 1; }
.wf-comment-meta {
  font-size: 12px; color: var(--mu); margin-bottom: 2px;
}
.wf-comment-meta strong { color: var(--navy); margin-right: 8px; }
.wf-comment-content {
  background: #fff; border: 1.5px solid var(--br);
  border-radius: 8px; padding: 8px 12px;
  font-size: 13px; color: var(--navy); line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.wf-comment.system .wf-comment-content {
  background: transparent; border: 0; padding: 2px 0;
  font-size: 12px; color: var(--mu);
}

/* Popovers */
.wf-popover {
  position: fixed; z-index: 120;
  background: #fff; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(18,21,61,.28);
  min-width: 240px; max-width: 320px; padding: 10px;
  border: 1px solid var(--br);
}
.wf-pop-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--br); padding-bottom: 8px; margin-bottom: 8px;
}
.wf-pop-title {
  font-weight: 600; font-size: 13px; color: var(--navy);
}
.wf-pop-close {
  background: transparent; border: 0; cursor: pointer;
  color: var(--mu); font-size: 16px; padding: 2px 6px; border-radius: 4px;
}
.wf-pop-close:hover { background: rgba(0,0,0,.05); }

.wf-pop-item {
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--navy);
}
.wf-pop-item:hover { background: var(--bg); }
.wf-pop-item.active { background: var(--wf-navy-soft); font-weight: 600; }

.wf-pop-swatches {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.wf-pop-swatch {
  height: 32px; border-radius: 6px; cursor: pointer; border: 0;
  transition: transform .1s;
}
.wf-pop-swatch:hover { transform: scale(1.05); }
.wf-pop-swatch.selected { outline: 3px solid var(--gold); outline-offset: 2px; }

.wf-pop-label-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px; border-radius: 6px; cursor: pointer;
}
.wf-pop-label-row:hover { background: var(--bg); }
.wf-pop-label-row input[type="checkbox"] { flex: none; cursor: pointer; }
.wf-pop-label-swatch { flex: 1; height: 26px; border-radius: 4px; padding: 4px 8px; color: #fff; font-size: 12px; font-weight: 600; }

/* Modal (for create-board etc.) */
.wf-modal {
  position: fixed; inset: 0; z-index: 95; display: flex;
  align-items: center; justify-content: center;
}
.wf-modal-backdrop {
  position: absolute; inset: 0; background: rgba(18,21,61,.5);
}
.wf-modal-panel {
  position: relative; background: var(--bg);
  border-radius: 14px; box-shadow: 0 30px 60px rgba(18,21,61,.35);
  width: 480px; max-width: calc(100vw - 32px);
  overflow: hidden;
}
.wf-modal-head {
  padding: 18px 24px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.wf-modal-head h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  margin: 0; font-size: 18px;
}
.wf-modal-body { padding: 20px 24px; }
.wf-modal-foot {
  padding: 12px 24px; background: #fff; border-top: 1.5px solid var(--br);
  display: flex; gap: 8px; justify-content: flex-end;
}
.wf-field { margin-bottom: 14px; }
.wf-field label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--mu); margin-bottom: 5px;
}
.wf-field input, .wf-field textarea, .wf-field select {
  width: 100%; font-family: inherit; font-size: 14px;
  border: 1.5px solid var(--br); border-radius: 8px;
  padding: 9px 12px; background: #fff; color: var(--navy);
}
.wf-field input:focus, .wf-field textarea:focus, .wf-field select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}

.wf-muted { color: var(--mu); font-size: 12px; }
.wf-empty {
  text-align: center; padding: 64px 24px;
  background: #fff; border: 1.5px dashed var(--br); border-radius: 12px;
  color: var(--mu);
}
.wf-empty strong { color: var(--navy); }
