/* =========================================================
   ARTICLE EDITOR: section field + editor's choice flags
   ========================================================= */

.editor-flags {
    margin: 16px 0 0;
    padding: 14px 0 0;

    border: 0;
    border-top: 1px solid #e8ebe7;
}

.editor-flags[hidden] {
    display: none;
}

.editor-flags legend {
    padding: 0;
    margin-bottom: 10px;

    color: #1d271f;

    font-size: 13px;
    font-weight: 700;
}

.editor-flag {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 10px;

    cursor: pointer;
}

.editor-flag input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;
    margin: 2px 0 0;

    accent-color: #412e03;
}

.editor-flag span {
    display: grid;
    gap: 1px;

    color: #6d766f;

    font-size: 12px;
    line-height: 1.4;
}

.editor-flag strong {
    color: #1d271f;

    font-size: 13px;
}


/* ---------------------------------------------------------
   Editor's choice dropdowns ("Also show it in",
   "Pin to the top of"): plain, like the News Explore menu
   --------------------------------------------------------- */

.choice-field {
    display: grid;
    gap: 6px;

    margin-bottom: 16px;
}

.choice-label {
    color: #1d271f;

    font-size: 13px;
    font-weight: 700;
}

.choice-help {
    color: #6d766f;

    font-size: 12px;
    line-height: 1.4;
}

.multi-pick {
    position: relative;
}

.multi-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    min-height: 44px;
    padding: 8px 12px;

    background: #ffffff;
    border: 1px solid #dfe3de;

    color: #6d766f;

    font: inherit;
    font-size: 14px;
    text-align: left;

    cursor: pointer;
}

.multi-pick.has-choice .multi-button {
    color: #1d271f;

    font-weight: 600;
}

.multi-button:hover,
.multi-pick.is-open .multi-button {
    border-color: #412e03;
}

.multi-button:focus-visible {
    outline: 2px solid #412e03;
    outline-offset: 2px;
}

.multi-summary {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-button svg {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    fill: none;
    stroke: #555555;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.2s ease;
}

.multi-pick.is-open .multi-button svg {
    transform: rotate(180deg);
}

/* Opens in place (pushes the fields below down), so it never
   covers the next dropdown */
.multi-panel {
    display: grid;

    max-height: 290px;
    padding: 6px 0;

    overflow-y: auto;

    background: #ffffff;
    border: 1px solid #412e03;
    border-top: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.multi-panel[hidden] {
    display: none;
}

.multi-option {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 9px 12px;

    color: #333333;

    font-size: 14px;

    cursor: pointer;
}

.multi-option:hover {
    background: #f5f5f5;
}

.multi-option input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;
    margin: 0;

    accent-color: #412e03;
}

.multi-empty {
    margin: 0;
    padding: 10px 12px;

    color: #6d766f;

    font-size: 13px;
}
