:root{--accent:#db2777;--accent-soft:#fce7f3}
.side{background:#1f1020}
.brand-logo{font-size:19px}
/* settimana */
.week{display:grid;grid-template-columns:52px repeat(5,minmax(0,1fr));position:relative;border-top:1px solid var(--line)}
.w-hours{position:relative}
.w-hours div{height:30px;font-size:11px;color:var(--ink-3);text-align:right;padding-right:8px;transform:translateY(-7px)}
.w-col{border-left:1px solid var(--line);position:relative;min-width:0}
.w-head{height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
.w-head small{font-size:11px;color:var(--ink-3);text-transform:uppercase;font-weight:600}
.w-head b{font-size:17px}
.w-col.today .w-head b{background:var(--accent);color:#fff;border-radius:20px;padding:0 9px}
.w-slots{position:relative}
.slot{height:30px;border-bottom:1px dashed #eef0f4;cursor:pointer}
.slot:nth-child(2n){border-bottom:1px solid #e9ebf0}
.slot:hover{background:var(--accent-soft)}
.slot.over{background:#fbcfe8}
.slot.lunch{background:repeating-linear-gradient(45deg,#fafafa,#fafafa 6px,#f1f2f5 6px,#f1f2f5 12px);cursor:default}
.w-hours .hours-head{height:48px;border-bottom:1px solid var(--line);transform:none}
.bk{position:absolute;left:3px;right:3px;border-radius:7px;padding:4px 7px;font-size:11.5px;line-height:1.3;overflow:hidden;cursor:grab;border-left:3px solid;box-shadow:0 1px 2px rgba(0,0,0,.06);z-index:1}
.bk:hover{filter:brightness(.97);z-index:3}
.bk b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.bk .tag{position:absolute;right:3px;top:3px;width:14px;height:14px;font-size:9px;line-height:14px;text-align:center;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.bk.dragging{opacity:.4}
.st0{background:#fce7f3;border-color:#db2777;color:#831843}
.st1{background:#dbeafe;border-color:#2563eb;color:#1e3a8a}
.st2{background:#dcfce7;border-color:#16a34a;color:#14532d}
.now-line{position:absolute;left:0;right:0;height:2px;background:#ef4444;z-index:4;pointer-events:none}
.now-line::before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#ef4444}
.day-tabs{display:none}
.chip .sw{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px}
@media (max-width:760px){
  .week{grid-template-columns:44px minmax(0,1fr)}
  .w-col.hide-m{display:none}
  .w-head{display:none}
  .day-tabs{display:flex;gap:6px;padding:10px 12px;overflow-x:auto;border-top:1px solid var(--line)}
  .day-tabs button{flex:1;min-width:52px;border:1px solid var(--line-2);background:#fff;border-radius:10px;padding:6px 4px;cursor:pointer;display:flex;flex-direction:column;align-items:center;font-size:11px;color:var(--ink-3);font-weight:600}
  .day-tabs button b{font-size:16px;color:var(--ink)}
  .day-tabs button.on{background:var(--accent);border-color:var(--accent);color:#fff}
  .day-tabs button.on b{color:#fff}
  .hint{display:none}
}
/* telefono */
.book-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);gap:40px;align-items:start}
.phone{width:360px;height:720px;border-radius:44px;background:#111;padding:12px;box-shadow:var(--shadow-lg);position:relative}
.phone-notch{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:120px;height:26px;background:#111;border-radius:0 0 16px 16px;z-index:3}
.phone-screen{width:100%;height:100%;border-radius:34px;overflow:hidden;background:#fff8f5;display:flex;flex-direction:column;position:relative}
.book-side{padding-top:20px;max-width:520px}
.book-side h2{font-size:24px;margin:10px 0 12px}
.book-side p{color:var(--ink-2);font-size:15px}
.checks{list-style:none;padding:0;margin:16px 0;display:flex;flex-direction:column;gap:9px;font-size:14.5px}
.checks li{padding-left:28px;position:relative}
.checks li::before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:800;font-size:12px}
@media (max-width:900px){
  .book-wrap{grid-template-columns:1fr;gap:20px}
  .phone{margin:0 auto;width:100%;max-width:360px}
  .book-side{padding-top:0}
}
@media (max-width:420px){.phone{height:680px;border-radius:36px;padding:8px}.phone-screen{border-radius:30px}}
.ba-top{padding:40px 20px 16px;background:linear-gradient(160deg,#9d174d,#db2777);color:#fff}
.ba-top h3{font-family:'Playfair Display',serif;font-size:24px}
.ba-top p{margin:2px 0 0;font-size:12.5px;opacity:.85}
.ba-steps{display:flex;gap:4px;margin-top:12px}
.ba-steps i{flex:1;height:4px;border-radius:4px;background:rgba(255,255,255,.3)}
.ba-steps i.on{background:#fff}
.ba-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.ba-body h4{font-size:15px;margin-bottom:2px}
.opt{display:flex;align-items:center;gap:12px;border:1.5px solid #f1dfe6;background:#fff;border-radius:14px;padding:12px;cursor:pointer;text-align:left;width:100%}
.opt:hover{border-color:var(--accent)}
.opt.on{border-color:var(--accent);background:var(--accent-soft)}
.opt .em{font-size:22px;width:40px;height:40px;border-radius:12px;background:#fdf2f8;display:grid;place-items:center;flex:none}
.opt .t{flex:1;min-width:0}.opt .t b{display:block;font-size:14px}.opt .t small{color:var(--ink-3)}
.opt .p{font-weight:700}
.days{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}
.days button{flex:none;width:54px;border:1.5px solid #f1dfe6;background:#fff;border-radius:12px;padding:6px 0;cursor:pointer;display:flex;flex-direction:column;align-items:center;font-size:11px;color:var(--ink-3)}
.days button b{font-size:17px;color:var(--ink)}
.days button.on{background:var(--accent);border-color:var(--accent);color:#fff}.days button.on b{color:#fff}
.days button:disabled{opacity:.4;cursor:not-allowed}
.times{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.times button{border:1.5px solid #f1dfe6;background:#fff;border-radius:10px;padding:8px 0;font-weight:600;cursor:pointer;font-size:13px}
.times button.on{background:var(--accent);border-color:var(--accent);color:#fff}
.ba-foot{padding:12px 16px 20px;border-top:1px solid #f1dfe6;background:#fff;display:flex;gap:8px}
.ba-foot .btn{flex:1;padding:12px;border-radius:12px}
.ba-ok{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:10px}
.ba-ok .big{width:72px;height:72px;border-radius:50%;background:#dcfce7;color:#16a34a;display:grid;place-items:center;font-size:36px}
.sum{background:#fff;border:1px solid #f1dfe6;border-radius:14px;padding:12px 14px;text-align:left;width:100%;font-size:13.5px;display:flex;flex-direction:column;gap:4px}
/* promemoria */
.rule{display:flex;gap:12px;align-items:flex-start;padding:4px 0}
.rule .t{flex:1}.rule .t b{display:block}.rule .t small{color:var(--ink-3)}
.switch{position:relative;width:42px;height:24px;flex:none}
.switch input{opacity:0;width:0;height:0}
.switch span{position:absolute;inset:0;background:#d5d9e3;border-radius:20px;cursor:pointer;transition:.2s}
.switch span::before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.switch input:checked+span{background:var(--accent)}
.switch input:checked+span::before{transform:translateX(18px)}
.switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.wa-mini{background:#efeae2;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}
.wa-mini .b{background:#fff;border-radius:0 10px 10px 10px;padding:9px 11px;max-width:92%;font-size:13.5px;white-space:pre-wrap;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.wa-mini .b small{display:block;text-align:right;font-size:10.5px;color:#889}
.wa-mini .qr{display:flex;gap:6px;max-width:92%}
.wa-mini .qr span{flex:1;background:#fff;border-radius:10px;padding:8px;text-align:center;color:#0a7cff;font-weight:600;font-size:13px;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.wa-mini .from{font-size:11.5px;color:#667;font-weight:600}
