body {
    min-height: 100vh;
}
.app-brand {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.login-shell {
    max-width: 1160px;
    margin: 0 auto;
}
.login-split {
    min-height: calc(100vh - 10rem);
}
.login-info-panel {
    border: 0;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.24), transparent 32%),
        linear-gradient(145deg, #0f2f57 0%, #145374 50%, #0f766e 100%);
    overflow: hidden;
    color: #f8fbff;
}
.login-info-lead {
    color: rgba(248, 251, 255, 0.82);
}
.login-info-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(7, 18, 37, 0.14);
    color: #f8fbff;
}
.login-info-card h2 {
    color: #dbeafe;
    letter-spacing: 0.04em;
}
.login-info-card p {
    color: rgba(248, 251, 255, 0.8);
}
.login-info-note {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fbff;
}
.login-card {
    border: 0;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.landing-page {
    max-width: 1200px;
    margin: 0 auto;
}
.landing-hero {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(20, 83, 116, 0.2), transparent 32%),
        linear-gradient(145deg, #0f2f57 0%, #145374 55%, #0f766e 100%);
    color: #f8fbff;
}
.landing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(15, 47, 87, 0.78) 0%, rgba(20, 83, 116, 0.72) 55%, rgba(15, 118, 110, 0.7) 100%);
    z-index: 1;
}
.landing-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.landing-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    filter: blur(8px);
}
.landing-hero .card-body {
    position: relative;
    z-index: 2;
}
.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.landing-kicker--light {
    background: #eaf3ff;
    border-color: #cfe2ff;
    color: #145374;
}
.landing-subtitle {
    max-width: 40rem;
    color: rgba(248, 251, 255, 0.8);
    font-size: 1.1rem;
}
.landing-stat {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fbff;
    text-align: left;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.landing-stat:hover,
.landing-stat.is-active {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}
.landing-stat__value {
    font-size: 1.4rem;
    font-weight: 700;
}
.landing-stat__label {
    font-size: 0.92rem;
    color: rgba(248, 251, 255, 0.8);
}
.landing-showcase {
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
.landing-tab-panel {
    display: none;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    color: #1f2933;
    box-shadow: 0 1rem 2.5rem rgba(8, 15, 28, 0.18);
}
.landing-tab-panel.is-active {
    display: block;
}
.landing-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.landing-panel-eyebrow {
    margin-bottom: 0.35rem;
    color: #145374;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.landing-list {
    display: grid;
    gap: 0.85rem;
}
.landing-list-item {
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.landing-list-item strong {
    color: #123c69;
}
.landing-list-item span {
    color: #52606d;
}
.landing-feature-card {
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.landing-feature-list {
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.landing-feature-list-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.05);
}
.landing-feature-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: #52606d;
}
.landing-feature-bullets li + li {
    margin-top: 0.55rem;
}
.landing-payment-note {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #eef8f6;
    border: 1px solid #cfe9e4;
    color: #245b52;
    font-size: 0.95rem;
}
.landing-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #145374 0%, #0f766e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0.75rem 1.25rem rgba(20, 83, 116, 0.22);
}
.landing-cta {
    border-radius: 1.25rem;
}
.landing-footer-note {
    letter-spacing: 0.02em;
}
.card-hover:hover {
    transform: translateY(-2px);
    transition: transform 0.15s ease;
}
.table-form input,
.table-form select {
    min-width: 140px;
}
.public-student-result {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}
.receipt-sheet-wrap {
    overflow-x: auto;
    padding-bottom: 0.25rem;
}
.receipt-sheet {
    margin: 0 auto;
}
.receipt-sheet--a4 {
    width: 820px;
    max-width: none;
}
.receipt-sheet--a5 {
    width: 620px;
    max-width: none;
}
.receipt-sheet--80mm {
    width: 320px;
    max-width: none;
}
.receipt-sheet--58mm {
    width: 240px;
    max-width: none;
}
.receipt-template {
    display: grid;
    gap: 1.5rem;
    color: #1f2933;
}
.receipt-template h1,
.receipt-template h2,
.receipt-template h3,
.receipt-template p {
    margin: 0;
}
.receipt-template__header {
    display: grid;
    gap: 0.5rem;
}
.receipt-template__eyebrow,
.receipt-template__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #52606d;
}
.receipt-template__value {
    font-weight: 700;
}
.receipt-template__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.receipt-template__panel,
.receipt-template__summary-row > div,
.receipt-template__students,
.receipt-template__footer {
    border: 1px solid #d9e2ec;
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fff;
}
.receipt-template__summary-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.receipt-template__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}
.receipt-template__table th,
.receipt-template__table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid #d9e2ec;
    text-align: left;
    vertical-align: top;
}
.receipt-template__table .text-end {
    text-align: right;
}
.receipt-template__empty {
    margin-top: 0.75rem;
    color: #7b8794;
}
.receipt-token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.receipt-designer__canvas-wrap {
    overflow: auto;
    padding: 1rem;
    background: #f7f9fc;
    border-radius: 0.75rem;
}
.receipt-designer__canvas {
    margin: 0 auto;
    transition: width 0.2s ease;
}
.receipt-designer__canvas--frame {
    min-height: 700px;
}
.receipt-designer__canvas[data-size='a4'] {
    width: min(100%, 820px);
}
.receipt-designer__canvas[data-size='a5'] {
    width: min(100%, 620px);
}
.receipt-designer__canvas[data-size='80mm'] {
    width: min(100%, 320px);
}
.receipt-designer__canvas[data-size='58mm'] {
    width: min(100%, 240px);
}
.cke_chrome {
    border-color: #d9e2ec;
    border-radius: 0.75rem;
    overflow: hidden;
}
.cke_top {
    background: #f8fbff;
    border-bottom: 1px solid #d9e2ec;
}
.cke_bottom {
    background: #f8fbff;
    border-top: 1px solid #d9e2ec;
}
.cke_contents {
    background: #fff;
}
.cke_editable {
    min-height: 640px;
    padding: 1rem 1.25rem;
}
.image-align-left {
    float: left;
    margin-right: 1rem;
}
.image-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.image-align-right {
    float: right;
    margin-left: 1rem;
}
@media (max-width: 767.98px) {
    .landing-hero::after {
        background: linear-gradient(145deg, rgba(15, 47, 87, 0.92) 0%, rgba(20, 83, 116, 0.88) 55%, rgba(15, 118, 110, 0.86) 100%);
    }
    .login-split {
        min-height: auto;
    }
    .login-info-panel {
        min-height: auto;
    }
    .landing-panel-header {
        flex-direction: column;
    }
    .receipt-template__meta-grid,
    .receipt-template__summary-row {
        grid-template-columns: 1fr;
    }

    .receipt-sheet-wrap {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }
}
@media (min-width: 1200px) {
    .login-card {
        margin-left: 2rem;
    }
}
@media print {
    @page {
        margin: 12mm;
    }

    body {
        margin: 0;
    }

    .receipt-sheet,
    .receipt-sheet * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .navbar,
    .print-hidden,
    .alert,
    .container > :not(.receipt-sheet-wrap):not(.print-hidden) {
        display: none !important;
    }

    .container {
        max-width: none;
        width: auto;
        padding: 0;
    }

    .receipt-sheet-wrap {
        overflow: visible;
        padding: 0;
    }

    .receipt-sheet {
        box-shadow: none !important;
        border: 0 !important;
        margin: 0 auto;
        max-width: none;
    }

    .receipt-sheet--a4 .receipt-template__meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .receipt-sheet--a4 .receipt-template__summary-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .receipt-sheet--a5 .receipt-template__meta-grid,
    .receipt-sheet--80mm .receipt-template__meta-grid,
    .receipt-sheet--58mm .receipt-template__meta-grid,
    .receipt-sheet--a5 .receipt-template__summary-row,
    .receipt-sheet--80mm .receipt-template__summary-row,
    .receipt-sheet--58mm .receipt-template__summary-row {
        grid-template-columns: 1fr;
    }

    .receipt-sheet--80mm,
    .receipt-sheet--58mm {
        max-width: none;
        width: 80mm;
    }

    .receipt-sheet--58mm {
        width: 58mm;
    }

    .receipt-sheet--a4 {
        width: 210mm;
    }

    .receipt-sheet--a5 {
        width: 148mm;
    }
}
.student-entry-selector__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.student-entry-selector__toolbar {
    position: relative;
}
.student-entry-selector__search {
    position: relative;
}
.student-entry-selector [data-entry-results] {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 16rem;
    overflow-y: auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.student-entry-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #e9ecef;
}
.student-entry-tag button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
