:root{--sky:#D89CA4;--aqua:#B76E79;--dark:#3F3A3B;--muted:#7A666B;--line:#F0D7DC;--soft:#FFF9FA;--nav:#6F3F49;--nav2:#4A2A31;--radius:28px;--shadow:0 20px 50px rgba(63,58,59,.10)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--dark);background:radial-gradient(circle at top left,#FFF1F4 0,#fff 32%,#f8fafc 100%)}a{text-decoration:none;color:inherit}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:14px clamp(16px,4vw,54px)}.brand{display:flex;align-items:center;gap:10px;font-weight:950;font-size:21px}.brand-mark,.logo-badge{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--sky),var(--aqua));display:grid;place-items:center;color:#fff;font-weight:950;box-shadow:0 12px 24px rgba(216,156,164,.25);object-fit:cover}.main-nav{display:flex;align-items:center;gap:8px}.main-nav a{padding:10px 14px;border-radius:999px;font-weight:850;color:#526174}.main-nav a.active,.main-nav a:hover{background:#FCE8EC;color:#B76E79}.login-link{background:linear-gradient(135deg,var(--sky),var(--aqua))!important;color:white!important}.mobile-menu{display:none;border:0;background:#FCE8EC;border-radius:14px;padding:10px 12px;font-size:22px}.page{display:none;padding:42px clamp(16px,4vw,56px) 64px}.active-page{display:block}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center;min-height:calc(100vh - 116px)}.eyebrow{display:inline-flex;color:#B76E79;background:#FFF1F4;border:1px solid #F0C9D1;border-radius:999px;padding:8px 14px;font-weight:900;font-size:13px}h1{font-size:clamp(40px,6vw,76px);line-height:.96;letter-spacing:-3px;margin:18px 0}h2{font-size:clamp(30px,4vw,52px);line-height:1;letter-spacing:-2px;margin:14px 0}h3{margin:0 0 10px;font-size:20px}p{line-height:1.65;color:var(--muted)}.hero p,.page-title p{font-size:18px;max-width:760px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.btn{border:0;border-radius:999px;padding:13px 20px;font-weight:950;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:linear-gradient(135deg,var(--sky),var(--aqua));color:white;box-shadow:0 12px 26px rgba(216,156,164,.26)}.ghost{background:white;border:1px solid var(--line);color:#B76E79}.small{padding:10px 14px;font-size:13px}.hero-card,.card,.login-card,.price-card,.features-grid article,.intro-cards article,.contact-form,.table-card{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.app-mock{padding:18px}.mock-top{display:flex;gap:7px;margin-bottom:14px;align-items:center}.mock-top span{width:11px;height:11px;border-radius:50%;background:#EFD4DA}.mock-top small{margin-left:auto;color:#B0959B}.mock-body{display:grid;grid-template-columns:84px 1fr;gap:14px}.mock-sidebar{background:#6F3F49;border-radius:22px;padding:14px 10px;color:white;display:grid;gap:12px;align-content:start;font-size:12px}.mock-sidebar b{width:42px;height:42px;border-radius:14px;background:#fff;color:#B76E79;display:grid;place-items:center}.mock-sidebar span{color:#FFF1F4;font-weight:800}.mock-content{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mock-stat{border-radius:22px;padding:22px;background:linear-gradient(135deg,#FFF4F6,#FFF9FA)}.mock-stat b{font-size:30px}.mock-stat small{display:block;color:var(--muted);font-weight:800}.mock-list{grid-column:1/-1;background:#FFF9FA;border:1px solid var(--line);border-radius:22px;padding:14px}.section{margin-top:22px}.intro-cards,.features-grid,.pricing-grid,.login-grid,.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.intro-cards article,.features-grid article,.login-card,.price-card{padding:24px}.features-grid{grid-template-columns:repeat(4,1fr)}.page-title{text-align:center;max-width:900px;margin:0 auto 36px}.price-card .price{font-size:42px;font-weight:950;color:#B76E79;margin:8px 0}.price-card .price span{font-size:16px;color:var(--muted)}.price-card.highlighted{background:linear-gradient(180deg,#ffffff,#FFF4F6);border-color:#E8B4BC;transform:translateY(-8px)}.price-card ul{padding-left:20px;color:var(--muted);line-height:1.8}.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:start}.contact-form{padding:24px;display:grid;gap:14px}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:13px 15px;font:inherit;background:white;color:var(--dark)}textarea{min-height:105px;resize:vertical}.login-grid{grid-template-columns:repeat(3,1fr)}.dashboard-shell{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;min-height:720px}.compact-nav{background:linear-gradient(180deg,var(--nav),var(--nav2));color:white;border-radius:28px;padding:12px 10px;position:sticky;top:88px;height:calc(100vh - 108px);max-height:900px;display:flex;flex-direction:column;align-items:center;gap:8px}.studio-logo-wrap{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.12);overflow:hidden;margin-bottom:8px}.studio-logo-wrap img{width:100%;height:100%;object-fit:cover}.studio-logo-wrap .logo-badge{width:100%;height:100%;border-radius:20px}.nav-btn{width:72px;min-height:62px;border:0;border-radius:18px;background:transparent;color:#FFF1F4;font-weight:850;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;text-align:center}.nav-btn .ico{font-size:20px;line-height:1}.nav-btn.active,.nav-btn:hover{background:linear-gradient(135deg,var(--sky),var(--aqua));color:white}.dashboard-content{min-width:0}.dash-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.panel{display:none}.active-panel{display:block}.kpi-grid{grid-template-columns:repeat(4,1fr);margin:18px 0}.kpi-grid div{background:white;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow)}.kpi-grid b{display:block;font-size:30px;color:#B76E79}.kpi-grid span{color:var(--muted);font-weight:800}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.two-col.wide{grid-template-columns:.72fr 1.28fr}.card{padding:22px}.mini-list p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;margin:0}.mini-list p span{font-weight:950;color:#B76E79}.bars p{font-weight:850;color:#5C4A4F}.bars span{height:10px;border-radius:999px;background:linear-gradient(135deg,var(--sky),var(--aqua));display:block;margin-top:8px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 20px}.chip{border:1px solid var(--line);background:white;border-radius:999px;padding:10px 14px;font-weight:950;color:#B76E79}.chip.active{background:#FFF1F4}.agenda-grid{display:grid;grid-template-columns:78px repeat(3,1fr);border:1px solid var(--line);border-radius:24px;overflow:hidden;background:white;box-shadow:var(--shadow)}.agenda-cell{min-height:44px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px;font-size:12px}.agenda-head{background:#FFF1F4;font-weight:950;color:#B76E79}.agenda-time{font-weight:950;color:#7A666B;background:#FFF9FA}.event{border-radius:12px;padding:6px 8px;background:linear-gradient(135deg,#FFF1F4,#FFF7F8);border:1px solid #E8B4BC;font-weight:850;color:#B76E79}.event.in-attesa{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.event.completato{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.event.annullato{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.block{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.form-card{margin-top:20px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.form-grid textarea{grid-column:1/-1}.search{margin-bottom:14px}.client-row{padding:14px;border:1px solid var(--line);border-radius:16px;margin:10px 0;cursor:pointer}.client-row.active{background:#FFF1F4;border-color:#E8B4BC}.client-row b,.client-row span{display:block}.client-row span{color:var(--muted);margin-top:4px}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.profile-grid p{background:#FFF9FA;border:1px solid var(--line);border-radius:16px;padding:12px;margin:0}.profile-grid b,.profile-grid span{display:block}.photo-placeholders{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photo-placeholders span{height:86px;border-radius:18px;background:linear-gradient(135deg,#FFF1F4,#fff,#FFF7F8);border:1px dashed #D89CA4}.table-card{overflow:auto}.table-card table{width:100%;border-collapse:collapse;background:white}.table-card th,.table-card td{padding:15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.table-card th{color:#B76E79;background:#FFF1F4}.table-logo{width:44px;height:44px;border-radius:14px;object-fit:cover;background:#FFF1F4}.compact{grid-template-columns:repeat(3,1fr)}.control-preview{margin-top:18px}.toast{position:fixed;right:18px;bottom:18px;z-index:80;background:#6F3F49;color:#fff;padding:14px 18px;border-radius:18px;box-shadow:var(--shadow);opacity:0;transform:translateY(12px);transition:.25s}.toast.show{opacity:1;transform:translateY(0)}canvas{width:100%;height:auto;max-height:290px}.muted{color:var(--muted)}@media(max-width:1100px){.hero,.contact-layout{grid-template-columns:1fr}.features-grid{grid-template-columns:repeat(2,1fr)}.kpi-grid,.intro-cards,.pricing-grid,.login-grid{grid-template-columns:repeat(2,1fr)}.agenda-grid{min-width:760px}.panel{overflow-x:auto}.two-col,.two-col.wide{grid-template-columns:1fr}.dashboard-shell{grid-template-columns:82px minmax(0,1fr)}.compact-nav{width:82px}.nav-btn{width:62px}.nav-btn span:not(.ico){font-size:9px}}@media(max-width:720px){.mobile-menu{display:block}.main-nav{display:none;position:absolute;left:16px;right:16px;top:76px;background:white;border:1px solid var(--line);border-radius:22px;padding:10px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.main-nav a{display:block}.page{padding:28px 14px 54px}h1{font-size:42px}.features-grid,.intro-cards,.pricing-grid,.login-grid,.kpi-grid,.form-grid,.profile-grid,.mock-content{grid-template-columns:1fr}.dashboard-shell{grid-template-columns:1fr}.compact-nav{position:relative;top:0;width:100%;height:auto;max-height:none;border-radius:24px;flex-direction:row;overflow:auto;justify-content:flex-start;margin-bottom:14px}.studio-logo-wrap{min-width:54px}.nav-btn{min-width:64px}.dash-top{flex-direction:column}.mock-body{grid-template-columns:1fr}.mock-sidebar{display:flex;overflow:auto}.hero{gap:22px}.photo-placeholders{grid-template-columns:repeat(3,1fr)}}

/* Update gestione studi, impersonificazione e agenda reale */
.hidden{display:none!important}.grow{flex:1;min-width:240px}.agenda-toolbar{align-items:center}.agenda-toolbar input[type=date]{max-width:180px}.agenda-label{color:#B76E79;background:#FFF1F4;border:1px solid #F0C9D1;border-radius:999px;padding:10px 14px}.segmented{display:flex;gap:8px;flex-wrap:wrap}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(170px,1fr));gap:12px;overflow:auto}.week-day{background:white;border:1px solid var(--line);border-radius:22px;padding:14px;min-height:220px;box-shadow:var(--shadow)}.week-day h3{text-transform:capitalize;color:#B76E79}.week-day .event{margin:8px 0}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:8px;background:white;border:1px solid var(--line);border-radius:24px;padding:12px;box-shadow:var(--shadow);overflow:auto}.month-head{font-weight:950;color:#B76E79;background:#FFF1F4;border-radius:14px;padding:10px;text-align:center}.month-day{min-height:110px;border:1px solid var(--line);border-radius:16px;padding:10px;background:#FFF9FA;cursor:pointer}.month-day:hover,.month-day.selected{background:#FFF1F4;border-color:#E8B4BC}.month-day.empty{background:transparent;border:0;cursor:default}.month-day b,.month-day span,.month-day small{display:block}.month-day span{color:#B76E79;font-weight:850;margin:4px 0}.month-day small{color:var(--muted);line-height:1.4}.danger{background:#ef4444;color:white}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:120;display:none;align-items:center;justify-content:center;padding:20px}.modal-backdrop.show{display:flex}.modal{background:white;border:1px solid var(--line);border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.25);max-width:560px;width:100%;padding:26px}.modal h3{font-size:26px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;flex-wrap:wrap}.impersonation-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:20px;padding:12px 16px;margin-bottom:14px;flex-wrap:wrap}.control-card{display:grid;gap:12px}.table-card .btn{margin:2px}@media(max-width:900px){.week-grid{grid-template-columns:repeat(7,170px)}.month-grid{grid-template-columns:repeat(7,110px)}}
.login-form{display:grid;gap:10px;margin:16px 0 10px}
.login-form input{width:100%;border:1px solid var(--border);border-radius:14px;padding:13px 14px;font:inherit;background:#fff;color:var(--text)}


/* Update operatrici e persistenza agenda */
.agenda-operator-select{max-width:220px;border-radius:999px;font-weight:900;color:#B76E79;background:white;cursor:pointer;padding:10px 14px}
.operator-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin:10px 0;background:#FFF9FA}
.operator-row b,.operator-row span{display:block}.operator-row span{font-size:13px;color:var(--muted);margin-top:3px}
@media(max-width:720px){.agenda-operator-select{max-width:100%;width:100%}}

/* PausaGlow update: studio header and client modal */
.studio-title-highlight{color:#007C89;}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.card-head h3{margin:0}
.client-modal{max-width:820px}
.full-row{grid-column:1/-1}
.modal-form input[type=date]{color:var(--dark)}
@media(max-width:720px){.card-head{align-items:flex-start}.card-head .btn{width:100%}}

.field-label{display:grid;gap:6px;font-weight:850;color:#6B555B;font-size:13px}.field-label input{font-weight:400;font-size:16px}

/* PausaGlow refinement: header azioni e finiture professionali */
.panel-action-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.panel-action-head h2{margin:0}
.panel-action-head .btn{box-shadow:0 10px 22px rgba(15,120,150,.16)}
.modal p{color:var(--muted);line-height:1.55;margin-top:8px}
.modal-form input,.modal-form textarea,.modal-form select{transition:border-color .2s ease, box-shadow .2s ease}
.modal-form input:focus,.modal-form textarea:focus,.modal-form select:focus{outline:none;border-color:#63d6df;box-shadow:0 0 0 4px rgba(99,214,223,.18)}
.operator-row{box-shadow:0 8px 18px rgba(15,23,42,.04)}
@media(max-width:720px){.panel-action-head{align-items:flex-start}.panel-action-head .btn{width:100%}}


/* PausaGlow footer professionale */
.studio-footer{margin:34px 0 4px;padding:18px 8px 4px;text-align:center;color:#B0959B;font-size:12px;font-weight:750;letter-spacing:.01em;border-top:1px solid rgba(220,238,242,.75)}
@media(max-width:720px){.studio-footer{margin-top:24px;font-size:11px;padding-bottom:10px}}


/* PausaGlow update: promemoria e Buddy AI */
.reminder-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.reminder-card{min-height:260px}.reminder-pill,.mini-badge{display:inline-flex;align-items:center;border:1px solid #F0C9D1;background:#FFF1F4;color:#B76E79;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:950}.compact-copy{margin:4px 0 14px}.reminder-list{display:grid;gap:10px}.reminder-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:18px;background:#FFF9FA;padding:14px}.reminder-row b,.reminder-row span,.reminder-row small{display:block}.reminder-row span{color:#B76E79;font-weight:850;margin-top:3px}.reminder-row small{color:var(--muted);margin-top:3px}.reminder-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.buddy-card{margin-top:18px}.buddy-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0}.buddy-suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.suggestion-card{text-align:left;border:1px solid var(--line);background:#FFF9FA;border-radius:18px;padding:14px;cursor:pointer;transition:.2s}.suggestion-card:hover{border-color:#E8B4BC;box-shadow:0 12px 28px rgba(31,41,55,.08);transform:translateY(-1px)}.suggestion-card b,.suggestion-card span{display:block}.suggestion-card b{color:#B76E79;margin-bottom:6px}.suggestion-card span{color:var(--muted);line-height:1.45;font-size:13px}.buddy-message{min-height:130px;background:#FFF9FA}
@media(max-width:1100px){.reminder-layout,.buddy-controls,.buddy-suggestions{grid-template-columns:1fr}.reminder-row{align-items:flex-start;flex-direction:column}.reminder-actions{justify-content:flex-start}}


/* PausaGlow servizi listino update */
.compact-nav{align-items:stretch;width:104px;padding:12px 10px}
.dashboard-shell{grid-template-columns:116px minmax(0,1fr)}
.nav-btn.text-only{width:100%;min-height:46px;flex-direction:row;justify-content:flex-start;text-align:left;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.15;position:relative;color:#dff9ff}
.nav-btn.text-only span{font-size:12px!important}
.nav-btn.text-only.active,.nav-btn.text-only:hover{background:rgba(82,214,200,.16);color:white}
.nav-btn.text-only.active:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--sky),var(--aqua))}
.nav-btn .ico{display:none!important}
.treatment-modal{max-width:760px}
.treatment-modal textarea{grid-column:1/-1;min-height:90px}
.category-row td{background:#FFF9FA!important;color:#B76E79!important;font-weight:950;border-top:1px solid var(--line)}
.table-card td .mini-badge{margin-left:8px}
@media(max-width:1100px){.dashboard-shell{grid-template-columns:104px minmax(0,1fr)}.compact-nav{width:96px}.nav-btn.text-only{font-size:11px;padding:9px 10px}.nav-btn.text-only span{font-size:11px!important}}
@media(max-width:720px){.dashboard-shell{grid-template-columns:1fr}.compact-nav{width:100%;flex-direction:row;align-items:center}.nav-btn.text-only{min-width:max-content;justify-content:center}.nav-btn.text-only.active:before{left:10px;right:10px;top:auto;bottom:0;width:auto;height:3px}}


/* PausaGlow - UI professionale menu e popup trattamenti */
.compact-nav{align-items:stretch;padding:14px 10px;gap:10px;width:108px}.studio-logo-wrap{width:54px;height:54px;margin:0 auto 14px}.studio-logo-wrap .logo-badge{font-size:16px}.nav-btn{width:100%;min-height:50px;border-radius:16px;align-items:flex-start;padding:10px 10px 10px 14px;font-size:12px;line-height:1.15;text-align:left;position:relative;color:#FFF1F4}.nav-btn .ico{display:none!important}.nav-btn.active,.nav-btn:hover{background:rgba(82,214,200,.16);color:#fff;box-shadow:inset 4px 0 0 var(--aqua)}.nav-btn.active{font-weight:950}.nav-btn span:not(.ico){display:block;white-space:normal}.dashboard-shell{grid-template-columns:116px minmax(0,1fr)}
.treatment-modal{max-width:760px}.treatment-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field label{font-size:13px;font-weight:900;color:#5C4A4F}.treatment-form input,.treatment-form select,.treatment-form textarea{min-height:52px}.treatment-form select{white-space:normal;text-overflow:ellipsis}.treatment-form textarea{min-height:112px}.full-row{grid-column:1/-1}.modal-actions.full-row{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.modal p{max-width:680px}.table-card th,.table-card td{font-size:15px}
@media(max-width:720px){.dashboard-shell{grid-template-columns:1fr}.compact-nav{width:100%;align-items:center}.nav-btn{min-width:120px;align-items:center;text-align:center}.nav-btn.active,.nav-btn:hover{box-shadow:inset 0 -4px 0 var(--aqua)}.treatment-form{grid-template-columns:1fr}.treatment-modal{max-width:94vw}}

/* PausaGlow Report Premium */
.report-head{align-items:flex-start;margin-bottom:18px}
.report-head .muted{margin:6px 0 0;color:var(--muted);font-weight:600}
.report-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));margin-bottom:20px}
.report-kpis div{position:relative;overflow:hidden}
.report-kpis div:after{content:'';position:absolute;right:-28px;top:-28px;width:76px;height:76px;border-radius:50%;background:rgba(82,214,200,.14)}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.report-card{min-height:360px;display:flex;flex-direction:column}
.report-card h3{margin-bottom:14px;color:#3F3A3B}
.report-card canvas{width:100%;height:280px;display:block;border:1px solid rgba(220,238,242,.75);border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#FFF9FA 100%);padding:10px}
@media(max-width:1180px){.report-kpis{grid-template-columns:repeat(2,minmax(160px,1fr))}.report-grid{grid-template-columns:1fr}}
@media(max-width:720px){.report-kpis{grid-template-columns:1fr}.report-card{min-height:auto}.report-card canvas{height:240px}}


/* PausaGlow - sidebar senza logo studio e brand studio in pagina */
.dashboard-shell{grid-template-columns:132px minmax(0,1fr)}
.compact-nav{width:120px;padding:18px 12px;gap:10px;align-items:stretch}
#studioSideNav .studio-logo-wrap{display:none!important}
.nav-btn{min-height:48px;padding:10px 12px;border-radius:16px;font-size:13px;line-height:1.15;justify-content:center}
.nav-btn span:not(.ico){word-break:normal;overflow-wrap:normal}
.nav-btn.active,.nav-btn:hover{background:rgba(216,156,164,.18);box-shadow:inset 4px 0 0 var(--aqua)}
.studio-title-highlight{display:flex;align-items:center;gap:16px;line-height:1.05}
.studio-page-logo{width:62px;height:62px;min-width:62px;border-radius:20px;background:linear-gradient(135deg,var(--sky),var(--aqua));display:inline-grid;place-items:center;overflow:hidden;box-shadow:0 14px 30px rgba(216,156,164,.22)}
.studio-page-logo img{width:100%;height:100%;object-fit:cover;display:block}
.studio-page-logo .logo-badge{width:100%;height:100%;border-radius:20px;font-size:18px}
@media(max-width:1100px){.dashboard-shell{grid-template-columns:124px minmax(0,1fr)}.compact-nav{width:112px}.nav-btn{font-size:12px;padding:9px 10px}.studio-page-logo{width:54px;height:54px;min-width:54px}}
@media(max-width:720px){.dashboard-shell{grid-template-columns:1fr}.compact-nav{width:100%;flex-direction:row;overflow:auto}.nav-btn{min-width:max-content}.studio-title-highlight{gap:12px}.studio-page-logo{width:48px;height:48px;min-width:48px;border-radius:16px}}

/* PausaGlow update: appointment conflict popup */
.conflict-modal{max-width:520px}.conflict-modal h3{color:#B76E79}.conflict-modal p{font-size:16px}

.appointment-modal{max-width:720px}.appointment-modal .field-label{display:grid;gap:7px;font-weight:850;color:#5C4A4F}.appointment-manage-actions{align-items:center}.grow-spacer{flex:1}.agenda-cell .event,.week-day .event,.month-day small[data-appointment-id]{cursor:pointer}.agenda-cell .event:hover,.week-day .event:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(183,110,121,.12)}


.operator-row span{max-width:520px}.operator-row .btn{white-space:nowrap}.operator-hours-modal{max-width:920px}.operator-hours-grid{display:grid;gap:10px;margin:14px 0}.hours-row{display:grid;grid-template-columns:1.15fr repeat(4, minmax(110px,1fr));gap:10px;align-items:end;border:1px solid var(--line);border-radius:18px;padding:12px;background:#FFF9FA}.hours-row label{font-weight:850;color:#6B555B;font-size:13px;display:grid;gap:6px}.hours-working{align-self:center!important;display:flex!important;align-items:center;gap:8px;font-size:14px!important;color:#B76E79!important}.hours-working input{width:auto}@media(max-width:900px){.hours-row{grid-template-columns:1fr 1fr}.hours-working{grid-column:1/-1}}

/* Operatrici v2 */
.operator-row-v2{align-items:flex-start;padding:18px 20px}
.operator-main{display:grid;gap:5px;min-width:0}
.operator-main b{font-size:16px;color:#3F3A3B}
.operator-status{display:inline-flex!important;align-items:center;width:max-content;padding:4px 10px;border-radius:999px;background:#FFF1F4;color:#B76E79;font-size:12px!important;font-weight:900;text-transform:capitalize}
.operator-main small{display:block;color:#7A666B;font-weight:700;line-height:1.45;max-width:760px}
.operator-actions{display:flex;gap:8px;align-items:center;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:720px){.operator-row-v2{display:grid}.operator-actions{margin-left:0;justify-content:flex-start}.operator-actions .btn{width:100%}}

.studio-hours-card{margin-bottom:18px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.hours-summary{display:grid;grid-template-columns:repeat(7,minmax(118px,1fr));gap:10px;margin-top:14px}.hours-summary-row{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:104px;border:1px solid var(--line);border-radius:16px;background:#FFF9FA;padding:14px 10px;text-align:center}.hours-summary-row b{color:#3F3A3B;font-size:14px}.hours-summary-row span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;color:#6B555B;font-weight:800;line-height:1.25;text-align:center}.hours-summary-row span strong{font-size:13px;color:#6B555B}.hours-summary-row span em{font-style:normal;font-size:11.5px;color:#9C7B83;font-weight:750;white-space:nowrap}.hours-summary-row.closed{background:#f8fafc;opacity:.82}.hours-summary-row.closed span strong{color:#B0959B}.compact-copy{margin:4px 0 0!important}@media(max-width:1100px){.hours-summary{grid-template-columns:repeat(4,minmax(140px,1fr))}}@media(max-width:680px){.hours-summary{display:flex;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.hours-summary-row{min-width:150px;scroll-snap-align:start}}

/* Admin users actions */
.admin-user-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-users-note{margin-top:12px;font-size:13px}.table-card td:last-child{min-width:210px}


.link-button{border:0;background:transparent;color:#B76E79;font-weight:800;cursor:pointer;padding:10px 0 0;text-align:left;width:max-content}
.link-button:hover{text-decoration:underline}
.reset-password-page{min-height:70vh;align-items:center;justify-content:center}
.reset-password-card{width:min(520px,92vw);margin:60px auto;padding:34px;border:1px solid #F0D7DC;border-radius:28px;background:#fff;box-shadow:0 22px 70px rgba(63,58,59,.12)}
.reset-password-card h2{margin:8px 0 8px;color:#3F3A3B;font-size:34px}
.reset-password-card p{color:#7A666B;line-height:1.6}
.reset-password-form{display:grid;gap:14px;margin-top:18px}
.reset-password-form input{height:52px;border:1px solid #F0D7DC;border-radius:16px;padding:0 16px;font:inherit;background:#fff}
.reset-password-form input:focus{outline:2px solid rgba(216,156,164,.35);border-color:#D89CA4}
#resetPasswordHelp{display:block;margin-top:14px;color:#6b7d96}


/* Admin sidebar: no avatar/icon in admin panel, compact height only for admin */
#adminSideNav.compact-nav{height:auto;min-height:0;align-self:start;padding-top:16px;padding-bottom:16px}
#adminSideNav .studio-logo-wrap{display:none!important}
@media(max-width:720px){#adminSideNav.compact-nav{height:auto;width:100%}}

/* Scheda cliente premium */
.client-profile{display:flex;flex-direction:column;gap:18px}.client-profile-hero{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:18px;border-radius:24px;background:linear-gradient(135deg,#FFF1F4,#fff);border:1px solid var(--line)}.client-profile-hero h3{font-size:28px;margin:4px 0 0}.client-profile-hero p{margin:0}.client-avatar{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--sky),var(--aqua));color:white;font-weight:950;font-size:22px;box-shadow:0 16px 30px rgba(216,156,164,.25)}.mini-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;border:1px solid #E8B4BC;background:#FFF1F4;color:#B76E79;padding:5px 10px;font-size:12px;font-weight:950}.client-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-detail-grid section{border:1px solid var(--line);background:#fff;border-radius:20px;padding:15px;box-shadow:0 10px 24px rgba(63,58,59,.05)}.client-detail-grid section.full{grid-column:1/-1}.client-detail-grid small{display:block;color:#B76E79;font-weight:950;margin-bottom:6px}.client-detail-grid b{display:block;color:var(--dark);font-weight:850;overflow-wrap:anywhere}@media(max-width:720px){.client-profile-hero{grid-template-columns:1fr}.client-detail-grid{grid-template-columns:1fr}.client-profile-hero .btn{width:100%}}


/* Avatar clienti femminili PausaGlow */
.client-row-avatar{display:flex;align-items:center;gap:12px}.client-row-avatar>div{min-width:0}.client-row-avatar b,.client-row-avatar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-avatar-img{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:24px;overflow:hidden;background:#FFF1F4;box-shadow:0 12px 26px rgba(183,110,121,.16);border:1px solid rgba(232,180,188,.75)}.client-avatar-img svg{width:100%;height:100%;display:block}.client-avatar-img.small-avatar{width:48px;height:48px;border-radius:18px}.client-avatar-img.large-avatar{width:76px;height:76px;border-radius:26px}.client-avatar-img.tiny-avatar{width:30px;height:30px;border-radius:12px;box-shadow:none}.av-bg{fill:#FFF1F4}.av-skin{fill:#F6D1C7}.av-hair{fill:#6B3F38}.av-hair2{fill:#4D2F2A}.av-line{fill:none;stroke:#B76E79;stroke-width:3;stroke-linecap:round}.av-top{fill:#D89CA4}.av-hair-red{fill:#9A4F3D}.av-hair-blonde{fill:#D7A84A}.av-hair-blonde2{fill:#B98933}.av-hair-short{fill:#5A3F3A}.av-hair-short2{fill:#3F2E2A}.avatar-1 .av-bg{fill:#FFF0F3}.avatar-2 .av-bg{fill:#FFF5F0}.avatar-3 .av-bg{fill:#F9EEF5}.avatar-4 .av-bg{fill:#FFF7E8}.avatar-5 .av-bg{fill:#F7EEF1}.event-with-avatar{display:flex;align-items:flex-start;gap:8px}.event-with-avatar>div{min-width:0}.client-profile-hero .client-avatar-img{grid-row:auto}@media(max-width:720px){.client-avatar-img.large-avatar{width:72px;height:72px}.client-row-avatar{gap:10px}}


/* Realistic client avatars */
.client-avatar-img.realistic-avatar{background:#FFF1F4;border:2px solid rgba(232,180,188,.95);box-shadow:0 12px 26px rgba(183,110,121,.18);overflow:hidden}
.client-avatar-img.realistic-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.client-avatar-img.small-avatar{width:50px;height:50px;border-radius:50%}
.client-avatar-img.large-avatar{width:86px;height:86px;border-radius:50%}
.client-avatar-img.tiny-avatar{width:32px;height:32px;border-radius:50%;box-shadow:none;border-width:1px}
.event-with-avatar{display:flex;align-items:flex-start;gap:8px}.event-with-avatar>div{min-width:0}


/* Agenda intelligente: orari studio e pausa pranzo */
.agenda-closed-message{padding:24px;text-align:center;font-weight:950;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:0 0 22px 22px}
.agenda-cell.lunch-break{background:#fef2f2;border-color:#fecaca;color:#b91c1c;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;font-weight:950;cursor:not-allowed}
.agenda-cell.lunch-break small{color:#991b1b;font-weight:850}
.agenda-time.lunch-break-time{background:#fee2e2;color:#b91c1c;border-color:#fecaca}


.client-appointments-panel{margin-top:18px;padding:18px;border:1px solid rgba(183,110,121,.18);border-radius:22px;background:linear-gradient(180deg,#fff,#fff8f9);box-shadow:0 12px 30px rgba(183,110,121,.08)}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.section-title-row h3{margin:4px 0 0}.next-appointment-card{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:12px;align-items:center;padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(216,156,164,.24)}
.next-appointment-card small,.empty-appointment-card small{display:block;color:#8f6f74;font-size:12px;margin-bottom:4px}.next-appointment-card b{color:#3f3a3b}.next-appointment-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.empty-appointment-card{padding:16px;border:1px dashed rgba(183,110,121,.35);border-radius:18px;background:#fff;color:#8f6f74}.empty-appointment-card p{margin:0}.client-history-summary{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#8f6f74}.client-history-table{overflow:hidden;border:1px solid rgba(216,156,164,.24);border-radius:18px;background:#fff}.client-history-head,.client-history-row{display:grid;grid-template-columns:1.2fr .7fr 1.7fr .8fr .9fr;gap:10px;align-items:center;padding:12px 14px}.client-history-head{background:#f4e4e7;color:#6f4a51;font-weight:700;font-size:13px}.client-history-row{border-top:1px solid rgba(216,156,164,.18);cursor:pointer}.client-history-row:hover{background:#fff8f9}.status-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:#f4e4e7;color:#6f4a51;font-size:12px;font-weight:700}.status-completato{background:#e8f7ef;color:#2f7a4b}.status-annullato{background:#ffe5e5;color:#b4232a}.status-in-attesa{background:#fff3d8;color:#9a6500}@media(max-width:900px){.next-appointment-card{grid-template-columns:1fr}.client-history-head{display:none}.client-history-row{grid-template-columns:1fr;gap:4px}.client-history-summary{flex-direction:column}.section-title-row{align-items:flex-start;flex-direction:column}}


.client-history-row-readonly{cursor:default;}
.client-history-row-readonly:hover{transform:none;box-shadow:none;}

/* PausaGlow fix: uniforma font storico appuntamenti allo stile del prossimo appuntamento */
.client-appointments-panel .section-title-row h3{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:20px;
  font-weight:950;
  letter-spacing:-.2px;
  color:#3F3A3B;
  line-height:1.15;
}
.client-history-summary span,
.client-history-summary b{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:14px;
  font-weight:850;
  color:#8F6F74;
  line-height:1.3;
}
.client-history-summary b{font-weight:950;}
.client-history-head,
.client-history-row,
.client-history-row div{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}


/* Font normalizzati area Clienti - valori non in grassetto */
.client-profile p,
.client-profile span,
.client-profile li,
.client-profile td,
.client-profile .client-history-row,
.client-profile .client-history-row div,
.client-profile .client-history-summary,
.client-profile .next-appointment-card,
.client-profile .next-appointment-card div,
.client-profile .empty-appointment-card,
.client-detail-grid b,
.next-appointment-card b {
  font-weight: 400 !important;
}

.client-profile h3,
.client-profile h4,
.client-profile .section-title-row h3,
.client-profile .section-title-row h4,
.client-profile-hero h3,
.client-history-head,
.client-history-head div,
.client-detail-grid small,
.next-appointment-card small,
.empty-appointment-card small {
  font-weight: 600 !important;
}

.client-profile .btn,
.client-profile button,
.client-profile .status-pill,
.client-profile .mini-badge {
  font-weight: 600 !important;
}

.client-history-summary b {
  font-weight: 400 !important;
}


/* PausaGlow overlay refresh fix */
html.pg-boot body{overflow:hidden;}
html.pg-boot body > *:not(#pgBootOverlay){visibility:hidden!important;}
#pgBootOverlay{display:none;position:fixed;inset:0;z-index:2147483647;align-items:center;justify-content:center;background:radial-gradient(circle at top left,#FFF1F4 0,#fff 42%,#FFF9FA 100%);color:#B76E79;font-weight:950;letter-spacing:.2px;}
html.pg-boot #pgBootOverlay{display:flex;}
#pgBootOverlay span{background:#fff;border:1px solid #F0D7DC;border-radius:999px;padding:14px 22px;box-shadow:0 18px 44px rgba(63,58,59,.10);}


/* Studio brand centrato nella visuale Studio */
#studioArea .dash-top{position:relative;justify-content:center;align-items:center;margin-bottom:34px;padding-top:10px;}
#studioArea .dash-top>div{width:100%;display:flex;justify-content:center;}
#studioArea .studio-title-highlight{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;color:#3F3A3B!important;margin:0 auto;font-size:28px;letter-spacing:-.02em;}
#studioArea .studio-title-name{font-weight:850;line-height:1.1;}
#studioArea .studio-page-logo{width:250px;height:250px;min-width:250px;border-radius:44px;background:linear-gradient(135deg,var(--sky),var(--aqua));display:inline-grid;place-items:center;overflow:hidden;box-shadow:0 24px 58px rgba(216,156,164,.30);}
#studioArea .studio-page-logo img{width:100%;height:100%;object-fit:cover;display:block;}
#studioArea .studio-page-logo .logo-badge{width:100%;height:100%;border-radius:44px;font-size:56px;}
#studioArea .back-public{position:absolute;right:0;top:10px;}
@media(max-width:720px){#studioArea .dash-top{padding-top:0;margin-bottom:20px;}#studioArea .back-public{position:static;margin:8px auto 0;}#studioArea .dash-top{flex-direction:column;}#studioArea .studio-page-logo{width:170px;height:170px;min-width:170px;border-radius:34px;}#studioArea .studio-page-logo .logo-badge{border-radius:34px;font-size:42px;}#studioArea .studio-title-highlight{font-size:23px;gap:10px;}}

/* Listino personalizzato */
.listino-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.inline-check{display:inline-flex;align-items:center;gap:8px;color:#6b5a5f;font-weight:500;font-size:14px;}
.inline-check input{accent-color:#B76E79;}
.treatment-hidden-row{opacity:.62;background:#fff7f8;}
.row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}

.icon-btn{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:white;color:#B76E79;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;vertical-align:middle}.icon-btn:hover{background:#FFF1F4;border-color:#E8B4BC;transform:translateY(-1px)}.icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.note-detail-btn{margin:2px}.treatment-detail-modal{max-width:620px}.treatment-detail-grid p.full-row{grid-column:1/-1}.treatment-detail-grid strong{white-space:pre-wrap;line-height:1.6}

/* Admin utenti: separazione amministratori / account studio */
.admin-users-split{display:flex;flex-direction:column;gap:18px;}
.compact-heading{margin-bottom:10px;align-items:flex-start;}
.compact-heading h3{margin:4px 0 0;font-size:18px;}


/* PausaGlow - admin sidebar allungata e voce Utenti rinominata in Studi */
#adminArea .dashboard-shell{align-items:stretch;}
#adminSideNav.compact-nav{
  height:calc(100vh - 64px) !important;
  min-height:calc(100vh - 64px) !important;
  align-self:stretch !important;
  position:sticky;
  top:18px;
  padding-top:22px;
  padding-bottom:22px;
}
#adminSideNav .nav-btn{flex-shrink:0;}
@media(max-width:720px){
  #adminSideNav.compact-nav{
    height:auto !important;
    min-height:0 !important;
    position:relative;
    top:0;
    width:100%;
  }
}

/* Fix pagina Studi admin: titoli schede non tagliati */
.admin-users-split .table-card{padding-top:24px;overflow:hidden;}
.admin-users-split .compact-heading{padding:0 16px 10px;margin-bottom:0;}
.admin-users-split .compact-heading h3{margin:0;font-size:19px;line-height:1.25;}
.admin-users-split table{margin-top:0;}

/* Admin users refinement */
.admin-account-search-wrap{padding:0 16px 12px;background:#fff;}
.admin-account-search{max-width:380px;margin:0;}
.admin-user-actions{gap:7px;}
.admin-user-actions .admin-action-btn{padding:7px 12px;font-size:12px;line-height:1;min-height:32px;border-radius:999px;white-space:nowrap;}
.table-card td:last-child{min-width:175px;}
@media(max-width:720px){.admin-account-search{max-width:none}.admin-user-actions .admin-action-btn{padding:8px 10px;font-size:11px;}}

.plan-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:800;border:1px solid rgba(196,101,121,.22);}
.plan-badge.starter{background:rgba(75,166,124,.12);color:#2f8f5d;}
.plan-badge.professional{background:rgba(196,101,121,.14);color:#8f2e43;}

.client-import-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.csv-template-box{border:1px solid var(--line);background:#FFF9FA;border-radius:18px;padding:14px;margin:12px 0}.csv-template-box b,.csv-template-box code{display:block}.csv-template-box code{margin-top:8px;white-space:normal;color:#B76E79;font-weight:800}.client-csv-modal{max-width:720px}@media(max-width:720px){.client-import-actions{width:100%}.client-import-actions .btn{width:100%}}

.price-tag{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;margin-bottom:10px}.price-tag.starter{background:#e8f5e9}.price-tag.popular{background:#d66a8a;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15)}.price-note{font-size:13px;font-weight:600;color:#d66a8a;margin:-8px 0 10px}.price-card.highlighted{transform:scale(1.03);box-shadow:0 10px 25px rgba(0,0,0,.15)}

/* Prezzi: layout centrato e card professionali */
#prezzi .pricing-grid{
  max-width:920px;
  margin:0 auto;
  grid-template-columns:repeat(2,minmax(280px,1fr));
  justify-content:center;
  align-items:stretch;
}
#prezzi .price-card{
  position:relative;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
#prezzi .price-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at top right, rgba(216,156,164,.22), transparent 42%);
  opacity:0;
  transition:opacity .22s ease;
}
#prezzi .price-card:hover{
  transform:translateY(-8px);
  box-shadow:0 26px 58px rgba(63,58,59,.16);
  border-color:#D89CA4;
  background:#fff;
}
#prezzi .price-card:hover::before{opacity:1;}
#prezzi .price-card.highlighted{
  transform:none;
  border:2px solid #D89CA4;
  box-shadow:0 24px 54px rgba(183,110,121,.16);
}
#prezzi .price-card.highlighted:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 68px rgba(183,110,121,.22);
}
#prezzi .price-tag{
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:7px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  margin-bottom:16px;
}
#prezzi .price-tag.starter{
  background:#FFF4F6;
  color:#8F4A56;
  border:1px solid #F0D7DC;
}
#prezzi .price-tag.popular{
  position:absolute;
  top:18px;
  right:18px;
  background:linear-gradient(135deg,#B76E79,#8F4A56);
  color:#fff;
  box-shadow:0 12px 26px rgba(143,74,86,.22);
}
#prezzi .price-card.highlighted h3{margin-top:28px;}
#prezzi .price-note{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:#FFF4F6;
  border:1px solid #F0D7DC;
  color:#8F4A56;
  font-size:13px;
  font-weight:900;
  margin:-4px 0 14px;
}
@media(max-width:720px){
  #prezzi .pricing-grid{grid-template-columns:1fr;max-width:520px;}
  #prezzi .price-tag.popular{position:static;display:inline-block;}
  #prezzi .price-card.highlighted h3{margin-top:0;}
}


/* FIX finale pagina Prezzi: schede centrate e hover attivo */
#prezzi .pricing-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(320px, 480px)) !important;
  justify-content:center !important;
  justify-items:stretch !important;
  align-items:stretch !important;
  gap:28px !important;
  width:100% !important;
  max-width:1040px !important;
  margin:0 auto !important;
}
#prezzi .price-card{
  position:relative !important;
  min-height:100%;
  overflow:hidden;
  will-change:transform, box-shadow, border-color, background;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease !important;
}
#prezzi .price-card.highlighted{
  transform:none !important;
}
#prezzi .price-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg, rgba(255,244,246,.88), rgba(255,255,255,0) 42%), radial-gradient(circle at top right, rgba(216,156,164,.28), transparent 38%);
  opacity:0;
  transition:opacity .22s ease;
}
#prezzi .price-card:hover{
  transform:translateY(-8px) !important;
  box-shadow:0 30px 68px rgba(63,58,59,.18) !important;
  border-color:#D89CA4 !important;
  background:#fff !important;
}
#prezzi .price-card:hover::before{opacity:1;}
#prezzi .price-card > *{position:relative;z-index:1;}
@media(max-width:900px){
  #prezzi .pricing-grid{
    grid-template-columns:minmax(0, 520px) !important;
    max-width:560px !important;
  }
}

.contact-copy{background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:0 18px 42px rgba(63,58,59,.08)}
.contact-copy h2{max-width:620px}
.contact-copy>p{font-size:17px;max-width:680px}
.contact-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.contact-benefits p{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:#fff;color:#5C4A4F;font-weight:900;box-shadow:0 10px 24px rgba(63,58,59,.05)}
.contact-response-note{margin-top:18px!important;font-weight:950;color:#B76E79!important}
@media(max-width:720px){.contact-copy{padding:22px}.contact-benefits{grid-template-columns:1fr}}

/* PausaGlow icon update */
.brand-mark.brand-image{padding:0;overflow:hidden;background:none;border-radius:14px;box-shadow:0 12px 24px rgba(111,63,73,.22)}
.brand-mark.brand-image img{width:100%;height:100%;object-fit:cover;display:block}

/* Login page refinement */
#login.page{
  padding-top:64px;
}
#login .page-title{
  max-width:820px;
  margin:0 auto 48px;
}
#login .page-title .eyebrow{
  margin-bottom:14px;
}
#login .page-title h2{
  margin:18px 0 16px;
  font-size:clamp(38px,4.2vw,58px);
  line-height:1.08;
  letter-spacing:-1.8px;
}
#login .page-title p{
  max-width:680px;
  margin:0 auto;
  font-size:17px;
  line-height:1.65;
}
#login .login-grid{
  align-items:stretch;
}
#login .login-card{
  padding:28px;
}
@media(max-width:720px){
  #login.page{padding-top:36px;}
  #login .page-title{margin-bottom:28px;}
  #login .page-title h2{font-size:36px;}
}

/* Home nuova struttura */
.home-hero-v2{display:grid;grid-template-columns:minmax(0,0.92fr) minmax(420px,1.08fr);gap:54px;align-items:center;min-height:calc(100vh - 112px);padding:26px 0 72px}.home-hero-copy h1{font-size:clamp(42px,5.6vw,76px);line-height:.96;letter-spacing:-3px;margin:18px 0}.home-hero-copy p{font-size:18px;max-width:720px}.home-visual-frame{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:28px;box-shadow:0 34px 80px rgba(111,63,73,.12);padding:16px;position:relative;overflow:hidden}.home-visual-frame:before{content:"";position:absolute;inset:-40% -20% auto auto;width:280px;height:280px;background:radial-gradient(circle,rgba(216,156,164,.18),transparent 68%);pointer-events:none}.browser-bar{height:34px;display:flex;align-items:center;gap:8px;color:#b0959b;font-weight:800}.browser-bar span{width:11px;height:11px;border-radius:50%;background:#efd4da}.browser-bar span:nth-child(1){background:#f5a2a6}.browser-bar span:nth-child(2){background:#f4cf7a}.browser-bar span:nth-child(3){background:#95d7b3}.browser-bar small{margin-left:auto;font-size:12px;color:#b0959b}.preview-placeholder{border-radius:24px;background:linear-gradient(135deg,#fff7f8,#fff);border:1px solid #f0d3d8;min-height:280px;position:relative;z-index:1}.dashboard-placeholder{display:grid;grid-template-columns:92px 1fr;gap:18px;padding:18px}.placeholder-sidebar{border-radius:22px;background:linear-gradient(180deg,var(--nav),var(--nav2));color:#fff;padding:16px 12px;display:grid;align-content:start;gap:14px;font-size:12px;font-weight:900}.placeholder-sidebar b{width:42px;height:42px;border-radius:14px;background:#fff;color:#b76e79;display:grid;place-items:center}.placeholder-main{display:grid;grid-template-columns:1fr 1fr;gap:14px}.placeholder-stat,.placeholder-wide,.placeholder-row,.placeholder-grid-card,.placeholder-table{border-radius:20px;background:linear-gradient(135deg,#fff,#fff1f4);border:1px solid #f1d7dc;box-shadow:0 10px 24px rgba(216,156,164,.08)}.placeholder-stat{height:94px}.placeholder-wide{grid-column:1/-1;height:92px}.placeholder-row{grid-column:1/-1;height:26px}.placeholder-row.short{width:68%}.visual-note{font-size:13px;margin:12px 0 2px;text-align:center;color:#b0959b;font-weight:800}.home-section{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:84px 0;border-top:1px solid rgba(240,201,209,.45)}.home-section-copy h2{max-width:660px}.home-section-copy p{font-size:17px;max-width:620px}.compact-preview-frame{padding:14px}.studio-placeholder{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px;min-height:240px}.placeholder-grid-card{height:82px}.placeholder-table{grid-column:1/-1;height:118px}.clean-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px}.clean-list span{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 15px;font-weight:900;color:#6f3f49;box-shadow:0 12px 28px rgba(111,63,73,.06)}.reverse-layout{grid-template-columns:1.05fr .95fr}.phone-gallery{display:flex;align-items:center;justify-content:center;gap:18px;min-height:420px}.phone-frame{width:178px;height:342px;border-radius:34px;background:#2f1720;padding:12px;box-shadow:0 28px 60px rgba(47,23,32,.20);transform:rotate(-3deg)}.phone-frame.raised{transform:translateY(-28px);background:#6f3f49}.phone-notch{width:58px;height:6px;border-radius:999px;background:rgba(255,255,255,.28);margin:2px auto 10px}.phone-screen{height:298px;border-radius:24px;background:linear-gradient(180deg,#fff,#fff4f6);padding:18px;border:1px solid #f0d3d8;display:grid;align-content:start;gap:12px}.phone-screen span{font-size:12px;color:#b76e79;font-weight:900}.phone-screen b{font-size:22px;color:#3d393b}.phone-screen p{font-size:12px;margin:0;color:#80646b}.phone-screen div{height:42px;border-radius:14px;background:#fff;border:1px solid #f0d3d8}.home-feature-block{padding:64px 0 22px;border-top:1px solid rgba(240,201,209,.45)}.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.home-feature-grid article{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}.home-feature-grid article h3{color:#2d2a2c}@media(max-width:1100px){.home-hero-v2,.home-section,.reverse-layout{grid-template-columns:1fr}.home-hero-v2{min-height:auto}.phone-gallery{order:2}.home-feature-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.home-hero-v2{gap:28px;padding-top:8px}.dashboard-placeholder{grid-template-columns:1fr}.placeholder-sidebar{display:flex;overflow:hidden}.clean-list,.home-feature-grid{grid-template-columns:1fr}.phone-gallery{gap:10px;overflow:auto;justify-content:flex-start;min-height:380px;padding:12px 4px}.phone-frame{min-width:160px;height:318px}.phone-screen{height:274px}.home-section{padding:54px 0}.home-hero-copy h1{font-size:42px}.home-visual-frame{border-radius:24px}}

/* Hover premium card pubbliche - PausaGlow */
.features-grid article,
.home-feature-grid article,
.intro-cards article,
.studio-benefit-grid article,
.client-benefit-grid article,
.price-card,
.login-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.features-grid article::before,
.home-feature-grid article::before,
.intro-cards article::before,
.studio-benefit-grid article::before,
.client-benefit-grid article::before,
.price-card::before,
.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(216,156,164,.20), transparent 42%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: -1;
}

.features-grid article h3,
.home-feature-grid article h3,
.intro-cards article h3,
.studio-benefit-grid article h3,
.client-benefit-grid article h3,
.price-card h3,
.login-card h3 {
  transition: color .28s ease, transform .28s ease;
}

@media (hover:hover) and (pointer:fine) {
  .features-grid article:hover,
  .home-feature-grid article:hover,
  .intro-cards article:hover,
  .studio-benefit-grid article:hover,
  .client-benefit-grid article:hover,
  .price-card:hover,
  .login-card:hover {
    transform: translateY(-8px);
    border-color: rgba(183,110,121,.55);
    box-shadow: 0 28px 70px rgba(111,63,73,.16);
    background: rgba(255,255,255,.98);
  }

  .features-grid article:hover::before,
  .home-feature-grid article:hover::before,
  .intro-cards article:hover::before,
  .studio-benefit-grid article:hover::before,
  .client-benefit-grid article:hover::before,
  .price-card:hover::before,
  .login-card:hover::before {
    opacity: 1;
  }

  .features-grid article:hover h3,
  .home-feature-grid article:hover h3,
  .intro-cards article:hover h3,
  .studio-benefit-grid article:hover h3,
  .client-benefit-grid article:hover h3,
  .price-card:hover h3,
  .login-card:hover h3 {
    color: var(--aqua);
    transform: translateX(2px);
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(216,156,164,.30);
  }
}

.btn {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

@media (prefers-reduced-motion: reduce) {
  .features-grid article,
  .home-feature-grid article,
  .intro-cards article,
  .studio-benefit-grid article,
  .client-benefit-grid article,
  .price-card,
  .login-card,
  .btn {
    transition: none;
  }
}

.client-profile-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-left:auto;}
@media(max-width:760px){.client-profile-actions{width:100%;justify-content:flex-start;margin-left:0;}}


/* Client access polish */
.client-access-box{
  border:1px solid rgba(203,123,139,.28);
  background:rgba(255,246,248,.78);
  border-radius:18px;
  padding:14px 16px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.access-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:#4b3d42;
}
.access-toggle input{
  width:18px;
  height:18px;
  accent-color:#c87889;
}
.access-password-row{
  display:none;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:12px;
}
.access-password-row.is-visible{
  display:grid;
}
.generate-password-btn{
  min-height:48px;
  white-space:nowrap;
}
.client-modal .field-label small{
  display:block;
  margin-top:7px;
  font-weight:500;
}
@media (max-width: 760px){
  .access-password-row.is-visible{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .generate-password-btn{
    width:100%;
  }
}


/* Admin Piani - hover solo sulle singole schede piano */
#admin-abbonamenti .pricing-grid{
  margin-top: 34px;
}

#admin-abbonamenti .pricing-grid.compact{
  margin-top: 34px;
}

#admin-abbonamenti .pricing-grid > .price-card{
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

#admin-abbonamenti .pricing-grid > .price-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(97, 49, 62, .16);
  border-color: rgba(203, 123, 139, .46);
}



/* Cliente mobile: logo studio + hamburger */
.client-mobile-topbar,
.client-mobile-menu{
  display:none;
}

.client-price-list{
  display:grid;
  gap:14px;
}

.client-price-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border:1px solid rgba(203,123,139,.22);
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 34px rgba(97,49,62,.08);
}

.client-price-card h3{
  margin:0 0 6px;
}

.client-price-card p{
  margin:0;
  color:#7a6870;
}

.client-price-side{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}

.client-price-side b{
  font-size:22px;
  color:#56313c;
}

@media (max-width: 768px){
  #clienteArea .dashboard-shell{
    display:block;
  }

  #clienteArea #clientSideNav{
    display:none !important;
  }

  #clienteArea .dashboard-content{
    width:100%;
    padding:18px 14px 28px !important;
    overflow-x:hidden;
  }

  #clienteArea .client-desktop-exit{
    display:none !important;
  }

  .client-mobile-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    position:sticky;
    top:0;
    z-index:30;
    padding:10px 0 14px;
    background:linear-gradient(180deg,#fff 72%,rgba(255,255,255,.86));
  }

  .client-mobile-studio{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    font-weight:900;
    color:#44383d;
  }

  .client-mobile-studio .studio-page-logo{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  .client-mobile-studio b{
    display:block;
    max-width:210px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .client-mobile-menu-btn{
    width:48px;
    height:48px;
    border:1px solid rgba(203,123,139,.28);
    border-radius:16px;
    background:#fff0f3;
    color:#56313c;
    font-size:25px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 12px 28px rgba(97,49,62,.10);
  }

  .client-mobile-menu{
    display:none;
    position:sticky;
    top:68px;
    z-index:29;
    margin:0 0 14px;
    padding:10px;
    border:1px solid rgba(203,123,139,.25);
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 42px rgba(97,49,62,.13);
  }

  .client-mobile-menu.open{
    display:grid;
    gap:8px;
  }

  .client-mobile-menu button{
    border:0;
    border-radius:16px;
    padding:13px 14px;
    text-align:left;
    background:#fff6f8;
    color:#56313c;
    font-weight:900;
    cursor:pointer;
  }

  .client-mobile-menu button:hover{
    background:#f3d8de;
  }

  #clienteArea .dash-top h2{
    font-size:clamp(30px,9vw,42px);
    line-height:1.08;
  }

  #clienteArea .kpi-grid{
    grid-template-columns:1fr !important;
    gap:12px;
  }

  #clienteArea .kpi-grid div{
    min-height:auto;
    padding:20px 22px;
  }

  .client-price-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .client-price-side{
    width:100%;
    justify-content:space-between;
  }
}

.home-logo-visual{display:flex;align-items:center;justify-content:center;min-height:520px;position:relative}.home-logo-visual:before{content:"";position:absolute;width:min(42vw,520px);height:min(42vw,520px);border-radius:50%;background:radial-gradient(circle,rgba(216,156,164,.30) 0%,rgba(183,110,121,.16) 38%,rgba(255,255,255,0) 72%);filter:blur(8px);z-index:0}.home-logo-visual img{position:relative;z-index:1;width:clamp(260px,34vw,470px);height:clamp(260px,34vw,470px);object-fit:cover;border-radius:34%;box-shadow:0 34px 90px rgba(111,63,73,.20);transition:transform .25s ease,box-shadow .25s ease}.home-logo-visual:hover img{transform:translateY(-6px) scale(1.015);box-shadow:0 42px 100px rgba(111,63,73,.24)}@media(max-width:1100px){.home-logo-visual{min-height:360px}.home-logo-visual img{width:clamp(240px,48vw,380px);height:clamp(240px,48vw,380px)}}@media(max-width:720px){.home-logo-visual{min-height:300px}.home-logo-visual img{width:230px;height:230px}.home-logo-visual:before{width:300px;height:300px}}

/* Cliente mobile compatto: topbar integrata, logo più grande e card più snelle */
@media (max-width: 768px){
  #clienteArea .dashboard-content{
    padding:12px 14px 24px !important;
  }

  #clienteArea .client-mobile-topbar{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    padding:2px 0 8px !important;
    margin:0 0 4px !important;
    position:relative !important;
    top:auto !important;
  }

  #clienteArea .client-mobile-studio{
    gap:12px !important;
  }

  #clienteArea .client-mobile-studio .studio-page-logo{
    width:64px !important;
    height:64px !important;
    min-width:64px !important;
    border-radius:20px !important;
    box-shadow:0 12px 26px rgba(97,49,62,.12) !important;
  }

  #clienteArea .client-mobile-studio .studio-page-logo .logo-badge{
    border-radius:20px !important;
    font-size:22px !important;
  }

  #clienteArea .client-mobile-studio b{
    font-size:16px !important;
  }

  #clienteArea .client-mobile-menu-btn{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
  }

  #clienteArea .client-mobile-menu{
    top:0 !important;
    margin-bottom:10px !important;
  }

  #clienteArea .dash-top{
    margin-bottom:6px !important;
    gap:6px !important;
  }

  #clienteArea .eyebrow{
    padding:6px 11px !important;
    font-size:11px !important;
  }

  #clienteArea .dash-top h2{
    font-size:28px !important;
    line-height:1.06 !important;
    margin:10px 0 4px !important;
    letter-spacing:-1.2px !important;
  }

  #clienteArea .kpi-grid{
    gap:8px !important;
    margin:10px 0 10px !important;
  }

  #clienteArea .kpi-grid div{
    padding:12px 14px !important;
    border-radius:18px !important;
  }

  #clienteArea .kpi-grid b{
    font-size:21px !important;
    line-height:1.12 !important;
  }

  #clienteArea .kpi-grid span{
    font-size:12px !important;
    line-height:1.25 !important;
  }

  #clienteArea .card{
    padding:14px 16px !important;
    border-radius:20px !important;
  }

  #clienteArea .card h3{
    font-size:17px !important;
    margin-bottom:5px !important;
  }

  #clienteArea .card p{
    font-size:13px !important;
    line-height:1.45 !important;
    margin:4px 0 !important;
  }
}


/* Profilo cliente: logo studio separato e card dati compatta */
#cliente-profilo > h2{
  margin-bottom:14px;
}

#clientPublicProfile.card{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.client-public-profile-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  width:100%;
}

.client-public-studio-logo{
  width:260px;
  height:260px;
  max-width:42vw;
  max-height:42vw;
  border-radius:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 22px 55px rgba(97,49,62,.10);
}

.client-public-studio-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.client-public-studio-logo .logo-badge{
  width:100%;
  height:100%;
  border-radius:42px;
  font-size:64px;
}

.client-public-studio-name{
  margin:0 0 4px;
  font-size:26px;
  text-align:center;
  color:var(--dark);
}

.client-public-info-card{
  width:min(720px,100%);
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  padding:24px;
  box-shadow:var(--shadow);
}

.client-public-info-card h4{
  margin:10px 0 16px;
  font-size:28px;
  color:var(--dark);
}

.client-public-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.client-public-info-grid p{
  margin:0;
  padding:15px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#FFF9FA;
}

.client-public-info-grid span,
.client-public-info-grid strong{
  display:block;
}

.client-public-info-grid span{
  margin-bottom:5px;
  color:#B76E79;
  font-size:12px;
  font-weight:950;
}

.client-public-info-grid strong{
  color:var(--dark);
  overflow-wrap:anywhere;
}

@media(max-width:1100px){
  .client-public-studio-logo{
    width:220px;
    height:220px;
    border-radius:36px;
  }
}

@media(max-width:720px){
  #cliente-profilo > h2{
    font-size:26px;
    margin:4px 0 12px;
  }

  .client-public-profile-layout{
    gap:10px;
  }

  .client-public-studio-logo{
    width:150px;
    height:150px;
    max-width:none;
    max-height:none;
    border-radius:28px;
  }

  .client-public-studio-logo .logo-badge{
    border-radius:28px;
    font-size:42px;
  }

  .client-public-studio-name{
    font-size:20px;
  }

  .client-public-info-card{
    padding:16px;
    border-radius:22px;
  }

  .client-public-info-card h4{
    font-size:22px;
    margin:8px 0 12px;
  }

  .client-public-info-grid{
    grid-template-columns:1fr;
    gap:8px;
  }

  .client-public-info-grid p{
    padding:12px 13px;
    border-radius:16px;
  }
}

/* Cliente: saluto visibile solo nella dashboard iniziale */
#clienteArea.client-section-active .client-dash-top > div{
  display:none !important;
}
#clienteArea.client-section-active .client-dash-top{
  justify-content:flex-end;
  margin-bottom:4px;
}
#clienteArea.client-dashboard-active .client-dash-top > div{
  display:block;
}
@media(max-width:768px){
  #clienteArea.client-section-active .client-dash-top{
    display:none !important;
  }
}

/* Agenda studio: card appuntamento verticale sulla durata reale del trattamento */
.agenda-grid{
  grid-auto-rows:44px;
  align-items:stretch;
}
.agenda-grid .agenda-cell{
  min-height:44px;
  height:44px;
  position:relative;
  overflow:visible;
}
.agenda-grid .agenda-head{
  height:44px;
}
.agenda-grid .agenda-duration-event{
  position:absolute;
  z-index:8;
  top:7px;
  left:7px;
  right:7px;
  min-height:calc((var(--agenda-span, 1) * 44px) - 14px);
  height:calc((var(--agenda-span, 1) * 44px) - 14px);
  display:flex;
  align-items:center;
}
.agenda-grid .agenda-occupied-continuation{
  background:#fff;
}
.agenda-grid .agenda-occupied-continuation:after{
  content:"";
  position:absolute;
  inset:0;
  background:transparent;
  pointer-events:none;
}

.booking-availability{margin:0;color:#7b3f4d;font-weight:800;}
.booking-availability.error{color:#b96b78;}
.booking-availability.success{color:#7b3f4d;}
.client-booking-card .form-grid{align-items:end;}

.client-app-showcase{display:flex;justify-content:center;align-items:center;min-height:620px}
.iphone-device{position:relative;width:380px;aspect-ratio:404/782;filter:drop-shadow(0 34px 70px rgba(47,23,32,.20)) drop-shadow(0 18px 36px rgba(0,0,0,.14))}
.iphone-screen-window{position:absolute;left:6.2%;right:6.4%;top:7.6%;bottom:6.4%;border-radius:8.4%/4.7%;overflow:hidden;background:#fff;z-index:1}
.iphone-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:3;pointer-events:none}
.client-screen{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;opacity:0;animation:clientScreenCycle 25s linear infinite;will-change:opacity,object-position}
.client-screen:nth-child(1){animation-delay:0s}
.client-screen:nth-child(2){animation-delay:5s}
.client-screen:nth-child(3){animation-delay:10s}
.client-screen:nth-child(4){animation-delay:15s}
.client-screen:nth-child(5){animation-delay:20s}
@keyframes clientScreenCycle{0%{opacity:0;object-position:center top}2%{opacity:1;object-position:center top}14%{opacity:1;object-position:center bottom}18%{opacity:1;object-position:center bottom}20%,100%{opacity:0;object-position:center bottom}}
.screen-card{text-align:center}
.screen-card h4{font-size:28px;margin-bottom:12px}
.phone-dots{position:absolute;left:0;right:0;bottom:-24px;display:flex;justify-content:center;gap:8px;z-index:4}
.phone-dots span{width:8px;height:8px;border-radius:50%;background:#d7c2c8}
.phone-dots span.active{background:#b76e79}
.auto-dots span{animation:clientDotCycle 25s infinite;background:#d7c2c8}
.auto-dots span:nth-child(1){animation-delay:0s}
.auto-dots span:nth-child(2){animation-delay:5s}
.auto-dots span:nth-child(3){animation-delay:10s}
.auto-dots span:nth-child(4){animation-delay:15s}
.auto-dots span:nth-child(5){animation-delay:20s}
@keyframes clientDotCycle{0%,17%{background:#d99aa7;transform:scale(1.18)}21%,100%{background:#d7c2c8;transform:scale(1)}}
.client-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.client-benefit-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 16px;box-shadow:0 12px 28px rgba(111,63,73,.06)}
.client-benefit-grid article:last-child{grid-column:1/-1}
.client-benefit-grid h3{margin:0 0 6px;font-size:16px;color:#6f3f49;letter-spacing:-.2px}
.client-benefit-grid p{margin:0;font-size:14px;line-height:1.5;color:#80646b}
@media(max-width:720px){.client-app-showcase{min-height:auto;padding-bottom:28px}.iphone-device{width:min(76vw,300px)}.client-benefit-grid{grid-template-columns:1fr}.client-benefit-grid article:last-child{grid-column:auto}}

/* Studio benefit cards + laptop mockup */
.studio-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.studio-benefit-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 16px;box-shadow:0 12px 28px rgba(111,63,73,.06)}
.studio-benefit-grid article:last-child{grid-column:1/-1}
.studio-benefit-grid h3{margin:0 0 6px;font-size:16px;color:#6f3f49;letter-spacing:-.2px}
.studio-benefit-grid p{margin:0;font-size:14px;line-height:1.5;color:#80646b}

.studio-laptop-showcase{display:flex;align-items:flex-start;justify-content:center;min-height:430px;position:relative;padding-top:0;overflow:visible}
.laptop-device{position:relative;width:min(100%,760px);filter:drop-shadow(0 34px 60px rgba(111,63,73,.13));transform:translateY(-34px)}
.laptop-frame-img{display:block;width:100%;height:auto;position:relative;z-index:2;pointer-events:none}
.laptop-screen-window{position:absolute;left:18.75%;top:25.25%;width:62.95%;height:38.75%;border-radius:4px;overflow:hidden;background:#fff;z-index:4}
.studio-screen-slide{position:absolute;inset:0;padding:14px;background:linear-gradient(135deg,#fffafb,#fff);opacity:0;animation:studioLaptopFade 35s infinite;display:flex;flex-direction:column;gap:10px}
.studio-screen-slide:nth-child(1){animation-delay:0s}.studio-screen-slide:nth-child(2){animation-delay:5s}.studio-screen-slide:nth-child(3){animation-delay:10s}.studio-screen-slide:nth-child(4){animation-delay:15s}.studio-screen-slide:nth-child(5){animation-delay:20s}.studio-screen-slide:nth-child(6){animation-delay:25s}.studio-screen-slide:nth-child(7){animation-delay:30s}
.studio-slide-top{display:flex;align-items:center;gap:6px;font-size:10px;color:#a77480;font-weight:900}.studio-slide-top span{width:8px;height:8px;border-radius:50%;background:#f1c5cc}.studio-slide-top span:nth-child(2){background:#b76e79}.studio-slide-top strong{margin-left:auto;font-size:11px;color:#6f3f49}
.studio-slide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-slide-grid div,.studio-slide-wide,.studio-agenda-lines i,.studio-client-cards i{display:block;border-radius:12px;border:1px solid #f0d3d8;background:linear-gradient(135deg,#fff,#fff2f5);box-shadow:0 8px 18px rgba(111,63,73,.05)}
.studio-slide-grid div{height:42px}.studio-slide-wide{height:72px;margin-top:auto}.studio-agenda-lines,.studio-client-cards{display:grid;gap:9px}.studio-agenda-lines i{height:24px}.studio-agenda-lines i:nth-child(2){width:72%}.studio-agenda-lines i:nth-child(3){width:88%}.studio-client-cards{grid-template-columns:1fr 1fr 1fr;margin-top:8px}.studio-client-cards i{height:92px}
@keyframes studioLaptopFade{0%,11%{opacity:1}14%,100%{opacity:0}}
@media(max-width:1100px){.studio-laptop-showcase{min-height:360px}.laptop-device{width:min(100%,620px);transform:translateY(-28px)}}
@media(max-width:720px){.studio-laptop-showcase{min-height:280px}.laptop-device{width:min(116%,560px);transform:translateY(0)}.studio-benefit-grid{grid-template-columns:1fr}.studio-benefit-grid article:last-child{grid-column:auto}.studio-screen-slide{padding:10px}.studio-slide-grid div{height:30px}.studio-slide-wide{height:48px}.studio-client-cards i{height:58px}}


/* Studio laptop real screenshot carousel */
.studio-screenshot-carousel{background:#fff;box-shadow:inset 0 0 0 1px rgba(111,63,73,.06)}
.studio-screen-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;object-position:center top;opacity:0;animation:studioScreenshotFade 20s infinite;background:#fff}
.studio-screen-shot:nth-child(1){animation-delay:0s}
.studio-screen-shot:nth-child(2){animation-delay:5s}
.studio-screen-shot:nth-child(3){animation-delay:10s}
.studio-screen-shot:nth-child(4){animation-delay:15s}
@keyframes studioScreenshotFade{0%,20%{opacity:1}25%,100%{opacity:0}}
.coming-soon-card{max-width:820px;padding:34px;margin-top:18px}
.coming-soon-card h2{margin:10px 0 10px;font-size:42px;letter-spacing:-1.4px}
.coming-soon-card p{font-size:17px;line-height:1.7;color:#715861;margin:0;max-width:760px}


/* Glow Assistant chatbox */
.glow-assistant{position:fixed;right:24px;bottom:24px;z-index:9999;display:none;font-family:inherit}
.glow-assistant.is-visible{display:block}
.glow-assistant-launcher{position:relative;border:0;background:transparent;padding:0;cursor:pointer;display:flex;align-items:flex-end;gap:10px;filter:drop-shadow(0 18px 34px rgba(111,63,73,.20));animation:glowMascotteFloat 2.8s ease-in-out infinite}
.glow-assistant-launcher img{width:98px;height:98px;object-fit:contain;border-radius:26px;background:#fff;box-shadow:0 16px 40px rgba(111,63,73,.16)}
.glow-assistant-bubble{position:absolute;right:82px;bottom:54px;min-width:210px;background:#fff;color:#6f3f49;border:1px solid #f0c9d1;border-radius:22px 22px 4px 22px;padding:12px 15px;font-size:14px;font-weight:900;box-shadow:0 18px 44px rgba(111,63,73,.13);white-space:nowrap}
.glow-chatbox{position:absolute;right:0;bottom:112px;width:min(360px,calc(100vw - 32px));max-height:min(620px,calc(100vh - 150px));background:rgba(255,255,255,.98);border:1px solid #f0c9d1;border-radius:28px;box-shadow:0 30px 90px rgba(111,63,73,.20);overflow:hidden;display:none}
.glow-chatbox.is-open{display:block;animation:glowChatIn .22s ease both}
.glow-chatbox-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:linear-gradient(135deg,#fff3f6,#fff);border-bottom:1px solid #f4d6dc;color:#4a2530}
.glow-chatbox-head strong{display:block;font-size:16px;line-height:1.1}.glow-chatbox-head span{display:block;font-size:12px;color:#a77480;font-weight:800;margin-top:3px}.glow-chatbox-head button{width:32px;height:32px;border-radius:50%;border:1px solid #edc8d0;background:#fff;color:#6f3f49;font-size:22px;line-height:1;cursor:pointer}
.glow-chat-video{display:block;width:100%;height:168px;object-fit:cover;background:#fff5f7;border-bottom:1px solid #f4d6dc}
.glow-chat-messages{padding:16px;display:grid;gap:12px;max-height:330px;overflow:auto}
.glow-msg{max-width:92%;padding:12px 14px;border-radius:18px;font-size:14px;line-height:1.45;color:#5e4650}.glow-msg.bot{background:#fff2f5;border:1px solid #f0c9d1;border-bottom-left-radius:6px}.glow-msg.user{justify-self:end;background:#6f3f49;color:#fff;border-bottom-right-radius:6px}.glow-options{display:flex;flex-wrap:wrap;gap:8px}.glow-options button,.glow-chat-cta{border:1px solid #d89ca4;background:#fff;color:#6f3f49;border-radius:999px;padding:10px 12px;font-weight:900;cursor:pointer;font-size:13px}.glow-options button:hover,.glow-chat-cta:hover{background:#fff0f3;transform:translateY(-1px)}.glow-chat-cta{display:inline-flex;text-decoration:none;align-items:center;justify-content:center;background:linear-gradient(135deg,#b76e79,#6f3f49);color:#fff;border:0;margin-top:4px}
@keyframes glowMascotteFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes glowChatIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:720px){.glow-assistant{right:14px;bottom:14px}.glow-assistant-launcher img{width:78px;height:78px}.glow-assistant-bubble{right:64px;bottom:42px;min-width:190px;font-size:13px}.glow-chatbox{bottom:92px;width:calc(100vw - 28px)}.glow-chat-video{height:138px}}


/* Admin Guide Builder */
.admin-guide-layout{display:grid;gap:18px;align-items:start}.admin-guide-layout.single-editor{grid-template-columns:1fr}
.guide-list-card table td{vertical-align:top}
.guide-status{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:.78rem;font-weight:800;background:#f6f1f4;color:#6d5561}
.guide-status.visible{background:#ecfff4;color:#167548}
.guide-status.hidden{background:#fff1f5;color:#a33a5d}
.guide-editor-card{position:relative}
.guide-form{display:grid;gap:12px}
.guide-form textarea,.guide-form input{width:100%}
.guide-visible-check{justify-content:flex-start;margin-top:-2px}
.guide-block-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border-radius:18px;background:#fff7fa;border:1px solid rgba(122,43,79,.12)}
.guide-blocks-editor{display:grid;gap:12px}
.guide-block-editor{border:1px solid rgba(122,43,79,.14);border-radius:20px;background:#fff;padding:12px;box-shadow:0 10px 24px rgba(99,28,61,.06)}
.guide-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.guide-block-head strong{color:#7a2b4f}
.guide-block-actions{display:flex;gap:6px;flex-wrap:wrap}
.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.rich-toolbar button{border:1px solid rgba(122,43,79,.18);background:#fff7fa;border-radius:10px;padding:6px 9px;font-weight:800;color:#7a2b4f;cursor:pointer}
.rich-editor{min-height:120px;border:1px solid rgba(122,43,79,.16);border-radius:16px;padding:12px;background:#fff;outline:none;line-height:1.55}.guide-main-editor{min-height:420px;padding:20px;font-size:1rem}.guide-main-editor.is-drag-over{border-color:#b85c82;background:#fff7fa}.guide-main-editor h1{font-size:2rem;margin:.4em 0}.guide-main-editor h2{font-size:1.55rem;margin:.5em 0}.guide-main-editor h3{font-size:1.25rem;margin:.55em 0}.guide-main-editor ul,.guide-main-editor ol{padding-left:24px}.guide-inline-image{margin:18px 0;padding:12px;border:1px solid rgba(122,43,79,.12);border-radius:18px;background:#fff7fa;text-align:center}.guide-inline-image img{max-width:100%;border-radius:14px;box-shadow:0 12px 28px rgba(122,43,79,.12)}.guide-inline-image figcaption{margin-top:8px;color:#8b6677;font-size:.9rem}.guide-render-content{line-height:1.65}.guide-render-content img{max-width:100%;border-radius:16px;box-shadow:0 14px 32px rgba(122,43,79,.12)}.guide-render-content figure{margin:18px 0;padding:12px;border:1px solid rgba(122,43,79,.1);border-radius:18px;background:#fff7fa;text-align:center}.guide-render-content figcaption{margin-top:8px;color:#8b6677;font-size:.9rem}
.rich-editor:focus{border-color:#b85c82;box-shadow:0 0 0 4px rgba(184,92,130,.12)}
.guide-image-uploader{display:grid;gap:10px}
.guide-image-preview{min-height:150px;border:1px dashed rgba(122,43,79,.25);border-radius:18px;background:#fff7fa;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9f6e83;font-weight:700;text-align:center;padding:10px}
.guide-image-preview img{width:100%;max-height:260px;object-fit:contain;border-radius:14px}
.guide-form-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.guide-studio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:12px}
.guide-card{cursor:pointer;border:1px solid rgba(122,43,79,.12);transition:.18s ease;position:relative;overflow:hidden}
.guide-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(122,43,79,.12)}
.guide-card .mini-badge{margin-bottom:8px}
.guide-detail{margin-top:18px}
.guide-detail-card{display:grid;gap:16px}
.guide-render-block{border-radius:18px;background:#fff7fa;padding:14px;border:1px solid rgba(122,43,79,.09)}
.guide-render-block.text{background:#fff}
.guide-render-block.note{background:#fff3d9;border-color:rgba(180,124,29,.22)}
.guide-render-block.image{text-align:center;background:#fff}
.guide-render-block.image img{max-width:100%;border-radius:18px;box-shadow:0 16px 36px rgba(122,43,79,.12)}
.guide-render-block.steps ol{margin:8px 0 0 22px;line-height:1.7}
.empty-guide-state{padding:24px;border:1px dashed rgba(122,43,79,.2);border-radius:22px;background:#fff7fa;color:#7a6070}
@media(max-width:980px){.admin-guide-layout{grid-template-columns:1fr}.guide-editor-card{position:static}.guide-main-editor{min-height:340px}}
@media(max-width:640px){.guide-form-actions{justify-content:stretch}.guide-form-actions .btn{width:100%}.guide-block-head{align-items:flex-start;flex-direction:column}.guide-block-actions{width:100%}.admin-guide-layout{gap:12px}.guide-main-editor{min-height:280px;padding:14px}.guide-main-toolbar button{font-size:.82rem}}
