/* Defiant guild site. Styled after the in-game item tooltip: dark glass panels, grey borders, gold headings. */
:root {
  --bg: #0b0b0c;
  --panel: rgba(16, 16, 18, 0.95);
  --panel2: rgba(46, 44, 40, 0.85);
  --steel: #6e6a60;
  --steel-hi: #a8a393;
  --line: #34322d;
  --text: #f2f0ea;
  --muted: #a09c92;
  --gold: #ffd100;
  --gold-dim: #c9a227;
  --parchment: #e6d9b0;
  --good: #1eff00;
  --warn: #ffd100;
  --bad: #ff4a4a;
  --font-ui: 'Friz Quadrata TT', 'Friz Quadrata', 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-head: 'Cinzel', 'Marcellus', Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.45 var(--font-ui);
  background: var(--bg) radial-gradient(ellipse 90% 60% at 50% -10%, #2b2618 0%, rgba(11, 11, 12, 0) 70%) no-repeat fixed;
  min-height: 100vh;
}
a { color: var(--gold); }
.hidden { display: none !important; }

/* Tooltip-style panel, reused everywhere */
.panel, .tile, .col, .raid, table, .login-box, dialog {
  background: var(--panel);
  border: 2px solid var(--steel);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #000, 0 8px 22px rgba(0, 0, 0, 0.55);
}

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-box { max-width: 520px; width: 100%; padding: 28px 30px 32px; text-align: center; }
.login-logo { width: 100%; max-width: 420px; height: auto; margin-bottom: 6px; }
.login-box p { color: var(--muted); margin: 6px 0 22px; }

/* ---------- header ---------- */
.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  padding: 10px 22px;
  background: linear-gradient(#1c1b18, #0d0d0e);
  border-bottom: 2px solid var(--steel);
  box-shadow: 0 2px 0 #000, 0 8px 20px rgba(0, 0, 0, 0.5);
  position: sticky; top: 0; z-index: 5;
}
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }
nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
nav button {
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); padding: 10px 14px; cursor: pointer;
  font: 600 14px var(--font-head); letter-spacing: 0.05em;
}
nav button:hover { color: var(--gold); }
nav button.on { color: var(--gold); border-bottom-color: var(--gold); text-shadow: 0 0 10px rgba(255, 209, 0, 0.35); }
.top .who { color: var(--muted); }

/* ---------- layout ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 24px 20px 40px; }
h2 {
  margin: 0 0 4px; font: 700 24px var(--font-head); color: var(--gold); letter-spacing: 0.03em;
  text-shadow: 1px 1px 0 #000, 0 0 14px rgba(255, 209, 0, 0.2);
}
h3 {
  margin: 26px 0 10px; font: 700 14px var(--font-head); color: var(--gold-dim);
  text-transform: uppercase; letter-spacing: 0.1em; text-shadow: 1px 1px 0 #000;
  padding-bottom: 6px; border-bottom: 1px solid; border-image: linear-gradient(90deg, var(--gold-dim), transparent) 1;
}
.sub { color: var(--muted); margin: 0 0 16px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; font: 600 14px var(--font-ui);
  color: var(--text); padding: 7px 14px; border-radius: 4px;
  background: linear-gradient(#3b3933, #1e1d1a);
  border: 1px solid #7a7365;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 #000;
}
.btn:hover { color: var(--gold); border-color: var(--gold-dim); }
.btn.primary { background: linear-gradient(#f2c230, #b07f0d); color: #1a1200; border-color: #ffe27a; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.primary:hover { color: #000; filter: brightness(1.12); }
.btn.big { font-size: 16px; padding: 11px 24px; }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.btn.small { padding: 3px 10px; font-size: 12px; }

/* ---------- roster ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tile { padding: 12px 16px; }
.tile .n { font: 700 28px var(--font-head); color: var(--gold); text-shadow: 1px 1px 0 #000; }
.tile .l { color: var(--muted); }
.tile.full { border-color: #2fae1f; }
.tile.full .n { color: var(--good); }
.tile.over { border-color: var(--warn); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.col { padding: 14px; }
.col h4 { margin: 0 0 12px; font: 700 15px var(--font-head); color: var(--gold); letter-spacing: 0.04em; }
.slot {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px;
  background: var(--panel2); border-radius: 4px; border-left: 4px solid var(--c, var(--line));
}
.slot .meta { flex: 1; min-width: 0; }
.slot .nm { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .sm { color: var(--muted); font-size: 13px; }
.slot.open { background: none; border: 1px dashed var(--steel); border-left: 4px dashed var(--steel); color: var(--muted); font-style: italic; }

.cls { color: var(--c); font-weight: 700; text-shadow: 1px 1px 0 #000; }
.pill { display: inline-block; padding: 0 8px; border-radius: 3px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pill.Tank { color: #d6d3c9; } .pill.Healer { color: var(--good); } .pill.Melee { color: #ffb347; } .pill.Ranged { color: #c98bff; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--gold-dim); font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; background: rgba(38, 36, 31, 0.95); }
tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }
.empty { color: var(--muted); padding: 12px 0; font-style: italic; }

/* ---------- forms ---------- */
select, input, textarea {
  background: #0a0a0b; color: var(--text); border: 1px solid var(--steel); border-radius: 4px;
  padding: 6px 8px; font: inherit; max-width: 100%;
}
select:focus, input:focus, textarea:focus { outline: 2px solid var(--gold-dim); outline-offset: -1px; }
textarea { width: 100%; resize: vertical; }

/* ---------- raids ---------- */
.raid { padding: 16px; margin-bottom: 14px; }
.raid.past { opacity: 0.82; }
.raid h4 { margin: 0; font: 700 18px var(--font-head); color: var(--gold); text-shadow: 1px 1px 0 #000; }
.raid .when { color: var(--parchment); }
.counts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; color: var(--muted); }
.counts b { color: var(--text); }
.mysign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mysign .who { min-width: 150px; font-weight: 700; }
.seg { display: inline-flex; border: 1px solid var(--steel); border-radius: 4px; overflow: hidden; }
.seg button { background: #0a0a0b; color: var(--muted); border: 0; padding: 5px 12px; cursor: pointer; font: 600 13px var(--font-ui); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--text); }
.seg button.on[data-v="Available"] { background: var(--good); color: #062100; }
.seg button.on[data-v="Tentative"] { background: var(--warn); color: #231a00; }
.seg button.on[data-v="Out"] { background: var(--bad); color: #2a0000; }

.att-Present { color: var(--good); } .att-Late { color: var(--warn); } .att-Absent { color: var(--bad); } .att-Excused { color: var(--muted); }

/* ---------- dialog and toast ---------- */
dialog { color: var(--text); padding: 24px; width: min(500px, 94vw); }
dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
dialog h3 { margin: 0 0 16px; font: 700 20px var(--font-head); color: var(--gold); text-transform: none; letter-spacing: 0.03em; border: 0; padding: 0; }
.field { margin-bottom: 12px; }
.field label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.field input, .field select { width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #2a0a0a; color: #ffb3b3; border: 2px solid var(--bad); padding: 10px 18px; border-radius: 6px; z-index: 20; }

@media (max-width: 640px) {
  .top { padding: 8px 12px; gap: 6px 12px; }
  .brand img { height: 38px; }
  nav { order: 3; flex: 1 1 100%; }
  .top .who { margin-left: auto; font-size: 13px; }
  nav button { padding: 8px 9px; font-size: 13px; }
  main { padding: 16px 12px 40px; }
}

/* ---------- professions ---------- */
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.row3 input { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold); font: 700 14px var(--font-head); letter-spacing: 0.04em; cursor: pointer; text-align: left; }
.linkbtn:hover { text-decoration: underline; }
tr.sel td { background: rgba(255, 209, 0, 0.06); }
.chip { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 8px; border-radius: 3px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); font: inherit; color: var(--text); cursor: default; }
button.chip { cursor: pointer; }
button.chip:hover { border-color: var(--gold-dim); }
.glance td:first-child { white-space: nowrap; width: 1%; }
.nowrap { white-space: nowrap; }
.profnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.profnav button { background: #0a0a0b; color: var(--muted); border: 1px solid var(--steel); border-radius: 4px; padding: 5px 12px; cursor: pointer; font: 600 13px var(--font-ui); }
.profnav button:hover { color: var(--text); }
.profnav button.on { color: var(--gold); border-color: var(--gold-dim); background: rgba(255, 209, 0, 0.08); }
.cat h3 { margin-top: 18px; }
.dlg-scroll { max-height: 55vh; overflow-y: auto; padding-right: 6px; }
.dcat h3 { margin: 14px 0 6px; font-size: 13px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; }
.chk input { width: auto; }
.toast.ok { background: #1c1a0a; color: var(--gold); border-color: var(--gold-dim); }
input[type=search] { min-width: 200px; }
.chk .sub, .chip .sub, td .sub, .glance .sub { margin: 0; }
.field .row2 + .row2 { margin-top: 8px; }
.row3 .sub { display: block; margin: 0 0 2px; font-size: 13px; }

.gsearch { margin: 0 0 18px; }
.gsearch > input { width: 100%; font-size: 16px; padding: 10px 12px; border-color: var(--gold-dim); }
.gres { padding: 8px 12px; margin-top: 6px; background: var(--panel2); border-radius: 4px; border-left: 4px solid var(--steel); }
.gres.yes { border-left-color: #2fae1f; }
.gres.no { border-left-color: var(--bad); }
.gres .sub { margin: 0; }
.have { color: var(--good); font-weight: 700; }
.none { color: var(--muted); font-style: italic; }

/* Applications */
.tag { display: inline-block; padding: 0 8px; border-radius: 3px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.5); font-size: 12px; color: var(--muted); }
.tag.new { color: #0b0b0c; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.tag.invited { color: var(--good); }
.tag.declined { color: var(--bad); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ro { white-space: pre-wrap; padding: 6px 8px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.note { padding: 6px 8px; margin-bottom: 6px; background: rgba(0, 0, 0, 0.35); border-left: 2px solid var(--gold-dim); white-space: pre-wrap; }
.note.sys { border-left-color: var(--steel); color: var(--muted); font-style: italic; }
.note .sm { color: var(--muted); font-size: 12px; font-style: normal; }
.actions.left { justify-content: flex-start; flex-wrap: wrap; margin: 12px 0; }
.applyform { max-width: 520px; }

/* Raids faded background art */
.raids-bg { position: relative; }
.raids-bg::before {
  content: ''; position: fixed; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 72px; bottom: 0;
  background: url('/raids-bg2.webp') no-repeat center center / cover; opacity: 0.35;
}
.raids-bg .raid { background: rgba(14, 14, 16, 0.78); }
.raids-bg > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .raids-bg::before { background-position: center center; } }

/* Bench faded background art */
.bench-bg { position: relative; }
.bench-bg::before {
  content: ''; position: fixed; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 72px; bottom: 0;
  background: url('/bench-bg2.webp') no-repeat center bottom / cover; opacity: 0.4;
}
.bench-bg table { background: rgba(14, 14, 16, 0.42); }
.bench-bg th { background: rgba(38, 36, 31, 0.6); }
.bench-bg > * { position: relative; z-index: 1; }

/* Professions: collapsible categories and crafters toggle */
.crafters { margin: 4px 0 12px; }
.cat > .scroll { display: none; }
.cat.open > .scroll, .cat.autoopen > .scroll { display: block; }
.cathead { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; margin: 0 0 8px; padding: 8px 10px; cursor: pointer;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 4px; color: var(--gold); font: 700 15px var(--font-head); letter-spacing: 0.04em; }
.cathead:hover { border-color: var(--steel-hi); }
.cathead .sub { margin: 0; font-family: var(--font-ui); font-weight: 400; }
.cathead .arrow::before { content: '\25B8'; display: inline-block; width: 1em; color: var(--steel-hi); }
.cat.open > .cathead .arrow::before, .cat.autoopen > .cathead .arrow::before { content: '\25BE'; }

/* Learn buttons */
.learn.on { border-color: var(--good); color: var(--good); }
.learnrow { margin-top: 6px; }

/* ---------- Talent calculator ---------- */
.tc-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 12px 16px; }
.tc-classes { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tc-classes button { font: inherit; font-family: var(--font-head); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 5px 12px; cursor: pointer; }
.tc-classes button { padding: 2px; width: 44px; height: 44px; line-height: 0; opacity: .6; }
.tc-classes button img { width: 100%; height: 100%; display: block; border-radius: 3px; filter: grayscale(.5); }
.tc-classes button:hover { opacity: 1; }
.tc-classes button.on { opacity: 1; color: var(--cc, #ff7d0a); border-color: var(--cc, #ff7d0a); border-width: 2px; padding: 1px; box-shadow: 0 0 0 1px #000; }
.tc-classes button.on img { filter: none; }
.tc-soon { color: var(--muted); font-size: 12px; font-style: italic; margin-left: 6px; }
.tc-level { display: flex; align-items: center; gap: 6px; }
.tc-level label { color: var(--gold); font-family: var(--font-head); }
.tc-level button { width: 28px; height: 28px; font-size: 18px; line-height: 1; color: var(--text); background: var(--panel2); border: 1px solid var(--steel); border-radius: 4px; cursor: pointer; }
.tc-level input { width: 56px; text-align: center; font: inherit; color: var(--text); background: #0b0b0c; border: 1px solid var(--steel); border-radius: 4px; padding: 4px; }
.tc-points b { color: var(--good); font-size: 20px; font-family: var(--font-head); }
.tc-points b.zero { color: var(--muted); }
.tc-split { color: var(--muted); margin-left: 4px; }
.tc-tools { display: flex; gap: 6px; margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
.tc-tools .btn { padding: 4px 10px; font-size: 13px; }
.tc-tools .btn[disabled] { opacity: .4; cursor: default; }
.tc-help { color: var(--muted); font-size: 13px; margin: 8px 2px 14px; }
.tc-trees { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.tc-tree { background: var(--panel); border: 2px solid var(--steel); border-radius: 6px; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #000, 0 8px 22px rgba(0,0,0,.55); overflow: hidden; max-width: 100%; }
.tc-tree header { display: flex; align-items: baseline; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.tc-tree h3 { margin: 0; font-family: var(--font-head); color: var(--gold); font-size: 17px; }
.tc-spent { color: var(--muted); font-size: 13px; }
.tc-link { margin-left: auto; font: inherit; font-size: 12px; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.tc-link:hover { color: var(--gold); }
.tc-tree .tc-scroll { overflow-x: auto; }
.tc-board { position: relative; background-size: cover; background-position: center; max-width: none; }
.tc-shade { position: absolute; inset: 0; background: rgba(8, 8, 10, .62); }
.tc-talent { position: absolute; width: 46px; height: 46px; border: 2px solid #4a4840; border-radius: 4px; background: #000; cursor: pointer; user-select: none; -webkit-user-select: none; }
.tc-talent img { width: 100%; height: 100%; display: block; border-radius: 2px; }
.tc-talent .tc-rank { position: absolute; right: -6px; bottom: -8px; min-width: 28px; text-align: center; padding: 0 3px; font-size: 12px; line-height: 16px; font-weight: bold; color: var(--text); background: #000; border: 1px solid #4a4840; border-radius: 3px; }
.tc-talent.locked, .tc-talent.nopts { cursor: not-allowed; }
.tc-talent.locked img, .tc-talent.nopts img { filter: grayscale(1) brightness(.55); }
.tc-talent.avail { border-color: var(--good); }
.tc-talent.avail .tc-rank { color: var(--good); border-color: var(--good); }
.tc-talent.part { border-color: var(--good); }
.tc-talent.part .tc-rank { color: var(--good); border-color: var(--good); }
.tc-talent.maxed { border-color: var(--gold); }
.tc-talent.maxed .tc-rank { color: var(--gold); border-color: var(--gold); }
.tc-arrow { position: absolute; width: 6px; background: #5a574d; z-index: 0; }
.tc-arrow.h { height: 6px; width: auto; }
.tc-arrow.on { background: var(--good); }
.tc-gate { position: absolute; left: 3px; font-size: 10px; color: #6e6a60; }
.tc-gate.on { color: var(--gold-dim); }
.tc-tip { position: fixed; z-index: 50; width: 300px; max-width: calc(100vw - 16px); padding: 10px 12px; background: rgba(12, 12, 14, .97); border: 2px solid var(--steel); border-radius: 6px; box-shadow: inset 0 0 0 1px #000, 0 6px 18px rgba(0,0,0,.7); pointer-events: none; font-size: 14px; }
.tt-name { color: var(--text); font-family: var(--font-head); font-size: 16px; }
.tt-rank { color: var(--text); }
.tt-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 14px; }
.tt-form { color: var(--text); }
.tt-desc { color: var(--gold); margin-top: 6px; }
.tt-next { color: var(--text); margin-top: 8px; }
.tt-bad { color: var(--bad); margin-top: 6px; }
.tt-go { color: var(--good); margin-top: 6px; }
@media (max-width: 760px) { .tc-tools { margin-left: 0; } .tc-tree { width: 100%; } .tc-board { margin: 0 auto; } }

/* News tab */
.news-wrap { max-width: 820px; margin: 0 auto; }
.news-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.news-head h2 { margin: 0; font-family: var(--font-head); color: var(--gold); font-size: 22px; }
.news-seg { display: flex; gap: 6px; margin-left: auto; }
.news-seg button { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; cursor: pointer; }
.news-seg button.on { color: var(--gold); border-color: var(--gold-dim); }
.news-item { background: var(--panel); border: 1px solid var(--steel); border-radius: 6px; padding: 12px 16px 14px; margin-bottom: 12px; box-shadow: inset 0 0 0 1px #000; }
.news-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.news-tag { color: var(--gold); border: 1px solid var(--gold-dim); border-radius: 3px; padding: 0 6px; font-size: 11px; }
.news-item h3 { margin: 6px 0 6px; font-family: var(--font-head); color: var(--text); font-size: 17px; }
.news-item p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.news-item .btn { text-decoration: none; display: inline-block; }
.news-src { color: var(--muted); font-size: 12px; margin: 14px 2px; }
.news-src a { color: var(--gold); }
.news-err { color: var(--bad, #e05050); }
.news-head .btn.primary { margin-left: 4px; }
.news-item.guild { border-color: var(--gold-dim); }
.news-item.pinned { box-shadow: inset 0 0 0 1px #000, 0 0 0 1px var(--gold-dim); }
.news-tag.gold { background: rgba(255, 209, 0, .12); }
.news-pin { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.news-body { color: var(--text); font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; overflow-wrap: anywhere; }
.news-body a { color: var(--gold); }
.news-img { display: block; max-width: 100%; height: auto; border-radius: 4px; margin: 8px 0; border: 1px solid var(--steel); }
.news-tools { display: flex; gap: 6px; }

/* Loot tab */
.loot-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.loot-head h2 { margin: 0; }
.loot-seg { margin-left: auto; }
.loot-search input { width: 100%; max-width: 360px; margin: 8px 0 12px; }
.loot-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 12px; }
.loot-filters label { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.clickrow { cursor: pointer; }
.clickrow:hover td { background: rgba(255, 209, 0, .06); }
.pill.main { color: var(--gold); border-color: var(--gold-dim); }
.council-card h3 { margin: 0 0 2px; font-family: var(--font-head); color: var(--gold); }
.council-card h4 { margin: 16px 0 6px; color: var(--gold); font-family: var(--font-head); font-size: 14px; }
.council-card table.mini { width: 100%; font-size: 13px; }
.council-card table.mini td { padding: 3px 8px 3px 0; border: 0; }
.council-card textarea { width: 100%; margin-bottom: 4px; }
.rate-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.rate-form input[name=note] { flex: 1; min-width: 160px; }
.council-card table.mini { border: 0; background: none; box-shadow: none; }
