@charset "UTF-8";
:root {
    --bg: #f5f5ef;
    --paper: #fff;
    --ink: #243c33;
    --muted: #6e7872;
    --green: #294c3e;
    --line: #e1e6df;
    --accent: #c9a66b;
    --serif: Georgia, 'Times New Roman', serif;
    font-family:
        Segoe UI,
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.55;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #b58b4e;
    outline-offset: 3px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 9px;
}

p {
    margin-bottom: 16px;
}

.muted {
    color: var(--muted);
}

.eyebrow,
.small-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 650;
    margin-bottom: 13px;
    color: var(--muted);
}

.button {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    padding: 12px 19px;
    font-size: 13px;
    font-weight: 600;
    min-height: 45px;
    white-space: nowrap;
    transition: background 0.15s;
}

.button:hover {
    background: #1c392d;
}

.button.secondary {
    background: transparent;
    color: var(--green);
    border-color: #bac8bd;
}

.button.secondary:hover {
    background: #edf2e9;
}

.button.full {
    width: 100%;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.brand small {
    display: block;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 3px;
}

.brand-mark {
    width: 41px;
    height: 45px;
    border: 1px solid currentColor;
    border-radius: 50% 50% 5px 5px;
    display: grid;
    place-items: center;
    font: 29px var(--serif);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 248px;
    background: #233e32;
    color: #e9eee7;
    display: flex;
    flex-direction: column;
    padding: 36px 22px 22px;
}

.sidebar .brand {
    padding: 0 6px;
}

.nav-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: #a5b5a8;
    margin: 49px 15px 13px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 6px;
    font-size: 13px;
}

.nav-item.selected {
    background: #385244;
    border: 1px solid #4a6150;
}

.nav-item span {
    font-size: 20px;
    line-height: 1;
}

.sidebar-note {
    margin: auto 15px 45px;
    padding-top: 40px;
}

.sidebar-note .small-label {
    font-size: 8px;
    color: #b8bfab;
}

.sidebar-note p {
    font: 25px/1.45 var(--serif);
    color: #dde3d4;
    margin: 0;
}

.profile {
    border-top: 1px solid #496051;
    padding: 20px 7px 8px;
    display: flex;
    gap: 11px;
    align-items: center;
}

.avatar {
    background: #d1d7c3;
    color: #284234;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
}

.profile strong {
    font-size: 12px;
    font-weight: 500;
    display: block;
    max-width: 150px;
    overflow-wrap: anywhere;
}

.profile small {
    font-size: 10px;
    color: #b2c0b5;
}

.logout {
    background: none;
    border: 0;
    color: #cbd5cb;
    padding: 11px 7px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.workspace {
    margin-left: 248px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    color: var(--muted);
    background: #f9faf5;
}

.topbar > a:hover {
    color: var(--ink);
}

.crumb {
    padding: 0 13px;
    color: #b1b7ae;
}

.content {
    padding: 40px 42px 50px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
}

.page-heading p {
    color: var(--muted);
    margin: 0;
    font-size: 13px;
}

.page-heading .eyebrow {
    font-size: 9px;
}

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

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 23px 25px;
}

.stat > span {
    font-size: 12px;
    color: var(--muted);
}

.stat > strong {
    display: block;
    font-family: var(--serif);
    font-size: 39px;
    font-weight: 400;
    line-height: 1.4;
    margin: 8px 0;
}

.stat > small {
    font-size: 10px;
    color: var(--muted);
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.list-toolbar {
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    gap: 18px;
}

.list-toolbar > .muted {
    font-size: 11px;
}

.tabs {
    display: flex;
    gap: 27px;
}

.tabs a {
    font-size: 12px;
    padding: 20px 0 17px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
}

.tabs a.active {
    color: var(--green);
    border-color: var(--green);
    font-weight: 650;
}

.empty-state {
    text-align: center;
    padding: 64px 25px 70px;
}

.empty-state h2 {
    font: 27px var(--serif);
    margin: 19px 0 12px;
}

.empty-state p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 25px;
}

.empty-icon {
    background: #eef1e7;
    border: 1px solid #e0e6d8;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 29px;
    margin: auto;
    color: #59725e;
}

.below-table {
    font-size: 10px;
    color: var(--muted);
    margin: 17px 2px;
}

.workspace-footer {
    border-top: 1px solid var(--line);
    margin: 0 42px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px;
}

.table-scroll {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

th {
    font-weight: 500;
    color: var(--muted);
    font-size: 10px;
    background: #fcfcf8;
    padding: 15px 19px;
    white-space: nowrap;
}

td {
    padding: 21px 19px;
    border-top: 1px solid #eef0e9;
    vertical-align: middle;
}

td:first-child,
th:first-child {
    padding-left: 25px;
}

.event-title {
    display: block;
    font-weight: 600;
    min-width: 145px;
    overflow-wrap: anywhere;
}

.event-title:hover,
.edit-link:hover {
    text-decoration: underline;
}

.cell-detail {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-top: 5px;
    max-width: 240px;
    overflow-wrap: anywhere;
}

.nowrap {
    white-space: nowrap;
}

.badge {
    font-size: 10px;
    border-radius: 30px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f0ea;
    white-space: nowrap;
}

.badge:before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.badge.published {
    color: #326646;
    background: #eaf3e8;
}

.badge.draft {
    color: #856a37;
    background: #f8f1dd;
}

.badge.cancelled {
    color: #9c4f42;
    background: #f9ece6;
}

.badge.archived {
    color: #67716b;
    background: #edf0ec;
}

.edit-link {
    font-size: 11px;
    white-space: nowrap;
    color: var(--green);
}

.pagination {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--muted);
}

.pagination a {
    margin-left: 20px;
    color: var(--green);
}

.back-link {
    display: inline-block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 25px;
}

.event-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 23px;
    align-items: start;
}

.form-main {
    display: grid;
    gap: 23px;
}

.form-section {
    padding: 27px;
}

.section-heading {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.section-number {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: #eef1e7;
    border-radius: 50%;
    font-size: 10px;
    color: #62775c;
    flex-shrink: 0;
    margin-top: 2px;
}

.section-heading h2 {
    margin-bottom: 4px;
}

.section-heading p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
}

.field {
    min-width: 0;
    margin-bottom: 20px;
}

.field:last-child {
    margin-bottom: 0;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.field label > span {
    color: #967b4c;
    margin-left: 3px;
}

.field label .optional {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid #cdd6cc;
    border-radius: 5px;
    background: #fff;
    padding: 11px 12px;
    min-height: 44px;
    color: var(--ink);
    font-size: 13px;
}

.field textarea {
    resize: vertical;
    line-height: 1.65;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #929b91;
    font-size: 12px;
}

.field small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 8px;
}

.field input[aria-invalid],
.field textarea[aria-invalid],
.field select[aria-invalid] {
    border-color: #b36655;
}

.field-error {
    font-size: 11px;
    color: #9d4434;
    margin: 8px 0 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-aside h2 {
    font: 23px/1.25 var(--serif);
    margin-bottom: 24px;
}

.status-help {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    font-size: 11px;
}

.status-help dt {
    font-weight: 600;
    margin-top: 13px;
}

.status-help dd {
    color: var(--muted);
    margin: 3px 0 0;
}

.form-actions {
    margin-top: 27px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.form-actions .button {
    white-space: normal;
}

.cancel-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 11px;
    color: var(--muted);
}

.required-note {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    margin: 21px 0 0;
}

.aside-note {
    font-size: 11px;
    line-height: 1.8;
    color: var(--muted);
    padding: 18px 7px;
}

.alert {
    padding: 14px 18px;
    border: 1px solid;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.alert.error {
    background: #fff4ee;
    border-color: #e7c3b5;
    color: #874333;
}

.alert.success {
    background: #edf6e9;
    border-color: #c8dec1;
    color: #3a6034;
}

.alert.info {
    background: #edf2f6;
    border-color: #ccdce5;
    color: #365667;
}

.alert ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.public-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f4f4ec;
}

.public-header {
    padding: 30px 5vw;
}

.public-header .brand {
    font-size: 18px;
}

.public-content {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding: 35px 40px 70px;
}

.public-footer {
    padding: 25px;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
}

.login-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.login-intro h1 {
    font-size: 57px;
    line-height: 1.14;
    margin-top: 20px;
    margin-bottom: 24px;
}

.login-intro p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

.intro-line {
    height: 1px;
    width: 55px;
    background: var(--accent);
    margin: 40px 0 20px;
}

.intro-bottom {
    font-size: 9px;
    letter-spacing: 2px;
    color: #7f856e;
}

.login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 12px 40px #243c3305;
}

.login-card h2 {
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 400;
}

.login-card > .muted {
    font-size: 12px;
    margin-bottom: 27px;
}

.login-card .field {
    margin-bottom: 22px;
}

.login-footnote {
    font-size: 10px;
    text-align: center;
    color: var(--muted);
    margin: 24px 0 0;
}

.message-page {
    max-width: 660px;
    padding: 30px 0;
}

.message-page p {
    color: var(--muted);
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 10;
    background: #fff;
    padding: 12px;
}

.skip-link:focus {
    top: 10px;
}

@media (min-width: 1500px) {
    .content {
        padding-top: 50px;
    }

    .stats {
        gap: 24px;
    }

    .stat {
        padding: 26px 30px;
    }
}

@media (max-width: 1150px) {
    .sidebar {
        width: 215px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .sidebar .brand {
        font-size: 14px;
    }

    .workspace {
        margin-left: 215px;
    }

    .content {
        padding: 30px 25px;
    }

    .topbar {
        padding: 0 25px;
    }

    .event-form {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .form-section {
        padding: 22px;
    }

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

    .page-heading h1 {
        font-size: 35px;
    }

    .workspace-footer {
        margin: 0 25px;
    }

    .login-grid {
        gap: 40px;
    }

    .login-intro h1 {
        font-size: 49px;
    }
}

@media (max-width: 820px) {
    .sidebar {
        position: static;
        width: auto;
        padding: 16px 22px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    .sidebar .brand {
        padding: 0;
    }

    .sidebar .brand-mark {
        width: 32px;
        height: 36px;
        font-size: 23px;
    }

    .sidebar nav {
        grid-column: 1/3;
        grid-row: 2;
    }

    .nav-item {
        padding: 10px 13px;
    }

    .nav-label,
    .sidebar-note,
    .profile {
        display: none;
    }

    .logout-form {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .logout {
        gap: 15px;
    }

    .workspace {
        margin-left: 0;
    }

    .topbar {
        height: 53px;
    }

    .stats {
        gap: 12px;
    }

    .stat {
        padding: 19px;
    }

    .stat > span {
        font-size: 10px;
    }

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

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-aside {
        display: block;
    }

    .status-help {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 10px;
    }

    .status-help dt,
    .status-help dd {
        margin: 0;
    }

    .form-actions {
        display: flex;
        gap: 25px;
        align-items: center;
    }

    .form-actions .button {
        width: auto;
    }

    .cancel-link {
        margin: 0;
    }

    .required-note {
        text-align: left;
    }

    .login-intro h1 {
        font-size: 43px;
    }

    .login-grid {
        gap: 30px;
    }

    .login-card {
        padding: 28px;
    }

    .public-content {
        padding: 30px;
    }
}

@media (max-width: 560px) {
    .content {
        padding: 28px 18px;
    }

    .topbar {
        padding: 0 18px;
        font-size: 10px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .page-heading h1 {
        font-size: 34px;
    }

    .page-heading > .button {
        align-self: stretch;
    }

    .stats {
        gap: 9px;
    }

    .stat {
        padding: 15px 11px;
    }

    .stat > span {
        display: block;
        min-height: 31px;
        font-size: 10px;
    }

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

    .stat > small {
        display: none;
    }

    .list-toolbar {
        padding: 0 18px;
    }

    .empty-state {
        padding: 45px 20px;
    }

    .empty-state h2 {
        font-size: 24px;
    }

    .empty-state p {
        line-height: 1.8;
    }

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

    .form-section {
        padding: 21px;
    }

    .form-actions {
        display: block;
    }

    .form-actions .button {
        width: 100%;
    }

    .cancel-link {
        margin-top: 17px;
    }

    .workspace-footer {
        margin: 0 18px;
    }

    .workspace-footer span {
        display: none;
    }

    .public-header {
        padding: 25px;
    }

    .public-content {
        padding: 15px 22px 40px;
    }

    .login-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .login-intro h1 {
        font-size: 37px;
        margin: 12px 0;
    }

    .login-intro p {
        font-size: 12px;
        margin: 0;
    }

    .intro-line,
    .intro-bottom {
        display: none;
    }

    .login-card {
        padding: 25px;
    }

    .login-intro .eyebrow {
        font-size: 9px;
    }

    .brand small {
        font-size: 7px;
    }
}

/* Calendar order management and print view. */
.sidebar nav {
    display: grid;
    gap: 6px;
}
.orders-search {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--line);
}
.orders-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    font: inherit;
}
@media print {
    @page {
        size: A4 landscape;
        margin: 12mm;
    }
    .sidebar,
    .topbar,
    .workspace-footer,
    .no-print,
    .skip-link {
        display: none !important;
    }
    body {
        background: white;
        color: black;
        font-size: 10pt;
    }
    .workspace {
        margin: 0;
        display: block;
    }
    .content {
        padding: 0;
        max-width: none;
    }
    .table-scroll {
        overflow: visible;
    }
    .panel {
        border: 0;
    }
    h1 {
        font-size: 24pt;
    }
    th,
    td {
        padding: 8px;
    }
    tr {
        break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    .cell-detail {
        max-width: none;
        color: #333;
    }
}
