/* Colour themes - generated by tools/theme_build.py --flavour=calibrix, do not edit by hand */
html[data-theme="light"]{--c000:#eceff5;--c001:#e8ebf2;--c002:#ebeef4;--c003:#eceef5;--c004:#79602f;--c005:#283a61;--c006:#d8deea;--c007:#edeff5;--c008:#329a52;--c009:#1e8a3a;--c010:#9c700d;--c011:#941d14;--c012:#0f689a;--c013:#e9edf3;--c014:#edf0f6;--c015:#121a2b;--c016:rgba(244,245,249,0.98);--c017:rgba(237,239,245,0.94);--c018:#f3f4f8;--c019:#ddeee7;--c020:rgba(57,209,5,0.35);--c021:rgba(12,24,54,0.231);--c022:rgba(11,209,5,0.15);--c023:rgba(10,28,70,0.759);--c024:rgba(57,209,5,0.225);--c025:#f6f8fa;--c026:rgba(13,209,5,0.15);--c027:rgba(12,24,54,0.118);--c028:rgba(10,28,70,0.138);--c029:rgba(10,28,70,0.069);--c030:rgba(10,28,70,0.713);--c031:#119734;--c032:#7e602a;--c033:#e3e7f0;--c034:#f2e8da;--c035:rgba(10,28,70,0.644);--c036:rgba(10,28,70,0.483);--c037:rgba(10,28,70,0.874);--c038:rgba(55,159,87,0.225);--c039:#00a82f;--c040:rgba(55,159,87,0.275);--c041:rgba(55,159,87,0.1);--c042:#05d13e;--c043:rgba(5,209,62,0.225);--c044:#00a82f;--c045:#05d13e;--c046:rgba(55,159,87,0.375);--c047:rgba(55,159,87,0.163);--c048:rgba(5,209,62,0.9);--c049:rgba(5,209,62,0.2);--c050:rgba(5,209,62,0);--c051:#00a82f;--c052:rgba(5,209,62,0.425);--c053:rgba(5,209,62,0.4);--c054:#00a837;--c055:#0a1c46;--c056:rgba(10,28,70,0.368);--c057:rgba(10,28,70,0.092);--c058:#00a818;--c059:rgba(10,28,70,0.828);--c060:rgba(55,159,87,0);--c061:rgba(10,28,70,0.207);--c062:rgba(10,28,70,0.0575);--c063:rgba(55,159,87,0.9);--c064:rgba(10,28,70,0.184);--c065:rgba(10,28,70,0.253);--c066:rgba(5,209,62,0.275);--c067:#a80e00;--c068:rgba(242,244,248,0.94);--c069:#eff1f6;--c070:#e6eaf1;--c071:#0064a8;--c072:#d5dbe8;--c073:rgba(5,126,209,0.525);--c074:#0068a8;--c075:#cbdcec;--c076:rgba(238,241,246,0.92);--c077:rgba(12,24,54,0.084);--c078:rgba(5,108,209,0.125);--c079:rgba(10,28,70,0.782);--c080:#0065a8;--c081:rgba(12,24,54,0.0924);--c082:#1d8c3e;--c083:#dcefe2;--c084:#dcefe5;--c085:#deede5;--c086:rgba(10,28,70,0.943);--c087:rgba(55,159,87,0.3);--c088:#efdedc;--c089:#efdddc;--c090:#eededd;--c091:#eff1f6;--c092:#00a82f;--c093:rgba(55,159,87,0.85);--c094:rgba(55,159,87,0.2);--c095:rgba(55,159,87,0.2);--c096:rgba(10,28,70,0.069);--c097:#eaedf4;--c098:#e4e8f0;--c099:#0072a8;--c100:#d3d9e7;--c101:#deede3;--c102:rgba(44,170,81,0.1);--c103:#27385f;--c104:#f3ead8;--c105:#f0eadb;--c106:#f0e7db;--c107:#a87f00;--c108:#eceff5;--c109:#f1e9da;--c110:#a87200;--c111:#dde2ed;--c112:#005ba8;--c113:#e1e6ef;--c114:#25355a;--c115:#a80b00;--c116:#efdce8;--c117:#a80062;--c118:#94387e;--c119:#30a64f;--c120:#c7efd6;--c121:#caecdb;--c122:rgba(48,166,79,0.275);--c123:rgba(48,166,79,0.575);--c124:rgba(5,209,71,0.25);--c125:#00a830;--c126:#30a64f;--c127:#c7efd5;--c128:#c7efdb;--c129:rgba(48,166,79,0.375);--c130:rgba(48,166,79,0.75);--c131:rgba(5,209,71,0.3);--c132:rgba(48,166,79,0.8);--c133:rgba(48,166,79,0.2);--c134:rgba(48,166,79,0.425);--c135:rgba(5,209,71,0.175);--c136:#00a826;--c137:rgba(48,166,79,0.475);--c138:rgba(48,166,79,0.875);--c139:rgba(5,209,71,0.375);--c140:rgba(209,5,41,0.9);--c141:rgba(209,5,41,0.25);--c142:rgba(209,5,41,0.5);--c143:rgba(209,5,53,0.2);--c144:#a80018;--c145:rgba(209,5,41,0.55);--c146:rgba(209,5,41,0.975);--c147:rgba(209,5,53,0.425);--c148:#e7ebf2;--c149:#a80000;--c150:#f3d8d8;--c151:#a80000;--c152:rgba(209,5,5,0.3);--c153:rgba(209,5,5,0.45);--c154:#d10505;--c155:rgba(209,5,5,0.325);--c156:#b31919;--c157:rgba(209,5,5,0.975);--c158:#1d2a46;--c159:#dadfeb;--c160:#e6e9f1;--c161:#bbc5da;--c162:#f4ead7;--c163:#ddeee5;--c164:#ddeee3;--c165:#1c8c3e;--c166:#eddfde;--c167:#eededd;--c168:rgba(55,159,87,0.425);--c169:#eceff5;--c170:rgba(192,141,22,0.45);--c171:#9f7709;--c172:rgba(242,228,196,0.3);--c173:rgba(25,130,189,0.425);--c174:rgba(25,130,189,0.125);--c175:#0071a8;--c176:rgba(59,155,84,0.525);--c177:rgba(206,233,216,0.688);--c178:rgba(238,240,246,0.96);--c179:#eff1f6;--c180:rgba(48,70,118,0.32);--c181:rgba(237,239,245,0.96);--c182:rgba(242,244,248,0.96);--c183:rgba(10,28,70,0.046);--c184:rgba(12,24,54,0.0756);--c185:#2a3d66;--c186:rgba(48,166,79,0.35);--c187:#f2f4f8;--c188:#30a64f;--c189:rgba(48,166,79,0.175);--c190:rgba(209,144,5,0.35);--c191:rgba(209,144,5,0.1);--c192:rgba(48,166,79,0.425);--c193:rgba(48,166,79,0.0688);--c194:rgba(5,144,209,0.475);--c195:rgba(242,244,248,0.64);--c196:rgba(5,144,209,0.35);--c197:#edf0f5;--c198:rgba(10,28,70,0.0403);--c199:rgba(48,166,79,0.65);--c200:rgba(48,166,79,0.2);--c201:#00a82e;--c202:rgba(48,166,79,0.975);--c203:rgba(48,166,79,0.15);--c204:rgba(48,166,79,0.312);--c205:rgba(210,229,219,0.775);--c206:rgba(239,241,246,0.72);--c207:rgba(48,70,118,0.28);--c208:rgba(5,144,209,0.312);--c209:rgba(48,166,79,0.0438);--c210:rgba(48,70,118,0.22);--c211:rgba(240,242,247,0.82);--c212:rgba(48,166,79,0.525);--c213:rgba(48,166,79,0.1);--c214:rgba(48,166,79,0.725);--c215:rgba(48,166,79,0.0225);--c216:rgba(48,166,79,0.775);--c217:rgba(5,144,209,0.0225);--c218:#d10505;--c219:rgba(209,5,5,0.225);--c220:#a80000;--c221:rgba(209,5,5,0.65);--c222:rgba(48,166,79,0.6);--c223:rgba(48,166,79,0.1);--c224:#00a82e;--c225:rgba(5,144,209,0.562);--c226:#0074a8;--c227:rgba(5,144,209,0.075);--c228:rgba(48,166,79,0.812);--c229:rgba(48,70,118,0.18);--c230:rgba(244,246,249,0.34);--c231:rgba(48,70,118,0.16);--c232:rgba(209,5,5,0.9);--c233:rgba(209,5,5,0.2);--c234:rgba(10,28,70,0.138);--c235:rgba(209,5,5,0.4);--c236:#b31923;--c237:rgba(10,28,70,0.299);--c238:#d10505;--c239:#dcefe4;--c240:#e0ebe3;--c241:#a80f00;--c242:rgba(242,244,248,0);--c243:rgba(245,247,250,0.72);--c244:rgba(245,247,250,0.96);--c245:#f5f7fa;--c246:rgba(12,24,54,0.185);--c247:#a80000;--c248:#e0ebe4;--c249:rgba(55,159,87,0.15);--c250:rgba(182,43,33,0.175);--c251:#a80000;--c252:rgba(209,5,5,0.175);--c253:#f0f3f7;--c254:#dde2ec;--c255:#f3f4f8;--c256:rgba(12,24,54,0.147);--c257:#eff1f6;--c258:#314879;--c259:rgba(55,159,87,0.775);--c260:#e0ebe4;--c261:#00a82b;--c262:#edf0f5;--c263:#2a587e;--c264:#238538;--c265:#2e547a;--c266:#2b3e68;--c267:#eff2f7;--c268:rgba(48,166,79,0.875);--c269:rgba(48,166,79,0.325);--c270:#d19005;--c271:rgba(209,144,5,0.525);--c272:rgba(209,144,5,0.275);--c273:rgba(209,144,5,0.112);--c274:rgba(48,166,79,0.0562);--c275:rgba(5,144,209,0.0875);--c276:rgba(48,166,79,0.0938);--c277:rgba(209,144,5,0.0438);--c278:#0c9d37;--c279:#233355;--c280:#edeff5;--c281:#f1f3f7;--c282:rgba(10,28,70,0.0345);--c283:#2e4b7a;--c284:#1d8c33;--c285:rgba(48,70,118,0.34);--c286:#f3f5f9;--c287:#284e80;--c288:#eff1f6;--c289:rgba(209,17,5,0.438);--c290:rgba(209,17,5,0.1);--c291:rgba(209,17,5,0.2);--c292:#a80c00;--c293:rgba(238,240,246,0.88);--c294:rgba(243,245,249,0.88);--c295:rgba(209,144,5,0.325);--c296:rgba(209,144,5,0.0938);--c297:rgba(238,240,246,0.9);--c298:rgba(243,245,249,0.9);--c299:rgba(48,166,79,0.3);--c300:rgba(48,166,79,0.0875);--c301:rgba(240,242,247,0.88);--c302:rgba(243,245,249,0.9);--c303:#295d7f;--c304:#243458;--c305:rgba(10,28,70,0.0403);--c306:#a87a00;--c307:rgba(209,144,5,0.4);--c308:#0d9b2d;--c309:#f4ead7;--c310:rgba(209,144,5,0.3);--c311:#d9f2e1;--c312:#1d8c3b;--c313:rgba(48,166,79,0.3);--c314:rgba(48,166,79,0.325);--c315:rgba(241,243,248,0.74);--c316:rgba(209,144,5,0.725);--c317:rgba(242,244,248,0.76);--c318:rgba(48,166,79,0.6);--c319:rgba(209,144,5,0.65);--c320:#f1e9da;--c321:#efe9dc;--c322:#d10529;--c323:#eaccd9;--c324:rgba(241,243,247,0.98);--c325:#d10529;--c326:rgba(209,5,41,0.425);--c327:rgba(209,5,41,0.6);--c328:rgba(209,5,53,0.25);--c329:#a88300;--c330:rgba(209,144,5,0.85);--c331:#f3e1c4;--c332:#a80054;--c333:rgba(209,5,60,0.9);--c334:rgba(241,197,217,0.95);--c335:rgba(209,5,76,0.475);--c336:rgba(209,5,41,0.85);--c337:#d10529;--c338:rgba(209,5,41,0.3);--c339:rgba(209,5,41,0.375);--c340:rgba(209,5,53,0.175);--c341:#a8001f;--c342:rgba(209,5,42,0.725);--c343:rgba(209,5,53,0.425);--c344:rgba(57,158,74,0.163);--c345:rgba(57,158,74,0.438);--c346:#a87b00;--c347:rgba(209,148,5,0.163);--c348:rgba(209,148,5,0.425);--c349:rgba(12,24,54,0.176);--c350:#1d2b48;--c351:#e8ecf3;--c352:#0a1c46;--c353:rgba(209,5,115,0.175);--c354:#a80060;--c355:rgba(209,5,115,0.475);--c356:rgba(209,5,115,0.275);--c357:#a8005e;--c358:rgba(209,5,115,0.3);--c359:rgba(10,28,70,0.391);--c360:#d10573;--c361:rgba(10,28,70,0.862);--c362:rgba(209,5,115,0);--c363:#121a2b;--c364:#d10573;--c365:#ece8df;--c366:#eceff5;--c367:#d4dbe8;--c368:#e0ebe5;--c369:#223254;--c370:#edf0f5;--c371:#d7ddea;--c372:rgba(55,159,87,0.175);--c373:#e5ebe0;--c374:#f0ebdb;--c375:#ddeee4;--c376:#deede3;--c377:rgba(10,28,70,0.252);--c378:#eef0f6;--c379:rgba(12,24,54,0.244);--c380:#ebeef4;--c381:#f2f4f8;--c382:#e8ebf3;--c383:#dcefe3;--c384:#ddeee3;--c385:rgba(56,158,72,0.562);--c386:rgba(56,158,72,0.1);--c387:rgba(10,28,70,0.0287);--c388:rgba(58,156,76,0.688);--c389:rgba(58,156,76,0.15);--c390:#149527;--c391:rgba(5,144,209,0.525);--c392:rgba(241,243,248,0.98);--c393:rgba(12,24,54,0.26);--c394:rgba(5,144,209,0.15);--c395:#e0e5ee;--c396:#973b35;--c397:#8d251b;--c398:rgba(204,216,235,0.7);--c399:#eff1f6;--c400:rgba(5,144,209,0.05);--c401:rgba(202,219,236,0.425);--c402:rgba(5,209,64,0.975);--c403:#cfe8da;--c404:rgba(240,242,247,0.98);--c405:rgba(5,209,67,0.275);--c406:#129732;--c407:rgba(53,162,80,0.25);--c408:rgba(5,209,66,0.312);--c409:#00a82d;--c410:rgba(29,185,67,0.2);--c411:rgba(237,240,245,0.92);--c412:rgba(244,246,249,0.98);--c413:#f4f6f9;--c414:#f6f7fa;--c415:rgba(48,166,79,0.163);--c416:rgba(48,166,79,0.25);--c417:rgba(48,166,79,0.125);--c418:#00a825;--c419:rgba(244,246,249,0.88);--c420:rgba(236,239,245,0.94);--c421:rgba(240,242,247,0.96);--c422:rgba(12,24,54,0.101);--c423:rgba(236,239,245,0.94);--c424:rgba(241,243,248,0.96);--c425:#0e9a32;--c426:#006ba8;--c427:rgba(242,244,248,0.72);--c428:#f0f2f7;--c429:rgba(48,70,118,0.24);--c430:rgba(5,144,209,0.0438);--c431:rgba(48,166,79,0.975);--c432:#d19005;--c433:rgba(48,166,79,0.688);--c434:#30a64f;--c435:rgba(242,244,248,0.96);--c436:rgba(5,144,209,0.425);--c437:rgba(5,144,209,0.375);--c438:rgba(5,144,209,0.0562);--c439:rgba(234,237,244,0.82);--c440:rgba(5,144,209,0.1);--c441:#f5f6f9;--c442:rgba(236,238,245,0.96);--c443:rgba(243,244,248,0.98);--c444:rgba(235,238,244,0.92);--c445:rgba(242,244,248,0.96);--c446:#0d9b31;--c447:rgba(209,144,5,0.375);--c448:rgba(48,70,118,0.2);--c449:rgba(243,245,249,0.88);--c450:rgba(237,239,245,0.96);--c451:rgba(242,244,248,0.98);--c452:#30a64f;--c453:#d10510;--c454:rgba(209,5,16,0.525);--c455:rgba(209,5,16,0.688);--c456:rgba(209,5,25,0.35);--c457:rgba(10,28,70,0.0875);--c458:#a80009;--c459:rgba(209,5,16,0.85);--c460:rgba(209,5,25,0.425);--c461:rgba(10,28,70,0.098);--c462:rgba(209,5,16,0.875);--c463:#d10510;--c464:rgba(209,5,16,0.375);--c465:rgba(209,5,16,0.45);--c466:rgba(209,5,25,0.225);--c467:#a80008;--c468:rgba(209,5,16,0.8);--c469:rgba(209,5,16,0.975);--c470:rgba(209,5,25,0.5);--c471:#2b477d;--c472:#0c9d3c;--c473:rgba(202,218,237,0.275);--c474:#005ca8;--c475:rgba(237,239,245,0.98);--c476:rgba(243,245,249,0.98);--c477:rgba(12,24,54,0.143);--c478:#00a836;--c479:#20893b;--c480:rgba(244,246,249,0.52);--c481:rgba(48,70,118,0.2);--c482:rgba(244,246,249,0.46);--c483:rgba(52,162,74,0.4);--c484:#0e9b28;--c485:rgba(52,162,74,0.1);--c486:#a07b09;--c487:rgba(200,140,15,0.175);--c488:rgba(200,140,15,0.3);--c489:rgba(48,70,118,0.14);--c490:#f0f2f7;--c491:#385470;--c492:#f3f5f9;--c493:#f6f7fa;--c494:rgba(206,232,222,0.675);--c495:rgba(5,144,209,0.3);--c496:rgba(243,245,249,0.78);--c497:#d2e5dc;--c498:rgba(242,244,248,0.98);--c499:rgba(12,24,54,0.126);--c500:#213050;--c501:rgba(235,238,244,0.94);--c502:rgba(81,5,209,0.4);--c503:#3700a8;--c504:rgba(237,240,245,0.97);--c505:rgba(48,166,79,0.875);--c506:#30a64f;--c507:rgba(12,24,54,0.105);--c508:rgba(243,244,248,0.74);--c509:rgba(197,214,242,0.975);--c510:rgba(239,241,246,0.98);--c511:rgba(244,246,249,0.99);--c512:rgba(10,28,70,0.184);--c513:rgba(245,247,250,0.82);--c514:#f3f4f8;--c515:rgba(12,24,54,0.193);--c516:#218734;--c517:rgba(50,164,72,0.938);--c518:#fafbfc;--c519:rgba(234,237,244,0.96);--c520:rgba(238,240,246,0.98);--c521:#eceff5;--c522:rgba(80,107,134,0.25);--c523:rgba(236,239,245,0.92);--c524:rgba(80,107,134,0.275);--c525:rgba(231,234,242,0.96);--c526:rgba(234,237,244,0.98);--c527:rgba(80,107,134,0.3);--c528:#eaedf4;--c529:rgba(80,107,134,0.35);--c530:rgba(235,238,244,0.86);--c531:rgba(233,237,243,0.97);--c532:rgba(236,239,245,0.98);--c533:rgba(231,235,242,0.96);--c534:rgba(236,238,245,0.98);--c535:rgba(233,236,243,0.98);--c536:rgba(237,240,245,0.98);--c537:rgba(232,236,243,0.98);--c538:rgba(80,107,134,0.312);--c539:rgba(234,237,244,0.76);--c540:rgba(239,241,246,0.96);--c541:rgba(12,24,54,0.134);--c542:rgba(5,144,209,0.45);--c543:rgba(5,144,209,0.125);}
html[data-theme="light"] .sidebar,html[data-theme="light"] .auth-visual{--c000:#131820;--c001:#1a2029;--c002:#151b23;--c003:#131922;--c004:#f5f1e9;--c005:#b3aa9f;--c006:#343c48;--c007:#111720;--c008:#55c878;--c009:#76dd91;--c010:#f0c35b;--c011:#e45a50;--c012:#57b7ed;--c013:#171d26;--c014:#10161e;--c015:#ffffff;--c016:rgba(9,11,14,0.98);--c017:rgba(21,25,28,0.94);--c018:#0b0d10;--c019:#07110d;--c020:rgba(124,255,80,0.28);--c021:rgba(0,0,0,0.55);--c022:rgba(68,255,63,0.12);--c023:rgba(255,255,255,0.66);--c024:rgba(124,255,80,0.18);--c025:#050806;--c026:rgba(77,255,70,0.12);--c027:rgba(0,0,0,0.28);--c028:rgba(255,255,255,0.12);--c029:rgba(255,255,255,0.06);--c030:rgba(255,255,255,0.62);--c031:#88f0a3;--c032:#f8f4ed;--c033:#252a31;--c034:#1b1307;--c035:rgba(255,255,255,0.56);--c036:rgba(255,255,255,0.42);--c037:rgba(255,255,255,0.76);--c038:rgba(85,200,120,0.18);--c039:#dfffe8;--c040:rgba(85,200,120,0.22);--c041:rgba(85,200,120,0.08);--c042:rgba(112,255,152,0.86);--c043:rgba(112,255,152,0.18);--c044:#70ff98;--c045:rgba(112,255,152,0.8);--c046:rgba(85,200,120,0.3);--c047:rgba(85,200,120,0.13);--c048:rgba(112,255,152,0.72);--c049:rgba(112,255,152,0.16);--c050:rgba(112,255,152,0);--c051:#70ff98;--c052:rgba(112,255,152,0.34);--c053:rgba(112,255,152,0.32);--c054:#b9ffd0;--c055:rgba(255,255,255,0.88);--c056:rgba(255,255,255,0.32);--c057:rgba(255,255,255,0.08);--c058:#f8fff9;--c059:rgba(255,255,255,0.72);--c060:rgba(85,200,120,0);--c061:rgba(255,255,255,0.18);--c062:rgba(255,255,255,0.05);--c063:rgba(85,200,120,0.72);--c064:rgba(255,255,255,0.16);--c065:rgba(255,255,255,0.22);--c066:rgba(112,255,152,0.22);--c067:#ff9a91;--c068:rgba(13,15,18,0.94);--c069:#101319;--c070:#172433;--c071:#8bd0ff;--c072:#28465f;--c073:rgba(86,186,255,0.42);--c074:#c8eaff;--c075:rgba(19,38,55,0.92);--c076:rgba(12,21,31,0.92);--c077:rgba(0,0,0,0.2);--c078:rgba(76,166,255,0.1);--c079:rgba(255,255,255,0.68);--c080:#9ed8ff;--c081:rgba(0,0,0,0.22);--c082:#7fe19c;--c083:#2f7f49;--c084:#173d28;--c085:#102319;--c086:rgba(255,255,255,0.82);--c087:rgba(85,200,120,0.24);--c088:#73322b;--c089:#52221f;--c090:#23100f;--c091:#111419;--c092:#b8ffcc;--c093:rgba(85,200,120,0.68);--c094:rgba(85,200,120,0.16);--c095:rgba(85,200,120,0.16);--c096:rgba(255,255,255,0.06);--c097:#182119;--c098:#202832;--c099:#7fd6ff;--c100:#2b5265;--c101:#285a39;--c102:rgba(127,225,156,0.08);--c103:#9cbea7;--c104:#644a15;--c105:#493916;--c106:#21170a;--c107:#ffd861;--c108:#101722;--c109:#4c3915;--c110:#ffcf69;--c111:#20334b;--c112:#85c7ff;--c113:#282c33;--c114:#beb7ac;--c115:#ff8b83;--c116:#4d1d3c;--c117:#ff78c7;--c118:#ba4aa0;--c119:rgba(111,217,139,0.88);--c120:rgba(20,78,42,0.88);--c121:rgba(11,33,22,0.96);--c122:rgba(111,217,139,0.22);--c123:rgba(111,217,139,0.46);--c124:rgba(70,255,130,0.2);--c125:#eafff0;--c126:rgba(111,217,139,0.95);--c127:rgba(24,92,48,0.92);--c128:rgba(10,39,24,0.98);--c129:rgba(111,217,139,0.3);--c130:rgba(111,217,139,0.6);--c131:rgba(70,255,130,0.24);--c132:rgba(111,217,139,0.64);--c133:rgba(111,217,139,0.16);--c134:rgba(111,217,139,0.34);--c135:rgba(70,255,130,0.14);--c136:#7fff9c;--c137:rgba(111,217,139,0.38);--c138:rgba(111,217,139,0.7);--c139:rgba(70,255,130,0.3);--c140:rgba(255,82,112,0.72);--c141:rgba(255,82,112,0.2);--c142:rgba(255,82,112,0.4);--c143:rgba(255,42,92,0.16);--c144:#ff7084;--c145:rgba(255,82,112,0.44);--c146:rgba(255,82,112,0.78);--c147:rgba(255,42,92,0.34);--c148:#132132;--c149:#ff5c5c;--c150:#681616;--c151:#fff2f2;--c152:rgba(255,92,92,0.24);--c153:rgba(255,40,40,0.36);--c154:rgba(255,92,92,0.82);--c155:rgba(255,40,40,0.26);--c156:#e01f1f;--c157:rgba(255,40,40,0.78);--c158:#ddd7cc;--c159:#343941;--c160:#20242b;--c161:#7b756c;--c162:#7d5b16;--c163:#10251a;--c164:#235a38;--c165:#8ee5a8;--c166:#331918;--c167:#6d302b;--c168:rgba(85,200,120,0.34);--c169:#15181d;--c170:rgba(240,195,91,0.36);--c171:#f7d781;--c172:rgba(82,61,16,0.24);--c173:rgba(87,183,237,0.34);--c174:rgba(87,183,237,0.1);--c175:#b9e8ff;--c176:rgba(113,204,137,0.42);--c177:rgba(25,58,37,0.55);--c178:rgba(18,21,26,0.96);--c179:#101419;--c180:rgba(110,137,161,0.32);--c181:rgba(17,24,32,0.96);--c182:rgba(10,15,21,0.96);--c183:rgba(255,255,255,0.04);--c184:rgba(0,0,0,0.18);--c185:#8fa1b3;--c186:rgba(111,217,139,0.28);--c187:#090e14;--c188:rgba(111,217,139,0.86);--c189:rgba(111,217,139,0.14);--c190:rgba(255,207,105,0.28);--c191:rgba(255,207,105,0.08);--c192:rgba(111,217,139,0.34);--c193:rgba(111,217,139,0.055);--c194:rgba(127,214,255,0.38);--c195:rgba(9,14,20,0.64);--c196:rgba(127,214,255,0.28);--c197:#101720;--c198:rgba(255,255,255,0.035);--c199:rgba(111,217,139,0.52);--c200:rgba(111,217,139,0.16);--c201:#9dffb8;--c202:rgba(111,217,139,0.78);--c203:rgba(111,217,139,0.12);--c204:rgba(111,217,139,0.25);--c205:rgba(13,23,18,0.62);--c206:rgba(13,19,28,0.72);--c207:rgba(110,137,161,0.28);--c208:rgba(127,214,255,0.25);--c209:rgba(111,217,139,0.035);--c210:rgba(110,137,161,0.22);--c211:rgba(12,17,24,0.82);--c212:rgba(111,217,139,0.42);--c213:rgba(111,217,139,0.08);--c214:rgba(111,217,139,0.58);--c215:rgba(111,217,139,0.018);--c216:rgba(111,217,139,0.62);--c217:rgba(127,214,255,0.018);--c218:rgba(255,80,80,0.92);--c219:rgba(255,42,42,0.18);--c220:#fff1f1;--c221:rgba(255,42,42,0.52);--c222:rgba(111,217,139,0.48);--c223:rgba(111,217,139,0.08);--c224:#c8ffd7;--c225:rgba(127,214,255,0.45);--c226:#dff5ff;--c227:rgba(127,214,255,0.06);--c228:rgba(111,217,139,0.65);--c229:rgba(110,137,161,0.18);--c230:rgba(7,11,15,0.34);--c231:rgba(110,137,161,0.16);--c232:rgba(255,80,80,0.72);--c233:rgba(255,42,42,0.16);--c234:rgba(255,255,255,0.12);--c235:rgba(255,42,42,0.32);--c236:#d91f2a;--c237:rgba(255,255,255,0.26);--c238:rgba(255,42,42,0.82);--c239:#23623d;--c240:#132117;--c241:#ffb0a8;--c242:rgba(13,15,18,0);--c243:rgba(7,9,11,0.72);--c244:rgba(7,9,11,0.96);--c245:#07090b;--c246:rgba(0,0,0,0.44);--c247:#ff6969;--c248:#142119;--c249:rgba(85,200,120,0.12);--c250:rgba(228,90,80,0.14);--c251:#ff6b6b;--c252:rgba(255,107,107,0.14);--c253:#0d1116;--c254:#2c3440;--c255:#090d12;--c256:rgba(0,0,0,0.35);--c257:#10141a;--c258:#78828e;--c259:rgba(85,200,120,0.62);--c260:#132018;--c261:#8effab;--c262:#12171d;--c263:#dbe7f1;--c264:#77d68b;--c265:#dfe8f1;--c266:#8ea0ad;--c267:#0e1419;--c268:rgba(111,217,139,0.7);--c269:rgba(111,217,139,0.26);--c270:rgba(255,207,105,0.92);--c271:rgba(255,207,105,0.42);--c272:rgba(255,207,105,0.22);--c273:rgba(255,207,105,0.09);--c274:rgba(111,217,139,0.045);--c275:rgba(127,214,255,0.07);--c276:rgba(111,217,139,0.075);--c277:rgba(255,207,105,0.035);--c278:#65f28f;--c279:#c5beb3;--c280:#111820;--c281:#0b1016;--c282:rgba(255,255,255,0.03);--c283:#e8edf5;--c284:#8be49d;--c285:rgba(110,137,161,0.34);--c286:#080d12;--c287:#f4f7fb;--c288:#0f1319;--c289:rgba(255,112,103,0.35);--c290:rgba(255,112,103,0.08);--c291:rgba(255,112,103,0.16);--c292:#ff8d84;--c293:rgba(16,21,28,0.88);--c294:rgba(9,12,17,0.88);--c295:rgba(255,207,105,0.26);--c296:rgba(255,207,105,0.075);--c297:rgba(16,21,28,0.9);--c298:rgba(9,12,17,0.9);--c299:rgba(111,217,139,0.24);--c300:rgba(111,217,139,0.07);--c301:rgba(14,22,18,0.88);--c302:rgba(8,13,16,0.9);--c303:#f7fafc;--c304:#aeb8c3;--c305:rgba(255,255,255,0.035);--c306:#ffdb7c;--c307:rgba(255,207,105,0.32);--c308:#98f5ad;--c309:#221806;--c310:rgba(255,207,105,0.24);--c311:#06180c;--c312:#76df93;--c313:rgba(111,217,139,0.24);--c314:rgba(111,217,139,0.26);--c315:rgba(18,17,14,0.74);--c316:rgba(255,207,105,0.58);--c317:rgba(12,18,16,0.76);--c318:rgba(111,217,139,0.48);--c319:rgba(255,207,105,0.52);--c320:#584319;--c321:#1d170b;--c322:rgba(255,82,112,0.96);--c323:rgba(31,12,20,0.92);--c324:rgba(12,16,22,0.98);--c325:rgba(255,82,112,0.95);--c326:rgba(255,82,112,0.34);--c327:rgba(255,82,112,0.48);--c328:rgba(255,42,92,0.2);--c329:#ffe58a;--c330:rgba(255,207,105,0.68);--c331:rgba(45,31,8,0.88);--c332:#fff7fb;--c333:rgba(255,110,149,0.72);--c334:rgba(118,25,66,0.76);--c335:rgba(255,82,142,0.38);--c336:rgba(255,82,112,0.68);--c337:rgba(255,82,112,0.8);--c338:rgba(255,82,112,0.24);--c339:rgba(255,82,112,0.3);--c340:rgba(255,42,92,0.14);--c341:#ff768f;--c342:rgba(255,118,143,0.58);--c343:rgba(255,42,92,0.34);--c344:rgba(89,199,108,0.13);--c345:rgba(89,199,108,0.35);--c346:#ffd76a;--c347:rgba(255,199,68,0.13);--c348:rgba(255,199,68,0.34);--c349:rgba(0,0,0,0.42);--c350:#d8d3ca;--c351:#17202a;--c352:rgba(255,255,255,0.95);--c353:rgba(255,68,169,0.14);--c354:#ff4fb3;--c355:rgba(255,68,169,0.38);--c356:rgba(255,68,169,0.22);--c357:#ff8ccc;--c358:rgba(255,68,169,0.24);--c359:rgba(255,255,255,0.34);--c360:rgba(255,68,169,0.82);--c361:rgba(255,255,255,0.75);--c362:rgba(255,68,169,0);--c363:#ffffff;--c364:rgba(255,68,169,0.85);--c365:#15120b;--c366:#101824;--c367:#274763;--c368:#101d16;--c369:#c6bfb5;--c370:#15171b;--c371:#3a3f46;--c372:rgba(85,200,120,0.14);--c373:#27331d;--c374:#5b4b1c;--c375:#122b1d;--c376:#2f6843;--c377:rgba(0,0,0,0.72);--c378:#11151b;--c379:rgba(0,0,0,0.58);--c380:#151a21;--c381:#0b0f14;--c382:#1a2028;--c383:#14341f;--c384:#245b38;--c385:rgba(111,207,126,0.45);--c386:rgba(111,207,126,0.08);--c387:rgba(255,255,255,0.025);--c388:rgba(116,206,132,0.55);--c389:rgba(116,206,132,0.12);--c390:#9bf0a8;--c391:rgba(127,214,255,0.42);--c392:rgba(12,15,20,0.98);--c393:rgba(0,0,0,0.62);--c394:rgba(127,214,255,0.12);--c395:#23313c;--c396:#8b3631;--c397:#d95c50;--c398:rgba(3,5,8,0.56);--c399:#0d141b;--c400:rgba(127,214,255,0.04);--c401:rgba(3,6,9,0.34);--c402:rgba(126,255,163,0.78);--c403:rgba(16,34,24,0.98);--c404:rgba(13,18,24,0.98);--c405:rgba(100,255,147,0.22);--c406:#8df0a5;--c407:rgba(90,205,119,0.2);--c408:rgba(98,255,145,0.25);--c409:#a9ffc0;--c410:rgba(141,240,165,0.16);--c411:rgba(18,23,29,0.92);--c412:rgba(8,10,13,0.98);--c413:#080b0e;--c414:#06080a;--c415:rgba(111,217,139,0.13);--c416:rgba(111,217,139,0.2);--c417:rgba(111,217,139,0.1);--c418:#f6fff8;--c419:rgba(8,11,14,0.88);--c420:rgba(21,25,31,0.94);--c421:rgba(15,18,23,0.96);--c422:rgba(0,0,0,0.24);--c423:rgba(20,25,31,0.94);--c424:rgba(12,16,20,0.96);--c425:#84f2a0;--c426:#8fd6ff;--c427:rgba(10,14,18,0.72);--c428:#0e1217;--c429:rgba(110,137,161,0.24);--c430:rgba(127,214,255,0.035);--c431:rgba(111,217,139,0.78);--c432:rgba(255,207,105,0.9);--c433:rgba(111,217,139,0.55);--c434:rgba(111,217,139,0.95);--c435:rgba(11,15,19,0.96);--c436:rgba(127,214,255,0.34);--c437:rgba(127,214,255,0.3);--c438:rgba(127,214,255,0.045);--c439:rgba(24,36,29,0.82);--c440:rgba(127,214,255,0.08);--c441:#070a0d;--c442:rgba(19,26,34,0.96);--c443:rgba(9,13,18,0.98);--c444:rgba(21,27,35,0.92);--c445:rgba(10,14,19,0.96);--c446:#8df4a7;--c447:rgba(255,207,105,0.3);--c448:rgba(110,137,161,0.2);--c449:rgba(8,12,16,0.88);--c450:rgba(18,24,31,0.96);--c451:rgba(10,14,19,0.98);--c452:rgba(111,217,139,0.86);--c453:rgba(255,72,82,0.95);--c454:rgba(255,72,82,0.42);--c455:rgba(255,72,82,0.55);--c456:rgba(255,32,54,0.28);--c457:rgba(0,0,0,0.25);--c458:#ff4852;--c459:rgba(255,72,82,0.68);--c460:rgba(255,32,54,0.34);--c461:rgba(0,0,0,0.28);--c462:rgba(255,72,82,0.7);--c463:rgba(255,72,82,0.86);--c464:rgba(255,72,82,0.3);--c465:rgba(255,72,82,0.36);--c466:rgba(255,32,54,0.18);--c467:#ff6068;--c468:rgba(255,96,104,0.64);--c469:rgba(255,72,82,0.78);--c470:rgba(255,32,54,0.4);--c471:#f5f7fb;--c472:#6ef39a;--c473:rgba(38,76,118,0.22);--c474:#a9d8ff;--c475:rgba(18,24,31,0.98);--c476:rgba(8,12,17,0.98);--c477:rgba(0,0,0,0.34);--c478:#e9fff0;--c479:#6fd98b;--c480:rgba(7,11,15,0.52);--c481:rgba(110,137,161,0.2);--c482:rgba(7,11,15,0.46);--c483:rgba(109,211,129,0.32);--c484:#7df293;--c485:rgba(109,211,129,0.08);--c486:#f6d46b;--c487:rgba(246,188,66,0.14);--c488:rgba(246,188,66,0.24);--c489:rgba(110,137,161,0.14);--c490:#0d1218;--c491:#c9d4df;--c492:#080c10;--c493:#05080b;--c494:rgba(8,18,14,0.54);--c495:rgba(127,214,255,0.24);--c496:rgba(7,12,18,0.78);--c497:rgba(17,30,24,0.94);--c498:rgba(10,14,20,0.98);--c499:rgba(0,0,0,0.3);--c500:#b9c4cf;--c501:rgba(20,26,34,0.94);--c502:rgba(183,140,255,0.32);--c503:#cdb5ff;--c504:rgba(17,24,31,0.97);--c505:rgba(111,217,139,0.7);--c506:rgba(111,217,139,0.9);--c507:rgba(0,0,0,0.25);--c508:rgba(9,13,18,0.74);--c509:rgba(2,5,10,0.78);--c510:rgba(13,19,27,0.98);--c511:rgba(7,10,15,0.99);--c512:rgba(255,255,255,0.16);--c513:rgba(5,8,12,0.82);--c514:#080d13;--c515:rgba(0,0,0,0.46);--c516:#79d98b;--c517:rgba(121,217,139,0.75);--c518:#000000;--c519:rgba(22,29,38,0.96);--c520:rgba(16,21,28,0.98);--c521:#121820;--c522:rgba(135,160,185,0.2);--c523:rgba(18,24,32,0.92);--c524:rgba(135,160,185,0.22);--c525:rgba(27,34,44,0.96);--c526:rgba(21,27,36,0.98);--c527:rgba(135,160,185,0.24);--c528:#151b24;--c529:rgba(135,160,185,0.28);--c530:rgba(20,27,36,0.86);--c531:rgba(25,36,34,0.97);--c532:rgba(18,24,33,0.98);--c533:rgba(25,33,43,0.96);--c534:rgba(19,25,34,0.98);--c535:rgba(22,30,40,0.98);--c536:rgba(17,23,31,0.98);--c537:rgba(24,31,41,0.98);--c538:rgba(135,160,185,0.25);--c539:rgba(20,29,38,0.76);--c540:rgba(14,20,28,0.96);--c541:rgba(0,0,0,0.32);--c542:rgba(127,214,255,0.36);--c543:rgba(127,214,255,0.1);--bg: var(--c000);--panel: var(--c001);--panel-soft: var(--c002);--input: var(--c003);--ink: var(--c004);--muted: var(--c005);--line: var(--c006);--sidebar: var(--c007);--green: var(--c008);--green-dark: var(--c009);--gold: var(--c010);--red: var(--c011);--blue: var(--c012);}
/* Light theme base colours (the dark theme keeps the original values from app.css). */
html[data-theme="light"] {
  --bg: #eef1f5;
  --panel: #ffffff;
  --panel-soft: #f5f7fa;
  --input: #ffffff;
  --ink: #131b2a;
  --muted: #56627a;
  --line: #cdd5e1;
  --green: #1f9d4d;
  --green-dark: #157a3a;
  --gold: #9a6b00;
  --red: #c9372c;
  --blue: #1b79b8;
}
html[data-theme="light"] body { background: var(--bg); color: var(--ink); }
html[data-theme="light"] .panel,
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .metric,
html[data-theme="light"] .pack,
html[data-theme="light"] .info-card { box-shadow: 0 1px 2px rgba(16, 28, 54, .06), 0 6px 18px rgba(16, 28, 54, .05); }

/* theme switch */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
  font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--green); }
.theme-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.theme-toggle-icon {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.theme-label-when-light { display: none; }
html[data-theme="light"] .theme-label-when-light { display: inline; }
html[data-theme="light"] .theme-label-when-dark { display: none; }
.auth-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* reports */
.report-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.report-filters .wide { grid-column: span 2; }
.report-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.report-summary div { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--panel-soft); }
.report-summary span { display: block; color: var(--muted); font-size: 12.5px; }
.report-summary strong { font-size: 22px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.report-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.report-chips a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; text-decoration: none; color: var(--ink) !important; }
.report-chips a.on { background: var(--green); border-color: var(--green); color: #06140b !important; }
html[data-theme="light"] .report-chips a.on { color: #fff !important; }
.report-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 720px) { .report-filters .wide { grid-column: auto; } }

/* Light theme: hand-written corrections on top of the generated colour table (shared by every build). */
html[data-theme="light"] .ticket-number.ticket-number-alert,
html[data-theme="light"] .general-ticket-item.general-ticket-unseen summary .status,
html[data-theme="light"] .general-ticket-inline.general-ticket-unseen summary .status {
  color: #fff;
  border-color: #b71c1c;
  background: #c62828;
  animation-name: lightAlertBlink;
}
@keyframes lightAlertBlink {
  0%, 100% { background: #c62828; box-shadow: 0 0 0 1px rgba(198, 40, 40, .22), 0 0 8px rgba(198, 40, 40, .28); }
  50% { background: #e53935; box-shadow: 0 0 0 2px rgba(198, 40, 40, .30), 0 0 16px rgba(229, 57, 53, .55); }
}
html[data-theme="light"] .btn.danger,
html[data-theme="light"] .btn.danger:hover { color: #fff; }
html[data-theme="light"] .status.client-status-processing-neon,
html[data-theme="light"] .status.client-status-ready-neon { color: #0b6a2c; }
html[data-theme="light"] .response-download-state.not-downloaded { color: #7a5600; }
/* order cards waiting for attention: a calm accent instead of the neon glow */
html[data-theme="light"] .admin-lab-card.order-neon-alert:not(.order-neon-ack),
html[data-theme="light"] .client-lab-card.order-neon-alert:not(.order-neon-ack) {
  border-color: #d32f2f;
  animation-name: lightCardAlert;
}
@keyframes lightCardAlert {
  0%, 100% { box-shadow: inset 3px 0 0 #d32f2f, 0 0 0 1px rgba(211, 47, 47, .25), 0 6px 18px rgba(211, 47, 47, .10); }
  50% { box-shadow: inset 3px 0 0 #d32f2f, 0 0 0 2px rgba(211, 47, 47, .45), 0 6px 22px rgba(211, 47, 47, .20); }
}

/* ------------------------------------------------------------------ pages added to calibrix: colour names -> calibrix palette */
:root {
  --accent: var(--green);
  --accent-hover: var(--green-dark);
  --accent-soft: rgba(85, 200, 120, .14);
  --link: var(--blue);
  --focus: var(--green);
  --plate: transparent;
  --sidebar: var(--panel-soft);
  --brand-red: var(--red);
  --brand-red-deep: var(--red);
  --brand-navy: var(--panel-soft);
  --brand-blue: var(--green);
  --brand-blue-hover: var(--green-dark);
}
html[data-theme="light"] {
  --accent-soft: rgba(31, 157, 77, .12);
}

/* ------------------------------------------------------------------ layout of the added pages */
/* two-step login */
.twofa-steps { margin: 4px 0 6px; padding: 0; list-style: none; display: grid; gap: 8px; }
.twofa-steps li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 14px; }
.twofa-steps li.done { border-color: #2f9e5b; color: var(--ink); }
.twofa-steps li.done strong::after { content: " \2713"; color: #2f9e5b; }
input[name="code"] { font: 700 26px/1.2 "Saira", monospace; letter-spacing: .32em; text-align: center; }

/* settings + reports */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.settings-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.settings-status { display: flex; gap: 8px; flex-wrap: wrap; }
.settings-log { display: grid; gap: 6px; }
.settings-page input[readonly] { color: var(--muted); }
.report-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.report-filters .wide { grid-column: span 2; }
.report-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.report-summary div { border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; background: var(--panel-soft); }
.report-summary span { display: block; color: var(--muted); font-size: 12.5px; }
.report-summary strong { font: 700 22px/1.2 "Saira", sans-serif; font-variant-numeric: tabular-nums; }
.report-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.report-chips a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; text-decoration: none; color: var(--ink) !important; }
.report-chips a.on { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff !important; }

html[data-theme="light"] .panel,
html[data-theme="light"] .metric,
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .auth-card { box-shadow: 0 1px 2px rgba(11, 27, 63, .06), 0 8px 24px -18px rgba(11, 27, 63, .25); }
html[data-theme="light"] .pill { background: #eaf0fb; color: var(--brand-navy); border-color: #c5d2ee; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 900px) { .auth-visual::after { width: 48%; opacity: .5; } .auth-hero { margin: 28px 0; } }

/* client order list: tidy card (ticket | vehicle | status, then services | value) and readable sizes */
.client-lab-card-link {
  grid-template-columns: minmax(130px, .7fr) minmax(200px, 1.4fr) auto;
  grid-template-areas: "ticket car state" "services services money";
  align-items: start;
  row-gap: 10px;
}
.client-lab-ticket { grid-area: ticket; }
.client-lab-car { grid-area: car; }
.client-lab-services { grid-area: services; }
.client-lab-money { grid-area: money; text-align: right; }
.client-lab-state { grid-area: state; align-self: start; }
.client-lab-ticket strong { font-size: 14px; }
.client-lab-ticket span, .client-lab-car span, .client-lab-money span { font-size: 13px; }
.client-lab-services span, .client-lab-detail-tags span { font-size: 12px; font-weight: 700; }
.client-lab-card-actions { gap: 8px; padding-right: 12px; }
.client-lab-download { white-space: nowrap; }
@media (max-width: 720px) {
  .client-lab-card-link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ticket state" "car car" "services services" "money money"; }
  .client-lab-money { text-align: left; }
}

/* admin files on tablet/phone: nothing sticks out of its cell.
   (Layout fix, kept here so the calibrix release of 2026-11-24 stays reproducible; move to fix_layout.py at the next release.) */
@media (max-width: 1100px) {
  .admin-report-comment-form { grid-template-columns: minmax(0, 1fr); }
  .admin-report-comment-head { flex-wrap: wrap; row-gap: 4px; }
  .admin-report-comment-head > * { min-width: 0; }
  .admin-files-cell .managed-file-item { grid-template-columns: minmax(0, 1fr) auto; min-width: 0; }
  .admin-files-cell .response-stack { min-width: 0; }
  .admin-files-cell .response-item { max-width: 100%; overflow: hidden; }
}

/* ---------- overview ("Pulpit"): client home, admin home, client preview ---------- */
:root { --ov-series-1: #3987e5; --ov-series-2: #d95926; }
html[data-theme="light"] { --ov-series-1: #2a78d6; --ov-series-2: #eb6834; }
.ov { display: grid; gap: 16px; }
.ov-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ov-head h2 { margin: 0 0 4px; }
.ov-head p { margin: 0; color: var(--muted); }
.ov-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ov-news { border-left: 3px solid var(--ov-series-1); line-height: 1.55; }
.ov-news h3 { margin: 0 0 6px; font-size: 15px; }
.ov-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ov-chart-panel { grid-column: span 5; }
.ov-service { grid-column: span 3; }
.ov-queue { grid-column: span 4; }
.ov-files { grid-column: span 7; }
.ov-tickets { grid-column: span 5; }
.ov-panel > h3 { margin: 0 0 12px; font-size: 16px; }
.ov-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ov-panel-head h3 { margin: 0; font-size: 16px; }
.ov-panel-head a { font-size: 13px; color: var(--muted); }
.ov-panel-head a:hover { color: var(--ink); }
.ov-muted { color: var(--muted); }
.ov-empty { margin: 0; color: var(--muted); }

.ov-chart { position: relative; }
.ov-legend { display: flex; gap: 18px; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.ov-legend strong { margin-left: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ov-key { display: inline-block; width: 14px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.ov-key-1 { background: var(--ov-series-1); }
.ov-key-2 { background: var(--ov-series-2); }
.ov-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ov-grid-line { stroke: var(--line); stroke-width: 1; }
.ov-axis { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ov-end { fill: var(--muted); font-size: 11px; font-weight: 600; }
.ov-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ov-line-1 { stroke: var(--ov-series-1); }
.ov-line-2 { stroke: var(--ov-series-2); }
.ov-dot { stroke: var(--panel); stroke-width: 2; }
.ov-dot-1 { fill: var(--ov-series-1); }
.ov-dot-2 { fill: var(--ov-series-2); }
.ov-band { fill: transparent; outline: none; }
.ov-band.on, .ov-band:focus-visible { fill: var(--ink); fill-opacity: .06; }
.ov-tip {
  position: absolute; top: 26px; z-index: 2; display: grid; gap: 3px; padding: 8px 10px; transform: translateX(-50%);
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink);
  font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.ov-tip[hidden] { display: none; }
.ov-tip span { font-variant-numeric: tabular-nums; }
.ov-data { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.ov-data summary { cursor: pointer; }
.ov-data table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.ov-data th, .ov-data td { padding: 4px 8px; border-bottom: 1px solid var(--line); text-align: left; text-transform: none; letter-spacing: 0; background: transparent; font-variant-numeric: tabular-nums; }

.ov-state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; }
.ov-state i { width: 10px; height: 10px; border-radius: 50%; background: #2f9e5b; }
.ov-state.offline i { background: var(--muted); }
.ov-hours, .ov-facts { display: grid; gap: 6px; margin: 0; }
.ov-hours div, .ov-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.ov-hours dt, .ov-facts dt { color: var(--muted); }
.ov-hours dd, .ov-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ov-hours .closed dd { color: var(--muted); font-weight: 500; }
.ov-facts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

.ov-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ov-tile { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-soft); color: var(--ink); text-decoration: none; }
a.ov-tile:hover { border-color: var(--accent); }
.ov-tile span { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.ov-tile strong { font: 700 24px/1.1 "Saira", sans-serif; font-variant-numeric: tabular-nums; }
.ov-tile.blue strong { color: var(--ov-series-1); }
.ov-tile.gold strong { color: var(--gold); }
.ov-tile.green strong { color: var(--green-dark); }

.ov-table-wrap { overflow-x: auto; }
.ov-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ov-table th { padding: 6px 10px; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.ov-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ov-table tr:last-child td { border-bottom: 0; }
.ov-table td a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; }
.ov-table td a:not(.btn):hover { text-decoration: underline; }
.ov-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.ov-table .ov-action { text-align: right; white-space: nowrap; }
/* staff overview: files still to be done pulse softly (owner, 2026-11-26) */
:root { --ov-todo-tint: rgba(255, 196, 70, .11); --ov-todo-glow: rgba(255, 196, 70, .5); }
html[data-theme="light"] { --ov-todo-tint: rgba(222, 150, 0, .14); --ov-todo-glow: rgba(214, 140, 0, .45); }
@keyframes ov-todo-row { 0%, 100% { background-color: transparent; } 50% { background-color: var(--ov-todo-tint); } }
@keyframes ov-todo-pill { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 3px var(--ov-todo-tint), 0 0 12px var(--ov-todo-glow); } }
.ov-table tr.is-todo td { animation: ov-todo-row 2.6s ease-in-out infinite; }
.ov-table tr.is-todo td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.ov-table tr.is-todo .status { animation: ov-todo-pill 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ov-table tr.is-todo td { background-color: var(--ov-todo-tint); } }
.ov-announce { display: grid; gap: 10px; }
.ov-announce > h3 { margin: 0; }
.ov-announce p { margin: 0; }
.ov-announce textarea { width: 100%; }
@media (max-width: 1500px) {
  .ov-chart-panel { grid-column: span 7; }
  .ov-service { grid-column: span 5; }
  .ov-queue, .ov-files, .ov-tickets { grid-column: span 12; }
  .ov-queue .ov-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ov-chart-panel, .ov-service { grid-column: span 12; }
  .ov-queue .ov-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ov-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* dialog that asks for a reason before an order is deleted */
.reason-dialog { width: min(460px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 8, 30, .5); }
.reason-dialog::backdrop { background: rgba(3, 8, 20, .64); }
.reason-dialog h3 { margin: 0; }
.reason-dialog p { margin: 0; color: var(--muted); }
.reason-dialog p strong { color: var(--ink); }
.reason-dialog label { display: grid; gap: 6px; font-weight: 600; }
.reason-dialog textarea { width: 100%; min-height: 84px; resize: vertical; }
.reason-dialog .button-row { justify-content: flex-end; }

/* upload form: the files chosen for one order (2-4) and the "too many files" note */
.upload-file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.upload-file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-soft); }
.upload-file-list li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--ink); }
.upload-file-list li strong { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.upload-file-list li small { flex: none; color: var(--muted); }
.upload-file-limit { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--brand-red); background: var(--accent-soft); color: var(--ink); font-weight: 600; border-radius: 4px; }

/* admin: list of clients and the client card */
.client-name-link { color: inherit; text-decoration: none; }
.client-name-link:hover strong { text-decoration: underline; }
.admin-clients-table td small { display: block; color: var(--muted); }
.client-card-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.client-card-head h2 { margin: 6px 0 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.client-card-back { font-size: 13px; color: var(--link); text-decoration: none; }
.client-card-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 13px; }
.client-card-side { display: grid; gap: 10px; justify-items: end; }
.client-card-balance { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 13px; }
.client-card-balance strong { font: 800 36px/1 "Saira", system-ui, sans-serif; color: var(--ink); }
.client-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 16px; align-items: start; }
.client-card .panel h3 { margin: 0 0 4px; }
.client-card .panel > div > p { margin: 0; color: var(--muted); font-size: 13px; }
.client-card .form-grid .wide, .client-card .form-grid button.wide { grid-column: 1 / -1; }
.client-card label small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
.discount-general { max-width: 220px; }
.discount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
/* (owner 2026-12-02: "niesymetryczne okna") the cells were stretched to the tallest hint and the extra height went into
   the inputs - each cell now keeps its own height: title, an input of one fixed height, the hint under it */
.discount-grid label { display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 4px; }
.discount-grid label strong { white-space: nowrap; }
.discount-grid input, .discount-general input { width: 100%; height: 40px; box-sizing: border-box; }
.client-mini-table table { font-size: 13px; }
.client-mini-table td, .client-mini-table th { padding: 7px 10px; }
.amount-plus { color: #1f9d55; }
.amount-minus { color: var(--accent); }
html:not([data-theme="light"]) .amount-plus { color: #58d68d; }
.client-block-form { padding-top: 14px; border-top: 1px solid var(--line); }
.client-block-form p { margin: 0; }
.client-danger { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.client-danger p { margin: 0; color: var(--muted); font-size: 13px; }
.client-card details summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.client-card details summary h3 { margin: 0; }
.client-card details[open] summary { margin-bottom: 14px; }
.upload-discount-note { margin: 0; padding: 10px 14px; border-left: 3px solid var(--brand-red); background: var(--accent-soft); border-radius: 4px; color: var(--ink); }
.remap-card em s { opacity: .6; font-style: normal; margin-right: 4px; }
@media (max-width: 700px) { .discount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client-card-side { justify-items: start; } }
/* list of clients: always fits its panel, the card button stays in view; less important columns go first */
.admin-clients-table table { min-width: 0; width: 100%; }
.admin-clients-table td, .admin-clients-table th { overflow-wrap: anywhere; }
.admin-clients-table td:last-child { white-space: nowrap; text-align: right; }
@media (max-width: 1250px) { .admin-clients-table th:nth-child(6), .admin-clients-table td:nth-child(6) { display: none; } }
@media (max-width: 820px) { .admin-clients-table th:nth-child(4), .admin-clients-table td:nth-child(4), .admin-clients-table th:nth-child(5), .admin-clients-table td:nth-child(5) { display: none; } }
@media (max-width: 560px) { .admin-clients-table th:nth-child(2), .admin-clients-table td:nth-child(2) { display: none; } }

/* upload wizard: tool tiles and the selection window, file analysis, service path, option tiles, "Your order" */
.upload-wizard { align-items: start; }
.upload-wizard > .upload-discount-note { grid-column: 1 / -1; }
.wizard-main { min-width: 0; }
.wizard-panel > .panel + .panel { margin-top: 16px; }
/* "Your order" travels with the page through every step: it sticks under the top bar (its height is measured by
   portal-wizard.js into --order-top) and ends above the fixed action bar; a long list scrolls inside it. */
@media (min-width: 1360px) {
  .upload-wizard { grid-template-columns: minmax(0, 1fr) 304px; column-gap: 20px; }
  .order-summary { position: sticky; top: var(--order-top, 112px); max-height: calc(100vh / .9 - var(--order-top, 112px) - 112px); overflow-y: auto; }
}

.tool-picker { display: grid; gap: 14px; }
.tool-picker-head h3 { margin: 0 0 4px; }
.tool-picker-head p { margin: 0; color: var(--muted); font-size: 13px; }
.tool-browse { display: grid; gap: 12px; }
.tool-filter { display: flex; gap: 12px; align-items: center; }
.tool-filter input { flex: 1; min-width: 0; }
.tool-filter span { flex: none; color: var(--muted); font-size: 13px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.tool-tile { display: grid; gap: 6px; justify-items: center; align-content: start; padding: 10px 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); color: var(--ink); font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.tool-tile:focus-visible, .tool-chip:focus-visible, .tool-recent-chip:focus-visible, .service-more:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.tool-tile.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tool-plate { display: grid; place-items: center; width: 100%; aspect-ratio: 168 / 64; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(11, 27, 63, .1); }
.tool-plate img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tool-plate-other { color: #55637f; }
.tool-plate-other .pict { width: 32px; height: 32px; }
.tool-tile-other .tool-plate { background: transparent; box-shadow: none; border: 1px dashed var(--line); color: var(--muted); }
.tool-name { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.tool-tile small { color: var(--muted); font-size: 11.5px; line-height: 1.25; min-height: 1.25em; }
.tool-empty, .option-empty { margin: 0; color: var(--muted); }
.tool-recent { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tool-recent > span { color: var(--muted); font-size: 13px; }
.tool-recent-chip, .tool-chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tool-recent-chip:hover, .tool-chip:hover { border-color: var(--brand-blue-hover); }
.tool-chip.is-on { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }
.tool-chosen { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent-soft); }
.tool-chosen > span:first-child { flex: none; width: 150px; }
.tool-chosen > div { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.tool-chosen strong { font-size: 16px; }
.tool-chosen small { color: var(--muted); font-size: 13px; }
.tool-manual { display: grid; gap: 6px; max-width: 520px; font-weight: 600; }
.tool-picker.is-invalid .tool-grid { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.tool-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 8, 30, .5); }
.tool-dialog[open] { display: grid; gap: 18px; }
.tool-dialog::backdrop { background: rgba(3, 8, 20, .64); }
.tool-dialog-head { display: flex; gap: 14px; align-items: center; }
.tool-dialog-head > span { flex: none; width: 132px; }
.tool-dialog-head > div { flex: 1; min-width: 0; }
.tool-dialog-head h3 { margin: 0; }
.tool-dialog-head p { margin: 2px 0 0; color: var(--muted); }
.tool-dialog-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.tool-dialog-x:hover { background: var(--accent-soft); color: var(--ink); }
.tool-dialog-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tool-dialog-group p { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

.file-analysis { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.file-analysis-head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.file-analysis-head h4 { margin: 0; }
.file-analysis-head small { color: var(--muted); }
.file-analysis-body { display: grid; gap: 10px; justify-items: start; color: var(--muted); font-size: 13px; }
.file-analysis-row { display: grid; gap: 6px; width: 100%; }
.file-analysis-file { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.file-analysis-file strong { color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.file-analysis-file em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.file-analysis-row p { margin: 0; }
.file-analysis-found { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.file-analysis-found div { display: grid; gap: 1px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.file-analysis-found dt { font-size: 11.5px; }
.file-analysis-found dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

.vehicle-tile .vehicle-pict { display: block; color: var(--muted); }
.vehicle-tile .vehicle-pict .pict { display: block; width: 30px; height: 30px; }
.vehicle-tile input:checked + span .vehicle-pict { color: var(--accent); }
/* what the first function costs for this vehicle type, in credits and net, and what every further one adds */
.vehicle-tile em.vehicle-price { display: grid; gap: 1px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.vehicle-price b { color: var(--ink); font: 700 16px/1.2 "Saira", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.vehicle-price i { font-style: normal; color: var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vehicle-price u { text-decoration: none; color: var(--muted); font-size: 12px; }
.vehicle-price i.vehicle-price-gross { color: var(--muted); font-size: 12.5px; }
.wizard-price-note { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.credit-cost-board > div em { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.credit-cost-board > div em:empty { display: none; }

/* the order's cost beside "Next": visible in every step and at every window width */
.wizard-cost { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; margin-right: auto; min-width: 0; padding: 6px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.wizard-cost span { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.wizard-cost strong { color: var(--ink); font: 800 19px/1.2 "Saira", system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wizard-cost em { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wizard-cost.is-missing strong { color: var(--accent); }
/* net and gross stacked beside the credit total */
.wizard-cost strong { grid-row: span 2; align-self: center; }
.wizard-cost em.wizard-cost-gross { grid-column: 2; font-size: 12.5px; }
.wizard-cost em:empty { display: none; }
@media (max-width: 1100px) {
  .wizard-cost { width: 100%; margin-right: 0; grid-template-columns: minmax(0, 1fr) auto auto; padding: 8px 12px; }
  .wizard-cost span { grid-column: auto; grid-row: span 2; align-self: center; }
  .wizard-cost em.wizard-cost-gross { grid-column: 3; }
  body.view-upload .content { padding-bottom: 252px; }
}

.service-path { display: grid; gap: 12px; }
.service-path-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.service-tile > span { position: relative; min-height: 136px; }
.service-tile .service-pict { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); }
.service-tile > span > em { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.service-tile input:checked + span .service-pict { background: var(--accent); color: #fff; }
.service-tile input:checked + span > em { border-color: var(--accent); }
.service-tile.is-other > span { border-style: dashed; }
.service-more { justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--link); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

.option-path { display: grid; gap: 12px; }
.option-search { max-width: 420px; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); grid-auto-flow: dense; gap: 10px; }
.option-tile { display: grid; gap: 8px; align-content: start; min-width: 0; }
.option-tile .check-chip { display: block; cursor: pointer; }
.option-tile .check-chip > span { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; background: var(--panel-soft); }
.option-tile .check-chip > span b { font-weight: 700; overflow-wrap: anywhere; }
.option-tile .check-chip > span em { font-size: 12px; font-style: normal; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.option-tile .check-chip input:checked + span em { color: var(--ink); }
.option-box { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 5px; color: transparent; }
.option-box .pict { width: 14px; height: 14px; stroke-width: 3; }
.option-pict { display: grid; color: var(--muted); }
.option-tile .check-chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.option-tile .check-chip input:checked + span .option-box { border-color: var(--accent); background: var(--accent); color: #fff; }
.option-tile .check-chip input:checked + span .option-pict { color: var(--ink); }
.option-tile .check-chip input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.option-tile.is-open { grid-column: 1 / -1; grid-template-columns: minmax(236px, 300px) minmax(0, 1fr); align-items: center; }
.option-detail { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.option-detail input { max-width: 360px; }
.dtc-form-title { margin: 0; }

.order-summary { display: grid; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.order-summary h3 { margin: 0; }
.order-summary dl { display: grid; gap: 8px; margin: 0; }
.order-summary dl div { display: grid; gap: 1px; }
.order-summary dt, .order-summary-label { color: var(--muted); font-size: 12px; }
.order-summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.order-summary .is-empty { color: var(--muted); font-weight: 400; }
.order-summary-lines { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-summary-line { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.order-summary-line b { font-variant-numeric: tabular-nums; }
.order-summary ul { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
.order-summary li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.order-summary li em { flex: none; color: var(--ink); font-style: normal; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-summary-rule { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.order-summary-rule:empty { display: none; }
.order-summary-line b { flex: none; }
.order-summary-discount { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13.5px; }
.order-summary-discount b { color: #1f9d55; font-variant-numeric: tabular-nums; }
html:not([data-theme="light"]) .order-summary-discount b { color: #58d68d; }
.order-summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-summary-total strong { font: 800 22px/1.1 "Saira", system-ui, sans-serif; font-variant-numeric: tabular-nums; text-align: right; }
.order-summary-net { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: -6px 0 0; font-size: 13.5px; color: var(--muted); }
.order-summary-net b { color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.order-summary-net.order-summary-gross { margin-top: -10px; }
@keyframes order-amount-flash { from { color: var(--link); } }
.order-summary .is-changed, .wizard-cost .is-changed { animation: order-amount-flash .7s ease-out; }
.order-summary-after { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--muted); font-size: 13px; }
.order-summary-after b { color: var(--ink); font-variant-numeric: tabular-nums; }
.order-summary.is-missing .order-summary-after b { color: var(--accent); }

.parts-block { display: grid; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.parts-block legend { padding: 0 6px; font-weight: 700; }
.parts-block > p { margin: 0; color: var(--muted); font-size: 13px; }
.parts-list { display: grid; gap: 12px; }
.choice-chip { cursor: pointer; }
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); font-size: 13.5px; font-weight: 600; }
.choice-chip input:checked + span { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }
.choice-chip input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }

@media (max-width: 700px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-grid { grid-template-columns: 1fr; }
  .option-tile.is-open { grid-template-columns: 1fr; }
  .tool-chosen > span:first-child { width: 120px; }
}

/* upload wizard: the next action pulses (owner, 2026-11-25: "pulsujacy neon do wezwania do dzialania") - the send
   button always, "Next" once the current step is complete. Without motion the glow stays, still. */
@keyframes wizard-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 70, 70, .6), 0 0 10px rgba(255, 30, 30, .55), 0 0 26px rgba(230, 0, 0, .35); }
  50% { box-shadow: 0 0 0 2px rgba(255, 130, 130, .95), 0 0 22px rgba(255, 45, 45, .95), 0 0 54px rgba(230, 0, 0, .7); }
}
/* "no DTC codes": the codes field takes nothing and says so */
.dtc-form.is-none .notice, .dtc-form.is-none .dtc-choice-hint { display: none; }
.dtc-form.is-none input[name="dtc"] { pointer-events: none; opacity: .65; }
.dtc-none-note { margin: 0; padding: 10px 14px; border-left: 3px solid #1f9d55; border-radius: 4px; background: rgba(31, 157, 85, .14); color: var(--ink); font-weight: 600; }

/* the sidebar logo is the way back to the start page */
.brand-home { display: inline-flex; border-radius: 4px; color: inherit; text-decoration: none; }
.brand-home:hover .brand-plate { box-shadow: 0 0 0 2px var(--accent); }
.brand-home:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

/* admin settings: Stripe readiness */
.stripe-ready h2, .stripe-ready h3 { margin: 0 0 6px; }
.stripe-ready p { margin: 0; color: var(--muted); }
.stripe-ready-list { display: grid; gap: 8px; }
.stripe-ready-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.stripe-ready-row .stripe-ready-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: 13px; color: #fff; background: #1f9d55; }
.stripe-ready-row.is-missing .stripe-ready-mark { background: var(--accent); }
.stripe-ready-row > div { display: grid; gap: 2px; min-width: 0; }
.stripe-ready-row > div > span { color: var(--muted); font-size: 13.5px; }
.stripe-ready-row > div > span:empty { display: none; }
.stripe-ready-row code { font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; user-select: all; }
.stripe-ready-how ol { display: grid; gap: 6px; margin: 0; padding-left: 20px; color: var(--muted); }

/* admin: create a client - account, invoice data, devices, starting values */
.client-create { display: grid; gap: 16px; }
.client-create[hidden] { display: none; }
.client-create fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 8px; }
.client-create legend { padding: 0 8px; font: 700 15px/1.2 "Saira", system-ui, sans-serif; color: var(--ink); }
.client-create fieldset > p, .client-create-hint { margin: 0; color: var(--muted); font-size: 13px; }
.client-create .form-grid .wide { grid-column: 1 / -1; }
.client-create label small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.client-create > .btn { justify-self: start; min-width: 220px; min-height: 46px; }
.device-owner { display: grid; gap: 6px; max-width: 420px; font-weight: 600; }
.device-rows { display: grid; gap: 10px; }
.device-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 150px; gap: 10px; align-items: end; }
.device-row label { display: grid; gap: 6px; font-weight: 600; min-width: 0; }
.device-row input, .device-row select { width: 100%; }
.device-add { justify-self: start; }
@media (min-width: 701px) { .device-row + .device-row label { font-size: 0; gap: 0; } .device-row + .device-row label > * { font-size: 14px; } }
@media (max-width: 700px) { .device-row { grid-template-columns: 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--line); } }

/* admin: working hours tab; the message under the hours in the menu */
.hours-page { max-width: 980px; }
.hours-page h2, .hours-page h3 { margin: 0 0 6px; }
.hours-page p { margin: 0; color: var(--muted); }
.hours-page label small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.hours-week { display: grid; gap: 8px; }
.hours-day { display: grid; grid-template-columns: minmax(120px, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.hours-day label:not(.choice-chip) { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hours-day input[type="time"] { width: 128px; }
.hours-day.is-closed input[type="time"], .hours-day.is-closed label:not(.choice-chip) { opacity: .4; }
.hours-mode { display: grid; gap: 10px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.hours-mode legend { padding: 0 6px; font-weight: 700; }
.hours-mode .chip-row { align-items: center; }
.hours-preview-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.hours-preview { width: 240px; margin: 0; background: var(--sidebar); color: #fff; }
.hours-preview span b { color: #fff; }
.hours .hours-notice { display: block; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .16); color: #ffd9a8; font-size: 12px; font-weight: 600; line-height: 1.35; }
@media (max-width: 700px) { .hours-day { grid-template-columns: 1fr 1fr; } .hours-day strong { grid-column: 1 / -1; } }

/* menu: every item is a button you can see */
.sidebar .nav-link { min-height: 42px; padding: 10px 12px 10px 14px; border-radius: 8px; font-weight: 600; transition: background .15s, border-color .15s, box-shadow .15s, transform .1s; }
.sidebar .nav-link:not(.general-ticket-nav-unread) { border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .04)); color: #e8eefa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 1px 2px rgba(0, 0, 0, .4); }
.sidebar .nav-link:not(.general-ticket-nav-unread):hover { border-color: rgba(255, 255, 255, .45); background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .09)); color: #fff; }
.sidebar .nav-link:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45); }
.sidebar .nav-link.active:not(.general-ticket-nav-unread) { border-color: #4f7df0; background: linear-gradient(180deg, rgba(42, 95, 224, .75), rgba(23, 72, 196, .55)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(42, 95, 224, .3), 0 2px 8px rgba(23, 72, 196, .35); }
.sidebar .nav-link:focus-visible { outline: 2px solid #86b4ff; outline-offset: 2px; }
.sidebar .nav-group { gap: 7px; }

/* chip inputs are hidden, not page-wide: an absolutely placed input kept the form's width: 100% and pushed the page sideways */
.choice-chip { position: relative; display: inline-flex; }
.choice-chip input { width: 1px; height: 1px; margin: 0; padding: 0; border: 0; min-height: 0; }

/* client card: settlements (paid / to pay / overdue) */
.settle-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.settle-total { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.settle-total span, .settle-total small { color: var(--muted); font-size: 12.5px; }
.settle-total strong { font: 800 22px/1.15 "Saira", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.settle-total.is-paid strong { color: #1f9d55; }
.settle-total.is-open { border-color: #c98a12; }
.settle-total.is-overdue { border-color: var(--accent); background: var(--accent-soft); }
.settle-total.is-overdue strong { color: var(--accent); }
html:not([data-theme="light"]) .settle-total.is-paid strong { color: #58d68d; }
html:not([data-theme="light"]) .settle-total.is-overdue strong { color: #ff7a7a; }
.settle-table td small { display: block; color: var(--muted); }
.settle-amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.settle-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.settle-badge.is-paid { color: #1f9d55; border-color: #1f9d55; }
.settle-badge.is-open { color: #c98a12; border-color: #c98a12; }
.settle-badge.is-overdue { color: #fff; background: var(--accent); border-color: var(--accent); }
.settle-badge.is-void { color: var(--muted); text-decoration: line-through; }
html:not([data-theme="light"]) .settle-badge.is-paid { color: #58d68d; border-color: #58d68d; }
html:not([data-theme="light"]) .settle-badge.is-open { color: #f0b84a; border-color: #f0b84a; }
.settle-void td strong, .settle-void .settle-amount { text-decoration: line-through; opacity: .6; }
.settle-actions { display: grid; gap: 6px; min-width: 250px; }
.settle-actions form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.settle-actions input, .settle-actions select { min-height: 32px; padding: 2px 8px; font-size: 12.5px; width: auto; flex: 1 1 110px; min-width: 0; }
.settle-add { padding-top: 14px; border-top: 1px solid var(--line); }
.settle-add .wide { grid-column: 1 / -1; }
.settle-debt { color: var(--accent) !important; font-weight: 700; }
html:not([data-theme="light"]) .settle-debt { color: #ff7a7a !important; }
@media (max-width: 700px) { .settle-totals { grid-template-columns: 1fr; } }

/* admin lab: the work queue (portal-queue.php). Sections in the order of the work - in progress, client waits for a
   reply, new, done. Only what nobody has taken yet pulses (the existing red alert); work in progress carries a
   steady mark in the accent colour. */
:root { --queue-work: #2a63e6; --queue-work-soft: rgba(42, 99, 230, .16); --queue-work-ink: #9dbdff; }
html[data-theme="light"] { --queue-work: #0a47c4; --queue-work-soft: rgba(10, 71, 196, .08); --queue-work-ink: #0a3a9c; }
/* one list by date: the line above it says how it is sorted, two lines of links lead to work that lies further down */
.queue-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 0 2px 7px; border-bottom: 2px solid var(--line); }
.queue-bar strong { display: flex; align-items: center; gap: 9px; font: 700 17px/1.2 "Saira", system-ui, sans-serif; }
.queue-bar > span { color: var(--muted); font-size: 12.5px; }
.queue-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.queue-chips > strong { display: flex; align-items: center; gap: 8px; margin-right: 4px; font-size: 13px; }
.queue-chips a { display: inline-flex; align-items: baseline; gap: 7px; max-width: 100%; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); color: var(--ink); font-size: 12.5px; text-decoration: none; }
.queue-chips a b { font-weight: 700; font-variant-numeric: tabular-nums; }
.queue-chips a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.queue-chips a i { color: var(--muted); font-size: 11.5px; font-style: normal; }
.queue-chips a:hover { border-color: var(--accent); }
.queue-chips-work { border-color: var(--queue-work); }
.queue-chips-work .queue-count { border-color: var(--queue-work); background: var(--queue-work); color: #fff; }
.queue-chips-work a { border-color: var(--queue-work); background: var(--queue-work-soft); }
.queue-chips-reply { border-color: var(--accent); }
.queue-chips-reply .queue-count { border-color: var(--accent); background: var(--accent); color: #fff; }
.queue-chips-reply a { border-color: var(--accent); background: var(--accent-soft); }
.queue-flag-done { background: var(--panel-soft); }
.admin-lab-filter select[data-list-sort], .client-lab-filter select[data-list-sort] { min-height: 42px; font-weight: 600; }
@media (min-width: 1701px) { .admin-lab-filter { grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) minmax(270px, 330px) auto; } }
.queue-count { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); color: var(--ink); font: 700 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.queue-section-work .queue-head { border-bottom-color: var(--queue-work); }
.queue-section-work .queue-count { border-color: var(--queue-work); background: var(--queue-work); color: #fff; }
.queue-section-new .queue-head, .queue-section-reply .queue-head { border-bottom-color: var(--accent); }
.queue-section-new .queue-count, .queue-section-reply .queue-count { border-color: var(--accent); background: var(--accent); color: #fff; }
.queue-empty { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 13.5px; }
.queue-more { justify-self: start; margin: 0; color: var(--link); font-size: 13.5px; font-weight: 600; }
p.queue-more { color: var(--muted); font-weight: 400; }

/* the strip on top of a card: where the order stands, who took the file, for how long */
.queue-flag { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; padding: 7px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.queue-flag b { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.queue-flag strong { color: var(--ink); }
.queue-flag .timer { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.queue-flag-work { background: var(--queue-work-soft); }
.queue-flag-work b { color: var(--queue-work-ink); }
.queue-flag-new, .queue-flag-reply { background: var(--accent-soft); }
.queue-flag-new b, .queue-flag-reply b { color: var(--accent); }
html:not([data-theme="light"]) .queue-flag-new b, html:not([data-theme="light"]) .queue-flag-reply b { color: #ff7a7a; }
.queue-mine { padding: 2px 8px; border-radius: 999px; background: var(--queue-work); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.queue-alert { padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; }
.admin-lab-card.queue-work:not(.active) { border-color: var(--queue-work); box-shadow: inset 4px 0 0 var(--queue-work); }
/* the open order moved to another part of the queue: a ring shows where it is now */
@keyframes queue-moved { 0%, 55% { outline-color: var(--queue-work); } 100% { outline-color: transparent; } }
.admin-lab-card.queue-moved { outline: 3px solid transparent; outline-offset: 3px; animation: queue-moved 2.4s ease-out 1; }
a.admin-lab-stat { display: block; color: inherit; text-decoration: none; }
a.admin-lab-stat:hover { border-color: var(--accent); }
.admin-clients-table .client-since { color: var(--muted); }

/* Audit 2026-11-26: a failed chat send says so; note under the report tables. */
.chat-send-note { margin: 0; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #ff8a8a; }
:root[data-theme="light"] .chat-send-note { color: #b42318; }
.chat-send-note[hidden] { display: none; }
.report-note { margin: -6px 0 0; font-size: 13px; opacity: .75; }

/* 2026-11-26: gross amount next to the net one (price list), client tab "Moje saldo" (credits, net, gross, history). */
.price-table .price-net { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-gross { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.info-card p.price-gross { margin: 4px 0 0; font-weight: 600; }
.balance-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.balance-figures .metric strong { font: 800 28px/1.15 "Saira", system-ui, sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.balance-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.balance-cards h3 { margin: 0 0 12px; }
.balance-cards dl { display: grid; gap: 10px; margin: 0; }
.balance-cards dl div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.balance-cards dt { color: var(--muted); font-size: 13.5px; }
.balance-cards dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.balance-cards dd b { font-size: 16px; }
.balance-cards dd small { color: var(--muted); font-weight: 500; }
.balance-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.balance-empty { margin: 0; color: var(--muted); }
.balance-history > .section-head { margin-bottom: 12px; }
.balance-history h3 { margin: 0; }
.balance-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.balance-sort > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.balance-sort .btn.active { border-color: var(--brand-blue-hover); background: var(--blue-soft); color: var(--ink); }
.balance-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.balance-table .balance-desc { min-width: 200px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .balance-figures, .balance-cards { grid-template-columns: 1fr; }
}

/* 2026-11-26: client tab "Raporty" (own orders, net + gross). */
.client-report-table caption { caption-side: top; text-align: left; padding: 10px 12px 6px; font-weight: 700; color: var(--ink); }
.client-report-table .num, .client-report-list .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.client-report-list h3 { margin: 0 0 12px; }
.client-reports .report-summary strong { overflow-wrap: anywhere; }
.client-reports .report-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.client-reports .report-split > :first-child { grid-column: 1 / -1; }
.client-report-table td:first-child { min-width: 120px; }
.client-report-list td:nth-child(-n+2) { white-space: nowrap; }
@media (max-width: 1100px) {
  .client-reports .report-split { grid-template-columns: minmax(0, 1fr); }
}

/* The order that is open (clicked) is marked clearly in both lists - owner 2026-11-27: "nie wiadomo, na którym bilecie
   pracujemy". The old mark was a thin green line, the same colour as "in progress". Now: a thick ring in its own colour
   (white on the dark theme, navy on the light one) drawn as an OUTLINE, so the red / green / blue state glow of the card
   stays visible inside it, a tinted background, and the word "Otwarte" above the ticket number. */
:root { --open-ring: #f4f7ff; --open-tint: rgba(23, 72, 196, .16); --open-flag-bg: #f4f7ff; --open-flag-ink: #0b1f4d; }
html[data-theme="light"] { --open-ring: #0b1f4d; --open-tint: rgba(23, 72, 196, .08); --open-flag-bg: #0b1f4d; --open-flag-ink: #ffffff; }
.admin-lab-card.active, .client-lab-card.active { outline: 3px solid var(--open-ring); outline-offset: 3px; position: relative; z-index: 1; }
/* the tint lies over the card's own background (not replacing it) and lets clicks through */
.admin-lab-card.active::after, .client-lab-card.active::after { content: ""; position: absolute; inset: 0; background: var(--open-tint); pointer-events: none; }
.lab-card-open-flag {
  display: inline-flex; align-items: center; gap: 6px; width: max-content; margin: 0 0 6px;
  padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--open-flag-bg); color: var(--open-flag-ink);
  font: 800 .72rem/1.2 inherit; font-style: normal; letter-spacing: .08em; text-transform: uppercase;
}
.lab-card-open-flag::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent currentColor; }
.admin-lab-ticket .lab-card-open-flag, .client-lab-ticket .lab-card-open-flag { display: flex; }

/* Menu pictograms (owner 2026-11-29: "przy reszcie buttonów też dodaj piktogramy"): an 18 px line drawing in the
   text colour before each button's text.
   Fixed size and no shrinking, so a button keeps its height and the text still wraps beside it. */
.nav-link .nav-ico { flex: 0 0 18px; width: 18px; height: 18px; opacity: .82; }
.nav-link .nav-ico-img { flex-basis: 20px; width: 20px; height: 20px; margin: -1px 0; border-radius: 50%; object-fit: cover; opacity: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.nav-link:hover .nav-ico, .nav-link.active .nav-ico { opacity: 1; }
.nav-link .nav-text { min-width: 0; overflow-wrap: anywhere; }
body.view-admin-lab .nav-link .nav-ico, body.view-dashboard.role-client .nav-link .nav-ico,
body.view-files.role-client .nav-link .nav-ico, body.view-client-lab.role-client .nav-link .nav-ico { flex-basis: 16px; width: 16px; height: 16px; }
@media (max-width: 720px) {
  .nav-link .nav-ico { flex-basis: 16px; width: 16px; height: 16px; }
}

/* the SZOPKAR logo inside the upload bar builds with the fill (owner, 2026-12-01: the bar animation carries SZOPKAR):
   a faint copy in its own colours lies in the track, a white copy clipped to the filled part grows with the upload
   (--upload-progress-pct is set by updateUploadProgressFill in app.js) */
.upload-progress-track.has-logo { position: relative; height: 46px; border-radius: 10px; }
.upload-progress-track.has-logo > span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 10px; }
.upload-progress-logo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.upload-progress-logo img { display: block; height: 24px; width: auto; opacity: .55; }
.upload-progress-logo .logo-on-light { display: none; }
html[data-theme="light"] .upload-progress-logo .logo-on-light { display: block; }
html[data-theme="light"] .upload-progress-logo .logo-on-dark { display: none; }
.upload-progress-logo.is-lit { clip-path: inset(0 calc(100% - var(--upload-progress-pct, 0%)) 0 0); transition: clip-path .22s ease; }
/* the fill of calibrix is a bright yellow-green: the logo on it is drawn in dark ink (white could hardly be read there) */
.upload-progress-logo.is-lit img { opacity: 1; filter: brightness(0) drop-shadow(0 1px 0 rgba(255, 255, 255, .35)); }
@media (prefers-reduced-motion: reduce) { .upload-progress-logo.is-lit { transition: none; } }

/* ------------------------------------------------------------------ calibrix corrections of the added pages */
:root { --on-accent: #06140b; --alert: var(--red); --alert-fill: #d32f2f; --alert-soft: rgba(211, 47, 47, .12); }
html[data-theme="light"] { --on-accent: #fff; --alert: #b3261e; }
/* 1. warnings are red, not the brand green: a debt, an overdue payment, "not enough credits", a client waiting for an answer */
.amount-minus, .wizard-cost.is-missing strong, .order-summary.is-missing .order-summary-after b,
.settle-total.is-overdue strong, .queue-flag-new b, .queue-flag-reply b { color: var(--alert); }
.settle-debt { color: var(--alert) !important; }
.tool-picker.is-invalid .tool-grid { outline-color: var(--alert-fill); }
.settle-total.is-overdue { border-color: var(--alert-fill); background: var(--alert-soft); }
.queue-chips-reply, .queue-chips-reply a { border-color: var(--alert-fill); }
.queue-chips-reply a { background: var(--alert-soft); }
.queue-section-new .queue-head, .queue-section-reply .queue-head { border-bottom-color: var(--alert-fill); }
.settle-badge.is-overdue, .queue-alert, .queue-chips-reply .queue-count,
.queue-section-new .queue-count, .queue-section-reply .queue-count { background: var(--alert-fill); border-color: var(--alert-fill); color: #fff; }
.stripe-ready-row.is-missing .stripe-ready-mark { background: var(--alert-fill); }
/* 2. text on the green accent: dark ink on the bright green of the dark look, white on the deep green of the light look */
.report-chips a.on { color: var(--on-accent) !important; }
.tool-chip.is-on, .choice-chip input:checked + span, .service-tile input:checked + span .service-pict,
.option-tile .check-chip input:checked + span .option-box { color: var(--on-accent); }
/* 3. light look: the name pill was written in a background colour, and the "as the client sees it" hours box (a copy
      of the box in the dark menu) had white text on a light card */
html[data-theme="light"] .pill { color: #1d3a6e; }
html[data-theme="light"] .hours-preview, html[data-theme="light"] .hours-preview strong, html[data-theme="light"] .hours-preview span b { color: var(--ink); }
html[data-theme="light"] .admin-lab-tabs a.active, html[data-theme="light"] .tree-badge.version { color: #0b6a2c; }
/* 4. the menu button of the page you are on and the mark of the open order were blue and navy: calibrix green */
.sidebar .nav-link.active:not(.general-ticket-nav-unread) { border-color: #55c878; background: linear-gradient(180deg, rgba(46, 160, 92, .62), rgba(24, 110, 60, .50)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(85, 200, 120, .30), 0 2px 8px rgba(24, 110, 60, .35); }
.sidebar .nav-link:focus-visible { outline-color: #8fe3ad; }
:root { --open-tint: rgba(85, 200, 120, .12); --open-flag-ink: #0c2416; }
html[data-theme="light"] { --open-ring: #0c2416; --open-tint: rgba(31, 157, 77, .09); --open-flag-bg: #0c2416; --open-flag-ink: #ffffff; }
/* 5. upload wizard, step 3 (2026-12-02): the question "which ECU class" under the ticked solutions - one framed block,
      the line that says where the proposal comes from in full ink, the frame red while the class is still to be marked */
.class-path { gap: 8px; margin-top: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.class-path.is-open-question { border-color: var(--alert-fill); }
.class-path-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.class-path-hint, .class-path-source, .class-path-lower { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.class-path-source.is-found { color: var(--ink); font-weight: 600; }
.class-path-lower { color: var(--alert); font-weight: 600; }
.class-path .remap-grid { margin-top: 4px; }
/* 6. step 2 (2026-12-02): the level of the ECU sits under the ECU fields; one tile when the lists recognise the ECU */
.wizard-panel .class-path { margin-top: 14px; }
.class-path.is-locked .class-tile { cursor: default; }
/* 7. extras (+50 PLN each on top of the one price, owner 2026-12-02): blue neon tile with the surcharge written on it */
.option-tile.is-addon .check-chip > span { grid-template-columns: auto auto minmax(0, 1fr) auto auto; border-color: #2f9bff;
  box-shadow: 0 0 0 1px rgba(47, 155, 255, .55), 0 0 10px rgba(47, 155, 255, .40); }
.option-tile.is-addon .check-chip input:checked + span { border-color: #5cb4ff; background: rgba(47, 155, 255, .14);
  box-shadow: 0 0 0 1px rgba(92, 180, 255, .95), 0 0 18px rgba(47, 155, 255, .75), inset 0 0 12px rgba(47, 155, 255, .16); }
.option-tile.is-addon .check-chip input:checked + span .option-box { border-color: #2f9bff; background: #2f9bff; color: #fff; }
.option-tile.is-addon .option-pict { color: #3aa0ff; }
.addon-price { padding: 2px 8px; border: 1px solid #2f9bff; border-radius: 999px; font-size: 12px; font-weight: 800; color: #4fb0ff;
  white-space: nowrap; text-shadow: 0 0 6px rgba(47, 155, 255, .55); font-variant-numeric: tabular-nums; }
html[data-theme="light"] .addon-price { color: #0b5fc0; text-shadow: none; background: rgba(47, 155, 255, .08); }
[data-sum-options] .addon-price { margin-left: 6px; padding: 0 6px; font-size: 11px; }
/* 8. step 2, the vehicle / ECU catalogue search (owner 2026-12-02 11:30): green neon round the field, so the client fills
      the vehicle in from the catalogue instead of by hand; the glow rests once the field holds text or has the focus */
.vehicle-repository-panel input[name="vehicle_repository"] { border-color: #55c878;
  box-shadow: 0 0 0 1px rgba(85, 200, 120, .70), 0 0 14px rgba(85, 200, 120, .55), inset 0 0 10px rgba(85, 200, 120, .10); }
.vehicle-repository-panel input[name="vehicle_repository"]::placeholder { color: #8fe3ad; opacity: 1; }
.vehicle-repository-panel input[name="vehicle_repository"]:focus { box-shadow: 0 0 0 2px rgba(85, 200, 120, .95), 0 0 18px rgba(85, 200, 120, .60); animation: none; }
html[data-theme="light"] .vehicle-repository-panel input[name="vehicle_repository"] { border-color: #1f9d4d;
  box-shadow: 0 0 0 1px rgba(31, 157, 77, .60), 0 0 12px rgba(31, 157, 77, .45); }
html[data-theme="light"] .vehicle-repository-panel input[name="vehicle_repository"]::placeholder { color: #157a3b; }
@media (prefers-reduced-motion: no-preference) {
  .vehicle-repository-panel input[name="vehicle_repository"]:placeholder-shown:not(:focus) { animation: repo-glow 2.2s ease-in-out infinite; }
  @keyframes repo-glow { 50% { box-shadow: 0 0 0 1px rgba(85, 200, 120, .95), 0 0 26px rgba(85, 200, 120, .85), inset 0 0 12px rgba(85, 200, 120, .16); } }
  .option-tile.is-addon .check-chip input:checked + span { animation: addon-glow 2.4s ease-in-out infinite; }
  @keyframes addon-glow { 50% { box-shadow: 0 0 0 1px rgba(92, 180, 255, .95), 0 0 26px rgba(47, 155, 255, .95), inset 0 0 14px rgba(47, 155, 255, .22); } }
}
