.odr {
    --blue: #10558e;
    --link: #07569b;
    --pale: #eef3f8;
    --surface: #f2f6f9;
    --line: #d9e5ee;
    --red: #ad2925;
    --green: #168249;
    color: #233b50;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    line-height: 1.55;
    margin: 20px 0;
    container-type: inline-size;
}
.odr, .odr * { box-sizing: border-box; }
.odr [hidden] { display: none !important; }
.odr h2, .odr h3 { color: var(--blue); line-height: 1.25; font-weight: 700; margin: 0 0 .75rem; }
.odr p { margin: .5rem 0 1rem; }
.odr a { color: var(--link); overflow-wrap: anywhere; }
.odr .odr-hero {
    padding: 28px clamp(16px, 5cqw, 40px);
    background: linear-gradient(170deg, #3178ac 0%, #10558e 40%, #0b4880 100%);
    color: white;
}
.odr .odr-hero h2 { color: white; font-size: clamp(24px, 5cqw, 38px); }
.odr .odr-brand { font-size: .9rem; }
.odr .odr-brand a { color: white; }
.odr .odr-features, .odr .odr-trust, .odr .odr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px;
}
.odr .odr-features > div, .odr .odr-trust > div, .odr .odr-card {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: .7rem .25rem;
    background: var(--pale);
    border-radius: 5px;
    color: var(--blue);
    font-weight: 700;
    overflow-wrap: anywhere;
}
.odr .odr-features span { font-size: 1.4rem; }
.odr .odr-trust > div { color: #116c3c; background: #edf7f0; font-size: .85rem; }
.odr .odr-alert {
    padding: 12px 15px;
    margin: 16px;
    border: 1px solid var(--red);
    border-radius: 5px;
    background: white;
}
.odr .odr-alert strong { color: var(--red); }
.odr .odr-input, .odr .odr-result, .odr .odr-editorial { margin: 16px; }
.odr .odr-input { padding: clamp(9px, 4cqw, 24px); background: var(--pale); border-radius: 6px; }
.odr .odr-form, .odr .odr-calendar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
}
.odr .odr-form + .odr-form { margin-top: 10px; }
.odr label { display: block; min-width: 0; font-weight: 600; }
.odr input:not([type="checkbox"]), .odr select {
    display: block;
    margin: .22rem 0 .5rem;
    width: 100%;
    min-height: 54px;
    padding: .5rem;
    border-radius: 5px;
    border: 1px solid #879eb1;
    color: inherit;
    background: white;
    font: inherit;
    accent-color: var(--blue);
}
.odr button {
    border: 1px solid var(--blue);
    border-radius: 5px;
    background: var(--blue);
    color: white;
    padding: .5rem 1.2rem;
    min-height: 54px;
    font: inherit;
    font-weight: 700;
}
.odr button:enabled, .odr summary { cursor: pointer; }
.odr button:disabled { opacity: .65; }
.odr :focus-visible { outline: 3px solid #995a14; outline-offset: 3px; }
.odr .odr-options, .odr .odr-explainer, .odr .odr-chart {
    padding: 12px;
    margin: 12px 0;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 5px;
    background: var(--surface);
}
.odr .odr-error, .odr [data-out="compareError"] { color: var(--red); }
.odr [data-out]:empty { display: none; }
.odr .odr-check input { margin-inline-end: .4rem; }
.odr .odr-calendar > div { align-self: stretch; padding: 8px; border: 1px solid var(--line); border-radius: 4px; }
.odr [data-counted="true"] { background: #e6f4ea; }
.odr [data-counted="false"] { background: #fae9e9; }
.odr .odr-cards { margin: 0 0 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.odr .odr-card strong { display: block; font-size: 1.3rem; }
.odr .odr-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: conic-gradient(var(--blue) var(--share, 0%), var(--line) 0);
    position: relative;
}
.odr .odr-ring::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--pale); }
.odr .odr-track { background: #dce8f1; height: 14px; margin: 3px 0 10px; overflow: hidden; border-radius: 3px; }
.odr .odr-fill { height: 100%; }
.odr .odr-red { background: var(--red); }
.odr .odr-blue { background: var(--blue); }
.odr .odr-positive { color: var(--green); }
.odr .odr-tablewrap { overflow: auto; margin: 12px 0 18px; }
.odr table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.odr caption { text-align: left; font-weight: 700; color: var(--blue); }
.odr th, .odr td { text-align: left; padding: .4rem .55rem; border-bottom: 1px solid var(--line); }
.odr thead, .odr .odr-selected { background: var(--pale); }
.odr .odr-selected small { display: block; color: var(--blue); }
.odr .odr-sources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    gap: 8px;
}
.odr .odr-sources a { display: block; padding: .55rem; background: var(--pale); border-radius: 5px; }
.odr .odr-editorial details { margin: 7px 0; padding: .65rem; background: var(--surface); border-radius: 5px; }
.odr summary { color: var(--blue); font-weight: 700; }
@container (max-width: 550px) {
    .odr .odr-form, .odr .odr-calendar, .odr .odr-sources { grid-template-columns: minmax(0, 1fr); }
    .odr .odr-features > div { font-size: .75rem; }
    .odr .odr-trust > div { font-size: .72rem; }
    .odr td, .odr th { padding: .3rem; }
}

/* Tarifsimulation: larger accessible slider */
.odr input[type="range"][data-field="quote"] {
  width: 100%; height: 44px; padding: 0; margin: 8px 0 12px;
  accent-color: #10558e; cursor: pointer; background: transparent;
  appearance: none; -webkit-appearance: none;
}
.odr input[type="range"][data-field="quote"]::-webkit-slider-runnable-track {
  height: 12px; background: #d3e2ef; border-radius: 8px;
}
.odr input[type="range"][data-field="quote"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px;
  margin-top: -7px; border: 2px solid #fff; border-radius: 50%;
  background: #10558e; box-shadow: 0 0 0 1px #10558e;
}
.odr input[type="range"][data-field="quote"]::-moz-range-track {
  height: 12px; background: #d3e2ef; border-radius: 8px;
}
.odr input[type="range"][data-field="quote"]::-moz-range-progress {
  height: 12px; background: #10558e; border-radius: 8px;
}
.odr input[type="range"][data-field="quote"]::-moz-range-thumb {
  width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%;
  background: #10558e; box-shadow: 0 0 0 1px #10558e;
}
.odr input[type="range"][data-field="quote"]:focus-visible { outline: 2px solid #10558e; outline-offset: 3px; }
.odr input[type="range"][data-field="quote"]::-webkit-slider-runnable-track {
  background: linear-gradient(to right,#10558e 0%,#10558e var(--odr-range-fill,40%),#d3e2ef var(--odr-range-fill,40%),#d3e2ef 100%);
}

/* Comparison presentation 1.0.10 */
.odr .odr-simulation-panel{background:#eaf2f8;border-radius:8px;padding:16px;margin:12px 0}
.odr .odr-simulation-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;color:#10558e;font-weight:500}
.odr .odr-simulation-label small,.odr .odr-comparison-difference small{display:block;font-weight:400;color:#526979;font-size:13px;margin-top:4px}
.odr .odr-simulation-label strong{background:#10558e;color:white;border-radius:6px;padding:12px 14px;font-size:20px;white-space:nowrap}
.odr .odr-simulation-label input[type=range][data-field=quote]{grid-column:1/-1;display:block;box-sizing:border-box;height:44px!important;min-height:44px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:4px 0 0!important}
.odr input[type=range][data-field=quote]::-webkit-slider-runnable-track{height:14px;border-radius:3px}
.odr input[type=range][data-field=quote]::-webkit-slider-thumb{box-sizing:border-box;width:24px;height:34px;margin-top:-10px;border-radius:3px}
.odr input[type=range][data-field=quote]::-moz-range-track,.odr input[type=range][data-field=quote]::-moz-range-progress{height:14px;border-radius:3px}
.odr input[type=range][data-field=quote]::-moz-range-thumb{box-sizing:border-box;width:24px;height:34px;border-radius:3px}
.odr .odr-slider-marks{display:flex;justify-content:space-between;font-size:12px;color:#10558e;padding:0 10px}
.odr .odr-comparison-panel{background:#f2f6fa;padding:16px;border-radius:8px}
.odr .odr-comparison-row,.odr .odr-comparison-difference{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#10558e;font-weight:600}
.odr .odr-old-label{color:#ad2925}.odr .odr-comparison-row strong{color:#243746;white-space:nowrap}
.odr .odr-comparison-panel .odr-track{height:24px;border-radius:5px;margin:10px 0 16px;background:#dce5ed}
.odr .odr-comparison-panel .odr-fill{border-radius:5px}.odr .odr-comparison-difference{border-top:1px solid #d3dce4;padding-top:16px;margin-top:18px}.odr .odr-comparison-difference strong{font-size:20px;white-space:nowrap}.odr .odr-comparison-difference .odr-positive{color:#168249}.odr .odr-simulation-note{font-size:13px;color:#526979}

/* Slider: center the rectangular thumb on the track, including template overrides. */
.odr .odr-simulation-label input[type=range][data-field=quote]{appearance:none!important;-webkit-appearance:none!important;line-height:normal!important;max-height:44px!important;align-self:center;}
.odr .odr-simulation-label input[type=range][data-field=quote]::-webkit-slider-runnable-track{box-sizing:border-box;height:14px!important;border:0!important;padding:0!important;}
.odr .odr-simulation-label input[type=range][data-field=quote]::-webkit-slider-thumb{box-sizing:border-box;height:34px!important;width:24px!important;margin:-10px 0 0!important;transform:none!important;position:relative;top:0!important;}
.odr .odr-simulation-label input[type=range][data-field=quote]::-moz-range-thumb{box-sizing:border-box;height:34px!important;width:24px!important;margin:0!important;transform:none!important;}
.odr .odr-simulation-label input[type=range][data-field=quote]::-moz-range-track{box-sizing:border-box;height:14px!important;border:0!important;padding:0!important;}
.odr .odr-simulation-label input[type=range][data-field=quote]{background:#fff!important;}
.odr .odr-slider-marks{background:#fff;padding-bottom:12px;}

.odr [data-result-heading],.odr [data-transfer-heading],.odr [data-input]{scroll-margin-top:100px}.odr .odr-actions{display:flex;flex-wrap:wrap;gap:12px;padding:16px;background:#edf4fa;border-radius:6px;margin-top:20px}.odr .odr-actions button{flex:1 1 220px;min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px}.odr .odr-actions [data-print]{background:white;color:#10558e;border:1px solid #10558e}

/* Compact result actions, protected against template button styles. */
.odr .odr-actions{justify-content:center;align-items:center;gap:12px;}
.odr .odr-actions button[data-new],.odr .odr-actions button[data-print]{flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:54px!important;padding:10px 20px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;border-radius:5px!important;border:1px solid #10558e!important;box-shadow:none!important;text-shadow:none!important;line-height:1.35!important;font-weight:600!important;white-space:normal!important;}
.odr .odr-actions button[data-new]{background:#10558e!important;color:#fff!important;}
.odr .odr-actions button[data-print]{background:#fff!important;color:#10558e!important;}
.odr .odr-actions button[data-new]:hover{background:#084476!important;color:#fff!important;}
.odr .odr-actions button[data-print]:hover{background:#dcebf6!important;color:#084476!important;}
.odr .odr-actions button[data-new] span,.odr .odr-actions button[data-print] span{color:inherit!important;}
.odr .odr-actions .odr-action-icon{display:block!important;flex:0 0 20px;width:20px!important;height:20px!important;margin:0!important;color:inherit!important;stroke:currentColor!important;}
.odr .odr-body{padding:16px}.odr .odr-input,.odr .odr-result{margin:0 0 16px}.odr .odr-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.odr .odr-tile{background:#e8f0f6;color:#10558e;border-radius:8px;padding:16px;overflow-wrap:anywhere}.odr .odr-tile strong{display:block;font-size:clamp(18px,4cqw,28px);margin:5px 0}.odr .odr-tile small,.odr .odr-tile.green{color:#168249}.odr .odr-tile.green{background:#eaf5ed}.odr .odr-tile.old{background:#fae9e9;color:#ad2925}.odr .odr-bar-label{display:flex;justify-content:space-between;gap:8px}.odr [data-bar=base]{background:#ad2925}.odr [data-bar=first]{background:#478ec4}.odr [data-bar=second]{background:#10558e}.odr .odr-track{height:20px}.odr label small{display:block;font-size:12px;font-weight:400}.odr .odr-result h3{margin-top:20px}.odr .odr-actions{padding:12px}.odr .odr-form select,.odr .odr-form input{min-width:0}.odr .odr-tablewrap td,.odr .odr-tablewrap th:not(:first-child){text-align:right}.odr .odr-tablewrap td:last-child{color:#168249}.odr .odr-simulation-label input:disabled{opacity:.5}.odr .odr-features>div{display:block}.odr .odr-error{color:#ad2925}@container(max-width:480px){.odr .odr-result-grid{grid-template-columns:1fr}.odr .odr-body{padding:10px}.odr .odr-actions button{max-width:100%}.odr .odr-tablewrap{font-size:12px}}
@media print{body.odr-printing *{visibility:hidden!important}body.odr-printing .odr-print-target,body.odr-printing .odr-print-target *{visibility:visible!important}body.odr-printing .odr-print-target{position:absolute!important;top:0;left:0;width:100%;margin:0;border:0;overflow:visible}body.odr-printing .odr-print-target .odr-input,body.odr-printing .odr-print-target .odr-actions{display:none!important}.odr .odr-tile,.odr .odr-chart,.odr tr{break-inside:avoid;print-color-adjust:exact}}

/* IG Metall: aligned compact form controls. */
.odr[data-odr="igmetall"] .odr-form { align-items: start; }
.odr[data-odr="igmetall"] .odr-form select, .odr[data-odr="igmetall"] .odr-form input[name="gross"] { height:44px !important; min-height:44px !important; padding:6px 10px !important; }

/* Result cards: coloured headers and restrained surfaces. */
.odr .odr-result-card{--card-color:#62788b;--card-bg:#f0f3f6;display:flex;flex-direction:column;min-width:0;border-radius:8px;overflow:hidden;background:var(--card-bg);print-color-adjust:exact;break-inside:avoid}
.odr .odr-card-first{--card-color:#397fb1;--card-bg:#edf4fa}
.odr .odr-card-second{--card-color:#10558e;--card-bg:#e5eff8}
.odr .odr-card-bonus{--card-color:#52816b;--card-bg:#edf5f0}
.odr .odr-card-head{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--card-color);color:#fff;font-weight:600;line-height:1.4}
.odr .odr-card-head i{font-size:18px;color:inherit;flex-shrink:0}
.odr .odr-card-body{padding:16px;flex:1;overflow-wrap:anywhere;color:var(--card-color)}
.odr .odr-card-body strong{display:block;font-size:clamp(18px,4cqw,28px);line-height:1.3;margin:0 0 8px;color:inherit}
.odr .odr-card-body small{display:block;color:#168249;font-size:13px;line-height:1.5}
.odr .odr-card-old small{color:#52677c}
.odr [data-bar=base]{background:#62788b}
