/* Gestionale Villa Solaria – stile (colori e caratteri del marchio villasolaria.it) */
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); }

:root {
  /* marchio: blu "solaria" #0E76BC, grigio "villa" #6B6A71, sole #FFD018, mare #38C0F0, inchiostro #292836, sabbia */
  --bg: #FAF5EF; --card: #ffffff; --ink: #292836; --muted: #6B6A71; --line: #EBE7DE;
  --brand: #0E76BC; --brand-2: #5299B8; --accent: #FFD018; --sea: #38C0F0; --night: #292836; --night-2: #34334a;
  --danger: #C0392B; --ok: #1E8A5A; --warn: #8A6100;
  --option: #FFD018; --booking: #E2574C; --maintenance: #7B5EA7; --partial: #38C0F0; --free: #F3EEE6;
  --radius: 14px; --shadow: 0 1px 2px rgba(41,40,54,.05), 0 6px 20px rgba(41,40,54,.05);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Poppins", "Manrope", system-ui, sans-serif;
  --side: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16151E; --card: #201F2B; --ink: #ECEAF2; --muted: #A09FAF; --line: #2E2D3B;
    --brand: #4DA6DE; --brand-2: #7FC0E0; --free: #26252F; --night: #111019; --night-2: #1d1c28;
    --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (min-width: 900px) { html { font-size: 106.25%; } body { font-size: 16.5px !important; } }
body { margin: 0; font: 15.5px/1.5 var(--font); background: var(--bg); color: var(--ink);
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); -webkit-font-smoothing: antialiased; }
body.public { padding-bottom: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 0 0 .2rem; line-height: 1.15; }
h2 { font-size: 1.08rem; margin: 0 0 .75rem; }
h3 { font-size: .95rem; margin: 0 0 .4rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: 1.02rem; margin: .2rem 0 0; color: var(--muted); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { white-space: pre-wrap; word-break: break-word; margin: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.badge { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--accent); color: #292836; display: inline-grid; place-items: center; margin-left: auto; }

/* barra laterale (computer) */
.sidebar { display: none; }
.sidebar .logo img { display: block; width: 188px; height: auto; }
.newbtn { width: 100%; margin: 1.2rem 0 .8rem; }
.sidenav { display: grid; gap: 2px; }
.sidenav a { display: flex; align-items: center; gap: .7rem; padding: .58rem .75rem; border-radius: 10px; color: #d9d8e3; font-weight: 500; }
.sidenav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.sidenav a.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.sidenav a.on .ic { color: var(--accent); }
.navsep { font-size: .72rem; color: #8f8ea3; margin: 1rem .75rem .3rem; }
.usermenu { position: relative; }
.usermenu summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .6rem; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu.side { margin-top: auto; }
.usermenu.side summary { color: #e6e5ee; padding: .6rem .5rem; border-radius: 10px; }
.usermenu.side summary:hover { background: rgba(255,255,255,.06); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.usermenu .menu { position: absolute; background: var(--card); color: var(--ink); min-width: 230px; z-index: 40;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.22); padding: .4rem; display: grid; border: 1px solid var(--line); }
.usermenu.side .menu { bottom: 3.4rem; left: 0; }
.usermenu.top .menu { right: 0; top: 2.8rem; }
.usermenu .menu a, .usermenu .menu .linklike { color: var(--ink); padding: .6rem .75rem; border-radius: 8px; text-align: left; display: flex; align-items: center; gap: .4rem; }
.usermenu .menu a:hover, .usermenu .menu .linklike:hover { background: var(--free); text-decoration: none; }
.linklike { background: none; border: 0; font: inherit; cursor: pointer; width: 100%; }

/* barra superiore (telefono e tablet) */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem max(16px, 4vw); padding-top: calc(.6rem + env(safe-area-inset-top)); background: var(--night); color: #fff; }
.topbar .logo img { display: block; height: 26px; width: auto; }
.usermenu.top summary { color: #fff; width: 42px; height: 42px; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.08); position: relative; }
.dotbadge { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* barra in basso (telefono) */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .5rem 0 .55rem; font-size: .7rem; color: var(--muted); font-weight: 600; }
.tabbar a.on { color: var(--brand); }
.tabbar .badge { position: absolute; top: 3px; left: calc(50% + 6px); margin: 0; min-width: 1.1rem; height: 1.1rem; font-size: .65rem; }
.tabbar .plus { width: 2.4rem; height: 2.4rem; margin-top: -1rem; border-radius: 50%; background: var(--accent); color: #292836; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(41,40,54,.25); }
.tabbar a:hover { text-decoration: none; }

@media (min-width: 1000px) {
  body.app { padding-bottom: 0; padding-left: var(--side); }
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30;
    background: var(--night); color: #fff; padding: 1.4rem 1rem 1rem; overflow-y: auto; }
  .topbar, .tabbar { display: none; }
}
main.wrap { max-width: 1240px; margin: 0 auto; padding: 1.2rem max(16px, 3vw) 2rem; }
.pagehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .75rem; margin: .25rem 0 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.row.end { justify-content: flex-end; }

/* pannelli e liste */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.list > li > div { min-width: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; display: flex; flex-direction: column; color: var(--ink); }
.stat b { font-size: 1.6rem; color: var(--brand); }
.stat span { font-size: .8rem; color: var(--muted); }
.stat:hover { text-decoration: none; border-color: var(--brand-2); }

/* bottoni e form */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; font: inherit; font-weight: 600;
  padding: .6rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; min-height: 44px; text-decoration: none; }
.btn:hover { border-color: var(--brand-2); text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.btn.small { min-height: 36px; padding: .35rem .7rem; font-size: .88rem; }
.btn[disabled] { opacity: .6; }
.form { display: grid; gap: .8rem; }
label { display: grid; gap: .3rem; font-size: .9rem; color: var(--muted); }
label.check { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: .6rem .7rem; width: 100%; min-height: 44px; }
input[type=checkbox], input[type=radio] { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--brand); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
textarea { resize: vertical; }
.cols2, .cols3 { display: grid; gap: .8rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.kinds { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; }
.pill:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--card)); }
.filters { display: grid; grid-template-columns: 1fr auto auto; gap: .5rem; margin-bottom: 1rem; }
details > summary { cursor: pointer; }
input.copy { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
[hidden] { display: none !important; }

/* etichette e colori */
.tag { display: inline-block; font-size: .75rem; padding: .12rem .5rem; border-radius: 999px; background: var(--free); color: var(--muted); white-space: nowrap; }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, var(--card)); color: var(--ok); }
.tag.err { background: color-mix(in srgb, var(--danger) 14%, var(--card)); color: var(--danger); }
.tag.warn { background: color-mix(in srgb, var(--accent) 30%, var(--card)); color: var(--warn); }
.tag.sys { background: var(--brand); color: #fff; font-weight: 700; }
.dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-right: .4rem; vertical-align: -1px; border: 1px solid rgba(0,0,0,.12); }
.dot.option { background: var(--option); } .dot.booking { background: var(--booking); }
.dot.maintenance { background: var(--maintenance); } .dot.partial { background: var(--partial); } .dot.free { background: var(--free); }
.flash { padding: .7rem .9rem; border-radius: 10px; margin: 0 0 1rem; background: color-mix(in srgb, var(--ok) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); }
.flash.err { background: color-mix(in srgb, var(--danger) 10%, var(--card)); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.flash.warn { background: color-mix(in srgb, var(--accent) 22%, var(--card)); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }

/* calendario annuale */
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; margin-bottom: .75rem; color: var(--muted); }
.year { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.month { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.wd { font-size: .7rem; text-align: center; color: var(--muted); }
.day { display: grid; place-items: center; aspect-ratio: 1; font-size: .85rem; border-radius: 6px; color: var(--ink); background: var(--free); min-height: 34px; }
.day:hover { text-decoration: none; outline: 2px solid var(--brand-2); }
.day.past { opacity: .45; }
.day.option { background: var(--option); color: #222; }
.day.booking { background: var(--booking); color: #fff; }
.day.maintenance { background: var(--maintenance); color: #fff; }
.day.partial { background: var(--partial); color: #04263a; }
.day.start { box-shadow: inset 3px 0 0 rgba(0,0,0,.45); font-weight: 700; }
.day.today { outline: 2px solid var(--ink); }

/* tabella prenotazioni */
.table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .7rem .9rem; border-top: 1px solid var(--line); color: var(--ink); }
.tr:first-child { border-top: 0; }
.tr:hover { background: var(--free); text-decoration: none; }
.tr.th { display: none; font-size: .8rem; color: var(--muted); font-weight: 600; }
.tr.cancelled { opacity: .55; }
.tasks li.done b { color: var(--muted); }

/* posta */
.chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .6rem; scrollbar-width: thin; }
.chip { white-space: nowrap; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: .88rem; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip:hover { text-decoration: none; }
.maillist { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.maillist li { border-top: 1px solid var(--line); }
.maillist li:first-child { border-top: 0; }
.maillist a { display: grid; grid-template-columns: 1fr auto; gap: .1rem .75rem; padding: .7rem .9rem; color: var(--ink); }
.maillist a:hover { background: var(--free); text-decoration: none; }
.maillist .from { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maillist .date { font-size: .8rem; color: var(--muted); }
.maillist .subj { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maillist .acc { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
.maillist li.unread .from::before { content: "●"; color: var(--brand-2); margin-right: .35rem; }
.subject { word-break: break-word; }
.thread { display: grid; gap: .6rem; margin-bottom: 1rem; }
.msg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; }
.msg.out { border-left: 4px solid var(--brand-2); }
.msg.current { box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-2) 40%, transparent); }
.msg header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.msg summary { font-weight: 600; margin: .4rem 0; }
.body { font-family: inherit; font-size: .95rem; line-height: 1.5; }

/* assistente */
.chat { display: grid; gap: .6rem; margin: 1rem 0; }
.bubble { padding: .75rem .9rem; border-radius: 14px; max-width: 92%; }
.bubble pre { font-family: inherit; }
.bubble.user { background: var(--brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.bubble.assistant { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatform textarea { min-height: 90px; }

/* accesso */
main.loginwrap { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.logincard { width: min(400px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; text-align: center; box-shadow: var(--shadow); }
.logincard img { border-radius: 14px; }
.logincard form { text-align: left; margin-top: 1rem; }
.stack { display: grid; gap: .8rem; }
.secret { font-size: 1.05rem; letter-spacing: .08em; background: var(--free); padding: .2rem .5rem; border-radius: 6px; }

/* attesa */
.busy { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.35); display: grid; place-items: center; align-content: center; color: #fff; gap: .6rem; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.actions { display: grid; gap: .6rem; }
.action > summary { list-style: none; width: fit-content; }
.action > summary::-webkit-details-marker { display: none; }
.action[open] > summary { margin-bottom: .8rem; }

/* schermi larghi */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .mainnav { display: flex; }
  .cols2 { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: 1fr 1fr 1fr; }
  .year { grid-template-columns: repeat(2, 1fr); }
  .tr { grid-template-columns: 2fr 1.3fr 2fr .6fr 1fr; align-items: center; }
  .tr.th { display: grid; }
  h1 { font-size: 1.6rem; }
}
@media (min-width: 1000px) { .year { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) { .filters { grid-template-columns: 1fr 1fr; } .filters input[type=search] { grid-column: 1 / -1; } }
code.secret{word-break:break-all;overflow-wrap:anywhere}

/* ---------- scheda del soggiorno e comunicazioni ---------- */
.panelhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.panelhead h2 { margin: 0; }
.panelhead .row { gap: .4rem; }
.dossier-sum { font-size: 1.05rem; line-height: 1.5; margin: 0 0 1rem; padding: .7rem .9rem; border-left: 4px solid var(--brand); background: var(--free); border-radius: 0 8px 8px 0; }
.dossier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .8rem; }
.dossier-sec { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; min-width: 0; }
.dossier-sec h3, .sub { font-size: .85rem; color: var(--brand); margin: 0 0 .35rem; font-weight: 700; }
.sub { margin-top: 1.1rem; }
.dossier-sec ul { margin: 0; padding-left: 1.1rem; }
.dossier-sec li { margin: .15rem 0; overflow-wrap: anywhere; }
.dossier-sec.todo { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.program, .timeline { list-style: none; margin: 0; padding: 0; }
.program > li { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: .3rem 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.program .pday, .tdate { font-weight: 600; text-transform: none; }
.program ul { list-style: none; margin: 0; padding: 0; }
.program ul li { display: flex; gap: .7rem; padding: .1rem 0; }
.ptime, .ttime { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brand); white-space: nowrap; min-width: 3.2rem; }
.timeline { margin-top: .8rem; }
.tday { padding: .5rem 0; border-top: 1px solid var(--line); }
.tdate { margin-bottom: .3rem; }
.tday > ul { list-style: none; margin: 0; padding: 0; }
.tentry { padding: .45rem .7rem; margin: .35rem 0; border-radius: 8px; background: var(--free); border-left: 3px solid var(--brand-2); }
.tentry.out { border-left-color: var(--ok); }
.tentry.int { border-left-color: var(--accent); }
.tentry.pending { opacity: .85; }
.thead { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.tpoints { margin: .3rem 0 0; padding-left: 1.1rem; }
.tpoints li { overflow-wrap: anywhere; }
.traw summary { cursor: pointer; margin-top: .2rem; }
.traw pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .85rem; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .5rem; max-height: 18rem; overflow: auto; }
.traw .row { gap: .4rem; }
.tag.src.email { background: #dceef5; color: #0f4c5c; }
.tag.src.whatsapp { background: #d9f5e3; color: #146c3a; }
.tag.src.telefono, .tag.src.persona { background: #fdf0cf; color: #6b4b00; }
.tag.src.nota, .tag.src.altro { background: #ece6f5; color: #4b2d7a; }
.contacts { margin-top: 1rem; }
.contacts summary { cursor: pointer; }
.staylink { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .8rem; margin-bottom: .8rem; border: 1px dashed var(--line); border-radius: 10px; }
.staylink select { flex: 1 1 14rem; min-width: 0; }
.unassigned { display: flex; flex-wrap: wrap; gap: .6rem; }
.unassigned .grow { flex: 1 1 18rem; min-width: 0; }
.unassigned .assign { display: flex; flex-direction: column; gap: .35rem; flex: 0 1 22rem; min-width: 0; }
.unassigned .assign select { min-width: 0; flex: 1; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
  .program > li { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .topbar, .tabbar, .actions, form, .traw, .contacts, details.action { display: none !important; }
  .panel { break-inside: avoid; box-shadow: none; }
}
.services { width: 100%; border-collapse: collapse; font-size: .92rem; }
.services th { text-align: left; font-size: .78rem; color: var(--muted); font-weight: 600; padding: .35rem .5rem; border-bottom: 1px solid var(--line); }
.services td { padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.services td:first-child, .services td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.services tr.st-annullato td { text-decoration: line-through; color: var(--muted); }
.svc-list .when { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brand); white-space: nowrap; }
@media (max-width: 700px) {
  .rtable thead { display: none; }
  .rtable tr { display: grid; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .rtable td { display: flex; justify-content: space-between; gap: .8rem; border: 0; padding: .15rem 0; text-align: right; }
  .rtable td::before { content: attr(data-l); color: var(--muted); font-size: .8rem; text-align: left; }
  .rtable td:nth-child(3) { display: block; text-align: left; }
  .rtable td:nth-child(3)::before { display: none; }
}
.staffbox { margin-top: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, #25d366 6%, var(--card)); }
.staffhead { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.staffbox .row { gap: .5rem; flex-wrap: wrap; align-items: flex-start; }
.staffbox details.action { flex: 1 1 100%; }
.staff-table { width: 100%; border-collapse: collapse; }
.staff-table td, .staff-table th { padding: .4rem .4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.staff-table input { width: 100%; min-width: 0; }

/* ---------- restyling marchio ---------- */
.panel { border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.btn { border-radius: 10px; font-family: var(--font); }
.btn.primary { background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn.sun { background: var(--accent); color: #292836; border-color: var(--accent); }
.btn.sun:hover { background: #ffdb4d; }
.btn .ic { width: 18px; height: 18px; }
input, select, textarea { border-radius: 10px; }
.pagehead h1 { margin-bottom: .1rem; }
.loginlogo { width: 260px; height: auto; margin: .4rem auto 0; display: block; }
.logincard { border-top: 4px solid var(--brand); }
.logincard img { border-radius: 0; }

/* cruscotto */
.hello { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin: .4rem 0 1.1rem; }
.hello .row { gap: .5rem; }
.inhouse-dot { color: var(--ok); font-weight: 600; }
.inhouse-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: .35rem; vertical-align: 1px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: .7rem; margin-bottom: 1.1rem; }
.kpi { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); min-width: 0; }
.kpi:hover { text-decoration: none; border-color: var(--brand-2); }
.kpi .k { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi b { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--brand); }
.kpi .s { font-size: .8rem; color: var(--muted); }
.kpi.hot { background: var(--night); border-color: var(--night); }
.kpi.hot .k, .kpi.hot .s { color: #cfcde0; }
.kpi.hot b { color: var(--accent); }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--free); overflow: hidden; margin-top: .35rem; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--sea)); border-radius: 6px; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (min-width: 1100px) { .dash { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.dside { display: grid; gap: 1rem; }
.dside .panel { margin-bottom: 0; }
.todo { margin-bottom: 0; }
.tgroup + .tgroup { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.tgh { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; }
.tgh b { font-weight: 700; font-size: .92rem; }
.tgi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, var(--card)); color: var(--brand); }
.tgroup.pec .tgi { background: color-mix(in srgb, var(--danger) 12%, var(--card)); color: var(--danger); }
.tgroup.opzione .tgi, .tgroup.servizio .tgi { background: color-mix(in srgb, var(--accent) 30%, var(--card)); color: var(--warn); }
.tgroup.punto .tgi { background: color-mix(in srgb, var(--ok) 12%, var(--card)); color: var(--ok); }
.cnt { font-style: normal; font-size: .75rem; color: var(--muted); background: var(--free); padding: .05rem .5rem; border-radius: 999px; }
.tlist { list-style: none; margin: 0; padding: 0 0 0 2.4rem; }
.tlist li { display: flex; align-items: center; gap: .75rem; padding: .45rem .55rem; border-radius: 9px; }
.tlist li:hover { background: var(--free); }
.tlist li.urgent { box-shadow: inset 3px 0 0 var(--danger); }
.tlist li.soon { box-shadow: inset 3px 0 0 var(--accent); }
.tmain { flex: 1; min-width: 0; color: var(--ink); display: grid; }
.tmain:hover { text-decoration: none; }
.tt { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmeta { display: flex; align-items: center; gap: .4rem; flex: none; }
.tlist .more a { font-size: .85rem; }
.mk { display: inline-block; font-size: .74rem; font-weight: 600; padding: .12rem .55rem; border-radius: 999px; background: var(--free); color: var(--muted); white-space: nowrap; }
.mk.urgent { background: color-mix(in srgb, var(--danger) 13%, var(--card)); color: var(--danger); }
.mk.soon { background: color-mix(in srgb, var(--accent) 35%, var(--card)); color: var(--warn); }
.mk.ok { background: color-mix(in srgb, var(--ok) 13%, var(--card)); color: var(--ok); }
.mk.live { background: var(--ok); color: #fff; }
.mk.opt { background: var(--accent); color: #292836; }
.allclear { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
.allclear .ic { width: 34px; height: 34px; color: #d9a800; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); }
.agenda li:first-child { border-top: 0; }
.ad { display: grid; place-items: center; line-height: 1; font-size: .7rem; color: var(--muted); text-transform: uppercase; padding: .35rem 0; border-radius: 10px; background: var(--free); }
.ad b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.occ { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; align-items: end; height: 130px; }
.om { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; color: var(--muted); text-align: center; font-size: .72rem; }
.om:hover { text-decoration: none; }
.ob { position: relative; display: flex; flex-direction: column-reverse; background: var(--free); border-radius: 6px; overflow: hidden; }
.ob i { display: block; width: 100%; }
.ob .b { background: var(--booking); }
.ob .o { background: var(--option); }
.om.now .ol { color: var(--ink); font-weight: 700; }
.occ + .legend { margin: .6rem 0 0; }
#soggiorni { margin-top: 1.2rem; }
.stays { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .8rem; margin-bottom: 1rem; }
.stay { display: flex; flex-direction: column; gap: .2rem; padding: .95rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); border-top: 4px solid var(--booking); min-width: 0; }
.stay:hover { text-decoration: none; border-color: var(--brand-2); }
.stay.option { border-top-color: var(--option); }
.stay.partial { border-top-color: var(--partial); }
.stay.live { background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 7%, var(--card)), var(--card) 40%); }
.sthead { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.stdates { font-family: var(--display); font-size: 1.05rem; }
.stwho { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stsum { font-size: .84rem; color: var(--muted); margin: .35rem 0 0; }
.stfoot { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin-top: auto; padding-top: .6rem; font-size: .78rem; color: var(--muted); }
.stfoot span { display: inline-flex; align-items: center; gap: .25rem; }
.stfoot .ic { width: 15px; height: 15px; }
.stfoot .warnc { color: var(--warn); font-weight: 600; }
.stfoot .okc { color: var(--ok); font-weight: 600; }
@media (max-width: 600px) {
  .tlist { padding-left: 0; }
  .tlist li { flex-wrap: wrap; gap: .3rem; }
  .tmeta { width: 100%; justify-content: flex-start; }
  .tt, .ts { white-space: normal; }
  .ts { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .kpi .k { font-size: .74rem; }
  .hello .row { width: 100%; }
  .hello .row .btn { flex: 1 1 auto; }
  .kpi b { font-size: 1.6rem; }
}
.tabs { display: flex; gap: .2rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin: .2rem 0 .8rem; scrollbar-width: thin; }
.tabs a { padding: .55rem .8rem; white-space: nowrap; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; }
.tabs a small { font-weight: 500; opacity: .8; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.catbox { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .8rem; margin-bottom: .6rem; border-radius: 10px; background: var(--free); }
.catbox select { flex: 1 1 12rem; min-width: 0; }

/* contabilità */
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .6rem; }
.cbox { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.cbox .ck { font-size: .78rem; color: var(--muted); font-weight: 600; }
.cbox .cv { font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.cbox .cs { font-size: .78rem; color: var(--muted); }
.cbox.hot { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, var(--card)); }
.rate { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.rate li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(4rem, 1fr) auto; gap: .8rem; align-items: center; padding: .5rem .7rem; border-radius: 10px; background: var(--free); }
.rate li.err { box-shadow: inset 3px 0 0 var(--danger); }
.rate li.warn { box-shadow: inset 3px 0 0 var(--accent); }
.rate li.ok { box-shadow: inset 3px 0 0 var(--ok); }
.rbar { height: 7px; background: var(--card); border-radius: 7px; overflow: hidden; border: 1px solid var(--line); }
.rbar i { display: block; height: 100%; background: var(--ok); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.checks li { display: flex; gap: .55rem; align-items: baseline; font-size: .92rem; }
.cdot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); transform: translateY(-1px); }
.checks .ok .cdot { background: var(--ok); }
.checks .warn .cdot { background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.checks .err .cdot { background: var(--danger); }
.checks .err { color: var(--danger); }
.terms { margin-top: .5rem; }
.terms summary { cursor: pointer; }
.conti details.action { margin-top: .7rem; }
.sugg { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.sugg .grow { flex: 1 1 14rem; }
.ledger { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); font-size: .9rem; }
.ledger th { text-align: left; font-size: .76rem; color: var(--muted); font-weight: 600; padding: .55rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger tr.lv-err td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.ledger tr.lv-warn td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 700px) {
  .rate li { grid-template-columns: minmax(0, 1fr) auto; }
  .rate .rbar { grid-column: 1 / -1; grid-row: 2; }
  .ledger.rtable td:nth-child(3) { display: flex; }
  .ledger.rtable td:nth-child(3)::before { display: block; }
  .ledger.rtable td:first-child { display: block; text-align: left; }
  .ledger.rtable td:first-child::before { display: none; }
}
.replygrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 1100px) { .replygrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.reply textarea#replybody { min-height: 18rem; font-size: .95rem; line-height: 1.55; }
.wrapbtns { flex-wrap: wrap; gap: .45rem; }
.aiside { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, var(--card)), var(--card) 45%); align-self: start; }
.aihead { display: flex; align-items: center; gap: .45rem; color: var(--brand); margin-bottom: .3rem; }
.aichips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 .7rem; }
.aichip { font: inherit; font-size: .82rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--card); color: var(--brand); cursor: pointer; }
.aichip:hover { background: var(--brand); color: #fff; }
.aichip.ghost { color: var(--muted); border-color: var(--line); }
.facts { margin-top: .9rem; display: grid; gap: .45rem; }
.facts h3 { margin: 0; font-size: .85rem; color: var(--muted); }
.fact { padding: .5rem .65rem; border-radius: 9px; background: var(--free); font-size: .9rem; box-shadow: inset 3px 0 0 var(--brand-2); }
.fact.ok { box-shadow: inset 3px 0 0 var(--ok); }
.fact.err { box-shadow: inset 3px 0 0 var(--danger); }

/* Impostazioni → Collegamenti */
fieldset.box { border: 1px solid var(--line, #EBE7DE); border-radius: 12px; padding: 12px 14px 14px; margin: 0 0 12px; }
fieldset.box legend { padding: 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 14px; }
.grid2 label, fieldset.box > label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }

/* Calendario: giorni di check-out (mattina, triangolo in alto a sinistra) e check-in (pomeriggio, in basso a destra) */
.day.split { --am: var(--free); --pm: var(--free); background: linear-gradient(135deg, var(--am) 0 48.5%, var(--card) 48.5% 51.5%, var(--pm) 51.5% 100%); box-shadow: none; }
.day.split.am-option { --am: var(--option); } .day.split.pm-option { --pm: var(--option); }
.day.split.am-booking { --am: var(--booking); } .day.split.pm-booking { --pm: var(--booking); }
.day.split.am-maintenance { --am: var(--maintenance); } .day.split.pm-maintenance { --pm: var(--maintenance); }
.day.split.am-partial { --am: var(--partial); } .day.split.pm-partial { --pm: var(--partial); }
.day.split { color: var(--ink); font-weight: 700; text-shadow: 0 0 3px var(--card), 0 0 3px var(--card); }
.dot.halfdemo { border-radius: 3px; background: linear-gradient(135deg, var(--booking) 0 49.5%, var(--option) 50.5%); }
.userlist li { flex-wrap: wrap; gap: 10px; }
.userlist .grow { flex: 1 1 320px; min-width: 0; }
.userlist .copy { width: 100%; margin: 4px 0; font-size: .8rem; }

/* Analisi */
.chartbox { width: 100%; overflow-x: auto; }
svg.chart { width: 100%; min-width: 520px; height: auto; display: block; }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart .ax { fill: var(--muted); font-size: 11px; font-family: inherit; }
svg.chart .ax.live { fill: var(--brand); font-weight: 700; }
svg.chart .val { fill: var(--ink); font-size: 11px; font-weight: 600; }
svg.chart rect:hover { opacity: .8; }
.kpi b.kpitext { font-size: 1.25rem; line-height: 1.3; }
table.pivot td, table.pivot th { white-space: nowrap; padding: .35rem .5rem; }
table.pivot .livecol { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.monthbars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 130px; align-items: end; margin: .5rem 0 1rem; }
.monthbars div { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.monthbars i { width: 70%; background: var(--booking); border-radius: 4px 4px 0 0; min-height: 2px; }
.monthbars span { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.monthbars b { position: absolute; top: 0; font-size: .7rem; color: var(--muted); font-weight: 600; }

/* Rubrica ospiti e offerte */
.guestlist summary { display: flex; gap: 10px; align-items: center; cursor: pointer; flex-wrap: wrap; }
.guestlist summary .grow { flex: 1 1 300px; min-width: 0; }
.guestlist li { display: block; }
.stepn { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; margin-right: .4rem; vertical-align: 2px; }
.recips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 14px; max-height: 420px; overflow: auto; }
.mailprev { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--bg); min-width: 0; }
.mailprev pre { white-space: pre-wrap; font-family: inherit; font-size: .9rem; margin: .5rem 0 0; }
.row.wrap { flex-wrap: wrap; }
.reqrow { flex-wrap: wrap; gap: 8px; }
.reqrow .grow { flex: 1 1 340px; min-width: 0; }
.reqrow input.small { width: 12em; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 14px; }

/* meteo e avvisi */
.wx { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.wxnow { display: flex; gap: .7rem; align-items: center; }
.wxbig { font-size: 2.6rem; line-height: 1; }
.wxt { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--brand); }
.wxt small { font-size: 1rem; margin-left: 2px; }
.wxdays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.wxd { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .4rem .3rem; border-radius: 10px; background: var(--bg); text-align: center; }
.wxd.warn { background: #fff1e0; box-shadow: inset 0 0 0 1px #f0a24a; }
.wxdi { font-size: 1.5rem; line-height: 1.2; }
.wxfoot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .5rem; }
.wxalerts { display: grid; gap: .5rem; margin-bottom: .8rem; }
.wxa { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .9rem; border-radius: var(--radius); border: 1px solid; }
.wxa .wxi { font-size: 1.4rem; line-height: 1.2; }
.wxa.giallo { background: #fff9db; border-color: #f2d24b; }
.wxa.arancione { background: #fff1e0; border-color: #f0a24a; }
.wxa.rosso { background: #fde8e6; border-color: #e2574c; }
@media (max-width: 700px) { .wx { grid-template-columns: 1fr; } }

/* schermata di apertura (telefono / app installata): velo grigio scuro trasparente, logo che si riempie
   come un liquido ondeggiante e cornice che "si carica" finché la pagina non è pronta */
#splash { display: none; }
#splash.on { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: rgba(32, 32, 40, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .55s ease, filter .55s ease; }
#splash.out { opacity: 0; filter: blur(6px); pointer-events: none; }
#splash .sp-box { position: relative; width: min(80vw, 440px); padding: 34px 30px 22px; display: grid; justify-items: center; gap: 12px;
  }
#splash .sp-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#splash .sp-frame rect { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
#splash .sp-frame .base { stroke: rgba(255,255,255,.14); }
#splash .sp-frame .run { stroke: #ffd018; stroke-linecap: round; stroke-dasharray: 22 78; filter: drop-shadow(0 0 4px rgba(255,208,24,.7));
  animation: sp-run 1.6s linear infinite; }
#splash .sp-word { position: relative; width: 100%; aspect-ratio: 560 / 96; overflow: hidden;
  -webkit-mask: url(/static/logo-white.png) center / contain no-repeat; mask: url(/static/logo-white.png) center / contain no-repeat;
  background: rgba(255,255,255,.22); }
#splash .sp-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 130%; transform: translateY(85%);
  animation: sp-rise 3s ease-in-out infinite; }
#splash .sp-liq { position: absolute; left: 0; top: 0; width: 200%; height: 100%; }
#splash .sp-liq.a { fill: #ffffff; animation: sp-wave 2.2s linear infinite; }
#splash .sp-liq.b { fill: #38c0f0; opacity: .55; top: 4%; animation: sp-wave 3.4s linear infinite reverse; }
#splash .sp-sub { color: rgba(255,255,255,.6); font-size: .74rem; letter-spacing: .45em; text-transform: uppercase; }
@keyframes sp-in { to { opacity: 1; transform: none; } }
@keyframes sp-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes sp-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sp-rise { 0% { transform: translateY(85%); } 85%, 100% { transform: translateY(-12%); } }
@media (prefers-reduced-motion: reduce) { #splash * { animation-duration: .01s !important; animation-delay: 0s !important; } }
