/* Windomat UI 4.0 — profesjonalny panel klienta i karta sprawy */
.wm-app{
  --wm-green:#044a29;
  --wm-green-2:#06643a;
  --wm-ink:#0f172a;
  --wm-text:#1f2937;
  --wm-muted:#6b7280;
  --wm-line:#e5e7eb;
  --wm-bg:#f7f9fc;
  --wm-soft:#f1f5f9;
  --wm-card:#ffffff;
  --wm-red:#dc2626;
  --wm-red-soft:#fef2f2;
  --wm-yellow:#f59e0b;
  --wm-yellow-soft:#fffbeb;
  --wm-blue:#2563eb;
  --wm-blue-soft:#eff6ff;
  --wm-shadow:0 20px 55px rgba(15,23,42,.08);
  --wm-shadow-soft:0 10px 28px rgba(15,23,42,.055);
  --wm-radius:22px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  color:var(--wm-ink)!important;
  background:linear-gradient(180deg,#f8fafc 0%,#f3f6fa 100%)!important;
  padding:28px!important;
  border-radius:24px!important;
  line-height:1.45!important;
}
.wm-app,.wm-app *{box-sizing:border-box!important}
.wm-app a{transition:.15s ease!important}
.wm-app h1,.wm-app h2,.wm-app h3,.wm-app h4,.wm-app p{margin-top:0!important}
.wm-app h1{font-size:32px!important;line-height:1.1!important;letter-spacing:-.045em!important;color:var(--wm-ink)!important;margin-bottom:8px!important}
.wm-app h2{font-size:28px!important;line-height:1.15!important;letter-spacing:-.04em!important;color:var(--wm-ink)!important;margin-bottom:10px!important}
.wm-app h3{font-size:19px!important;line-height:1.2!important;letter-spacing:-.025em!important;color:var(--wm-ink)!important;margin:0 0 14px!important}
.wm-app h4{font-size:15px!important;color:var(--wm-ink)!important;margin:0 0 12px!important}
.wm-muted,.wm-top p{color:var(--wm-muted)!important;margin:0!important}
.wm-kicker{display:inline-flex!important;align-items:center!important;width:max-content!important;text-transform:uppercase!important;letter-spacing:.16em!important;font-size:11px!important;line-height:1!important;font-weight:900!important;color:var(--wm-green)!important;background:#ecfdf5!important;border:1px solid #bbf7d0!important;border-radius:999px!important;padding:7px 10px!important;margin-bottom:8px!important}
.wm-top{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important;align-items:start!important;margin-bottom:24px!important}
.wm-userbox{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:20px!important;padding:18px!important;box-shadow:var(--wm-shadow-soft)!important;display:grid!important;gap:6px!important;color:var(--wm-ink)!important}
.wm-userbox a{color:var(--wm-green)!important;font-weight:900!important;text-decoration:none!important}
.wm-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
.wm-side{position:sticky!important;top:18px!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:24px!important;padding:12px!important;box-shadow:var(--wm-shadow-soft)!important;height:max-content!important}
.wm-side a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:#334155!important;text-decoration:none!important;font-weight:850!important;border-radius:16px!important;padding:13px 14px!important;margin:4px 0!important;line-height:1.1!important;border:1px solid transparent!important}
.wm-side a:hover{background:#f8fafc!important;border-color:var(--wm-line)!important;color:var(--wm-green)!important}
.wm-side a.active{background:linear-gradient(135deg,#ecfdf5 0%,#f0fdf4 100%)!important;color:var(--wm-green)!important;border-color:#bbf7d0!important;box-shadow:inset 4px 0 0 var(--wm-green)!important}
.wm-side a.locked{opacity:.62!important;background:#f8fafc!important}
.wm-content{min-width:0!important;background:transparent!important}
.wm-card,.wm-box,.wm-stat,.wm-plan{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:var(--wm-radius)!important;padding:22px!important;box-shadow:var(--wm-shadow-soft)!important;overflow:visible!important}
.wm-headline{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:16px!important}
.wm-grid-2,.wm-grid-3,.wm-grid-4{display:grid!important;gap:14px!important;margin:16px 0!important}.wm-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wm-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.wm-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.wm-stat span,.wm-stats span{display:block!important;color:var(--wm-muted)!important;font-size:12px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important;margin-bottom:6px!important}.wm-stat strong,.wm-stats strong{display:block!important;font-size:21px!important;line-height:1.1!important;color:var(--wm-ink)!important}
.wm-big{font-size:32px!important;font-weight:900!important;color:var(--wm-green)!important;margin:8px 0 0!important}
.wm-button,.wm-button-pro,.wm-button-small{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:var(--wm-green)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:12px 18px!important;font-weight:900!important;text-decoration:none!important;cursor:pointer!important;line-height:1.1!important;box-shadow:0 12px 22px rgba(4,74,41,.18)!important}.wm-button:hover{background:var(--wm-green-2)!important;transform:translateY(-1px)!important}.wm-button-small{font-size:13px!important;padding:9px 13px!important;box-shadow:none!important}.wm-button-muted{background:#f8fafc!important;color:var(--wm-green)!important;border:1px solid #cbd5e1!important;box-shadow:none!important}
.wm-link,.wm-userbox a{color:var(--wm-green)!important;font-weight:900!important;text-decoration:none!important}.wm-link:hover{text-decoration:underline!important}.wm-link-button{background:transparent!important;border:0!important;color:var(--wm-green)!important;font-weight:900!important;padding:0!important;cursor:pointer!important}.wm-mini-form{display:inline-block!important;margin:4px 0!important}
.wm-notice,.wm-error,.wm-warning,.wm-alert{border-radius:18px!important;padding:14px 16px!important;margin:14px 0!important;font-weight:800!important;border:1px solid!important}.wm-notice{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#065f46!important}.wm-error{background:var(--wm-red-soft)!important;border-color:#fecaca!important;color:#991b1b!important}.wm-warning,.wm-alert.warning{background:var(--wm-yellow-soft)!important;border-color:#fde68a!important;color:#92400e!important}.wm-alert.danger{background:var(--wm-red-soft)!important;border-color:#fecaca!important;color:#991b1b!important}
.wm-status{display:inline-flex!important;align-items:center!important;width:max-content!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important;background:#f1f5f9!important;color:#334155!important}.wm-status-new{background:var(--wm-blue-soft)!important;color:#1d4ed8!important}.wm-status-in_progress,.wm-status-notice_sent{background:#fef3c7!important;color:#92400e!important}.wm-status-settlement{background:#ede9fe!important;color:#6d28d9!important}.wm-status-paid{background:#dcfce7!important;color:#166534!important}.wm-status-court,.wm-status-bailiff{background:#fee2e2!important;color:#991b1b!important}.wm-status-ineffective{background:#e5e7eb!important;color:#374151!important}
.wm-form{display:grid!important;gap:14px!important}.wm-form label{display:block!important;color:#334155!important;font-size:13px!important;font-weight:850!important}.wm-form input,.wm-form select,.wm-form textarea{width:100%!important;margin-top:7px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;background:#fff!important;color:var(--wm-ink)!important;padding:12px 13px!important;font:inherit!important;box-shadow:none!important}.wm-form input:focus,.wm-form select:focus,.wm-form textarea:focus{outline:3px solid rgba(4,74,41,.14)!important;border-color:var(--wm-green)!important}.wm-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.wm-row:has(label:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))!important}.wm-inline{display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:12px!important}.wm-check{display:flex!important;align-items:center!important;gap:8px!important}.wm-check input{width:auto!important;margin:0!important}
.wm-table-wrap{width:100%!important;overflow-x:auto!important;border:1px solid var(--wm-line)!important;border-radius:18px!important;background:#fff!important;margin:14px 0!important}.wm-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important;border:0!important;background:#fff!important;border-radius:18px!important;overflow:hidden!important}.wm-table th,.wm-table td{padding:12px 14px!important;text-align:left!important;border-bottom:1px solid var(--wm-line)!important;vertical-align:middle!important;color:#1f2937!important}.wm-table th{background:#f8fafc!important;color:#475569!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;font-weight:900!important}.wm-table tr:last-child td{border-bottom:0!important}.wm-table-compact{font-size:13px!important;line-height:1.35!important;min-width:860px!important}
.wm-pro-page,.wm-pro-case{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}.wm-pro-page-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:start!important;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%)!important;border:1px solid var(--wm-line)!important;border-radius:28px!important;padding:26px!important;box-shadow:var(--wm-shadow)!important;margin-bottom:18px!important}.wm-pro-page-head h2{font-size:32px!important;margin:4px 0 8px!important}.wm-pro-filters{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0 0 18px!important}.wm-pro-filters a,.wm-filters a{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:999px!important;padding:10px 14px!important;color:#334155!important;text-decoration:none!important;font-size:13px!important;font-weight:900!important;line-height:1!important}.wm-pro-filters a.active,.wm-filters a.active{background:var(--wm-green)!important;border-color:var(--wm-green)!important;color:#fff!important;box-shadow:0 10px 18px rgba(4,74,41,.16)!important}
.wm-case-list-pro{display:grid!important;gap:14px!important}.wm-case-card-pro{display:grid!important;grid-template-columns:minmax(0,1fr) 390px!important;gap:18px!important;align-items:stretch!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-left:6px solid #cbd5e1!important;border-radius:26px!important;padding:20px!important;box-shadow:var(--wm-shadow-soft)!important;transition:.16s ease!important}.wm-case-card-pro:hover{transform:translateY(-2px)!important;box-shadow:var(--wm-shadow)!important}.wm-case-card-pro.overdue{border-left-color:var(--wm-red)!important}.wm-case-card-pro.soon{border-left-color:var(--wm-yellow)!important}.wm-case-card-pro.closed{border-left-color:#16a34a!important;opacity:.92!important}.wm-case-card-main{min-width:0!important}.wm-case-card-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}.wm-case-number-line{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;color:#334155!important}.wm-case-number-line strong{font-size:18px!important;color:var(--wm-ink)!important}.wm-case-number-line span{background:#f8fafc!important;border:1px solid var(--wm-line)!important;color:#475569!important;border-radius:999px!important;padding:6px 9px!important;font-size:12px!important;font-weight:900!important}.wm-case-card-main h3{font-size:23px!important;line-height:1.15!important;letter-spacing:-.035em!important;color:var(--wm-ink)!important;margin:0 0 12px!important}.wm-case-meta-pro{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.wm-case-meta-pro span{display:inline-flex!important;align-items:center!important;gap:4px!important;background:#f8fafc!important;border:1px solid var(--wm-line)!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;color:#475569!important}.wm-case-card-money{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}.wm-case-card-money div{background:#f8fafc!important;border:1px solid var(--wm-line)!important;border-radius:18px!important;padding:12px!important}.wm-case-card-money span{display:block!important;font-size:11px!important;color:var(--wm-muted)!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:5px!important}.wm-case-card-money strong{display:block!important;font-size:16px!important;color:var(--wm-ink)!important;line-height:1.2!important}.wm-case-card-money .wm-button{grid-column:1/-1!important;width:100%!important}
.wm-case-marker{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;border-radius:999px!important;font-weight:900!important;font-size:13px!important;line-height:1!important;vertical-align:middle!important;margin-right:0!important}.wm-case-marker-red{background:var(--wm-red)!important;color:#fff!important;box-shadow:0 0 0 4px #fee2e2!important}.wm-case-marker-yellow{background:var(--wm-yellow)!important;color:#111827!important;box-shadow:0 0 0 4px #fef3c7!important}.wm-case-marker-green{background:#16a34a!important;color:#fff!important;box-shadow:0 0 0 4px #dcfce7!important}.wm-case-marker-empty{display:inline-flex!important;width:24px!important;height:24px!important;background:#e5e7eb!important;border-radius:999px!important}
.wm-pro-back{margin:0 0 14px!important}.wm-pro-back a{display:inline-flex!important;align-items:center!important;color:var(--wm-green)!important;font-weight:900!important;text-decoration:none!important}.wm-pro-case-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:20px!important;align-items:stretch!important;background:radial-gradient(circle at 4% 0,rgba(4,74,41,.10),transparent 34%),linear-gradient(135deg,#fff 0%,#f8fafc 100%)!important;border:1px solid var(--wm-line)!important;border-left:7px solid #cbd5e1!important;border-radius:30px!important;padding:28px!important;box-shadow:var(--wm-shadow)!important;margin-bottom:16px!important}.wm-pro-case-hero.overdue{border-left-color:var(--wm-red)!important;background:radial-gradient(circle at 4% 0,rgba(220,38,38,.11),transparent 34%),linear-gradient(135deg,#fff 0%,#fff7f7 100%)!important}.wm-pro-case-hero.soon{border-left-color:var(--wm-yellow)!important;background:radial-gradient(circle at 4% 0,rgba(245,158,11,.13),transparent 34%),linear-gradient(135deg,#fff 0%,#fffbeb 100%)!important}.wm-pro-case-title h2{display:flex!important;align-items:center!important;gap:10px!important;font-size:44px!important;line-height:1!important;margin:8px 0 12px!important;letter-spacing:-.06em!important}.wm-pro-case-title p{font-size:20px!important;font-weight:900!important;color:#334155!important;margin:0 0 14px!important}.wm-pro-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.wm-pro-tags>span{display:inline-flex!important;align-items:center!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:999px!important;padding:8px 11px!important;font-size:12px!important;font-weight:900!important;color:#334155!important}.wm-pro-case-balance{background:linear-gradient(135deg,var(--wm-green) 0%,#06351f 100%)!important;color:#fff!important;border-radius:24px!important;padding:22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;box-shadow:0 24px 42px rgba(4,74,41,.22)!important}.wm-pro-case-balance span,.wm-pro-case-balance small{display:block!important;color:#d1fae5!important;font-weight:900!important}.wm-pro-case-balance strong{font-size:34px!important;line-height:1.05!important;letter-spacing:-.055em!important;color:#fff!important;margin:6px 0!important}.wm-pro-alert{display:flex!important;align-items:center!important;gap:12px!important;border-radius:20px!important;padding:15px 17px!important;margin:14px 0!important;border:1px solid var(--wm-line)!important;background:#fff!important}.wm-pro-alert strong{font-size:15px!important}.wm-pro-alert span{color:#475569!important}.wm-pro-alert.danger{background:var(--wm-red-soft)!important;border-color:#fecaca!important;color:#991b1b!important}.wm-pro-alert.warning{background:var(--wm-yellow-soft)!important;border-color:#fde68a!important;color:#92400e!important}.wm-pro-alert.danger span{color:#991b1b!important}.wm-pro-alert.warning span{color:#92400e!important}
.wm-pro-kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;margin:16px 0!important}.wm-pro-kpis>div{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:20px!important;padding:16px!important;box-shadow:var(--wm-shadow-soft)!important;min-width:0!important}.wm-pro-kpis span{display:block!important;font-size:11px!important;color:var(--wm-muted)!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.055em!important;margin-bottom:7px!important;white-space:nowrap!important}.wm-pro-kpis strong{display:block!important;font-size:18px!important;color:var(--wm-ink)!important;line-height:1.12!important;letter-spacing:-.03em!important;white-space:nowrap!important}.wm-pro-kpis .accent{background:linear-gradient(135deg,#ecfdf5,#f0fdf4)!important;border-color:#86efac!important}.wm-pro-kpis .accent strong{color:var(--wm-green)!important}
.wm-pro-case-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;align-items:start!important}.wm-pro-main{min-width:0!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:26px!important;box-shadow:var(--wm-shadow)!important;overflow:hidden!important}.wm-pro-tabs{display:flex!important;gap:8px!important;overflow-x:auto!important;background:#f8fafc!important;border-bottom:1px solid var(--wm-line)!important;padding:12px!important}.wm-pro-tabs a{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;text-decoration:none!important;color:#475569!important;font-size:13px!important;font-weight:900!important;line-height:1!important;padding:11px 13px!important;border-radius:999px!important;white-space:nowrap!important;border:1px solid transparent!important}.wm-pro-tabs a:hover{background:#fff!important;border-color:var(--wm-line)!important;color:var(--wm-green)!important}.wm-pro-tabs a.active{background:var(--wm-green)!important;color:#fff!important;border-color:var(--wm-green)!important;box-shadow:0 10px 20px rgba(4,74,41,.16)!important}.wm-pro-panel{padding:22px!important}.wm-pro-panel h3{font-size:21px!important;margin:0 0 16px!important}.wm-pro-panel .wm-box,.wm-pro-box{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:20px!important;padding:18px!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important}.wm-overview-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}.wm-overview-grid .wm-pro-box:nth-child(3){grid-column:1/-1!important}.wm-pro-dl{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:10px 14px!important;margin:0!important}.wm-pro-dl dt{color:var(--wm-muted)!important;font-weight:900!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important}.wm-pro-dl dd{margin:0!important;color:var(--wm-ink)!important;font-weight:850!important}.wm-pro-debtor-name{font-size:23px!important;font-weight:900!important;color:var(--wm-ink)!important;letter-spacing:-.035em!important;margin:0 0 8px!important}.wm-pro-timeline,.wm-timeline{display:grid!important;gap:12px!important}.wm-pro-timeline>div,.wm-timeline>div{background:#fff!important;border:1px solid var(--wm-line)!important;border-left:4px solid #93c5fd!important;border-radius:16px!important;padding:13px 14px!important;box-shadow:0 6px 15px rgba(15,23,42,.035)!important}.wm-pro-timeline time{display:block!important;color:var(--wm-muted)!important;font-size:12px!important;font-weight:900!important}.wm-pro-timeline strong,.wm-timeline strong{display:block!important;color:var(--wm-ink)!important;margin:2px 0!important}.wm-pro-timeline p,.wm-timeline p{margin:0!important;color:#475569!important}.wm-pro-rail{display:grid!important;gap:12px!important;position:sticky!important;top:18px!important}.wm-rail-card{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:22px!important;padding:17px!important;box-shadow:var(--wm-shadow-soft)!important}.wm-rail-card span{display:block!important;font-size:11px!important;color:var(--wm-muted)!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important}.wm-rail-card strong{display:block!important;font-size:18px!important;color:var(--wm-ink)!important;letter-spacing:-.03em!important;margin:6px 0!important}.wm-rail-card p{margin:0!important;color:#475569!important;font-size:13px!important}.wm-rail-card small{display:block!important;margin-top:8px!important;color:#64748b!important}.wm-rail-card.action{border-left:5px solid #cbd5e1!important}.wm-rail-card.action.overdue{border-left-color:var(--wm-red)!important;background:#fff7f7!important}.wm-rail-card.action.soon{border-left-color:var(--wm-yellow)!important;background:#fffbeb!important}
.wm-workflow-line{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;margin:10px 0 16px!important}.wm-step{border:1px solid var(--wm-line)!important;background:#fff!important;padding:14px!important;border-radius:18px!important;min-height:86px!important}.wm-step strong{display:block!important;color:var(--wm-ink)!important;font-size:14px!important;margin-bottom:6px!important}.wm-step small{display:block!important;color:var(--wm-muted)!important;font-size:12px!important;line-height:1.35!important}.wm-step.done{background:#ecfdf5!important;border-color:#86efac!important}.wm-step.current{background:var(--wm-blue-soft)!important;border-color:#93c5fd!important;box-shadow:0 0 0 3px rgba(37,99,235,.10)!important}.wm-step.late{background:var(--wm-red-soft)!important;border-color:#fecaca!important}
.wm-empty-state{background:#fff!important;border:1px dashed #cbd5e1!important;border-radius:22px!important;padding:32px!important;text-align:center!important;color:var(--wm-muted)!important}.wm-empty-state strong{display:block!important;color:var(--wm-ink)!important;font-size:20px!important;margin-bottom:5px!important}.wm-details{margin:12px 0!important}.wm-details summary{cursor:pointer!important;font-weight:900!important;color:var(--wm-green)!important;padding:10px 0!important}.wm-document,.wm-doc-print{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:18px!important;padding:20px!important;margin-top:10px!important}
@media(max-width:1180px){.wm-top{grid-template-columns:1fr!important}.wm-layout{grid-template-columns:1fr!important}.wm-side{position:static!important}.wm-side{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.wm-side a{justify-content:center!important;text-align:center!important}.wm-case-card-pro{grid-template-columns:1fr!important}.wm-case-card-money{grid-template-columns:repeat(3,minmax(0,1fr))!important}.wm-pro-case-hero{grid-template-columns:1fr!important}.wm-pro-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.wm-pro-case-layout{grid-template-columns:1fr!important}.wm-pro-rail{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.wm-app{padding:16px!important;border-radius:18px!important}.wm-side{grid-template-columns:1fr!important}.wm-pro-page-head{grid-template-columns:1fr!important}.wm-grid-2,.wm-grid-3,.wm-grid-4,.wm-row,.wm-row:has(label:nth-child(3)){grid-template-columns:1fr!important}.wm-inline{display:grid!important;align-items:stretch!important}.wm-case-card-money{grid-template-columns:1fr 1fr!important}.wm-case-card-money .wm-button{grid-column:1/-1!important}.wm-pro-case-title h2{font-size:34px!important}.wm-pro-kpis{grid-template-columns:1fr 1fr!important}.wm-overview-grid{grid-template-columns:1fr!important}.wm-pro-dl{grid-template-columns:1fr!important}.wm-pro-rail{grid-template-columns:1fr!important}.wm-pro-panel{padding:16px!important}.wm-table-compact{min-width:760px!important;font-size:12px!important}.wm-pro-tabs a{font-size:12px!important;padding:10px 11px!important}}

/* Windomat 4.4 — Sąd / komornik */
.wm-legal-module .wm-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.wm-legal-module .wm-section-head h3{margin:0;color:#0f172a;font-size:24px}
.wm-legal-module .wm-section-head p{margin:6px 0 0;color:#64748b;max-width:760px}
.wm-legal-card{border-left:4px solid #044a29;background:linear-gradient(180deg,#fff,#fbfffd)}
.wm-legal-card .wm-headline h4{font-size:18px;margin:0 0 4px;color:#0f172a}
.wm-legal-card details{margin:12px 0;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;padding:10px 12px}
.wm-legal-card details summary{cursor:pointer;font-weight:800;color:#044a29}
.wm-legal-card .wm-table-compact th{white-space:nowrap}
.wm-legal-module h4{color:#0f172a;font-size:18px;margin:20px 0 10px}


/* Windomat 4.4.1 — poprawka czytelności zakładki Sąd / komornik */
.wm-legal-module{
    max-width:100%!important;
    overflow:visible!important;
}
.wm-legal-module .wm-section-head{
    display:block!important;
    margin-bottom:18px!important;
}
.wm-legal-module .wm-section-head h3{
    font-size:25px!important;
    line-height:1.15!important;
    margin:0 0 8px!important;
}
.wm-legal-module .wm-section-head p{
    max-width:100%!important;
    font-size:15px!important;
    line-height:1.45!important;
}
.wm-legal-module > .wm-grid-2{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin:18px 0 24px!important;
}
.wm-legal-module .wm-box{
    min-width:0!important;
    overflow:visible!important;
}
.wm-legal-module .wm-box > h4,
.wm-legal-module .wm-legal-card h4{
    font-size:19px!important;
    line-height:1.2!important;
    margin:0 0 14px!important;
}
.wm-legal-module .wm-form{
    width:100%!important;
    max-width:100%!important;
}
.wm-legal-module .wm-row,
.wm-legal-module .wm-row:has(label:nth-child(3)){
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
    gap:14px!important;
    align-items:start!important;
}
.wm-legal-module .wm-form label{
    min-width:0!important;
    font-size:13px!important;
    line-height:1.3!important;
}
.wm-legal-module .wm-form input,
.wm-legal-module .wm-form select,
.wm-legal-module .wm-form textarea{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
.wm-legal-module textarea{
    min-height:88px!important;
}
.wm-legal-module .wm-button{
    width:auto!important;
    justify-self:start!important;
    white-space:normal!important;
}
.wm-legal-module .wm-headline{
    display:block!important;
}
.wm-legal-module .wm-headline p{
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
}
.wm-legal-module .wm-details,
.wm-legal-module details{
    overflow:visible!important;
}
.wm-legal-module .wm-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
}
.wm-legal-module .wm-table-compact{
    min-width:760px!important;
}
.wm-legal-module .wm-legal-card{
    margin-bottom:16px!important;
}
@media(max-width:1180px){
    .wm-legal-module .wm-row,
    .wm-legal-module .wm-row:has(label:nth-child(3)){
        grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    }
}
@media(max-width:760px){
    .wm-legal-module .wm-row,
    .wm-legal-module .wm-row:has(label:nth-child(3)){
        grid-template-columns:1fr!important;
    }
    .wm-legal-module .wm-table-compact{
        min-width:680px!important;
    }
}


/* Windomat 4.4.2 — wyszukiwanie i filtrowanie spraw klienta */
.wm-case-search{
    display:grid!important;
    grid-template-columns:minmax(260px,1fr) minmax(170px,220px) minmax(170px,220px) auto!important;
    gap:12px!important;
    align-items:end!important;
    background:#f8fafc!important;
    border:1px solid var(--wm-line)!important;
    border-radius:22px!important;
    padding:14px!important;
    margin:16px 0!important;
}
.wm-case-search label{
    display:block!important;
    min-width:0!important;
    color:#334155!important;
    font-size:12px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.045em!important;
}
.wm-case-search label span{
    display:block!important;
    margin-bottom:7px!important;
}
.wm-case-search input,
.wm-case-search select{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    border:1px solid #cbd5e1!important;
    border-radius:14px!important;
    background:#fff!important;
    color:var(--wm-ink)!important;
    padding:12px 13px!important;
    font:inherit!important;
    font-size:14px!important;
    text-transform:none!important;
    letter-spacing:0!important;
}
.wm-case-search input:focus,
.wm-case-search select:focus{
    outline:3px solid rgba(4,74,41,.14)!important;
    border-color:var(--wm-green)!important;
}
.wm-case-search-actions{
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    justify-content:flex-end!important;
}
.wm-search-summary{
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    background:#ecfdf5!important;
    border:1px solid #bbf7d0!important;
    border-radius:16px!important;
    padding:10px 12px!important;
    margin:0 0 14px!important;
    color:#064e3b!important;
}
.wm-search-summary strong{
    color:#044a29!important;
}
.wm-search-summary span{
    color:#065f46!important;
}
.wm-case-search-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin-top:10px!important;
}
.wm-case-search-meta span{
    display:inline-flex!important;
    gap:4px!important;
    align-items:center!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:999px!important;
    padding:6px 9px!important;
    color:#64748b!important;
    font-size:12px!important;
    font-weight:800!important;
}
.wm-case-search-meta strong{
    color:#334155!important;
}
@media(max-width:1180px){
    .wm-case-search{
        grid-template-columns:1fr 1fr!important;
    }
    .wm-case-search-main{
        grid-column:1/-1!important;
    }
    .wm-case-search-actions{
        justify-content:flex-start!important;
    }
}
@media(max-width:760px){
    .wm-case-search{
        grid-template-columns:1fr!important;
    }
}


/* Windomat 4.4.3 — czytelna lista spraw klienta */
.wm-cases-simple-list{
    display:grid!important;
    gap:10px!important;
    margin-top:16px!important;
}
.wm-cases-simple-head{
    display:grid!important;
    grid-template-columns:145px minmax(180px,1.35fr) minmax(165px,1fr) minmax(155px,1fr) 150px 96px!important;
    gap:14px!important;
    align-items:center!important;
    padding:0 16px 6px!important;
    color:#64748b!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
}
.wm-case-simple-row{
    background:#fff!important;
    border:1px solid var(--wm-line)!important;
    border-left:4px solid #cbd5e1!important;
    border-radius:18px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
    overflow:hidden!important;
}
.wm-case-simple-row.overdue{border-left-color:var(--wm-red)!important;}
.wm-case-simple-row.soon{border-left-color:var(--wm-yellow)!important;}
.wm-case-simple-row.closed{border-left-color:#94a3b8!important;opacity:.92!important;}
.wm-case-simple-main{
    display:grid!important;
    grid-template-columns:145px minmax(180px,1.35fr) minmax(165px,1fr) minmax(155px,1fr) 150px 96px!important;
    gap:14px!important;
    align-items:center!important;
    padding:14px 16px!important;
}
.wm-case-simple-cell{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
}
.wm-case-simple-cell strong{
    color:var(--wm-ink)!important;
    font-weight:900!important;
    font-size:14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.wm-case-simple-cell small{
    color:#64748b!important;
    font-size:12px!important;
    font-weight:750!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.wm-case-simple-no{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
}
.wm-priority-dot{
    width:26px!important;
    height:26px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    font-size:13px!important;
    line-height:1!important;
}
.wm-priority-dot.overdue{background:#fee2e2!important;}
.wm-priority-dot.soon{background:#fef3c7!important;}
.wm-priority-dot.closed{background:#e2e8f0!important;}
.wm-case-simple-debtor strong{
    font-size:15px!important;
}
.wm-case-simple-status{
    gap:6px!important;
}
.wm-case-simple-status .wm-status{
    align-self:flex-start!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.wm-case-simple-money strong{
    font-size:15px!important;
    color:var(--wm-green)!important;
}
.wm-case-simple-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
}
.wm-case-simple-actions .wm-button{
    width:auto!important;
    min-width:78px!important;
    text-align:center!important;
    justify-content:center!important;
}
.wm-case-simple-details{
    border-top:1px solid #edf2f7!important;
    background:#f8fafc!important;
}
.wm-case-simple-details summary{
    cursor:pointer!important;
    padding:10px 16px!important;
    color:#044a29!important;
    font-size:13px!important;
    font-weight:900!important;
    list-style:none!important;
}
.wm-case-simple-details summary::-webkit-details-marker{display:none!important;}
.wm-case-simple-details summary:before{
    content:'+'!important;
    display:inline-flex!important;
    width:18px!important;
    height:18px!important;
    align-items:center!important;
    justify-content:center!important;
    margin-right:8px!important;
    border-radius:999px!important;
    background:#e2e8f0!important;
    color:#334155!important;
}
.wm-case-simple-details[open] summary:before{
    content:'−'!important;
}
.wm-case-simple-details-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    padding:0 16px 14px!important;
}
.wm-case-simple-details-grid div{
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    padding:10px 12px!important;
    min-width:0!important;
}
.wm-case-simple-details-grid span{
    display:block!important;
    color:#64748b!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
    margin-bottom:4px!important;
}
.wm-case-simple-details-grid strong{
    display:block!important;
    color:var(--wm-ink)!important;
    font-size:13px!important;
    overflow-wrap:anywhere!important;
}
@media(max-width:1180px){
    .wm-cases-simple-head{display:none!important;}
    .wm-case-simple-main{
        grid-template-columns:1fr 1fr!important;
        gap:12px!important;
    }
    .wm-case-simple-actions{
        justify-content:flex-start!important;
    }
    .wm-case-simple-details-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    .wm-case-simple-main{
        grid-template-columns:1fr!important;
    }
    .wm-case-simple-actions .wm-button{
        width:100%!important;
    }
    .wm-case-simple-details-grid{
        grid-template-columns:1fr!important;
    }
}


/* Windomat 4.5 — plany abonamentów i użytkownicy klienta */
.wm-plan-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.wm-plan.active{
    border-color:#044a29!important;
    box-shadow:0 0 0 3px rgba(4,74,41,.12), var(--wm-shadow-soft)!important;
}
.wm-plan.active h3:after{
    content:" aktualny";
    display:inline-block;
    margin-left:8px;
    font-size:11px;
    font-weight:900;
    color:#047857;
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    border-radius:999px;
    padding:3px 7px;
    vertical-align:middle;
}
@media(max-width:1180px){
    .wm-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
    .wm-plan-grid{grid-template-columns:1fr!important}
}


/* Windomat 4.5.2 — blokada downgrade i wycena upgrade */
.wm-plan.disabled{
    opacity:.72!important;
    filter:grayscale(.15)!important;
}
.wm-upgrade-quote{
    background:#ecfdf5!important;
    border:1px solid #bbf7d0!important;
    color:#064e3b!important;
    border-radius:14px!important;
    padding:10px 12px!important;
    margin:10px 0!important;
    line-height:1.35!important;
}
.wm-upgrade-quote strong{
    color:#044a29!important;
}
.wm-upgrade-quote small{
    color:#047857!important;
    font-weight:800!important;
}


/* Windomat 4.6 — role i uprawnienia użytkowników klienta */
.wm-role-info{
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    padding:12px 14px!important;
    color:#334155!important;
    line-height:1.45!important;
    margin:12px 0!important;
}


/* Windomat 4.6.1 — twarde limity planów */
.wm-plan.disabled{
    opacity:.68!important;
    filter:grayscale(.12)!important;
}
.wm-plan.disabled .wm-button{
    pointer-events:none!important;
    opacity:.55!important;
}


/* Windomat 4.7 — centrum dokumentów, terminarz, klient 360 i blokady */
.wm-doc-center .wm-table small{color:#64748b;font-weight:700}
.wm-term-danger td:first-child strong{color:#b91c1c}
.wm-term-ok td:first-child strong{color:#047857}
.wm-timeline-rich div{position:relative;border-left:3px solid #e5e7eb;padding:0 0 16px 16px;margin:0 0 12px}
.wm-timeline-rich time{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:4px}
.wm-timeline-rich small{display:block;color:#64748b;font-weight:800;margin-top:4px}
.wm-admin-client-360 .wm-owner-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.wm-admin-client-360 .wm-owner-card{background:#fff;border:1px solid #ccd0d4;border-radius:10px;padding:16px;margin:0 0 16px}
.wm-admin-client-360 .wm-log-item{border-bottom:1px solid #e5e7eb;padding:8px 0}
@media(max-width:1100px){.wm-admin-client-360 .wm-owner-grid{grid-template-columns:1fr}}


/* Windomat 4.7.4 — profesjonalna strona logowania */
.wm-auth-premium{
    max-width:1180px!important;
    margin:32px auto!important;
}
.wm-auth-shell{
    display:grid!important;
    grid-template-columns:1.05fr .95fr!important;
    gap:0!important;
    border-radius:28px!important;
    overflow:hidden!important;
    box-shadow:0 28px 80px rgba(2,6,23,.16)!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
}
.wm-auth-side{
    position:relative!important;
    min-height:520px!important;
    padding:54px!important;
    color:#fff!important;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.16), transparent 32%),
        linear-gradient(135deg,#022c1a 0%,#044a29 52%,#0f766e 100%)!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}
.wm-auth-badge{
    display:inline-flex!important;
    width:max-content!important;
    border:1px solid rgba(255,255,255,.22)!important;
    background:rgba(255,255,255,.1)!important;
    border-radius:999px!important;
    padding:8px 12px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    font-size:12px!important;
    margin-bottom:22px!important;
}
.wm-auth-side h2{
    color:#fff!important;
    font-size:42px!important;
    line-height:1.05!important;
    margin:0 0 18px!important;
    letter-spacing:-.04em!important;
}
.wm-auth-side p{
    color:rgba(255,255,255,.82)!important;
    max-width:470px!important;
    font-size:17px!important;
    line-height:1.7!important;
    margin:0!important;
}
.wm-auth-points{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    margin-top:34px!important;
}
.wm-auth-points span{
    display:inline-flex!important;
    padding:9px 12px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.12)!important;
    border:1px solid rgba(255,255,255,.16)!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
}
.wm-auth-card{
    padding:54px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.wm-auth-card h2{
    font-size:32px!important;
    color:#0f172a!important;
    margin:0 0 24px!important;
    letter-spacing:-.035em!important;
}
.wm-auth-muted{
    color:#64748b!important;
    margin-top:-12px!important;
}
.wm-login-premium-form{
    display:grid!important;
    gap:16px!important;
}
.wm-login-premium-form label{
    display:grid!important;
    gap:8px!important;
    font-weight:900!important;
    color:#334155!important;
}
.wm-login-premium-form input[type="text"],
.wm-login-premium-form input[type="password"]{
    width:100%!important;
    border:1px solid #dbe3ea!important;
    background:#fff!important;
    color:#0f172a!important;
    border-radius:16px!important;
    min-height:52px!important;
    padding:0 16px!important;
    font-size:16px!important;
    outline:none!important;
    box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
.wm-login-premium-form input:focus{
    border-color:#044a29!important;
    box-shadow:0 0 0 4px rgba(4,74,41,.12)!important;
}
.wm-login-remember{
    display:flex!important;
    grid-template-columns:auto 1fr!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:10px!important;
    font-weight:800!important;
    color:#475569!important;
}
.wm-login-remember input{
    width:18px!important;
    height:18px!important;
    accent-color:#044a29!important;
}
.wm-auth-main-btn{
    width:100%!important;
    justify-content:center!important;
    min-height:54px!important;
    border-radius:16px!important;
    font-size:16px!important;
}
.wm-auth-footer{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:10px 14px!important;
    margin-top:22px!important;
    color:#64748b!important;
    font-weight:800!important;
}
@media(max-width:900px){
    .wm-auth-shell{grid-template-columns:1fr!important}
    .wm-auth-side{min-height:auto!important;padding:36px!important}
    .wm-auth-side h2{font-size:34px!important}
    .wm-auth-card{padding:36px!important}
}


/* Windomat 4.8 — RODO i logowanie kodem */
.wm-danger-zone{border-color:#fecaca!important;background:#fff7f7!important}
.wm-button-danger{background:#b91c1c!important;color:#fff!important;border-color:#b91c1c!important}
.wm-alert.success{background:#ecfdf5!important;border:1px solid #bbf7d0!important;color:#065f46!important}
.wm-alert.danger{background:#fef2f2!important;border:1px solid #fecaca!important;color:#991b1b!important}
.wm-auth-card .wm-alert{border-radius:14px!important;padding:12px 14px!important;margin:0 0 16px!important;font-weight:800!important}


/* Windomat 4.8.6 — edycja danych dłużnika */
.wm-debtor-edit-form{
    margin-top:14px!important;
}
.wm-small-link{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 10px;
    border-radius:999px;
    background:#ecfdf5;
    color:#044a29!important;
    font-weight:900;
    text-decoration:none!important;
    border:1px solid #bbf7d0;
}
.wm-small-link:hover{
    background:#d1fae5;
}


/* Windomat 4.8.9 — RODO: ukrycie dokumentów przy ograniczeniu przetwarzania */
.wm-rodo-restricted-document{
    border:1px solid #fecaca;
    background:#fef2f2;
    color:#7f1d1d;
    border-radius:16px;
    padding:18px;
}
.wm-rodo-restricted-document h2{
    margin-top:0!important;
    color:#7f1d1d!important;
}


/* Windomat 4.9.1 — SMS do dłużników */
.wm-sms-template-list{margin:0;padding-left:18px;max-height:280px;overflow:auto}
.wm-sms-template-list li{margin:0 0 12px;color:#334155}
.wm-sms-template-list span{color:#64748b;font-size:12px;line-height:1.45}
.wm-error-inline{color:#b91c1c;font-weight:800}


/* Windomat 4.9.2 — limity i pakiety SMS */
.wm-sms-packs-box{margin-top:18px!important}
.wm-sms-pack-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px!important}
.wm-sms-pack-card h4{margin:0 0 8px!important;color:#0f172a!important}
.wm-sms-pack-card strong{display:block;font-size:24px;color:#044a29;margin-bottom:6px}


/* Windomat 4.9.5 — podpowiedź istniejącego dłużnika przy dodawaniu sprawy */
.wm-debtor-lookup-note{
    border:1px solid #d1fae5;
    background:#ecfdf5;
    color:#064e3b;
    border-radius:14px;
    padding:12px 14px;
    margin:8px 0 14px;
    font-size:13px;
    line-height:1.45;
}
.wm-debtor-suggestion{
    border:1px solid #fde68a;
    background:#fffbeb;
    color:#78350f;
    border-radius:16px;
    padding:14px;
    margin:10px 0 16px;
}
.wm-debtor-suggestion strong{display:block;margin-bottom:6px}
.wm-debtor-suggestion p{margin:0 0 10px}


/* Windomat 4.10.4 — zgłoszenia i konfiguracja workflow */
.wm-userbox .wm-feedback-top{
    background:#fff7ed;
    border-color:#fed7aa;
    color:#9a3412;
    font-weight:800;
}
.wm-userbox .wm-feedback-top:hover{
    background:#ffedd5;
    color:#7c2d12;
}


/* Windomat 4.10.18 — Premium panel dłużnika */
.wm-debtor-hero-premium{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:20px!important;
  align-items:start!important;
  padding:30px!important;
  border-radius:28px!important;
  background:radial-gradient(circle at top left,rgba(4,74,41,.16),transparent 34%),linear-gradient(135deg,#ffffff 0%,#f8fafc 54%,#ecfdf5 100%)!important;
  border:1px solid #d9eadf!important;
  box-shadow:0 26px 70px rgba(4,74,41,.12)!important;
  margin-bottom:18px!important;
  position:relative!important;
  overflow:hidden!important;
}
.wm-debtor-hero-premium:after{content:""!important;position:absolute!important;right:-80px!important;top:-90px!important;width:230px!important;height:230px!important;border-radius:999px!important;background:rgba(4,74,41,.08)!important;pointer-events:none!important}
.wm-debtor-hero-content{position:relative!important;z-index:1!important;max-width:920px!important}.wm-debtor-hero-content h2{font-size:40px!important;letter-spacing:-.055em!important;margin:0 0 10px!important}.wm-debtor-hero-content p{font-size:15px!important;color:#475569!important;max-width:820px!important;margin:0!important}.wm-debtor-identity-row{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:18px!important}.wm-debtor-identity-row span{display:inline-flex!important;align-items:center!important;gap:6px!important;background:#fff!important;border:1px solid #dbe6df!important;border-radius:999px!important;padding:9px 12px!important;color:#475569!important;font-size:13px!important;font-weight:850!important}.wm-debtor-identity-row strong{color:#0f172a!important}.wm-debtor-hero-actions{position:relative!important;z-index:1!important}
.wm-debtor-summary-premium{display:grid!important;grid-template-columns:1fr 1.35fr 1fr!important;gap:14px!important;margin:18px 0!important}.wm-debtor-summary-card{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:24px!important;padding:20px!important;box-shadow:var(--wm-shadow-soft)!important}.wm-debtor-summary-card.primary{background:linear-gradient(135deg,#044a29,#06643a)!important;border-color:#044a29!important;color:#fff!important}.wm-debtor-summary-card span{display:block!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-weight:950!important;color:#64748b!important;margin-bottom:8px!important}.wm-debtor-summary-card.primary span,.wm-debtor-summary-card.primary small{color:#d1fae5!important}.wm-debtor-summary-card strong{display:block!important;font-size:28px!important;line-height:1.05!important;letter-spacing:-.045em!important;color:#0f172a!important}.wm-debtor-summary-card.primary strong{color:#fff!important;font-size:32px!important}.wm-debtor-summary-card small{display:block!important;color:#64748b!important;margin-top:8px!important;font-weight:750!important}
.wm-debtor-case-premium{background:#fff!important;border:1px solid #dfe7e2!important;border-radius:30px!important;padding:24px!important;box-shadow:0 24px 62px rgba(15,23,42,.075)!important;margin:22px 0!important;overflow:hidden!important}.wm-debtor-case-header{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:18px!important;align-items:stretch!important;background:linear-gradient(135deg,#f8fafc,#ffffff)!important;border:1px solid #eef2f7!important;border-radius:24px!important;padding:20px!important;margin-bottom:16px!important}.wm-debtor-case-no{display:inline-flex!important;width:max-content!important;background:#ecfdf5!important;color:#04733f!important;border:1px solid #bbf7d0!important;border-radius:999px!important;padding:7px 10px!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:10px!important}.wm-debtor-case-header h2{font-size:30px!important;letter-spacing:-.05em!important;margin:0 0 6px!important}.wm-debtor-case-header p{color:#64748b!important;margin:0!important}.wm-debtor-balance-box{background:#044a29!important;border-radius:22px!important;padding:19px!important;color:#fff!important;box-shadow:0 18px 35px rgba(4,74,41,.22)!important}.wm-debtor-balance-box span{display:block!important;color:#bbf7d0!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.08em!important}.wm-debtor-balance-box strong{display:block!important;font-size:31px!important;line-height:1!important;letter-spacing:-.05em!important;margin:8px 0 12px!important;color:#fff!important}.wm-debtor-pill{display:inline-flex!important;background:#fef3c7!important;color:#92400e!important;border-radius:999px!important;padding:7px 10px!important;font-style:normal!important;font-size:12px!important;font-weight:900!important}.wm-debtor-pill.green{background:#dcfce7!important;color:#166534!important}.wm-debtor-pill.gray{background:#e5e7eb!important;color:#374151!important}
.wm-debtor-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:14px 0 18px!important}.wm-debtor-kpis div{background:#f8fafc!important;border:1px solid var(--wm-line)!important;border-radius:18px!important;padding:14px!important}.wm-debtor-kpis span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.06em!important}.wm-debtor-kpis strong{display:block!important;color:#0f172a!important;font-size:22px!important;margin-top:5px!important}
.wm-debtor-grid-premium{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)!important;gap:16px!important;margin:16px 0!important;align-items:start!important}.wm-debtor-grid-premium.proposals{grid-template-columns:minmax(0,1fr) 390px!important}.wm-debtor-panel-premium{background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:24px!important;padding:20px!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important}.wm-debtor-panel-premium.wide{min-width:0!important}.wm-debtor-panel-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}.wm-debtor-panel-title h3{font-size:20px!important;margin:0!important}.wm-debtor-panel-title span{color:#64748b!important;font-size:12px!important;font-weight:850!important;text-align:right!important}.wm-debtor-obligation-list{display:grid!important;gap:10px!important}.wm-debtor-obligation-row{display:grid!important;grid-template-columns:minmax(0,1fr) 150px 150px!important;gap:12px!important;align-items:center!important;background:#f8fafc!important;border:1px solid #e8edf3!important;border-radius:18px!important;padding:14px!important}.wm-debtor-obligation-row strong{display:block!important;color:#0f172a!important}.wm-debtor-obligation-row span{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:800!important}.wm-debtor-obligation-row .amount{text-align:right!important}.wm-debtor-obligation-row .amount strong{color:#044a29!important;font-size:18px!important}.wm-debtor-dl{display:grid!important;gap:10px!important;margin:0!important}.wm-debtor-dl dt{color:#64748b!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.06em!important}.wm-debtor-dl dd{margin:0 0 4px!important;color:#0f172a!important;font-weight:850!important;overflow-wrap:anywhere!important}.wm-debtor-settlement-list{display:grid!important;gap:12px!important}.wm-debtor-settlement{border:1px solid var(--wm-line)!important;border-radius:18px!important;background:#f8fafc!important;padding:12px!important}.wm-debtor-settlement summary{display:flex!important;justify-content:space-between!important;gap:10px!important;cursor:pointer!important}.wm-debtor-settlement summary strong{color:#0f172a!important}.wm-debtor-settlement summary span{color:#64748b!important;font-weight:850!important}.wm-debtor-proposal-list{display:grid!important;gap:10px!important}.wm-debtor-proposal-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;border:1px solid #e5e7eb!important;border-left:5px solid #cbd5e1!important;background:#f8fafc!important;border-radius:20px!important;padding:15px!important}.wm-debtor-proposal-card.pending{border-left-color:#f59e0b!important;background:#fffbeb!important}.wm-debtor-proposal-card.accepted{border-left-color:#16a34a!important;background:#f0fdf4!important}.wm-debtor-proposal-card.rejected{border-left-color:#dc2626!important;background:#fef2f2!important}.wm-debtor-proposal-card span,.wm-debtor-proposal-card small{display:block!important;color:#64748b!important;font-weight:850!important}.wm-debtor-proposal-card strong{display:block!important;color:#0f172a!important;font-size:22px!important;letter-spacing:-.04em!important}.wm-debtor-proposal-status{text-align:right!important}.wm-debtor-proposal-status em{display:inline-flex!important;border-radius:999px!important;background:#fff!important;border:1px solid #e5e7eb!important;color:#334155!important;padding:7px 10px!important;font-size:12px!important;font-weight:950!important;font-style:normal!important;margin-bottom:8px!important}.wm-debtor-actions-inline{display:flex!important;gap:8px!important;justify-content:flex-end!important;flex-wrap:wrap!important}.wm-button-small.muted{background:#e5e7eb!important;color:#374151!important;box-shadow:none!important}.wm-debtor-panel-premium.proposal-form{position:sticky!important;top:18px!important}.wm-debtor-locked{background:#f8fafc!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;padding:18px!important}.wm-debtor-locked strong{display:block!important;color:#0f172a!important}.wm-debtor-locked p{color:#64748b!important;margin:6px 0 0!important}.wm-debtor-empty-premium{text-align:center!important;background:#fff!important;border:1px solid var(--wm-line)!important;border-radius:28px!important;padding:42px 24px!important;box-shadow:var(--wm-shadow-soft)!important}.wm-debtor-empty-icon{width:58px!important;height:58px!important;border-radius:999px!important;background:#ecfdf5!important;color:#04733f!important;display:grid!important;place-items:center!important;margin:0 auto 14px!important;font-size:26px!important;font-weight:950!important}
@media(max-width:1080px){.wm-debtor-hero-premium,.wm-debtor-case-header,.wm-debtor-grid-premium,.wm-debtor-grid-premium.proposals{grid-template-columns:1fr!important}.wm-debtor-panel-premium.proposal-form{position:static!important}.wm-debtor-summary-premium{grid-template-columns:1fr!important}.wm-debtor-balance-box{max-width:100%!important}.wm-debtor-obligation-row{grid-template-columns:1fr!important}.wm-debtor-obligation-row .amount{text-align:left!important}}
@media(max-width:680px){.wm-debtor-hero-premium,.wm-debtor-case-premium{padding:16px!important;border-radius:22px!important}.wm-debtor-hero-content h2{font-size:30px!important}.wm-debtor-case-header h2{font-size:24px!important}.wm-debtor-kpis{grid-template-columns:1fr!important}.wm-debtor-proposal-card{grid-template-columns:1fr!important}.wm-debtor-proposal-status{text-align:left!important}.wm-debtor-actions-inline{justify-content:flex-start!important}.wm-debtor-panel-title{display:block!important}.wm-debtor-panel-title span{text-align:left!important;display:block!important;margin-top:4px!important}}


/* Debtor premium financial breakdown */
.wm-debtor-financial-panel{margin:18px 0}
.wm-debtor-financial-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px}
.wm-debtor-financial-grid>div{border:1px solid #e5e7eb;border-radius:16px;padding:13px;background:#fff}
.wm-debtor-financial-grid span{display:block;font-size:12px;color:#64748b;margin-bottom:5px}
.wm-debtor-financial-grid strong{font-size:18px;color:#0f172a}
.wm-debtor-financial-grid .negative strong{color:#0f766e}
.wm-debtor-financial-grid .final{background:#044a29;border-color:#044a29}
.wm-debtor-financial-grid .final span,.wm-debtor-financial-grid .final strong{color:#fff}
.wm-debtor-obligation-row.detailed{grid-template-columns:1.7fr .8fr .9fr .9fr .9fr .9fr}
.wm-debtor-obligation-row small{display:block;color:#64748b;margin-top:4px}
.wm-debtor-obligation-row .total strong{color:#044a29}
.wm-debtor-cost-list{display:grid;gap:10px}
.wm-debtor-cost-row{display:flex;justify-content:space-between;gap:12px;border:1px solid #e5e7eb;border-radius:14px;padding:12px;background:#fff}
.wm-debtor-cost-row span,.wm-debtor-cost-row small{display:block;color:#64748b;font-size:12px;margin-top:3px}
.wm-debtor-cost-row em{font-style:normal;font-weight:800;color:#0f172a;white-space:nowrap}
@media (max-width:1100px){.wm-debtor-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-debtor-financial-grid .final{grid-column:1/-1}.wm-debtor-obligation-row.detailed{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.wm-debtor-financial-grid{grid-template-columns:1fr}.wm-debtor-obligation-row.detailed{grid-template-columns:1fr}.wm-debtor-cost-row{flex-direction:column}}


/* Settlement termination controls */
.wm-danger-details{border:1px solid #fecaca;background:#fff7f7;border-radius:14px;padding:10px 12px;margin:14px 0}
.wm-danger-details summary{cursor:pointer;font-weight:800;color:#991b1b}
.wm-button.danger{background:#991b1b;border-color:#991b1b;color:#fff}
.wm-button.danger:hover{filter:brightness(.95)}
