      :root {
        color-scheme: light;
        --red: #c41230;
        --red-dark: #a70f28;
        --red-soft: #fff0f2;
        --ink: #29282a;
        --muted: #777579;
        --line: #eceaeb;
        --canvas: #f8f7f7;
        --white: #fff;
        --green: #2f8056;
        --green-soft: #eaf5ee;
        --gold: #d8a62f;
        --shadow: 0 24px 70px rgb(42 27 30 / 10%);
        font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }
      * { box-sizing: border-box; }
      body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); }
      button, input { font: inherit; }
      button { cursor: pointer; }
      a { color: inherit; }
      [hidden] { display: none !important; }

      .login-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); background: var(--white); }
      .login-main { display: flex; flex-direction: column; justify-content: space-between; width: min(100%, 720px); min-height: 100vh; margin: 0 auto; padding: 39px clamp(28px, 7vw, 104px) 24px; }
      .login-brand { display: inline-flex; width: fit-content; align-items: center; }
      .login-brand img { display: block; width: 174px; height: auto; }
      .login-content { width: min(100%, 390px); margin: 35px auto; }
      .eyebrow { margin: 0 0 12px; color: var(--red); font-size: 11px; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; }
      .login-content h1 { margin: 0; font-size: clamp(29px, 4vw, 37px); font-weight: 670; letter-spacing: -1.2px; line-height: 1.2; }
      .login-intro { margin: 12px 0 31px; color: var(--muted); font-size: 14px; line-height: 1.65; }
      .field-group { display: grid; gap: 8px; margin-bottom: 18px; }
      .field-label { font-size: 12px; font-weight: 650; }
      .field-wrap { position: relative; }
      .field { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #e3e0e1; border-radius: 8px; outline: 0; background: var(--white); color: var(--ink); font-size: 13px; transition: border-color .16s, box-shadow .16s; }
      .field::placeholder { color: #aaa7a9; }
      .field:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(196 18 48 / 9%); }
      .password-field { padding-right: 48px; }
      .password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 6px; background: transparent; color: #89868a; }
      .password-toggle:hover { background: #f5f3f4; color: var(--ink); }
      .password-toggle svg { width: 17px; height: 17px; }
      .login-meta { display: flex; justify-content: flex-end; margin: -4px 0 22px; }
      .auth-switch { margin: 17px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
      .auth-switch button { padding: 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 650; }
      .auth-switch button:hover { color: var(--red-dark); text-decoration: underline; }
      .signup-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
      .text-button { padding: 0; border: 0; background: none; color: var(--red); font-size: 12px; font-weight: 600; }
      .text-button:hover { color: var(--red-dark); text-decoration: underline; }
      .primary-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 650; transition: background .16s, transform .16s; }
      .primary-button:hover { transform: translateY(-1px); background: var(--red-dark); }
      .primary-button:focus-visible, .icon-button:focus-visible, .nav-button:focus-visible { outline: 3px solid rgb(196 18 48 / 23%); outline-offset: 2px; }
      .login-submit { width: 100%; }
      .login-notice { min-height: 20px; margin: 12px 0 0; color: var(--red); font-size: 12px; line-height: 1.5; }
      .role-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 12px 13px; border: 1px solid #f0e8e9; border-radius: 8px; background: #fbf8f8; color: #6f6b6d; font-size: 11px; line-height: 1.55; }
      .role-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--red); }
      .login-footer { color: #9a9799; font-size: 10px; }
      .login-aside { position: relative; display: flex; min-height: 100vh; align-items: center; overflow: hidden; padding: 60px clamp(32px, 7vw, 100px); background: #fbf3f4; }
      .login-aside::before, .login-aside::after { position: absolute; border: 1px solid rgb(196 18 48 / 9%); border-radius: 50%; content: ""; }
      .login-aside::before { top: -215px; right: -145px; width: 570px; height: 570px; }
      .login-aside::after { right: -55px; bottom: -270px; width: 520px; height: 520px; }
      .aside-content { position: relative; z-index: 1; width: min(100%, 450px); margin: auto; }
      .aside-symbol { display: grid; width: 56px; height: 56px; margin-bottom: 24px; place-items: center; border-radius: 16px; background: var(--red); box-shadow: 0 10px 25px rgb(196 18 48 / 20%); color: white; }
      .aside-symbol svg { width: 27px; height: 27px; }
      .aside-content h2 { max-width: 420px; margin: 0; font-size: clamp(30px, 4vw, 43px); font-weight: 670; letter-spacing: -1.6px; line-height: 1.14; }
      .aside-content h2 span { color: var(--red); }
      .aside-copy { max-width: 380px; margin: 17px 0 32px; color: #777174; font-size: 14px; line-height: 1.75; }
      .aside-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
      .aside-points li { display: flex; align-items: center; gap: 11px; color: #5f5a5c; font-size: 12px; }
      .point-icon { display: grid; width: 27px; height: 27px; flex: none; place-items: center; border-radius: 8px; background: white; color: var(--red); }
      .point-icon svg { width: 14px; height: 14px; }
      .aside-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 48px; color: #888184; font-size: 10px; }
      .aside-tag::before { width: 18px; height: 2px; background: var(--gold); content: ""; }

      .dashboard { min-height: 100vh; }
      .app-header { position: sticky; z-index: 5; top: 0; display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 54px); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 95%); backdrop-filter: blur(12px); }
      .header-brand { display: flex; align-items: center; gap: 17px; }
      .header-brand img { display: block; width: 145px; height: auto; }
      .brand-divider { width: 1px; height: 26px; background: var(--line); }
      .product-name { color: #635f62; font-size: 12px; font-weight: 570; }
      .header-actions { display: flex; align-items: center; gap: 12px; }
      .icon-button { position: relative; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: #69666a; }
      .icon-button:hover { background: #fbf7f8; color: var(--red); }
      .icon-button svg { width: 17px; height: 17px; }
      .notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 1.5px solid white; border-radius: 50%; background: var(--red); }
      .user-menu { display: flex; align-items: center; gap: 10px; }
      .avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fae4e7; color: var(--red); font-size: 11px; font-weight: 700; }
      .user-copy { display: grid; gap: 3px; }
      .user-name { font-size: 11px; font-weight: 650; }
      .user-role { color: var(--muted); font-size: 10px; }
      .logout-button { margin-left: 4px; border: 0; background: none; color: #827e81; font-size: 11px; }
      .logout-button:hover { color: var(--red); }
      .app-layout { display: grid; min-height: calc(100vh - 70px); grid-template-columns: 218px minmax(0, 1fr); }
      .sidebar { display: flex; flex-direction: column; padding: 27px 14px 20px; border-right: 1px solid var(--line); background: #fff; }
      .side-label { margin: 0 10px 11px; color: #aaa6a8; font-size: 9px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
      .nav-list { display: grid; gap: 5px; }
      .nav-button { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #716d70; text-align: left; transition: color .16s, background .16s; }
      .nav-button:hover { background: #faf6f7; color: var(--red); }
      .nav-button.active { background: var(--red-soft); color: var(--red); font-weight: 650; }
      .nav-button svg { width: 16px; height: 16px; flex: none; }
      .nav-button span { flex: 1; font-size: 11px; }
      .nav-count { color: inherit; font-size: 10px; opacity: .75; }
      .sidebar-bottom { margin-top: auto; padding: 15px 10px 5px; border-top: 1px solid var(--line); color: #8a8588; font-size: 10px; line-height: 1.6; }
      .sidebar-bottom strong { display: block; margin-bottom: 4px; color: #555154; font-size: 10px; font-weight: 650; }
      .main-content { min-width: 0; padding: 34px clamp(20px, 4.2vw, 58px) 55px; }
      .content-inner { width: min(100%, 1120px); margin: 0 auto; }
      .breadcrumb { margin-bottom: 17px; color: #999598; font-size: 10px; }
      .breadcrumb span { margin: 0 7px; color: #c6c2c4; }
      .heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
      .heading-actions { display: flex; align-items: center; gap: 14px; }
      .heading-row h1 { margin: 0; font-size: clamp(24px, 3vw, 31px); font-weight: 670; letter-spacing: -.8px; }
      .heading-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
      .today-label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #706c70; font-size: 10px; white-space: nowrap; }
      .today-label svg { width: 14px; height: 14px; color: var(--red); }
      .welcome-card { position: relative; display: flex; min-height: 120px; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; margin-bottom: 21px; padding: 22px 27px; border-radius: 11px; background: var(--red); color: white; }
      .welcome-card::after { position: absolute; top: -87px; right: 165px; width: 235px; height: 235px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 50%; content: ""; }
      .welcome-copy { position: relative; z-index: 1; }
      .welcome-copy p { margin: 0 0 6px; color: rgb(255 255 255 / 77%); font-size: 11px; }
      .welcome-copy h2 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.4px; }
      .welcome-copy .welcome-note { margin-top: 9px; color: rgb(255 255 255 / 76%); font-size: 10px; }
      .welcome-illustration { position: relative; z-index: 1; display: grid; width: 72px; height: 72px; flex: none; place-items: center; border: 1px solid rgb(255 255 255 / 20%); border-radius: 22px; background: rgb(255 255 255 / 12%); color: white; }
      .welcome-illustration svg { width: 35px; height: 35px; }
      .summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 26px; }
      .summary-card { display: flex; min-height: 84px; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: white; }
      .summary-icon { display: grid; width: 37px; height: 37px; flex: none; place-items: center; border-radius: 10px; background: var(--red-soft); color: var(--red); }
      .summary-card:nth-child(2) .summary-icon { background: #f6f2e7; color: #aa8125; }
      .summary-card:nth-child(3) .summary-icon { background: var(--green-soft); color: var(--green); }
      .summary-icon svg { width: 17px; height: 17px; }
      .summary-label { color: var(--muted); font-size: 10px; }
      .summary-value { margin-top: 4px; font-size: 17px; font-weight: 680; letter-spacing: -.3px; }
      .schedule-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .85fr); gap: 16px; align-items: start; }
      .panel { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 10px; background: white; }
      .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
      .panel-heading h2 { margin: 0; font-size: 14px; font-weight: 670; letter-spacing: -.2px; }
      .panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
      .month-controls { display: flex; align-items: center; gap: 8px; }
      .month-label { min-width: 112px; color: #514d50; font-size: 11px; font-weight: 650; text-align: center; }
      .month-button { display: grid; width: 29px; height: 29px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: white; color: #6f6b6e; }
      .month-button:hover { border-color: #e7c1c7; color: var(--red); }
      .month-button svg { width: 14px; height: 14px; }
      .calendar-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
      .filter-button { min-height: 27px; padding: 0 10px; border: 1px solid var(--line); border-radius: 20px; background: white; color: #767174; font-size: 9px; }
      .filter-button:hover { border-color: #e7c1c7; }
      .filter-button.active { border-color: var(--red); background: var(--red-soft); color: var(--red); font-weight: 650; }
      .calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
      .weekday { padding: 5px 0 9px; color: #aaa6a8; font-size: 9px; font-weight: 650; text-align: center; }
      .day-cell { position: relative; display: flex; min-height: 54px; align-items: flex-start; justify-content: center; padding: 7px 2px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #474347; font-size: 10px; }
      .day-cell:not(:disabled):hover { background: #faf6f7; }
      .day-cell:disabled { cursor: default; color: #d4d1d3; }
      .day-cell.selected { border-color: var(--red); background: var(--red-soft); color: var(--red); font-weight: 700; }
      .day-cell.today:not(.selected) { color: var(--red); font-weight: 700; }
      .day-cell.has-slots::after { position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; transform: translateX(-50%); border-radius: 50%; background: var(--green); content: ""; }
      .day-cell.selected.has-slots::after { background: var(--red); }
      .calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1eff0; color: #898588; font-size: 9px; }
      .legend-item { display: inline-flex; align-items: center; gap: 6px; }
      .legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
      .legend-dot.current { background: var(--red); }
      .slots-panel { min-height: 100%; }
      .selected-date { display: flex; align-items: center; gap: 9px; margin: -2px 0 14px; padding: 10px; border-radius: 7px; background: #faf8f8; }
      .date-icon { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 8px; background: white; color: var(--red); }
      .date-icon svg { width: 16px; height: 16px; }
      .selected-date strong { display: block; font-size: 10px; font-weight: 650; }
      .selected-date span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
      .slot-list { display: grid; gap: 8px; }
      .counselor-choice { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); text-align: left; }
      .counselor-choice:hover { border-color: #e6aab4; background: #fffafb; }
      .counselor-choice-copy { display: grid; min-width: 0; gap: 5px; }
      .counselor-choice-copy strong { font-size: 11px; }
      .counselor-choice-copy span { color: var(--muted); font-size: 9px; line-height: 1.45; }
      .counselor-choice-copy small { color: var(--red); font-size: 9px; }
      .counselor-choice-count { flex: 0 0 auto; padding: 5px 7px; border-radius: 20px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 650; }
      .slot-back { width: fit-content; padding: 3px 0; border: 0; background: transparent; color: var(--red); font-size: 10px; text-align: left; }
      .appointment-note { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.45; }
      .directory-modal { width: min(100%, 720px); }
      .directory-note { margin: -5px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
      .directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      .directory-card { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; }
      .directory-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 10px; font-weight: 700; }
      .directory-card h3 { margin: 0; font-size: 11px; line-height: 1.45; }
      .directory-card p { margin: 5px 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
      .directory-card small { color: var(--green); font-size: 9px; }
      .slot-button { display: flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); text-align: left; transition: border-color .15s, background .15s; }
      .slot-button:hover { border-color: #e6aab4; background: #fffafb; }
      .slot-button:disabled { cursor: not-allowed; background: #faf9f9; color: #aaa6a8; }
      .slot-time { font-size: 11px; font-weight: 650; }
      .slot-kind { margin-top: 4px; color: var(--muted); font-size: 9px; }
      .slot-status { flex: none; padding: 4px 7px; border-radius: 20px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 650; }
      .slot-button:disabled .slot-status { background: #f0eeee; color: #999598; }
      .slot-empty { padding: 23px 11px; border: 1px dashed #e7e3e4; border-radius: 7px; color: #8b878a; font-size: 10px; line-height: 1.6; text-align: center; }
      .appointment-panel { margin-top: 16px; }
      .appointment-link { border: 0; background: none; color: var(--red); font-size: 10px; font-weight: 650; }
      .appointment-link:hover { text-decoration: underline; }
      .appointment-list { display: grid; gap: 9px; }
      .appointment-item { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #f0edef; border-radius: 8px; }
      .appointment-date { display: grid; width: 38px; height: 40px; flex: none; align-content: center; justify-items: center; border-radius: 7px; background: #faf1f2; color: var(--red); }
      .appointment-date strong { font-size: 14px; line-height: 1; }
      .appointment-date span { margin-top: 3px; font-size: 8px; text-transform: uppercase; }
      .appointment-copy { min-width: 0; flex: 1; }
      .appointment-copy strong { display: block; overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
      .appointment-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
      .status-badge { flex: none; padding: 4px 7px; border-radius: 20px; background: #fff4dd; color: #9b7216; font-size: 8px; font-weight: 650; }
      .status-badge.confirmed { background: var(--green-soft); color: var(--green); }
      .history-view { display: grid; gap: 12px; }
      .history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; }
      .history-item h3 { margin: 0; font-size: 12px; font-weight: 650; }
      .history-item p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
      .history-item .status-badge { justify-self: end; }
      .history-empty { padding: 32px; border: 1px dashed #e5e1e3; border-radius: 9px; color: var(--muted); font-size: 11px; text-align: center; }
      .modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; align-items: center; justify-items: center; overflow-y: auto; padding: 20px; background: rgb(32 26 28 / 48%); }
      .modal { width: min(100%, 560px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 22px; border-radius: 12px; background: white; box-shadow: var(--shadow); }
      @supports (height: 100dvh) { .modal { max-height: calc(100dvh - 40px); } }
      .modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
      .modal-top h2 { margin: 0; font-size: 18px; font-weight: 680; letter-spacing: -.4px; }
      .modal-top p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
      .close-button { display: grid; width: 31px; height: 31px; flex: none; padding: 0; place-items: center; border: 0; border-radius: 7px; background: #f6f4f5; color: #777275; }
      .close-button:hover { background: var(--red-soft); color: var(--red); }
      .close-button svg { width: 16px; height: 16px; }
      .booking-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; padding: 11px; border: 1px solid #f0e6e8; border-radius: 8px; background: #fdf9fa; }
      .booking-summary svg { width: 17px; height: 17px; flex: none; color: var(--red); }
      .booking-summary strong { display: block; font-size: 11px; }
      .booking-summary span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
      .modal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
      .modal-fields .field-group { margin: 0; }
      .modal-fields .field { height: 42px; font-size: 11px; }
      .modal-fields select.field { padding-right: 30px; }
      .modal-fields textarea.field { height: 82px; min-height: 82px; padding-top: 11px; resize: vertical; line-height: 1.5; }
      .modal-fields .field-label { font-size: 10px; }
      .modal-fields .wide { grid-column: 1 / -1; }
      .form-fields-group { display: contents; }
      .saved-profile { grid-column: 1 / -1; padding: 12px; border: 1px solid #e7eee9; border-radius: 8px; background: #f7fbf8; color: #53685a; font-size: 11px; line-height: 1.55; }
      .form-section-title { grid-column: 1 / -1; margin: 6px 0 -3px; padding-bottom: 8px; border-bottom: 1px solid #f0edef; color: #514d50; font-size: 11px; font-weight: 700; }
      .privacy-note { grid-column: 1 / -1; margin: 0; padding: 10px 11px; border-radius: 7px; background: #fbf6f6; color: #756c70; font-size: 9px; line-height: 1.55; }
      .modal-actions { position: sticky; bottom: -22px; display: flex; justify-content: flex-end; gap: 9px; margin: 18px -22px -22px; padding: 12px 22px 18px; border-top: 1px solid var(--line); background: white; }
      .secondary-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #676367; font-size: 11px; font-weight: 600; }
      .secondary-button:hover { background: #faf8f8; }
      .modal-actions .primary-button { min-height: 40px; font-size: 11px; }
      .toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: flex; max-width: min(390px, calc(100vw - 40px)); align-items: center; gap: 10px; padding: 13px 16px; transform: translateY(15px); border: 1px solid #dceee2; border-radius: 9px; background: white; box-shadow: 0 12px 30px rgb(40 30 32 / 12%); color: #436c50; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
      .toast.show { transform: translateY(0); opacity: 1; }
      .toast svg { width: 17px; height: 17px; flex: none; }

      @media (max-width: 980px) {
        .login-screen { grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); }
        .login-main { padding-right: 42px; padding-left: 42px; }
        .login-aside { padding: 40px 34px; }
        .app-layout { grid-template-columns: 190px minmax(0, 1fr); }
        .schedule-layout { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
      }
      @media (max-width: 760px) {
        .login-screen { grid-template-columns: 1fr; }
        .login-main { min-height: 100vh; padding: 27px 25px 19px; }
        .login-content { margin: 50px auto; }
        .login-aside { display: none; }
        .app-header { height: 62px; padding: 0 16px; }
        .header-brand { gap: 10px; }
        .header-brand img { width: 121px; }
        .brand-divider { height: 22px; }
        .product-name { font-size: 10px; }
        .header-actions { gap: 8px; }
        .user-copy, .logout-button { display: none; }
        .app-layout { min-height: calc(100vh - 62px); grid-template-columns: 1fr; }
        .sidebar { position: sticky; z-index: 4; top: 62px; display: block; overflow-x: auto; padding: 8px 13px; border-right: 0; border-bottom: 1px solid var(--line); }
        .side-label, .sidebar-bottom { display: none; }
        .nav-list { display: flex; width: max-content; gap: 5px; }
        .nav-button { width: auto; min-height: 36px; padding: 0 11px; }
        .nav-button span { flex: initial; white-space: nowrap; }
        .nav-count { display: none; }
        .main-content { padding: 24px 16px 36px; }
        .welcome-card { min-height: 110px; padding: 19px; }
        .welcome-illustration { width: 56px; height: 56px; border-radius: 17px; }
        .welcome-illustration svg { width: 28px; height: 28px; }
        .schedule-layout { grid-template-columns: 1fr; }
        .slots-panel { min-height: auto; }
      }
      @media (max-width: 480px) {
        .login-main { padding-right: 22px; padding-left: 22px; }
        .heading-row { align-items: flex-start; }
        .today-label { display: none; }
        .summary-grid { gap: 7px; }
        .summary-card { min-height: 75px; flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px; }
        .summary-icon { width: 29px; height: 29px; border-radius: 8px; }
        .summary-icon svg { width: 14px; height: 14px; }
        .summary-label { font-size: 9px; }
        .summary-value { margin-top: 3px; font-size: 15px; }
        .panel { padding: 14px; }
        .day-cell { min-height: 45px; }
        .modal { padding: 18px; }
        .heading-actions { align-items: flex-start; flex-direction: column-reverse; gap: 7px; }
        .directory-list { grid-template-columns: 1fr; }
        .modal-fields { grid-template-columns: 1fr; }
        .modal-fields .wide { grid-column: auto; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
      }
