
/* Full-width calendar page reset for block and classic themes. */
body.oset-calendar-page {
    overflow-x: clip;
}

body.oset-calendar-page .wp-site-blocks,
body.oset-calendar-page main,
body.oset-calendar-page .wp-block-group,
body.oset-calendar-page .wp-block-post-content,
body.oset-calendar-page .oset-calendar-content-root,
body.oset-calendar-page .wp-block-shortcode {
    max-width: none !important;
    overflow: visible !important;
}

body.oset-calendar-page .wp-block-post-title,
body.oset-calendar-page .entry-title,
body.oset-calendar-page .page-title,
body.oset-calendar-page .wp-block-post-featured-image {
    display: none !important;
}

body.oset-calendar-page .wp-block-post-content,
body.oset-calendar-page .oset-calendar-content-root,
body.oset-calendar-page .wp-block-shortcode {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.oset-calendar-page .wp-block-post-content > *,
body.oset-calendar-page .oset-calendar-content-root > * {
    max-width: none !important;
}

body.oset-calendar-page main,
body.oset-calendar-page main > .wp-block-group,
body.oset-calendar-page .wp-site-blocks > main,
body.oset-calendar-page .wp-block-post-content {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
}

body.oset-calendar-page .wp-block-spacer:has(+ .oset-calendar-content-root),
body.oset-calendar-page .oset-calendar-content-root + .wp-block-spacer {
    display: none !important;
}

.oset-calendar-app,
.oset-calendar-app *,
.oset-modal,
.oset-modal * {
    box-sizing: border-box;
}

.oset-calendar-app,
.oset-modal {
    --oset-bg: #f7f9fc;
    --oset-surface: #ffffff;
    --oset-border: #e4e7ec;
    --oset-border-strong: #d0d5dd;
    --oset-text: #101828;
    --oset-muted: #667085;
    --oset-soft: #f9fafb;
    --oset-primary: #465fff;
    --oset-primary-dark: #3641f5;
    --oset-primary-soft: #eef4ff;
    --oset-success: #12b76a;
    --oset-warning: #f79009;
    --oset-danger: #f04438;
    --oset-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    color: var(--oset-text);
    font-family: inherit;
}

.oset-calendar-app {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 38px clamp(20px, 3vw, 48px) 64px;
    background: var(--oset-bg);
}

.oset-calendar-app .oset-calendar-shell {
    width: min(1480px, 100%);
    max-width: 1480px;
    margin: 0 auto;
}

.oset-calendar-app [hidden],
.oset-modal [hidden] {
    display: none !important;
}

.oset-calendar-shell {
    display: grid;
    gap: 24px;
    width: 100%;
}

.oset-calendar-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.oset-calendar-heading {
    min-width: 0;
}

.oset-calendar-eyebrow,
.oset-detail-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.oset-calendar-heading h2 {
    margin: 0 0 6px;
    color: var(--oset-text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.oset-calendar-heading p {
    margin: 0;
    color: var(--oset-muted);
    font-size: 14px;
}

.oset-calendar-topbar-actions,
.oset-calendar-navigation,
.oset-view-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oset-view-switch {
    padding: 4px;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: var(--oset-surface);
}

.oset-view-switch button,
.oset-icon-button,
.oset-today-button,
.oset-primary-button,
.oset-back-button {
    appearance: none;
    border: 1px solid var(--oset-border);
    background: var(--oset-surface);
    color: #344054;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oset-view-switch button {
    min-width: 72px;
    min-height: 34px;
    padding: 0 14px;
    border-color: transparent;
    border-radius: 7px;
    background: transparent;
}

.oset-view-switch button.is-active {
    border-color: var(--oset-border);
    background: #fff;
    color: var(--oset-text);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}

.oset-icon-button,
.oset-today-button {
    min-height: 42px;
    border-radius: 10px;
}

.oset-icon-button {
    width: 42px;
    padding: 0;
    font-size: 23px;
}

.oset-today-button {
    padding: 0 17px;
}

.oset-icon-button:hover,
.oset-today-button:hover,
.oset-back-button:hover {
    border-color: #b8c0ce;
    background: #f9fafb;
}

.oset-calendar-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.oset-summary-card {
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: var(--oset-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.oset-summary-card > span,
.oset-summary-card > small {
    display: block;
    color: var(--oset-muted);
}

.oset-summary-card > span {
    margin-bottom: 10px;
    font-size: 13px;
}

.oset-summary-card > strong {
    display: block;
    overflow: hidden;
    margin-bottom: 7px;
    color: var(--oset-text);
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-summary-card > small {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-calendar-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}

.oset-calendar-panel,
.oset-upcoming-panel {
    min-width: 0;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: var(--oset-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.oset-calendar-panel {
    padding: 22px;
}

.oset-calendar-toolbar,
.oset-upcoming-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.oset-calendar-toolbar {
    margin-bottom: 18px;
}

.oset-current-month,
.oset-upcoming-head h3 {
    margin: 0;
    color: var(--oset-text);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.25;
}

.oset-panel-caption,
.oset-upcoming-head p {
    display: block;
    margin: 4px 0 0;
    color: var(--oset-muted);
    font-size: 12px;
}

.oset-calendar-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--oset-muted);
    font-size: 12px;
    white-space: nowrap;
}

.oset-calendar-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 999px;
    vertical-align: middle;
}

.oset-calendar-legend .is-open { background: var(--oset-success); }
.oset-calendar-legend .is-closed { background: var(--oset-warning); }

.oset-calendar-status {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 1px dashed var(--oset-border-strong);
    border-radius: 12px;
    background: var(--oset-soft);
    color: var(--oset-muted);
    font-size: 14px;
    text-align: center;
}

.oset-calendar-status.is-error {
    border-color: rgba(240, 68, 56, .35);
    background: rgba(240, 68, 56, .04);
    color: #b42318;
}

.oset-weekday-row,
.oset-days-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.oset-weekday-row {
    border-top: 1px solid var(--oset-border);
    border-left: 1px solid var(--oset-border);
}

.oset-weekday {
    padding: 11px 10px;
    border-right: 1px solid var(--oset-border);
    border-bottom: 1px solid var(--oset-border);
    background: #fcfcfd;
    color: var(--oset-muted);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.oset-days-grid {
    border-left: 1px solid var(--oset-border);
}

.oset-day {
    min-width: 0;
    min-height: 116px;
    padding: 9px;
    border-right: 1px solid var(--oset-border);
    border-bottom: 1px solid var(--oset-border);
    background: #fff;
}

.oset-day.is-outside {
    background: #fcfcfd;
}

.oset-day.is-outside .oset-day-number,
.oset-day.is-outside .oset-event-pill {
    opacity: .45;
}

.oset-day.is-today {
    background: #f9faff;
    box-shadow: inset 0 0 0 1px rgba(70, 95, 255, .4);
}

.oset-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-bottom: 7px;
    border-radius: 7px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
}

.oset-day.is-today .oset-day-number {
    background: var(--oset-primary);
    color: #fff;
}

.oset-day-events {
    display: grid;
    gap: 5px;
}

.oset-event-pill {
    display: grid;
    min-width: 0;
    width: 100%;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    text-align: left;
    transition: transform .15s ease, box-shadow .15s ease;
}

.oset-event-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 24, 40, .08);
}

.oset-event-pill span {
    margin-bottom: 2px;
    font-size: 9px;
    font-weight: 700;
}

.oset-event-pill strong {
    overflow: hidden;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.28;
    text-overflow: ellipsis;
}

.oset-event-pill.is-open {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.oset-event-pill.is-closed {
    border-color: #fedf89;
    background: #fffaeb;
    color: #b54708;
}

.oset-upcoming-panel {
    overflow: hidden;
}

.oset-upcoming-head {
    padding: 19px 20px;
    border-bottom: 1px solid var(--oset-border);
}

.oset-upcoming-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border-radius: 8px;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
    font-size: 12px;
    font-weight: 700;
}

.oset-upcoming-list,
.oset-full-list,
.oset-mobile-list {
    display: grid;
}

.oset-upcoming-list {
    padding: 8px 12px 14px;
}

.oset-full-list {
    gap: 10px;
}

.oset-event-list-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto 22px;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--oset-border);
    border-radius: 11px;
    background: #fff;
    color: var(--oset-text);
    cursor: pointer;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.oset-event-list-card:hover {
    border-color: #cfd4dc;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .06);
    transform: translateY(-1px);
}

.oset-event-list-card.is-compact {
    grid-template-columns: 67px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid var(--oset-border);
    border-radius: 0;
    box-shadow: none;
}

.oset-event-list-card.is-compact:last-child {
    border-bottom: 0;
}

.oset-event-list-card.is-compact .oset-event-state {
    display: none;
}

.oset-event-list-date {
    display: grid;
    gap: 3px;
}

.oset-event-list-date strong,
.oset-event-list-content strong {
    overflow: hidden;
    color: var(--oset-text);
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-event-list-date small,
.oset-event-list-content small {
    overflow: hidden;
    color: var(--oset-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-event-list-content {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.oset-event-state {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.oset-event-state.is-open {
    background: #ecfdf3;
    color: #067647;
}

.oset-event-state.is-closed {
    background: #fffaeb;
    color: #b54708;
}

.oset-event-list-arrow {
    color: #98a2b3;
    font-size: 20px;
}

.oset-empty-state {
    display: grid;
    gap: 5px;
    padding: 28px;
    border: 1px dashed var(--oset-border-strong);
    border-radius: 11px;
    background: #fcfcfd;
    text-align: center;
}

.oset-empty-state strong {
    font-size: 13px;
}

.oset-empty-state span {
    color: var(--oset-muted);
    font-size: 12px;
}

.oset-empty-state.is-small {
    margin: 12px;
    padding: 20px 12px;
}

.oset-mobile-list {
    display: none;
}

.oset-modal {
    position: fixed !important;
    z-index: 999999 !important;
    inset: 0 !important;
    display: none;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oset-modal.is-open {
    display: block;
}

.oset-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, .55);
    backdrop-filter: blur(3px);
}

.oset-modal-dialog {
    position: relative;
    width: min(1080px, calc(100vw - 48px)) !important;
    max-width: none !important;
    max-height: calc(100vh - 48px);
    margin: 24px auto !important;
    overflow: auto;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .24);
}

.oset-modal-close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    color: #344054;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}

.oset-modal-content {
    width: 100%;
    max-width: none !important;
    padding: 0;
}

.oset-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 600px;
}

.oset-detail-media {
    min-width: 0;
    padding: 24px;
    border-right: 1px solid var(--oset-border);
    background: #f9fafb;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
}

.oset-detail-image {
    display: block;
    object-fit: cover;
}

.oset-detail-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed var(--oset-border-strong);
    background: #fff;
    color: var(--oset-muted);
}

.oset-detail-image-placeholder strong {
    color: var(--oset-text);
}

.oset-detail-main {
    min-width: 0;
    padding: 38px 38px 30px;
}

.oset-detail-main h2,
.oset-form-header h2,
.oset-success-view h2 {
    margin: 0;
    color: var(--oset-text);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.oset-detail-excerpt,
.oset-form-header p,
.oset-success-view p {
    margin: 9px 0 0;
    color: var(--oset-muted);
    font-size: 13px;
    line-height: 1.6;
}

.oset-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.oset-detail-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: #fcfcfd;
}

.oset-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--oset-border);
    border-radius: 9px;
    background: #fff;
    color: #667085;
}

.oset-detail-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-detail-row small {
    display: block;
    margin-bottom: 3px;
    color: var(--oset-muted);
    font-size: 10px;
    font-weight: 500;
}

.oset-detail-row strong {
    display: block;
    min-width: 0;
    color: var(--oset-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.oset-detail-row strong small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
}

.oset-detail-row a {
    display: inline-block;
    margin-top: 5px;
    color: var(--oset-primary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.oset-detail-content {
    max-height: 160px;
    overflow: auto;
    padding-right: 4px;
    color: #475467;
    font-size: 12px;
    line-height: 1.65;
}

.oset-detail-content > :first-child { margin-top: 0; }
.oset-detail-content > :last-child { margin-bottom: 0; }

.oset-detail-footer {
    margin-top: 24px;
}

.oset-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-color: var(--oset-primary);
    border-radius: 9px;
    background: var(--oset-primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
}

.oset-primary-button:hover {
    border-color: var(--oset-primary-dark);
    background: var(--oset-primary-dark);
}

.oset-primary-button:disabled {
    opacity: .65;
    cursor: wait;
}

.oset-closed-message {
    padding: 12px 14px;
    border: 1px solid #fedf89;
    border-radius: 9px;
    background: #fffaeb;
    color: #b54708;
    font-size: 12px;
    font-weight: 600;
}

.oset-form-shell {
    width: 100%;
    padding: 34px 38px 32px;
}

.oset-form-header {
    padding-right: 48px;
}

.oset-back-button {
    min-height: 34px;
    margin-bottom: 18px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 11px;
}

.oset-registration-form {
    display: grid;
    min-width: 0;
    gap: 18px;
    margin-top: 24px;
}

.oset-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.oset-form-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.oset-form-field > span,
.oset-kvkk-field > span {
    color: #344054;
    font-size: 11px;
    font-weight: 600;
}

.oset-form-field b {
    color: var(--oset-danger);
}

.oset-form-field input,
.oset-form-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid var(--oset-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--oset-text);
    font: inherit;
    font-size: 12px;
    outline: none;
}

.oset-form-field input:focus,
.oset-form-field select:focus {
    border-color: var(--oset-primary);
    box-shadow: 0 0 0 3px rgba(70, 95, 255, .12);
}

.oset-kvkk-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--oset-border);
    border-radius: 9px;
    background: #f9fafb;
}

.oset-kvkk-field input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 1px;
}

.oset-kvkk-field a {
    color: var(--oset-primary);
    text-decoration: none;
}

.oset-form-actions {
    display: flex;
    justify-content: flex-end;
}

.oset-form-actions .oset-primary-button {
    min-width: 220px;
}

.oset-form-message {
    min-height: 0;
    color: var(--oset-muted);
    font-size: 12px;
}

.oset-form-message.is-error {
    color: #b42318;
}

.oset-success-view {
    padding: 72px 40px;
    text-align: center;
}

.oset-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #ecfdf3;
    color: #067647;
    font-size: 28px;
    font-weight: 700;
}

.oset-success-view .oset-primary-button {
    margin-top: 22px;
}

.oset-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.oset-modal-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .oset-calendar-dashboard-grid {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .oset-calendar-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .oset-calendar-app {
        width: 100vw !important;
        padding-inline: 24px;
    }

    .oset-calendar-topbar,
    .oset-calendar-topbar-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .oset-calendar-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .oset-upcoming-panel {
        order: -1;
    }

    .oset-detail-layout {
        grid-template-columns: 1fr;
    }

    .oset-detail-media {
        border-right: 0;
        border-bottom: 1px solid var(--oset-border);
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        min-height: 280px;
        max-height: 360px;
    }
}

@media (max-width: 767px) {
    .oset-calendar-app {
        width: 100vw !important;
        margin: 0 calc(50% - 50vw) !important;
        padding: 24px 12px 44px;
    }

    .oset-calendar-heading h2 {
        font-size: 25px;
    }

    .oset-calendar-topbar-actions,
    .oset-calendar-navigation,
    .oset-view-switch {
        width: 100%;
    }

    .oset-view-switch button,
    .oset-today-button {
        flex: 1;
    }

    .oset-calendar-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .oset-summary-card {
        padding: 16px;
    }

    .oset-summary-card > strong {
        font-size: 22px;
    }

    .oset-calendar-panel {
        padding: 16px;
    }

    .oset-calendar-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .oset-calendar-legend {
        white-space: normal;
    }

    .oset-calendar-grid,
    .oset-full-list {
        display: none !important;
    }

    .oset-mobile-list {
        display: grid;
        gap: 10px;
    }

    .oset-event-list-card.is-compact {
        grid-template-columns: 66px minmax(0, 1fr) 18px;
        padding: 13px;
        border: 1px solid var(--oset-border);
        border-radius: 10px;
    }

    .oset-upcoming-panel {
        display: none;
    }

    .oset-modal-dialog {
        width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 16px);
        margin: 8px auto !important;
        border-radius: 13px;
    }

    .oset-detail-media {
        padding: 14px;
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        min-height: 220px;
    }

    .oset-detail-main,
    .oset-form-shell {
        padding: 24px 20px;
    }

    .oset-detail-main h2,
    .oset-form-header h2,
    .oset-success-view h2 {
        font-size: 22px;
    }

    .oset-detail-meta,
    .oset-form-grid {
        grid-template-columns: 1fr;
    }

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

/* v1.6.0 — TailAdmin frontend layout and reliable full-width page reset. */
body:has(.oset-calendar-app) .wp-block-post-title,
body:has(.oset-calendar-app) .entry-title,
body:has(.oset-calendar-app) .page-title,
body:has(.oset-calendar-app) main > h1,
body.oset-calendar-page .wp-block-post-title,
body.oset-calendar-page .entry-title,
body.oset-calendar-page .page-title,
body.oset-calendar-page main > h1 {
    display: none !important;
}

body:has(.oset-calendar-app) .wp-site-blocks > main,
body:has(.oset-calendar-app) main:has(.oset-calendar-app),
body:has(.oset-calendar-app) main .wp-block-group:has(.oset-calendar-app),
body:has(.oset-calendar-app) .wp-block-post-content:has(.oset-calendar-app),
body:has(.oset-calendar-app) .wp-block-shortcode:has(.oset-calendar-app),
body.oset-calendar-page .wp-site-blocks > main,
body.oset-calendar-page main,
body.oset-calendar-page .wp-block-post-content,
body.oset-calendar-page .wp-block-shortcode {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.oset-calendar-app) main:has(.oset-calendar-app) > *,
body:has(.oset-calendar-app) .wp-block-post-content:has(.oset-calendar-app) > *,
body.oset-calendar-page main > *,
body.oset-calendar-page .wp-block-post-content > * {
    max-width: none !important;
}

body:has(.oset-calendar-app) main:has(.oset-calendar-app),
body.oset-calendar-page main {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.oset-calendar-app {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 32px clamp(20px, 3.2vw, 56px) 64px !important;
}

.oset-calendar-app .oset-calendar-shell {
    width: min(1540px, 100%) !important;
    max-width: 1540px !important;
}

.oset-modal-dialog {
    width: min(1120px, calc(100vw - 48px)) !important;
}

.oset-registration-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 650px;
    background: #fff;
}

.oset-registration-aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px 30px;
    border-right: 1px solid var(--oset-border);
    background: #f8fafc;
}

.oset-registration-aside-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.oset-registration-aside h3 {
    margin: 0 0 9px;
    color: var(--oset-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.oset-registration-aside > p {
    margin: 0 0 26px;
    color: var(--oset-muted);
    font-size: 12px;
    line-height: 1.6;
}

.oset-registration-summary-list {
    display: grid;
    gap: 10px;
}

.oset-registration-summary-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: #fff;
}

.oset-registration-summary-row .oset-detail-icon {
    width: 34px;
    height: 34px;
    border: 0;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
}

.oset-registration-summary-row .oset-detail-icon svg {
    width: 16px;
    height: 16px;
}

.oset-registration-summary-row small {
    display: block;
    margin-bottom: 2px;
    color: var(--oset-muted);
    font-size: 9px;
}

.oset-registration-summary-row strong {
    display: block;
    overflow: hidden;
    color: var(--oset-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
}

.oset-registration-help {
    display: grid;
    gap: 5px;
    margin-top: auto;
    padding: 15px;
    border: 1px solid #d6e4ff;
    border-radius: 11px;
    background: #eef4ff;
}

.oset-registration-help strong {
    color: #344054;
    font-size: 11px;
}

.oset-registration-help span {
    color: #667085;
    font-size: 10px;
    line-height: 1.55;
}

.oset-form-shell {
    min-width: 0;
    padding: 34px 38px 28px !important;
}

.oset-form-header {
    padding-right: 48px;
    margin-bottom: 26px;
}

.oset-form-header h2 {
    font-size: 23px;
}

.oset-registration-form {
    gap: 0 !important;
    margin-top: 0 !important;
}

.oset-form-section {
    padding: 22px 0;
    border-top: 1px solid var(--oset-border);
}

.oset-form-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.oset-form-section-heading {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin-bottom: 16px;
}

.oset-form-section-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
    font-size: 10px;
    font-weight: 700;
}

.oset-form-section-heading strong,
.oset-form-section-heading small {
    display: block;
}

.oset-form-section-heading strong {
    margin: 1px 0 3px;
    color: var(--oset-text);
    font-size: 12px;
    font-weight: 650;
}

.oset-form-section-heading small {
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.45;
}

.oset-form-grid {
    gap: 14px 16px !important;
}

.oset-modal .oset-form-field {
    gap: 6px !important;
}

.oset-modal .oset-form-field > span,
.oset-modal .oset-kvkk-field > span {
    font-size: 10px !important;
    line-height: 1.45 !important;
}

.oset-modal .oset-form-field input,
.oset-modal .oset-form-field select {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid var(--oset-border-strong) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--oset-text) !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 40px !important;
    box-shadow: none !important;
    outline: none !important;
}

.oset-modal .oset-form-field select {
    appearance: auto !important;
    line-height: normal !important;
}

.oset-modal .oset-form-field input::placeholder {
    color: #98a2b3 !important;
    opacity: 1 !important;
}

.oset-modal .oset-form-field input:focus,
.oset-modal .oset-form-field select:focus {
    border-color: var(--oset-primary) !important;
    box-shadow: 0 0 0 3px rgba(70, 95, 255, .11) !important;
}

.oset-consent-section {
    padding-bottom: 18px;
}

.oset-modal .oset-kvkk-field {
    padding: 12px 13px !important;
    border-radius: 9px !important;
    background: #fcfcfd !important;
}

.oset-modal .oset-kvkk-field input {
    width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    margin: 1px 0 0 !important;
}

.oset-form-message {
    display: none;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #fecdca;
    border-radius: 8px;
    background: #fef3f2;
}

.oset-form-message.is-error {
    display: block;
    color: #b42318;
}

.oset-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--oset-border);
}

.oset-form-footer > span {
    max-width: 320px;
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.5;
}

.oset-form-footer .oset-primary-button {
    min-width: 210px;
}

.oset-success-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 42px;
    background: #f8fafc;
}

.oset-success-view {
    width: min(680px, 100%);
    padding: 42px !important;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .08);
    text-align: left !important;
}

.oset-success-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 0 18px !important;
    border-radius: 12px !important;
}

.oset-success-icon span {
    font-size: 24px;
}

.oset-success-view h2 {
    font-size: 24px;
}

.oset-success-view > p {
    max-width: 570px;
}

.oset-success-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.oset-success-details > div {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: #fcfcfd;
}

.oset-success-details span,
.oset-success-details strong {
    display: block;
}

.oset-success-details span {
    margin-bottom: 5px;
    color: var(--oset-muted);
    font-size: 9px;
}

.oset-success-details strong {
    overflow: hidden;
    color: var(--oset-text);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
    text-overflow: ellipsis;
}

.oset-success-note {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #abefc6;
    border-radius: 10px;
    background: #ecfdf3;
}

.oset-success-note strong {
    color: #067647;
    font-size: 11px;
}

.oset-success-note span {
    color: #475467;
    font-size: 10px;
    line-height: 1.5;
}

.oset-success-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.oset-success-actions .oset-primary-button {
    margin-top: 0 !important;
    min-width: 150px;
}

@media (max-width: 840px) {
    .oset-registration-layout {
        grid-template-columns: 1fr;
    }

    .oset-registration-aside {
        display: none;
    }

    .oset-form-shell {
        padding: 28px 24px 24px !important;
    }
}

@media (max-width: 600px) {
    .oset-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .oset-form-footer .oset-primary-button,
    .oset-success-actions .oset-primary-button {
        width: 100%;
    }

    .oset-success-layout {
        min-height: 100%;
        padding: 14px;
    }

    .oset-success-view {
        padding: 28px 22px !important;
    }

    .oset-success-details {
        grid-template-columns: 1fr;
    }
}

/* v1.7.0 — TailAdmin-style education detail modal. */
.oset-detail-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    min-height: 620px;
    background: #fff;
}

.oset-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 20px;
    border-right: 1px solid var(--oset-border);
    background: #f8fafc;
}

.oset-detail-media {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    width: 100%;
    height: 338px;
    min-height: 0;
    max-height: none;
    border: 1px solid var(--oset-border);
    border-radius: 13px;
    background: #fff;
}

.oset-detail-image {
    display: block;
    object-fit: cover;
}

.oset-detail-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    text-align: center;
}

.oset-detail-image-placeholder span {
    color: var(--oset-primary);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
}

.oset-detail-image-placeholder strong {
    color: var(--oset-text);
    font-size: 17px;
}

.oset-detail-image-placeholder small {
    color: var(--oset-muted);
    font-size: 10px;
}

.oset-detail-image-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #344054;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(16,24,40,.14);
    backdrop-filter: blur(8px);
}

.oset-detail-image-badge i,
.oset-detail-side-state i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.oset-detail-image-badge.is-open,
.oset-detail-side-state.is-open {
    color: #067647;
}

.oset-detail-image-badge.is-closed,
.oset-detail-side-state.is-closed {
    color: #b54708;
}

.oset-detail-side-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--oset-border);
    border-radius: 12px;
    background: #fff;
}

.oset-detail-side-label {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .12em;
}

.oset-detail-side-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f2f4f7;
}

.oset-detail-side-state.is-open {
    background: #ecfdf3;
}

.oset-detail-side-state.is-closed {
    background: #fffaeb;
}

.oset-detail-side-state strong {
    font-size: 10px;
    font-weight: 700;
}

.oset-detail-side-card > p {
    margin: 0;
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.55;
}

.oset-detail-side-stat {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--oset-border);
}

.oset-detail-side-stat span {
    color: var(--oset-muted);
    font-size: 10px;
}

.oset-detail-side-stat strong {
    color: var(--oset-text);
    font-size: 18px;
    line-height: 1;
}

.oset-detail-side-stat strong small {
    color: var(--oset-muted);
    font-size: 10px;
    font-weight: 500;
}

.oset-detail-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 34px 28px;
}

.oset-detail-header {
    padding-right: 48px;
}

.oset-detail-header h2 {
    margin: 0;
    color: var(--oset-text);
    font-size: 27px;
    font-weight: 720;
    line-height: 1.24;
    letter-spacing: -.02em;
}

.oset-detail-excerpt {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--oset-muted);
    font-size: 12px;
    line-height: 1.65;
}

.oset-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 18px;
}

.oset-detail-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 66px;
    padding: 11px 12px;
    border: 1px solid var(--oset-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16,24,40,.02);
}

.oset-detail-icon {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
}

.oset-detail-icon svg {
    width: 16px;
    height: 16px;
}

.oset-detail-row small {
    margin-bottom: 2px;
    font-size: 9px;
}

.oset-detail-row strong {
    font-size: 11px;
    line-height: 1.4;
}

.oset-detail-row strong small {
    margin-top: 3px;
    font-size: 10px;
}

.oset-detail-row a {
    margin-top: 4px;
    font-size: 10px;
}

.oset-detail-content-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--oset-border);
    border-radius: 12px;
    background: #fcfcfd;
}

.oset-detail-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.oset-detail-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff;
    color: #667085;
    border: 1px solid var(--oset-border);
}

.oset-detail-section-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-detail-section-heading strong,
.oset-detail-section-heading small {
    display: block;
}

.oset-detail-section-heading strong {
    color: var(--oset-text);
    font-size: 11px;
}

.oset-detail-section-heading small {
    margin-top: 2px;
    color: var(--oset-muted);
    font-size: 9px;
}

.oset-detail-content {
    max-height: 142px;
    overflow: auto;
    padding: 0 6px 0 0;
    color: #475467;
    font-size: 11px;
    line-height: 1.7;
}

.oset-detail-empty-content {
    color: var(--oset-muted);
    font-size: 11px;
}

.oset-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
}

.oset-detail-footer-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.oset-detail-footer-copy strong {
    color: var(--oset-text);
    font-size: 12px;
}

.oset-detail-footer-copy span {
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.5;
}

.oset-detail-register-button {
    flex-shrink: 0;
    gap: 12px;
    min-width: 190px;
    min-height: 44px;
    padding: 0 16px;
}

.oset-detail-register-button span {
    font-size: 11px;
    font-weight: 700;
}

.oset-detail-register-button b {
    font-size: 16px;
    font-weight: 500;
}

.oset-detail-footer .oset-closed-message {
    max-width: 280px;
}

@media (max-width: 960px) {
    .oset-detail-layout {
        grid-template-columns: 1fr;
    }

    .oset-detail-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
        border-right: 0;
        border-bottom: 1px solid var(--oset-border);
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: 280px;
        min-height: 0;
        max-height: none;
    }
}

@media (max-width: 680px) {
    .oset-detail-sidebar {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .oset-detail-side-card {
        display: none;
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: 230px;
    }

    .oset-detail-main {
        padding: 24px 18px 20px;
    }

    .oset-detail-header h2 {
        font-size: 22px;
    }

    .oset-detail-meta {
        grid-template-columns: 1fr;
    }

    .oset-detail-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .oset-detail-register-button,
    .oset-detail-footer .oset-closed-message {
        width: 100%;
        max-width: none;
    }
}

/* v1.7.1 — detail modal centering + balanced spacing fixes */
.oset-modal.is-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.oset-modal-dialog {
    margin: 0 !important;
}

.oset-detail-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 0 !important;
    align-items: start;
}

.oset-detail-sidebar {
    gap: 14px;
    padding: 18px;
}

.oset-detail-media {
    align-self: start;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    height: 300px;
}

.oset-detail-side-card {
    gap: 10px;
}

.oset-detail-main {
    gap: 18px;
    padding: 28px 28px 24px;
}

.oset-detail-header {
    padding-right: 56px;
}

.oset-detail-excerpt {
    margin-top: 8px;
}

.oset-detail-meta {
    margin: 0;
}

.oset-detail-content-card {
    margin-top: 0;
}

.oset-detail-content {
    max-height: none;
    overflow: visible;
}

.oset-detail-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 1100px) {
    .oset-modal.is-open {
        padding: 16px;
    }

    .oset-modal-dialog {
        width: min(1040px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 32px);
    }
}

@media (max-width: 960px) {
    .oset-detail-layout {
        grid-template-columns: 1fr;
    }

    .oset-detail-main {
        padding: 24px 22px 22px;
    }
}

@media (max-width: 680px) {
    .oset-modal.is-open {
        align-items: flex-start;
        padding: 12px;
    }

    .oset-modal-dialog {
        width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 24px);
        border-radius: 16px;
    }

    .oset-detail-sidebar {
        padding: 14px;
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: 220px;
    }

    .oset-detail-main {
        gap: 14px;
        padding: 18px 16px 18px;
    }

    .oset-detail-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .oset-detail-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .oset-detail-register-button,
    .oset-detail-footer .oset-closed-message {
        max-width: none;
        width: 100%;
    }
}

/* v1.7.1 — Detail modal centering and spacing corrections. */
.oset-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.oset-modal-dialog {
    width: min(1080px, calc(100vw - 48px)) !important;
    max-height: min(760px, calc(100vh - 48px)) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.oset-modal-content {
    max-height: min(760px, calc(100vh - 48px));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.oset-detail-layout {
    grid-template-columns: 340px minmax(0, 1fr) !important;
    min-height: 0 !important;
    align-items: stretch;
}

.oset-detail-sidebar {
    gap: 14px !important;
    padding: 18px !important;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    height: 300px !important;
}

.oset-detail-side-card {
    gap: 10px !important;
    padding: 14px !important;
}

.oset-detail-main {
    min-height: 0 !important;
    padding: 28px 30px 26px !important;
}

.oset-detail-header {
    padding-right: 44px !important;
}

.oset-detail-meta {
    gap: 10px !important;
    margin: 18px 0 16px !important;
}

.oset-detail-row {
    min-height: 62px !important;
    padding: 10px 12px !important;
}

.oset-detail-content-card {
    padding: 14px !important;
}

.oset-detail-section-heading {
    margin-bottom: 10px !important;
}

.oset-detail-content {
    max-height: 118px !important;
}

.oset-detail-footer {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--oset-border);
}

@media (max-width: 960px) {
    .oset-modal.is-open {
        align-items: flex-start !important;
        padding: 16px !important;
    }

    .oset-modal-dialog {
        width: min(760px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 32px) !important;
    }

    .oset-modal-content {
        max-height: calc(100vh - 32px) !important;
    }

    .oset-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .oset-detail-sidebar {
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) !important;
    }
}

@media (max-width: 680px) {
    .oset-modal.is-open {
        padding: 10px !important;
    }

    .oset-modal-dialog {
        width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        border-radius: 14px !important;
    }

    .oset-modal-content {
        max-height: calc(100vh - 20px) !important;
    }

    .oset-detail-sidebar {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: 220px !important;
    }

    .oset-detail-main {
        padding: 22px 16px 18px !important;
    }

    .oset-detail-meta {
        margin-top: 16px !important;
    }
}

/* v1.7.1 — detail modal alignment and spacing fixes */
.oset-modal {
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.oset-modal.is-open {
    display: flex;
}

.oset-modal-dialog {
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: 1120px !important;
    max-height: min(860px, calc(100vh - 48px));
    margin: 0 auto !important;
    overflow: auto;
}

.oset-detail-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    min-height: 0 !important;
    align-items: start;
    background: #fff;
}

.oset-detail-sidebar {
    gap: 18px;
    padding: 18px;
}

.oset-detail-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    height: 330px;
    object-fit: cover;
}

.oset-detail-side-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.oset-detail-side-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.oset-detail-side-stat {
    margin-top: 2px;
}

.oset-detail-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 24px 20px;
}

.oset-detail-header {
    padding-right: 56px;
}

.oset-detail-header .oset-detail-eyebrow {
    margin-bottom: 8px;
}

.oset-detail-main h2 {
    font-size: 22px;
    line-height: 1.25;
}

.oset-detail-excerpt {
    margin-top: 6px;
}

.oset-detail-meta {
    margin: 0;
    gap: 10px;
}

.oset-detail-row {
    min-height: 76px;
}

.oset-detail-row > div {
    display: grid;
    gap: 2px;
}

.oset-detail-content-card {
    margin: 0;
}

.oset-detail-content,
.oset-detail-empty-content {
    line-height: 1.7;
}

.oset-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--oset-border);
}

.oset-detail-footer-copy {
    display: grid;
    gap: 4px;
    max-width: 420px;
}

.oset-detail-footer-copy strong {
    font-size: 15px;
    line-height: 1.4;
}

.oset-detail-footer-copy span {
    font-size: 12px;
    line-height: 1.55;
}

.oset-detail-register-button {
    min-width: 230px;
    min-height: 48px;
    margin-left: auto;
}

.oset-detail-register-button span {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .oset-modal {
        padding: 16px;
    }

    .oset-modal-dialog {
        width: calc(100vw - 32px) !important;
        max-height: calc(100vh - 32px);
    }

    .oset-detail-layout {
        grid-template-columns: 1fr;
    }

    .oset-detail-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--oset-border);
    }
}

@media (max-width: 680px) {
    .oset-modal {
        align-items: flex-start;
        padding: 12px;
    }

    .oset-modal-dialog {
        width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 24px);
        border-radius: 16px;
    }

    .oset-detail-sidebar,
    .oset-detail-main {
        padding: 16px;
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: 260px;
    }

    .oset-detail-meta {
        grid-template-columns: 1fr;
    }

    .oset-detail-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .oset-detail-footer-copy {
        max-width: none;
    }

    .oset-detail-register-button {
        width: 100%;
        margin-left: 0;
    }
}

/* v1.7.2 — simplified education detail modal */
.oset-modal-dialog {
    width: min(1040px, calc(100vw - 48px)) !important;
    max-width: 1040px !important;
}

.oset-detail-layout {
    grid-template-columns: 330px minmax(0, 1fr) !important;
    min-height: 0 !important;
    align-items: start !important;
}

.oset-detail-sidebar {
    display: block !important;
    padding: 18px !important;
    background: #f8fafc;
}

.oset-detail-media {
    display: block !important;
}

.oset-detail-image,
.oset-detail-image-placeholder {
    width: 100%;
    height: 380px !important;
    min-height: 0 !important;
    border-radius: 12px;
    object-fit: cover;
}

.oset-detail-image-badge,
.oset-detail-side-card {
    display: none !important;
}

.oset-detail-main {
    align-self: start !important;
    min-height: 0 !important;
    gap: 16px !important;
    padding: 26px 26px 22px !important;
}

.oset-detail-header {
    padding-right: 48px !important;
}

.oset-detail-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.oset-detail-header-top .oset-detail-eyebrow {
    margin: 0 !important;
}

.oset-detail-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.oset-detail-status-badge i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.oset-detail-status-badge.is-open {
    color: #067647;
    background: #ecfdf3;
}

.oset-detail-status-badge.is-closed {
    color: #b54708;
    background: #fffaeb;
}

.oset-detail-main h2 {
    font-size: 24px !important;
}

.oset-detail-excerpt {
    margin-top: 7px !important;
    font-size: 12px !important;
}

.oset-detail-meta {
    margin: 0 !important;
    gap: 10px !important;
}

.oset-detail-row {
    min-height: 68px !important;
    padding: 10px 12px !important;
}

.oset-detail-row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.oset-detail-content-card {
    margin: 0 !important;
    padding: 14px !important;
}

.oset-detail-section-heading {
    margin-bottom: 10px !important;
}

.oset-detail-content {
    max-height: 150px !important;
    padding-right: 4px !important;
}

.oset-detail-footer {
    margin: 0 !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--oset-border) !important;
}

.oset-detail-footer-copy {
    max-width: 390px !important;
}

.oset-detail-register-button {
    min-width: 210px !important;
    min-height: 44px !important;
}

@media (max-width: 900px) {
    .oset-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .oset-detail-sidebar {
        border-right: 0 !important;
        border-bottom: 1px solid var(--oset-border);
    }

    .oset-detail-image,
    .oset-detail-image-placeholder {
        height: min(360px, 48vw) !important;
    }
}

@media (max-width: 680px) {
    .oset-detail-main {
        padding: 20px 16px 16px !important;
    }

    .oset-detail-header-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .oset-detail-meta {
        grid-template-columns: 1fr !important;
    }

    .oset-detail-row:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .oset-detail-footer {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .oset-detail-footer-copy,
    .oset-detail-register-button {
        width: 100% !important;
        max-width: none !important;
    }
}

/* v1.7.3 — detail modal spacing polish */
.oset-detail-main {
    gap: 18px !important;
    padding: 24px 24px 24px !important;
}

.oset-detail-header {
    padding-right: 86px !important;
    margin-bottom: 2px !important;
}

.oset-detail-header-top {
    justify-content: flex-start !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}

.oset-detail-status-badge {
    margin-left: 0 !important;
}

.oset-detail-main h2 {
    margin-bottom: 4px !important;
}

.oset-detail-excerpt {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.oset-detail-meta {
    gap: 12px !important;
}

.oset-detail-content-card {
    padding: 16px !important;
}

.oset-detail-content {
    max-height: none !important;
}

.oset-detail-footer {
    margin-top: 2px !important;
    padding-top: 18px !important;
    padding-bottom: 2px !important;
}

.oset-detail-footer-copy {
    gap: 6px !important;
}

.oset-modal-close {
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
}

@media (max-width: 680px) {
    .oset-detail-header {
        padding-right: 52px !important;
    }

    .oset-detail-header-top {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
}

/* v1.8.0 — rebuilt TailAdmin-style education detail right panel */
.oset-modal.is-detail-view .oset-modal-dialog {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
}

.oset-detail-layout-v2 {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    min-height: 0 !important;
    align-items: stretch !important;
    background: #fff;
}

.oset-detail-sidebar-v2 {
    display: flex !important;
    flex-direction: column;
    gap: 16px !important;
    min-width: 0;
    padding: 20px !important;
    border-right: 1px solid var(--oset-border) !important;
    background: #f8fafc !important;
}

.oset-detail-sidebar-v2 .oset-detail-media {
    display: block;
    min-width: 0;
}

.oset-detail-sidebar-v2 .oset-detail-image,
.oset-detail-sidebar-v2 .oset-detail-image-placeholder {
    width: 100% !important;
    height: 360px !important;
    min-height: 0 !important;
    border: 1px solid var(--oset-border) !important;
    border-radius: 14px !important;
    background: #fff;
    object-fit: cover !important;
}

.oset-detail-v2-capacity {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fff;
}

.oset-detail-v2-capacity > div:first-child {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.oset-detail-v2-capacity span,
.oset-detail-v2-capacity small {
    color: var(--oset-muted);
    font-size: 11px;
    line-height: 1.5;
}

.oset-detail-v2-capacity strong {
    color: var(--oset-text);
    font-size: 26px;
    line-height: 1;
}

.oset-detail-v2-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f6;
}

.oset-detail-v2-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--oset-primary);
}

.oset-detail-panel-v2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 34px 34px 28px;
    background: #fff;
}

.oset-detail-v2-header {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding-right: 62px;
}

.oset-detail-v2-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.oset-detail-v2-kicker .oset-detail-eyebrow {
    margin: 0 !important;
}

.oset-detail-v2-header h2 {
    margin: 0 !important;
    color: var(--oset-text);
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.oset-detail-v2-header > p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--oset-muted);
    font-size: 13px;
    line-height: 1.7;
}

.oset-detail-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.oset-detail-v2-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 82px;
    padding: 15px 16px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.oset-detail-v2-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
}

.oset-detail-v2-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-detail-v2-card > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.oset-detail-v2-card small {
    display: block;
    color: var(--oset-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.oset-detail-v2-card strong {
    display: block;
    min-width: 0;
    color: var(--oset-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.oset-detail-v2-card strong small {
    margin-top: 2px;
    font-weight: 400;
}

.oset-detail-v2-card a {
    display: inline-block;
    margin-top: 4px;
    color: var(--oset-primary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.oset-detail-v2-about {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fcfcfd;
}

.oset-detail-v2-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oset-detail-v2-section-head > div {
    display: grid;
    gap: 3px;
}

.oset-detail-v2-section-head strong {
    color: var(--oset-text);
    font-size: 13px;
    line-height: 1.4;
}

.oset-detail-v2-section-head small {
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.4;
}

.oset-detail-v2-content {
    color: #475467;
    font-size: 12px;
    line-height: 1.75;
}

.oset-detail-v2-content > :first-child {
    margin-top: 0;
}

.oset-detail-v2-content > :last-child {
    margin-bottom: 0;
}

.oset-detail-v2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--oset-border);
}

.oset-detail-v2-footer > div:first-child {
    display: grid;
    gap: 5px;
    max-width: 470px;
}

.oset-detail-v2-footer strong {
    color: var(--oset-text);
    font-size: 14px;
    line-height: 1.4;
}

.oset-detail-v2-footer span {
    color: var(--oset-muted);
    font-size: 11px;
    line-height: 1.55;
}

.oset-detail-v2-footer .oset-detail-register-button {
    flex: 0 0 auto;
    min-width: 225px !important;
    min-height: 46px !important;
}

@media (max-width: 980px) {
    .oset-modal.is-detail-view .oset-modal-dialog {
        width: calc(100vw - 32px) !important;
        max-height: calc(100vh - 32px);
    }

    .oset-detail-layout-v2 {
        grid-template-columns: 1fr !important;
    }

    .oset-detail-sidebar-v2 {
        border-right: 0 !important;
        border-bottom: 1px solid var(--oset-border) !important;
    }

    .oset-detail-sidebar-v2 .oset-detail-image,
    .oset-detail-sidebar-v2 .oset-detail-image-placeholder {
        height: min(420px, 55vw) !important;
    }
}

@media (max-width: 680px) {
    .oset-detail-panel-v2 {
        gap: 18px;
        padding: 22px 16px 18px;
    }

    .oset-detail-v2-header {
        padding-right: 46px;
    }

    .oset-detail-v2-header h2 {
        font-size: 23px !important;
    }

    .oset-detail-v2-grid {
        grid-template-columns: 1fr;
    }

    .oset-detail-v2-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .oset-detail-v2-footer > div:first-child {
        max-width: none;
    }

    .oset-detail-v2-footer .oset-detail-register-button {
        width: 100%;
        min-width: 0 !important;
    }
}

/* v1.8.1 — right detail panel rebuilt from scratch */
.oset-detail-panel-v3 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 32px 28px;
    background: #ffffff;
}

.oset-detail-v3-header {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding-right: 66px;
    margin-bottom: 24px;
}

.oset-detail-v3-topline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 28px;
    flex-wrap: wrap;
}

.oset-detail-v3-topline .oset-detail-eyebrow {
    margin: 0 !important;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
}

.oset-detail-v3-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.oset-detail-v3-status i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.oset-detail-v3-status.is-open {
    color: #067647;
    background: #ecfdf3;
}

.oset-detail-v3-status.is-closed {
    color: #b54708;
    background: #fffaeb;
}

.oset-detail-v3-header h2 {
    margin: 0 !important;
    color: var(--oset-text);
    font-size: 27px !important;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.oset-detail-v3-header > p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--oset-muted);
    font-size: 13px;
    line-height: 1.7;
}

.oset-detail-v3-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.oset-detail-v3-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 92px;
    padding: 17px 18px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .035);
}

.oset-detail-v3-info > .oset-detail-v3-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.oset-detail-v3-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--oset-primary-soft);
    color: var(--oset-primary);
}

.oset-detail-v3-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-detail-v3-card > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.oset-detail-v3-card small {
    display: block;
    color: var(--oset-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.oset-detail-v3-card strong {
    display: block;
    min-width: 0;
    color: var(--oset-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.oset-detail-v3-card strong small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
}

.oset-detail-v3-card a {
    display: inline-block;
    margin-top: 5px;
    color: var(--oset-primary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.oset-detail-v3-about {
    display: grid;
    gap: 15px;
    padding: 19px 20px;
    margin-bottom: 22px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #fcfcfd;
}

.oset-detail-v3-about-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oset-detail-v3-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid var(--oset-border);
    border-radius: 11px;
    background: #fff;
    color: #667085;
}

.oset-detail-v3-about-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-detail-v3-about-head > div {
    display: grid;
    gap: 3px;
}

.oset-detail-v3-about-head strong {
    color: var(--oset-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.oset-detail-v3-about-head small {
    color: var(--oset-muted);
    font-size: 10px;
    line-height: 1.4;
}

.oset-detail-v3-content {
    color: #475467;
    font-size: 12px;
    line-height: 1.75;
}

.oset-detail-v3-content > :first-child {
    margin-top: 0;
}

.oset-detail-v3-content > :last-child {
    margin-bottom: 0;
}

.oset-detail-v3-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
    border: 1px solid var(--oset-border);
    border-radius: 14px;
    background: #f8fafc;
}

.oset-detail-v3-cta-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
    max-width: 520px;
}

.oset-detail-v3-cta-copy strong {
    color: var(--oset-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.oset-detail-v3-cta-copy span {
    color: var(--oset-muted);
    font-size: 11px;
    line-height: 1.55;
}

.oset-detail-v3-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 230px !important;
    min-height: 48px !important;
    margin: 0 !important;
}

.oset-detail-v3-button span,
.oset-detail-v3-button b {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.oset-detail-v3-button b {
    font-size: 17px !important;
}

@media (max-width: 980px) {
    .oset-detail-panel-v3 {
        padding: 26px 24px 24px;
    }
}

@media (max-width: 680px) {
    .oset-detail-panel-v3 {
        padding: 22px 16px 18px;
    }

    .oset-detail-v3-header {
        padding-right: 48px;
        margin-bottom: 20px;
    }

    .oset-detail-v3-header h2 {
        font-size: 23px !important;
    }

    .oset-detail-v3-info {
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }

    .oset-detail-v3-info > .oset-detail-v3-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .oset-detail-v3-about {
        margin-bottom: 18px;
    }

    .oset-detail-v3-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .oset-detail-v3-cta-copy {
        max-width: none;
    }

    .oset-detail-v3-button {
        width: 100%;
        min-width: 0 !important;
    }
}

/* v1.8.2 — user-requested layout overrides */
.oset-detail-sidebar-v2 {
    display: flex !important;
    flex-direction: column;
    gap: 16px !important;
    min-width: 0;
    justify-content: flex-start;
    padding: 20px !important;
    border-right: 1px solid var(--oset-border) !important;
    background: #f8fafc !important;
}

body:has(.oset-calendar-app) main:has(.oset-calendar-app),
body.oset-calendar-page main {
    padding: 20px !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* v1.8.4 — multi-day education ranges */
.oset-days-grid {
    position: relative;
}

.oset-event-range {
    position: relative;
    z-index: 4;
    align-self: start;
    display: flex !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    min-width: 0;
    height: 31px;
    margin-right: 6px;
    margin-left: 6px;
    padding: 6px 10px !important;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(16, 24, 40, .05);
}

.oset-event-range span {
    flex: 0 0 auto;
    margin: 0 !important;
}

.oset-event-range strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.oset-event-range.is-multi-day {
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(16, 24, 40, .08);
}

.oset-event-range.is-continuation {
    border-left-style: dashed;
}

/* v1.9.0 — homepage upcoming trainings */
.oset-home-upcoming {
    --oset-home-text: #101828;
    --oset-home-muted: #667085;
    --oset-home-border: #e4e7ec;
    --oset-home-surface: #ffffff;
    --oset-home-primary: #465fff;
    width: 100%;
    color: var(--oset-home-text);
    font-family: inherit;
}

.oset-home-upcoming * {
    box-sizing: border-box;
}

.oset-home-upcoming-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.oset-home-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.oset-home-upcoming-head h2 {
    margin: 0;
    color: var(--oset-home-text);
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.oset-home-upcoming-head p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--oset-home-muted);
    font-size: 14px;
    line-height: 1.6;
}

.oset-home-calendar-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--oset-home-border);
    border-radius: 10px;
    background: #fff;
    color: #344054;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.oset-home-calendar-link:hover {
    border-color: #cfd4dc;
    box-shadow: 0 3px 10px rgba(16, 24, 40, .06);
    transform: translateY(-1px);
}

.oset-home-training-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.oset-home-training-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--oset-home-border);
    border-radius: 14px;
    background: var(--oset-home-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oset-home-training-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
    transform: translateY(-3px);
}

.oset-home-training-click {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.oset-home-training-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #f0f2f5;
}

.oset-home-training-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.oset-home-training-card:hover .oset-home-training-media > img {
    transform: scale(1.025);
}

.oset-home-training-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #c0c7d1;
    background: #f8fafc;
}

.oset-home-training-placeholder svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-home-status {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16,24,40,.08);
}

.oset-home-status i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.oset-home-status.is-open {
    color: #067647;
    background: rgba(236, 253, 243, .94);
}

.oset-home-status.is-closed {
    color: #b54708;
    background: rgba(255, 250, 235, .94);
}

.oset-home-training-body {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 18px;
}

.oset-home-training-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.oset-home-training-date span {
    color: var(--oset-home-primary);
    font-size: 12px;
    font-weight: 700;
}

.oset-home-training-date small {
    color: #98a2b3;
    font-size: 11px;
    font-weight: 600;
}

.oset-home-training-body h3 {
    margin: 0;
    color: var(--oset-home-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.oset-home-training-body > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--oset-home-muted);
    font-size: 12px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.oset-home-training-meta {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.oset-home-training-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--oset-home-muted);
    font-size: 11px;
}

.oset-home-training-meta svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #98a2b3;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-home-training-meta b {
    overflow: hidden;
    color: #475467;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-home-training-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f0f2f5;
}

.oset-home-capacity {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 500;
}

.oset-home-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-size: 11px;
    font-weight: 700;
}

.oset-home-detail-link b {
    color: var(--oset-home-primary);
    font-size: 15px;
}

.oset-home-empty {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    min-height: 310px;
    padding: 44px 28px;
    overflow: hidden;
    border: 1px dashed #d8dee9;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 42%, rgba(70, 95, 255, .055), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    text-align: center;
}

.oset-home-empty::before,
.oset-home-empty::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(70, 95, 255, .04);
    pointer-events: none;
}

.oset-home-empty::before {
    width: 180px;
    height: 180px;
    left: calc(50% - 170px);
    top: 54px;
}

.oset-home-empty::after {
    width: 120px;
    height: 120px;
    left: calc(50% + 52px);
    top: 92px;
}

.oset-home-empty-visual {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 118px;
}

.oset-home-empty-calendar {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 104px;
    height: 92px;
    transform: translateX(-50%);
    overflow: visible;
    border: 1px solid #dfe5f0;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 34px rgba(70, 95, 255, .10);
}

.oset-home-empty-calendar-head {
    height: 26px;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #6980ff 0%, #465fff 100%);
}

.oset-home-empty-ring {
    position: absolute;
    z-index: 2;
    top: -8px;
    width: 6px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #dfe7ff 0%, #ffffff 72%);
    box-shadow: 0 2px 5px rgba(70, 95, 255, .14);
}

.oset-home-empty-ring.ring-one { left: 18px; }
.oset-home-empty-ring.ring-two { left: 40px; }
.oset-home-empty-ring.ring-three { right: 40px; }
.oset-home-empty-ring.ring-four { right: 18px; }

.oset-home-empty-calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 13px 15px;
}

.oset-home-empty-calendar-grid i {
    display: block;
    width: 100%;
    height: 11px;
    border-radius: 4px;
    background: #f0f3f9;
}

.oset-home-empty-calendar-grid i:nth-child(5),
.oset-home-empty-calendar-grid i:nth-child(6) {
    background: #e6ebff;
}

.oset-home-empty-badge {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 5px solid #fff;
    border-radius: 14px;
    background: #465fff;
    color: #fff;
    box-shadow: 0 10px 20px rgba(70, 95, 255, .22);
}

.oset-home-empty-badge svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oset-home-empty-glow {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: #dce5ff;
    opacity: .65;
}

.oset-home-empty-glow-one {
    width: 8px;
    height: 8px;
    left: 7px;
    top: 58px;
}

.oset-home-empty-glow-two {
    width: 5px;
    height: 5px;
    right: 4px;
    top: 35px;
}

.oset-home-empty-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    max-width: 560px;
}

.oset-home-empty-copy strong {
    color: #344054;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.oset-home-empty-copy span {
    color: #98a2b3;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .oset-home-training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .oset-home-upcoming-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .oset-home-calendar-link {
        width: 100%;
        justify-content: center;
    }

    .oset-home-training-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .oset-home-training-body {
        min-height: 270px;
        padding: 16px;
    }

    .oset-home-training-body h3 {
        font-size: 17px;
    }
}

/* v1.9.3 home upcoming redesign */
.oset-home-upcoming {
    --oset-home-accent: #f97316;
    --oset-home-accent-dark: #ea580c;
}

.oset-home-upcoming-head {
    align-items: flex-start;
    margin-bottom: 28px;
}

.oset-home-upcoming-head h2 {
    font-size: clamp(30px, 3vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.oset-home-upcoming-head p {
    margin-top: 10px;
    max-width: 640px;
    font-size: 15px;
}

.oset-home-calendar-link {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--oset-home-accent-dark);
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
}

.oset-home-calendar-link:hover {
    border-color: transparent;
    box-shadow: none;
    color: var(--oset-home-accent);
    transform: none;
}

.oset-home-training-grid-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.oset-home-training-card-v2,
.oset-home-more-card {
    min-height: 438px;
}

.oset-home-training-card-v2 {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.oset-home-training-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.oset-home-training-media-v2 {
    aspect-ratio: 1.48 / 1;
    margin: 14px 14px 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

.oset-home-training-media-v2 > img,
.oset-home-training-media-v2 .oset-home-training-placeholder {
    border-radius: 22px;
}

.oset-home-date-badge {
    position: absolute;
    left: 22px;
    bottom: -18px;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 2px;
    width: 92px;
    padding: 12px 8px 11px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.28);
}

.oset-home-date-badge strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.oset-home-date-badge span {
    display: block;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.oset-home-training-body-v2 {
    min-height: 0;
    padding: 38px 22px 20px;
}

.oset-home-training-body-v2 h3 {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    margin: 0;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.oset-home-training-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.oset-home-training-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.oset-home-training-place svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #6b7280;
    stroke-width: 1.8;
}

.oset-home-training-place b {
    overflow: hidden;
    color: #374151;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oset-home-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.oset-home-status-pill.is-open {
    color: #3f3f46;
    background: #f4f4f5;
}

.oset-home-status-pill.is-closed {
    color: #b45309;
    background: #fff7ed;
}

.oset-home-more-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--oset-home-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.oset-home-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    color: var(--oset-home-accent-dark);
    background: #fff7ed;
}

.oset-home-more-icon svg {
    width: 28px;
    height: 28px;
}

.oset-home-more-card h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.36;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.oset-home-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.2);
    transition: transform .16s ease, box-shadow .16s ease;
}

.oset-home-more-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.28);
}

@media (max-width: 1400px) {
    .oset-home-training-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oset-home-training-card-v2,
    .oset-home-more-card {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .oset-home-upcoming-head h2 {
        font-size: 38px;
    }

    .oset-home-training-grid-v2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oset-home-training-card-v2,
    .oset-home-more-card {
        min-height: 0;
    }

    .oset-home-training-body-v2 {
        padding: 36px 18px 18px;
    }

    .oset-home-training-body-v2 h3,
    .oset-home-more-card h3 {
        font-size: 18px;
    }

    .oset-home-training-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .oset-home-status-pill {
        align-self: flex-start;
    }

    .oset-home-more-card {
        padding: 22px;
    }
}


/* v1.9.4 — homepage date badge clipping fix */
.oset-home-training-media-v2 {
    overflow: visible !important;
}

.oset-home-training-image-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #f8fafc;
}

.oset-home-training-image-clip > img,
.oset-home-training-image-clip > .oset-home-training-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
}

.oset-home-training-image-clip > img {
    object-fit: cover;
    transition: transform .3s ease;
}

.oset-home-training-card-v2:hover .oset-home-training-image-clip > img {
    transform: scale(1.025);
}

.oset-home-date-badge {
    z-index: 6 !important;
}

/* 1.10.0: inherit the host site's family without altering size or weight. */
.oset-calendar-app,
.oset-home-upcoming {
    font-family: inherit;
}
.oset-calendar-app *,
.oset-home-upcoming *,
.oset-modal * {
    font-family: inherit !important;
}
.oset-home-upcoming [hidden],
.oset-modal [hidden] {
    display: none !important;
}

/* The sidebar column stretches; only the compact image + capacity group is sticky.
   Modal content is the sole scroll container; the close button stays visible. No space-between or nested scroll area. */
.oset-modal.is-detail-view .oset-modal-dialog {
    overflow: hidden !important;
    max-height: calc(100vh - 48px) !important;
    max-height: calc(100dvh - 48px) !important;
}
.oset-modal.is-detail-view .oset-modal-content {
    max-height: inherit !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
}
.oset-modal.is-detail-view .oset-detail-layout-v2 {
    align-items: stretch !important;
    overflow: visible !important;
}
.oset-modal.is-detail-view .oset-detail-sidebar-v2 {
    align-self: stretch !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    min-height: 0 !important;
}
.oset-modal.is-detail-view .oset-detail-sticky {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 16px;
    min-width: 0;
    width: 100%;
    align-self: flex-start;
}
.oset-modal.is-detail-view .oset-detail-sticky .oset-detail-media {
    width: 100%;
    flex: 0 0 auto;
    margin: 0;
}
.oset-modal.is-detail-view .oset-detail-sticky .oset-detail-image,
.oset-modal.is-detail-view .oset-detail-sticky .oset-detail-image-placeholder {
    display: block;
    height: var(--oset-sticky-image-height, 360px) !important;
    max-height: none !important;
    width: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
}
.oset-modal.is-detail-view .oset-detail-sticky .oset-detail-image-placeholder {
    display: flex;
}
.oset-modal.is-detail-view .oset-detail-panel-v3 {
    min-width: 0;
    padding: 30px 32px 28px !important;
}
.oset-modal .oset-detail-v3-content {
    height: auto;
    max-height: none !important;
    overflow: visible;
    overflow-wrap: anywhere;
}
.oset-modal .oset-detail-v3-content img {
    max-width: 100%;
    height: auto;
}
.oset-modal .oset-description-preview {
    margin: 0;
}
.oset-modal .oset-description-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 8px;
    min-height: 40px;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--oset-border);
    border-radius: 8px;
    background: #fff;
    color: var(--oset-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}
.oset-modal .oset-description-toggle:hover {
    background: var(--oset-primary-soft);
}
.oset-modal .oset-description-toggle:focus-visible {
    outline: 2px solid var(--oset-primary);
    outline-offset: 3px;
}
.oset-modal .oset-description-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.oset-modal .oset-description-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* A full event is distinguished from a generic closed registration. */
.oset-calendar-app .oset-event-pill.is-full,
.oset-calendar-app .oset-event-state.is-full,
.oset-home-upcoming .oset-home-status-pill.is-full,
.oset-modal .oset-detail-v3-status.is-full {
    background: #fff1f0;
    border-color: #fecdca;
    color: #b42318;
}
.oset-calendar-app .oset-calendar-legend i.is-full {
    background: #f04438;
}
.oset-modal .oset-detail-v2-capacity.is-full strong {
    color: #b42318;
    font-size: 21px;
}

@media (max-width: 980px) {
    .oset-modal.is-detail-view .oset-detail-sticky {
        position: static;
    }
    .oset-modal.is-detail-view .oset-detail-sticky .oset-detail-image,
    .oset-modal.is-detail-view .oset-detail-sticky .oset-detail-image-placeholder {
        height: min(320px, 52vw) !important;
    }
    .oset-modal.is-detail-view .oset-detail-sidebar-v2 {
        border-right: 0 !important;
    }
    .oset-modal.is-detail-view .oset-detail-panel-v3 {
        padding: 24px !important;
    }
}
@media (max-width: 680px) {
    .oset-modal.is-detail-view .oset-modal-dialog {
        max-height: calc(100vh - 24px) !important;
        max-height: calc(100dvh - 24px) !important;
    }
    .oset-modal.is-detail-view .oset-detail-panel-v3 {
        padding: 22px 16px 18px !important;
    }
}
