/* =========================================================================
   Elite Luxury Rentals — design system
   Hand-rolled CSS on purpose: no build step, no npm, no CDN. Deploys as-is.
   ========================================================================= */

:root {
  --gold: #c2a14d;
  --gold-soft: #e0c987;
  --gold-dim: rgba(194, 161, 77, 0.14);

  --ink: #12151c;
  --ink-2: #1b1f29;
  --ink-3: #262b38;

  --paper: #f5f6f8;
  --card: #ffffff;
  --line: #e3e6ec;
  --line-strong: #cfd4de;

  --text: #1a1d24;
  --muted: #6b7280;
  --faint: #9aa1ad;

  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --info: #2563eb;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 20, 30, .06), 0 4px 16px rgba(16, 20, 30, .06);
  --shadow-lg: 0 8px 40px rgba(16, 20, 30, .16);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 600; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; line-height: 1.6; }

/* ---------------------------------------------------------------- layout */

.ops-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 232px;
  flex: 0 0 232px;
  background: var(--ink);
  color: #cfd4de;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: #fff;
  display: block;
}
.brand-sub {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
  display: block;
}

.nav { padding: 14px 10px; flex: 1; }
.nav-label {
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5c6473;
  padding: 14px 12px 6px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: #b8bfcc;
  margin-bottom: 1px;
}
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a.active { background: var(--gold-dim); color: var(--gold-soft); font-weight: 600; }
.nav .pill {
  margin-left: auto;
  background: var(--bad);
  color: #fff;
  font-size: .68rem;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.nav .pill.quiet { background: rgba(255, 255, 255, .12); color: #cfd4de; }

.sidebar-foot {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .78rem;
  color: #7d8595;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar h1 { margin: 0; font-size: 1.12rem; }
.topbar .spacer { flex: 1; }

.content { padding: 22px 26px 60px; }
.content.wide { padding-left: 16px; padding-right: 16px; }

/* ----------------------------------------------------------------- cards */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-head {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-head h2, .card-head h3 { margin: 0; font-size: .95rem; }
.card-head .spacer { flex: 1; }
.card-body { padding: 18px; }
.card-body.tight { padding: 10px 14px; }

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.sidebar-right { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1100px) {
  .grid.cols-3, .grid.cols-4, .grid.sidebar-right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.sidebar-right { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ------------------------------------------------------------------ stat */

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.stat .k {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.stat .v { font-size: 1.7rem; font-weight: 650; line-height: 1; }
.stat .s { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.stat.alert { border-color: #f3c6c6; background: #fff7f7; }
.stat.alert .v { color: var(--bad); }
.stat.good .v { color: var(--ok); }
.stat.warn .v { color: var(--warn); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font-size: .85rem;
  font-weight: 550;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.btn:hover { background: #f0f2f5; color: var(--text); border-color: var(--faint); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1508; }
.btn.gold:hover { background: var(--gold-soft); color: #1a1508; }
.btn.danger { border-color: #f0b4b4; color: var(--bad); background: #fff; }
.btn.danger:hover { background: #fff1f1; color: var(--bad); }
.btn.sm { padding: 4px 9px; font-size: .78rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------- badges */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.5;
  background: #eef0f4;
  color: #414855;
  white-space: nowrap;
}
.badge.solid { color: #fff; }
.badge.ok { background: #e7f7ec; color: #12692f; }
.badge.warn { background: #fdf3e2; color: #92590a; }
.badge.bad { background: #fdeaea; color: #a51b1b; }
.badge.info { background: #e8f0fe; color: #1b4bb5; }
.badge.muted { background: #f0f1f4; color: var(--muted); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 8px; }

/* --------------------------------------------------------------- tables */

table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th {
  text-align: left;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 650;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafbfc; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- forms */

label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 5px; color: #3b414d; }
.help { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.errors { color: var(--bad); font-size: .78rem; margin-top: 4px; }

input[type=text], input[type=email], input[type=url], input[type=number], input[type=password],
input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }

.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }

.check { display: flex; align-items: center; gap: 8px; }
.check label { margin: 0; font-weight: 500; }
.check input { width: auto; }

.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 16px;
}
.filters .field { margin: 0; min-width: 140px; }
.filters label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* -------------------------------------------------------------- messages */

.messages { margin-bottom: 16px; display: grid; gap: 8px; }
.msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  border: 1px solid;
}
.msg.success { background: #edfaf1; border-color: #b7e6c6; color: #12692f; }
.msg.info { background: #eef4fe; border-color: #c2d6f8; color: #1b4bb5; }
.msg.warning { background: #fef6e9; border-color: #f6d9a7; color: #92590a; }
.msg.error { background: #fdeded; border-color: #f5c2c2; color: #a51b1b; }

.empty { padding: 34px 20px; text-align: center; color: var(--faint); font-size: .875rem; }

/* -------------------------------------------------------- timeline board */

.timeline-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline { min-width: 900px; }

.tl-head { display: flex; position: sticky; top: 0; background: var(--card); z-index: 5; border-bottom: 1px solid var(--line); }
.tl-asset-col { flex: 0 0 190px; width: 190px; border-right: 1px solid var(--line); background: var(--card); position: sticky; left: 0; z-index: 6; }
.tl-days { flex: 1; display: grid; }
.tl-day {
  border-left: 1px solid var(--line);
  text-align: center;
  padding: 5px 2px;
  font-size: .68rem;
  color: var(--muted);
  min-width: 0;
}
.tl-day.weekend { background: #f8f9fb; }
.tl-day.today { background: var(--gold-dim); color: #6b5310; font-weight: 700; }
.tl-day .dow { display: block; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.tl-day.today .dow { color: #8a6d1a; }

.tl-row { display: flex; border-bottom: 1px solid var(--line); }
.tl-row:last-child { border-bottom: 0; }
.tl-row:hover .tl-asset { background: #fafbfc; }
.tl-asset {
  flex: 0 0 190px;
  width: 190px;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 2;
}
.tl-asset .name { font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.tl-asset .meta { font-size: .7rem; color: var(--faint); margin-top: 2px; }

.tl-track { flex: 1; display: grid; position: relative; padding: 4px 0; }
.tl-track .col-line { border-left: 1px solid var(--line); grid-row: 1 / -1; }
.tl-track .col-line.weekend { background: #fafbfc; }
.tl-track .col-line.today { background: var(--gold-dim); }

.tl-bar {
  height: 26px;
  margin-bottom: 4px;
  border-radius: 5px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  cursor: pointer;
}
.tl-bar:hover { filter: brightness(1.12); color: #fff; }
.tl-bar .who { font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.tl-bar .ch { opacity: .82; font-size: .68rem; }
.tl-bar.muted { opacity: .62; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 6px, transparent 6px 12px); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-top: 12px; }
.legend span { display: flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------- kanban */

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .board { grid-template-columns: 1fr; } }
.board-col { background: #eceef2; border-radius: var(--radius); padding: 10px; }
.board-col h3 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #5c6473; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.board-col h3 .count { background: #fff; border-radius: 999px; padding: 0 7px; font-size: .7rem; }
.wo-card { background: #fff; border-radius: var(--radius-sm); padding: 11px 12px; margin-bottom: 8px; box-shadow: var(--shadow); border-left: 3px solid var(--line-strong); display: block; }
.wo-card:hover { box-shadow: var(--shadow-lg); color: inherit; }
.wo-card .t { font-size: .86rem; font-weight: 600; margin-bottom: 3px; }
.wo-card .m { font-size: .74rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------------------------------------------------------------- lists */

.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .t { font-size: .875rem; font-weight: 550; }
.list-row .m { font-size: .76rem; color: var(--muted); margin-top: 2px; }

.task-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row.done .t { text-decoration: line-through; color: var(--faint); }
.task-row .grow { flex: 1; min-width: 0; }
.task-row select { width: auto; min-width: 130px; font-size: .78rem; padding: 4px 26px 4px 8px; background-position: calc(100% - 12px) 12px, calc(100% - 8px) 12px; }
.tick {
  width: 20px; height: 20px; flex: 0 0 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; color: transparent; padding: 0;
}
.tick:hover { border-color: var(--gold); }
.tick.on { background: var(--ok); border-color: var(--ok); color: #fff; }

.avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink-3); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .64rem; font-weight: 700; flex: 0 0 24px;
}

/* --------------------------------------------------------------- misc */

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 7px 14px; font-size: .85rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

.mono { font-family: var(--mono); font-size: .78rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .78rem; }
.right { text-align: right; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }

.copybox {
  display: flex; gap: 6px; align-items: center;
  background: #f4f5f8; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 6px 8px;
  font-family: var(--mono); font-size: .74rem; overflow: hidden;
}
.copybox input { border: 0; background: transparent; padding: 0; font-family: inherit; font-size: inherit; }
.copybox input:focus { box-shadow: none; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 8px 14px; font-size: .85rem; font-weight: 550; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs a.active { color: var(--text); border-bottom-color: var(--gold); }

.progress { height: 6px; background: #e9ecf1; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--gold); }

/* =========================================================================
   Public site — dark, quiet, expensive
   ========================================================================= */

body.public { background: #0d0f14; color: #e8e9ec; }
.public a:hover { color: var(--gold-soft); }

.pub-nav {
  display: flex; align-items: center; gap: 28px;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky; top: 0; background: rgba(13, 15, 20, .92);
  backdrop-filter: blur(10px); z-index: 40;
}
.pub-nav .logo { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .1em; color: #fff; }
.pub-nav .logo small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .3em; color: var(--gold); margin-top: 3px; }
.pub-nav .links { display: flex; gap: 24px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.pub-nav .links a { color: #b6bac4; }
.pub-nav .spacer { flex: 1; }
.pub-nav .tel { color: var(--gold); font-weight: 600; font-size: .9rem; }
@media (max-width: 800px) { .pub-nav { padding: 16px 20px; gap: 16px; } .pub-nav .links { display: none; } }

.hero {
  padding: 100px 40px 84px;
  text-align: center;
  background:
    radial-gradient(1000px 400px at 50% -8%, rgba(194, 161, 77, .16), transparent 70%),
    linear-gradient(180deg, #0d0f14, #14171f);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.hero .eyebrow { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 3.9rem); font-weight: 400; color: #fff; letter-spacing: -.01em; }
.hero p { max-width: 620px; margin: 18px auto 30px; color: #a9aeba; font-size: 1.03rem; }

.pub-section { padding: 66px 40px; max-width: 1220px; margin: 0 auto; }
.pub-section h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: #fff; }
.pub-section .lead { color: #9aa0ac; max-width: 620px; margin-bottom: 34px; }
@media (max-width: 800px) { .pub-section, .hero { padding-left: 20px; padding-right: 20px; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.tile {
  background: #161a22;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: transform .18s, border-color .18s;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(194, 161, 77, .45); color: inherit; }
.tile .shot { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #222733, #171b23); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; }
.tile .shot .ph { font-family: var(--serif); color: #3d4453; font-size: 2.4rem; }
.tile .body { padding: 18px 20px 20px; }
.tile h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; color: #fff; margin-bottom: 5px; }
.tile .sub { font-size: .8rem; color: #8b919e; margin-bottom: 14px; }
.tile .price { font-size: .95rem; color: var(--gold); font-weight: 600; }
.tile .price small { color: #7d8290; font-weight: 400; }

.pub-card {
  background: #161a22;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 26px;
}
.pub-card h3 { color: #fff; }

.public label { color: #b6bac4; }
.public input, .public select, .public textarea {
  background: #0f1218;
  border-color: rgba(255, 255, 255, .14);
  color: #e8e9ec;
}
.public input:focus, .public select:focus, .public textarea:focus { border-color: var(--gold); }
.public .btn { background: transparent; border-color: rgba(255, 255, 255, .22); color: #e8e9ec; }
.public .btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.public .btn.gold { background: var(--gold); border-color: var(--gold); color: #14100a; }
.public .btn.gold:hover { background: var(--gold-soft); color: #14100a; }
.public .btn.lg { padding: 12px 26px; font-size: .95rem; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin: 26px 0; }
.spec { border-left: 2px solid rgba(194, 161, 77, .5); padding-left: 13px; }
.spec .k { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #7d8290; }
.spec .v { font-size: 1.02rem; color: #fff; margin-top: 3px; }

.price-lines { font-size: .9rem; }
.price-lines .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.price-lines .row.total { border-bottom: 0; border-top: 1px solid rgba(194, 161, 77, .4); margin-top: 6px; padding-top: 14px; font-size: 1.1rem; color: #fff; font-weight: 600; }
.price-lines .row.due { color: var(--gold); font-weight: 600; }

.pub-foot {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 40px;
  text-align: center;
  color: #6f7684;
  font-size: .82rem;
}

.public .messages { max-width: 1220px; margin: 20px auto 0; padding: 0 40px; }
.public .msg { background: #1b2028; border-color: rgba(255,255,255,.12); color: #d8dae0; }
.public .msg.error { background: #2a1618; border-color: #62282b; color: #f0b4b4; }
.public .msg.success { background: #14241a; border-color: #2c5738; color: #a7dcb8; }

/* --------------------------------------------------------------- login */

.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(900px 500px at 50% 0%, rgba(194,161,77,.1), transparent 70%), #0d0f14;
  padding: 20px;
}
.login-box { width: 100%; max-width: 380px; background: #161a22; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 34px; }
.login-box h1 { font-family: var(--serif); font-weight: 400; color: #fff; text-align: center; }
.login-box .sub { text-align: center; color: var(--gold); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 26px; }

@media print {
  .sidebar, .topbar, .filters, .btn { display: none !important; }
  .content { padding: 0; }
  .card { box-shadow: none; border-color: #ccc; }
}
