/* R45-P11.3 — Service-First Branch Comparison */
.page-branch-comparison{
    --bc-ink:#101a33;
    --bc-muted:#65728b;
    --bc-line:#dce4ef;
    --bc-soft:#f6f8fc;
    --bc-positive:#047857;
    --bc-positive-soft:#e9f8f2;
    --bc-negative:#c5283d;
    --bc-negative-soft:#fff0f2;
    --bc-warning:#a16207;
    --bc-warning-soft:#fff7ed;
    --bc-violet:#5b21b6;
    --bc-shadow:0 14px 40px rgba(31,51,82,.08);
}
.page-branch-comparison .branch113-page{display:grid;gap:18px;color:var(--bc-ink)}
.page-branch-comparison .branch113-card,
.page-branch-comparison .branch113-controls,
.page-branch-comparison .branch113-hero,
.page-branch-comparison .branch113-branch-card,
.page-branch-comparison .branch113-blocked{
    border:1px solid var(--bc-line);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--bc-shadow);
}
.page-branch-comparison .branch113-controls{
    display:grid;
    grid-template-columns:minmax(290px,.72fr) minmax(0,2.28fr);
    grid-template-areas:"copy filter" "note note" "alert alert";
    gap:14px 22px;
    align-items:end;
    padding:18px 20px;
}
.page-branch-comparison .branch113-controls-copy{grid-area:copy;min-width:0}
.page-branch-comparison .branch113-controls-copy>span,
.page-branch-comparison .branch113-section-heading>span,
.page-branch-comparison .branch113-hero>div>span,
.page-branch-comparison .branch113-branch-card>header>span,
.page-branch-comparison .branch113-service-card>header>div>span{
    display:block;
    color:var(--bc-violet);
    font-size:12px;
    font-weight:900;
    letter-spacing:.045em;
}
.page-branch-comparison .branch113-controls-copy>strong{
    display:flex;
    align-items:center;
    gap:8px;
    margin:6px 0 5px;
    font-size:20px;
    line-height:1.25;
    white-space:nowrap;
}
.page-branch-comparison .branch113-controls-copy>strong i{color:var(--bc-violet);font-size:13px;font-style:normal}
.page-branch-comparison .branch113-controls-copy p,
.page-branch-comparison .branch113-section-heading>p{
    margin:0;
    color:var(--bc-muted);
    font-size:14px;
    line-height:1.5;
}
.page-branch-comparison .branch113-filter{
    grid-area:filter;
    display:grid;
    grid-template-columns:minmax(135px,.8fr) minmax(115px,.65fr) minmax(115px,.65fr) minmax(105px,.55fr);
    gap:10px;
    align-items:end;
}
.page-branch-comparison .branch113-filter.is-range{
    grid-template-columns:minmax(125px,.7fr) minmax(145px,.8fr) minmax(145px,.8fr) minmax(115px,.65fr) minmax(105px,.55fr);
}
.page-branch-comparison .branch113-filter label{min-width:0}
.page-branch-comparison .branch113-filter label>span{
    display:block;
    margin-bottom:6px;
    color:#3f4d68;
    font-size:11px;
    font-weight:900;
}
.page-branch-comparison .branch113-filter select,
.page-branch-comparison .branch113-filter input{
    width:100%;
    min-height:46px;
    border:1px solid #d8e0ec;
    border-radius:13px;
    background:#fff;
    padding:0 12px;
    color:var(--bc-ink);
    font:inherit;
    font-weight:750;
}
.page-branch-comparison .branch113-filter button{
    min-height:46px;
    border:0;
    border-radius:13px;
    background:linear-gradient(135deg,#5630b5,#168fa7);
    color:#fff;
    font:inherit;
    font-weight:900;
    cursor:pointer;
}
.page-branch-comparison .branch113-period-note{
    grid-area:note;
    display:flex;
    align-items:center;
    gap:9px;
    min-height:38px;
    padding:8px 12px;
    border:1px solid #c7e7d7;
    border-radius:12px;
    background:#f1faf5;
    color:#235b45;
    font-size:13px;
    line-height:1.5;
}
.page-branch-comparison .branch113-period-note>span{
    display:grid;
    place-items:center;
    flex:0 0 23px;
    width:23px;
    height:23px;
    border-radius:50%;
    background:#d8f1e3;
    color:#087f63;
    font-weight:900;
}
.page-branch-comparison .branch113-period-note p{margin:0}
.page-branch-comparison .branch113-alert{grid-area:alert;margin:0;color:#9f1239;font-weight:800}

.page-branch-comparison .branch113-blocked{padding:28px}
.page-branch-comparison .branch113-blocked h2{margin:0;color:#881337;font-size:28px}
.page-branch-comparison .branch113-blocked>p{margin:8px 0 0;color:#7f1d1d}
.page-branch-comparison .branch113-unavailable-branches{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin-top:18px;
}
.page-branch-comparison .branch113-unavailable-branches article{
    padding:14px;
    border:1px solid #fecdd3;
    border-radius:14px;
    background:#fff8f9;
}
.page-branch-comparison .branch113-unavailable-branches strong,
.page-branch-comparison .branch113-unavailable-branches span{display:block}
.page-branch-comparison .branch113-unavailable-branches span{margin-top:4px;color:#9f1239;font-size:12px}

.page-branch-comparison .branch113-hero{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);
    gap:22px;
    padding:24px;
    background:linear-gradient(115deg,#fff 0%,#faf7ff 54%,#effbfd 100%);
}
.page-branch-comparison .branch113-hero h1{
    margin:7px 0 10px;
    color:var(--bc-ink);
    font-size:clamp(31px,3vw,43px);
    line-height:1.08;
    letter-spacing:-.035em;
}
.page-branch-comparison .branch113-hero>div>p{
    margin:0;
    color:#56657e;
    font-size:16px;
    line-height:1.65;
}
.page-branch-comparison .branch113-hero>div>p strong{
    display:inline-flex;
    margin-inline-end:7px;
    padding:4px 8px;
    border-radius:999px;
    font-size:14px;
}
.page-branch-comparison .branch113-hero>aside{
    align-self:center;
    padding:16px;
    border:1px solid #ddd6fe;
    border-radius:16px;
    background:rgba(255,255,255,.84);
}
.page-branch-comparison .branch113-hero>aside strong{display:block;color:var(--bc-violet);font-size:13px}
.page-branch-comparison .branch113-hero>aside p{margin:7px 0 0;color:#5d6980;font-size:13px;line-height:1.55}

.page-branch-comparison .branch113-section-heading h2{
    margin:5px 0 6px;
    color:var(--bc-ink);
    font-size:clamp(24px,2vw,31px);
    line-height:1.15;
    letter-spacing:-.025em;
}
.page-branch-comparison .branch113-branch-review{display:grid;gap:14px}
.page-branch-comparison .branch113-branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.page-branch-comparison .branch113-branch-card{min-width:0;padding:20px}
.page-branch-comparison .branch113-branch-card h3{margin:5px 0 0;font-size:26px}
.page-branch-comparison .branch113-direction-block{
    margin-top:14px;
    padding:14px;
    border-radius:15px;
}
.page-branch-comparison .branch113-direction-block.is-positive{background:var(--bc-positive-soft)!important;color:inherit!important}
.page-branch-comparison .branch113-direction-block.is-negative{background:var(--bc-negative-soft)!important;color:inherit!important}
.page-branch-comparison .branch113-direction-block h4{
    margin:0 0 9px;
    color:var(--bc-ink);
    font-size:14px;
}
.page-branch-comparison .branch113-signal-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid rgba(100,116,139,.18);
}
.page-branch-comparison .branch113-signal-row:last-child{border-bottom:0;padding-bottom:0}
.page-branch-comparison .branch113-signal-row strong{display:block;font-size:14px}
.page-branch-comparison .branch113-signal-row small{display:block;margin-top:3px;color:#617089;font-size:10px}
.page-branch-comparison .branch113-signal-row em{font-size:15px;font-style:normal;font-weight:900}
.page-branch-comparison .branch113-direction-block.is-positive em{color:var(--bc-positive)}
.page-branch-comparison .branch113-direction-block.is-negative em{color:var(--bc-negative)}
.page-branch-comparison .branch113-empty{margin:0;color:#64748b;font-size:12px;line-height:1.5}

.page-branch-comparison .branch113-priority-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.65fr);
    gap:18px;
}
.page-branch-comparison .branch113-priorities,
.page-branch-comparison .branch113-positive-signals,
.page-branch-comparison .branch113-services,
.page-branch-comparison .branch113-latest,
.page-branch-comparison .branch113-trend{padding:20px}
.page-branch-comparison .branch113-priority-list{display:grid;margin-top:12px}
.page-branch-comparison .branch113-priority-list>article{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--bc-line);
}
.page-branch-comparison .branch113-priority-list>article:last-child{border-bottom:0;padding-bottom:0}
.page-branch-comparison .branch113-priority-list>article>b{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:11px;
    background:#f0eaff;
    color:var(--bc-violet);
}
.page-branch-comparison .branch113-priority-list span{display:block;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase}
.page-branch-comparison .branch113-priority-list h3{margin:4px 0 0;font-size:17px}
.page-branch-comparison .branch113-priority-list p{margin:5px 0 0;color:#60708a;font-size:12px;line-height:1.5}
.page-branch-comparison .branch113-priority-list aside{text-align:end}
.page-branch-comparison .branch113-priority-list aside strong{display:block;font-size:19px}
.page-branch-comparison .branch113-priority-list aside small{display:block;margin-top:4px;color:#64748b;font-size:10px}
.page-branch-comparison .branch113-positive-signals>article{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--bc-line);
}
.page-branch-comparison .branch113-positive-signals>article:last-child{border-bottom:0}
.page-branch-comparison .branch113-positive-signals span{display:block;color:#64748b;font-size:10px}
.page-branch-comparison .branch113-positive-signals strong{display:block;margin-top:4px;font-size:15px}
.page-branch-comparison .branch113-positive-signals em{font-size:17px;font-style:normal;font-weight:900}

.page-branch-comparison .branch113-services{display:grid;gap:14px}
.page-branch-comparison .branch113-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.page-branch-comparison .branch113-service-card{
    min-width:0;
    padding:16px;
    border:1px solid var(--bc-line);
    border-radius:17px;
    background:#fff;
}
.page-branch-comparison .branch113-service-card>header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-start;
}
.page-branch-comparison .branch113-service-card h3{margin:5px 0 0;font-size:20px}
.page-branch-comparison .branch113-service-card>header>em{
    display:inline-flex;
    padding:5px 8px;
    border-radius:999px;
    font-size:10px;
    font-style:normal;
    font-weight:900;
    text-align:center;
}
.page-branch-comparison .branch113-service-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
.page-branch-comparison .branch113-service-branches>section{
    min-width:0;
    padding:12px;
    border:1px solid var(--bc-line);
    border-radius:13px;
    background:#f9fbfd;
}
.page-branch-comparison .branch113-service-branches h4{margin:0;font-size:13px}
.page-branch-comparison .branch113-value-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}
.page-branch-comparison .branch113-value-pair span{padding:7px;border-radius:9px;background:#fff}
.page-branch-comparison .branch113-value-pair small{display:block;color:#64748b;font-size:8px;font-weight:900}
.page-branch-comparison .branch113-value-pair strong{display:block;margin-top:3px;font-size:17px}
.page-branch-comparison .branch113-service-branches>section>b{
    display:inline-flex;
    margin-top:8px;
    padding:4px 7px;
    border-radius:999px;
    font-size:12px;
}
.page-branch-comparison .branch113-service-card>footer{
    margin-top:11px;
    padding-top:10px;
    border-top:1px solid var(--bc-line);
}
.page-branch-comparison .branch113-service-card>footer strong{display:block;color:#4f5d75;font-size:10px;text-transform:uppercase}
.page-branch-comparison .branch113-service-card>footer p{margin:5px 0 0;color:#5f6e86;font-size:12px;line-height:1.5}

.page-branch-comparison .branch113-latest{display:grid;gap:14px}
.page-branch-comparison .branch113-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.page-branch-comparison .branch113-latest-grid>article{
    padding:15px;
    border:1px solid var(--bc-line);
    border-radius:16px;
    background:#fff;
}
.page-branch-comparison .branch113-latest-grid h3{margin:0;font-size:19px}
.page-branch-comparison .branch113-latest-column{margin-top:11px;padding:12px;border-radius:13px}
.page-branch-comparison .branch113-latest-column.is-positive{background:var(--bc-positive-soft)!important;color:inherit!important}
.page-branch-comparison .branch113-latest-column.is-negative{background:var(--bc-negative-soft)!important;color:inherit!important}
.page-branch-comparison .branch113-latest-column h4{margin:0 0 7px;font-size:12px}
.page-branch-comparison .branch113-latest-column>div{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:7px 0;
    border-bottom:1px solid rgba(100,116,139,.18);
}
.page-branch-comparison .branch113-latest-column>div:last-child{border-bottom:0}
.page-branch-comparison .branch113-latest-column strong{font-size:13px}
.page-branch-comparison .branch113-latest-column em{font-size:12px;font-style:normal;font-weight:900}
.page-branch-comparison .branch113-latest-column.is-positive em{color:var(--bc-positive)}
.page-branch-comparison .branch113-latest-column.is-negative em{color:var(--bc-negative)}

.page-branch-comparison .branch113-trend{display:grid;gap:14px}
.page-branch-comparison .branch113-service-tabs{display:flex;gap:8px;flex-wrap:wrap}
.page-branch-comparison .branch113-service-tabs button{
    min-height:40px;
    border:1px solid #ddd6fe;
    border-radius:999px;
    background:#faf8ff;
    padding:0 13px;
    color:#5b21b6;
    font:inherit;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}
.page-branch-comparison .branch113-service-tabs button.is-active{
    border-color:#5b21b6;
    background:#5b21b6;
    color:#fff;
}
.page-branch-comparison .branch113-chart-wrap{
    position:relative;
    min-height:430px;
    border:1px solid var(--bc-line);
    border-radius:16px;
    background:#fff;
}
.page-branch-comparison .branch113-chart-wrap canvas{width:100%;height:420px;min-height:420px}
.page-branch-comparison .branch113-chart-error{
    display:none;
    position:absolute;
    inset:20px;
    place-items:center;
    border:1px dashed var(--bc-line);
    border-radius:13px;
    background:#f8fafc;
}
.page-branch-comparison .branch113-chart-wrap[data-branch113-chart-state="error"] .branch113-chart-error{display:grid}
.page-branch-comparison .branch113-chart-wrap[data-branch113-chart-state="error"] canvas{display:none}
.page-branch-comparison .branch113-monthly-panels>section{display:none}
.page-branch-comparison .branch113-monthly-panels>section.is-active{display:block}
.page-branch-comparison .branch113-monthly-panels>section>header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
}
.page-branch-comparison .branch113-monthly-panels>section>header strong{font-size:17px}
.page-branch-comparison .branch113-monthly-panels>section>header span{color:#64748b;font-size:11px}
.page-branch-comparison .branch113-table-wrap{overflow:auto;border:1px solid var(--bc-line);border-radius:14px}
.page-branch-comparison .branch113-table-wrap table{width:100%;min-width:980px;border-collapse:collapse}
.page-branch-comparison .branch113-table-wrap th,
.page-branch-comparison .branch113-table-wrap td{
    padding:11px 12px;
    border-bottom:1px solid var(--bc-line);
    text-align:left;
}
.page-branch-comparison[dir="rtl"] .branch113-table-wrap th,
.page-branch-comparison[dir="rtl"] .branch113-table-wrap td{text-align:right}
.page-branch-comparison .branch113-table-wrap th{background:#f5f7fb;color:#4b5871;font-size:10px}
.page-branch-comparison .branch113-table-wrap tr:last-child td{border-bottom:0}
.page-branch-comparison .branch113-table-wrap td b{display:inline-flex;padding:3px 6px;border-radius:999px;font-size:11px}

.page-branch-comparison .is-positive{color:var(--bc-positive)!important;background:var(--bc-positive-soft)}
.page-branch-comparison .is-negative{color:var(--bc-negative)!important;background:var(--bc-negative-soft)}
.page-branch-comparison .is-warning{color:var(--bc-warning)!important;background:var(--bc-warning-soft)}
.page-branch-comparison .is-neutral{color:#64748b!important;background:#f1f5f9}
.page-branch-comparison .elite-topbar--flow-safe{margin-bottom:18px}

@media(max-width:1320px){
    .page-branch-comparison .branch113-controls{
        grid-template-columns:1fr;
        grid-template-areas:"copy" "filter" "note" "alert";
    }
    .page-branch-comparison .branch113-filter,
    .page-branch-comparison .branch113-filter.is-range{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1080px){
    .page-branch-comparison .branch113-hero,
    .page-branch-comparison .branch113-priority-grid{grid-template-columns:1fr}
}
@media(max-width:850px){
    .page-branch-comparison .branch113-branch-grid,
    .page-branch-comparison .branch113-service-grid,
    .page-branch-comparison .branch113-latest-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
    .page-branch-comparison .branch113-controls,
    .page-branch-comparison .branch113-hero,
    .page-branch-comparison .branch113-branch-card,
    .page-branch-comparison .branch113-priorities,
    .page-branch-comparison .branch113-positive-signals,
    .page-branch-comparison .branch113-services,
    .page-branch-comparison .branch113-latest,
    .page-branch-comparison .branch113-trend{padding:15px}
    .page-branch-comparison .branch113-filter,
    .page-branch-comparison .branch113-filter.is-range{grid-template-columns:1fr}
    .page-branch-comparison .branch113-controls-copy>strong{white-space:normal;flex-wrap:wrap}
    .page-branch-comparison .branch113-hero h1{font-size:30px}
    .page-branch-comparison .branch113-priority-list>article{grid-template-columns:34px minmax(0,1fr)}
    .page-branch-comparison .branch113-priority-list aside{grid-column:2;text-align:start}
    .page-branch-comparison .branch113-service-branches{grid-template-columns:1fr}
    .page-branch-comparison .branch113-chart-wrap{min-height:360px}
    .page-branch-comparison .branch113-chart-wrap canvas{height:350px;min-height:350px}
    .page-branch-comparison .branch113-unavailable-branches{grid-template-columns:1fr}
}
