/* Visual hierarchy for the new workspace overview and annual service-charge flow. */
.product-view-immobilien .product-main { width: min(1800px,100%); padding-top: 24px; }
.property-section-nav { position: sticky; top: 64px; z-index: 12; display: flex; align-items: center; gap: 5px; margin: -20px 0 27px; padding: 6px; overflow-x: auto; border: 1px solid #dfe9eb; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 4px 13px rgba(24,56,64,.06); scrollbar-width: none; }
.property-section-nav::-webkit-scrollbar { display: none; }
.property-section-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 38px; padding: 0 13px; border-radius: 9px; color: #61747d; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .16s ease,color .16s ease,transform .16s ease; }
.property-section-nav a:hover { background: #f0f7f7; color: var(--pr-teal); transform: translateY(-1px); }
.property-section-nav a.active { background: var(--pr-teal); color: #fff; }
.property-section-nav svg { width: 16px; height: 16px; }
.property-section-nav b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: #fff2d7; color: #9c6810; font-size: 10px; }
.tenancy-view-tabs { margin: 0 0 14px; }
.property-overview-heading { align-items: center; margin-bottom: 18px; }
.property-overview-heading h1 { margin-top: 0; }
.property-portfolio-strip { margin-bottom: 20px; overflow: hidden; }
.property-portfolio-strip { grid-template-columns: repeat(6,minmax(0,1fr)); }
.property-portfolio-strip > div { min-height: 118px; justify-content: center; padding: 18px 20px; }
.property-portfolio-strip > div:last-child { min-width: 0; }
.property-portfolio-strip strong { font-size: clamp(18px,1.45vw,25px); }
.property-portfolio-strip .progress-svg { height: 7px; }
.property-portfolio-strip .portfolio-cf-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.property-portfolio-strip .portfolio-cf-line small { color: var(--pr-muted); font-size: 10px; }
.property-portfolio-strip .portfolio-cf-line strong { font-size: clamp(15px,1.1vw,20px); white-space: nowrap; }
.property-portfolio-strip .property-portfolio-cashflow { gap: 5px; }
.property-portfolio-strip .property-portfolio-cashflow > .muted { margin-top: 2px; line-height: 1.35; }
.property-portfolio-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; align-items: start; }
.property-portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0; }
.property-portfolio-grid .obj-card { min-width: 0; gap: 12px; padding: 16px; text-decoration: none; }
.property-portfolio-grid .obj-top { min-width: 0; align-items: center; gap: 10px; }
.property-portfolio-grid .obj-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-portfolio-grid .obj-title small { font-size: 10px; }
.property-portfolio-grid .obj-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.property-portfolio-grid .obj-stats b { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.property-portfolio-grid .obj-foot { min-height: 26px; }
.property-portfolio-grid .obj-foot .mstate { max-width: 100%; font-size: 11px; }
.property-portfolio-rail { display: grid; gap: 14px; }
.property-portfolio-rail .product-panel { margin: 0; padding: 17px; }
.property-portfolio-rail .product-panel-head { gap: 8px; margin-bottom: 10px; }
.property-portfolio-rail .product-panel-head h2 { font-size: 15px; }
.property-portfolio-rail .product-note-inline { white-space: nowrap; }
.property-overview-tasks,.property-overview-notes { list-style: none; margin: 0; padding: 0; }
.property-overview-tasks li { border-top: 1px solid #edf2f3; }
.property-overview-tasks li:first-child,.property-overview-notes li:first-child { border-top: 0; }
.property-overview-tasks a { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 42px; color: var(--pr-ink); font-size: 11px; text-decoration: none; }
.property-overview-tasks a:hover { color: var(--pr-teal); }
.property-overview-tasks b { text-align: right; font-size: 11px; white-space: nowrap; }
.task-dot { width: 8px; height: 8px; border-radius: 50%; background: #d6a32f; }
.task-dot.bad { background: #ca4762; }
.task-dot.ok { background: #1a9875; }
.property-overview-notes li { display: flex; justify-content: space-between; gap: 9px; padding: 9px 0; border-top: 1px solid #edf2f3; color: var(--pr-ink); font-size: 10px; line-height: 1.5; }
.property-overview-notes li small { color: var(--pr-muted); font-size: 9px; }
.property-detail-heading { align-items: center; }
.property-detail-heading h1 { margin-top: 0; }
@media(max-width:1450px) { .property-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .property-portfolio-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } .property-portfolio-strip > div:nth-child(4) { border-left: 0; } .property-portfolio-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); } .property-portfolio-strip > div:nth-child(5),.property-portfolio-strip > div:nth-child(6) { border-left: 1px solid var(--line); } }
@media(max-width:1120px) { .property-portfolio-layout { grid-template-columns: 1fr; } .property-portfolio-rail { grid-template-columns: repeat(2,minmax(0,1fr)); } .property-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .product-view-immobilien .product-main { width: 100%; } .property-section-nav { top: 104px; margin: -12px 0 20px; border-radius: 11px; } .property-section-nav a { min-height: 36px; padding: 0 10px; font-size: 11px; } .property-overview-heading { align-items: flex-start; } .property-overview-heading .product-heading-actions,.property-detail-heading .product-heading-actions { flex-wrap: wrap; } .property-portfolio-strip { grid-template-columns: repeat(2,minmax(0,1fr)); } .property-portfolio-strip > div { min-height: 90px; padding: 12px; } .property-portfolio-strip > div:nth-child(odd) { border-left: 0; } .property-portfolio-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } .property-portfolio-grid,.property-portfolio-rail { grid-template-columns: 1fr; } }
.dashboard-stats.product-stats:not(.compact) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin: 0 0 22px;
}

.dashboard-stat.product-stat {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 12px;
  min-height: 142px;
  padding: 18px 17px;
  overflow: hidden;
  border-color: #dce8ea;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(24, 56, 64, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.dashboard-stat.product-stat::before {
  position: absolute;
  z-index: -1;
  top: -42px;
  right: -40px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--stat-glow, rgba(0, 112, 122, .07));
  content: "";
  transition: transform .25s ease;
}

.dashboard-stat.product-stat:hover {
  transform: translateY(-3px);
  border-color: #b7d5d8;
  box-shadow: 0 12px 26px rgba(24, 56, 64, .11);
}

.dashboard-stat.product-stat:hover::before { transform: scale(1.18); }
.dashboard-stat.stat-attention { --stat-glow: rgba(207, 49, 87, .09); border-top: 3px solid #d94d6e; }
.dashboard-stat.stat-liquid { --stat-glow: rgba(0, 112, 122, .1); border-top: 3px solid #168c92; }
.dashboard-stat.stat-wealth { --stat-glow: rgba(70, 111, 160, .1); border-top: 3px solid #6c8fba; }
.dashboard-stat.stat-homes { --stat-glow: rgba(22, 135, 103, .1); border-top: 3px solid #38a484; }
.dashboard-stat.stat-forecast { --stat-glow: rgba(133, 106, 190, .1); border-top: 3px solid #8a78bd; }

.dashboard-stat .dashboard-stat-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 112, 122, .08);
  border-radius: 13px;
  background: #e6f4f4;
  color: var(--pr-teal);
}

.dashboard-stat .dashboard-stat-icon svg { width: 20px; height: 20px; }
.dashboard-stat.stat-attention .dashboard-stat-icon { background: #fff0f3; color: #c63658; }
.dashboard-stat.stat-wealth .dashboard-stat-icon { background: #eff3fb; color: #5579aa; }
.dashboard-stat.stat-homes .dashboard-stat-icon { background: #eaf6f1; color: #228568; }
.dashboard-stat.stat-forecast .dashboard-stat-icon { background: #f2eff9; color: #7866aa; }
.dashboard-stat.product-stat small { grid-column: 2; grid-row: 1; align-self: end; font-size: 11px; font-weight: 700; line-height: 1.35; }
.dashboard-stat.product-stat strong { grid-column: 2; grid-row: 2; margin: 5px 0 3px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dashboard-stat.product-stat strong i { color: #9aabb0; font-style: normal; font-weight: 500; }
.dashboard-stat.product-stat > span:last-child { grid-column: 2; grid-row: 3; max-width: 31ch; color: var(--pr-muted); font-size: 9px; line-height: 1.4; }
.dashboard-stat.stat-attention strong { color: #c63658; }

.nk-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  grid-template-rows: auto auto;
  gap: 20px 26px;
  margin: 2px 0 18px;
  padding: 25px 28px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 19px;
  background: linear-gradient(118deg, #075f68 0%, #087b84 53%, #15989a 100%);
  color: #fff;
  box-shadow: 0 13px 30px rgba(0, 89, 98, .16);
}

.nk-hero::before, .nk-hero::after {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nk-hero::before { top: -150px; right: 90px; width: 360px; height: 360px; }
.nk-hero::after { top: -105px; right: 135px; width: 270px; height: 270px; }
.nk-hero-copy, .nk-hero-visual, .nk-hero-steps { position: relative; z-index: 1; }
.nk-hero-copy { max-width: 720px; }
.nk-hero-copy .product-eyebrow { color: #b9e6e5; }
.nk-hero-copy h2 { margin: 2px 0 9px; font-size: clamp(21px, 2vw, 29px); letter-spacing: -.04em; }
.nk-hero-copy > p:not(.product-eyebrow) { max-width: 68ch; margin: 0; color: rgba(255,255,255,.83); font-size: 11px; line-height: 1.6; }
.nk-hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; background: rgba(255,255,255,.12); color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.nk-hero-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.2); }
.nk-hero-visual { display: grid; place-items: center; min-height: 130px; }
.nk-hero-icon { z-index: 1; display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.55); border-radius: 25px; background: linear-gradient(145deg,rgba(255,255,255,.3),rgba(255,255,255,.12)); box-shadow: 0 12px 30px rgba(0,43,49,.17), inset 0 1px rgba(255,255,255,.25); transform: rotate(-7deg); }
.nk-hero-icon svg { width: 39px; height: 39px; }
.nk-hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.nk-hero-visual .orbit-one { width: 122px; height: 122px; animation: nk-orbit 22s linear infinite; }
.nk-hero-visual .orbit-two { width: 158px; height: 88px; transform: rotate(32deg); }
.nk-hero-chip, .nk-hero-year { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; background: rgba(3,74,81,.32); color: #fff; font-weight: 800; backdrop-filter: blur(7px); }
.nk-hero-chip { top: 7px; right: 0; padding: 6px 9px; font-size: 9px; }
.nk-hero-year { bottom: 7px; left: 5px; padding: 6px 11px; font-size: 11px; }
.nk-hero-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.nk-hero-steps > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.nk-hero-steps > div > b { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; color: #c5eeec; font-size: 9px; }
.nk-hero-steps span { display: grid; gap: 2px; min-width: 0; }
.nk-hero-steps strong { font-size: 10px; }
.nk-hero-steps small { overflow: hidden; color: rgba(255,255,255,.72); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
@keyframes nk-orbit { to { transform: rotate(360deg); } }

.nk-created-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 15px; border: 1px solid #b9e2d4; border-radius: 12px; background: linear-gradient(105deg,#eaf8f2,#f7fcfa); color: #285d4d; box-shadow: 0 5px 16px rgba(22,135,103,.07); }
.nk-created-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: #d1f0e3; color: #168366; }
.nk-created-icon svg { width: 17px; height: 17px; }
.nk-created-banner > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.nk-created-banner strong { font-size: 11px; }
.nk-created-banner small { color: #577d70; font-size: 9px; }
.nk-created-banner > a { margin-left: auto; color: #087b65; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }

.nk-preparation-panel { padding: 21px; border-radius: 16px; }
.nk-prep-grid { gap: 13px; }
.nk-prep-card { position: relative; padding: 17px; border-color: #dce8ea; border-radius: 14px; background: linear-gradient(145deg,#fff 48%,#f8fbfc); box-shadow: 0 4px 14px rgba(24,56,64,.045); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.nk-prep-card:hover { transform: translateY(-2px); border-color: #b7d8db; box-shadow: 0 10px 22px rgba(24,56,64,.09); }
.nk-prep-head { align-items: center; min-height: 44px; }
.nk-property-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nk-property-identity > span:last-child { min-width: 0; }
.nk-property-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: linear-gradient(145deg,#e4f4f4,#f1f8f8); color: var(--pr-teal); }
.nk-property-icon svg { width: 19px; height: 19px; }
.nk-prep-head h3 { font-size: 13px; }
.nk-prep-facts { gap: 8px; margin: 16px 0 13px; }
.nk-prep-facts > span { min-height: 55px; align-content: center; padding: 8px 10px; border: 1px solid #e8eff0; border-radius: 10px; background: rgba(255,255,255,.85); }
.nk-prep-facts strong { font-size: 16px; }
.nk-prep-facts small { font-size: 9px; line-height: 1.35; }
.nk-prep-foot { gap: 9px 12px; }
.nk-prep-foot > a { padding: 5px 0; }
.nk-statements-panel { margin-top: 15px; border-radius: 16px; }
.nk-statement { position: relative; border-radius: 10px; transition: background .16s ease, transform .16s ease; }
.nk-statement:hover { transform: translateX(2px); background: #f5fbfb; }
.nk-statement-new { margin: 4px 0; padding-right: 10px; border: 1px solid #b8e1d3; background: linear-gradient(100deg,#f0faf5,#fff); box-shadow: 0 4px 13px rgba(22,135,103,.07); }
.nk-statement-arrow { margin-left: 4px; color: var(--pr-teal); font-size: 15px; font-weight: 800; }

.nk-detail-heading { align-items: center; margin-bottom: 12px; }
.nk-detail-heading h1 { margin-bottom: 4px; }
.nk-detail-heading > a { flex: none; }
.nk-product-detail { display: grid; gap: 13px; min-width: 0; }
.nk-product-detail .stat-strip { overflow: hidden; margin: 0; border-color: var(--pr-line); border-radius: 14px; box-shadow: var(--pr-shadow); }
.nk-product-detail .stat-strip > div { padding: 15px 16px; }
.nk-product-detail .stat-strip > div + div { border-color: var(--pr-line); }
.nk-product-detail .stat-strip .sl { color: var(--pr-muted); font-size: 10px; font-weight: 700; }
.nk-product-detail .stat-strip strong { color: var(--pr-ink); font-size: clamp(15px,1.25vw,20px); }
.nk-product-detail .stat-strip strong.pos { color: var(--pr-green); }
.nk-product-detail .stat-strip strong.negc { color: var(--pr-red); }
.nk-product-detail > .card { margin: 0; border-color: var(--pr-line); border-radius: 14px; box-shadow: var(--pr-shadow); }
.nk-product-detail .card-head h2, .nk-product-detail .card > h3 { font-family: inherit; }
.nk-product-detail .card-head .step { background: var(--pr-teal); }
.nk-product-detail .nk-meter-import { border-radius: 12px; }
.nk-product-detail .actions-row { flex-wrap: wrap; }
.nk-add-cost { border: 1px solid var(--pr-line); border-radius: 12px; background: #fbfdfd; }
.nk-add-cost > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; color: var(--pr-ink); font-size: 13px; font-weight: 800; }
.nk-add-cost > summary .muted { font-weight: 500; }
.nk-add-cost-body { display: grid; gap: 15px; padding: 0 15px 16px; }
.nk-cost-intro { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid var(--pr-line); }
.nk-cost-intro > div:first-child { min-width: 190px; }
.nk-cost-intro p { margin: 4px 0 0; }
.nk-cost-shortcuts { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.nk-cost-shortcut[aria-pressed="true"] { border-color: var(--pr-teal); background: #e8f6f5; color: var(--pr-teal); box-shadow: inset 0 0 0 1px var(--pr-teal); }
.nk-add-cost-form { display: grid; gap: 12px; margin: 0; }
.nk-add-cost-core { display: grid; grid-template-columns: minmax(220px,1.05fr) minmax(180px,.8fr) minmax(220px,1fr); align-items: start; gap: 12px; }
.nk-add-cost-form label { min-width: 0; align-content: start; gap: 6px; }
.nk-add-cost-form label > small { display: block; font-size: 10px; font-weight: 500; line-height: 1.45; }
.nk-add-cost-form [data-nk-key-hint], .nk-add-cost-form [data-nk-amount-hint] { min-height: 30px; }
.nk-add-cost-form [data-nk-amount-label] { color: var(--pr-ink); font-size: 11px; font-weight: 750; }
.nk-cost-provider { padding: 10px 12px; border: 1px solid #cfe5e3; border-radius: 10px; background: #f1f9f7; }
.nk-cost-provider[hidden] { display: none; }
.nk-provider-choice { display: flex; align-items: flex-start; gap: 9px; color: var(--pr-ink); cursor: pointer; }
.nk-provider-choice input { margin-top: 3px; accent-color: var(--pr-teal); }
.nk-provider-choice span { display: grid; gap: 3px; }
.nk-provider-choice strong { font-size: 11px; }
.nk-provider-choice small { color: var(--pr-muted); font-size: 10px; font-weight: 500; line-height: 1.45; }
.nk-cost-extra { margin: 0; padding: 0 10px; border: 1px solid var(--pr-line); border-radius: 9px; background: #fff; }
.nk-cost-extra > summary { padding: 9px 0; color: var(--pr-teal); font-size: 11px; font-weight: 750; }
.nk-cost-extra > summary .muted { margin-left: 6px; font-weight: 500; }
.nk-cost-extra-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0 0 11px; }
.nk-add-submit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nk-add-submit > small { font-size: 10px; }
@media(max-width:980px) { .nk-add-cost-core { grid-template-columns: repeat(2,minmax(0,1fr)); } .nk-add-cost-core > label:last-child { grid-column: 1/-1; } }
@media(max-width:600px) { .nk-add-cost-core, .nk-cost-extra-grid { grid-template-columns: 1fr; } .nk-add-cost-core > label:last-child { grid-column: auto; } .nk-add-submit { align-items: stretch; flex-direction: column; } .nk-add-submit .btn { width: 100%; } }
@media (max-width: 1100px) { .nk-product-detail .stat-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 720px) { .nk-detail-heading { align-items: flex-start; flex-direction: column; } .nk-product-detail .stat-strip { grid-template-columns: repeat(2,minmax(0,1fr)); } .nk-product-detail .stat-strip > div + div { border-left: 0; } }
@media (max-width: 900px) { .nk-cost-intro { align-items: flex-start; flex-direction: column; } .nk-cost-shortcuts { justify-content: flex-start; } }

@media (max-width: 1280px) {
  .dashboard-stats.product-stats:not(.compact) { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .dashboard-stat.product-stat { grid-column: span 2; }
  .dashboard-stat.product-stat:nth-child(4) { grid-column: 2 / span 2; }
  .dashboard-stat.product-stat:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 820px) {
  .dashboard-stats.product-stats:not(.compact) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-stat.product-stat, .dashboard-stat.product-stat:nth-child(4), .dashboard-stat.product-stat:nth-child(5) { grid-column: auto; }
  .nk-hero { grid-template-columns: minmax(0,1fr) 150px; padding: 20px; }
  .nk-hero-visual { min-height: 112px; }
}
@media (max-width: 560px) {
  .dashboard-stats.product-stats:not(.compact) { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dashboard-stat.product-stat { grid-template-columns: 32px minmax(0,1fr); column-gap: 9px; min-height: 112px; padding: 12px; }
  .dashboard-stat .dashboard-stat-icon { width: 32px; height: 32px; border-radius: 10px; }
  .dashboard-stat .dashboard-stat-icon svg { width: 16px; height: 16px; }
  .dashboard-stat.product-stat small { font-size: 9px; }
  .dashboard-stat.product-stat strong { font-size: 18px; }
  .dashboard-stat.product-stat > span:last-child { font-size: 8px; }
  .nk-hero { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 18px; }
  .nk-hero-visual { position: absolute; top: 8px; right: 17px; width: 95px; min-height: 95px; opacity: .45; }
  .nk-hero-icon { width: 58px; height: 58px; border-radius: 18px; }
  .nk-hero-icon svg { width: 28px; height: 28px; }
  .nk-hero-chip, .nk-hero-year { display: none; }
  .nk-hero-copy { padding-right: 20px; }
  .nk-hero-steps { gap: 8px; padding-top: 11px; }
  .nk-hero-steps > div { align-items: flex-start; gap: 5px; }
  .nk-hero-steps > div > b { width: 22px; height: 22px; border-radius: 7px; font-size: 8px; }
  .nk-hero-steps strong { font-size: 8px; }
  .nk-hero-steps small { font-size: 7px; white-space: normal; }
  .nk-created-banner { align-items: flex-start; flex-wrap: wrap; }
  .nk-created-banner > a { margin-left: 44px; }
  .nk-prep-head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-stat.product-stat, .nk-prep-card, .nk-hero-visual .orbit-one { transition: none; animation: none; }
}

.product-nav-admin { margin-top: auto; padding-top: 18px; }
.product-sidebar-bottom { margin-top: 14px; }
.product-nav-admin .product-nav-label { padding-bottom: 8px; }
.settings-tabs { margin-bottom: 18px; }
.settings-intro { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 22px; background: linear-gradient(115deg,#fff 55%,#eef8f8); }
.settings-intro-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--pr-teal); background: var(--pr-teal-soft); }
.settings-intro-icon svg { width: 22px; height: 22px; }
.settings-intro h2 { margin: 0 0 5px; font-size: 17px; }
.settings-intro p:not(.product-eyebrow) { margin: 0; color: var(--pr-muted); font-size: 11px; line-height: 1.5; }
.settings-guidance { display: flex; align-items: flex-start; gap: 12px; background: #eaf6f5; border-color: #d5ebea; color: var(--pr-ink); }
.settings-guidance:before { content: "i"; display: grid; place-items: center; width: 23px; height: 23px; flex: none; border-radius: 50%; color: #fff; background: var(--pr-teal); font-size: 12px; font-weight: 800; }
.settings-guidance span { color: var(--pr-muted); font-size: 11px; line-height: 1.6; }
.settings-property-list { display: grid; gap: 9px; }
.settings-property { border: 1px solid var(--pr-line); border-radius: 10px; overflow: hidden; }
.settings-property summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; cursor: pointer; list-style: none; }
.settings-property summary::-webkit-details-marker { display: none; }
.settings-property summary > span:first-child { display: grid; gap: 5px; min-width: 0; }
.settings-property summary strong { font-size: 12px; }
.settings-property summary small,.settings-property summary > span:last-child { color: var(--pr-muted); font-size: 10px; }
.settings-property summary > span:last-child { color: var(--pr-teal); font-weight: 750; white-space: nowrap; }
.settings-property[open] summary { background: #f5f9f9; border-bottom: 1px solid var(--pr-line); }
.settings-property form { padding: 16px; }
.settings-shortcuts { display: flex; align-items: center; gap: 9px; }
.settings-shortcuts > div { display: grid; gap: 4px; margin-right: auto; }
.settings-shortcuts > div strong { font-size: 12px; }
.settings-shortcuts > div span { color: var(--pr-muted); font-size: 10px; }
.tax-input-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f6faf9; }
.tax-input-shortcut h2 { margin: 0 0 5px; font-size: 15px; }
.tax-input-shortcut p:not(.product-eyebrow) { margin: 0; color: var(--pr-muted); font-size: 11px; }
@media(max-width:850px) { .settings-intro { grid-template-columns: 42px minmax(0,1fr); } .settings-intro>.btn { grid-column: 2; justify-self: start; } .settings-shortcuts { align-items: flex-start; flex-direction: column; } }
@media(max-width:720px) { .product-nav-admin { margin-top: 0; padding-top: 0; } .tax-input-shortcut { align-items: flex-start; flex-direction: column; } .settings-property summary { align-items: flex-start; } }
.product-legacy-main { width: min(1600px,100%); }
.product-legacy-main > .page-head { margin: 0 0 20px; }
.product-legacy-main > .page-head h1 { color: var(--pr-ink); letter-spacing: -.035em; }
.product-legacy-main .card { border-color: var(--pr-line); border-radius: 13px; box-shadow: var(--pr-shadow); }
.product-legacy-main .card-head { border-color: var(--pr-line); }
.product-legacy-main .table-wrap { border-radius: 10px; }
.product-legacy-main input:not([type="checkbox"]):not([type="radio"]),.product-legacy-main select,.product-legacy-main textarea { border-color: var(--pr-line); border-radius: 8px; }
.settings-tax-actions { display: flex; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.settings-tax-add { margin-top: 14px; padding: 14px; border: 1px solid var(--pr-line); border-radius: 10px; background: #fbfdfd; }
.settings-tax-add > summary { color: var(--pr-teal); font-size: 12px; font-weight: 750; cursor: pointer; }
.settings-tax-add[open] > summary { margin-bottom: 14px; }
.settings-tax-add .product-note { margin-bottom: 0; }
.product-legacy-shell .product-main { padding-top: 28px; }
@media(max-width:720px) { .product-legacy-main { width:100%; } .product-legacy-main .form-grid { grid-template-columns:1fr; } .product-legacy-main .span-all,.product-legacy-main .span2 { grid-column:1; } .settings-tax-actions { justify-content:flex-start; } }

/* Amex-Abrechnung und Amazon-Import im selben ruhigen V2-System. */
.amex-page{display:grid;gap:14px;max-width:1560px;margin:0 auto}.amex-page>.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 3px}.amex-page>.page-head h1{margin:3px 0 6px;font-size:28px;letter-spacing:-.04em}.amex-page>.page-head p{max-width:860px;margin:0;color:var(--pr-muted);font-size:12px;line-height:1.55}.amex-page>.card{margin:0;padding:18px;border:1px solid var(--pr-line);border-radius:14px;background:#fff;box-shadow:var(--pr-shadow)}.amex-page .card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 12px;border-bottom:1px solid var(--pr-line)}.amex-page .card-head h2{margin:0;font-size:15px}.amex-page .tx-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.amex-page .tx-row{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(320px,1.5fr);gap:15px;align-items:start;padding:15px 2px;border-bottom:1px solid #edf2f3}.amex-page .tx-row:last-child{border-bottom:0}.amex-page .tx-main{display:grid;gap:5px;min-width:0}.amex-page .tx-main>a{color:var(--pr-ink);text-decoration:none}.amex-page .tx-main>a:hover{color:var(--pr-teal)}.amex-page .tx-main strong{font-size:13px}.amex-page .tx-purpose,.amex-page .tx-main .muted{font-size:10px}.amex-page .tx-amt{font-size:15px;font-weight:800;white-space:nowrap}.amex-page .tx-actions{display:grid;gap:8px;min-width:0}.amex-page .tx-area{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.amex-page .tx-area .btn{min-height:32px;padding:6px 10px;font-size:10px}.amex-page .tx-area .check{font-size:10px}.amex-page .tx-area>small{flex-basis:100%;font-size:9px;line-height:1.45}.amex-page .amex-expense{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid #e5edef;border-radius:9px;background:#f8fbfb}.amex-page .big-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}.amex-page .big-numbers>div{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid var(--pr-line);border-radius:10px;background:#fbfdfd}.amex-page .big-numbers strong{font-size:16px}.amex-page .inline-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.amex-page .inline-form label{display:grid;gap:5px;color:var(--pr-muted);font-size:10px;font-weight:700}.amex-page .inline-form input{min-width:165px}.amex-page .fold-inline{padding:8px 10px;border:1px solid var(--pr-line);border-radius:9px}.amex-page .fold-inline>summary{color:var(--pr-teal);font-size:10px;font-weight:750;cursor:pointer}.amex-page .fold-inline[open]{display:grid;gap:9px}.amex-page .fold-inline .tx-area{padding-top:7px}.amex-page .amex-statement-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--pr-line)}.amex-page .amex-statement-label{display:grid;gap:5px}.amex-page .amex-statement-cost{font-size:10px}.amex-page .mail-preview{max-height:270px;overflow:auto;padding:12px;border:1px solid var(--pr-line);border-radius:9px;background:#f8fbfb;font-size:10px;white-space:pre-wrap}.amex-page .page-head .back{font-size:11px}.amazon-orders-heading{margin-bottom:13px}.amazon-orders-heading .product-heading-actions{align-items:center}.amazon-orders-heading .product-heading-actions form{margin:0}.amazon-orders-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#fff 0%,#f3faf9 100%)}.amazon-orders-summary>div:first-child{display:grid;gap:5px}.amazon-orders-summary>div:first-child strong{font-size:28px;letter-spacing:-.04em}.amazon-orders-summary>div:first-child small{color:var(--pr-muted);font-size:10px}.amazon-orders-safety{max-width:480px}.amazon-orders-safety p{margin:7px 0 0;color:var(--pr-muted);font-size:10px;line-height:1.5}.amazon-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 0;padding:0;list-style:none;counter-reset:amazon}.amazon-import-steps li{display:grid;align-content:start;gap:6px;padding:13px;border:1px solid var(--pr-line);border-radius:10px;background:#fbfdfd}.amazon-import-steps li strong{font-size:12px}.amazon-import-steps li span{color:var(--pr-muted);font-size:10px;line-height:1.5}.product-empty-state{display:flex;align-items:center;gap:14px}.product-empty-state h2{margin:0 0 4px;font-size:14px}.product-empty-state p{margin:0;color:var(--pr-muted);font-size:11px}.amazon-order-list{display:grid;gap:10px}.amazon-order-card{display:grid;gap:14px}.amazon-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.amazon-order-head h2{margin:0 0 5px;font-size:14px;line-height:1.4}.amazon-order-head>div:first-child>small{color:var(--pr-muted);font-size:10px}.amazon-order-state{display:grid;justify-items:end;gap:5px;flex:none}.amazon-order-state>strong{font-size:17px}.amazon-order-state>small{color:var(--pr-muted);font-size:9px}.amazon-linked-transaction{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #dcebea;border-radius:10px;background:#f4faf9}.amazon-linked-transaction>div:first-child{display:grid;gap:5px}.amazon-linked-transaction>div:first-child strong{font-size:11px}.amazon-linked-transaction>div:first-child small{color:var(--pr-muted);font-size:10px}.amazon-order-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.amazon-order-actions form,.amazon-done-form{margin:0}.amazon-match-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.amazon-match-form label{display:grid;gap:5px;color:var(--pr-muted);font-size:10px;font-weight:700}.amazon-match-form select{width:100%}.amazon-no-match{margin:0;padding:10px 12px;border-radius:9px;background:#fff8e8;color:#805a18;font-size:10px}.amazon-email-preview{border-top:1px solid var(--pr-line);padding-top:10px}.amazon-email-preview summary{color:var(--pr-teal);font-size:10px;font-weight:750;cursor:pointer}.amazon-email-preview pre{max-height:360px;overflow:auto;margin:10px 0 0;padding:14px;border:1px solid var(--pr-line);border-radius:9px;background:#fbfdfd;color:#4c5e64;font:10px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.amazon-done-form{justify-self:start}
@media(max-width:980px){.amex-page .tx-row{grid-template-columns:minmax(0,1fr) auto}.amex-page .tx-actions{grid-column:1/-1}.amex-page .amex-statement-item{grid-template-columns:minmax(0,1fr) auto}.amex-page .amex-statement-item>.btn,.amex-page .amex-statement-item>form{grid-column:1/-1}.amazon-import-steps{grid-template-columns:1fr}.amazon-match-form{grid-template-columns:1fr}.amazon-match-form .btn{justify-self:start}}
@media(max-width:720px){.amex-page>.page-head,.amazon-order-head,.amazon-linked-transaction{align-items:flex-start;flex-direction:column}.amex-page>.page-head h1{font-size:23px}.amex-page .big-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.amex-page .tx-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.amex-page .tx-actions{grid-column:1/-1}.amazon-orders-summary{align-items:flex-start;flex-direction:column}.amazon-order-state{justify-items:start}.amazon-order-actions{width:100%}.amazon-order-actions form,.amazon-order-actions .btn{flex:1}.amazon-order-actions .btn{text-align:center}}

/* Gemeinsame Schrift-Hierarchie für Immobilien und den Buchungsbereich. */
.product-view-immobilien .property-portfolio-grid .obj-title strong,
.product-view-buchungen .product-booking .booking-who strong {
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.product-view-immobilien .property-portfolio-grid .obj-title small,
.product-view-buchungen .product-booking .booking-who small {
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.product-view-immobilien .property-portfolio-grid .obj-stats .sl,
.product-view-buchungen .product-booking .booking-date {
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .015em;
}

.product-view-immobilien .property-portfolio-grid .obj-stats b,
.product-view-buchungen .product-booking > b {
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}

.product-view-immobilien .property-portfolio-grid .obj-foot .mstate,
.product-view-buchungen .product-booking .product-badge {
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.product-view-buchungen .product-filter-tabs a {
  min-height: 36px;
  font-size: 12px;
}

.product-view-buchungen .product-filter-tabs b {
  font-size: 10px;
}

/* Die wichtigsten Listen teilen sich denselben Leserythmus und dieselben Kartenflächen. */
.product-view-immobilien,
.product-view-buchungen,
.product-view-banken {
  --pr-type-title: 14px;
  --pr-type-detail: 11px;
  --pr-type-label: 10px;
  --pr-type-value: 15px;
  --pr-card-radius: 13px;
}

.product-view-immobilien .property-portfolio-grid .obj-card,
.product-view-buchungen .product-booking,
.product-view-banken .product-booking {
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-card-radius);
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,64,.045);
}

.product-view-immobilien .property-portfolio-grid .obj-card {
  padding: 15px;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.product-view-immobilien .property-portfolio-grid .obj-card:hover,
.product-view-buchungen .product-booking:hover,
.product-view-banken .product-booking:hover {
  transform: translateY(-1px);
  border-color: #b7d5d8;
  box-shadow: 0 8px 20px rgba(24,56,64,.085);
}

.product-view-buchungen .product-panel:has(.product-booking-list),
.product-view-banken .bank-transactions-panel {
  border-radius: 14px;
}

.product-view-buchungen .product-booking-list,
.product-view-banken .product-booking-list {
  display: grid;
  gap: 8px;
}

.product-view-buchungen .product-booking,
.product-view-banken .product-booking {
  min-height: 68px;
  padding: 11px 13px;
  border-top: 1px solid var(--pr-line);
  text-decoration: none;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.product-view-buchungen .product-booking:first-child,
.product-view-banken .product-booking:first-child {
  border-top: 1px solid var(--pr-line);
}

.product-view-buchungen .booking-who strong,
.product-view-banken .booking-who strong,
.product-view-immobilien .property-portfolio-grid .obj-title strong {
  font-size: var(--pr-type-title);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.015em;
}

.product-view-buchungen .booking-who small,
.product-view-banken .booking-who small,
.product-view-immobilien .property-portfolio-grid .obj-title small {
  font-size: var(--pr-type-detail);
  line-height: 1.45;
}

.product-view-buchungen .booking-date,
.product-view-banken .booking-date,
.product-view-immobilien .property-portfolio-grid .obj-stats .sl {
  font-size: var(--pr-type-label);
  line-height: 1.35;
  font-weight: 650;
}

.product-view-buchungen .product-booking > b,
.product-view-banken .product-booking > b,
.product-view-immobilien .property-portfolio-grid .obj-stats b {
  font-size: var(--pr-type-value);
  line-height: 1.25;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}

.product-view-buchungen .product-badge,
.product-view-banken .product-badge,
.product-view-immobilien .property-portfolio-grid .obj-foot .mstate {
  font-size: var(--pr-type-label);
  line-height: 1.35;
  font-weight: 700;
}

.product-view-immobilien .property-portfolio-grid .obj-stats {
  gap: 10px;
  padding: 11px 0;
}

.product-view-buchungen .product-booking-list { grid-template-columns: 1fr; }

.product-view-buchungen .product-booking {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr) auto 110px;
  align-items: center;
  gap: 12px;
}

.product-view-buchungen .product-booking > b,
.product-view-banken .product-booking > b { text-align: right; }

.product-view-buchungen .product-booking .booking-who,
.product-view-banken .product-booking .booking-who { min-width: 0; }

.product-view-buchungen .product-heading h1,
.product-view-immobilien .product-heading h1,
.product-view-banken .product-heading h1 { font-size: 28px; letter-spacing: -.04em; }

.settings-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.settings-admin-grid > .product-panel { margin: 0; }
.settings-admin-subpanel { min-width: 0; padding: 16px; border: 1px solid var(--pr-line); border-radius: 11px; background: linear-gradient(145deg,#fff,#f8fbfc); }
.settings-admin-subpanel h3 { margin: 0 0 8px; font-size: 13px; }
.settings-admin-subpanel p,.product-panel > p:not(.product-eyebrow) { color: var(--pr-muted); font-size: 11px; line-height: 1.55; }
.settings-admin-form { display: grid; align-content: start; gap: 10px; }
.settings-admin-form label:not(.switch) { display: grid; gap: 5px; color: var(--pr-muted); font-size: 10px; font-weight: 700; }
.settings-admin-form input:not([type=checkbox]),.settings-admin-form select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--pr-line); border-radius: 8px; background: #fff; color: var(--pr-ink); font: inherit; font-size: 11px; }
.settings-check { display: flex; align-items: flex-start; gap: 8px; color: var(--pr-muted); font-size: 10px; line-height: 1.5; }
.settings-check input { margin-top: 2px; accent-color: var(--pr-teal); }
.settings-form-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.settings-admin-details { margin-top: 13px; padding-top: 11px; border-top: 1px solid #eaf0f1; }
.settings-admin-details > summary { color: var(--pr-teal); font-size: 11px; font-weight: 750; cursor: pointer; }
.settings-admin-details[open] > summary { margin-bottom: 10px; }
.product-simple-list { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.product-simple-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #edf2f3; color: var(--pr-muted); font-size: 10px; line-height: 1.5; }
.settings-subheading { margin: 16px 0 7px!important; }

@media(max-width:1050px) {
  .product-view-buchungen .product-booking { grid-template-columns: 68px minmax(0,1fr) auto; }
  .product-view-buchungen .product-booking > b { grid-column: 2; text-align: left; }
}
@media(max-width:850px) { .settings-admin-grid { grid-template-columns: 1fr; } }
@media(max-width:720px) {
  .product-view-buchungen .product-booking { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .product-view-buchungen .product-booking .booking-date { grid-column: 1; }
  .product-view-buchungen .product-booking .booking-who { grid-column: 1/-1; grid-row: 2; }
  .product-view-buchungen .product-booking .product-badge { grid-column: 1; grid-row: 3; width: max-content; }
  .product-view-buchungen .product-booking > b { grid-column: 2; grid-row: 3; text-align: right; }
}

/* Einheitlicher Seitenrahmen und Kartenstil in Immobilien, Buchungen und Banken. */
.product-view-immobilien .product-main,
.product-view-buchungen .product-main,
.product-view-banken .product-main {
  width: min(1800px, 100%);
  padding: 24px 32px 28px;
}

.product-view-immobilien .product-heading,
.product-view-buchungen .product-heading,
.product-view-banken .product-heading {
  min-height: 58px;
  margin-bottom: 20px;
}

.product-view-immobilien .product-heading h1,
.product-view-buchungen .product-heading h1,
.product-view-banken .product-heading h1 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.product-view-immobilien .property-portfolio-grid .obj-card,
.product-view-buchungen .product-booking,
.product-view-banken .product-booking {
  color: var(--pr-ink);
  border-color: var(--pr-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,64,.05);
}

.product-view-immobilien .property-portfolio-grid .obj-card {
  padding: 16px;
}

.product-view-buchungen .product-booking,
.product-view-banken .product-booking {
  min-height: 72px;
  padding: 12px 15px;
}

.product-view-immobilien .product-panel,
.product-view-buchungen .product-panel,
.product-view-banken .product-panel {
  border-radius: 14px;
}

.product-view-immobilien .property-portfolio-grid .obj-title strong,
.product-view-buchungen .product-booking .booking-who strong,
.product-view-banken .product-booking .booking-who strong {
  font-size: 14px;
}

.product-view-immobilien .property-portfolio-grid .obj-stats b,
.product-view-buchungen .product-booking > b,
.product-view-banken .product-booking > b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

@media(max-width:720px) {
  .product-view-immobilien .product-main,
  .product-view-buchungen .product-main,
  .product-view-banken .product-main { width: 100%; padding: 18px 16px 24px; }
  .product-view-immobilien .product-heading,
  .product-view-buchungen .product-heading,
  .product-view-banken .product-heading { min-height: 0; }
}

/* Objektakte: dieselbe klare Typografie wie in der Immobilien-Kachelansicht. */
.product-view-immobilien.property-detail-view .property-detail-heading {
  align-items: flex-end;
  margin-bottom: 22px;
}

.product-view-immobilien.property-detail-view .property-detail-heading h1 {
  margin: 2px 0 7px;
  font-size: clamp(28px, 2vw, 36px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.product-view-immobilien.property-detail-view .property-detail-heading > div:first-child > p:last-child {
  font-size: 14px;
  line-height: 1.5;
}

.product-view-immobilien.property-detail-view .product-property-layout {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 18px;
}

.product-view-immobilien.property-detail-view .product-property-list {
  gap: 10px;
}

.product-view-immobilien.property-detail-view .product-property-select {
  gap: 7px;
  padding: 15px;
  border-radius: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.product-view-immobilien.property-detail-view .product-property-select:hover {
  transform: translateY(-1px);
  border-color: #a8cdd0;
  box-shadow: 0 5px 16px rgba(24, 56, 64, .07);
}

.product-view-immobilien.property-detail-view .product-property-select.selected {
  border-color: #80bfc2;
  background: linear-gradient(145deg, #f2fafa, #fff 75%);
  box-shadow: inset 3px 0 0 var(--pr-teal), 0 3px 12px rgba(24, 56, 64, .05);
}

.product-view-immobilien.property-detail-view .product-property-select strong {
  font-size: 14px;
  letter-spacing: -.02em;
}

.product-view-immobilien.property-detail-view .product-property-select small,
.product-view-immobilien.property-detail-view .product-property-select span {
  font-size: 11px;
  line-height: 1.4;
}

.product-view-immobilien.property-detail-view .product-property-detail {
  padding: 20px;
  border-radius: 16px;
}

.product-view-immobilien.property-detail-view .property-detail-stats {
  gap: 11px;
}

.product-view-immobilien.property-detail-view .property-detail-stats > div {
  align-content: start;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e5edef;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7fafa, #fff 85%);
}

.product-view-immobilien.property-detail-view .property-detail-stats small {
  font-size: 11px;
  line-height: 1.45;
}

.product-view-immobilien.property-detail-view .property-detail-stats > div > strong {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.025em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.product-view-immobilien.property-detail-view .property-tax-impact small {
  font-size: 11px;
}

.product-view-immobilien.property-detail-view .property-calendar-cashflow {
  padding: 19px;
  border-radius: 14px;
}

.product-view-immobilien.property-detail-view .property-calendar-head h3 {
  font-size: 17px;
  letter-spacing: -.025em;
}

.product-view-immobilien.property-detail-view .property-calendar-head p:last-child {
  font-size: 12px;
  line-height: 1.55;
}

.product-view-immobilien.property-detail-view .property-calendar-grid {
  gap: 10px;
}

.product-view-immobilien.property-detail-view .property-calendar-grid > div {
  gap: 8px;
  padding: 13px;
  border-radius: 10px;
}

.product-view-immobilien.property-detail-view .property-calendar-grid small {
  font-size: 11px;
  line-height: 1.45;
}

.product-view-immobilien.property-detail-view .property-calendar-grid strong {
  font-size: 18px;
  line-height: 1.25;
}

.product-view-immobilien.property-detail-view .product-panel-head h2 {
  font-size: 18px;
  letter-spacing: -.025em;
}

.product-view-immobilien.property-detail-view .product-table {
  font-size: 12px;
}

.product-view-immobilien.property-detail-view .product-table th {
  padding: 11px 9px;
  font-size: 10px;
  letter-spacing: .035em;
}

.product-view-immobilien.property-detail-view .product-table td {
  padding: 13px 9px;
}

.product-view-immobilien.property-detail-view .product-table td small,
.product-view-immobilien.property-detail-view .product-unit-link small {
  font-size: 11px;
  line-height: 1.45;
}

.product-view-immobilien.property-detail-view .property-record {
  padding: 15px;
  border-radius: 12px;
}

.product-view-immobilien.property-detail-view .property-record-head h3 {
  font-size: 14px;
}

.product-view-immobilien.property-detail-view .property-record-head > a,
.product-view-immobilien.property-detail-view .property-record-more {
  font-size: 11px;
}

.product-view-immobilien.property-detail-view .property-record-row strong {
  font-size: 12px;
}

.product-view-immobilien.property-detail-view .property-record-row small,
.product-view-immobilien.property-detail-view .property-record-date {
  font-size: 10px;
}

@media (max-width: 1100px) {
  .product-view-immobilien.property-detail-view .product-property-layout {
    grid-template-columns: 1fr;
  }

  .product-view-immobilien.property-detail-view .product-property-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-view-immobilien.property-detail-view .property-detail-heading {
    align-items: flex-start;
  }

  .product-view-immobilien.property-detail-view .product-property-list {
    grid-template-columns: 1fr;
  }

  .product-view-immobilien.property-detail-view .product-property-detail {
    padding: 14px;
  }

  .product-view-immobilien.property-detail-view .property-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.amazon-attachments {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--pr-line);
  border-radius: 11px;
  background: #fbfdfd;
}

.amazon-attachments > div:first-child,
.amazon-attachment-row > span {
  display: grid;
  gap: 4px;
}

.amazon-attachments small,
.amazon-attachment-row small {
  color: var(--pr-muted);
  font-size: 10px;
}

.amazon-attachment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--pr-line);
  border-radius: 9px;
  background: #fff;
}

.amazon-attachment-row form {
  margin: 0;
}

.amazon-attachment-warning {
  margin: 0;
  color: #805a18;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .amazon-attachment-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V2 topbar quick-create menu: restore the former global "Neu" action. */
.product-top-new { position: relative; flex: 0 0 auto; }
.product-top-new > summary.btn { white-space: nowrap; }
.product-create-menu { width: min(286px, calc(100vw - 24px)); max-height: min(72vh, 680px); overflow-y: auto; overscroll-behavior: contain; }
.product-create-menu .product-create-title { display: block; padding: 8px 10px 5px; color: var(--pr-ink); font-size: 12px; }
.product-create-menu .product-create-group { padding: 7px 10px 3px; color: var(--pr-muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-create-menu a { min-height: 34px; font-size: 11px; }
.product-create-menu a .i { flex: 0 0 16px; color: var(--pr-teal); }
@media (max-width: 720px) {
  .product-create-menu { max-height: calc(100dvh - 76px); }
}
.lease-upload-card { border-color: #b9dfe0; background: linear-gradient(145deg, #fff, #f4fbfa); }
.lease-upload-row { display: flex; align-items: stretch; gap: 12px; }
.lease-file-drop { position: relative; display: flex; flex: 1; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 1px dashed #8bbfc2; border-radius: 14px; background: #fbfefe; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.lease-file-drop:hover, .lease-file-drop.is-dragging { border-color: #007b83; background: #eaf7f6; transform: translateY(-1px); }
.lease-file-drop > span:nth-child(2) { display: grid; gap: 4px; }
.lease-file-drop small { color: #70828b; }
.lease-file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.lease-file-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #007b83; background: #e0f2f1; font-size: 24px; }
.lease-upload-row > button { align-self: center; min-height: 48px; }
.lease-preview { overflow: hidden; border: 1px solid #d9e5e8; border-radius: 12px; background: #edf3f4; }
.lease-preview iframe { display: block; width: 100%; height: min(64vh, 760px); border: 0; background: #fff; }
.lease-preview img { display: block; max-width: 100%; max-height: 70vh; margin: auto; object-fit: contain; }
.lease-suggestions { padding: 18px; border: 1px solid #d6e7e6; border-radius: 14px; background: #f5fbfa; }
.lease-suggestions h3 { margin: 0 0 12px; font-size: 1rem; }
.lease-suggestion-list { display: grid; gap: 8px; }
.lease-suggestion { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #e0eaec; border-radius: 10px; background: white; }
.lease-suggestion > div { display: grid; grid-template-columns: minmax(130px, .6fr) 1fr; align-items: center; gap: 4px 12px; }
.lease-suggestion > div > span { font-weight: 650; }
.lease-suggestion small { grid-column: 2; color: #70828b; }
@media (max-width: 680px) {
  .lease-upload-row { flex-direction: column; align-items: stretch; }
  .lease-upload-row > button { align-self: stretch; }
  .lease-suggestion { grid-template-columns: 1fr; }
  .lease-suggestion .btn { justify-self: start; }
  .lease-suggestion > div { grid-template-columns: 1fr; }
  .lease-suggestion small { grid-column: 1; }
}
.contact-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.contact-directory-panel { min-width: 0; }
.contact-directory-list { display: grid; }
.contact-directory-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(100px, auto); align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid #e5edef; color: inherit; text-decoration: none; }
.contact-directory-row:hover { background: #f5faf9; }
.contact-directory-row .contact-kind-mark { width: 36px; height: 36px; }
.contact-directory-row .contact-row-title { min-width: 0; }
.contact-directory-row .contact-row-title strong, .contact-directory-row .contact-row-title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-directory-row .contact-row-meta { color: #70828b; font-size: .88rem; text-align: right; }
.contact-directory-row .bank-mark { color: #fff; background: #087b84; }
@media (max-width: 860px) { .contact-directory-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-directory-row { grid-template-columns: 36px minmax(0, 1fr); } .contact-directory-row .contact-row-meta { grid-column: 2; text-align: left; } }
