@font-face{font-family:Inter;src:url("/fonts/InterVariable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none;color:#1d1d1f;background:#f5f5f7;font-size:16px;--brand:#0071e3;--line:#e2e6ef;--muted:#596273;--ink:#1d1d1f;--ink-secondary:#596273;--type-page:1.875rem;--type-section:1.375rem;--type-client:1.25rem;--type-line:1rem;--type-body:1rem;--type-label:.875rem;--type-meta:.875rem;--type-badge:.75rem;--type-total:1.25rem}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid #d2d2d7;background:#fff;border-radius:12px;padding:8px 14px;font-weight:600;color:#1d1d1f}button:hover{background:#f5f5f7;color:#1d1d1f}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}button.primary:hover{background:#0077ed;border-color:#0077ed;color:#fff}button.is-danger{background:#fff;color:#d70015;border-color:#f3c1c6}button.is-danger:hover{background:#fff5f6;color:#d70015;border-color:#e7a8af}button.text-link{border:0;background:none;padding:0;min-height:0;border-radius:0;font-weight:600;color:var(--brand)}button.text-link:hover{background:none;text-decoration:underline;color:var(--brand)}a{color:var(--brand)}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;color:#1d1d1f}input[type=checkbox],input[type=radio]{width:20px;height:20px;padding:0;accent-color:var(--brand);flex:none}input[type=color]{height:44px;padding:4px}textarea{min-height:100px;resize:vertical}label{display:grid;gap:7px;font-size:.875rem;font-weight:600}label.check{display:flex;align-items:center;gap:10px;padding:8px 0}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:16px 18px 12px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;max-height:100dvh;overflow:hidden}.sidebar .nav{overflow:visible}.brand{font-size:2.5rem;font-weight:650;letter-spacing:-3px;text-decoration:none;color:#1d1d1f;line-height:1}.brand b{color:var(--brand)}.brand-small{font-size:.75rem;text-transform:uppercase;letter-spacing:3px;color:var(--muted);margin:6px 0 10px 4px}.nav{display:grid;gap:2px}.nav button{border:0;background:transparent;text-align:left;padding:8px 12px;font-size:.9375rem;font-weight:500;line-height:1.25}.nav button.active{background:#e8f2fb;color:var(--brand);font-weight:650}.nav .nav-icon{display:inline-grid;place-items:center;width:28px;font-size:1.125rem;flex:none}.nav .nav-label{display:inline;width:auto;white-space:nowrap}.nav-caption{text-transform:uppercase;font-size:.75rem;letter-spacing:1.5px;color:#7a879c;margin:10px 12px 2px}.sidebar-foot{margin-top:auto;flex-shrink:0;padding-top:10px;font-size:.875rem;color:var(--muted)}.account-chip{display:flex;align-items:center;gap:10px;min-width:0}.account-avatar{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#e4e4e7;color:#3f3f46;font-size:12px;font-weight:700;flex:none}.account-chip>span:last-child{min-width:0}.account-chip strong,.account-chip span span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chip strong{color:#1d1d1f;font-size:.8125rem;font-weight:650}.account-chip span span{color:var(--muted);font-size:.6875rem;font-weight:500}.sidebar-foot button{margin-top:8px;width:100%;padding:8px 12px}.sidebar .company-switcher{margin:0 0 8px}.sidebar .company-switcher select{padding:6px 7px}.sidebar .platform-link{margin:0 0 10px}.content{padding:34px 40px;max-width:1640px;width:100%;margin:0 auto;align-self:start}.topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:32px}.eyebrow{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:1.6px;margin-bottom:8px}h1{font-size:2rem;letter-spacing:-1px;margin:0}h2{font-size:1.125rem;letter-spacing:-.3px;margin:0 0 18px}h3{font-size:1rem;margin:0 0 8px}p{line-height:1.6}.muted{color:var(--muted);font-size:.875rem;line-height:1.6}.toolbar,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar{margin:22px 0}.toolbar input,.toolbar select{width:auto}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;margin-bottom:26px}.report-staff-title{margin:28px 0 8px;font-size:1.15rem}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.metric .number{display:block;font-size:1.875rem;font-weight:650;margin:12px 0 2px;letter-spacing:-1px}.metric .label{font-size:.875rem;color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.agenda{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.person-head{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:16px}.avatar{display:grid;place-items:center;background:#e8f2fb;color:var(--brand);width:42px;height:42px;border-radius:50%;font-size:.875rem;font-weight:650;flex-shrink:0}.appointment{background:#f5f7fd;border-left:3px solid var(--brand);padding:16px;border-radius:5px;margin:12px 0}.appointment.cancelled{opacity:.55}.appointment time{font-size:.875rem;font-weight:650}.appointment h3{margin-top:12px}.visit-seq{margin:8px 0 0;font-size:.8125rem;line-height:1.45;color:var(--muted)}.visit-seq-label{display:block;font-weight:650;color:#0071e3;margin-bottom:2px}.visit-seq b{color:#1d1d1f}.appointment select{font-size:.875rem;padding:7px;margin-top:12px}.badge{background:#e8f2fb;border-radius:5px;padding:4px 8px;color:#0071e3;font-size:.75rem;display:inline-block}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:.875rem;line-height:1.7}.empty-mark{font-size:2rem;color:#a9b9d8;display:block;margin-bottom:12px}.table-wrap{overflow:auto}.panel.table-wrap{padding:0}.panel.table-wrap .empty{padding:48px 24px}table{border-collapse:collapse;width:100%;font-size:.875rem}th{text-align:left;color:var(--muted);font-weight:500;padding:13px 20px;background:#f7f9fc}td{padding:17px 20px;border-bottom:1px solid var(--line)}td button{font-size:.875rem;padding:7px 10px}.panel.table-wrap tr:last-child td{border-bottom:0}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}.tabs{display:flex;flex-direction:column;gap:5px}.tabs button{text-align:left;border:0;background:transparent;font-size:.875rem;font-weight:500}.tabs button.active{background:white;box-shadow:0 1px 5px #1626470c;color:var(--brand)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.span2{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.note{background:#edf3ff;padding:14px 16px;border-radius:8px;color:#415776;font-size:.875rem;line-height:1.6;margin:0 0 22px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-art{background:#132947;color:white;display:flex;flex-direction:column;justify-content:space-between;padding:64px}.login-art .brand{color:white}.login-art h1{font-size:3.6rem;line-height:1.1;max-width:500px;font-weight:500;letter-spacing:-2px}.login-art p{color:#b4c6e0;max-width:390px}.login-form{display:grid;place-items:center;padding:35px}.login-form form{width:100%;max-width:370px;display:grid;gap:22px}.login-form h1{margin-bottom:5px}.login-form .primary{padding:14px}.public{max-width:920px;margin:auto;padding:40px 24px}.public header{display:flex;align-items:center;justify-content:space-between;margin-bottom:45px}.public h1{margin-bottom:12px}.booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;max-height:310px;overflow:auto;margin-top:16px}.slot{font-size:.875rem;text-align:left;border-radius:12px;padding:12px 14px;line-height:1.35;white-space:normal}.slot.selected{border-color:var(--brand);background:#e8f2fb}.slot small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.summary{background:#142b49;color:white;padding:20px;border-radius:10px;line-height:1.7;margin-top:20px}.summary .muted{color:#c0d0e6}.error{color:#b5243c;font-size:.875rem;line-height:1.5}dialog{border:1px solid var(--line);border-radius:16px;max-width:760px;width:calc(100% - 32px);padding:28px;box-shadow:0 25px 90px #15223933;color:inherit}dialog.renewal-dialog{max-width:440px}dialog.renewal-dialog p{margin:0;color:#415776;font-size:.875rem;line-height:1.6}dialog.renewal-dialog .actions{margin-top:22px}dialog::backdrop{background:#14223965}dialog header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}dialog h2{margin:0}#toast{position:fixed;bottom:25px;right:25px;background:#152b49;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 8px 35px #14223933;display:none;z-index:10;max-width:420px;font-size:.875rem}.loading{padding:80px;text-align:center}.schedule-row{display:grid;grid-template-columns:120px 1fr 1fr 42px;gap:10px;margin:10px 0;align-items:center}.settings-row{display:grid;grid-template-columns:1fr 1fr 100px 42px;gap:10px;align-items:center;margin:10px 0}.success{font-size:1.5rem;margin:15px 0;color:#167756}.link-button{border:0;background:transparent;padding:0;color:var(--brand);font-weight:500}.seg{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}.seg button{border:0;border-radius:0;background:transparent;padding:8px 14px;box-shadow:none}.seg button.active{background:var(--brand);color:#fff}.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.week-day{min-height:320px;margin-bottom:0;padding:16px}.week-day header{cursor:pointer;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.week-day header:hover strong{color:var(--brand)}.week-day.today header strong{color:var(--brand)}.week-day .appointment{padding:12px;margin:8px 0}.week-day .empty{padding:18px 8px;font-size:.8125rem}@media(max-width:1100px){.content{padding:28px 22px}.agenda{grid-template-columns:1fr}.agenda-week{grid-template-columns:repeat(7,minmax(160px,1fr))}.shell{grid-template-columns:200px minmax(0,1fr)}.settings-layout{grid-template-columns:160px minmax(0,1fr)}}@media(max-width:720px){.shell{display:block}.sidebar{position:static;height:auto;padding:20px}.brand-small,.sidebar-foot,.nav-caption{display:none}.sidebar .brand{font-size:2rem;margin-bottom:20px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap;padding:10px}.nav span{display:none}.content{padding:24px 16px}.topline{align-items:flex-start;flex-wrap:wrap}h1{font-size:1.75rem}.metrics{gap:8px}.metric{padding:14px 10px}.metric .number{font-size:1.375rem}.metric .label{font-size:.75rem}.settings-layout{display:block}.tabs{flex-direction:row;overflow:auto;margin-bottom:20px}.tabs button{white-space:nowrap}.form-grid,.booking-grid{grid-template-columns:1fr}.span2{grid-column:auto}.login{display:block}.login-art{padding:30px}.login-art h1{font-size:2rem;margin-top:35px}.login-art p{display:none}.login-form{padding:35px 25px}.panel{padding:18px}.schedule-row{grid-template-columns:85px 1fr 1fr 35px;gap:5px}.schedule-row input,.schedule-row select{padding:8px 4px}.settings-row{grid-template-columns:1fr 1fr; padding-bottom:15px;border-bottom:1px solid var(--line)}.public header{gap:15px}.public header a{font-size:.875rem}.actions{flex-wrap:wrap}}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.seg button{border:0;border-radius:0;background:transparent;padding:8px 14px;box-shadow:none;color:inherit}
.seg button:hover{background:transparent;color:inherit}
.seg button.active{background:var(--brand);color:#fff}
.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:12px;overflow:auto;padding-bottom:8px}
.agenda-week .week-day{min-height:260px;margin-bottom:0;padding:16px}
.agenda-week .week-day header{cursor:pointer;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.agenda-week .week-day header:hover strong{color:var(--brand)}
.agenda-week .week-day.today{border-color:#b8c8f0;box-shadow:inset 0 0 0 1px #d7e1f8}
.agenda-week .week-day.today header strong{color:var(--brand)}
.agenda-week .appointment{padding:12px;margin:8px 0}
.agenda-week .empty{padding:18px 8px}
@media(max-width:720px){.seg{width:100%}.seg button{flex:1}}
.badge-reliable{background:#e5f6ef;color:#0f6b45}
.badge-ok{background:#eef2f8;color:#3a4a63}
.badge-caution{background:#fff4e5;color:#8a5a00}
.badge-alert{background:#fde8ec;color:#8a1f32}
.badge-unknown{background:#f0f2f6;color:#3e4c63}
.agenda-date{display:contents}
.mobile-only{display:none}
.topline .company-switcher{display:none}
@media(max-height:760px) and (min-width:721px){
  .sidebar{padding:10px 16px 8px}
  .brand{font-size:2.1rem}
  .brand-small{margin:4px 0 6px 4px}
  .nav button{padding:5px 12px}
  .nav-caption{margin:6px 12px 0}
  .sidebar-foot{padding-top:6px}
  .sidebar-foot button{margin-top:6px;padding:6px 10px}
  .sidebar .company-switcher{margin:0 0 4px}
  .sidebar .platform-link{margin:0 0 6px}
}
.studio-logo-preview{width:120px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:16px;background:repeating-conic-gradient(#f0f0f2 0% 25%,#fff 0% 50%) 50%/12px 12px}
.studio-cover-preview{width:min(240px,100%);height:120px;object-fit:cover}
.studio-service-preview{width:64px;height:64px;object-fit:cover;border-radius:14px}
.logo-field{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.service-photo-bar{align-items:center}
.service-photo-actions{display:flex;flex-wrap:wrap;gap:8px}
.service-photo-sheet{width:min(560px,100%);max-height:min(82vh,720px);display:flex;flex-direction:column}
.service-photo-sheet .service-photo-gallery{flex:1;min-height:0;overflow:auto;display:grid;gap:14px;margin:10px 0 0;padding:2px 2px 8px}
.service-photo-group>p{margin:0 0 8px;font-size:.86rem}
.service-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}
.service-photo-pick{display:block;padding:0;border:2px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;cursor:pointer;aspect-ratio:1;line-height:0}
.service-photo-pick img{width:100%;height:100%;object-fit:cover;display:block}
.service-photo-pick.is-selected{border-color:var(--accent,#2563eb);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#2563eb) 28%,transparent)}
.service-photo-upload{margin-top:8px}
.page-preview-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff}
.page-preview-bar p{margin:4px 0 0;overflow-wrap:anywhere}
.page-preview-bar a,.page-preview-bar a:hover{color:var(--brand);font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.page-preview-bar .actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
#copy-booking-link,#copy-booking-link:hover{border-radius:12px;border:1px solid #b7d4f5;color:var(--brand);background:#fff;min-height:44px}
.theme-presets{display:flex;flex-wrap:wrap;gap:8px}
.theme-preset{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#1d1d1f}
.theme-preset span{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.08)}
.theme-preset em{font-style:normal;font-size:13px;font-weight:600}
.services-sheet{background:#fff;border:1px solid #e6e6e8;border-radius:16px;overflow:auto;padding:0}
.services-table{width:100%;border-collapse:collapse;table-layout:fixed}
.services-table col.service-name{width:28%}
.services-table col.service-duration{width:27%}
.services-table col.service-price{width:14%}
.services-table col.service-commission{width:12%}
.services-table col.service-online{width:10%}
.services-table col.service-edit{width:9%}
.services-table th,.services-table td{padding:14px 16px;text-align:left;vertical-align:middle}
.services-table thead th{color:#6e6e73;font-size:13px;font-weight:500;border-bottom:1px solid #ececee}
.services-table tbody td{border-bottom:1px solid #f0f0f2}
.services-table tr.service-band th{padding:22px 16px 8px;background:#f5f5f7;color:#1d1d1f;font-size:20px;font-weight:650;letter-spacing:-.02em;text-align:left;border-bottom:0}
.services-table .service-quiet{color:#6e6e73;font-size:14px}
.services-table td.service-price{font-size:16px;font-weight:700;color:#1d1d1f}
.services-table .service-duration-main,.services-table .service-duration-note{display:block}
.services-table .service-duration-note{margin-top:2px;color:#6e6e73;font-size:13px;line-height:1.35}
.services-table td:last-child,.services-table th:last-child{text-align:right}
.service-name-cell{display:flex;align-items:center;gap:10px}
.service-thumb{width:40px;height:40px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#fff;flex:0 0 40px}
@media(max-width:720px){
  .mobile-only{display:inline-flex}
  .shell{min-height:100dvh}
  .sidebar{
    position:fixed;top:auto;right:0;bottom:0;left:0;z-index:30;height:auto;max-height:none;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));
    border-right:0;border-top:1px solid var(--line);background:#fff;
    display:flex;flex-direction:column;gap:0
  }
  .sidebar .brand,.sidebar .brand-small,.sidebar .nav-caption,.sidebar .company-switcher,.sidebar .platform-link{display:none}
  .topline{padding-right:52px}
  .sidebar-foot{display:block;position:fixed;top:10px;right:12px;z-index:32;margin:0;padding:0;width:auto}
  .sidebar-foot .rail-account-btn{width:40px;height:40px;background:#fff;border:1px solid var(--line);border-radius:12px}
  .sidebar .nav{display:flex;width:100%;overflow:visible;gap:0;min-height:0}
  .nav button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;white-space:normal;padding:6px 1px;font-size:10px;line-height:1.15;text-align:center}
  .nav span{display:block;width:auto;font-size:1.15rem}
  .content{padding:16px 14px calc(92px + env(safe-area-inset-bottom))}
  .topline .company-switcher{display:block;margin:0;max-width:100%}
  #page-action-btn{padding:8px 12px;font-size:14px}
  #toast{bottom:calc(88px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:none}
}
.field-head{display:inline-flex;align-items:center;gap:8px}
.check-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.field-info{position:relative;display:inline-flex;flex-shrink:0}
.field-info>summary{list-style:none;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--brand);font-weight:700;font-size:12px;line-height:20px;text-align:center;cursor:pointer;padding:0}
.field-info>summary::-webkit-details-marker,.field-info>summary::marker{display:none;content:''}
.field-info>summary:hover,.field-info[open]>summary{background:#f5f5f7;border-color:var(--brand)}
.field-info-pop{position:fixed;inset:auto;z-index:80;margin:0;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 24px);height:auto;overflow:auto;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(25,36,60,.14);font-weight:400;color:#1d1d1f;overflow-wrap:anywhere}
.field-info-pop p{margin:0 0 8px;font-size:13px;line-height:1.5}
.field-info-pop p:last-child{margin-bottom:0}
.slot.is-taken{background:#f5f5f7;border-style:dashed;color:#3e4c63}
.slot.is-taken.selected{border-color:#3e4c63;background:#edf1f6}
.service-menu{display:grid;gap:12px}
.service-menu [hidden],dialog [hidden]{display:none !important}
.service-picked{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.service-picked-chip{display:inline-flex;align-items:center;gap:2px;border-radius:12px;padding:2px 4px 2px 12px;background:#f5f5f7;font-size:13px}
.service-picked-chip button{border:0;background:transparent;padding:4px 6px;border-radius:12px;font-weight:600}
.service-picked-chip button[data-unpick]{width:22px;height:22px;padding:0;border-radius:50%;color:#3e4c63}
.call-desk{display:flex;flex-direction:column;align-items:stretch;align-self:start;flex:0 0 auto;height:auto;min-height:0}
.call-desk .form-grid{align-items:start;align-content:start;height:auto}
.consent-ask{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:14px 0 0;padding:0;height:auto;flex:0 0 auto}
.consent-ask>p{margin:0 0 2px;font-size:.875rem;font-weight:650;line-height:1.3}
.consent-option{display:flex;align-items:flex-start;gap:10px;flex:0 0 auto;height:auto;min-height:0;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe;font-weight:500;line-height:1.45}
.consent-option:has(input:checked){border-color:var(--brand);background:#f3f8fd}
.consent-option input{margin-top:2px}
.consent-option span{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:0;font-weight:500}
.consent-option strong{font-weight:650;line-height:1.2}
.consent-option small{color:#3e4c63;font-size:.8125rem;font-weight:500;line-height:1.45}
#ficha-hint:empty{display:none}
.service-area-nav{display:flex;flex-wrap:wrap;gap:8px}
.service-area-tab.is-on{background:var(--brand);color:white;border-color:var(--brand)}
.service-area-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:white;color:var(--brand);font-size:11px}
.service-area-tab:not(.is-on) .service-area-count{background:var(--brand);color:white}
.service-search{display:grid;gap:6px;font-size:14px;font-weight:600}
.service-staff{display:grid;gap:10px}
.service-picks{display:grid;gap:8px;margin-top:8px}
.service-picks .check{display:flex;align-items:center;gap:8px;font-weight:500}
.service-area{display:grid;gap:8px}
.staff-area{display:grid;gap:6px;max-width:280px;margin-top:4px}
.service-area select{max-width:280px}
.repeat-fold{margin-top:22px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.repeat-fold.is-on{border-color:#b7d4f5}
.repeat-card{display:flex;align-items:center;gap:12px;padding:12px 14px}
.repeat-mark{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#f5f5f7;color:#596273}
.repeat-mark svg{display:block}
.repeat-fold.is-on .repeat-mark{background:#f3f8fd;color:var(--brand)}
.repeat-copy{display:grid;gap:2px;min-width:0;flex:1}
.repeat-heading{display:flex;align-items:center;gap:6px;min-width:0}
.repeat-copy strong{font-size:.9375rem;font-weight:650;letter-spacing:-.01em}
.repeat-copy .muted{font-size:.8125rem;line-height:1.35}
.repeat-status{flex:none;width:8px;height:8px;border-radius:50%;background:var(--brand)}
.repeat-action{flex:none;border:1px solid #b7d4f5;border-radius:12px;background:#fff;color:var(--brand);padding:6px 12px;min-height:36px;font-size:.8125rem;font-weight:650;white-space:nowrap}
.repeat-action:hover{background:#f3f8fd;color:var(--brand)}
.repeat-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:4px 16px 16px;border-top:1px solid var(--line);background:#fbfcfe}
.repeat-stop-row{grid-column:1/-1;margin-top:2px;padding-top:14px;border-top:1px solid var(--line)}
.repeat-stop{border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#3e4c63;padding:8px 14px;min-height:40px;font-size:.875rem;font-weight:600}
.repeat-stop:hover{background:#f5f5f7;border-color:#c7c7cc;color:#1d1d1f}
.repeat-panel[hidden]{display:none}
.repeat-panel .repeat-end-count{grid-column:1}
.repeat-panel .repeat-end-until{grid-column:2}
.repeat-panel .repeat-end[hidden]{display:none !important}
.repeat-panel .monthly-override-ask{grid-column:1/-1;margin:0}
.repeat-panel .monthly-override{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.repeat-panel .monthly-override[hidden]{display:none}
.repeat-panel .monthly-override .override-starts{grid-column:1/-1}
.repeat-panel .monthly-override .override-starts[hidden]{display:none !important}
.repeat-panel .monthly-override .override-help{grid-column:1/-1;margin:0}
.repeat-unit{position:relative;display:flex;width:fit-content;max-width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.repeat-unit label{display:flex;align-items:center;justify-content:center;min-width:108px;min-height:40px;margin:0;padding:0 16px;font-weight:600;cursor:pointer}
.repeat-unit input{position:absolute;width:1px;height:1px;opacity:0}
.repeat-unit label:has(input:checked){background:var(--brand);color:#fff}
.repeat-unit label:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:-2px}
.repeat-every-field{position:relative}
.repeat-every-pop{display:grid;gap:12px;max-width:320px;margin-top:8px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(25,36,60,.12)}
.repeat-every-pop[hidden]{display:none !important}
.repeat-every-pop strong{font-size:1rem}
.repeat-every-line{display:flex;align-items:center;gap:8px}
.repeat-every-line input{width:88px;text-align:center}
.repeat-every-actions{display:flex;justify-content:flex-end;gap:8px}
.repeat-every-actions button{min-height:40px}
@media(max-width:720px){.repeat-every-pop{max-width:none}}
@media(max-width:720px){.repeat-card{align-items:flex-start}.repeat-stop{min-height:44px}.repeat-panel{grid-template-columns:1fr}.repeat-panel .monthly-override{grid-template-columns:1fr}.repeat-panel .repeat-end-count,.repeat-panel .repeat-end-until{grid-column:auto}}
.call-desk{margin:0 0 22px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.ficha-lookup{position:relative}
.ficha-matches{position:absolute;z-index:6;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(25,36,60,.12);overflow:hidden}
.ficha-matches[hidden]{display:none}
.ficha-matches button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;padding:8px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;color:inherit}
.ficha-matches button:last-child{border-bottom:0}
.ficha-matches span{color:var(--muted);font-size:.85rem}
.next-up{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;margin:0 0 12px;padding:8px 16px;border-radius:12px;background:#142b49;color:#fff}
.next-up .muted{color:#c0d0e6}
.next-up strong{display:inline;margin:0;font-size:1rem;font-weight:700;letter-spacing:-.2px}
.next-up .next-part{flex:none;white-space:nowrap}
.next-up .next-part + .next-part,.next-up .next-part + .next-seq{padding-left:12px;border-left:1px solid rgba(192,208,230,.4)}
.next-up time{margin-left:auto;flex:none;padding-left:14px;border-left:1px solid rgba(192,208,230,.4);font-size:1.15rem;font-weight:650;letter-spacing:-.4px;white-space:nowrap}
.next-up>div{min-width:0}
.next-seq{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c0d0e6;font-size:.9rem;line-height:1.2}
.next-seq b{color:#fff}
.next-up.is-done{background:#f5f5f7;color:#1d1d1f}
.next-up.is-done .muted{color:var(--muted)}
.next-up.is-done .next-part + .next-part,.next-up.is-done .next-part + .next-seq,.next-up.is-done time{border-left-color:var(--line)}
.next-up.is-done .next-seq,.next-up.is-done .next-seq b{color:#1d1d1f}
.readonly-note{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#fff4f4;border:1px solid #f0c2c8;color:#8d2433}
.billing > .note{margin-bottom:22px}
.billing-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0 0 22px;align-items:start}
.billing-offer{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.billing-offer.is-on{background:#f4f9ff;color:#1d1d1f;border-color:#0071e3;box-shadow:0 0 0 1px #0071e3}
.billing-offer.is-on span,.billing-offer.is-on small{color:#6e6e73}
.billing-offer.is-on strong{color:#1d1d1f}
.billing-offer.is-on button,.billing-offer.is-on button:hover{background:#e8f2ff;color:var(--brand);border-color:#c5ddf7}
.billing-offer span{color:#6e6e73;font-size:14px}
.billing-offer strong{font-size:1.6rem;letter-spacing:-.04em;line-height:1}
.billing-offer small{color:#6e6e73}
.billing-offer button{margin-top:8px;border-radius:12px;min-height:44px;color:var(--brand);border-color:#b7d4f5;background:#fff}
.billing-offer button:hover{background:#f5f9fd;color:var(--brand)}
.billing-section-title{margin:4px 0 12px;font-size:18px;letter-spacing:-.02em}
.billing>.billing-proof{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:18px 20px}
.billing>.billing-proof h2{margin:0 0 12px;font-size:18px;letter-spacing:-.02em}
.billing-pay{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.billing-pay p{margin:14px 0 4px;color:#6e6e73}
.billing-pay p:first-child{margin-top:0}
.billing-pay strong{font-size:1.8rem;letter-spacing:-.04em}
.billing-iban{display:block;margin:4px 0 8px;font-size:1.15rem;letter-spacing:.04em}
.billing-methods{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:0 0 22px}
.pay-kicker{margin:0 0 14px;color:#6e6e73;font-size:14px}
.billing-methods .pay-marks{margin:0}
.billing-methods .note,.billing-methods .billing-pay,.billing-methods .billing-proof,.billing-methods .billing-mbway,.billing-methods .primary{margin-top:16px}
.billing-methods .billing-pay{padding:0;border:0;background:transparent}
.billing-methods .billing-proof{margin-top:22px}
.pay-marks{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pay-mark{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:52px;height:44px;padding:6px 8px;border:1px solid var(--line);background:#fff;border-radius:8px;line-height:0}
.pay-mark .pay-icon{height:26px;width:auto;display:block}
.pay-mark .pay-icon.is-tall{height:36px}
.pay-mark.is-on{outline:2px solid var(--brand);outline-offset:3px}
.pay-ref,.billing-mbway{margin:16px 0 0;color:#6e6e73;font-size:14px;line-height:1.5}
.billing-mbway{display:flex;flex-direction:column;gap:6px;font-size:14px}
.billing-mbway input{width:11rem;max-width:100%}
.billing-ref{letter-spacing:.08em;font-size:1.15rem}
.billing-proof{margin-top:0}
.billing-proof .note{margin-top:0}
.billing-proof .muted{margin:0 0 14px}
.billing-proof input[type=file]{width:auto;max-width:100%;padding:8px 12px}
#page-action{display:contents}
#page-action-btn{white-space:nowrap}
.alert-wrap{position:relative;display:flex;align-items:center}
.alert-wrap #alert-bell{width:42px;height:42px;padding:0;border-radius:50%;display:grid;place-items:center;color:#1d1d1f;background:#fff}
.alert-wrap #alert-bell svg{width:20px;height:20px}
#alert-count{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#e11d2e;color:#fff;font-size:11px;line-height:18px;font-weight:700}
.alert-panel{position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 32px));max-height:min(70vh,520px);display:flex;flex-direction:column;background:#fff;border:1px solid #e6e6e8;border-radius:16px;box-shadow:0 16px 40px rgba(25,36,60,.16);overflow:hidden}
.alert-panel[hidden]{display:none !important}
.alert-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 14px;flex:none;min-width:0}
.alert-panel header>span:first-child{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8b93a7;min-width:0}
.alert-head-actions{display:flex;align-items:center;gap:8px;flex:none}
#alert-settings{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:12px;display:grid;place-items:center}
@media(max-width:720px){
  .shell.shell-v2 .bar-tools .alert-panel{position:fixed;top:56px;left:16px;right:16px;width:auto}
}
#alert-settings svg{width:22px;height:22px;display:block}
#alert-settings svg circle{fill:#fff}
#alert-settings:hover svg circle,#alert-settings:focus-visible svg circle{fill:#f5f5f7}
#alert-clear{border:0;background:#e11d2e;color:#fff;border-radius:12px;padding:7px 12px;font-size:13px;min-height:44px}
#alert-clear:hover{background:#c41424}
#alert-clear:disabled{opacity:.6}
.alert-empty{margin:0;padding:28px 16px 32px;text-align:center;color:#b0b6c2}
#alert-list{flex:1 1 auto;min-height:0;overflow:auto}
#alert-list article{padding:12px 14px;border-top:1px solid #eef1f6}
#alert-list button.alert-open{display:block;width:calc(100% - 16px);margin:8px;padding:12px 14px;border:1px solid #eef1f6;border-radius:12px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:44px}
#alert-list button.alert-open:hover,#alert-list button.alert-open:focus-visible{background:#f5f5f7}
#alert-list button.alert-open:focus-visible{outline:2px solid #335cff;outline-offset:2px}
#alert-list article.is-new,#alert-list button.alert-open.is-new{background:#f7f8ff}
#alert-list strong{display:block;font-size:.95rem}
#alert-list p{margin:4px 0 0;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.alert-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #eef1f6;flex:none;background:#fff}
.alert-pager[hidden]{display:none !important}
.alert-pager span{font-size:13px;font-weight:600;color:#5f6b7c}
.alert-pager button{width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;font-size:20px;line-height:1}
.alert-pager button:hover:not(:disabled){background:#f5f5f7}
.alert-pager button:disabled{opacity:.35;cursor:default}
@media(max-width:720px){
  .next-up{position:sticky;top:0;z-index:8;margin-bottom:14px}
}
.grid-agenda{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.grid-hint{margin:0;padding:12px 16px;color:var(--muted);font-size:.875rem;border-bottom:1px solid var(--line)}
.grid-scroll{overflow:auto;max-height:min(72vh,860px);-webkit-overflow-scrolling:touch}
.grid-sheet{--col:168px;display:grid;grid-template-columns:56px repeat(var(--staff),minmax(var(--col),1fr));width:max-content;min-width:100%}
.grid-corner,.grid-person{position:sticky;top:0;background:#fff;z-index:4;border-bottom:1px solid var(--line)}
.grid-corner{left:0;z-index:7;min-height:58px}
.grid-person{display:flex;align-items:center;gap:8px;padding:10px 12px;min-width:var(--col)}
.grid-person .avatar{width:32px;height:32px;font-size:.75rem;flex:none}
.grid-person strong,.grid-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-person small{color:var(--muted);font-size:.75rem}
.grid-times{position:sticky;left:0;z-index:5;background:#fff;border-right:1px solid var(--line)}
.grid-sheet{--slot:48px}
.grid-time{height:var(--slot);box-sizing:border-box;border-top:1px solid var(--line);text-align:right;padding:0 8px 0 0;font-size:.75rem;line-height:1.2;color:var(--muted);display:flex;align-items:flex-start;justify-content:flex-end}
.grid-col{position:relative;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px var(--slot))}
.grid-block{position:absolute;z-index:1;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;border:0;border-left:3px solid var(--tone, var(--brand));border-radius:6px;background:color-mix(in srgb, var(--tone, #335cff) 22%, #fff);padding:2px 6px;text-align:left;cursor:grab;touch-action:pan-x pan-y;-webkit-touch-callout:none;user-select:none;line-height:1.15;box-sizing:border-box;container-type:inline-size;container-name:appt}
.grid-block .grid-line{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:650}
.grid-block strong{font-size:.75rem}
.grid-block small{font-size:.75rem;color:var(--muted);font-weight:500}
.grid-block.is-dragging{z-index:3;cursor:grabbing;box-shadow:0 10px 24px rgba(25,36,60,.2);transform:scale(1.04)}
.grid-block{transition:transform .2s ease,box-shadow .2s ease}
.grid-block.is-locked{cursor:pointer}.grid-block.is-off{cursor:pointer;opacity:.55}.grid-block.is-open{z-index:2;box-shadow:0 0 0 2px var(--brand)}
.grid-block.is-off{opacity:.55}
.grid-detail[hidden]{display:none !important}
.grid-detail-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 8px}
.grid-detail-close{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#1d1d1f}
.grid-detail-close:hover{background:#f5f5f7}
.grid-detail-close svg{width:20px;height:20px}
.grid-detail-grip{display:none;width:36px;height:4px;border-radius:99px;background:#d2d2d7;margin-right:auto}
.grid-detail .appointment{max-width:none;margin:0}
@media (min-width:1101px){
  .grid-detail{position:fixed;z-index:36;top:0;right:0;bottom:0;width:min(400px,36vw);overflow:auto;background:#fff;border-left:1px solid var(--line);box-shadow:-16px 0 40px rgba(25,36,60,.12);padding:16px 18px 28px}
}
@media (max-width:1100px){
  .grid-detail{position:fixed;z-index:36;left:0;right:0;top:0;bottom:0;display:flex;align-items:flex-end;background:rgba(20,34,57,.28)}
  .grid-detail-sheet{width:100%;max-height:min(72vh,640px);overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:10px 16px 18px;box-shadow:0 -12px 40px rgba(25,36,60,.16)}
  .grid-detail-grip{display:block}
}
@media (max-width:720px){
  .grid-detail{bottom:calc(72px + env(safe-area-inset-bottom))}
  .grid-detail-sheet{max-height:min(62vh,560px)}
}
.grid-now{position:absolute;left:0;right:0;height:2px;background:#e11d2e;z-index:2;pointer-events:none}
.grid-times .grid-now{left:auto;right:-4px;width:8px;height:8px;border-radius:50%;margin-top:-3px}
.wa-quota{margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8f9fd}
.wa-quota-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.wa-quota-head span{font-variant-numeric:tabular-nums;font-weight:650}
.wa-meter{height:10px;border-radius:99px;background:#e6e9f2;margin:10px 0 8px;overflow:hidden}
.wa-meter>span{display:block;height:100%;width:0;background:#0071e3;border-radius:99px}
.wa-quota.is-warn .wa-meter>span{background:#d97706}
.wa-quota.is-full .wa-meter>span{background:#e11d2e}
.wa-packs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.appointment{background:color-mix(in srgb, var(--tone, #335cff) 14%, #fff)}
.appointment.is-done{background:#e8f6ee}
.help-guide{max-width:none}
.help-progress{font-weight:650;margin:0 0 18px}
.help-steps{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.help-step{display:flex;flex-direction:column;background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:18px 20px;min-width:0}
.help-step.is-done,.help-step.is-optional{background:#fff}
.help-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.help-step p{margin:0 0 12px}
.help-step button,.help-step button:hover{margin-top:auto;align-self:flex-start;border-radius:12px;border:1px solid #b7d4f5;color:var(--brand);background:#fff;min-height:40px}
.help-step button:hover{background:#f5f9fd}
.help-link{display:block;word-break:break-all;font-size:.875rem;background:#f5f5f7;padding:10px 12px;border-radius:8px}
.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}
.settings-rail,.settings-sheet{min-width:0}
.settings-rail{display:flex;flex-direction:column;gap:2px;position:sticky;top:12px}
.settings-rail button{border:0;background:transparent;text-align:left;border-radius:10px;min-height:40px;padding:8px 12px;color:#1d1d1f;font-weight:600}
.settings-rail button:hover{background:#f5f5f7;color:#1d1d1f}
.settings-rail button.active,.settings-rail button.active:hover{background:#e8f2ff;color:#0071e3}
.settings-anchors{display:flex;flex-wrap:wrap;gap:8px 18px;border-bottom:1px solid #e6e6e8;margin:0 0 18px}
.settings-anchors button{border:0;border-radius:0;background:transparent;color:#6e6e73;padding:8px 0 10px;min-height:44px;border-bottom:2px solid transparent;font-weight:600}
.settings-anchors button:hover,.settings-anchors button[aria-current="true"],.settings-anchors button[aria-current="true"]:hover{background:transparent;color:#0071e3;border-bottom-color:#0071e3}
.public-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px}
.settings-block{border:1px solid #e6e6e8;border-radius:16px;padding:16px;margin:0 0 16px;background:#fff;scroll-margin-top:12px}
.settings-block h3{margin:0 0 12px;font-size:1.05rem}
.brand-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.brand-colors input[type=color]{width:28px;height:28px;padding:0;border:0;background:transparent}
.color-control{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 8px 4px 6px;border:1px solid #d2d2d7;border-radius:12px;background:#fff}
.color-control input[type=text]{border:0;background:transparent;flex:1;min-width:0;height:32px;padding:0;font-variant-numeric:tabular-nums}
.color-control button,.color-control button:hover{border:0;background:transparent;color:#6e6e73;width:32px;min-height:32px;padding:0}
.theme-preset.is-on,.theme-preset.is-on:hover{border-color:#0071e3;box-shadow:0 0 0 1px #0071e3;background:#fff;color:#1d1d1f}
.theme-preset.is-on::before{content:"";width:10px;height:10px;border-radius:50%;background:#0071e3;box-shadow:0 0 0 2px #fff,0 0 0 3px #0071e3;flex:none}
.outline-pill,.outline-pill:hover{border-radius:12px;border:1px solid #b7d4f5;color:var(--brand);background:#fff;min-height:40px}
.visibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.conta-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:18px;align-items:start}
#settings-form + .settings-block{margin-top:16px}
#visibility-slot:not(:empty){grid-column:1/-1}
.booking-qr .actions a,.booking-qr .actions a:hover{color:var(--brand);font-weight:600;text-decoration:none}
#password-form .form-grid{align-items:start}
.day-pick-card{border:1px solid #e6e6e8;border-radius:16px;padding:14px 16px;margin:0 0 16px;background:#fff}
.day-pick-card .day-pick{margin:0}
.day-pick #special-other,.day-pick #special-other:hover{border-radius:12px;border:1px solid #b7d4f5;color:var(--brand);background:#fff;min-height:44px}
.holiday-actions [data-special-day],.holiday-actions [data-special-day]:hover,.holiday-actions [data-holiday-open],.holiday-actions [data-holiday-open]:hover{border:0;background:transparent;color:var(--brand)}
.holiday-actions [data-holiday-close],.holiday-actions [data-holiday-close]:hover{border:0;background:transparent;color:#d70015}
.shell .table-wrap td button[data-holiday-close]:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config),.shell .table-wrap td button[data-holiday-close]:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config):hover{color:#d70015;background:transparent;border:0}
.settings-sheet td button[data-edit],.settings-sheet td button[data-edit]:hover,.settings-sheet td button[data-user-edit],.settings-sheet td button[data-user-edit]:hover,.settings-sheet td button[data-custom-edit],.settings-sheet td button[data-custom-edit]:hover,.settings-sheet td button[data-clearance-edit],.settings-sheet td button[data-clearance-edit]:hover{border:0;background:transparent;color:var(--brand);padding:0 4px;min-height:36px}
.holiday-table,.users-table,.fields-table,.clearance-table,.simple-settings,.audit-table{width:100%;border-collapse:collapse;table-layout:fixed}
.holiday-table th:nth-child(1),.holiday-table td:nth-child(1){width:28%}
.holiday-table th:nth-child(2){width:26%}
.holiday-table th:nth-child(3){width:14%}
.holiday-table th:nth-child(4){width:32%}
.users-table th:nth-child(1){width:24%}
.users-table th:nth-child(2){width:40%}
.users-table th:nth-child(3){width:20%}
.users-table th:nth-child(4){width:16%}
.users-table .user-access-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.users-table td .user-access-actions button{min-height:44px;border-radius:12px}
.fields-table th:nth-child(1){width:28%}
.fields-table th:nth-child(2),.fields-table th:nth-child(4){width:16%}
.fields-table th:nth-child(3){width:22%}
.fields-table th:nth-child(5){width:18%}
.clearance-table th:nth-child(1){width:40%}
.clearance-table th:nth-child(2),.clearance-table th:nth-child(3){width:20%}
.clearance-table th:nth-child(4){width:20%}
.simple-settings th:nth-child(1){width:72%}
.simple-settings th:nth-child(2),.simple-settings td:last-child{width:28%;text-align:right}
.audit-table th:nth-child(1){width:24%}
.audit-table th:nth-child(2){width:22%}
.audit-table td,.users-table td,.fields-table td,.clearance-table td,.simple-settings td{overflow-wrap:anywhere;vertical-align:top}
dialog form .actions [data-week]{margin-right:auto}
@media(max-width:900px){
  .settings-layout{grid-template-columns:1fr}
  .settings-rail{flex-direction:row;overflow:auto;position:static}
  .settings-rail button{white-space:nowrap}
  .help-steps,.brand-colors{grid-template-columns:1fr}
}
@media(max-width:720px){
  .settings-sheet .form-grid,.public-media,.visibility-grid,.conta-grid{grid-template-columns:1fr}
}
.appointment.is-pending{background:#eef3ff}
.appointment.is-pending .visit-state,.grid-block.is-pending .visit-state{color:#0071e3}
.grid-block.is-pending{background:#eef3ff;opacity:1}
.grid-block.is-deposit{background:#fff6e8;opacity:1}
.visit-state{margin-top:4px;font-size:.8125rem;font-weight:650}
.appointment.is-done .visit-state,.grid-block.is-done .visit-state{color:#157a3a}
.appointment.is-missed .visit-state,.grid-block.is-missed .visit-state{color:#9a5b00}
.grid-block.is-done{background:#e8f6ee}
.grid-block.is-missed{background:#fff4e5;opacity:1}
.support-dock{position:fixed;right:18px;bottom:18px;z-index:35;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.support-wa,.support-chat{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;box-shadow:0 8px 18px rgba(25,36,60,.22);padding:0}
.support-wa{background:#25d366;color:#fff;border:0}
.support-wa:hover{background:#1ebe5d;color:#fff}
.support-chat{background:#111;color:#fff;border:0}
.support-chat:hover{background:#000;color:#fff}
.support-wa svg,.support-chat svg{width:30px;height:30px}
.support-note{width:min(340px,calc(100vw - 36px));background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:16px;box-shadow:0 16px 40px rgba(25,36,60,.16)}
.support-note[hidden]{display:none !important}
.support-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.support-title{display:block;margin:0;font-size:16px;letter-spacing:-.02em}
#support-close{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:12px;background:#f5f5f7;font-size:22px;line-height:1}
#support-close:hover{background:#ececf0;color:#1d1d1f}
.support-lead{margin:4px 0 12px;color:#6e6e73;font-size:13px;line-height:1.4}
.support-note textarea{min-height:96px;resize:vertical}
.support-compose{border-top:1px solid #ececee;margin-top:8px;padding-top:12px}
.support-compose .row{justify-content:flex-end;margin:0}
.support-past summary{cursor:pointer;font-weight:650;min-height:40px;display:flex;align-items:center}
.support-chat{position:relative}
.support-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#e23b4a;color:#fff;font-size:11px;line-height:18px;font-weight:700;text-align:center}
.support-log{max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:8px;margin:8px 0}
.platform-shell .support-log{max-height:min(520px,62vh);min-height:220px;overflow:auto;padding:4px}
.platform-shell .support-bubble{max-width:min(440px,85%)}
.platform-shell .support-bubble.company{align-self:flex-start}
.platform-shell .support-bubble.ordenna{align-self:flex-end}
.support-bubble{border-radius:10px;padding:8px 10px;background:#f3f6ff}
.support-bubble.ordenna{background:#e8f6ee}
.support-bubble p{margin:4px 0 0;white-space:pre-wrap}
.support-past{margin:0 0 10px}
.support-past section{margin-top:8px}
.support-past p{margin:2px 0}
@media(max-width:720px){
  .header-tools .support-note{top:calc(100% + 8px);bottom:auto;max-height:min(60vh,480px)}
  .support-wa,.support-chat{width:48px;height:48px}
  .support-wa svg,.support-chat svg{width:26px;height:26px}
}

.visit-wait{display:inline-block;margin:4px 4px 0;padding:1px 8px;border-radius:999px;background:#fff4e5;color:#8a5a12;font-size:.82rem;font-weight:700}
.nav-icon{display:grid;place-items:center;line-height:0}
.nav-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rail-account{position:relative}
.sidebar-foot .rail-account-btn{width:46px;height:46px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;display:grid;place-items:center}
.sidebar-foot .rail-account-btn:hover,.sidebar-foot .rail-account-btn[aria-expanded="true"]{background:#f5f5f7}
.account-menu{position:absolute;left:calc(100% + 10px);bottom:0;z-index:45;width:280px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(25,36,60,.16);text-align:left}
.account-menu strong{display:block;color:#1d1d1f}
.account-menu>.muted{display:block;margin:2px 0 8px}
.account-menu .company-switcher{margin:8px 0 12px}
.account-menu .platform-link{margin:0 0 12px}
.account-menu #logout{width:100%;margin-top:4px}
@media(min-width:721px){
  .shell{grid-template-columns:72px minmax(0,1fr);height:100dvh;min-height:0}
  .sidebar{padding:14px 8px 12px;align-items:center;overflow:visible;z-index:30}
  .sidebar .brand{display:grid;place-items:center;margin:4px 0 16px}
  .sidebar .brand-mark{width:28px;height:28px}
  .sidebar .nav{width:100%;justify-items:center;gap:6px}
  .sidebar .nav button{width:46px;height:46px;padding:0;border-radius:12px;display:grid;place-items:center;overflow:hidden}
  .sidebar .nav span.nav-icon{display:grid;width:auto}
  .sidebar .nav span.nav-label{display:none}
  .sidebar-foot{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;padding-top:8px}
  .content{max-width:none;height:100dvh;overflow:auto;padding:18px 22px 24px;align-self:stretch}
  .topline{margin-bottom:14px}
  .topline h1{font-size:1.35rem;letter-spacing:-.4px}
  .toolbar{margin:0 0 14px}
  .content.is-grid,.content.is-week,.content.is-day{overflow:hidden;display:flex;flex-direction:column;min-height:0}
  .content.is-grid #view,.content.is-week #view,.content.is-day #view{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .content.is-grid .note,.content.is-grid .next-up,.content.is-grid .toolbar,.content.is-grid .readonly-note,.content.is-grid .series-gaps,
  .content.is-week .note,.content.is-week .next-up,.content.is-week .toolbar,.content.is-week .readonly-note,.content.is-week .series-gaps,
  .content.is-day .note,.content.is-day .next-up,.content.is-day .toolbar,.content.is-day .readonly-note,.content.is-day .series-gaps{flex:none}
  .content.is-grid .day-board,.content.is-week .day-board{flex:1;min-height:0;overflow:hidden;align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .content.is-grid .day-board.is-open{grid-template-columns:minmax(0,1fr) minmax(360px,420px);align-items:start;overflow:visible}
  .content.is-week .day-board.is-open{grid-template-columns:minmax(0,1fr) minmax(360px,420px);overflow:visible;align-items:stretch}
  /* Dia: scroll na página (.content), como Semana/Grelha com drawer aberto */
  .content.is-day{
    overflow-x:hidden;
    overflow-y:auto;
  }
  .content.is-day #view{
    flex:0 0 auto;
    min-height:0;
    height:auto;
    overflow:visible;
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .content.is-day .day-board{
    flex:0 0 auto;
    width:100%;
    min-width:0;
    min-height:0;
    height:auto;
    overflow:visible;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
  }
  .content.is-day .day-body{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    justify-content:flex-start;
    gap:18px;
    width:100%;
    min-width:0;
  }
  .content.is-day .day-list{
    flex:1 1 0;
    min-width:0;
    width:auto;
    max-width:none;
    height:auto;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    overflow:visible;
  }
  .content.is-day .day-rows{
    flex:0 0 auto;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    justify-content:stretch;
    justify-items:stretch;
    gap:12px;
    overflow:visible;
  }
  .content.is-day .day-board .day-drawer{
    flex:0 0 420px;
    width:420px;
    max-width:42%;
    min-width:300px;
    height:auto;
    margin:0;
    align-self:flex-start;
  }
  .content.is-day .day-board:not(.is-open) .day-drawer{display:none}
  .content.is-day button.day-row{
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }
  .content.is-grid .day-list,.content.is-week .day-list{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;height:100%}
  .content.is-grid .grid-agenda{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;min-width:0}
  .content.is-grid .grid-scroll{flex:1;min-height:0;max-height:none;overflow:auto;-webkit-overflow-scrolling:touch}
  .content.is-week .agenda-week{flex:1;min-height:0;height:100%}
  .content.is-grid .day-drawer,.content.is-week .day-drawer,.content.is-day .day-drawer{min-width:0;align-self:start;max-height:none;height:auto;overflow:hidden;border-radius:22px}
  /* Grelha: blocos/tips com z-index alto não podem tapar o X do drawer */
  .content.is-grid:has(.day-board.is-open) .day-list{position:relative;z-index:0;overflow:hidden}
  .content.is-grid:has(.day-board.is-open) .day-drawer{position:relative;z-index:8;isolation:isolate}
  /* Semana: a tabela acompanha a altura do drawer */
  .content.is-week:has(.day-board.is-open){overflow-x:hidden;overflow-y:auto}
  .content.is-week:has(.day-board.is-open) #view{flex:0 0 auto;overflow:visible;height:auto}
  .content.is-week:has(.day-board.is-open) .day-board{flex:0 0 auto;height:auto;min-height:calc(100dvh - 210px);overflow:visible;align-items:stretch}
  .content.is-week:has(.day-board.is-open) .day-list,
  .content.is-week:has(.day-board.is-open) .agenda-week{height:auto;min-height:calc(100dvh - 210px);align-self:stretch}
  .content.is-week:has(.day-board.is-open) .day-drawer{align-self:stretch;height:auto}
  /* Grelha: stretch com o drawer até --grid-body-max (última hora); sem saltar o scroll */
  .content.is-grid:has(.day-board.is-open){overflow-x:hidden;overflow-y:auto}
  .content.is-grid:has(.day-board.is-open) #view{flex:0 0 auto;overflow:visible;height:auto;min-height:0}
  .content.is-grid:has(.day-board.is-open) .day-board{flex:0 0 auto;height:auto;min-height:var(--grid-body-floor, 60vh);overflow:visible;align-items:stretch}
  .content.is-grid:has(.day-board.is-open) .day-list{flex:none;width:auto;height:auto;min-height:var(--grid-body-floor, 60vh);max-height:var(--grid-body-max, none);align-self:stretch}
  .content.is-grid:has(.day-board.is-open) .day-drawer{align-self:start;height:auto;max-height:none}
  .content.is-grid:has(.day-board.is-open) .grid-agenda,
  .content.is-grid:has(.day-board.is-open) .grid-scroll{flex:1;min-height:0;height:100%}
  .content.is-agenda .topline{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;width:100%}
  .content.is-agenda .topline>div{flex:1 1 auto;min-width:0}
  .content.is-agenda .topline>.row{flex:0 0 auto;flex-wrap:nowrap;margin-left:auto}
  .content.is-agenda .topline h1{display:none}
  .content.is-agenda .agenda-topbar{margin:0;flex-wrap:nowrap;overflow-x:auto}
  .content.is-agenda .agenda-topbar .seg{flex:none;min-width:max-content}
  .content.is-agenda .agenda-topbar input{width:auto;max-width:11.5rem}
}
.hours-jump{position:relative;flex:none}
.hours-jump>button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:12px;display:grid;place-items:center}
.hours-jump>button svg{width:22px;height:22px;display:block}
.hours-jump>button svg circle{fill:#fff}
.hours-jump>button:hover svg circle,.hours-jump>button:focus-visible svg circle{fill:#f5f5f7}
.hours-jump-menu{position:absolute;z-index:40;top:calc(100% + 6px);right:0;left:auto;min-width:260px;max-width:min(320px,calc(100vw - 28px));padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(25,36,60,.14);display:flex;flex-direction:column;gap:4px}
.hours-jump-menu[hidden]{display:none !important}
.hours-jump-menu button{width:100%;min-height:44px;border-radius:12px;text-align:left;white-space:nowrap}
@media(max-width:720px){
  .nav .nav-label{display:block;font-size:11px;font-weight:600;line-height:1.15}
  .nav-icon svg{width:20px;height:20px}
  .account-menu{top:56px;bottom:auto;left:auto;right:12px;width:min(280px,calc(100vw - 24px))}
}
.series-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(25,36,60,.45)}
.series-overlay.is-recalc{z-index:96}
.series-sheet{width:min(560px,100%);max-height:min(80vh,720px);overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 18px 50px rgba(25,36,60,.2)}
.series-sheet h3{margin:0 0 8px}
.series-sheet p{margin:0 0 14px}
.series-conflicts{margin:0 0 16px;padding-left:18px}
.series-conflicts li{margin:6px 0}
.series-conflict-actions{list-style:none;padding-left:0}
.series-conflict-actions li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}
.series-conflict-actions li.is-resolved{border-color:#b7d7c2;background:#f3faf5}
.series-conflict-actions .row{display:flex;flex-shrink:0;flex-wrap:wrap;gap:8px}
.series-conflict-actions .row button,.series-sheet .actions button{min-height:44px;border-radius:12px}
.series-visit{margin-top:4px}
.series-review{display:flex;flex-direction:column;gap:14px}
.series-review h4{margin:0 0 6px;font-size:15px}
.series-review ul{margin:0;padding-left:18px}
.series-sheet .error{color:#9a3412;margin:0 0 12px}
.series-sheet .error:empty{display:none}
@media(max-width:720px){
  .series-overlay{padding:12px}
  .series-sheet{width:100%;max-height:calc(100vh - 24px);padding:16px}
  .series-conflict-actions li{flex-direction:column}
  .series-conflict-actions .row{width:100%}
  .series-conflict-actions .row button,.series-sheet .actions button{flex:1 1 140px}
}
.series-slot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.series-slot-head h3{margin:0}
.series-slot-head button{border:0;background:none;padding:4px 8px;font-size:1.25rem;line-height:1;color:#3e4c63}
.series-slot-sheet .slots{max-height:240px}
.series-actions{flex-wrap:wrap}
.series-gaps ul{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.series-gaps li{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.series-gaps .row{gap:8px}
.visit-state.is-absent{color:#9a3412}
.grid-block.is-absent{box-shadow:inset 3px 0 #c2410c}
tr.is-conflict td:last-child{color:#9a3412;font-weight:700}
tr.is-share td:last-child{color:#9a5b00;font-weight:700}
tr.is-free td:last-child{color:#157347;font-weight:700}
tr.is-resolved-month td:last-child{color:#0f766e;font-weight:700}
.client-search{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0 0 12px}
.client-search-label{display:block;margin:0;font-size:.8125rem;font-weight:500;line-height:1.3;color:var(--muted)}
.client-search-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.client-search-field{position:relative;flex:1 1 240px;min-width:min(100%,220px)}
.client-search-field input{width:100%;min-width:0}
.client-search-row>button{flex:0 0 auto;width:auto}
.client-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.auth-qr{display:flex;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin:12px 0}
.auth-qr svg{width:196px;height:196px}
.auth-manual{margin:0 0 12px;color:var(--muted);font-size:.9rem}
.auth-manual summary{cursor:pointer;font-weight:600}
.recovery-codes{display:grid;gap:8px;margin:12px 0;padding:0;list-style:none}
.recovery-codes code{display:block;padding:8px 10px;border:1px solid var(--line);border-radius:12px;font-size:14px}
.recovery-panel button{min-height:40px;border-radius:12px}
.recovery-confirm{display:flex;gap:8px;align-items:flex-start;margin:12px 0;font-size:14px;line-height:1.4}
.recovery-confirm input{margin-top:3px}
.skip-link{position:absolute;left:12px;top:12px;z-index:80;background:#fff;color:#1d1d1f;padding:10px 14px;border-radius:8px;transform:translateY(-140%);box-shadow:none}
.skip-link:focus{transform:none;box-shadow:0 8px 24px #14223933}
:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]):focus-visible,
select:focus-visible,
textarea:focus-visible{outline:none;border-color:#0071e3;box-shadow:inset 0 0 0 1px #0071e3}
dialog[open]:has(>#booking) button:focus:not(:focus-visible){outline:none}
dialog[open]:has(>#booking) button:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #0071e3}
dialog[open]:has(>#booking) button.primary:focus-visible{box-shadow:inset 0 0 0 2px #fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nav-caption{color:#3e4a60}
.login-art p,.login-art .muted{color:#d7e4f5}
@media (max-width:720px){
  .nav button,.seg button,#page-action-btn,.appointment button,.appointment select{min-height:44px}
}

/* A mesma sala: site, estúdio e reservas. A visita é a marca. */
:root{color:#1d1d1f;background:#f5f5f7;--line:#e6e6e8;--muted:#707070}
body{background:#f5f5f7;color:#1d1d1f;letter-spacing:-.012em}
.brand{display:flex;align-items:center;gap:8px;color:#1d1d1f;font-weight:650;letter-spacing:-.045em;text-decoration:none}
.brand-mark{width:22px;height:22px;display:block;flex:none}
.brand-lockup{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.brand-name{font-size:17px;line-height:1;letter-spacing:-.045em}
.brand-tag{font-size:11px;font-weight:500;letter-spacing:-.01em;color:#86868b;line-height:1.15}
.nav button.active,.nav button.active:hover{background:#1d1d1f;color:#fff}
.sidebar{background:#fff}
button.primary,button.is-danger{border-radius:12px;font-weight:600;min-height:44px}
.nav button,.tabs button{color:inherit;border-radius:10px}
.nav button:hover,.tabs button:hover{background:transparent;color:inherit}
dialog header [data-close]{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#1d1d1f;font-size:22px;line-height:1}
dialog header [data-close]:hover{background:#f5f5f7}
.summary button:not(.primary):not(.text-link),.login-art button:not(.primary):not(.text-link){background:transparent;color:#2997ff;border-color:#2997ff}
.summary button:not(.primary):not(.text-link):hover,.login-art button:not(.primary):not(.text-link):hover{background:rgba(41,151,255,.16);color:#2997ff}
.topline h1{letter-spacing:-.03em;font-weight:600}.page-line{font-weight:500;color:var(--muted)}
.visit-mark{display:flex;align-items:center;flex-wrap:wrap;gap:0;list-style:none;margin:28px 0 0;padding:0}
.visit-mark li{display:flex;align-items:center;gap:8px;color:#1d1d1f;font-size:13px;font-weight:500;letter-spacing:-.01em}
.visit-mark li span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f5f5f7;border:1px solid #e6e6e8;font-size:12px;font-weight:600}
.visit-mark li:nth-child(2) span{background:#1d1d1f;color:#fff;border-color:#1d1d1f}
.visit-mark li:not(:last-child)::after{content:"";width:28px;height:1px;background:#d6d6d6;margin:0 12px}
.login{display:flex;flex-direction:column;min-height:100svh;background:#fff;color:#1d1d1f}
.login-bar{display:flex;justify-content:center;align-items:center;min-height:52px}
.login-bar .brand{display:flex;align-items:center;gap:8px;color:#1d1d1f;text-decoration:none}
.login-bar .brand-name{font-size:17px;font-weight:650;letter-spacing:-.045em;text-transform:none;color:#1d1d1f}
.login-bar .brand-tag{font-size:11px;font-weight:500;letter-spacing:-.01em;text-transform:none;color:#86868b}
.login-stage{flex:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,420px);gap:56px;align-items:center;width:min(1040px,calc(100% - 64px));margin:0 auto;padding:8vh 0 48px}
.login-art{background:transparent;color:#1d1d1f;display:block;padding:0;justify-content:unset}
.login-kicker{margin:0;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#86868b}
.login-art h1{margin:10px 0 0;max-width:11em;font-size:clamp(36px,4.2vw,56px);line-height:1.02;font-weight:600;letter-spacing:-.04em;color:#1d1d1f}
.login-art p{display:block;margin:16px 0 0;max-width:28rem;color:#707070;font-size:17px;line-height:1.45}
.login-form{display:block;padding:0;place-items:unset}
.login-form form{width:100%;max-width:none;display:grid;gap:16px;background:#fff;border-radius:28px;box-shadow:0 0 0 1px #e6e6e8;padding:28px}
.login-form h1,.login-form h2{margin:0;font-size:28px;line-height:1.1;font-weight:600;letter-spacing:-.03em}
.login-form .muted{margin:0;color:#707070}
.login-form input{min-height:48px;border-radius:12px;border-color:#e6e6e8;background:#fff;font-size:16px}
.login-form .primary{padding:12px 18px}
@media(max-width:800px){
  .login-stage{grid-template-columns:1fr;gap:28px;width:min(560px,calc(100% - 40px));padding:12px 0 36px;align-items:start}
  .login-art h1{font-size:clamp(32px,8vw,44px);margin-top:8px}
  .login-art p{font-size:16px}
  .visit-mark{margin-top:20px;flex-wrap:nowrap}
  .visit-mark li{font-size:12px;gap:6px}
  .visit-mark li span{width:26px;height:26px}
  .visit-mark li:not(:last-child)::after{width:14px;margin:0 8px}
  .login-form form{padding:22px}
}

/* O dia, por dentro: cada marcação é uma visita. */
.seg button.active,.seg button.active:hover{background:#1d1d1f;color:#fff}
.next-up{display:flex;align-items:center;gap:14px 18px;flex-wrap:wrap;margin:0 0 16px;padding:14px 18px;border-radius:28px;background:#fff;color:#1d1d1f;box-shadow:0 0 0 1px #e6e6e8}
.next-up .muted,.next-up time{color:#1d1d1f}
.next-up time{margin-left:auto;padding:0;border:0;font-size:15px;font-weight:600;letter-spacing:-.02em}
.next-up strong{font-size:18px;font-weight:600;letter-spacing:-.03em}
.visit-kicker{margin:0;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#86868b}
.day-visits{display:grid;gap:14px}
.day-rest-title{margin:6px 0 0;font-size:1rem;font-weight:600;letter-spacing:-.02em}
.visit-card.is-next h3{font-size:clamp(32px,5vw,44px)}
.header-tools .support-dock{position:relative;top:auto;right:auto;bottom:auto;left:auto;flex-direction:row;align-items:center;gap:8px}
.header-tools #alert-bell,.header-tools .support-wa,.header-tools .support-chat{width:44px;height:44px;min-width:44px;min-height:44px;box-shadow:none}
.header-tools .support-note{position:absolute;top:calc(100% + 8px);right:0;bottom:auto;z-index:45;width:min(340px,calc(100vw - 24px));max-height:min(72vh,560px);display:flex;flex-direction:column}
.header-tools .support-log{flex:1 1 auto;min-height:0;max-height:220px}
.visit-card{background:color-mix(in srgb, var(--tone, #0071e3) 16%, #fff);border-radius:28px;box-shadow:inset 6px 0 var(--tone, #0071e3), 0 0 0 1px #e6e6e8;padding:22px 22px 16px;container-type:inline-size;container-name:visit}
dialog.client-import{width:min(680px,calc(100% - 32px));max-width:680px;min-width:0;max-height:min(90dvh,calc(100% - 32px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:28px;border:0;border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(20,34,57,.18);color:#1d1d1f}
dialog.client-import::backdrop{background:rgba(20,34,57,.45)}
html:has(dialog.client-import[open]),html:has(dialog.client-import[open]) body{overflow:hidden}
dialog.client-import header{align-items:center;margin:0 0 22px}
dialog.client-import .import-body{display:grid;gap:16px;min-width:0;max-width:100%}
dialog.client-import .import-notes{display:grid;gap:8px;min-width:0}
dialog.client-import .import-notes p{margin:0;color:#596273;font-size:.875rem;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
dialog.client-import .import-file{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:0}
dialog.client-import .import-file button{height:44px;min-height:44px;padding:0 18px;border-radius:12px;background:#fff;color:#1d1d1f;border:1px solid #d2d2d7;white-space:nowrap}
dialog.client-import .import-file button:hover{background:#f5f5f7;color:#1d1d1f}
dialog.client-import #import-name{min-width:0;min-height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#596273;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
dialog.client-import #import-name.is-set{color:#1d1d1f}
dialog.client-import .error:empty{display:none}
dialog.client-import .error:not(:empty){margin:0;padding:10px 12px;border-radius:10px;background:#fff4f4}
dialog.client-import .actions{justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:0;padding-top:16px;border-top:1px solid #ececee}
dialog.client-import .actions button{width:auto;flex:0 0 auto;height:44px;min-height:44px;padding:0 18px;border-radius:12px}
dialog.client-import .actions button[data-close]{background:#fff;color:#1d1d1f;border:1px solid #d2d2d7}
dialog.client-import .actions button[data-close]:hover{background:#f5f5f7;color:#1d1d1f}
dialog.client-import .import-list{display:grid;min-width:0;max-height:min(42vh,360px);overflow:auto;border:1px solid #e6e6e8;border-radius:16px;background:#fff}
dialog.client-import .import-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;margin:0;padding:12px 14px;border-bottom:1px solid #f0f0f2;font-weight:400;line-height:1.35}
dialog.client-import .import-row:last-child{border-bottom:0}
dialog.client-import .import-row input{width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0;accent-color:#0071e3}
dialog.client-import .import-row strong{display:block;font-weight:650;color:#1d1d1f;overflow-wrap:anywhere}
dialog.client-import .import-row span span{display:block;color:#596273;font-size:.875rem;overflow-wrap:anywhere}
dialog.client-import .import-row.is-out{grid-template-columns:minmax(0,1fr)}
dialog.client-import .import-count{margin:0;color:#596273;font-size:.875rem;line-height:1.4}
@media(max-width:720px){
  dialog.client-import{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:24px 18px}
  dialog.client-import .actions{flex-direction:row;align-items:center;justify-content:flex-end}
  dialog.client-import .actions button{width:auto}
}
.client-book-row{align-items:center;gap:12px;margin-bottom:16px}
#book-client{margin-left:auto;min-height:44px;padding:0 18px;border-radius:12px;background:var(--brand);color:#fff;border-color:var(--brand)}
#book-client:hover{background:#0077ed;border-color:#0077ed;color:#fff}
.booking-for{margin:0 0 14px;color:#596273;font-size:.875rem}
.client-history{margin-top:25px}
.client-history summary{cursor:pointer;font-weight:600;font-size:1.15rem}
.client-history .table-wrap{margin-top:12px}
.visit-memory{margin-top:14px;border-top:1px solid #ececee;padding-top:12px}
.visit-memory summary{cursor:pointer;font-weight:600}
.visit-memory .form-grid{margin-top:10px}
.booking-qr{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:18px}
.booking-qr img{width:160px;height:160px;background:#fff}
.visit-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.visit-card-head h3{margin:4px 0 0;font-size:28px;line-height:1.1;font-weight:600;letter-spacing:-.03em}
.visit-card-head time{font-size:15px;font-weight:600;letter-spacing:-.02em;white-space:nowrap;color:var(--tone, #1d1d1f)}
.visit-steps{list-style:none;margin:18px 0 0;padding:0;display:grid}
.visit-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;position:relative;padding-bottom:14px}
.visit-steps li:not(:last-child)::before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:1px;background:#d6d6d6}
.visit-steps li>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f5f5f7;border:1px solid #e6e6e8;font-size:12px;font-weight:600;position:relative;z-index:1}
.visit-steps li.is-on>span{background:#1d1d1f;color:#fff;border-color:#1d1d1f}
.visit-step-word{display:block;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#86868b}
.visit-step-word:empty{display:none}
.visit-step-main{display:block;font-size:16px}
.visit-step-meta{margin:2px 0 0;color:#707070;font-size:14px}
.visit-step-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
select.status-pick{width:auto;font-weight:650;border-width:1.5px;border-radius:8px;color-scheme:light;background-color:var(--status-bg,#fff);color:var(--status-ink,#1d1d1f);border-color:var(--status-ink,#d2d2d7)}
select.status-pick.is-confirmed{--status-bg:#e8f3ff;--status-ink:#0071e3}
select.status-pick.is-completed{--status-bg:#e5f6ef;--status-ink:#0f6b45}
select.status-pick.is-cancelled{--status-bg:#ffebe9;--status-ink:#d70015}
select.status-pick.is-no_show{--status-bg:#fff4e5;--status-ink:#9a5b00}
select.status-pick.is-awaiting_deposit{--status-bg:#fff6e8;--status-ink:#b45309}
select.status-pick.is-pending_approval{--status-bg:#eef3ff;--status-ink:#0071e3}
select.status-pick option[value="confirmed"]{background:#e8f3ff;color:#0071e3}
select.status-pick option[value="completed"]{background:#e5f6ef;color:#0f6b45}
select.status-pick option[value="cancelled"]{background:#ffebe9;color:#d70015}
select.status-pick option[value="no_show"]{background:#fff4e5;color:#9a5b00}
select.status-pick option[value="awaiting_deposit"]{background:#fff6e8;color:#b45309}
select.status-pick option[value="pending_approval"]{background:#eef3ff;color:#0071e3}
.visit-step-actions select{min-width:9.5rem;padding:6px 10px}
.visit-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;padding-top:12px;border-top:1px solid #e6e6e8}
.visit-card-foot strong{margin-right:auto}
.visit-steps.is-inline{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0}
.visit-steps.is-inline li{padding:0;align-items:center}
.visit-steps.is-inline li:not(:last-child)::before{display:none}
.visit-steps.is-inline small{display:block;color:#707070;font-size:12px;font-weight:400}
.grid-step{display:inline-grid;place-items:center;width:16px;height:16px;margin-right:4px;border-radius:50%;background:#1d1d1f;color:#fff;font-size:10px;font-weight:600;vertical-align:middle}
button.primary:hover{background:#0077ed;border-color:#0077ed}
input,select,textarea{border-radius:12px}
.panel,.metric,dialog{border-radius:18px}
@container visit (min-width: 680px) {
  .visit-steps:not(.is-inline){grid-template-columns:repeat(auto-fit,minmax(240px,1fr));column-gap:36px}
  .visit-steps:not(.is-inline) li{display:grid;grid-template-columns:28px 1fr;grid-template-rows:28px auto;column-gap:0;row-gap:10px;padding-bottom:0}
  .visit-steps:not(.is-inline) li > span{grid-column:1;grid-row:1}
  .visit-steps:not(.is-inline) li > div{grid-column:1 / -1;grid-row:2}
  .visit-steps:not(.is-inline) li:not(:last-child)::before{left:28px;top:13px;bottom:auto;width:calc(100% + 22px);height:1px;z-index:0}
}
@media(max-width:720px){
  .visit-card{padding:18px 16px 14px;border-radius:22px}
  .visit-card-head{flex-direction:column;gap:6px}
  .visit-card-head h3{font-size:24px}
  .next-up time{margin-left:0}
}
.day-team{max-height:min(52vh,460px);overflow:auto;margin:0 0 8px;padding-right:4px}
.day-person{padding:8px 0 4px;border-bottom:1px solid var(--line)}
.day-person:last-child{border-bottom:0}
.schedule-row.day-hours{grid-template-columns:1fr 1fr 42px}
.blocks-extra{margin-top:40px}
.day-pick{display:flex;align-items:flex-end;justify-content:flex-start;gap:10px;flex-wrap:wrap;margin:8px 0 18px}
.day-pick label,.day-pick input{width:auto}
.holiday-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.holiday-actions button{white-space:nowrap}
@media(max-width:720px){
  .holiday-table thead,.block-table thead{display:none}
  .holiday-table,.holiday-table tbody,.holiday-table tr,.holiday-table td,.block-table,.block-table tbody,.block-table tr,.block-table td{display:block;width:auto}
  .holiday-table tr,.block-table tr{background:#fff;border:1px solid var(--line);border-radius:16px;margin:0 0 12px;padding:14px 14px 12px}
  .holiday-table td,.block-table td{padding:0;border:0}
  .holiday-table td:first-child,.block-table td:first-child{font-weight:650}
  .holiday-table td:nth-child(2),.block-table td:nth-child(2){margin-top:2px}
  .holiday-table td:nth-child(3){margin-top:4px;color:var(--muted);font-size:.875rem}
  .block-table td:last-child{margin:12px 0 0}
  .block-table td:last-child button{width:100%;min-height:44px}
  .holiday-actions{display:grid;justify-content:stretch;gap:8px;margin:12px 0 0}
  .holiday-actions button{width:100%;min-height:44px}
  .schedule-row.day-hours{min-width:0}
  .schedule-row.day-hours input{min-width:0;width:100%}
}
.phone-label{display:none}
.nav-toggle,.nav-close,.nav-backdrop,.drawer-brand,.studio-area{display:none}

@media(max-width:720px){
  .nav-toggle{display:inline-grid;place-items:center;position:absolute;top:0;left:0;z-index:5;width:44px;height:44px;padding:0;border-radius:14px;background:#fff}
  .nav-toggle.has-news::after{content:"";position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:#e11d2e}
  .drawer-tools{display:flex;flex-direction:column;gap:4px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
  .drawer-tools .alert-wrap,.drawer-tools .support-dock{position:static;display:flex;flex-direction:column;align-items:stretch;width:100%;gap:4px;right:auto;bottom:auto;z-index:auto}
  .drawer-tools #alert-bell,.drawer-tools .support-wa,.drawer-tools .support-chat{width:100%;height:auto;min-height:48px;border-radius:12px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:8px 12px;box-shadow:none;font-size:16px;font-weight:600;color:#1d1d1f;background:transparent;border:0}
  .drawer-tools #alert-bell svg,.drawer-tools .support-wa svg,.drawer-tools .support-chat svg{width:22px;height:22px;flex:none}
  .drawer-tools .support-wa{color:#128c7e}
  .drawer-tools #alert-bell::after{content:"Alertas"}
  .drawer-tools .support-wa::after{content:"WhatsApp"}
  .drawer-tools .support-chat::after{content:"Suporte"}
  .drawer-tools #alert-count,.drawer-tools .support-count{position:static;top:auto;right:auto;margin-left:auto}
  .drawer-tools .alert-panel,.drawer-tools .support-note{position:static;width:100%;max-width:none;right:auto;bottom:auto;margin:0;box-shadow:none}
  .drawer-tools .support-note{order:3}
  .drawer-tools .support-wa{order:1}
  .drawer-tools .support-chat{order:2}
  .drawer-tools .support-note .row{flex-direction:column;align-items:stretch}
  .drawer-tools .support-note .row button{width:100%;min-height:44px}
  .header-tools:not(:has(#page-action-btn)){display:none}
  .nav-backdrop{display:block;position:fixed;inset:0;z-index:50;border:0;border-radius:0;padding:0;background:rgba(20,34,57,.45)}
  .nav-backdrop[hidden]{display:none}
  .sidebar{position:fixed;top:0;right:auto;bottom:0;left:0;z-index:60;width:min(320px,calc(100vw - 48px));height:100dvh;max-height:100dvh;overflow:auto;transform:translateX(-105%);transition:transform .2s ease;border-top:0;border-right:1px solid var(--line);background:#fff;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}
  .shell.nav-open .sidebar{transform:translateX(0)}
  .sidebar .brand{display:flex;align-items:center;gap:8px;min-height:44px;margin:0 44px 8px 0;font-size:1.35rem;min-width:0}
  .drawer-brand,.studio-area{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:650;letter-spacing:-.04em;color:#1d1d1f}
  .nav-close{display:grid;place-items:center;position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;width:44px;height:44px;padding:0;border:0;background:transparent;font-size:28px;line-height:1}
  .sidebar .nav,.drawer-tools{flex:none}
  .sidebar .nav{overflow:visible;display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;gap:4px;padding:0}
  .nav button{flex:none;width:100%;min-width:0;max-width:none;min-height:48px;padding:8px 12px;gap:12px;overflow:visible;flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;border-radius:12px}
  .nav .nav-label{display:block;width:auto;max-width:none;font-size:16px;font-weight:600;line-height:1.2;letter-spacing:0;text-align:left}
  .nav .nav-long{display:inline;font-size:16px;white-space:nowrap}
  .nav .nav-short{display:none}
  .nav-icon svg{width:22px;height:22px}
  .sidebar-foot{position:static;top:auto;right:auto;width:100%;margin-top:12px;padding:16px 0 0;border-top:1px solid var(--line)}
  .sidebar-foot .rail-account-btn{display:none}
  .sidebar .account-menu{position:static;left:auto;right:auto;top:auto;bottom:auto;width:auto;margin:0;padding:4px 0 0;border:0;border-radius:0;box-shadow:none;display:block}
  .sidebar .account-menu strong,.sidebar .account-menu .muted{white-space:normal;overflow-wrap:anywhere}
  .sidebar .account-menu #logout{width:100%;min-height:44px;margin-top:12px}
  .sidebar .company-switcher,.sidebar .platform-link{display:block}
  .topline{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-right:0}
  .topline>div>h1{margin-left:52px;min-height:44px;display:flex;align-items:center}
  .content{padding:calc(16px + env(safe-area-inset-top)) 14px calc(28px + env(safe-area-inset-bottom))}
  #toast{bottom:calc(16px + env(safe-area-inset-bottom))}
  .header-tools{flex-wrap:wrap;width:100%;gap:8px;margin:0}
  #page-action{flex:1 0 100%;min-width:0;display:block}
  #page-action:empty{display:none}
  #page-action-btn{width:100%;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #alert-bell,.header-tools .support-wa,.header-tools .support-chat{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%}
  .header-tools .support-dock{flex:none;gap:8px}
  .header-tools .support-wa svg,.header-tools .support-chat svg{width:22px;height:22px}
  .agenda-topbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px auto;gap:8px;align-items:center;width:100%;margin:0}
  .agenda-topbar #prev,.agenda-topbar #next,.agenda-topbar #today{min-height:44px;min-width:44px}
  .content.is-agenda .topline{padding-right:0}
  .agenda-topbar .seg,.agenda-topbar .muted{grid-column:1 / -1;width:100%}
  .agenda-topbar .seg{width:calc(100% - 52px);max-width:none;margin-left:52px;justify-self:start}
  .agenda-date{display:block;min-width:0;max-width:100%;overflow:visible}
  .agenda-topbar input{display:block;width:100%;max-width:100%;min-width:0;padding-left:6px;padding-right:6px;text-align:center;-webkit-appearance:none;appearance:none}
  .agenda-topbar input::-webkit-date-and-time-value,.agenda-topbar input::-webkit-datetime-edit{min-width:0;text-align:center}
  .agenda-topbar #prev,.agenda-topbar #next,.agenda-topbar #today{width:auto;padding-left:10px;padding-right:10px;position:relative;z-index:1}
  .content.is-agenda .header-tools{flex-wrap:nowrap;align-items:center}
  .content.is-agenda .hours-jump{flex:0 0 auto;min-width:max-content}
  .content.is-agenda .hours-jump>button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
  .content.is-agenda #page-action{flex:1 1 auto;width:auto;min-width:max-content}
  .content.is-agenda #page-action-btn{width:100%;min-height:44px;overflow:visible;text-overflow:clip}
  .content.is-agenda .hours-jump-menu{left:0;right:auto;width:max-content;min-width:0;max-width:calc(100vw - 32px)}
  .next-up{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 12px}
  .next-up .visit-kicker,.next-up strong{grid-column:1;min-width:0}
  .next-up strong{overflow-wrap:anywhere}
  .next-up time{grid-column:2;grid-row:1 / span 2;margin:0;align-self:center}
  .next-up .visit-steps.is-inline{grid-column:1 / -1;display:grid;gap:8px;width:100%}
  .next-up .visit-steps.is-inline li,.next-up .visit-steps.is-inline small{min-width:0;white-space:normal}
  .grid-agenda{display:flex;flex-direction:column;min-width:0;max-width:100%}
  .grid-scroll{min-width:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
  .grid-sheet{grid-template-columns:48px repeat(var(--staff),minmax(var(--col,168px),1fr));width:max-content;min-width:100%}
  .grid-person{min-width:var(--col,168px)}
  .grid-corner,.grid-times{position:sticky;left:0;background:#fff}
  .grid-corner{z-index:7}
  .grid-times{z-index:5}
  .grid-hint{white-space:normal;overflow-wrap:anywhere}
  .grid-block .grid-name,.grid-block .grid-service,.grid-block .grid-when{text-overflow:ellipsis}
  .phone-label{display:block;margin-bottom:1px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
  .content .panel.table-wrap:has(table),.content .table-wrap:has(table:not(.holiday-table):not(.block-table):not(.studio-notices)){overflow:visible;background:transparent;border:0;padding:0;box-shadow:none}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices),
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices){display:block}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) thead,
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) thead{display:none}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) tbody,
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) tbody{display:grid;gap:10px}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) tr,
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) tr{display:grid;gap:6px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) td,
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) td{display:block;width:auto;min-width:0;padding:0;border:0;overflow-wrap:anywhere}
  .content .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) td:last-child button,
  dialog .table-wrap table:not(.holiday-table):not(.block-table):not(.studio-notices) td:last-child button{width:100%;margin-top:4px}
  .content .services-sheet.panel.table-wrap{overflow:auto;background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:0}
  .content .services-sheet.table-wrap table.services-table{display:table;width:100%;min-width:720px}
  .content .services-sheet.table-wrap table.services-table thead{display:table-header-group}
  .content .services-sheet.table-wrap table.services-table tbody{display:table-row-group}
  .content .services-sheet.table-wrap table.services-table tr{display:table-row;background:transparent;border:0;border-radius:0;padding:0;gap:0}
  .content .services-sheet.table-wrap table.services-table th,
  .content .services-sheet.table-wrap table.services-table td{display:table-cell;width:auto;padding:12px 16px;border-bottom:1px solid #f0f0f2}
  .content .services-sheet.table-wrap table.services-table tr.service-band th{border-bottom:0;background:#f5f5f7}
  .content .services-sheet.table-wrap table.services-table td:last-child button{width:auto;margin-top:0}
  .services-table .phone-label{display:none}
  .content .team-main .panel.table-wrap:has(table){overflow:auto}
  .content .team-main .table-wrap table.team-table{display:table;width:100%;min-width:640px}
  .content .team-main .table-wrap table.team-table thead{display:table-header-group}
  .content .team-main .table-wrap table.team-table tbody{display:table-row-group}
  .content .team-main .table-wrap table.team-table tr{display:table-row;background:transparent;border:0;border-radius:0;padding:0;gap:0}
  .content .team-main .table-wrap table.team-table th,
  .content .team-main .table-wrap table.team-table td{display:table-cell;width:auto;padding:12px 10px;border-bottom:1px solid #ececee}
  .content .team-main .table-wrap table.team-table td:last-child button{width:auto;margin-top:0}
  .client-search{display:flex;flex-direction:column;align-items:stretch;gap:8px}
  .client-search-label,.client-search-field,.client-search-field input{width:100%;min-width:0}
  .client-search-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  .client-search #client-archived{width:auto;justify-self:auto}
  .settings-layout,.tabs{max-width:100%;min-width:0}
  .tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:visible;margin-bottom:12px}
  .tabs button{white-space:normal;text-align:center;line-height:1.2;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:12px}
  .settings-layout .actions{flex-direction:column;align-items:stretch}
  .settings-layout .actions button{width:100%;min-height:44px}
  .agenda .row{min-width:0}
  .agenda .row>div{min-width:0}
  .week-day .appointment button,.week-day .appointment select,.visit-step-actions select,.visit-step-actions button{max-width:none}
  .visit-step-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
  .visit-step-actions button,.visit-step-actions select{width:100%;min-width:0;min-height:44px}
  .visit-card-foot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
  .visit-card-foot strong{margin:0}
  .visit-card-foot button{grid-column:1 / -1;width:100%;min-height:44px}
  .agenda .row{flex-wrap:nowrap;align-items:center}
  .agenda .row>button{flex:none;min-height:44px}
  .client-search button,.tabs button{min-height:44px}
  dialog .actions{flex-direction:column;align-items:stretch}
  dialog .actions button{width:100%;min-height:44px}
  dialog.removal-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import){width:calc(100vw - 24px);max-width:none}
  dialog.removal-dialog[open] header{padding:16px 16px 12px}
  dialog.removal-dialog[open] .removal-copy{padding:4px 16px 8px}
  dialog.removal-dialog[open] .actions{flex-direction:column-reverse;align-items:stretch;padding:12px 16px 16px}
  dialog.removal-dialog[open] .actions button{width:100%}
  dialog.removal-dialog[open] .series-sheet .actions{flex-direction:column-reverse;align-items:stretch}
  dialog.removal-dialog[open] .series-sheet .actions button{width:100%;flex:1 1 auto}
  dialog .removal-entry button{width:100%}
  .visit-card-head h3,.visit-step-main,.visit-step-meta{overflow-wrap:anywhere}
  h1{overflow-wrap:anywhere}
}

.rail-label,.nav-collapse{display:none}
.day-board{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.day-head{margin:0 0 12px}
.day-head h2{margin:0;font-size:1.7rem;font-weight:600;letter-spacing:-.03em}
.day-head p{margin:4px 0 0;color:#707070}
.day-search{display:grid;gap:6px;margin:0 0 8px;color:#707070;font-size:13px;font-weight:600}
.day-count{margin:0 0 10px;color:#707070;font-size:13px;white-space:nowrap}
.content.is-day .day-body{min-width:0}
.day-rows{display:grid;gap:10px}
button.day-row{width:100%;margin:0;padding:14px 16px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid #e6e6e8;border-radius:16px;background:#fff;color:#1d1d1f;font-weight:500;text-align:left;box-shadow:0 1px 0 rgba(29,29,31,.04)}
button.day-row:hover{background:#fafafa;color:#1d1d1f}
button.day-row.is-selected{border-color:#1d1d1f;box-shadow:0 0 0 1px #1d1d1f}
.day-row-time{display:grid;gap:2px;font-variant-numeric:tabular-nums}
.day-row-time strong{font-size:15px}
.day-row-time span,.day-row-side{color:#707070;font-size:13px}
.day-row-main{min-width:0;display:grid;gap:2px}
.day-row-main strong{font-size:16px;letter-spacing:-.02em}
.day-row-main ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.day-row-main li{display:flex;align-items:center;gap:8px;min-width:0;color:#1d1d1f;font-size:14px}
.day-row-main li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.day-row-main li time{margin-left:auto;color:#707070;font-size:12px;font-variant-numeric:tabular-nums}
.day-row-main i{width:8px;height:8px;border-radius:50%;flex:none}
.day-row-side{display:grid;justify-items:end;gap:4px;text-align:right}
.day-drawer{background:#fff;border:1px solid #e6e6e8;border-radius:22px;overflow:hidden}
.day-drawer-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:8px;background:#fff;border-bottom:1px solid #ececee;border-radius:22px 22px 0 0}
.day-back{display:none}
button.day-close{position:relative;z-index:21;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#1d1d1f;font-size:22px;line-height:1}
button.day-close:hover{background:#f5f5f7}
.day-drawer .visit-card{margin:12px;box-shadow:inset 6px 0 var(--tone, #0071e3)}
.day-drawer .visit-sheet{border-radius:0 0 22px 22px}
@media(min-width:901px){
  .content.is-day .day-list,.content.is-day .day-drawer,
  .content.is-week .day-list,.content.is-week .day-drawer{max-height:none}
  .content.is-day .day-drawer,.content.is-week .day-drawer{overflow:hidden}
}
@media(max-width:900px){
  .content.is-day .day-body{flex-direction:column;gap:12px}
  .content.is-day .day-board .day-drawer{flex:1 1 auto;width:100%;max-width:none;min-width:0}
  .content:not(.is-grid) .day-board.is-open .day-list{display:none}
  .content.is-grid .day-board.is-open{grid-template-columns:1fr;align-items:start}
  .content.is-grid:has(.day-board.is-open) .day-list{display:flex;height:auto;min-height:var(--grid-body-floor, 56dvh);max-height:var(--grid-body-max, none);align-self:stretch}
  .content.is-grid .day-board.is-open .day-drawer{position:static;width:auto;max-width:none;overflow:hidden;border-radius:22px;align-self:start}
  button.day-back{display:inline-flex;margin-right:auto;border-radius:12px}
  .day-drawer{border:1px solid #e6e6e8;border-radius:22px;background:#fff;overflow:hidden}
  .day-drawer-bar{border-radius:22px 22px 0 0;background:#fff}
  .day-drawer .visit-card{margin:12px}
  button.day-row{grid-template-columns:64px minmax(0,1fr)}
  .day-row-side{grid-column:2;justify-items:start;text-align:left;grid-auto-flow:column;gap:8px}
}
button.week-card{width:100%;display:grid;gap:2px;margin:0 0 8px;padding:8px 10px;border:1px solid #e6e6e8;border-radius:12px;background:#fff;color:#1d1d1f;font-weight:500;text-align:left}
button.week-card:hover{background:#fafafa;color:#1d1d1f}
button.week-card.is-selected{border-color:#1d1d1f;box-shadow:0 0 0 1px #1d1d1f}
.week-card time,.week-card span{font-size:12px;color:#707070}
.week-card strong{color:#1d1d1f;font-size:14px}
.week-cards{display:grid;gap:8px}
.week-day .empty{padding:12px 0}
.grid-agenda{border-radius:16px;border-color:#e6e6e8}
.grid-hint{padding:10px 16px;font-size:13px;color:#707070}
.grid-sheet{grid-template-columns:56px repeat(var(--staff),minmax(var(--col,168px),1fr));width:max-content;min-width:100%}
.grid-corner{min-height:64px;border-right:1px solid #ececee;min-width:0}
.grid-person{gap:8px;padding:10px 8px;min-height:64px;border-right:1px solid #ececee;min-width:var(--col,168px)}
.grid-person .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;flex:none;color:#fff}
.grid-person strong{font-size:14px;font-weight:650}
.grid-person small{color:#707070;font-size:12px}
.grid-times{border-right:1px solid #ececee;min-width:0}
.grid-time{height:var(--slot,48px);color:#707070;font-size:12px;line-height:1.2;padding:1px 8px 0 0;display:flex;align-items:flex-start;justify-content:flex-end;border-top:1px solid #d8d8dc;transform:none}
.grid-col{position:relative;z-index:0;min-width:0;background-color:#fafafa;background-image:repeating-linear-gradient(to bottom,#d8d8dc 0 1px,transparent 1px var(--slot,48px)),repeating-linear-gradient(to bottom,transparent 0 calc(var(--slot,48px) / 2 - .5px),#e8e8ea calc(var(--slot,48px) / 2 - .5px) calc(var(--slot,48px) / 2 + .5px),transparent calc(var(--slot,48px) / 2 + .5px) var(--slot,48px))}
.grid-col:has(.grid-block:hover),.grid-col:has(.grid-block:focus-visible),.grid-col:has(.grid-block.is-open),.grid-col:has(.grid-block.is-dragging){z-index:6}
.grid-col .grid-now{left:0;right:0}
.grid-block{overflow:hidden;gap:1px;justify-content:flex-start;padding:5px 7px;border:0;border-radius:8px;background:color-mix(in srgb,var(--tone,#0071e3) 20%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone,#0071e3) 28%,transparent);box-sizing:border-box}
.grid-block .grid-stack{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:0;row-gap:1px;min-width:0;width:100%}
.grid-block .grid-name{order:1;display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;font-size:13px;font-weight:700;color:#1d1d1f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-block .grid-name strong{font-size:inherit;font-weight:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-block .grid-service{order:2;min-width:0;max-width:100%;font-size:12px;font-weight:500;color:#5c5c5e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-block .grid-service::before{content:" · "}
.grid-block .grid-when{order:3;flex:1 0 100%;display:block;font-size:11px;font-weight:600;color:#3a3a3c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-block .grid-step{display:inline-grid;place-items:center;width:18px;height:18px;margin:0;border-radius:50%;font-size:10px;font-weight:700;color:#fff;background:#1d1d1f;flex:none}
@container appt (max-width:150px){
  .grid-block .grid-name,.grid-block .grid-service,.grid-block .grid-when{flex:1 0 100%;max-width:none}
  .grid-block .grid-name{order:1}
  .grid-block .grid-when{order:2}
  .grid-block .grid-service{order:3}
  .grid-block .grid-service::before{content:none}
}
.grid-block .grid-tip{display:none;position:absolute;left:calc(100% + 8px);top:0;z-index:8;min-width:180px;max-width:240px;padding:10px 12px;border:1px solid #e6e6e8;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(25,36,60,.14);pointer-events:none}
.grid-block .grid-tip strong{display:block;margin:0 0 4px;font-size:14px;color:#1d1d1f}
.grid-block .grid-tip p{margin:2px 0;font-size:12px;font-weight:500;color:#5c5c5e}
.grid-block:hover,.grid-block:focus-visible,.grid-block.is-open{z-index:12;box-shadow:0 10px 28px rgba(25,36,60,.18)}
.grid-block:hover .grid-tip,.grid-block:focus-visible .grid-tip,.grid-block.is-open .grid-tip{display:grid}
.grid-block.is-dragging{z-index:14}
.grid-block.is-dragging .grid-tip{display:none}
.content.is-grid .grid-scroll{overflow:auto;-webkit-overflow-scrolling:touch}
.content.is-grid .grid-sheet{width:max-content;min-width:100%}
@media(max-width:720px){
  .grid-sheet{grid-template-columns:48px repeat(var(--staff),minmax(var(--col,168px),1fr))}
  .grid-person{min-width:var(--col,168px);padding:10px 8px}
  .grid-person strong{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.2}
  .grid-block{min-width:0}
  @container appt (max-width:150px){
    .grid-block .grid-name,.grid-block .grid-service,.grid-block .grid-when{flex:1 0 100%}
  }
}
.visit-steps li.is-focus{background:#f5f5f7;border-radius:12px}
.team-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:16px;align-items:start}
.team-rail,.team-main,.team-board,.team-main .day-list,.team-main .table-wrap{min-width:0}
.team-main{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:16px 16px 8px;min-width:0}
.team-main .panel{border:0;background:transparent;padding:0;margin:0;border-radius:0}
.employee-form{grid-template-columns:minmax(0,1fr) 140px}
.employee-form input[type=color]{width:72px;height:44px;padding:4px}
dialog .employee-form + .check-line{margin-top:12px}
dialog .employee-online-note{margin:8px 0 0}
dialog .removal-entry{margin-top:12px}
dialog .removal-entry button{border-radius:12px;min-height:44px}
dialog.removal-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import){width:min(440px,calc(100vw - 32px));max-width:440px;border:0;background:#fff;color:#1d1d1f;box-shadow:0 24px 60px rgba(20,34,57,.18)}
dialog.removal-dialog[open] header{display:flex;align-items:center;justify-content:space-between;gap:12px}
dialog.removal-dialog[open] h2{margin:0;font-size:1.25rem}
dialog.removal-dialog[open] .removal-copy{display:grid;gap:10px;min-height:0;overflow:auto;padding:4px 24px 8px}
dialog.removal-dialog[open] .removal-copy p{margin:0;color:#596273;font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}
dialog.removal-dialog[open] .removal-name{color:#1d1d1f;font-size:1rem;font-weight:650}
dialog.removal-dialog[open] .actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:0;padding:12px 24px 20px}
dialog.removal-dialog[open] .actions button{width:auto;flex:0 1 auto;border-radius:12px;min-height:44px}
.week-head h2{margin:0 0 4px;font-size:1.15rem}
.week-head p{margin:0 0 14px}
.week-note{display:flex;align-items:flex-start;gap:8px;margin:0 0 8px;color:#596273;font-size:14px;line-height:1.4}
.week-mark{display:grid;place-items:center;width:18px;height:18px;margin-top:1px;border:1px solid #c7c7cc;border-radius:50%;color:#6e6e73;font-size:11px;font-weight:700;flex:none}
.week-lead{margin:0 0 12px}
.week-days{margin-top:8px}
.week-days > .week-day{display:grid;grid-template-columns:minmax(140px,180px) minmax(0,1fr) auto;gap:8px 16px;align-items:center;min-height:0;padding:8px 0;border-top:1px solid #ececee}
.week-days > .week-day h3{margin:0;font-size:15px;font-weight:650}
.week-periods{display:flex;flex-direction:column;gap:6px;min-width:0}
.week-closed{display:inline-flex;align-items:center;width:fit-content;min-height:32px;padding:0 12px;border-radius:999px;background:#f2f2f4;color:#6e6e73;font-size:14px;font-weight:600}
.week-periods .schedule-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.week-periods .schedule-row input[type=time]{width:128px;min-height:40px;border:1px solid #d2d2d7;border-radius:12px;padding:6px 10px;background:#fff}
.week-dash{color:#6e6e73}
.week-periods .schedule-row [data-remove],.week-periods .schedule-row [data-remove]:hover{width:auto;height:auto;min-height:36px;padding:6px 10px;border:0;border-radius:12px;background:transparent;color:#0071e3;font-weight:600}
.schedule-row.day-hours{display:grid}
.week-days > .week-day [data-add-day],.week-days > .week-day [data-add-day]:hover{border:1px solid #b9d4f5;border-radius:12px;background:#fff;color:#0071e3;min-height:36px;padding:6px 12px;font-weight:600}
.schedule-row.is-invalid input{border-color:#d70015}
.week-error{flex:1 0 100%;color:#d70015;font-size:13px}
.hours-team,.hours-team:hover{border:0;background:transparent;color:#0071e3;border-radius:12px;min-height:36px;padding:6px 8px;font-weight:600}
@media(max-width:720px){
  .week-days > .week-day{grid-template-columns:1fr}
  .week-days > .week-day [data-add-day]{justify-self:start}
  .week-periods .schedule-row input[type=time]{width:auto;flex:1 1 120px}
}
.content.is-hours .topline{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.content.is-hours .topline h1{margin:0;font-size:30px;font-weight:600;line-height:36px;letter-spacing:0}
.content.is-hours .header-tools{display:flex;align-self:flex-end;margin:0 0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px}
.content.is-hours .hours-team,.content.is-hours .hours-team:hover{display:inline-flex;align-items:center;margin:0;padding:0 4px;min-height:44px;border:0;background:transparent;color:#0071e3;font-size:14px;font-weight:600;line-height:20px}
.hours-page{display:flex;flex-direction:column;gap:20px;min-width:0}
.hours-page>.settings-anchors{margin:0}
.hours-stack{display:flex;flex-direction:column;gap:20px;min-width:0}
.hours-card{background:#fff;border:1px solid #dfe3e8;border-radius:12px;padding:24px;margin:0;min-width:0;height:auto}
.hours-card h2{margin:0 0 4px;font-size:22px;font-weight:600;line-height:28px;letter-spacing:0;color:#1d1d1f}
.hours-card>.muted{margin:0 0 12px;font-size:14px;line-height:20px;color:#596273}
.hours-help{margin:0 0 12px}
.hours-help summary{display:flex;align-items:center;gap:8px;min-height:0;padding:0;cursor:pointer;color:#0071e3;font-size:14px;font-weight:600;line-height:20px;list-style:none}
.hours-help summary::-webkit-details-marker{display:none}
.hours-help summary::before{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg);flex:none}
.hours-help[open] summary::before{transform:rotate(45deg)}
.hours-help p{margin:8px 0 0;color:#596273;font-size:14px;line-height:20px}
.hours-page .day-pick{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.hours-page .day-pick label{display:flex;flex-direction:row;align-items:center;gap:12px;width:auto;margin:0;font-size:14px;line-height:20px;color:#1d1d1f}
.hours-page .day-pick input[type=date]{width:180px;height:44px;min-height:44px;border-radius:12px}
.hours-page .table-wrap{margin:0;overflow:visible}
.hours-page .holiday-table,.hours-page .block-table{width:100%;border-collapse:collapse;table-layout:auto}
.hours-page th{width:auto;height:auto;padding:12px 16px;background:#f5f6f8;color:#596273;font-size:14px;font-weight:500;line-height:20px;border-bottom:1px solid #dfe3e8}
.hours-page td{width:auto;height:auto;min-height:0;padding:16px;border-bottom:1px solid #ececee;font-size:16px;line-height:22px;color:#1d1d1f;vertical-align:middle}
.hours-page tr:last-child td{border-bottom:0}
.hours-page .holiday-table td{padding-top:10px;padding-bottom:10px}
.hours-page th.hours-actions,.hours-page td.hours-actions{text-align:right}
.hours-page .holiday-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:8px;margin:0}
.hours-page .day-edit,.hours-page .day-edit:hover,.hours-page .day-more-btn,.hours-page .day-more-btn:hover{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#1d1d1f;font-size:14px;font-weight:500;line-height:20px;white-space:nowrap}
.hours-page .day-edit{width:auto;padding:0 12px}
.hours-page #special-other,.hours-page #special-other:hover{height:36px;min-height:36px;padding:0 12px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#1d1d1f;font-size:14px;font-weight:500}
.hours-page #special-other:hover{background:#f5f5f7}
.hours-page .day-edit:hover,.hours-page .day-more-btn:hover,.hours-page .day-more-btn[aria-expanded="true"]{background:#f5f5f7;color:#1d1d1f}
.hours-page .day-edit::before,.hours-page .day-more-btn::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}
.hours-page .day-edit svg,.hours-page .day-more-btn svg{width:16px;height:16px;flex:none}
.hours-page .day-more-btn{width:36px;padding:0}
.hours-page .block-table [data-delete],.hours-page .block-table [data-delete]:hover{border:0;background:transparent;color:#0071e3;border-radius:12px;height:auto;min-height:0;padding:0;font-size:16px;font-weight:600;line-height:22px}
.day-menu{position:fixed;z-index:80;display:none;min-width:188px;margin:0;padding:4px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(25,36,60,.12)}
.day-menu.is-open,.day-menu:popover-open{display:block}
.hours-page .day-menu button,.hours-page .day-menu button:hover{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#1d1d1f;font-size:14px;font-weight:500;line-height:20px;text-align:left}
.hours-page .day-menu button:hover,.hours-page .day-menu button:focus-visible{background:#f5f5f7}
.hours-page .day-menu button.is-menu-danger,.hours-page .day-menu button.is-menu-danger:hover,.hours-page .day-menu button.is-menu-danger:focus-visible{color:#d70015;background:transparent}
.hours-page .day-menu button.is-menu-danger:hover,.hours-page .day-menu button.is-menu-danger:focus-visible{background:#f5f5f7}
.day-menu button svg{width:16px;height:16px;flex:none}
.day-state{display:inline-flex;align-items:center;height:auto;min-height:0;padding:4px 10px;border-radius:999px;font-size:14px;font-weight:600;line-height:20px}
.day-state.is-open{background:#e5f6ef;color:#0f6b45}
.day-state.is-closed{background:#f2f2f4;color:#3a3a3c}
.day-state.is-special{background:#e8f2ff;color:#0071e3}
.hours-empty{margin:0;color:#596273;font-size:16px;line-height:22px}
#hours-pane .actions{justify-content:flex-end}
@media(max-width:720px){
  .hours-card{padding:16px}
  .content.is-hours .topline{align-items:stretch}
  .content.is-hours .topline h1{margin-left:52px}
  .content.is-hours .header-tools{align-self:stretch;width:100%}
  .content.is-hours #page-action,.content.is-hours #page-action-btn{width:100%}
  .hours-page .holiday-table thead,.hours-page .block-table thead{display:none}
  .hours-page .holiday-table,.hours-page .holiday-table tbody,.hours-page .holiday-table tr,.hours-page .block-table,.hours-page .block-table tbody,.hours-page .block-table tr{display:block;width:auto}
  .hours-page .holiday-table tr,.hours-page .block-table tr{border:1px solid #dfe3e8;border-radius:12px;margin:0 0 12px;padding:12px}
  .hours-page .holiday-table td,.hours-page .block-table td{display:block;width:auto;padding:6px 0;border:0;font-size:16px;line-height:22px;color:#1d1d1f}
  .hours-page .holiday-table td::before,.hours-page .block-table td::before{content:attr(data-label);display:block;margin-bottom:2px;color:#596273;font-size:14px;font-weight:500;line-height:20px}
  .hours-page td.hours-actions,.hours-page th.hours-actions{text-align:left}
  .hours-page .holiday-actions{justify-content:flex-end;flex-direction:row;align-items:center;gap:8px}
  .hours-page .block-table [data-delete]{width:100%;min-height:44px;padding:8px 0}
  .hours-page .day-pick{align-items:stretch}
  .hours-page .day-pick,.hours-page .day-pick label,.hours-page .day-pick input[type=date],.hours-page #special-other{width:100%}
  dialog.is-sheet[open]:not(.renewal-dialog):not(.client-create):not(.client-import){width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
}
dialog .week-days > .week-day{grid-template-columns:1fr}
.team-rail{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:14px 10px}
.team-rail>h2{margin:2px 8px 10px;font-size:13px;font-weight:600;color:#6e6e73}
.team-rail .team-people{display:flex;flex-direction:column;gap:4px;overflow:visible;margin:0;padding:0}
button.team-person{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#1d1d1f;text-align:left;font-weight:500;cursor:pointer}
.team-person small{display:block;color:#707070;font-size:12px;font-weight:500}
.team-rail button.team-person.is-selected,.team-rail button.team-person.is-selected:hover{background:#e8f2ff;color:#1d1d1f;box-shadow:none}
.team-person .avatar,.team-identity .avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;flex:none}
.team-identity .avatar{width:44px;height:44px;font-size:14px}
.team-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #ececee}
.team-identity{display:flex;align-items:center;gap:12px;min-width:0}
.team-identity h2{margin:0;font-size:22px;letter-spacing:-.02em}
.team-identity p{margin:2px 0 0;color:#6e6e73;font-size:13px}
.team-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,280px);gap:8px 16px;align-items:end;margin:0 0 12px}
.team-search .muted{margin:0}
.team-search .day-search{margin:0}
.team-board.is-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:16px;align-items:start}
.team-table{width:100%;border-collapse:collapse;table-layout:fixed}
.team-table col.c-name{width:26%}
.team-table col.c-duration{width:16%}
.team-table col.c-price{width:14%}
.team-table col.c-commission{width:14%}
.team-table col.c-pause{width:14%}
.team-table col.c-action{width:16%}
.team-table th,.team-table td{padding:12px 14px;border-bottom:1px solid #ececee;text-align:left;vertical-align:middle}
.team-table tr.is-selected td{background:#f5f5f7}
.team-form{padding:8px 16px 20px}
.shell .team-table td button.team-config{border:1px solid #d6e6f8;background:#fff;color:var(--brand);border-radius:12px;min-height:36px;padding:6px 12px}
.shell .team-table td button.team-config:hover{background:#f5f9fd;color:var(--brand)}
@media(max-width:900px){
  .team-layout{grid-template-columns:minmax(0,1fr)}
  .team-rail{overflow:hidden}
  .team-rail .team-people{flex-direction:row;overflow:auto;width:100%}
  .team-rail button.team-person{width:auto;min-width:200px}
  .team-search{grid-template-columns:1fr}
  .team-board.is-open{grid-template-columns:minmax(0,1fr)}
  .team-main .panel.table-wrap{overflow:auto}
  .team-table{min-width:720px}
  .employee-form{grid-template-columns:1fr}
  .week-days > .week-day{grid-template-columns:1fr}
}
.report-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:16px;align-items:start}
.report-layout>div,.report-chart,.report-bars{min-width:0;max-width:100%}
.report-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.report-chart h2,.report-staff-title{margin:0 0 12px;font-size:1.05rem}
.report-bars{display:flex;align-items:flex-end;gap:8px;min-height:180px;width:100%;overflow:auto}
.report-bar{display:grid;justify-items:center;align-content:end;gap:4px;flex:1 1 0;min-width:36px}
.report-bar span{display:block;width:min(28px,100%);border-radius:7px 7px 3px 3px;background:#0071e3}
.report-bar b{font-size:12px}
.report-bar small{color:#707070;font-size:11px;text-align:center;overflow-wrap:anywhere}
.report-days,.report-staff{width:100%;border-collapse:collapse;table-layout:fixed}
.report-days th:nth-child(1),.report-days td:nth-child(1){width:28%}
.report-staff th:nth-child(1),.report-staff td:nth-child(1){width:34%}
.report-days th:nth-child(n+2),.report-days td:nth-child(n+2),.report-staff th:nth-child(n+2),.report-staff td:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
dialog[open]:has(>#booking):not(:has(.booking-scroll)){display:block;height:fit-content;max-height:min(86dvh,880px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
dialog[open]:has(>#booking):has(.booking-scroll){display:flex;flex-direction:column;height:fit-content;max-height:min(86dvh,880px);overflow:hidden}
html:has(#modal[open]:has(>#booking)),html:has(#modal[open]:has(>#booking)) body{overflow:hidden}
dialog[open]:has(>#booking)>header{position:sticky;top:0;z-index:2;flex:none;background:#fff}
dialog[open]:has(.booking-scroll)>header{position:static}
dialog[open]>#booking{display:block;flex:none;height:auto;min-height:auto;max-height:none;overflow:visible;padding:4px 24px 20px}
dialog[open]>#booking:has(.booking-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;padding-bottom:0}
#booking-form:has(.booking-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:auto;overflow:hidden}
#booking-form:has(.booking-scroll)>.booking-head,#booking-form:has(.booking-scroll)>.error{flex:none}
#booking-form:has(.booking-scroll)>.error{margin:0}
#booking-form:has(.booking-scroll)>.error:empty{display:none}
#booking-form:has(.booking-scroll)>.error:not(:empty){padding-top:8px}
#booking-form .booking-scroll{flex:1 1 auto;height:auto;min-height:0;max-height:calc(min(86dvh,880px) - 13.5rem);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding-bottom:12px;scroll-padding-bottom:16px}
#booking-form .actions{position:static;bottom:auto}
#booking-form .slots{max-height:none;overflow:visible}
#booking-form .booking-date{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}
#booking-form .booking-clock{color:var(--muted);font-size:.875rem;font-weight:500;line-height:1.35}
#booking-form .repeat-fold{margin-top:12px}
.booking-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.booking-steps{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;list-style:none}
.booking-steps button{border:0;background:transparent;color:#6e6e73;font-weight:600;min-height:40px;padding:6px 0}
.booking-steps button.is-on{color:#0071e3}
.booking-steps button.is-done{color:#1d1d1f}
#booking-form .call-desk{margin:0;padding:0;border:0;border-radius:0;background:transparent}
#booking-form [data-booking-fast]{margin-left:auto;border:1px solid #b7d4f5;color:var(--brand);background:#fff;border-radius:12px;min-height:40px;padding:6px 14px;white-space:nowrap}
#booking-form [data-booking-fast]:hover{background:#f5f9fd;color:var(--brand)}
#append-form .booking-foot{position:sticky;bottom:0;background:#fff;padding-top:12px}
#booking-form .booking-foot{position:static;flex:none;margin-top:0;padding:12px 0 calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);max-width:100%;min-width:0}
#booking-form .booking-nav{max-width:100%;min-width:0}
#booking-form .booking-foot button{max-width:100%}
#booking-form .booking-go{display:none}
#booking-form .booking-foot button,#append-form .booking-foot button{min-height:44px}
.booking-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px}
.booking-nav{display:flex;justify-content:flex-end;gap:8px;margin:0}
#booking-form .booking-foot > button,#append-form .booking-foot > button{margin:0}
#append-form .booking-foot{flex-wrap:nowrap}
#append-form .booking-foot > button{flex:1 1 0;width:auto;min-width:0}
#booking-form [hidden]{display:none !important}
dialog #close-booking,dialog #close-booking:hover,dialog #close-booking:focus,dialog #close-booking:active{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#1d1d1f;font-size:22px;line-height:1;box-shadow:none}
dialog #close-booking:hover,dialog #close-booking:focus{background:#f5f5f7}
@media(max-width:900px){
  .report-layout{grid-template-columns:1fr}
  .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .report-metrics{grid-template-columns:1fr}
}
@media(min-width:901px){
  .content.is-week #view,.content.is-grid #view,.content.is-day #view{min-height:0}
  .content.is-week .day-board,.content.is-grid .day-board,.content.is-day .day-board{min-height:0}
  .content.is-grid .day-board.is-open{grid-template-columns:minmax(0,1fr) minmax(360px,420px);align-items:start;overflow:visible}
  .content.is-grid:has(.day-board.is-open) .day-board{align-items:stretch}
  .content.is-grid:has(.day-board.is-open) .day-list{min-width:0;width:auto;height:auto;min-height:var(--grid-body-floor, 60vh);max-height:var(--grid-body-max, none);align-self:stretch}
  .content.is-grid .day-board .grid-agenda{min-height:0;height:100%;display:flex;flex-direction:column;min-width:0}
  .content.is-grid .grid-scroll{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
  .content.is-grid .grid-sheet{width:max-content;min-width:100%;max-width:none}
  .content.is-grid .day-drawer{position:static;width:auto;overflow:hidden;border-radius:22px;align-self:start;height:auto;max-height:none}
  .content.is-week .day-board.is-open{align-items:stretch;overflow:visible}
  .content.is-week:has(.day-board.is-open) .day-list{height:auto;min-height:calc(100dvh - 210px);max-height:none}
  .content.is-week:has(.day-board.is-open) .day-drawer,
  .content.is-grid:has(.day-board.is-open) .day-drawer{align-self:start}
}
@media(min-width:1100px){
  .shell:not(.nav-icons){grid-template-columns:228px minmax(0,1fr)}
  .shell:not(.nav-icons) .sidebar{align-items:stretch;padding:16px 12px 12px}
  .shell:not(.nav-icons) .sidebar .brand{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:4px 0 18px}
  .shell:not(.nav-icons) .sidebar .brand{min-width:0}
  .shell:not(.nav-icons) .drawer-brand,.shell:not(.nav-icons) .studio-area{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .shell:not(.nav-icons) .sidebar .nav{justify-items:stretch}
  .shell:not(.nav-icons) .sidebar .nav button{width:100%;height:auto;min-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:flex-start;gap:10px;overflow:visible}
  .shell:not(.nav-icons) .sidebar .nav span.nav-label{display:block}
  .shell:not(.nav-icons) .sidebar .nav .nav-long{display:inline;font-size:15px;font-weight:600}
  .shell:not(.nav-icons) .sidebar .nav .nav-short{display:none}
  .shell:not(.nav-icons) .sidebar-foot{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:8px}
  .shell:not(.nav-icons) .rail-account{width:100%}
  .shell:not(.nav-icons) .sidebar-foot .rail-account-btn{width:100%;height:auto;min-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:flex-start;gap:10px}
  .shell:not(.nav-icons) .rail-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
  .nav-collapse{display:flex;align-items:center;justify-content:center;gap:8px;width:46px;height:46px;min-height:46px;padding:0;border:0;border-radius:12px;background:transparent;color:#1d1d1f;font-size:13px;font-weight:600;flex:none;order:-1}
  .nav-collapse:hover{background:#f5f5f7;color:#1d1d1f}
  .nav-collapse-icon{display:grid;place-items:center;line-height:0}
  .shell.nav-icons .sidebar-foot{flex-direction:column;align-items:center;gap:10px}
  .shell.nav-icons .nav-collapse-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .shell:not(.nav-icons) .nav-collapse{width:100%;height:auto;min-height:40px;padding:8px 10px;order:0;border:1px solid #e6e6e8;border-radius:10px;background:#fff}
  .shell:not(.nav-icons) .nav-collapse:hover{background:#f5f5f7}
  .shell:not(.nav-icons) .sidebar .nav button.active{background:#e8f2ff;color:#0071e3}
}
.content.is-agenda .agenda-title{display:flex;align-items:baseline;gap:14px;margin:0 0 10px}
.content.is-agenda .agenda-title h1{display:block;margin:0;font-size:1.75rem;font-weight:650;letter-spacing:-.03em}
.content.is-agenda .agenda-title p{margin:0;font-size:1.15rem;color:#707070}
button.day-row{padding:16px 18px;border-radius:18px;box-shadow:0 8px 24px rgba(29,29,31,.04)}
@media(min-width:901px){button.day-row{grid-template-columns:132px minmax(0,1fr) auto}}
button.day-row.is-selected{background:#f3f8ff;border-color:#9ec5ff;box-shadow:0 0 0 1px #9ec5ff}
.day-row-time strong{font-size:16px}
.day-row-main strong{font-size:18px}
.day-price{color:#1d1d1f;font-size:18px;font-weight:650}
.badge-next{background:#e8f2ff;color:#0071e3}
.day-drawer{border:1px solid #e6e6e8;border-radius:22px;box-shadow:0 10px 30px rgba(29,29,31,.06);overflow:hidden;background:#fff}
.day-drawer-bar{border-radius:22px 22px 0 0}
.day-drawer{position:relative;background:#fff;border:1px solid #e6e8ec;border-radius:18px;box-shadow:0 12px 32px rgba(29,29,31,.08);overflow:hidden}
.day-drawer-bar{position:absolute;top:10px;right:10px;z-index:20;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:0;border:0;background:transparent;border-radius:0;pointer-events:auto}
.day-drawer .visit-sheet{border-radius:0}
.visit-sheet.is-detail{padding:18px 18px 0;background:#fff}
.visit-sheet.is-detail .visit-kicker{margin:0 40px 8px 0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0071e3}
.visit-sheet.is-detail h3{margin:0;font-size:clamp(1.75rem,2.6vw,2.1rem);line-height:1.08;letter-spacing:-.03em;font-weight:700}
.visit-sheet.is-detail .visit-contact{margin:6px 0 0}
.visit-sheet.is-detail .visit-sheet-meta-lines{display:grid;gap:8px;margin:14px 0 0;padding:0 0 16px;border-bottom:1px solid #eceef2}
.visit-sheet.is-detail .visit-sheet-meta-lines>p,
.visit-sheet.is-detail .visit-sheet-time{display:flex;align-items:center;gap:8px;margin:0;color:#5c6370;font-size:.9rem}
.visit-sheet.is-detail .visit-sheet-time-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.visit-sheet.is-detail .visit-sheet-pay{
  display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;
  margin:0 0 0 auto;
}
.visit-sheet.is-detail .visit-sheet-pay strong{font-size:1.15rem;font-weight:700;letter-spacing:-.02em;white-space:nowrap;color:#1d1d1f}
.visit-sheet.is-detail .visit-origin-sep{width:1px;height:16px;background:#d8dde6;flex:none}
.visit-sheet.is-detail .visit-sheet-pay .badge{background:#e8f2ff;color:#0071e3;border-radius:999px;font-weight:600;padding:4px 10px;margin:0}
.visit-sheet.is-detail .visit-meta-ico{display:inline-grid;place-items:center;color:#8a8f98;flex:none;line-height:0}
.visit-sheet.is-detail h4{margin:16px 0 12px;font-size:1rem;font-weight:700;letter-spacing:-.02em}
.visit-sheet.is-detail .visit-sheet-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.visit-sheet.is-detail .sheet-step{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
  margin:0;
  padding:14px 14px 12px;
  border:1px solid #e6e8ec;
  border-radius:14px;
  background:#fff;
  box-shadow:inset 4px 0 0 var(--tone,#0071e3);
}
.visit-sheet.is-detail .sheet-step.is-focus{box-shadow:inset 4px 0 0 var(--tone,#0071e3),0 0 0 2px color-mix(in srgb,var(--tone,#0071e3) 35%,transparent)}
.visit-sheet.is-detail .sheet-step-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.visit-sheet.is-detail .sheet-step-num{
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:#f3f4f7;border:1px solid #e6e8ec;font-size:12px;font-weight:700;color:#1d1d1f;flex:none;
}
.visit-sheet.is-detail .sheet-step.is-on .sheet-step-num{background:#1d1d1f;border-color:#1d1d1f;color:#fff}
.visit-sheet.is-detail .sheet-step-label{
  display:inline-flex;align-items:center;margin:0;padding:3px 9px;border-radius:999px;
  background:#eef1f5;color:#6b7280;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
}
.visit-sheet.is-detail .sheet-step-estado{
  margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;
}
.visit-sheet.is-detail .sheet-step-estado>span{color:#8a8f98;font-size:12px;font-weight:600;white-space:nowrap}
.visit-sheet.is-detail .sheet-step-estado .status-pick{
  width:auto;min-width:8.5rem;max-width:100%;min-height:34px;padding:5px 28px 5px 10px;border-radius:8px;font-size:13px;font-weight:650;
}
.visit-sheet.is-detail .sheet-step-service{display:block;margin:2px 0 0;font-size:1.1rem;font-weight:700;letter-spacing:-.02em;color:#1d1d1f}
.visit-sheet.is-detail .sheet-who{margin:0;font-size:.95rem;font-weight:650;color:var(--tone,#0071e3)}
.visit-sheet.is-detail .sheet-step-schedule{
  display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin-top:4px;
}
.visit-sheet.is-detail .sheet-when{
  display:inline-flex;align-items:center;gap:7px;margin:0;color:#5c6370;font-size:.875rem;font-weight:500;
}
.visit-sheet.is-detail .sheet-when .visit-meta-ico{color:#8a8f98}
.visit-sheet.is-detail .visit-reschedule{
  min-height:34px;padding:6px 12px;border:1px solid #d8dde6;border-radius:10px;
  background:#f5f7fa;color:#3a3f4b;font-size:13px;font-weight:600;box-shadow:none;white-space:nowrap;margin-left:auto;
}
.visit-sheet.is-detail .visit-reschedule:hover{background:#eef1f6;color:#1d1d1f}
.visit-sheet.is-detail .visit-series-cancel{
  display:inline-flex;align-items:center;margin:2px 0 0;padding:8px 0;min-height:40px;
  border:0;border-radius:0;background:none;color:#c2410c;font-size:.9rem;font-weight:600;
  text-align:left;box-shadow:none;width:auto;max-width:100%;
}
.visit-sheet.is-detail .visit-series-cancel:hover{background:none;color:#9a3412;text-decoration:underline}
.visit-sheet.is-detail .visit-step-extra,
.visit-sheet.is-detail .visit-step-decide{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.visit-sheet.is-detail .visit-memory{margin-top:14px;border-top:0;padding-top:4px}
.visit-sheet.is-detail .visit-memory summary{
  display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;
  font-size:.95rem;font-weight:700;color:#1d1d1f;user-select:none;
}
.visit-sheet.is-detail .visit-memory summary::-webkit-details-marker{display:none}
.visit-sheet.is-detail .visit-memory summary::before{
  content:"";width:0;height:0;border-style:solid;border-width:5px 0 5px 7px;
  border-color:transparent transparent transparent #1d1d1f;flex:none;
  transform:translateY(1px);transition:transform .15s ease;
}
.visit-sheet.is-detail .visit-memory[open] summary::before{transform:translateY(1px) rotate(90deg)}
.visit-sheet.is-detail .visit-sheet-foot{
  display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;
  margin:16px -18px 0;padding:14px 18px;border-top:1px solid #eceef2;background:#f7f8fa;
}
.visit-sheet.is-detail .visit-sheet-foot button{width:auto;min-width:0;flex:0 0 auto}
.visit-sheet.is-detail .visit-sheet-foot button:not(.primary){
  border:1px solid #d8dde6;border-radius:12px;background:#eef1f5;color:#1d1d1f;min-height:40px;padding:8px 16px;font-weight:600;
}
.visit-sheet.is-detail .visit-sheet-foot button.primary{border-radius:12px;min-height:40px;padding:8px 16px}
.visit-sheet.is-detail.is-week .visit-sheet-steps{position:static;gap:12px}
.visit-sheet.is-detail.is-week .visit-sheet-steps::before{content:none;display:none}
.visit-sheet.is-detail.is-week .badge{margin-top:0}
.visit-sheet-kicker{display:flex;justify-content:space-between;align-items:center;gap:12px}
.visit-sheet .visit-kicker{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0071e3}
.visit-sheet-kicker time{font-weight:650;color:#1d1d1f}
.visit-sheet h3{margin:8px 0 0;font-size:32px;line-height:1.1;letter-spacing:-.03em}
.visit-sheet-meta{display:flex;flex-wrap:wrap;gap:14px 22px;margin:16px 0 0;padding:0;list-style:none}
.visit-sheet-meta li{display:grid;gap:2px;color:#1d1d1f}
.visit-sheet-meta small{color:#707070}
.visit-sheet h4{margin:22px 0 10px;font-size:16px}
.visit-sheet-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sheet-step{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:12px 14px;border-radius:16px;background:color-mix(in srgb, var(--tone, #0071e3) 14%, #fff)}
.sheet-step>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #e6e6e8;font-size:13px;font-weight:650}
.sheet-step.is-on>span{background:#1d1d1f;color:#fff;border-color:#1d1d1f}
.sheet-when{margin:0;color:#707070;font-size:13px}
.sheet-when b{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#86868b}
.sheet-step strong{display:block;margin-top:2px;font-size:16px}
.sheet-who{margin:2px 0 0;color:#3a3a3c}
.sheet-step .visit-step-actions{justify-content:flex-end;margin-top:8px}
.visit-sheet-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #ececee}
.visit-sheet-foot .badge{margin-right:auto}
.sheet-step.is-focus{box-shadow:0 0 0 2px #0071e3}
@media(max-width:900px){
  .content.is-agenda .topline{flex-wrap:wrap;align-items:flex-start}
  .content.is-agenda .topline>div{flex:1 1 100%;min-width:0}
  .content.is-agenda .agenda-topbar{overflow:visible;flex-wrap:wrap}
  .content.is-agenda:not(.is-grid){overflow-x:hidden}
  .content.is-grid{overflow:hidden;display:flex;flex-direction:column;min-height:0}
  .content.is-grid #view{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .content.is-grid .day-board{flex:1;min-height:0;overflow:hidden}
  .content.is-grid .day-list,.content.is-grid .grid-agenda{min-height:0;display:flex;flex-direction:column;overflow:hidden;min-width:0}
  .content.is-grid .grid-scroll{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
  .content.is-grid .grid-sheet{grid-template-columns:48px repeat(var(--staff),minmax(var(--col,168px),1fr));width:max-content;min-width:100%}
  .content.is-grid .grid-person{min-width:var(--col,168px)}
  .content.is-grid .grid-corner,.content.is-grid .grid-times{position:sticky;left:0;background:#fff}
  .content.is-grid .day-drawer{position:static;overflow:hidden;border-radius:22px;height:auto;max-height:none}
  .content.is-grid:has(.day-board.is-open){overflow-x:hidden;overflow-y:auto}
  .content.is-grid:has(.day-board.is-open) #view{flex:0 0 auto;height:auto;overflow:visible;min-height:0}
  .content.is-grid:has(.day-board.is-open) .day-board{flex:0 0 auto;height:auto;min-height:var(--grid-body-floor, 56dvh);overflow:visible;align-items:stretch}
  .content.is-grid:has(.day-board.is-open) .day-list{height:auto;min-height:var(--grid-body-floor, 56dvh);max-height:var(--grid-body-max, none);align-self:stretch}
  button.day-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
  .day-row-time{grid-column:1;grid-row:1}
  .day-row-time strong{font-size:15px;white-space:nowrap}
  .day-row-side{grid-column:2;grid-row:1;justify-items:end;text-align:right;align-self:start;grid-auto-flow:row}
  .day-row-main{grid-column:1 / -1;grid-row:2}
  .day-drawer{border:1px solid #e6e6e8;border-radius:22px;box-shadow:0 10px 30px rgba(29,29,31,.06);max-height:none;overflow:hidden;background:#fff}
  .visit-sheet h3{font-size:28px;overflow-wrap:anywhere}
  .visit-sheet-kicker{flex-wrap:wrap}
  .visit-sheet-foot{display:grid;justify-items:stretch}
  .visit-sheet-foot .badge{margin:0;justify-self:start}
  .visit-sheet-foot button{width:100%;min-height:44px}
  .sheet-step .visit-step-actions{justify-content:stretch}
  .visit-sheet.is-detail{padding:16px 14px 0}
  .visit-sheet.is-detail .visit-sheet-time-row{align-items:flex-start}
  .visit-sheet.is-detail .visit-sheet-pay{margin-left:0;width:100%;justify-content:flex-start}
  .visit-sheet.is-detail .sheet-step-estado{width:100%;margin-left:0;justify-content:space-between}
  .visit-sheet.is-detail .sheet-step-schedule{align-items:stretch}
  .visit-sheet.is-detail .visit-reschedule{width:100%;margin-left:0;justify-content:center}
  .visit-sheet.is-detail .visit-sheet-foot{
    display:flex;flex-wrap:wrap;justify-content:stretch;gap:8px;margin:16px -14px 0;padding:12px 14px;
  }
  .visit-sheet.is-detail .visit-sheet-foot button{width:auto;flex:1 1 calc(50% - 4px);min-height:44px}
  .visit-sheet.is-detail .visit-sheet-foot button.primary{flex:1 1 100%}
}
@media(max-width:720px){
  .content.is-agenda .agenda-title{margin-left:52px}
  .content.is-agenda .agenda-title h1{font-size:1.45rem;min-height:44px;display:flex;align-items:center;margin:0}
  .content.is-agenda .agenda-title p{margin:2px 0 8px}
  .content.is-agenda .agenda-topbar .seg{width:100%;max-width:none;margin-left:0}
  .content.is-agenda .header-tools{width:100%;flex-wrap:nowrap;align-items:center}
  .content.is-agenda #page-action{flex:1 1 auto;width:auto;min-width:max-content;display:block}
  .content.is-agenda #page-action-btn{width:100%;min-height:44px;padding:8px 12px;font-size:14px;overflow:visible;text-overflow:clip}
}
.agenda-title.is-range{display:flex;align-items:baseline;gap:14px}
.agenda-title.is-range p{margin:0;font-size:1.15rem;color:#707070}
.content.is-week .week-day{min-width:0;min-height:0;margin:0;padding:8px 6px 10px;background:#fff;border:0;border-right:1px solid #ececee;border-radius:0;box-shadow:none;display:flex;flex-direction:column}
@media(min-width:901px){
  .content.is-week .day-board.is-open{grid-template-columns:minmax(0,1fr) minmax(360px,420px)}
  .content.is-week .agenda-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;overflow:hidden;min-width:0;height:100%;border:1px solid #e6e8ec;border-radius:16px;background:#fff;align-items:stretch;padding-bottom:0}
  .content.is-week .week-day{min-height:0;height:100%}
  .content.is-week .week-day:first-child{border-top-left-radius:15px;border-bottom-left-radius:15px}
  .content.is-week .week-day:last-child{border-right:0;border-top-right-radius:15px;border-bottom-right-radius:15px}
  .content.is-week .week-day.today,
  .content.is-week .week-day.is-selected{background:#f3f8ff;border-right:1px solid #e3eefc;box-shadow:none}
  .content.is-week .week-day header{display:grid;grid-template-rows:16px 24px 16px;justify-items:center;align-items:center;gap:1px;margin:0 0 8px;padding:0;border:0;text-align:center;min-height:0}
  .content.is-week .week-cards{min-height:0;overflow:auto}
}
@media(max-width:900px){
  .content.is-week .agenda-week{display:grid;grid-template-columns:1fr;gap:10px;overflow:visible;min-width:0;padding-bottom:0;border:0;border-radius:0;background:transparent;scroll-snap-type:none}
  .content.is-week .week-day{border:1px solid #e6e8ec;border-radius:16px;padding:10px 12px 12px;background:#fff;box-shadow:none}
  .content.is-week .week-day.today,
  .content.is-week .week-day.is-selected{background:#f3f8ff;border-color:#c5d8f5}
  .content.is-week .week-day header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;justify-items:stretch;gap:8px;margin:0 0 8px;padding:0;border:0;text-align:left;min-height:0}
  .content.is-week .week-dow{justify-self:start}
  .content.is-week .week-num{justify-self:start}
  .content.is-week .week-count{justify-self:end;text-align:right}
  .content.is-week .week-cards{flex:none}
  .content.is-week .week-cards:has(.empty){align-content:start}
  .content.is-week .day-board{min-width:0}
  .content.is-week .day-list{min-width:0}
}
.content.is-day .next-up,
.content.is-week .next-up,
.content.is-grid .next-up{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex-wrap:wrap;
  margin:0 0 10px;
  padding:8px 14px;
  border-radius:12px;
  background:#fff;
  color:#1d1d1f;
  box-shadow:0 0 0 1px #e6e8ec;
}
.content.is-day .next-up .visit-kicker,
.content.is-week .next-up .visit-kicker,
.content.is-grid .next-up .visit-kicker{
  margin:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#8a8f98;
}
.content.is-day .next-up strong,
.content.is-week .next-up strong,
.content.is-grid .next-up strong{font-size:15px;font-weight:700;letter-spacing:-.02em}
.content.is-day .next-up time,
.content.is-week .next-up time,
.content.is-grid .next-up time{
  margin-left:auto;
  padding:0;
  border:0;
  font-size:14px;
  font-weight:650;
  color:#1d1d1f;
  white-space:nowrap;
}
.content.is-day .next-up .visit-steps.is-inline,
.content.is-week .next-up .visit-steps.is-inline,
.content.is-grid .next-up .visit-steps.is-inline{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin:0;
  padding:0;
  list-style:none;
}
.content.is-day .next-up .visit-steps.is-inline li,
.content.is-week .next-up .visit-steps.is-inline li,
.content.is-grid .next-up .visit-steps.is-inline li{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
}
.content.is-day .next-up .visit-steps.is-inline li::before,
.content.is-week .next-up .visit-steps.is-inline li::before,
.content.is-grid .next-up .visit-steps.is-inline li::before{display:none}
.content.is-day .next-up .visit-steps.is-inline li>span,
.content.is-week .next-up .visit-steps.is-inline li>span,
.content.is-grid .next-up .visit-steps.is-inline li>span{
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eef2f7;
  border:0;
  font-size:11px;
  font-weight:700;
  color:#5c6370;
}
.content.is-day .next-up .visit-steps.is-inline b,
.content.is-week .next-up .visit-steps.is-inline b,
.content.is-grid .next-up .visit-steps.is-inline b{display:block;font-size:12px;font-weight:650;color:#1d1d1f}
.content.is-day .next-up .visit-steps.is-inline small,
.content.is-week .next-up .visit-steps.is-inline small,
.content.is-grid .next-up .visit-steps.is-inline small{display:block;font-size:12px;color:#8a8f98}
.content.is-week .week-strip,.content.is-week .week-full{display:none}
.content.is-week .week-dow{color:#8a8f98;font-size:12px;font-weight:650;line-height:16px}
.content.is-week .week-num{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:24px;font-size:14px;font-weight:650;color:#1d1d1f;line-height:1}
.content.is-week .week-num b{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:999px;font-weight:700}
.content.is-week .week-num small{font-size:11px;font-weight:600;color:#8a8f98}
.content.is-week .week-day.today .week-num b,
.content.is-week .week-day.is-selected .week-num b{background:#0071e3;color:#fff}
.content.is-week .week-count{color:#8a8f98;font-size:11px;line-height:16px}
.content.is-week .week-cards{
  display:grid;
  gap:6px;
  align-content:start;
  flex:1;
  scrollbar-width:thin;
  scrollbar-color:#d0d5dd transparent;
}
.content.is-week .week-cards::-webkit-scrollbar{width:6px}
.content.is-week .week-cards::-webkit-scrollbar-track{background:transparent}
.content.is-week .week-cards::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:12px}
.content.is-week .week-cards::-webkit-scrollbar-thumb:hover{background:#b8bfc9}
.content.is-week .week-cards:has(.empty){align-content:center}
.content.is-week .week-cards .empty{padding:0 4px;font-size:12px;color:#8a8f98}
@media(min-width:901px){
  .content.is-week{overflow-x:hidden;overflow-y:auto}
  .content.is-week #view{flex:0 0 auto;height:auto;overflow:visible}
  .content.is-week .day-board{flex:0 0 auto;height:auto;min-height:0;overflow:visible}
  .content.is-week .day-list,
  .content.is-week .agenda-week{height:auto;min-height:calc(100dvh - 220px);overflow:clip}
  .content.is-week .week-day{height:auto}
  .content.is-week .week-cards{overflow:visible}
}
.content.is-week button.week-card{
  display:grid;
  gap:2px;
  margin:0;
  padding:8px 9px 8px 11px;
  border:1px solid #e6e8ec;
  border-radius:12px;
  background:#fff;
  color:#1d1d1f;
  text-align:left;
  font-weight:500;
  box-shadow:inset 3px 0 0 var(--tone,#0071e3);
}
.content.is-week button.week-card:hover{background:#fbfbfc;color:#1d1d1f;border-color:#dce0e6}
.content.is-week button.week-card.is-selected{
  border-color:#c5d8f5;
  background:#f7faff;
  box-shadow:inset 3px 0 0 var(--tone,#0071e3),0 0 0 1px #c5d8f5;
}
.content.is-week button.week-card time{font-size:11px;font-weight:700;letter-spacing:-.01em;color:#1d1d1f}
.content.is-week button.week-card>strong{font-size:13px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.content.is-week button.week-card .week-card-count{font-size:11px;color:#8a8f98;font-weight:500}
.content.is-week button.week-card .week-card-state{font-size:12px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.content.is-week button.week-card .week-card-state.is-pending{color:#0071e3}
.content.is-week button.week-card .week-card-state.is-deposit{color:#b45309}
.content.is-week button.week-card .week-card-state.is-missed{color:#9a5b00}
.content.is-week button.week-card .week-people{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}
.content.is-week button.week-card .week-people i{
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--tone,#0071e3);
  color:#fff;
  font-style:normal;
  font-size:9px;
  font-weight:700;
}
.content.is-week button.week-card .week-services{display:grid;gap:1px;margin-top:3px;color:#8a8f98;font-size:11px;line-height:1.3}
.content.is-week button.week-card .week-services span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.visit-sheet.is-week .badge{margin-top:8px}
.visit-sheet-pay{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.visit-sheet-pay strong{font-size:22px;white-space:nowrap}
.visit-sheet-pay .row{display:flex;flex-wrap:nowrap;gap:8px;margin:0}
.visit-sheet-pay .row button{padding:6px 12px;white-space:nowrap}
.visit-sheet.is-week .visit-sheet-steps{position:relative}
.week-line{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;position:relative;padding:12px 0;border-top:0;background:transparent}
.week-line>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f5f5f7;border:1px solid #e6e6e8;font-size:13px;font-weight:650}
.visit-sheet.is-week .visit-sheet-steps{gap:0}
.visit-sheet.is-week .visit-sheet-steps::before{content:"";position:absolute;left:13px;top:24px;bottom:24px;width:2px;background:#e6e6e8}
.visit-sheet.is-week .visit-step-actions{justify-content:flex-start}
.week-line.is-focus{box-shadow:none}
@media(max-width:900px){
  .content.is-agenda .agenda-title{display:block}
}
.treatment-list{display:grid;gap:2px;margin:0 0 12px}
.treatment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:4px 0;min-height:0}
.treatment-row>p{margin:0;flex:1 1 auto;min-width:0;line-height:1.35}
.treatment-row-actions{display:inline-flex;align-items:center;gap:10px;flex:none}
.treatment-row-actions button{border:0;background:none;padding:0;min-height:0;border-radius:0;font-size:.8125rem;font-weight:600;line-height:1.2;color:var(--brand)}
.treatment-row-actions button:hover{background:none;text-decoration:underline}
.custom-multi{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;display:grid;gap:8px;background:#fff}
.custom-multi legend{padding:0 4px;font-size:.875rem;font-weight:600}
.custom-multi .check{padding:2px 0}

/* Vista Dia / Semana / Grelha — controlos secundários alinhados */
.content.is-day .agenda-topbar #prev,
.content.is-day .agenda-topbar #next,
.content.is-day .agenda-topbar #today,
.content.is-day .agenda-topbar .agenda-date input,
.content.is-week .agenda-topbar #prev,
.content.is-week .agenda-topbar #next,
.content.is-week .agenda-topbar #today,
.content.is-week .agenda-topbar .agenda-date input,
.content.is-grid .agenda-topbar #prev,
.content.is-grid .agenda-topbar #next,
.content.is-grid .agenda-topbar #today,
.content.is-grid .agenda-topbar .agenda-date input{
  min-height:38px;
  border:1px solid #e4e7ec;
  border-radius:12px;
  background:#f5f7fa;
  color:#5c6370;
  box-shadow:none;
  font-weight:500;
}
.content.is-day .agenda-topbar #prev:hover,
.content.is-day .agenda-topbar #next:hover,
.content.is-day .agenda-topbar #today:hover,
.content.is-day .agenda-topbar .agenda-date input:hover,
.content.is-week .agenda-topbar #prev:hover,
.content.is-week .agenda-topbar #next:hover,
.content.is-week .agenda-topbar #today:hover,
.content.is-week .agenda-topbar .agenda-date input:hover,
.content.is-grid .agenda-topbar #prev:hover,
.content.is-grid .agenda-topbar #next:hover,
.content.is-grid .agenda-topbar #today:hover,
.content.is-grid .agenda-topbar .agenda-date input:hover{
  background:#eef1f6;
  color:#3a3f4b;
}
.content.is-day .agenda-topbar .seg,
.content.is-week .agenda-topbar .seg,
.content.is-grid .agenda-topbar .seg{
  border:1px solid #e4e7ec;
  border-radius:12px;
  background:#f5f7fa;
  padding:3px;
  gap:2px;
}
.content.is-day .agenda-topbar .seg button,
.content.is-week .agenda-topbar .seg button,
.content.is-grid .agenda-topbar .seg button{
  min-height:32px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#5c6370;
  box-shadow:none;
  font-weight:600;
}
.content.is-day .agenda-topbar .seg button:hover,
.content.is-week .agenda-topbar .seg button:hover,
.content.is-grid .agenda-topbar .seg button:hover{background:#e8ecf2;color:#1d1d1f}
.content.is-day .agenda-topbar .seg button.active,
.content.is-day .agenda-topbar .seg button.active:hover,
.content.is-week .agenda-topbar .seg button.active,
.content.is-week .agenda-topbar .seg button.active:hover,
.content.is-grid .agenda-topbar .seg button.active,
.content.is-grid .agenda-topbar .seg button.active:hover{background:#1d1d1f;color:#fff}
.content.is-day .day-rows{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  justify-content:stretch;
  justify-items:stretch;
  width:100%;
  gap:12px;
}
.content.is-day button.day-row{
  width:100%;
  max-width:none;
  box-sizing:border-box;
  height:auto;
  min-height:0;
  align-self:stretch;
  justify-self:stretch;
  margin:0;
  padding:18px 20px;
  display:grid;
  grid-template-columns:minmax(118px,140px) minmax(0,1fr) auto;
  gap:16px 20px;
  align-items:stretch;
  border:1px solid #e6e8ec;
  border-radius:16px;
  background:#fff;
  color:#1d1d1f;
  font-weight:500;
  text-align:left;
  box-shadow:none;
}
.content.is-day button.day-row:hover{
  background:#fbfbfc;
  color:#1d1d1f;
  border-color:#dce0e6;
}
.content.is-day button.day-row.is-selected{
  background:#f7faff;
  border-color:#c5d8f5;
  box-shadow:0 0 0 1px #c5d8f5;
}
.content.is-day .day-row-time{
  display:grid;
  gap:4px;
  align-content:start;
  font-variant-numeric:tabular-nums;
}
.content.is-day .day-row-time strong{
  font-size:1.125rem;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.2;
  color:#1d1d1f;
  white-space:nowrap;
}
.content.is-day .day-row-time>span{
  color:#8a8f98;
  font-size:.8125rem;
  font-weight:500;
}
.content.is-day .day-row-main{
  min-width:0;
  display:grid;
  gap:6px;
  align-content:start;
}
.content.is-day .day-row-main>strong{
  font-size:1.25rem;
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.15;
}
.content.is-day .day-row-main>.muted{
  font-size:.8125rem;
}
.content.is-day .day-row-main ul{
  list-style:none;
  margin:2px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.content.is-day .day-row-main li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  color:#1d1d1f;
  font-size:.9375rem;
  line-height:1.3;
}
.content.is-day .day-row-main li i{
  width:8px;
  height:8px;
  margin-top:.45em;
  border-radius:50%;
  flex:none;
}
.content.is-day .day-row-service{
  min-width:0;
  display:grid;
  gap:2px;
}
.content.is-day .day-row-service span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-day .day-row-service time{
  color:#8a8f98;
  font-size:.8125rem;
  font-variant-numeric:tabular-nums;
}
.content.is-day .day-row-side{
  display:grid;
  justify-items:end;
  align-content:space-between;
  gap:10px;
  min-width:5.5rem;
  padding-left:18px;
  border-left:1px solid #eceef2;
  text-align:right;
}
.content.is-day .day-row-side .badge{
  margin:0;
  border-radius:999px;
  background:#e8f2ff;
  color:#0071e3;
  font-weight:600;
}
.content.is-day .day-price{
  color:#1d1d1f;
  font-size:1.25rem;
  font-weight:700;
  letter-spacing:-.02em;
}
@media(max-width:900px){
  .content.is-day button.day-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px 14px;
    padding:16px;
  }
  .content.is-day .day-row-time{grid-column:1;grid-row:1}
  .content.is-day .day-row-time strong{font-size:1.05rem;white-space:normal}
  .content.is-day .day-row-side{
    grid-column:2;
    grid-row:1;
    border-left:0;
    padding-left:0;
    align-content:start;
    gap:6px;
  }
  .content.is-day .day-row-main{grid-column:1 / -1;grid-row:2}
  .content.is-day .day-row-service span{white-space:normal}
}

/* Vista Grelha — só apresentação (posição/altura dos blocos intactas) */
.content.is-grid .grid-agenda{
  border:1px solid #e6e8ec;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.content.is-grid .grid-hint{
  margin:0;
  padding:8px 14px;
  border-bottom:1px solid #eceef2;
  color:#8a8f98;
  font-size:12px;
}
.content.is-grid .grid-scroll{
  scrollbar-width:thin;
  scrollbar-color:#d0d5dd transparent;
}
.content.is-grid .grid-scroll::-webkit-scrollbar{width:6px;height:6px}
.content.is-grid .grid-scroll::-webkit-scrollbar-track{background:transparent}
.content.is-grid .grid-scroll::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:12px}
.content.is-grid .grid-scroll::-webkit-scrollbar-thumb:hover{background:#b8bfc9}
.content.is-grid .grid-corner,
.content.is-grid .grid-person{
  background:#f7f8fa;
  border-bottom:1px solid #e6e8ec;
  border-right:1px solid #eceef2;
}
.content.is-grid .grid-corner{min-height:58px}
.content.is-grid .grid-person{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:8px 10px;
}
.content.is-grid .grid-person .avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:700;
  flex:none;
  color:#fff;
}
.content.is-grid .grid-person-meta{
  display:grid;
  gap:2px;
  min-width:0;
}
.content.is-grid .grid-person-meta strong{
  font-size:13px;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-person-meta small{
  color:#8a8f98;
  font-size:11px;
  font-weight:500;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-times{
  background:#fff;
  border-right:1px solid #e6e8ec;
}
.content.is-grid .grid-time{
  height:var(--slot,48px);
  box-sizing:border-box;
  border-top:1px solid #eceef2;
  padding:2px 8px 0 0;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  font-variant-numeric:tabular-nums;
  font-size:11px;
  font-weight:500;
  color:#a0a6b0;
  line-height:1.2;
}
.content.is-grid .grid-time.is-hour{
  border-top-color:#d8dde6;
  color:#5c6370;
  font-weight:650;
  font-size:12px;
}
.content.is-grid .grid-time.is-half{
  border-top-color:#eceef2;
  color:#a0a6b0;
}
.content.is-grid .grid-col{
  position:relative;
  z-index:0;
  min-width:0;
  cursor:pointer;
  border-left:1px solid #eceef2;
  border-bottom:1px solid #e6e8ec;
  background-color:#fff;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--slot,48px) / 2 - .5px),
      #f0f1f4 calc(var(--slot,48px) / 2 - .5px),
      #f0f1f4 calc(var(--slot,48px) / 2 + .5px),
      transparent calc(var(--slot,48px) / 2 + .5px),
      transparent var(--slot,48px)
    ),
    repeating-linear-gradient(
      to bottom,
      #e4e7ec 0 1px,
      transparent 1px var(--slot,48px)
    );
}
.content.is-grid .grid-block{
  overflow:hidden;
  gap:1px;
  justify-content:flex-start;
  padding:5px 7px 5px 8px;
  border:0;
  border-radius:8px;
  background:color-mix(in srgb,var(--tone,#0071e3) 14%,#fff);
  box-shadow:
    inset 3px 0 0 var(--tone,#0071e3),
    inset 0 0 0 1px color-mix(in srgb,var(--tone,#0071e3) 22%,transparent);
  box-sizing:border-box;
}
.content.is-grid .grid-block .grid-stack{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:0;
  row-gap:1px;
  min-width:0;
  width:100%;
}
.content.is-grid .grid-block .grid-name{
  order:1;
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:0;
  max-width:100%;
  font-size:12px;
  font-weight:700;
  color:#1d1d1f;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-block .grid-name strong{
  font-size:inherit;
  font-weight:inherit;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-block .grid-service{
  order:2;
  min-width:0;
  max-width:100%;
  font-size:12px;
  font-weight:500;
  color:#5c6370;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-block .grid-service::before{content:" · "}
.content.is-grid .grid-block .grid-when{
  order:3;
  flex:1 0 100%;
  display:block;
  font-size:11px;
  font-weight:600;
  color:#8a8f98;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.content.is-grid .grid-block .grid-step{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  margin:0;
  border-radius:50%;
  font-size:10px;
  font-weight:700;
  color:#fff;
  background:#1d1d1f;
  flex:none;
}
.content.is-grid .grid-block .grid-state{order:4;flex:1 0 100%;display:block;min-width:0;font-size:11px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.content.is-grid .grid-block.is-pending .grid-state{color:#0071e3}
.content.is-grid .grid-block.is-deposit .grid-state{color:#b45309}
.content.is-grid .grid-block.is-missed .grid-state{color:#9a5b00}
.content.is-grid .grid-block.is-pending{background:#eef3ff}
.content.is-grid .grid-block.is-deposit{background:#fff6e8}
.content.is-grid .grid-block.is-done{background:#e8f6ee}
.content.is-grid .grid-block.is-missed{background:#fff4e5}
.content.is-grid .grid-block.is-absent{box-shadow:inset 3px 0 0 #c2410c,inset 0 0 0 1px color-mix(in srgb,#c2410c 22%,transparent)}
.content.is-grid .grid-block:hover,
.content.is-grid .grid-block:focus-visible,
.content.is-grid .grid-block.is-open{
  z-index:12;
  box-shadow:
    inset 3px 0 0 var(--tone,#0071e3),
    inset 0 0 0 1px color-mix(in srgb,var(--tone,#0071e3) 30%,transparent),
    0 8px 20px rgba(25,36,60,.12);
}
.content.is-grid .grid-block.is-open{outline:2px solid color-mix(in srgb,var(--brand,#0071e3) 55%,transparent);outline-offset:1px}

/* Ordenna Client — só apresentação da lista CRM */
.content.is-clients .topline{margin-bottom:22px;align-items:center;flex-wrap:wrap}
.content.is-clients .header-tools{margin-left:auto;flex-wrap:nowrap}
.content.is-clients .topline h1{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.4em;row-gap:0;font-size:1.75rem;font-weight:650;letter-spacing:-.03em;line-height:1.15}
.content.is-clients .page-line{font-weight:500;color:var(--muted)}
.content.is-clients .client-search-icon{position:absolute;left:14px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#86868b;pointer-events:none}
.content.is-clients .client-search-field input{height:42px;min-height:42px;padding-left:38px;border-color:#d2d2d7;background:#fff;border-radius:12px}
.content.is-clients .client-search-field input::placeholder{color:#86868b;font-weight:400}
.content.is-clients .client-search-row>button{height:42px;min-height:42px;padding:0 16px;border-radius:12px;font-weight:600;box-shadow:none}
.content.is-clients .client-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.content.is-clients #client-archived,
.content.is-clients #client-archived:hover{background:#fff;color:#1d1d1f;border:1px solid #d2d2d7}
.content.is-clients .client-archived-note{margin:0 0 16px}
.content.is-clients .client-count{margin:2px 0 12px;color:var(--muted);font-size:.875rem;line-height:1.4}
.content.is-clients .client-alert{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;background:#f3f5f8;color:#1d1d1f;border:1px solid #e6e8ee;border-radius:12px;font-size:.875rem;line-height:1.45}
.content.is-clients .client-alert p{margin:0}
.content.is-clients .client-alert strong{font-weight:650}
.content.is-clients .client-alert-icon{width:18px;height:18px;flex:none;margin-top:0;color:#3a3a3c}
.content.is-clients .clients-sheet{background:#fff;border:1px solid #e6e6e8;border-radius:16px;box-shadow:none;padding:0;margin:0;overflow:auto}
.content.is-clients .clients-sheet table.clients-table{width:max-content;min-width:100%;border-collapse:collapse}
.content.is-clients .clients-sheet table.clients-table th{text-align:left;background:#fff;color:#6e6e73;font-weight:500;font-size:13px;letter-spacing:-.01em;padding:14px 18px 12px;border-bottom:1px solid #ececee;white-space:nowrap;vertical-align:middle}
.content.is-clients .clients-sheet table.clients-table td{padding:10px 18px;border-bottom:1px solid #f0f0f2;color:#1d1d1f;font-weight:400;font-size:15px;line-height:1.35;vertical-align:middle;background:#fff}
.content.is-clients .client-contacts{display:grid;gap:2px;min-width:0}
.content.is-clients .client-contacts span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.content.is-clients .clients-sheet table.clients-table tbody tr{height:82px}
.content.is-clients .clients-sheet table.clients-table tr:last-child td{border-bottom:0}
.content.is-clients .client-name{font-weight:500;letter-spacing:-.015em;color:#1d1d1f}
.content.is-clients .client-reliability{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0}
.content.is-clients .client-reliability .badge{background:transparent;color:#1d1d1f;border-radius:0;padding:0;font-size:15px;font-weight:500;line-height:1.35}
.content.is-clients .client-reliability-count{color:#6e6e73;font-size:13px;font-weight:400;line-height:1.3}
.content.is-clients .clients-sheet table.clients-table th:last-child,
.content.is-clients .clients-sheet table.clients-table td:last-child{text-align:right;width:1%;white-space:nowrap}
.content.is-clients .clients-sheet table.clients-table td:last-child button{display:inline-flex;align-items:center;gap:6px;min-height:40px;height:40px;padding:0 14px;width:auto;margin:0;font-size:14px;font-weight:600;background:#eef6ff;color:#0071e3;border:1px solid #d6e6f8;border-radius:10px}
.content.is-clients .clients-sheet table.clients-table td:last-child button:hover{background:#e8f3ff;color:#0071e3}
.content.is-clients .clients-sheet .empty{padding:48px 24px}
.content.is-clients .client-pager{margin-top:14px}
.content.is-clients .client-pager button{min-height:40px;height:40px;padding:0 14px;width:auto}
@media(max-width:720px){
  .content.is-clients .topline h1{align-items:center}
  .content.is-clients .panel.table-wrap.clients-sheet:has(table.clients-table){overflow:visible;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
  .content.is-clients .clients-sheet.table-wrap table.clients-table{display:block;width:100%;min-width:0;max-width:100%}
  .content.is-clients .clients-sheet.table-wrap table.clients-table thead{display:none}
  .content.is-clients .clients-sheet.table-wrap table.clients-table tbody{display:grid;gap:10px}
  .content.is-clients .clients-sheet.table-wrap table.clients-table tr,
  .content.is-clients .clients-sheet.table-wrap table.clients-table tbody tr{display:grid;gap:10px;height:auto;background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:14px 16px}
  .content.is-clients .clients-sheet.table-wrap table.clients-table th,
  .content.is-clients .clients-sheet.table-wrap table.clients-table td{display:block;width:auto;min-width:0;max-width:100%;padding:0;border:0;background:transparent;text-align:left;white-space:normal;overflow-wrap:anywhere}
  .content.is-clients .clients-sheet.table-wrap table.clients-table td:last-child{width:auto;text-align:left;white-space:normal}
  .content.is-clients .clients-sheet.table-wrap table.clients-table td:last-child button{width:auto;max-width:100%;margin:2px 0 0}
  .content.is-clients .clients-sheet .client-contacts span{overflow:visible;text-overflow:clip;white-space:normal}
  .content.is-clients .clients-table .phone-label{display:block;margin-bottom:2px}
}

dialog.client-create{width:min(680px,calc(100% - 32px));max-width:680px;max-height:min(90dvh,calc(100% - 32px));overflow:auto;overscroll-behavior:contain;padding:28px;border:0;border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(20,34,57,.18);color:#1d1d1f}
dialog.client-create::backdrop{background:rgba(20,34,57,.45)}
html:has(dialog.client-create[open]),html:has(dialog.client-create[open]) body{overflow:hidden}
dialog.client-create header{align-items:center;margin:0 0 22px}
dialog.client-create h2{font-size:1.35rem;font-weight:650;letter-spacing:-.03em}
dialog.client-create .client-create-form{display:grid;gap:16px}
dialog.client-create .client-create-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
dialog.client-create .client-create-form label{gap:6px;font-size:.875rem;font-weight:600}
dialog.client-create input:not([type="checkbox"]){height:44px;min-height:44px;padding:0 12px;border:1px solid #d2d2d7;border-radius:12px;background:#fff}
dialog.client-create input:not([type="checkbox"]):focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 22%,transparent)}
dialog.client-create .client-create-consent{display:grid;gap:2px;margin:0;padding:0;border-radius:0;background:transparent}
dialog.client-create .client-create-consent label.check{display:flex;align-items:flex-start;gap:10px;margin:0;padding:0;font-weight:500;line-height:1.4;color:#1d1d1f}
dialog.client-create .client-create-consent input{width:18px;height:18px;min-width:18px;min-height:18px;margin:1px 0 0;padding:0;flex:none;border:1px solid #c7c7cc;border-radius:4px;background:#fff;accent-color:#0071e3}
dialog.client-create .client-create-consent .client-create-note,
dialog.client-create .client-create-unique{margin:0;padding-left:28px;color:#596273;font-size:.875rem;font-weight:400;line-height:1.4}
dialog.client-create .error:empty{display:none}
dialog.client-create .error:not(:empty){margin:0;padding:10px 12px;border-radius:10px;background:#fff4f4}
dialog.client-create .actions{justify-content:flex-end;gap:12px;margin-top:8px;padding-top:16px;border-top:1px solid #ececee}
dialog.client-create .actions button{width:auto;flex:0 0 auto;height:44px;min-height:44px;padding:0 18px}
dialog.client-create .actions button[data-close]{background:#fff;color:#1d1d1f;border:1px solid #d2d2d7}
dialog.client-create .actions button[data-close]:hover{background:#f5f5f7;color:#1d1d1f}
@media(max-width:720px){
  dialog.client-create{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:24px 18px}
  dialog.client-create .client-create-pair{grid-template-columns:1fr}
  dialog.client-create .actions{flex-direction:row;align-items:center;justify-content:flex-end}
  dialog.client-create .actions button{width:auto}
}

/* Estúdio — sistema visual partilhado */
.shell:not(.platform-shell) .nav button.active,
.shell:not(.platform-shell) .nav button.active:hover{background:#e8f2ff;color:#0071e3;font-weight:650}
.shell .metric .number,.shell td.num,.shell th.num,dialog td.num,dialog th.num{font-variant-numeric:tabular-nums}
.shell td.num,.shell th.num,dialog td.num,dialog th.num{text-align:right}
.shell .table-wrap td button:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config),
.shell .team-table td button:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config){border:0;background:transparent;color:var(--brand);min-height:40px;padding:6px 4px;border-radius:8px}
.shell .table-wrap td button:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config):hover,
.shell .team-table td button:not(.primary):not(.is-danger):not([data-delete]):not([data-archive-treatment]):not(.team-config):hover{background:#f5f5f7;color:var(--brand)}
.shell .content.is-clients .clients-sheet.table-wrap table.clients-table td:last-child button,
.shell .content.is-clients .clients-sheet.table-wrap table.clients-table td:last-child button:hover{display:inline-flex;align-items:center;gap:6px;border:1px solid #e3eef8;background:#f7fbff;color:#0071e3;border-radius:10px;min-height:40px;height:40px;padding:0 14px}
.shell .content.is-clients .clients-sheet.table-wrap table.clients-table td .client-name-btn,
.shell .content.is-clients .clients-sheet.table-wrap table.clients-table td .client-name-btn:hover{border:0;background:transparent;box-shadow:none;min-height:0;height:auto;padding:0;border-radius:0;color:#0071e3;font-weight:650;text-decoration:none}
.shell .content.is-clients .clients-sheet.table-wrap table.clients-table .reliability-line>span{font-weight:650;color:#1d1d1f}
.shell button[data-delete],.shell button[data-archive-treatment],dialog button[data-delete],dialog button[data-archive-treatment],.treatment-row-actions button[data-delete],.treatment-row-actions button[data-archive-treatment],#delete-client{color:#d70015;background:transparent;border-color:transparent}
.shell button[data-delete]:hover,.shell button[data-archive-treatment]:hover,dialog button[data-delete]:hover,dialog button[data-archive-treatment]:hover,.treatment-row-actions button[data-delete]:hover,.treatment-row-actions button[data-archive-treatment]:hover,#delete-client:hover{background:#fff5f6;color:#d70015;text-decoration:none}
.shell input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=range]),
.shell select,
.shell textarea,
dialog input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=range]),
dialog select,
dialog textarea{min-height:44px;border-radius:12px}
.shell textarea,dialog textarea{min-height:100px;height:auto}
dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import){display:flex;flex-direction:column;max-height:min(86dvh,880px);padding:0;overflow:hidden}
dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>header{flex:none;margin:0;padding:20px 24px 12px}
dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>form{display:flex;flex-direction:column;min-height:0;overflow:auto;padding:4px 24px 20px}
dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import) .actions{position:sticky;bottom:0;margin-top:16px;padding-top:12px;background:#fff}
@media(max-width:720px){
  dialog.client-ficha[open]:not(.renewal-dialog):not(.client-create):not(.client-import){top:0;right:auto;bottom:auto;left:0;width:100%;max-width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;overflow:hidden;touch-action:pan-y}
  dialog.client-ficha[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}
  dialog.client-ficha[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>form{min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:4px 16px calc(20px + env(safe-area-inset-bottom));scroll-padding-top:8px;scroll-padding-bottom:24px}
  dialog.client-ficha[open] .form-grid,
  dialog.client-ficha[open] label,
  dialog.client-ficha[open] .client-book-row,
  dialog.client-ficha[open] .treatment-row,
  dialog.client-ficha[open] .treatment-list,
  dialog.client-ficha[open] .client-history,
  dialog.client-ficha[open] .table-wrap,
  dialog.client-ficha[open] .row{min-width:0;max-width:100%}
  dialog.client-ficha[open] .table-wrap{overflow:visible}
  dialog.client-ficha[open] input:not([type=checkbox]):not([type=radio]),
  dialog.client-ficha[open] select,
  dialog.client-ficha[open] textarea{min-width:0;max-width:100%}
  dialog.client-ficha[open] input[type=date]{display:block;width:100%;min-width:0;-webkit-appearance:none;appearance:none}
  dialog.client-ficha[open] .client-book-row,
  dialog.client-ficha[open] .treatment-row{flex-wrap:wrap;align-items:flex-start}
  dialog.client-ficha[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>form>.actions{position:static;bottom:auto;z-index:auto;box-shadow:none;padding-bottom:0}
  dialog.treatment-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import){top:0;right:auto;bottom:auto;left:0;width:100%;max-width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;overflow:hidden;touch-action:pan-y}
  dialog.treatment-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}
  dialog.treatment-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>form{min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:4px 16px calc(20px + env(safe-area-inset-bottom));scroll-padding-top:12px;scroll-padding-bottom:24px}
  dialog.treatment-dialog[open] .form-grid,
  dialog.treatment-dialog[open] label,
  dialog.treatment-dialog[open] .row{min-width:0;max-width:100%}
  dialog.treatment-dialog[open] input:not([type=checkbox]):not([type=radio]),
  dialog.treatment-dialog[open] select,
  dialog.treatment-dialog[open] textarea{min-width:0;max-width:100%}
  dialog.treatment-dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import)>form>.actions{position:static;bottom:auto;z-index:auto;background:transparent;box-shadow:none;padding-bottom:0}
}
@media(max-width:720px),(max-height:720px){
  html:has(#modal[open]),html:has(#modal[open]) body{overflow:hidden}
  dialog[open]:not(.renewal-dialog):not(.client-create):has(>#booking):not(:has(.booking-scroll)){display:block;height:fit-content;max-height:calc(100svh - 16px);margin:auto;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  dialog[open]:not(.renewal-dialog):not(.client-create):has(>#booking):has(.booking-scroll){display:flex;flex-direction:column;height:fit-content;max-height:calc(100svh - 16px);margin:auto;overflow:hidden}
  dialog[open]:has(>#booking)>header{position:sticky;top:0;z-index:2;flex:none;background:#fff;padding-top:calc(16px + env(safe-area-inset-top))}
  dialog[open]:has(.booking-scroll)>header{position:static}
  dialog[open]:has(>#booking):not(:has(.booking-scroll))>#booking{display:block;flex:none;height:auto;min-height:auto;max-height:none;overflow:visible}
  dialog[open]:has(>#booking):has(.booking-scroll)>#booking{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:auto;max-height:none;overflow:hidden}
  dialog[open]:has(.booking-scroll) #booking-form .booking-scroll{max-height:calc(100svh - 16px - 13.5rem)}
  dialog[open]:has(>#booking) #booking-form .booking-foot,
  dialog[open]:has(>#append-form) #append-form .booking-foot{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
  dialog[open]:has(>#booking) #booking-form,
  dialog[open]:has(>#booking) .form-grid,
  dialog[open]:has(>#booking) .service-menu,
  dialog[open]:has(>#booking) .service-area,
  dialog[open]:has(>#booking) .service-area-nav,
  dialog[open]:has(>#booking) .booking-head,
  dialog[open]:has(>#booking) .booking-steps,
  dialog[open]:has(>#booking) .booking-foot,
  dialog[open]:has(>#booking) .slots{min-width:0;max-width:100%}
  dialog[open]:has(>#booking) label{min-width:0;max-width:100%}
}
@media(max-width:720px){
  dialog[open]:not(.renewal-dialog):not(.client-create):has(>#booking){width:calc(100% - 16px);max-width:calc(100vw - 16px)}
  dialog[open]:has(>#booking)>#booking{padding:4px 16px 8px}
  dialog[open]:has(>#booking) .form-grid{grid-template-columns:minmax(0,1fr)}
  dialog[open]:has(>#booking) input[type=date]{display:block;width:100%;max-width:100%;min-width:0;text-align:center;-webkit-appearance:none;appearance:none}
  dialog[open]:has(>#booking) input[type=date]::-webkit-date-and-time-value,
  dialog[open]:has(>#booking) input[type=date]::-webkit-datetime-edit{min-width:0;width:100%;text-align:center}
  dialog[open]:has(>#booking) .booking-head{flex-direction:column;align-items:stretch}
  dialog[open]:has(>#booking) .booking-steps{flex-wrap:wrap;justify-content:center;gap:0 14px;width:100%}
  dialog[open]:has(>#booking) .booking-steps li{min-width:0}
  dialog[open]:has(>#booking) .booking-steps li:nth-child(3){flex:1 0 100%;display:flex;justify-content:center}
  dialog[open]:has(>#booking) #booking-form [data-booking-fast]{align-self:flex-end;margin-left:0;max-width:100%}
  dialog[open]:has(.booking-scroll) #booking-form .booking-scroll{max-height:max(8rem,calc(100svh - 16px - 19rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}
  dialog[open]:has(>#booking) #booking-form #cancel-booking{display:none}
  dialog[open]:has(>#booking) #booking-form .booking-go{display:block;width:16px;height:16px;flex:none}
  dialog[open]:has(>#booking) #booking-form .booking-foot{flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px}
  dialog[open]:has(>#booking) #booking-form .booking-nav{flex-direction:row;flex:1 1 auto;align-items:center;justify-content:flex-end;width:auto;min-width:0;gap:8px}
  dialog[open]:has(>#booking) #booking-form .booking-foot button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;min-width:44px;min-height:44px;white-space:normal}
  dialog[open]:has(>#booking) #booking-form .booking-label{min-width:0}
  dialog[open]:has(>#booking) #booking-form [data-booking-prev]{flex:0 0 auto;margin-right:auto}
  dialog[open]:has(>#booking) #booking-form [data-booking-next],
  dialog[open]:has(>#booking) #booking-form #confirm-booking{flex:0 1 auto;min-width:0}
}
dialog[open]>#append-form>.slots{flex:none;min-height:72px}
dialog[open]>#append-form>.booking-foot{flex:none}
@media(max-width:720px),(max-height:720px){
  dialog[open]:not(.renewal-dialog):not(.client-create):has(>#append-form){display:block;height:fit-content;max-height:calc(100svh - 16px);margin:auto;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  dialog[open]:has(>#append-form)>header{position:sticky;top:0;z-index:2;background:#fff;padding-top:calc(16px + env(safe-area-inset-top))}
  dialog[open]:has(>#append-form)>#append-form{display:block;overflow:visible;height:auto;min-height:auto;max-height:none}
  dialog[open]:has(>#append-form) .slots{max-height:none}
}
@media(max-width:720px){
  dialog[open]:not(.renewal-dialog):not(.client-create):has(>#append-form){width:calc(100% - 16px);max-width:calc(100vw - 16px)}
  dialog[open]:has(>#append-form)>#append-form{padding:4px 16px calc(20px + env(safe-area-inset-bottom))}
  dialog[open]:has(>#append-form) .form-grid{grid-template-columns:minmax(0,1fr)}
}
.series-sheet .actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
dialog[open]:not(.renewal-dialog):not(.client-create):not(.client-import) .series-overlay .series-actions{position:static;bottom:auto;z-index:auto}
@media(max-width:720px){
  dialog[open] .series-overlay .series-actions button{flex:0 0 auto;height:auto;min-height:44px}
  dialog[open] .series-overlay .series-sheet .actions button{flex:0 0 auto;width:100%;height:auto;min-height:44px;padding:8px 14px}
}
dialog[open] .series-overlay.is-recalc .series-actions{position:static;flex-direction:row;align-items:center;justify-content:flex-end;margin-top:8px;padding-top:0;background:transparent;box-shadow:none}
dialog[open] .series-overlay.is-recalc .series-actions button{flex:0 0 auto;width:auto;height:auto;min-height:44px;border-radius:12px}
@media(max-width:720px){
  dialog[open] .series-overlay.is-recalc .series-actions{flex-direction:column;align-items:stretch}
  dialog[open] .series-overlay.is-recalc .series-actions button{width:100%}
}
.sidebar .company-logo{width:28px;height:28px;border-radius:8px;object-fit:cover;flex:none;background:#f5f5f7}
.sidebar .company-logo.is-empty{display:grid;place-items:center;background:#e8e8ed;color:#1d1d1f;font-size:11px;font-weight:700;letter-spacing:-.02em}
@media(min-width:721px){
  .shell:not(.platform-shell):not(.nav-icons){grid-template-columns:208px minmax(0,1fr)}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar{align-items:stretch;padding:16px 12px 14px}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .brand{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:4px 4px 18px;min-width:0}
  .shell:not(.platform-shell):not(.nav-icons) .studio-area{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650;letter-spacing:-.03em;color:#1d1d1f}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .nav{justify-items:stretch;gap:4px}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .nav button{width:100%;height:auto;min-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:flex-start;gap:10px;overflow:visible;border-radius:10px}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .nav span.nav-label{display:block;min-width:0}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .nav .nav-long{display:inline;font-size:15px;font-weight:600;white-space:normal}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar .nav .nav-short{display:none}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar-foot{width:100%;align-items:stretch}
  .shell:not(.platform-shell):not(.nav-icons) .rail-account{width:100%}
  .shell:not(.platform-shell):not(.nav-icons) .sidebar-foot .rail-account-btn{width:100%;height:auto;min-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:flex-start;gap:10px}
  .shell:not(.platform-shell):not(.nav-icons) .rail-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;color:#1d1d1f}
  .shell:not(.platform-shell) .nav-collapse{display:flex;align-items:center;justify-content:center;gap:8px;width:46px;height:46px;min-height:46px;padding:0;border:0;border-radius:12px;background:transparent;color:#1d1d1f;font-size:13px;font-weight:600}
  .shell:not(.platform-shell) .nav-collapse:hover{background:#f5f5f7;color:#1d1d1f}
  .shell:not(.platform-shell):not(.nav-icons) .nav-collapse{width:100%;height:auto;min-height:40px;padding:8px 10px;border:1px solid #e6e6e8;border-radius:10px;background:#fff}
  .shell.nav-icons .nav-collapse-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .shell:not(.platform-shell) .topline h1{font-size:30px;font-weight:650;letter-spacing:-.03em;line-height:1.15}
  .shell:not(.platform-shell) .content{padding:24px 28px 32px}
}
@media(prefers-reduced-motion:reduce){
  .sidebar{transition:none}
}

.shell.shell-v2:not(.platform-shell){display:flex;flex-direction:column;height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr)}
.shell.shell-v2:not(.platform-shell)>.content{flex:1 1 auto;min-width:0;min-height:0;height:auto;overflow:auto}
.studio-bar{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 16px;background:#fff;border-bottom:1px solid #e6e6e8;position:relative;z-index:35}
.studio-brand{min-width:0;flex:0 1 auto}
.studio-bar .brand{display:flex;align-items:center;gap:10px;min-width:0;color:#1d1d1f;text-decoration:none}
.studio-bar .studio-area{display:block;min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:650;letter-spacing:-.03em;color:#1d1d1f}
.studio-bar .company-logo{width:28px;height:28px;border-radius:8px;object-fit:cover;flex:none;background:#f5f5f7}
.studio-bar .company-logo.is-empty{display:grid;place-items:center;background:#e8e8ed;color:#1d1d1f;font-size:11px;font-weight:700;letter-spacing:-.02em}
.daily-nav,.bar-end,.bar-tools{display:flex;align-items:center;gap:4px;min-width:0}
.bar-end{margin-left:auto;gap:8px}
.bar-tools{position:relative}
.studio-bar .daily-nav button,.studio-bar .gestao-btn{border:0;background:transparent;color:#6e6e73;border-radius:12px;min-height:36px;padding:6px 12px;font-weight:600}
.studio-bar .daily-nav button:hover,.studio-bar .gestao-btn:hover{background:#f5f5f7;color:#1d1d1f}
.studio-bar .daily-nav button.active,.studio-bar .gestao-btn.is-on,.studio-bar .gestao-btn[aria-expanded="true"]{background:#1d1d1f;color:#fff}
.studio-bar .daily-nav button.active:hover,.studio-bar .gestao-btn.is-on:hover,.studio-bar .gestao-btn[aria-expanded="true"]:hover{background:#1d1d1f;color:#fff}
.studio-bar .rail-account-btn{width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;display:grid;place-items:center}
.studio-bar .rail-account-btn:hover,.studio-bar .rail-account-btn[aria-expanded="true"]{background:#f5f5f7;color:#1d1d1f}
.shell.shell-v2 .account-menu{top:calc(100% + 8px);right:0;bottom:auto;left:auto;width:min(280px,calc(100vw - 24px))}
.shell.shell-v2 .account-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e8e8ed;color:#1d1d1f;font-size:12px;font-weight:700}
.gestao-wrap{position:relative}
.gestao-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:min(880px,calc(100vw - 32px));max-height:min(70dvh,640px);overflow:auto;padding:16px;background:#fff;border:1px solid #e6e6e8;border-radius:16px;box-shadow:0 16px 40px rgba(25,36,60,.16)}
.gestao-panel[hidden]{display:none}
.gestao-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
.gestao-column h3{margin:0 0 4px;padding:0 10px;font-size:15px;font-weight:700;color:#1d1d1f}
.gestao-link{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-radius:12px;background:transparent;color:#1d1d1f;padding:8px 10px;min-height:52px;font-weight:500;text-decoration:none}
.gestao-link:hover{background:#f5f5f7;color:#1d1d1f}
.gestao-glyph{width:22px;height:22px;flex:none;color:#1d1d1f}
.gestao-link > span{min-width:0}
.gestao-link strong,.gestao-link .muted{display:block}
.gestao-link strong{font-weight:650;font-size:15px}
.gestao-link .muted{font-weight:500;font-size:13px;color:#596273}
.gestao-link .chev{width:16px;height:16px;margin-left:auto;flex:none;color:#8b93a0}
.gestao-foot{margin-top:8px;padding-top:8px;border-top:1px solid #ececee;display:grid;grid-template-columns:1fr 1fr}
.gestao-foot .gestao-link:first-child{box-shadow:inset -1px 0 0 #ececee}
.manage-page{max-width:980px}
.account-card{max-width:640px}
.shell.shell-v2 .bar-tools .support-dock{position:relative;top:auto;right:auto;bottom:auto;left:auto;flex-direction:row;align-items:center;gap:8px}
.shell.shell-v2 .bar-tools #alert-bell,.shell.shell-v2 .bar-tools .support-chat{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:50%;box-shadow:none}
.shell.shell-v2 .bar-tools .support-note{position:absolute;top:calc(100% + 8px);right:0;bottom:auto;z-index:45;width:min(440px,calc(100vw - 24px));max-height:min(72vh,560px);display:flex;flex-direction:column}
.mobile-daily{display:none}
@media(min-width:721px){
  .shell.shell-v2:not(.platform-shell){display:flex;flex-direction:column;grid-template-columns:minmax(0,1fr);height:100dvh}
  .shell.shell-v2:not(.platform-shell)>.content{height:auto;max-height:none;overflow:auto}
  .shell.shell-v2:not(.platform-shell)>.content.is-grid,.shell.shell-v2:not(.platform-shell)>.content.is-week,.shell.shell-v2:not(.platform-shell)>.content.is-day{overflow:hidden;display:flex;flex-direction:column;min-height:0;height:auto}
}
@media(max-width:900px){
  .gestao-grid,.gestao-foot{grid-template-columns:1fr}
  .gestao-foot .gestao-link:first-child{box-shadow:none}
}
@media(max-width:720px){
  .shell.shell-v2 .daily-nav{display:none}
  .shell.shell-v2 .studio-bar{padding:8px 10px;gap:6px}
  .shell.shell-v2 .studio-area{max-width:96px}
  .shell.shell-v2 .topline{padding-right:0}
  .shell.shell-v2 .topline>div>h1{margin-left:0}
  .shell.shell-v2 .agenda-topbar .seg{width:100%;margin-left:0}
  .shell.shell-v2>.content{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .shell.shell-v2 .gestao-panel{position:fixed;inset:auto 0 0 0;width:auto;max-height:min(85dvh,720px);border-radius:16px 16px 0 0}
  .shell.shell-v2 .mobile-daily{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid #e6e6e8;padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
  .shell.shell-v2 .mobile-daily button{flex:1 1 0;min-width:0;border:0;background:transparent;color:#6e6e73;min-height:48px;border-radius:12px;padding:6px 4px}
  .shell.shell-v2 .mobile-daily button:hover,.shell.shell-v2 .mobile-daily button.active,.shell.shell-v2 .mobile-daily button.active:hover{background:#f5f5f7;color:#1d1d1f}
}
.content.is-clients .client-kicker{margin:2px 0 0;color:#6e6e73;font-size:14px;font-weight:500}
.content.is-clients .client-person{display:flex;align-items:center;gap:12px;min-width:0}
.content.is-clients .client-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none;background:#e8e8ed;color:#1d1d1f;font-size:12px;font-weight:700}
.content.is-clients .client-name-btn{border:0;background:transparent;padding:0;min-height:0;border-radius:0;color:#0071e3;font-weight:650;text-align:left;white-space:normal}
.content.is-clients .client-name-btn:hover{background:transparent;color:#0071e3;text-decoration:underline}
.content.is-clients .client-contacts{display:flex;flex-direction:column;gap:2px;min-width:0}
.content.is-clients .reliability-line{display:inline-flex;align-items:center;gap:8px}
.content.is-clients .reliability-dot{width:8px;height:8px;border-radius:50%;flex:none;background:#aeaeb2}
.content.is-clients .reliability-dot.is-reliable{background:#1f8a4c}
.content.is-clients .reliability-dot.is-ok{background:#6e6e73}
.content.is-clients .reliability-dot.is-caution{background:#c47b00}
.content.is-clients .reliability-dot.is-alert{background:#d70015}
.content.is-clients .reliability-dot.is-unknown{background:#aeaeb2}
dialog.client-create .consent-ask{margin:0}

.agenda-stage{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}
.month-cal{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:12px}
.month-cal-bar{display:flex;align-items:center;gap:8px;min-height:44px}
.month-cal-bar strong{flex:1;text-align:center;font-size:15px}
.month-cal-bar button{min-width:44px;min-height:44px}
.month-cal-dows,.month-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.month-cal-dows{margin-top:8px;color:#6e6e73;font-size:12px}
.month-cal-grid{margin-top:4px}
.cal-day{min-height:36px;border-radius:10px;background:transparent}
.cal-day.is-today{box-shadow:inset 0 0 0 1px #d2d2d7}
.cal-day.is-on{background:#0071e3;color:#fff}
.cal-pad{min-height:36px}
.visit-inline{margin-top:8px;background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:8px 8px 12px}
.visit-inline-bar{display:flex;justify-content:flex-end;padding:0 8px 8px}
.visit-last{margin:4px 0 0;color:#6e6e73}
.content.is-week .day-board.is-open,.content.is-grid .day-board.is-open{grid-template-columns:minmax(0,1fr)}
.content.is-week .day-board.is-open .day-drawer,.content.is-grid .day-board.is-open .day-drawer{position:fixed;top:76px;right:16px;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 96px);overflow:auto;z-index:40;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(29,29,31,.16)}
.team-layout .team-board.is-open{grid-template-columns:minmax(0,1fr)}
.team-layout .team-board.is-open #team-drawer{position:fixed;top:76px;right:16px;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 96px);overflow:auto;z-index:35;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(29,29,31,.16)}
.catalog-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:16px;align-items:start}
.catalog-list,.catalog-editor{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:16px;min-width:0}
.catalog-items{display:flex;flex-direction:column;gap:8px;margin-top:12px;max-height:70vh;overflow:auto}
.catalog-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;min-height:44px;border-radius:12px}
.catalog-item.is-on{box-shadow:inset 0 0 0 2px #0071e3}
.editor-tabs{display:flex;gap:8px;margin:8px 0 16px}
.editor-tabs button{min-height:44px}
.editor-tabs button[aria-current="true"],.editor-tabs button[aria-current="true"]:hover{background:#0071e3;color:#fff}
.cal-day.is-on,.cal-day.is-on:hover{background:#0071e3;color:#fff}
.editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.service-back{display:none}
.catalog-list label,.catalog-editor label{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.booking-summary{margin-top:16px}
.team-main .seg{margin:0 0 16px}
@media(max-width:800px){
  .agenda-stage,.catalog-layout,.place-grid{grid-template-columns:1fr}
  .month-cal.is-collapsed .month-cal-dows,.month-cal.is-collapsed .month-cal-grid{display:none}
  .catalog-layout.is-editing .catalog-list{display:none}
  .catalog-layout.is-editing .service-back{display:inline-flex}
  .content.is-week .day-board.is-open .day-drawer,.content.is-grid .day-board.is-open .day-drawer,.team-layout .team-board.is-open #team-drawer{top:0;right:0;left:0;width:auto;height:100dvh;max-height:none;border-radius:0}
}
@media(min-width:801px){
  .month-cal.is-collapsed .month-cal-dows{display:grid}
  .month-cal.is-collapsed .month-cal-grid{display:grid}
  #cal-toggle{display:none}
}

.shell.shell-v2:not(.platform-shell) > .content.page-shell{
  width:100%;
  max-width:none;
  margin-inline:0;
  padding:32px;
}
.shell.shell-v2 .topline,
.shell.shell-v2 .agenda-topbar,
.shell.shell-v2 #view,
.shell.shell-v2 .catalog-layout,
.shell.shell-v2 .team-layout,
.shell.shell-v2 .settings-layout,
.shell.shell-v2 .place-grid,
.shell.shell-v2 .report-layout,
.shell.shell-v2 .manage-page,
.shell.shell-v2 .account-card,
.shell.shell-v2 .billing{
  width:100%;
  max-width:none;
}
.shell.shell-v2 .table-wrap{width:100%}
.shell.shell-v2 .table-wrap > table{width:100%}
.shell.shell-v2 .settings-sheet,
.shell.shell-v2 .catalog-list,
.shell.shell-v2 .catalog-editor,
.shell.shell-v2 .team-rail,
.shell.shell-v2 .team-main{
  min-width:0;
}
.shell.shell-v2 .settings-sheet .form-grid > label,
.shell.shell-v2 .account-card form > label,
.shell.shell-v2 .catalog-editor .form-grid > label{
  width:100%;
  max-width:640px;
}
.shell.shell-v2 .catalog-layout{grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr)}
.shell.shell-v2 .team-layout{width:100%}
.team-layout .team-board.is-open{grid-template-columns:minmax(0,1fr) minmax(280px,480px)}
.team-layout .team-board.is-open #team-drawer{
  position:relative;
  top:auto;
  right:auto;
  left:auto;
  width:auto;
  height:auto;
  max-height:none;
  box-shadow:none;
  border:1px solid #dfe3e8;
  border-radius:16px;
}
.agenda-date{position:relative}
.cal-pop{
  position:absolute;
  z-index:25;
  top:calc(100% + 8px);
  left:0;
  width:320px;
  background:#fff;
  border:1px solid #dfe3e8;
  border-radius:12px;
  padding:12px;
  box-shadow:0 12px 32px rgba(29,29,31,.12);
}
.cal-pop .month-cal{border:0;padding:0;background:transparent}
.visit-backdrop{
  position:fixed;
  inset:0;
  z-index:39;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:rgba(29,29,31,.28);
}
.visit-backdrop:hover{background:rgba(29,29,31,.28);color:transparent}
@media (max-width:1023px){
  .shell.shell-v2:not(.platform-shell) > .content.page-shell{padding:24px}
}
@media (max-width:720px){
  .shell.shell-v2:not(.platform-shell) > .content.page-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .team-layout .team-board.is-open{grid-template-columns:minmax(0,1fr)}
  .team-layout .team-board.is-open #team-drawer{
    position:fixed;
    top:0;
    right:0;
    left:0;
    width:auto;
    height:100dvh;
    max-height:none;
    border-radius:0;
    z-index:40;
  }
}
@media (max-width:639px){
  .shell.shell-v2:not(.platform-shell) > .content.page-shell{padding:16px}
  .shell.shell-v2:not(.platform-shell) > .content.page-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}
.help-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);grid-template-areas:"talk prep" "talk more";gap:16px 24px;align-items:start}
.help-talk{grid-area:talk;align-self:start;height:auto}
.help-prep{grid-area:prep}
.help-more{grid-area:more}
.help-card{background:#fff;border:1px solid #dfe3e8;border-radius:16px;padding:20px 24px;min-width:0}
.help-card h2{margin:0;font-size:20px;font-weight:650;letter-spacing:-.02em}
.help-card > .muted,.help-prep-status{margin:6px 0 0;color:#596273;font-size:15px}
.help-talk .support-log{max-height:min(280px,34vh);margin:12px 0 0;padding:12px 0;border-top:1px solid #ececee}
.help-talk .support-log:has(.help-empty){display:block;max-height:none}
.help-empty{display:grid;justify-items:center;text-align:center;gap:8px;padding:16px 12px}
.help-empty-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f5f5f7;color:#6e6e73}
.help-empty-mark svg{width:22px;height:22px}
.help-empty strong{color:#1d1d1f;font-size:16px}
.help-empty p{margin:0;max-width:42ch;color:#596273;font-size:14px}
.help-past{border-top:1px solid #ececee}
.help-past summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-weight:650;list-style:none}
.help-past summary::-webkit-details-marker{display:none}
.help-past summary::after{content:"";width:8px;height:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin-top:-4px;flex:none}
.help-past[open] summary::after{transform:rotate(225deg);margin-top:4px}
.help-past section{padding:0 0 12px}
.help-past p{margin:4px 0 0}
.help-talk form{display:grid;gap:8px;border-top:1px solid #ececee;padding-top:14px}
.help-field-label{display:block;margin-bottom:6px;font-weight:650}
.help-talk textarea{width:100%;min-height:80px;resize:vertical}
.help-talk .row{justify-content:flex-end}
.help-prep-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.help-config{border:0;background:transparent;color:var(--brand);min-height:44px;padding:0 0 0 8px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.help-config:hover{background:transparent;color:#0077ed}
.help-config .chev{width:16px;height:16px}
.help-config[aria-expanded="true"] .chev{transform:rotate(180deg)}
.help-prep-body{margin-top:16px;padding-top:16px;border-top:1px solid #ececee}
.help-prep-body[hidden]{display:none}
.help-prep-body .help-steps{grid-template-columns:1fr;margin:16px 0}
.help-prep-body .help-step{padding:14px 16px}
.help-link-block{padding-top:8px;border-top:1px solid #ececee}
.help-link-block h3{margin:0 0 6px;font-size:16px}
.help-links{display:grid;gap:8px;margin-top:14px}
.help-jump{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;text-align:left;font-weight:500;border-radius:12px}
.help-jump:hover{background:#f5f5f7;color:#1d1d1f}
.help-jump-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f5f5f7;flex:none;color:#1d1d1f}
.help-jump-mark svg{width:20px;height:20px}
.help-jump strong,.help-jump small{display:block}
.help-jump strong{font-weight:650}
.help-jump small{color:#596273;font-size:13px;font-weight:500}
.help-jump .chev{width:16px;height:16px;margin-left:auto;flex:none;color:#6e6e73}
@media (min-width:901px){
  .shell.shell-v2:not(.platform-shell) > .content.page-shell:has(.help-layout){padding-top:20px;padding-bottom:20px}
  .content.page-shell:has(.help-layout) .topline{margin-bottom:16px}
}
@media (max-width:900px){
  .help-layout{grid-template-columns:1fr;grid-template-areas:"prep" "talk" "more"}
}
@media (max-width:639px){
  .help-more{display:none}
  .help-card{padding:16px}
  .help-talk form{position:fixed;z-index:28;left:0;right:0;bottom:calc(62px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:8px 16px;border:0;border-top:1px solid #e6e6e8;background:#f5f5f7}
  .help-talk form label{flex:1 1 160px;margin:0}
  .help-field-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
  .help-talk textarea{min-height:44px;height:44px;resize:none;margin:0}
  .help-talk .row{margin:0}
  .help-talk .row button{min-height:44px}
  .help-talk form .error:empty{display:none}
  .help-talk form .error:not(:empty){flex-basis:100%;margin:0}
  .shell.shell-v2:not(.platform-shell) > .content.page-shell:has(.help-layout){padding-bottom:calc(148px + env(safe-area-inset-bottom))}
  .shell.shell-v2:has(#help-support textarea:focus) .mobile-daily{display:none}
  .shell.shell-v2:has(#help-support textarea:focus) #help-support{bottom:0;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
}
.audit-table td{white-space:normal}
.studio-search-wrap{position:relative;min-width:0}
.studio-search{display:inline-flex;align-items:center;gap:8px;min-height:40px;max-width:280px;padding:6px 10px 6px 14px;border:1px solid #dfe3e8;border-radius:12px;background:#f5f5f7;color:#596273;font-weight:500}
.studio-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-search kbd{border:1px solid #dfe3e8;border-radius:6px;background:#fff;padding:2px 6px;font-size:12px;color:#1d1d1f;font-weight:600}
.search-dialog{position:absolute;top:calc(100% + 8px);right:0;z-index:50;width:min(420px,calc(100vw - 32px));max-height:min(70dvh,520px);overflow:auto;background:#fff;border:1px solid #dfe3e8;border-radius:12px;padding:12px;box-shadow:0 16px 40px rgba(29,29,31,.16)}
.search-dialog[hidden]{display:none}
.search-dialog input{width:100%;min-height:44px;margin-bottom:8px}
.search-dialog h3{margin:12px 0 4px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#596273}
.search-hit{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px}
.search-hit:hover,.search-hit:focus{background:#f5f5f7;color:#1d1d1f}
.date-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;background:#fff}
.catalog-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.catalog-chips button[aria-pressed="true"],.catalog-chips button[aria-pressed="true"]:hover{background:#0071e3;color:#fff;border-color:#0071e3}
.catalog-table{width:100%;border-collapse:collapse}
.catalog-table tr[data-pick-service]{cursor:pointer}
.catalog-table tr.is-on{background:#e8f2fc}
.catalog-table th,.catalog-table td{text-align:left;padding:8px 10px;border-bottom:1px solid #eef0f3}
.team-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.sheet-gap{list-style:none;margin:4px 0 8px 36px;color:#596273;font-size:14px}
.visit-sheet.is-detail .sheet-step{border-left:3px solid var(--tone,#0071e3)}
.billing-step{background:#fff;border:1px solid #dfe3e8;border-radius:16px;padding:16px 24px;margin:0 0 16px}
.billing-sms{overflow-x:clip;max-width:100%}
.billing-sms h2{font-size:20px}
.billing-sms h3{margin:16px 0 8px;font-size:1rem}
.billing-sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:12px 0 4px}
.billing-sms-grid div{min-width:0}
.billing-sms-grid dt{margin:0;color:#596273;font-size:.875rem;font-weight:500}
.billing-sms-grid dd{margin:2px 0 0;font-weight:650;overflow-wrap:anywhere}
.billing-sms-grid .is-secondary dd{color:#596273;font-weight:500}
.billing-sms-lead{margin:8px 0 4px}
.billing-sms-lead-label{margin:0;color:#596273;font-size:.875rem;font-weight:500}
.billing-sms-lead-value{margin:2px 0 0;font-size:24px;font-weight:650;letter-spacing:-.02em;line-height:1.15}
.billing-sms-lead .note{margin:8px 0 0}
.billing-sms-note{margin:8px 0 0}
.billing-sms-list{list-style:none;margin:0;padding:0}
.billing-sms-list li{display:flex;flex-wrap:wrap;gap:6px 12px;padding:8px 0;border-bottom:1px solid #eef0f3;overflow-wrap:anywhere}
@media (max-width:480px){
  .billing-step.billing-sms{padding:16px}
  .billing-sms-grid{grid-template-columns:minmax(0,1fr)}
}
.billing-step h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:20px}
.billing-step h2 > span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0071e3;color:#fff;font-size:14px}
.pay-mark{line-height:1.2;height:auto;min-height:44px;padding:8px 12px}
.report-bars{border-bottom:1px solid #dfe3e8;padding-bottom:8px}
.shell.shell-v2 .settings-layout{grid-template-columns:minmax(0,1fr)}
#settings-form.is-company{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:16px;align-items:start}
#settings-form.is-company > .settings-anchors,#settings-form.is-company > .error,#settings-form.is-company > .actions{grid-column:1 / -1}
#settings-form.is-company > .company-side{grid-column:2;grid-row:2}
.company-side{background:#fff;border:1px solid #dfe3e8;border-radius:16px;padding:16px}
@media (max-width:800px){
  #settings-form.is-company{grid-template-columns:1fr}
  #settings-form.is-company > .company-side{grid-column:1;grid-row:auto}
}
@media (max-width:800px){
  .shell.shell-v2 .catalog-layout{grid-template-columns:1fr}
}
@media (max-width:900px){
  .shell.shell-v2 .content.is-agenda .topline{align-items:stretch}
  .shell.shell-v2 .content.is-agenda .topline > div{width:100%}
}
@media (max-width:720px){
  .shell.shell-v2 .topline > div > h1,
  .shell.shell-v2 .content.is-agenda .agenda-title{margin-left:0}
  .shell.shell-v2 .agenda-topbar .seg{width:100%;margin-left:0}
  .shell.shell-v2 .content.is-clients .topline{align-items:stretch}
  .shell.shell-v2 .search-dialog{position:fixed;left:16px;right:16px;top:60px;width:auto}
}
.shell.shell-v2{--page-x:32px}
@media (max-width:1023px){.shell.shell-v2{--page-x:24px}}
@media (max-width:639px){.shell.shell-v2{--page-x:16px}}
.shell.shell-v2 .studio-bar{padding-left:var(--page-x);padding-right:var(--page-x);flex:none}
.shell.shell-v2 .content.is-agenda .topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:16px;width:100%}
.shell.shell-v2 .content.is-agenda .header-tools{grid-column:2;grid-row:1;margin-left:0}
.shell.shell-v2 .content.is-agenda .agenda-topbar{grid-column:1 / -1;grid-row:2;width:100%;margin:0;overflow:visible;background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:8px;gap:8px;box-sizing:border-box}
.shell.shell-v2 .agenda-date{display:inline-flex;position:relative;align-items:center}
@media (max-width:720px){
  .shell.shell-v2 .content.is-agenda .topline{grid-template-columns:1fr}
  .shell.shell-v2 .content.is-agenda .header-tools{grid-column:1;grid-row:2}
  .shell.shell-v2 .content.is-agenda .agenda-topbar{grid-row:3}
  .shell.shell-v2 .content.is-agenda #page-action-btn{width:100%}
  .shell.shell-v2 .agenda-topbar .agenda-date{display:block;min-width:0}
}
.shell.shell-v2 .studio-bar{align-items:stretch;gap:8px;padding-top:0;padding-bottom:0}
.shell.shell-v2 .studio-brand,.shell.shell-v2 .bar-end,.shell.shell-v2 .bar-tools,.shell.shell-v2 .rail-account,.shell.shell-v2 .gestao-wrap,.shell.shell-v2 .studio-search-wrap{display:flex;align-items:center}
.shell.shell-v2 .daily-nav{align-items:stretch;gap:2px;flex:0 1 auto}
.shell.shell-v2 .studio-bar .daily-nav button{border:0;border-radius:0;background:transparent;color:#6e6e73;padding:0 12px;min-height:0;align-self:stretch}
.shell.shell-v2 .studio-bar .daily-nav button:hover{background:transparent;color:#1d1d1f}
.shell.shell-v2 .studio-bar .daily-nav button.active,.shell.shell-v2 .studio-bar .daily-nav button.active:hover{background:transparent;color:#0071e3;box-shadow:inset 0 -2px 0 #0071e3}
.shell.shell-v2 .bar-end{flex:1 1 auto;min-width:0;justify-content:flex-end;gap:8px}
.shell.shell-v2 .studio-search-wrap{flex:1 1 160px;max-width:280px;min-width:0}
.shell.shell-v2 .studio-search{width:100%;max-width:none;min-width:0;overflow:hidden;border:0;background:#f5f5f7;color:#6e6e73;font-weight:500}
.shell.shell-v2 .studio-search:hover{background:#f5f5f7;color:#6e6e73}
.shell.shell-v2 .studio-search .search-glyph{width:16px;height:16px;flex:none}
.shell.shell-v2 .studio-search span{flex:1 1 auto;min-width:0;text-align:left}
.shell.shell-v2 .studio-search kbd{flex:none}
.shell.shell-v2 .gestao-wrap,.shell.shell-v2 .bar-tools,.shell.shell-v2 .rail-account{flex:none}
.shell.shell-v2:not(.platform-shell) .rail-account{width:auto}
.shell.shell-v2 .studio-bar .gestao-btn,.shell.shell-v2 .studio-bar .gestao-btn:hover,.shell.shell-v2 .studio-bar .gestao-btn.is-on,.shell.shell-v2 .studio-bar .gestao-btn[aria-expanded="true"],.shell.shell-v2 .studio-bar .gestao-btn.is-on:hover,.shell.shell-v2 .studio-bar .gestao-btn[aria-expanded="true"]:hover{display:inline-flex;align-items:center;gap:4px;border-radius:8px;background:transparent;color:#1d1d1f}
.shell.shell-v2 .studio-bar .gestao-btn.is-on,.shell.shell-v2 .studio-bar .gestao-btn[aria-expanded="true"],.shell.shell-v2 .studio-bar .gestao-btn.is-on:hover,.shell.shell-v2 .studio-bar .gestao-btn[aria-expanded="true"]:hover{color:#0071e3}
.shell.shell-v2 .gestao-btn .chev{width:14px;height:14px}
.shell.shell-v2 .bar-tools .support-chat{display:none}
.shell.shell-v2 .bar-tools #alert-bell{border:0;background:transparent;color:#1d1d1f}
.shell.shell-v2 .bar-tools #alert-bell:hover{background:#f5f5f7;color:#1d1d1f}
.shell.shell-v2 .account-avatar{width:36px;height:36px;background:#e8e8ed;color:#1d1d1f;font-size:13px;font-weight:650}
.shell.shell-v2 .studio-bar .brand{gap:8px}
.shell.shell-v2 .studio-bar .brand-mark{width:28px;height:28px}
.shell.shell-v2 .studio-bar .studio-area{max-width:none;font-size:17px;font-weight:650;letter-spacing:-.03em;color:#1d1d1f}
.shell.shell-v2 .studio-bar .company-logo{border-radius:50%}
.shell.shell-v2:not(.platform-shell):has(> .content.is-day){overflow:hidden}
.shell.shell-v2:not(.platform-shell) > .content.page-shell.is-day{overflow-x:hidden;overflow-y:auto}
.content.is-day .day-count{margin:0 0 8px;font-size:20px;font-weight:650}
.content.is-day .day-count:has(+ .day-pending){margin-bottom:2px}
.content.is-day .day-pending{margin:0 0 8px;color:#0071e3;font-size:14px;font-weight:650;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.content.is-day .day-status{flex:none;max-width:100%}
.content.is-day .day-status-label{display:inline-block;max-width:100%;min-height:28px;padding:4px 10px;border-radius:8px;background:#eef3ff;color:#0071e3;font-size:13px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.content.is-day .day-sheet{background:#fff;border:1px solid #e6e6e8;border-radius:16px}
.content.is-day .visit-item.is-open{background:#e8f3ff}
.content.is-day .visit-item+.visit-item{border-top:1px solid #eef0f3}
.content.is-day .day-line{display:flex;align-items:center;gap:8px;min-height:64px;padding:6px 10px 6px 8px}
.content.is-day .visit-item.is-open .day-line{align-items:center;padding-top:12px;gap:12px}
.content.is-day .day-main{flex:1 1 auto;display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;padding:4px 6px;border:0;border-radius:10px;background:transparent;color:#1d1d1f;text-align:left;font-weight:500}
.content.is-day .day-main:hover{background:transparent;color:#1d1d1f}
.content.is-day .day-index{width:28px;height:28px;flex:none;display:grid;place-items:center;border:1px solid #d2d2d7;border-radius:50%;color:#6e6e73;font-size:13px;font-weight:650;background:#fff}
.content.is-day .day-tone{width:3px;align-self:stretch;min-height:28px;border-radius:3px;flex:none}
.content.is-day .day-name,.content.is-day .day-name-line strong,.content.is-day .day-step-copy strong{font-size:16px;font-weight:650;letter-spacing:-.02em}
.content.is-day .day-summary{flex:1 1 auto;min-width:0;color:#6e6e73;font-size:14px}
.content.is-day .day-who{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
.content.is-day .day-name-line{display:flex;align-items:center;gap:8px;min-width:0}
.content.is-day .day-origin{background:#e8f1fb;color:#0071e3;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:650}
.content.is-day .day-when{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.content.is-day .day-price{white-space:nowrap;font-variant-numeric:tabular-nums}
.content.is-day .day-side{display:inline-flex;align-items:center;gap:16px;flex:none;margin-left:auto}
.content.is-day .day-side .day-when{margin-left:0;font-size:var(--type-body);font-weight:400;letter-spacing:normal}
.content.is-day .day-side .day-price{font-size:var(--type-total);font-weight:600}
.content.is-day .day-ficha,.content.is-day .day-append,.content.is-day .day-step .visit-reschedule{border:0;background:transparent;color:#0071e3;min-height:36px;padding:6px 8px;font-weight:600}
.content.is-day .day-ficha:hover,.content.is-day .day-append:hover,.content.is-day .day-step .visit-reschedule:hover{background:transparent;color:#0071e3}
.content.is-day .day-ficha{display:inline-flex;align-items:center;gap:6px}
.content.is-day .day-side .day-ficha{min-height:0;padding:0}
.content.is-day .day-ficha svg{width:14px;height:14px;color:#8e8e93}
.content.is-day .day-split{width:1px;height:16px;background:#d5dbe3;flex:none}
.content.is-day .day-toggle{width:36px;height:36px;flex:none;padding:0;border:0;border-radius:8px;background:transparent;color:#6e6e73;display:grid;place-items:center}
.content.is-day .day-toggle:hover{background:#f5f5f7;color:#1d1d1f}
.content.is-day .visit-item.is-open .day-toggle{align-self:center}
.content.is-day .day-chevron{width:16px;height:16px}
.content.is-day .day-status .status-pick{height:28px;min-height:28px;padding:0 22px 0 10px;border-radius:8px;font-size:13px;font-weight:600;line-height:26px}
.content.is-day .day-detail{padding:0 12px 12px 52px}
.content.is-day .day-steps{list-style:none;margin:0;padding:0}
.content.is-day .day-step{display:grid;grid-template-columns:28px 3px minmax(0,1fr) auto auto;gap:12px;align-items:center;min-height:68px}
.content.is-day .day-step-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.content.is-day .day-staff{color:var(--tone,#0071e3);font-size:14px;font-weight:650}
.content.is-day .day-person{color:var(--muted);font-size:14px;font-weight:400;line-height:1.4}
.content.is-day .day-clock{display:inline-flex;align-items:center;gap:6px;color:#6e6e73;font-size:13px}
.content.is-day .day-clock svg{width:14px;height:14px;flex:none}
.content.is-day .day-gap{display:flex;align-items:center;gap:8px;min-height:28px;margin:0 0 4px 40px;color:#6e6e73;font-size:13px}
.content.is-day .day-gap::before{content:"";width:8px;height:8px;border-radius:50%;background:#d2d2d7;flex:none}
.content.is-day .day-step-extra{padding:0 0 8px 44px}
.content.is-day .day-detail-foot{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding-top:8px}
.content.is-day .day-detail .visit-memory{margin:8px 0 0;border-top:1px solid #eef0f3;padding:0}
.content.is-day .visit-memory summary{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 2px;list-style:none;cursor:pointer;font-size:15px;font-weight:500;color:#1d1d1f}
.content.is-day .visit-memory summary::-webkit-details-marker{display:none}
.content.is-day .visit-memory summary::marker{content:""}
.content.is-day .visit-memory summary::before{content:"";width:18px;height:18px;flex:none;border:0;background:#6e6e73;transform:none;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 8v5l3 2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 8v5l3 2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat}
.content.is-day .visit-memory[open] summary::before{transform:none}
.content.is-day .visit-memory summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:1.6px solid #8a8f98;border-bottom:1.6px solid #8a8f98;transform:rotate(45deg);flex:none}
.content.is-day .visit-memory[open] summary::after{transform:rotate(-135deg)}
@media (max-width:720px){
  .content.is-day .day-line{flex-wrap:wrap}
  .content.is-day .day-main{flex-wrap:wrap}
  .content.is-day .day-when{margin-left:0}
  .content.is-day .day-step{grid-template-columns:28px 3px minmax(0,1fr)}
  .content.is-day .day-step .visit-reschedule,.content.is-day .day-step .day-status{grid-column:3}
  .content.is-day .day-detail{padding-left:12px}
}
@media (max-width:900px){
  .shell.shell-v2 .studio-search kbd{display:none}
}
@media (max-width:720px){
  .shell.shell-v2 .studio-bar{align-items:center;min-height:48px;height:48px;padding:0 16px;gap:8px}
  .shell.shell-v2 .studio-bar .brand{gap:8px}
  .shell.shell-v2 .studio-bar .brand-mark,.shell.shell-v2 .studio-bar .company-logo{width:26px;height:26px}
  .shell.shell-v2 .bar-end,.shell.shell-v2 .bar-tools{gap:2px;align-items:center}
  .shell.shell-v2 .studio-bar .gestao-btn,.shell.shell-v2 .studio-bar .gestao-btn:hover{min-height:32px;height:32px;padding:0 4px;border-radius:8px;font-size:15px;font-weight:600}
  .shell.shell-v2 .studio-search span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .shell.shell-v2 .studio-search,.shell.shell-v2 .studio-search:hover{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;justify-content:center;border:0;border-radius:8px;background:transparent;color:#1d1d1f;box-shadow:none}
  .shell.shell-v2 .studio-search .search-glyph{width:20px;height:20px}
  .shell.shell-v2 .studio-search-wrap{flex:none;max-width:none}
  .shell.shell-v2 .bar-tools #alert-bell,.shell.shell-v2 .bar-tools #alert-bell:hover{width:32px;height:32px;min-width:32px;min-height:32px}
  .shell.shell-v2 .bar-tools #alert-bell svg{width:20px;height:20px}
  .shell.shell-v2 .studio-bar .rail-account-btn{width:28px;height:28px}
  .shell.shell-v2 .account-avatar{width:28px;height:28px;font-size:11px}
}
@media (min-width:721px){
  .shell.shell-v2 .gestao-panel{max-height:none;overflow:visible}
}
.shell.shell-v2 .daily-nav{margin-left:40px}
.content.is-day .agenda-topbar .seg button.active,
.content.is-day .agenda-topbar .seg button.active:hover,
.content.is-week .agenda-topbar .seg button.active,
.content.is-week .agenda-topbar .seg button.active:hover,
.content.is-grid .agenda-topbar .seg button.active,
.content.is-grid .agenda-topbar .seg button.active:hover{background:#0071e3;color:#fff}
.shell.shell-v2 .agenda-topbar .agenda-split{width:1px;height:28px;margin:0 6px;background:#d5dbe3;flex:none}
.shell.shell-v2 .agenda-topbar #prev,.shell.shell-v2 .agenda-topbar #next{width:38px;padding:0;display:grid;place-items:center}
.shell.shell-v2 .agenda-topbar #prev svg,.shell.shell-v2 .agenda-topbar #next svg{width:18px;height:18px}
.content.is-day .agenda-topbar .seg,
.content.is-week .agenda-topbar .seg,
.content.is-grid .agenda-topbar .seg{gap:12px}
.content.is-day .agenda-topbar .seg button,
.content.is-week .agenda-topbar .seg button,
.content.is-grid .agenda-topbar .seg button{position:relative}
.content.is-day .agenda-topbar .seg button + button::before,
.content.is-week .agenda-topbar .seg button + button::before,
.content.is-grid .agenda-topbar .seg button + button::before{content:"";position:absolute;left:-6px;top:8px;bottom:8px;width:1px;background:#cfd5de;pointer-events:none}

/* Tipografia partilhada. O lettering Ordenna mantém a família original. */
.brand-name,.brand-tag,.brand-lockup{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif}
.shell{color:var(--ink);font-size:var(--type-body);font-weight:400;line-height:1.5}
.shell .topline h1,.content.is-agenda .agenda-title h1{font-size:var(--type-page);font-weight:600;line-height:1.2;letter-spacing:-.02em}
.shell .content h2,.shell .panel>h2,.shell .panel>h3,.shell .settings-block>h3,.shell .billing-section-title,dialog h2,dialog.client-create h2{font-size:var(--type-section);font-weight:600;line-height:1.2;letter-spacing:normal}
.shell .visit-item.is-open .day-name-line strong,.shell .visit-sheet-head h3{font-size:var(--type-client);font-weight:600;line-height:1.2;letter-spacing:normal}
.shell .day-name,.shell .day-step-copy strong,.shell .sheet-step-service,.shell h3{font-size:var(--type-line);font-weight:600;line-height:1.3;letter-spacing:normal}
.shell label,dialog label,dialog.client-create .client-create-form label{font-size:var(--type-label);font-weight:500;line-height:1.3}
.shell input:not([type=checkbox]):not([type=radio]):not([type=color]),.shell select,.shell textarea,dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{font-size:var(--type-body);font-weight:400;line-height:1.5}
.shell .daily-nav button,.shell .gestao-btn,.shell .mobile-daily button,.shell button.primary,.shell .actions button{font-size:var(--type-body);font-weight:500;line-height:1.3}
.shell .daily-nav button,.shell .gestao-btn,.shell button.primary,.shell .actions button{min-height:44px}
.shell .muted,.shell .day-summary,.shell .day-clock,.shell .day-staff,.shell .agenda-title p,.shell .note,.shell .consent-option small,.shell .field-info-pop p,.shell .error{font-size:var(--type-meta);font-weight:400;line-height:1.5}
.content.is-day .day-summary,.content.is-day .day-clock,.content.is-agenda .agenda-title p,.shell .muted,.shell .note{color:var(--ink-secondary)}
.shell th{font-size:var(--type-meta);font-weight:500;line-height:1.3}
.shell .badge,.content.is-day .day-origin{font-size:var(--type-badge);font-weight:500;line-height:1.3}
.shell .day-side .day-price{font-size:var(--type-total);font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.shell .day-when,.shell .day-price,.shell .day-clock,.shell td.service-price{font-variant-numeric:tabular-nums}
.services-table td.service-price{font-size:var(--type-line);font-weight:600}
.content.is-clients .clients-sheet table.clients-table th,.services-table thead th{font-size:var(--type-meta);font-weight:500}
.content.is-clients .clients-sheet table.clients-table td{font-size:var(--type-body);line-height:1.5}
.content.is-clients .clients-sheet.table-wrap table.clients-table td:last-child button{font-size:var(--type-body);font-weight:500;min-height:44px;height:44px}
.content.is-clients .client-name-btn{font-size:var(--type-line);font-weight:600;line-height:1.3}
@media (max-width:1099px){
  .shell .topline h1,.content.is-agenda .agenda-title h1{font-size:1.75rem}
}
@media (max-width:639px){
  :root{--type-page:1.5rem;--type-section:1.25rem;--type-client:1.125rem}
  .shell .topline h1,.content.is-agenda .agenda-title h1{font-size:var(--type-page)}
  .shell input:not([type=checkbox]):not([type=radio]):not([type=color]),.shell select,.shell textarea,dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{font-size:1rem}
}
.shell.shell-v2:not(.platform-shell):has(> .content.is-week),
.shell.shell-v2:not(.platform-shell):has(> .content.is-grid){overflow:hidden}
.shell.shell-v2:not(.platform-shell) > .content.page-shell.is-week,
.shell.shell-v2:not(.platform-shell) > .content.page-shell.is-grid{overflow-x:hidden;overflow-y:auto}
.shell.shell-v2 .content.is-week #view,
.shell.shell-v2 .content.is-grid #view,
.shell.shell-v2 .content.is-week .day-board,
.shell.shell-v2 .content.is-grid .day-board,
.shell.shell-v2 .content.is-week .day-list,
.shell.shell-v2 .content.is-grid .day-list,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .day-list{flex:none;height:auto;min-height:0;max-height:none;overflow:visible}
.shell.shell-v2 .content.is-week .week-day,
.shell.shell-v2 .content.is-week .week-cards{height:auto;min-height:0;max-height:none;overflow:visible}
.shell.shell-v2 .content.is-week .agenda-week{height:auto;min-height:0;max-height:none;overflow:clip}
.shell.shell-v2 .content.is-grid .grid-agenda,
.shell.shell-v2 .content.is-grid .grid-scroll,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .grid-agenda,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .grid-scroll{flex:none;height:auto;min-height:0;max-height:none;overflow:visible}
.cal-pop .month-cal-dows span{display:grid;place-items:center;text-align:center}
.cal-pop .cal-day{display:grid;place-items:center;width:100%;aspect-ratio:1;height:auto;min-height:0;padding:0;text-align:center;line-height:1;font-variant-numeric:tabular-nums}
.daily-nav .nav-glyph,.append-short{display:none}
@media (max-width:720px){
  .shell.shell-v2 .content.is-agenda .agenda-topbar{display:flex;flex-wrap:wrap;background:transparent;border:0;padding:0;gap:8px;box-shadow:none}
  .shell.shell-v2 .agenda-topbar .seg{flex:1 0 100%;background:#fff;border:1px solid #e6e6e8;border-radius:12px}
  .shell.shell-v2 .agenda-topbar .seg button{flex:1}
  .shell.shell-v2 .agenda-topbar .agenda-split{display:none}
  .shell.shell-v2 .agenda-topbar #prev,.shell.shell-v2 .agenda-topbar #next,.shell.shell-v2 .agenda-topbar #today,.shell.shell-v2 .agenda-topbar .agenda-date{background:#fff;border:1px solid #e6e6e8;border-radius:12px;min-height:44px}
  .shell.shell-v2 .agenda-topbar .agenda-date{flex:1 1 auto;display:flex;min-width:0;overflow:visible}
  .shell.shell-v2 .agenda-topbar .date-pill{width:100%;border:0;background:transparent;justify-content:center;min-height:44px}
  .cal-pop{position:fixed;z-index:45;top:auto;left:16px;right:16px;width:auto;max-height:min(70dvh,440px);overflow:auto}
  .shell.shell-v2 .agenda-topbar #prev,.shell.shell-v2 .agenda-topbar #next{width:44px;flex:none}
  .shell.shell-v2 .agenda-topbar #today{flex:none;padding:0 14px}
  .content.is-day .visit-item.is-open .day-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:2px 10px;align-items:center;padding:14px 12px 8px}
  .content.is-day .visit-item.is-open .day-main,.content.is-day .visit-item.is-open .day-who{display:contents}
  .content.is-day .visit-item.is-open .day-line .day-index{display:none}
  .content.is-day .visit-item.is-open .day-name-line{grid-column:1;grid-row:1;min-width:0;align-self:center}
  .content.is-day .visit-item.is-open .day-name-line strong{min-width:0}
  .content.is-day .visit-item.is-open .day-summary{grid-column:1;grid-row:2;align-self:center}
  .content.is-day .visit-item.is-open .day-side{display:contents}
  .content.is-day .visit-item.is-open .day-split{display:none}
  .content.is-day .visit-item.is-open .day-when{grid-column:2;grid-row:1;justify-self:end;align-self:center;font-size:14px;font-weight:400}
  .content.is-day .visit-item.is-open .day-price{grid-column:2;grid-row:2;justify-self:end;align-self:center;font-size:var(--type-total);line-height:1.2}
  .content.is-day .visit-item.is-open .day-toggle{grid-column:3;grid-row:1;align-self:center}
  .content.is-day .visit-item.is-open .day-ficha{grid-column:1 / -1;grid-row:3;justify-self:start;width:auto;padding:8px 0 4px}
  .content.is-day .visit-item.is-open .day-ficha svg{order:1}
  .content.is-day .day-step{grid-template-columns:28px 3px minmax(0,1fr);gap:8px 10px;align-items:start}
  .content.is-day .day-step .day-index{grid-column:1;grid-row:1}
  .content.is-day .day-step .day-tone{grid-column:2;grid-row:1;align-self:stretch;min-height:44px}
  .content.is-day .day-step .day-step-copy{grid-column:3;grid-row:1}
  .content.is-day .day-step .day-status{grid-column:3;grid-row:2;width:fit-content}
  .content.is-day .day-step .day-status .status-pick{height:36px;min-height:36px;border-radius:8px}
  .content.is-day .day-step .visit-reschedule{grid-column:3;grid-row:3;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border:1px solid #c5ddf7;border-radius:12px;background:#e8f3ff;color:#0071e3}
  .content.is-day .visit-item.is-open .day-step .visit-reschedule,.content.is-day .visit-item.is-open .day-step .visit-reschedule:hover{background:#fff}
  .content.is-day .day-step .visit-reschedule:hover{background:#e8f3ff;color:#0071e3}
  .content.is-day .day-step .visit-reschedule::before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 8v5l3 2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 8v5l3 2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat}
  .content.is-day .day-gap{position:relative;margin:10px 0;justify-content:center;min-height:28px}
  .content.is-day .day-gap::before{display:block;position:absolute;left:11px;top:50%;transform:translateY(-50%)}
  .content.is-day .day-gap span{background:#f2f4f7;border-radius:999px;padding:6px 12px}
  .content.is-day .day-detail-foot>button:not(.day-append){display:inline-flex;align-items:center;justify-content:center;gap:8px}
  .content.is-day .day-detail-foot>button:not(.day-append)::before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='11' height='11' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5 15V6.5A1.5 1.5 0 0 1 6.5 5H15' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='11' height='11' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5 15V6.5A1.5 1.5 0 0 1 6.5 5H15' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat}
  .content.is-day .day-detail{padding:0 12px 12px}
  .content.is-day .visit-memory{border-top:1px solid #eef0f3}
  .content.is-day .visit-memory summary{justify-content:flex-start;min-height:48px}
  .content.is-day .visit-memory summary::after{margin-left:auto}
  .content.is-day .day-detail-foot{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}
  .content.is-day .day-detail-foot>button{min-height:44px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f}
  .content.is-day .day-detail-foot .day-append{background:#0071e3;border-color:#0071e3;color:#fff}
  .content.is-day .append-long{display:none}
  .content.is-day .append-short{display:inline}
  .shell.shell-v2 .mobile-daily button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;line-height:1.2;background:transparent}
  .shell.shell-v2 .mobile-daily button.active,.shell.shell-v2 .mobile-daily button.active:hover{background:transparent;color:#0071e3}
  .shell.shell-v2 .mobile-daily .nav-glyph{display:block;width:22px;height:22px}
  .content.is-day .visit-item:not(.is-open) .day-line{display:grid;grid-template-columns:28px 3px minmax(0,1fr) 36px;column-gap:10px;row-gap:2px;align-items:center;padding:12px 8px 12px 12px}
  .content.is-day .visit-item:not(.is-open) .day-main{display:contents}
  .content.is-day .visit-item:not(.is-open) .day-index{grid-column:1;grid-row:1}
  .content.is-day .visit-item:not(.is-open) .day-tone{grid-column:2;grid-row:1;align-self:stretch;min-height:18px}
  .content.is-day .visit-item:not(.is-open) .day-name{grid-column:3;grid-row:1;min-width:0}
  .content.is-day .visit-item:not(.is-open) .day-when{grid-column:3;grid-row:2;justify-self:start;margin:0;font-size:14px;font-weight:400}
  .content.is-day .visit-item:not(.is-open) .day-summary{grid-column:3;grid-row:3;flex:none}
  .content.is-day .visit-item:not(.is-open) .day-status{grid-column:3;grid-row:4;width:fit-content;max-width:100%;margin-top:6px}
  .content.is-day .visit-item:not(.is-open) .day-status-label{font-size:16px;line-height:1.3}
  .content.is-day .visit-item:not(.is-open) .day-toggle{grid-column:4;grid-row:1 / span 4;align-self:center}
  .content.is-week .agenda-topbar .agenda-date{flex:1 1 0;min-width:0}
  .content.is-week .agenda-topbar .date-pill{min-width:0}
  .content.is-week .agenda-topbar .date-pill>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .content.is-week .week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 14px}
  .content.is-week .week-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:0;padding:8px 0 7px;border:1px solid #ececf1;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#1d1d1f;font-weight:400;line-height:1.1}
  .content.is-week .week-chip:hover{background:#fff;color:#1d1d1f}
  .content.is-week .week-chip span{font-size:12px;font-weight:500;color:#8e8e93;line-height:1.15}
  .content.is-week .week-chip b{font-size:16px;font-weight:700;color:#1d1d1f;line-height:1.15}
  .content.is-week .week-chip small{font-size:12px;font-weight:400;color:#8e8e93;line-height:1.15}
  .content.is-week .week-chip.is-on,.content.is-week .week-chip.is-on:hover{background:#e8f3ff;border-color:#e8f3ff;box-shadow:none;color:#1d1d1f}
  .content.is-week .week-chip.is-on span,.content.is-week .week-chip.is-on small{color:#8e8e93}
  .content.is-week .week-chip.is-on b{color:#0071e3;font-weight:700}
  .content.is-week .agenda-week{display:flex;flex-direction:column;gap:18px;border:0;background:transparent}
  .content.is-week .week-day{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
  .content.is-week .week-day.today,.content.is-week .week-day.is-selected{background:transparent;border:0;box-shadow:none}
  .content.is-week .week-day:has(.empty){display:none}
  .content.is-week .week-dow,.content.is-week .week-num{display:none}
  .content.is-week .week-full{display:block;min-width:0;font-size:17px;font-weight:650;color:#1d1d1f;line-height:1.3}
  .content.is-week .week-day header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;padding:0;border:0;background:transparent;cursor:default}
  .content.is-week .week-count{font-size:14px;color:#8a8f98}
  .content.is-week button.week-card{grid-template-columns:minmax(0,1fr) 16px;align-items:center;column-gap:8px;row-gap:2px;padding:12px 12px 12px 14px}
  .content.is-week button.week-card time{grid-column:1;grid-row:1;font-size:15px;font-weight:650}
  .content.is-week button.week-card>strong{grid-column:1;grid-row:2;font-size:16px}
  .content.is-week button.week-card .week-card-count{display:none}
  .content.is-week button.week-card .week-card-state{grid-column:1;grid-row:3;font-size:14px}
  .content.is-week button.week-card .week-services{grid-column:1;grid-row:3;display:block;margin:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .content.is-week button.week-card .week-services span{display:inline;white-space:nowrap}
  .content.is-week button.week-card .week-services span+span::before{content:", "}
  .content.is-week button.week-card .week-people{grid-column:1;grid-row:4;margin-top:6px}
  .content.is-week button.week-card .week-people i{width:28px;height:28px;font-size:11px}
  .content.is-week button.week-card::after{content:"";grid-column:2;grid-row:1 / span 4;width:8px;height:8px;border-right:1.6px solid #8a8f98;border-bottom:1.6px solid #8a8f98;transform:rotate(-45deg);justify-self:end}
  .content.is-week button.week-card:has(.week-card-state) .week-services{grid-row:4}
  .content.is-week button.week-card:has(.week-card-state) .week-people{grid-row:5}
  .content.is-week button.week-card:has(.week-card-state)::after{grid-row:1 / span 5}
  input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea,.content.is-day .day-status .status-pick,.visit-sheet.is-detail .sheet-step-estado .status-pick{font-size:16px}
  .shell.shell-v2:not(.platform-shell) > .content.page-shell.is-agenda{padding-top:8px}
  .shell.shell-v2 .content.is-agenda .topline{row-gap:8px;margin-bottom:8px}
  .shell.shell-v2 .content.is-agenda .agenda-title{margin:0}
  .shell.shell-v2 .content.is-agenda .agenda-title h1{min-height:0;line-height:1.15}
  .shell.shell-v2 .content.is-agenda .agenda-title p{margin:2px 0 0}
  .content.is-grid .grid-hint{display:none}
}

.content.is-services .topline{align-items:flex-start;margin-bottom:18px}
.content.is-services .page-kicker{margin:4px 0 0;color:#6e6e73;font-size:14px;font-weight:500}
.content.is-services .header-tools{margin-top:4px}
.content.is-services .catalog-layout{align-items:start;gap:24px}
.content.is-services .catalog-list,
.content.is-services .catalog-editor{padding:16px 18px 18px;border-radius:18px}
.content.is-services .catalog-search{position:relative;display:block;margin:0 0 12px}
.content.is-services .catalog-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.content.is-services .catalog-search-icon{position:absolute;left:14px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#86868b;pointer-events:none}
.content.is-services .catalog-search input{height:42px;min-height:42px;padding-left:38px;border:1px solid #d2d2d7;border-radius:12px;background:#fff}
.content.is-services .catalog-search input::placeholder{color:#86868b;font-weight:400}
.content.is-services .catalog-chips{margin:0 0 8px}
.content.is-services .catalog-items{margin-top:4px;max-height:none;overflow:visible}
.content.is-services .catalog-empty{margin:12px 8px}
.content.is-services .catalog-table th{color:#6e6e73;font-weight:500;font-size:13px;padding:10px 8px;border-bottom:1px solid #ececee;background:#fff}
.content.is-services .catalog-table td{padding:12px 8px;border-bottom:1px solid #f0f0f2;background:#fff;font-weight:500}
.content.is-services .catalog-table tr.is-on td{background:#e8f3ff}
.content.is-services .catalog-go{width:28px;text-align:right;color:#8e8e93;font-size:18px;font-weight:400}
.content.is-services .catalog-editor .editor-head{margin:0 0 8px}
.content.is-services .catalog-editor .editor-head h2{margin:0;font-size:1.5rem;font-weight:650;letter-spacing:-.03em}
.content.is-services .catalog-editor .service-back,
.content.is-services .catalog-editor .service-back:hover{display:inline-flex;align-items:center;height:36px;min-height:36px;padding:0 14px;background:#fff;color:#1d1d1f;border:1px solid #d2d2d7;border-radius:10px;font-weight:600}
.content.is-services .catalog-editor [data-editor-panel][hidden]{display:none !important}
.content.is-services .catalog-editor .editor-tabs{gap:22px;margin:0 0 18px;border-bottom:1px solid #ececee}
.content.is-services .catalog-editor .editor-tabs button,
.content.is-services .catalog-editor .editor-tabs button:hover{min-height:40px;padding:8px 0;border:0;border-radius:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;color:#596273;box-shadow:none;font-weight:550}
.content.is-services .catalog-editor .editor-tabs button[aria-current="true"],
.content.is-services .catalog-editor .editor-tabs button[aria-current="true"]:hover{background:transparent;color:#0071e3;border-bottom-color:#0071e3;font-weight:650}
.content.is-services .catalog-editor [data-editor-panel="essencial"] > label,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > .check-line,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > p,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > button,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > .service-metrics,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > .service-flags,
.content.is-services .catalog-editor [data-editor-panel="essencial"] > .service-rules-foot{grid-column:1 / -1;max-width:none;width:100%}
.content.is-services .catalog-editor .service-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.content.is-services .catalog-editor .service-metrics > label{margin-top:0;max-width:none;width:auto}
.content.is-services .catalog-editor .unit-field{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border:1px solid #d2d2d7;border-radius:12px;background:#fff}
.content.is-services .catalog-editor .unit-field:focus-within{border-color:#d2d2d7;box-shadow:none}
.content.is-services .catalog-editor .unit-field input{border:0;height:40px;min-height:0;padding:0;background:transparent;box-shadow:none}
.content.is-services .catalog-editor .unit-field input:focus,
.content.is-services .catalog-editor .unit-field input:focus-visible{outline:none;box-shadow:none}
.content.is-services .catalog-editor .unit{color:#86868b;font-weight:500;flex:none}
.content.is-services .catalog-editor .service-flags{display:flex;flex-direction:column;gap:4px;margin-top:4px}
.content.is-services .catalog-editor .service-flags .check-line{margin:0}
.content.is-services .catalog-editor .service-flags label.check{display:flex;flex-direction:row;align-items:center;gap:8px;width:fit-content;margin:0;padding:1px 0;font-weight:500;line-height:1.2}
.content.is-services .catalog-editor .service-flags label.check input[type="checkbox"]{width:18px;height:18px;min-width:18px;min-height:18px;margin:0}
.content.is-services .catalog-editor .service-rules-foot{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:0;padding-top:10px;border-top:1px solid #e6e6e8}
.content.is-services .catalog-editor #service-rules-summary{margin:0;color:#1d1d1f;font-size:14px;font-weight:500;line-height:1.3}
.content.is-services .catalog-editor #service-rules-summary strong{font-weight:650}
.content.is-services .catalog-editor #service-open-rules,
.content.is-services .catalog-editor #service-open-rules:hover{justify-self:start;width:auto;margin:0;padding:0;min-height:0;background:transparent;color:#0071e3;font-size:.95rem;font-weight:650;text-align:left;text-decoration:underline}
.content.is-services .catalog-editor .actions{justify-content:space-between;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid #ececee}
.content.is-services .catalog-editor .actions button{height:44px;min-height:44px;padding:0 18px}
.content.is-services .catalog-editor .actions button.primary:disabled{opacity:1;background:#ececf1;color:#aeaeb2;border-color:#ececf1;cursor:default}
.content.is-services .editor-scroll{position:relative;max-height:none;overflow:visible}
.content.is-services .editor-context,.content.is-services .editor-back-label{display:none}
.content.is-services .editor-head > div{min-width:0}
.content.is-services .rules-block{grid-column:1 / -1;margin:8px 0 0}
.content.is-services .rules-block h3{margin:16px 0 12px;font-size:1.25rem;font-weight:650;letter-spacing:-.02em}
.content.is-services .rules-block .field-head{font-size:14px}
.content.is-services .rules-time{display:grid;grid-template-columns:minmax(140px,1.3fr) repeat(3,minmax(0,1fr));gap:12px}
.content.is-services .rules-seq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.content.is-services .rules-time > label,.content.is-services .rules-seq > label{margin-top:0;max-width:none;width:auto}
.content.is-services .rules-block select,.content.is-services .rules-block .unit-field{height:44px;min-height:44px;font-size:16px}
.content.is-services .parallel-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 14px;border:1px solid #e6e6e8;border-radius:12px;background:#f6f7f9}
.content.is-services .parallel-summary p{margin:0;font-weight:600}
.content.is-services .parallel-summary button,.content.is-services .parallel-summary button:hover{display:inline-flex;align-items:center;gap:8px;height:40px;min-height:40px;padding:0 14px;background:#fff;color:#1d1d1f;white-space:nowrap}
.content.is-services .parallel-store{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
dialog.parallel-picker{width:min(620px,calc(100% - 32px));max-height:min(720px,calc(100dvh - 32px));padding:0;border:0;border-radius:16px;background:#fff;color:#1d1d1f;box-shadow:0 24px 60px rgba(20,34,57,.18)}
dialog.parallel-picker::backdrop{background:rgba(20,34,57,.45)}
dialog.parallel-picker[open] > form.parallel-picker-form{display:flex;flex-direction:column;min-height:0;max-height:min(720px,calc(100dvh - 32px));overflow:hidden;padding:0}
dialog.parallel-picker .parallel-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 8px}
dialog.parallel-picker .parallel-picker-head h3{margin:0;font-size:1.25rem;font-weight:650}
dialog.parallel-picker .parallel-picker-head p{margin:4px 0 0;color:#596273;font-size:14px}
dialog.parallel-picker .parallel-picker-head button,.dialog.parallel-picker .parallel-picker-head button:hover{width:36px;height:36px;min-height:36px;padding:0;border:0;background:transparent;color:#1d1d1f;font-size:22px}
dialog.parallel-picker .parallel-picker-search{position:relative;display:block;margin:8px 20px 12px}
dialog.parallel-picker .catalog-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
dialog.parallel-picker .parallel-picker-search svg{position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#86868b;pointer-events:none}
dialog.parallel-picker .parallel-picker-search input{height:44px;min-height:44px;padding-left:38px;border:1px solid #d2d2d7;border-radius:12px}
dialog.parallel-picker .parallel-service-options{max-height:360px;margin:0 20px;overflow:auto;overscroll-behavior:contain;border:1px solid #ececee;border-radius:12px}
dialog.parallel-picker .parallel-service-choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;margin:0;padding:8px 12px;border-bottom:1px solid #f0f0f2;text-align:left;cursor:pointer;font-weight:500}
dialog.parallel-picker .parallel-service-choice[hidden]{display:none}
dialog.parallel-picker .parallel-service-choice input[type="checkbox"]{width:20px;height:20px;min-width:20px;min-height:20px;margin:0;flex:none}
dialog.parallel-picker .parallel-service-choice span{min-width:0;overflow-wrap:anywhere;font-size:16px;line-height:1.35}
dialog.parallel-picker .parallel-empty{margin:8px 20px;color:#596273}
dialog.parallel-picker footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px 18px}
dialog.parallel-picker footer p{margin:0;color:#596273;font-size:13px}
dialog.parallel-picker footer .actions{margin:0;padding:0;border:0}
@media(max-width:800px){
  .content.is-services .catalog-layout.is-editing .editor-context{display:block;margin:0 0 2px;color:#6e6e73;font-size:13px;font-weight:600}
  .content.is-services .catalog-layout.is-editing .editor-close-label{display:none}
  .content.is-services .catalog-layout.is-editing .editor-back-label{display:inline}
  .shell.shell-v2:has(.catalog-layout.is-editing) .mobile-daily{display:none}
  .content.is-services .editor-scroll{position:relative;max-height:none;overflow:visible}
}
@media(max-width:720px){
  .content.is-services .rules-time{grid-template-columns:1fr 1fr}
  .content.is-services .rules-time > label:first-child,.content.is-services .rules-time > label:last-child{grid-column:1 / -1}
  .content.is-services .rules-seq{grid-template-columns:1fr}
  .content.is-services .parallel-summary{flex-direction:column;align-items:stretch}
  .content.is-services .parallel-summary button{width:100%;justify-content:space-between}
  dialog.parallel-picker{width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0}
  dialog.parallel-picker .parallel-picker-form{height:100%;max-height:none;padding-bottom:env(safe-area-inset-bottom)}
  dialog.parallel-picker .parallel-service-options{flex:1;max-height:none}
  dialog.parallel-picker footer{flex-direction:column;align-items:stretch}
  dialog.parallel-picker footer .actions{width:100%}
  dialog.parallel-picker footer .actions button{flex:1}
}
@media(max-width:720px){
  .content.is-services .catalog-editor .service-metrics{grid-template-columns:1fr}
}
.content.is-employees .page-kicker{margin:4px 0 0;color:#6e6e73;font-size:14px;font-weight:500}
.content.is-employees .topline{align-items:flex-start}
.content.is-employees .team-layout{gap:24px}
.content.is-employees .team-rail>h2{margin:2px 8px 12px;font-size:16px;font-weight:650;color:#1d1d1f}
.content.is-employees .team-people-search,.content.is-employees .team-service-search{position:relative;display:block}
.content.is-employees .team-people-search{margin:0 8px 12px}
.content.is-employees .catalog-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.content.is-employees .team-search-icon{position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#86868b;pointer-events:none}
.content.is-employees .team-people-search input,.content.is-employees .team-service-search input{width:100%;height:40px;min-height:40px;padding-left:36px;border:1px solid #e6e6e8;border-radius:12px;background:#f5f5f7}
.content.is-employees .team-service-search input{background:#fff;border-color:#d2d2d7}
.content.is-employees button.team-person{gap:10px;padding:8px 10px}
.content.is-employees .team-person-copy{flex:1;min-width:0}
.content.is-employees .team-person-copy strong{display:block}
.content.is-employees .team-go{flex:none;color:#8e8e93;font-size:18px;font-weight:400;line-height:1}
.content.is-employees .team-rail button.team-person.is-selected,.content.is-employees .team-rail button.team-person.is-selected:hover{background:#e8f3ff}
.content.is-employees .team-identity .avatar{width:56px;height:56px;font-size:18px}
.content.is-employees .team-identity h2{font-size:1.65rem;font-weight:650}
.content.is-employees .team-status{display:inline-flex;align-items:center;gap:6px;width:fit-content;margin:6px 0 0;padding:3px 10px 3px 8px;border-radius:999px;background:#e7f6ec;color:#1b7f45;font-size:13px;font-weight:650;line-height:1.2}
.content.is-employees .team-dot{width:8px;height:8px;border-radius:50%;background:#1f9d55;flex:none}
.content.is-employees .team-status.is-off{background:#f2f2f4;color:#6e6e73}
.content.is-employees .team-status.is-off .team-dot{background:#8e8e93}
.content.is-employees .team-edit,.content.is-employees .team-edit:hover{display:inline-flex;align-items:center;gap:8px;height:40px;min-height:40px;padding:0 14px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;font-weight:600}
.content.is-employees .team-edit svg{width:16px;height:16px}
.content.is-employees .team-head{flex-wrap:wrap}
.content.is-employees .team-head-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.content.is-employees .team-archived{display:block;width:calc(100% - 16px);margin:0 8px 12px;min-height:40px;padding:8px 14px;border-radius:12px;text-align:center}
.content.is-employees .team-tabs{display:flex;gap:22px;margin:0 0 16px;border-bottom:1px solid #ececee}
.content.is-employees .team-tabs button,.content.is-employees .team-tabs button:hover{min-height:40px;padding:8px 0;border:0;border-radius:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;color:#596273;box-shadow:none;font-weight:550}
.content.is-employees .team-tabs button[aria-current="true"],.content.is-employees .team-tabs button[aria-current="true"]:hover{background:transparent;color:#0071e3;border-bottom-color:#0071e3;font-weight:650}
.content.is-employees .team-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
.content.is-employees .team-service-search{flex:1 1 280px;max-width:460px;margin:0}
.content.is-employees .team-does{display:flex;gap:8px;flex:none}
.content.is-employees .team-does button,.content.is-employees .team-does button:hover{height:36px;min-height:36px;padding:0 14px;border-radius:10px;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;font-weight:600}
.content.is-employees .team-does button[aria-pressed="true"],.content.is-employees .team-does button[aria-pressed="true"]:hover{background:#0071e3;border-color:#0071e3;color:#fff}
.content.is-employees .team-table col.c-name{width:34%}
.content.is-employees .team-table col.c-duration,.content.is-employees .team-table col.c-price,.content.is-employees .team-table col.c-commission{width:16%}
.content.is-employees .team-table col.c-action{width:18%}
.content.is-employees .team-table th{background:#f6f7f9;color:#6e6e73;font-weight:500;font-size:13px}
.content.is-employees .team-table td.num,.content.is-employees .team-table th.num{text-align:left}
.content.is-employees .team-table th:last-child,.content.is-employees .team-table td:last-child{text-align:right;white-space:nowrap}
.shell table th:first-child,.shell table td:first-child,dialog table th:first-child,dialog table td:first-child{text-align:left}
.shell table th:last-child:empty,.shell table td:last-child:has(> button),dialog table th:last-child:empty,dialog table td:last-child:has(> button){text-align:right;white-space:nowrap}
.shell table td:last-child > button,dialog table td:last-child > button{display:inline-flex;vertical-align:middle;width:auto}
.content.is-employees .team-table td button.team-config,.content.is-employees .team-table td button.team-config:hover{border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;border-radius:10px;min-height:36px;padding:6px 14px;font-weight:600}
.content.is-employees .team-service-name{display:flex;align-items:center;gap:10px}
.content.is-employees .team-performs{display:inline-flex;align-items:center;margin:0}
.content.is-employees .team-performs input{width:18px;height:18px;min-width:18px;margin:0;accent-color:#1d1d1f}
.content.is-employees .team-filter-note{display:flex;align-items:flex-start;gap:8px;margin:12px 4px 8px;color:#6e6e73;font-size:13px;line-height:1.4}
.content.is-employees .team-note-mark{display:grid;place-items:center;width:16px;height:16px;margin-top:1px;border:1px solid #c7c7cc;border-radius:50%;color:#6e6e73;font-size:11px;font-weight:700;flex:none}
@media(max-width:900px){
  .content.is-employees .team-toolbar{flex-direction:column;align-items:stretch}
  .content.is-employees .team-service-search{max-width:none}
  .content.is-employees .team-does{justify-content:flex-end}
}
#settings-form > .actions button.primary:disabled,
#settings-form > .actions button.primary:disabled:hover{
  opacity:1;
  background:#ececf1;
  color:#aeaeb2;
  border-color:#ececf1;
  cursor:default;
}
.sandbox-note{margin:0 0 16px;padding:16px;border-radius:12px;background:#f5f5f7}
.sandbox-kicker{margin:0 0 6px;color:#596273;font-size:13px;font-weight:600}
.sandbox-ended{max-width:36rem;margin:12vh auto;padding:28px}
.sandbox-ended h1{margin:18px 0 8px;font-size:1.75rem;letter-spacing:-.03em}
.sandbox-ended p{color:#596273;line-height:1.45}
.sandbox-ended a.primary{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:12px;background:#0071e3;color:#fff;text-decoration:none;font-weight:600}
.sandbox-note h2{margin:0 0 8px;font-size:17px;font-weight:600;letter-spacing:-.02em}
.sandbox-note p{margin:0 0 12px;color:#596273;font-size:14px;line-height:1.45}
.sandbox-actions{display:flex;flex-wrap:wrap;gap:8px}
.sandbox-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;text-decoration:none;font-weight:600}
.sandbox-actions a.primary{background:#0071e3;border-color:#0071e3;color:#fff}
.sandbox-actions a.primary:hover{background:#0077ed}
.sandbox-guide{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 16px;padding:12px 16px;border-radius:12px;background:#fff;border:1px solid #e5e5ea}
.sandbox-guide .sandbox-kicker{margin:0}
.sandbox-guide-steps{display:flex;flex-wrap:wrap;gap:8px}
.sandbox-guide button{min-height:40px;padding:0 12px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.sandbox-guide-skip{margin-left:auto;background:transparent}
#toast:popover-open{display:block;position:fixed;inset:auto 25px 25px auto;width:max-content;max-width:min(420px,calc(100vw - 32px));height:auto;margin:0;border:0;padding:14px 20px;overflow:visible;background:#152b49;color:#fff;border-radius:10px;box-shadow:0 8px 35px #14223933;font-size:.875rem;line-height:1.4}
@media(max-width:720px){
  #toast:popover-open{inset:auto 12px calc(16px + env(safe-area-inset-bottom)) 12px;width:auto;max-width:none}
}
.shell.shell-v2:not(.platform-shell) > .content.page-shell.is-grid,
.shell.shell-v2:not(.platform-shell) > .content.page-shell.is-grid:has(.day-board.is-open){
  overflow-x:hidden;
  overflow-y:auto;
}
.shell.shell-v2 .content.is-grid #view,
.shell.shell-v2 .content.is-grid .day-board,
.shell.shell-v2 .content.is-grid .day-list,
.shell.shell-v2 .content.is-grid .grid-agenda,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) #view,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .day-board,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .day-list,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .grid-agenda{
  flex:none;
  height:auto;
  min-height:0;
  max-height:none;
  min-width:0;
  max-width:100%;
  overflow:visible;
}
.shell.shell-v2 .content.is-grid .grid-scroll,
.shell.shell-v2 .content.is-grid:has(.day-board.is-open) .grid-scroll{
  flex:none;
  height:auto;
  min-height:0;
  max-height:none;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
}

.content.is-recover .client-kicker{margin:2px 0 0;color:#6e6e73;font-size:14px;font-weight:500}
.content.is-recover .reactivation-page{display:block;width:100%;max-width:none;margin:0;min-width:0}
.content.is-recover .reactivation-page .metrics{margin-bottom:16px;gap:12px}
.content.is-recover .reactivation-page .metric{padding:14px 16px}
.content.is-recover .reactivation-page .metric .number{margin:4px 0 0;font-size:1.25rem;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}
.content.is-recover .reactivation-page .note{margin:0 0 12px}
.content.is-recover .reactivation-switch{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0 0}
.content.is-recover .reactivation-switch p{margin:4px 0 0}
.content.is-recover .reactivation-inline{display:flex;align-items:center;gap:8px}
.content.is-recover .reactivation-inline input{width:96px;flex:none}
.content.is-recover .reactivation-compose{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:16px;align-items:start;margin-top:4px}
.content.is-recover .reactivation-compose > *{min-width:0}
.content.is-recover .reactivation-tokens{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.content.is-recover .reactivation-preview{position:static;max-height:none;overflow:visible}
.content.is-recover .reactivation-mail{border:1px solid var(--line);border-radius:12px;background:#f5f5f7;padding:16px;overflow-wrap:anywhere}
.content.is-recover .reactivation-from,.content.is-recover .reactivation-address,.content.is-recover .reactivation-subject-line,.content.is-recover .reactivation-mail-body,.content.is-recover .reactivation-cancel,.content.is-recover .reactivation-foot,.content.is-recover .reactivation-mail-actions{margin:0}
.content.is-recover .reactivation-from{font-weight:650;color:#1d1d1f}
.content.is-recover .reactivation-address,.content.is-recover .reactivation-foot{color:#6e6e73;font-size:.875rem}
.content.is-recover .reactivation-subject-line{margin-top:10px;font-size:1.05rem}
.content.is-recover .reactivation-mail-body{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}
.content.is-recover .reactivation-mail-actions{margin-top:12px}
.content.is-recover .reactivation-book{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:12px;background:#1d1d1f;color:#fff;text-decoration:none;font-weight:650}
.content.is-recover .reactivation-book:hover{color:#fff;background:#2c2c2e}
.content.is-recover .reactivation-cancel{margin-top:8px;color:var(--brand);font-weight:600}
.content.is-recover .reactivation-page .actions{justify-content:flex-end;align-items:center}
.content.is-recover .reactivation-page .actions .muted{margin:0 auto 0 0}
.content.is-recover .reactivation-page .panel{min-width:0}
.content.is-recover .reactivation-page td,
.content.is-recover .reactivation-page th{white-space:normal;overflow-wrap:anywhere}
@media (max-width:900px){
  .content.is-recover .reactivation-compose{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:720px){
  .content.is-recover .reactivation-switch{flex-direction:column;align-items:stretch}
  .content.is-recover .reactivation-page .actions{flex-direction:column;align-items:stretch}
  .content.is-recover .reactivation-page .actions button{width:100%}
}
.content.is-recover #reactivation-enabled{min-height:44px;min-width:132px;flex:none}
.content.is-recover #reactivation-enabled[aria-checked="true"],
.content.is-recover #reactivation-enabled[aria-checked="true"]:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.content.is-recover #reactivation-enabled[aria-checked="true"]:hover{background:#0077ed;border-color:#0077ed}
.content.is-recover .reactivation-page table{width:100%;border-collapse:collapse}
.content.is-recover .reactivation-page .table-wrap{overflow:visible;min-width:0}
.studio-notices{width:100%;border-collapse:collapse;table-layout:fixed}
.studio-notices th,.studio-notices td{padding:8px 10px;border-bottom:1px solid #f0f0f2;text-align:left;vertical-align:middle;font-weight:600}
.studio-notices td{font-weight:400}
.studio-notices th:nth-child(2),.studio-notices th:nth-child(3),.studio-notices th:nth-child(4),.studio-notices td:nth-child(2),.studio-notices td:nth-child(3),.studio-notices td:nth-child(4){width:92px;text-align:center}
.push-device{display:grid;gap:8px;margin:12px 0 0}
.push-device-button{border-radius:12px;min-height:44px;padding:8px 14px;justify-self:start}
.push-device p{margin:0;color:#596273;font-size:.875rem;line-height:1.45;max-width:42rem}
.studio-notice-check{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px}
.studio-notice-check input{width:18px;height:18px;margin:0}
@media(max-width:720px){
  .content .table-wrap table.studio-notices{display:table;width:100%;min-width:0}
  .content .table-wrap table.studio-notices thead{display:table-header-group}
  .content .table-wrap table.studio-notices tbody{display:table-row-group}
  .content .table-wrap table.studio-notices tr{display:table-row;background:transparent;border:0;border-radius:0;padding:0}
  .content .table-wrap table.studio-notices th,.content .table-wrap table.studio-notices td{display:table-cell;padding:6px 4px;border-bottom:1px solid #f0f0f2}
  .studio-notices th:nth-child(2),.studio-notices th:nth-child(3),.studio-notices th:nth-child(4),.studio-notices td:nth-child(2),.studio-notices td:nth-child(3),.studio-notices td:nth-child(4){width:64px}
}
#waitlist-slot .note{overflow-wrap:anywhere}
#waitlist-slot .waitlist-retry{border-radius:12px;min-height:44px}
#waitlist-slot .waitlist-empty{margin:0 0 6px;max-width:100%;min-width:0}
#waitlist-slot .waitlist-empty-toggle{display:block;width:100%;min-height:44px;padding:6px 0;margin:0;border:0;border-radius:12px;background:transparent;box-shadow:none;font:inherit;font-weight:400;color:var(--muted);text-align:left;line-height:1.35;cursor:pointer;overflow-wrap:anywhere}
#waitlist-slot .waitlist-empty-toggle:hover{background:transparent;color:var(--ink)}
#waitlist-slot .waitlist-empty-help{margin:0 0 6px;padding:0;line-height:1.4;overflow-wrap:anywhere}
#waitlist-slot .waitlist-advance{margin:0 0 12px}
#waitlist-slot .waitlist-uncertain{margin:0 0 8px}
#waitlist-slot .waitlist-advance-button,#waitlist-slot .waitlist-uncertain-button{border-radius:12px;min-height:44px;padding:8px 14px}
#waitlist-slot .waitlist-uncertain-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
@media(max-width:720px){#waitlist-slot .waitlist-advance-button,#waitlist-slot .waitlist-uncertain-button{width:100%}}
dialog.access-dialog{width:min(480px,calc(100% - 32px));max-width:480px;overflow-x:hidden}
dialog.access-dialog .access-note{margin:0 0 16px;color:#596273;font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}
dialog.access-dialog .form-grid{grid-template-columns:minmax(0,1fr)}
dialog.access-dialog label{min-width:0}
dialog.access-dialog input,dialog.access-dialog select{width:100%;min-width:0;min-height:44px}
dialog.access-dialog .error{overflow-wrap:anywhere}
dialog.access-dialog .actions{flex-wrap:wrap}
dialog.access-dialog .actions button{min-height:44px;border-radius:12px}
.release-note{position:fixed;z-index:35;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;width:min(520px,calc(100% - 32px));margin:0 auto;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 28px #14223922}
.release-note[hidden]{display:none}
.release-note p{margin:0;color:#1d1d1f;font-size:.875rem;line-height:1.4}
.release-note button{min-height:44px;border-radius:12px}
dialog .release-note{position:static;z-index:auto;left:auto;right:auto;bottom:auto;width:auto;max-width:none;margin:0 0 12px;box-shadow:none}
@media(max-width:720px){.release-note{bottom:calc(76px + env(safe-area-inset-bottom))}dialog .release-note{bottom:auto}}
.support-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.support-attach{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid #e6e6e8;border-radius:12px;background:#fff;color:#1d1d1f}
.support-attach:hover{background:#f5f5f7}
.support-clip{width:16px;height:16px;flex:0 0 auto}
.support-files{display:flex;flex-direction:column;gap:8px;margin:8px 0}
.support-files:empty{display:none}
.support-file{display:flex;gap:8px;align-items:center;min-width:0;border:1px solid #ececee;border-radius:12px;padding:6px 8px;background:#fff}
.support-file img{width:48px;height:48px;object-fit:cover;border-radius:8px;background:#f5f5f7;flex:0 0 auto}
.support-file span,.support-file a,.support-file figcaption{min-width:0;overflow-wrap:anywhere}
.support-file figcaption{margin:0}
.support-file figure,.support-file{margin:0}
.support-file button{margin-left:auto;min-height:36px;padding:0 10px;border-radius:12px;flex:0 0 auto}
@media(max-width:420px){
  .support-note{width:calc(100vw - 24px);padding:12px}
  .support-actions{flex-direction:column;align-items:stretch}
  .support-actions .support-attach,.support-actions button{width:100%}
  .support-file img{width:40px;height:40px}
  .shell.shell-v2 .bar-tools .support-note{position:fixed;top:60px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 140px)}
}
