@charset "utf-8";

.board-password-page,
.board-password-page * {
    box-sizing: border-box;
}

.board-password-page {
    --board-password-action: var(--mobile-ui-action-primary, #0077b8);
    --board-password-action-pressed: var(--mobile-ui-action-pressed, #043b8b);
    --board-password-selected: var(--mobile-ui-selected, #e8f7fc);
    --board-password-canvas: var(--mobile-ui-canvas, #f5f8fb);
    --board-password-ink: var(--mobile-ui-ink, #293544);
    --board-password-muted: var(--mobile-ui-muted, #506079);
    --board-password-line: var(--mobile-ui-line, #dce5ef);
    width: 100%;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
    background: #fff;
    color: var(--board-password-ink);
    font-family: inherit;
}

.board-password-panel {
    width: min(100%, 45rem);
    margin: 0 auto;
}

.board-password-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--board-password-line);
}

.board-password-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0 0 0.375rem;
    color: var(--board-password-action);
    font-size: var(--mobile-ui-type-meta-size, 0.75rem);
    font-weight: 600;
    line-height: var(--mobile-ui-type-meta-line, 1.4);
}

.board-password-status i {
    width: 0.875rem;
    font-size: 0.6875rem;
    text-align: center;
}

.board-password-header h1 {
    margin: 0;
    color: var(--board-password-ink);
    font-size: var(--mobile-ui-type-detail-title-size, 1.25rem);
    font-weight: var(--mobile-ui-type-page-title-weight, 700);
    line-height: var(--mobile-ui-type-title-line, 1.4);
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.board-password-description {
    margin: 0.5rem 0 0;
    color: var(--board-password-muted);
    font-size: var(--mobile-ui-type-description-size, 0.875rem);
    line-height: var(--mobile-ui-type-description-line, 1.6);
    word-break: keep-all;
}

.board-password-form,
.board-password-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.board-password-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--board-password-ink);
    font-size: var(--mobile-ui-type-action-size, 0.8125rem);
    font-weight: var(--mobile-ui-type-action-weight, 600);
    line-height: 1.5;
}

.board-password-form input[type="password"] {
    display: block;
    width: 100%;
    min-height: 3.25rem;
    padding: 0 0.875rem;
    border: 1px solid var(--board-password-line);
    border-radius: 0.75rem;
    outline: 0;
    background: #fff;
    color: var(--board-password-ink);
    font: inherit;
    font-size: var(--mobile-ui-type-body-size, 0.9375rem);
    font-weight: var(--mobile-ui-type-body-weight, 400);
    line-height: 1.5;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.board-password-form input[type="password"]::placeholder {
    color: var(--board-password-muted);
    opacity: 0.72;
}

.board-password-form input[type="password"]:focus-visible {
    border-color: var(--board-password-action);
    box-shadow: 0 0 0 3px rgba(0, 119, 184, 0.14);
}

.board-password-hint {
    margin: 0.5rem 0 0;
    color: var(--board-password-muted);
    font-size: var(--mobile-ui-type-meta-size, 0.75rem);
    font-weight: var(--mobile-ui-type-meta-weight, 500);
    line-height: var(--mobile-ui-type-meta-line, 1.4);
    word-break: keep-all;
}

.board-password-local-hint {
    margin: 0.75rem 0 0;
    padding: 0.75rem;
    border-radius: 0.625rem;
    background: var(--board-password-selected);
    color: var(--board-password-muted);
    font-size: var(--mobile-ui-type-meta-size, 0.75rem);
    font-weight: var(--mobile-ui-type-meta-weight, 500);
    line-height: var(--mobile-ui-type-description-line, 1.6);
    word-break: keep-all;
}

.board-password-local-hint strong,
.board-password-local-hint code {
    color: var(--board-password-action);
    font: inherit;
    font-weight: 700;
}

.board-password-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.board-password-actions a,
.board-password-actions button {
    display: flex;
    min-width: 0;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    border: 1px solid var(--board-password-action);
    border-radius: 0.75rem;
    font: inherit;
    font-size: var(--mobile-ui-type-action-size, 0.8125rem);
    font-weight: var(--mobile-ui-type-action-weight, 600);
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.board-password-actions a {
    background: #fff;
    color: var(--board-password-action) !important;
}

.board-password-actions button {
    background: var(--board-password-action);
    color: #fff;
}

.board-password-actions a:active {
    background: var(--board-password-selected);
}

.board-password-actions button:active {
    border-color: var(--board-password-action-pressed);
    background: var(--board-password-action-pressed);
}

.board-password-actions a:focus-visible,
.board-password-actions button:focus-visible {
    outline: 3px solid var(--board-password-action-pressed);
    outline-offset: 2px;
}

@media (max-width: 359px) {
    .board-password-page {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }
}
