#tree-losses-open{margin-left:auto;border:1px solid #b54250;background:#fff0f2;color:#8d182b;font-weight:700;}
#tree-losses-open[hidden]{display:none;}
#tree-expiry-open{border:1px solid #bc7e16;background:#fff4d8;color:#805100;font-weight:700;}
#tree-losses-open:disabled,#tree-expiry-open:disabled{opacity:.55;}
#tree-losses-open:focus-visible,#tree-expiry-open:focus-visible{outline:3px solid #cf8b29;outline-offset:3px;}
.tree-losses-panel{margin:20px 12px;padding:16px;border:1px solid #c8d7e4;border-radius:14px;background:#f8fbfe;color:#142d43;}
.tree-losses-panel[hidden]{display:none;}
.tree-losses-panel h3{margin:0 0 8px;}
.tree-losses-panel>p{margin:0 0 16px;}
.tree-list-rows{display:grid;gap:8px;}
.tree-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 14px;border:1px solid #92dbe5;border-radius:11px;background:#e8f8fb;color:#18324b;}
.tree-list-row.tree-list-zero{border-color:#e9a4a4;background:#fff0f0;}
.tree-list-identity{min-width:0;overflow-wrap:anywhere;border-left:4px solid #1682a3;padding-left:12px;}
.tree-list-zero .tree-list-identity{border-left-color:#ff4d57;}
.tree-list-identity .tree-list-name{display:block;font-size:14px;font-weight:800;line-height:1.3;}
.tree-list-identity>small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#52657b;}
.tree-list-contacts{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:10px;}
.tree-list-contacts>div{min-width:0;}
.tree-list-contacts small{display:block;font-size:10px;color:#52657b;margin-bottom:3px;}
.tree-list-contacts a,.tree-list-contacts span{font-size:12px;color:#18324b;overflow-wrap:anywhere;}
.tree-list-results{display:flex;gap:8px;align-items:stretch;}
.tree-list-metric{min-width:112px;padding:8px 10px;background:#ffffffbd;border:1px solid #b9cedb;border-radius:10px;text-align:center;}
.tree-list-metric>small{display:block;margin-bottom:5px;font-size:10px;color:#52657b;}
.tree-list-metric>strong{font-size:14px;color:#18324b;}
.tree-list-metric.tree-list-negative>strong{color:#b52439;}
.tree-list-countdown-slot{background:transparent;border:0;padding:0;min-width:112px;}
.tree-list-countdown-slot .tree-countdown{display:block;box-sizing:border-box;width:112px;border:1px solid #a71827;border-radius:6px;background:#ffe2e5;color:#000;padding:6px 4px;font-size:11px;font-weight:800;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;}
html[data-pino-appearance="dark"] #tree-losses-open{background:#442532;color:#ffdbe1;border-color:#f28c9c;}
html[data-pino-appearance="dark"] #tree-expiry-open{background:#473819;color:#ffe3a3;border-color:#d9aa52;}
html[data-pino-appearance="dark"] .tree-losses-panel{background:#11283a;color:#edf5fc;border-color:#56738a;}
html[data-pino-appearance="dark"] .tree-losses-panel>p{color:#d2e4f1;}
html[data-pino-appearance="dark"] .tree-list-row{background:#16394b;color:#edf5fc;border-color:#5f9eb6;}
html[data-pino-appearance="dark"] .tree-list-row.tree-list-zero{background:#3b2934;border-color:#b97789;}
html[data-pino-appearance="dark"] .tree-list-identity :is(small,a,span),html[data-pino-appearance="dark"] .tree-list-metric>small{color:#c5dbe9;}
html[data-pino-appearance="dark"] .tree-list-metric{background:#11283a;border-color:#56738a;}
html[data-pino-appearance="dark"] .tree-list-metric>strong{color:#edf5fc;}
html[data-pino-appearance="dark"] .tree-list-negative>strong{color:#ff8994;}
html[data-pino-appearance="dark"] .tree-list-countdown-slot{background:transparent;border:0;}
@media(max-width:650px){
 .tree-summary-actions #tree-losses-open{margin-left:0;}
 .tree-losses-panel{padding:12px;margin:16px 8px;}
 .tree-list-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px;}
 .tree-list-results{display:grid;grid-template-columns:1fr 1fr;}
 .tree-list-metric{min-width:0;padding:8px 6px;}
 .tree-list-countdown-slot{justify-self:end;padding:0;min-width:112px;}
 .tree-list-contacts{display:grid;gap:8px;}
}
