
.htz-dashboard{max-width:1500px}
.htz-dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px;margin:18px 0;background:linear-gradient(135deg,#fff,#f3f7ff);border:1px solid #dfe7f2;border-radius:18px;box-shadow:0 8px 28px rgba(32,56,85,.08)}
.htz-dashboard-eyebrow{display:block;font-weight:700;color:#3858a6;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.htz-dashboard-header h1{margin:5px 0 3px;font-size:30px}
.htz-dashboard-header p{margin:0;color:#64748b}
.htz-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}
.htz-dashboard-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}
.htz-dashboard-filter[hidden]{display:none!important}
.htz-metrics-header-right .htz-dashboard-filter{margin:0}
.htz-dashboard-filter label{display:grid;gap:5px;font-weight:600}
.htz-dashboard-filter input,.htz-dashboard-filter select{min-width:190px}
.htz-dashboard-kpis{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;margin-bottom:22px}
.htz-dashboard-kpis article,.htz-dashboard-card{background:#fff;border:1px solid #dfe5ec;border-radius:16px;box-shadow:0 5px 20px rgba(31,41,55,.06)}
.htz-dashboard-kpis article{padding:18px}
.htz-dashboard-kpis span{display:block;color:#64748b;font-size:13px;margin-bottom:8px}
.htz-dashboard-kpis strong{font-size:24px}
.htz-dashboard-kpis .positive strong{color:#11875d}
.htz-dashboard-kpis .negative strong{color:#c73535}
.htz-dashboard-card{padding:22px;margin-bottom:18px}
.htz-dashboard-card h2{margin:0 0 18px;font-size:19px}
.htz-progress-ring{--progress:0;width:170px;height:170px;margin:4px auto 24px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#3157b7 calc(var(--progress)*1%),#e7ebf2 0)}
.htz-goal-columns{display:grid;grid-template-columns:30% 70%;gap:20px;align-items:center}
.htz-goal-columns>div:last-child{padding-right:20px;box-sizing:border-box}
@media(max-width:650px){.htz-goal-columns{grid-template-columns:1fr}.htz-goal-columns>div:last-child{padding-right:0}}
.htz-progress-ring:before{content:"";position:absolute;width:132px;height:132px;border-radius:50%;background:#fff}
.htz-progress-ring{position:relative}
.htz-progress-ring div{position:relative;z-index:1;text-align:center}
.htz-progress-ring strong{display:block;font-size:30px;line-height:1;margin-bottom:10px}
.htz-progress-ring span{display:block;color:#64748b;line-height:1.25}
.htz-goal-row{margin:13px 0}
.htz-goal-label{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:6px}
.htz-goal-track{height:9px;background:#edf0f4;border-radius:99px;overflow:hidden}
.htz-goal-track span{display:block;height:100%;border-radius:99px;background:#d34b4b}
.htz-goal-row.is-progress .htz-goal-track span{background:#d7a126}
.htz-goal-row.is-complete .htz-goal-track span{background:#1b9b6b}
.htz-issuer-group{padding:14px 0;border-top:1px solid #edf0f4}
.htz-issuer-group:first-of-type{border-top:0;padding-top:0}
.htz-issuer-group h3{margin:0 0 8px}
.htz-stats-list{margin:0}
.htz-stats-list div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f4}
.htz-stats-list dd{font-weight:700;margin:0}
.htz-table-scroll{overflow-x:auto}
.htz-status-pill{display:inline-block;padding:4px 9px;border-radius:999px;font-weight:700;background:#fce5e5;color:#a72c2c}
.htz-status-pill.progress{background:#fff2cf;color:#8d6500}
.htz-status-pill.complete{background:#dff6eb;color:#13714e}
.htz-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:20px 28px;max-width:1100px}
.htz-settings-grid label{display:grid;gap:8px;font-weight:600;color:#334155}
.htz-settings-grid .wide{grid-column:1/-1}
.htz-settings-grid .checkbox{display:flex;align-items:flex-start;gap:10px;font-weight:600}
.htz-settings-grid .checkbox input[type=checkbox]{margin-top:3px}
.htz-settings-grid .checkbox .description{font-weight:400;display:block;margin-top:2px}
.htz-settings-grid input[type=number],.htz-settings-grid input[type=text],.htz-settings-grid textarea{width:100%;box-sizing:border-box;padding:9px 11px;border-radius:6px;border:1px solid #d0d7e2;font-size:13px}
.htz-settings-grid textarea{min-height:110px;resize:vertical}
.htz-settings-grid textarea[name="sendungsplaner_pages"],.htz-settings-grid textarea[name="emittent_wkn_prefixes"]{min-height:220px;font-size:13px;line-height:1.6}
.htz-settings-section{margin:0 0 30px;padding:22px 24px;background:#fff;border:1px solid #e3e8ef;border-radius:10px;max-width:1100px}
.htz-settings-section h3{margin:0 0 4px;font-size:15px;color:#111827}
.htz-settings-section>.description{margin:0 0 18px;color:#64748b}
.htz-settings-grid .description{font-size:12.5px;color:#64748b;font-weight:400;line-height:1.5}
@media(max-width:1200px){.htz-dashboard-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.htz-dashboard-header{display:block}.htz-dashboard-actions{margin-top:18px}.htz-dashboard-kpis,.htz-settings-grid{grid-template-columns:1fr}.htz-settings-grid .wide{grid-column:auto}}

.htz-card-intro{margin:-8px 0 16px;color:#64748b}
.htz-issuer-summary{display:flex;justify-content:space-between;align-items:center;gap:12px}
.htz-issuer-summary h3{margin:0}
.htz-issuer-summary strong{font-size:13px;color:#3858a6}
.htz-issuer-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.htz-issuer-breakdown div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f9fc;border-radius:10px}
.htz-issuer-breakdown dt{color:#64748b}
.htz-issuer-breakdown dd{margin:0;font-weight:700}
@media(max-width:600px){.htz-issuer-breakdown{grid-template-columns:1fr}}

.htz-depot-card{grid-column:auto}
.htz-depot-group{padding:14px 0;border-top:1px solid #edf0f4}
.htz-depot-group:first-of-type{border-top:0;padding-top:0}
.htz-depot-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.htz-depot-summary h3{margin:0}
.htz-depot-summary>strong{font-size:13px;color:#3858a6}
.htz-depot-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.htz-depot-values span{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;background:#f7f9fc;border-radius:9px;color:#64748b}
.htz-depot-values strong{color:#1f2937}
.htz-depot-team .htz-depot-summary>strong{color:#8d6500}
@media(max-width:600px){.htz-depot-values{grid-template-columns:1fr}}

.htz-dashboard-filter select[name=depot]{min-width:260px;font-weight:600}


.htz-issuer-chart-wrap{display:grid;grid-template-columns:190px minmax(180px,1fr);align-items:center;gap:24px;padding:8px 0 22px;margin-bottom:4px;border-bottom:1px solid #edf0f4}
.htz-issuer-pie{--issuer-pie:#e7ebf2 0deg 360deg;position:relative;width:180px;aspect-ratio:1;margin:auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--issuer-pie));box-shadow:inset 0 0 0 1px rgba(49,87,183,.08)}
.htz-issuer-pie:after{content:"";position:absolute;width:104px;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #edf0f4}
.htz-issuer-pie-center{position:relative;z-index:1;text-align:center}
.htz-issuer-pie-center strong{display:block;font-size:28px;line-height:1.05;color:#1f2937}
.htz-issuer-pie-center span{display:block;margin-top:4px;font-size:12px;color:#64748b}
.htz-issuer-chart-legend{display:grid;gap:9px}
.htz-issuer-chart-legend>div{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;background:#f7f9fc;border-radius:9px}
.htz-issuer-chart-legend>div>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569}
.htz-issuer-chart-legend strong{color:#1f2937}
.htz-issuer-legend-dot{width:10px;height:10px;border-radius:50%;background:var(--legend-color)}
.htz-issuer-chart-legend p{margin:0;color:#64748b}
@media(max-width:650px){.htz-issuer-chart-wrap{grid-template-columns:1fr}.htz-issuer-pie{width:170px}.htz-issuer-chart-legend{width:100%}}

.htz-export-button,.htz-print-button{height:50px!important;display:inline-flex!important;align-items:center!important;padding:0 18px!important;border-radius:6px!important;font-weight:600!important}
.htz-sell-button{background:#d63638!important;border-color:#b32d2e!important;color:#fff!important}
.htz-sell-button:hover,.htz-sell-button:focus{background:#b32d2e!important;border-color:#8a2222!important;color:#fff!important}
.htz-sendungsplaner-dropdown{position:relative;display:inline-flex}
.htz-sendungsplaner-select{height:50px!important;padding:0 34px 0 18px!important;border-radius:6px!important;font-weight:600!important;background-color:#0f9d58!important;border:1px solid #0b8043!important;color:#fff!important;appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px}
.htz-sendungsplaner-select:hover,.htz-sendungsplaner-select:focus{background-color:#0b8043!important;border-color:#087038!important;outline:none}
.htz-sendungsplaner-select option{color:#1f2937;background:#fff}
.htz-trades-overview{margin-top:4px}
.htz-capital-performance{margin:0 20px 16px;padding:14px 16px;border:1px solid #e3e8ef;border-radius:8px;background:#f8faff}
.htz-capital-performance-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#3858a6;margin-bottom:10px}
.htz-capital-performance-grid{display:flex;gap:24px;flex-wrap:wrap}
.htz-capital-metric{display:flex;flex-direction:column;gap:2px}
.htz-capital-metric span{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-weight:700}
.htz-capital-metric strong{font-size:16px}
.htz-capital-metric-total{padding-left:24px;border-left:1px solid #dfe5ec}
.htz-capital-metric strong.is-positive{color:#11875d}
.htz-capital-metric strong.is-negative{color:#c73535}
.htz-metrics-card{padding:20px 22px}
.htz-metrics-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.htz-metrics-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.htz-metrics-toggle{align-self:flex-end}
.htz-metrics-daterange{justify-content:flex-end}
.htz-metrics-daterange{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.htz-metrics-daterange[hidden]{display:none!important}
.htz-metrics-daterange label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;color:#64748b}
.htz-metrics-daterange input[type=date]{padding:6px 8px;border-radius:6px;border:1px solid #d0d7e2;font-size:12.5px}
.htz-metrics-daterange .button{height:32px!important;padding:0 10px!important;font-size:12px!important}
.htz-metrics-header h2{margin:0;font-size:16px}
.htz-metrics-toggle{display:inline-flex;background:#f1f5f9;border-radius:8px;padding:3px;gap:2px}
.htz-metrics-toggle-btn{border:0;background:transparent;padding:7px 14px;border-radius:6px;font-size:12.5px;font-weight:700;color:#64748b;cursor:pointer}
.htz-metrics-toggle-btn.is-active{background:#fff;color:#1f2937;box-shadow:0 1px 3px rgba(15,23,42,.12)}
.htz-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:16px}
.htz-metrics-grid[hidden]{display:none!important}
.htz-metric-tile{padding:14px 16px;border:1px solid #e3e8ef;border-radius:10px;background:#fafcff;display:flex;flex-direction:column;gap:4px}
.htz-metric-tile span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#64748b}
.htz-metric-tile strong{font-size:20px;color:#172033}
.htz-metric-tile small{font-size:11px;color:#94a3b8}
.htz-metric-tile.is-positive strong{color:#11875d}
.htz-metric-tile.is-negative strong{color:#c73535}
.htz-metrics-grid-core{grid-template-columns:repeat(4,minmax(120px,1fr));margin:22px 0 20px}
.htz-metrics-grid-core .htz-metric-tile{background:#f8faff;border-color:#dbe4f3}
.htz-metrics-grid-core .htz-metric-tile strong{font-size:22px}
.htz-metrics-details-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;margin:0 0 12px}
.htz-metrics-grid-details{grid-template-columns:repeat(6,minmax(100px,1fr));gap:12px}
.htz-metrics-grid-details .htz-metric-tile{padding:10px 12px}
.htz-metrics-grid-details .htz-metric-tile span{font-size:10px}
.htz-metrics-grid-details .htz-metric-tile strong{font-size:15px}
@media(max-width:782px){.htz-metrics-grid-details{grid-template-columns:repeat(2,1fr)}}
@media(max-width:782px){.htz-metrics-grid{grid-template-columns:repeat(2,1fr)}}
.htz-table-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.htz-accordion-header{cursor:pointer;user-select:none;margin:-22px -22px 16px;padding:22px 22px 16px;border-radius:16px 16px 0 0}
.htz-accordion-header:hover{background:#f8faff}
.htz-accordion-header:focus-visible{outline:2px solid #3157b7;outline-offset:-2px}
.htz-accordion-chevron{display:inline-block;font-size:16px;color:#94a3b8;transition:transform .18s ease;margin-left:4px}
.htz-accordion.is-collapsed .htz-accordion-header{margin-bottom:-22px;padding-bottom:22px;border-radius:16px}
.htz-accordion.is-collapsed .htz-accordion-chevron{transform:rotate(-90deg)}
.htz-accordion-body{padding-top:6px}
.htz-table-heading h2{margin:3px 0 10px}
.htz-section-kicker{display:block;color:#3858a6;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.htz-table-badges{display:flex;gap:8px;flex-wrap:wrap}
.htz-table-badges span{padding:7px 11px;border:1px solid #dfe5ec;border-radius:999px;background:#f7f9fc;color:#475569;font-size:12px;font-weight:700}
.htz-modern-table{width:100%;border-collapse:separate;border-spacing:0;min-width:0;background:#fff;font-size:12.5px;table-layout:auto}
.htz-modern-table th{position:sticky;top:0;z-index:1;padding:8px 8px;background:#f5f7fb;border-top:1px solid #e3e8ef;border-bottom:1px solid #dce3ec;color:#64748b;font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}
.htz-modern-table th:first-child{border-left:1px solid #e3e8ef;border-radius:10px 0 0 0}
.htz-modern-table th:last-child{border-right:1px solid #e3e8ef;border-radius:0 10px 0 0}
.htz-modern-table td{padding:7px 8px;border-bottom:1px solid #edf0f4;color:#334155;vertical-align:middle;white-space:nowrap}
.htz-modern-table tbody tr{transition:background .18s ease,transform .18s ease}
.htz-modern-table tbody tr:hover{background:#f8faff}
.htz-modern-table code{padding:2px 5px;border-radius:5px;background:#f1f5f9;color:#334155;font-size:11px}
.htz-basis-name{color:#172033;display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.htz-trade-state,.htz-type-chip{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800}
.htz-trade-state.open{background:#e2f7ed;color:#11734f}
.htz-trade-state.closed{background:#edf1f6;color:#596579}
.htz-type-chip{background:#eaf0ff;color:#3157b7}
.htz-modern-table .is-positive{color:#11875d}
.htz-modern-table .is-negative{color:#c73535}
.htz-modern-table td div[style*="display:flex"]{gap:4px!important}
.htz-modern-table .button.button-small{padding:0 6px!important;min-height:26px!important;line-height:24px!important;font-size:11px!important}
.htz-empty-table{text-align:center!important;padding:30px!important;color:#64748b!important}
@media(max-width:782px){.htz-table-heading{display:block}.htz-table-badges{margin-top:12px}.htz-export-button,.htz-print-button{height:40px!important}}
@media print{#adminmenumain,#wpadminbar,#screen-meta-links,.htz-dashboard-filter,.htz-dashboard-actions,.htz-dashboard-settings{display:none!important}#wpcontent{margin-left:0!important}.htz-dashboard{max-width:none}.htz-dashboard-card,.htz-dashboard-kpis article,.htz-dashboard-header{box-shadow:none!important;break-inside:avoid}.htz-table-scroll{overflow:visible}.htz-modern-table{min-width:0;font-size:9px}.htz-modern-table th,.htz-modern-table td{padding:6px}}

/* Modular dashboard layout - jetzt als Tabs statt Drag & Drop, immer nur
   eine Karte gleichzeitig sichtbar, damit man nicht so viel scrollen muss. */
.htz-module-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.htz-module-tab{border:1px solid #dfe5ec;background:#fff;color:#475569;padding:9px 16px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer}
.htz-module-tab:hover{border-color:#b7c3d6}
.htz-module-tab.is-active{background:#3157b7;border-color:#3157b7;color:#fff}
.htz-dashboard-grid{display:block}
.htz-dashboard-grid[hidden],.htz-dashboard-grid [hidden]{display:none!important}
.htz-issuer-summary h2{display:flex;align-items:center;justify-content:space-between;gap:12px}
@media(max-width:782px){.htz-module-tabs{gap:8px}.htz-module-tab{flex:1 1 calc(50% - 8px);text-align:center}}
@media print{.htz-module-tabs{display:none!important}.htz-dashboard-grid [hidden]{display:block!important}}
