.aside{
    min-width: 12em !important;
}
.container-md {
    padding-left: 1em !important;
    padding-right: 1em !important;
}
.today-time{
    background-color: #3eb058;
}
td div{
    display: inline-block;
    word-break: break-word;
}

@media (max-width: 768px) {
    .action-link{
        font-size: 0px;
    }
    .action-link svg{
        font-size: 1rem;
    }
}


.ts-wrapper.single.dropdown-active .ts-control:after {
    border-color: transparent transparent #343a40;
    border-width: 0 5px 5px;
    margin-top: -4px;
}

.ts-wrapper.single .ts-control:after {
    border-color: #343a40 transparent transparent;
    border-style: solid;
    border-width: 5px 5px 0;
    content: " ";
    display: block;
    height: 0;
    margin-top: -3px;
    position: absolute;
    right: calc(.75rem + 5px);
    top: 50%;
    width: 0;
}

.mb-6{
    margin-bottom: 6em;
}

.container-md{
    max-width: 5051px !important;
}



.plus_button{
    min-width: 80px;
}

/* Museum operations dashboard */
:root {
    --museum-ink: #17263b;
    --museum-blue: #245d78;
    --museum-red: #b6463d;
    --museum-gold: #c3943f;
    --museum-paper: #f4f6f7;
    --museum-line: #dce2e6;
    --museum-muted: #657384;
}

body {
    color: var(--museum-ink);
    background: #eef1f3;
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}

.aside {
    background: var(--museum-ink) !important;
}

.aside .nav-link,
.aside .nav-link .icon {
    color: rgba(255, 255, 255, .72) !important;
}

.aside .nav-link:hover,
.aside .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .1) !important;
}

.museum-dashboard {
    --museum-radius: 4px;
    display: grid;
    gap: 20px;
    padding-bottom: 48px;
}

.museum-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 178px;
    padding: 34px 38px;
    overflow: hidden;
    color: #fff;
    background: var(--museum-ink);
    border-left: 6px solid var(--museum-red);
}

.museum-hero::after {
    position: absolute;
    right: 18%;
    bottom: -68px;
    width: 230px;
    height: 230px;
    content: "";
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
}

.museum-hero h2 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 650;
    letter-spacing: -.035em;
}

.museum-hero p:last-child {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
}

.museum-eyebrow {
    margin: 0;
    color: var(--museum-blue);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.museum-hero .museum-eyebrow { color: #b8d5e2; }
.museum-eyebrow--alert { color: var(--museum-red); }

.museum-hero__mark {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 92px;
    text-align: center;
}

.museum-hero__mark span {
    font-size: 3.6rem;
    font-weight: 300;
    line-height: .9;
}

.museum-hero__mark small {
    margin-top: 9px;
    color: var(--museum-gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.museum-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--museum-line);
}

.museum-metric {
    position: relative;
    display: flex;
    min-height: 142px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
    border-right: 1px solid var(--museum-line);
}

.museum-metric:last-child { border-right: 0; }
.museum-metric--primary::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: var(--museum-red);
}

.museum-metric span,
.museum-metric small { color: var(--museum-muted); }
.museum-metric span { font-size: .78rem; font-weight: 650; }
.museum-metric strong {
    margin: 5px 0 2px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 650;
    letter-spacing: -.04em;
}
.museum-metric small { font-size: .72rem; }

.museum-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--museum-line);
    border-radius: var(--museum-radius);
}

.museum-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.museum-panel__head h3 {
    margin: 4px 0 0;
    color: var(--museum-ink);
    font-size: 1.28rem;
    font-weight: 650;
    letter-spacing: -.02em;
}

.museum-panel__head > a {
    color: var(--museum-blue);
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
}

.museum-timeline { overflow-x: auto; }
.museum-timeline__scale {
    display: grid;
    grid-template-columns: repeat(12, minmax(74px, 1fr));
    min-width: 888px;
    padding-bottom: 10px;
    color: #8a96a2;
    font-size: .66rem;
    border-bottom: 1px solid var(--museum-line);
}

.museum-timeline__cards {
    display: grid;
    min-width: 888px;
}

.museum-event {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(260px, 1fr) minmax(140px, .4fr);
    gap: 16px;
    align-items: center;
    min-height: 68px;
    padding: 10px 12px;
    color: var(--museum-ink);
    border-bottom: 1px solid #edf0f2;
    text-decoration: none;
    transition: background .16s ease, transform .16s ease;
}

.museum-event::before {
    position: absolute;
    top: -4px;
    left: var(--event-offset);
    width: 2px;
    height: 8px;
    content: "";
    background: var(--museum-red);
}

.museum-event:hover { color: var(--museum-ink); background: #f4f8fa; transform: translateX(3px); }
.museum-event time { color: var(--museum-red); font-size: .92rem; font-weight: 750; }
.museum-event span { display: grid; }
.museum-event strong { font-size: .88rem; }
.museum-event small { margin-top: 3px; color: var(--museum-muted); font-size: .73rem; }
.museum-event em { color: var(--museum-muted); font-size: .73rem; font-style: normal; text-align: right; }

.museum-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 20px;
}

.museum-call {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 12px 0;
    color: var(--museum-ink);
    border-bottom: 1px solid #edf0f2;
    text-decoration: none;
}

.museum-call:hover { color: var(--museum-blue); }
.museum-call > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--museum-blue);
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 700;
}
.museum-call > div { display: grid; min-width: 0; }
.museum-call small { overflow: hidden; color: var(--museum-muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.museum-call time { color: #8a96a2; font-size: .68rem; }

.museum-actions__list { display: grid; }
.museum-actions__list a {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 13px 0;
    color: var(--museum-ink);
    border-bottom: 1px solid #edf0f2;
    text-decoration: none;
}
.museum-actions__list a:hover strong { color: var(--museum-blue); }
.museum-actions__list span { color: var(--museum-gold); font-size: .65rem; font-weight: 750; letter-spacing: .1em; }
.museum-actions__list strong { font-size: .82rem; transition: color .16s ease; }
.museum-actions__list em { font-style: normal; }

.museum-empty,
.museum-compact-empty {
    color: var(--museum-muted);
    background: var(--museum-paper);
}
.museum-empty { display: flex; gap: 16px; align-items: center; padding: 28px; }
.museum-empty__icon { color: var(--museum-gold); font-size: 2rem; }
.museum-empty strong { color: var(--museum-ink); }
.museum-empty p { margin: 3px 0 0; font-size: .78rem; }
.museum-compact-empty { padding: 18px; font-size: .78rem; }

@media (max-width: 1100px) {
    .museum-metrics { grid-template-columns: repeat(2, 1fr); }
    .museum-metric:nth-child(2) { border-right: 0; }
    .museum-metric:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
}

@media (max-width: 768px) {
    .museum-dashboard { gap: 14px; }
    .museum-hero { min-height: 154px; padding: 26px 22px; }
    .museum-hero__mark { display: none; }
    .museum-metrics { grid-template-columns: 1fr 1fr; }
    .museum-metric { min-height: 118px; padding: 18px; }
    .museum-grid { grid-template-columns: 1fr; }
    .museum-panel { padding: 20px; }
    .museum-event { grid-template-columns: 54px minmax(230px, 1fr); }
    .museum-event em { display: none; }
}

/* Orders workspace */
.table {
    --bs-table-bg: transparent;
    color: var(--museum-ink);
}

.table > thead > tr > th {
    padding-top: 13px;
    padding-bottom: 13px;
    color: var(--museum-muted);
    background: #f7f8f9;
    border-bottom-color: var(--museum-line);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.table > tbody > tr > td {
    padding-top: 14px;
    padding-bottom: 14px;
    vertical-align: middle;
    border-bottom-color: #e9edf0;
}

.table > tbody > tr {
    transition: background .15s ease;
}

.table > tbody > tr:hover {
    background: #f7fafb;
}

.order-time,
.order-main {
    display: grid !important;
    line-height: 1.25;
}

.order-time strong,
.order-main strong {
    color: var(--museum-ink);
    font-size: .8rem;
    font-weight: 650;
}

.order-time span {
    margin-top: 3px;
    color: var(--museum-red);
    font-size: .78rem;
    font-weight: 750;
}

.order-main small {
    margin-top: 4px;
    color: var(--museum-muted);
    font-size: .68rem;
}

.order-people {
    color: var(--museum-ink);
    font-size: .8rem;
    white-space: nowrap;
}

.order-status {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 700;
    white-space: nowrap;
}

.order-status::before {
    width: 6px;
    height: 6px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.order-status.is-confirmed { color: #267456; background: #e7f4ee; }
.order-status.is-waiting { color: #8a621b; background: #fff4d9; }
.order-status.is-cancelled { color: #a13d37; background: #fae9e7; }
.order-status.is-unknown { color: #687583; background: #edf0f2; }

.action-link.btn {
    width: 32px;
    height: 32px;
    padding: 7px !important;
    color: var(--museum-muted) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 50%;
    font-size: .82rem !important;
}

.action-link.btn:hover {
    color: var(--museum-blue) !important;
    background: #edf4f7 !important;
    border-color: #d9e6eb !important;
}

.action-link.btn-danger:hover {
    color: var(--museum-red) !important;
    background: #fae9e7 !important;
    border-color: #f0d3d0 !important;
}

.layout-wrapper .bg-white.rounded {
    border: 1px solid var(--museum-line);
    box-shadow: 0 8px 28px rgba(23, 38, 59, .045) !important;
}

.form-label {
    color: var(--museum-ink);
    font-size: .76rem;
    font-weight: 650;
}

.form-control,
.form-select,
.ts-control {
    border-color: #cfd7dc !important;
    border-radius: 4px !important;
}

.form-control:focus,
.form-select:focus,
.ts-wrapper.focus .ts-control {
    border-color: var(--museum-blue) !important;
    box-shadow: 0 0 0 3px rgba(36, 93, 120, .12) !important;
}

/* Client workspace */
.client-main {
    display: grid !important;
    line-height: 1.25;
}

.client-main strong { color: var(--museum-ink); font-size: .8rem; font-weight: 650; }
.client-main small { max-width: 280px; margin-top: 4px; overflow: hidden; color: var(--museum-muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.client-category,
.client-subscription {
    display: inline-flex !important;
    padding: 5px 9px;
    color: var(--museum-blue);
    background: #e9f2f5;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 650;
    white-space: nowrap;
}

.client-subscription { color: var(--museum-muted); background: #edf0f2; }
.client-subscription.is-active { color: #267456; background: #e7f4ee; }

.client-activity {
    display: flex !important;
    align-items: baseline;
    gap: 5px;
    color: var(--museum-muted);
    font-size: .68rem;
    white-space: nowrap;
}
.client-activity strong { color: var(--museum-ink); font-size: .82rem; }
.client-activity i { margin: 0 2px; color: #c6ced3; font-style: normal; }

.client-profile { display: grid; gap: 20px; padding-bottom: 40px; }
.client-profile__identity {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    color: #fff;
    background: var(--museum-ink);
    border-left: 5px solid var(--museum-gold);
}

.client-profile__avatar {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: var(--museum-ink);
    background: var(--museum-gold);
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 650;
}

.client-profile__identity h2 { margin: 3px 0 2px; color: #fff; font-size: 1.7rem; font-weight: 650; letter-spacing: -.03em; }
.client-profile__identity > div:nth-child(2) > span { color: rgba(255, 255, 255, .62); font-size: .75rem; }
.client-profile__subscription { padding: 7px 11px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.18); font-size: .68rem; }
.client-profile__subscription.is-active { color: #bfe7d5; border-color: rgba(83, 183, 137, .55); }

.client-profile__grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 20px; }
.client-profile__calls { grid-column: 1 / -1; }
.client-contacts { display: grid; gap: 0; margin: 0; }
.client-contacts > div { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf0f2; }
.client-contacts dt { color: var(--museum-muted); font-size: .68rem; font-weight: 600; }
.client-contacts dd { margin: 0; color: var(--museum-ink); font-size: .78rem; }
.client-contacts a { color: var(--museum-blue); text-decoration: none; }

.client-history {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    color: var(--museum-ink);
    border-bottom: 1px solid #edf0f2;
    text-decoration: none;
}
.client-history:hover { color: var(--museum-blue); }
.client-history time { color: var(--museum-red); font-size: .7rem; font-weight: 700; }
.client-history span { display: grid; }
.client-history strong { font-size: .78rem; }
.client-history small { margin-top: 3px; color: var(--museum-muted); font-size: .68rem; }
.client-history em { font-style: normal; }

@media (max-width: 768px) {
    .client-profile__identity { grid-template-columns: 52px 1fr; padding: 22px; }
    .client-profile__avatar { width: 52px; height: 52px; }
    .client-profile__subscription { grid-column: 1 / -1; justify-self: start; }
    .client-profile__grid { grid-template-columns: 1fr; }
    .client-profile__calls { grid-column: auto; }
}

/* Guide schedule */
.schedule-workspace { display: grid; gap: 18px; padding-bottom: 42px; }
.schedule-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 30px;
    color: #fff;
    background: var(--museum-ink);
    border-left: 5px solid var(--museum-red);
}
.schedule-summary h2 { margin: 3px 0 0; color: #fff; font-size: 1.65rem; font-weight: 650; letter-spacing: -.03em; }
.schedule-summary > div > span { color: var(--museum-gold); font-size: .72rem; font-weight: 700; }
.schedule-summary dl { display: flex; gap: 36px; margin: 0; }
.schedule-summary dl div { display: grid; }
.schedule-summary dt { color: rgba(255,255,255,.55); font-size: .65rem; font-weight: 600; }
.schedule-summary dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 650; }

.schedule-board { overflow: hidden; background: #fff; border: 1px solid var(--museum-line); }
.schedule-board__scroll { overflow-x: auto; }
.schedule-axis,
.schedule-row {
    display: grid;
    grid-template-columns: 180px repeat(var(--schedule-columns), minmax(62px, 1fr));
    min-width: 1296px;
}
.schedule-axis { position: sticky; top: 0; z-index: 5; color: var(--museum-muted); background: #f7f8f9; border-bottom: 1px solid var(--museum-line); }
.schedule-axis strong { position: sticky; left: 0; z-index: 6; padding: 13px 16px; background: #f7f8f9; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.schedule-axis time { padding: 13px 5px; border-left: 1px solid #e7ebed; font-size: .64rem; text-align: center; }
.schedule-axis time:nth-child(odd) { color: #a3acb4; }

.schedule-row { position: relative; min-height: 74px; border-bottom: 1px solid #e7ebed; }
.schedule-row:last-child { border-bottom: 0; }
.schedule-guide {
    position: sticky;
    left: 0;
    z-index: 4;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border-right: 1px solid var(--museum-line);
}
.schedule-guide > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--museum-blue); border-radius: 50%; font-size: .7rem; font-weight: 700; }
.schedule-guide > div { display: grid; min-width: 0; }
.schedule-guide strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.schedule-guide small { margin-top: 3px; color: var(--museum-muted); font-size: .64rem; }

.schedule-slot { grid-column: var(--slot-column); grid-row: 1; display: grid; min-width: 0; place-items: center; color: transparent; background: #fff; border-right: 1px solid #edf0f2; text-decoration: none; }
.schedule-slot:nth-child(odd) { background: #fbfcfc; }
.schedule-slot:hover { color: var(--museum-blue); background: #edf5f7; }
.schedule-slot span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px dashed currentColor; border-radius: 50%; font-size: .88rem; }
.schedule-slot.is-off { background: repeating-linear-gradient(135deg, #f1f3f4, #f1f3f4 5px, #e9edef 5px, #e9edef 6px); }

.schedule-event {
    z-index: 3;
    grid-column: var(--event-column) / span var(--event-span);
    grid-row: 1;
    align-self: center;
    display: grid;
    min-width: 0;
    margin: 6px 3px;
    padding: 8px 10px;
    overflow: hidden;
    color: #fff;
    background: var(--museum-blue);
    border-left: 4px solid #83b2c6;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(23,38,59,.14);
    text-decoration: none;
}
.schedule-event:hover { color: #fff; filter: brightness(1.06); }
.schedule-event time { font-size: .62rem; font-weight: 750; }
.schedule-event strong { overflow: hidden; font-size: .71rem; text-overflow: ellipsis; white-space: nowrap; }
.schedule-event small { overflow: hidden; color: rgba(255,255,255,.72); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.schedule-event.status-waiting { color: var(--museum-ink); background: #e3b85f; border-left-color: #9a6c1a; }
.schedule-event.status-waiting small { color: rgba(23,38,59,.66); }
.schedule-event.status-reject { background: #a95750; border-left-color: #71332e; opacity: .72; }

.schedule-empty { padding: 42px 28px; text-align: center; }
.schedule-empty strong { color: var(--museum-ink); }
.schedule-empty p { margin: 5px 0 0; color: var(--museum-muted); font-size: .75rem; }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--museum-muted); font-size: .67rem; }
.schedule-legend span { display: flex; gap: 6px; align-items: center; }
.schedule-legend i { width: 9px; height: 9px; background: var(--museum-blue); border-radius: 2px; }
.schedule-legend i.is-waiting { background: #e3b85f; }
.schedule-legend i.is-cancelled { background: #a95750; }
.schedule-legend i.is-free { background: #fff; border: 1px dashed var(--museum-blue); }

@media (max-width: 768px) {
    .schedule-summary { align-items: flex-start; padding: 21px; }
    .schedule-summary dl { gap: 18px; }
    .schedule-summary dt { display: none; }
    .schedule-summary dd { font-size: 1.05rem; }
    .schedule-axis, .schedule-row { grid-template-columns: 140px repeat(var(--schedule-columns), 62px); }
}

/* Call queue */
.call-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--museum-line);
}
.call-summary article { position: relative; display: grid; min-height: 116px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--museum-line); }
.call-summary article:last-child { border-right: 0; }
.call-summary article.is-priority::before,
.call-summary article.is-danger::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: var(--museum-gold); }
.call-summary article.is-danger::before { background: var(--museum-red); }
.call-summary span, .call-summary small { color: var(--museum-muted); font-size: .68rem; }
.call-summary span { font-weight: 650; }
.call-summary strong { margin: 3px 0; color: var(--museum-ink); font-size: 1.75rem; font-weight: 650; letter-spacing: -.04em; }
.call-summary .is-danger strong { color: var(--museum-red); }

.call-client { display: flex !important; gap: 10px; align-items: center; }
.call-client > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--museum-blue); border-radius: 50%; font-size: .68rem; font-weight: 700; }
.call-client > div { display: grid; }
.call-client strong { color: var(--museum-ink); font-size: .78rem; }
.call-client small { color: var(--museum-muted); font-size: .66rem; }
.call-status { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .67rem; font-weight: 700; white-space: nowrap; }
.call-status::before { width: 6px; height: 6px; content: ""; background: currentColor; border-radius: 50%; }
.call-status.is-reached { color: #267456; background: #e7f4ee; }
.call-status.is-missed { color: #687583; background: #edf0f2; }
.call-status.is-follow-up { color: #8a621b; background: #fff4d9; }
.call-comment { display: block !important; max-width: 330px; overflow: hidden; color: var(--museum-muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.call-date { color: var(--museum-ink); font-size: .72rem; font-weight: 650; white-space: nowrap; }
.call-date.is-overdue { color: var(--museum-red); }
.call-date.is-empty, .call-updated { color: #8b96a0; font-size: .68rem; font-weight: 400; }

@media (max-width: 900px) {
    .call-summary { grid-template-columns: 1fr 1fr; }
    .call-summary article:nth-child(2) { border-right: 0; }
    .call-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
}

/* Event calendar */
.event-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; background: #fff; border: 1px solid var(--museum-line); }
.event-summary article { position: relative; display: grid; min-height: 116px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--museum-line); }
.event-summary article:last-child { border-right: 0; }
.event-summary article.is-today::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: var(--museum-red); }
.event-summary span, .event-summary small { color: var(--museum-muted); font-size: .68rem; }
.event-summary span { font-weight: 650; }
.event-summary strong { margin: 3px 0; color: var(--museum-ink); font-size: 1.65rem; font-weight: 650; letter-spacing: -.04em; }
.event-main, .event-date { display: grid !important; line-height: 1.25; }
.event-main strong, .event-date strong { color: var(--museum-ink); font-size: .78rem; font-weight: 650; }
.event-main small { max-width: 260px; margin-top: 4px; overflow: hidden; color: var(--museum-muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.event-date span { margin-top: 3px; color: var(--museum-red); font-size: .72rem; font-weight: 700; }
.event-guests, .event-cost { color: var(--museum-ink); font-size: .75rem; white-space: nowrap; }
.event-status { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.event-status::before { width: 6px; height: 6px; content: ""; background: currentColor; border-radius: 50%; }
.event-status.is-planned { color: #8a621b; background: #fff4d9; }
.event-status.is-confirmed { color: #267456; background: #e7f4ee; }
.event-status.is-completed { color: var(--museum-blue); background: #e9f2f5; }
.event-status.is-cancelled { color: #a13d37; background: #fae9e7; }

@media (max-width: 900px) {
    .event-summary { grid-template-columns: 1fr 1fr; }
    .event-summary article:nth-child(2) { border-right: 0; }
    .event-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
}

/* Guide team */
.guide-person { display: flex !important; gap: 11px; align-items: center; }
.guide-person > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--museum-blue); border-radius: 50%; font-size: .72rem; font-weight: 700; }
.guide-person > div, .guide-shift, .guide-load { display: grid !important; }
.guide-person strong, .guide-shift strong { color: var(--museum-ink); font-size: .78rem; font-weight: 650; }
.guide-person small, .guide-shift small, .guide-load span { margin-top: 3px; color: var(--museum-muted); font-size: .66rem; }
.guide-shift.is-empty { color: var(--museum-muted); font-size: .7rem; }
.guide-load strong { color: var(--museum-ink); font-size: 1rem; font-weight: 650; }

.guide-work-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 26px 30px; color: #fff; background: var(--museum-ink); border-left: 5px solid var(--museum-gold); }
.guide-work-summary h2 { margin: 3px 0 0; color: #fff; font-size: 1.55rem; font-weight: 650; letter-spacing: -.03em; }
.guide-work-summary > div > span { color: rgba(255,255,255,.58); font-size: .7rem; }
.guide-work-summary dl { display: flex; gap: 38px; margin: 0; }
.guide-work-summary dl div { display: grid; }
.guide-work-summary dt { color: rgba(255,255,255,.55); font-size: .65rem; font-weight: 600; }
.guide-work-summary dd { margin: 3px 0 0; font-size: 1.35rem; font-weight: 650; }
.guide-work-summary dd.is-date { color: var(--museum-gold); }
.shift-date { display: grid !important; }
.shift-date strong { color: var(--museum-ink); font-size: .77rem; }
.shift-date small { margin-top: 3px; color: var(--museum-muted); font-size: .65rem; text-transform: capitalize; }
.shift-duration { color: var(--museum-blue); font-size: .72rem; font-weight: 650; }

@media (max-width: 768px) {
    .guide-work-summary { align-items: flex-start; padding: 22px; }
    .guide-work-summary dl { gap: 18px; }
    .guide-work-summary dt { display: none; }
    .guide-work-summary dd { font-size: 1rem; }
}

/* Services and organizations */
.catalog-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; background: #fff; border: 1px solid var(--museum-line); }
.catalog-summary article { display: grid; min-height: 112px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--museum-line); }
.catalog-summary article:last-child { border-right: 0; }
.catalog-summary span, .catalog-summary small { color: var(--museum-muted); font-size: .68rem; }
.catalog-summary span { font-weight: 650; }
.catalog-summary strong { margin: 3px 0; color: var(--museum-ink); font-size: 1.55rem; font-weight: 650; letter-spacing: -.04em; }
.service-main { display: grid !important; }
.service-main strong { color: var(--museum-ink); font-size: .79rem; font-weight: 650; }
.service-main small { max-width: 260px; margin-top: 4px; overflow: hidden; color: var(--museum-muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.service-category { display: inline-flex !important; padding: 5px 9px; color: var(--museum-blue); background: #e9f2f5; border-radius: 999px; font-size: .66rem; font-weight: 650; }
.service-price, .service-free { color: var(--museum-ink); font-size: .74rem; font-weight: 650; white-space: nowrap; }
.service-free { color: #267456; }
.service-duration { display: grid !important; width: 115px; }
.service-duration strong { color: var(--museum-ink); font-size: .7rem; }
.service-duration > span { height: 4px; margin-top: 7px; overflow: hidden; background: #e5eaed; border-radius: 99px; }
.service-duration i { display: block; height: 100%; background: var(--museum-gold); }
.service-use { display: grid !important; }
.service-use strong { color: var(--museum-ink); font-size: .9rem; }
.service-use span { color: var(--museum-muted); font-size: .65rem; }

.organization-main { display: flex !important; gap: 11px; align-items: center; }
.organization-main > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: var(--museum-ink); background: var(--museum-gold); border-radius: 2px; font-size: .76rem; font-weight: 750; }
.organization-main > div, .organization-stat { display: grid !important; }
.organization-main strong { color: var(--museum-ink); font-size: .79rem; }
.organization-main small { max-width: 250px; margin-top: 3px; overflow: hidden; color: var(--museum-muted); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.organization-stat strong { color: var(--museum-ink); font-size: .9rem; }
.organization-stat span { color: var(--museum-muted); font-size: .65rem; }
.organization-stat.is-upcoming strong { color: var(--museum-red); }
.organization-sum { color: var(--museum-ink); font-size: .74rem; font-weight: 650; white-space: nowrap; }

.organization-profile, .service-profile { display: grid; gap: 18px; padding-bottom: 40px; }
.organization-profile__hero, .service-profile__hero { display: flex; gap: 22px; align-items: center; padding: 28px 32px; color: #fff; background: var(--museum-ink); border-left: 5px solid var(--museum-gold); }
.organization-profile__hero > span { display: grid; width: 66px; height: 66px; flex: 0 0 auto; place-items: center; color: var(--museum-ink); background: var(--museum-gold); font-size: 1.6rem; font-weight: 700; }
.organization-profile__hero > div { min-width: 220px; }
.organization-profile__hero h2, .service-profile__hero h2 { margin: 3px 0; color: #fff; font-size: 1.6rem; font-weight: 650; letter-spacing: -.03em; }
.organization-profile__hero small, .service-profile__hero span { color: rgba(255,255,255,.58); font-size: .7rem; }
.organization-profile__hero dl { display: flex; flex: 1; justify-content: flex-end; gap: 34px; margin: 0; }
.organization-profile__hero dl div { display: grid; }
.organization-profile__hero dt { color: rgba(255,255,255,.5); font-size: .62rem; }
.organization-profile__hero dd { margin: 3px 0 0; font-size: 1.05rem; font-weight: 650; }
.organization-event { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; color: var(--museum-ink); border-bottom: 1px solid #edf0f2; text-decoration: none; }
.organization-event:hover { color: var(--museum-blue); }
.organization-event time { color: var(--museum-red); font-size: .68rem; font-weight: 700; }
.organization-event span { display: grid; }
.organization-event strong { font-size: .78rem; }
.organization-event small { margin-top: 3px; color: var(--museum-muted); font-size: .66rem; }
.organization-event em { color: var(--museum-ink); font-size: .72rem; font-style: normal; font-weight: 650; }

.service-profile__hero { justify-content: space-between; border-left-color: var(--museum-red); }
.service-profile__duration { display: grid; min-width: 100px; text-align: right; }
.service-profile__duration strong { color: #fff; font-size: 2.6rem; font-weight: 300; line-height: 1; }
.service-profile__duration small { color: var(--museum-gold); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.service-profile__facts { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--museum-line); }
.service-profile__facts article { display: grid; min-height: 98px; align-content: center; padding: 18px 22px; border-right: 1px solid var(--museum-line); }
.service-profile__facts article:last-child { border-right: 0; }
.service-profile__facts span { color: var(--museum-muted); font-size: .65rem; }
.service-profile__facts strong { margin-top: 3px; color: var(--museum-ink); font-size: 1.05rem; }

@media (max-width: 900px) {
    .catalog-summary { grid-template-columns: 1fr 1fr; }
    .catalog-summary article:nth-child(2) { border-right: 0; }
    .catalog-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
    .organization-profile__hero { align-items: flex-start; flex-wrap: wrap; }
    .organization-profile__hero dl { width: 100%; justify-content: flex-start; }
    .service-profile__facts { grid-template-columns: repeat(2, 1fr); }
}

/* Report archive */
.report-summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; padding: 26px 30px; color: #fff; background: var(--museum-ink); border-left: 5px solid var(--museum-blue); }
.report-summary h2 { margin: 3px 0; color: #fff; font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; }
.report-summary > div > span { color: rgba(255,255,255,.56); font-size: .68rem; }
.report-summary dl { display: flex; gap: 36px; margin: 0; }
.report-summary dl div { display: grid; }
.report-summary dt { color: rgba(255,255,255,.5); font-size: .63rem; font-weight: 600; }
.report-summary dd { margin: 3px 0 0; font-size: 1.25rem; font-weight: 650; }
.report-summary dd.is-date { color: var(--museum-gold); }
.report-file { display: flex !important; gap: 10px; align-items: center; }
.report-file span { padding: 5px 7px; color: #267456; background: #e7f4ee; border-radius: 3px; font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.report-file strong { max-width: 420px; overflow: hidden; color: var(--museum-ink); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.report-date { display: grid !important; }
.report-date strong { color: var(--museum-ink); font-size: .73rem; }
.report-date small { margin-top: 3px; color: var(--museum-muted); font-size: .65rem; }
.report-missing { color: var(--museum-red); font-size: .68rem; font-weight: 650; }

@media (max-width: 768px) {
    .report-summary { align-items: flex-start; flex-direction: column; padding: 22px; }
    .report-summary dl { gap: 20px; }
    .report-summary dt { display: none; }
    .report-summary dd { font-size: 1rem; }
}

/* Notification center */
.table-notification {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--museum-line);
    border-top: 4px solid var(--museum-gold);
}
.table-notification table { margin: 0; }
.table-notification thead { display: none; }
.table-notification td { padding: 0 !important; border-bottom-color: var(--museum-line); }
.table-notification tbody tr:last-child td { border-bottom: 0; }
.table-notification button {
    width: 100%;
    min-height: 92px;
    color: var(--museum-ink);
    border-radius: 0;
    text-decoration: none;
    transition: background-color .16s ease, transform .16s ease;
}
.table-notification button:hover { color: var(--museum-ink); background: #f5f8f9; }
.table-notification button:focus-visible { outline: 3px solid rgba(36, 93, 120, .35); outline-offset: -3px; }
.table-notification button > span > span { font-size: .82rem; font-weight: 700; }
.table-notification button > span > small { font-size: .7rem; line-height: 1.45; }

/* Final responsive pass */
@media (max-width: 600px) {
    .container-md { padding-right: .7rem !important; padding-left: .7rem !important; }
    .museum-hero { min-height: 0; padding: 25px 22px; }
    .museum-hero__mark { display: none; }
    .museum-metrics,
    .call-summary,
    .event-summary,
    .catalog-summary { grid-template-columns: 1fr; }
    .museum-metric,
    .call-summary article,
    .event-summary article,
    .catalog-summary article { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--museum-line); }
    .museum-metric:last-child,
    .call-summary article:last-child,
    .event-summary article:last-child,
    .catalog-summary article:last-child { border-bottom: 0; }
    .organization-profile__hero,
    .service-profile__hero { align-items: flex-start; flex-direction: column; padding: 23px; }
    .organization-profile__hero dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
    .service-profile__duration { text-align: left; }
    .service-profile__facts { grid-template-columns: 1fr; }
    .service-profile__facts article { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--museum-line); }
    .report-summary dl,
    .guide-work-summary dl { display: grid; grid-template-columns: repeat(3, auto); width: 100%; }
    .table-notification button { min-height: 82px; padding: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Bileton import ledger */
.import-summary {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    margin-bottom: 18px;
    overflow: hidden;
    color: #fff;
    background: var(--museum-ink);
    border-left: 5px solid var(--museum-gold);
}
.import-summary__intro { padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.11); }
.import-summary__intro > span { color: var(--museum-gold); font-size: .66rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.import-summary__intro h2 { margin: 4px 0 6px; color: #fff; font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; }
.import-summary__intro p { max-width: 430px; margin: 0; color: rgba(255,255,255,.6); font-size: .7rem; line-height: 1.5; }
.import-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.import-summary dl div { display: grid; min-height: 96px; align-content: center; padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.import-summary dl div:nth-child(even) { border-right: 0; }
.import-summary dl div:nth-last-child(-n+2) { border-bottom: 0; }
.import-summary dt { color: rgba(255,255,255,.5); font-size: .63rem; font-weight: 600; }
.import-summary dd { margin: 3px 0 0; font-size: 1.15rem; font-weight: 650; }
.import-summary dd.is-date { color: var(--museum-gold); font-size: .86rem; }
.import-number { color: var(--museum-ink); font-size: .88rem; }
.import-money { color: var(--museum-ink); font-size: .74rem; font-weight: 650; white-space: nowrap; }
.import-type { display: inline-flex !important; padding: 5px 9px; border-radius: 999px; font-size: .65rem; font-weight: 700; }
.import-type.is-paid { color: #267456; background: #e7f4ee; }
.import-type.is-free { color: var(--museum-blue); background: #e9f2f5; }

@media (max-width: 768px) {
    .import-summary { grid-template-columns: 1fr; }
    .import-summary__intro { padding: 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
    .import-summary dl div { min-height: 82px; padding: 15px 20px; }
}

/* Museum activity calendar */
.museum-calendar { --calendar-order: #2f6f8e; --calendar-event: #b7862d; --calendar-paper: #f7f8f6; margin-bottom: 28px; }
.museum-calendar__toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 24px; align-items: center; padding: 25px 28px; color: #fff; background: var(--museum-ink); border-left: 5px solid var(--museum-gold); }
.museum-calendar__eyebrow { color: var(--museum-gold); font-size: .63rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.museum-calendar__toolbar h2 { margin: 3px 0 0; color: #fff; font-size: 1.55rem; font-weight: 650; letter-spacing: -.035em; text-transform: capitalize; }
.museum-calendar__views, .museum-calendar__navigation { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.16); }
.museum-calendar__views a, .museum-calendar__navigation a { display: grid; min-height: 38px; padding: 0 14px; place-items: center; color: rgba(255,255,255,.68); border-right: 1px solid rgba(255,255,255,.14); font-size: .68rem; font-weight: 700; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.museum-calendar__views a:last-child, .museum-calendar__navigation a:last-child { border-right: 0; }
.museum-calendar__views a:hover, .museum-calendar__navigation a:hover, .museum-calendar__views a.is-active { color: #fff; background: rgba(255,255,255,.12); }
.museum-calendar__views a.is-active { box-shadow: inset 0 -3px var(--museum-gold); }
.museum-calendar__navigation a { padding: 0 12px; font-size: .8rem; }
.museum-calendar__navigation a.is-today { padding: 0 15px; font-size: .65rem; }
.museum-calendar__views a:focus-visible, .museum-calendar__navigation a:focus-visible, .museum-calendar a:focus-visible { outline: 3px solid rgba(183,134,45,.4); outline-offset: -3px; }
.museum-calendar__summary { display: grid; grid-template-columns: repeat(3, minmax(0, .7fr)) minmax(230px, 1.4fr); background: #fff; border: 1px solid var(--museum-line); border-top: 0; }
.museum-calendar__summary article { display: grid; min-height: 84px; align-content: center; padding: 15px 22px; border-right: 1px solid var(--museum-line); }
.museum-calendar__summary article:last-child { border-right: 0; }
.museum-calendar__summary span { color: var(--museum-muted); font-size: .61rem; font-weight: 650; }
.museum-calendar__summary strong { margin-top: 2px; color: var(--museum-ink); font-size: 1.15rem; font-weight: 680; }
.museum-calendar__summary .is-peak strong { color: var(--museum-gold); font-size: .83rem; }
.museum-calendar__legend { display: flex; gap: 20px; align-items: center; padding: 13px 2px; color: var(--museum-muted); font-size: .63rem; }
.museum-calendar__legend span { display: inline-flex; gap: 7px; align-items: center; }
.museum-calendar__legend i { width: 8px; height: 8px; border-radius: 50%; }
.museum-calendar__legend i.is-order { background: var(--calendar-order); }
.museum-calendar__legend i.is-event { background: var(--calendar-event); }
.museum-calendar__load-label { margin-left: auto; }
.museum-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); color: var(--museum-muted); background: #eef1f1; border: 1px solid var(--museum-line); border-bottom: 0; }
.museum-calendar__weekdays span { padding: 9px 12px; border-right: 1px solid var(--museum-line); font-size: .59rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.museum-calendar__weekdays span:last-child { border-right: 0; }
.museum-calendar__month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--museum-line); border-left: 1px solid var(--museum-line); }
.museum-calendar__day { position: relative; min-height: 142px; padding: 10px; background: #fff; border-right: 1px solid var(--museum-line); border-bottom: 1px solid var(--museum-line); }
.museum-calendar__day:hover, .museum-calendar__day:focus-within { z-index: 12; }
.museum-calendar__day.load-1, .museum-calendar__agenda-day.load-1 { background: #f5f8f7; }
.museum-calendar__day.load-2, .museum-calendar__agenda-day.load-2 { background: #eaf2f0; }
.museum-calendar__day.load-3, .museum-calendar__agenda-day.load-3 { background: #dcebe8; }
.museum-calendar__day.load-4, .museum-calendar__agenda-day.load-4 { background: #cae0dc; }
.museum-calendar__day.is-outside { opacity: .48; }
.museum-calendar__day.is-today { box-shadow: inset 0 0 0 2px var(--museum-gold); }
.museum-calendar__date { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; color: var(--museum-ink); text-decoration: none; }
.museum-calendar__date > span { font-size: .75rem; font-weight: 750; }
.museum-calendar__date strong { color: #3d6e62; font-size: .58rem; font-weight: 700; }
.museum-calendar__entries { display: grid; gap: 4px; }
.museum-calendar__entry { position: relative; display: grid; grid-template-columns: 33px minmax(0, 1fr); gap: 4px; align-items: center; min-height: 24px; padding: 3px 5px; color: var(--museum-ink); background: rgba(255,255,255,.78); border-left: 3px solid; text-decoration: none; }
.museum-calendar__entry.is-order { border-color: var(--calendar-order); }
.museum-calendar__entry.is-event { border-color: var(--calendar-event); }
.museum-calendar__entry time { color: var(--museum-muted); font-size: .52rem; font-variant-numeric: tabular-nums; }
.museum-calendar__entry > span:not(.museum-calendar__tooltip) { overflow: hidden; font-size: .55rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.museum-calendar__more { padding-left: 7px; color: var(--museum-blue); font-size: .56rem; font-weight: 700; text-decoration: none; }
.museum-calendar__agenda { display: grid; grid-template-columns: repeat(7, minmax(185px, 1fr)); overflow-x: auto; border-top: 1px solid var(--museum-line); border-left: 1px solid var(--museum-line); }
.museum-calendar__agenda.is-day { grid-template-columns: minmax(0, 1fr); }
.museum-calendar__agenda-day { min-height: 420px; background: #fff; border-right: 1px solid var(--museum-line); border-bottom: 1px solid var(--museum-line); }
.museum-calendar__agenda-day.is-today { box-shadow: inset 0 3px var(--museum-gold); }
.museum-calendar__agenda-day > header { display: flex; align-items: center; justify-content: space-between; min-height: 77px; padding: 12px 14px; background: rgba(255,255,255,.62); border-bottom: 1px solid var(--museum-line); }
.museum-calendar__agenda-day > header > div { display: grid; }
.museum-calendar__agenda-day > header span { color: var(--museum-muted); font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.museum-calendar__agenda-day > header strong { color: var(--museum-ink); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.museum-calendar__agenda-day > header p { margin: 0; color: #3d6e62; font-size: .62rem; font-weight: 700; text-align: right; }
.museum-calendar__agenda-day > header small { color: var(--museum-muted); font-size: .55rem; font-weight: 500; }
.museum-calendar__agenda-list { display: grid; gap: 7px; padding: 10px; }
.museum-calendar__agenda-entry { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 10px; color: var(--museum-ink); background: rgba(255,255,255,.88); border-left: 3px solid; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.museum-calendar__agenda-entry:hover { color: var(--museum-ink); box-shadow: 0 5px 15px rgba(22,37,43,.08); transform: translateY(-1px); }
.museum-calendar__agenda-entry.is-order { border-color: var(--calendar-order); }
.museum-calendar__agenda-entry.is-event { border-color: var(--calendar-event); }
.museum-calendar__agenda-entry time { color: var(--museum-muted); font-size: .58rem; font-variant-numeric: tabular-nums; }
.museum-calendar__agenda-entry > div { display: grid; min-width: 0; }
.museum-calendar__agenda-entry > div > strong { overflow: hidden; font-size: .62rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.museum-calendar__agenda-entry > div > span { margin-top: 2px; overflow: hidden; color: var(--museum-muted); font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
.museum-calendar__agenda-entry b { color: var(--museum-ink); font-size: .55rem; white-space: nowrap; }
.museum-calendar__empty { padding: 28px 10px; color: var(--museum-muted); font-size: .62rem; text-align: center; }
.museum-calendar__agenda.is-day .museum-calendar__agenda-entry { grid-template-columns: 55px minmax(0, 1fr) auto; padding: 13px 15px; }
.museum-calendar__agenda.is-day .museum-calendar__agenda-entry > div > strong { font-size: .72rem; }
.museum-calendar__tooltip { position: absolute; z-index: 30; top: calc(100% + 9px); left: -3px; display: grid; width: 286px; padding: 0; visibility: hidden; color: #fff; background: var(--museum-ink); border-top: 3px solid var(--calendar-order); box-shadow: 0 18px 40px rgba(15,30,38,.28); opacity: 0; pointer-events: none; text-align: left; transform: translateY(-4px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; white-space: normal; }
.is-event > .museum-calendar__tooltip { border-top-color: var(--calendar-event); }
.museum-calendar__tooltip::before { position: absolute; top: -9px; left: 18px; width: 0; height: 0; border-right: 7px solid transparent; border-bottom: 7px solid var(--calendar-order); border-left: 7px solid transparent; content: ''; }
.is-event > .museum-calendar__tooltip::before { border-bottom-color: var(--calendar-event); }
.museum-calendar__entry:hover > .museum-calendar__tooltip, .museum-calendar__entry:focus-visible > .museum-calendar__tooltip, .museum-calendar__agenda-entry:hover > .museum-calendar__tooltip, .museum-calendar__agenda-entry:focus-visible > .museum-calendar__tooltip { visibility: visible; opacity: 1; transform: translateY(0); }
.museum-calendar__tooltip-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: rgba(255,255,255,.58); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .55rem; font-weight: 650; }
.museum-calendar__tooltip-head .museum-calendar__tooltip-type { color: #8cc2d5; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.is-event > .museum-calendar__tooltip .museum-calendar__tooltip-type { color: #e2bd70; }
.museum-calendar__tooltip > strong { display: block; padding: 13px 14px 11px; color: #fff; font-size: .76rem; font-weight: 680; line-height: 1.35; }
.museum-calendar__tooltip-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 14px; background: rgba(255,255,255,.07); }
.museum-calendar__tooltip-facts > span { display: grid; padding: 9px 10px; border-right: 1px solid rgba(255,255,255,.1); }
.museum-calendar__tooltip-facts > span:last-child { border-right: 0; }
.museum-calendar__tooltip small { color: rgba(255,255,255,.45); font-size: .5rem; font-weight: 600; }
.museum-calendar__tooltip b { margin-top: 2px; color: #fff; font-size: .65rem; font-weight: 700; }
.museum-calendar__tooltip-details { display: grid; gap: 8px; padding: 12px 14px; }
.museum-calendar__tooltip-details > span { display: grid; }
.museum-calendar__tooltip-details b { line-height: 1.35; }
.museum-calendar__tooltip-action { padding: 9px 14px; color: var(--museum-gold); background: rgba(0,0,0,.15); font-size: .55rem; font-weight: 750; }
.museum-calendar__day:nth-child(7n + 6) .museum-calendar__tooltip, .museum-calendar__day:nth-child(7n) .museum-calendar__tooltip { right: -3px; left: auto; }
.museum-calendar__day:nth-child(7n + 6) .museum-calendar__tooltip::before, .museum-calendar__day:nth-child(7n) .museum-calendar__tooltip::before { right: 18px; left: auto; }

@media (max-width: 1050px) {
    .museum-calendar__toolbar { grid-template-columns: 1fr auto; }
    .museum-calendar__navigation { grid-column: 1 / -1; justify-self: end; }
    .museum-calendar__summary { grid-template-columns: repeat(2, 1fr); }
    .museum-calendar__summary article:nth-child(2) { border-right: 0; }
    .museum-calendar__summary article:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
}

@media (max-width: 700px) {
    .museum-calendar__toolbar { grid-template-columns: 1fr; padding: 22px; }
    .museum-calendar__views, .museum-calendar__navigation { width: 100%; justify-self: stretch; }
    .museum-calendar__views a, .museum-calendar__navigation a { flex: 1; }
    .museum-calendar__navigation { grid-column: auto; }
    .museum-calendar__summary { grid-template-columns: 1fr 1fr; }
    .museum-calendar__summary article { min-height: 72px; padding: 13px 16px; }
    .museum-calendar__legend { flex-wrap: wrap; }
    .museum-calendar__load-label { width: 100%; margin-left: 0; }
    .museum-calendar__weekdays { display: none; }
    .museum-calendar__month-grid { display: block; border-top: 0; }
    .museum-calendar__day { min-height: 0; padding: 13px; }
    .museum-calendar__day.is-outside { display: none; }
    .museum-calendar__day:not(:has(.museum-calendar__entry)) { display: none; }
    .museum-calendar__entries { gap: 5px; }
    .museum-calendar__entry { min-height: 30px; }
    .museum-calendar__tooltip { display: none; }
}

/* Order operational profile */
.order-profile { display: grid; gap: 18px; padding-bottom: 36px; }
.order-profile__hero { display: grid; grid-template-columns: 94px minmax(0, 1fr) auto; gap: 26px; align-items: center; min-height: 190px; padding: 30px 34px; color: #fff; background: var(--museum-ink); border-left: 5px solid var(--museum-gold); }
.order-profile__date { display: grid; width: 88px; height: 112px; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.16); }
.order-profile__date span { color: var(--museum-gold); font-size: .65rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.order-profile__date strong { margin: 1px 0; color: #fff; font-size: 2.35rem; font-weight: 560; line-height: 1; }
.order-profile__date small { color: rgba(255,255,255,.5); font-size: .6rem; }
.order-profile__title { position: relative; min-width: 0; }
.order-profile__title .museum-eyebrow { color: var(--museum-gold); }
.order-profile__title h2 { max-width: 780px; margin: 5px 0 8px; color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 630; letter-spacing: -.04em; line-height: 1.08; }
.order-profile__title > span { color: rgba(255,255,255,.62); font-size: .72rem; }
.order-profile__status { display: inline-flex; margin-bottom: 15px; padding: 6px 9px; color: #dce7ec; border: 1px solid rgba(255,255,255,.18); font-size: .57rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.order-profile__status.is-confirmed, .order-profile__status.is-approved { color: #b9e7d0; border-color: rgba(80,188,137,.5); }
.order-profile__status.is-waiting { color: #f0ce85; border-color: rgba(212,164,60,.55); }
.order-profile__status.is-cancelled { color: #f4b2ad; border-color: rgba(205,77,67,.55); }
.order-profile__visitors { display: grid; min-width: 128px; justify-items: end; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.order-profile__visitors strong { color: #fff; font-size: 3.4rem; font-weight: 520; letter-spacing: -.06em; line-height: .95; }
.order-profile__visitors span { margin-top: 7px; color: rgba(255,255,255,.5); font-size: .66rem; }
.order-profile__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--museum-line); }
.order-profile__metrics article { display: grid; min-height: 112px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--museum-line); }
.order-profile__metrics article:last-child { border-right: 0; }
.order-profile__metrics span { color: var(--museum-muted); font-size: .61rem; font-weight: 650; }
.order-profile__metrics strong { margin: 4px 0 3px; overflow: hidden; color: var(--museum-ink); font-size: .93rem; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.order-profile__metrics small { color: #8b969a; font-size: .55rem; }
.order-profile__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; }
.order-profile__note { grid-column: 1 / -1; }
.order-profile__call { color: var(--museum-blue) !important; background: #eaf2f5 !important; border: 0 !important; border-radius: 2px !important; font-size: .64rem !important; font-weight: 700 !important; }
.order-profile__call:hover { color: #fff !important; background: var(--museum-blue) !important; }
.order-profile__details { margin: 0; }
.order-profile__details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 17px 22px; border-top: 1px solid var(--museum-line); }
.order-profile__details dt { color: var(--museum-muted); font-size: .62rem; font-weight: 600; }
.order-profile__details dd { margin: 0; color: var(--museum-ink); font-size: .7rem; font-weight: 680; }
.order-profile__details a { color: var(--museum-blue); text-decoration: none; }
.order-profile__details a:hover { text-decoration: underline; }
.order-profile__details .is-missing { color: var(--museum-red); }
.order-profile__breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--museum-line); }
.order-profile__breakdown > div { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-right: 1px solid var(--museum-line); border-bottom: 1px solid var(--museum-line); }
.order-profile__breakdown > div:nth-child(even) { border-right: 0; }
.order-profile__breakdown span { color: var(--museum-muted); font-size: .61rem; }
.order-profile__breakdown strong { display: grid; min-width: 28px; height: 28px; padding: 0 7px; place-items: center; color: #fff; background: var(--museum-blue); font-size: .65rem; }
.order-profile__breakdown.is-payment strong { background: var(--museum-gold); }
.order-profile__breakdown .museum-compact-empty { grid-column: 1 / -1; }
.order-profile__note > p { min-height: 88px; margin: 0; padding: 20px 22px; color: var(--museum-ink); border-top: 1px solid var(--museum-line); font-size: .72rem; line-height: 1.6; }

@media (max-width: 980px) {
    .order-profile__hero { grid-template-columns: 78px minmax(0, 1fr); }
    .order-profile__date { width: 76px; height: 100px; }
    .order-profile__visitors { grid-column: 1 / -1; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; justify-items: start; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
    .order-profile__visitors strong { font-size: 2rem; }
    .order-profile__metrics { grid-template-columns: repeat(2, 1fr); }
    .order-profile__metrics article:nth-child(2) { border-right: 0; }
    .order-profile__metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--museum-line); }
}

@media (max-width: 720px) {
    .order-profile__hero { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
    .order-profile__date { width: 70px; height: 86px; }
    .order-profile__date strong { font-size: 1.8rem; }
    .order-profile__title h2 { font-size: 1.4rem; }
    .order-profile__grid { grid-template-columns: 1fr; }
    .order-profile__note { grid-column: auto; }
    .order-profile__metrics { grid-template-columns: 1fr; }
    .order-profile__metrics article { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--museum-line); }
    .order-profile__metrics article:last-child { border-bottom: 0; }
    .order-profile__details > div { grid-template-columns: 1fr; gap: 5px; }
    .order-profile__breakdown { grid-template-columns: 1fr; }
    .order-profile__breakdown > div { border-right: 0; }
}
