/* v418 — dashboard główny + menu boczne bliżej zaakceptowanej makiety */

/* Sidebar refinements */
.app-shell-unified-v211 .sidebar{padding:18px 14px 16px!important;background:#f8fafc!important;}
.app-shell-unified-v211 .brand-block{padding-bottom:10px!important;border-bottom:1px solid #eef2f7!important;margin-bottom:12px!important;}
.app-shell-unified-v211 .brand-mark-image img{width:58px;height:58px;object-fit:contain;}
.app-shell-unified-v211 .brand-copy .brand{font-size:24px!important;line-height:1!important;letter-spacing:-.03em!important;}
.app-shell-unified-v211 .brand-subtitle{font-size:13px!important;font-weight:800!important;}
.app-shell-unified-v211 .sidebar-direct-link--home{display:flex!important;align-items:center!important;gap:10px!important;border-left:0!important;border-radius:12px!important;background:#1f2937!important;color:#fff!important;box-shadow:0 10px 24px rgba(31, 41, 55,.22)!important;padding:12px 14px!important;}
.app-shell-unified-v211 .sidebar-direct-link--home::before{content:"⌂";font-size:16px;line-height:1;}
.app-shell-unified-v211 .sidebar-direct-link--home.active-link,.app-shell-unified-v211 .sidebar-direct-link--home:hover{background:#1f2937!important;color:#fff!important;transform:none!important;}
.app-shell-unified-v211 .nav-section{margin:10px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-left:0!important;overflow:visible!important;}
.app-shell-unified-v211 .nav-section-summary{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:12px!important;color:#fff!important;font-size:12px!important;font-weight:900!important;letter-spacing:.03em!important;text-transform:uppercase!important;line-height:1.2!important;box-shadow:0 8px 18px rgba(15,23,42,.08)!important;}
.app-shell-unified-v211 .nav-section-summary::before{content:"";width:15px;height:15px;min-width:15px;margin-right:0!important;background:rgba(255,255,255,.92)!important;box-shadow:none!important;opacity:.95;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;}
.app-shell-unified-v211 .nav-section-summary::after{margin-left:auto!important;color:rgba(255,255,255,.88)!important;}
.app-shell-unified-v211 .nav-section--voting .nav-section-summary{background:#1f2937!important;}
.app-shell-unified-v211 .nav-section--finance .nav-section-summary{background:#16a34a!important;}
.app-shell-unified-v211 .nav-section--rents .nav-section-summary{background:#f97316!important;}
.app-shell-unified-v211 .nav-section--maintenance .nav-section-summary{background:#8b5cf6!important;}
.app-shell-unified-v211 .nav-section--data .nav-section-summary{background:#14b8a6!important;}
.app-shell-unified-v211 .nav-section--mailings .nav-section-summary{background:#ec4899!important;}
.app-shell-unified-v211 .nav-section--admin .nav-section-summary{background:#64748b!important;}
.app-shell-unified-v211 .nav-section--voting .nav-section-summary::before{content:"▣";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#1f2937;}
.app-shell-unified-v211 .nav-section--finance .nav-section-summary::before{content:"◫";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#16a34a;}
.app-shell-unified-v211 .nav-section--rents .nav-section-summary::before{content:"≣";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#f97316;}
.app-shell-unified-v211 .nav-section--maintenance .nav-section-summary::before{content:"⌁";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#8b5cf6;}
.app-shell-unified-v211 .nav-section--data .nav-section-summary::before{content:"◍";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#14b8a6;}
.app-shell-unified-v211 .nav-section--mailings .nav-section-summary::before{content:"✉";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#ec4899;}
.app-shell-unified-v211 .nav-section--admin .nav-section-summary::before{content:"⚙";display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#64748b;}
.app-shell-unified-v211 .nav-section-links{padding:8px 0 0 0!important;background:transparent!important;gap:4px!important;}
.app-shell-unified-v211 .nav-section-links a{position:relative;border-left:0!important;border-radius:10px!important;color:#334155!important;background:transparent!important;padding:9px 12px 9px 34px!important;font-size:14px!important;font-weight:700!important;}
.app-shell-unified-v211 .nav-section-links a::before{content:"•";position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:12px;}
.app-shell-unified-v211 .nav-section-links a:hover{background:#eef2f7!important;color:#0f172a!important;transform:none!important;}
.app-shell-unified-v211 .nav-section-links a.active-link{background:#eef2f7!important;color:#1f2937!important;box-shadow:none!important;font-weight:900!important;}
.app-shell-unified-v211 .logout-form{margin-top:12px!important;}
.app-shell-unified-v211 .logout-form button{width:100%!important;min-height:44px!important;background:#fff!important;border:1px solid #eef2f7!important;color:#ef4444!important;font-weight:900!important;}

/* Dashboard */
.home422-shell{display:grid;gap:22px;color:#0f172a;}
.home422-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;}
.home422-header__eyebrow{font-size:13px;font-weight:900;color:#64748b;margin-bottom:6px;}
.home422-header__intro h1{margin:0;font-size:clamp(30px,3.4vw,42px);line-height:1.05;letter-spacing:-.04em;}
.home422-header__subrow{display:flex;align-items:center;gap:12px;margin-top:10px;color:#64748b;font-size:15px;font-weight:700;flex-wrap:wrap;}
.home422-role-pill{height:26px;padding:0 10px;border-radius:999px;background:#eef2f7;color:#1f2937;font-size:12px;font-weight:900;display:inline-flex;align-items:center;}
.home422-header__actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex-wrap:wrap;}
.home422-community-form{padding:14px 16px;border:1px solid #eef2f7;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);min-width:min(100%,620px);}
.home422-community-form label{display:block;margin-bottom:8px;color:#475569;font-size:12px;font-weight:900;}
.home422-community-control{display:grid;grid-template-columns:minmax(420px,1fr) auto;gap:10px;}
.home422-community-control select,.home422-community-control button{height:46px;border-radius:12px;font-weight:800;font-size:14px;}
.home422-community-control select{border:1px solid #eef2f7;padding:0 14px;background:#fff;color:#0f172a;}
.home422-community-control button{padding:0 18px;border:1px solid #eef2f7;background:#f8fbff;color:#1f2937;}
.home422-bell{position:relative;width:54px;height:54px;border-radius:16px;border:1px solid #eef2f7;background:#fff;display:grid;place-items:center;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.04);}
.home422-bell strong{position:absolute;top:-6px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:900;display:grid;place-items:center;}
.home422-user-card{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 14px;border-radius:16px;border:1px solid #eef2f7;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);min-width:240px;}
.home422-user-card__avatar{width:38px;height:38px;border-radius:999px;background:linear-gradient(135deg,#eef2f7,#eef2f7);color:#1f2937;font-weight:900;display:grid;place-items:center;flex:0 0 auto;}
.home422-user-card strong{display:block;font-size:14px;font-weight:900;}
.home422-user-card span{display:block;font-size:12px;color:#64748b;font-weight:700;}
.home422-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;}
.home422-kpi{display:flex;gap:16px;align-items:flex-start;padding:22px 18px;border-radius:20px;border:1px solid #e2e8f0;background:#fff;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;min-height:154px;}
.home422-kpi:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(15,23,42,.08);border-color:#cbd5e1;}
.home422-kpi__icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-size:24px;flex:0 0 auto;}
.home422-kpi__body{display:grid;gap:6px;min-width:0;}
.home422-kpi__body span{font-size:15px;font-weight:800;line-height:1.2;}
.home422-kpi__body strong{font-size:28px;font-weight:950;line-height:1;}
.home422-kpi__body small{font-size:12px;font-weight:700;color:#64748b;line-height:1.35;}
.home422-kpi__body em{margin-top:8px;font-style:normal;font-size:13px;color:#1f2937;font-weight:900;}
.home422-kpi--indigo .home422-kpi__icon{background:#eef2f7;color:#1f2937;}.home422-kpi--orange .home422-kpi__icon{background:#fff7ed;color:#f97316;}.home422-kpi--green .home422-kpi__icon{background:#ecfdf5;color:#16a34a;}.home422-kpi--purple .home422-kpi__icon{background:#eef2f7;color:#7c3aed;}.home422-kpi--rose .home422-kpi__icon{background:#fff1f2;color:#e11d48;}.home422-kpi--teal .home422-kpi__icon{background:#f0fdfa;color:#0f766e;}
.home422-main-grid{display:grid;grid-template-columns:1.2fr .95fr .95fr .72fr;gap:18px;align-items:start;}
.home422-card,.home422-brief{border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);padding:20px;}
.home422-card__head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;}
.home422-card__head h2{margin:0;font-size:22px;line-height:1.1;font-weight:900;letter-spacing:-.03em;}
.home422-card__head p{margin:6px 0 0;color:#64748b;font-size:13px;font-weight:700;}
.home422-attention-list,.home422-activity-list{display:grid;gap:10px;}
.home422-attention-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;border:1px solid #e2e8f0;background:#fff;color:#0f172a;text-decoration:none;}
.home422-attention-row:hover{background:#f8fbff;}
.home422-attention-tag{height:28px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font-size:11px;font-weight:900;background:#f1f5f9;color:#475569;white-space:nowrap;}
.home422-attention-copy strong{display:block;font-size:14px;font-weight:900;}.home422-attention-copy small{display:block;margin-top:3px;font-size:12px;font-weight:700;color:#64748b;line-height:1.35;}
.home422-attention-row em{font-style:normal;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap;}
.home422-attention-row--indigo .home422-attention-tag{background:#eef2f7;color:#1f2937;}.home422-attention-row--orange .home422-attention-tag{background:#fff7ed;color:#f97316;}.home422-attention-row--green .home422-attention-tag{background:#ecfdf5;color:#16a34a;}.home422-attention-row--purple .home422-attention-tag{background:#eef2f7;color:#7c3aed;}.home422-attention-row--teal .home422-attention-tag{background:#f0fdfa;color:#0f766e;}.home422-attention-row--rose .home422-attention-tag{background:#fff1f2;color:#e11d48;}.home422-attention-row--warning .home422-attention-tag{background:#fef3c7;color:#b45309;}.home422-attention-row--danger .home422-attention-tag{background:#fee2e2;color:#dc2626;}
.home422-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.home422-quick{min-height:104px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;text-decoration:none;color:#0f172a;display:grid;place-items:center;gap:8px;padding:16px 10px;text-align:center;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);}
.home422-quick span{font-size:28px;}.home422-quick strong{font-size:14px;line-height:1.2;}
.home422-quick--indigo{background:linear-gradient(180deg,#f8faff,#eef2f7);}.home422-quick--orange{background:linear-gradient(180deg,#fffaf4,#fff7ed);}.home422-quick--green{background:linear-gradient(180deg,#f8fffb,#ecfdf5);}.home422-quick--purple{background:linear-gradient(180deg,#fcfbff,#eef2f7);}.home422-quick--teal{background:linear-gradient(180deg,#f8fffe,#f0fdfa);}.home422-quick--rose{background:linear-gradient(180deg,#fffafb,#fff1f2);}.home422-quick--slate{background:linear-gradient(180deg,#fbfcfd,#f1f5f9);}
.home422-admin-link,.home422-link{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;color:#1f2937;font-size:14px;font-weight:900;text-decoration:none;}
.home422-activity-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7;}
.home422-activity-row:last-child{border-bottom:0;}
.home422-activity-dot{width:28px;height:28px;border-radius:999px;background:#eef2f7;color:#1f2937;display:grid;place-items:center;}
.home422-activity-row strong{display:block;font-size:14px;font-weight:900;}.home422-activity-row small{display:block;margin-top:2px;font-size:12px;font-weight:700;color:#64748b;line-height:1.3;}.home422-activity-row time{font-size:12px;color:#64748b;font-weight:800;white-space:nowrap;}
.home422-brief{padding:0;overflow:hidden;}
.home422-brief__head{padding:22px 20px 16px;border-bottom:1px solid #edf2f7;}.home422-brief__head h3{margin:0;font-size:28px;line-height:1;font-weight:950;letter-spacing:-.04em;color:#1f2937;}
.home422-brief__list{margin:0;padding:18px 20px 20px 42px;display:grid;gap:16px;}.home422-brief__list li{padding-left:4px;color:#0f172a;}.home422-brief__list strong{display:block;font-size:14px;font-weight:900;}.home422-brief__list span{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:700;line-height:1.4;}
.home422-brief__foot{padding:14px 20px;border-top:1px solid #edf2f7;color:#64748b;font-size:13px;font-weight:800;}
.home422-readiness{display:block;}
.home422-card--readiness{padding:22px;}
.home422-readiness__layout{display:grid;grid-template-columns:minmax(0,1.3fr) 320px;gap:18px;align-items:start;}
.home422-readiness__tablewrap{overflow:auto;}
.home422-readiness__table{width:100%;border-collapse:separate;border-spacing:0 10px;min-width:740px;}
.home422-readiness__table th{padding:0 14px 4px;text-align:left;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.home422-readiness__table td{padding:14px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff;color:#0f172a;font-size:13px;font-weight:700;vertical-align:middle;}
.home422-readiness__table td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px;}
.home422-readiness__table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0;}
.home422-readiness__side{display:grid;gap:14px;}
.home422-readiness__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.home422-readiness__summary div{padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;}
.home422-readiness__summary span{display:block;color:#64748b;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}.home422-readiness__summary strong{display:block;margin-top:4px;font-size:18px;font-weight:950;line-height:1.2;}
.home422-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:950;background:#f1f5f9;color:#475569;}.home422-status--green{background:#dcfce7;color:#166534;}.home422-status--orange{background:#ffedd5;color:#c2410c;}.home422-status--slate{background:#f1f5f9;color:#475569;}.home422-status--red,.home422-status--danger{background:#fee2e2;color:#b91c1c;}
.home422-legend{padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;display:grid;gap:10px;}
.home422-legend strong{font-size:14px;font-weight:900;}.home422-legend__item{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px;font-weight:700;line-height:1.35;}.home422-legend__item i{width:10px;height:10px;border-radius:999px;display:inline-block;}.home422-legend__item .is-green{background:#16a34a;}.home422-legend__item .is-orange{background:#f97316;}.home422-legend__item .is-slate{background:#94a3b8;}
.home422-primary-link{height:46px;padding:0 16px;border-radius:14px;background:#1f2937;color:#fff!important;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:900;box-shadow:0 10px 22px rgba(31, 41, 55,.2);}
.home422-empty{padding:14px;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;font-size:13px;font-weight:700;background:#f8fafc;}
@media(max-width:1480px){.home422-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}.home422-main-grid{grid-template-columns:1fr 1fr;}.home422-brief{grid-column:1 / -1;}.home422-readiness__layout{grid-template-columns:1fr;}}
@media(max-width:980px){.home422-header{display:grid;}.home422-header__actions{justify-content:stretch;}.home422-community-form{min-width:0;width:100%;}.home422-community-control{grid-template-columns:minmax(0,1fr) auto;}.home422-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.home422-main-grid,.home422-readiness__layout{grid-template-columns:1fr;}.home422-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.home422-kpis,.home422-quick-grid,.home422-readiness__summary{grid-template-columns:1fr;}.home422-user-card,.home422-bell{width:100%;min-width:0;}.home422-header__actions{display:grid;}.home422-bell{height:48px;}.home422-attention-row,.home422-activity-row{grid-template-columns:1fr;}.home422-attention-row em,.home422-activity-row time{justify-self:start;}.home422-card,.home422-card--readiness{padding:16px;}}

/* Rent library help */
.rent-calc-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;}
.rent-calc-card{padding:16px;border:1px solid #eef2f7;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.03);}
.rent-calc-card strong{display:block;font-size:15px;font-weight:900;color:#0f172a;}
.rent-calc-card span{display:block;margin-top:4px;color:#1f2937;font-size:12px;font-weight:900;}
.rent-calc-card small{display:block;margin-top:8px;color:#64748b;font-size:12px;font-weight:700;line-height:1.45;}
.rent-info-box--blue{background:#eef2f7;border-color:#eef2f7;color:#1f2937;}


/* v419 — Czynsze: produkcyjny katalog składników */
.rent-inline-details{display:grid;gap:8px;min-width:220px}
.rent-inline-details summary{cursor:pointer;color:#1f2937;font-weight:900;font-size:13px;margin-bottom:8px}
.rent-mini-form--compact{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important;margin:8px 0!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#f8fafc!important}
.rent-mini-form--compact label{font-size:12px!important;color:#475569!important;font-weight:850!important}
.rent-mini-form--compact .rent-input,.rent-mini-form--compact .rent-select{min-height:38px!important;font-size:13px!important}
.rent-pill.red{background:#fee2e2!important;color:#b91c1c!important}
.rent-process-card--red{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important}
.rent-process-card--red strong{color:#b91c1c!important}
