/* Avallo shared visual language: Actors actors-theme.css and To Do app/globals.css. */
:root {
  --wy-burgundy: #8b1d3f;
  --wy-ink: #292d32;
  --wy-muted: #626970;
  --wy-line: #e1e4e6;
  --wy-paper: #fff;
  --wy-bg: #f5f6f7;
  --wy-soft: #f7edf0;
  --wy-brand-border: #e8cbd4;
  --wy-ring: #b96780;
}
body.wyliczenia-app {
  --avallo-primary: #8b1d3f;
  --avallo-primary-dark: #6e1631;
  --avallo-bg: #f5f6f7;
  --avallo-text: #292d32;
  --avallo-border: #e1e4e6;
  --bs-body-font-family: Arial, Helvetica, sans-serif;
  --bs-body-font-size: .875rem;
  --bs-body-color: #292d32;
  --bs-body-bg: #f5f6f7;
  --bs-border-color: #e1e4e6;
  --bs-primary-rgb: 139, 29, 63;
  --bs-link-color-rgb: 139, 29, 63;
  --bs-link-hover-color-rgb: 110, 22, 49;
  color: var(--wy-ink);
  background: var(--wy-bg);
  font: 14px/1.5 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.wyliczenia-app *, .wyliczenia-app *::before, .wyliczenia-app *::after { box-sizing: border-box; }
.wyliczenia-app [hidden] { display: none !important; }
.wyliczenia-app a { text-underline-offset: 3px; }
.wyliczenia-app :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--wy-ring); outline-offset: 3px; }
.wyliczenia-app .text-muted, .wyliczenia-app .module-intro { color: var(--wy-muted) !important; }
.wyliczenia-app .module-intro { font-size: 14px; line-height: 1.65; max-width: 900px; }
.wyliczenia-app h1, .wyliczenia-app .h3 { color: var(--wy-ink); font-size: 28px; font-weight: 600; letter-spacing: -.8px; line-height: 1.25; }
.wyliczenia-app h2, .wyliczenia-app h3 { color: var(--wy-ink); }
.wyliczenia-app .h5, .wyliczenia-app h5 { font-size: 17px; font-weight: 600; }
.wyliczenia-app .h6, .wyliczenia-app h6 { font-size: 14px; font-weight: 600; }
.wy-shell .app-layout { margin-left: 244px; min-width: 0; }
.wy-main { width: 100%; max-width: 1580px; margin: 0 auto; padding: 30px 34px 40px; min-width: 0; }
.wy-main.container-wide { max-width: 1580px; }
.wy-footer { width: 100%; max-width: 1580px; margin: auto; padding: 18px 34px; color: var(--wy-muted); font-size: 12px; }
.skip-link { position: fixed; top: -100px; left: 260px; z-index: 1100; background: #fff; padding: 12px 18px; border: 2px solid var(--wy-burgundy); border-radius: 7px; color: var(--wy-burgundy); }
.skip-link:focus { top: 8px; }
.wy-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1046; width: 244px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--wy-line); }
.wy-brand-row { min-height: 78px; padding: 10px 15px; display: flex; align-items: center; border-bottom: 1px solid var(--wy-line); gap: 8px; }
.wy-brand { display: flex; align-items: center; gap: 9px; color: var(--wy-burgundy); text-decoration: none; }
.wy-brand img { width: 105px; height: 50px; object-fit: contain; }
.wy-brand > span { font-size: 9px; font-weight: 700; letter-spacing: .5px; border-radius: 5px; padding: 4px 6px; background: var(--wy-burgundy); color: #fff; }
.wy-company { display: flex; align-items: center; gap: 10px; padding: 22px 18px 12px; }
.wy-company-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--wy-brand-border); color: var(--wy-burgundy); background: var(--wy-soft); flex-shrink: 0; }
.wy-company strong { display: block; font-size: 12px; font-weight: 600; }
.wy-company small { display: block; color: var(--wy-muted); font-size: 11px; margin-top: 2px; }
.wy-sidebar-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 20px; scrollbar-width: thin; }
.wy-nav-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #767d84; padding: 20px 12px 8px; }
.wy-nav-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: #515960; text-decoration: none; margin: 2px 0; }
.wy-nav-link > i { font-size: 16px; width: 18px; text-align: center; flex-shrink: 0; }
.wy-nav-link:hover { color: var(--wy-burgundy); background: var(--wy-soft); }
.wy-nav-link.active { background: var(--wy-burgundy); color: #fff; font-weight: 600; }
.wy-nav-link.active:hover { background: #6e1631; }
.wy-profile { border-top: 1px solid var(--wy-line); padding: 16px 12px; display: flex; align-items: center; gap: 9px; }
.wy-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--wy-burgundy); background: var(--wy-soft); font-weight: 600; flex-shrink: 0; }
.wy-profile > div { min-width: 0; flex: 1; }
.wy-profile strong { font-size: 12px; display: block; overflow-wrap: anywhere; }
.wy-profile small { font-size: 11px; display: block; color: var(--wy-muted); }
.wy-profile form { margin: 0; }
.wy-icon-button { width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--wy-muted); display: inline-grid; place-items: center; flex-shrink: 0; text-decoration: none; }
.wy-icon-button:hover { background: #f2f3f4; color: var(--wy-burgundy); }
.wy-topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; background: #fff; border-bottom: 1px solid var(--wy-line); position: sticky; top: 0; z-index: 1020; flex-shrink: 0; }
.wy-topbar-context { display: flex; align-items: center; gap: 14px; font-size: 13px; min-width: 0; }
.wy-topbar-context a { color: var(--wy-muted); text-decoration: none; }
.wy-topbar-context > span { color: #bdc3c8; }
.wy-topbar-context strong { font-weight: 600; }
.wy-topbar-tools { display: flex; gap: 9px; align-items: center; color: var(--wy-muted); font-size: 12px; }
.wy-workspace-label { margin-right: 20px; }
.wy-topbar-dot { width: 6px; height: 6px; border-radius: 100%; background: var(--wy-burgundy); }
.wy-menu-toggle, .wy-menu-close { display: none; }
.wy-public-header { padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--wy-line); }
.wy-public-header .wy-brand { width: fit-content; }
.wyliczenia-app .card { --bs-card-bg: #fff; --bs-card-border-color: var(--wy-line); border: 1px solid var(--wy-line); border-radius: 10px; }
.wyliczenia-app .shadow-sm { box-shadow: 0 2px 4px #292d3204 !important; }
.wyliczenia-app .card-header { border-bottom-color: var(--wy-line); background: #fff; padding: 16px 20px; }
.wyliczenia-app .card-header:first-child { border-radius: 10px 10px 0 0; }
.wyliczenia-app .card-body { padding: 20px; }
.wyliczenia-app .btn { font-family: inherit; font-size: 13px; font-weight: 600; min-height: 38px; padding: 9px 14px; border-radius: 7px; line-height: 1.4; box-shadow: none; }
.wyliczenia-app .btn-sm { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.wyliczenia-app .btn-avallo { --bs-btn-active-bg: #6e1631; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #6e1631; background: var(--wy-burgundy); border-color: var(--wy-burgundy); color: #fff; }
.wyliczenia-app .btn-avallo:hover { background: #6e1631; border-color: #6e1631; color: #fff; }
.wyliczenia-app .btn-outline-avallo { background: #fff; border-color: var(--wy-brand-border); color: var(--wy-burgundy); }
.wyliczenia-app .btn-outline-avallo:hover { background: var(--wy-soft); border-color: var(--wy-ring); color: var(--wy-burgundy); }
.wyliczenia-app .btn-outline-secondary { background: #fff; border-color: #d8dcdf; color: #515960; }
.wyliczenia-app .btn-outline-secondary:hover { background: #f5f6f7; border-color: #bdc3c8; color: #292d32; }
.wyliczenia-app .btn-light { background: #f7f8f9; border-color: var(--wy-line); color: #515960; }
.wyliczenia-app .form-control, .wyliczenia-app .form-select { border-color: #d8dcdf; border-radius: 7px; background-color: #fff; color: var(--wy-ink); font-size: 14px; min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
.wyliczenia-app .form-control:focus, .wyliczenia-app .form-select:focus { border-color: var(--wy-ring); box-shadow: 0 0 0 3px #8b1d3f14; }
.wyliczenia-app .form-label { font-weight: 600; font-size: 13px; margin-bottom: 7px; }
.wyliczenia-app .form-text { font-size: 12px; line-height: 1.5; }
.wyliczenia-app .form-check-input:checked { background-color: var(--wy-burgundy); border-color: var(--wy-burgundy); }
.wyliczenia-app .form-check-input:focus { box-shadow: 0 0 0 3px #8b1d3f14; border-color: var(--wy-ring); }
.wyliczenia-app .table { --bs-table-color: #292d32; --bs-table-bg: #fff; --bs-table-hover-bg: #fafafa; --bs-table-border-color: #e9ebed; font-size: 13px; }
.wyliczenia-app .table > thead > tr > th { padding: 13px 16px; background: #f8f9fa; color: var(--wy-muted); font-size: 11px; font-weight: 600; letter-spacing: .25px; border-bottom: 1px solid var(--wy-line); vertical-align: middle; white-space: nowrap; }
.wyliczenia-app .table > tbody > tr > td { padding: 16px; }
.wyliczenia-app .modal-content { border: 1px solid var(--wy-line); border-radius: 12px; box-shadow: 0 16px 50px #292d321f; }
.wyliczenia-app .modal-header, .wyliczenia-app .modal-footer { padding: 18px 22px; border-color: var(--wy-line); }
.wyliczenia-app .modal-body { padding: 22px; }
.wyliczenia-app .nav-tabs { border-color: var(--wy-line); }
.wyliczenia-app .nav-tabs .nav-link { color: var(--wy-muted); }
.wyliczenia-app .nav-tabs .nav-link.active { color: var(--wy-burgundy); font-weight: 600; }
.wy-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.wy-page-heading > div { min-width: 0; }
.wy-page-heading h1 { margin: 5px 0 9px; }
.wy-page-heading p { font-size: 14px; }
.wy-page-heading > .btn { flex-shrink: 0; }
.wy-eyebrow, .wy-page-heading .wy-eyebrow { font-size: 11px; color: var(--wy-muted); letter-spacing: .5px; font-weight: 400; margin: 0; }
.wy-panel { background: #fff; border: 1px solid var(--wy-line); border-radius: 10px; box-shadow: 0 2px 4px #292d3204; overflow: hidden; min-width: 0; max-width: 100%; }
.wy-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--wy-line); min-width: 0; }
.wy-panel-heading h2 { font-weight: 600; }
.wy-filter-tools { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wy-filter-tools input { max-width: 230px; min-width: 0; }
.wy-filter-tools .form-control { min-height: 36px; padding-top: 7px; padding-bottom: 7px; font-size: 12px; }
.wy-count { font-size: 11px; font-weight: 600; color: #515960; background: #f1f3f5; padding: 3px 7px; border-radius: 5px; vertical-align: middle; margin-left: 4px; }
.wy-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 17px; margin-bottom: 28px; }
.wy-stat { display: flex; position: relative; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--wy-line); border-radius: 10px; padding: 18px 19px; text-align: left; text-decoration: none; color: var(--wy-ink); box-shadow: 0 2px 3px #292d3203; transition: border-color .15s; min-width: 0; }
.wy-stat:hover, .wy-stat[aria-pressed=true] { border-color: var(--wy-ring); color: var(--wy-ink); }
.wy-stat-icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--wy-soft); border-radius: 9px; color: var(--wy-burgundy); font-size: 16px; margin-bottom: 12px; }
.wy-stat-icon.green { background: #edf5f0; color: #2f7052; }
.wy-stat-icon.amber { background: #fbf3e5; color: #956013; }
.wy-stat-icon.neutral { background: #eff1f2; color: var(--wy-muted); }
.wy-stat-number { font-size: 29px; font-weight: 600; line-height: 1.1; margin-bottom: 10px; }
.wy-stat-label { font-size: 12px; font-weight: 500; }
.wy-stat-detail { font-size: 11px; color: var(--wy-muted); margin-top: 10px; }
.wy-stat-detail > i { position: absolute; right: 18px; top: 25px; font-size: 12px; color: #91979d; }
.wy-workflows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 28px; }
.wy-workflow-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; color: var(--wy-ink); text-decoration: none; }
.wy-workflow-card:hover { border-color: var(--wy-ring); color: var(--wy-ink); }
.wy-workflow-card > div { min-width: 0; flex: 1; }
.wy-workflow-card strong { display: block; font-size: 14px; font-weight: 600; margin: 1px 0 5px; }
.wy-workflow-card p { font-size: 12px; line-height: 1.65; color: var(--wy-muted); margin: 0; }
.wy-workflow-card > i { color: #91979d; font-size: 12px; margin-top: 5px; }
.wy-workflow-card .wy-company-icon { border: 0; }
.wy-table tbody tr:last-child td { border-bottom: 0; }
.wy-table tbody tr:hover td { background: #fafafa; }
.wy-table-title { font-size: 13px; line-height: 1.5; font-weight: 600; max-width: 570px; overflow-wrap: anywhere; }
.wy-title-link { display: block; text-decoration: none; color: var(--wy-ink); margin-bottom: 3px; }
.wy-title-link:hover { color: var(--wy-burgundy); }
.wy-table-note { display: block; font-size: 12px; color: var(--wy-muted); max-width: 550px; margin-top: 5px; white-space: pre-line; }
.wy-table small { font-size: 11px; }
.wy-tile-description { max-width: 570px; margin: 7px 0; color: var(--wy-muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.wy-tile-description > :last-child { margin-bottom: 0; }
.wy-tile-description :is(h1,h2,h3,h4,h5,h6) { font-size: 14px; letter-spacing: 0; }
.wy-tile-description img { max-height: 160px; width: auto; object-fit: contain; }
.wy-tile-description table { display: block; overflow-x: auto; }
.wy-badge { display: inline-block; white-space: nowrap; border: 1px solid var(--wy-line); border-radius: 5px; font-size: 11px; font-weight: 600; padding: 5px 8px; line-height: 1.35; }
.wy-badge.pending { background: #fbf3e5; color: #956013; border-color: #ead7b4; }
.wy-badge.completed { background: #edf5f0; color: #2f7052; border-color: #c7dfd0; }
.wy-badge.cancelled, .wy-badge.neutral { background: #f1f3f5; color: var(--wy-muted); }
.wy-badge.admin { background: var(--wy-soft); color: var(--wy-burgundy); border-color: var(--wy-brand-border); }
.wy-row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-width: 150px; }
.wy-row-actions form { margin: 0; }
.wy-panel > .table-responsive { display: block; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; }
.wy-empty { text-align: center; padding: 48px 24px; }
.wy-empty > i { font-size: 28px; color: #b4bbc1; margin-bottom: 18px; }
.wy-empty h3 { margin-bottom: 10px; }
.wy-empty p { max-width: 600px; margin: auto; font-size: 13px; }
.wy-error { padding: 80px 20px; }
.wy-error-code { display: block; color: #bdc3c8; font-size: 80px; font-weight: 600; letter-spacing: -3px; }
.wy-flex-input { flex: 1; min-width: 200px; }
.wy-package-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 18px; }
.wy-package-summary { display: flex; gap: 18px; padding: 22px; }
.wy-package-summary > div { min-width: 0; }
.wy-package-summary .wy-eyebrow { display: block; margin-bottom: 8px; }
.wy-package-summary p { font-size: 13px; }
.wy-package-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: var(--wy-soft); color: var(--wy-burgundy); border-radius: 9px; font-size: 16px; }
.wy-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--wy-line); padding-top: 22px; margin-top: 26px; }
.wy-user-picker { border: 1px solid var(--wy-line); border-radius: 8px; max-height: 270px; overflow: auto; }
.wy-user-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--wy-line); cursor: pointer; }
.wy-user-option:last-child { border-bottom: 0; }
.wy-user-option:hover { background: #fafafa; }
.wy-user-option .form-check-input { float: none; flex: 0 0 17px; margin: 0; }
.wy-user-option strong { display: block; font-size: 13px; font-weight: 600; }
.wy-user-option small { display: block; font-size: 11px; color: var(--wy-muted); }
.wy-user-actions { min-width: 140px; }
.wy-user-actions > summary { color: var(--wy-burgundy); font-size: 12px; cursor: pointer; font-weight: 600; padding: 7px 0; }
.wy-user-actions-body { background: #fafafa; padding: 15px; border: 1px solid var(--wy-line); border-radius: 8px; margin-top: 7px; min-width: 240px; }
.wy-user-actions-body .form-select { font-size: 12px; min-height: 37px; }
.wy-user-actions-body form { margin: 0; }
.wy-auth-page .wy-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.wy-auth-page .wy-messages { width: 100%; max-width: 460px; margin: 0 auto 16px; }
.wy-auth-card { max-width: 430px; width: 100%; background: #fff; border: 1px solid var(--wy-line); box-shadow: 0 4px 24px #292d3206; border-radius: 12px; padding: 34px; margin: 16px auto; }
.wy-auth-card h1 { font-size: 22px; line-height: 1.3; letter-spacing: -.5px; margin: 12px 0 14px; }
.wy-auth-card .text-muted { font-size: 13px; line-height: 1.7; }
.wy-auth-card .btn { min-height: 44px; }
.wy-auth-symbol { background: var(--wy-soft); color: var(--wy-burgundy); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; font-size: 18px; margin-bottom: 20px; }
.wy-auth-note { border-top: 1px solid var(--wy-line); padding-top: 22px; margin-top: 25px; color: var(--wy-muted); font-size: 11px; line-height: 1.7; }
.wy-password-card, .wy-credentials-card { max-width: 520px; }
.wy-auth-card .h3 { font-size: 22px; }
.wy-credentials-note { font-size: 12px; padding: 15px; background: #fbf3e5; border: 1px solid #ead7b4; border-radius: 8px; color: #956013; line-height: 1.65; }
.wy-secret { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 13px !important; }
.wy-back { display: inline-flex; gap: 9px; align-items: center; color: var(--wy-muted); text-decoration: none; font-size: 12px; margin-bottom: 20px; }
.wy-back:hover { color: var(--wy-burgundy); }
.wy-preview-note { background: #f7f8f9; border: 1px solid var(--wy-line); border-radius: 8px; padding: 13px 18px; margin-bottom: 24px; font-size: 13px; color: #515960; }
.wy-assignment-note { display: flex; gap: 12px; padding: 18px 22px; background: #fff; border: 1px solid var(--wy-line); border-radius: 10px; margin-bottom: 18px; color: #515960; font-size: 13px; white-space: pre-line; }
.wy-assignment-note i { color: var(--wy-burgundy); padding-top: 4px; }
/* Preserve all valuation content and layout hooks used by the copied renderer. */
.wy-stage-intro { max-width: 950px; margin: 30px auto; text-align: center; padding: 42px 55px; }
.wy-stage-intro h2 { font-size: 23px; line-height: 1.5; max-width: 780px; margin: 0 auto 25px; font-weight: 600; letter-spacing: -.3px; }
.wy-stage-intro-icon { display: grid; place-items: center; background: var(--wy-soft); color: var(--wy-burgundy); width: 48px; height: 48px; border-radius: 9px; margin: 0 auto 25px; font-size: 18px; }
.wy-stage-intro .wy-rich-content { color: #515960; font-size: 14px; line-height: 1.8; }
.wy-preserve-lines { white-space: pre-line; }
.wy-stage-content { scroll-margin-top: 100px; }
.wy-intro-image { width: auto; max-width: 100%; max-height: 350px; object-fit: contain; margin: 0 auto 25px; }
.wy-valuation-layout { max-width: 960px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wy-stage-text { grid-column: 1/-1; text-align: center; overflow-wrap: anywhere; padding: 5px; }
.wy-stage-text:empty { display: none; }
.wy-rich-content img { max-width: 100%; height: auto; }
.wy-rich-content table { max-width: 100%; }
.wy-choice-card { text-align: center; padding: 32px 26px; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 16px; }
.wy-choice-card h2 { font-size: 15px; line-height: 1.6; font-weight: 600; margin: 0 0 4px; overflow-wrap: anywhere; }
.wy-choice-card > .btn { margin-top: auto; }
.wy-choice-icon { color: var(--wy-burgundy); background: var(--wy-soft); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; }
.wy-choice-image { max-width: 100%; max-height: 180px; object-fit: contain; }
.wy-stage-guide { max-width: 850px; text-align: center; margin: 35px auto; }
.wy-stage-guide > p { font-size: 14px; line-height: 1.8; color: var(--wy-muted); }
.wy-guide-box { text-align: left; background: #eff1f2; border-radius: 10px; padding: 24px 28px; font-size: 13px; line-height: 1.8; color: #515960; }
.wy-valuation-layout .wy-stage-text:first-child { padding: 25px; background: #fff; border: 1px solid var(--wy-line); border-radius: 10px; margin-bottom: 12px; }
.wy-shell .creator-toolbar.sticky-top { top: 90px; z-index: 1010; }
@media (max-width: 1199px) {
  .wy-main { padding: 24px; }
  .wy-topbar { padding: 0 24px; }
  .wy-stat-grid { gap: 12px; }
  .wy-stat { padding: 16px; }
}
@media (max-width: 991px) {
  .wy-shell .app-layout { margin-left: 0; }
  .wy-sidebar { transform: translateX(-100%); visibility: hidden; transition: transform .18s ease, visibility .18s; width: 270px; max-width: calc(100vw - 48px); }
  .wy-menu-open .wy-sidebar { transform: translateX(0); visibility: visible; }
  .wy-menu-open { overflow: hidden; }
  .wy-sidebar-backdrop { position: fixed; inset: 0; z-index: 1045; background: #292d3266; border: 0; }
  .wy-menu-toggle, .wy-menu-close { display: inline-grid; }
  .wy-menu-close { margin-left: auto; }
  .wy-topbar { height: 64px; }
  .wy-brand-row { min-height: 64px; }
  .skip-link { left: 16px; }
  .wy-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wy-stat:last-child:nth-child(3) { grid-column: 1/-1; }
  .wy-table { min-width: 710px; }
  .wy-form-footer { align-items: flex-start; }
  .wy-stage-intro { padding: 35px; }
  .wy-stage-intro h2 { font-size: 21px; }
  .wy-shell .creator-toolbar.sticky-top { top: 76px; }
}
@media (max-width: 600px) {
  .wy-main { padding: 22px 16px 32px; }
  .wy-topbar { padding: 0 16px; gap: 8px; }
  .wy-topbar-context { gap: 9px; font-size: 12px; }
  .wy-topbar-tools { display: none; }
  .wy-public-header { padding: 7px 20px; }
  .wyliczenia-app h1, .wyliczenia-app .h3 { font-size: 24px; }
  .wyliczenia-app .card-body { padding: 16px; }
  .wyliczenia-app .btn { min-height: 42px; }
  .wy-page-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .wy-page-heading p.text-muted { font-size: 13px; }
  .wy-stat-grid { gap: 12px; margin-bottom: 24px; }
  .wy-stat { padding: 16px; }
  .wy-stat-number { font-size: 26px; }
  .wy-stat-label { font-size: 12px; }
  .wy-stat-detail { font-size: 11px; }
  .wy-workflows { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .wy-workflow-card { padding: 16px; }
  .wy-panel-heading { padding: 16px; align-items: flex-start; flex-direction: column; }
  .wy-filter-tools { width: 100%; }
  .wy-filter-tools input { max-width: none; }
  .wy-panel.p-4 { padding: 20px !important; }
  .wy-package-summary { padding: 20px; gap: 15px; }
  .wy-package-grid { grid-template-columns: 1fr; }
  .wy-form-footer { flex-direction: column; gap: 16px; }
  .wy-form-footer .btn { width: 100%; }
  .wy-auth-card { padding: 26px 22px; margin: 0 auto; }
  .wy-auth-page .wy-main { padding-top: 30px; }
  .wy-auth-card h1 { font-size: 21px; }
  .wy-footer { padding: 16px; font-size: 11px; }
  .wy-stage-intro { padding: 28px 23px; margin-top: 15px; }
  .wy-stage-intro h2 { font-size: 18px; }
  .wy-stage-intro .wy-rich-content { font-size: 13px; }
  .wy-valuation-layout { grid-template-columns: 1fr; gap: 16px; }
  .wy-choice-card { padding: 25px 22px; }
  .wy-stage-text { grid-column: auto; }
  .wy-valuation-layout .wy-stage-text:first-child { padding: 15px; }
  .wy-guide-box { padding: 20px; }
  .wy-auth-card .input-group > .btn { padding: 7px 11px; }
  .wy-stage-content { scroll-margin-top: 84px; }
  .wy-dashboard-table { display: block; min-width: 0; width: 100%; }
  .wy-dashboard-table thead { display: none; }
  .wy-dashboard-table tbody { display: block; width: 100%; }
  .wy-dashboard-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 20px 18px; gap: 13px 18px; border-bottom: 1px solid var(--wy-line); }
  .wy-dashboard-table tbody tr:last-child { border-bottom: 0; }
  .wyliczenia-app .wy-dashboard-table > tbody > tr > td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .wy-dashboard-table > tbody > tr > td:first-child, .wy-dashboard-table > tbody > tr > td:last-child { grid-column: 1/-1; }
  .wy-dashboard-table > tbody > tr > td:first-child { margin-bottom: 3px; }
  .wy-dashboard-table td[data-label]::before { content: attr(data-label); display: block; color: var(--wy-muted); font-size: 11px; margin-bottom: 5px; }
  .wy-dashboard-table td.text-nowrap { white-space: normal !important; }
  .wy-dashboard-table td.text-end { text-align: left !important; }
  .wy-dashboard-table .wy-table-title { font-size: 14px; }
  .wy-dashboard-table td:last-child .btn { width: 100%; margin-top: 3px; }
}
@media print {
  .wy-sidebar, .wy-topbar, .wy-sidebar-backdrop, .skip-link, .wy-footer { display: none !important; }
  .wy-shell .app-layout { margin-left: 0; }
  .wy-main { max-width: none; padding: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .wyliczenia-app *, .wyliczenia-app *::before, .wyliczenia-app *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.wy-embedded .app-layout { margin-left: 0; }
.wy-embedded .wy-main { padding: 24px 18px; }
.wy-embedded .skip-link { left: 18px; }
