:root{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#eef3f5;color:#16243d}*{box-sizing:border-box}body{margin:0}.shell{max-width:560px;min-height:100dvh;margin:auto;padding:0 16px 30px}.hero{margin:0 -16px 20px;padding:32px 24px 29px;background:#16243d;color:white;border-radius:0 0 22px 22px}.brand{font-size:25px;font-weight:800;letter-spacing:-1px}.brand small{font-size:12px;font-weight:600;letter-spacing:2px;color:#a9c2d1}.hero h1{font-size:27px;margin:23px 0 6px}.hero p{font-size:14px;color:#c6d6df;margin:0}.card{padding:22px;background:white;border:1px solid #dbe5ea;border-radius:18px;box-shadow:0 8px 30px #0d2c4010}.card h2{font-size:21px;margin:0 0 14px}.hint{font-size:14px;color:#637687;line-height:1.4}.card label{display:block;font-size:14px;font-weight:650;margin:18px 0 0}.card input,.card select,.card textarea{display:block;width:100%;margin-top:7px;padding:13px 12px;border:1px solid #becdd5;border-radius:10px;font:inherit;color:#16243d;background:white}.card textarea{resize:vertical;min-height:130px}.card input:focus,.card select:focus,.card textarea:focus{outline:2px solid #20866e;outline-offset:1px}.primary{width:100%;padding:15px;margin-top:22px;background:#13856a;color:white;border:0;border-radius:11px;font:inherit;font-weight:700;cursor:pointer}.primary:disabled{opacity:.55;cursor:wait}.account{display:flex;justify-content:space-between;align-items:center;color:#566c7d;font-size:14px}.subtle{border:0;background:none;color:#146c61;font:inherit;font-weight:650;cursor:pointer}.actions{display:grid;gap:14px;margin-top:26px}.action{display:flex;align-items:center;gap:16px;width:100%;min-height:94px;padding:19px;border:1px solid #c7ded7;border-radius:16px;background:#f1faf7;color:#133b34;text-align:left;font:inherit;font-size:20px;font-weight:750;cursor:pointer}.actionIcon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#d7f0e6;font-size:27px}.warehouseAction{background:#edf3fa;border-color:#c9d8e8;color:#162e50}.warehouseAction .actionIcon{background:#dbe7f4}.warehouseAction strong,.warehouseAction small{display:block}.warehouseAction small{margin-top:4px;font-size:13px;font-weight:550;color:#61758d}.heading{display:flex;gap:8px;align-items:center}.heading h2{margin:0}.projectBadge{background:#e9f5f1;color:#19614e;border-radius:8px;padding:9px 11px;font-weight:650;font-size:14px}.syncInfo{padding:10px 12px;margin:10px 0 0;border-radius:9px;background:#eef7f4;color:#245c4f;font-size:13px}.syncInfo.stale{background:#fff3dc;color:#83530d}.warehouseList{display:grid;gap:9px;margin-top:16px}.warehouseItem{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px;border:1px solid #d6e1e7;border-radius:12px;background:#fff;color:#16243d;text-align:left;font:inherit;cursor:pointer}.warehouseItem:active{background:#eef7f4}.warehouseItemDetail{min-width:0}.warehouseItem strong,.warehouseItem small{display:block}.warehouseItem strong{font-size:15px}.warehouseItem small{margin-top:4px;color:#6a7d8d;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.warehouseItem b{flex:0 0 auto;color:#146c61;font-size:15px}.warehouseFooter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px;color:#697a89;font-size:12px}.secondary{padding:10px 13px;border:1px solid #b8c9d3;border-radius:9px;background:#f5f8fa;color:#17384d;font:inherit;font-weight:650}.emptyState{padding:20px 12px;text-align:center;color:#6a7d8d;background:#f5f8fa;border-radius:10px}.materialSummary{display:grid;gap:5px;margin-top:18px;padding:14px;border-radius:11px;background:#eef7f4}.materialSummary span{font-size:12px;color:#61788a}.materialSummary b{color:#146c61}.hint.compact{margin:7px 0 0}.dangerAware{background:#16243d}#photoPreview{display:block;max-width:100%;max-height:340px;object-fit:contain;margin:14px auto;border-radius:8px}#photoPreview[hidden],[hidden]{display:none!important}.status{min-height:24px;margin:18px 4px;font-size:14px;color:#245c4f}.status.error{color:#a23030}.status.success{font-weight:650}
.warehouseHistory{margin-top:22px;border-top:1px solid #e1e8ed;padding-top:14px}.warehouseHistory h3{margin:0 0 9px;font-size:14px;color:#526779}.warehouseHistoryItem{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:9px 0;border-bottom:1px solid #edf1f4;font-size:12px}.warehouseHistoryItem b{color:#8a5b16}.warehouseHistoryItem.applied b{color:#147058}.warehouseHistoryItem.rejected b{color:#a23030}.warehouseHistoryItem small{grid-column:1/-1;color:#a23030}
.warehouseItemSide{flex:0 0 auto;text-align:right}.warehouseItemSide b,.warehouseItemSide small{display:block}.warehouseItemSide small{margin-top:4px;color:#6b7788;font-size:11px}.lockedInfo{display:flex;gap:13px;align-items:flex-start;margin-top:18px;padding:15px;border-radius:11px;background:#eef3fa;color:#203c60}.lockedInfo>span{font-size:25px}.lockedInfo strong{display:block}.lockedInfo p{margin:5px 0 0;color:#60738b;font-size:13px;line-height:1.45}

/* Czytelny, tabelaryczny magazyn mobilny. */
.warehouseCard{padding:18px 14px}.warehouseSearchLabel{margin-top:14px!important}.warehouseSearchLabel input{padding-left:15px!important;background:#fff;border:2px solid #b8c9d3!important}.warehouseToolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 2px 9px;color:#506579;font-size:13px}.warehouseToolbar strong{color:#16243d;font-size:14px}.readOnlyBadge{padding:6px 9px;border-radius:999px;background:#e9f5f1;color:#17624f;font-weight:700;font-size:11px;white-space:nowrap}.warehouseTable{overflow:hidden;border:1px solid #cbd8df;border-radius:13px;background:#fff;box-shadow:0 5px 18px #17384d0d}.warehouseTableHeader{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;padding:10px 13px;background:#16243d;color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.warehouseTableHeader span:last-child{text-align:right}.warehouseTable .warehouseList{display:block;margin:0}.warehouseTable .warehouseItem{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;min-height:68px;padding:12px 13px;border:0;border-bottom:1px solid #e3e9ed;border-radius:0}.warehouseTable .warehouseItem:last-child{border-bottom:0}.warehouseTable .warehouseItem:nth-child(even){background:#f8fafb}.warehouseTable .warehouseItem:active{background:#e9f5f1}.warehouseItemDetail{align-self:center}.warehouseItemDetail strong{line-height:1.25}.warehouseItemMeta{display:flex!important;align-items:center;gap:6px;min-width:0}.warehouseItemMeta>span:not(.warehouseCode){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouseCode{flex:0 0 auto;padding:2px 6px;border-radius:5px;background:#e8eef3;color:#314f64;font-weight:750}.warehouseItemSide{align-self:center}.warehouseItemSide b{display:inline-block!important;padding:6px 8px;border-radius:8px;background:#dff2eb;color:#0f684f!important;font-size:14px!important}.warehouseItemSide small{font-weight:650}.warehouseAutoInfo{margin:11px 2px 0;color:#687b8b;font-size:11px;line-height:1.4}.warehouseFooter{align-items:flex-start}.warehouseFooter>span{text-align:right;line-height:1.35}
@media (min-width:520px){.warehouseCard{padding:22px}.warehouseTableHeader,.warehouseTable .warehouseItem{grid-template-columns:minmax(0,1fr) 132px;padding-left:16px;padding-right:16px}}
@media (max-width:370px){.warehouseToolbar{align-items:flex-start;flex-direction:column}.warehouseTableHeader,.warehouseTable .warehouseItem{grid-template-columns:minmax(0,1fr) 92px}.warehouseItemSide b{font-size:13px!important}.readOnlyBadge{white-space:normal}}

/* Magazyn na telefonie: zwijane działy i czytelne stany pojedynczych pozycji. */
.warehouseBrowseHint{margin:4px 2px 12px;color:#607388;font-size:12px;line-height:1.45}
.warehouseGroups{display:grid;gap:10px;margin-top:8px}
.warehouseGroup{overflow:hidden;border:1px solid #d3e0e6;border-radius:13px;background:#fff;box-shadow:0 4px 14px #17384d0a}
.warehouseGroup summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 14px;background:#eaf2f6;color:#17384d;cursor:pointer;list-style:none}
.warehouseGroup summary::-webkit-details-marker{display:none}
.warehouseGroup summary strong{font-size:14px;line-height:1.25}
.warehouseGroup summary span{flex:0 0 auto;min-width:28px;padding:4px 7px;border-radius:8px;background:#fff;color:#22546a;text-align:center;font-size:12px;font-weight:750}
.warehouseGroup[open] summary{border-bottom:1px solid #dce6eb;background:#dcefeb}
.warehouseGroupRows .warehouseItem{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:64px;padding:10px 13px;border:0;border-bottom:1px solid #e8edf0;border-radius:0;box-shadow:none}
.warehouseGroupRows .warehouseItem:last-child{border-bottom:0}
.warehouseGroupRows .warehouseItem:nth-child(even){background:#f8fafb}
.warehouseGroupRows .warehouseItemDetail strong{font-size:14px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.warehouseGroupRows .warehouseItemDetail small{font-size:11px;color:#687c8c;white-space:normal;overflow-wrap:anywhere}
.warehouseGroupRows .warehouseItemSide{min-width:80px}
.warehouseGroupRows .warehouseItemSide b{display:block!important;padding:5px 8px;border-radius:7px;background:#dff2eb;color:#0e684f;font-size:14px;white-space:nowrap}
.warehouseGroupRows .warehouseItemSide small{margin-top:4px;font-size:10px}
.photoPicker{margin-top:18px}.photoPickerLabel{display:block;font-size:14px;font-weight:650}.photoSourceButtons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:9px}.photoSource{min-height:54px;padding:10px 8px;border:1px solid #a6c9be;border-radius:11px;background:#edf8f4;color:#145947;font:inherit;font-size:14px;font-weight:750;cursor:pointer}.photoSource:active{background:#dcefe8}.photoSource:focus-visible{outline:3px solid #20866e;outline-offset:2px}.photoSelection{margin:10px 2px 0;color:#607388;font-size:13px;overflow-wrap:anywhere}.visuallyHidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media (max-width:360px){.photoSourceButtons{grid-template-columns:1fr}}
.documentList{display:grid;gap:12px;margin:20px 0}.documentCard{display:grid;gap:5px;padding:15px;border:1px solid #d6e1e7;border-radius:12px;background:#f8fbfd;overflow-wrap:anywhere}.documentCard strong{font-size:16px}.documentCard small{font-size:12px;color:#61758d}.documentCard p{margin:3px 0;color:#526175;font-size:13px}.documentCard button{margin-top:8px;justify-self:start}.secondary{padding:10px 13px;border:1px solid #abc4d4;border-radius:9px;background:#eaf3f8;color:#163d55;font:inherit;font-weight:650;cursor:pointer}
.tasksList{display:grid;gap:12px;margin:19px 0}.taskCard{padding:14px;border:1px solid #d6e1e7;border-radius:12px;background:#f8fbfd;overflow-wrap:anywhere}.taskCard.urgent{border-left:5px solid #cf6332}.taskCard.done{opacity:.68}.taskCard strong{display:block;font-size:16px}.taskCard p{margin:9px 0;color:#455b6d;font-size:14px;white-space:pre-wrap}.taskMeta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.taskMeta span{padding:5px 8px;border-radius:7px;background:#e7eff5;color:#29475d;font-size:11px;font-weight:700}.taskCard.urgent .taskMeta span:first-child{background:#fff0e7;color:#9d4e1e}
