.auth-links{margin-top:22px;text-align:center}.login-panel{padding:40px 30px}.login-box{max-width:420px}.login-box .brand strong{font-size:26px;letter-spacing:2px}.brand strong{letter-spacing:2px}.customer .brand strong{font-size:18px;letter-spacing:1px;max-width:200px;display:block;line-height:1.5}.saas-site{max-width:1440px;margin:auto;padding:0 54px}.saas-header{display:flex;align-items:center;justify-content:space-between;padding:32px 0}.saas-header .brand{margin:0}.saas-header nav{display:flex;align-items:center;gap:30px}.saas-hero{position:relative;overflow:hidden;padding:75px 60px;background:#e5ecdf;border-radius:16px;margin-top:16px}.saas-hero h1{font-family:var(--serif);font-size:50px;line-height:1.5;letter-spacing:3px;position:relative;z-index:1}.saas-hero>p{color:#748270;line-height:2;font-size:15px;margin:24px 0;position:relative;z-index:1}.hero-buttons{display:flex;gap:12px;position:relative;z-index:1}.hero-chips{display:flex;gap:24px;margin-top:36px;color:#798a71;font-size:12px;position:relative;z-index:1}.saas-decoration{position:absolute;font-family:var(--serif);font-size:230px;color:#c2cfb5;right:65px;bottom:90px;width:330px;height:330px;display:grid;place-items:center;border:1px solid #bac9ad;border-radius:100% 0 100% 0;transform:rotate(-10deg)}.saas-features{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:55px 10px}.saas-features article>span{font-size:10px;letter-spacing:2px;color:var(--gold)}.saas-features h2{margin:18px 0}.saas-features p{color:#84917c;font-size:13px;line-height:2}.pricing-section{margin:40px 0}.pricing-section>h2{font-size:25px;line-height:1.5}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.plan-card{padding:28px}.plan-card.featured{border-color:#829e77;background:#f7faf4;box-shadow:0 4px 20px #315c4d08}.plan-price{font-family:var(--serif);font-size:35px;margin:22px 0}.plan-price small{font-family:inherit;font-size:12px}.plan-card p{margin:16px 0;color:#829079;line-height:1.8;font-size:13px}.plan-card .btn{margin-top:15px;width:100%}.saas-footer{border-top:1px solid var(--line);padding:28px 0;color:#889280;font-size:12px;display:flex;justify-content:space-between}.workspace-banner{background:#e6edde;border:1px solid #d6dfce;border-radius:10px;padding:28px;display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.workspace-banner h2{font-size:24px}.workspace-banner p{font-size:13px;color:#7b8b72;margin:14px 0}.workspace-banner .badge{background:#f7f9f2}.workspace-banner h3{margin:12px 0}.usage-row{margin-bottom:23px}.usage-row:last-child{margin:0}.usage-row>div{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.usage-row strong{font-weight:500;color:#81916e}progress{width:100%;height:6px;appearance:none;border:0;background:#f1f4ec;border-radius:10px;overflow:hidden}progress::-webkit-progress-bar{background:#f1f4ec}progress::-webkit-progress-value{background:#9cb18d}progress::-moz-progress-bar{background:#9cb18d}.onboarding{padding:24px;margin-bottom:24px;background:#fbfcf8}.setup-steps{display:flex;gap:16px;margin-top:20px}.setup-step{background:#f0f4e9;border-radius:7px;padding:15px;display:flex;align-items:center;gap:12px;flex:1;text-align:left}.setup-step>span{font-family:var(--serif);color:#9ba487;font-size:22px}.setup-step small{margin-left:auto}.setup-step.done{background:#e4ede0;color:#608158}.payment-check{display:flex;align-items:flex-start;gap:10px;line-height:1.8}.payment-check input{width:auto;margin-top:5px}.audit-detail{white-space:normal;min-width:150px;max-width:380px;overflow-wrap:anywhere}.customer .hero .leaf{opacity:.65}.error-page .intro{max-width:500px}
@media(max-width:1100px){.saas-site{padding:0 30px}.saas-hero{padding:55px 35px}.saas-hero h1{font-size:40px}.saas-decoration{right:-100px;opacity:.5}.setup-steps{flex-wrap:wrap}.setup-step{min-width:200px}.plan-card{padding:22px}.saas-features{gap:24px}}@media(max-width:850px){.saas-hero h1{font-size:34px}.saas-features{grid-template-columns:1fr;padding:35px 4px;gap:24px}.plan-grid{grid-template-columns:1fr}.saas-header nav{gap:14px;font-size:12px}.saas-header nav .btn{padding:10px}.saas-site{padding:0 18px}.saas-hero{padding:35px 24px}.hero-chips{flex-wrap:wrap;gap:12px}.saas-hero>p{font-size:13px}.saas-footer{flex-direction:column;gap:14px}.workspace-banner{flex-direction:column}.onboarding{padding:20px}.setup-step{flex-basis:100%}.setup-steps{gap:10px}.saas-header .brand{gap:8px}.saas-header .brand small{font-size:8px}.hero-buttons{flex-wrap:wrap}.customer .brand strong{max-width:145px;font-size:16px}.login-panel{padding:32px 22px}.login-box h2{font-size:23px}.login-box .brand{margin-bottom:28px}}@media(max-width:400px){.saas-header .brand small{display:none}.saas-hero h1{font-size:28px}.saas-header .brand strong{font-size:22px}.saas-header nav{gap:9px}.saas-header .logo{height:32px;width:32px}}

.sidebar{overflow-y:auto}

.support-contact{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:13px;line-height:1.8;color:var(--muted,#6b7470)}
.support-contact a{color:inherit;text-decoration:none;overflow-wrap:anywhere}.support-contact a:hover{text-decoration:underline}
.login-box .support-contact{margin-top:28px;padding-top:18px;border-top:1px solid #e4e9e5}
.customer .support-contact{justify-content:center;margin-top:12px}
.saas-footer{flex-wrap:wrap;gap:18px}

/* Merchant workspace on phones */
.merchant-mobile-nav{display:none}
.mobile-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:22px}
.mobile-more-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;background:#f1f5ee;border-radius:12px;padding:18px 8px;min-height:82px}
.mobile-more-grid button span{font-size:24px;color:var(--green)}
.mobile-more-footer{padding:0 22px 24px}.mobile-more-footer p{margin-bottom:16px;color:var(--muted)}
@media(max-width:600px){
.merchant-shell .sidebar{padding:18px 18px 12px;background:var(--bg);border:0}
.merchant-shell .sidebar .brand{margin:0}.merchant-shell .sidebar .nav{display:none}
.merchant-shell .topbar{height:auto;min-height:48px;padding:8px 18px;background:var(--bg);border:0;gap:8px;flex-wrap:wrap}
.merchant-shell .topbar .right>.muted,.merchant-shell .topbar .right>a{display:none}
.merchant-shell .topbar .right>button{font-size:11px}.merchant-shell .main{padding:18px 14px calc(100px + env(safe-area-inset-bottom))}
.merchant-shell .page-head{flex-wrap:wrap;gap:14px;margin-bottom:20px}.merchant-shell .page-head h1{font-size:25px;line-height:1.45}.merchant-shell .subtitle{font-size:12px}
.merchant-shell .stats{gap:10px;margin-bottom:20px}.merchant-shell .stat{border:0;border-radius:14px;padding:16px}.merchant-shell .stat .value{font-size:27px;margin:14px 0 8px}.merchant-shell .stat .label{font-size:12px}
.merchant-shell .card{border-radius:14px}.merchant-shell .card-head,.merchant-shell .card-body{padding:16px}.merchant-shell .card-head{gap:10px;flex-wrap:wrap}
.merchant-shell .filters{padding:14px;gap:10px}.merchant-shell .filters input,.merchant-shell .filters select{width:100%;flex-basis:100%;min-height:44px}
.merchant-shell input,.merchant-shell select,.merchant-shell textarea{font-size:16px}.merchant-shell .btn{min-height:44px}.merchant-shell .actions{flex-wrap:wrap;gap:8px}
.merchant-shell .table-scroll{overflow:visible}.merchant-shell table,.merchant-shell tbody{display:block;white-space:normal}.merchant-shell thead{display:none}
.merchant-shell tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:18px 16px;border-bottom:1px solid var(--line)}
.merchant-shell tbody td{display:block;padding:0;border:0;overflow-wrap:anywhere;font-size:13px;min-width:0}.merchant-shell tbody td:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:6px}
.merchant-shell tbody td:last-child{grid-column:1/-1}.merchant-shell tbody tr:last-child{border:0}.merchant-shell .empty{padding:30px 16px}
.merchant-shell .bars{gap:8px}.merchant-shell .service-info{padding:18px}.merchant-shell .workspace-banner{padding:20px}.merchant-shell .settings-grid{gap:16px}
.merchant-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:5;background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #263c3508}
.merchant-mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#8b958a;font-size:11px;min-height:48px;border-radius:10px}.merchant-mobile-nav button span{font-size:24px}.merchant-mobile-nav button.active{color:var(--green);background:#edf3e9;font-weight:600}
#toast{bottom:calc(86px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);width:max-content}
dialog{max-height:calc(100dvh - 32px);overflow:auto}.modal-form{padding:18px}.mobile-more-grid{gap:8px;padding:18px}.mobile-more-grid button{font-size:12px}
}

.appointment-view-switch{display:flex;gap:6px;margin:0 0 18px;background:#e9eee5;padding:5px;border-radius:10px;width:max-content}.appointment-view-switch button{padding:10px 24px;border-radius:7px}.appointment-view-switch button.active{background:white;color:var(--green);box-shadow:0 2px 8px #263c3510;font-weight:600}
.booking-calendar{padding:20px}.calendar-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:22px}.calendar-toolbar h2{margin-right:auto}.calendar-toolbar .btn{font-size:22px;min-width:40px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{text-align:center;color:var(--muted);font-size:12px;padding:10px 0}.calendar-grid{gap:6px}.calendar-day,.calendar-blank{min-height:105px;border-radius:9px;background:#f6f8f2}.calendar-day{display:flex;flex-direction:column;align-items:flex-start;padding:10px;text-align:left;gap:7px;border:1px solid transparent;min-width:0}.calendar-day.today strong{background:var(--green);color:white;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.calendar-day.selected{background:#e6efe0;border-color:#7d9a6e}.calendar-count{font-size:11px;color:var(--green)}.calendar-event{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.calendar-day small{font-size:10px;color:var(--muted)}.calendar-legend{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;margin-top:14px}
@media(max-width:600px){.booking-calendar{padding:12px 8px}.calendar-toolbar{gap:8px;padding:0 4px}.calendar-toolbar h2{font-size:16px}.calendar-grid{gap:3px}.calendar-day,.calendar-blank{min-height:72px}.calendar-day{padding:6px 3px;align-items:center;gap:5px}.calendar-day strong{font-size:13px}.calendar-count{font-size:9px}.calendar-event,.calendar-day small{display:none}.calendar-legend{padding:0 4px;font-size:10px}.appointment-view-switch button{min-height:44px}}

.calendar-month-scroll{overflow-x:auto;overscroll-behavior-x:contain}.calendar-day{min-height:150px;justify-content:flex-start}.calendar-event{display:flex;flex-direction:column;gap:4px;white-space:normal;overflow:visible;width:100%;padding:8px;background:#e5efe1;border-left:3px solid #7b9c68;border-radius:5px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.calendar-event-top{display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between}.calendar-event-top b{font-size:11px}.calendar-event-name{font-weight:600}.calendar-event-staff{color:#71816a}.calendar-event.arrived{background:#fff1da;border-color:#d1a058}.calendar-event.completed{background:#dfeee7;border-color:#679482}.calendar-event.cancelled{background:#eceee9;border-color:#b5bcb0;color:#92998e}.calendar-more{display:block;white-space:normal}
@media(max-width:600px){.calendar-month-board{min-width:840px}.calendar-day{padding:8px;align-items:flex-start;min-height:150px}.calendar-event,.calendar-day small{display:flex}.calendar-day small{font-size:10px}.calendar-count{font-size:11px}.calendar-legend{flex-wrap:wrap}}

.calendar-event{padding:6px 8px;line-height:1.6}.calendar-day,.calendar-blank{min-height:105px}
@media(max-width:600px){.calendar-month-board{min-width:700px}.calendar-day{min-height:105px}.calendar-event{font-size:11px;padding:5px}}
