.site-header .header-actions .f1ec-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 .68em;
    border: 1px solid #173c31;
    border-radius: 7px;
    color: #173c31;
    background: #f4e5b5;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
}
.site-header .f1ec-nav-link:hover,
.site-header .f1ec-nav-link[aria-current="page"] { text-decoration: underline; }
body.f1b-identity:has(.f1ec-page) .site-header {
    position: relative !important;
    inset: auto !important;
}
.f1ec-page {
    --f1ec-ink: #12362c;
    --f1ec-forest: #082d25;
    --f1ec-gold: #eed28f;
    --f1ec-sand: #f8f4e9;
    --f1ec-rule: #cfd9d1;
    direction: rtl;
    background: #fff;
    color: var(--f1ec-ink);
    line-height: 1.8;
}
.f1ec-hero {
    background: var(--f1ec-forest);
    color: #fff;
    padding-block: clamp(1.6rem, 4.2vw, 4rem);
}
.f1ec-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.2rem, 4vw, 3.2rem);
}
.f1ec-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.8rem, 4.6vw, 4.1rem);
    line-height: 1.25;
}
.f1ec-intro > div > p { max-width: 33rem; margin-block: .7rem 1rem; }
.f1ec-page .f1ec-button {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    background: var(--f1ec-gold);
    color: var(--f1ec-forest);
    padding: .75rem 1.15rem;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.f1ec-page :focus-visible { outline: 3px solid #a66e18; outline-offset: 3px; }
.f1ec-content { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); padding-block: 1.4rem 2.5rem; }
.f1ec-content h2 { margin: 0 0 .65rem; line-height: 1.4; }
.f1ec-options, .f1ec-request, .f1ec-form { display: grid; gap: 1rem; }
.f1ec-options { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: .65rem 0; }
.f1ec-options div { border-block-start: 1px solid var(--f1ec-rule); padding-block-start: .85rem; }
.f1ec-options dt, .f1ec-field label { font-weight: 800; }
.f1ec-options dd { margin: .25rem 0 0; }
.f1ec-examples {
    background: var(--f1ec-sand);
    color: var(--f1ec-ink);
    border-radius: 10px;
    overflow: hidden;
}
.f1ec-examples-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .3rem;
    padding: .2rem .7rem;
}
.f1ec-examples-bar h2 { margin: 0; color: inherit; font-size: clamp(.82rem, 2vw, 1rem); }
.f1ec-story-controls:not([hidden]) { display: flex; }
.f1ec-story-controls button {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--f1ec-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.f1ec-story-controls button:hover { background: #eadfbf; }
.f1ec-example[hidden] { display: none; }
.f1ec-example a { display: block; color: inherit; text-decoration: none; }
.f1ec-example a:focus-visible { outline-offset: -4px; }
.f1ec-example a:hover h3 { text-decoration: underline; }
.f1ec-story-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.f1ec-example h3 {
    margin: 0;
    padding: .65rem .85rem;
    min-height: 3em;
    box-sizing: content-box;
    color: inherit;
    font-size: clamp(.95rem, 1.65vw, 1.25rem);
    line-height: 1.5;
}
.f1ec-request {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: clamp(.85rem, 3vw, 2.2rem);
    scroll-margin-block-start: 7rem;
    border-block-start: 3px solid var(--f1ec-forest);
    background: #f3f7f3;
    padding: clamp(.9rem, 2.7vw, 1.8rem);
}
.f1ec-request > div > p { margin-block: .4rem; }
.f1ec-form-hint { font-size: .9rem; }
.f1ec-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f1ec-wide { grid-column: 1 / -1; }
.f1ec-field label { display: block; margin-block-end: .25rem; }
.f1ec-field :is(input, select, textarea) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .6rem .7rem;
    border: 1px solid #82978b;
    border-radius: 6px;
    background: white;
    color: var(--f1ec-ink);
    font: inherit;
}
.f1ec-field textarea { resize: vertical; }
.f1ec-field :is([type="email"], [type="url"], [type="tel"]) { direction: ltr; }
.f1ec-notice { margin: 0; padding: .85rem 1rem; background: #edf5ef; align-self: start; }
.f1ec-error { color: #8a2119; }
.f1ec-notice.f1ec-error { background: #fff1ee; }
@media (max-width: 740px) {
    .f1ec-intro, .f1ec-options, .f1ec-request { grid-template-columns: 1fr; }
    .f1ec-options { gap: .55rem; }
    .f1ec-options div { padding-block-start: .5rem; }
}
@media (max-width: 540px) {
    body.f1b-identity .site-header:has(.f1brand-user-actions .f1ec-nav-link) {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
    }
    body.f1b-identity .site-header .header-inner:has(.f1brand-user-actions .f1ec-nav-link) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 5px 8px;
        height: auto !important;
        min-height: 0 !important;
        padding-block: 6px 8px !important;
    }
    body.f1b-identity .site-header .header-actions:has(.f1brand-user-actions .f1ec-nav-link) {
        display: contents !important;
    }
    body.f1b-identity .site-header .f1brand-user-actions:has(.f1ec-nav-link) {
        grid-area: 2 / 1 / 3 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }
    body.f1b-identity .site-header .header-actions .search-toggle { grid-area: 1 / 2; }
    body.f1b-identity .site-header .header-actions .menu-toggle { grid-area: 1 / 3; }
    body.f1b-identity .site-header .header-actions :is(.search-toggle, .menu-toggle) {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    .f1ec-request { scroll-margin-block-start: 1rem; }
    .f1ec-form .f1ec-button { width: 100%; }
}
@media (max-width: 480px) {
    .f1ec-form { grid-template-columns: 1fr; }
    .site-header .header-actions .f1ec-nav-link { font-size: .72rem; padding-inline: .36em; }
}
