/* Panel klikamy.net: uklad 1:1 jak wzor Kacpra (ciemny pasek na gorze, szary sidebar, jasna tresc). Marka i kolory klikamy. */
:root { --bar: #111827; --side: #f4f5f7; --page: #f7f8fa; --ink: #1f2937; --soft: #4b5563; }
.ico { display: block; flex: none; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-weight: 400; }
body { background: var(--bar); }

/* Ciemny pasek */
.hbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px 0 16px; background: var(--bar); color: #e5e7eb; }
.hbar__logo { display: flex; align-items: center; margin-right: auto; }
.hbar__logo { padding-left: 4px; }
.hbar__logo img { width: 19px; height: 19px; }
.hbar__menu { display: none; width: 34px; height: 34px; place-items: center; border: 0; background: none; color: #e5e7eb; cursor: pointer; }
.hpill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: none; color: #f3f4f6; font: 400 12.5px var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.hpill:hover, .dd.is-open > .hpill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); text-decoration: none; }
.hpill .ico { width: 15px; height: 15px; }
.hpill .ico--sm { width: 12px; height: 12px; opacity: .7; }
.hicon { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #e5e7eb; cursor: pointer; transition: background-color .15s; }
.hicon:hover, .dd.is-open > .hicon, .hicon.is-active { background: rgba(255, 255, 255, .08); }
.hicon .ico { width: 18px; height: 18px; }
.hicon__badge { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: #e11d48; color: #fff; font: 500 10px/1 var(--font); }

/* Uklad */
/* Panel jako zaokraglona karta w ciemnej ramce; przewija sie tylko tresc */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); height: calc(100vh - 56px); height: calc(100dvh - 56px); margin: 0 8px 8px; border-radius: 14px; overflow: hidden; background: var(--page); }
.side { display: flex; flex-direction: column; min-height: 0; background: var(--side); }
.side__nav { flex: 1; overflow-y: auto; padding: 20px 14px 12px; }
.nav { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; margin-bottom: 4px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 400; transition: background-color .15s; }
.nav .ico { width: 17px; height: 17px; color: var(--soft); }
.nav span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav:hover { background: rgba(17, 24, 39, .05); text-decoration: none; }
.nav.is-active { background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .06); font-weight: 500; }
.nav.is-active .ico { color: var(--accent); }
.sec { margin-top: 18px; }
.sec__head { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 26px; margin-bottom: 4px; padding: 0 12px; border: 0; background: none; color: #6b7280; font: 400 11.5px var(--font); cursor: pointer; }
.sec__head .ico { width: 15px; height: 15px; transition: transform .2s; }
.sec.is-closed .sec__head .ico { transform: rotate(-90deg); }
.sec.is-closed .sec__body { display: none; }

/* Karta firmy na dole */
.side__tenant { padding: 12px 14px; border-top: 1px solid #e5e7eb; }
.tenant { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
.tenant:hover, .dd.is-open > .tenant { background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .06); }
.firm-ini { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 500; }
.tenant__txt { flex: 1; min-width: 0; line-height: 1.3; }
.tenant__name { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tenant__sub { display: block; font-size: 11px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tenant .ico { width: 14px; height: 14px; color: #9ca3af; }

/* Dropdowny */
.dd { position: relative; }
.pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; padding: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 16px 40px rgba(17, 24, 39, .12); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd.is-open > .pop { opacity: 1; visibility: visible; transform: none; }
.pop--up { top: auto; bottom: calc(100% + 6px); left: 14px; right: 14px; transform: translateY(4px); }
.pop__label { padding: 8px 10px 4px; font-size: 11px; color: #6b7280; }
.pop__item { display: flex; width: 100%; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 400 13px var(--font); text-align: left; cursor: pointer; }
.pop__item:hover { background: var(--side); text-decoration: none; }
.pop__item .ico { width: 16px; height: 16px; color: #9ca3af; }
.pop__item--out, .pop__item--out .ico { color: #dc2626; }
.pop__item--out:hover { background: #fef2f2; }
.pop__item.is-current { background: var(--side); }
.pop__sep { height: 1px; margin: 4px; background: #e5e7eb; }
.prof { width: 272px; }
.prof__head { display: flex; align-items: center; gap: 10px; padding: 10px; line-height: 1.35; }
.avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; }
.prof__who { min-width: 0; display: flex; flex-direction: column; }
.prof__name { font-size: 13px; font-weight: 500; }
.prof__mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #6b7280; }
.notif { width: 360px; padding: 0; }
.notif__head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 12px; border-bottom: 1px solid #eef0f3; font-size: 14px; font-weight: 500; }
.notif__list { max-height: 380px; overflow-y: auto; padding: 6px; }
.notif__item { display: flex; gap: 12px; padding: 10px; border-radius: 8px; color: var(--ink); }
.notif__item:hover { background: var(--side); text-decoration: none; }
.notif__ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.notif__ico .ico { width: 16px; height: 16px; }
.notif__ico--info { background: #eff6ff; color: var(--accent); }
.notif__ico--warn { background: #fffbeb; color: #d97706; }
.notif__ico--bad { background: #fef2f2; color: #dc2626; }
.notif__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.notif__txt b { font-size: 13.5px; font-weight: 500; }
.notif__txt span { font-size: 12.5px; line-height: 1.5; color: #6b7280; }
.notif__txt small { font-size: 11.5px; color: #9ca3af; }
.notif__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; font-size: 13px; color: #6b7280; }
.notif__ok { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f0fdf4; color: #16a34a; }
.notif__ok .ico { width: 19px; height: 19px; }
.notif__all { display: block; padding: 11px 16px; border-top: 1px solid #eef0f3; text-align: center; font-size: 13px; color: var(--accent); }
.notif__all:hover { background: #fafbfc; text-decoration: none; }
.srv { width: 352px; padding: 14px; }
.srv__head { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.srv__lead { margin: 0 0 10px; font-size: 12px; color: #6b7280; }
.srv__group { padding: 10px 0; border-top: 1px solid #e5e7eb; }
.srv__title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; font-size: 13px; font-weight: 500; }
.srv__title small { font-size: 11px; font-weight: 400; color: #6b7280; }
.srv__row { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 8px; min-height: 26px; font-size: 12px; }
.srv__row dt { color: #6b7280; }
.srv__row dd { margin: 0; font-size: 12.5px; }
.copy { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border: 1px solid #e5e7eb; border-radius: 5px; background: #fff; color: #6b7280; font: 400 11px var(--font); cursor: pointer; }
.copy:hover { color: var(--ink); border-color: #d1d5db; }
.copy .ico { width: 12px; height: 12px; }
.copy.is-done { color: #15803d; border-color: #bbf7d0; }
.srv__note { margin: 2px 0 0; padding-top: 10px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #6b7280; }

/* Tresc */
.content { min-width: 0; overflow-y: auto; padding: 44px 32px 56px; }
.wrap { max-width: 1060px; margin: 0 auto; }
.page__title { margin: 0 0 4px; font-size: 24px; font-weight: 400; color: var(--ink); }
.page__lead { margin: 0 0 22px; color: #6b7280; font-size: 13px; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 240px; padding: 32px; border: 1px dashed #d1d5db; border-radius: 16px; background: #fff; color: #6b7280; font-size: 13px; text-align: center; }
.empty strong { color: var(--ink); font-weight: 500; }

/* Pulpit */
.hello { margin: 20px 0 24px; text-align: center; font-size: 29px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.ask { display: flex; align-items: center; gap: 10px; max-width: 504px; height: 46px; margin: 0 auto 44px; padding: 0 8px 0 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 2px 10px rgba(17, 24, 39, .05); }
.ask .ico { width: 17px; height: 17px; color: var(--ink); }
.ask input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: 400 13.5px var(--font); }
.ask input::placeholder { color: #6b7280; }
.ask__send { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.ask__send .ico { width: 16px; height: 16px; }
.h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 17px; font-weight: 400; color: var(--ink); }
.cnt { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 500; }
.cnt--blue { background: var(--accent); }
.panel { padding: 18px; background: #fff; border: 1px solid #eef0f3; border-radius: 16px; margin-bottom: 34px; }
.task { display: flex; align-items: center; gap: 14px; padding: 16px 14px; background: #f8f9fb; border-radius: 10px; }
.task + .task { margin-top: 8px; }
.task__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
.task__dot--urgent { background: #e11d48; }
.tag { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 500; vertical-align: 1px; }
.tag--urgent { background: #fef2f2; color: #be123c; border: 1px solid #fecdd3; }
.task__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 9px; color: var(--accent); }
.task__icon .ico { width: 18px; height: 18px; }
.task__txt { flex: 1; min-width: 0; }
.task__title { margin: 0 0 3px; font-size: 14px; font-weight: 500; }
.task__desc { margin: 0; font-size: 13px; line-height: 1.6; color: #6b7280; }
.btn-sm { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: 500 13px var(--font); white-space: nowrap; cursor: pointer; transition: background-color .15s; }
.btn-sm:hover { background: var(--accent-hover); text-decoration: none; }
.btn-sm--dark { background: var(--ink); }
.btn-sm--dark:hover { background: #000; }
.btn-sm--line { background: #fff; color: var(--ink); border: 1px solid #e5e7eb; }
.btn-sm--line:hover { background: var(--side); }
.kebab { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: #6b7280; cursor: pointer; }
.kebab:hover { background: #eef0f3; }
.kebab .ico { width: 16px; height: 16px; }
.recs__head { display: flex; align-items: center; justify-content: space-between; }
.recs__nav { display: flex; gap: 6px; }
.round { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.round .ico { width: 13px; height: 13px; }
.recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rec { position: relative; display: flex; flex-direction: column; min-height: 188px; padding: 20px; background: #f1f5ff; border: 1px solid #e6ecfb; border-radius: 16px; overflow: hidden; }
.rec p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.rec .btn-sm { align-self: flex-start; }
.rec__art { position: absolute; right: 18px; bottom: 16px; width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border: 1px solid #e6ecfb; border-radius: 14px; color: var(--accent); }
.rec__art .ico { width: 24px; height: 24px; }

/* Pulpit: karty uslug */
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dash .card { margin-bottom: 0; }
.dash + .card { margin-top: 20px; margin-bottom: 34px; }
.dcard { display: flex; flex-direction: column; }
.dcard__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #eef0f3; }
.dcard__ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--side); color: var(--ink); }
.dcard__ico .ico { width: 17px; height: 17px; }
.dcard__title { flex: 1; margin: 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.need { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin-left: 8px; padding: 0 9px 0 7px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 12px; font-weight: 500; vertical-align: 2px; white-space: nowrap; }
.need .ico { width: 13px; height: 13px; }
.dcard__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--soft); }
.dcard__more .ico { width: 14px; height: 14px; transition: transform .15s; }
.dcard__more:hover { color: var(--ink); text-decoration: none; }
.dcard__more:hover .ico { transform: translateX(2px); }
.dcard__empty { margin: 0; padding: 26px 22px; font-size: 13.5px; color: #6b7280; }
.dcard__foot { margin-top: auto; padding: 0 22px 20px; }
.srow { display: flex; align-items: flex-start; gap: 12px; padding: 16px 22px; }
.srow + .srow { border-top: 1px solid #f0f1f4; }
.srow__fav { position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center; overflow: hidden; border: 1px solid #eef0f3; border-radius: 11px; background: #fff; color: var(--soft); font-size: 14px; font-weight: 500; }
.srow__fav img { position: absolute; inset: 7px; width: 20px; height: 20px; border-radius: 6px; background: #fff; object-fit: contain; }
.srow__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.srow__name { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.srow__name .ico { width: 13px; height: 13px; color: #9ca3af; }
.srow__name:hover { text-decoration: none; color: var(--accent); }
.srow__meta { display: flex; flex-wrap: wrap; gap: 3px 16px; font-size: 12.5px; color: #6b7280; }
.hosting { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #6b7280; }
.hosting .ico { width: 14px; height: 14px; color: #9ca3af; }
.hosting--soon, .hosting--soon .ico { color: #b45309; }
.hosting--bad, .hosting--bad .ico { color: #b91c1c; }
.sdisk { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sdisk .bar { flex: 1; max-width: 220px; }
.bar--sm { height: 6px; }
.bar__seg--warn { background: #f59e0b; }
.bar__seg--bad { background: #dc2626; }
.sdisk__txt { font-size: 12px; color: #6b7280; white-space: nowrap; }
.ssl { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; }
.ssl .ico { width: 14px; height: 14px; }
.ssl--ok { color: #6b7280; }
.ssl--ok .ico { color: #16a34a; }
.ssl--soon { color: #b45309; }
.ssl--soon .ico { color: #d97706; }
.ssl--bad { color: #b91c1c; }
.ssl--bad .ico { color: #dc2626; }
.ssl--wait { color: #9ca3af; }
.state { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.state__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state--ok { background: #f0fdf4; color: #15803d; }
.state--err { background: #fef2f2; color: #b91c1c; }
.state--off { background: #f4f5f7; color: #6b7280; }
.state--wait { background: #f4f5f7; color: #6b7280; }
.mstat { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; padding: 18px 22px 14px; }
.mstat div { display: flex; flex-direction: column; gap: 2px; }
.mstat b { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.mstat span { font-size: 12.5px; color: #6b7280; }
.mbar { display: flex; align-items: center; gap: 12px; padding: 0 22px 18px; }
.mbar .bar { flex: 1; }
.mbar__pct { font-size: 12.5px; color: var(--ink); }
.prow { display: flex; align-items: center; gap: 16px; padding: 14px 22px; }
.prow + .prow { border-top: 1px solid #f0f1f4; }
.prow__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prow__name { font-size: 14px; font-weight: 500; color: var(--ink); }
.prow__meta { font-size: 12.5px; color: #6b7280; }
.prow__amt { font-size: 15px; color: var(--ink); white-space: nowrap; }
.pay-empty { display: flex; flex-direction: column; align-items: center; padding: 30px 22px 32px; text-align: center; }
.pay-empty__ico { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; background: #f0fdf4; color: #16a34a; box-shadow: 0 0 0 8px #f7fdf9; }
.pay-empty__ico .ico { width: 22px; height: 22px; }
.pay-empty__title { margin: 4px 0 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pay-empty__txt { max-width: 420px; margin: 0; font-size: 13px; line-height: 1.6; color: #6b7280; }

/* Analiza */
.afilters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.seg__btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; color: var(--soft); font-size: 13px; white-space: nowrap; }
.seg__btn:hover { background: var(--side); color: var(--ink); text-decoration: none; }
.seg__btn.is-on { background: var(--ink); color: #fff; }
.seg__btn--static, .seg__btn--static:hover { background: none; color: var(--ink); font-weight: 500; }
.seg__fav { width: 16px; height: 16px; flex: none; margin-right: 8px; border-radius: 4px; background: #fff; object-fit: contain; }
.anote { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; font-size: 12.5px; color: #6b7280; }
.anote .ico { width: 14px; height: 14px; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpis .card { margin: 0; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.kpi__label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #6b7280; }
.kpi__label .ico { width: 15px; height: 15px; }
.kpi__val { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi__delta { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: #6b7280; }
.kpi__delta .ico { width: 15px; height: 15px; }
.kpi__delta small { font-size: 12px; font-weight: 400; color: #9ca3af; }
.kpi__delta.is-up { color: #15803d; }
.kpi__delta.is-down { color: #b91c1c; }
.achart__box { position: relative; padding: 14px 18px 6px 6px; }
.achart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.achart__svg--narrow { display: none; }
.achart__grid { stroke: #f0f1f4; stroke-width: 1; }
.achart__base { stroke: #e5e7eb; stroke-width: 1; }
.achart__tick { fill: #9ca3af; font: 400 11px var(--font); }
.achart__bar { fill: var(--accent); }
.achart__nodata { fill: #f7f8fa; }
.achart__nolabel { fill: #9ca3af; font: 400 12px var(--font); }
.achart__hit { fill: transparent; cursor: default; outline: none; }
.achart__hit.is-on { fill: rgba(37, 99, 235, .06); }
.achart__tip { position: absolute; top: 0; z-index: 5; padding: 8px 11px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(17, 24, 39, .1); font-size: 12.5px; color: #6b7280; white-space: nowrap; pointer-events: none; }
.achart__tip b { color: var(--ink); font-weight: 500; }
.achart__tipd { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 500; }
.achart__table { border-top: 1px solid #eef0f3; }
.achart__table summary { padding: 12px 24px; font-size: 13px; color: var(--soft); cursor: pointer; }
.achart__table .tbl { font-size: 13px; }
.agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.agrid .card { margin: 0; }
.arow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 11px 24px; border-top: 1px solid #f0f1f4; }
.arow__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--ink); }
.arow__val { font-size: 13.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.arow__meter { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: #f0f1f4; overflow: hidden; }
.arow__meter span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.adev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #eef0f3; }
.adev__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; font-size: 12.5px; color: #6b7280; }
.adev__item + .adev__item { border-left: 1px solid #f0f1f4; }
.adev__item .ico { width: 18px; height: 18px; color: var(--soft); }
.adev__item b { font-size: 16px; font-weight: 500; color: var(--ink); }

/* Wspolne: okruszki, karty, przyciski */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 16px; font-size: 13.5px; color: #6b7280; }
.crumbs a { color: #6b7280; }
.crumbs a:hover { color: var(--ink); text-decoration: none; }
.crumbs .ico { width: 13px; height: 13px; }
.crumbs a .ico { width: 16px; height: 16px; }
.crumbs span { color: var(--ink); font-weight: 500; }
.page__title--mb { margin-bottom: 18px; }
.card { margin-bottom: 22px; background: #fff; border: 1px solid #eef0f3; border-radius: 14px; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 20px 24px; }
.card__title { margin: 0; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.card__tools { display: flex; align-items: center; gap: 14px; }
.card__note { font-size: 13px; color: #6b7280; }
.card__note b { color: var(--ink); font-weight: 500; }
.inf { display: inline-flex; vertical-align: -4px; }
.inf .ico { width: 16px; height: 16px; }
.btn-sm .ico { width: 14px; height: 14px; margin: 0 6px 0 -3px; }
.btn-sm:disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }
.btn-sm--warn { background: #f59e0b; color: var(--ink); }
.btn-sm--warn:hover { background: #d97706; color: var(--ink); }
.btn-line { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: var(--ink); font: 400 13.5px var(--font); white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-line:hover { background: var(--page); border-color: #d1d5db; text-decoration: none; }
.btn-line--sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-line .ico { width: 14px; height: 14px; color: #6b7280; }
.ibtn { width: 34px; height: 34px; flex: none; display: inline-grid; place-items: center; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.ibtn:hover { background: var(--page); }
.ibtn .ico { width: 16px; height: 16px; }
.ibtn--bare { width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: #6b7280; }
.ibtn--bare .ico { width: 14px; height: 14px; }
.ibtn--bare.is-done { color: #16a34a; }
.ibtn--bare .ico-done { display: none; }
.ibtn--bare.is-done .ico-copy { display: none; }
.ibtn--bare.is-done .ico-done { display: block; }
.link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.link:hover { text-decoration: underline; }

/* Poczta: naglowek domeny */
.dom { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.dom__at { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--side); color: var(--ink); }
.dom__at .ico { width: 21px; height: 21px; }
.dom__txt { flex: 1; min-width: 0; }
.dom__name { margin: 1px 0 5px; font-size: 18px; font-weight: 500; color: var(--ink); }
.dom__meta { margin: 0; font-size: 13.5px; line-height: 1.7; color: #6b7280; }
.dom__act { display: flex; gap: 8px; }
.dd--inline { display: inline-block; margin-left: 6px; }
.lim { left: 0; right: auto; width: 270px; padding: 8px 12px; }
.lim__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px; color: #6b7280; }
.lim__row + .lim__row { border-top: 1px solid #f0f1f4; }
.lim__row b { color: var(--ink); font-weight: 500; }
.warn { display: flex; align-items: center; gap: 12px; margin: 0 24px 24px; padding: 16px 18px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; }
.warn > .ico { width: 18px; height: 18px; color: #d97706; }
.warn p { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.warn b { font-weight: 500; }

/* Poczta: tabela skrzynek */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 0 24px; height: 46px; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; text-align: left; font-weight: 400; color: #6b7280; }
.sorter { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--ink); font: 500 13.5px var(--font); cursor: pointer; }
.sorter .ico { width: 14px; height: 14px; color: #6b7280; }
.sorter[data-dir] .ico { color: var(--accent); }
.tbl td { padding: 16px 24px; border-bottom: 1px solid #eef0f3; vertical-align: middle; color: var(--ink); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.addr { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; word-break: break-all; }
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st .ico { width: 16px; height: 16px; color: #16a34a; }
.use { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.use__of { color: #6b7280; font-size: 13px; }
.tbl__act { white-space: nowrap; text-align: right; }
.tbl__act > * { vertical-align: middle; }
.tbl__act .ibtn { margin-left: 6px; }
.tbl__act .dd { display: inline-block; margin-left: 2px; }
.menu { width: 190px; text-align: left; }
.tbl__empty { padding: 30px 24px; text-align: center; color: #6b7280; font-size: 14px; }

/* Poczta: zuzycie */
.usage { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border-top: 1px solid #eef0f3; }
.usage__main { padding: 22px 24px 24px; }
.usage__label { margin: 0 0 4px; font-size: 13px; color: #6b7280; }
.usage__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.usage__num { margin: 0; font-size: 14px; color: #6b7280; }
.usage__num b { margin-right: 2px; font-size: 28px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.usage__pct { margin: 0; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.bar { display: flex; gap: 2px; height: 10px; border-radius: 999px; background: #eef0f3; overflow: hidden; }
.bar__seg { height: 100%; }
.bar__seg--0 { background: var(--accent); }
.bar__seg--1 { background: #93c5fd; }
.bar__seg--2 { background: #1e3a8a; }
.bar__seg--3 { background: #cbd5e1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: #6b7280; }
.legend li { display: inline-flex; align-items: center; }
.legend b { margin-left: 6px; color: var(--ink); font-weight: 500; }
.usage__hint { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #f0f1f4; font-size: 13px; color: #6b7280; }
.dot { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; }
.facts { margin: 0; padding: 12px 24px; border-left: 1px solid #eef0f3; }
.facts div { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; font-size: 13.5px; }
.facts div + div { border-top: 1px solid #f0f1f4; }
.facts dt { color: #6b7280; white-space: nowrap; }
.facts dd { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.facts__trunc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: #6b7280; }

/* Poczta: nasze serwery */
.srvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #eef0f3; }
.srvs__col { min-width: 0; padding: 18px 24px 14px; }
.srvs__col + .srvs__col { border-left: 1px solid #eef0f3; }
.srvs__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.proto { padding: 2px 8px; border-radius: 999px; background: var(--side); color: var(--soft); font-size: 11.5px; font-weight: 500; }
.srvs dl { margin: 0; }
.srvs dl div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; font-size: 13.5px; }
.srvs dl div + div { border-top: 1px solid #f0f1f4; }
.srvs dt { color: #6b7280; }
.srvs dd { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; color: var(--ink); }
.srvs .mono { font-size: 13px; }
.srvs__note { margin: 0; padding: 10px 24px 12px; border-top: 1px solid #eef0f3; font-size: 11.5px; line-height: 1.5; color: #9ca3af; }

/* Poczta: lista domen */
.drow { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid #eef0f3; color: var(--ink); transition: background-color .15s; }
.drow:hover { background: #fafbfc; text-decoration: none; }
.drow__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drow__name { font-size: 15.5px; font-weight: 500; }
.drow__meta { font-size: 13px; color: #6b7280; }
.drow__stat { font-size: 13.5px; color: #6b7280; white-space: nowrap; }
.drow__stat b { color: var(--ink); font-weight: 500; }

@media (max-width: 960px) {
  .recs { grid-template-columns: 1fr; }
  .agrid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .srvs { grid-template-columns: 1fr; }
  .srvs__col + .srvs__col { border-left: 0; border-top: 1px solid #eef0f3; }
}
@media (max-width: 760px) {
  .dom { flex-wrap: wrap; }
  .usage { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; gap: 10px; }
  .kpi { padding: 14px 18px; }
  .kpi__val { font-size: 26px; }
  .afilters { flex-direction: column; align-items: stretch; }
  .seg { overflow-x: auto; }
  .arow { padding: 10px 18px; }
  .achart__box { padding: 10px 8px 4px 0; }
  .achart__svg--wide { display: none; }
  .achart__svg--narrow { display: block; }
  .dcard__head, .srow, .prow { padding-left: 18px; padding-right: 18px; }
  .mstat { gap: 20px; padding: 16px 18px 12px; }
  .mbar { padding: 0 18px 16px; }
  .dcard__foot { padding: 0 18px 18px; }
  .srow { flex-wrap: wrap; }
  .srow .state { margin-left: 48px; }
  .srvs { grid-template-columns: 1fr; }
  .srvs__col { padding: 16px 18px 10px; }
  .srvs__col + .srvs__col { border-left: 0; border-top: 1px solid #eef0f3; }
  .srvs__note { padding: 10px 18px 12px; }
  .usage__main { padding: 18px; }
  .facts { padding: 6px 18px 10px; border-left: 0; border-top: 1px solid #eef0f3; }
  .dom__act { width: 100%; padding-left: 62px; }
  .warn { flex-wrap: wrap; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { position: relative; padding: 16px 18px; border-top: 1px solid #eef0f3; }
  .card__head, .dom { padding: 18px; }
  .warn { margin: 0 18px 18px; }
  .drow { padding: 14px 18px; }
  .tbl td { padding: 0; border: 0; }
  .tbl td + td { margin-top: 8px; }
  .tbl td.tbl__act { display: flex; align-items: center; justify-content: flex-start; margin-top: 12px; }
  .use { flex-direction: row; gap: 8px; }
  .menu { right: 0; }
  .drow { flex-wrap: wrap; }
  .drow__txt { flex-basis: calc(100% - 62px); }
  .drow__stat { padding-left: 62px; }
  .drow__stat + .drow__stat { padding-left: 0; }
  .drow .btn-line { margin-left: auto; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; height: calc(100vh - 54px); height: calc(100dvh - 54px); margin: 0 6px 6px; border-radius: 12px; }
  .hbar__menu { display: grid; }
  .hpill__txt { display: none; }
  .hpill { padding: 0 9px; }
  .side { position: fixed; z-index: 40; left: 0; top: 48px; width: 260px; height: calc(100vh - 48px); height: calc(100dvh - 48px); transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 24px rgba(17, 24, 39, .08); }
  .shell.is-open .side { transform: none; }
  .scrim { position: fixed; inset: 48px 0 0; z-index: 30; background: rgba(17, 24, 39, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .shell.is-open .scrim { opacity: 1; pointer-events: auto; }
  .content { padding: 28px 16px 40px; }
  .hello { font-size: 22px; }
  .task { flex-wrap: wrap; }
  .srv { width: min(352px, calc(100vw - 20px)); right: -60px; }
  .notif { width: min(360px, calc(100vw - 20px)); right: -42px; }
}
@media (min-width: 861px) { .scrim { display: none; } }
