
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/lettertype/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/lettertype/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/lettertype/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/lettertype/poppins-700.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/lettertype/poppins-800.woff2) format("woff2"); }
:root {
  --p: #6A00FF; --pl: #F1E9FF; --pink: #FF007A; --pinkl: #FFE6F2; --or: #FF7A00; --orl: #FFF0E2;
  --gr: #16A34A; --grl: #E3F7EA; --red: #E11D48; --redl: #FFE4EA;
  --bg: #F5F6FA; --card: #FFFFFF; --text: #16131F; --muted: #55526A; --faint: #9693A8;
  --line: #ECEAF2; --line2: #DCD9E6;
  --grad: linear-gradient(115deg, #6A00FF 0%, #B000E0 35%, #FF007A 65%, #FF7A00 100%);
  --r: 18px; --rs: 12px;
  --sh: 0 1px 2px rgba(22,19,31,.04), 0 6px 24px rgba(60,20,120,.06);
  --glow: 0 6px 16px rgba(176,0,224,.25);
  --accent: var(--p); --error: var(--red);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--p); text-decoration: none; }
a:hover, .link:hover { text-decoration: underline; }
h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; margin: 4px 0 16px; }
h2 { font-size: 16px; font-weight: 600; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------ app layout: sidebar + top */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--card); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 20px 14px; overflow-y: auto; z-index: 30; }
.logo { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo b { display: block; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; line-height: 1.2; }
.logo small { display: block; font-size: 8.5px; letter-spacing: .32em; color: var(--muted); font-weight: 600; }
.navh { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  padding: 16px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 11px; color: var(--muted);
  font-weight: 500; margin: 1px 0; }
.nav a:hover { background: var(--bg); color: var(--text); text-decoration: none; }
.nav a.on { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.nav svg { flex: none; }
.side-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.side-foot strong { display: block; color: var(--text); font-size: 13px; font-weight: 600; }
.side-logout { display: none; margin: 8px 0 0; }
.side-logout .link { font-size: 12px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 28px;
  background: rgba(245,246,250,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .org { font-weight: 600; }
.top .org a { font-weight: 500; font-size: 12.5px; margin-left: 8px; }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top form { margin: 0; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 13px; }
.av:hover { text-decoration: none; opacity: .9; }
.burger { display: none; width: 38px; height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--line);
  place-items: center; cursor: pointer; }
#menu { display: none; }
.scrim { display: none; }
main { padding: 26px 28px 60px; max-width: 1100px; width: 100%; }
main > h2 { margin: 32px 0 12px; }

@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-102%); transition: transform .25s;
    box-shadow: 20px 0 60px rgba(0,0,0,.15); }
  #menu:checked ~ .side { transform: none; }
  #menu:checked ~ .scrim { display: block; position: fixed; inset: 0; background: rgba(22,19,31,.3); z-index: 25; }
  .burger { display: grid; }
}
@media (max-width: 680px) {
  .top { padding: 10px 16px; gap: 8px; }
  .top .who, .top .right form { display: none; }
  .side-logout { display: block; }
  main { padding: 18px 16px 50px; }
  h1 { font-size: 21px; }
}

/* ------------------------------------------- centered cards (login, etc.) */
.centered { min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(60% 50% at 100% 0%, rgba(255,0,122,.10), transparent 70%),
              radial-gradient(50% 45% at 0% 100%, rgba(106,0,255,.10), transparent 70%), var(--bg); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh);
  padding: 32px; width: 100%; max-width: 420px; }
.card::before { content: ""; display: block; width: 34px; height: 38px; margin-bottom: 18px;
  background: url(/logo.svg) no-repeat center / contain; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 4px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.card-title { font-size: 22px; margin: 12px 0 4px; }
.block { display: block; text-align: center; margin-top: 16px; }

/* ------------------------------------------------------------------ forms */
label { display: block; font-weight: 600; font-size: 12px; color: var(--muted); margin: 14px 0 5px; }
input, select { width: 100%; padding: 9px 12px; font: inherit; color: var(--text); background: var(--card);
  border: 1px solid var(--line2); border-radius: 10px; }
input:focus, select:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 3px var(--pl); }
input[readonly] { background: var(--bg); }
button { font: inherit; font-weight: 600; cursor: pointer; border-radius: 11px; padding: 10px 16px; }
.primary { width: 100%; margin-top: 22px; background: var(--grad); color: #fff; border: 0; box-shadow: var(--glow); }
.primary:hover { filter: brightness(1.05); }
.choice { width: 100%; text-align: left; margin-top: 8px; background: var(--card); color: var(--text);
  border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; }
.choice:hover { border-color: var(--p); box-shadow: 0 0 0 3px var(--pl); }
.choice small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--text); }
.check input { width: 18px; height: 18px; accent-color: var(--p); }
.link { background: none; border: 0; color: var(--p); padding: 0; font-weight: 500; border-radius: 0; }
.spaced { margin-top: 20px; }
.inline { display: inline; }
.link-field { font-family: ui-monospace, Menlo, monospace; font-size: 13px; margin-bottom: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn, .btn-secondary, .btn-primary { display: inline-flex; align-items: center; gap: 7px; font-weight: 600;
  white-space: nowrap; text-decoration: none; }
.btn { font-size: 12px; padding: 6px 11px; border-radius: 9px; background: var(--card); color: var(--text);
  border: 1px solid var(--line2); }
.btn:hover, .btn-secondary:hover { border-color: var(--faint); text-decoration: none; }
.btn-secondary { font-size: 13px; padding: 9px 15px; border-radius: 11px; background: var(--card); color: var(--text);
  border: 1px solid var(--line2); }
.btn-primary { font-size: 13px; padding: 9px 15px; border-radius: 11px; background: var(--grad); color: #fff;
  border: 0; box-shadow: var(--glow); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.05); }
.block.btn-primary { display: block; }
.danger { margin-top: 16px; background: var(--card); color: var(--red); border: 1px solid var(--red); }
.danger:hover { background: var(--redl); }
.row-actions { display: flex; gap: 6px; margin-top: 6px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.page-head h1 { margin: 0; }

/* ------------------------------------------------------- messages & pills */
.error { color: #9B0F32; background: var(--redl); border-radius: 12px; padding: 11px 14px; margin: 0 0 10px; font-size: 13px; }
.notice { background: var(--pl); color: #43009E; border-radius: 12px; padding: 11px 14px; font-size: 13px; }
.empty { color: var(--faint); font-style: italic; padding: 32px 0; }
.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 2px 9px;
  border-radius: 20px; line-height: 20px; white-space: nowrap; background: var(--pinkl); color: var(--pink); }
.badge-confirmed { background: var(--grl); color: var(--gr); }
.badge-option { background: var(--orl); color: #C25A00; }
.badge-cancelled { background: #EEEDF3; color: var(--muted); }

/* ----------------------------------------------------- cards and sections */
.list { display: grid; gap: 14px; }
.event, .panel, .member { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.event { padding: 16px 20px; }
.event-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 8px; }
.event-head h2 { font-size: 16px; }
.event-date { font-weight: 600; font-size: 12.5px; color: var(--pink); background: var(--pinkl); border-radius: 9px;
  padding: 3px 10px; white-space: nowrap; }
.event-add { margin-left: auto; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; align-items: start; }
.panel { padding: 20px; }
.panel h2 { margin-bottom: 4px; }
.member { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; }
.member-setting { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.member-setting select { width: auto; max-width: 100%; }
.member-setting .muted { flex-basis: 100%; }
.invite { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.invite:first-of-type { border-top: 0; }

/* ----------------------------------------------------------------- tables */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--faint); padding: 10px 12px 8px 0;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.bookings th:first-child { width: 40%; }
.bookings th:nth-child(2) { width: 35%; }
.budget { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh);
  border-collapse: separate; border-spacing: 0; overflow: hidden; }
.budget th, .budget td { padding-left: 20px; padding-right: 20px; }
.budget th { padding-top: 14px; }
.budget tfoot td { border-top: 1px solid var(--line); border-bottom: 0; background: #FBFAFD; }
.budget tfoot tr + tr td { border-top: 0; }
.budget tfoot .total td { font-weight: 700; font-size: 17px; }
.budget tfoot .total .num { color: var(--p); }
.inactive td { color: var(--faint); }
.inactive .strike { text-decoration: line-through; }

/* -------------------------------------------------------------- dashboard */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 24px 26px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--sh); margin-bottom: 18px; }
.hero::after { content: ""; position: absolute; right: -200px; top: -160px; width: 520px; height: 420px; background: var(--grad);
  opacity: .9; border-radius: 50%; transform: rotate(-18deg); clip-path: ellipse(48% 38% at 60% 50%); }
.hero > * { position: relative; z-index: 1; }
.hero p { margin: 0; }
.hero h1 { margin: 2px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; max-width: 760px; }
.stat { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px; color: var(--text); transition: transform .15s, box-shadow .15s; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--sh); text-decoration: none; }
.stat b { font-size: 24px; line-height: 1; font-weight: 700; }
.stat > span:last-child { font-size: 12px; color: var(--muted); font-weight: 500; }
.ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.ic-pink { background: var(--pink); } .ic-orange { background: var(--or); } .ic-green { background: var(--gr); } .ic-purple { background: var(--p); }
.dash { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.dcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.none { color: var(--faint); padding: 18px 20px; margin: 0; }
.more { padding: 10px 20px; margin: 0; border-top: 1px solid var(--line); }
.att { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.att:last-child { border-bottom: 0; }
.att .ic { width: 36px; height: 36px; }
.att-option_expired .ic { background: var(--redl); color: var(--red); }
.att-option_soon .ic { background: var(--orl); color: var(--or); }
.att-request .ic { background: var(--pinkl); color: var(--pink); }
.att-no_artist .ic { background: var(--pl); color: var(--p); }
.t { flex: 1; min-width: 0; }
.t b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t small { display: block; color: var(--muted); font-size: 12.5px; }
.show { display: flex; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--text); }
.show:last-child { border-bottom: 0; }
.show:hover { background: #FBFAFD; text-decoration: none; }
.dt { width: 46px; text-align: center; border-radius: 11px; background: var(--bg); padding: 5px 0; flex: none; }
.dt b { display: block; font-size: 17px; line-height: 1.1; }
.dt span { font-size: 10px; text-transform: uppercase; font-weight: 700; color: var(--pink); letter-spacing: .06em; }
.badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero::after { opacity: .35; }
  .att { flex-wrap: wrap; } .att .t { flex-basis: calc(100% - 48px); } .att .btn { margin-left: 48px; }
  .t b { white-space: normal; }
}

/* ------------------------------------------------------ core data screens */
.page-head .muted { margin: 4px 0 0; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px;
  margin-bottom: 18px; flex-wrap: wrap; }
.seg a { padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg a:hover { text-decoration: none; color: var(--text); }
.seg a.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.acard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); overflow: hidden; color: var(--text); transition: transform .15s; }
.acard:hover { text-decoration: none; transform: translateY(-2px); }
.acard-top { height: 92px; display: flex; align-items: flex-end; padding: 12px 16px; color: #fff; }
.acard-top b { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.t0 { background: linear-gradient(135deg, #FF007A, #3A0A2E); } .t1 { background: linear-gradient(135deg, #FF7A00, #3A1A0A); }
.t2 { background: linear-gradient(135deg, #00B8E0, #0A2A3A); } .t3 { background: linear-gradient(135deg, #16A34A, #0A2A14); }
.t4 { background: linear-gradient(135deg, #7C3AED, #1E0A3A); } .t5 { background: linear-gradient(135deg, #E11D48, #3A0A14); }
.acard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.acard-name { font-weight: 700; font-size: 15px; }
.acard-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--line2);
  background: var(--card); color: var(--text); }
.acard-name .chip { font-size: 10.5px; padding: 1px 8px; background: var(--bg); color: var(--muted); vertical-align: middle; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow-x: auto; }
.tcard th, .tcard td { padding-left: 20px; }
.tcard th { padding-top: 14px; }
.line { display: block; }
.who-cell { display: flex; gap: 10px; align-items: center; }
.mini-av { width: 34px; height: 34px; border-radius: 10px; background: var(--pl); color: var(--p); font-weight: 700; font-size: 12px;
  display: grid; place-items: center; flex: none; }
textarea { width: 100%; padding: 9px 12px; font: inherit; color: var(--text); background: var(--card);
  border: 1px solid var(--line2); border-radius: 10px; resize: vertical; }
textarea:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 3px var(--pl); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: var(--bg); color: var(--muted); }

/* --------------------------------------------------- bookings & requests */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.nowrap { white-space: nowrap; }
.tcard tfoot td { border-top: 1px solid var(--line); border-bottom: 0; background: #FBFAFD; }
.req { display: flex; flex-direction: column; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); padding: 14px 20px; color: var(--text); }
.req:hover { text-decoration: none; border-color: var(--line2); }
.req-head { display: flex; justify-content: space-between; gap: 10px; }
.req-title { font-weight: 600; color: var(--p); }
.req-note { color: var(--muted); font-size: 13px; margin-top: 4px; border-left: 3px solid var(--pinkl); padding-left: 10px; }
.request-box { margin: 12px 0 18px; }
.pre { white-space: pre-wrap; margin: 6px 0 0; }

/* ---------------------------------------------------------------- invoices */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { display: flex; flex-direction: column; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--sh); color: var(--text); }
.tile b { font-size: 22px; }
.tile:hover { text-decoration: none; border-color: var(--line2); }
.tile.on { border-color: var(--p); box-shadow: 0 0 0 3px var(--pl); }
.badge.inv-concept { background: var(--pl); color: var(--p); }
.badge.inv-sent { background: var(--orl); color: #C25A00; }
.badge.inv-paid { background: var(--grl); color: var(--gr); }
.badge.inv-cancelled { background: #EEEDF3; color: var(--muted); }
.badge.inv-overdue { background: var(--redl); color: var(--red); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 8px 0 0; font-size: 13.5px; }
.kv dt { color: var(--faint); } .kv dd { margin: 0; font-weight: 500; }
.line-edit { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.line-edit input { flex: 1 1 220px; width: auto; min-width: 0; }
.line-edit input.short { flex: 0 0 120px; }
.invoice-box { margin: 0 0 18px; }
.plain { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 4px; }
.chip.on { border-color: var(--p); color: var(--p); }
main.print { max-width: 820px; margin: 0 auto; padding: 40px 32px; background: #fff; }
.print-head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.print-head h1 { font-size: 22px; letter-spacing: .08em; margin: 0 0 8px; }
.print-to { margin-bottom: 20px; }
.print-foot { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 12px; }
@media print {
  body { background: #fff; }
  main.print { padding: 0; }
  .budget { box-shadow: none; }
}

/* --------------------------------------------------------------- contracts */
.badge.ctr-concept { background: var(--pl); color: var(--p); }
.badge.ctr-sent { background: var(--orl); color: #C25A00; }
.badge.ctr-signed { background: var(--grl); color: var(--gr); }
.badge.ctr-withdrawn { background: #EEEDF3; color: var(--muted); }
.contract h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 20px 0 6px; }
.contract h2:first-child { margin-top: 0; }
.contract p { margin: 0 0 8px; }
.sign { margin-top: 24px; }

/* --------------------------------------------------------------- proposals */
.badge.prp-concept { background: var(--pl); color: var(--p); }
.badge.prp-sent { background: var(--orl); color: #C25A00; }
.badge.prp-accepted { background: var(--grl); color: var(--gr); }
.badge.prp-declined, .badge.prp-withdrawn { background: #EEEDF3; color: var(--muted); }
.offer { display: grid; gap: 12px; margin: 16px 0; }
.offer-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px; border-left: 4px solid var(--pink); }
.offer-item h2 { font-size: 17px; margin: 0 0 2px; }
.offer-item p { margin: 4px 0 0; }
.offer-total { text-align: right; font-size: 18px; margin: 8px 0; }

/* ----------------------------------------------------------------- reports */
.chart-card { margin-bottom: 18px; }
.bars { display: block; width: 100%; height: auto; padding: 8px 12px 0; }
.bars .baseline { stroke: var(--line2); stroke-width: 1; }
.bars .bar { fill: var(--p); }
.bars .hit { fill: transparent; }
.bars .bar-col:hover .hit { fill: var(--bg); }
.bars text { font: 500 11px Poppins, system-ui, sans-serif; fill: var(--muted); text-anchor: middle; }
.bars .bar-v { font-weight: 600; fill: var(--text); }
.table-view { padding: 0 20px 14px; }
.table-view summary { cursor: pointer; color: var(--p); font-weight: 500; font-size: 13px; }
.rtable th, .rtable td { padding-left: 20px; padding-right: 20px; }

/* --------------------------------------------------------------- purchases */
.badge.pi-to_check { background: var(--orl); color: #C25A00; }
.badge.pi-approved { background: var(--pl); color: var(--p); }
.badge.pi-paid { background: var(--grl); color: var(--gr); }
.tiles.margin { margin-top: 14px; }

/* --------------------------------------------------------------- advancing */
.act-box { margin-top: 18px; }
.act-box .page-head { margin-bottom: 8px; }
.act-box details { margin-top: 12px; }
.act-box summary { cursor: pointer; color: var(--p); font-weight: 600; font-size: 13px; }
.adv td { padding-top: 8px; padding-bottom: 8px; }
.adv td:first-child { width: 220px; }
.proposals { background: var(--orl); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.proposals h3 { font-size: 13px; margin: 0 0 8px; color: #8A4300; }
.proposal { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.06); }
.proposal:first-of-type { border-top: 0; }
.faint { color: var(--faint); }

/* ------------------------------------------------- dashboard follow-ups */
.att-invoice .ic { background: var(--redl); color: var(--red); }
.att-contract .ic, .att-purchase .ic { background: var(--orl); color: var(--or); }
.att-advancing .ic { background: var(--pl); color: var(--p); }

/* ------------------------------------------------------------------ search */
.top .search { flex: 1; max-width: 420px; margin-left: 12px; }
.top .search input { border-radius: 12px; padding: 8px 12px; }
.search-big { display: flex; gap: 10px; margin-bottom: 18px; max-width: 640px; }
.search-group { margin-bottom: 14px; }
@media (max-width: 680px) { .top .search { display: none; } }
