:root {
    color-scheme: light;
    --navy: #14243a;
    --navy-soft: #20354e;
    --blue: #2e71e5;
    --blue-dark: #1f5fc9;
    --blue-pale: #eaf2ff;
    --mint: #19a886;
    --ink: #17243a;
    --muted: #6e7c90;
    --line: #e5eaf1;
    --surface: #fff;
    --canvas: #f5f7fa;
    --shadow: 0 8px 26px rgba(20, 36, 58, .055);
    --radius: 16px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-body { min-height: 100vh; padding-left: 242px; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; width: 242px; flex-direction: column; background: var(--navy); color: #fff; }
.brand { display: flex; gap: 12px; align-items: center; min-height: 88px; padding: 20px 25px; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; }
.brand-mark { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #4e91ff, #2d6edc); color: #fff; box-shadow: 0 8px 20px rgba(46,113,229,.35); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .02em; }
.brand small { margin-top: 1px; color: #9eafc2; font-size: 12px; }
.nav { flex: 1; padding: 22px 14px; }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; color: #bfcbd9; text-decoration: none; font-weight: 600; }
.nav-link:hover, .nav-link.is-active { background: rgba(255,255,255,.085); color: #fff; }
.nav-icon { width: 22px; font-size: 20px; text-align: center; line-height: 1; }
.sidebar-footer { padding: 18px 22px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-email { display: block; overflow: hidden; margin-bottom: 8px; color: #9eafc2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.logout-button { padding: 0; border: 0; background: none; color: #e3e9f1; cursor: pointer; font-weight: 650; }
.logout-button:hover { color: #fff; text-decoration: underline; }

.main-content { width: 100%; max-width: 1680px; min-height: 100vh; padding: 38px 44px 70px; }
.page-header { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; margin-bottom: 26px; }
.page-header h1 { margin: 0; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.eyebrow { margin: 0 0 6px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lead { margin: 8px 0 0; color: var(--muted); }
.live-badge { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 11px; border: 1px solid #dbe9e5; border-radius: 99px; background: #f4fbf8; color: #267b66; font-size: 11px; font-weight: 700; white-space: nowrap; }
.live-badge span { width: 7px; height: 7px; border-radius: 50%; background: #27ac87; box-shadow: 0 0 0 4px rgba(39,172,135,.12); }

.metric-grid { display: grid; gap: 14px; margin-bottom: 24px; }
.metric-grid-dashboard { grid-template-columns: repeat(5, minmax(142px, 1fr)); }
.account-metrics { grid-template-columns: repeat(6, minmax(130px, 1fr)); }
.metric-card { position: relative; min-height: 128px; padding: 19px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.metric-card::after { position: absolute; right: -19px; bottom: -27px; width: 75px; height: 75px; border-radius: 50%; background: var(--blue-pale); content: ""; opacity: .55; }
.metric-card.metric-primary { border-color: #2e71e5; background: linear-gradient(145deg, #3479eb, #2867d3); color: #fff; box-shadow: 0 11px 25px rgba(46,113,229,.18); }
.metric-card.metric-primary::after { background: #fff; opacity: .1; }
.metric-label { position: relative; z-index: 1; display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.metric-primary .metric-label { color: #dceaff; }
.metric-card strong { position: relative; z-index: 1; display: block; font-size: 30px; line-height: 1.15; letter-spacing: -.035em; }
.metric-card small { position: relative; z-index: 1; display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.metric-primary small { color: #dceaff; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel-heading { display: flex; min-height: 73px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 21px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.015em; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.accounts-heading { padding-top: 15px; padding-bottom: 15px; }
.search-form { position: relative; width: min(360px, 100%); }
.search-form input { width: 100%; height: 40px; padding: 0 38px; border: 1px solid #dfe5ed; border-radius: 10px; outline: none; background: #fafbfc; color: var(--ink); }
.search-form input:focus { border-color: #8ab2f3; box-shadow: 0 0 0 3px rgba(46,113,229,.1); background: #fff; }
.search-icon { position: absolute; top: 8px; left: 13px; color: #8795a8; font-size: 20px; line-height: 1; }
.clear-search { position: absolute; top: 8px; right: 13px; color: #8795a8; font-size: 20px; line-height: 1; text-decoration: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fafbfc; color: #768499; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
td { padding: 15px 16px; border-bottom: 1px solid #edf0f4; color: #3f4d61; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcff; }
.account-link { display: flex; min-width: 230px; align-items: center; gap: 11px; text-decoration: none; }
.account-link strong, .account-link small { display: block; }
.account-link strong { max-width: 270px; overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-link small { margin-top: 2px; color: #8491a3; font-size: 10px; }
.avatar { display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid #dbe6f8; border-radius: 10px; background: #edf4ff; color: #316ac8; font-size: 13px; font-weight: 800; }
.avatar-large { width: 58px; height: 58px; flex-basis: 58px; border-radius: 15px; font-size: 21px; }
.subtle { color: #77859a; font-size: 11px; white-space: nowrap; }
.row-action { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e1e6ed; border-radius: 8px; color: #708097; font-size: 20px; line-height: 1; text-decoration: none; }
.row-action:hover { border-color: #b8ceef; background: var(--blue-pale); color: var(--blue); }
.empty-state, .compact-empty { display: flex; flex-direction: column; align-items: center; padding: 50px 20px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); }
.compact-empty { min-height: 160px; justify-content: center; font-size: 12px; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.pagination a { color: var(--blue); font-weight: 700; text-decoration: none; }
.pagination a:last-child { justify-self: end; }

.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; color: #8a96a7; font-size: 11px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.account-header { align-items: center; }
.account-title { display: flex; align-items: center; gap: 15px; min-width: 0; }
.title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.title-line h1 { overflow-wrap: anywhere; }
.status-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 99px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.status-good { background: #e6f7f1; color: #167a60; }
.status-warning { background: #fff4dc; color: #9b6810; }
.status-neutral { background: #f0f3f7; color: #566579; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 750; text-decoration: none; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 7px 18px rgba(46,113,229,.2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: #d7dee8; background: #fff; color: #3b4c62; }
.button-secondary:hover { border-color: #a9c4ea; color: var(--blue); }
.button-full { width: 100%; }
.two-column-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-bottom: 18px; }
.statistics-grid { grid-template-columns: minmax(0, 2fr) minmax(310px, .88fr); align-items: start; }
.period-panel { overflow: hidden; }
.month-tiles { display: grid; grid-template-columns: repeat(7, minmax(70px, 1fr)); gap: 7px; padding: 15px 16px 13px; }
.month-tile { position: relative; display: flex; min-width: 0; min-height: 105px; flex-direction: column; align-items: center; justify-content: flex-end; padding: 19px 7px 9px; overflow: hidden; border: 1px solid #e2e7ee; border-radius: 10px; background: #f8fafc; color: var(--ink); text-align: center; text-decoration: none; transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease; }
.month-tile:hover { z-index: 1; border-color: #9abcef; box-shadow: 0 8px 20px rgba(42,91,163,.11); transform: translateY(-2px); }
.month-tile.is-selected { border-color: var(--blue); background: linear-gradient(150deg, #edf4ff, #fff); box-shadow: inset 0 -3px 0 var(--blue), 0 8px 20px rgba(46,113,229,.12); }
.month-tile.is-current:not(.is-selected) { border-color: #bbd0f2; }
.current-label { position: absolute; inset: 6px 6px auto; padding: 3px 4px; border-radius: 6px; background: #dfeaff; color: #326ac4; font-size: 7px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.month-name, .month-year { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.month-name { font-size: 10px; font-weight: 800; }.month-year { color: #8996a7; font-size: 8px; }
.month-tile strong { margin-top: 5px; color: var(--blue); font-size: 20px; line-height: 1; }.month-tile small { margin-top: 2px; color: #8491a3; font-size: 7px; }
.days-form { padding: 0 16px 15px; border-top: 1px solid var(--line); }
.days-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 1px 12px; }
.days-heading strong, .days-heading span { display: block; }.days-heading strong { font-size: 12px; }.days-heading div > span { margin-top: 1px; color: var(--muted); font-size: 9px; }
.selection-count { padding: 4px 8px; border-radius: 99px; background: #edf3fc; color: #4873b3; font-size: 8px; font-weight: 800; }
.day-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day-tile { position: relative; display: grid; min-height: 53px; place-items: center; align-content: center; gap: 0; padding: 3px 2px; border: 1px solid #e4e9f0; border-radius: 8px; background: #fff; cursor: pointer; user-select: none; }
.day-tile:hover { border-color: #a8c4ed; background: #f8fbff; }.day-tile.is-selected { border-color: var(--blue); background: #eaf2ff; box-shadow: inset 0 0 0 1px var(--blue); }
.day-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.day-tile > span { color: #8b97a7; font-size: 6px; font-weight: 750; text-transform: uppercase; }.day-tile > strong { margin: 0; font-size: 13px; line-height: 1.1; }.day-tile > small { color: #8794a5; font-size: 6px; }
.days-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.button-small { min-height: 34px; padding: 6px 11px; border-radius: 8px; font-size: 10px; }.button-quiet { background: #f1f4f8; color: #566579; }
.catalog-grid { grid-template-columns: 1fr 1fr; }
.bar-chart { display: flex; height: 245px; align-items: stretch; gap: 15px; padding: 25px 24px 20px; }
.bar-column { display: grid; min-width: 0; flex: 1; grid-template-rows: 20px 1fr 20px; gap: 5px; text-align: center; }
.bar-value { color: #566579; font-size: 10px; font-weight: 750; }
.bar-track { position: relative; display: block; overflow: hidden; border-radius: 7px; background: #f3f6fa; }
.bar { position: absolute; inset: auto 0 0; display: block; min-height: 4px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #6aa0f3, #2e71e5); }
.bar-h-5 { height: 5%; }.bar-h-10 { height: 10%; }.bar-h-15 { height: 15%; }.bar-h-20 { height: 20%; }.bar-h-25 { height: 25%; }.bar-h-30 { height: 30%; }.bar-h-35 { height: 35%; }.bar-h-40 { height: 40%; }.bar-h-45 { height: 45%; }.bar-h-50 { height: 50%; }.bar-h-55 { height: 55%; }.bar-h-60 { height: 60%; }.bar-h-65 { height: 65%; }.bar-h-70 { height: 70%; }.bar-h-75 { height: 75%; }.bar-h-80 { height: 80%; }.bar-h-85 { height: 85%; }.bar-h-90 { height: 90%; }.bar-h-95 { height: 95%; }.bar-h-100 { height: 100%; }
.bar-column small { overflow: hidden; color: #8491a3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.status-list { padding: 18px 24px 24px; }
.status-list > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; min-height: 51px; padding: 13px 0; border-bottom: 1px solid #e9edf2; }
.status-list > div:last-child { border: 0; }
.status-list span { font-size: 13px; font-weight: 600; }
.status-list strong { min-width: 28px; color: var(--ink); font-size: 17px; text-align: right; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa6b7; box-shadow: 0 0 0 4px rgba(154,166,183,.09); }
.status-scheduled { background: #4d83df; }.status-completed { background: #25a481; }.status-no_show { background: #e8a23f; }.status-cancelled_patient { background: #c76e9d; }.status-cancelled_specialist { background: #de6c67; }
.item-list { padding: 5px 20px 12px; }
.item-list article { display: grid; grid-template-columns: 36px 1fr auto 8px; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid #edf0f4; }
.item-list article:last-child { border: 0; }
.item-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #f0f5fd; color: #4676c2; font-size: 16px; }
.item-list strong, .item-list small { display: block; }
.item-list strong { font-size: 12px; }
.item-list small { margin-top: 2px; color: #8794a6; font-size: 9px; }
.item-count { min-width: 45px; text-align: right; font-weight: 800; }
.item-count small { margin: 0; }
.active-dot { width: 7px; height: 7px; border-radius: 50%; background: #c5ccd6; }
.active-dot.is-active { background: #25a481; box-shadow: 0 0 0 4px rgba(37,164,129,.1); }
.recent-panel, .account-meta { margin-top: 18px; }
.appointment-filters { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto; gap: 10px; align-items: end; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.appointment-filters label { display: grid; gap: 5px; color: #758398; font-size: 9px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.appointment-filters select { width: 100%; height: 36px; padding: 0 30px 0 10px; border: 1px solid #dce3eb; border-radius: 8px; outline: 0; background: #fff; color: #34445a; font-size: 11px; text-transform: none; }
.appointment-filters select:focus { border-color: #86adeb; box-shadow: 0 0 0 3px rgba(46,113,229,.09); }
.sortable-heading { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }.sortable-heading span { color: #a6b0be; font-size: 11px; }.sortable-heading:hover, .sortable-heading.is-sorted { color: var(--blue); }.sortable-heading.is-sorted span { color: var(--blue); }
.table-footer { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fbfcfd; }
.per-page-form { display: flex; align-items: center; gap: 8px; color: #69778a; font-size: 10px; }.per-page-form input { width: 65px; height: 34px; padding: 0 7px; border: 1px solid #dce3eb; border-radius: 8px; outline: 0; }.per-page-form input:focus { border-color: #86adeb; box-shadow: 0 0 0 3px rgba(46,113,229,.09); }
.table-pagination { display: flex; align-items: center; gap: 11px; color: #68768a; font-size: 10px; }.page-arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dce3eb; border-radius: 8px; background: #fff; color: var(--blue); font-size: 15px; text-decoration: none; }.page-arrow:hover { border-color: #9ebceb; background: #f2f7ff; }.page-arrow.is-disabled { color: #bac2cc; cursor: default; pointer-events: none; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.meta-grid div { min-width: 0; padding: 17px 21px; border-right: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.meta-grid div:nth-child(4n) { border-right: 0; }
.meta-grid div:nth-last-child(-n+4) { border-bottom: 0; }
.meta-grid dt { margin-bottom: 4px; color: #8491a3; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.meta-grid dd { margin: 0; overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.empty-workspace { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.empty-workspace h2 { margin: 12px 0 5px; }.empty-workspace p { margin: 0; color: var(--muted); }
.empty-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #fff3dd; color: #a96e0c; font-size: 22px; font-weight: 800; }

.auth-body { min-height: 100vh; background: radial-gradient(circle at 25% 15%, rgba(81,136,228,.15), transparent 30%), linear-gradient(145deg, #f5f8fc, #edf2f8); }
.auth-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; padding: 38px 42px 32px; border: 1px solid rgba(220,227,237,.9); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 24px 65px rgba(27,48,79,.12); }
.auth-brand { margin-bottom: 22px; }.auth-card h1 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }.auth-card .muted { margin: 10px 0 24px; color: var(--muted); }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 6px; color: #3d4b5f; font-size: 11px; font-weight: 750; }
.auth-form input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dce3ec; border-radius: 10px; outline: none; background: #fff; }
.auth-form input:focus { border-color: #78a5ed; box-shadow: 0 0 0 3px rgba(46,113,229,.1); }
.password-field { position: relative; display: block; }.password-field input { padding-right: 65px; }
.password-toggle { position: absolute; top: 5px; right: 5px; height: 34px; padding: 0 8px; border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 750; }
.auth-note { margin: 20px 0 0; color: #8b97a8; font-size: 10px; text-align: center; }
.alert { margin: 0 0 17px; padding: 10px 12px; border-radius: 9px; font-size: 11px; }.alert-error { border: 1px solid #f0c9c9; background: #fff1f1; color: #a23b3b; }
.not-found { display: flex; min-height: 70vh; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.not-found > span { color: #c1d5f7; font-size: 80px; font-weight: 900; line-height: 1; }.not-found h1 { margin: 13px 0 4px; }.not-found p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 1250px) {
    .metric-grid-dashboard { grid-template-columns: repeat(3, 1fr); }
    .account-metrics { grid-template-columns: repeat(3, 1fr); }
    .meta-grid { grid-template-columns: repeat(2, 1fr); }.meta-grid div:nth-child(4n) { border-right: 1px solid #edf0f4; }.meta-grid div:nth-child(2n) { border-right: 0; }.meta-grid div:nth-last-child(-n+4) { border-bottom: 1px solid #edf0f4; }.meta-grid div:nth-last-child(-n+2) { border-bottom: 0; }
    .statistics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .app-body { padding-left: 76px; }.sidebar { width: 76px; }.brand { justify-content: center; padding: 17px; }.brand > span:last-child, .nav-link:not(.is-active)::after, .nav-link { font-size: 0; }.nav-link { justify-content: center; padding: 12px; }.nav-icon { font-size: 21px; }.sidebar-footer { padding: 15px 10px; text-align: center; }.admin-email { display: none; }.logout-button { font-size: 10px; }
    .main-content { padding: 30px 25px 60px; }.two-column-grid { grid-template-columns: 1fr; }.appointment-filters { grid-template-columns: repeat(3, 1fr); }.appointment-filters .button { width: 100%; }
}
@media (max-width: 680px) {
    .app-body { padding: 0; padding-bottom: 67px; }.sidebar { inset: auto 0 0; width: auto; height: 67px; flex-direction: row; }.brand { min-height: 0; width: 70px; border: 0; border-right: 1px solid rgba(255,255,255,.08); }.brand-mark { width: 36px; height: 36px; flex-basis: 36px; }.nav { display: flex; padding: 10px; }.sidebar-footer { margin-left: auto; border: 0; border-left: 1px solid rgba(255,255,255,.08); }.logout-button { height: 38px; }
    .main-content { padding: 24px 15px 45px; }.page-header { flex-direction: column; gap: 14px; }.account-header { align-items: flex-start; }.metric-grid-dashboard, .account-metrics { grid-template-columns: repeat(2, 1fr); }.metric-card { min-height: 115px; padding: 16px; }.metric-card strong { font-size: 25px; }
    .accounts-heading { align-items: stretch; flex-direction: column; }.search-form { width: 100%; }
    .accounts-panel table thead, .recent-panel table thead { display: none; }.accounts-panel table, .accounts-panel tbody, .accounts-panel tr, .accounts-panel td, .recent-panel table, .recent-panel tbody, .recent-panel tr, .recent-panel td { display: block; width: 100%; }.accounts-panel tr, .recent-panel tr { position: relative; padding: 12px 15px; border-bottom: 1px solid var(--line); }.accounts-panel tr:last-child, .recent-panel tr:last-child { border: 0; }.accounts-panel td, .recent-panel td { display: flex; justify-content: space-between; gap: 15px; padding: 5px 0; border: 0; text-align: right; }.accounts-panel td::before, .recent-panel td::before { color: #8390a2; content: attr(data-label); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }.accounts-panel td:first-child { display: block; margin-bottom: 7px; text-align: left; }.accounts-panel td:first-child::before { display: none; }.accounts-panel td:last-child { position: absolute; top: 17px; right: 14px; width: auto; }.accounts-panel td:last-child::before { display: none; }.account-link { min-width: 0; padding-right: 40px; }.account-link strong { max-width: 220px; }
    .recent-panel td:first-child { font-size: 12px; }.recent-panel td:first-child::before { display: inline; }
    .meta-grid { grid-template-columns: 1fr; }.meta-grid div, .meta-grid div:nth-child(2n), .meta-grid div:nth-child(4n), .meta-grid div:nth-last-child(-n+4), .meta-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #edf0f4; }.meta-grid div:last-child { border-bottom: 0; }
    .bar-chart { height: 210px; gap: 7px; padding-right: 14px; padding-left: 14px; }.auth-card { padding: 32px 24px 27px; }
    .month-tiles { grid-template-columns: repeat(4, 1fr); }.month-tile { min-height: 96px; }.day-tiles { grid-template-columns: repeat(5, 1fr); }.table-footer { align-items: stretch; flex-direction: column; }.per-page-form, .table-pagination { justify-content: space-between; width: 100%; }.appointment-filters { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .metric-grid-dashboard, .account-metrics { grid-template-columns: 1fr 1fr; gap: 9px; }.metric-card { padding: 14px; }.metric-card small { font-size: 9px; }.title-line { align-items: flex-start; flex-direction: column; gap: 7px; }.account-title { align-items: flex-start; }.avatar-large { width: 48px; height: 48px; flex-basis: 48px; }
    .month-tiles { grid-template-columns: repeat(2, 1fr); }.day-tiles { grid-template-columns: repeat(4, 1fr); }.days-actions { align-items: stretch; flex-direction: column; }.days-actions .button { width: 100%; }.per-page-form { flex-wrap: wrap; }
}
