:root{font:16px Arial,Helvetica,sans-serif;color:#182b39;background:#f2f5f7}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #008a79;outline-offset:3px}.preview{background:#fff3cc;color:#655017;text-align:center;padding:9px 16px;font-size:14px}header{background:#111820;border-bottom:4px solid #4ae4d0;color:white}.bar{max-width:1440px;margin:auto;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{font-size:26px;letter-spacing:3px;font-weight:900}.bar small{color:#b3c2ce;font-size:13px;letter-spacing:1px;display:block;margin-top:5px}.team{font-size:14px}main{max-width:1440px;margin:auto;padding:26px 30px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1.5px;color:#587080;margin:0 0 7px}h1{font-size:34px;margin:0;letter-spacing:-1px}h1 span{color:#70808b;font-weight:400}.meta{font-size:14px;color:#566976;line-height:1.5;text-align:right}.toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.views{display:flex;background:#e1e8ec;padding:4px;border-radius:8px}.views button{background:none;border:0;color:#385363;border-radius:5px;padding:10px 22px}.views [aria-pressed=true]{background:#142b37;color:white;box-shadow:0 2px 4px #11263322}.navigation{display:flex;gap:5px}.navigation button{background:white;border:1px solid #c9d4da;border-radius:6px;padding:11px 14px;color:#203e4d}.navigation button:disabled{opacity:.35;cursor:default}.search{margin-left:auto;font-size:13px;color:#526a79;display:grid;gap:5px}.search input{width:270px;padding:10px 12px;border:1px solid #c7d3da;border-radius:6px;background:white;color:#182b39}.legend{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;margin:20px 0 12px;color:#4e6370}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:9px;height:9px;border-radius:2px;display:inline-block}.scheduled{background:#346aa4}.active{background:#009685}.done{background:#82958d}#period{font-size:18px;margin:20px 0 13px}.month-head,.month-row{display:grid;grid-template-columns:70px repeat(7,minmax(0,1fr))}.month-head{font-size:13px;color:#5f7482;text-align:center;padding:10px 0}.month-row{border-left:1px solid #d1dde3;border-top:1px solid #d1dde3}.month-row:last-child{border-bottom:1px solid #d1dde3}.week-link{border:0;border-right:1px solid #d1dde3;background:#e9eff2;color:#385361;padding:8px;font-size:13px;line-height:1.5}.week-link:hover{background:#cfe6e3}.cell{min-width:0;min-height:150px;border-right:1px solid #d1dde3;background:white;padding:9px 7px}.cell.outside{background:#edf1f4}.cell.selected{background:#effbf8;box-shadow:inset 0 3px #009685}.date-button{border:0;background:none;padding:3px 7px;margin-bottom:6px;color:#3f5868;font-size:14px;border-radius:4px}.today .date-button{background:#143c47;color:white}.date-button:disabled{color:#657985;cursor:default}.event{display:block;width:100%;text-align:left;border:0;border-left:3px solid #346aa4;border-radius:3px;background:#eef4fa;color:#254f76;padding:6px;margin-bottom:5px;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.event strong{font-size:13px;display:block}.event.active{background:#e2f5ef;color:#116350;border-left-color:#009685}.event.done{background:#eef2ef;color:#4b6156;border-left-color:#82958d}.event:hover{filter:brightness(.96)}.count{display:none}#details{margin-top:28px}#details h2{font-size:23px;margin:0 0 6px}#details>p{margin:0 0 18px;color:#607480}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{background:white;border:1px solid #d2dce2;border-left:4px solid #346aa4;border-radius:7px;padding:19px}.card.active{border-left-color:#009685}.card.done{border-left-color:#82958d}.card-top{display:flex;justify-content:space-between;align-items:start;gap:10px}.card h3{font-size:20px;margin:0 0 5px}.vehicle{color:#416475;font-size:16px}.badge{font-size:12px;white-space:nowrap;padding:5px 7px;background:#eef3f5;border-radius:4px;color:#456171}.service{line-height:1.5;margin:14px 0;color:#425966}.times{border-top:1px solid #e3e9ec;padding-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:15px;line-height:1.5}.times b{display:block;font-size:12px;color:#667c88;text-transform:uppercase;letter-spacing:.6px;margin-bottom:3px}.note{color:#84611c;font-size:14px;line-height:1.5;margin:10px 0 0}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d1dde3;border-radius:7px;overflow:hidden}.week-day{padding:11px 8px;background:white;border-right:1px solid #d1dde3;min-height:200px;min-width:0}.week-day:last-child{border:0}.week-day.selected{background:#effbf8}.week-day>button:first-child{border:0;background:none;color:#284e5c;padding:5px 3px 14px;font-size:14px;font-weight:bold}.empty{background:white;border:1px dashed #c0cdd5;color:#647a88;padding:26px;border-radius:7px}.error{background:#fff0d1;padding:15px;color:#79521b}footer{display:flex;justify-content:space-between;gap:22px;border-top:1px solid #d6dfe5;margin-top:28px;padding-top:18px;font-size:13px;color:#647681;line-height:1.5}#source{max-width:260px;text-align:right}
@media(max-width:900px){main{padding:22px 16px}.bar{padding:20px 16px}.search{margin-left:0}.month-head,.month-row{grid-template-columns:48px repeat(7,minmax(0,1fr))}.cell{padding:5px 3px}.event{font-size:12px;padding:4px}.event strong{font-size:12px}.week-grid{grid-template-columns:1fr}.week-day{min-height:unset;border-right:0;border-bottom:1px solid #d1dde3;padding:12px}.week-day .event{font-size:14px;padding:8px}.week-day .event strong{font-size:15px}}
@media(max-width:600px){h1{font-size:28px}.heading{align-items:start;gap:10px}.meta{font-size:12px;max-width:140px}.team{font-size:12px;max-width:80px;text-align:right}.toolbar{gap:10px;justify-content:space-between}.views button{padding:10px 17px}.navigation button{padding:10px}.search{width:100%}.search input{width:100%}.legend{gap:11px;font-size:12px}.month-head,.month-row{grid-template-columns:40px repeat(7,minmax(0,1fr))}.month-head{font-size:12px}.week-link{font-size:12px;padding:4px}.cell{min-height:78px;padding:5px 1px;text-align:center}.cell .event{display:none}.date-button{padding:5px;font-size:14px;margin:0}.count{display:block;border:0;border-radius:4px;background:#e2efed;color:#155a51;font-size:12px;padding:4px 2px;margin:5px auto;width:90%}.cards{grid-template-columns:1fr}.card{padding:16px}.badge{font-size:12px}.times{font-size:14px}footer{display:block}#source{text-align:left;margin-top:8px;display:block;max-width:none}}
@media print{.preview,.toolbar{display:none}body{background:white}.card{break-inside:avoid}.event{font-size:10px}.cell{min-height:100px}}
.more{border:0;background:none;color:#246a68;font-size:12px;padding:5px 2px;text-align:left}.cell .event{max-height:76px;overflow:hidden}@media(max-width:600px){.cell .more{display:none}}
.legend .active{background:#d39a16}.legend .done{background:#208554}.event.active{background:#fff2bf;color:#70500b;border-left-color:#d39a16}.event.done{background:#e0f3e7;color:#20623f;border-left-color:#208554}.card.active{border-left-color:#d39a16}.card.done{border-left-color:#208554}.card.active .badge{background:#fff2bf;color:#70500b}.card.done .badge{background:#e0f3e7;color:#20623f}.card.scheduled .badge{background:#e7f0fb;color:#254f76}

.cell .event{max-height:none;overflow:visible;padding:5px;line-height:1.3;font-size:12px}.cell .event strong{font-size:12px}.month-row .cell{min-height:130px}#calendar{overflow-x:auto}@media(max-width:600px){.month-head,.month-row{min-width:910px;grid-template-columns:56px repeat(7,minmax(0,1fr))}.cell{text-align:left;padding:6px}.cell .event{display:block}.cell .count{display:none}}

header{border-bottom-color:#16aad8}
.bar{gap:42px;padding-top:24px;padding-bottom:24px}
.brand-lockup{flex:0 0 auto}
.brand-logo{display:block;width:290px;max-width:100%;height:auto;object-fit:contain}
.brand-lockup .team{display:block;margin-top:14px;color:#a8bdcc;font-size:12px;font-weight:600;letter-spacing:1.4px}
.weekly-focus{max-width:610px;padding:4px 0 4px 26px;border-left:1px solid #384651}
.focus-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#71d5f3;font-size:12px;letter-spacing:1.2px;font-weight:600}
.focus-meta time{color:#a8bdcc;font-weight:400;letter-spacing:0}
.weekly-focus p{font-size:21px;line-height:1.4;color:#edf5fa;font-weight:500;margin:9px 0 0}
@media(max-width:900px){.bar{gap:25px}.brand-logo{width:250px}.weekly-focus p{font-size:18px}.weekly-focus{padding-left:22px}}
@media(max-width:600px){.bar{display:block;padding:20px 16px}.brand-logo{width:255px}.brand-lockup .team{max-width:none;text-align:left;font-size:12px;margin-top:12px}.weekly-focus{border-left:0;border-top:1px solid #384651;padding:16px 0 0;margin-top:17px;max-width:none}.weekly-focus p{font-size:17px;margin-top:8px}.focus-meta{justify-content:space-between;gap:8px}}
@media print{.weekly-focus p{color:#182b39}.focus-meta,.focus-meta time{color:#4e6370}.brand-lockup{background:#111820;padding:12px}}

.page-title{text-align:center;font-size:25px;font-weight:700;letter-spacing:-.4px;margin:0 0 25px;color:#25434f}.month-title{font-size:34px;letter-spacing:-1px;margin:0}.month-title span{color:#70808b;font-weight:400}@media(max-width:600px){.page-title{font-size:23px;margin-bottom:22px}.month-title{font-size:28px}}

.primary,.secondary{border-radius:7px;padding:11px 17px;font-size:15px;font-weight:600;border:1px solid transparent}.primary{background:#146888;color:white}.primary:hover{background:#10546d}.primary:disabled{opacity:.65;cursor:wait}.secondary{background:white;border-color:#bfccd5;color:#34515f}dialog{border:0;border-radius:14px;padding:0;max-width:660px;width:calc(100% - 28px);max-height:calc(100dvh - 32px);color:#182b39;box-shadow:0 24px 80px #10273255}dialog::backdrop{background:#0b1b2aa8}#appointment-form{padding:27px}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.dialog-heading h2{margin:0;font-size:25px}.close{background:none;border:0;color:#526976;font-size:30px;line-height:1;padding:0 5px}.form-intro,.save-explanation{font-size:14px;color:#59707d;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:23px}.field{display:flex;flex-direction:column;gap:7px;font-size:15px;font-weight:600;min-width:0}.full{grid-column:1/-1}.field input,.field textarea,.field select{width:100%;font:400 16px Arial,Helvetica,sans-serif;color:#182b39;background:white;border:1px solid #bfcdd6;border-radius:6px;padding:11px;min-height:43px}.field textarea{resize:vertical}.field input:disabled{background:#eef2f4;color:#72828c}.field-help,.optional{font-size:13px;color:#617786;font-weight:400;line-height:1.4}.inline-check{flex-direction:row;align-items:center;gap:9px;font-weight:400}.inline-check input{width:18px;min-height:18px;height:18px;accent-color:#146888}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e2e8ec;padding-top:18px;margin-top:18px}.form-error{border-radius:6px;background:#fff0e9;color:#9e301f;padding:12px;font-size:15px;line-height:1.5}.author{font-size:14px;color:#4c6676;margin:15px 0 0}.sync-status{font-size:13px;line-height:1.5;color:#607886;margin:7px 0 0}.card.focused{outline:3px solid #168c9e}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:640px;width:calc(100% - 30px);background:#153e4c;color:white;border-radius:8px;padding:15px 20px;box-shadow:0 8px 30px #0b1b2a44;z-index:10;line-height:1.5}select:focus-visible,textarea:focus-visible{outline:3px solid #008a79;outline-offset:3px}@media(max-width:600px){#new-appointment{width:100%;order:2}.search{order:3}#appointment-form{padding:20px}.form-grid{grid-template-columns:1fr;gap:15px}.dialog-heading h2{font-size:23px}.form-actions{position:sticky;bottom:-20px;background:white;padding-bottom:16px}.form-actions .primary{flex:1}}
