:root {
    color-scheme: light;
    --green: #16834a;
    --green-dark: #105f37;
    --green-soft: #e2f1e5;
    --ink: #1d3025;
    --muted: #6c7c71;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: #eef7ef;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: .02em;
}

.brand-copy span {
    color: var(--muted);
    font-size: 12px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
    color: #53665a;
    font-size: 14px;
}

.navigation a:hover {
    color: var(--green-dark);
}

.navigation .nav-cta {
    padding: 11px 17px;
    border: 1px solid rgba(22, 131, 74, .22);
    border-radius: 999px;
    color: var(--green-dark);
    font-weight: 600;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 72px;
    min-height: 590px;
    padding: 48px 0 76px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 22px;
    height: 1px;
    background: var(--green);
    content: "";
}

h1 {
    max-width: 570px;
    margin: 0;
    font-size: clamp(42px, 5.3vw, 66px);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: 1.08;
}

h1 span {
    color: var(--green);
}

.hero-description {
    max-width: 470px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(22, 131, 74, .15);
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-secondary {
    color: var(--green-dark);
}

.visual {
    position: relative;
    display: grid;
    min-height: 410px;
    place-items: center;
}

.attendance-code-input {
    width: min(100%, 360px);
    min-height: 62px;
    padding: 14px 18px;
    border: 2px solid #dce7de;
    border-radius: 14px;
    outline: none;
    background: #fff;
    box-shadow: 0 12px 30px rgba(40, 87, 54, .08);
    color: var(--green-dark);
    font: inherit;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: .08em;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.attendance-code-input::placeholder {
    color: #9aa79d;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.attendance-code-input:focus {
    transform: translateY(-1px);
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(22, 131, 74, .12), 0 14px 32px rgba(40, 87, 54, .1);
}

.attendance-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: start;
    gap: 34px;
    padding: 38px 0 58px;
}

.attendance-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4ece5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(40, 87, 54, .07);
}

.attendance-panel-heading {
    padding: 23px 22px 18px;
}

.attendance-panel-heading .eyebrow {
    margin-bottom: 11px;
}

.attendance-panel-heading h1 {
    max-width: none;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.04em;
}

.attendance-panel-heading > p:last-child {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.attendance-panel-heading > p:last-child strong {
    color: var(--green-dark);
}

.attendance-table-scroll {
    overflow-x: auto;
    outline: none;
}

.attendance-table-scroll:focus-visible {
    box-shadow: inset 0 0 0 2px var(--green);
}

.attendance-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    text-align: left;
}

.attendance-table th {
    height: 43px;
    padding: 0 12px;
    border-top: 1px solid #edf1ed;
    background: #f8faf8;
    color: #849187;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    white-space: nowrap;
}

.attendance-table th:first-child,
.attendance-table td:first-child {
    padding-left: 18px;
}

.attendance-table td {
    height: 54px;
    padding: 9px 12px;
    border-top: 1px solid #edf1ed;
    color: #536258;
    font-size: 11px;
    white-space: nowrap;
}

.attendance-empty {
    margin: 0;
    padding: 25px 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.attendance-feedback {
    margin: 0 18px 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf6ef;
    color: var(--green-dark);
    font-size: 12px;
    line-height: 1.5;
}

.attendance-feedback.error {
    font-size: 20px;
    text-align: center;
    background: #fff2f0;
    color: #a3473b;
}

.attendance-entry {
    min-width: 0;
}

.attendance-entry .visual {
    min-height: 0;
    align-content: center;
    gap: 12px;
    overflow: hidden;
    padding: 27px 25px 18px;
    border: 1px solid rgba(26, 79, 43, .09);
    border-radius: 15px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 40px rgba(40, 87, 54, .07);
}

.attendance-entry-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.attendance-entry-content .eyebrow {
    margin-bottom: 12px;
}

.attendance-entry-content h2 {
    margin: 0;
    font-size: clamp(23px, 2.7vw, 30px);
    letter-spacing: -.04em;
}

.attendance-entry-description {
    margin: 8px 0 21px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.attendance-form {
    display: grid;
    gap: 9px;
}

.attendance-form label {
    margin-top: 4px;
    color: #536258;
    font-size: 12px;
    font-weight: 650;
}

.attendance-agenda-select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dce7de;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.attendance-agenda-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 131, 74, .12);
}

.attendance-entry .attendance-code-input {
    width: 100%;
    min-height: 58px;
    text-align: left;
}

.attendance-entry .attendance-code-input::placeholder {
    font-size: 13px;
}

.attendance-submit-button {
    min-height: 46px;
    margin-top: 5px;
    border: 0;
    border-radius: 9px;
    background: var(--green);
    box-shadow: 0 8px 18px rgba(22, 131, 74, .15);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    transition: background .18s ease, transform .18s ease;
}

.attendance-submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--green-dark);
}

.attendance-submit-button:disabled,
.attendance-code-input:disabled,
.attendance-agenda-select:disabled {
    cursor: not-allowed;
    opacity: .6;
}

.attendance-form-hint {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.attendance-page {
    padding: 38px 0 55px;
}

.attendance-page-heading {
    margin-bottom: 24px;
}

.attendance-page-heading .eyebrow {
    margin-bottom: 11px;
}

.attendance-page-heading h1 {
    max-width: none;
    font-size: clamp(30px, 4vw, 43px);
}

.attendance-page-heading > p:last-child {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.agenda-selection-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px;
    border: 1px solid #e4ece5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(40, 87, 54, .06);
}

.agenda-selection-panel h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
}

.agenda-selection-panel > div > p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.agenda-selection-form {
    display: grid;
    width: min(100%, 430px);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.agenda-selection-form .attendance-submit-button {
    min-width: 132px;
    margin: 0;
    padding: 0 14px;
}

.attendance-selected-agenda {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 12px 16px;
    border: 1px solid #cfe2d2;
    border-radius: 9px;
    background: #edf6ef;
}

.attendance-selected-agenda span {
    color: #6c7c71;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
}

.attendance-selected-agenda strong {
    color: var(--green-dark);
    font-size: 13px;
}

.attendance-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
    align-items: start;
    gap: 22px;
}

.attendance-panel-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 650;
}

.attendance-entry {
    padding: 24px;
    border: 1px solid #e4ece5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(40, 87, 54, .07);
}

.attendance-entry-description {
    margin-bottom: 18px;
}

.attendance-brand-mark {
    display: block;
    width: 150px;
    height: 150px;
    border: 4px solid #fff;
    border-radius: 16px;
    background: #f4f7f4;
    box-shadow: 0 8px 22px rgba(40, 87, 54, .12);
    object-fit: cover;
}

.attendance-photo-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 24px;
    text-align: center;
}

.attendance-photo-card p {
    min-height: 20px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.attendance-no-agenda {
    margin-top: 18px;
    border: 1px dashed #d7e4d9;
    border-radius: 10px;
    background: rgba(255, 255, 255, .65);
}

.attendance-entry .visual-card {
    width: 100%;
    min-height: 90px;
}

.attendance-entry .visual-card-image {
    width: 78px;
    height: 78px;
}

.visual::before,
.visual::after {
    position: absolute;
    border: 1px solid rgba(22, 131, 74, .12);
    border-radius: 50%;
    content: "";
}

.visual::before {
    width: 370px;
    height: 370px;
}

.visual::after {
    width: 455px;
    height: 455px;
}

.visual-card {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(310px, 78%);
    min-height: 340px;
    place-items: center;
}

.visual-card img {
    width: 172px;
    height: 172px;
    object-fit: contain;
}

.visual-label {
    position: absolute;
    right: -32px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid #edf2ee;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(40, 87, 54, .1);
    font-size: 12px;
    font-weight: 600;
}

.check {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 17px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 28px 0 64px;
    border-top: 1px solid rgba(26, 79, 43, .1);
}

.feature {
    padding: 19px 20px;
}

.feature-number {
    display: block;
    margin-bottom: 13px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.feature h2 {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 650;
}

.feature p {
    max-width: 290px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.site-footer {
    padding: 20px 0 28px;
    border-top: 1px solid rgba(26, 79, 43, .1);
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 760px) {
    .page {
        width: min(100% - 36px, 560px);
    }

    .site-header {
        min-height: 74px;
    }

    .navigation {
        gap: 15px;
        font-size: 13px;
    }

    .navigation a:nth-child(2) {
        display: none;
    }

    .navigation .nav-cta {
        padding: 9px 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 58px 0 52px;
    }

    .attendance-hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 0 45px;
    }

    .attendance-page {
        padding-top: 28px;
    }

    .attendance-workspace {
        grid-template-columns: 1fr;
    }

    .visual {
        min-height: 350px;
    }

    .visual::before {
        width: 310px;
        height: 310px;
    }

    .visual::after {
        width: 370px;
        height: 370px;
    }

    .visual-card {
        min-height: 285px;
    }

    .visual-card img {
        width: 145px;
        height: 145px;
    }

    .visual-label {
        right: 0;
        bottom: 17px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 2px;
        padding-top: 20px;
    }

    .feature {
        padding: 15px 4px;
    }
}

@media (max-width: 560px) {
    .agenda-selection-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        padding: 18px;
    }

    .agenda-selection-form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .agenda-selection-form .attendance-submit-button {
        width: 100%;
        min-height: 43px;
    }

    .attendance-selected-agenda {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .attendance-entry {
        padding: 20px 18px;
    }
}

@media (max-width: 420px) {
    .brand-copy span {
        font-size: 11px;
    }

    .navigation {
        gap: 10px;
    }

    .navigation a:first-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(22, 131, 74, .08), transparent 32%),
        #eef7ef;
}

.login-page {
    display: flex;
    width: min(100% - 40px, 430px);
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 36px 0 22px;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 28px;
}

.login-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.login-brand span {
    display: grid;
    gap: 3px;
}

.login-brand strong {
    font-size: 13px;
    letter-spacing: .03em;
}

.login-brand small {
    color: var(--muted);
    font-size: 12px;
}

.login-card {
    width: 100%;
    padding: 38px;
    border: 1px solid rgba(26, 79, 43, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 20px 60px rgba(40, 87, 54, .09);
}

.login-eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}

.login-card h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 650;
    letter-spacing: -.04em;
}

.login-description {
    margin: 10px 0 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.login-form {
    display: grid;
    gap: 19px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field label {
    font-size: 13px;
    font-weight: 600;
}

.login-field input {
    width: 100%;
    min-height: 47px;
    padding: 0 13px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-field input::placeholder {
    color: #a0ada3;
}

.login-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 131, 74, .12);
}

.login-submit {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    background: var(--green-dark);
}

.login-back {
    display: inline-block;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

.login-back:hover {
    color: var(--green-dark);
}

.login-footer {
    margin-top: 24px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 480px) {
    .login-page {
        width: min(100% - 32px, 430px);
    }

    .login-card {
        padding: 30px 24px;
    }
}

.dashboard-body {
    min-height: 100vh;
    background: #f5f8f5;
}

.dashboard-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 250px minmax(0, 1fr);
    transition: grid-template-columns .25s ease;
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 28px 18px 20px;
    border-right: 1px solid #e8eee9;
    background: #fff;
    transition: transform .25s ease;
}

.dashboard-layout.sidebar-collapsed {
    grid-template-columns: 0 minmax(0, 1fr);
}

.sidebar-collapsed .dashboard-sidebar {
    min-width: 0;
    overflow: hidden;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    transform: translateX(-100%);
}

.sidebar-backdrop {
    display: none;
}

.dashboard-heading-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px solid #e2eae3;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.sidebar-toggle:hover {
    border-color: #cfe2d2;
    background: #edf6ef;
}

.sidebar-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--green-dark);
}

.dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0 9px;
}

.dashboard-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.dashboard-brand span {
    display: grid;
    gap: 4px;
}

.dashboard-brand strong {
    font-size: 12px;
    letter-spacing: .03em;
}

.dashboard-brand small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
}

.sidebar-label {
    margin: 42px 10px 12px;
    color: #9aa79d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.dashboard-nav {
    display: grid;
    gap: 5px;
}

.dashboard-nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    padding: 0 11px;
    border-radius: 8px;
    color: #66766a;
    font-size: 13px;
    font-weight: 500;
    transition: background .18s ease, color .18s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
    background: #edf6ef;
    color: var(--green-dark);
}

.dashboard-nav-link.active {
    font-weight: 650;
}

.dashboard-nav-icon {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}

.sidebar-bottom {
    display: grid;
    gap: 5px;
    margin-top: auto;
}

.logout-link:hover {
    background: #fbefed;
    color: #a3473b;
}

.sidebar-caption {
    margin: 17px 10px 0;
    color: #98a59a;
    font-size: 10px;
    line-height: 1.5;
}

.dashboard-main {
    display: flex;
    width: min(100%, 1320px);
    min-height: 100vh;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 44px 72px;
}

.dashboard-topbar {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7ede8;
}

.dashboard-overline {
    margin: 0 0 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.dashboard-topbar h1 {
    margin: 0;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -.035em;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #dcebdd;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
}

.dashboard-user > span:last-child {
    display: grid;
    gap: 3px;
}

.dashboard-user strong {
    font-size: 12px;
}

.dashboard-user small {
    color: var(--muted);
    font-size: 11px;
}

.dashboard-logout {
    display: none;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.dashboard-welcome {
    position: relative;
    display: flex;
    min-height: 176px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-top: 28px;
    padding: 30px 34px;
    border: 1px solid #dcecdf;
    border-radius: 13px;
    background: linear-gradient(110deg, #e8f4e9, #f1f8f1);
}

.dashboard-welcome > div {
    position: relative;
    z-index: 1;
}

.dashboard-welcome h2 {
    margin: 0;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 650;
    letter-spacing: -.035em;
}

.dashboard-welcome > div > p:last-child {
    max-width: 540px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.welcome-mark {
    position: absolute;
    right: 30px;
    color: rgba(22, 131, 74, .07);
    font-size: 160px;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.dashboard-section {
    margin-top: 34px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.data-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #e4ebe5;
    border-radius: 999px;
    background: #fff;
    color: #718075;
    font-size: 11px;
}

.data-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b5c1b7;
}

.data-status-error {
    border-color: #f0d4d0;
    background: #fff7f6;
    color: #a3473b;
}

.data-status-error span {
    background: #c75b4b;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.summary-card {
    position: relative;
    min-height: 142px;
    padding: 17px;
    border: 1px solid #e8eee9;
    border-radius: 10px;
    background: #fff;
}

.summary-icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 8px;
    background: #edf6ef;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}

.summary-card p {
    margin: 14px 0 2px;
    color: #68776b;
    font-size: 12px;
}

.summary-card strong {
    display: block;
    color: var(--ink);
    font-size: 24px;
    font-weight: 650;
    line-height: 1.2;
}

.summary-card small {
    color: #9aa69c;
    font-size: 10px;
}

.section-note {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 11px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-feature {
    min-height: 164px;
    padding: 19px;
    border: 1px solid #e8eee9;
    border-radius: 10px;
    background: #fff;
    scroll-margin-top: 20px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.dashboard-feature:hover {
    border-color: #cfe2d2;
    box-shadow: 0 9px 24px rgba(40, 87, 54, .06);
}

.feature-icon {
    display: inline-grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 9px;
    background: #edf6ef;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}

.dashboard-feature h3 {
    margin: 13px 0 5px;
    font-size: 14px;
    font-weight: 650;
}

.dashboard-feature p {
    min-height: 34px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.dashboard-footer {
    position: fixed;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 250px;
    padding: 18px 44px 22px;
    border-top: 1px solid #e7ede8;
    background: #f5f8f5;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.sidebar-collapsed .dashboard-footer {
    left: 0;
}

@media (max-width: 1050px) {
    .dashboard-layout {
        grid-template-columns: 215px minmax(0, 1fr);
    }

    .dashboard-main {
        padding: 0 28px 72px;
    }

    .dashboard-footer {
        left: 215px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dashboard-layout {
        display: block;
    }

    .dashboard-sidebar {
        position: fixed;
        z-index: 11;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(280px, 85vw);
        height: 100vh;
        height: 100dvh;
        padding: 22px 16px;
        border-right: 1px solid #e8eee9;
        box-shadow: 12px 0 35px rgba(29, 48, 37, .08);
        transform: translateX(-105%);
    }

    .dashboard-brand {
        padding: 0 4px;
    }

    .sidebar-label {
        margin-top: 35px;
    }

    .dashboard-nav {
        display: grid;
        gap: 5px;
    }

    .dashboard-nav-link {
        min-height: 44px;
        gap: 12px;
        padding: 0 11px;
        font-size: 13px;
    }

    .dashboard-nav-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .sidebar-bottom {
        display: grid;
    }

    .dashboard-layout.sidebar-open .dashboard-sidebar {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        z-index: 10;
        inset: 0;
        display: block;
        visibility: hidden;
        border: 0;
        background: rgba(25, 42, 31, .32);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .dashboard-layout.sidebar-open .sidebar-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-main {
        padding: 0 20px 72px;
    }

    .dashboard-footer {
        left: 0;
        padding-right: 20px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
        padding-left: 20px;
    }

    .dashboard-topbar {
        min-height: 78px;
    }

    .dashboard-welcome {
        min-height: 155px;
        padding: 23px;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 0 16px 72px;
    }

    .dashboard-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dashboard-user small {
        display: none;
    }

    .dashboard-logout {
        display: inline;
    }

    .dashboard-welcome {
        margin-top: 20px;
        padding: 21px 18px;
    }

    .dashboard-welcome > div > p:last-child {
        max-width: 270px;
        font-size: 12px;
    }

    .welcome-mark {
        right: 8px;
        font-size: 118px;
    }

    .dashboard-section {
        margin-top: 27px;
    }

    .summary-grid {
        gap: 9px;
    }

    .summary-card {
        min-height: 135px;
        padding: 13px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-feature {
        min-height: auto;
    }

    .section-heading {
        align-items: start;
    }

    .section-note {
        max-width: 130px;
        text-align: right;
        line-height: 1.5;
    }
}

.participant-page {
    padding-top: 32px;
}

.participant-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 23px;
}

.participant-heading h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -.035em;
}

.participant-heading > div > p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.participant-add-button,
.participant-save-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    transition: background .18s ease, transform .18s ease;
}

.participant-add-button:hover,
.participant-save-button:hover {
    transform: translateY(-1px);
    background: var(--green-dark);
}

.participant-add-button > span {
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

.participant-panel {
    overflow: hidden;
    border: 1px solid #e8eee9;
    border-radius: 11px;
    background: #fff;
}

.participant-toolbar {
    display: flex;
    min-height: 83px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 19px;
    border-bottom: 1px solid #edf1ed;
}

.participant-toolbar h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 650;
}

.participant-toolbar > div > p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.attendance-admin-filter {
    display: grid;
    grid-template-columns: auto minmax(160px, 230px) auto auto;
    align-items: center;
    gap: 9px;
}

.attendance-admin-filter label {
    color: #536258;
    font-size: 11px;
    font-weight: 650;
}

.attendance-admin-filter select {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid #e3eae4;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
}

.attendance-report-button {
    min-height: 40px;
    text-decoration: none;
    white-space: nowrap;
}

.participant-search {
    display: flex;
    width: min(100%, 270px);
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid #e3eae4;
    border-radius: 8px;
    color: #829086;
}

.participant-search > span[aria-hidden="true"] {
    font-size: 21px;
    line-height: 1;
}

.participant-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
}

.participant-table-scroll {
    overflow-x: auto;
    outline: none;
}

.participant-table-scroll:focus-visible {
    box-shadow: inset 0 0 0 2px var(--green);
}

.participant-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    text-align: left;
}

.registration-table {
    min-width: 650px;
}

.agenda-table {
    min-width: 460px;
}

.dashboard-agenda-table {
    min-width: 520px;
}

.admin-attendance-table {
    min-width: 1120px;
}

.agenda-table th:first-child,
.agenda-table td:first-child {
    width: 80px;
}

.agenda-table th:last-child,
.agenda-table td:last-child {
    width: 190px;
}

.agenda-form-grid {
    grid-template-columns: 1fr;
}

.participant-table th {
    height: 43px;
    padding: 0 14px;
    background: #f8faf8;
    color: #849187;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.participant-table th:first-child,
.participant-table td:first-child {
    padding-left: 19px;
}

.participant-table td {
    height: 67px;
    padding: 9px 14px;
    border-top: 1px solid #edf1ed;
    color: #536258;
    font-size: 12px;
    white-space: nowrap;
}

.participant-photo,
.participant-initials {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #edf6ef;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    object-fit: cover;
}

.registration-photo {
    display: block;
    width: 56px;
    height: 56px;
    border: 1px solid #e3eae4;
    border-radius: 8px;
    background: #f8faf8;
    object-fit: cover;
}

.participant-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.participant-actions form {
    margin: 0;
}

.participant-action-button {
    min-height: 29px;
    padding: 0 9px;
    border: 1px solid #e3eae4;
    border-radius: 6px;
    background: #fff;
    color: #536258;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    transition: background .16s ease, border-color .16s ease;
}

.participant-action-button:hover {
    border-color: #cfe2d2;
    background: #f2f8f3;
    color: var(--green-dark);
}

.participant-action-button.delete:hover {
    border-color: #f0d4d0;
    background: #fff7f6;
    color: #a3473b;
}

.participant-empty,
.participant-search-empty {
    margin: 0;
    padding: 42px 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.participant-search-empty {
    padding-top: 28px;
    padding-bottom: 28px;
}

.participant-empty strong {
    color: var(--green-dark);
}

.participant-feedback {
    margin: 12px 19px 0;
    padding: 9px 11px;
    border-radius: 7px;
    background: #edf6ef;
    color: var(--green-dark);
    font-size: 11px;
}

.participant-feedback.error {
    background: #fff2f0;
    color: #a3473b;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.participant-dialog {
    width: min(100% - 32px, 590px);
    max-height: min(90vh, 760px);
    padding: 0;
    overflow-y: auto;
    border: 1px solid #e8eee9;
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 25px 80px rgba(29, 48, 37, .22);
}

.participant-dialog::backdrop {
    background: rgba(25, 42, 31, .42);
    backdrop-filter: blur(2px);
}

.participant-print-area {
    display: none;
}

.participant-print-card {
    display: flex;
    width: 54mm;
    height: 86mm;
    flex-direction: column;
    overflow: hidden;
    border: .3mm solid #d8e5da;
    border-radius: 3mm;
    background: #fff;
    color: #1d3025;
    font-family: Arial, sans-serif;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.print-card-header {
    display: flex;
    min-height: 11mm;
    flex: 0 0 11mm;
    align-items: center;
    justify-content: space-between;
    padding: 0 4mm;
    background: #105f37;
    color: #fff;
}

.print-card-brand {
    display: flex;
    align-items: center;
    gap: 2mm;
}

.print-card-brand img {
    width: 9mm;
    height: 9mm;
    object-fit: contain;
}

.print-card-brand div {
    display: grid;
    gap: .7mm;
    font-size: 6pt;
    letter-spacing: .2mm;
}

.print-card-brand div strong {
    font-size: 8pt;
}

.print-card-header > span {
    flex: 0 0 auto;
    font-size: 6pt;
    font-weight: 700;
    letter-spacing: .7mm;
    white-space: nowrap;
}

.print-card-content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    gap: 1.5mm;
    padding: 2.5mm 4mm 1.5mm;
}

.print-card-photo {
    display: grid;
    width: 19mm;
    height: 21mm;
    flex: 0 0 21mm;
    place-items: center;
    overflow: hidden;
    border: .3mm solid #dce8de;
    border-radius: 2mm;
    background: #edf6ef;
    color: #105f37;
    font-size: 16pt;
    font-weight: 700;
}

.print-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.print-card-details {
    display: grid;
    min-width: 0;
    width: 100%;
    flex: 0 1 auto;
    gap: .8mm;
    text-align: center;
}

.print-card-details h1 {
    overflow: hidden;
    margin: 0 0 .3mm;
    color: #173b29;
    font-size: 10pt;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.print-card-code-label {
    color: #16834a;
    font-size: 6pt;
    font-weight: 700;
    letter-spacing: .2mm;
}

.print-card-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: .3mm;
    line-height: 1;
}

.print-card-field > span {
    color: #829086;
    font-size: 5pt;
    font-weight: 700;
    letter-spacing: .15mm;
}

.print-card-field > strong {
    overflow: hidden;
    color: #33463a;
    font-size: 6pt;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.print-card-barcode {
    display: grid;
    grid-template-columns: 1fr;
    flex: 0 0 17mm;
    justify-items: center;
    gap: .3mm;
    min-height: 17mm;
    padding: 1mm 4mm;
    border-top: .25mm solid #e5ede6;
}

.print-card-barcode > span {
    color: #829086;
    font-size: 5pt;
    font-weight: 700;
    letter-spacing: .4mm;
}

.participant-barcode {
    display: block;
    width: 82%;
    height: 8mm;
}

.print-card-barcode > strong {
    color: #173b29;
    font-family: "Courier New", monospace;
    font-size: 7pt;
    letter-spacing: .3mm;
}

.participant-form {
    padding: 27px;
    background: #fff;
}

.dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.dialog-heading h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.03em;
}

.dialog-heading > div > p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.dialog-close {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border: 1px solid #e6ece7;
    border-radius: 8px;
    background: #fff;
    color: #69776c;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.dialog-close:hover {
    background: #f4f8f4;
}

.participant-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.participant-form .login-field {
    gap: 7px;
}

.participant-form .login-field label {
    font-size: 12px;
}

.participant-form .login-field label > span[aria-hidden="true"] {
    color: #b34f43;
}

.participant-form .login-field input:not([type="file"]),
.participant-form .login-field select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
}

.participant-form .login-field input[type="file"] {
    width: 100%;
    min-height: 42px;
    padding: 7px;
    border: 1px dashed #cfdcd1;
    border-radius: 8px;
    background: #fbfdfb;
    color: var(--muted);
    font: inherit;
    font-size: 11px;
}

.participant-form .login-field input[type="file"]::file-selector-button {
    margin-right: 9px;
    padding: 6px 9px;
    border: 0;
    border-radius: 5px;
    background: #edf6ef;
    color: var(--green-dark);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 600;
}

.camera-label {
    font-size: 12px;
    font-weight: 600;
}

.camera-label > span {
    color: #b34f43;
}

.registration-camera {
    position: relative;
    display: grid;
    min-height: 220px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dce7de;
    border-radius: 9px;
    background: #17251c;
}

.registration-camera video,
.registration-camera > img {
    display: block;
    width: 100%;
    max-height: 340px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.registration-camera video[hidden],
.registration-camera > img[hidden] {
    display: none;
}

.camera-placeholder {
    padding: 24px;
    color: #d7e2d9;
    font-size: 12px;
    text-align: center;
}

.camera-placeholder[hidden] {
    display: none;
}

.camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.camera-actions button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.camera-actions button[hidden] {
    display: none;
}

.camera-feedback {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.camera-feedback.error {
    color: #a3473b;
}

.optional-label,
.photo-hint {
    color: #89968c;
    font-size: 10px;
    font-weight: 400;
}

.photo-hint {
    margin-top: -2px;
}

.photo-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #536258;
    font-size: 11px;
}

.photo-preview[hidden] {
    display: none;
}

.photo-preview img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.photo-preview button {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #a3473b;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #edf1ed;
}

.participant-cancel-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #e1e9e2;
    border-radius: 8px;
    background: #fff;
    color: #5d6b61;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.participant-cancel-button:hover {
    background: #f7faf7;
}

.participant-save-button {
    min-height: 40px;
}

@media (max-width: 700px) {
    .participant-page {
        padding-top: 25px;
    }
}

@media (max-width: 480px) {
    .participant-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .participant-add-button {
        width: 100%;
    }

    .participant-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .participant-search {
        width: 100%;
    }

    .attendance-admin-filter {
        grid-template-columns: 1fr;
    }

    .attendance-report-button {
        width: 100%;
    }

    .attendance-admin-filter .participant-save-button {
        width: 100%;
    }

    .participant-form {
        padding: 22px 18px;
    }

    .participant-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }
}

@media print {
    @page {
        size: 54mm 86mm;
        margin: 0;
    }

    html,
    body {
        width: 54mm;
        min-width: 54mm;
        height: 86mm;
        min-height: 86mm;
        margin: 0;
        padding: 0;
        background: #fff;
    }

    body.printing-participant-card > *:not(#participant-print-area) {
        display: none !important;
    }

    body.printing-participant-card #participant-print-area {
        position: fixed;
        inset: 0;
        display: block !important;
        width: 54mm;
        height: 86mm;
        margin: 0;
        padding: 0;
    }

    body.printing-participant-card .participant-print-card {
        box-sizing: border-box;
    }
}

.participant-search button {
    padding: 6px 9px;
    border: 0;
    border-radius: 5px;
    background: #edf6ef;
    color: var(--green-dark);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
}

.participant-no-results {
    padding: 28px 18px !important;
    color: var(--muted) !important;
    text-align: center;
}

.participant-dialog {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    width: auto;
    max-height: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.participant-dialog:target,
.participant-dialog.is-open {
    display: flex;
}

.participant-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(25, 42, 31, .48);
    backdrop-filter: blur(2px);
}

.participant-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 590px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 1px solid #e8eee9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(29, 48, 37, .22);
}

.participant-confirm-panel {
    width: min(100%, 440px);
}

.participant-delete-button {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #a3473b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
}

.participant-delete-button:hover {
    background: #87392f;
}

.participant-print-controls {
    width: min(100% - 32px, 520px);
    margin: 28px auto 18px;
    color: var(--muted);
    font-size: 13px;
}

.participant-print-controls p {
    margin: 9px 0 0;
}

body.printing-participant-card .participant-print-area {
    display: block;
    width: 54mm;
    margin: 0 auto 28px;
}

@media (max-width: 480px) {
    .participant-dialog {
        padding: 10px;
    }

    .participant-dialog-panel {
        max-height: calc(100vh - 20px);
    }

    .participant-search {
        flex-wrap: wrap;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}
