.hedera-help,
[data-white-control-role="help"] {
    font-size:0!important;
}
.hedera-help > *,
[data-white-control-role="help"] > * {
    display:none!important;
}
.hedera-help::before,
[data-white-control-role="help"]::before {
    content:"?";
    font-size:15px;
    font-weight:700;
    line-height:1;
}
html body .hedera-white-controls [data-white-control-role="excel"],
[data-white-control-role="excel"] {
    background:#198754!important;
    border-color:#198754!important;
    color:#fff!important;
}
html body .hedera-white-controls [data-white-control-role="excel"] :is(i,span),
[data-white-control-role="excel"] :is(i,span) { color:inherit!important; }
html body .hedera-white-controls [data-white-control-role="excel"]:hover,
[data-white-control-role="excel"]:hover { background:#157347!important; }
/*
 * Shared contract for intentional section headings only. Native summaries
 * remain native; chart controls, inline table disclosures, and form rows are
 * deliberately excluded.
 */
.hedera-section-header,
.hedera-native-summary {
    position: relative;
    background: #fff !important;
    color: #15231f !important;
}
.hub-main .mod > .mod-head {
    padding-right: 58px !important;
}
.hedera-section-header .hct-title,
.hedera-section-header h2,
.hedera-section-header h3,
.hedera-section-header h4 { color: #15231f !important; }
.hedera-section-toggle {
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border: 1px solid #cbd8d3 !important;
    border-radius: 8px !important;
    background: #f4f8f6 !important;
    color: #14221e !important;
    cursor: pointer;
    line-height: 1;
}
.hedera-section-toggle:hover { background: #e7f0ec !important; }
.hedera-section-toggle:focus-visible {
    outline: 2px solid #216b57;
    outline-offset: 2px;
}
.hedera-section-toggle i { transition: transform .18s ease; }
.hedera-section-header[aria-expanded="false"] > .hedera-section-toggle i,
.hedera-section-header[aria-expanded="false"] .hedera-section-toggle i {
    transform: rotate(90deg);
}
.hedera-heading-icon,
.hedera-heading-mark {
    color: #000 !important;
    font-size: 11px !important;
    line-height: 1;
    flex: 0 0 auto;
}
.hedera-heading-mark {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 7px;
    border-radius: 50%;
    background: #000;
}
.hedera-heading-mark::before { content: none !important; }

/* A summary remains the one native activation target. The pseudo-element is
   only its visible, button-styled affordance; no nested interactive element. */
details > summary.hedera-native-summary {
    position: relative;
    padding-right: 54px !important;
    list-style: none;
}
details > summary.hedera-native-summary::-webkit-details-marker { display: none; }
details > summary.hedera-native-summary::after {
    content: "⌄" !important;
    position: absolute;
    right: 14px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    margin: 0;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #f4f8f6;
    color: #14221e;
    font-size: 17px;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .18s ease;
}
details:not([open]) > summary.hedera-native-summary::after {
    transform: translateY(-50%) rotate(90deg);
}
details > summary.hedera-native-summary.hedera-native-summary-has-caret::after { display: none; }
details > summary.hedera-native-summary > .company-growth-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    margin: 0;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #f4f8f6;
    color: #14221e !important;
    font-size: 14px;
    transform: translateY(-50%);
}
details:not([open]) > summary.hedera-native-summary > .company-growth-caret {
    transform: translateY(-50%) rotate(90deg);
}
details > summary.hedera-native-summary > .hedera-heading-icon { color: #000 !important; }
details.company-growth-section > summary .hedera-heading-icon {
    color: #000 !important;
}

.brand-insight-intro,
.brand-market-head,
.acc-card-h,
.ctrl-card-header,
.tk-head,
.hct-toolbar,
.atc-static-section-head,
.mod-sub.hedera-paired-heading,
.card > .card-header.hedera-section-header,
body #ai-mod .ai-section-heading,
.ai-section-heading {
    position: relative;
}
.brand-insight-intro,
.brand-market-head,
.acc-card-h,
.ctrl-card-header,
.tk-head {
    padding-right: 52px !important;
}
.brand-insight-intro > .hedera-section-toggle,
.brand-market-head > .hedera-section-toggle,
.acc-card-h > .hedera-section-toggle,
.ctrl-card-header > .hedera-section-toggle,
.tk-head > .hedera-section-toggle,
.brand-insight-intro .brand-insight-toggle,
.brand-market-head .brand-market-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    transform: translateY(-50%);
}
.brand-insight-intro .brand-insight-toggle,
.brand-market-head .brand-market-toggle {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #cbd8d3 !important;
    border-radius: 8px !important;
    background: #f4f8f6 !important;
    color: #14221e !important;
}
.brand-market-head .brand-market-toggle i,
.brand-insight-intro .brand-insight-toggle i { color: #000 !important; }

.hct-toolbar.hedera-section-header {
    padding-right: 52px !important;
}
.hct-toolbar.hedera-section-header > .hct-collapse {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    display: inline-grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #cbd8d3 !important;
    border-radius: 8px !important;
    background: #f4f8f6 !important;
    color: #14221e !important;
    transform: translateY(-50%);
}
.hct-toolbar.hedera-section-header > .hct-collapse i { color: #000 !important; }
.hct-toolbar[aria-expanded="false"] > .hct-collapse i {
    transform: rotate(90deg);
}
.atc-static-section.is-collapsed > .atc-static-section-head > .atc-static-section-toggle i {
    transform: rotate(90deg);
}

.card > .card-header.hedera-section-header {
    padding-right: 52px !important;
}
.card > .card-header.hedera-section-header > .hedera-section-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    transform: translateY(-50%);
}

.atc-static-section-head {
    padding-right: 54px !important;
    cursor: pointer;
}
.atc-static-section-head > .atc-static-section-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    display: inline-grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #cbd8d3 !important;
    border-radius: 8px !important;
    background: #f4f8f6 !important;
    color: #14221e !important;
    transform: translateY(-50%);
}
.atc-static-section-head > .atc-static-section-toggle i { color: #000 !important; }
.atc-static-section-body[hidden] { display: none !important; }

.mod-sub.hedera-paired-heading {
    min-height: 42px;
    padding: 8px 48px 8px 12px !important;
    border: 1px solid #dce7e3;
    border-radius: 10px;
    background: #fff;
    color: #15231f !important;
    cursor: pointer;
}
.mod-sub.hedera-paired-heading > .hedera-section-toggle {
    position: absolute !important;
    right: 7px !important;
    top: 50%;
    transform: translateY(-50%);
}
.mod-sub.hedera-paired-heading > .hedera-heading-icon { color: #000 !important; }
body #ai-mod .ai-section-heading,
.ai-section-heading {
    padding-right: 52px !important;
    cursor: pointer;
}
.ai-section-heading > .hedera-section-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50%;
    transform: translateY(-50%);
}
.ai-section-heading > .hedera-heading-icon { color: #000 !important; }

.mod > .mod-head { position: relative; padding-right: 58px !important; }
.mod > .mod-head > .m-ic {
    color: #000 !important;
    font-size: 11px !important;
    background: transparent !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
}
.mod > .mod-head > .m-ic i { color: #000 !important; font-size: 11px !important; }
.mod-head > .m-tools .mod-toggle,
.mod-head > .mod-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    transform: translateY(-50%);
    display: inline-grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #cbd8d3 !important;
    border-radius: 8px !important;
    background: #f4f8f6 !important;
    color: #000 !important;
}
.hedera-section-header { cursor: pointer; }

/* History ranges and forecast horizons belong to the white section heading.
   The heading may grow to a second line instead of clipping date controls. */
.hedera-native-range-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #dce7e3;
    border-radius: 10px;
    background: #fff !important;
    color: #15231f !important;
}
.hedera-native-range-header .hedera-history-range-controls {
    margin-inline-start: auto;
}
.hct-toolbar.hedera-section-header:has(.hct-history-range),
.hedera-section-header:has(.hedera-history-range-controls),
.card-header:has(.hedera-suite-header-controls),
summary:has(.hedera-suite-header-controls),
.mod-head:has(.hedera-suite-header-controls) {
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    min-height: 48px;
}
.hct-history-range,
.hedera-history-range-controls,
.hedera-suite-header-controls {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    color: #15231f;
    cursor: default;
    direction: rtl;
}
.hedera-suite-header-controls { margin-inline-start: auto; }
.hct-history-range label,
.hedera-history-range-controls label,
.hedera-horizon-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: .76rem;
    font-weight: 500;
}
.hedera-suite-header-controls select,
.hedera-history-range-controls select,
.hct-history-range select {
    width: auto;
    max-width: 160px;
    min-height: 32px;
    background-color: #fff;
    color: #15231f;
    border: 1px solid #cbd8d3;
    border-radius: 7px;
    font-size: .76rem;
}
.hedera-suite-method-controls {
    padding-top: 8px;
    color: inherit;
}
summary:has(.hedera-suite-header-controls) {
    display: flex;
    align-items: center;
}
.hedera-horizon-control[hidden] { display: none !important; }
@media (max-width: 560px) {
    .hedera-suite-header-controls,
    .hedera-history-range-controls,
    .hct-history-range {
        flex: 1 1 100%;
        margin-inline-start: 0;
        white-space: normal;
    }
    .brand-market-head.hedera-section-header,
    .brand-insight-intro.hedera-section-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .brand-market-head.hedera-section-header > div:first-child,
    .brand-insight-intro.hedera-section-header > div:first-child {
        flex: 1 1 100%;
        min-width: 0;
    }
    .brand-market-head.hedera-section-header > .brand-insight-head-tools,
    .brand-insight-intro.hedera-section-header > .brand-insight-head-tools {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
}
.acc-card-h > .hedera-section-toggle,
.ctrl-card-header > .hedera-section-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    transform: translateY(-50%);
}
.acc-card > .acc-card-b[hidden],
.ctrl-card > .ctrl-card-body[hidden],
.tk-body[hidden],
.hedera-paired-body[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    .hedera-section-toggle i,
    details > summary.hedera-native-summary::after { transition: none !important; }
}

/* Forecast selectors and model toggles may be moved into a normalized white
   heading bar; the legacy method-row skin below remains for other contexts. */
.card-header:has(.hedera-suite-header-controls),
summary:has(.hedera-suite-header-controls),
.mod-head:has(.hedera-suite-header-controls),
.hct-toolbar:has(.hedera-suite-header-controls) {
    background: #fff !important;
    color: #15231f !important;
    border-color: #dce7e3 !important;
}
.hedera-suite-header-controls,
.hedera-suite-header-controls label,
.hedera-history-range-controls,
.hedera-history-range-controls label,
.hct-history-range,
.hct-history-range label {
    color: #15231f !important;
}
.hedera-suite-header-controls select,
.hedera-history-range-controls select,
.hct-history-range select {
    background-color: #fff !important;
    color: #15231f !important;
    border-color: #bdcec7 !important;
    color-scheme: light;
}
.hedera-suite-header-controls select option,
.hedera-history-range-controls select option,
.hct-history-range select option {
    background: #fff;
    color: #15231f;
}
.hedera-suite-header-controls :focus-visible,
.hedera-history-range-controls :focus-visible,
.hct-history-range :focus-visible {
    outline: 2px solid #216b57;
    outline-offset: 2px;
}

.hedera-suite-method-controls {
    gap: 8px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(146, 178, 166, .25);
    border-radius: 10px;
    background: rgba(9, 18, 25, .72);
    color: #edf6f2 !important;
}
.hedera-suite-method-controls .hedera-methods {
    display: contents;
}
.hedera-suite-method-controls .hedera-methods > label {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #edf6f2 !important;
    font-size: .84rem !important;
    font-weight: 650;
    line-height: 1.55;
    cursor: pointer;
}
.hedera-suite-method-controls .hedera-methods > label > span {
    flex: 0 0 13px;
    width: 13px !important;
    height: 13px !important;
    margin: 0 2px !important;
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 0 0 1px rgba(8, 18, 24, .48);
}
.hedera-suite-method-controls input[type="checkbox"] {
    accent-color: #55c5a0;
}
.hedera-suite-method-controls .hedera-selectall {
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #65c6a6 !important;
    border-radius: 7px;
    background: #174f43 !important;
    color: #f2fff9 !important;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.35;
}
.hedera-suite-method-controls .hedera-selectall:hover {
    background: #216956 !important;
    color: #fff !important;
}
.hedera-suite-method-controls .hedera-selectall:focus-visible,
.hedera-suite-method-controls input[type="checkbox"]:focus-visible {
    outline: 2px solid #8ce2c1;
    outline-offset: 2px;
}
.hedera-suite-method-controls .small.fw-bold {
    color: #bcebd8 !important;
    border-top-color: rgba(140, 226, 193, .38) !important;
}

html.theme-light .hedera-suite-method-controls {
    border-color: #cbded5;
    background: #f4f8f6;
    color: #19342e !important;
}
html.theme-light .hedera-suite-method-controls .hedera-methods > label {
    color: #19342e !important;
}
html.theme-light .hedera-suite-method-controls .hedera-methods > label > span {
    border-color: rgba(25, 52, 46, .72);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .9);
}
html.theme-light .hedera-suite-method-controls .hedera-selectall {
    border-color: #24745f !important;
    background: #e4f1eb !important;
    color: #174f43 !important;
}
html.theme-light .hedera-suite-method-controls .hedera-selectall:hover {
    background: #d4e9df !important;
    color: #123e34 !important;
}
html.theme-light .hedera-suite-method-controls .small.fw-bold {
    color: #195f4d !important;
    border-top-color: #b4d5c8 !important;
}

@media (max-width: 560px) {
    .hedera-suite-method-controls {
        align-items: flex-start !important;
    }
    .hedera-suite-method-controls .hedera-selectall {
        flex: 0 0 auto;
    }
}

/*
 * White report-header control contract.
 * The canonical strip owns physical ordering: direction stays LTR even when
 * its Farsi heading and surrounding report remain RTL. Role wrappers are
 * flattened without replacing or cloning eventful controls.
 */
:is(
    .hedera-white-controls,
    .hedera-native-range-header,
    .hedera-native-summary,
    .hct-toolbar:has(.hedera-white-controls),
    .company-titlebar:has(.hedera-white-controls),
    .company-forecast-module > .mod-head:has(.hedera-white-controls),
    .ov-card-h:has(.hedera-white-controls),
    .atc-static-section-head:has(.hedera-white-controls),
    .hedera-section-header:has(.hedera-white-controls)
) {
    background-color: #fff !important;
    color: #18342e !important;
    color-scheme: light;
}

.hedera-white-controls {
    display: flex !important;
    flex: 0 1 auto;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px 8px;
    min-width: 0;
    max-width: 100%;
    direction: ltr !important;
    text-align: left;
    color: #18342e !important;
}

/* Role-bearing structural wrappers are not allowed to reverse or group the
   physical control sequence; actual labels and interactive elements stay put. */
.hedera-white-controls [data-white-control-role]:not(label):not(button):not(a):not(select):not(input),
.hedera-white-controls [data-white-control-role]:not(label):not(button):not(a):not(select):not(input) > .d-flex {
    display: contents !important;
}
.hedera-white-controls .hedera-white-controls-wrapper:not(label) { display: contents !important; }

.hedera-white-controls [data-white-control-role="help"] { order: 10 !important; }
.hedera-white-controls [data-white-control-role="excel"] { order: 20 !important; }
.hedera-white-controls [data-white-control-role="type"] { order: 30 !important; }
.hedera-white-controls [data-white-control-role="time"],
.hedera-white-controls [data-white-control-role="year"] { order: 40 !important; }
.hedera-white-controls [data-white-control-role="metric"] { order: 50 !important; }
.hedera-white-controls [data-white-control-role="extra"],
.hedera-white-controls [data-white-control-role="auxiliary"],
.hedera-white-controls [data-white-control-role="status"] { order: 60 !important; }

/* Keep Farsi copy and native option text RTL inside the physically LTR strip.
   Role order belongs to each marked flex item only, never all nested children. */
.hedera-white-controls label,
.hedera-white-controls [data-white-control-role="help"],
.hedera-white-controls [data-white-control-role="excel"],
.hedera-white-controls [data-white-control-role="type"],
.hedera-white-controls [data-white-control-role="time"],
.hedera-white-controls [data-white-control-role="year"],
.hedera-white-controls [data-white-control-role="metric"],
.hedera-white-controls [data-white-control-role="extra"],
.hedera-white-controls [data-white-control-role="auxiliary"],
.hedera-white-controls [data-white-control-role="status"] {
    direction: rtl;
    text-align: right;
}
.hedera-white-controls select { direction: rtl; }

.hedera-white-controls[hidden],
.hedera-white-controls [hidden],
.hedera-export-bar[hidden] { display: none !important; }

/* Generated duplicate toolbar is suppressed only after controls move to the
   source white heading, whose own disclosure control remains authoritative. */
.hct-toolbar.hedera-white-supplementary-toolbar { display: none !important; }

/* A closed report bar exposes only its heading and disclosure affordance.
   CSS follows the owning state directly, including native details, so opening
   and closing never replaces controls or installs another event controller. */
html body [aria-expanded="false"] > .hedera-white-controls,
html body .mod.collapsed > .mod-head .hedera-white-controls,
html body .mod[data-disclosure-state="closed"] > .mod-head .hedera-white-controls,
html body details:not([open]) > summary .hedera-white-controls {
    display: none !important;
}

/* Helpers may insert native controls one frame before normalization. Never
   expose that interim row on a closed header. Do not hide disclosure arrows. */
html body [aria-expanded="false"] > :is(
    .company-titlebar-controls, .company-forecast-controls,
    .hedera-suite-header-controls, .hedera-suite-method-controls,
    .hedera-history-range-controls, .hedera-history-type-control,
    .hct-history-range, .hyf-ctrls, select),
html body details:not([open]) > summary :is(
    .company-titlebar-controls, .company-forecast-controls,
    .hedera-suite-header-controls, .hedera-suite-method-controls,
    .hedera-history-range-controls, .hedera-history-type-control,
    .hct-history-range, .hyf-ctrls, select) {
    display: none !important;
}

/* Company native titlebars own their paired chart/table disclosure. Their
   opening affordance remains outside the hidden controls, on the physical right. */
html body [data-company-analysis-root] .company-titlebar {
    position: relative;
    cursor: pointer;
    padding-right: 54px !important;
}
html body .company-titlebar > .company-section-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}
html body .company-titlebar[aria-expanded="false"] > .company-section-toggle i {
    transform: rotate(-90deg);
}

/* The producer moves the existing model-toggle row into the white forecast
   heading. Keep the row grouped as one extra-order flex item; its inner model
   labels wrap together after the metric and retain their own legend colors. */
.hedera-white-controls .hedera-suite-method-controls {
    display: flex !important;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #18342e !important;
}
.hedera-white-controls .hedera-suite-method-controls[data-white-control-role="extra"] {
    order: 60 !important;
}
.hedera-white-controls .hedera-suite-method-controls .hedera-methods {
    display: flex !important;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    min-width: 0;
    margin: 0 !important;
    direction: rtl;
}
.hedera-white-controls .hedera-suite-method-controls .hedera-methods > label {
    display: inline-flex !important;
    flex: 0 1 auto;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #18342e !important;
    font-size: 11px !important;
    font-weight: 650;
    line-height: 1.35;
    white-space: normal;
    cursor: pointer;
}
.hedera-white-controls .hedera-suite-method-controls .hedera-methods > label > span {
    flex: 0 0 11px !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 2px !important;
    border: 1px solid rgba(24, 52, 46, .28) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    /* Leave an inline/data-provided per-model fill intact. */
}
.hedera-white-controls .hedera-suite-method-controls input[type="checkbox"] {
    accent-color: #246b58 !important;
}
.hedera-white-controls .hedera-suite-method-controls .hedera-selectall {
    min-height: 33px !important;
    padding: 5px 10px !important;
    border: 1px solid #bdcec7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #18342e !important;
    box-shadow: 0 1px 2px rgba(24, 52, 46, .06);
    font-size: 11px !important;
    font-weight: 650;
    line-height: 1.25;
}
.hedera-white-controls .hedera-suite-method-controls .hedera-selectall:hover {
    border-color: #7fa99a !important;
    background: #f3f8f5 !important;
    color: #18342e !important;
}
.hedera-white-controls .hedera-suite-method-controls .small.fw-bold {
    color: #315d50 !important;
    border-top-color: #d4e3dc !important;
}

.hedera-white-controls,
.hedera-white-controls label,
.hedera-white-controls :is(span, small, strong, i, b),
.hedera-native-range-header :is(label, span, small),
.hedera-native-summary,
.hct-toolbar:has(.hedera-white-controls) :is(label, span, small),
.company-titlebar:has(.hedera-white-controls) :is(label, span, small),
.company-forecast-module > .mod-head:has(.hedera-white-controls) :is(label, span, small),
.ov-card-h:has(.hedera-white-controls) :is(label, span, small),
.atc-static-section-head:has(.hedera-white-controls) :is(label, span, small) {
    color: #18342e !important;
}

.hedera-white-controls label,
.hedera-white-controls [data-white-control-role="time"],
.hedera-white-controls [data-white-control-role="year"],
.hedera-white-controls [data-white-control-role="metric"],
.hedera-white-controls [data-white-control-role="type"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.hedera-white-controls :is(select, input:not([type="checkbox"]):not([type="radio"])),
.hedera-white-controls :is(button, a[role="button"], [role="button"]) {
    box-sizing: border-box;
    min-height: 33px !important;
    max-width: min(100%, 190px);
    padding: 5px 10px !important;
    border: 1px solid #bdcec7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #18342e !important;
    box-shadow: 0 1px 2px rgba(24, 52, 46, .06);
    font: inherit;
    font-size: 11px !important;
    font-weight: 650;
    line-height: 1.25;
}

.hedera-white-controls :is(select, input:not([type="checkbox"]):not([type="radio"])) {
    width: auto;
    cursor: pointer;
}
.hedera-white-controls select option {
    background: #fff;
    color: #18342e;
}
.hedera-white-controls :is(button, a[role="button"], [role="button"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
}
.hedera-white-controls :is(select, button, a[role="button"], [role="button"], input):focus-visible {
    outline: 2px solid #24745f !important;
    outline-offset: 2px;
}
.hedera-white-controls :is(button, a[role="button"], [role="button"]):hover {
    border-color: #7fa99a !important;
    background-color: #f3f8f5 !important;
}

/* A single recognizable help affordance, independent of inherited icon fonts. */
.hedera-white-controls :is(button, a, [role="button"])[data-white-control-role="help"],
.hedera-white-controls [data-white-control-role="help"] :is(button, a, [role="button"]) {
    flex: 0 0 33px;
    width: 33px;
    min-width: 33px;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
}
.hedera-white-controls :is(button, a, [role="button"])[data-white-control-role="help"]::before,
.hedera-white-controls [data-white-control-role="help"] :is(button, a, [role="button"])::before {
    content: "?";
    color: #18342e;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.hedera-white-controls [data-white-control-role="excel"],
.hedera-white-controls [data-white-control-role="excel"] :is(button, a, [role="button"]) {
    border-color: #246b58 !important;
    background: #246b58 !important;
    color: #fff !important;
}
.hedera-white-controls [data-white-control-role="excel"] :is(i, span, small),
.hedera-white-controls :is(button, a, [role="button"])[data-white-control-role="excel"] :is(i, span, small) {
    color: inherit !important;
}
.hedera-white-controls [data-white-control-role="excel"]:hover,
.hedera-white-controls [data-white-control-role="excel"] :is(button, a, [role="button"]):hover {
    border-color: #1b5747 !important;
    background: #1b5747 !important;
}

/* Shared standalone white bars use the same compact, wrapping control rhythm. */
:is(
    .hedera-native-range-header,
    .hedera-native-summary,
    .hct-toolbar:has(.hedera-white-controls),
    .company-titlebar:has(.hedera-white-controls),
    .company-forecast-module > .mod-head:has(.hedera-white-controls),
    .ov-card-h:has(.hedera-white-controls),
    .atc-static-section-head:has(.hedera-white-controls),
    .hedera-section-header:has(.hedera-white-controls)
) .hedera-white-controls {
    margin-inline-start: auto;
}

/* Consolidate the older template-specific strip styling only when normalized:
   selectors outrank company/template defaults without touching body controls. */
html body [data-company-analysis-root] .hedera-white-controls,
html body [data-company-analysis-root] .hedera-white-controls label,
html body [data-company-analysis-root] .hedera-white-controls select,
html body [data-company-analysis-root] .hedera-white-controls input,
html body [data-company-analysis-root] .hedera-white-controls button,
html body [data-company-analysis-root] .hedera-white-controls a[role="button"] {
    color: #18342e !important;
    background-color: #fff !important;
    border-color: #bdcec7 !important;
}
html body [data-company-analysis-root] .hedera-white-controls [data-white-control-role="excel"],
html body [data-company-analysis-root] .hedera-white-controls [data-white-control-role="excel"] :is(button, a, [role="button"]) {
    color: #fff !important;
    background-color: #246b58 !important;
    border-color: #246b58 !important;
}

@media (max-width: 560px) {
    .hedera-white-controls {
        flex: 1 1 100%;
        justify-content: flex-start;
        gap: 6px;
        overflow: visible;
    }
    .hedera-white-controls label {
        flex: 0 1 auto;
        white-space: normal;
    }
    .hedera-white-controls :is(select, input:not([type="checkbox"]):not([type="radio"])) {
        max-width: min(44vw, 160px);
    }
    .hedera-white-controls [data-white-control-role="excel"] :is(button, a, [role="button"]) {
        white-space: nowrap;
    }
}
