:root{--navy:#2f4f6f;--blue:#3d5a80;--accent:#4f76a1;--ice:#f5f8fc;--line:#d7e1ec;--ink:#132944;--muted:#64758b;--green:#1f6e43;--goodbg:#e0f5e7;--red:#a83e45;--redbg:#fbe3e6;--shadow:0 5px 16px rgba(27,67,104,.08);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,Roboto,Arial,sans-serif;color:var(--ink);background:#eaf0f7;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83bce6;outline-offset:2px}#app{max-width:620px;min-height:100dvh;margin:auto;background:var(--ice);box-shadow:0 0 36px #21435e18;padding-bottom:env(safe-area-inset-bottom,0px)}.boot{padding:60px 20px;text-align:center}.hero{position:relative;color:white;padding:27px 18px 52px;min-height:175px;overflow:hidden;background:linear-gradient(118deg,#244869 0%,#345979 55%,#4b7295 100%)}.hero::after{content:"";position:absolute;bottom:-31px;left:-8%;width:116%;height:65px;background:#8ebce0;border-radius:50% 50% 0 0}.hero::before{content:"";position:absolute;bottom:-47px;left:-8%;width:116%;height:65px;background:var(--ice);border-radius:50% 50% 0 0;z-index:1}.brand{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:16px}.brand img{width:75px;height:75px;object-fit:cover;border-radius:19px;box-shadow:0 4px 14px #001b3780}.brand-copy{text-align:center}.brand h1{font-size:clamp(31px,7vw,42px);line-height:1.05;letter-spacing:-1.45px;font-weight:850;margin:0}.slogan{font-size:clamp(12px,3.15vw,15px);font-weight:600;color:#f2f8ff;white-space:nowrap;margin-top:5px}.by{font-size:10px;font-weight:400;font-style:italic;color:#c9dced;margin-top:10px}.subhead{background:linear-gradient(125deg,#284d6f,#456b8f);color:#fff;padding:18px 16px 33px;display:flex;gap:11px;align-items:center;position:relative;overflow:hidden}.subhead:after{content:"";position:absolute;bottom:-21px;left:-5%;width:110%;height:30px;border-radius:50% 50% 0 0;background:var(--ice)}.subhead h2{margin:0;font-size:19px;font-weight:780}.go-home{border:1px solid #ffffff66;background:#ffffff22;color:white;border-radius:10px;height:39px;width:39px;font-size:24px;display:grid;place-items:center}.main{padding:14px 16px 26px}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{display:flex;align-items:flex-start;flex-direction:column;text-align:left;min-width:0;padding:15px 13px 12px;background:#fff;color:var(--ink);border:1px solid #cddfee;border-radius:17px;min-height:139px;box-shadow:var(--shadow)}.tile:active,.tile:hover{background:#f9fcff}.tile-ico{font-size:22px;color:#245e8a;background:#e2f0fc;width:45px;height:45px;display:grid;place-items:center;border-radius:13px;margin-bottom:11px}.tile-title{font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%}.tile-desc{font-size:11px;color:var(--muted);margin-top:2px}.section-title{font-size:17px;margin:0;font-weight:820;letter-spacing:-.2px}.row{display:flex;align-items:center;justify-content:space-between;gap:9px}.row-start{display:flex;align-items:center;gap:9px}.preview-title{margin:22px 0 12px}.card{margin:10px 0;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 2px 6px #1a46600a;padding:14px}.visitrow{display:flex;align-items:stretch;gap:10px;padding:10px 0}.visitrow+.visitrow{border-top:1px solid #e2ebf4}.stripe{width:4px;background:#3283c0;border-radius:8px;flex:none}.grow{flex:1;min-width:0}.strong{font-weight:760}.muted{font-size:12px;color:var(--muted)}.tiny{font-size:11px;color:var(--muted)}.check-dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#20753e;background:#d9f4e0;font-weight:900;align-self:center;flex:none}.btn{min-height:43px;border-radius:11px;padding:10px 14px;font-weight:730;color:#fff;background:linear-gradient(120deg,#5181ab,#2c567d);border:1px solid #355e84;white-space:normal}.btn.outline{background:#fff;color:#285474;border-color:#c7d9e8}.btn.danger{background:#b2474f;border-color:#b2474f}.btn.small{min-height:36px;font-size:12px;padding:7px 10px}.btn.full{width:100%}.btn:active{transform:translateY(1px)}.pill{border:0;color:#285f89;background:#dfeefa;padding:8px 12px;border-radius:30px;font-size:12px;font-weight:760}.label{font-size:12px;font-weight:710;color:#456079;display:block;margin:12px 0 6px}.field{min-height:45px;width:100%;min-width:0;padding:11px 12px;border:1px solid #c6d8e8;border-radius:11px;background:#fff;color:var(--ink);font-size:16px}.field:focus{border-color:#5090b9}.textarea{min-height:104px;resize:vertical;line-height:1.55}.cols2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.divider{height:1px;background:#e1eaf2;margin:13px 0}.notice{margin:12px 0;padding:12px;background:#e6f1fc;border-radius:11px;color:#2c597d;font-size:13px}.notice.good{background:var(--goodbg);color:var(--green)}.notice.warn{background:var(--redbg);color:var(--red)}.note{font-size:12px;color:#5c7390;line-height:1.5}.actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.week-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:9px 0;font-size:13px;font-weight:750}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:11px 0}.day{padding:10px 0 8px;display:grid;place-items:center;gap:4px;border:1px solid transparent;border-radius:10px;min-width:0}.day small{font-size:10px}.day b{font-size:15px;color:#21384f}.day.free{background:#def4e6;color:var(--green)}.day.full{background:#f9dddf;color:var(--red)}.day.off{background:#e7ebf0;color:#6f7e8c}.day.active{border:2px solid #305c85;padding:9px 0 7px}.legend{display:flex;align-items:center;justify-content:center;gap:13px;font-size:11px;color:var(--muted);flex-wrap:wrap}.legend i{height:10px;width:10px;display:inline-block;border-radius:3px;margin-right:4px}.slotgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.slot{min-height:47px;border-radius:10px;font-variant-numeric:tabular-nums;font-size:15px;font-weight:750;border:1px solid #cae8d5;color:#1e7341;background:#e0f7e9}.slot.selected{outline:2px solid #3b719a;background:#dcedf9;color:#264f72}.slot:disabled{opacity:1;border-color:#e4ebf2;background:#e8edf2;color:#8c98a4}.durations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.dur{background:#fff;color:#2f648f;border:1px solid #c6d9e8;border-radius:10px;min-height:42px;font-weight:760}.dur.active{background:#3d5a80;color:#fff}.suggestions{border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px;margin-top:6px}.suggest{width:100%;border:0;border-bottom:1px solid #e5edf4;padding:11px 7px;background:#fff;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left}.suggest:active{background:#e6f1fb}.client-card{background:#fff;border:1px solid var(--line);padding:13px;border-radius:13px;margin:9px 0}.status{display:inline-flex;align-items:center;justify-content:center;background:#e1f6e9;color:#217447;font-size:12px;font-weight:760;border-radius:30px;padding:8px 10px}.hours-row{display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #e6edf4;padding:12px 0}.hours-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;min-width:108px}.hours-label input{accent-color:#316d99;width:18px;height:18px}.hours-fields{display:flex;gap:5px;align-items:center;min-width:0}.hours-fields select{width:96px;min-width:96px;min-height:39px;font-size:14px;padding:5px 6px;font-variant-numeric:tabular-nums}.sms-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}.sms-tab{border:1px solid #c8dbea;border-radius:10px;min-height:41px;background:#fff;color:var(--blue);font-size:12px;font-weight:720}.sms-tab.active{background:var(--blue);color:#fff}.tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.tag{background:#e6f1fb;border:1px solid #c9deee;border-radius:8px;color:#295d88;padding:7px;font-size:12px;font-weight:710}.sample{white-space:pre-wrap;overflow-wrap:anywhere;border:1px dashed #adcadf;background:#f2f7fc;border-radius:11px;padding:12px;font-size:13px}.bottom-nav{position:sticky;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:9px 6px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 14px #264c7012}.navbtn{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:56px;padding:8px 0 6px;border-radius:11px;font-size:11px;color:#768398}.navbtn b{font-size:21px;line-height:1}.navbtn.current{background:#e5f0fc;color:#275a83;font-weight:800}.footer{font-size:10px;text-align:center;color:#8191a1;margin:18px 0 5px}.empty{font-size:12px;color:var(--muted);padding:19px 8px;text-align:center}.top-pill{font-size:11px;background:#e5f2fc;padding:6px 9px;color:#245d89;border-radius:30px}.test-tag{font-size:11px;color:#75879a;text-align:center;margin:9px 0}.backup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.backup-actions .btn{width:100%}.file-input{width:100%;max-width:100%}.offline-status{font-size:11px;color:#5e7690;margin-top:8px;text-align:center}.danger-text{color:var(--red)}.hidden{display:none!important}
@media(max-width:390px){.main{padding:12px 12px 23px}.hero{padding:22px 9px 47px}.brand{gap:10px}.brand img{width:58px;height:58px;border-radius:15px}.brand h1{font-size:31px}.slogan{font-size:11px}.by{font-size:9px}.tile{padding:12px 10px;min-height:124px}.tile-title{font-size:14px}.hours-row{flex-wrap:wrap}.hours-fields{margin-left:24px;width:calc(100% - 24px);justify-content:flex-end}.hours-fields select{width:43%;min-width:90px}.visitrow{gap:7px}.actions .btn{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn:active{transform:none}}

/* Wizmero 0.7: daily timeline, inline bookings and 5-minute adjustments */
.day-timeline{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.timeline-gap{background:#fff;border:1px solid #D5E7DC;border-radius:13px;padding:10px 11px}
.timeline-caption{font-size:12px;font-weight:750;color:#237048;margin-bottom:8px}
.timeline-free{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.gap-time{border:1px solid #CBE4D2;border-radius:9px;background:#E5F6EA;min-height:41px;padding:8px 3px;color:#205D38;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}
.gap-time:active{background:#C5EACF}
.timeline-visit{background:#E5EFF9;border:1px solid #B6CBE2;border-left:5px solid #3D73A3;border-radius:12px;padding:12px 10px}
.timeline-visit-head{display:flex;align-items:center;gap:8px;min-width:0}
.visit-actions{justify-content:flex-start;margin-top:9px;gap:5px}
.visit-actions .btn{padding:7px 9px;min-height:36px}
.booking-editor{border:2px solid #91B5D3!important;scroll-margin-top:10px}
.time-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stepper{display:flex;justify-content:space-between;align-items:center;gap:3px;border:1px solid #C9DAE8;border-radius:11px;padding:4px;min-height:47px;background:#F8FBFE}
.stepper button{height:36px;min-width:33px;border:1px solid #B9D2E7;border-radius:8px;background:#E5F1FA;font-size:21px;font-weight:700;color:#2F577F;line-height:1}
.stepper b{font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.form-actions{justify-content:space-between;gap:6px}
.form-actions .btn{flex:1 1 auto}
.picker-row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #E1EAF4;padding:13px 6px;color:#243954}
.picker-row small{font-size:12px;color:#62758B}
.picker-row:active{background:#EDF6FC}
@media(max-width:380px){.time-edit-grid{gap:6px}.stepper button{min-width:28px}.stepper b{font-size:14px}.visit-actions{flex-wrap:wrap}.timeline-free{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Wizmero 0.8: godzinowy widok dnia oraz mobilne okno wizyty */
.day-timeline{gap:0;margin:12px 0;border:1px solid #BDD1E6;border-radius:13px;overflow:hidden;background:white}
.timeline-hour{min-height:56px;padding:10px 14px;background:white;color:#173451;border:0;border-bottom:1px solid #CBDCEE;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left}
.timeline-hour:active,.timeline-hour:hover{background:#EDF6FD}
.hour-label{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.hour-range{font-size:12px;color:#6E8094;flex:1;text-align:right}
.hour-add{font-size:21px;color:#3671A1;font-weight:650}
.timeline-visit{border-radius:0;border:0;border-bottom:1px solid #A9C4DD;border-left:5px solid #3578B0;background:#DCE8F7;padding:13px 11px}
.timeline-visit-head .strong{font-size:15px}
.visit-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.visit-actions .btn{min-width:0;white-space:normal;padding:9px 4px}
body.wz-modal-open{overflow:hidden;overscroll-behavior:none}
.sheet-backdrop{position:fixed;inset:0;background:rgba(12,30,52,.59);z-index:300;display:flex;align-items:flex-end;justify-content:center;overscroll-behavior:contain}
.booking-sheet{background:#F8FBFE;border-radius:23px 23px 0 0;width:min(620px,100%);height:auto;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 18px);display:flex;flex-direction:column;box-shadow:0 -8px 32px #001A3650;overflow:hidden;animation:sheet-up .18s ease-out}
@keyframes sheet-up{from{transform:translateY(25px);opacity:.75}to{transform:translateY(0);opacity:1}}
.sheet-handle{height:5px;width:46px;flex:none;border-radius:10px;background:#C0CEDA;margin:9px auto 0}
.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px 12px;border-bottom:1px solid #D7E5F0;background:#F8FBFE;flex:none}
.sheet-header h2{font-size:20px;color:#163655;margin:3px 0 0;line-height:1.2}
.sheet-close{background:#E5EDF5;border:0;border-radius:11px;width:40px;height:40px;flex:none;color:#385F82;font-size:27px;line-height:1}
.sheet-scroll{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:3px 18px 18px;flex:1;min-height:0}
.sheet-explain{line-height:1.4;margin:7px 0 0}
.sheet-footer{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;padding:11px 16px calc(12px + env(safe-area-inset-bottom,0px));background:white;border-top:1px solid #D7E5F0;flex:none;box-shadow:0 -4px 12px #153E6014}
.sheet-footer .btn{white-space:normal;min-width:0}
.sheet-scroll .time-edit-grid{gap:9px;margin-top:2px}
.sheet-scroll .stepper{padding:4px 5px;gap:3px;min-width:0}
.sheet-scroll .stepper button{width:34px;min-width:30px;flex:none}
.time-direct{color:#133654;font-size:16px;font-weight:800;border:0;background:transparent;padding:5px 0;max-width:100%;min-width:0;width:100%;font-variant-numeric:tabular-nums;text-align:center}
.time-direct::-webkit-calendar-picker-indicator{display:none}
.time-direct:focus{background:#EFF7FE;outline:2px solid #7EAEDA}
.clients-picker-button{margin-top:15px;min-height:45px}
.sheet-scroll .picker-row{min-height:62px;border-bottom:1px solid #E4EDF4}
@media(min-width:650px){.sheet-backdrop{align-items:center;padding:28px}.booking-sheet{border-radius:20px;max-height:90dvh}}
@media(max-width:390px){.sheet-scroll{padding-left:13px;padding-right:13px}.sheet-header{padding-left:13px;padding-right:13px}.sheet-scroll .time-edit-grid{gap:6px}.time-direct{font-size:14px}.sheet-scroll .stepper button{width:28px;min-width:27px}.hour-label{font-size:15px}}
@media(prefers-reduced-motion:reduce){.booking-sheet{animation:none}}

/* Wizmero 0.8.1: minimum continuous free time, accessible small-break markers */
.timeline-break{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 14px;color:#63758A;background:#EFF1F4;border-bottom:1px solid #D9E1E8}
.timeline-break .hour-label{font-size:13px;font-weight:650;color:#5D6D7F}
.break-info{font-size:12px;font-weight:650;white-space:nowrap;color:#657386}
.min-card{background:#F8FBFE}
.min-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.min-option{border:1px solid #BBD0E0;border-radius:10px;background:#FFF;color:#285878;font-weight:750;min-height:44px;padding:8px 1px}
.min-option.active{background:#3D5A80;border-color:#3D5A80;color:#FFF}
.min-description{font-size:12px;color:#47617A;line-height:1.5;margin-top:12px}
.min-preview{display:flex;flex-direction:column;gap:5px;background:#F0F3F7;border-radius:10px;padding:11px;margin-top:13px;font-size:12px;color:#526678}
.min-preview span:nth-child(2){background:#E0EBF8;color:#254D75;padding:7px;border-radius:7px}
.min-preview span:not(:nth-child(2)){background:#E6E8EC;padding:6px;border-radius:7px}
.min-preview b{font-size:11px;font-weight:700;color:#8F3B44;line-height:1.4;margin-top:4px}
@media(max-width:360px){.min-choices{gap:4px}.min-option{font-size:12px}}

/* 0.8.2: one-off working-time blocks, same visual language as visit cards */
.calendar-heading{flex-wrap:wrap;align-items:flex-start;gap:9px}
.calendar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.calendar-actions .btn{white-space:nowrap}
.timeline-block{background:#E9EFF7;border:0;border-left:5px solid #788FAB;border-bottom:1px solid #B6C8DA;padding:13px 11px}
.timeline-block .strong{color:#244764}
.timeline-block .muted{color:#62778D}
.block-lock{background:#D5E1ED;color:#385672;padding:6px;border-radius:10px;flex:none;font-size:18px}
@media(max-width:380px){.calendar-actions{width:100%;justify-content:space-between}.calendar-actions .btn{flex:1}}

/* SECURE BETA 0.9: password-based AES-GCM storage. Standalone lock screen. */
.security-toolbar{padding:7px 14px;background:#ECF4FA;color:#2F577B;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}
.security-toolbar button{border:1px solid #A7C3DB;background:white;border-radius:9px;color:#294E6C;padding:6px 11px;font-weight:700}
.sec-shell{min-height:75vh;background:#F5F8FC;color:#172D47}
.sec-header{background:linear-gradient(120deg,#244969,#3D5A80 75%,#55799B);color:white;text-align:center;padding:38px 14px 41px;border-radius:0 0 48% 48% / 0 0 12% 12%}
.sec-header h1{font-size:34px;font-weight:850;margin:4px 0 0;letter-spacing:-.9px}
.sec-header p{font-weight:650;margin:3px 0 0}.sec-by{font-size:11px;margin-top:7px;color:#D5E4F3;font-style:italic}
.sec-content{max-width:460px;margin:auto;padding:23px 19px 38px}
.sec-content h2{font-size:21px;color:#173C5C;text-align:center;margin:8px 0 16px}
.sec-lock{font-size:37px;text-align:center}
.sec-content .btn{margin:18px 0 6px;min-height:48px}
.sec-note{background:#E6F0F8;border-radius:11px;font-size:12px;line-height:1.55;color:#405B76;padding:12px;margin:15px 0}
.sec-reset{background:none;border:none;color:#923D47;display:block;margin:17px auto;text-decoration:underline;font-size:12px;padding:8px}


/* LOWRI 1.0 · Approved original Midnight Navy / Amber Gold visual identity.
   Cosmetic overrides only: state/data operations are untouched. */
:root{
 --navy:#080F25;--blue:#253C60;--accent:#D6A44F;--ice:#F6F5F2;
 --line:#D4D9E3;--ink:#18253D;--muted:#617087;
 --green:#1F754B;--goodbg:#E2F3E7;--red:#A43F46;--redbg:#FBE6E8;
 --shadow:0 5px 16px rgba(8,15,37,.07);
 background:#E8EBF1;
}
#app{background:var(--ice);box-shadow:0 0 35px #080F2514}
.hero{
 min-height:0;padding:17px 15px 41px;
 background:linear-gradient(135deg,#080F25 0%,#0E1931 65%,#172847 100%);
}
.hero::after{background:#D6A44F;height:46px;bottom:-26px;opacity:.65}
.hero::before{background:var(--ice);bottom:-39px;height:53px}
.brand{display:flex;justify-content:center;align-items:center}
.brand img.brand-logo{display:block;width:min(294px,88vw);height:auto;max-width:100%;border-radius:0;box-shadow:none;object-fit:contain}
.subhead{background:linear-gradient(125deg,#080F25 0%,#152544 62%,#253C60 100%);color:#F5ECDC}
.subhead h2{font-weight:750;color:#F4E9D5;letter-spacing:.15px}
.go-home{border-color:#D6A44F66;color:#E3B966}
.main{background:var(--ice)}
.tile{background:#FFFFFF;border:1px solid #D5DBE6;box-shadow:var(--shadow)}
.tile:hover,.tile:active{background:#F9F8F5;border-color:#A3B0C3}
.tile-ico{background:linear-gradient(145deg,#152544,#253C60);color:#E4B55E}
.tile-title{color:#152544}
.section-title{color:#152544}
.card,.client-card{background:#FFFFFF;border-color:var(--line)}
.stripe{background:#D6A44F}
.btn{background:linear-gradient(125deg,#E7BC70 0%,#D6A44F 60%,#C99539 100%);border:1px solid #BE8A2F;color:#171F35;font-weight:790;box-shadow:0 2px 7px #99712C18}
.btn:hover{filter:brightness(1.025)}
.btn.outline{background:#fff;color:#20385C;border-color:#BCC9DA;box-shadow:none}
.btn.danger{background:#AF4750;color:white;border-color:#AF4750}
.pill,.top-pill{background:#EAF0F7;color:#263D61}
.label{color:#344F70}
.field{background:#fff;border-color:#C6CFDE;color:#192A44}
.field:focus{border-color:#D6A44F;outline:2px solid #EBD4A3}
.notice{background:#E9EFF7;color:#2D496D}
.notice.good{background:var(--goodbg);color:var(--green)}
.notice.warn{background:var(--redbg);color:var(--red)}
.day.free{background:#E1F3E7;color:var(--green)}
.day.full{background:#F8E2E4;color:var(--red)}
.day.off{background:#E9EBEF;color:#687789}
.day.active{border-color:#B78A45;box-shadow:inset 0 0 0 1px #B78A45}
.day b{color:#182945}
.timeline-hour{background:#fff;border-color:#D6DCE7;color:#172949}
.timeline-hour:hover,.timeline-hour:active{background:#F3F2EF}
.hour-label{color:#192E4E}
.hour-add{color:#9A742F}
.timeline-visit{background:#E9EFF7;border-left-color:#345783;border-bottom-color:#C7D4E5}
.timeline-visit-head .strong{color:#1D3556}
.timeline-block{background:#F0F1F5;border-left-color:#8A9BB6;border-bottom-color:#CDD4E0}
.timeline-block .strong{color:#314A6D}
.block-lock{background:#DDE4ED;color:#365376}
.timeline-break{background:#F0F1F4;color:#697589}
.timeline-break .hour-label{color:#566779}
.booking-sheet{background:#F8F8F6}
.sheet-header{background:#F6F5F2;border-color:#D1D8E4}
.sheet-header h2{color:#1A3152}
.sheet-close{background:#E6E9EF;color:#39516E}
.sheet-footer{border-color:#CCD4DF}
.sheet-handle{background:#D6A44F}
.sheet-scroll .stepper{background:#F7F8F9;border-color:#C8D2DF}
.stepper button{background:#E6EAF1;border-color:#BCCAD9;color:#1C3658}
.time-direct{color:#172A49}
.dur.active,.sms-tab.active,.min-option.active{background:#253C60;color:#FFF3DE;border-color:#253C60}
.dur,.sms-tab,.min-option{color:#2A486E;border-color:#C9D2DF}
.gap-time,.slot{background:#E4F5EA;color:#20673F;border-color:#C7E4D0}
.slot.selected{background:#F7EDD8;color:#74541E;outline-color:#C99B45}
.suggestions,.suggest{background:#fff}
.hours-label input{accent-color:#314F76}
.tag{background:#EAF0F5;border-color:#CFD9E4;color:#304E73}
.sample{background:#F6F6F4;border-color:#B9C5D7;color:#172B49}
.bottom-nav{background:#FFFFFF;border-top-color:#D5DCE7}
.navbtn{color:#66778D}
.navbtn.current{background:#152544;color:#F3D297}
.navbtn.current b{color:#D6A44F}
.security-toolbar{background:#E9EEF5;color:#334C6B}
.security-toolbar button{border-color:#CBD5E2;color:#294464}
.sec-shell{background:var(--ice);color:var(--ink)}
.sec-header{background:linear-gradient(135deg,#080F25,#111D39 75%,#182D4D);border-radius:0 0 40% 40% / 0 0 8% 8%;padding:19px 12px 32px}
.sec-brand-logo{display:block;width:min(305px,88vw);height:auto;margin:auto}
.sec-kicker{font-size:10px;letter-spacing:1.6px;color:#D6A44F;margin-top:5px;text-transform:uppercase}
.sec-content h2{color:#20385B}
.sec-note{background:#E9EEF5;color:#3E5573}
.sec-content .btn{color:#19243C}
.sec-lock{font-size:28px}
.footer,.test-tag,.offline-status{color:#66778C}
@media(max-width:390px){
 .hero{padding:11px 10px 39px}
 .brand img.brand-logo{width:min(280px,88vw);height:auto}
 .tile{min-height:124px}
}


/* LOWRI 1.0.1 · VISUAL PATCH ONLY.
 * Exact approved brand artwork on a transparent background.
 * Smaller, cleaner headers. Booking, SMS, security, DB and backups unchanged.
 */
.hero{
  background:linear-gradient(180deg,#020920 0%,#020920 55%,#101E3C 100%);
  padding:9px 14px 31px;
  min-height:0;
}
.hero::after{background:#D6A44F;height:30px;bottom:-19px;opacity:.58}
.hero::before{background:var(--ice);height:36px;bottom:-26px}
.brand{justify-content:center;gap:0}
.brand img.brand-logo{
  display:block;width:min(211px,59vw);max-width:100%;height:auto;
  object-fit:contain;border:0;border-radius:0;box-shadow:none;
}
.sec-header{
  background:linear-gradient(180deg,#020920 0%,#020920 55%,#152544 100%);
  padding:13px 12px 24px;
  border-radius:0 0 40% 40% / 0 0 8% 8%;
}
.sec-brand-logo{
  display:block;width:min(225px,65vw);height:auto;max-width:100%;
  object-fit:contain;margin:0 auto;
}
.sec-kicker{margin-top:1px;font-size:10px;letter-spacing:1.2px}
@media(max-width:390px){
  .hero{padding:9px 12px 30px}
  .brand img.brand-logo{width:min(204px,62vw)}
  .sec-header{padding:11px 9px 23px}
  .sec-brand-logo{width:min(214px,68vw)}
}


/* LOWRI 1.0.2 · complete Midnight / Navy / Slate / Amber / Ivory skin.
   Contrast checked in mobile layout. Green and red remain reserved for semantic statuses. */
:root{--navy:#080F25;--blue:#253C60;--accent:#D6A44F;--ice:#152544;--ink:#F4E9D5;--muted:#B5C3D7;--line:#445779;--shadow:0 4px 16px #050A1C28;background:#080F25}
html,body{background:#080F25;color:var(--ink)}
#app,.main{background:#152544;color:#F4E9D5}
.hero{background:linear-gradient(170deg,#080F25 0%,#0E1832 60%,#182C4B 100%);padding:7px 14px 28px}
.hero::before,.subhead:after{background:#152544}
.hero::after{opacity:.48;height:28px}
.brand img.brand-logo{width:min(200px,57vw)}
.subhead{background:linear-gradient(115deg,#080F25,#152544 65%,#253C60);color:#F4E9D5}
.subhead h2,.section-title,.strong,.tile-title,.client-card .strong{color:#F4E9D5}
.card,.client-card,.tile,.timeline-gap,.booking-sheet,.sheet-header,.sheet-footer,.suggestions,.suggest,.picker-row,.min-card,.trust-card{background:#253C60;border-color:#4A5E81;color:#F4E9D5}
.tile{box-shadow:0 4px 14px #050B2042}
.tile:hover,.tile:active{background:#2D456C;border-color:#C19B51}
.tile-ico{background:#152544;color:#E3B85D}
.tile-desc,.muted,.tiny,.note,.footer,.test-tag,.offline-status,.min-description,.picker-row small{color:#C0CBE0}
.label,.hours-label,.time-direct{color:#F4E9D5}
.field,.textarea,.time-direct,.sheet-scroll .stepper{background:#1A2D4E;border-color:#5B6F90;color:#FFF5E4}
.field::placeholder,.textarea::placeholder,.time-direct::placeholder{color:#BBC6D4;opacity:1}
.field:focus{border-color:#E6BC6B;outline:2px solid #E0B86788}
.sheet-header{background:#152544}
.sheet-header h2,.sec-content h2{color:#F4E9D5}
.sheet-footer{background:#152544;border-color:#445779}
.sheet-close{background:#324B70;color:#F4E9D5}
.sheet-handle{background:#D6A44F}
.stepper button{background:#324D73;color:#F7E9CA;border-color:#647695}
.btn{background:linear-gradient(125deg,#E8BE72,#D6A44F 65%,#C89437);color:#111C35;border-color:#C89437}
.btn.outline{background:#182B4B;color:#F4E9D5;border-color:#78849A}
.btn.outline:hover{background:#2D456C}
.btn.danger{background:#B5444A;color:white;border-color:#B5444A}
.pill,.top-pill,.tag{background:#324A70;color:#F1D39A;border-color:#526682}
.notice{background:#314869;color:#F4E9D5}
.notice.good{background:#173F34;color:#C5F5D7}
.notice.warn{background:#5B2C39;color:#FFE0E1}
.stripe,.visitrow .stripe{background:#D6A44F}
.day.free{background:#204934;color:#D2F2DD}
.day.full{background:#632F40;color:#FFE2E4}
.day.off{background:#2C3C55;color:#BBC6D5}
.day b,.day small{color:inherit}
.day.active{border-color:#D6A44F;box-shadow:inset 0 0 0 1px #D6A44F}
.timeline-hour,.timeline-break{background:#203454;color:#F4E9D5;border-color:#4F6080}
.timeline-hour:hover,.timeline-hour:active{background:#294366}
.hour-label{color:#F4E9D5}
.hour-add{color:#E4B85D}
.timeline-visit{background:#344B6E;border-left-color:#D6A44F;border-bottom-color:#516482;color:#F4E9D5}
.timeline-visit-head .strong,.timeline-block .strong{color:#FFF1D4}
.timeline-block{background:#2D3D56;border-left-color:#8297B6;border-bottom-color:#4F607D}
.timeline-block .muted,.timeline-break .hour-label{color:#C6D1DF}
.gap-time,.slot{background:#214C3A;color:#D2F3DF;border-color:#3E7157}
.slot.selected{background:#5B4C32;color:#FFF1D8;outline-color:#E3B35D}
.dur,.min-option,.sms-tab,.sms-filter{background:#1A2D4E;border:1px solid #647492;color:#F4E9D5}
.dur.active,.min-option.active,.sms-tab.active,.sms-filter.active{background:#D6A44F;color:#152544;border-color:#D6A44F}
.suggestions .suggest,.picker-row{background:#253C60;color:#F4E9D5;border-color:#526583}
.suggestions .suggest:hover,.picker-row:hover{background:#344B6E}
.sample,#sms-preview{background:#152544 !important;color:#FFF1D8;border-color:#60708C}
.status,.check-dot{background:#1F553A;color:#D9F4E2}
.bottom-nav{background:#101D37;border-color:#425574}
.navbtn{color:#D0C9BB}
.navbtn.current{background:#324765;color:#F5D08B}
.navbtn.current b{color:#D6A44F}
.security-toolbar{background:#1D3151;color:#F4E9D5;border-color:#445779}
.security-toolbar button{background:#172A49;color:#F4E9D5;border-color:#657998}
.hours-row{border-color:#4F6280}
.hours-label input{accent-color:#D6A44F}
.min-preview{background:#1D3151;color:#E6E1D9}
.min-preview span{color:#E6E1D9}
.sec-shell{background:#152544;color:#F4E9D5}
.sec-header{background:linear-gradient(170deg,#080F25,#152544)}
.sec-brand-logo{width:min(212px,62vw)}
.sec-note{background:#253C60;color:#F4E9D5}
.sec-kicker{color:#D6A44F}
.sec-reset{color:#F0ADB7}
.sms-summary-card,.hours-global-card{background:#233A5E !important}
.sms-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0}
.sms-filter{min-height:39px;border-radius:10px;font-size:12px;font-weight:740;padding:8px}
.trust-card{padding-bottom:16px}
.trust-card .note{margin:9px 0}
.quick-unlock{margin:9px 0 16px}
@media(max-width:390px){.hero{padding:7px 11px 27px}.brand img.brand-logo{width:min(185px,56vw)}.sec-brand-logo{width:min(195px,62vw)}}

/* LOWRI 1.0.2 · convenient PIN, separate from encryption password */
.pin-code{font-size:22px!important;letter-spacing:.55em;text-align:center;font-weight:750;font-variant-numeric:tabular-nums;max-width:290px;margin:3px auto 12px;display:block}
#secure-form,#pin-form,#pin-settings-form{display:block}
#pin-form .btn{margin-top:12px}
#pin-settings-form .label{margin-top:10px}
#pin-settings-form .field{margin-bottom:4px}

/* LOWRI 1.0.3: short, accessible, locally scheduled reminder popup */
.shift-alert-backdrop{position:fixed;inset:0;z-index:700;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(5,10,25,.78);backdrop-filter:blur(4px)}
.shift-alert{width:min(100%,420px);background:#F4E9D5;border:1px solid #D6A44F;border-radius:20px;padding:24px 18px 17px;box-shadow:0 18px 64px #0007;text-align:center;color:#152544}
.shift-alert-symbol{font-size:39px;line-height:1.2}
.shift-alert h2{font-size:21px;font-weight:850;color:#152544;margin:11px 0 9px}
.shift-alert-number{font-size:17px;font-weight:800;color:#875A14}
.shift-alert p{font-size:14px;line-height:1.6;margin:11px 0 18px}
.shift-alert-actions{display:grid;grid-template-columns:1fr;gap:9px;margin:12px 0 14px}
.shift-alert-actions .btn{min-height:48px}
.shift-alert .tiny{color:#556379;font-size:11px;line-height:1.5}
.shift-settings{background:#F4E9D5;border-color:#D5C39E}
.shift-settings .note{line-height:1.6}
@media(min-width:420px){.shift-alert-actions{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.shift-alert-backdrop{backdrop-filter:none}}
/* Ensure the new ivory reminder card stays readable against the dark theme. */
.shift-settings .strong{color:#19335A}
.shift-settings .note{color:#314869}


/* LOWRI 1.0.4 · scoped visual correction ONLY: Opcje > Godziny pracy >
   Jednakowe godziny. No behavior or other module styles changed. */
.card.hours-global-card{
  background:#253C60!important;
  color:#F4E9D5;
  border-color:#536687;
}
.hours-global-card .strong,
.hours-global-card .label{color:#F4E9D5}
.hours-global-card select.field{
  background:#152544;
  color:#FFF5E4;
  border-color:#6A7D9A;
  color-scheme:dark;
}
.hours-global-card .btn[data-a="apply-all"]{
  background:#D6A44F;
  color:#080F25;
  border-color:#D6A44F;
  box-shadow:none;
}
.hours-global-card .btn[data-a="apply-all"]:hover{filter:brightness(1.05)}
