@font-face {
    font-family: Bebas;
    src: url(fonts/bebas-neue-latin.woff2) format('woff2');
    font-display: swap;
    font-weight: 400;
}
@font-face {
    font-family: Jakarta;
    src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
    font-display: swap;
    font-weight: 200 800;
}
:root {
    --ink: #050505;
    --muted: #646464;
    --line: #dedede;
    --paper: #fff;
    --soft: #f5f5f3;
    --accent: #c04000;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Jakarta, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}
a {
    color: inherit;
    text-underline-offset: 4px;
}
button,
input,
textarea,
select {
    font: inherit;
}
button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--ink);
    background: white;
    color: var(--ink);
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
    border-radius: 0;
}
button:hover,
.button:hover {
    background: #eaeaea;
}
.primary {
    background: var(--ink);
    color: white;
}
.primary:hover {
    background: #303030;
    color: white;
}
.wide {
    width: 100%;
    justify-content: space-between;
}
.danger {
    border-color: #923c29;
    color: #923c29;
}
.text-button {
    padding: 0;
    border: 0;
    min-height: 32px;
    background: none;
    font-size: 12px;
}
.text-button:hover {
    background: none;
    text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}
.skip {
    position: fixed;
    top: -80px;
    left: 12px;
    z-index: 10;
    background: #fff;
    padding: 10px;
}
.skip:focus {
    top: 12px;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2 {
    font-family: Bebas, Impact, sans-serif;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: 0.005em;
}
h1 {
    font-size: clamp(44px, 5vw, 76px);
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}
h2 {
    font-size: 34px;
    margin-bottom: 18px;
}
h3 {
    font-size: 15px;
    margin: 24px 0 12px;
}
.eyebrow {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.18em;
    line-height: 1.5;
}
.muted,
.footnote {
    color: var(--muted);
}
.footnote {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 22px;
}
.brand {
    display: block;
    text-decoration: none;
    color: #050505;
    white-space: nowrap;
}
.brand > span {
    font-family: Bebas, Impact, sans-serif;
    font-size: 32px;
    line-height: 1;
}
.brand small {
    display: block;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.25em;
    margin-top: 8px;
}
.app {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    min-height: 100vh;
}
.sidebar {
    padding: 36px 24px 24px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 54px;
}
.sidebar nav a {
    padding: 12px 14px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
.sidebar nav a:hover {
    background: var(--soft);
}
.sidebar nav a[aria-current] {
    background: var(--ink);
    color: #fff;
}
.sidebar-bottom {
    margin-top: auto;
    padding: 24px 10px 0;
}
.sidebar-bottom p {
    font-weight: 650;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.sidebar-bottom small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
}
.content {
    padding: 48px clamp(22px, 4vw, 64px) 70px;
    min-width: 0;
    max-width: 1600px;
    width: 100%;
    margin: auto;
}
.page-heading {
    margin-bottom: 34px;
}
.page-heading > .muted {
    max-width: 680px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    margin-bottom: 28px;
}
.stats article {
    padding: 24px 28px;
}
.stats article + article {
    border-left: 1px solid var(--line);
}
.stats p {
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 16px;
}
.stats strong {
    font-family: Bebas;
    font-size: 54px;
    font-weight: 400;
    line-height: 1;
}
.callout {
    background: var(--soft);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 42px;
}
.callout p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.callout .button {
    flex-shrink: 0;
}
.callout h2 {
    font-size: 44px;
    margin-bottom: 8px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.section-head a {
    font-size: 11px;
}
.ticket-list {
    border-top: 1px solid var(--line);
}
.ticket-row {
    display: grid;
    grid-template-columns: 40px minmax(120px, 1fr) auto auto 14px;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.ticket-row:hover {
    background: var(--soft);
}
.ticket-row strong {
    display: block;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.ticket-row small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.ticket-id,
.ticket-time {
    font-size: 10px;
    color: var(--muted);
}
.badge {
    font-size: 9px;
    padding: 5px 8px;
    background: #eee;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
}
.status-confirmed,
.status-done {
    background: #e7eee6;
    color: #25402b;
}
.status-progress {
    background: #e8edf2;
    color: #254563;
}
.status-question {
    background: #f4eddb;
    color: #705617;
}
.status-cancelled {
    background: #f2e7e3;
    color: #853d2e;
}
.empty {
    border: 1px solid var(--line);
    padding: 34px;
    color: var(--muted);
}
.panel {
    border: 1px solid var(--line);
    padding: 28px;
    margin-bottom: 24px;
    min-width: 0;
}
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
}
.panel p {
    overflow-wrap: anywhere;
}
label {
    display: block;
    font-size: 11px;
    font-weight: 650;
    margin-bottom: 20px;
}
label small {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
}
input,
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #c9c9c9;
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    font-size: 13px;
    min-height: 46px;
    margin-top: 8px;
}
textarea {
    resize: vertical;
}
input[type='checkbox'] {
    width: 17px;
    height: 17px;
    min-height: 0;
    margin: 0;
    accent-color: #050505;
}
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin: 13px 0;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.booking-form {
    max-width: 880px;
}
.booking-form h2:not(:first-child) {
    margin-top: 24px;
}
.booking-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--soft);
    margin-bottom: 24px;
}
.booking-summary > span {
    font-size: 9px;
    letter-spacing: 0.15em;
}
.booking-summary > a {
    margin-left: auto;
    font-size: 11px;
}
.booking-summary strong {
    font-size: 15px;
}
.notice {
    padding: 16px 20px;
    background: #edf3e9;
    border-left: 3px solid #365538;
    margin-bottom: 24px;
    font-size: 12px;
}
.notice.error {
    background: #f8ece7;
    border-left-color: #a64321;
}
.calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.switch {
    display: flex;
    border: 1px solid var(--ink);
}
.switch a {
    padding: 8px 17px;
    text-decoration: none;
    font-size: 11px;
}
.switch a[aria-current] {
    background: #050505;
    color: #fff;
}
.calendar-paging {
    display: flex;
    gap: 18px;
    align-items: center;
}
.calendar-paging a {
    padding: 6px 10px;
    text-decoration: none;
    font-size: 22px;
}
.calendar-paging strong {
    font-size: 12px;
}
.date-jump {
    display: flex;
    gap: 8px;
    align-items: center;
}
.date-jump input {
    margin: 0;
    min-height: 38px;
    padding: 6px;
    max-width: 155px;
}
.date-jump button {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 11px;
}
.calendar-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
}
.calendar {
    display: grid;
    grid-template-columns: 86px repeat(7, minmax(100px, 1fr));
    min-width: 860px;
}
.calendar.single-day {
    grid-template-columns: 86px minmax(0, 1fr);
    min-width: 0;
}
.calendar-corner {
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.08em;
}
.calendar-day {
    padding: 18px 12px;
    text-align: center;
    border-left: 1px solid var(--line);
}
.calendar-day small {
    display: block;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--muted);
}
.calendar-day strong {
    display: block;
    font-family: Bebas;
    font-size: 28px;
    font-weight: 400;
}
.calendar-day.today {
    background: #050505;
    color: #fff;
}
.calendar-day.today small {
    color: #ccc;
}
.calendar-hour {
    padding: 22px 12px;
    border-top: 1px solid var(--line);
}
.calendar-hour strong {
    font-size: 13px;
    display: block;
}
.calendar-hour small {
    font-size: 10px;
    color: var(--muted);
}
.calendar-cell {
    padding: 8px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    min-height: 135px;
}
.slot {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    min-height: 116px;
    height: 100%;
    text-decoration: none;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.slot strong {
    font-size: 11px;
}
.slot small {
    font-size: 9px;
}
.slot.free {
    border: 1px solid #b3b3b3;
    background: #fff;
}
.slot.free:hover {
    background: #050505;
    color: #fff;
}
.slot.free strong {
    display: flex;
    justify-content: space-between;
}
.slot.booked {
    background: #050505;
    color: #fff;
}
.slot.unavailable {
    background: #f5f5f5;
    color: #777;
    justify-content: center;
    font-size: 9px;
}
.filters {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.filters label {
    margin: 0;
    flex: 1;
    min-width: 140px;
}
.filters a {
    font-size: 10px;
    padding-bottom: 12px;
}
.filters button {
    font-size: 12px;
}
.pagination {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-size: 12px;
}
dl {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    font-size: 12px;
}
dt {
    color: var(--muted);
}
dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.preserve {
    white-space: pre-wrap;
    font-size: 13px;
}
.comments {
    max-width: 1000px;
}
.comment {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.comment header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
}
.comment small {
    font-size: 10px;
    color: var(--muted);
}
.comment p {
    margin: 10px 0;
}
.comment.internal {
    background: var(--soft);
    padding: 18px;
}
.comments form {
    margin-top: 28px;
}
.customer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.customer-grid .panel {
    margin: 0;
}
.customer-grid h2 {
    font-size: 28px;
}
.customer-grid p,
.customer-grid a {
    font-size: 11px;
}
.override-row {
    display: flex;
    gap: 24px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.override-row strong {
    min-width: 180px;
}
fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 24px;
}
legend {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}
.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;
}
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.auth-story {
    padding: 54px 60px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 720px;
}
.auth-story .brand > span {
    font-size: 44px;
}
.brand-art {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin: 40px 0;
}
.brand-art img {
    max-width: 48%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: left bottom;
}
.brand-art p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 200px;
    margin: 0;
}
.auth-form {
    padding: 70px clamp(35px, 6vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-form h1 {
    font-size: clamp(48px, 4.5vw, 72px);
}
.auth-form .page-heading {
    margin-bottom: 22px;
}
.auth-form .page-heading .muted {
    font-size: 12px;
}
.auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 22px;
    gap: 18px;
}
.auth-form .footnote {
    margin-top: 38px;
}
.auth-form .primary {
    margin-top: 8px;
}
@media (min-width: 1500px) {
    .auth-story {
        padding: 70px 90px;
    }
    .brand-art img {
        width: 330px;
        max-height: 420px;
    }
    .auth-form {
        max-width: 720px;
    }
}
@media (max-width: 1100px) {
    .app {
        grid-template-columns: 210px minmax(0, 1fr);
    }
    .sidebar {
        padding: 28px 18px;
    }
    .brand > span {
        font-size: 28px;
    }
    .ticket-row {
        grid-template-columns: 30px minmax(120px, 1fr) auto 12px;
        gap: 10px;
    }
    .ticket-time {
        grid-column: 2;
        grid-row: 2;
    }
    .ticket-row .badge {
        grid-column: 3;
        grid-row: 1;
    }
    .ticket-row > span:last-child {
        grid-column: 4;
        grid-row: 1;
    }
    .customer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .auth-story {
        padding: 40px 35px;
    }
    .brand-art {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .brand-art img {
        max-width: 75%;
    }
    .callout {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 760px) {
    .app {
        display: block;
    }
    .sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 22px 20px 0;
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .sidebar .brand > span {
        font-size: 31px;
    }
    .sidebar nav {
        grid-column: 1/-1;
        grid-row: 2;
        display: flex;
        overflow-x: auto;
        margin: 22px -20px 0;
        padding: 0 20px;
        gap: 2px;
    }
    .sidebar nav a {
        white-space: nowrap;
        padding: 12px;
        font-size: 10px;
    }
    .sidebar-bottom {
        margin: 0;
        padding: 0;
        align-self: center;
    }
    .sidebar-bottom p {
        display: none;
    }
    .sidebar-bottom .text-button {
        font-size: 10px;
    }
    .content {
        padding: 30px 20px 50px;
    }
    .page-heading {
        margin-bottom: 26px;
    }
    h1 {
        font-size: 50px;
    }
    h2 {
        font-size: 31px;
    }
    .stats article {
        padding: 18px 12px;
    }
    .stats p {
        font-size: 8px;
        letter-spacing: 0.04em;
        min-height: 24px;
    }
    .stats strong {
        font-size: 43px;
    }
    .callout {
        padding: 24px;
        margin-bottom: 30px;
    }
    .callout h2 {
        font-size: 38px;
    }
    .detail-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .panel {
        padding: 22px;
    }
    .booking-summary {
        gap: 10px;
        align-items: flex-start;
        flex-direction: column;
    }
    .booking-summary > a {
        margin: 0;
    }
    .calendar-toolbar {
        gap: 12px;
    }
    .date-jump {
        width: 100%;
    }
    .calendar {
        min-width: 840px;
    }
    .calendar.single-day {
        min-width: 0;
    }
    .customer-grid {
        grid-template-columns: 1fr;
    }
    .override-row {
        flex-wrap: wrap;
        gap: 6px 16px;
    }
    .override-row strong {
        width: 100%;
    }
    .ticket-row {
        padding: 17px 0;
        grid-template-columns: 24px minmax(90px, 1fr) auto 10px;
    }
    .ticket-row strong {
        font-size: 12px;
    }
    .badge {
        font-size: 8px;
    }
    .ticket-row small {
        font-size: 9px;
    }
    .ticket-id {
        font-size: 9px;
    }
    .section-head {
        align-items: baseline;
    }
    .section-head a {
        font-size: 10px;
    }
    .comment header {
        flex-direction: column;
        gap: 3px;
    }
    dl {
        grid-template-columns: 110px 1fr;
        font-size: 11px;
    }
    .auth-shell {
        display: block;
    }
    .auth-story {
        min-height: 0;
        padding: 28px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .auth-story .brand > span {
        font-size: 36px;
    }
    .brand-art,
    .auth-story > .eyebrow {
        display: none;
    }
    .auth-form {
        padding: 38px 24px;
    }
    .auth-form h1 {
        font-size: 56px;
    }
    .auth-form .page-heading {
        margin-bottom: 22px;
    }
    .auth-form .footnote {
        margin-top: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
