*{box-sizing:border-box} :root{--ink:#203a33;--muted:#76847d;--green:#174a40;--lime:#dbefb0;--bg:#f5f6f0;--line:#e2e7df;--orange:#aa622c;--rose:#af5273}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);min-height:46px}input:focus,select:focus,textarea:focus{outline:2px solid #a6cba7;outline-offset:1px}button:focus-visible{outline:2px solid #78a88d;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.15;letter-spacing:-1.2px;font-weight:680}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:16px}a{color:var(--green)}#app{max-width:980px;margin:0 auto;min-height:100dvh}.app-header{padding:20px 24px 12px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:10px;align-items:center}.brand b{font-size:20px;display:block;line-height:1.1}.brand span{font-size:9px;letter-spacing:1.5px;font-weight:650;color:var(--muted)}.icon-button{border-radius:50%;width:42px;height:42px;background:#e9eee5;color:var(--ink);font-size:25px}.connection{font-size:11px;color:var(--muted);margin:0 0 16px;display:flex;align-items:center;gap:6px}.connection:before{content:'';background:#4b9972;width:6px;height:6px;border-radius:50%}.connection.offline{color:#af5a3e}.connection.offline:before{background:#af5a3e}main{padding:10px 24px 120px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.8px;color:#82977c;margin-bottom:9px}.page-heading p{font-size:13px;color:var(--muted);margin-top:7px}.add-button{width:48px;height:48px;border-radius:16px;background:var(--green);color:white;font-size:31px;box-shadow:0 6px 18px #174a4020}.date-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px}.date-bar>button{background:white;border:1px solid var(--line);border-radius:12px;min-width:37px;height:40px;font-size:20px}.date-bar>button:last-child{font-size:12px;padding:0 12px}.date-bar input{border:0;background:transparent;max-width:185px;font-size:15px;font-weight:650;padding:4px;min-height:40px}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:24px}.week-day{background:transparent;border-radius:15px;padding:9px 2px;color:var(--muted);display:flex;flex-direction:column;gap:3px;align-items:center;font-size:11px}.week-day b{font-size:19px;font-weight:600;color:var(--ink)}.week-day.active{background:var(--green);color:#c9d7cc}.week-day.active b{color:#fff}.filters{display:flex;gap:8px;overflow:auto;padding-bottom:8px;margin-bottom:16px}.chip{white-space:nowrap;background:#e9ede4;color:#637569;border-radius:22px;padding:8px 15px;font-size:12px;border:1px solid transparent}.chip.active{background:#dbefb0;color:#274c36;border-color:#cee0aa}.section-label{display:flex;justify-content:space-between;align-items:center;color:#78877c;font-size:10px;letter-spacing:1.5px;font-weight:700;margin:24px 0 12px}.section-label span{letter-spacing:0;font-size:12px;font-weight:400}.record-card{width:100%;text-align:left;display:flex;align-items:stretch;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:10px;box-shadow:0 2px 2px #203a3303;color:var(--ink)}.time-col{min-width:46px;padding-top:1px}.time-col b{display:block;font-size:17px;letter-spacing:-.6px}.time-col small{font-size:11px;color:var(--muted)}.record-body{min-width:0;flex:1;border-left:2px solid #c4d4bd;padding-left:14px}.record-body.rose{border-color:#d8a3b5}.record-body.orange{border-color:#ddb37f}.record-body h3{font-size:15px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-body p{font-size:12px;color:var(--muted);margin:3px 0 9px}.record-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.tag{font-size:10px;border-radius:6px;padding:3px 7px;background:#edf3e9;color:#507655}.tag.pending{background:#fbefda;color:#a66d32}.tag.canceled,.tag.declined{background:#f2eeee;color:#927d7d}.tag.completed{background:#e9eef6;color:#667d99}.card-arrow{align-self:center;color:#a0aa9e;font-size:20px}.empty{padding:38px 24px;background:#fff;border:1px dashed #d5dfd0;border-radius:20px;text-align:center;color:var(--muted)}.empty b{display:block;color:var(--ink);margin-bottom:6px}.primary,.secondary,.danger{padding:13px 18px;border-radius:13px;min-height:48px;font-weight:600;width:100%;margin-top:12px}.primary{background:var(--green);color:white;display:flex;justify-content:center;gap:12px}.secondary{background:#edf2e8;color:var(--green)}.danger{background:#fff0ed;color:#ab4e3b}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0 22px}.stat{border:1px solid var(--line);border-radius:16px;background:white;padding:13px}.stat b{font-size:25px;display:block;font-weight:650;line-height:1.25}.stat span{font-size:10px;color:var(--muted)}.room-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.room{padding:15px;text-align:left;background:white;border:1px solid var(--line);border-radius:18px;color:var(--ink);min-height:120px}.room.busy{background:#f1eae4;border-color:#e5d9cf}.room-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.room-top strong{font-size:16px}.room p{font-size:12px;margin:10px 0 3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.room small{color:var(--muted);font-size:10px}.room-free{color:#588069!important}.mini-days{display:flex;gap:5px;margin-top:15px}.mini-days i{height:5px;flex:1;border-radius:4px;background:#d8e4ce}.mini-days i.busy{background:#c59e80}.hint{background:#eaf0df;color:#60714e;font-size:12px;padding:13px 15px;border-radius:13px;margin:14px 0}.schedule-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;margin-bottom:10px}.schedule-card header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px}.schedule-card header small{font-size:11px;color:var(--muted)}.times{display:flex;gap:6px;flex-wrap:wrap}.time-pill{padding:5px 9px;background:#edf4e5;border-radius:7px;color:#557348;font-size:12px}.rule{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.rule small{display:block;color:var(--muted);font-size:11px}.text-button{background:transparent;padding:7px;color:var(--green);font-size:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:980px;background:#fffffff5;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);padding:10px 12px max(12px,env(safe-area-inset-bottom));z-index:10}.bottom-nav button{background:transparent;color:#8c978c;font-size:10px;display:flex;align-items:center;flex-direction:column;gap:3px;padding:6px 2px}.nav-symbol{font-size:23px;line-height:25px;display:block}.bottom-nav .active{color:var(--green);font-weight:700}.bottom-nav .active .nav-symbol{background:#dfedce;padding:2px 20px;border-radius:20px}.page-footer{display:flex;justify-content:space-between;font-size:10px;color:#929d90;margin-top:28px}dialog{border:0;border-radius:24px 24px 0 0;width:100%;max-width:620px;max-height:93dvh;margin:auto auto 0;padding:22px;color:var(--ink);background:#fafbf7;box-shadow:0 -8px 60px #12352b22}dialog::backdrop{background:#16352c66;backdrop-filter:blur(3px)}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.full{grid-column:1/-1}label{font-size:12px;font-weight:600;display:block}label input,label select,label textarea{margin-top:6px;font-weight:400}textarea{resize:vertical;min-height:95px}.error{background:#fff0ed;color:#a44c3c;padding:12px;border-radius:10px;font-size:13px;margin:10px 0}.form-actions{position:sticky;bottom:-22px;background:#fafbf7;padding:4px 0 18px}.switch-row{display:flex;align-items:center;gap:10px;font-weight:400;padding:10px 0}.switch-row input{width:20px;min-height:20px;margin:0}.weekday-picker{display:flex;gap:6px;flex-wrap:wrap}.weekday-picker label{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px}.weekday-picker input{width:14px;min-height:14px;margin:0 4px 0 0}.interval-row{display:grid;grid-template-columns:1fr 1fr 32px;gap:8px;margin:10px 0}.interval-row button{background:#f3e9e3;border-radius:10px;color:#a36b53}.small-note{font-size:11px;color:var(--muted);margin:8px 0}.detail-note{white-space:pre-wrap;font-size:13px;background:#f0f3eb;padding:14px;border-radius:12px;margin-top:12px;max-height:200px;overflow:auto}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#203a33;color:white;border-radius:14px;padding:13px 20px;max-width:90%;z-index:30;display:none;font-size:13px}.login-page{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 10%,#e2efc8,transparent 55%),#f5f6f0;padding:30px}.login-card{max-width:380px;width:100%}.login-card>img{margin-bottom:35px}.login-card h1{font-size:48px;letter-spacing:-2px}.login-card>p{color:var(--muted);margin:14px 0 28px}.login-card label{margin-top:17px}.login-card .primary{margin-top:25px;justify-content:space-between}.login-card small{display:block;text-align:center;color:#899684;margin-top:25px;font-size:11px}@media(min-width:720px){main{padding:24px 45px 120px}.app-header{padding:25px 45px}.record-card{padding:20px}.room-grid{grid-template-columns:repeat(4,1fr)}dialog{margin:auto;border-radius:24px}.week-strip{max-width:480px}.date-bar{max-width:480px}.form-grid{gap:16px}}@media(max-width:360px){main{padding:10px 16px 110px}.app-header{padding:16px}.date-bar{gap:4px}.date-bar input{max-width:145px}.record-card{padding:13px;gap:9px}}

.hotel-period{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.hotel-period h3{font-size:15px}.hotel-period small{color:var(--muted);font-size:11px}.period-switch{display:flex;padding:3px;background:#e6ebdf;border-radius:12px;flex-shrink:0}.period-switch button{background:transparent;color:#667760;font-size:11px;min-height:36px;padding:6px 9px;border-radius:9px}.period-switch button.active{background:white;color:var(--green);box-shadow:0 1px 4px #203a3310}.hotel-legend{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0;font-size:10px;color:#667760;align-items:center}.hotel-legend .free:before,.hotel-legend .occupied:before{content:'';display:inline-block;vertical-align:middle;width:11px;height:11px;border-radius:3px;margin-right:4px;background:#e4f1d4;border:1px solid #cae1b4}.hotel-legend .occupied:before{background:#cbb5a7;border-color:#baa08e}.hotel-grid-scroll{overflow:auto;max-height:68vh;border:1px solid var(--line);border-radius:16px;overscroll-behavior-x:contain;background:white}.hotel-grid{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}.hotel-grid th,.hotel-grid td{border-bottom:1px solid #e6ebe1;border-right:1px solid #e6ebe1;padding:0;min-width:56px;width:56px;text-align:center}.hotel-grid thead th{position:sticky;top:0;z-index:2;background:#f2f5ed;height:68px;padding:5px 0}.hotel-grid thead span,.hotel-grid thead small{display:block;color:#81917c;font-size:10px;font-weight:400}.hotel-grid thead b{font-size:18px}.hotel-grid thead .today{background:#dbefb0;color:#174a40}.hotel-grid tr>th:first-child{position:sticky;left:0;width:86px;min-width:86px;max-width:86px;z-index:1;background:#f8faf5;text-align:left;padding:10px}.hotel-grid thead tr>th:first-child{z-index:3;background:#eef3e8}.hotel-grid tbody th b{font-size:12px;white-space:nowrap}.hotel-grid tbody th small{display:block;font-weight:400;font-size:9px;color:#829079}.hotel-grid tbody tr:last-child>*{border-bottom:0}.hotel-grid tr>*:last-child{border-right:0}.hotel-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:59px;background:#e8f3db;color:#547647;border:3px solid white;border-radius:8px;padding:3px;gap:1px}.hotel-cell span{font-size:19px;line-height:21px}.hotel-cell small{font-size:9px;font-weight:500}.hotel-cell.occupied{background:#d3bcae;color:#705442}.hotel-cell.arrival{background:linear-gradient(135deg,#e8f3db 48%,#dcc6b8 49%);color:#6d5541}.hotel-cell.departure{background:linear-gradient(135deg,#dcc6b8 48%,#e8f3db 49%);color:#456543}.hotel-cell.turnover{background:#efdab4;color:#8d6a33}.hotel-scroll-hint{line-height:1.6;margin:11px 1px}@media(max-width:360px){.hotel-period{align-items:flex-start;flex-direction:column}.hotel-grid th,.hotel-grid td{width:52px;min-width:52px}}

[hidden]{display:none!important}.hotel-view .page-heading{margin-bottom:14px}.hotel-view .date-bar{margin-bottom:8px}.hotel-view .hotel-cell{height:52px}.hotel-grid-scroll:focus-visible{outline:2px solid #9ebd94;outline-offset:2px}

.pet-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 24px}.pet-choice{display:flex;flex-direction:column;align-items:center;padding:24px 12px;border-radius:20px;background:#eaf2dd;color:var(--ink);gap:7px;border:1px solid #d4e1c7}.pet-choice>span{font-size:40px}.pet-choice>b{font-size:19px}.pet-choice>small{font-size:12px;color:var(--muted)}.slot-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.slot-date{max-width:100%;justify-content:center}.slot-date input{flex:1;text-align:center}.duration-label{text-align:center;font-size:13px;margin:12px 0}.duration-label strong{font-size:19px;margin-left:8px}.duration-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.duration-buttons button{border-radius:10px;background:#e6eedc;color:var(--green);min-height:45px;font-size:12px;padding:7px 3px}.duration-buttons button:disabled{cursor:default}.slot-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 22px}.slot-tile{display:flex;flex-direction:column;align-items:flex-start;padding:15px;background:#fff;border:1px solid var(--line);border-left:4px solid #668e6c;border-radius:14px;color:var(--ink);gap:6px}.slot-tile.rose{border-left-color:var(--rose)}.slot-tile.orange{border-left-color:var(--orange)}.slot-tile strong{font-size:17px}.slot-tile span{font-size:12px;color:var(--muted)}.title-with-phone{display:flex;align-items:flex-end;gap:9px}.title-with-phone label{flex:1;min-width:0}.phone-button{flex-shrink:0;width:48px;height:48px;background:var(--green);color:white;border-radius:13px;font-size:27px}@media(max-width:400px){#record-form .form-grid{grid-template-columns:1fr}#record-form .full{grid-column:auto}.slot-tile strong{font-size:15px}}

.bottom-nav.restricted-nav{grid-template-columns:repeat(3,1fr)}.bottom-nav [hidden],#add[hidden]{display:none!important}.record-details dt{color:var(--muted);font-size:12px;margin-top:12px}.record-details dd{margin:3px 0;overflow-wrap:anywhere}.record-readonly-note{white-space:pre-wrap;overflow-wrap:anywhere}

button.schedule-slot{min-width:64px;min-height:44px;border:1px solid #cbdcbd;font-weight:600;padding:10px 13px}button.schedule-slot:hover{background:#dcebcf}button.schedule-slot:active{background:#cfe3bc}
.schedule-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:4px 0 14px}.schedule-toolbar .period-switch{width:100%;min-width:0}.schedule-toolbar .period-switch button{flex:1;min-height:42px;padding:8px 10px}.schedule-toolbar>.secondary{margin:0;width:100%;font-size:12px;min-height:44px}.schedule-range{gap:10px;flex-wrap:wrap}.free-export-text{margin-top:8px;min-height:240px;max-height:48dvh;line-height:1.7;font-size:14px}
.booking-photos{margin-top:14px}.booking-photos h3{margin-bottom:10px}.booking-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-preview{display:block;width:100%;padding:0;background:#eaf0df;border-radius:12px;overflow:hidden;aspect-ratio:1}.photo-preview img{width:100%;height:100%;object-fit:cover;display:block}.photo-picker{display:block;text-align:center;cursor:pointer}.photo-picker input{display:block;width:100%;font-size:12px;margin-top:8px;background:transparent;border:0;padding:4px;min-height:36px}.photo-pending{aspect-ratio:1;background:#f0eee7;border-radius:12px;padding:9px;font-size:11px;overflow-wrap:anywhere;overflow:auto}.photo-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.photo-actions button{background:#edf2e8;border-radius:7px;padding:7px;font-size:10px;color:var(--green)}.photo-viewer{max-width:950px}.photo-full{display:block;width:100%;max-height:70dvh;object-fit:contain;border-radius:12px}#readonly-photos{margin-top:10px}
.header-actions{display:flex;align-items:center;gap:6px}.header-actions .text-button{font-weight:600;font-size:13px;min-height:42px}.client-history-button{margin:0 0 16px}.client-list-row{display:flex;flex-direction:column;text-align:left;gap:5px;width:100%;padding:15px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink)}.client-list-row span,.client-list-row small{font-size:12px;color:var(--muted)}.client-phone-list{font-size:14px;margin:10px 0}.client-contact-edit{margin:18px 0;padding:12px;background:#edf2e8;border-radius:12px}.client-contact-edit summary{cursor:pointer;font-size:13px;font-weight:600}.client-contact-form label{margin-top:10px}.client-visit{border:1px solid var(--line);background:white;padding:14px;border-radius:15px;margin:12px 0;overflow-wrap:anywhere}.client-visit header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}.client-visit h3{font-size:14px}.client-visit-results{font-size:12px;margin:10px 0}.client-visit details{margin:10px 0;font-size:12px}.client-visit .booking-photo-grid{margin-top:12px}.client-dialog-body>h3{margin-bottom:8px}.client-dialog{overscroll-behavior:contain}
/* iPhone Home Screen layout, including notches and on-screen keyboard. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.ios-device .app-header{padding-top:calc(20px + env(safe-area-inset-top,0px))}.ios-device main{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.ios-device input,.ios-device select,.ios-device textarea{font-size:16px}.ios-device .form-grid>*{min-width:0}.ios-device input[type=date],.ios-device input[type=datetime-local]{min-width:0;max-width:100%}.ios-device .title-with-phone{grid-template-columns:minmax(0,1fr)}.ios-device dialog{padding-bottom:calc(22px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - env(safe-area-inset-top,0px) - 10px)}.ios-device .form-actions{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}.ios-device .bottom-nav{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}.ios-device .login-page{padding-top:max(30px,env(safe-area-inset-top,0px));padding-bottom:max(30px,env(safe-area-inset-bottom,0px))}.install-card{max-width:430px}.install-icon{border-radius:20px}.install-link{text-align:center;text-decoration:none;display:block}.install-option{margin:22px 0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}.install-option h2,.install-steps h2{font-size:20px}.install-option p{font-size:13px;margin-top:10px;color:var(--muted)}.install-steps{margin-top:26px}.install-steps ol{padding-left:22px}.install-steps li{padding-left:5px;margin:15px 0;line-height:1.65;font-size:14px}.install-page .install-card>p{margin-bottom:18px}.install-page{align-content:start}.install-card .hint{margin-top:22px}@media(max-width:390px){.ios-device .brand b{font-size:18px}.ios-device .brand span{font-size:8px}.ios-device .app-header{padding-left:16px;padding-right:16px}.ios-device .header-actions{gap:2px}.ios-device .header-actions .text-button{padding:6px}.ios-device .date-bar{gap:5px}.ios-device .date-bar input{width:130px;flex:1;min-width:0}.ios-device .date-bar>button:last-child{padding:0 8px}}

.dog-arrival-row{grid-template-columns:minmax(0, .85fr) minmax(0, 1.4fr) 34px;align-items:end}.dog-arrival-row [hidden]{display:none}.dog-arrival-row button{min-height:46px;font-size:20px}.dog-arrival-row output{margin:0}.dog-arrival-row output:empty{display:none}
