:root {
    --primary: #2164e8;
    --ink: #172b4d;
    --muted: #728198;
    --border: #e5ebf3;
    --bg: #f4f7fc;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
a {
    color: var(--primary);
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    outline-offset: 4px;
}
button {
    cursor: pointer;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1 {
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}
h2 {
    font-size: 19px;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}
h3 {
    font-size: 18px;
    line-height: 1.4;
}
small {
    font-size: 12px;
}
.muted {
    color: var(--muted);
}
.eyebrow {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.7px;
    margin-bottom: 10px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -1px;
    color: var(--ink);
}
.brand > span:last-child:not(.brand-mark) {
    margin-left: -8px;
    color: var(--primary);
}
.brand-mark {
    display: block;
    object-fit: contain;
    width: 38px;
    height: 38px;
    margin-right: 4px;
    flex: 0 0 auto;
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 238px;
    background: white;
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    z-index: 30;
}
.sidebar .brand {
    margin: 0 0 42px 8px;
}
.workspace-label {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 750;
    color: #8d9aaf;
    margin: 22px 14px 14px;
}
.sidebar nav > a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #68788f;
    padding: 13px 16px;
    border-radius: 9px;
    margin: 5px 0;
    font-weight: 550;
}
.sidebar nav > a > span {
    font-size: 22px;
    line-height: 1;
    width: 22px;
    text-align: center;
}
.sidebar nav > a:hover {
    background: #f5f8fc;
}
.sidebar nav > a.active {
    background: #eef4ff;
    color: var(--primary);
}
.sidebar-bottom {
    margin-top: auto;
}
.support {
    padding: 18px 10px;
    font-size: 11px;
    font-weight: 650;
}
.support small {
    display: block;
    font-size: 10px;
    margin-top: 7px;
    color: var(--muted);
}
.dot {
    display: inline-block;
    background: #29ad88;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
}
.shell {
    margin-left: 238px;
}
.topbar {
    height: 82px;
    border-bottom: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    gap: 16px;
}
.breadcrumb {
    font-size: 12px;
    color: #7c8ba1;
}
.breadcrumb span {
    padding: 0 12px;
    color: #bdc6d3;
}
.account {
    display: flex;
    align-items: center;
    gap: 12px;
}
.account strong {
    font-size: 12px;
}
.account small {
    display: block;
    font-size: 10px;
    color: var(--muted);
}
.avatar {
    width: 36px;
    height: 36px;
    background: #eaf0ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
}
.logout {
    border: 0;
    background: transparent;
    color: #8190a7;
    font-size: 11px;
    margin-left: 6px;
}
.content {
    max-width: 1440px;
    margin: auto;
    padding: 34px 38px 46px;
    min-height: calc(100vh - 140px);
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.page-heading p {
    margin-bottom: 0;
}
.wave {
    color: #eab35d;
    font-size: 25px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid #dce4ef;
    background: white;
    color: #475b78;
    border-radius: 8px;
    font-weight: 650;
    font-size: 12px;
    white-space: nowrap;
}
.btn:hover {
    filter: brightness(0.97);
}
.btn.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 8px #2264e617;
}
.btn.white {
    color: var(--primary);
    background: white;
    border: 0;
}
.btn.full {
    width: 100%;
}
.btn.small {
    min-height: 35px;
    padding: 6px 10px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}
.stat {
    padding: 20px 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #77879e;
    gap: 6px;
}
.stat > strong {
    font-size: 33px;
    display: block;
    letter-spacing: -1px;
    margin: 10px 0 0;
    font-weight: 750;
}
.stat > strong em {
    font-style: normal;
    font-size: 20px;
    margin-left: 3px;
}
.stat > small {
    font-size: 10px;
    color: #99a4b7;
}
.stat-icon {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
}
.blue {
    background: #edf3ff;
    color: #3672e9;
}
.purple {
    background: #f2edff;
    color: #8b67db;
}
.green {
    background: #eaf8f1;
    color: #20966b;
}
.orange {
    background: #fff4e9;
    color: #dd9550;
}
.hero-banner {
    background: linear-gradient(115deg, #174db7, #3074ea);
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 13px;
    color: white;
    overflow: hidden;
    margin-bottom: 29px;
}
.hero-banner .eyebrow {
    color: #b8d5ff;
    font-size: 9px;
}
.hero-banner h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.hero-banner p {
    font-size: 12px;
    color: #d4e2ff;
    margin-bottom: 18px;
}
.qr-art {
    margin-right: 45px;
    transform: rotate(-6deg);
    position: relative;
    flex-shrink: 0;
}
.qr-corner {
    background: white;
    box-shadow: 0 10px 25px #09286c44;
    width: 118px;
    height: 118px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 98px;
    color: #173775;
    line-height: 1;
}
.qr-art > span {
    position: absolute;
    bottom: -7px;
    left: -40px;
    transform: rotate(6deg);
    font-size: 9px;
    background: #fff;
    padding: 6px 12px;
    color: #20966b;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 4px 15px #00286722;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.section-heading h2 {
    margin: 0;
    font-size: 17px;
}
.section-heading > a {
    font-size: 11px;
    font-weight: 650;
}
.seminar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}
.seminar-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    overflow: hidden;
}
.card-cover {
    height: 104px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(120deg, #edf4ff, #dbe8ff);
    position: relative;
    overflow: hidden;
}
.seminar-card:nth-child(3n + 2) .card-cover {
    background: linear-gradient(120deg, #eeeafa, #e4def8);
}
.seminar-card:nth-child(3n) .card-cover {
    background: linear-gradient(120deg, #e6f5ed, #d2eddf);
}
.date-block {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    width: 46px;
    height: 55px;
    z-index: 1;
}
.date-block strong {
    font-size: 21px;
    line-height: 1.2;
}
.date-block small {
    font-size: 9px;
    font-weight: 650;
    color: var(--muted);
}
.cover-pattern {
    position: absolute;
    font-size: 125px;
    opacity: 0.1;
    right: 15px;
    top: -33px;
    color: #3572d9;
}
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
.neutral {
    background: #f0f3f8;
    color: #7c8ba0;
}
.card-body {
    padding: 20px;
}
.card-body .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.card-body h3 {
    margin-bottom: 12px;
}
.card-body h3 > a {
    color: var(--ink);
}
.card-body p {
    font-size: 11px;
    margin-bottom: 7px;
}
.capacity {
    background: #eef2f8;
    height: 4px;
    border-radius: 5px;
    overflow: hidden;
    margin: 19px 0 11px;
}
.capacity > div {
    background: #3977ed;
    height: 100%;
    border-radius: 5px;
}
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.card-bottom small {
    color: #8b97a9;
    font-size: 10px;
}
.card-bottom a {
    font-size: 10px;
    font-weight: 650;
}
.panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 22px;
}
.activity {
    padding-bottom: 8px;
}
.table-wrap {
    overflow-x: auto;
    max-width: 100%;
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
}
th {
    color: #8b98aa;
    font-weight: 500;
    font-size: 10px;
    padding: 12px 14px;
    background: #f9fbfd;
    border-bottom: 1px solid var(--border);
}
td {
    padding: 15px 14px;
    border-bottom: 1px solid #eef1f6;
}
td strong {
    font-size: 12px;
}
td small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
}
tbody tr:last-child td {
    border: 0;
}
.empty {
    padding: 35px;
    text-align: center;
    color: var(--muted);
}
footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 38px;
    border-top: 1px solid var(--border);
    font-size: 10px;
    color: #9aa6b6;
}
.filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.filter input {
    width: 300px;
}
.filter select {
    width: auto;
    max-width: 100%;
}
input,
select,
textarea {
    width: 100%;
    border: 1px solid #dbe3ed;
    border-radius: 7px;
    background: white;
    padding: 11px 12px;
    color: var(--ink);
    min-height: 43px;
    font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #2264e644;
    border-color: var(--primary);
}
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #51627a;
}
label input,
label textarea,
label select {
    display: block;
    margin-top: 7px;
}
label small {
    display: block;
    margin-top: 4px;
}
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-stack h2 {
    margin: 0;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-stack p {
    margin: 0;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}
.detail-grid .panel {
    min-width: 0;
}
.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px 0;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.detail-meta small {
    display: block;
    color: var(--muted);
    margin-bottom: 5px;
}
.description {
    white-space: pre-wrap;
    color: var(--muted);
}
.session-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 17px 0;
}
.session-item small {
    display: block;
    color: var(--muted);
}
.qr-image {
    width: 260px;
    max-width: 100%;
    display: block;
    margin: 20px auto;
}
.token {
    display: block;
    word-break: break-all;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
}
.inline {
    display: flex;
    gap: 8px;
    align-items: center;
}
.inline select {
    width: auto;
    max-width: 220px;
    min-height: 35px;
    font-size: 11px;
    padding: 6px;
}
.alert {
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 13px;
}
.success {
    background: #e5f7ed;
    color: #1d7d53;
    border: 1px solid #c1e9d1;
}
.error {
    background: #fff0ee;
    color: #b74c45;
    border: 1px solid #f3ccc8;
}
.note {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 12px;
}
.note p {
    color: var(--muted);
    margin: 8px 0;
}
.scanner-placeholder {
    text-align: center;
    min-height: 270px;
    border: 2px dashed #d9e3f3;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.scanner-placeholder[hidden] {
    display: none;
}
.scanner-placeholder > span {
    font-size: 80px;
    color: var(--primary);
    line-height: 1.2;
}
.scanner-placeholder h3 {
    margin: 15px 0 8px;
}
.scanner-placeholder p {
    font-size: 12px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    font-size: 12px;
}
.pagination > div {
    display: flex;
    gap: 8px;
}
.disabled {
    opacity: 0.45;
    cursor: default;
}
details summary {
    cursor: pointer;
    font-weight: 650;
    font-size: 14px;
}
details[open] summary {
    margin-bottom: 22px;
}
.auth-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    background: #f5f7fa;
}
.auth-story {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 42px clamp(36px, 6.2vw, 96px);
    background: #123c70;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
}
.auth-story::before,
.auth-story::after {
    position: absolute;
    inset: 0;
    content: "";
    z-index: -1;
}
.auth-story::before {
    background: url("../images/lembaga-air-perak-building.png") center 50% / cover no-repeat;
    transform: scale(1.035);
    animation: auth-backdrop-drift 28s ease-in-out infinite alternate;
}
.auth-story::after {
    background:
        radial-gradient(ellipse at 20% 30%, #61c9d014 0%, transparent 42%),
        linear-gradient(115deg, #0b2b52eF 0%, #103766d9 55%, #123c70b8 100%),
        linear-gradient(0deg, #0b2b52eF 0%, transparent 72%);
    background-size: 180% 180%, auto, auto;
    background-position: 0% 50%, center, center;
    animation: auth-light-drift 22s ease-in-out infinite alternate;
}
.auth-story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.auth-story .brand {
    color: white;
    flex: 0 0 auto;
}
.auth-story .brand-mark {
    width: 44px;
    height: 44px;
}
.auth-story-content {
    max-width: 510px;
    margin: auto 0;
    animation: auth-content-enter 700ms ease-out both;
}
.story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d6e5f4;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.8px;
}
.story-kicker > span,
.login-heading .eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #52b8bd;
    box-shadow: none;
}
.story-kicker > span {
    animation: auth-status-glow 3.6s ease-in-out infinite;
}
.auth-story h1 {
    font-size: clamp(40px, 4vw, 58px);
    letter-spacing: -2.5px;
    line-height: 1.12;
    margin: 22px 0 18px;
}
.auth-story h1 span {
    color: #9bd8dc;
}
.auth-story p {
    color: #d1dce8;
    max-width: 390px;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}
.story-pills {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.story-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    border: 1px solid #ffffff2b;
    padding: 8px 10px;
    border-radius: 5px;
    color: #e2eaf2;
    background: #ffffff08;
    animation: auth-content-enter 500ms ease-out both;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}
.story-pills span:nth-child(1) {
    animation-delay: 180ms;
}
.story-pills span:nth-child(2) {
    animation-delay: 280ms;
}
.story-pills span:nth-child(3) {
    animation-delay: 380ms;
}
.story-pills span:hover {
    border-color: #9bd8dc70;
    background: #ffffff16;
}
.story-pills i {
    color: #9bd8dc;
    font-size: 9px;
    font-style: normal;
    font-weight: 750;
}
.auth-story-footer {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c8d9f0;
    font-size: 10px;
    padding-top: 16px;
    border-top: 1px solid #ffffff30;
}
.auth-story-footer > span:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 9px;
}
.auth-story-footer i,
.auth-card-footer i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #9bd8dc;
}
.story-location {
    margin-left: auto;
    color: #b7c8d9;
    font-size: 9px;
    letter-spacing: 1.5px;
}
.auth-panel {
    display: grid;
    place-items: center;
    padding: 48px clamp(32px, 7vw, 112px);
    background: #f8fafc;
}
.auth-panel-inner {
    width: 100%;
    max-width: 450px;
    animation: auth-content-enter 700ms 100ms ease-out both;
}
.auth-agency {
    display: flex;
    align-items: center;
    gap: 19px;
    margin-bottom: 42px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe5ec;
}
.auth-agency-logo {
    display: block;
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    object-fit: contain;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: auth-logo-float 5s ease-in-out infinite;
}
.auth-agency-divider {
    width: 1px;
    height: 42px;
    background: #d8e0e8;
}
.auth-agency-copy {
    display: grid;
    gap: 6px;
}
.auth-agency-copy strong {
    color: #23415e;
    font-size: 10px;
    letter-spacing: 1.4px;
}
.auth-agency-copy small {
    color: #637487;
    font-size: 12px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
}
.auth-card > .alert {
    margin-bottom: 24px;
}
.login-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #526779;
    font-size: 9px;
    letter-spacing: 1.7px;
}
.login-heading .eyebrow > span {
    width: 6px;
    height: 6px;
}
.auth-card h2 {
    font-size: clamp(30px, 3vw, 38px);
    letter-spacing: -1px;
    line-height: 1.16;
    margin: 16px 0 12px;
}
.auth-card > p {
    font-size: 13px;
}
.login-heading > p {
    max-width: 350px;
    line-height: 1.8;
    margin-bottom: 0;
}
.auth-card .form-stack {
    margin-top: 32px;
    gap: 19px;
}
.auth-card .form-stack > label,
.auth-card .form-stack > button {
    animation: auth-content-enter 450ms ease-out both;
}
.auth-card .form-stack > label:nth-child(1) {
    animation-delay: 160ms;
}
.auth-card .form-stack > label:nth-child(2) {
    animation-delay: 240ms;
}
.auth-card .form-stack > label:nth-child(3) {
    animation-delay: 320ms;
}
.auth-card .form-stack > button {
    animation-delay: 400ms;
}
.auth-card .form-stack > label:not(.check) {
    color: #334765;
    font-size: 12px;
    font-weight: 650;
}
.auth-card .form-stack > label:not(.check) input {
    min-height: 51px;
    margin-top: 8px;
    border-color: #dce5f1;
    border-radius: 10px;
    background: #fff;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}
.auth-card .form-stack > label:not(.check) input:focus {
    border-color: #3477ed;
    outline: 3px solid #3477ed20;
    box-shadow: 0 0 0 5px #3477ed0c;
}
.auth-card .form-stack .btn {
    min-height: 52px;
    border-radius: 6px;
    background: #174b7a;
    border-color: #174b7a;
    box-shadow: 0 3px 8px #174b7a20;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}
.auth-card .form-stack .btn:hover {
    background: #123d65;
    box-shadow: 0 4px 10px #174b7a29;
}
.check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 400;
}
.check input {
    width: 15px;
    min-height: 15px;
    margin: 0;
}
.auth-switch {
    text-align: left;
    margin-top: 28px;
    color: var(--muted);
    font-size: 12px;
}
.auth-switch a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 650;
}
.auth-switch a:hover {
    color: #123d65;
}
.auth-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid #dfe5ec;
    color: #8a99ad;
    font-size: 9px;
    letter-spacing: 0.7px;
}
.auth-card-footer > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@keyframes auth-light-drift {
    from {
        background-position: 0% 50%, center, center;
    }
    to {
        background-position: 100% 50%, center, center;
    }
}
@keyframes auth-status-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 #52b8bd45;
    }
    50% {
        box-shadow: 0 0 0 5px #52b8bd00;
    }
}
@keyframes auth-logo-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}
@keyframes auth-backdrop-drift {
    from {
        transform: scale(1.035);
    }
    to {
        transform: scale(1.075) translate3d(-0.4%, -0.3%, 0);
    }
}
@keyframes auth-content-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .auth-story::before,
    .auth-story::after,
    .auth-story-content,
    .story-kicker > span,
    .story-pills span,
    .auth-panel-inner,
    .auth-card .form-stack > label,
    .auth-card .form-stack > button,
    .auth-agency-logo {
        animation: none;
    }
}
.menu-toggle {
    display: none;
}
.backdrop {
    display: none;
}
@media (min-width: 1500px) {
    .seminar-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 1150px) {
    .content {
        padding: 28px 25px;
    }
    .topbar {
        padding: 0 25px;
    }
    .stats {
        gap: 12px;
    }
    .stat {
        padding: 18px 14px;
    }
    .seminar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .shell {
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
        border: 0;
        background: #eef4ff;
        color: var(--primary);
        border-radius: 7px;
        min-width: 38px;
        height: 38px;
        font-size: 21px;
    }
    .breadcrumb {
        margin-right: auto;
    }
    .backdrop.visible {
        display: block;
        position: fixed;
        inset: 0;
        background: #14274266;
        z-index: 29;
    }
    .auth-story {
        padding: 35px 9%;
    }
    .auth-story h1 {
        font-size: 40px;
    }
    .auth-panel {
        padding: 32px 6%;
    }
    .auth-story-header {
        align-items: flex-start;
    }
    .auth-story {
        padding-right: 36px;
        padding-left: 36px;
    }
    .auth-story h1 {
        font-size: 40px;
    }
}
@media (max-width: 760px) {
    .auth-body {
        grid-template-columns: 1fr;
    }
    .auth-story {
        display: none;
    }
    .auth-panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 36px 24px;
    }
    .auth-panel-inner {
        max-width: 440px;
    }
    .auth-agency {
        gap: 15px;
        margin-bottom: 38px;
        padding-bottom: 16px;
    }
    .auth-agency-logo {
        flex-basis: 70px;
        width: 70px;
        height: 70px;
    }
    .auth-card-footer {
        margin-top: 34px;
    }
}
@media (min-width: 761px) and (max-height: 800px) {
    .auth-panel {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .auth-card .form-stack {
        margin-top: 23px;
        gap: 16px;
    }
    .auth-switch {
        margin-top: 18px;
    }
    .auth-card-footer {
        margin-top: 16px;
        padding-top: 12px;
    }
}
@media (max-width: 600px) {
    .content {
        padding: 24px 18px;
    }
    .topbar {
        height: 68px;
        padding: 0 18px;
    }
    .breadcrumb {
        display: none;
    }
    .account {
        gap: 7px;
        margin-left: auto;
    }
    .account strong {
        font-size: 11px;
        max-width: 120px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .avatar {
        width: 30px;
        height: 30px;
    }
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 23px;
    }
    h1 {
        font-size: 25px;
    }
    .page-heading .muted {
        font-size: 12px;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat {
        padding: 16px 13px;
    }
    .stat-top {
        font-size: 10px;
    }
    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .stat > strong {
        font-size: 29px;
    }
    .stat > small {
        font-size: 9px;
    }
    .hero-banner {
        padding: 24px 20px;
        gap: 12px;
    }
    .hero-banner h2 {
        font-size: 20px;
    }
    .hero-banner p {
        font-size: 11px;
    }
    .qr-art {
        margin-right: 7px;
    }
    .qr-corner {
        width: 70px;
        height: 70px;
        font-size: 60px;
        border-radius: 10px;
    }
    .qr-art > span {
        display: none;
    }
    .hero-banner .eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .seminar-grid,
    .detail-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .panel {
        padding: 18px;
    }
    .seminar-card .card-cover {
        height: 95px;
    }
    .section-heading h2 {
        font-size: 16px;
    }
    .filter input,
    .filter select {
        width: 100%;
        flex: 1 1 100%;
    }
    .pagination {
        flex-direction: column;
        align-items: flex-start;
    }
    .inline {
        flex-wrap: wrap;
    }
    footer {
        padding: 18px;
        font-size: 9px;
    }
    footer > span {
        display: none;
    }
    .auth-body {
        display: block;
    }
    .auth-panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 28px 23px;
    }
    .auth-card h2 {
        font-size: 25px;
    }
    .table-wrap {
        margin: 0 -5px;
    }
    td,
    th {
        padding: 12px 10px;
    }
}

.tag-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 88mm;
    margin: 0 auto 20px;
}
.tag-preview-toolbar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}
.tag-preview-toolbar svg {
    flex-shrink: 0;
}
@media screen {
    .tag-preview {
        padding: 32px 20px;
    }
}
.badge-print {
    width: 88mm;
    min-height: 120mm;
    padding: 8mm 5mm;
    background: white;
    border: 1px solid #ccd5e1;
    text-align: center;
    margin: 20px auto;
    break-inside: avoid;
    color: #172b4d;
}
.badge-print h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
}
.badge-print .qr-image {
    width: 60mm;
    margin: 15px auto;
}
.receipt-footer {
    margin-top: 24px;
    text-align: center;
}
.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.receipt-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}
.receipt-actions svg {
    flex-shrink: 0;
}
.receipt-footer > p {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
}
@media (max-width: 480px) {
    .receipt-actions {
        flex-direction: column-reverse;
    }
    .receipt-actions .btn {
        width: 100%;
    }
}
.tag-brand {
    letter-spacing: 3px;
    color: #2264e6;
    font-size: 13px;
}
.tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 88mm);
    gap: 10mm;
    justify-content: center;
}
.participant-directory td {
    vertical-align: middle;
}
.participant-directory .participant-actions-cell {
    width: 350px;
}
.participant-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(145px, 1fr));
    gap: 10px;
    align-items: start;
}
.participant-directory .participant-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
    background: white;
    color: #435974;
    font-size: 11px;
    font-weight: 650;
    line-height: 20px;
    cursor: pointer;
    list-style: none;
}
.participant-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.participant-edit > summary::-webkit-details-marker {
    display: none;
}
.participant-directory .participant-action:hover,
.participant-edit[open] > summary.participant-action {
    border-color: #b9d0fb;
    background: #f1f6ff;
    color: #195fdf;
}
.participant-edit[open] {
    display: contents;
}
.participant-edit-form {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 4px;
    padding: 18px;
    border: 1px solid #e0e8f3;
    border-radius: 10px;
    background: #f8faff;
    white-space: normal;
}
.participant-edit-heading {
    color: #213756;
    font-size: 13px;
    font-weight: 650;
}
.participant-edit-heading small {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}
.participant-edit-form input {
    width: 100%;
    min-width: 0;
    background: white;
}
.participant-row {
    border-bottom: 1px solid #e5ebf3;
    padding: 16px 0;
}
.participant-row summary {
    white-space: normal;
}
.participant-row .note {
    padding: 16px 0;
}
.participant-row .badge {
    margin-left: 8px;
}
.attendance-report .report-day-heading,
.attendance-report .report-time-column {
    text-align: center;
}
.attendance-report .report-day-heading {
    padding: 16px 20px 12px;
    border-left: 1px solid #e5ebf3;
    border-right: 1px solid #e5ebf3;
}
.report-day-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.report-day-label > span {
    color: #2164e8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.attendance-report .report-day-label > small {
    color: #435873;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}
.attendance-report .report-time-column {
    min-width: 110px;
    font-variant-numeric: tabular-nums;
}
.attendance-report th.report-time-column {
    padding-top: 10px;
    padding-bottom: 10px;
}
.attendance-time {
    font-weight: 650;
}
.attendance-time-ok {
    color: #15803d;
}
.attendance-time-issue {
    color: #b91c1c;
}
thead small {
    display: block;
    font-size: 9px;
}
@media (max-width: 600px) {
    .badge-print {
        width: 100%;
        max-width: 88mm;
    }
    .tags-grid {
        display: block;
    }
}
@media print {
    .print-hide {
        display: none !important;
    }
    .auth-story,
    .auth-card > h2,
    .auth-card > p,
    .auth-card > .eyebrow,
    .auth-card > .badge,
    .auth-card > button {
        display: none !important;
    }
    .auth-body,
    .auth-panel,
    .auth-card {
        display: block;
        background: white;
        margin: 0;
        padding: 0;
        max-width: none;
    }
    .badge-print {
        width: 88mm;
        min-height: 120mm;
        margin: 0 auto 10mm;
    }
    .tags-grid {
        display: grid;
        grid-template-columns: repeat(2, 88mm);
        gap: 8mm;
    }
    table {
        width: 100%;
    }
}

.public-seminar-card {
    padding: 20px;
    margin: 22px 0 14px;
}
.public-seminar-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.public-seminar-heading h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
    min-width: 0;
}
.public-seminar-status {
    flex-shrink: 0;
    border-radius: 20px;
    padding: 2px 10px;
    background: #c9eac9;
    color: #207030;
    font-weight: 500;
}
.public-seminar-details p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.7;
}
.public-seminar-details svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #425a75;
}
.public-seminar-details span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.public-seminar-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: #48617d;
    font-size: 11px;
    flex-wrap: wrap;
}
.public-seminar-progress {
    height: 6px;
    background: #f1f4f9;
    border-radius: 10px;
    overflow: hidden;
    margin: 5px 0 16px;
}
.public-seminar-progress > div {
    height: 100%;
    background: #2264e6;
    border-radius: 10px;
    min-width: 0;
}
.public-register-button {
    min-height: 44px;
    border-radius: 10px;
    font-size: 13px;
    gap: 13px;
}
.public-login-button {
    color: #2264e6;
    border-color: #2264e6;
    background: white;
    min-height: 44px;
    border-radius: 10px;
    font-size: 13px;
}
@media (max-width: 360px) {
    .public-seminar-card {
        padding: 16px;
    }
    .public-seminar-heading {
        gap: 10px;
    }
    .public-seminar-heading h3 {
        font-size: 15px;
    }
    .public-seminar-details p {
        font-size: 12px;
    }
}

/* Popup alasan lewat */
.late-dialog {
    border: 1px solid #dce4ef;
    border-radius: 16px;
    padding: 24px;
    width: min(520px, calc(100% - 28px));
    max-height: calc(100dvh - 32px);
    color: var(--ink);
    box-shadow: 0 20px 70px #172b4d33;
}
.late-dialog::backdrop {
    background: #172b4d88;
}
.late-dialog h2 {
    margin: 10px 0;
}
.late-dialog p {
    margin-bottom: 8px;
}
.late-options {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.late-options legend {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 13px;
}
.late-option {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}
.late-option input {
    margin: 0;
    width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
}
.late-error {
    color: #b42318;
}
@media print {
    .late-dialog {
        display: none !important;
    }
}

/* Shared staff workspace */
body:not(.auth-body) {
    background: #f4f7fc;
}
.sidebar {
    width: 244px;
    padding: 25px 14px 18px;
    border-right-color: #e8edf5;
    box-shadow: 3px 0 18px #213d6505;
}
.sidebar .brand {
    gap: 9px;
    margin: 0 0 34px 8px;
    font-size: 21px;
    letter-spacing: -0.9px;
    color: #142747;
}
.sidebar .brand-mark {
    width: 38px;
    height: 38px;
    margin-right: 2px;
}
.workspace-label {
    margin: 21px 12px 10px;
    color: #8796ad;
    font-size: 9px;
    letter-spacing: 1.25px;
}
.sidebar nav > a {
    position: relative;
    min-height: 43px;
    gap: 12px;
    margin: 3px 0;
    padding: 10px 12px;
    border-radius: 8px;
    color: #536782;
    font-size: 12px;
    font-weight: 600;
    transition:
        color 150ms ease,
        background-color 150ms ease;
}
.sidebar nav > a > span {
    display: grid;
    flex: 0 0 22px;
    place-items: center;
    width: 22px;
    color: #7084a1;
    font-size: 16px;
}
.sidebar nav > a > span svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.sidebar nav > a:hover {
    background: #f3f6fc;
    color: #1f5dc7;
}
.sidebar nav > a.active {
    background: #eaf1ff;
    color: #155bd3;
    font-weight: 700;
}
.sidebar nav > a.active > span {
    color: #2164e8;
}
.sidebar nav > .workspace-label {
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid #e8edf5;
}
.sidebar-bottom {
    padding: 0 2px;
}
.support {
    padding: 15px 12px;
    border: 1px solid #edf1f7;
    border-radius: 10px;
    background: #f7f9fd;
    color: #263c5c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}
.support .dot {
    background: #21ad84;
}
.support small {
    margin-top: 5px;
    color: #7788a1;
    font-size: 9px;
    font-weight: 450;
}
.shell {
    margin-left: 244px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 78% 0%, #edf3ff80 0, transparent 35%),
        #f4f7fc;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 68px;
    padding: 0 31px;
    border-bottom-color: #e7edf5;
    background: #ffffffed;
    backdrop-filter: blur(12px);
}
.breadcrumb {
    color: #71819a;
    font-size: 11px;
    font-weight: 550;
}
.breadcrumb span {
    color: #a7b3c3;
}
.account {
    gap: 10px;
}
.account > div {
    min-width: 100px;
}
.account strong {
    display: block;
    color: #203454;
    font-size: 11px;
    font-weight: 700;
}
.account small {
    margin-top: 1px;
    color: #8090a7;
    font-size: 9px;
}
.avatar {
    width: 36px;
    height: 36px;
    background: #e8efff;
    color: #2164e8;
    font-size: 13px;
}
.logout {
    min-height: 33px;
    margin-left: 8px;
    padding: 0 11px;
    border: 1px solid #e1e8f1;
    border-radius: 7px;
    color: #586b85;
    font-size: 10px;
    font-weight: 600;
}
.logout:hover {
    border-color: #cfd9e7;
    background: #f7f9fc;
    color: #1d3558;
}
.content {
    max-width: 1540px;
    min-height: calc(100vh - 123px);
    padding: 28px 31px 42px;
}
.page-heading {
    margin-bottom: 22px;
}
.page-heading .eyebrow {
    margin-bottom: 7px;
    color: #7b8ca6;
    font-size: 9px;
    letter-spacing: 1.45px;
}
.page-heading h1 {
    margin-bottom: 6px;
    color: #142849;
    font-size: clamp(25px, 2.4vw, 30px);
    font-weight: 750;
    letter-spacing: -0.8px;
}
.page-heading .muted {
    color: #7889a3;
    font-size: 12px;
}
.wave {
    display: inline-block;
    margin-left: 3px;
    font-size: 22px;
    vertical-align: 1px;
}
.btn {
    min-height: 39px;
    padding: 9px 14px;
    border-color: #dfe6f0;
    border-radius: 7px;
    color: #435974;
    font-size: 11px;
    font-weight: 650;
    box-shadow: 0 1px 2px #1b355508;
    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease,
        color 150ms ease;
}
.btn:hover {
    filter: none;
    border-color: #cbd8e8;
    background-color: #f8faff;
}
.btn.primary {
    border-color: #2164e8;
    background: #2164e8;
    color: white;
    box-shadow: 0 4px 10px #2164e82a;
}
.btn.primary:hover {
    border-color: #1858d3;
    background: #1858d3;
    box-shadow: 0 5px 13px #2164e836;
}
.btn.white {
    border-color: transparent;
    background: white;
    color: #195fdf;
}
.btn.white:hover {
    background: #f1f6ff;
}
.stats {
    gap: 15px;
    margin-bottom: 22px;
}
.stat {
    position: relative;
    min-width: 0;
    min-height: 139px;
    padding: 17px 18px 14px;
    border-color: #e9eef6;
    border-radius: 10px;
    box-shadow: 0 5px 16px #203b6508;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}
.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 21px #203b6511;
}
.stat-top {
    min-height: 35px;
    justify-content: flex-start;
    gap: 9px;
    color: #687c98;
    font-size: 10px;
    font-weight: 550;
}
.stat-top .stat-icon {
    order: -1;
    margin-right: 2px;
}
.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
}
.blue {
    background: #eaf1ff;
    color: #2568e8;
}
.purple {
    background: #f2edff;
    color: #8861dd;
}
.green {
    background: #e7f7f0;
    color: #179b70;
}
.orange {
    background: #fff1e6;
    color: #e5863b;
}
.stat > strong {
    margin: 5px 0 0;
    color: #152a4d;
    font-size: 30px;
    line-height: 1.2;
}
.stat > strong em {
    color: #152a4d;
    font-size: 19px;
}
.stat > small {
    color: #8291a7;
    font-size: 9px;
}
.hero-banner {
    position: relative;
    min-height: 188px;
    padding: 26px 31px;
    border-radius: 11px;
    background:
        radial-gradient(circle at 84% 24%, #ffffff19 0 95px, transparent 96px),
        radial-gradient(circle at 73% 110%, #65b9ff3d 0 85px, transparent 86px),
        linear-gradient(112deg, #174ab5 0%, #2165df 60%, #2874eb 100%);
    box-shadow: 0 8px 20px #174eb51c;
}
.hero-banner .eyebrow {
    margin-bottom: 8px;
    color: #c9dcff;
    font-size: 9px;
    letter-spacing: 1.5px;
}
.hero-banner h2 {
    margin-bottom: 7px;
    font-size: 22px;
    letter-spacing: -0.5px;
}
.hero-banner p {
    max-width: 590px;
    margin-bottom: 15px;
    color: #e0eaff;
    font-size: 11px;
}
.qr-art {
    margin-right: 55px;
    transform: none;
}
.qr-corner {
    width: 100px;
    height: 100px;
    border-radius: 13px;
    color: #153b72;
    font-size: 76px;
}
.qr-art > span {
    left: -37px;
    padding: 6px 10px;
    border: 1px solid #edf4ff;
    font-size: 9px;
}
.section-heading {
    margin-bottom: 13px;
}
.section-heading h2 {
    color: #1b3154;
    font-size: 16px;
    font-weight: 700;
}
.section-heading > a,
.card-bottom a {
    color: #2164e8;
    font-size: 10px;
    font-weight: 650;
}
.seminar-grid {
    gap: 15px;
    margin-bottom: 24px;
}
.seminar-card {
    border-color: #e7edf5;
    border-radius: 10px;
    box-shadow: 0 4px 14px #203b6507;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}
.seminar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 19px #203b6511;
}
.card-cover {
    height: 95px;
    padding: 15px;
    background: linear-gradient(120deg, #eef4ff, #e2ecff);
}
.seminar-card:nth-child(3n + 2) .card-cover {
    background: linear-gradient(120deg, #f2efff, #e8e3fb);
}
.seminar-card:nth-child(3n) .card-cover {
    background: linear-gradient(120deg, #eaf7f1, #dff1e8);
}
.date-block {
    width: 43px;
    height: 52px;
    border: 1px solid #edf1f7;
    border-radius: 7px;
    box-shadow: 0 2px 6px #213d6509;
}
.date-block strong {
    color: #193353;
    font-size: 19px;
}
.card-body {
    padding: 16px;
}
.card-body .eyebrow {
    margin-bottom: 6px;
    color: #8796aa;
}
.card-body h3 {
    margin-bottom: 10px;
    color: #1e3558;
    font-size: 15px;
}
.card-body h3 > a:hover {
    color: #2164e8;
}
.card-body p {
    color: #71819a;
}
.capacity {
    height: 5px;
    margin: 15px 0 10px;
}
.capacity > div {
    background: #3475ed;
}
.panel {
    border-color: #e7edf5;
    border-radius: 10px;
    padding: 21px;
    box-shadow: 0 4px 14px #203b6506;
}
.activity {
    padding-bottom: 5px;
}
.table-wrap {
    border: 1px solid #e9eef5;
    border-radius: 8px;
}
table {
    font-size: 11px;
}
th {
    padding: 11px 13px;
    background: #f6f8fc;
    color: #647894;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}
td {
    padding: 12px 13px;
    border-bottom-color: #edf1f6;
    color: #435873;
}
td strong {
    color: #213756;
    font-weight: 650;
}
td small {
    color: #8796aa;
}
tbody tr:hover td {
    background: #fafbfe;
}
.filter {
    gap: 9px;
    margin-bottom: 17px;
}
.filter input {
    width: min(360px, 100%);
}
input,
select,
textarea {
    border-color: #dce4ee;
    border-radius: 7px;
    color: #263b59;
    font-size: 12px;
}
input::placeholder,
textarea::placeholder {
    color: #9aa7b8;
}
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #2164e81a;
    border-color: #5d8ee9;
}
label {
    color: #465c78;
    font-size: 11px;
    font-weight: 650;
}
.badge {
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 9px;
}
.pagination {
    color: #71819a;
    font-size: 11px;
}
.pagination > div {
    gap: 7px;
}
.empty.panel {
    border-style: dashed;
    background: #fbfcfe;
    box-shadow: none;
}
.alert {
    border-radius: 7px;
}
.success {
    background: #edf8f2;
    border-color: #d4eddf;
    color: #26754e;
}
.error {
    background: #fff3f1;
    border-color: #f3d8d4;
    color: #a3423b;
}
body:not(.auth-body) > .shell > footer {
    padding: 15px 31px;
    border-top-color: #e6ecf4;
    color: #8391a6;
    font-size: 9px;
}
@media (max-width: 1150px) {
    .topbar {
        padding-right: 25px;
        padding-left: 25px;
    }
    .content {
        padding-right: 25px;
        padding-left: 25px;
    }
}
@media (max-width: 900px) {
    .sidebar {
        width: 250px;
        padding: 25px 14px 18px;
    }
    .shell {
        margin-left: 0;
    }
    .menu-toggle {
        border: 1px solid #e2e9f3;
        background: #f4f7fc;
        color: #355779;
        border-radius: 7px;
    }
    .menu-toggle:hover {
        background: #eaf1ff;
        color: #2164e8;
    }
}
@media (max-width: 600px) {
    .topbar {
        height: 64px;
        padding-right: 15px;
        padding-left: 15px;
    }
    .content {
        padding: 22px 15px 32px;
    }
    .page-heading h1 {
        font-size: 24px;
    }
    .stats {
        gap: 10px;
    }
    .stat {
        min-height: 126px;
        padding: 13px 11px 11px;
    }
    .stat > strong {
        font-size: 27px;
    }
    .hero-banner {
        min-height: 0;
        padding: 22px 18px;
    }
    .hero-banner h2 {
        max-width: 270px;
        font-size: 18px;
    }
    .qr-art {
        margin-right: 7px;
    }
    .qr-corner {
        width: 64px;
        height: 64px;
        font-size: 52px;
    }
    body:not(.auth-body) > .shell > footer {
        padding: 14px 15px;
    }
}

.seminar-heading {
    align-items: flex-start;
}
.seminar-title-row {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
}
.seminar-title-row h1 {
    margin: 0;
}
.seminar-subtitle {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.seminar-subtitle > span + span {
    padding-left: 10px;
    border-left: 1px solid #cbd5e2;
}
.seminar-overview {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 13px;
    margin-bottom: 18px;
}
.seminar-overview-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 104px;
    padding: 17px;
    border: 1px solid #e7edf5;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 14px #203b6506;
}
.seminar-overview-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #eaf1ff;
    color: #2164e8;
    font-size: 16px;
}
.seminar-overview-item > div {
    display: grid;
    min-width: 0;
    gap: 5px;
}
.seminar-overview-item small {
    color: #8190a6;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.8px;
}
.seminar-overview-item strong {
    color: #193052;
    font-size: 19px;
    line-height: 1.25;
}
.seminar-overview-item strong span {
    color: #8290a4;
    font-size: 12px;
    font-weight: 500;
}
.seminar-overview-item .seminar-location {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seminar-overview-note {
    color: #8190a6;
    font-size: 9px;
}
.seminar-capacity {
    width: min(190px, 100%);
    height: 5px;
    margin-top: 2px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f7;
}
.seminar-capacity span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #3475ed;
}
.seminar-flow,
.seminar-days,
.seminar-management-card,
.seminar-participants {
    padding: 21px;
}
.seminar-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}
.seminar-section-heading h2 {
    margin: 0 0 5px;
    color: #1b3154;
    font-size: 16px;
}
.seminar-section-heading .eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: 1.25px;
}
.seminar-section-heading p {
    max-width: 620px;
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
}
.seminar-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.seminar-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid #e9eef6;
    border-radius: 8px;
    background: #fbfcfe;
}
.flow-step-number {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    background: #eaf1ff;
    color: #2164e8;
    font-size: 9px;
    font-weight: 750;
}
.seminar-flow-step h3 {
    margin: 1px 0 5px;
    color: #263c5c;
    font-size: 12px;
}
.seminar-flow-step p {
    min-height: 32px;
    margin-bottom: 9px;
    color: #7788a0;
    font-size: 9px;
    line-height: 1.55;
}
.flow-step-link {
    color: #2164e8;
    font-size: 9px;
    font-weight: 700;
}
.flow-step-link:hover {
    color: #164dae;
    text-decoration: underline;
}
.seminar-days,
.seminar-flow {
    margin-bottom: 17px;
}
.seminar-days .seminar-section-heading {
    align-items: center;
}
.seminar-days .seminar-section-heading .inline {
    flex-shrink: 0;
}
.seminar-day-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid #edf1f6;
}
.seminar-day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45px;
    min-height: 50px;
    border: 1px solid #e7edf5;
    border-radius: 7px;
    background: #f8faff;
}
.seminar-day-date > span {
    color: #193353;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.15;
}
.seminar-day-date small {
    color: #7788a0;
    font-size: 8px;
    font-weight: 700;
}
.seminar-day-main {
    min-width: 0;
}
.seminar-day-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.seminar-day-title h3 {
    margin: 0;
    color: #253b5a;
    font-size: 12px;
}
.seminar-day-full-date {
    display: block;
    margin-top: 3px;
    color: #7d8ca2;
    font-size: 9px;
}
.seminar-day-times {
    display: flex;
    gap: 27px;
    margin-top: 12px;
}
.seminar-day-times > span {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 3px 9px;
}
.seminar-day-times small {
    grid-column: 1 / -1;
    color: #8492a6;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.55px;
}
.seminar-day-times strong {
    color: #203756;
    font-size: 14px;
}
.seminar-day-times em {
    color: #8190a6;
    font-size: 8px;
    font-style: normal;
}
.seminar-day-edit {
    min-width: 118px;
    text-align: right;
}
.seminar-disclosure {
    border-top: 1px solid #e9eef5;
}
.seminar-disclosure > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 45px;
    margin: 0;
    color: #405671;
    font-size: 10px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}
.seminar-disclosure > summary::-webkit-details-marker {
    display: none;
}
.seminar-disclosure > summary::before {
    display: grid;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid #dce5f0;
    border-radius: 5px;
    color: #4e6887;
    content: "+";
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.seminar-disclosure[open] > summary::before {
    content: "−";
}
.seminar-disclosure > summary:hover {
    color: #2164e8;
}
.seminar-disclosure-content {
    padding: 2px 0 17px 28px;
}
.seminar-day-edit > summary {
    justify-content: flex-end;
    min-height: 34px;
    color: #2164e8;
    font-size: 9px;
}
.seminar-day-edit .seminar-disclosure-content {
    min-width: min(580px, 70vw);
    padding-left: 0;
}
.seminar-management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    margin-bottom: 17px;
    scroll-margin-top: 85px;
}
.seminar-management-card {
    margin: 0;
}
.seminar-management-card .seminar-section-heading {
    margin-bottom: 10px;
}
.seminar-public-link {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 6px;
    padding: 12px;
    border: 1px solid #e5ecf6;
    border-radius: 7px;
    background: #f8faff;
    color: #263c5c;
}
.seminar-public-link:hover {
    border-color: #cbd9ee;
    background: #f3f7ff;
}
.seminar-action-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 7px;
    background: #e8f0ff;
    color: #2164e8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.4px;
}
.seminar-public-link > span:nth-child(2) {
    display: grid;
    flex: 1;
    gap: 3px;
    min-width: 0;
}
.seminar-public-link strong {
    font-size: 10px;
}
.seminar-public-link small {
    overflow: hidden;
    color: #7b8ba2;
    font-size: 8px;
    text-overflow: ellipsis;
}
.seminar-action-open {
    color: #2164e8;
    font-size: 9px;
    font-weight: 700;
}
.seminar-management-card .seminar-disclosure:first-of-type {
    border-top: 0;
}
.seminar-import-form {
    margin-top: 14px;
}
.seminar-committee-list {
    display: grid;
    gap: 7px;
}
.seminar-committee-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e9eef5;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}
.seminar-committee-option input {
    flex: 0 0 16px;
    width: 16px;
    min-height: 16px;
    margin: 0;
}
.seminar-committee-option > span {
    display: grid;
    gap: 3px;
}
.seminar-committee-option strong {
    color: #344b69;
    font-size: 10px;
}
.seminar-committee-option small {
    color: #8090a5;
    font-size: 9px;
}
.seminar-participants {
    scroll-margin-top: 85px;
}
.seminar-participant-search {
    margin-top: 14px;
    margin-bottom: 10px;
}
.seminar-participant-search input {
    width: min(390px, 100%);
}
.seminar-participant {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e9eef5;
}
.seminar-participant > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 65px;
    padding: 9px 4px;
    color: #2c4261;
    font-size: 11px;
    list-style: none;
    cursor: pointer;
}
.seminar-participant > summary::-webkit-details-marker {
    display: none;
}
.participant-summary-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.participant-avatar {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #2164e8;
    font-size: 12px;
    font-weight: 700;
}
.participant-summary-name {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.participant-summary-name strong {
    overflow: hidden;
    color: #293e5d;
    font-size: 10px;
    text-overflow: ellipsis;
}
.participant-summary-name small {
    color: #8391a5;
    font-size: 9px;
}
.seminar-participant-content {
    padding: 0 5px 16px 48px;
}
.seminar-attendance-record {
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #e9eef5;
    border-radius: 7px;
    background: #fafbfd;
}
.seminar-attendance-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.seminar-attendance-heading > strong {
    color: #344a68;
    font-size: 10px;
}
.seminar-attendance-record > p {
    margin: 7px 0 10px;
    color: #72839b;
    font-size: 9px;
}
.seminar-record-divider {
    margin: 0 5px;
    color: #aab5c3;
}
.seminar-excuse-status {
    margin-top: 12px;
    padding: 11px 12px;
    border-left: 3px solid #e6a747;
    border-radius: 3px;
    background: #fff9ed;
    color: #68512e;
    font-size: 9px;
}
.seminar-excuse-status > strong {
    font-size: 10px;
}
.seminar-excuse-status p {
    margin: 5px 0;
    white-space: pre-wrap;
}
.seminar-excuse-status > span {
    font-weight: 700;
}
.seminar-excuse-status p small {
    color: #83775f;
}
.seminar-review-form,
.seminar-reason-form {
    margin-top: 13px;
}
.seminar-certificate-action {
    margin: 14px 0 0;
}
.seminar-empty {
    padding: 22px 12px;
    color: #71819a;
    font-size: 10px;
}
@media (max-width: 1000px) {
    .seminar-flow-grid {
        grid-template-columns: 1fr;
    }
    .seminar-flow-step p {
        min-height: 0;
    }
}
@media (max-width: 760px) {
    .seminar-overview {
        grid-template-columns: 1fr 1fr;
    }
    .seminar-overview-item:last-child {
        grid-column: 1 / -1;
    }
    .seminar-management-grid {
        grid-template-columns: 1fr;
    }
    .seminar-days .seminar-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .seminar-days .seminar-section-heading .inline {
        flex-wrap: wrap;
    }
}
@media (max-width: 520px) {
    .seminar-heading {
        align-items: stretch;
    }
    .seminar-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
    .seminar-title-row h1 {
        font-size: 22px;
        overflow-wrap: anywhere;
    }
    .seminar-subtitle {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        font-size: 10px;
    }
    .seminar-subtitle > span + span {
        padding-left: 0;
        border-left: 0;
    }
    .seminar-overview {
        gap: 8px;
    }
    .seminar-overview-item {
        gap: 8px;
        min-height: 92px;
        padding: 12px 9px;
    }
    .seminar-overview-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .seminar-overview-item small {
        font-size: 7px;
    }
    .seminar-overview-item strong {
        font-size: 16px;
    }
    .seminar-overview-item .seminar-location {
        font-size: 12px;
    }
    .seminar-flow,
    .seminar-days,
    .seminar-management-card,
    .seminar-participants {
        padding: 15px;
    }
    .seminar-section-heading {
        flex-direction: column;
        gap: 10px;
    }
    .seminar-section-heading h2 {
        font-size: 15px;
    }
    .seminar-day-card {
        grid-template-columns: 41px minmax(0, 1fr);
        gap: 10px;
    }
    .seminar-day-date {
        width: 40px;
        min-height: 46px;
    }
    .seminar-day-title {
        gap: 5px;
    }
    .seminar-day-times {
        gap: 17px;
    }
    .seminar-day-times > span {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .seminar-day-times small {
        grid-column: auto;
    }
    .seminar-day-edit {
        grid-column: 2;
        text-align: left;
    }
    .seminar-day-edit > summary {
        justify-content: flex-start;
        min-height: 30px;
    }
    .seminar-day-edit .seminar-disclosure-content {
        min-width: 0;
        width: 100%;
    }
    .seminar-day-edit .form-grid {
        grid-template-columns: 1fr;
    }
    .seminar-disclosure-content {
        padding-left: 0;
    }
    .seminar-participant > summary {
        align-items: flex-start;
    }
    .seminar-participant-content {
        padding-left: 0;
    }
    .seminar-attendance-heading {
        align-items: flex-start;
    }
    .seminar-participant-search input {
        width: 100%;
    }
}
@media screen {
    .auth-body,
    .auth-panel {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

@media screen and (min-width: 601px) {
    .auth-story {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* Consistent form spacing across registration and staff screens. */
.auth-card .form-stack :is(input, select, textarea):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    min-height: 51px;
    border-radius: 10px;
}
.auth-card .form-stack .btn {
    border-radius: 9px;
}
.form-stack {
    gap: 22px;
    min-width: 0;
}
.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}
.form-stack label,
.form-grid label {
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
}
.form-stack :is(input, select, textarea):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.filter :is(input, select),
form.inline select {
    min-width: 0;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-stack label :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) {
    margin-top: 8px;
}
.form-stack textarea {
    min-height: 112px;
    resize: vertical;
}
.form-stack input[type="file"] {
    padding: 9px;
}
.form-stack input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 7px 12px;
    border: 0;
    border-radius: 6px;
    background: #edf3ff;
    color: #195fdf;
    font: inherit;
    cursor: pointer;
}
.form-stack :is(input, select, textarea):focus-visible {
    border-color: #5d8ee9;
    outline: 3px solid #2164e81a;
    outline-offset: 1px;
}
.form-stack :is(input, select, textarea):disabled {
    background: #f1f4f8;
    color: #71819a;
    cursor: not-allowed;
}
.form-stack input:is([type="checkbox"], [type="radio"]) {
    accent-color: #2164e8;
}
.form-stack :is(p, label small) {
    line-height: 1.7;
}
.form-stack > p.muted {
    padding: 14px 16px;
    border: 1px solid #e5ebf3;
    border-radius: 9px;
    background: #f8faff;
    font-size: 12px;
}
.form-stack .btn,
.filter .btn,
form.inline .btn {
    min-height: 44px;
    border-radius: 8px;
}
.form-stack .btn:focus-visible,
.filter .btn:focus-visible {
    outline: 3px solid #2164e84d;
    outline-offset: 3px;
}
.form-stack .btn:disabled {
    opacity: .6;
    cursor: wait;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #e5ebf3;
}
.form-intro h2 {
    margin: 0 0 8px;
}
.form-intro > p {
    font-size: 12px;
}
.filter {
    align-items: center;
    gap: 12px;
}
details.panel > .form-stack {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e5ebf3;
}
#attendance-form {
    align-self: start;
    gap: 24px;
}
#attendance-form > .note {
    margin-top: 0;
    padding-top: 22px;
}
#attendance-form .note p {
    margin: 8px 0 10px;
    font-size: 12px;
}
.late-dialog {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 30px;
    background: white;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.late-dialog .form-stack {
    gap: 22px;
}
.late-dialog-header h2 {
    margin: 14px 0 16px;
    font-size: 24px;
    line-height: 1.3;
}
.late-participant-card {
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #e3eaf5;
    border-radius: 10px;
    background: #f6f8fc;
}
.late-dialog #late-participant {
    margin: 0 0 4px;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.late-dialog #late-session {
    margin: 0;
    font-size: 12px;
}
.late-dialog-header > .muted {
    margin: 0;
    font-size: 12px;
}
.late-options legend {
    padding: 0;
    margin-bottom: 12px;
    color: #263b59;
}
.late-options .late-option {
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    background: white;
    font-weight: 500;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.late-option:last-child {
    margin-bottom: 0;
}
.late-option:hover {
    background: #f8faff;
    border-color: #b9d0fb;
}
.late-option:has(input:checked) {
    color: #195fdf;
    background: #f0f5ff;
    border-color: #91b5f7;
}
.late-option:focus-within {
    outline: 3px solid #2164e81a;
    outline-offset: 1px;
}
.late-dialog-actions {
    justify-content: flex-end;
}
.late-dialog-actions > .btn {
    flex: 1;
}
.late-dialog .late-error:not([hidden]) {
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff5f5;
    font-size: 12px;
}
.late-dialog .form-stack > small {
    font-size: 11px;
    line-height: 1.7;
}
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .form-stack,
    #attendance-form {
        gap: 20px;
    }
    .late-dialog {
        padding: 22px 18px;
    }
    .late-dialog-header h2 {
        font-size: 21px;
    }
    .form-actions > .btn {
        flex: 1 1 140px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .form-stack :is(input, select, textarea),
    .late-option {
        transition: none;
    }
}
