:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20211f;background:#f6f4ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{display:grid;min-height:100vh;place-items:center;padding:28px}.module-frame{display:grid;width:min(100%,1080px);gap:14px}.view-tabs{display:inline-flex;width:fit-content;gap:4px;border:1px solid #dedbd2;border-radius:8px;padding:4px;background:#fffdfa}.view-tabs button{min-height:38px;border:0;border-radius:6px;padding:0 14px;background:transparent;color:#55534d;font-weight:850}.view-tabs button.active{background:#22473f;color:#fff}.booking-widget,.admin-panel{width:min(100%,860px);padding:24px;border:1px solid #dedbd2;border-radius:8px;background:#fffdfa;box-shadow:0 18px 48px #20211f1a}.admin-panel{width:min(100%,1080px)}.booking-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #ebe7dc}.booking-header svg{width:42px;height:42px;padding:9px;border-radius:8px;color:#fff;background:#22473f}.eyebrow{display:block;margin-bottom:6px;color:#a45236;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin:0}h1{font-size:clamp(1.6rem,3vw,2.55rem);line-height:1.08}h2{font-size:1rem}.start-panel,.booking-flow,.done-panel{display:grid;gap:22px;padding-top:24px}.start-panel p,.booking-summary,.done-panel p{color:#66655f;line-height:1.55}.primary-action,.secondary-action{display:inline-flex;width:fit-content;min-height:46px;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;padding:0 18px;font-weight:800}.primary-action{color:#fff;background:#22473f}.primary-action:hover:not(:disabled){background:#18372f}.primary-action:disabled{background:#a8b0aa}.secondary-action{color:#22473f;background:#e7efe8}.secondary-action:hover{background:#dbe8de}.danger-action{display:inline-flex;width:fit-content;min-height:46px;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;padding:0 18px;color:#fff;background:#a13f30;font-weight:800}.danger-action:hover:not(:disabled){background:#853225}.danger-action:disabled{background:#c5aaa4}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:8px;color:#44443f;font-weight:750}.input-shell,.native-date{display:flex;min-height:48px;align-items:center;gap:10px;border:1px solid #d9d3c6;border-radius:8px;background:#fff;color:#6d6b64}.input-shell{padding:0 14px}.input-shell:focus-within,.native-date:focus-within{border-color:#2d7468;box-shadow:0 0 0 3px #2d746826}.input-shell input,.native-date input,.reschedule-row input,.reschedule-row select{width:100%;border:0;outline:0;background:transparent;color:#20211f}.section-row{display:flex;min-height:36px;align-items:center;justify-content:space-between;gap:12px}.icon-button{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid #d9d3c6;border-radius:8px;background:#fff;color:#22473f}.icon-button:hover:not(:disabled){background:#f2eee5}.service-grid{display:grid;grid-template-columns:repeat(5,minmax(112px,1fr));gap:10px}.service-option,.date-option,.slot-option{border:1px solid #d9d3c6;border-radius:8px;background:#fff;color:#20211f;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.service-option:hover,.date-option:hover,.slot-option:hover:not(:disabled){transform:translateY(-1px);border-color:#2d7468}.service-option.selected,.date-option.selected,.slot-option.selected{border-color:#22473f;background:#e7efe8}.service-option{display:grid;min-height:112px;gap:6px;align-content:center;padding:14px 12px;text-align:left}.service-option span{font-weight:850}.service-option strong{color:#a45236}.service-option small,.date-option small{color:#74726b}.native-date{width:min(100%,180px);padding:0 12px}.date-strip{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:8px}.date-option{display:grid;min-height:82px;place-items:center;padding:8px}.date-option strong{font-size:1.25rem}.slot-grid{display:grid;grid-template-columns:repeat(4,minmax(104px,1fr));gap:10px}.slot-option{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 12px;font-weight:800}.slot-option:disabled{border-color:#e4e0d7;color:#aaa59a;background:#f1eee7;text-decoration:line-through}.loading-label{display:inline-flex;align-items:center;gap:8px;color:#6d6b64;font-size:.9rem;font-weight:750}.status-error{border-left:4px solid #c84f3a;padding:10px 12px;border-radius:6px;background:#fff0ed;color:#943726}.status-success{border-left:4px solid #2d7468;padding:10px 12px;border-radius:6px;background:#eef8f1;color:#25594f}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:24px}.admin-tools{display:grid;gap:14px;align-content:start;border:1px solid #ebe7dc;border-radius:8px;padding:16px;background:#fff}.stats-row{display:flex;flex-wrap:wrap;gap:8px}.stats-row span{display:inline-flex;min-height:30px;align-items:center;border-radius:8px;padding:0 10px;background:#f2eee5;color:#55534d;font-size:.9rem;font-weight:800}.connection-badge{display:inline-flex;min-height:28px;align-items:center;border-radius:8px;padding:0 10px;background:#f2eee5;color:#55534d;font-size:.82rem;font-weight:850}.connection-badge.connected{background:#eef8f1;color:#25594f}.calendar-sync-tool{min-height:168px}.blocked-date-list{display:grid;gap:8px}.blocked-date-row{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ebe7dc;border-radius:8px;padding:0 8px 0 12px;background:#f8f5ee;color:#44443f;font-weight:800}.booking-list{display:grid;gap:12px;padding-top:18px}.activity-log{display:grid;gap:10px;padding-top:24px}.booking-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #ebe7dc;border-radius:8px;padding:14px;background:#fff}.booking-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:center}.booking-info strong,.booking-info span{min-width:0;overflow-wrap:anywhere}.booking-info span{color:#66655f}.booking-actions,.reschedule-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.reschedule-row{grid-column:1 / -1}.reschedule-row input,.reschedule-row select{width:min(100%,180px);min-height:42px;border:1px solid #d9d3c6;border-radius:8px;padding:0 12px;background:#fffdfa;color:#20211f}.empty-state{border:1px dashed #d9d3c6;border-radius:8px;padding:22px;color:#66655f;background:#fffdfa;text-align:center}.log-entry{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;border:1px solid #ebe7dc;border-radius:8px;padding:12px;background:#fff}.log-entry div{display:grid;gap:4px}.log-entry strong,.log-entry span{min-width:0;overflow-wrap:anywhere}.log-entry div span{color:#74726b;font-size:.9rem}.log-badge{display:inline-flex;min-height:28px;align-items:center;border-radius:8px;padding:0 10px;color:#fff;font-size:.78rem;font-weight:850;text-transform:uppercase}.log-badge.booked{background:#22473f}.log-badge.cancelled{background:#a13f30}.log-badge.rescheduled{background:#7a5b20}.log-badge.settings_updated{background:#56515f}.success-mark{display:grid;width:58px;height:58px;place-items:center;border-radius:8px;background:#22473f;color:#fff}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.app-shell{align-items:start;padding:16px}.booking-widget{padding:18px}.admin-grid,.field-grid,.service-grid,.date-strip,.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.booking-header{align-items:flex-start}.booking-item,.booking-info,.log-entry{grid-template-columns:1fr}.booking-actions,.reschedule-row{justify-content:flex-start}}@media(max-width:440px){.booking-widget{padding:14px}.booking-header svg{width:36px;height:36px}.admin-grid,.field-grid,.service-grid,.date-strip,.slot-grid{grid-template-columns:1fr}.primary-action,.secondary-action,.danger-action,.view-tabs,.view-tabs button{width:100%}.view-tabs{display:grid}.native-date,.reschedule-row input,.reschedule-row select{width:100%}}.auth-card-container{display:flex;justify-content:center;align-items:center;min-height:480px;padding:24px 16px}.auth-card{width:100%;max-width:440px;background:#fff;border-radius:16px;padding:32px;border:1px solid #e2e8f0}.shadow-lg{box-shadow:0 10px 25px -5px #00000014,0 8px 10px -6px #0000000a}.auth-badge{display:inline-flex;align-items:center;gap:6px;background:#eff6ff;color:#2563eb;padding:4px 12px;border-radius:9999px;font-size:13px;font-weight:600;margin-bottom:16px}.auth-header h2{font-size:22px;font-weight:700;color:#0f172a;margin-bottom:6px}.auth-header p{font-size:14px;color:#64748b;line-height:1.5;margin-bottom:24px}.auth-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:13px;font-weight:600;color:#334155}.input-icon-wrapper{position:relative;display:flex;align-items:center}.input-icon-wrapper .input-icon{position:absolute;left:12px;width:18px;height:18px;color:#94a3b8;pointer-events:none}.input-field{width:100%;padding:10px 14px 10px 38px;border-radius:10px;border:1px solid #cbd5e1;font-size:14px;color:#0f172a;background:#f8fafc;transition:border-color .15s ease,box-shadow .15s ease}.input-field:focus{outline:none;border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px #2563eb26}.auth-submit-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;font-size:15px;font-weight:600;margin-top:8px;border-radius:10px}.auth-error-alert{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;padding:10px 14px;border-radius:10px;font-size:13px;margin-bottom:16px;line-height:1.4}.auth-success-alert{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0;padding:10px 14px;border-radius:10px;font-size:13px;margin-bottom:16px;line-height:1.4}.owner-profile-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.owner-info-chip{display:flex;align-items:center;gap:6px;background:#f1f5f9;padding:6px 12px;border-radius:8px;font-size:13px;color:#1e293b;font-weight:600}.owner-info-chip small{color:#64748b;font-weight:400}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;border:1px solid #cbd5e1;background:#fff;color:#1e293b;white-space:nowrap}.btn:hover{background:#f8fafc;border-color:#94a3b8}.btn-secondary{background:#fff;border:1px solid #e2e8f0;color:#334155}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.btn-primary{background:var(--color-primary, #0f4c3a);color:#fff;border:1px solid var(--color-primary, #0f4c3a)}.btn-primary:hover{background:#0b3a2c}.btn-sm{padding:6px 12px;font-size:12px}.btn-logout{color:#ef4444!important}.btn-logout:hover{background:#fef2f2!important;border-color:#fecaca!important}.icon-sm{width:16px;height:16px}.icon-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.flex-center{display:flex;flex-direction:column;align-items:center;justify-content:center}.flex-center-gap{display:flex;align-items:center;gap:8px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:420px;padding:24px;border:1px solid #e2e8f0}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h3{font-size:18px;font-weight:700;color:#0f172a}.btn-icon{background:transparent;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:6px}.btn-icon:hover{background:#f1f5f9;color:#0f172a}.modal-body{display:flex;flex-direction:column;gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}
