:root {
    --primary: #1f4f8f;
    --primary-dark: #153963;
    --primary-light: #eaf2ff;
    --secondary: #f39c12;
    --secondary-dark: #c87f0a;
    --secondary-light: #fff4df;
    --accent: #21a67a;
    --accent-dark: #147356;
    --accent-light: #e7f8f2;
    --heading: #17233c;
    --text: #3f4a5f;
    --text-light: #6f7b8f;
    --muted: #8a94a6;
    --border: #e4e8ef;
    --section: #f7f9fc;
    --white: #fff;
    --danger: #d93025;
    --danger-light: #fdecea;
    --warning: #a56400;
    --warning-light: #fff8df;
    --sidebar: #10233f;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .08);
    --shadow-sm: 0 4px 10px rgba(15, 23, 42, .08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .1);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, .14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--section);
    font: 400 15px/1.6 "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
    overflow: hidden;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img,
svg {
    display: block;
}

.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;
}

.expert-shell {
    min-height: 100vh;
}

.expert-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 278px;
    display: flex;
    flex-direction: column;
    padding: 25px 18px 20px;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 8%, rgba(31, 79, 143, .42), transparent 32%),
        linear-gradient(180deg, #102b4f 0%, var(--sidebar) 54%, #0d1b2f 100%);
    box-shadow: 12px 0 32px rgba(15, 35, 65, .1);
}

.expert-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 8px 23px;
    color: var(--white);
    text-decoration: none;
}

.expert-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.expert-brand strong,
.expert-brand small {
    display: block;
}

.expert-brand strong {
    font: 700 21px/1.15 "Poppins", Arial, sans-serif;
}

.expert-brand small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sidebar-profile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin: 2px 2px 21px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    background: rgba(255, 255, 255, .075);
}

.sidebar-profile img,
.profile-initials {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    object-fit: cover;
}

.profile-initials {
    color: var(--primary-dark);
    background: var(--secondary-light);
    font-weight: 800;
}

.sidebar-profile strong,
.sidebar-profile small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-profile strong {
    color: var(--white);
    font-size: 13px;
}

.sidebar-profile small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
}

.sidebar-nav {
    display: grid;
    gap: 5px;
}

.nav-label {
    padding: 0 13px 8px;
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sidebar-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, .73);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.sidebar-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    transform: translateX(2px);
}

.sidebar-link.is-active {
    border-color: rgba(255, 255, 255, .1);
    color: var(--white);
    background: linear-gradient(90deg, rgba(31, 79, 143, .92), rgba(31, 79, 143, .58));
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

.sidebar-link.is-active::after {
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-radius: 50%;
    content: "";
    background: var(--secondary);
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
}

.logout-link {
    color: #ffd8d5;
}

.sidebar-bottom p {
    margin: 13px 13px 0;
    color: rgba(255, 255, 255, .34);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    background: rgba(10, 24, 44, .62);
    backdrop-filter: blur(3px);
}

.expert-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-left: 278px;
}

.expert-topbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(22px, 3vw, 44px);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.topbar-heading,
.topbar-actions,
.topbar-profile {
    display: flex;
    align-items: center;
}

.topbar-heading {
    min-width: 0;
    gap: 14px;
}

.topbar-heading h1,
.topbar-heading p {
    margin: 0;
}

.topbar-heading h1 {
    color: var(--heading);
    font: 700 clamp(21px, 2.4vw, 29px)/1.2 "Poppins", Arial, sans-serif;
    letter-spacing: -.03em;
}

.topbar-heading p {
    margin-bottom: 2px;
    color: var(--text-light);
    font-size: 11px;
}

.menu-button {
    width: 42px;
    height: 42px;
    display: none;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--white);
}

.menu-button span {
    width: 19px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--heading);
}

.topbar-actions {
    gap: 18px;
}

.live-date {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-light);
    background: var(--section);
    font-size: 11px;
    font-weight: 600;
}

.topbar-profile {
    gap: 10px;
    color: var(--heading);
    text-decoration: none;
}

.topbar-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--primary-dark);
    background: var(--primary-light);
    font-weight: 800;
}

.topbar-profile strong,
.topbar-profile small {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-profile strong {
    font-size: 12px;
}

.topbar-profile small {
    margin-top: 2px;
    color: var(--text-light);
    font-size: 9px;
}

.page-content {
    width: 100%;
    max-width: 1580px;
    flex: 1;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 42px);
}

.expert-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(22px, 3vw, 44px);
    border-top: 1px solid var(--border);
    color: var(--muted);
    background: var(--white);
    font-size: 10px;
}

.flash-message,
.setup-notice,
.login-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid #cbdcf2;
    border-radius: 12px;
    color: var(--primary-dark);
    background: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
}

.flash-message.is-success,
.login-alert.is-success {
    border-color: #bfe9d8;
    color: var(--accent-dark);
    background: var(--accent-light);
}

.flash-message.is-error,
.login-alert,
.login-alert.is-error {
    border-color: #f4c7c3;
    color: #a92820;
    background: var(--danger-light);
}

.flash-message.is-warning,
.setup-notice,
.login-alert.is-warning {
    border-color: #f1d99e;
    color: var(--warning);
    background: var(--warning-light);
}

.flash-message button {
    padding: 0;
    border: 0;
    color: currentColor;
    background: transparent;
    font-size: 20px;
}

.welcome-banner,
.meeting-hero,
.support-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: clamp(25px, 3vw, 36px);
    border-radius: 22px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 20%, rgba(243, 156, 18, .23), transparent 28%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: var(--shadow-md);
}

.welcome-banner h2,
.meeting-hero h2,
.support-hero h2 {
    margin: 4px 0 6px;
    color: var(--white);
    font: 700 clamp(24px, 3vw, 34px)/1.25 "Poppins", Arial, sans-serif;
    letter-spacing: -.03em;
}

.welcome-banner p,
.meeting-hero p,
.support-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.section-kicker {
    display: block;
    color: var(--secondary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.welcome-banner .section-kicker,
.meeting-hero .section-kicker,
.support-hero .section-kicker {
    color: #ffd28c;
}

.primary-button,
.secondary-button,
.small-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.primary-button {
    color: var(--white);
    background: var(--primary);
    box-shadow: var(--shadow-sm);
}

.welcome-banner .primary-button {
    color: var(--primary-dark);
    background: var(--white);
}

.primary-button:hover,
.secondary-button:hover,
.small-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.secondary-button {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
    display:none;
}

.is-full {
    width: 100%;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 24px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.stat-card::after {
    position: absolute;
    width: 115px;
    height: 115px;
    top: -48px;
    right: -43px;
    border-radius: 50%;
    content: "";
    background: var(--card-tint, var(--primary-light));
}

.stat-card.is-blue { --card-color: var(--primary); --card-tint: var(--primary-light); }
.stat-card.is-teal { --card-color: var(--accent); --card-tint: var(--accent-light); }
.stat-card.is-orange { --card-color: var(--secondary-dark); --card-tint: var(--secondary-light); }
.stat-card.is-navy { --card-color: var(--heading); --card-tint: #e9edf4; }

.stat-icon {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 10px;
    color: var(--card-color);
    background: var(--card-tint);
    font-size: 10px;
    font-weight: 800;
}

.stat-card > strong,
.stat-card > span,
.stat-card > small {
    display: block;
}

.stat-card > strong {
    color: var(--heading);
    font: 700 clamp(25px, 3vw, 34px)/1 "Poppins", Arial, sans-serif;
}

.stat-card > span:not(.stat-icon) {
    margin-top: 9px;
    color: var(--heading);
    font-size: 12px;
    font-weight: 700;
}

.stat-card > small {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 9px;
}

.content-grid,
.settings-grid {
    display: grid;
    gap: 22px;
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .45fr);
}

.availability-grid,
.support-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.support-grid {
    grid-template-columns: minmax(310px, .45fr) minmax(0, 1.55fr);
}

.settings-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
}

.panel {
    min-width: 0;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.panel-header h2,
.form-panel h2,
.password-panel h2 {
    margin: 4px 0 5px;
    color: var(--heading);
    font: 700 clamp(18px, 2vw, 23px)/1.3 "Poppins", Arial, sans-serif;
    letter-spacing: -.025em;
}

.panel-header p,
.form-panel > p,
.password-panel > p {
    margin: 0;
    color: var(--text-light);
    font-size: 11px;
}

.text-link,
.filter-reset {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.count-pill {
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.session-list,
.availability-list,
.ticket-list {
    display: grid;
    gap: 10px;
}

.session-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #eef1f5;
}

.session-item:last-child {
    border-bottom: 0;
}

.date-tile {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 13px;
    color: var(--primary);
    background: var(--primary-light);
}

.date-tile strong,
.date-tile span {
    display: block;
    line-height: 1;
}

.date-tile strong {
    font: 700 18px "Poppins", Arial, sans-serif;
}

.date-tile span {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.session-copy strong,
.session-copy span {
    display: block;
}

.session-copy strong {
    color: var(--heading);
    font-size: 12px;
}

.session-copy span {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--text-light);
    background: #eef1f5;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.status-badge.is-success { color: var(--accent-dark); background: var(--accent-light); }
.status-badge.is-info { color: var(--primary); background: var(--primary-light); }
.status-badge.is-danger { color: var(--danger); background: var(--danger-light); }
.status-badge.is-warning { color: var(--warning); background: var(--warning-light); }

.small-button {
    min-width: 60px;
    min-height: 32px;
    padding: 6px 11px;
    color: var(--white);
    background: var(--primary);
    font-size: 9px;
}

.small-button.is-outline {
    border-color: var(--border);
    color: var(--primary);
    background: var(--white);
}

.expert-card {
    text-align: center;
}

.expert-card .section-kicker {
    text-align: left;
}

.expert-card-avatar,
.large-avatar {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin: 15px auto 12px;
    border-radius: 24px;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    font: 800 24px "Poppins", Arial, sans-serif;
}

.expert-card h2 {
    margin: 0;
    color: var(--heading);
    font: 700 17px "Poppins", Arial, sans-serif;
}

.expert-card > p {
    margin: 5px 0 18px;
    color: var(--text-light);
    font-size: 10px;
}

.profile-facts {
    display: grid;
    gap: 9px;
    margin: 0 0 18px;
    text-align: left;
}

.profile-facts div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #eef1f5;
}

.profile-facts dt {
    color: var(--text-light);
    font-size: 10px;
}

.profile-facts dd {
    margin: 0;
    color: var(--heading);
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}

.empty-state {
    padding: 34px 20px;
    color: var(--text-light);
    text-align: center;
}

.empty-state strong,
.empty-state p {
    display: block;
    margin: 0;
}

.empty-state strong {
    color: var(--heading);
    font: 600 14px "Poppins", Arial, sans-serif;
}

.empty-state p {
    margin-top: 5px;
    font-size: 11px;
}

.form-panel > p,
.password-panel > p {
    margin-bottom: 21px;
}

.stack-form,
.settings-form {
    display: grid;
    gap: 16px;
}

.form-row,
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.form-field {
    min-width: 0;
    display: grid;
    gap: 7px;
    color: var(--heading);
    font-size: 11px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea,
.filter-select select {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    outline: 0;
    color: var(--heading);
    background: var(--white);
    font-size: 12px;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.filter-select select:focus,
.search-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 79, 143, .1);
}

.form-field small {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 500;
}

.availability-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fbfcfe;
}

.day-marker {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.availability-item > div:nth-child(2) strong,
.availability-item > div:nth-child(2) span {
    display: block;
}

.availability-item > div:nth-child(2) strong {
    color: var(--heading);
    font-size: 12px;
}

.availability-item > div:nth-child(2) span,
.availability-item > small {
    color: var(--text-light);
    font-size: 9px;
}

.row-actions,
.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.row-actions form,
.table-actions form {
    margin: 0;
}

.icon-button {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--primary);
    background: var(--white);
}

.icon-button.is-danger {
    color: var(--danger);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, .28fr) auto auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 19px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--section);
}

.search-field {
    position: relative;
}

.search-field svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transform: translateY(-50%);
}

.search-field input {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px 10px 41px;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    outline: 0;
    background: var(--white);
    font-size: 12px;
}

.filter-select {
    display: grid;
    gap: 5px;
    color: var(--heading);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.filter-reset {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0 8px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--text-light);
    background: #f9fafc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.data-table td {
    color: var(--text);
    font-size: 10px;
}

.data-table td > strong {
    color: var(--heading);
}

.person-cell {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.person-cell > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 9px;
    font-weight: 800;
}

.person-cell strong,
.person-cell small,
.table-subtext {
    display: block;
}

.person-cell strong {
    color: var(--heading);
    font-size: 10px;
}

.person-cell small,
.table-subtext {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 8px;
}

.table-button {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--white);
    background: var(--primary);
    font-size: 8px;
    font-weight: 800;
    text-decoration: none;
}

.table-button.is-secondary {
    border-color: var(--border);
    color: var(--primary);
    background: var(--white);
}

.table-button.is-danger {
    border-color: #f3c6c2;
    color: var(--danger);
    background: var(--danger-light);
}

.meeting-hero-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
}

.meeting-hero-icon svg {
    width: 30px;
    height: 30px;
}

.meeting-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.meeting-card {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.meeting-card:hover,
.meeting-card.is-selected {
    border-color: rgba(31, 79, 143, .35);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.meeting-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.meeting-card h2 {
    margin: 17px 0 3px;
    color: var(--heading);
    font: 700 17px "Poppins", Arial, sans-serif;
}

.meeting-card > p {
    margin: 0 0 14px;
    color: var(--text-light);
    font-size: 10px;
}

.meeting-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 15px;
}

.meeting-card dl div {
    padding: 10px;
    border-radius: 10px;
    background: var(--section);
}

.meeting-card dt {
    color: var(--text-light);
    font-size: 8px;
    text-transform: uppercase;
}

.meeting-card dd {
    margin: 3px 0 0;
    color: var(--heading);
    font-size: 9px;
    font-weight: 700;
}

.meeting-form {
    display: grid;
    gap: 10px;
    margin-bottom: 11px;
}

.revenue-stats {
    margin-bottom: 22px;
}

.revenue-chart-panel {
    margin-bottom: 22px;
}

.bar-chart {
    min-height: 275px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 15px;
    padding: 25px 15px 0;
    border-top: 1px solid #edf0f5;
}

.bar-column {
    min-width: 70px;
    height: 230px;
    display: grid;
    grid-template-rows: 25px 1fr 25px;
    justify-items: center;
    gap: 7px;
}

.bar-value {
    color: var(--heading);
    font-size: 8px;
    font-weight: 700;
}

.bar-track {
    width: 42px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 12px 12px 5px 5px;
    background: var(--primary-light);
}

.bar-track i {
    width: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(180deg, #4c83c3, var(--primary));
}

.bar-column > strong {
    color: var(--text-light);
    font-size: 8px;
    white-space: nowrap;
}

.profile-upload-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--section);
}

.profile-upload-row .large-avatar {
    margin: 0;
}

.large-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.upload-control strong,
.upload-control span,
.upload-control input {
    display: block;
}

.upload-control strong {
    color: var(--heading);
    font-size: 12px;
}

.upload-control span {
    margin: 3px 0 10px;
    color: var(--text-light);
    font-size: 9px;
}

.upload-control input {
    width: 100%;
    font-size: 10px;
}

.security-note {
    margin-top: 23px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--section);
}

.security-note > strong {
    margin-right: 7px;
    color: var(--heading);
    font-size: 11px;
}

.security-note p {
    margin: 8px 0 0;
    color: var(--text-light);
    font-size: 9px;
}

.support-contact {
    min-width: 230px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
}

.support-contact span,
.support-contact a {
    display: block;
}

.support-contact span {
    margin-bottom: 5px;
    color: #ffd28c;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.support-contact a {
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.ticket-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fbfcfe;
}

.ticket-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px;
    cursor: pointer;
    list-style: none;
}

.ticket-item summary::-webkit-details-marker {
    display: none;
}

.ticket-item summary strong,
.ticket-item summary small {
    display: block;
}

.ticket-item summary strong {
    color: var(--heading);
    font-size: 11px;
}

.ticket-item summary small {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 8px;
}

.ticket-body {
    padding: 0 14px 14px;
    color: var(--text);
    font-size: 10px;
}

.ticket-body > strong,
.admin-reply > strong {
    color: var(--heading);
    font-size: 9px;
    text-transform: uppercase;
}

.ticket-body p {
    margin: 5px 0 0;
}

.admin-reply {
    margin-top: 12px;
    padding: 12px;
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    background: var(--accent-light);
}

/* Login */
.auth-page {
    background:
        radial-gradient(circle at 7% 7%, rgba(243, 156, 18, .13), transparent 26%),
        radial-gradient(circle at 93% 90%, rgba(31, 79, 143, .13), transparent 29%),
        #eef5ff;
}

.auth-layout {
    width: min(1180px, calc(100% - 42px));
    min-height: min(720px, calc(100vh - 42px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    margin: 21px auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(15, 35, 65, .17);
}

.auth-story {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(35px, 5vw, 58px);
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(16, 35, 63, .98), rgba(31, 79, 143, .91)),
        url("https://ollato.in/assets/images/hero.jpg") center/cover;
}

.auth-story::after {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: -260px;
    bottom: -180px;
    border: 80px solid rgba(243, 156, 18, .12);
    border-radius: 50%;
    content: "";
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.auth-brand img {
    width: 66px;
    height: 66px;
    border-radius: 17px;
    background: var(--white);
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    color: var(--white);
    font: 700 19px "Poppins", Arial, sans-serif;
}

.auth-brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.auth-story-copy {
    max-width: 570px;
    margin: 65px 0 52px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 700;
}

.auth-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, .15);
}

.auth-story-copy h1 {
    margin: 20px 0 16px;
    color: var(--white);
    font: 700 clamp(38px, 5vw, 60px)/1.03 "Poppins", Arial, sans-serif;
    letter-spacing: -.055em;
}

.auth-story-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.75;
}

.auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.auth-benefits article {
    min-height: 105px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.auth-benefits strong,
.auth-benefits span {
    display: block;
}

.auth-benefits strong {
    color: var(--white);
    font: 600 13px "Poppins", Arial, sans-serif;
}

.auth-benefits span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .61);
    font-size: 9px;
    line-height: 1.5;
}

.auth-form-panel {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(34px, 5vw, 65px);
    background:
        radial-gradient(circle at 100% 0, rgba(243, 156, 18, .11) 0 80px, transparent 81px),
        var(--white);
}

.auth-form-wrap {
    width: min(430px, 100%);
}

.auth-form-label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.auth-form-wrap h2 {
    margin: 17px 0 5px;
    color: var(--heading);
    font: 700 clamp(29px, 4vw, 40px)/1.2 "Poppins", Arial, sans-serif;
    letter-spacing: -.04em;
}

.auth-form-wrap > p {
    margin: 0 0 24px;
    color: var(--text-light);
    font-size: 12px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.input-control {
    position: relative;
    display: block;
}

.input-control > svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--primary);
    transform: translateY(-50%);
}

.input-control > input {
    padding-left: 43px;
    padding-right: 58px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 5px;
    border: 0;
    color: var(--primary);
    background: transparent;
    font-size: 9px;
    font-weight: 800;
    transform: translateY(-50%);
}

.login-button {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    border: 0;
    border-radius: 13px;
    color: var(--white);
    background: var(--secondary);
    box-shadow: 0 10px 23px rgba(243, 156, 18, .22);
    font-size: 12px;
    font-weight: 800;
}

.login-button:hover {
    background: var(--secondary-dark);
}

.auth-help {
    margin-top: 21px;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--secondary);
    border-radius: 11px;
    background: #fbfcfe;
}

.auth-help strong,
.auth-help span {
    display: block;
}

.auth-help strong {
    color: var(--heading);
    font-size: 10px;
}

.auth-help span {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 9px;
}

.auth-help a {
    color: var(--primary);
    font-weight: 700;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(243, 156, 18, .32);
    outline-offset: 2px;
}

@media (max-width: 1180px) {
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .meeting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .availability-grid,
    .settings-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
    }
}

@media (max-width: 980px) {
    .expert-sidebar {
        width: 278px;
        transform: translateX(-102%);
        transition: transform .25s ease;
    }

    .is-menu-open .expert-sidebar {
        transform: translateX(0);
    }

    .is-menu-open .sidebar-overlay {
        display: block;
    }

    .expert-main {
        margin-left: 0;
    }

    .menu-button {
        display: block;
    }

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-story {
        min-height: 520px;
    }

    .auth-story-copy {
        margin: 50px 0 38px;
    }
}

@media (max-width: 820px) {
    .dashboard-grid,
    .availability-grid,
    .support-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .meeting-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .support-hero {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .expert-topbar {
        align-items: flex-start;
        padding: 15px 14px;
    }

    .topbar-heading p,
    .live-date,
    .topbar-profile > span:last-child {
        display: none;
    }

    .topbar-heading h1 {
        font-size: 20px;
    }

    .page-content {
        padding: 17px 13px 26px;
    }

    .expert-footer {
        flex-direction: column;
        gap: 3px;
        padding: 16px;
    }

    .welcome-banner,
    .meeting-hero,
    .support-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px;
    }

    .welcome-banner .primary-button,
    .support-contact {
        width: 100%;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .stat-card {
        min-height: 155px;
        padding: 17px;
    }

    .stat-card > strong {
        font-size: 24px;
    }

    .panel {
        padding: 18px 15px;
        border-radius: 16px;
    }

    .panel-header {
        gap: 12px;
    }

    .session-item {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }

    .session-item .small-button {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .availability-item {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    .availability-item > small {
        display: none;
    }

    .availability-item .row-actions {
        grid-column: 2 / -1;
    }

    .form-row,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: auto;
    }

    .bar-chart {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .auth-layout {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .auth-story,
    .auth-form-panel {
        padding: 27px 21px;
    }

    .auth-story {
        min-height: auto;
    }

    .auth-story-copy {
        margin: 43px 0 5px;
    }

    .auth-story-copy h1 {
        font-size: 38px;
    }

    .auth-benefits {
        display: none;
    }

    .auth-form-panel {
        min-height: 560px;
    }
}

@media (max-width: 420px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 145px;
    }

    .meeting-card dl {
        grid-template-columns: 1fr;
    }

    .profile-upload-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
