/* Light palette based on the existing portal components. Screen only: printed documents retain their layout. */
@media screen {
:root{font-family:Arial,Helvetica,sans-serif;color:#f9fafb;background:#2d3843;font-size:16px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}main{max-width:1040px;margin:auto;padding:32px 24px 48px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:28px;border-bottom:1px solid #2c3744}.brand{font-size:27px;font-weight:750;white-space:nowrap}.brand span{border:2px solid currentColor;padding:1px 5px;margin-left:3px}.badge{font-size:14px;font-weight:700;letter-spacing:.04em;color:#c7d0db}h1{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:32px 0 12px}h2{font-size:22px;margin:0 0 16px}.intro{max-width:740px;color:#c7d0db;margin-bottom:28px}.card{background:white;border:1px solid #2c3744;border-radius:10px;padding:26px;margin-bottom:20px}.narrow{max-width:500px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}form{max-width:460px}label{display:block;font-weight:700;margin:18px 0 7px}input{display:block;width:100%;border:1px solid #50647c;border-radius:5px;padding:12px 13px;font:inherit;background:#fff;color:#f9fafb}input:focus{outline:3px solid #192f57;outline-offset:2px}button{font:inherit;font-weight:700;background:#a82429;color:white;border:1px solid #a82429;border-radius:5px;padding:12px 20px;margin-top:22px;cursor:pointer;min-height:48px}button:hover{background:#efb3b6}button:focus-visible{outline:3px solid #b3cfef;outline-offset:3px}.secondary{background:white;color:#f9fafb;border-color:#50647c}.secondary:hover{background:#283848}dl{margin:0}dt{color:#c7d0db;font-size:14px;margin-top:18px}dd{margin:4px 0;font-weight:700;overflow-wrap:anywhere}.message{padding:16px 20px;border:1px solid #4e657e;border-left:4px solid #e7eff8;border-radius:5px;background:#1a3857}.error{border-color:#efd5b3;border-left-color:#efd5b3;background:#5d4214}footer{font-size:14px;color:#c7d0db;margin-top:28px}@media(max-width:700px){main{padding:22px 16px}.grid{grid-template-columns:1fr;gap:0}header{align-items:flex-start;flex-direction:column}.card{padding:22px}button{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

a{color:#e7eff8;text-underline-offset:3px}a:focus-visible,select:focus-visible{outline:3px solid #b3cfef;outline-offset:3px}.portal-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid #2c3744}.portal-nav>span{margin-left:auto;color:#c7d0db}.portal-nav form{margin:0}.portal-nav button{margin:0;padding:8px 14px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.module{margin:0;display:flex;flex-direction:column}.module h2{font-size:20px;margin:12px 0}.module p{color:#c7d0db;margin-top:0}.module-status{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#c7d0db}.module.available{border-top:4px solid #a82429}.available .module-status{color:#efb3b6}.button-link{display:inline-block;background:#a82429;color:white;text-decoration:none;border-radius:5px;padding:12px 16px;font-weight:700;margin-top:auto;align-self:flex-start}.contact-filters{max-width:none;display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;align-items:end}.contact-filters label{margin-top:0}select{width:100%;font:inherit;padding:12px;border:1px solid #50647c;border-radius:5px;background:white;color:#f9fafb}.filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px}.filter-actions button{margin:0}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.contact{margin:0;overflow-wrap:anywhere}.person-heading{display:flex;gap:14px;align-items:flex-start}.person-heading p{margin:0 0 4px}.person-heading h2{margin:0 0 5px}.avatar{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:50%;background:#283848;font-size:20px;font-weight:700;text-transform:uppercase}.muted{color:#c7d0db;font-size:14px}.contact dd{font-weight:400;white-space:pre-line}@media(max-width:850px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-filters{grid-template-columns:1fr}}@media(max-width:600px){.module-grid,.contact-grid{grid-template-columns:1fr}.portal-nav{gap:14px}.portal-nav>span{width:100%;margin:0}.filter-actions{flex-wrap:wrap}.module,.contact{padding:20px}}

.table-scroll{overflow-x:auto;padding:16px}.data-table{width:100%;border-collapse:collapse;min-width:700px;text-align:left;font-size:14px}.data-table caption{text-align:left;font-size:18px;font-weight:700;padding:0 0 16px}.data-table th,.data-table td{padding:12px;border-bottom:1px solid #2c3744;vertical-align:top;max-width:300px;overflow-wrap:anywhere}.data-table thead th{background:#2d3843;font-size:13px}.data-table tbody th{font-weight:600}.data-table tbody tr:hover{background:#22384f}.pagination{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin:24px 0}.preserve-lines{white-space:pre-line}.module-grid+h2{margin-top:30px}#historia{scroll-margin-top:24px}h3{margin:0 0 12px}

/* Compact dark portal, based on the established Netlify interface. */
:root{color-scheme:dark;background:#f9fafb;color:#2c3744;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}
body{background:#f9fafb;color:#2c3744}main{max-width:1140px;padding:0 20px 44px}
header{padding:24px 0 22px;border-bottom:1px solid #eceff3;align-items:center}.brand{font-size:28px;letter-spacing:-.8px;color:#fff;font-weight:800}.brand span{border:2px solid currentColor;color:inherit;padding:0 4px;margin-left:3px}.brand-block p{margin:8px 0 0;color:#2c3744;font-size:14px}.badge{font-size:11px;font-weight:600;color:#2c3744;border:1px solid #eceff3;border-radius:5px;padding:5px 9px;letter-spacing:.06em}
.portal-nav{padding:13px 0;gap:20px;border-bottom:1px solid #f9fafb;font-size:13px}.portal-nav a{color:#2c3744;text-decoration:none}.portal-nav a:hover{color:white;text-decoration:underline}.portal-nav>span{color:#2c3744}.portal-nav button{padding:6px 12px;min-height:36px;font-size:12px}
h1{font-size:clamp(24px,3vw,30px);line-height:1.3;margin:28px 0 12px;font-weight:750;letter-spacing:-.4px}.home-page h1{font-size:25px}h2{font-size:20px}.intro{color:#2c3744;margin:0 0 22px;max-width:none}a{color:#23354d}a:hover{color:#fff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #14305d;outline-offset:3px}
.card{background:#f9fafb;border:1px solid #eceff3;border-radius:10px;padding:22px;box-shadow:none}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-grid.ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.module-grid .module{padding:18px;margin:0;min-height:160px;border:1px solid #eceff3;border-radius:10px;display:flex;flex-direction:column;color:#2c3744;text-decoration:none;position:relative;background:#f9fafb;transition:background .15s,border-color .15s}.module-grid .module.available{border-top:1px solid #c7d0db;background:#f9fafb}.module-grid a.module:hover{background:#f9fafb;border-color:#50647c}
.module-top{display:flex;gap:10px;align-items:center;justify-content:space-between}.module-icon{width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;background:#2c3744;color:#f9fafb;border-radius:6px;font-size:16px;font-weight:800}.module-arrow{color:#2c3744;font-size:23px}.module-grid .module h2{font-size:15px;line-height:1.4;margin:15px 0 6px;font-weight:750;letter-spacing:0}.module-grid .module p{font-size:13px;line-height:1.5;color:#2c3744;margin:0}.module .module-status{font-size:10px;letter-spacing:0;text-transform:none;color:#2c3744;font-weight:500}.module.pending .module-icon{background:#2c3744}
.section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0 0 14px}.section-label span{font-size:11px;font-weight:500;color:#205039;background:#f8fbfa;border:1px solid #ecf3ef;border-radius:4px;padding:3px 6px}.upcoming{border-top:1px solid #eceff3;margin-top:26px;padding-top:4px}.upcoming summary{padding:18px 0;cursor:pointer;font-size:14px;font-weight:600}.upcoming summary span{font-size:12px;color:#2c3744;font-weight:400;margin-left:12px}
.message{background:#f8fafc;border-color:#c5d1de;border-left-color:#356797;color:#1e3752;font-size:14px}.error{background:#fbfaf8;border-color:#e6d4bc;border-left-color:#a37329;color:#5d3f14}input,select{background:#f9fafb;border-color:#c7d0db;color:#2c3744;border-radius:6px}input::placeholder{color:#50647c}input:focus{outline-color:#14305d}label{color:#2c3744;font-size:13px}button,.button-link{background:#2c3744;border:1px solid #2c3744;color:#f9fafb;border-radius:6px;font-size:14px}button:hover,.button-link:hover{background:#fff;color:#f9fafb}.secondary{background:#f9fafb;border-color:#c7d0db;color:#2a3746}.secondary:hover{background:#eceff3;color:white}
dt,.muted{color:#2c3744}dd{color:#2a3647}.avatar{background:#eceff3;color:#24344c;object-fit:cover;border:1px solid #c7d0db}.person-heading h2{font-size:18px}.contact-filters{gap:14px}.filter-actions a{font-size:13px}.table-scroll{padding:16px}.data-table thead th{background:#f9fafb;color:#293647}.data-table th,.data-table td{border-bottom-color:#eceff3}.data-table tbody tr:hover{background:#f9fafb}.data-table caption{color:#2c3644}.table-scroll:focus-visible{outline:2px solid #14305d;outline-offset:3px}footer{border-top:1px solid #eceff3;padding-top:18px;margin-top:26px;color:#50647c;font-size:12px}
@media(max-width:850px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-filters{grid-template-columns:1fr}.portal-nav>span{display:none}}
@media(max-width:600px){main{padding:0 16px 30px}header{flex-direction:row;align-items:center;gap:12px;padding:20px 0}.brand{font-size:23px}.brand-block p{font-size:12px}.badge{font-size:9px;padding:4px 6px}.portal-nav{gap:15px}.portal-nav form{margin-left:auto}.portal-nav button{width:auto}.module-grid,.module-grid.ready-grid,.contact-grid{grid-template-columns:1fr}.module-grid .module{min-height:145px}.home-page h1{font-size:23px}.grid{gap:0}.filter-actions button{width:auto}}
@media(prefers-reduced-motion:reduce){.module-grid .module{transition:none}}
.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:48px}.print-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.print-label{break-inside:avoid;min-height:120px}.print-sheet{max-width:800px;margin:24px auto}.print-sheet dl{display:grid;grid-template-columns:220px 1fr;gap:8px 20px}.print-sheet dt{font-weight:700}.print-sheet dd{margin:0}@media print{body{background:#fff!important;color:#000!important}header,.portal-nav,footer,.no-print{display:none!important}main{max-width:none;padding:0}.card,.print-label{background:#fff!important;color:#000!important;border:1px solid #000!important;box-shadow:none}.print-labels{grid-template-columns:repeat(2,1fr)}a{color:#000!important;text-decoration:none}.signature-grid{display:grid}}

.acc-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.acc-summary .card{margin:0}.acc-summary dd{font-size:24px}.acc-critical{color:#5d1419}.acc-heading{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.acc-task h2{margin-top:6px}.acc-task details{margin-top:16px;border-top:1px solid #eceff3;padding-top:12px}summary{cursor:pointer;font-weight:700;min-height:32px}textarea{width:100%;font:inherit;resize:vertical;border:1px solid #c7d0db;border-radius:6px;padding:12px;background:#f9fafb;color:#2c3744}.portal-nav [aria-current]{font-weight:bold;text-decoration-thickness:3px}.acc-task form{max-width:680px}textarea:focus-visible,summary:focus-visible{outline:3px solid #14305d;outline-offset:3px}
/* Shared operational forms: server-rendered, keyboard accessible, no JS dependency. */
.module-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.module-tabs a{padding:10px 16px;border:1px solid #eceff3;border-radius:10px;text-decoration:none}.module-tabs a[aria-current=page]{background:#4e5d14;color:#f9fafb;border-color:#4e5d14}.module-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.module-heading h2{margin:0}.status-chip{display:inline-block;padding:5px 10px;border:1px solid #eceff3;border-radius:99px;font-size:.75rem;font-weight:650;white-space:normal}.eyebrow{font-size:.8rem;color:#2c3744;margin:0 0 8px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.form-grid label{min-width:0}.operation-details{margin:16px 0}.operation-details>summary{cursor:pointer;font-weight:650;padding:12px 0}.operation-details[open]>summary{margin-bottom:16px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.cell-secondary{display:block;color:#2c3744;margin-top:5px}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap input[type=number]{min-width:90px}.table-wrap input{min-width:150px}.empty-state{padding:20px 0;color:#2c3744}textarea{box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #eceff3;border-radius:9px;background:#f9fafb;color:#2c3744}input[type=file]{max-width:100%;box-sizing:border-box}a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #4b5d14;outline-offset:4px}@media(max-width:650px){.form-grid{grid-template-columns:1fr}.module-heading{align-items:flex-start;flex-direction:column}.button-row button{width:100%}}
.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 18px;margin:10px 0 18px}.choice-grid label,.switch-line{display:flex;align-items:center;gap:9px;margin:0}.choice-grid input,.switch-line input{width:auto;min-width:0;margin:0}fieldset{border:1px solid #eceff3;border-radius:10px;margin:18px 0;padding:12px 16px}legend{padding:0 7px;font-weight:650}

/* Monthly schedule: text labels remain readable without employee colors. */
.schedule-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.schedule-person{background:hsl(var(--person-hue) 45% 18%);border:1px solid hsl(var(--person-hue) 60% 55%);border-left-width:4px;color:#fff;border-radius:6px;padding:6px 9px}.schedule-calendar-scroll{overflow-x:auto;margin-bottom:24px}.schedule-calendar-scroll:focus-visible{outline:3px solid #14305d;outline-offset:3px}.schedule-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:840px;gap:6px}.schedule-weekday{padding:10px;text-align:center;font-weight:700}.schedule-day{min-height:145px;padding:8px;background:#f9fafb;border:1px solid #eceff3;border-radius:8px;min-width:0}.schedule-day h3{margin:0 0 10px;font-size:16px}.schedule-shift{display:flex;flex-direction:column;gap:4px;margin:6px 0;font-size:12px;overflow-wrap:anywhere}.schedule-outside{background:transparent;border-color:transparent}.schedule-day>.muted{font-size:12px}@media print{.schedule-calendar{min-width:0;gap:2px}.schedule-calendar-scroll{overflow:visible}.schedule-day{background:white!important;color:black!important;break-inside:avoid}.schedule-person{background:white!important;color:black!important}.schedule-shift{font-size:9px}}.person-color-0{--person-hue:0}.person-color-1{--person-hue:138}.person-color-2{--person-hue:275}.person-color-3{--person-hue:53}.person-color-4{--person-hue:190}.person-color-5{--person-hue:328}.person-color-6{--person-hue:105}.person-color-7{--person-hue:243}.person-color-8{--person-hue:20}.person-color-9{--person-hue:158}.person-color-10{--person-hue:295}.person-color-11{--person-hue:73}.person-color-12{--person-hue:210}.person-color-13{--person-hue:348}.person-color-14{--person-hue:125}.person-color-15{--person-hue:263}.person-color-16{--person-hue:40}.person-color-17{--person-hue:178}.person-color-18{--person-hue:315}.person-color-19{--person-hue:93}.person-color-20{--person-hue:230}.person-color-21{--person-hue:8}.person-color-22{--person-hue:145}.person-color-23{--person-hue:283}.person-color-24{--person-hue:60}.person-color-25{--person-hue:198}.person-color-26{--person-hue:335}.person-color-27{--person-hue:113}.person-color-28{--person-hue:250}.person-color-29{--person-hue:28}.person-color-30{--person-hue:165}.person-color-31{--person-hue:303}.person-color-32{--person-hue:80}.person-color-33{--person-hue:218}.person-color-34{--person-hue:355}.person-color-35{--person-hue:133}.person-color-36{--person-hue:270}.person-color-37{--person-hue:48}.person-color-38{--person-hue:185}.person-color-39{--person-hue:323}.person-color-40{--person-hue:100}.person-color-41{--person-hue:238}.person-color-42{--person-hue:15}.person-color-43{--person-hue:153}.person-color-44{--person-hue:290}.person-color-45{--person-hue:68}.person-color-46{--person-hue:205}.person-color-47{--person-hue:343}.person-color-48{--person-hue:120}.person-color-49{--person-hue:258}.person-color-50{--person-hue:35}.person-color-51{--person-hue:173}.person-color-52{--person-hue:310}.person-color-53{--person-hue:88}.person-color-54{--person-hue:225}.person-color-55{--person-hue:3}.person-color-56{--person-hue:140}.person-color-57{--person-hue:278}.person-color-58{--person-hue:55}.person-color-59{--person-hue:193}.person-color-60{--person-hue:330}.person-color-61{--person-hue:108}.person-color-62{--person-hue:245}.person-color-63{--person-hue:23}.person-color-64{--person-hue:161}.person-color-65{--person-hue:298}.person-color-66{--person-hue:76}.person-color-67{--person-hue:213}.person-color-68{--person-hue:351}.person-color-69{--person-hue:128}.person-color-70{--person-hue:266}.person-color-71{--person-hue:43}.person-color-72{--person-hue:181}.person-color-73{--person-hue:318}.person-color-74{--person-hue:96}.person-color-75{--person-hue:233}.person-color-76{--person-hue:11}.person-color-77{--person-hue:148}.person-color-78{--person-hue:286}.person-color-79{--person-hue:63}.person-color-80{--person-hue:201}.person-color-81{--person-hue:338}.person-color-82{--person-hue:116}.person-color-83{--person-hue:253}.person-color-84{--person-hue:31}.person-color-85{--person-hue:168}.person-color-86{--person-hue:306}.person-color-87{--person-hue:83}.person-color-88{--person-hue:221}.person-color-89{--person-hue:358}.person-color-90{--person-hue:136}.person-color-91{--person-hue:273}.person-color-92{--person-hue:51}.person-color-93{--person-hue:188}.person-color-94{--person-hue:326}.person-color-95{--person-hue:103}.person-color-96{--person-hue:241}.person-color-97{--person-hue:18}.person-color-98{--person-hue:156}.person-color-99{--person-hue:293}
:root{--schedule-dialog-border:#eceff3}
.schedule-day-open{background:transparent;color:inherit;padding:4px 9px;border:1px solid transparent;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}.schedule-day-open:hover,.schedule-day-open:focus-visible{border-color:#2453a8;background:#eceff3}.schedule-shift[role=button]{cursor:pointer}.schedule-shift[role=button]:focus-visible{outline:3px solid #2443a8;outline-offset:2px}.schedule-dialog{background:#f9fafb;color:#2c3744;width:min(700px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid var(--schedule-dialog-border);border-radius:18px;padding:24px;box-shadow:0 24px 80px #10204045}.schedule-dialog::backdrop{background:#12203d90}.schedule-dialog-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;position:sticky;top:-24px;background:#f9fafb;color:#2c3744;padding:12px 0;z-index:1}.schedule-dialog-heading h2{font-size:1.15rem;margin:0}.schedule-dialog-shift{padding:16px 0;border-bottom:1px solid var(--schedule-dialog-border)}.schedule-dialog-shift h3{margin:0 0 12px}.schedule-dialog-shift form+form{margin-top:8px}.schedule-filter{padding:16px 0;margin-bottom:18px;border-bottom:1px solid var(--schedule-dialog-border)}.schedule-filter-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.schedule-filter-heading label{margin:0;min-width:210px}.schedule-people-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.schedule-people-options label{display:flex;align-items:center;gap:7px;border:1px solid #eceff3;border-radius:999px;padding:7px 12px;margin:0;cursor:pointer;background:#f9fafb;color:#2c3744}.schedule-people-options label:has(input:checked){background:#e9eef6;border-color:#2453a8;color:#142b5d}.schedule-people-options input{width:auto;margin:0}.schedule-coverage{display:block;font-size:.75rem;border-radius:6px;padding:5px;margin-top:8px}.coverage-gap{background:#5d3a14;color:#faf0e6}.coverage-extra{background:#14205d;color:#bac0e9}.coverage-ok{background:#1e522d;color:#e7f8ed}.monthly-store-config{border-left:4px solid #2443a8}@media(max-width:600px){.schedule-dialog{padding:16px}.schedule-dialog-heading{top:-16px;align-items:flex-start}.schedule-filter-heading{align-items:stretch}.schedule-people-options label{font-size:.85rem}}

.schedule-day-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:8px}.schedule-day-heading h3{margin:0}.schedule-day-actions{display:flex;gap:4px}.schedule-day-actions button,.schedule-dialog-tabs button,.schedule-day-open{margin:0;min-height:34px;padding:4px 9px}.schedule-day-actions button{background:#eceff3;color:#2c3744;border:1px solid #c7d0db;font-size:18px;min-width:32px}.schedule-day-actions button:hover{background:#c4cedf}.schedule-dialog-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 18px}.schedule-dialog-tabs button{font-size:13px}.schedule-dialog-compact{width:min(540px,calc(100vw - 32px))}.schedule-form-actions{display:flex;gap:10px;margin-top:16px}.schedule-form-actions button{flex:1;margin:0}.schedule-form-notice{border:1px solid #c7d0db;border-radius:10px;padding:12px;color:#283548}.schedule-absence{display:flex;flex-direction:column;gap:4px;font-size:12px;margin:6px 0;padding:6px 9px;border:1px solid #894343;border-left:4px solid #973535;border-radius:6px;background:#f3ecee;color:#5d1414}.schedule-availability-count{display:block;font-size:12px;margin-top:8px;color:#1c3054}.schedule-absence[role=button],.schedule-availability-count[role=button]{cursor:pointer}.schedule-absence:focus-visible,.schedule-availability-count:focus-visible{outline:3px solid #14305d;outline-offset:2px}.schedule-dialog [hidden]{display:none!important}.schedule-dialog .switch-line{margin:16px 0}.schedule-dialog input:disabled{opacity:.5}@media print{.schedule-day-actions{display:none}}

.schedule-dialog-compact{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px}.schedule-dialog-compact .schedule-dialog-heading{top:-18px;padding:6px 0 10px}.schedule-dialog-heading button{margin:0;min-height:34px;padding:6px 12px;width:auto}.schedule-dialog-compact .schedule-dialog-tabs{margin:8px 0 12px}.schedule-dialog-compact label{margin:10px 0 6px}.schedule-dialog-compact .switch-line{margin:12px 0}.schedule-dialog-compact .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-dialog-compact .schedule-form-notice{font-size:13px;line-height:1.4;margin:12px 0;padding:10px}.schedule-dialog-compact input,.schedule-dialog-compact select{padding:9px 12px}.schedule-dialog-compact textarea{padding:9px 12px}.schedule-dialog-compact .schedule-form-actions{margin-top:12px}.schedule-hours{width:100%;border-collapse:collapse;text-align:left}.schedule-hours th,.schedule-hours td{padding:11px 10px;border-bottom:1px solid #eceff3}.schedule-hours thead{background:#f9fafb}.schedule-hours th:last-child,.schedule-hours td:last-child{text-align:right;white-space:nowrap}.schedule-hours tbody tr:last-child th{border-bottom:0}@media(max-width:600px){.schedule-dialog-tabs button{width:auto}}

.worktime-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.worktime-day{padding:10px;border:1px solid var(--line,#c7d0db);border-radius:8px;min-height:100px}.worktime-day button{padding:7px;font-size:12px}.worktime-day p{font-size:12px;margin:6px 0}.worktime-day input{min-width:0;width:100%}@media(max-width:700px){.worktime-calendar{gap:3px}.worktime-day{padding:4px}.worktime-day button{font-size:10px;padding:4px}}

.leave-filters{display:flex;align-items:end;gap:18px;flex-wrap:wrap;max-width:none}.leave-filters label{flex:1;min-width:200px;margin:0}.leave-filters button{margin:0;min-height:54px}.leave-panel{padding:24px}.leave-balances{width:100%;min-width:760px;border-collapse:collapse;text-align:left}.leave-balances th,.leave-balances td{padding:14px 18px;border-bottom:1px solid #eceff3;white-space:nowrap}.leave-balances thead th{background:#f9fafb;color:#293647;font-size:13px}.leave-balances tbody th{font-weight:600}.leave-balances td{font-variant-numeric:tabular-nums}.leave-balances tbody tr:hover{background:#f9fafb}.leave-remaining{font-weight:750;color:#4e5d14}.leave-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}.leave-calendar-scroll{max-height:600px;border:1px solid #eceff3;border-radius:10px}.leave-calendar{border-collapse:separate;border-spacing:0;min-width:1800px;width:100%;table-layout:fixed;text-align:center;font-size:13px}.leave-calendar th,.leave-calendar td{padding:10px 4px;height:38px;border-right:1px solid #eceff3;border-bottom:1px solid #eceff3;vertical-align:middle}.leave-calendar th:first-child{width:215px;text-align:left;padding:10px 14px;position:sticky;left:0;z-index:2;background:#f9fafb;white-space:normal}.leave-calendar thead th{position:sticky;top:0;z-index:3;background:#f9fafb;color:#2a3647}.leave-calendar thead th:first-child{z-index:4;background:#f9fafb}.leave-calendar small{display:block;font-size:10px;font-weight:400;color:#2c3744;margin-top:3px}.leave-calendar td.leave-weekend{background:#f9fafb}.leave-calendar thead .leave-weekend{color:#573d1a;background:#eceff3}.leave-tag,.leave-note{display:inline-block;border-radius:7px;padding:6px 8px;line-height:1.1}.leave-tag{background:#eceff3;color:#325d14;font-weight:700}.leave-note{background:#eceff3;color:#2b3445}.leave-person>summary{cursor:pointer;font-weight:650;list-style-position:inside}.leave-person[open]>summary{margin-bottom:20px}.leave-panel .table-wrap:focus-visible{outline:3px solid #4b5d14;outline-offset:4px}@media(max-width:650px){.leave-filters{gap:12px}.leave-filters label,.leave-filters button{width:100%;flex:auto}.leave-panel{padding:16px}.leave-calendar th:first-child{width:150px}.leave-calendar{min-width:1670px}}

.supply-intro p{max-width:800px}.supply-intro .eyebrow{font-size:11px;letter-spacing:.12em;color:#42511f}.supply-nav{display:flex;flex-wrap:wrap;align-items:start;gap:10px;margin:24px 0}.supply-nav>a,.supply-nav-more>summary{display:block;padding:12px 17px;border:1px solid #eceff3;border-radius:10px;text-decoration:none;font-size:14px;cursor:pointer}.supply-nav a[aria-current=page]{background:#4e5d14;color:#f9fafb;border-color:#4e5d14}.supply-nav-more>div{display:flex;gap:8px;flex-wrap:wrap;max-width:800px;padding:14px 0}.supply-nav-more>div a{font-size:13px;border:1px solid #eceff3;padding:8px 12px;border-radius:8px;text-decoration:none}.supply-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 18px}.supply-heading h2{margin:0 0 5px}.supply-add{display:inline-block;padding:12px 20px;border-radius:10px;background:#4e5d14;color:#f9fafb;font-weight:650;text-decoration:none;white-space:nowrap}.supply-search{display:flex;gap:14px;align-items:end;padding:18px}.supply-search label{flex:1;max-width:680px;margin:0}.supply-search button{margin:0;min-height:50px}.supply-search>a{font-size:13px;margin-bottom:14px}.supply-list{padding:0;overflow:hidden}.supply-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:850px}.supply-table th,.supply-table td{padding:16px 14px;border-bottom:1px solid #eceff3;vertical-align:middle;max-width:240px;overflow-wrap:anywhere}.supply-table thead{background:#f9fafb;color:#283548;font-size:12px}.supply-table tbody tr:hover{background:#f9fafb}.supply-table .supply-check{width:45px;text-align:center}.supply-table .supply-check input{min-width:0;width:18px;height:18px;margin:0;accent-color:#4c5d14}.supply-row-title{font-weight:700;text-decoration:none;color:#142c5d}.supply-status{display:inline-block;padding:6px 10px;border-radius:7px;background:#edeff3;color:#22344e;white-space:nowrap}.supply-phone-count{white-space:nowrap;text-decoration:none;color:#4e5d14}.supply-row-actions a{font-size:12px;white-space:nowrap}.supply-bulk{display:flex;gap:15px;align-items:end;padding:18px;flex-wrap:wrap;background:#f9fafb}.supply-bulk label{margin:0;max-width:230px}.supply-bulk button{margin:0;font-size:13px;min-height:50px}.supply-bulk>span{font-size:12px;margin-bottom:14px}.supply-empty{padding:35px}.supply-empty p{color:#2c3644}.supply-editor{scroll-margin-top:20px}.supply-editor>summary{font-weight:700;font-size:18px;cursor:pointer}.supply-editor[open]>summary{margin-bottom:24px}.supply-editor:target{border-color:#4c5d14}.supply-editor:target:not([open])>summary{background:#fafbf9;padding:10px;border-radius:7px}.supply-form-group{border:1px solid #eceff3;border-radius:10px;margin:18px 0;padding:16px}.supply-form-group legend,.supply-form-group>summary{font-size:14px;font-weight:650;color:#203550;padding:0 7px}.supply-form-group>summary{cursor:pointer}.supply-form-group[open]>.form-grid{margin-top:14px}.supply-checklist{grid-template-columns:repeat(3,minmax(0,1fr))}.supply-form-group label{font-size:13px}.supply-form-actions{display:flex;gap:20px;align-items:center}.supply-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.supply-details dl>div{min-width:0;border-bottom:1px solid #eceff3;padding-bottom:12px}.supply-details dd{margin:5px 0 0;overflow-wrap:anywhere}.supply-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}@media(max-width:700px){.supply-nav>a{flex:1;text-align:center}.supply-heading{align-items:start;flex-direction:column}.supply-search{flex-wrap:wrap}.supply-search label{min-width:100%}.supply-search button{width:auto}.supply-table{min-width:760px}.supply-form-group{padding:12px}.supply-checklist{grid-template-columns:repeat(2,minmax(0,1fr))}.supply-details dl{grid-template-columns:1fr}.supply-form-actions{flex-wrap:wrap}.supply-bulk label{max-width:none}.supply-editor>summary{font-size:16px}}

.supply-search,.supply-editor>form,.supply-list>form{max-width:none;width:100%}.supply-list>.table-wrap,.supply-list>form>.table-wrap{width:100%}
.schedule-legend .schedule-person-filter{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;text-decoration:none;cursor:pointer;border:2px solid transparent;touch-action:manipulation}.schedule-legend .schedule-person-filter.person-selected{border-color:#fff;box-shadow:0 0 0 2px #4c5d14}.schedule-legend .schedule-person-filter:focus-visible{outline:3px solid #4c5d14;outline-offset:3px}.supervisor-breaks[open]>summary{margin-bottom:18px}#moje-przerwy,#przerwy-zespolu{scroll-margin-top:20px}.supervisor-breaks .table-wrap{margin-top:18px}

.checklist-task-links{border:1px solid #eceff3;border-radius:10px;padding:14px 16px;margin:20px 0}.checklist-task-links legend{font-size:13px;font-weight:650;padding:0 7px}.checklist-task-links label:first-of-type{margin-top:4px}

/* Portal desktop review: consistent spacing, status meaning and bounded tables. */
@media screen {
:root{--ui-green:#1b5531;--ui-amber:#5d4114;--ui-red:#5d141b;--ui-blue:#14335d}
main{width:100%;max-width:1480px;padding-inline:clamp(16px,3vw,40px)}
main>*{min-width:0}.card,.form-grid>*{min-width:0}h1,h2,h3,p,summary{overflow-wrap:break-word}
label{color:#21354f}input,select,textarea{max-width:100%;min-width:0}fieldset{min-width:0}
.card p,.intro{line-height:1.6}.muted,.cell-secondary,.eyebrow{color:#2b3645}
.portal-nav>a{padding:8px 10px;border-radius:7px}.portal-nav>a:hover,.portal-nav>a[aria-current=page]{background:#ebeff5;color:#14315d}
.module-grid.ready-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.module-grid .module{min-height:136px;padding:18px;border-left:4px solid var(--module-color,#41628b)}
.module-group{font-size:11px;font-weight:650;color:var(--module-color,#1d3553);margin-left:auto;text-align:right}
.module[data-menu-group=people]{--module-color:#143d5d}.module[data-menu-group=operations]{--module-color:#294729}.module[data-menu-group=finance]{--module-color:#3c145d}.module[data-menu-group=company]{--module-color:#5d3f14}
.module-grid .module-icon{background:#eceff3;color:var(--module-color,#14325d);width:38px;height:38px;font-size:14px}.module-grid .module h2{font-size:16px;margin-top:12px}.module-grid .module p{color:#2a3646}
form[method=get]{max-width:none;display:flex;align-items:end;flex-wrap:wrap;gap:14px}form[method=get]>label{flex:1 1 190px;margin:0}form[method=get]>button{margin:0}form[method=get]>.form-grid{width:100%;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}form[method=get]>.form-grid label{margin-top:0}
form.form-grid[method=get]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end}form.form-grid[method=get]>button{width:auto;justify-self:start}
.table-wrap,.table-scroll,.schedule-calendar-scroll{width:100%;max-width:100%;overscroll-behavior-inline:contain;scrollbar-color:#4b6381 #f9fafb;scrollbar-width:thin}
.data-table thead th{color:#1e3552;background:#eceff4}.data-table tbody tr:nth-child(even){background:#f9fafb}.data-table tbody tr:hover{background:#eceff3}
.leave-calendar{min-width:1080px;font-size:12px}.leave-calendar th:first-child{width:170px}.leave-calendar th,.leave-calendar td{padding:9px 2px}.leave-calendar th:first-child{padding-inline:12px}.leave-tag,.leave-note{padding:5px 4px}
.status-chip,.supply-status{background:#eceff4;color:#1e3552;border:1px solid #c7cfdb;line-height:1.35}
[data-ui-tone=success]{background:#ebf4f0!important;color:var(--ui-green)!important;border-color:#c6dccf!important}
[data-ui-tone=waiting]{background:#f6f1e9!important;color:var(--ui-amber)!important;border-color:#e5d5bd!important}
[data-ui-tone=error]{background:#f4ebed!important;color:var(--ui-red)!important;border-color:#dfc3c9!important}
[data-ui-tone=info]{background:#eaeff6!important;color:var(--ui-blue)!important;border-color:#476385!important}
button[data-ui-tone=error]:hover{background:#f5eaed!important}
.ui-status-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 22px;font-size:12px;color:#2a3746}.ui-status-legend span{border:1px solid;border-radius:6px;padding:4px 9px}
.operation-details>summary{padding:14px 12px;border:1px solid #eceff3;border-radius:8px;background:#f9fafb}.operation-details[open]>summary{background:#eaeff6;border-color:#456187;color:#14325d}
.schedule-day-open,.schedule-dialog button{min-height:40px}.schedule-dialog-tabs button[aria-selected=true]{background:#e9eff7;color:#14345d;border-color:#345d98}
.coverage-gap{background:#f6f1e9;color:#5d4114;border:1px solid #e5d5bd}.coverage-extra{background:#eaeff6;color:#14335d;border:1px solid #476385}.coverage-ok{background:#ebf4f0;color:#1b5531;border:1px solid #c6dccf}
@media(min-width:1000px){header{padding:20px 0 18px}h1{margin-top:22px}.card{padding:22px}.schedule-calendar{min-width:0}.contact-filters{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:999px){.module-grid.ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.module-grid.ready-grid{grid-template-columns:1fr}.module-grid .module{min-height:124px}form.form-grid[method=get]{grid-template-columns:1fr}form[method=get]>label{flex-basis:100%}.ui-status-legend{font-size:11px}.leave-calendar{min-width:1080px}.leave-calendar th:first-child{width:140px}}
}

.worktime-day>details>summary{border:1px solid #c8d0db;border-radius:7px;padding:7px;margin-top:12px;background:#eaeff5;font-size:12px}.worktime-day>details[open]{grid-column:span 2}.worktime-day form p{font-size:11px}.worktime-day button{width:100%}

/* Shared visual language for operational modules. */
@media screen {
:root{--ui-accent:#14325d;--ui-border:#eceff3;--ui-surface:#f9fafb}
.card{background:var(--ui-surface);border-color:var(--ui-border);border-radius:12px}.card>.card{background:#f9fafb}.card h2{line-height:1.4}.card>p:first-of-type{color:#293648}
input,select,textarea{background:#f8fafc;border-color:#c7d0db;color:#14315d;border-radius:8px}input:disabled,select:disabled{opacity:.7}label{line-height:1.5}input[type=checkbox],input[type=radio]{accent-color:#14325d}
button:not(.secondary):not(.schedule-day-open),.button-link,.supply-add{background:var(--ui-accent);border-color:var(--ui-accent);color:#f7f9fd;border-radius:8px}button:not(.secondary):not(.schedule-day-open):hover,.button-link:hover,.supply-add:hover{background:#14335d;color:#f7f9fd}
.secondary{background:#ebeff4;color:#14325d;border-color:#c7d0db;border-radius:8px}.secondary:hover{background:#ebeff5;color:#fff}
.module-tabs a[aria-current=page],.supply-nav a[aria-current=page]{background:#e9eff6;color:#14345d;border-color:#285fa4}
fieldset,.supply-form-group{border-color:var(--ui-border);border-radius:10px}legend,.supply-form-group>summary{color:#14325d}details.card>summary{padding:12px;font-size:15px;border-radius:8px;background:#ebeff4;color:#173459}details.card[open]>summary{background:#eaeff6;margin-bottom:20px}
.table-wrap>table:not(.leave-calendar):not(.leave-balances):not(.data-table):not(.supply-table){width:100%;border-collapse:collapse;min-width:640px;text-align:left;font-size:14px}.table-wrap>table:not(.leave-calendar):not(.leave-balances):not(.data-table):not(.supply-table) th,.table-wrap>table:not(.leave-calendar):not(.leave-balances):not(.data-table):not(.supply-table) td{padding:13px 14px;border-bottom:1px solid #eceff4;vertical-align:top;overflow-wrap:anywhere}.table-wrap>table:not(.leave-calendar):not(.leave-balances):not(.data-table):not(.supply-table) thead th{background:#eceff4;color:#1e3552}.table-wrap>table:not(.leave-calendar):not(.leave-balances):not(.data-table):not(.supply-table) tbody tr:hover{background:#eceff3}
.message{background:#e9eff6;border-color:#466586;color:#14345d}.message.error{background:#f6f1e9;border-color:#e5d5bd;color:#5d4014}.empty-state{border:1px dashed #c7d0db;border-radius:8px;padding:18px;color:#26364a}
.worktime-day{background:#f8fafc;border-color:#c7cfdc}.worktime-day>details>summary{color:#14345d}.worktime-calendar{margin-top:20px}.worktime-day form{padding-top:8px}.worktime-day input{padding:8px}.worktime-day form p{overflow-wrap:anywhere}
.status-chip,.supply-status{font-size:12px;border-radius:7px}.module-grid.ready-grid:has(>section){align-items:start}.module-grid.ready-grid>section{min-width:0}
@media(max-width:600px){.card{padding:18px}.worktime-calendar{gap:4px}.worktime-day{padding:5px}.worktime-day>details>summary{font-size:11px;padding:5px}details.card>summary{font-size:14px}}
}

@media screen and (min-width:701px){form[method=get]>.form-grid{flex:1 1 420px;width:auto}form[method=get]>button{flex-shrink:0}.worktime-day>details[open]{grid-column:auto}}

.help-inline{font-size:13px;margin:-10px 0 16px}.help-inline a{color:#14325d}.help-index{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.help-index a{border:1px solid #c7d0db;border-radius:8px;padding:9px 12px;text-decoration:none;background:#ebeff4}.help-section{scroll-margin-top:18px}.help-section li{margin:10px 0;line-height:1.65}.help-notes{border-left:3px solid #a87424;background:#f9fafb;border-radius:6px;padding:16px 20px;margin:22px 0}.help-notes h3{color:#5d4214}.help-open{padding:10px 14px;text-decoration:none;white-space:nowrap;border:1px solid #c7d0db}.help-section ol,.help-section ul{padding-left:22px}@media print{.help-index,.help-open,.help-inline{display:none}.help-section{break-inside:avoid}.help-notes{color:#111;background:#fff}.help-notes h3{color:#111}}

@media screen {
 .subiekt-heading { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
 .subiekt-heading h2 { margin:0; }
 .video-info-wrap { position:relative; display:inline-flex; padding-block:8px; }
 .video-info-button { border-radius:50%; width:38px; height:38px; padding:0; font-weight:bold; }
 .video-info-tip { display:none; position:absolute; top:100%; left:0; min-width:210px; padding:14px; z-index:5; background:#ebeef5; border:1px solid #3b5d91; border-radius:10px; box-shadow:0 8px 24px #0008; }
 .video-info-wrap:hover .video-info-tip, .video-info-wrap:focus-within .video-info-tip, .video-info-wrap:has([aria-expanded="true"]) .video-info-tip { display:block; }
 .video-info-tip a { white-space:nowrap; }
 .instruction-dialog { width:min(1000px,calc(100vw - 32px)); max-height:90vh; overflow:auto; box-sizing:border-box; padding:20px; color:#1a3357; background:#f8f9fc; border:1px solid #435e89; border-radius:16px; }
 .instruction-dialog::backdrop { background:#000b; }
 .instruction-dialog video { display:block; width:100%; max-height:65vh; background:#000; border-radius:10px; }
}
@media print { .video-info-wrap, .instruction-dialog { display:none; } }

@media screen { .help-video { margin-block: 1.25rem; } .help-video video { display:block; width:100%; max-width:960px; max-height:70vh; background:#000; border-radius:12px; } }
@media print { .help-video video { display:none; } }

@media screen {
 [data-menu-group="shop"] { --module-color:#14315d; }
 .home-category[data-menu-group="operations"] { --module-color:#294729; }
 .home-category[data-menu-group="people"] { --module-color:#143d5d; }
 .home-category[data-menu-group="finance"] { --module-color:#3c145d; }
 .home-category[data-menu-group="company"] { --module-color:#5d3f14; }
 .home-categories { display:grid; gap:14px; margin:20px 0; }
 .home-category { background:#f9fafb; border:1px solid #eceff3; border-left:5px solid var(--module-color,#14325d); border-radius:12px; margin:0; }
 .home-category > summary { display:grid; grid-template-columns:1fr auto 24px; align-items:center; gap:8px 16px; padding:20px 24px; list-style:none; cursor:pointer; border-radius:10px; }
 .home-category > summary::-webkit-details-marker { display:none; }
 .home-category > summary::after { content:'⌄'; grid-column:3; grid-row:1; color:var(--module-color,#14325d); font-size:24px; text-align:center; }
 .home-category[open] > summary::after { content:'⌃'; }
 .home-category > summary:hover { background:#ebeff4; }
 .home-category > summary:focus-visible { outline:3px solid #14325d; outline-offset:3px; }
 .category-title { font-size:20px; font-weight:750; color:var(--module-color,#173559); }
 .category-count { font-size:12px; color:#21344f; background:#eceff4; border-radius:20px; padding:5px 10px; white-space:nowrap; }
 .category-description { grid-column:1 / 3; font-size:14px; color:#283549; font-weight:400; }
 .home-category > .module-grid { padding:0 20px 20px; }
 .home-category .module-grid .module { min-height:120px; }
 .home-category .module-arrow { margin-left:auto; }
 @media(max-width:600px) { .home-category > summary { padding:16px; gap:6px 8px; } .category-title { font-size:17px; } .category-description { font-size:13px; } .home-category > .module-grid { padding:0 12px 12px; } }
}

@media screen {
 .checklist-task { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 12px; padding:8px 12px; margin:4px 0; }
 .checklist-task > .module-heading { grid-column:1 / -1; gap:8px; margin:0; }
 .checklist-task:has(> .checklist-quick) > .module-heading { grid-column:1; }
 .checklist-task h3 { margin:0; font-size:14px; line-height:1.35; }
 .checklist-task > p { grid-column:1 / -1; font-size:12px; margin:2px 0; }
 .checklist-task .status-chip { padding:2px 7px; font-size:11px; flex-shrink:0; }
 .checklist-quick { grid-column:2; grid-row:1; margin:0; align-self:center; }
 .checklist-quick button { padding:5px 10px; margin:0; min-height:36px; font-size:13px; white-space:nowrap; }
 .checklist-edit { grid-column:1 / -1; margin:0; }
 .checklist-edit > summary { color:#14305d; cursor:pointer; padding:2px 0; min-height:24px; font-size:12px; }
 .checklist-task > .operation-details { grid-column:1 / -1; }
 @media(max-width:650px) {
  .checklist-task { padding:8px 10px; gap:3px 8px; }
  .checklist-task > .module-heading { flex-direction:row; align-items:center; flex-wrap:wrap; }
  .checklist-quick button { min-height:44px; padding:8px 10px; width:auto; }
  .checklist-edit > summary { min-height:32px; padding:5px 0; }
 }
 .checklist-shift-picker { border-left:4px solid #14315d; }
}
@media screen {
 .home-categories { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:14px; }
 .home-category { min-width:0; }
 .home-category > summary { grid-template-columns:minmax(0,1fr) 24px; padding:16px 18px; min-height:148px; gap:7px 8px; }
 .home-category > summary::after { grid-column:2; grid-row:1; }
 .home-category .category-title { font-size:18px; grid-column:1; grid-row:1; }
 .home-category .category-count { grid-column:1; grid-row:2; justify-self:start; }
 .home-category .category-description { grid-column:1 / -1; grid-row:3; font-size:13px; }
 .home-category[open] { grid-column:1 / -1; }
 .home-category[open] > summary { min-height:0; }
 @media(max-width:1000px) { .home-categories { grid-template-columns:repeat(2,minmax(0,1fr)); } }
 @media(max-width:600px) {
  .home-categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .home-category > summary { padding:12px; min-height:165px; }
  .home-category .category-title { font-size:15px; }
  .home-category .category-description { font-size:12px; }
  .home-category[open] > summary { min-height:0; }
 }
}

@media screen {
 .checklist-period { margin:12px 0; }
 .checklist-period > summary { padding:10px 12px; background:#ebeff4; border:1px solid #c7d0db; border-left:4px solid #14315d; border-radius:8px; min-height:44px; font-size:16px; color:#14305d; }
 .checklist-period > summary small { font-size:12px; font-weight:400; color:#283549; margin-left:12px; }
 .checklist-period[open] > summary { margin-bottom:6px; }
 @media(max-width:600px) { .checklist-period > summary small { display:block; margin-left:18px; } }
}

/* Newsletter: compact paragraphs, source photos and event dates. */
.newsletter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.newsletter-entry.card{display:flex;gap:16px;padding:16px;margin:0;min-width:0;align-items:flex-start}
.newsletter-photo{margin:0;flex:0 0 160px;width:160px}
.newsletter-photo img{display:block;width:100%;height:200px;object-fit:contain;background:#f9fafb;border-radius:8px}
.newsletter-photo figcaption{font-size:10px;line-height:1.3;color:#2c3644;margin-top:5px}
.newsletter-copy{min-width:0;flex:1}
.newsletter-copy h2{font-size:18px;line-height:1.25;margin:4px 0 7px}
.newsletter-copy p{margin:5px 0;line-height:1.4}
.newsletter-copy .eyebrow{font-size:11px;color:#143c5d;margin:0}
.newsletter-date{font-size:12px;color:#283748}
.newsletter-body{font-size:14px;overflow-wrap:anywhere}
.newsletter-body p+p{margin-top:7px}
.newsletter-source{display:inline-block;font-size:13px;padding:5px 0}
.newsletter-edit{font-size:11px;color:#2c3644;margin-top:8px!important}
@media(max-width:1050px){.newsletter-grid{grid-template-columns:1fr}}
@media(max-width:600px){.newsletter-entry.card{padding:12px;gap:12px}.newsletter-photo{flex-basis:100px;width:100px}.newsletter-photo img{height:150px}.newsletter-copy h2{font-size:16px}.newsletter-body{font-size:13px}.newsletter-source{min-height:44px;display:flex;align-items:center}}

/* Customer phone returns: compact guided form and dedicated paper receipt. */
.return-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.return-fields label {min-width:0;display:block;margin:0}
.return-fields input,.return-fields select {width:100%;box-sizing:border-box}
#phone-return-form fieldset {border:1px solid #eceff3;border-radius:10px;margin:16px 0;padding:16px}
#phone-return-form legend {font-weight:700;color:#143f5d;padding:0 8px}
.return-item {border-bottom:1px solid #eceff3;padding:4px 0 14px;margin-bottom:14px}
.return-item h3 {margin:8px 0}
.return-confirm {display:flex;align-items:center;gap:10px;margin:16px 0}
.return-confirm input {width:20px;min-width:20px;margin:0}
.return-summary {background:#f8fafc;border:1px solid #bfd5e3;border-radius:10px;padding:14px;margin:14px 0}
.return-print-sheet {background:#fff;color:#f9fafb;padding:24px;border-radius:10px;margin:16px 0}
.return-print-sheet table,.return-print-sheet th,.return-print-sheet td {color:#f9fafb;background:#fff;border:1px solid #aaa;padding:10px}
.return-print-sheet h2 {color:#f9fafb}
.return-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.return-details dt {font-weight:bold;font-size:12px;color:#555}
.return-details dd {margin:4px 0;overflow-wrap:anywhere}
.return-signatures {display:flex;justify-content:space-between;gap:24px;margin-top:50px}
.return-toolbar {display:flex;align-items:center;justify-content:space-between;gap:14px}
@media(max-width:650px){.return-fields,.return-details{grid-template-columns:1fr}.return-print-sheet{padding:14px}.return-toolbar{flex-wrap:wrap}.return-signatures{flex-wrap:wrap}}
@media print {
 body:has(.return-print-sheet) {background:white;color:black}
 body:has(.return-print-sheet) main {width:100%;max-width:none;margin:0;padding:0}
 body:has(.return-print-sheet) main > :not(.return-print-sheet) {display:none!important}
 .return-print-sheet {border:0;padding:0;margin:0;font-size:11pt;border-radius:0}
 .return-print-sheet .table-scroll {overflow:visible}
 .return-print-sheet table {width:100%;font-size:10pt}
 .return-print-sheet tr,.return-signatures {break-inside:avoid}
}
#phone-return-form{max-width:none;width:100%}.return-fields[hidden]{display:none!important}
.tabs.returns-no-print{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.tabs.returns-no-print a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #c7d0db;border-radius:8px;text-decoration:none}.tabs.returns-no-print a.button{background:#e8f0f8;color:#14315d;border-color:#3f668d;font-weight:700}

#return-account-digits{display:grid;grid-template-columns:repeat(26,minmax(0,1fr));gap:2px;margin:8px 0}#return-account-digits[hidden]{display:none!important}#return-account-digits input{text-align:center;font-size:16px;padding:4px 0;min-height:32px;height:32px;border-radius:4px}

@media(max-width:650px){#return-account-digits{gap:1px}#return-account-digits input{font-size:12px}}

.delivery-week-form{max-width:none}.delivery-week-form select{min-width:155px;padding:8px}.delivery-week-form td{padding:8px 12px}

}
@media screen {
:root{color-scheme:light;background:#f2f6fc;color:#0b2945;--ui-accent:#1976ed;--ui-border:#d3e1f3;--ui-surface:#fff;font-family:"Segoe UI",Arial,sans-serif}
body{background:#f2f6fc;color:#0b2945}a{color:#176bd1}a:hover{color:#0b4f9e}h1,h2,h3,label,dd{color:#0b2945}.intro,.muted,dt,footer,.brand-block p{color:#607d9d}
.card,.card>.card{background:#fff;border-color:#d3e1f3;box-shadow:0 3px 12px #163b6810}.card>p:first-of-type{color:#607d9d}
input,select,textarea{background:#fff;color:#0b2945;border-color:#b8cde7}input::placeholder,textarea::placeholder{color:#8099b6}input[type=checkbox],input[type=radio]{accent-color:#1976ed}
button:not(.secondary):not(.schedule-day-open),.button-link,.supply-add{background:#1976ed;color:#fff;border-color:#1976ed}button:not(.secondary):not(.schedule-day-open):hover,.button-link:hover,.supply-add:hover{background:#0963d5;color:#fff}.secondary{background:#e9f1fc;color:#0b2945;border-color:#d3e1f3}.secondary:hover{background:#dbe9fc;color:#0b2945}
.message{background:#e7f1ff;color:#164b83;border-color:#b8d2f6}.error,.message.error{background:#fff3da;color:#815207;border-color:#e6c47c}.coverage-ok{background:#dcf7e9;color:#087448;border-color:#a9ddc7}.coverage-gap{background:#fff3da;color:#815207;border-color:#e6c47c}.coverage-extra{background:#e7f1ff;color:#164b83;border-color:#b8d2f6}
.module-grid .module,.module-grid .module.available{background:#fff;color:#0b2945;border-color:#d3e1f3}.module-grid a.module:hover{background:#edf5ff;border-color:#1976ed}.module-grid .module p{color:#607d9d}.module-icon{background:#e7f1ff;color:#1976ed}.module-arrow{color:#1976ed}
.module-tabs a[aria-current=page],.supply-nav a[aria-current=page],.tabs.returns-no-print a.button{background:#1976ed;color:#fff;border-color:#1976ed}.schedule-dialog,.schedule-popover{background:#fff;color:#0b2945}.schedule-dialog::backdrop{background:#0b294566}.schedule-dialog-tabs button[aria-selected=true]{background:#1976ed;color:#fff}
.portal-shell main{width:auto;max-width:none;margin:0 0 0 258px;padding:94px 28px 36px;min-width:0}
.portal-shell header{position:fixed;z-index:30;top:0;left:0;right:0;height:64px;padding:0 24px;background:#fff;border-bottom:1px solid #d3e1f3;box-shadow:0 1px 5px #163b6808}.portal-shell header .brand{font-size:23px;color:#0b2945}.portal-shell header .brand-block p{display:none}.portal-shell header .badge{margin-left:225px;margin-right:auto;font-size:10px;color:#607d9d;border-color:#d3e1f3}
.portal-shell .portal-nav{position:fixed;z-index:31;top:0;right:24px;height:64px;max-width:calc(100% - 440px);padding:0;gap:16px;border:0;font-size:12px}.portal-nav a{color:#355a83}.portal-nav a:hover{color:#1976ed}.portal-nav>span{color:#0b2945}.portal-shell .portal-nav>a:first-child{display:none}.portal-nav button{background:#e9f1fc;color:#0b2945;border-color:#d3e1f3}
.portal-sidebar{position:fixed;z-index:25;top:64px;bottom:0;left:0;width:258px;overflow-y:auto;background:#0b2945;color:#bed3ed;padding:20px 12px;border:0;border-radius:0}.portal-sidebar>summary{display:none}.portal-sidebar nav{display:block}.portal-sidebar a{display:block;padding:10px 12px;margin:3px 0;font-size:13px;line-height:1.4;text-decoration:none;color:#bed3ed;border-radius:8px;overflow-wrap:anywhere}.portal-sidebar a:hover{background:#163c63;color:#fff}.portal-sidebar a[aria-current=page]{background:#1976ed;color:#fff;font-weight:700}.sidebar-home{font-size:15px!important;font-weight:700}.sidebar-group>summary{padding:16px 12px 7px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#91b1d6;cursor:pointer}.portal-sidebar details[open]>summary{background:transparent;color:#91b1d6;margin:0}
.home-category{background:#fff;border-color:#d3e1f3}.home-category>summary{background:#fff;color:#0b2945}.category-description,.category-count{color:#607d9d}.home-category[open]>summary{background:#e7f1ff}.home-page h1{font-size:28px}.portal-shell h1{margin-top:0}.table-wrap,.table-scroll{max-width:100%}
@media(max-width:1100px){.portal-shell .portal-nav>a{display:none}.portal-shell header .badge{display:none}.portal-shell .portal-nav{max-width:calc(100% - 250px)}.portal-shell main{margin-left:226px;padding-left:20px;padding-right:20px}.portal-sidebar{width:226px}}
@media(max-width:700px){.portal-shell main{margin:0;padding:16px 14px 28px}.portal-shell header{position:static;height:auto;padding:14px 0;margin:0}.portal-shell .portal-nav{position:static;height:auto;max-width:none;padding:12px 0;gap:12px;flex-wrap:wrap}.portal-shell .portal-nav>a{display:block}.portal-shell .portal-nav>span{display:block;width:100%;font-size:12px}.portal-shell .portal-nav form{margin-left:auto}.portal-shell .portal-nav button{width:auto}.portal-sidebar{position:static;width:auto;padding:8px 10px;margin:0 0 20px;border-radius:10px;max-height:none}.portal-sidebar>summary{display:block;padding:8px;color:#fff;cursor:pointer;font-weight:700}.portal-sidebar nav{max-height:45vh;overflow-y:auto}.portal-sidebar a{padding:9px 12px}.portal-shell h1{font-size:25px}.card{padding:16px}}
}
@media print{.portal-sidebar{display:none!important}}

@media screen{.return-print-sheet,.return-print-sheet h2,.return-print-sheet dt,.return-print-sheet dd,.return-print-sheet p,.return-print-sheet table,.return-print-sheet th,.return-print-sheet td{color:#161616}.return-print-sheet{background:#fff}}

@media screen{.grid>*,.form-grid>*,.return-fields>*{min-width:0}}

@media screen{.brand-logo{display:block;width:160px;height:auto;max-width:100%;background:#fff}.theme-toggle{margin:0;min-height:36px;padding:6px 10px;font-size:12px}.portal-shell .portal-nav{max-width:calc(100% - 350px)}@media(max-width:700px){.brand-logo{width:145px}.portal-shell .portal-nav{max-width:none}}}

@media screen{.portal-nav .theme-toggle,.portal-alerts>summary{display:inline-grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #d3e1f3;border-radius:7px;background:#fff;font-size:17px;cursor:pointer;list-style:none;position:relative}.portal-alerts{position:relative}.portal-alerts>summary::-webkit-details-marker{display:none}.portal-alerts>summary:focus-visible{outline:3px solid #1976ed;outline-offset:2px}.alert-count{position:absolute;right:-7px;top:-6px;border-radius:12px;padding:1px 4px;background:#c52a35;color:#fff;font-size:9px;line-height:14px;font-weight:700}.portal-alert-panel{position:fixed;right:24px;top:66px;width:390px;max-width:calc(100vw - 28px);max-height:75vh;overflow:auto;background:#fff;color:#0b2945;border:1px solid #d3e1f3;border-radius:12px;padding:18px;box-shadow:0 8px 35px #163b6829;z-index:50}.portal-alert-panel h2{font-size:17px;margin:0 0 8px}.portal-alert-panel .muted{font-size:11px;margin:0 0 12px}.portal-alert-panel a{display:flex;justify-content:space-between;gap:14px;padding:12px 2px;border-top:1px solid #e3ebf5;text-decoration:none;font-size:13px}.portal-alert-panel a strong{border-radius:6px;background:#e7f1ff;color:#176bd1;padding:1px 7px;align-self:start}.portal-alert-panel a:hover{background:#f2f6fc}.portal-alert-panel .message{font-size:12px}.portal-nav>span{margin-left:0}@media(max-width:700px){.portal-alert-panel{top:160px;right:14px;max-height:65vh}.portal-shell .portal-nav{gap:12px}.portal-nav .theme-toggle{width:36px}}}

/* Test feedback and closed-store days, consistent in both themes. */
.test-feedback{margin-top:22px}.test-feedback>summary{font-weight:700;cursor:pointer}.test-feedback form{max-width:820px}.test-feedback-text{white-space:pre-wrap;overflow-wrap:anywhere}.test-feedback-entry{border-top:1px solid #8395ac55;padding:12px 0}.test-feedback-entry p{margin:6px 0}.closed-weekdays{margin:16px 0;display:flex;flex-wrap:wrap;gap:10px 18px}.closed-weekdays label{display:flex;align-items:center;gap:8px}.closed-weekdays input{width:auto}.closed-weekdays p{flex-basis:100%;margin:0}.schedule-store-closed{background:#e8edf5!important}.schedule-closed-label{display:block;padding:6px;border-radius:5px;background:#d8e1ef;color:#173c65;font-weight:700}.checklist-save-result{font-size:13px;color:#168058;margin:6px 0}.schedule-store-closed .message{padding:5px;font-size:12px}
html[data-theme="dark"] .schedule-store-closed{background:#202936!important}html[data-theme="dark"] .schedule-closed-label{background:#334157;color:#e5efff}html[data-theme="dark"] .checklist-save-result{color:#83dab1}

.weekly-hours table{width:100%;max-width:780px}.weekly-hours th,.weekly-hours td{padding:6px 10px}.weekly-hours input,.weekly-hours select{min-width:100px;width:100%;padding:7px}.schedule-store-hours{display:block;font-size:.78rem;color:var(--muted)}

.monthly-store-config .weekly-hours{grid-column:1 / -1;min-width:0;max-width:100%;width:auto}.weekly-hours table{min-width:560px}.weekly-hours .table-wrap{width:100%;max-width:100%}

.monthly-store-config >form{max-width:none;width:100%}.monthly-store-config .weekly-hours{box-sizing:border-box}.monthly-store-config >form >.operation-details{margin-bottom:16px}

.plan-cash-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.plan-cash-tile{display:flex;flex-direction:column;text-decoration:none;padding:18px}.plan-cash-tile h2{font-size:1.12rem;display:flex;justify-content:space-between}.plan-cash-tile p{flex:1;margin:8px 0 14px}.plan-cash-tile:hover,.plan-cash-tile:focus-visible{outline:2px solid #1677e9}.entry-kind{display:inline-block;font-size:.82rem;font-weight:700;border:1px solid currentColor;border-radius:6px;padding:5px 9px;margin:6px 0}.entry-auto{color:#08724d;background:#e3f7ed}.entry-manual{color:#154c9c;background:#e8f1ff}.plan-cash-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.plan-cash-tabs a{border:1px solid #8796a9;border-radius:6px;padding:7px 11px;text-decoration:none}.plan-cash-tabs a:first-child{font-weight:700}.plan-cash-return{margin:16px 0}[id="subiekt-import"],[id="bonusy-zmiany"],[id="zwroty-zmiany"],[id="moje-przerwy"],[id="plan-sprzedazy"],[id="rozliczenie"]{scroll-margin-top:85px}@media(max-width:1100px){.plan-cash-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.plan-cash-grid{grid-template-columns:1fr}}

.plan-cash-intro{padding:10px 16px}.plan-cash-intro p{margin:3px 0}.plan-cash-intro p:last-child{font-size:.8rem}.plan-cash-tile{padding:12px}.plan-cash-tile h2{margin:0;font-size:1rem}.plan-cash-tile p{font-size:.83rem;line-height:1.35;margin:8px 0}.plan-cash-tile .entry-kind{font-size:.72rem;padding:4px 7px;margin:3px 0}

.card.plan-cash-tile{padding:12px;margin:0}.card.plan-cash-intro{padding:10px 16px;margin-bottom:12px}main[data-page="plan-kasa"] >form.card{padding:10px 16px;margin-bottom:12px}

/* Test feedback is visible in the top-right navigation in both themes. */
.portal-shell .portal-nav .feedback-trigger{background:#c62828!important;color:#fff!important;border-color:#c62828!important;font-weight:700;white-space:nowrap;padding:8px 12px;margin:0}
.portal-shell .portal-nav .feedback-trigger:hover{background:#a51f1f!important}
.test-feedback-dialog{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #d3e1f3;border-radius:12px;padding:24px;background:#fff;color:#173a61}
.test-feedback-dialog::backdrop{background:#071c38aa}.feedback-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.feedback-dialog-heading h2{margin:0}.feedback-dialog-heading button{margin:0;width:auto;min-width:40px}.test-feedback-dialog form{max-width:none}
html[data-theme="dark"] .test-feedback-dialog{background:#1c2633;color:#e9f1fc;border-color:#526985}
.closing-next-step{padding:16px;border:1px solid #8cbce9;border-radius:8px;margin-top:18px}.closing-next-step h3{margin-top:0}#zapis-zamkniecia,#stan-poczatkowy-kasy{scroll-margin-top:90px}
@media(max-width:700px){.portal-shell .portal-nav .feedback-trigger{font-size:11px;padding:7px 9px}.test-feedback-dialog{padding:18px}}
@media print{.test-feedback-dialog,.feedback-trigger{display:none!important}}

/* Hide the entire sidebar and reclaim its space in both themes. */
.portal-menu-hidden .portal-shell .portal-sidebar{display:none!important}
.portal-menu-hidden .portal-shell main{margin-left:0!important}
.portal-shell .portal-nav .sidebar-toggle{flex-shrink:0;white-space:nowrap;min-width:40px;min-height:40px}
@media print{.sidebar-toggle{display:none!important}}

.role-policy-form{width:100%;max-width:none!important}
.role-policy-form .table-wrap{margin-top:14px}
.role-policy-table{table-layout:fixed;min-width:0!important;width:100%}
.role-policy-table th:first-child,.role-policy-table td:first-child{width:45%}
.role-policy-table label{margin:0}.role-policy-table select{width:100%;max-width:400px;padding:8px}
.role-policy-table small{display:block;margin-top:4px}
@media(max-width:700px){.role-policy-table th,.role-policy-table td{padding:8px!important}.role-policy-table select{font-size:12px;padding:6px}}

.role-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.role-checkbox-item{display:flex!important;align-items:flex-start;gap:10px;margin:0!important;padding:8px 10px;border:1px solid #61748b;border-radius:7px;cursor:pointer;min-width:0}
.role-checkbox-item input[type=checkbox]{width:19px!important;height:19px;flex:0 0 19px;margin:2px 0 0;padding:0;accent-color:#1976ed}
.role-checkbox-item span{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.role-checkbox-item small{display:block;font-size:11px;opacity:.75;margin-top:2px}
@media(max-width:1100px){.role-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.role-checkbox-grid{grid-template-columns:1fr}}

.shipping-preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.shipping-preview-heading h2{margin:0 0 6px}.shipping-preview-heading p{margin:0 0 12px}
.shipping-preview-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow-x:auto}
.shipping-preview-day{aspect-ratio:1;min-width:0;overflow-y:auto;padding:12px;border:1px solid #61748b;border-radius:10px}.shipping-preview-day h3{font-size:15px;margin:0 0 4px}.shipping-preview-day time{font-size:13px;opacity:.8}.shipping-preview-day p,.shipping-preview-day li{font-size:12px;line-height:1.4}.shipping-preview-day ul{padding-left:16px}.shipping-preview-day.is-today{border:2px solid #1976ed}.shipping-preview-day:focus-visible{outline:3px solid #1976ed;outline-offset:-3px}
@media(max-width:900px){.shipping-preview-days{grid-template-columns:repeat(5,minmax(140px,1fr))}}

/* Compact delivery overview: keep filters and first records in view. */
body:has(.device-filters) main#top > h1 {font-size:clamp(1.4rem,2.1vw,1.9rem);margin:0 0 8px}
body:has(.device-filters) main#top > p {margin:6px 0;font-size:.88rem}
.device-preview-toolbar{padding:14px 18px!important;margin:12px 0!important}
.device-preview-toolbar h2{font-size:1.15rem;margin:0 0 6px}
.device-preview-toolbar .muted{font-size:.78rem;margin:4px 0 10px}
.device-filters{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr)) minmax(120px,1.2fr) auto;gap:10px;align-items:end}
.device-filters label{font-size:.82rem;min-width:0}
.device-filters input,.device-filters select{width:100%;min-height:38px;padding:7px 9px;font-size:.85rem}
.device-filters button{min-height:38px;padding:7px 14px}
.device-filters>a{grid-column:1/-1;font-size:.8rem}
body:has(.device-filters) .module-tabs{margin:10px 0;gap:8px}
body:has(.device-filters) .module-tabs a{padding:9px 12px}
@media(max-width:1050px){.device-filters{grid-template-columns:repeat(3,minmax(120px,1fr))}}
@media(max-width:600px){.device-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.device-filters button{grid-column:2}}
.shop-results-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.shop-results-tabs a{padding:8px 12px;border:1px solid var(--panel-border,#6a7b91);border-radius:8px;text-decoration:none}

body:has(.device-filters) main#top>h1{margin:12px 0 5px;font-size:1.5rem}
body:has(.device-filters) main#top>p{display:inline-block;margin:4px 12px 4px 0;vertical-align:middle;font-size:.78rem}
body:has(.device-filters) main#top>p a.button-link{padding:8px 10px;min-height:32px;font-size:.78rem}
body:has(.device-filters) .device-filters label{margin:4px 0}
body:has(.device-filters) .module-tabs{margin:10px 0 8px}
body:has(.device-filters) .supply-table td{padding-top:7px;padding-bottom:7px}

.warehouse-picker{position:relative;align-self:end;min-width:0;font-size:.82rem}
.warehouse-picker>summary{padding:9px;border:1px solid #64768d;border-radius:5px;min-height:38px;cursor:pointer;list-style:none}
.warehouse-options{position:absolute;z-index:20;top:100%;left:0;width:min(360px,80vw);max-height:300px;overflow:auto;padding:12px;background:var(--card,#1b2430);border:1px solid #64768d;border-radius:8px;box-shadow:0 8px 24px #0003}
.warehouse-options label{display:flex;align-items:center;gap:8px;margin:8px 0!important;font-size:.85rem}
.warehouse-options input{width:18px;height:18px;min-height:18px;flex:none;margin:0}
.warehouse-options small{display:block;margin-top:8px;font-size:.76rem}
.advanced-device-filters{grid-column:1/-1;font-size:.82rem}
.advanced-device-filters>summary{cursor:pointer;padding:5px 0;font-weight:700}
.advanced-device-grid{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:10px;align-items:end;padding-top:8px}
@media(max-width:650px){.advanced-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme="light"] .warehouse-options{background:#fff;color:#18304a}

html:not([data-theme="dark"]) .warehouse-options{background:#fff;color:#18304a}

.training-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.training-tabs a{padding:9px 13px;border:1px solid #839ab6;border-radius:8px;text-decoration:none}.training-tabs a[aria-current=page]{background:#176fce;color:white}.training-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.training-course{display:flex;flex-direction:column;gap:10px;margin:0}.training-course h2{font-size:19px;margin:0}.training-course p{margin:0}.training-course .button-link{margin-top:auto}.training-state{font-size:13px;font-weight:700;background:#dfebfb;color:#244669;border-radius:7px;padding:5px 9px;align-self:flex-start}.training-state.completed{background:#d9f4e7;color:#12694e}.training-editor,.training-material form{max-width:none}.training-text{white-space:normal;overflow-wrap:anywhere;line-height:1.7;margin:22px 0}.training-complete{margin-top:24px;padding-top:18px;border-top:1px solid #839ab655}.training-complete label input,.training-editor label input[type=checkbox]{display:inline-block;width:auto;margin-right:7px}.training-material{max-width:1040px}html[data-theme="dark"] .training-state{background:#294365;color:#d8e8fc}html[data-theme="dark"] .training-state.completed{background:#224b3f;color:#b6f0d6}@media(max-width:1100px){.training-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.training-grid{grid-template-columns:1fr}.training-tabs a{font-size:13px;padding:8px 10px}}

/* Feedback: all modules visible, compact colored categories and an accessible search. */
.home-categories{display:block!important}.home-category{--category-accent:#1976d2;--category-soft:#e7f1ff;border-left:5px solid var(--category-accent);margin-bottom:12px}.home-category[data-menu-group="operations"]{--category-accent:#077b69;--category-soft:#def6ef}.home-category[data-menu-group="people"]{--category-accent:#8b4cbd;--category-soft:#f0e6fa}.home-category[data-menu-group="finance"]{--category-accent:#a06509;--category-soft:#fff0cd}.home-category[data-menu-group="company"]{--category-accent:#b7446c;--category-soft:#fce5ed}
.home-category[open]>summary{display:flex;align-items:center;gap:10px;padding:9px 13px;min-height:0;background:var(--category-soft);color:#102d45}.home-category .category-title{font-size:16px}.home-category .category-count{font-size:12px}.home-category .category-description{display:none}.home-category>.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px}.home-category .module-grid .module{min-height:76px;margin:0;padding:10px 12px;border:1px solid var(--category-accent);border-top:3px solid var(--category-accent);background:var(--category-soft);color:#102d45}.home-category .module h2{font-size:15px;line-height:1.25;margin:5px 0}.home-category .module p{font-size:12px;line-height:1.35;margin:0;color:#40596b}.home-category .module-top{display:none}.home-category .module:hover{box-shadow:0 0 0 2px var(--category-accent);transform:none}.home-category[hidden],.home-category .module[hidden]{display:none!important}.home-module-search{max-width:650px;margin:12px 0 4px}.home-module-search input{font-size:16px}.home-categories-intro{margin-bottom:6px}
.sidebar-group:nth-of-type(1){border-left:3px solid #67b7ff}.sidebar-group:nth-of-type(2){border-left:3px solid #48dfb8}.sidebar-group:nth-of-type(3){border-left:3px solid #cb9af0}.sidebar-group:nth-of-type(4){border-left:3px solid #ffd16b}.sidebar-group:nth-of-type(5){border-left:3px solid #ff9ebd}.sidebar-group{margin-bottom:9px}.portal-sidebar .sidebar-group>summary{font-size:12px;font-weight:700;color:#eef5ff}
html[data-theme="dark"] .home-category{background:#172536}html[data-theme="dark"] .home-category[open]>summary{background:#26394b;color:#f2f6ff}html[data-theme="dark"] .home-category .module-grid .module{background:#26394b;color:#f2f6ff}html[data-theme="dark"] .home-category .module p{color:#ccd8e6}
.work-kind-label{display:inline-block;border-radius:5px;padding:3px 6px;font-size:12px;font-weight:700}.work-kind-label.training{background:#e4edff;color:#17498c}.work-kind-label.management{background:#f0e6fa;color:#60318a}.schedule-kind-section table{font-size:13px}.schedule-kind-section td,.schedule-kind-section th{padding:7px}.schedule-kind-section h2{font-size:20px}
@media(max-width:1100px){.home-category>.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.home-category>.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category .module h2{font-size:14px}.home-category .module p{font-size:11px}.home-category .module-grid .module{padding:9px;min-height:85px}.home-category[open]>summary{padding:8px}.home-category .category-title{font-size:15px}}

.feedback-image-link{display:inline-flex;flex-direction:column;gap:5px;max-width:180px;margin:8px 12px 8px 0;vertical-align:top;overflow-wrap:anywhere;font-size:12px}.feedback-image-link img{width:140px;height:95px;object-fit:contain;border:1px solid #849bb6;border-radius:6px;background:#fff}
.module-launch-card{position:relative;min-width:0}.module-launch-card>.module{height:100%;box-sizing:border-box}.module-launch-card .module-arrow{visibility:hidden}.module-launch .module-new-tab{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;height:32px;padding:4px;margin:0;flex:0 0 32px;border:1px solid currentColor;border-radius:7px;color:inherit;background:transparent;text-decoration:none;font-size:21px;line-height:1;opacity:.8}.module-launch .module-new-tab:hover{opacity:1;background:rgba(120,160,210,.18)}.module-launch .module-new-tab:focus-visible{outline:3px solid #1476e8;outline-offset:2px}.module-launch-card>.module-new-tab{position:absolute;top:12px;right:12px;z-index:1}.module-launch-row{display:flex;align-items:center;gap:4px;min-width:0}.module-launch-row>a:not(.module-new-tab){flex:1;min-width:0}.portal-sidebar .module-launch-row>.module-new-tab{margin-right:3px;color:#bed3ed}.module-tabs>.module-launch-row{display:inline-flex}.module-launch[hidden]{display:none!important}

/* Shared layout: compact laptops, larger monitors and touch screens. */
@media screen {
 body.portal-shell{--portal-menu-width:216px;--portal-bar-height:56px;font-size:14px;line-height:1.45}
 body.portal-shell main{margin-left:var(--portal-menu-width);padding:76px 20px 28px;min-width:0;max-width:none}
 body.portal-shell header{height:var(--portal-bar-height);padding:0 16px;gap:12px;align-items:center}
 body.portal-shell header .brand-logo{width:146px;height:auto}
 body.portal-shell header .badge{display:none}
 body.portal-shell .portal-nav{left:188px;right:16px;top:0;max-width:none;height:var(--portal-bar-height);display:flex;flex-wrap:nowrap;align-items:center;gap:8px;font-size:12px}
 body.portal-shell .portal-nav>a{display:inline-flex;white-space:nowrap;flex-shrink:0}
 body.portal-shell .portal-nav>a[href="./"]{display:none}
 body.portal-shell .portal-nav>span{display:block;width:auto;max-width:148px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:12px}
 body.portal-shell .portal-nav form{flex-shrink:0}
 body.portal-shell .portal-nav button{width:auto;min-height:32px;margin:0;padding:6px 10px;font-size:12px;white-space:nowrap}
 body.portal-shell .portal-nav .theme-toggle,body.portal-shell .portal-alerts>summary{width:32px;height:32px;min-height:32px;padding:0;flex-shrink:0}
 body.portal-shell .portal-nav .module-tab-option{display:inline-flex;align-items:center;gap:5px;margin:0;white-space:nowrap;font-size:11px;flex-shrink:0}
 body.portal-shell .module-tab-option input{display:inline-block;width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:none}
 body.portal-shell .portal-nav .feedback-trigger{padding:6px 9px;font-size:12px;flex-shrink:0}
 body.portal-shell .portal-sidebar{top:var(--portal-bar-height);width:var(--portal-menu-width);padding:10px 8px}
 body.portal-shell .portal-sidebar a{font-size:12px;padding:8px 9px}
 body.portal-shell .sidebar-group>summary{padding:12px 9px 5px;font-size:11px}
 body.portal-shell h1{font-size:clamp(22px,2vw,28px);line-height:1.2;margin:0 0 7px;overflow-wrap:anywhere}
 body.portal-shell h2{font-size:19px;line-height:1.3;margin-bottom:12px}
 body.portal-shell h3{font-size:16px}
 body.portal-shell main>.intro{font-size:13px;margin:0 0 12px}
 body.portal-shell main>.help-inline{margin:6px 0 12px;font-size:12px}
 body.portal-shell .card{padding:16px;margin-bottom:14px;min-width:0;max-width:100%}
 body.portal-shell main p{overflow-wrap:anywhere}
 body.portal-shell .card label{font-size:13px;margin:10px 0 4px}
 body.portal-shell .card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.portal-shell .card select{font-size:14px;min-height:36px;padding:7px 10px;max-width:100%}
 body.portal-shell .card textarea{font-size:14px;padding:9px 10px;max-width:100%;min-height:88px;resize:vertical}
 body.portal-shell .card button,body.portal-shell .button-link{font-size:13px;min-height:36px;padding:8px 12px;margin-top:12px}
 body.portal-shell .card .schedule-day-open{margin:0;min-height:32px;padding:4px 7px}
 body.portal-shell .module-tabs{gap:6px;margin:8px 0 12px;max-width:100%;flex-wrap:wrap}
 body.portal-shell .module-tabs a:not(.module-new-tab){padding:7px 10px;font-size:13px}
 body.portal-shell .module-launch .module-new-tab{width:20px;height:20px;flex-basis:20px;padding:1px;font-size:14px;border-radius:4px}
 body.portal-shell .module-launch-card>.module-new-tab{top:8px;right:8px}
 body.portal-shell .home-category .module h2{padding-right:20px;font-size:13px;line-height:1.35}
 body.portal-shell .home-category .module p{font-size:12px;line-height:1.4}
 body.portal-shell .home-category .module-grid .module{padding:9px 10px;min-height:76px;margin:0}
 body.portal-shell .home-category{padding:0;margin-bottom:10px}
 body.portal-shell .home-category>summary{padding:8px 10px}
 body.portal-shell .home-category>.module-grid{gap:8px;padding:9px}
 body.portal-shell .grid,body.portal-shell .form-grid{gap:12px}
 body.portal-shell .grid>*,body.portal-shell .form-grid>*,body.portal-shell .return-fields>*{min-width:0}
 body.portal-shell form{max-width:100%}
 body.portal-shell .table-wrap,body.portal-shell .table-scroll,body.portal-shell .portal-table-wrap,body.portal-shell .schedule-calendar-scroll{overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 body.portal-shell .portal-table-wrap{margin:8px 0;scrollbar-gutter:stable}
 body.portal-shell .portal-table-wrap:focus-visible{outline:2px solid #1976ed;outline-offset:2px}
 body.portal-shell .portal-table-wrap>table{width:100%}
 body.portal-shell .data-table{font-size:13px}
 body.portal-shell .data-table th,body.portal-shell .data-table td{padding:8px 9px}
 body.portal-shell textarea[name=subiekt]{height:clamp(120px,24vh,220px);min-height:120px;font-family:Consolas,monospace;font-size:13px}
 body.portal-shell #return-account-digits input{height:32px;min-height:32px;padding:4px 0}
 body.portal-shell dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
 body.portal-shell .portal-alert-panel{top:60px;right:12px;max-height:calc(100dvh - 80px)}
 @media(min-width:1600px){body.portal-shell{--portal-menu-width:240px}body.portal-shell main{padding-left:28px;padding-right:28px}body.portal-shell .portal-sidebar a{font-size:13px}}
 @media(min-width:901px) and (max-width:1100px){body.portal-shell{--portal-menu-width:196px}body.portal-shell .portal-nav{left:178px;right:12px;gap:6px}body.portal-shell .portal-nav>a[href="?page=testy"]{display:none}body.portal-shell .portal-nav>span{max-width:110px}body.portal-shell header .brand-logo{width:136px}}
 @media(min-width:901px) and (max-width:1180px){body.portal-shell .home-category>.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @media(max-width:900px){
  body.portal-shell main{margin:0;padding:12px 14px 24px}
  body.portal-shell header{position:static;height:auto;min-height:44px;padding:0 0 8px;margin:0;flex-direction:row}
  body.portal-shell .portal-nav{position:static;left:auto;right:auto;top:auto;width:100%;height:auto;max-width:none;flex-wrap:wrap;gap:8px;padding:8px 0 12px}
  body.portal-shell .portal-nav>a{display:inline-flex}
  body.portal-shell .portal-nav>span{max-width:160px}
  body.portal-shell .portal-nav .feedback-trigger{margin-left:auto}
  body.portal-shell .portal-sidebar{position:static;width:auto;max-height:none;padding:6px 8px;margin:0 0 14px;border-radius:8px}
  body.portal-shell .portal-sidebar>summary{display:block;padding:8px;color:#fff}
  body.portal-shell .portal-sidebar nav{max-height:45dvh;overflow-y:auto}
  body.portal-shell .home-category>.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-shell .training-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-shell .card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.portal-shell .card select,body.portal-shell .card textarea{font-size:16px;min-height:42px}
  body.portal-shell .card button{min-height:42px}
  body.portal-shell .module-launch .module-new-tab{width:30px;height:30px;flex-basis:30px;font-size:18px}
  body.portal-shell .home-category .module h2{padding-right:30px}
  body.portal-shell .portal-alert-panel{top:100px;max-height:calc(100dvh - 120px)}
 }
 @media(max-width:600px){
  body.portal-shell .card{padding:12px}
  body.portal-shell .form-grid,body.portal-shell .grid,body.portal-shell .return-fields,body.portal-shell .training-grid,body.portal-shell .contact-grid{grid-template-columns:minmax(0,1fr)}
  body.portal-shell .advanced-device-grid,body.portal-shell .device-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-shell .card button{max-width:100%}
  body.portal-shell .module-tabs>.module-launch-row{max-width:100%}
  body.portal-shell .portal-nav>span{display:none}
  body.portal-shell .home-category .module-grid .module{min-height:90px}
 }
 @media(max-width:420px){body.portal-shell .home-category>.module-grid{grid-template-columns:minmax(0,1fr)}body.portal-shell .portal-nav{gap:6px}body.portal-shell .portal-nav .module-tab-option{font-size:10px}}
}
@media print{.portal-table-wrap{overflow:visible!important}.module-new-tab{display:none!important}}
/* Historic cash values must remain readable inside a locally scrolling table. */
body.portal-shell .cash-sheet-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.portal-shell table.cash-sheet-table{display:table;width:100%;min-width:1120px;table-layout:auto}
body.portal-shell .cash-sheet-table th{min-width:90px;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.4}
body.portal-shell .cash-sheet-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
body.portal-shell .cash-sheet-table td:nth-child(n+2):nth-child(-n+8){text-align:right}
body.portal-shell .cash-sheet-table td:nth-child(9),body.portal-shell .cash-sheet-table th:nth-child(9){min-width:190px;max-width:300px;white-space:normal;overflow-wrap:break-word}
body.portal-shell .cash-sheet-table td:last-child,body.portal-shell .cash-sheet-table th:last-child{min-width:160px}
body.portal-shell .schedule-layout-picker{display:flex;align-items:center;gap:12px;max-width:320px;margin:14px 0;font-weight:650}
body.portal-shell [data-schedule-layout-panel][hidden]{display:none!important}
body.portal-shell .schedule-month-table tr.schedule-today>td,body.portal-shell .schedule-month-table tr.schedule-today>th{background:#e4f0ff!important;box-shadow:inset 0 2px #1976ed,inset 0 -2px #1976ed}
body.portal-shell .schedule-month-table tr.schedule-today>th{border-left:4px solid #1976ed;color:#104d91}
body.portal-shell .schedule-day.schedule-today{border:2px solid #1976ed;box-shadow:0 0 0 2px #1976ed33}
body.portal-shell .schedule-today-label{display:inline-block;margin:3px 5px;padding:2px 6px;border-radius:5px;background:#1976ed;color:#fff!important;font-size:11px;font-weight:750;white-space:nowrap}
html[data-theme=dark] body.portal-shell .schedule-month-table tr.schedule-today>td,html[data-theme=dark] body.portal-shell .schedule-month-table tr.schedule-today>th{background:#173b60!important;color:#edf5ff}
body.portal-shell .schedule-view-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}
body.portal-shell .schedule-view-controls .schedule-layout-picker,body.portal-shell .schedule-view-controls button{margin:0}
body.portal-shell .schedule-month-table th,body.portal-shell .schedule-month-table td{padding:2px 8px!important;font-size:12px;line-height:1.2;vertical-align:middle}
body.portal-shell .schedule-month-table .schedule-table-shift{display:block;white-space:nowrap}
body.portal-shell .schedule-month-table .schedule-day-open{padding:0 3px;min-height:0;margin:0;font-size:12px;line-height:1.2}
body.portal-shell .schedule-month-table small{font-size:10px;line-height:1.1}
body.portal-shell .schedule-board.is-expanded{position:fixed;inset:56px 0 0;z-index:70;background:#f3f7fc;color:#17324f;padding:8px 12px;display:flex;flex-direction:column;overflow:auto}
body.portal-shell .schedule-board.is-expanded .schedule-legend,body.portal-shell .schedule-board.is-expanded [data-schedule-layout-panel=list]>p{display:none}
body.portal-shell .schedule-board.is-expanded .schedule-view-controls{flex-shrink:0;margin:0 0 6px}
body.portal-shell .schedule-board.is-expanded [data-schedule-layout-panel]{flex:1;min-height:0}
body.portal-shell .schedule-board.is-expanded .schedule-month-table th,body.portal-shell .schedule-board.is-expanded .schedule-month-table td{padding:1px 6px!important;font-size:11px;line-height:1.05}
body.portal-shell .schedule-board.is-expanded .schedule-month-table .schedule-day-open{font-size:11px;line-height:1.05}
body.portal-shell .schedule-board.is-expanded .schedule-month-table .schedule-today-label{font-size:9px;padding:1px 4px;margin:0 4px}
body.portal-shell .schedule-board.is-expanded .schedule-month-table tbody th{white-space:nowrap}
body.portal-shell .schedule-board.is-expanded .schedule-month-table tbody th small{display:inline}
body.portal-shell .schedule-board.is-expanded .schedule-calendar-scroll{height:100%;overflow:auto}
body.portal-shell .schedule-board.is-expanded .schedule-calendar{min-height:100%;grid-auto-rows:minmax(70px,1fr)}
body.portal-shell .schedule-board.is-expanded .schedule-shift{padding:3px 5px;margin:2px 0;font-size:11px}
html[data-theme=dark] body.portal-shell .schedule-board.is-expanded{background:#111e2d;color:#edf5ff}
body.portal-shell .schedule-board.is-expanded .schedule-calendar{height:100%;min-height:0;gap:4px}
body.portal-shell .schedule-board.is-expanded .schedule-calendar.schedule-weeks-4{grid-template-rows:24px repeat(4,minmax(0,1fr))}
body.portal-shell .schedule-board.is-expanded .schedule-calendar.schedule-weeks-5{grid-template-rows:24px repeat(5,minmax(0,1fr))}
body.portal-shell .schedule-board.is-expanded .schedule-calendar.schedule-weeks-6{grid-template-rows:24px repeat(6,minmax(0,1fr))}
body.portal-shell .schedule-board.is-expanded .schedule-day{min-height:0;margin:0;padding:4px;overflow:auto}
body.portal-shell .schedule-board.is-expanded .schedule-weekday{padding:2px;font-size:11px}
body.portal-shell .schedule-board.is-expanded .schedule-day-heading{min-height:18px;margin:0}
body.portal-shell .schedule-board.is-expanded .schedule-day h3{margin:0;font-size:11px}
body.portal-shell .schedule-board.is-expanded .schedule-day button{padding:1px 5px;min-height:18px;font-size:11px;margin:0;line-height:1.1}
body.portal-shell .schedule-board.is-expanded .schedule-shift{gap:0;padding:2px 4px;margin:1px 0;font-size:10px;line-height:1.1}
body.portal-shell .schedule-board.is-expanded .schedule-store-hours,body.portal-shell .schedule-board.is-expanded .schedule-availability-count{font-size:9px;line-height:1.1}

/* Feedback: keep the imported document preview readable on shop laptops. */
@media screen {
body.portal-shell .closing-preview{width:100%;box-sizing:border-box}
body.portal-shell .closing-simple>fieldset{margin:18px 0;padding:14px;border:1px solid #99abc0;border-radius:9px;min-width:0}
body.portal-shell .closing-simple legend{font-size:1.1rem;font-weight:700}
body.portal-shell .closing-bonus-groups{display:grid;grid-template-columns:3fr 2fr;gap:14px}
body.portal-shell .closing-auto-group,body.portal-shell .closing-manual-group{padding:10px;border-radius:8px;background:#f0f5f9}
body.portal-shell .closing-manual-group,body.portal-shell .closing-required input,body.portal-shell .closing-required select{border-left:3px solid #2676df}
body.portal-shell .closing-simple input[readonly]{background:#e3f7ed;border-color:#7bb69c;color:#174c37}
body.portal-shell .closing-opening{margin:0 0 12px}
html[data-theme="dark"] body.portal-shell .closing-auto-group,html[data-theme="dark"] body.portal-shell .closing-manual-group{background:#142230}
html[data-theme="dark"] body.portal-shell .closing-simple input[readonly]{background:#183d31;color:#c7eddd}
@media(max-width:700px){body.portal-shell .closing-bonus-groups{grid-template-columns:1fr}}
body.portal-shell .closing-preview table{min-width:760px;table-layout:auto}
body.portal-shell .closing-preview td:nth-child(2),body.portal-shell .closing-preview td:nth-child(4){white-space:nowrap;overflow-wrap:normal}
body.portal-shell .closing-preview.is-expanded{position:fixed;inset:56px 0 0;z-index:70;overflow:auto;border-radius:0;margin:0;background:#fff}
body.portal-shell .closing-preview.is-expanded>.table-wrap{max-height:calc(100dvh - 260px);overflow:auto}
body.portal-shell .portal-alerts{flex-shrink:0;z-index:90}
body.portal-shell .portal-alert-panel{z-index:90}
body.portal-shell .portal-alert-panel [data-alerts-close]{float:right;margin:0 0 8px 8px}
html[data-theme="dark"] body.portal-shell .closing-preview.is-expanded{background:#1b242e}
html[data-theme="dark"] body.portal-shell .portal-alert-panel{background:#1b242e;color:#edf3ff}
}

/* Familiar Plan i kasa workspace, readable on 14-inch shop laptops. */
body.portal-shell .shop-workspace{margin:10px 0 16px;padding:10px 14px;border:1px solid #cbd9e9;border-radius:10px;background:#f3f7fd}
body.portal-shell .shop-workspace-context{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;font-size:13px}
body.portal-shell .shop-workspace .plan-cash-tabs{margin:8px 0;gap:6px}
body.portal-shell .plan-cash-tabs a[aria-current="page"]{background:#1976ed;color:white;border-color:#1976ed;font-weight:700}
body.portal-shell .shop-data-legend{margin:0;font-size:12px;line-height:1.6}
body.portal-shell .shop-data-legend .entry-kind{font-size:11px;padding:2px 5px;margin:2px 4px 2px 0}
body.portal-shell .shop-month-scroll{max-height:440px;overflow:auto}
body.portal-shell .table-wrap .shop-month-table{table-layout:auto;min-width:720px;font-size:13px}
body.portal-shell .table-wrap .shop-month-table th,body.portal-shell .table-wrap .shop-month-table td{padding:7px 10px;white-space:nowrap;overflow-wrap:normal}
body.portal-shell .shop-month-table thead th{position:sticky;top:0;z-index:1}
body.portal-shell .shop-month-table tfoot{font-weight:700;background:#e8f1ff}
body.portal-shell .shop-month-table .is-today{background:#dcecff;box-shadow:inset 4px 0 #1976ed;font-weight:700}
body.portal-shell .shop-primary-save{font-size:17px;min-height:48px;padding:12px 26px;display:block;margin-top:14px}
body.portal-shell #bonusy-zmiany,body.portal-shell #kontrola-zamkniec,body.portal-shell #godziny-supervisora,body.portal-shell #zespol-stanowiska,body.portal-shell #sprzedaz-miesiaca,body.portal-shell #grafik-miesiaca,body.portal-shell #godziny-podsumowanie{scroll-margin-top:80px}
body.portal-shell .shop-team-positions>form{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px;border-bottom:1px solid #cbd9e9;padding:8px 0}
body.portal-shell .shop-team-positions>form button{margin:0 0 4px}
html[data-theme="dark"] body.portal-shell .shop-workspace{background:#182535;border-color:#3e536d}
html[data-theme="dark"] body.portal-shell .shop-month-table .is-today,html[data-theme="dark"] body.portal-shell .shop-month-table tfoot{background:#243f5e;color:#edf3ff}
@media(max-width:1440px){body.portal-shell .shop-workspace{padding:8px 10px}body.portal-shell .shop-workspace .plan-cash-tabs a{font-size:12px;padding:6px 8px}body.portal-shell .shop-month-scroll{max-height:380px}}
@media(max-width:600px){body.portal-shell .shop-team-positions>form{grid-template-columns:1fr}body.portal-shell .shop-primary-save{width:100%}}

body.portal-shell .shop-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
body.portal-shell .shop-task-list>a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px;border:1px solid #a6b9d2;border-radius:8px;text-decoration:none}
body.portal-shell .shop-task-list>a>span:last-child{grid-column:1/-1;font-size:12px;font-weight:700}
body.portal-shell .closing-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.portal-shell .closing-steps li{border:1px solid #98abc4;border-radius:8px}
body.portal-shell .closing-steps a{display:flex;flex-direction:column;gap:7px;padding:12px;text-decoration:none;height:100%;box-sizing:border-box}
body.portal-shell .closing-steps span{font-size:12px}
body.portal-shell .closing-steps .is-current{border:2px solid #1976ed;background:#e4efff}
body.portal-shell .closing-steps .is-done{border-color:#20805b;background:#e2f5eb}
body.portal-shell #potwierdz-zamkniecie{scroll-margin-top:80px;border-top:2px solid #a6b9d2;margin-top:18px;padding-top:8px}
html[data-theme="dark"] body.portal-shell .closing-steps .is-current{background:#203e62}
html[data-theme="dark"] body.portal-shell .closing-steps .is-done{background:#183d31}
@media(max-width:700px){body.portal-shell .closing-steps,body.portal-shell .shop-task-list{grid-template-columns:1fr}}

/* A visible end-of-work action on every authenticated portal page. */
.session-logout-fixed{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:1600;margin:0}.session-logout-fixed button{margin:0;background:#b52336;color:#fff;border:1px solid #d75462;box-shadow:0 3px 12px #0003;padding:12px 20px;font-weight:700;min-height:44px}@media print{.session-logout-fixed{display:none!important}}


/* Reklamacje produkcji */
body.portal-shell .rk-tabs a{display:inline-flex;align-items:center;gap:6px}
body.portal-shell .rk-count{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:99px;font-size:12px;font-weight:800;background:#0f1d3114;color:inherit}
body.portal-shell .rk-tabs a{font-weight:700;min-height:42px}
body.portal-shell .rk-tab{border-width:1px;border-style:solid}
body.portal-shell .rk-tab-new{background:#e7f0fd;border-color:#b9d2f7;color:#14478f}
body.portal-shell .rk-tab-progress{background:#fff3d6;border-color:#f0cf7f;color:#7a4b00}
body.portal-shell .rk-tab-later{background:#eef0f3;border-color:#cfd4db;color:#3f4650}
body.portal-shell .rk-tab-done{background:#e2f5eb;border-color:#a7dcbf;color:#13603a}
body.portal-shell .rk-tab-feedback{background:#f1e9fd;border-color:#d4bdf5;color:#5b2a9c}
body.portal-shell .rk-tab:hover{filter:brightness(.97)}
body.portal-shell .rk-tab-new[aria-current=page]{background:#2f80ed;border-color:#2f80ed;color:#fff}
body.portal-shell .rk-tab-progress[aria-current=page]{background:#d18b00;border-color:#d18b00;color:#1f1400}
body.portal-shell .rk-tab-later[aria-current=page]{background:#6b717b;border-color:#6b717b;color:#fff}
body.portal-shell .rk-tab-done[aria-current=page]{background:#1f8a54;border-color:#1f8a54;color:#fff}
body.portal-shell .rk-tab-feedback[aria-current=page]{background:#7a3fc8;border-color:#7a3fc8;color:#fff}
body.portal-shell .rk-tab[aria-current=page] .rk-dot{background:#fff;box-shadow:0 0 0 2px #ffffff55}
body.portal-shell .rk-tabs a[aria-current=page] .rk-count{background:#ffffff33}
body.portal-shell .rk-new>summary{color:#1565d8;font-size:17px}
body.portal-shell .rk-conflict{margin-bottom:14px}
body.portal-shell .rk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.portal-shell .rk-nowrap{white-space:nowrap}
body.portal-shell .rk-small-text{font-size:13px}
body.portal-shell .rk-status{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:99px;font-size:13px;font-weight:700;white-space:nowrap;border:1px solid transparent}
body.portal-shell .rk-status-new{background:#e7f0fd;color:#14478f;border-color:#b9d2f7}
body.portal-shell .rk-status-progress{background:#fff3d6;color:#7a4b00;border-color:#f0cf7f}
body.portal-shell .rk-status-later{background:#eef0f3;color:#454c56;border-color:#d3d7dd}
body.portal-shell .rk-status-done{background:#e2f5eb;color:#13603a;border-color:#a7dcbf}
body.portal-shell .rk-status-feedback{background:#f1e9fd;color:#5b2a9c;border-color:#d4bdf5}
body.portal-shell .rk-dot{width:10px;height:10px;padding:0;border-radius:50%;flex:none;border:0}
body.portal-shell .rk-status-new.rk-dot{background:#2f80ed}body.portal-shell .rk-status-progress.rk-dot{background:#e29500}body.portal-shell .rk-status-later.rk-dot{background:#8a8f98}body.portal-shell .rk-status-done.rk-dot{background:#27a567}body.portal-shell .rk-status-feedback.rk-dot{background:#8b4cd8}
body.portal-shell .rk-badge{display:inline-block;padding:1px 8px;border-radius:99px;background:#ffeedd;color:#8a3a06;font-size:12px;font-weight:700;white-space:nowrap}
body.portal-shell .rk-mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px}
body.portal-shell .rk-required{font-size:12px;font-weight:700;color:#a51b21}
body.portal-shell .rk-avatar{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;font-size:11px;font-weight:800;letter-spacing:.02em;line-height:1;background:hsl(var(--person-hue,210) 70% 90%);color:hsl(var(--person-hue,210) 60% 26%);box-shadow:inset 0 0 0 1px hsl(var(--person-hue,210) 45% 78%)}
body.portal-shell .rk-person{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;font-weight:inherit}
body.portal-shell .rk-person>span:last-child{overflow-wrap:normal;word-break:normal}
body.portal-shell .rk-nobody{color:#536071}
body.portal-shell .rk-filters{display:grid;grid-template-columns:2fr 1fr auto auto;gap:12px 18px;align-items:end}
body.portal-shell .rk-filters label{margin:0}body.portal-shell .rk-filters .filter-actions{grid-column:auto}body.portal-shell .rk-filters button{margin:0}
body.portal-shell .rk-filter-checks{display:flex;flex-direction:column;gap:2px}
body.portal-shell .rk-filter-checks .switch-line{display:flex;align-items:center;gap:8px;font-weight:600;white-space:nowrap}
body.portal-shell .rk-filter-checks input{width:auto}
body.portal-shell .rk-unread-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#1976ed;color:#fff;font-size:12px}
body.portal-shell .rk-ean-row input{max-width:340px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px;letter-spacing:.04em}
body.portal-shell .rk-lookup{margin:12px 0;padding:12px 16px;border:1px solid #d3e1f3;border-radius:8px;background:#f5f8fd}
body.portal-shell .rk-lookup p{margin:0 0 6px}body.portal-shell .rk-lookup ul{margin:0;padding-left:20px}
body.portal-shell .rk-lookup-found{font-weight:700;color:#13603a}body.portal-shell .rk-lookup-warning{font-weight:700;color:#8a3a06}body.portal-shell .rk-lookup-error{color:#a51b21;font-weight:700}
body.portal-shell .rk-chips{border:0;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px}
body.portal-shell .rk-chips legend{font-weight:700;margin-bottom:8px;padding:0}
body.portal-shell .rk-chip{margin:0;font-weight:500;position:relative}
body.portal-shell .rk-chip input{position:absolute;opacity:0;width:1px;height:1px}
body.portal-shell .rk-chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid #c4ccd6;border-radius:99px;background:#fff;cursor:pointer}
body.portal-shell .rk-chip input:checked+span{background:#1976ed;border-color:#1976ed;color:#fff;font-weight:700}
body.portal-shell .rk-chip input:focus-visible+span{outline:3px solid #1c579b;outline-offset:2px}
body.portal-shell .rk-duplicate{display:flex;gap:8px;align-items:center;margin-top:16px;padding:10px 14px;border:1px solid #f0cf7f;border-radius:8px;background:#fff8e6;font-weight:700}
body.portal-shell .rk-duplicate input{width:auto}
body.portal-shell .rk-duplicate[hidden]{display:none}
/* Action bar: status, assignment and editing in one place at the top of the complaint. */
body.portal-shell .rk-detail{padding:0 24px 24px;overflow:visible}
body.portal-shell .rk-bar{position:sticky;top:var(--portal-bar-height,56px);z-index:30;margin:0 -24px 20px;padding:14px 24px;background:#fff;border-bottom:1px solid #dfe5ec;border-radius:12px 12px 0 0;box-shadow:0 6px 14px -12px #0f1d3166}
body.portal-shell .rk-bar-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.portal-shell .rk-bar-id{font-size:20px}
body.portal-shell .rk-bar-spacer{flex:1}
body.portal-shell .rk-bar-form{margin:0}
body.portal-shell .rk-small{min-height:36px;padding:6px 12px;margin:0;font-size:13px}
body.portal-shell .rk-bar-row{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap;margin-top:12px}
body.portal-shell .rk-bar-group{display:flex;align-items:center;gap:10px;min-width:0}
body.portal-shell .rk-bar-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#536071}
body.portal-shell .rk-steps{display:flex;gap:4px;padding:3px;border:1px solid #dfe5ec;border-radius:10px;background:#f6f8fa;overflow-x:auto;max-width:100%}
body.portal-shell .rk-step{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border-radius:7px;text-decoration:none;color:#293647;font-size:14px;font-weight:600;white-space:nowrap}
body.portal-shell a.rk-step:hover{background:#e9eef5}
body.portal-shell .rk-step.is-current{background:#fff;color:#0f1d31;box-shadow:0 1px 3px #0f1d3126,inset 0 0 0 1px #c9d4e2;font-weight:800}
body.portal-shell .rk-menu{position:relative}
body.portal-shell .rk-menu summary{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 12px 4px 6px;border:1px solid #dfe5ec;border-radius:99px;cursor:pointer;list-style:none;background:#fff;font-weight:600}
body.portal-shell .rk-menu summary::-webkit-details-marker{display:none}
body.portal-shell .rk-caret{font-size:12px;color:#536071}
body.portal-shell .rk-menu ul{position:absolute;left:0;top:calc(100% + 6px);z-index:40;min-width:260px;max-height:340px;overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #dfe5ec;border-radius:10px;box-shadow:0 12px 30px #0f1d3129}
body.portal-shell .rk-menu li a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:7px;text-decoration:none;color:#17191d}
body.portal-shell .rk-menu li a:hover,body.portal-shell .rk-menu li a:focus-visible{background:#eef3fa}
body.portal-shell .rk-menu li small{color:#536071}
body.portal-shell .rk-menu li.muted{padding:8px 10px}
body.portal-shell .rk-edit-button{margin:0 0 0 auto;padding:9px 16px;min-height:40px;display:inline-flex;align-items:center}
body.portal-shell .rk-meta{margin:0 0 4px;font-size:14px}
body.portal-shell .rk-detail h2{margin:2px 0 6px}
body.portal-shell .rk-columns{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;margin-top:20px}
body.portal-shell .rk-columns:not(:has(.rk-side)){grid-template-columns:minmax(0,1fr)}
body.portal-shell .rk-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px}
body.portal-shell .rk-facts dt{margin-top:10px}
body.portal-shell .rk-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:10px 0}
body.portal-shell .rk-photo{display:block;aspect-ratio:1;border:1px solid #d3dae3;border-radius:8px;overflow:hidden;background:#eef1f5}
body.portal-shell .rk-photo img{display:block;width:100%;height:100%;object-fit:cover}
body.portal-shell .rk-timeline{list-style:none;margin:0;padding:0}
body.portal-shell .rk-event{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eceff3}
body.portal-shell .rk-event-body{flex:1;min-width:0}
body.portal-shell .rk-event p{margin:2px 0}
body.portal-shell .rk-event-head{font-size:14px}
body.portal-shell .rk-event-komentarz .rk-event-body{background:#f6f8fa;padding:10px 14px;border-radius:0 10px 10px 10px}
body.portal-shell .rk-comment{margin-top:16px;padding-top:8px;border-top:1px solid #d3dae3}
body.portal-shell .rk-side h3{font-size:16px;margin-top:0}
body.portal-shell .rk-same{list-style:none;margin:0;padding:0}
body.portal-shell .rk-same li{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:10px 0;border-bottom:1px solid #eceff3}
body.portal-shell .rk-same a{flex-basis:100%}
/* Confirmation window, rendered by the server so it works without scripts and inside the CSP. */
body.portal-shell .rk-modal-backdrop{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px;background:#0b1320a6;overflow:auto}
body.portal-shell .rk-modal{width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:24px;border-radius:14px;background:#fff;box-shadow:0 24px 60px #0008}
body.portal-shell .rk-modal-wide{width:min(820px,100%)}
body.portal-shell .rk-modal h2{margin:0 0 12px;font-size:21px}
body.portal-shell .rk-change{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:16px;margin:0 0 8px}
body.portal-shell .rk-change .rk-status{font-size:14px;padding:5px 12px}
body.portal-shell .rk-modal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
body.portal-shell .rk-modal-actions button{margin:0}
body.portal-shell .rk-modal-actions .button-link{margin:0;background:#fff;color:#202733;border:1px solid #84909f}
/* List */
body.portal-shell .rk-table td{vertical-align:middle}
body.portal-shell .rk-table tr[aria-current=true]{background:#e9f1fd}
body.portal-shell .rk-table tbody tr:not(.rk-unread) td{font-weight:400}
body.portal-shell .rk-table tbody tr:not(.rk-unread) a{font-weight:500}
body.portal-shell .rk-table tr.rk-unread td,body.portal-shell .rk-table tr.rk-unread a{font-weight:800;color:#0f1d31}
body.portal-shell .rk-table tr.rk-unread{background:#f4f8ff}
body.portal-shell .rk-new-dot{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#1976ed;vertical-align:middle}
body.portal-shell .rk-people form.rk-inline-form{margin-top:0}
body.portal-shell .rk-inline-form{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;margin-top:16px}
body.portal-shell .rk-inline-form label{margin:0;min-width:200px}body.portal-shell .rk-inline-form button{margin:0}
body.portal-shell .rk-inline-form .switch-line{min-width:0;display:flex;gap:8px;align-items:center;min-height:48px}
body.portal-shell .rk-inline-form .switch-line input{width:auto}
@media(max-width:1100px){body.portal-shell .rk-columns{grid-template-columns:minmax(0,1fr)}body.portal-shell .rk-facts{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-shell .rk-filters{grid-template-columns:2fr 1fr}body.portal-shell .rk-edit-button{margin-left:0}}
@media(max-width:700px){
body.portal-shell .rk-filters{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:16px}
body.portal-shell .rk-filters>label:first-of-type{grid-column:1/-1}
body.portal-shell .rk-filters>label:nth-of-type(2){grid-column:1/-1}
body.portal-shell .rk-filter-checks{flex-direction:row;flex-wrap:wrap;gap:4px 14px}
body.portal-shell .rk-filters .filter-actions button{width:auto;min-height:44px;padding:8px 18px}
body.portal-shell .rk-detail{padding:0 16px 20px}body.portal-shell .rk-bar{margin:0 -16px 16px;padding:12px 16px}
body.portal-shell .rk-bar-group{width:100%;flex-wrap:wrap}
body.portal-shell .rk-steps{width:100%;flex-wrap:wrap;overflow:visible}
body.portal-shell .rk-step{flex:1 1 30%;justify-content:center;min-height:44px}
body.portal-shell .rk-bar{position:static;box-shadow:none}
body.portal-shell .rk-edit-button{width:100%;justify-content:center}
body.portal-shell .rk-facts{grid-template-columns:1fr}
body.portal-shell .rk-inline-form label{min-width:0;flex:1 1 100%}
body.portal-shell .rk-inline-form button{width:100%}
body.portal-shell .rk-ean-row input{max-width:none}
body.portal-shell .rk-modal-backdrop{place-items:end stretch;padding:0}
body.portal-shell .rk-modal{width:100%;max-height:92vh;border-radius:16px 16px 0 0;padding:20px 18px 28px}
body.portal-shell .rk-modal-actions{flex-direction:column-reverse;align-items:stretch}
body.portal-shell .rk-modal-actions .button-link{text-align:center}
body.portal-shell .rk-table{min-width:0}
body.portal-shell .rk-table thead{display:none}
body.portal-shell .rk-table,body.portal-shell .rk-table tbody,body.portal-shell .rk-table tr,body.portal-shell .rk-table td{display:block;width:100%;max-width:none}
body.portal-shell .rk-table tr{padding:12px 0;border-bottom:1px solid #d3dae3}
body.portal-shell .rk-table td{padding:3px 0;border:0}
body.portal-shell .rk-table td[data-label=Status],body.portal-shell .rk-table td[data-label=Przypisane]{display:inline-block;width:auto;margin-right:12px}
body.portal-shell .rk-table td[data-label=Zgłoszono]{font-size:13px;color:#536071}
body.portal-shell .rk-table td[data-label=Zgłoszono] br{display:none}
body.portal-shell .rk-table td[data-label=Zgłoszono] .rk-person{margin-left:8px}
body.portal-shell .rk-table td[data-label=Zgłoszono]::before,body.portal-shell .rk-table td[data-label="Ostatnia aktywność"]::before{content:attr(data-label) ": ";display:inline;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#536071}
body.portal-shell .rk-table td[data-label="Ostatnia aktywność"] br{display:none}
body.portal-shell .rk-table td[data-label="Ostatnia aktywność"] .rk-small-text::before{content:" · "}
}
/* Navigation, spacing and team owners */
body.portal-shell .rk-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 10px;font-size:14px;color:#536071}
body.portal-shell .rk-crumbs a{font-weight:600}
body.portal-shell .rk-home{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid #c9d4e2;border-radius:99px;background:#fff;color:#14345d;text-decoration:none;font-weight:700}
body.portal-shell .rk-home:hover{background:#eef3fa}
body.portal-shell .rk-detail h2{margin:4px 0 10px}
body.portal-shell .rk-meta{margin:0 0 8px}
body.portal-shell .rk-columns{margin-top:28px;gap:36px}
body.portal-shell .rk-facts{gap:6px 28px;margin:0 0 28px}
body.portal-shell .rk-facts dt{margin-top:14px;margin-bottom:2px}
body.portal-shell .rk-main>h3{margin:32px 0 12px}
body.portal-shell .rk-main>h3:first-child{margin-top:0}
body.portal-shell .rk-main>p{margin:0 0 12px;line-height:1.6}
body.portal-shell .rk-main>.rk-photos{margin-bottom:8px}
body.portal-shell .rk-event{padding:16px 0;gap:14px}
body.portal-shell .rk-event p{margin:4px 0;line-height:1.55}
body.portal-shell .rk-event-komentarz .rk-event-body{padding:12px 16px}
body.portal-shell .rk-comment{margin-top:24px;padding-top:16px}
body.portal-shell .rk-modal label{margin-top:16px}
body.portal-shell .rk-owner{display:flex;align-items:center;gap:8px;margin:3px 0;white-space:nowrap}
body.portal-shell .rk-owner-team{min-width:72px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#536071}
@media(max-width:700px){body.portal-shell .rk-owner{display:inline-flex;margin-right:14px}body.portal-shell .rk-owner-team{min-width:0}body.portal-shell .rk-facts{margin-bottom:20px}}
body.portal-shell .rk-delete-link{color:#a51b21;font-weight:700;font-size:14px;margin-left:4px}
body.portal-shell button.rk-danger{background:#a51b21;border-color:#a51b21}body.portal-shell button.rk-danger:hover{background:#861418}
/* Dark mode for this module: true black (AMOLED) with borders and status colours that stay readable. */
html[data-theme="dark"] body.portal-shell:has(main[data-page="reklamacje-produkcji"]){background:#08090b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"]{color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .card,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-bar{background:#101114;border-color:#2b2d33;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-modal{background:#16171b;border-color:#33363d;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .card{box-shadow:none}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-bar{border-bottom-color:#2b2d33;box-shadow:0 8px 16px -12px #000}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] h1,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] h2,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] h3,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] label,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] legend,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] dd{color:#f2f2f3}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .muted,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] dt,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .intro,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-bar-label,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-caret,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-nobody,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu li small{color:#a1a1a6}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] a{color:#7fb2ff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .button-link,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] button:not(.secondary){background:#1976ed;border-color:#1976ed;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .button-link:hover,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] button:not(.secondary):hover{background:#3d8bff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] input,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] select,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] textarea{background:#17181c;border-color:#40434b;color:#f2f2f3}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] input::placeholder,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] textarea::placeholder{color:#6e6e73}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .secondary,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-modal-actions .button-link{background:#1b1c21;color:#f2f2f3;border-color:#40434b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .module-tabs a{background:#17181c;border-color:#2b2d33;color:#d6d6d8}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .module-tabs a[aria-current=page]{background:#1976ed;border-color:#1976ed;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .operation-details>summary{background:#17181c;color:#f2f2f3;border-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .data-table thead th{background:#17181c;color:#c7c7cc;border-bottom-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .data-table th,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .data-table td{border-bottom-color:#22242a;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .data-table tbody tr:hover{background:#191b20}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tr.rk-unread{background:#0d1a2b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tr.rk-unread td,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tr.rk-unread a{color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tr[aria-current=true]{background:#0c1a2e}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-new-dot,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-unread-count{background:#3d8bff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-new{background:#08203f;color:#a9cbff;border-color:#1d4f8f}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-progress{background:#2a1c00;color:#ffd27a;border-color:#6b4a00}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-later{background:#1e1f24;color:#c7c7cc;border-color:#40434b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-done{background:#03231a;color:#8fe3b8;border-color:#16603f}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-feedback{background:#1c0d33;color:#d3b6ff;border-color:#4d2a85}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-new.rk-dot{background:#3d8bff}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-progress.rk-dot{background:#f2a91c}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-later.rk-dot{background:#8e8e93}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-done.rk-dot{background:#30c27a}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-status-feedback.rk-dot{background:#a876f0}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-avatar{background:hsl(var(--person-hue,210) 45% 16%);color:hsl(var(--person-hue,210) 85% 80%);box-shadow:inset 0 0 0 1px hsl(var(--person-hue,210) 40% 34%)}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-badge{background:#2b1505;color:#ffc48f}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-steps{background:#17181c;border-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-step{color:#c7c7cc}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] a.rk-step:hover{background:#202228}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-step.is-current{background:#24262c;color:#fff;box-shadow:inset 0 0 0 1px #48484d}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu summary,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu ul{background:#17181c;border-color:#40434b;color:#f2f2f3}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu li a{color:#f2f2f3}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu li a:hover,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-menu li a:focus-visible{background:#24262c}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-modal-backdrop{background:#000c}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-modal{border:1px solid #2c2c2f;box-shadow:0 24px 60px #000}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-lookup{background:#06101d;border-color:#1d3557}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-lookup-found{color:#8fe3b8}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-lookup-warning{color:#ffc48f}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-chip span{background:#17181c;border-color:#40434b;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-chip input:checked+span{background:#1976ed;border-color:#1976ed;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-duplicate{background:#2a1c00;border-color:#6b4a00;color:#ffe2a8}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-event,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-same li{border-bottom-color:#22242a}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-event-komentarz .rk-event-body{background:#191b20;border:1px solid #2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-comment{border-top-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-photo{background:#17181c;border-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-required{color:#ff8a8a}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .message{background:#06101d;border-color:#1d3557;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .message.error{background:#2a1500;border-color:#8a4b00;color:#ffe2a8}
@media(max-width:700px){html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table td::before{color:#a1a1a6}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tr{border-bottom-color:#22242a}html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table td[data-label=Zgłoszono]{color:#a1a1a6}}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-new{background:#0d2340;border-color:#24508a;color:#b9d4ff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-progress{background:#2d2108;border-color:#6e5115;color:#ffd98c}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-later{background:#1e2026;border-color:#454952;color:#d3d6dc}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-done{background:#0b2a1e;border-color:#226b49;color:#a5ecc7}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-feedback{background:#211338;border-color:#57348f;color:#dcc6ff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-new[aria-current=page]{background:#2f80ed;border-color:#2f80ed;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-progress[aria-current=page]{background:#d18b00;border-color:#d18b00;color:#111}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-later[aria-current=page]{background:#7d828c;border-color:#7d828c;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-done[aria-current=page]{background:#1f9d5f;border-color:#1f9d5f;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs a.rk-tab-feedback[aria-current=page]{background:#8b4cd8;border-color:#8b4cd8;color:#fff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tabs .rk-count{background:#ffffff1f;color:inherit}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-new>summary{color:#8dbbff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-crumbs,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-owner-team{color:#a1a1a6}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-home{background:#17181c;border-color:#40434b;color:#f2f2f3}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-home:hover{background:#202228}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-delete-link{color:#ff8a8a}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] button.rk-danger{background:#c0262d;border-color:#c0262d}
/* Reklamacje produkcji: new-complaint button in view, outcome box, quieter list and detail actions. */
body.portal-shell .rk-lead{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:0 0 14px}
body.portal-shell .rk-lead .intro{margin:0}
body.portal-shell .rk-new-button{min-height:42px;padding:9px 18px;font-weight:800}
body.portal-shell .rk-new>summary{pointer-events:none}
body.portal-shell .rk-resolution{margin:18px 0 6px;padding:14px 18px;border:1px solid #a7dcbf;border-left-width:5px;border-radius:10px;background:#f1faf5}
body.portal-shell .rk-resolution h3{margin:0 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#13603a}
body.portal-shell .rk-resolution p{margin:2px 0}
body.portal-shell .rk-resolution.is-missing{border-color:#e6c46a;background:#fffaeb}
body.portal-shell .rk-resolution.is-missing h3{color:#7a4b00}
body.portal-shell .rk-uncertain{margin:10px 0 0;font-size:14px;background:#fff3d6;border-color:#e6c46a;color:#5c3900}
body.portal-shell .rk-avatar.rk-avatar-system{background:#eef0f3;color:#3f4650;box-shadow:inset 0 0 0 1px #d3dae3}
body.portal-shell .rk-more{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0 0}
body.portal-shell .rk-table tbody tr[data-rk-href]{cursor:pointer}
body.portal-shell .rk-table tbody tr[data-rk-href]:hover{background:#f6f9fd}
body.portal-shell .rk-bar-top .rk-small{min-height:36px;display:inline-flex;align-items:center}
body.portal-shell .rk-bar-top .rk-bar-form button.rk-small{margin:0}
@media(max-width:700px){
body.portal-shell .rk-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
body.portal-shell .rk-tabs a{flex:none}
body.portal-shell .rk-new-button{width:100%;justify-content:center}
body.portal-shell .rk-lead-detail{display:none}
}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-resolution{background:#03231a;border-color:#16603f;color:#e9e9ea}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-resolution h3{color:#8fe3b8}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-resolution.is-missing,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-uncertain{background:#2a1f05;border-color:#6b5214;color:#f3dfa8}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-resolution.is-missing h3{color:#f3c969}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-avatar.rk-avatar-system{background:#1d1f24;color:#c9cbd1;box-shadow:inset 0 0 0 1px #40434b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-table tbody tr[data-rk-href]:hover{background:#17181c}
/* Reklamacje produkcji: filtry dodatkowe, obserwowanie, podgląd zdjęć, statystyki */
body.portal-shell .rk-more-filters{grid-column:1/-1;border-top:1px solid #eceff3;padding-top:10px}
body.portal-shell .rk-more-filters>summary{cursor:pointer;font-weight:600;font-size:14px;color:#1d5fbf;width:max-content}
body.portal-shell .rk-more-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px;align-items:end;margin-top:12px}
body.portal-shell .rk-more-grid label{margin:0}
body.portal-shell .rk-more-check{display:flex;align-items:center;gap:8px;font-weight:600;grid-column:1/-1}
body.portal-shell .rk-more-check input{width:auto}
body.portal-shell .rk-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
body.portal-shell .rk-export{font-size:14px;font-weight:600}
body.portal-shell .rk-watch-mark{font-size:12px;font-weight:600;color:#1d5fbf}
body.portal-shell button.rk-watching{border-color:#1d5fbf;color:#1d5fbf}
body.portal-shell .rk-watchers .rk-person{margin-right:10px}
body.portal-shell .rk-side h3:not(:first-child){margin-top:24px}
body.portal-shell .rk-filled{background:#f1faf5;border-color:#a7dcbf}
body.portal-shell .rk-picked{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
body.portal-shell .rk-picked-item{position:relative;width:72px;height:72px;border:1px solid #d3dae3;border-radius:8px;overflow:hidden;background:#eef1f5}
body.portal-shell .rk-picked-item img{width:100%;height:100%;object-fit:cover;display:block}
body.portal-shell button.rk-picked-remove{position:absolute;top:2px;right:2px;width:24px;height:24px;min-height:0;margin:0;padding:0;border:0;border-radius:99px;background:#000a;color:#fff;font-size:16px;line-height:1;cursor:pointer}
body.portal-shell form.rk-dropping{outline:2px dashed #1976ed;outline-offset:6px;border-radius:10px}
body.portal-shell .rk-lightbox{position:fixed;inset:0;z-index:3000;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);align-items:center;justify-items:center;gap:8px;padding:12px;background:#000d}
body.portal-shell .rk-lightbox img{grid-column:2;grid-row:2;max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;background:#111}
body.portal-shell .rk-lightbox-bar{grid-column:1/-1;display:flex;align-items:center;gap:16px;width:100%;color:#fff;font-size:14px}
body.portal-shell .rk-lightbox-bar a{color:#cfe2ff;margin-left:auto}
body.portal-shell .rk-lightbox button{min-height:40px;margin:0;padding:6px 14px;border:1px solid #fff6;border-radius:8px;background:#fff2;color:#fff;font-size:14px;cursor:pointer}
body.portal-shell .rk-lightbox button:hover{background:#fff4}
body.portal-shell .rk-lightbox .rk-lightbox-nav{grid-row:2;font-size:30px;line-height:1;padding:10px 14px}
body.portal-shell .rk-lightbox-prev{grid-column:1}
body.portal-shell .rk-lightbox-next{grid-column:3}
body.portal-shell .rk-stats{--rk-series-1:#2a78d6;--rk-series-2:#eb6834}
body.portal-shell .rk-stats h3{margin-top:28px}
body.portal-shell .rk-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 4px}
body.portal-shell .rk-tile{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc}
body.portal-shell .rk-tile-label{font-size:13px;color:#5b6675}
body.portal-shell .rk-tile strong{font-size:26px;line-height:1.2}
body.portal-shell .rk-tile small{font-size:12.5px;color:#5b6675}
body.portal-shell .rk-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0 10px;font-size:13px;color:#5b6675}
body.portal-shell .rk-legend span{display:inline-flex;align-items:center;gap:6px}
body.portal-shell .rk-swatch{display:inline-block;width:10px;height:10px;border-radius:3px}
body.portal-shell .rk-series-1{background:var(--rk-series-1)}
body.portal-shell .rk-series-2{background:var(--rk-series-2)}
body.portal-shell .rk-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;border-bottom:1px solid #cfd6df;padding:0 2px}
body.portal-shell .rk-month{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
body.portal-shell .rk-month-bars{display:flex;align-items:flex-end;justify-content:center;gap:2px;width:100%;height:150px}
body.portal-shell .rk-col{display:block;width:min(40%,16px);border-radius:4px 4px 0 0}
body.portal-shell .rk-month:hover .rk-col{filter:brightness(.88)}
body.portal-shell .rk-month-label{font-size:12px;color:#5b6675;padding-bottom:4px}
body.portal-shell .rk-stats-table{margin-top:10px}
body.portal-shell .rk-stats-table summary{cursor:pointer;font-size:14px;font-weight:600;color:#1d5fbf;width:max-content}
body.portal-shell .rk-bars{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
body.portal-shell .rk-bars li{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr) 48px;gap:12px;align-items:center}
body.portal-shell .rk-bars strong{text-align:right;font-variant-numeric:tabular-nums}
body.portal-shell .rk-bar-track{display:block;height:10px;border-radius:99px;background:#eef1f5;overflow:hidden}
body.portal-shell .rk-bar-fill{display:block;height:100%;border-radius:0 4px 4px 0}
body.portal-shell .rk-top-count{display:grid;grid-template-columns:32px minmax(60px,160px);gap:10px;align-items:center}
body.portal-shell .rk-top-count strong{font-variant-numeric:tabular-nums}
@media(max-width:1100px){body.portal-shell .rk-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-shell .rk-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.portal-shell .rk-more-grid{grid-template-columns:1fr}body.portal-shell .rk-bars li{grid-template-columns:minmax(0,1fr) 40px}body.portal-shell .rk-bars .rk-bar-track{grid-column:1/-1;grid-row:2}body.portal-shell .rk-month-bars{height:110px}body.portal-shell .rk-lightbox{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}body.portal-shell .rk-lightbox img{grid-column:1/-1}body.portal-shell .rk-lightbox .rk-lightbox-nav{grid-row:3}body.portal-shell .rk-lightbox-prev{grid-column:1;justify-self:end}body.portal-shell .rk-lightbox-next{grid-column:2;justify-self:start}}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-more-filters{border-top-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-more-filters>summary,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-stats-table summary,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-watch-mark{color:#7fb2ff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] button.rk-watching{border-color:#3d8bff;color:#9cc4ff}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-filled{background:#03231a;border-color:#16603f}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-picked-item{background:#17181c;border-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-stats{--rk-series-1:#3987e5;--rk-series-2:#d95926}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tile{background:#17181c;border-color:#2b2d33}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tile-label,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-tile small,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-legend,html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-month-label{color:#a1a1a6}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-months{border-bottom-color:#40434b}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-month:hover .rk-col{filter:brightness(1.18)}
html[data-theme="dark"] main[data-page="reklamacje-produkcji"] .rk-bar-track{background:#24262c}

/* Module navigation stays in the sidebar, including accounting sections. */
@media screen{.portal-sidebar .sidebar-submenu{margin:0 0 10px 12px;padding-left:7px;border-left:1px solid #47688b}body.portal-shell .portal-sidebar .sidebar-submenu a{font-size:12px;padding:7px 8px}.portal-sidebar .sidebar-submenu a[aria-current=page]{background:#22558a;color:#fff}}
