/* Compact site identity followed by the light ScreenSingleWord layout. */
.compact-site-header {
    color: #ffffff;
    background:
        radial-gradient(circle at 72% -160%, rgba(255, 255, 255, 0.22), transparent 48%),
        linear-gradient(135deg, #8e54e9, #6e48aa);
    box-shadow: 0 1px 0 rgba(42, 21, 77, 0.18);
}

.compact-header-content {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.compact-nav-clouds {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
}

.compact-site-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
    gap: 3px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-locale-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-locale-nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0 7px;
    box-sizing: border-box;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-locale-nav-item.is-active,
.site-locale-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.compact-site-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.compact-site-nav-item i {
    width: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    text-align: center;
}

.store-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-self: end;
    gap: 8px;
}

.store-links a {
    height: 39px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.92;
    transition: opacity 160ms ease, transform 160ms ease;
}

.store-links a:hover {
    opacity: 1;
    transform: translateX(2px);
}

.store-links img {
    width: 130px;
    height: 39px;
    display: block;
}

.site-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 10px;
    color: #ffffff;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand:hover {
    color: #ffffff;
}

.site-brand-logo {
    width: 42px;
    height: 46px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.verb-main,
.verb-main * {
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.verb-main {
    min-height: 100vh;
    padding: 0 0 24px;
    color: #000000;
    background: #ffffff;
}

.verb-container {
    max-width: 760px;
    padding-right: 16px;
    padding-left: 16px;
}

.verb-summary {
    margin-top: 12px;
    margin-bottom: 12px;
}

.verb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 8px;
    color: #7b4397;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.verb-back-link + .verb-summary {
    margin-top: 6px;
}

.verb-back-link:hover,
.verb-back-link:focus {
    text-decoration: none;
}

.summary-topline {
    display: flex;
    align-items: flex-start;
}

.summary-copy p,
.summary-translation {
    margin: 0;
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
}

.summary-copy p {
    font-size: 14px;
}

.summary-copy strong {
    font-family: Arial, sans-serif;
    font-weight: 500;
}

.summary-forms {
    display: grid;
    gap: 2px;
    margin-top: 12px;
    margin-bottom: 6px;
}

.summary-form-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.summary-hebrew {
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.12;
}

.summary-hebrew-empty {
    color: #78909c;
}

.summary-transcription {
    color: #9658b9;
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
}

.summary-transcription b {
    color: #de4b6a;
    font-weight: 600;
}

.summary-translation {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 500;
}

.summary-alternative {
    margin: 2px 0 0;
    color: #607d8b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.summary-alternative a {
    color: #9658b9;
    font-weight: 700;
    text-decoration: none;
}

.summary-alternative a:hover {
    text-decoration: underline;
}

.binyan-indicator {
    position: relative;
    width: 52px;
    height: 37px;
    flex: 0 0 52px;
    margin: 5px 0 0 8px;
}

.binyan-light {
    position: absolute;
    width: 6px;
    height: auto;
    display: block;
    filter: invert(84%) sepia(10%) saturate(160%) hue-rotate(167deg) brightness(96%) contrast(91%);
}

.binyan-light.is-active {
    filter: invert(52%) sepia(46%) saturate(783%) hue-rotate(74deg) brightness(90%) contrast(88%);
}

.binyan-menorah {
    position: absolute;
    top: 16px;
    left: 2px;
    height: 21px;
    width: auto;
    display: block;
    filter: invert(87%) sepia(9%) saturate(537%) hue-rotate(152deg) brightness(93%) contrast(90%);
}

.conjugation-section,
.related-section,
.verb-message {
    margin-top: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
}

.conjugation-section {
    border: 1px solid #eceff1;
    border-radius: 14px;
}

.related-section,
.verb-message {
    border: 1px solid #eceff1;
    border-radius: 14px;
}

.conjugation-section h2,
.related-section h2 {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0 8px;
    color: #000000;
    background: #eceff1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.conjugation-section h2 {
    border-bottom: 1px solid #eceff1;
}

.form-table-scroll {
    overflow: visible;
}

.form-table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: fixed;
    border: 0;
}

.form-table-1 {
    min-width: 0;
}

.form-table-2 {
    min-width: 0;
}

.form-table-3 {
    min-width: 0;
}

.form-table-past-third-person {
    min-width: 0;
}

.form-table-4 {
    min-width: 0;
}

.form-table th {
    height: auto;
    box-sizing: border-box;
    padding: 8px 6px;
    color: #000000;
    background: #f4f6f7;
    border-right: 1px solid #eceff1;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.form-table thead th {
    border-bottom: 1px solid #eceff1;
}

.form-table th:last-child {
    border-right: 0;
}

.form-table td {
    min-height: 0;
    box-sizing: border-box;
    padding: 4px 6px 7px;
    text-align: center;
    vertical-align: top;
    border-right: 1px solid #eceff1;
}

.form-table td:last-child {
    border-right: 0;
}

.form-variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 4px 4px 0;
}

.form-variant + .form-variant {
    padding-top: 4px;
}

.form-variant-head,
.form-missing-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.form-dialog-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.form-dialog-trigger,
.form-dialog-trigger *,
.form-dialog-trigger:hover *,
.form-dialog-trigger:active *,
.form-dialog-trigger:focus-visible * {
    text-decoration: none !important;
}

.form-dialog-trigger:hover,
.form-dialog-trigger:active,
.form-dialog-trigger:visited,
.form-dialog-trigger:hover .form-hebrew,
.form-dialog-trigger:hover .form-transcription,
.form-dialog-trigger:active .form-hebrew,
.form-dialog-trigger:active .form-transcription {
    color: inherit;
    text-decoration: none;
}

.form-dialog-trigger:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(150, 88, 185, 0.18);
    border-radius: 8px;
}

.form-content-muted {
    opacity: 0.5;
}

.form-hebrew {
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 400;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: anywhere;
}

.form-transcription {
    display: block;
    height: auto;
    color: #000000;
    font-size: clamp(11px, 2.6vw, 13px);
    font-weight: 500;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.form-transcription b {
    color: #de4b6a;
    font-weight: 600;
}

.infinitive-section .form-cell {
    background: rgba(67, 160, 71, 0.4);
}

.infinitive-section .form-variant {
    padding: 4px;
}

.form-cell-dictionary {
    background: rgba(150, 88, 185, 0.2);
}

.form-cell-dictionary .form-label {
    background: #f4f6f7;
}

.form-cell-missing {
    color: #000000;
    vertical-align: middle !important;
}

.form-empty {
    color: #000000;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 400;
}

.cell-info-button {
    width: 15px;
    min-width: 15px;
    height: 15px;
    min-height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 0;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: #9658b9;
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.cell-info-button:hover {
    background: rgba(150, 88, 185, 0.08);
    transform: translateY(-1px);
}

.cell-info-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(150, 88, 185, 0.18);
}

.cell-info-muted {
    color: #90a4ae;
}

.cell-info-green {
    color: #43a047;
}

.cell-info-blue {
    color: #1e88e5;
}

.cell-info-orange {
    color: #fb8c00;
}

.cell-info-popover {
    position: fixed;
    z-index: 1000;
    width: min(260px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 10px 12px;
    color: #263238;
    background: #ffffff;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(27, 39, 51, 0.18);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.cell-info-popover-primary {
    border-color: rgba(150, 88, 185, 0.4);
}

.cell-info-popover-muted {
    border-color: rgba(144, 164, 174, 0.5);
}

.cell-info-popover-green {
    border-color: rgba(67, 160, 71, 0.45);
}

.cell-info-popover-blue {
    border-color: rgba(30, 136, 229, 0.45);
}

.cell-info-popover-orange {
    border-color: rgba(251, 140, 0, 0.45);
}

.cell-info-popover-content {
    overflow-wrap: anywhere;
}

.form-detail-backdrop[hidden],
.copy-toast[hidden] {
    display: none !important;
}

.form-detail-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(38, 50, 56, 0.2);
}

.form-detail-dialog {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 18px 18px 14px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(27, 39, 51, 0.22);
}

.form-detail-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: #f4f6f7;
    color: #607d8b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.form-detail-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-detail-title {
    margin: 0 0 2px;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.form-detail-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    --copy-icon-offset: 0px;
    gap: 8px;
    min-height: 40px;
    padding: 0;
    color: #000000;
    cursor: default;
}

.form-detail-copy-primary {
    min-height: 54px;
}

#copy-row-hebrew-full {
    --copy-icon-offset: 4px;
}

#copy-row-hebrew-plain {
    --copy-icon-offset: 2px;
}

.form-detail-copy-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    line-height: 0;
    cursor: pointer;
    transform: translateY(var(--copy-icon-offset));
}

.form-detail-copy-action:hover {
    background: transparent;
}

.form-detail-copy-action:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(150, 88, 185, 0.18);
    border-radius: 999px;
}

.form-detail-copy-action img {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.form-detail-hebrew {
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
}

.form-detail-hebrew-plain {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
}

.form-detail-transcription {
    color: #000000;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.form-detail-transcription b {
    color: #de4b6a;
    font-weight: 700;
}

.form-detail-copy-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.form-detail-copy-icon-large {
    width: 30px;
    height: 30px;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 1200;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(38, 50, 56, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transform: translateX(-50%);
}

.copy-toast.is-visible {
    animation: copy-toast-in 180ms ease;
}

@keyframes copy-toast-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.form-table-past-third-person td:first-child,
.form-table-past-third-person th:first-child {
    width: 50%;
}

.form-table-past-third-person td:nth-child(2),
.form-table-past-third-person td:nth-child(3),
.form-table-past-third-person th:nth-child(2),
.form-table-past-third-person th:nth-child(3) {
    width: 25%;
}

.related-section {
    margin-top: 8px;
}

.related-section h2 {
    border-bottom: 1px solid #eceff1;
    gap: 0;
}

.related-title-root {
    unicode-bidi: isolate;
}

.related-section .related-info-button {
    flex: 0 0 auto;
    margin-left: 5px;
    color: #78909c;
    transform: translateY(1px);
}

.related-section .related-info-button:hover {
    background: rgba(120, 144, 156, 0.08);
    transform: translateY(0);
}

.related-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-section li + li {
    border-top: 1px solid #eceff1;
}

.related-section li {
    padding: 8px;
}

.related-section a {
    display: inline;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
}

.related-link {
    cursor: pointer;
}

.related-section a:hover {
    text-decoration: underline;
    text-decoration-color: #9658b9;
}

.related-hebrew-group {
    direction: ltr;
    unicode-bidi: isolate;
}

.related-hebrew {
    color: #9658b9;
    font-family: Arial, sans-serif;
}

.related-inline-separator {
    color: #9658b9;
}

.related-meta {
    color: #000000;
}

.related-separator {
    display: inline-block;
    color: #000000;
}

.related-meta-muted {
    color: #78909c;
}

.related-empty {
    margin: 0;
    padding: 8px;
    color: #78909c;
    font-size: 12px;
}

.verb-message {
    padding: 32px 16px;
    border: 1px solid #eceff1;
    text-align: center;
}

.verb-message h1 {
    margin: 0 0 8px;
    font-size: 18px;
}

.verb-message p {
    margin: 0;
    color: #78909c;
}

.primary-link {
    display: inline-block;
    margin-top: 12px;
    color: #9658b9;
}

@media (max-width: 1520px) {
    .compact-header-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .site-brand {
        text-align: center;
        line-height: 1.08;
    }

    .compact-nav-clouds {
        gap: 9px;
    }

    .compact-site-nav-item {
        padding-right: 9px;
        padding-left: 9px;
    }
}

@media (max-width: 1180px) {
    .compact-nav-clouds {
        gap: 8px;
    }

    .compact-site-nav {
        flex: 0 1 auto;
    }

    .compact-site-nav-item {
        gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .site-locale-nav-item {
        min-width: 30px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 11px;
    }
}

@media (max-width: 860px) {
    .compact-nav-clouds {
        width: fit-content;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 9px;
    }

    .compact-site-nav {
        width: auto;
        max-width: 100%;
        flex-wrap: wrap;
        border-radius: 22px;
    }

    .site-locale-nav {
        border-radius: 22px;
    }

    .compact-site-nav-item {
        flex: 0 1 auto;
    }
}

@media (max-width: 680px) {
    .compact-header-content {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 13px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .compact-site-nav {
        width: min(100%, 360px);
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .compact-nav-clouds {
        width: 100%;
        flex-direction: column;
        gap: 9px;
    }

    .site-locale-nav {
        border-radius: 18px;
    }

    .compact-site-nav-item {
        flex: 1 1 calc(50% - 3px);
        justify-content: center;
        min-height: 34px;
        padding: 0 9px;
    }

    .store-links {
        flex-direction: column;
        gap: 8px;
    }

    .store-links img {
        width: 130px;
        height: 39px;
    }

    .store-links a {
        height: 39px;
    }

    .site-brand {
        justify-content: center;
        justify-self: auto;
        align-items: center;
        gap: 10px;
        font-size: 1.65rem;
        line-height: 1.08;
    }

    .site-brand-logo {
        width: 42px;
        height: 46px;
    }

    .verb-container {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 520px) {
    .verb-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .conjugation-section h2,
    .related-section h2 {
        min-height: 32px;
        height: auto;
        padding-top: 9px;
        padding-bottom: 9px;
        line-height: 1.2;
    }

    .form-table td {
        padding-right: 4px;
        padding-left: 4px;
    }
}
