/* WhatHotel UI system — shared by admin and staff */
:root {
  --bg: #f4f7f8;
  --card: #ffffff;
  --ink: #152926;
  --heading: #0c1f1c;
  --mut: #687b77;
  --mut-soft: #91a19e;
  --line: #dfe8e6;
  --line-soft: #edf2f1;
  --brand: #118776;
  --brand-dark: #075f55;
  --brand-deep: #073d38;
  --brand-pale: #e8f6f3;
  --red: #d94b57;
  --red-pale: #fcecef;
  --green: #168862;
  --green-pale: #e6f6ef;
  --amber: #b87805;
  --amber-pale: #fff5dc;
  --blue: #3977d0;
  --shadow-xs: 0 1px 2px rgba(12, 47, 42, .04);
  --shadow-sm: 0 8px 26px rgba(15, 55, 49, .07);
  --shadow-lg: 0 24px 60px rgba(8, 35, 31, .18);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
svg { display: block; }

/* Application frame */
.app-shell { display: flex; min-height: 100vh; }
.side { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; width: 248px; flex-direction: column; padding: 0 14px 16px; overflow-y: auto; color: #fff; background: linear-gradient(180deg, #073d38 0%, #052f2c 100%); box-shadow: 12px 0 35px rgba(5, 45, 42, .08); }
.brand { position: sticky; top: 0; z-index: 2; display: flex; min-height: 82px; align-items: center; gap: 11px; padding: 15px 8px; background: #073d38; }
.brand-mark { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #21b99e, #0b8d79); box-shadow: 0 8px 22px rgba(19, 180, 152, .25); }
.brand-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg path + path { fill: currentColor; stroke: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.2px; }
.brand small { margin-top: -2px; color: #8fc5bc; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.side-nav { flex: 1; padding: 2px 0 20px; }
.nav-label { margin: 20px 11px 7px; color: #7aaca4; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-link { position: relative; display: flex; align-items: center; gap: 11px; min-height: 42px; margin: 2px 0; padding: 9px 11px; border: 1px solid transparent; border-radius: 11px; color: #bfdbd6; font-size: 13px; font-weight: 570; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateX(2px); }
.nav-link.on { color: #fff; border-color: rgba(93, 220, 196, .2); background: linear-gradient(90deg, rgba(28, 183, 155, .25), rgba(28, 183, 155, .1)); box-shadow: inset 3px 0 #30c5aa; }
.nav-icon { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; color: #83bdb4; font-size: 17px; font-weight: 400; }
.nav-link.on .nav-icon { color: #5fe1c8; }
.icon-home::before { content: "⌂"; }.icon-board::before { content: "▦"; }.icon-users::before { content: "♙"; }.icon-bell::before { content: "◷"; }.icon-chart::before { content: "⌁"; }
.icon-link::before { content: "↗"; }.icon-send::before { content: "➤"; }.icon-bot::before { content: "◇"; }.icon-settings::before { content: "⚙"; }.icon-cloud::before { content: "☁"; }
.icon-code::before { content: "‹›"; font-size: 13px; font-weight: 700; }.icon-team::before { content: "♙"; }.icon-activity::before { content: "≋"; }
.side-account { display: grid; grid-template-columns: 38px minmax(0, 1fr) 34px; align-items: center; gap: 9px; padding: 12px 8px 2px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #063d37; background: #a8eadf; font-weight: 800; }
.account-copy { min-width: 0; }
.account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { color: #eefaf8; font-size: 12px; }
.account-copy small { color: #82afa8; font-size: 11px; }
.icon-button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 9px; color: #9fc6c0; background: transparent; cursor: pointer; }
.icon-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-close { display: none; margin-left: auto; border: 0; color: #fff; background: transparent; font-size: 26px; cursor: pointer; }
.sidebar-overlay { display: none; }

.main { width: calc(100% - 248px); min-width: 0; margin-left: 248px; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; min-height: 70px; align-items: center; gap: 14px; padding: 10px 32px; border-bottom: 1px solid rgba(215, 228, 225, .9); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.topbar-title { display: flex; flex-direction: column; }
.topbar-title strong { color: var(--heading); font-size: 16px; line-height: 1.2; }
.eyebrow { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.topbar-user { display: flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--mut); background: #fff; font-size: 11px; font-weight: 650; }
.role-dot { width: 7px; height: 7px; border-radius: 50%; background: #23b987; box-shadow: 0 0 0 3px #dff8ee; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); }
.content-area { width: 100%; max-width: 1510px; margin: 0 auto; padding: 30px 32px 48px; }
.main.wide .content-area { max-width: none; padding: 18px 20px 32px; }
body.nosb .side { display: none; }
body.nosb .main { width: 100%; margin-left: 0; }

/* Typography and page structure */
h1, h2, h3, h4 { color: var(--heading); line-height: 1.25; }
h2 { margin: 0 0 20px; font-size: 25px; letter-spacing: -.035em; }
h3 { font-size: 17px; letter-spacing: -.015em; }
h4 { font-size: 14px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading h2 { margin: 4px 0 4px; font-size: clamp(24px, 3vw, 32px); }
.page-heading p { margin: 0; color: var(--mut); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.card-heading h3 { margin: 3px 0 0; font-size: 19px; }

/* Surfaces */
.card { margin-bottom: 18px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-xs); }
.card:hover { border-color: #d4e1de; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scroll { max-width: 100%; overflow: auto; }
hr { border-color: var(--line-soft) !important; }

/* Dashboard */
.dashboard-stats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 18px; }
.dashboard-stats .card { margin: 0; }
.stat { position: relative; display: flex; min-height: 148px; align-items: flex-start; gap: 15px; overflow: hidden; }
.stat::after { position: absolute; right: -25px; bottom: -35px; width: 100px; height: 100px; border-radius: 50%; background: var(--brand-pale); content: ""; opacity: .55; }
.stat > div { position: relative; z-index: 1; min-width: 0; }
.stat-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-pale); font-size: 22px; }
.stat b { display: block; margin: 5px 0 1px; font-size: 31px; line-height: 1.1; letter-spacing: -.04em; }
.stat > div > span:first-child { color: var(--mut); font-size: 12px; font-weight: 650; }
.stat small, .stat a { display: block; margin-top: 6px; color: var(--mut); font-size: 11px; }
.stat a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.stat-danger .stat-icon { color: var(--red); background: var(--red-pale); }
.stat-danger::after { background: var(--red-pale); }
.stat-warning .stat-icon { color: var(--amber); background: var(--amber-pale); }
.stat-primary { color: #fff; border-color: var(--brand-dark); background: linear-gradient(145deg, #0b7568, #07584f); }
.stat-primary span, .stat-primary small { color: #b9e2da !important; }
.stat-primary b { color: #fff; }
.stat-primary .stat-icon { color: #fff !important; background: rgba(255,255,255,.13); }
.stat-primary::after { background: rgba(255,255,255,.12); }
.status-copy { margin-top: 10px !important; font-size: 13px !important; }
.pipeline-summary { padding: 24px; }
.stage-grid { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 10px; }
.stage-card { display: flex; min-height: 112px; flex-direction: column; padding: 14px; border: 1px solid var(--line-soft); border-radius: 13px; color: var(--ink); background: #fbfdfc; text-decoration: none; transition: border .18s, box-shadow .18s, transform .18s; }
.stage-card:hover { color: var(--ink); border-color: #cddedb; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stage-card-top { display: flex; align-items: center; justify-content: space-between; }
.stage-card-top > i { width: 9px; height: 9px; border-radius: 50%; background: var(--stage-color); box-shadow: 0 0 0 4px color-mix(in srgb, var(--stage-color) 16%, white); }
.stage-card-top b { font-size: 23px; }
.stage-card > strong { margin-top: auto; color: var(--mut); font-size: 12px; }
.stage-bar { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 9px; background: #e8efed; }
.stage-bar i { display: block; height: 100%; border-radius: inherit; background: var(--stage-color); }

/* Forms and buttons */
label { display: block; margin: 14px 0 6px; color: #30433f; font-size: 12px; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #d3dfdc; border-radius: 10px; outline: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #9aa9a6; }
input:hover, textarea:hover, select:hover { border-color: #b7ccc7; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17, 135, 118, .12); }
input[type="checkbox"], input[type="radio"] { width: 16px; min-height: 16px; accent-color: var(--brand); }
input[type="file"] { padding: 7px 9px; }
textarea { min-height: 120px; resize: vertical; }
.btn { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 8px 15px; border: 1px solid var(--brand); border-radius: 10px; color: #fff; background: var(--brand); box-shadow: 0 4px 12px rgba(17, 135, 118, .12); font-size: 12px; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); box-shadow: 0 7px 17px rgba(17, 135, 118, .18); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: .6; }
.btn.ghost { color: #314743; border-color: #cedbd8; background: #fff; box-shadow: none; }
.btn.ghost:hover { color: var(--brand-dark); border-color: #a9c8c1; background: #f5fbf9; }
.btn.red { border-color: var(--red); background: var(--red); box-shadow: none; }
.filters { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-width: 150px; }
.bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.bar h2 { margin: 0 12px 0 0; }
.bar form { display: flex; flex: 1; gap: 8px; margin: 0; flex-wrap: wrap; }
.bar input, .bar select { width: auto; min-width: 0; }
.bar input[name="q"] { width: min(320px, 100%); flex: 1; }

/* Tables and data */
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { padding: 12px 11px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
th { color: #758783; background: #f8faf9; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
th:first-child { border-radius: 9px 0 0 9px; }
th:last-child { border-radius: 0 9px 9px 0; }
tbody tr, table tr { transition: background .15s; }
table tr:hover td { background: #fafcfb; }
table tr:last-child td { border-bottom: 0; }
.mini td, .mini th { padding: 8px 9px; font-size: 12px; }
.pager { margin-top: 18px; }
.pager nav > div:first-child { display: none; }
.pager nav > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pager nav span, .pager nav a { font-size: 12px; }
.pager svg { width: 16px; }

/* Feedback and utility */
.pill, .stagepill { display: inline-flex; align-items: center; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.pill { padding: 3px 9px; }
.stagepill { padding: 4px 9px; color: #fff; }
.ok { color: var(--green); background: var(--green-pale); }.bad { color: var(--red); background: var(--red-pale); }.warn { color: var(--amber); background: var(--amber-pale); }
.flash { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid; border-radius: 12px; font-weight: 600; }
.flash > span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; color: #fff; font-size: 11px; }
.flash.success { color: #136b50; border-color: #c9ebdf; background: #eefaf6; }.flash.success > span { background: var(--green); }
.flash.error { color: #9b3340; border-color: #f1cfd4; background: #fff3f5; }.flash.error > span { background: var(--red); }
.err { margin-top: 6px; color: var(--red); font-size: 11px; font-weight: 650; }
.badge { display: none; min-width: 20px; margin-left: auto; padding: 1px 6px; border-radius: 99px; color: #fff; background: #e34d69; text-align: center; font-size: 10px; font-weight: 800; }.badge.on { display: inline-block; }
code { padding: 2px 6px; border: 1px solid #e0e9e7; border-radius: 5px; color: #20544b; background: #f1f6f5; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { padding: 16px; overflow: auto; border: 1px solid #173e38; border-radius: 11px; color: #ccede7; background: #092c28; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.qr { text-align: center; }.qr img { width: 300px; max-width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
details { border-top: 1px solid var(--line-soft); margin-top: 14px; padding-top: 10px; } summary { font-weight: 700; }

/* Pipeline board: four large stages per row keeps all eight stages visible */
.board-toolbar { min-height: 50px; }
.board-heading { min-width: 145px; margin-right: 8px; }
.board-heading h2 { margin: 0; }
.board-heading span { display: block; margin-top: 1px; color: var(--mut); font-size: 10px; white-space: nowrap; }
.board { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 12px; align-items: stretch; }
.col { display: flex; height: clamp(270px, calc((100dvh - 205px) / 2), 360px); min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d7e3e0; border-radius: 16px; background: #e9efed; box-shadow: 0 5px 18px rgba(10, 45, 39, .05); container-type: inline-size; }
.col-h { display: flex; min-height: 53px; align-items: center; gap: 8px; padding: 11px 14px; border-top: 5px solid var(--c); border-radius: 15px 15px 0 0; background: #fff; font-size: 13px; line-height: 1.2; }
.col-h b { flex: 1; min-width: 0; }.col-h .n { min-width: 27px; padding: 3px 8px; border-radius: 99px; color: #fff; background: var(--c); text-align: center; font-size: 11px; font-weight: 800; }
.col-b { min-height: 0; padding: 10px; overflow-y: auto; scrollbar-color: #bdcfcb transparent; scrollbar-width: thin; flex: 1; }
.col-b.over { outline: 2px dashed var(--brand); outline-offset: -4px; background: #cfe9e3; }
.col-b:empty::after { display: block; padding: 28px 4px; color: #96a5a2; text-align: center; font-size: 10px; content: "Drop here"; }
.lead { margin-bottom: 9px; padding: 12px; border: 1px solid #dce5e3; border-left: 4px solid var(--c); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(10,45,39,.07); font-size: 12px; cursor: grab; transition: box-shadow .15s, transform .15s; }
.lead:hover { box-shadow: 0 8px 20px rgba(8,45,39,.13); transform: translateY(-1px); }.lead:active { cursor: grabbing; }.lead.drag { opacity: .35; }
.lead .top { display: flex; align-items: center; gap: 10px; }.lead .nm { min-width: 0; }.lead b { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.35; word-break: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.av { display: flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center; border-radius: 11px; color: #fff; background: var(--c); font-size: 12px; font-weight: 800; }
.lead .sub { overflow: hidden; color: var(--mut); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.lead .msg { display: -webkit-box; margin-top: 8px; overflow: hidden; color: #52625f; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.lead .chips { display: flex; gap: 5px; margin-top: 9px; flex-wrap: wrap; }.chip { padding: 3px 7px; border-radius: 7px; font-size: 10px; font-weight: 700; line-height: 1.4; }.chip.rem { color: #8a5a00; background: var(--amber-pale); }.chip.who { color: var(--brand-dark); background: var(--brand-pale); }
.more { padding: 7px; color: var(--mut); text-align: center; font-size: 10px; }
@container (max-width: 245px) { .av { width: 30px; height: 30px; flex-basis: 30px; }.lead { padding: 9px; }.col-h { padding-inline: 10px; }.col-b { padding: 7px; } }

/* Dialogs, timelines and notifications */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(5, 30, 27, .62); backdrop-filter: blur(5px); }.modal.on { display: flex; }
.modal .box { width: 100%; max-width: 540px; max-height: 90vh; padding: 23px; overflow: auto; border: 1px solid rgba(255,255,255,.4); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.tl { margin: 12px 0 0 6px; padding-left: 15px; border-left: 2px solid var(--line); }.tl div { margin-bottom: 11px; font-size: 12px; }.tl small { color: var(--mut); }
#toasts { position: fixed; top: 16px; right: 16px; z-index: 100; display: flex; width: min(380px, calc(100vw - 32px)); flex-direction: column; gap: 10px; }
.toast { padding: 15px; border: 1px solid var(--line); border-left: 4px solid #df4f76; border-radius: 13px; background: #fff; box-shadow: var(--shadow-lg); }.toast-meta { color: var(--mut); font-size: 11px; }.toast-note { margin-top: 5px; }.toast .btns { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }.toast .btns .btn { min-height: 30px; padding: 5px 9px; font-size: 10px; }

/* Login */
.auth-page { min-height: 100vh; background: #072f2b; }
.login { display: grid; min-height: 100vh; grid-template-columns: minmax(400px, .95fr) minmax(460px, 1.05fr); }
.login-intro { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(40px, 7vw, 100px); overflow: hidden; color: #fff; background: radial-gradient(circle at 15% 85%, rgba(37,188,160,.24), transparent 33%), radial-gradient(circle at 90% 15%, rgba(35,170,147,.15), transparent 28%), #073d38; }
.login-intro::after { position: absolute; right: -100px; bottom: -130px; width: 380px; height: 380px; border: 1px solid rgba(111,231,210,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(111,231,210,.04), 0 0 0 115px rgba(111,231,210,.025); content: ""; }
.login-brand { display: flex; align-items: center; gap: 12px; }.login-brand strong, .login-brand small { display: block; }.login-brand strong { font-size: 18px; }.login-brand small { color: #92c9c0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.login-kicker { display: inline-block; margin-bottom: 15px; color: #60d6c0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.login-intro h1 { max-width: 570px; margin: 0; color: #fff; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: 1.03; }
.login-intro p { max-width: 520px; margin: 22px 0 0; color: #a9cec8; font-size: 16px; }
.login-proof { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #9bc8c0; font-size: 11px; }.login-proof span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #062f2b; background: #5ed4be; font-weight: 900; }
.login-panel { display: grid; place-items: center; padding: 40px; background: #f6f9f8; }
.login-card { width: 100%; max-width: 420px; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 22px 65px rgba(17,56,49,.1); }
.login-card h2 { margin: 6px 0 6px; font-size: 27px; }.form-intro { margin: 0 0 24px; color: var(--mut); }
.login-card input { min-height: 48px; }.login-card label { margin-top: 17px; }
.check-row { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 550; cursor: pointer; }
.login-submit { width: 100%; min-height: 47px; margin-top: 7px; justify-content: space-between; padding-inline: 18px; }
.login-help { margin: 25px 0 0; color: var(--mut-soft); text-align: center; font-size: 11px; }
.mobile-login-brand { display: none; }

/* Responsive behavior */
@media (max-width: 1250px) { .board { grid-template-columns: repeat(4, minmax(190px, 1fr)); }.stage-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .side { transform: translateX(-102%); transition: transform .23s ease; }
  .menu-open .side { transform: translateX(0); }
  .menu-open { overflow: hidden; }
  .menu-open .sidebar-overlay { position: fixed; inset: 0; z-index: 35; display: block; background: rgba(5,30,27,.48); backdrop-filter: blur(3px); }
  .sidebar-close, .menu-toggle { display: block; }
  .main, body.nosb .main { width: 100%; margin-left: 0; }
  .topbar { padding-inline: 20px; }
  .content-area { padding: 25px 20px 40px; }
  .login { grid-template-columns: 1fr; }.login-intro { display: none; }.login-panel { min-height: 100vh; }.mobile-login-brand { display: block; margin-bottom: 25px; color: var(--brand-dark); font-size: 19px; font-weight: 800; }
}
@media (max-width: 760px) {
  .topbar { min-height: 62px; }.topbar-user { display: none; }.content-area, .main.wide .content-area { padding: 20px 14px 34px; }
  h2 { font-size: 22px; }.page-heading { align-items: flex-start; flex-direction: column; gap: 14px; }.page-heading .btn { width: 100%; }
  .row { grid-template-columns: 1fr; }.grid { grid-template-columns: 1fr 1fr; gap: 11px; }.dashboard-stats { grid-template-columns: 1fr 1fr; }.stage-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 17px; border-radius: 14px; }.stat { min-height: 132px; padding: 16px; }.stat-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 18px; }.stat b { font-size: 26px; }
  .filters { align-items: stretch; flex-direction: column; }.filters input, .filters select, .filters .btn { width: 100% !important; }
  .bar form { flex-basis: 100%; }.bar form input, .bar form select { flex: 1 1 140px; }.bar > .btn { flex: 1; }
  .board-toolbar { align-items: stretch; }.board-heading { width: 100%; }.board-heading span { white-space: normal; }
  .board { grid-template-columns: repeat(2, minmax(145px, 1fr)); }.col { height: 420px; }
  th, td { padding: 10px 8px; font-size: 11px; }.modal { align-items: flex-end; padding: 8px; }.modal .box { max-height: 92vh; padding: 18px; border-radius: 18px 18px 10px 10px; }
}
@media (max-width: 520px) {
  .grid, .dashboard-stats { grid-template-columns: 1fr; }.stage-grid { grid-template-columns: 1fr 1fr; }.stage-card { min-height: 100px; }.board { grid-template-columns: 1fr; }.col { height: 430px; }
  .login-panel { padding: 18px; }.login-card { padding: 26px 21px; box-shadow: none; }.login-card h2 { font-size: 23px; }
  .side { width: min(288px, 88vw); }.topbar-title .eyebrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
