.ivy-hermes{grid-column:1/-1;margin:20px 0;padding:22px 24px;border:1px solid #34485e;border-radius:16px;background:#0e1829;color:#edf3fa;line-height:1.8;overflow-wrap:anywhere}
.ivy-hermes h2,.ivy-hermes h3,.ivy-hermes h4{color:inherit;line-height:1.5;margin:0 0 14px}.ivy-hermes h2{font-size:20px}.ivy-hermes h3{font-size:20px}.ivy-hermes h4{font-size:16px;margin-top:20px}
.ivy-hermes-header{display:flex;align-items:center;gap:16px 24px;flex-wrap:wrap}.ivy-hermes-heading{flex:1;min-width:180px}.ivy-hermes-heading h2{margin:0}.ivy-hermes .ivy-hermes-subtitle{font-size:13px;color:#aabbd0;margin:3px 0 0}
.ivy-hermes-saved{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.ivy-hermes-saved-state{font-size:13px;line-height:1.5;border-radius:6px;padding:4px 9px;background:#223246;color:#d3dfeb}.ivy-hermes-saved-state[data-state="incomplete"]{background:#3b3023;color:#f3d2a0}.ivy-hermes-saved-state[data-state="verified"]{background:#173b33;color:#a9e5c9}.ivy-hermes-saved-state[data-state="quality_withheld"],.ivy-hermes-saved-state[data-state="withheld"]{background:#28334b;color:#c6d6f3}.ivy-hermes-saved-at{font-size:11px;color:#aabbd0}
.ivy-hermes-toggle{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;padding:6px 0}.ivy-hermes-toggle input{width:17px;height:17px;accent-color:#76c4aa;flex:none}.ivy-hermes-toggle:focus-within{outline:2px solid #9bd2ee;outline-offset:5px;border-radius:4px}
.ivy-hermes-body[hidden]{display:none}.ivy-hermes-body{border-top:1px solid #34485e;margin-top:18px;padding-top:10px}.ivy-hermes-intro{color:#c2cfdf;margin-top:20px}.ivy-hermes-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:20px 0}.ivy-hermes-controls label{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ivy-hermes select,.ivy-hermes button{font:inherit;color:inherit;background:#1a2a42;border:1px solid #58728e;border-radius:8px;padding:8px 12px;max-width:100%}.ivy-hermes button{cursor:pointer}.ivy-hermes button:disabled{opacity:.55;cursor:wait}
.ivy-hermes-status{color:#b9d9ec;font-size:14px}.ivy-hermes-metadata{border-left:3px solid #79bfa9;padding:10px 16px;background:#15263a;font-size:14px;margin-bottom:24px}.ivy-hermes-metadata p{margin:2px 0}
.ivy-hermes-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.ivy-hermes-comparison>details{min-width:0;border:1px solid var(--history-border);border-radius:10px;padding:14px 16px;background:var(--history-card)}
.ivy-hermes p{margin:8px 0 14px}.ivy-hermes ul{padding-left:22px;margin:10px 0}.ivy-hermes li{margin:8px 0}.ivy-hermes-badge{display:inline-block;border:1px solid #648093;border-radius:6px;padding:3px 10px;font-size:13px}
.ivy-hermes-finding,.ivy-hermes-condition,.ivy-hermes-computed{padding:16px 0;border-bottom:1px solid #3b4b64}.ivy-hermes-finding:last-child{border-bottom:0}.ivy-hermes-condition strong{color:#d0e9df}.ivy-hermes-caution{color:#ffdfa2}
.ivy-hermes details{margin:10px 0}.ivy-hermes summary{cursor:pointer;color:#c5d8ea;font-size:14px}.ivy-hermes-evidence-item{margin:12px 0;padding:12px;background:#18263a;border-radius:8px}.ivy-hermes-evidence-item p{margin:4px 0}.ivy-hermes small{color:#b9c9da;font-size:12px}
.ivy-hermes pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;font-size:12px;line-height:1.65;background:#07101d;color:#c4d2e2;border-radius:8px;padding:12px}.ivy-hermes-run{border-top:1px solid #40526b;padding-top:14px;margin-top:24px!important}
.ivy-hermes{--history-card:#15263a;--history-border:#4d607a;--history-muted:#b9c9da;--history-accent:#a9dacf;--history-tint:#223d42}
#ivyr-app .ivy-home-layout .ivy-care-history{--history-card:#fffef9;--history-border:#d6dfcf;--history-muted:#61705b;--history-accent:#365f50;--history-tint:#edf3e8}
.ivy-hermes .ivy-hermes-status{font-size:13px;margin:8px 0 18px}
.ivy-hermes-overview{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.ivy-hermes .ivy-hermes-overview h3{font-size:16px;margin:0}
.ivy-hermes .ivy-hermes-overview-caption{font-size:12px;color:var(--history-muted);margin:0}
.ivy-hermes-trends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ivy-hermes-trend{min-width:0;border:1px solid var(--history-border);border-radius:12px;padding:16px 18px;background:var(--history-card);font-variant-numeric:tabular-nums}
.ivy-hermes .ivy-hermes-trend h4{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 14px}
.ivy-hermes-trend-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:var(--history-tint);color:var(--history-accent);flex:none}
.ivy-hermes-trend-icon svg{width:21px;height:21px}
.ivy-hermes-trend-values{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}
.ivy-hermes .ivy-hermes-trend-values small{display:block;font-size:11px;color:var(--history-muted)}
.ivy-hermes .ivy-hermes-trend-values p{margin:0;display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;line-height:1.4}
.ivy-hermes-trend-values strong{font-size:30px;font-weight:700;letter-spacing:-.03em}
.ivy-hermes-trend-values p>span{font-size:13px;color:var(--history-muted)}
.ivy-hermes-trend-arrow{font-size:23px;color:var(--history-muted)}
.ivy-hermes .ivy-hermes-trend-delta{display:inline-flex;align-items:center;gap:6px;color:var(--history-accent);background:var(--history-tint);border-radius:6px;padding:3px 9px;font-size:13px;font-weight:600;margin:12px 0 0}
.ivy-hermes .ivy-hermes-trend-period{color:var(--history-muted);font-size:11px;margin:10px 0 0}
.ivy-hermes .ivy-hermes-trend-unavailable{font-size:18px;font-weight:600;margin:10px 0}
.ivy-hermes .ivy-hermes-trend-reason{font-size:13px;margin:0;color:var(--history-muted)}
.ivy-hermes .ivy-hermes-reference-note{font-size:11px;color:var(--history-muted);margin:10px 0}
.ivy-hermes .ivy-hermes-history-note{font-size:13px;margin:14px 0;padding-left:12px;border-left:3px solid var(--history-border)}
.ivy-hermes .ivy-hermes-comparison>details{margin:0;font-size:14px}
.ivy-hermes .ivy-hermes-baseline>small{color:var(--history-muted)}
.ivy-hermes .ivy-hermes-comparison>details>summary{font-weight:600;color:inherit}
.ivy-hermes .ivy-hermes-comparison>details[open]>summary{margin-bottom:16px}
.ivy-hermes .ivy-hermes-run,.ivy-hermes .ivy-hermes-settings{border-top:1px solid var(--history-border);padding-top:12px;margin:12px 0 0!important}
.ivy-hermes .ivy-hermes-run>summary,.ivy-hermes .ivy-hermes-settings>summary{font-size:12px}
.ivy-hermes .ivy-hermes-settings .ivy-hermes-intro{font-size:13px;margin:12px 0}
.ivy-hermes .ivy-hermes-settings .ivy-hermes-controls{font-size:13px;margin:12px 0}
.ivy-hermes :is(summary,select,button):focus-visible{outline:3px solid var(--history-accent);outline-offset:4px}
#ivyr-app .ivy-home-layout .ivy-care-history :is(.ivy-hermes-evidence-item,pre){background:#edf3e8;color:#315640}
#ivyr-app .ivy-home-layout .ivy-care-history .ivy-hermes-condition strong{color:#315640}
@media(max-width:700px){.ivy-hermes{padding:18px 16px;border-radius:14px}.ivy-hermes-header{gap:12px}.ivy-hermes-heading{flex-basis:100%}.ivy-hermes h2{font-size:19px}.ivy-hermes-saved{flex:1}.ivy-hermes-comparison,.ivy-hermes-trends{grid-template-columns:minmax(0,1fr)}.ivy-hermes-trend{padding:14px 16px}.ivy-hermes-trend-values{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);max-width:300px}.ivy-hermes-controls{align-items:stretch;flex-direction:column}.ivy-hermes-controls label{display:block}.ivy-hermes select{display:block;width:100%;margin-top:6px}.ivy-hermes-controls button{width:100%}}
