:root{
  --blue:#0b5eab;--blue-dark:#063d78;--blue-soft:#eaf4ff;--orange:#f45b23;--orange-dark:#d94312;
  --ink:#132238;--muted:#66758a;--line:#dce5ef;--surface:#ffffff;--bg:#eef4fa;
  --success:#1b7f3a;--warning:#9a6700;--danger:#b42318;--shadow:0 18px 55px rgba(16,54,92,.13)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:linear-gradient(180deg,#f7fbff 0,#edf4fa 100%);color:var(--ink);min-height:100vh}a{color:inherit}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 7% 8%,rgba(11,94,171,.08),transparent 28%),radial-gradient(circle at 92% 10%,rgba(244,91,35,.08),transparent 24%);z-index:-1}
header{min-height:88px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);display:flex;align-items:center;gap:16px;padding:12px 28px;border-bottom:1px solid rgba(11,94,171,.09);box-shadow:0 8px 28px rgba(16,54,92,.07);position:sticky;top:0;z-index:20}
header img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(0,0,0,.12))}header .brand{display:flex;flex-direction:column;flex:1}header strong{font-size:23px;line-height:1.1;color:var(--blue-dark);letter-spacing:-.4px}header small{font-size:13px;color:var(--muted);margin-top:4px;font-weight:650}header .logout{padding:10px 15px;border:1px solid #f3c9bb;border-radius:12px;color:#a83414;background:#fff7f3;font-weight:750;text-decoration:none}
.center{min-height:100vh;display:grid;place-items:center;padding:28px 18px}.auth-shell{width:min(1000px,100%);display:grid;grid-template-columns:1.02fr .98fr;background:#fff;border-radius:30px;overflow:hidden;box-shadow:0 28px 90px rgba(6,61,120,.20);border:1px solid rgba(11,94,171,.1)}
.auth-visual{padding:44px;background:linear-gradient(145deg,var(--blue-dark),var(--blue));color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:620px;position:relative;overflow:hidden}.auth-visual::before,.auth-visual::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.15)}.auth-visual::before{width:330px;height:330px;right:-120px;top:-80px}.auth-visual::after{width:230px;height:230px;left:-100px;bottom:-70px}.auth-logo{width:210px;height:210px;object-fit:contain;align-self:center;filter:drop-shadow(0 16px 25px rgba(0,0,0,.25));z-index:1}.auth-visual h2{font-size:34px;margin:16px 0 10px;letter-spacing:-1px;line-height:1.06}.auth-visual p{font-size:16px;line-height:1.65;color:#dcecff;margin:0}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:26px;z-index:1}.trust-row span{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);border-radius:14px;padding:13px 10px;text-align:center;font-size:12px;font-weight:750}
.auth-panel{padding:48px 46px;display:flex;flex-direction:column;justify-content:center}.auth-panel .eyebrow{display:inline-flex;align-self:flex-start;padding:7px 10px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.auth-panel h1{font-size:31px;line-height:1.1;margin:16px 0 8px;color:var(--blue-dark);letter-spacing:-.8px}.auth-panel .intro{color:var(--muted);line-height:1.55;margin:0 0 24px}.auth-panel form{display:grid;gap:15px}.auth-panel hr{border:0;border-top:1px solid var(--line);margin:7px 0 2px}.auth-note{display:flex;gap:9px;align-items:flex-start;margin-top:18px;padding:13px;border-radius:13px;background:#f7fafc;color:var(--muted);font-size:12px;line-height:1.45}
.card{background:var(--surface);border-radius:20px;padding:22px;box-shadow:0 10px 35px rgba(16,54,92,.09);margin:18px 0;border:1px solid rgba(11,94,171,.07)}main{max-width:1240px;margin:auto;padding:18px}.cities,.tabs{display:flex;gap:9px;overflow-x:auto;padding:9px 1px;scrollbar-width:none}.cities::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}.cities a,.tabs a{white-space:nowrap;text-decoration:none;padding:12px 18px;border-radius:13px;background:#fff;color:var(--ink);font-weight:760;border:1px solid var(--line);box-shadow:0 4px 14px rgba(16,54,92,.04)}.cities a.active,.tabs a.active{background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:#fff;border-color:transparent;box-shadow:0 10px 20px rgba(11,94,171,.22)}.tabs.small a{font-size:13px;padding:9px 13px;border-radius:999px}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:8px 0 16px}.summary div{background:#fff;padding:17px;border-radius:17px;border:1px solid rgba(11,94,171,.08);box-shadow:0 8px 24px rgba(16,54,92,.06);display:flex;flex-direction:column;min-height:88px;justify-content:center;position:relative;overflow:hidden}.summary div::after{content:"";position:absolute;width:48px;height:48px;border-radius:50%;background:rgba(11,94,171,.06);right:-12px;top:-12px}.summary b{font-size:26px;color:var(--blue-dark);letter-spacing:-.6px}.summary span{font-size:12px;color:var(--muted);font-weight:700;margin-top:3px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:13px;padding:13px 18px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 9px 20px rgba(244,91,35,.22);transition:transform .18s ease,box-shadow .18s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(244,91,35,.28)}.secondary{background:linear-gradient(135deg,var(--blue-dark),var(--blue));box-shadow:0 9px 20px rgba(11,94,171,.20)}.search,.inline{display:flex;gap:9px}.search{background:#fff;border:1px solid var(--line);padding:8px;border-radius:15px;margin:12px 0}.search input,.inline input{flex:1}.search button{border:0;background:var(--blue);color:#fff;border-radius:10px;padding:0 18px;font-weight:800}.list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.booking{background:#fff;padding:18px;border-radius:19px;border:1px solid rgba(11,94,171,.08);box-shadow:0 9px 28px rgba(16,54,92,.07);position:relative}.booking::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;background:linear-gradient(var(--blue),var(--orange));border-radius:0 8px 8px 0}.booking .top{display:flex;justify-content:space-between;gap:12px}.booking h3{margin:6px 0;color:var(--blue-dark)}.booking p{line-height:1.55;color:#3d4c60}.badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:850;margin:2px}.badge.paid,.badge.completed{background:#dcf8e5;color:var(--success)}.badge.pending,.badge.booked,.badge.assigned{background:#fff2c9;color:var(--warning)}.badge.cancelled{background:#ffe3e0;color:var(--danger)}.edit{font-weight:800;color:var(--blue);text-decoration:none}.edit:hover{text-decoration:underline}label{display:flex;flex-direction:column;gap:7px;font-weight:760;font-size:14px;color:#324257}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #cad7e4;border-radius:12px;font-size:16px;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(11,94,171,.11)}textarea{min-height:100px;resize:vertical}#form{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.full{grid-column:1/-1}.washer{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f5}.danger{border:0;color:#a00;background:#fff0ee;padding:9px 11px;border-radius:9px;font-weight:750}.error,.success{padding:13px;border-radius:12px;margin:14px 0;font-weight:700}.error{background:#fff0ee;color:#982218;border:1px solid #ffd0ca}.success{background:#e8f8ed;color:#176b2a;border:1px solid #c8ecd2}.empty{text-align:center;background:#fff;padding:32px;border-radius:16px;color:var(--muted);border:1px dashed #cbd8e4}
@media(max-width:850px){.auth-shell{grid-template-columns:1fr;max-width:560px}.auth-visual{min-height:auto;padding:30px 24px}.auth-logo{width:150px;height:150px}.auth-visual h2{font-size:28px}.trust-row{margin-top:20px}.auth-panel{padding:34px 26px}.summary{grid-template-columns:repeat(2,1fr)}.list{grid-template-columns:1fr}header{padding:10px 14px}header img{width:58px;height:58px}header strong{font-size:19px}}
@media(max-width:720px){#form{grid-template-columns:1fr}.full{grid-column:auto}main{padding:10px}.card{padding:16px}.toolbar .btn{flex:1;text-align:center}.search{flex-direction:column}.search button{padding:12px}.trust-row{grid-template-columns:1fr}.auth-panel h1{font-size:27px}}

.migration-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:16px 18px;margin-bottom:18px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.migration-notice div{display:flex;flex-direction:column;gap:4px}.migration-notice b{color:#9a3412}.migration-notice span{color:#64748b;font-size:14px}
.date-group{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:18px 2px 8px;padding:0 4px;color:#0f3f72}.date-group b{font-size:18px}.date-group span{font-size:13px;color:#64748b}
@media(max-width:640px){.migration-notice{align-items:flex-start;flex-direction:column}.migration-notice .btn{width:100%;text-align:center}.date-group b{font-size:16px}}

.field-help{font-size:12px;color:var(--muted);font-weight:600;margin-top:-2px}.badge.paid{background:#dcf8e5;color:var(--success)}

/* v1.4 simplified professional booking form */
.booking-form-card{padding:0;overflow:hidden;border:1px solid rgba(11,94,171,.12)}
.form-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 26px;background:linear-gradient(135deg,#f7fbff,#fff7f2);border-bottom:1px solid #e5edf5}
.form-heading h2{margin:4px 0 3px;font-size:27px;color:#0d2b49}.form-heading p{margin:0;color:#64748b}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.4px;color:#0b5eab}.close-edit{padding:10px 14px;border-radius:11px;text-decoration:none;font-weight:800;color:#0b5eab;background:#fff;border:1px solid #d6e2ed}
.booking-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:24px 26px}.form-section-title{grid-column:1/-1;margin-top:5px;padding:10px 12px;border-radius:10px;background:#edf6ff;color:#0b5eab;font-size:13px;font-weight:900;letter-spacing:.3px}.booking-form label{font-size:13px}.booking-form input,.booking-form select,.booking-form textarea{min-height:48px}.booking-form input[readonly]{background:#f5f7fa;color:#334155}.notes-field textarea{min-height:66px;max-height:100px}.form-actions{display:flex;justify-content:flex-end;border-top:1px solid #e6edf4;margin:4px -26px -24px;padding:18px 26px;background:#fbfcfe}.save-btn{min-width:190px}.field-help{font-size:11px;color:#64748b;font-weight:600}.payment-manual{color:#f45b23}
@media(max-width:720px){.form-heading{padding:20px 17px;align-items:flex-start}.form-heading h2{font-size:23px}.booking-form{grid-template-columns:1fr;padding:18px 16px}.form-section-title,.full{grid-column:1}.form-actions{margin:4px -16px -18px;padding:15px 16px}.save-btn{width:100%}.close-edit{font-size:12px;padding:8px 10px}}

.empty{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.empty b{font-size:18px;color:#12304f}.empty span{color:#65758b}

/* v1.5.0 login/mobile stability */
html,body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
.auth-shell{max-width:1000px;margin:0 auto}
.auth-panel form input{font-size:16px}
@media(max-width:850px){.center{display:block;padding:16px 12px}.auth-shell{width:100%;border-radius:22px}.auth-visual{min-height:0}.auth-panel{min-width:0}.auth-logo{display:block;margin:0 auto}}
@media(max-width:480px){.auth-visual{padding:24px 18px}.auth-logo{width:118px;height:118px}.auth-visual h2{font-size:24px}.auth-panel{padding:26px 18px}.auth-panel h1{font-size:25px}.trust-row{display:none}}

/* v1.5 automatic reminder dashboard */
.focus-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin:12px 0 16px}.focus-card{background:#fff;border:1px solid rgba(11,94,171,.1);border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(16,54,92,.07)}.focus-card h2{margin:7px 0 8px;color:var(--blue-dark);font-size:24px}.focus-card p{color:var(--muted);line-height:1.5;margin:8px 0}.focus-card a{color:var(--blue);font-weight:800;text-decoration:none}.tomorrow-card{background:linear-gradient(135deg,#fff8f3,#fff)}.mini-list{display:grid;gap:8px;margin:10px 0 12px}.mini-list div{display:flex;gap:10px;align-items:center;padding:8px 10px;background:#fff;border:1px solid #f0e2da;border-radius:10px}.mini-list b{color:var(--orange-dark);min-width:78px}.mini-list span{font-size:13px;color:#415269}.settings-wrap{max-width:850px}.settings-card h1,.settings-card h2{color:var(--blue-dark)}.settings-form{display:grid;gap:15px}.check-row{flex-direction:row;align-items:center;background:#f7fafc;border:1px solid var(--line);padding:13px;border-radius:12px}.check-row input{width:20px;height:20px}.test-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-card code{display:block;margin-top:7px;padding:12px;background:#0f2740;color:#e8f4ff;border-radius:10px;overflow-x:auto;font-size:13px}.summary div:nth-child(4) b{color:var(--danger)}
@media(max-width:780px){.focus-grid{grid-template-columns:1fr}.focus-card h2{font-size:21px}.test-actions .btn{width:100%}}

/* v1.5.1 professional Excel report centre */
.report-page{background:linear-gradient(180deg,#f6fbff 0,#edf4fa 100%)}
.report-wrap{max-width:980px;padding:28px 18px 50px}
.report-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:10px 0 18px;padding:24px 28px;border-radius:22px;background:linear-gradient(135deg,#063d78,#0b5eab);color:#fff;box-shadow:0 18px 48px rgba(6,61,120,.2)}
.report-hero .eyebrow{color:#bfe0ff}.report-hero h1{margin:8px 0;font-size:34px;letter-spacing:-1px}.report-hero p{margin:0;color:#dcecff;line-height:1.55;max-width:650px}.report-security{white-space:nowrap;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);padding:12px 14px;border-radius:13px;font-weight:800;font-size:13px}
.report-card{padding:26px 28px}.report-form{display:grid;gap:14px}.report-section-title{font-size:13px;font-weight:900;letter-spacing:.5px;color:#0b5eab;background:#eaf4ff;border-radius:11px;padding:11px 13px;margin-top:3px}
.report-option{display:flex;flex-direction:row;align-items:center;gap:13px;padding:14px 15px;border:1px solid #dce5ef;border-radius:14px;background:#fff;cursor:pointer;transition:.16s}.report-option:hover{border-color:#7cb5e9;background:#f8fbff}.report-option input{width:20px;height:20px;flex:0 0 auto;accent-color:#0b5eab}.report-option span{display:flex;flex-direction:column;gap:3px}.report-option b{color:#15314d;font-size:15px}.report-option small{color:#6a788b;font-weight:600;line-height:1.35}
.report-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.report-note{padding:14px 15px;border-radius:13px;background:#fff8ed;border:1px solid #fed7aa;color:#8a4b12;font-size:13px;line-height:1.45}.report-download-btn{width:100%;font-size:16px;padding:15px}.report-form input[type=password]{min-height:52px}
@media(max-width:760px){.report-hero{align-items:flex-start;flex-direction:column;padding:22px 20px}.report-hero h1{font-size:28px}.report-security{white-space:normal}.report-card{padding:18px 16px}.report-grid{grid-template-columns:1fr}.report-wrap{padding:16px 10px 35px}}
