html, body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #1b2430;
    background: #f6f7f6;
}

a {
    color: inherit;
}

.start {
    display: grid;
    grid-template-columns: minmax(340px, 42%) 1fr;
    min-height: 100vh;
    background: #fff;
}

.start-hero {
    display: flex;
    flex-direction: column;
    padding: 64px 56px 40px;
    background: #12382c;
    color: #fff;
}

.start-lockup {
    width: min(100%, 360px);
    height: auto;
}

.start-hero h1 {
    margin: auto 0 0;
    max-width: 520px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.start-legal {
    max-width: 280px;
    margin: 48px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.start-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.auth-card {
    width: min(100%, 420px);
}

.auth-lockup {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto 28px;
}

.auth-card h1,
.auth-card .mud-typography-h5 {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 650;
    letter-spacing: -0.03em;
    text-align: center;
}

.auth-label {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
}

.auth-input {
    box-sizing: border-box;
    width: 100%;
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid #d5d8dc;
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.auth-submit {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #1f5e46;
    color: white;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.auth-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #8b919a;
    font-size: 14px;
}

.auth-or::before,
.auth-or::after {
    content: "";
    height: 1px;
    background: #e4e6e8;
}

.auth-socials {
    display: grid;
    gap: 12px;
}

.auth-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d5d8dc;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 650;
}

.auth-mark {
    width: 18px;
    height: 18px;
    flex: none;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: 14px;
}

.auth-links a {
    color: #1f5e46;
}

.shell {
    display: flex;
    min-height: 100vh;
    background: #f6f7f6;
}

.shell-nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 280px;
    height: 100vh;
    flex: none;
    padding: 22px 16px 16px;
    background: #fff;
    border-right: 1px solid #e7e9e8;
}

.shell-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.shell-nav nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
}

.shell-nav nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: #3d4654;
    text-decoration: none;
    font-weight: 600;
}

.shell-nav nav a svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.shell-nav nav a.active {
    background: #1f5e46;
    color: #fff;
}

.shell-user {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.shell-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e7f0ec;
    color: #1f5e46;
    font-weight: 700;
}

.shell-user strong,
.shell-user span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell-user span,
.shell-logout {
    color: #66707c;
    font-size: 13px;
}

.shell-logout {
    grid-column: 2;
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.shell-main {
    flex: 1;
    min-width: 0;
    padding: 32px 36px 48px;
}

.shell-menu,
.shell-backdrop {
    display: none;
}

.desk-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.desk-kicker {
    margin: 0 0 4px;
    color: #66707c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.desk-head h1,
.shell-main .mud-typography-h4 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.desk-head time {
    color: #66707c;
    font-weight: 600;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card,
.desk-panel {
    padding: 20px 22px;
    border: 1px solid #e4e7e6;
    border-radius: 16px;
    background: #fff;
}

.stat-card span {
    display: block;
    color: #66707c;
    font-size: 14px;
}

.stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.desk-panel {
    margin-top: 16px;
}

.desk-panel h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.customer-create {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 22px;
}

.customer-create label {
    display: grid;
    gap: 6px;
    flex: 1;
    max-width: 420px;
    font-size: 14px;
    font-weight: 600;
}

.customer-create input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d8dc;
    border-radius: 12px;
    font: inherit;
    font-weight: 450;
}

.customer-create button,
.customer-open,
.customer-row button {
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #1f5e46;
    color: white;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
}

.customer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.customer-row button.customer-delete {
    background: #fff;
    color: #9b2c2c;
    border: 1px solid #e4b4b4;
}

.customer-list {
    display: grid;
    gap: 12px;
}

.customer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e7e9e8;
    border-radius: 16px;
}

.customer-row h2 {
    margin: 0;
    font-size: 18px;
}

.customer-row p {
    margin: 4px 0 0;
    color: #66707c;
}

.desk-empty {
    margin: 0;
    color: #66707c;
}

.desk-deal {
    display: block;
    text-decoration: none;
}

.desk-deal strong,
.desk-deal span {
    display: block;
}

.desk-deal span {
    margin-top: 4px;
    color: #66707c;
}

.price {
    white-space: nowrap;
}

@media (max-width: 960px) {
    .start {
        grid-template-columns: 1fr;
    }

    .start-hero {
        display: none;
    }

    .shell-nav {
        position: fixed;
        z-index: 30;
        transform: translateX(-105%);
        transition: transform 160ms ease;
    }

    .shell-menu {
        display: inline-flex;
        margin-bottom: 16px;
        padding: 8px 12px;
        border: 1px solid #d5d8dc;
        border-radius: 10px;
        background: #fff;
        font: inherit;
        cursor: pointer;
    }

    .shell-backdrop {
        position: fixed;
        inset: 0;
        z-index: 20;
        border: 0;
        background: rgba(17, 24, 28, 0.35);
    }

    .shell.shell-open .shell-nav {
        transform: none;
    }

    .shell.shell-open .shell-backdrop {
        display: block;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .shell-main {
        padding: 20px 16px 40px;
    }
}

.suggest + .suggest {
    margin-top: 12px;
}

.suggest label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #5c6562;
}

.suggest-field {
    position: relative;
    height: 42px;
    background: #fff;
    border: 1px solid #cfd6d3;
    border-radius: 4px;
}

.suggest-field.is-disabled {
    background: #f3f4f4;
}

.suggest-field input,
.suggest-ghost {
    box-sizing: border-box;
    height: 42px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 16px;
    line-height: 42px;
    white-space: pre;
}

.suggest-ghost {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.suggest-ghost .typed {
    color: transparent;
}

.suggest-ghost .suffix {
    color: #8d9794;
}

.suggest-field input {
    position: relative;
    z-index: 1;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #1c2421;
}

.suggest-field input:disabled {
    cursor: not-allowed;
}

.suggest-list {
    display: flex;
    flex-direction: column;
    max-height: 220px;
    margin-top: 4px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e7e9e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
}

.suggest-list button {
    padding: 8px 12px;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.suggest-list button.active,
.suggest-list button:hover {
    background: #e7f2ec;
}

.photo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.photo-pick {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    background: #1f5e46;
    color: #fff;
    cursor: pointer;
}

.photo-pick.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.photo-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.photo-preview {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
}

.photo-clear {
    padding: 8px 14px;
    border: 1px solid #e4b4b4;
    border-radius: 12px;
    background: #fff;
    color: #9b2c2c;
    font: inherit;
    cursor: pointer;
}

.studio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.studio-card {
    margin: 0;
    width: min(100%, 280px);
}

.studio-card iframe {
    display: block;
    width: 280px;
    height: 498px;
    border: 0;
    border-radius: 18px;
    background: #111;
}

.studio-card figcaption {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.studio-card figcaption span {
    color: #5c6b66;
    font-size: 0.92rem;
}
