/* Spott · estilo beige con acento ámbar CTS */
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(../fonts/space-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../fonts/space-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 500; font-display: swap; src: url(../fonts/chakra-petch-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-600-normal.woff2) format('woff2'); }

:root {
  --bg: #F3F0E9; --card: #FFFFFF; --muted: #E9E3D6; --muted2: #EFEBE2; --line: #E6E1D6;
  --ink: #111111; --sub: #5E5A52; --faint: #8A857A;
  --amber: #F3C36B; --amber2: #F7DFA8; --lav: #D98A68; --lav2: #F1CDBB; --dot-prep: #12A899; --dot-shoot: #E1263B;
  --k-rodaje: #E1263B; --k-rodaje-bg: #F6C4C8; --k-recce: #2F6FDB; --k-recce-bg: #D3E2FA; --k-prelight: #E8700F; --k-prelight-bg: #FAD8B8; --k-check: #12A899; --k-check-bg: #C3EEE8; --k-wrap: #7A756A; --k-wrap-bg: #E9E3D6;
  --ok: #3E8E5A; --bad: #C2452D;
  --safe-t: var(--sa-top, env(safe-area-inset-top, 0px)); --safe-b: var(--sa-bottom, env(safe-area-inset-bottom, 0px));
  --nav-h: calc(48px + var(--safe-b) * .4);
  --solid: #111111; --on-solid: #FFFFFF; --solid-acc: #F3C36B; --panel: #111111;
  --ok-bg: #DCEBDD; --ok-ink: #245A35; --bad-bg: #F6D9D2; --bad-ink: #8E2A17; --has: #F7F3EA;
}
/* Modo plató: negro puro OLED, alto contraste, áreas táctiles grandes */
[data-theme=plato] {
  --bg: #000000; --card: #111111; --muted: #1C1C1C; --muted2: #161616; --line: #262626;
  --ink: #F2F2F2; --sub: #A3A3A3; --faint: #6E6E6E;
  --amber: #F3B23C; --amber2: #F3C36B; --lav: #C8603E; --lav2: #D98A68; --dot-prep: #2FD3C1; --dot-shoot: #FF3347;
  --k-rodaje: #FF3347; --k-rodaje-bg: #FF8A93; --k-recce: #5B9BFF; --k-recce-bg: #8FB8FA; --k-prelight: #FF8A2B; --k-prelight-bg: #F7A963; --k-check: #2FD3C1; --k-check-bg: #6FD9CC; --k-wrap: #9A9A9A; --k-wrap-bg: #BDB8AE;
  --ok: #30D158; --bad: #FF453A;
  --solid: #F3B23C; --on-solid: #000000; --solid-acc: #000000; --panel: #1E1E1E;
  --ok-bg: #0F2E19; --ok-ink: #30D158; --bad-bg: #3A0F0C; --bad-ink: #FF6B61; --has: #1A1A1A;
}
[data-theme=plato] [style*="background:var(--amber"], [data-theme=plato] [style*="background:var(--lav"], [data-theme=plato] [style*="background:var(--k-"], [data-theme=plato] [style*="background:#"],
[data-theme=plato] .card.amber, [data-theme=plato] .card.lav, [data-theme=plato] .pill.amber, [data-theme=plato] .pill.lav, [data-theme=plato] .btn.amber, [data-theme=plato] .rolegrid button.on { color: #000; }
[data-theme=plato] [style*="background:var(--amber"] .sub, [data-theme=plato] [style*="background:var(--amber"] .small, [data-theme=plato] .card.amber .sub, [data-theme=plato] .card.amber .small, [data-theme=plato] .card.lav .small, [data-theme=plato] [style*="background:#"] .sub, [data-theme=plato] [style*="background:#"] .small, [data-theme=plato] [style*="background:var(--lav"] .small, [data-theme=plato] [style*="background:var(--lav"] .sub, [data-theme=plato] [style*="background:var(--k-"] .sub, [data-theme=plato] [style*="background:var(--k-"] .small { color: #2B2B2B !important; }
[data-theme=plato] .nav { background: #0A0A0A; box-shadow: 0 -1px 0 #1E1E1E; } [data-theme=plato] .sticky-bottom { background: linear-gradient(rgba(0,0,0,0), #000 35%); }
[data-theme=plato] .beam { background: radial-gradient(120% 90% at 20% 0%, rgba(243,178,60,.45) 0%, rgba(243,178,60,.15) 35%, rgba(0,0,0,0) 70%); }
[data-theme=plato] .sheet-back { background: rgba(0,0,0,.6); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

#app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.screen { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc(var(--safe-t) + 18px) 18px calc(var(--nav-h) + 24px); }
.screen.no-nav { padding-bottom: calc(var(--safe-b) + 24px); }
.screen.enter { animation: enter .22s ease-out; }
.screen.back { animation: back .22s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateX(16px); } }
@keyframes back { from { opacity: 0; transform: translateX(-16px); } }
@media (prefers-reduced-motion: reduce) { .screen.enter, .screen.back { animation: none; } }

/* tipografía */
.h1 { font-size: 27px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.h2 { font-size: 19px; font-weight: 600; }
.h3 { font-size: 16px; font-weight: 600; }
.sub { color: var(--sub); font-size: 13px; }
.small { color: var(--sub); font-size: 12px; line-height: 1.45; }
.num { font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--sub); letter-spacing: .6px; text-transform: uppercase; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grid2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; } .grid3 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.grid2 > *, .grid3 > * { min-width: 0; }
/* iOS da a los campos de fecha y hora un ancho mínimo propio y los centra: los ajustamos a su casilla */
.field input[type=date], .field input[type=time], .field input[type=datetime-local] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; display: block; text-align: left; line-height: 46px; padding: 0 12px; }
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.grid3.dates { grid-template-columns: minmax(0,1.35fr) minmax(0,.75fr) minmax(0,.9fr); }
.center { text-align: center; } .ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* cabecera */
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.iconbtn { width: 46px; height: 46px; border-radius: 23px; border: none; background: var(--card); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.iconbtn.dark { background: var(--solid); color: var(--solid-acc); }

/* tarjetas */
.card { background: var(--card); border-radius: 24px; padding: 16px; }
.card.tight { padding: 12px; }
.card.amber { background: var(--amber); } .card.lav { background: var(--lav2); } .card.muted { background: var(--muted); } .card.dark { background: var(--panel); color: #fff; }
.card.dark .sub, .card.dark .small { color: #B5B5B5; }
.tile { background: var(--card); border-radius: 20px; padding: 14px 12px; }
.tile.dark { background: var(--panel); color: #fff; } .tile.dark .sub { color: #B5B5B5; } .tile.dark .num { color: var(--amber); }
.tile .num { font-size: 24px; }

/* filas de lista */
.item { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 20px; padding: 10px 12px 10px 10px; border: none; width: 100%; text-align: left; }
.item.flat { background: transparent; padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.item .ic { width: 42px; height: 42px; border-radius: 14px; background: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.item .t { font-size: 15px; font-weight: 600; } .item .s { font-size: 12px; color: var(--sub); }
.chev { color: var(--faint); }
.avatar { width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; background: var(--muted); }

/* botones */
.btn { height: 52px; border-radius: 26px; border: none; padding: 0 20px; font-size: 15px; font-weight: 600; background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--solid); color: var(--on-solid); } .btn.amber { background: var(--amber); } .btn.ghost { background: transparent; border: 2px solid var(--ink); }
.btn.danger { background: var(--bad); color: #fff; } .btn.block { width: 100%; } .btn.sm { height: 38px; border-radius: 19px; padding: 0 14px; font-size: 13px; }
.btn:disabled { background: #CFC8B9; color: var(--sub); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 600; background: var(--muted2); white-space: nowrap; }
.pill.amber { background: var(--amber); } .pill.dark { background: var(--solid); color: var(--solid-acc); } .pill.lav { background: var(--lav2); } .pill.ok { background: var(--ok-bg); color: var(--ok-ink); } .pill.bad { background: var(--bad-bg); color: var(--bad-ink); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .chips::-webkit-scrollbar { display: none; }
.chip { height: 36px; padding: 0 14px; border-radius: 18px; border: none; background: var(--card); font-size: 13px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--solid); color: var(--on-solid); }
.seg { display: flex; background: var(--muted); border-radius: 22px; padding: 4px; }
.seg button { flex: 1; height: 36px; border-radius: 18px; border: none; background: transparent; font-size: 13px; font-weight: 600; }
.seg button.on { background: var(--card); }
.stepper { display: inline-flex; align-items: center; height: 38px; border-radius: 19px; background: var(--panel); color: #fff; }
.stepper button { width: 38px; height: 38px; border: none; background: transparent; color: #B5B5B5; font-size: 20px; }
.stepper button.plus { color: var(--amber); }
.stepper .num { min-width: 34px; text-align: center; font-size: 15px; }
.qtyadd { width: 38px; height: 38px; border-radius: 19px; border: none; background: var(--muted); font-size: 20px; }

/* formularios */
.field { display: block; margin-top: 12px; }
.field > span { display: block; font-size: 12px; font-weight: 600; color: var(--sub); margin-bottom: 6px; }
.field input, .field select, .field textarea, .input { width: 100%; height: 50px; border-radius: 16px; border: 2px solid transparent; background: var(--card); padding: 0 14px; outline: none; }
.field textarea { height: 90px; padding: 12px 14px; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 10px; height: 50px; border-radius: 25px; background: var(--card); padding: 0 16px; }
.search input { flex: 1; border: none; outline: none; background: transparent; height: 46px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: #CFC8B9; position: relative; border: none; flex-shrink: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; transition: left .18s; }
.switch.on { background: var(--solid); } .switch.on::after { left: 23px; background: var(--amber); }

/* barra inferior */
.nav { position: fixed; left: 0; right: 0; bottom: 0; height: var(--nav-h); padding: 4px 6px calc(var(--safe-b) * .4); background: var(--card); border-radius: 26px 26px 0 0; box-shadow: 0 -8px 24px rgba(60,50,30,.07); display: flex; z-index: 20; }
.nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--faint); }
.nav a span { width: 54px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.nav a.on { color: var(--ink); font-weight: 600; } .nav a.on span { background: var(--solid); color: var(--solid-acc); }

/* calendario */
.cal { background: var(--card); border-radius: 26px; padding: 14px 0 12px; }
.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 12px; scroll-padding: 0 12px; }
.strip::-webkit-scrollbar { display: none; }
.day { scroll-snap-align: start; flex: 0 0 calc((100% - 0px) / 7); display: flex; justify-content: center; }
.day button { width: 42px; height: 70px; border-radius: 21px; border: 2px solid transparent; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; }
.day button.past { color: var(--faint); background: var(--bg); }
.day button.today { border-color: var(--ink); }
.day button.sel { background: var(--solid); color: var(--on-solid); }
.day .wd { font-size: 11px; opacity: .7; } .day .dn { font-family: 'Chakra Petch'; font-size: 17px; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 4px; display: inline-block; }
/* En el día seleccionado (fondo de color) el punto va en el color del texto para que se vea siempre */
.day button.sel .dot[style*="var("], .mgrid button.sel .dot[style*="var("] { background: var(--on-solid) !important; }
.day button.sel .dot[style*="transparent"], .mgrid button.sel .dot[style*="transparent"] { background: transparent !important; }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.mgrid button { height: 44px; margin: 0 2px; border-radius: 14px; border: 2px solid transparent; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; font-size: 14px; font-weight: 600; }
.mgrid button.has { background: var(--has); } .mgrid button.sel { background: var(--solid); color: var(--on-solid); } .mgrid button.today { border-color: var(--ink); }
.mgrid button.past { color: var(--sub); }

/* fases */
.bar { display: flex; gap: 4px; } .bar span { flex: 1; height: 6px; border-radius: 3px; background: var(--muted); }
.phase { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.phase .mark { width: 36px; height: 36px; border: none; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; margin: -4px; }
.phase .mark i { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; border: 2px solid #CFC8B9; }
.phase.done .mark i { background: var(--solid); color: var(--solid-acc); border-color: var(--solid); }
.phase.next .mark i { border-color: var(--amber); }
.phase.skip { opacity: .5; } .phase.skip .mark i { border-style: dashed; } .phase.skip .pt { text-decoration: line-through; }

/* pedido */
.cat-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-weight: 600; }
.line { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 18px; padding: 10px 10px 10px 14px; }
.line + .line { margin-top: 6px; }
.line .t { font-size: 14px; font-weight: 600; } .line .s { font-size: 12px; color: var(--sub); }
.note-in { border: none; background: transparent; font-size: 12px; color: var(--sub); padding: 2px 0; width: 100%; outline: none; }
.note-in::placeholder { color: #B9B1A0; }
.sticky-bottom { position: fixed; left: 0; right: 0; bottom: var(--nav-h); padding: 12px 18px; background: linear-gradient(rgba(243,240,233,0), var(--bg) 35%); z-index: 10; }
.sticky-bottom.nonav { bottom: 0; padding-bottom: calc(12px + var(--safe-b)); }

/* check */
.ck { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 18px; padding: 8px 8px 8px 14px; }
.ck + .ck { margin-top: 6px; } .ck.full { background: var(--ok-bg); }
.ck .cnt { font-family: 'Chakra Petch'; font-weight: 600; min-width: 48px; text-align: right; }

/* bienvenida */
.welcome { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 40px) 24px calc(var(--safe-b) + 28px); }
.logo { font-family: 'Chakra Petch'; font-weight: 600; font-size: 44px; letter-spacing: -1px; display: flex; align-items: center; gap: 10px; }
.logo i { width: 18px; height: 18px; border-radius: 9px; background: var(--amber); box-shadow: 0 0 0 6px rgba(243,195,107,.35); display: inline-block; }
.beam { height: 260px; margin: 26px -24px 0; background: radial-gradient(120% 90% at 20% 0%, #F7DFA8 0%, rgba(243,195,107,.55) 30%, rgba(243,240,233,0) 70%); position: relative; }
.rolegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rolegrid button { height: 64px; border-radius: 18px; border: 2px solid transparent; background: var(--card); text-align: left; padding: 0 14px; font-weight: 600; }
.rolegrid button.on { border-color: var(--ink); background: var(--amber2); }
.rolegrid button small { display: block; font-weight: 400; font-size: 11px; color: var(--sub); }

/* hojas */
.sheet-back { position: fixed; inset: 0; background: rgba(17,17,17,.35); z-index: 50; display: flex; align-items: flex-end; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; background: var(--bg); border-radius: 28px 28px 0 0; padding: 22px 18px calc(var(--safe-b) + 18px); animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(30px); } }
.sheet .row .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px); transform: translateX(-50%); background: var(--panel); color: #fff; border: 1px solid var(--line); padding: 12px 18px; border-radius: 20px; font-size: 14px; z-index: 60; display: none; max-width: 90%; text-align: center; }
.empty { text-align: center; color: var(--sub); padding: 26px 12px; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec span:first-child { color: var(--sub); } .spec span:last-child { text-align: right; font-weight: 600; }
.timer { font-family: 'Chakra Petch'; font-size: 54px; font-weight: 600; letter-spacing: -1px; }
.donut { width: 140px; height: 140px; }
.lock { color: var(--faint); }

/* Módulo A: propietarios y wrap */
.owner { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 13px; font-size: 11.5px; font-weight: 600; border: none; background: var(--muted2); color: var(--ink); white-space: nowrap; max-width: 130px; }
.owner i { width: 10px; height: 10px; border-radius: 5px; flex-shrink: 0; }
.owner span { overflow: hidden; text-overflow: ellipsis; }
.ownerbar { width: 6px; align-self: stretch; border-radius: 3px; flex-shrink: 0; margin: -2px 0; }
.ck.big { padding: 10px 10px 10px 12px; }
.bigstep { display: flex; align-items: center; gap: 6px; }
.bigstep button { width: 60px; height: 60px; border-radius: 30px; border: none; font-size: 28px; font-weight: 600; background: var(--muted); color: var(--ink); }
.bigstep button.plus { background: var(--solid); color: var(--on-solid); }
.bigstep .num { min-width: 64px; text-align: center; font-size: 20px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { width: 44px; height: 44px; border-radius: 22px; border: 3px solid transparent; }
.swatches button.on { border-color: var(--ink); }
[data-theme=plato] .switch { background: #3A3A3A; }
[data-theme=plato] .switch::after { background: #BDBDBD; }
[data-theme=plato] .switch.on { background: var(--amber); }
[data-theme=plato] .switch.on::after { background: #000; }
.found { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hero-w { background: #0B0B0B; position: relative; overflow: hidden; }
.hero-beam { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero-w { min-height: 100vh; min-height: 100dvh; }

/* ---------- Sol en cámara ---------- */
#suncam { position: fixed; inset: 0; z-index: 45; background: #0d1420; color: #fff; overflow: hidden; touch-action: none; }
#suncam.nocam { background: linear-gradient(#1c2c4a, #3d5a80 55%, #2b2b2b 55.2%, #1a1a1a); }
#suncam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#suncam canvas { position: absolute; inset: 0; }
#suncam .sc-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--sa-top, env(safe-area-inset-top)) + 10px) 14px 10px; display: flex; align-items: center; gap: 10px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
#suncam .sc-title { flex: 1; display: flex; flex-direction: column; font-size: 13px; text-shadow: 0 1px 3px #000; }
#suncam .sc-title b { font-size: 16px; }
#suncam .sc-btn { width: 44px; height: 44px; border-radius: 22px; border: none; background: rgba(17,17,17,.65); color: #fff; font-size: 18px; }
#suncam .sc-note { position: absolute; left: 16px; right: 16px; top: calc(var(--sa-top, env(safe-area-inset-top)) + 70px); font-size: 13px; text-align: center; text-shadow: 0 1px 3px #000; pointer-events: none; }
#suncam .sc-panel { position: absolute; left: 10px; right: 10px; bottom: calc(var(--sa-bottom, env(safe-area-inset-bottom)) + 10px); background: rgba(17,17,17,.78); border-radius: 22px; padding: 12px 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#suncam .sc-sun { font-weight: 600; font-size: 14px; }
#suncam input[type=range] { width: 100%; margin: 10px 0 6px; accent-color: #F3C36B; height: 28px; }
#suncam .sc-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
#suncam input[type=date] { background: #2a2a2a; color: #fff; border: 1px solid #444; border-radius: 12px; height: 36px; padding: 0 8px; font: inherit; font-size: 14px; }
#suncam .sc-chip { height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid #555; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
#suncam .sc-chip.on { background: #F3C36B; color: #111; border-color: #F3C36B; }
#suncam .sc-legend { display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: #ccc; }
#suncam .sc-legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

/* ---------- Movimiento ---------- */
#app { z-index: 1; }
/* Franja bajo la hora/batería: el contenido pasa por debajo sin pisar el reloj */
.safe-cap { position: fixed; left: 0; right: 0; top: 0; height: calc(var(--safe-t) + 18px); background: linear-gradient(180deg, rgba(246,243,236,.94) 0, rgba(246,243,236,.86) var(--safe-t), rgba(246,243,236,0) 100%); z-index: 30; pointer-events: none; }
[data-theme=plato] .safe-cap { background: transparent; }
body { background: var(--bg); }
.screen { position: relative; will-change: transform; }

/* Fondo: luz difusa que deriva muy despacio y se funde hacia el fondo (negro en modo plató) */
#bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(180deg, #F6F3EC 0%, #F1EDE4 55%, #E9E3D6 100%); }
#bgfx .l1, #bgfx .l2 { position: absolute; border-radius: 50%; will-change: transform; }
#bgfx .l1 { width: 120vmax; height: 120vmax; left: -40vmax; top: -50vmax; background: radial-gradient(circle, rgba(255,236,196,.95) 0%, rgba(250,226,178,.45) 30%, rgba(243,240,233,0) 62%); animation: drift1 240s ease-in-out infinite alternate; }
#bgfx .l2 { width: 90vmax; height: 90vmax; right: -45vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(243,195,107,.22) 0%, rgba(243,195,107,0) 60%); animation: drift2 320s ease-in-out infinite alternate; }
[data-theme=plato] #bgfx { background: #000; }
[data-theme=plato] #bgfx .l1 { background: radial-gradient(circle, rgba(243,178,60,.20) 0%, rgba(243,178,60,.07) 32%, rgba(0,0,0,0) 62%); }
[data-theme=plato] #bgfx .l2 { background: radial-gradient(circle, rgba(140,120,255,.07) 0%, rgba(0,0,0,0) 60%); }
@keyframes drift1 { 0% { transform: translate(0, 0); } 50% { transform: translate(30vw, 35vh); } 100% { transform: translate(8vw, 70vh); } }
@keyframes drift2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-35vw, -45vh); } }

/* Cambios de pestaña y de pantalla */
.screen.tab-next { animation: tabn .28s cubic-bezier(.2,.8,.2,1); }
.screen.tab-prev { animation: tabp .28s cubic-bezier(.2,.8,.2,1); }
@keyframes tabn { from { opacity: 0; transform: translateX(40px); } }
@keyframes tabp { from { opacity: 0; transform: translateX(-40px); } }
.screen.enter .col > *, .screen.tab-next .col > *, .screen.tab-prev .col > *, .screen.enter .grid2 > *, .screen.tab-next .grid2 > *, .screen.tab-prev .grid2 > * { animation: rise .38s cubic-bezier(.2,.8,.2,1) backwards; }
.screen .col > :nth-child(2), .screen .grid2 > :nth-child(2) { animation-delay: .03s !important; }
.screen .col > :nth-child(3), .screen .grid2 > :nth-child(3) { animation-delay: .06s !important; }
.screen .col > :nth-child(4), .screen .grid2 > :nth-child(4) { animation-delay: .09s !important; }
.screen .col > :nth-child(5), .screen .grid2 > :nth-child(5) { animation-delay: .12s !important; }
.screen .col > :nth-child(6), .screen .grid2 > :nth-child(6) { animation-delay: .15s !important; }
.screen .col > :nth-child(n+7) { animation-delay: .18s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.btn, .item, .tile, .card[data-go], .chip, .iconbtn, .nav a span { transition: transform .12s ease, background-color .2s; }
.btn:active, .item:active, .tile:active, .card[data-go]:active, .chip:active, .iconbtn:active { transform: scale(.97); }
.nav:not(.fx) a.on span { animation: navpop .3s cubic-bezier(.3,1.6,.5,1); }
@keyframes navpop { 50% { transform: scale(1.15); } }
.sheet { animation: sheetup .3s cubic-bezier(.2,.9,.3,1.1); }
@keyframes sheetup { from { transform: translateY(100%); } }

/* Fase en curso: se enciende y se apaga mientras está pendiente */
.phase.next .mark i { animation: phasepulse 1.8s ease-in-out infinite; }
.bar span.now { animation: barpulse 1.8s ease-in-out infinite; }
@keyframes phasepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,195,107,0); background: transparent; } 50% { box-shadow: 0 0 0 6px rgba(243,195,107,.28); background: rgba(243,195,107,.55); } }
@keyframes barpulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Iconos de herramientas con vida (suave) */
.ic.anim-pin svg { animation: bob 2.4s ease-in-out infinite; }
.ic.anim-sun svg { animation: spin 14s linear infinite; }
.ic.anim-bolt svg { animation: flick 3.2s ease-in-out infinite; }
.ic.anim-cable svg { animation: sway 3s ease-in-out infinite; }
.ic.anim-gen svg { animation: rumble 2.6s ease-in-out infinite; }
.ic.anim-calc svg { animation: tick 3.6s ease-in-out infinite; }
.ic.anim-camera svg { animation: flash 4s ease-in-out infinite; }
.ic.anim-box svg { animation: sway 4s ease-in-out infinite; }
.ic.anim-catalog svg { animation: bob 3.4s ease-in-out infinite; }
.item:nth-child(2n) .ic[class*=anim-] svg { animation-delay: -1.3s; }
@keyframes bob { 50% { transform: translateY(-3px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flick { 0%, 40%, 100% { opacity: 1; } 44% { opacity: .35; } 48% { opacity: 1; } 52% { opacity: .5; } }
@keyframes sway { 50% { transform: rotate(-8deg); } }
@keyframes rumble { 0%, 60%, 100% { transform: translate(0,0); } 64% { transform: translate(-1px,1px); } 68% { transform: translate(1px,-1px); } 72% { transform: translate(-1px,0); } }
@keyframes tick { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.12); } }
@keyframes flash { 0%, 85%, 100% { filter: none; } 90% { filter: drop-shadow(0 0 4px #fff) brightness(1.6); } }

/* Deslizar filas */
.sw-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.sw-wrap > .card, .sw-wrap > .item { position: relative; z-index: 1; }
.sw-under { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 22px; color: #fff; border-radius: 20px; }
.sw-lbl { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; transition: transform .15s; }
.sw-lbl.past { transform: scale(1.12); }
.toast { display: none; align-items: center; gap: 14px; }
.toast.in { animation: toastin .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 12px); } }
.toast-act { background: none; border: none; color: var(--amber); font-weight: 700; font-size: 14px; padding: 4px 0; }
.pull { position: fixed; top: calc(var(--safe-t) + 6px); left: 50%; width: 34px; height: 34px; border-radius: 17px; background: var(--card); box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 40; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pull span { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--faint); border-top-color: transparent; }
.pull.ready span { border-color: var(--amber); border-top-color: transparent; }
.pull.spin span { animation: spin .7s linear infinite; border-color: var(--amber); border-top-color: transparent; }

/* Fotos de perfil y de rodaje */
.avatar-edit { position: relative; display: inline-flex; cursor: pointer; flex-shrink: 0; }
.avatar-edit .cam { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 12px; background: var(--solid); color: var(--solid-acc); display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.badge img { display: block; }

/* Avisos por urgencia */
.urg-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); margin: 18px 0 8px; }
.urg-h i { width: 10px; height: 10px; border-radius: 5px; }
.urg-h span { margin-left: auto; font-weight: 600; }
.item.urg { border-left: 5px solid var(--muted); }
.item.urg .when { font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.item.urg-today { border-left-color: var(--bad); background: var(--bad-bg); }
.item.urg-today .when { color: var(--bad); }
.item.urg-today .t::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--bad); margin-right: 6px; vertical-align: middle; animation: barpulse 1.4s ease-in-out infinite; }
.item.urg-tom { border-left-color: var(--amber); background: var(--amber2); }
.item.urg-tom .when { color: var(--ink); }
.item.urg-week { border-left-color: var(--lav); }
.item.urg-later { opacity: .8; }
.item.urg-new { border-left-color: var(--amber); }
.newdot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--amber); margin-right: 6px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  #bgfx .l1, #bgfx .l2, .ic[class*=anim-] svg, .phase.next .mark i, .bar span.now, .screen .col > *, .screen .grid2 > *, .screen.tab-next, .screen.tab-prev { animation: none !important; }
}
.hero-card .badge:not(:has(img)) { background: rgba(255,255,255,.6) !important; }
.hero-card .badge { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }

/* Aviso de conexión */
.netbar { position: fixed; left: 50%; top: calc(var(--safe-t) + 6px); transform: translate(-50%, -140%); z-index: 45; max-width: 92%; padding: 8px 14px; border-radius: 18px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); pointer-events: none; text-align: center; }
.netbar.in { transform: translate(-50%, 0); }
.netbar.off { background: var(--panel); color: #fff; }
.netbar.sync { background: var(--amber); color: #111; }
.netbar.ok { background: var(--ok); color: #fff; }

/* Mi semana */
.wk { padding: 6px 12px; }
.wk-day { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.wk-day:last-child { border-bottom: none; }
.wk-day.past { opacity: .55; }
.wk-d { width: 34px; text-align: center; flex-shrink: 0; display: flex; flex-direction: column; }
.wk-d span { font-size: 11px; color: var(--sub); font-weight: 600; } .wk-d b { font-family: 'Chakra Petch', sans-serif; font-size: 20px; }
.wk-day.today .wk-d b { background: var(--solid); color: var(--solid-acc); border-radius: 10px; }
.wk-ev { display: flex; flex-direction: column; width: 100%; text-align: left; border: none; background: var(--muted2); border-left: 4px solid var(--amber); border-radius: 12px; padding: 7px 10px; margin-bottom: 6px; }
.wk-ev .t { font-weight: 700; font-size: 14px; } .wk-ev .s { font-size: 12px; color: var(--sub); }
.wk-free { display: block; padding-top: 8px; }
.wk-hero { background: var(--panel) !important; }
.sigpad { position: relative; margin-top: 12px; border: 2px dashed #CFC8B9; border-radius: 18px; background: #fff; touch-action: none; }
.sigpad canvas { display: block; width: 100%; height: 200px; border-radius: 16px; }
.sigpad em { position: absolute; left: 0; right: 0; bottom: 48px; text-align: center; color: #B9B2A3; font-style: normal; pointer-events: none; }
.sigpad .line { position: absolute; left: 18px; right: 18px; bottom: 42px; border-top: 1px solid #E6E1D6; pointer-events: none; }
.sigpad .clear { position: absolute; top: 8px; right: 10px; background: none; border: none; color: #5E5A52; font-size: 13px; }
.sigimg { height: 34px; display: block; background: #fff; border-radius: 8px; }
.diff summary { cursor: pointer; list-style: none; } .diff summary::-webkit-details-marker { display: none; }
.diff summary::after { content: ' ▾'; color: var(--sub); }
.diffl { font-size: 14px; padding: 4px 0; border-top: 1px solid var(--line); } .diff .diffl:first-of-type { margin-top: 8px; }
.rate { width: 40px; height: 40px; border-radius: 20px; border: none; background: var(--muted); font-size: 18px; margin-left: 4px; opacity: .45; transition: transform .15s, opacity .15s; }
.rate.on { opacity: 1; background: var(--amber2); transform: scale(1.1); }
.dict { width: 100%; min-height: 120px; margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--bg); font-size: 16px; }
.ai-line.off { opacity: .45; }
.ai-chk { width: 30px; height: 30px; border-radius: 15px; border: 2px solid var(--solid); background: var(--solid); color: var(--solid-acc); font-weight: 700; flex-shrink: 0; }
.ai-line.off .ai-chk { background: transparent; }
.spinner { width: 28px; height: 28px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--muted); border-top-color: var(--amber); animation: spin .8s linear infinite; }
/* Modo plató: botones principales dentro de tarjetas ámbar → negros (si no, ámbar sobre ámbar) */
[data-theme=plato] [style*="background:var(--amber"] .btn.primary, [data-theme=plato] .card.amber .btn.primary, [data-theme=plato] [style*="background:var(--amber"] .btn.dark { background: #111 !important; color: #F3C36B !important; }
/* Usos de IA */
.ai-quota { margin: 10px 0 4px; padding: 10px 12px; border-radius: 14px; background: var(--muted2); font-size: 14px; }
.ai-quota.out { background: var(--bad-bg); color: var(--bad-ink); }
.ai-quota .bar1 { height: 6px; border-radius: 3px; background: var(--muted); margin: 8px 0 6px; overflow: hidden; }
.ai-quota .bar1 span { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.ai-quota.out .bar1 span { background: var(--bad); }
/* Campos con unidad */
.suf { position: relative; }
.suf input { padding-right: 46px; }
.suf i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--sub); pointer-events: none; }

/* ---------- Visor de sol y luna ---------- */
#suncam .sv-stage { position: absolute; inset: 0; touch-action: none; }
#suncam.m3d { background: radial-gradient(120% 80% at 50% 35%, #1a1a1a, #000 70%); }
#suncam.m3d video { display: none; }
#suncam .sv-mode { display: flex; background: rgba(17,17,17,.7); border-radius: 18px; padding: 3px; }
#suncam .sv-mode button { height: 32px; padding: 0 14px; border: none; border-radius: 15px; background: transparent; color: #ddd; font: 600 13px "Space Grotesk", system-ui; }
#suncam .sv-mode button.on { background: #F3C36B; color: #111; }
#suncam .sv-aim { position: absolute; left: 0; right: 0; top: calc(var(--sa-top, env(safe-area-inset-top)) + 70px); text-align: center; font: 600 15px "Space Grotesk", system-ui; text-shadow: 0 1px 3px #000; pointer-events: none; }
#suncam .sv-side { position: absolute; right: 10px; top: 34%; display: flex; flex-direction: column; gap: 8px; }
#suncam .sv-side .sc-btn.on { background: #F3C36B; color: #111; }
#suncam .sv-panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 0 calc(var(--sa-bottom, env(safe-area-inset-bottom)) + 6px); background: linear-gradient(rgba(10,10,10,0), rgba(10,10,10,.92) 18%); }
#suncam .sv-cards { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 12px; padding: 0 12px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
#suncam .sv-cards::-webkit-scrollbar { display: none; }
#suncam .sv-card { flex: 0 0 auto; min-width: 196px; scroll-snap-align: start; background: rgba(28,28,28,.92); border-radius: 16px; padding: 10px 12px; border-top: 3px solid #666; }
#suncam .sv-card.c-sun { border-color: #FFD66B; } #suncam .sv-card.c-rise { border-color: #F28C38; } #suncam .sv-card.c-gold { border-color: #F3A93B; }
#suncam .sv-card.c-blue { border-color: #5B8DEF; } #suncam .sv-card.c-twi { border-color: #2F3E7A; } #suncam .sv-card.c-noon { border-color: #FBE9B5; } #suncam .sv-card.c-moon { border-color: #9EC1FF; }
#suncam .sv-t { font: 700 13px "Space Grotesk", system-ui; margin-bottom: 4px; }
#suncam .sv-r { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #BDBDBD; padding: 1px 0; }
#suncam .sv-r b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
#suncam .sv-when { display: flex; align-items: center; gap: 6px; padding: 2px 12px 6px; }
#suncam .sv-when input[type=date] { background: #2a2a2a; color: #fff; border: 1px solid #444; border-radius: 12px; height: 34px; padding: 0 6px; font: inherit; font-size: 13px; width: 124px; }
#suncam .sv-now { flex: 1; text-align: center; font-size: 13px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#suncam .sv-now b { font: 700 18px "Chakra Petch", system-ui; color: #fff; border-bottom: 3px solid var(--c, #F3C36B); }
#suncam .sv-when .sc-chip { height: 34px; padding: 0 10px; }
#suncam .sv-strip { display: block; width: calc(100% - 24px); margin: 0 12px; height: 58px; border-radius: 12px; touch-action: none; cursor: ew-resize; }
#suncam canvas.sv-strip { position: static; inset: auto; }
#suncam .sc-note { top: calc(var(--sa-top, env(safe-area-inset-top)) + 98px); }
/* memo: cláusulas */
.item.clause { align-items: flex-start; text-align: left; width: 100%; border: none; gap: 10px; }
.item.clause .ck { flex: 0 0 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line, #ccc); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.item.clause.on .ck { background: var(--amber); border-color: var(--amber); color: #111; }
.item.clause:not(.on) .grow { opacity: .62; }
.netbar { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.netbar svg, .pill svg, .chip svg { flex: 0 0 auto; vertical-align: -3px; }
/* visor: título pulsable, botones con etiqueta y panel inferior propio */
#suncam button.sc-title { background: none; border: none; color: #fff; text-align: left; padding: 0; font: inherit; font-size: 13px; }
#suncam button.sc-title b { display: inline-flex; align-items: center; gap: 6px; }
#suncam .sc-btn.lab { width: 56px; height: 56px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
#suncam .sc-btn.lab small { font: 600 9.5px "Space Grotesk", system-ui; }
#suncam .sv-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 10px calc(var(--sa-bottom, env(safe-area-inset-bottom)) + 10px); animation: up .25s ease-out; }
#suncam .sv-sheet-in { background: rgba(22,22,22,.97); border-radius: 22px; padding: 14px; max-height: 62vh; overflow-y: auto; box-shadow: 0 -10px 30px rgba(0,0,0,.5); }
#suncam .sv-sheet-in > .row b { font: 700 16px "Space Grotesk", system-ui; }
#suncam .sv-cal-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #2a2a2a; font-size: 14px; font-weight: 600; }
#suncam .sv-cal-row small { display: block; font-weight: 400; font-size: 11.5px; color: #9a9a9a; margin-top: 2px; }
#suncam .sv-step { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
#suncam .sv-step button { width: 34px; height: 34px; border-radius: 10px; border: none; background: #2f2f2f; color: #fff; font: 600 12px "Space Grotesk", system-ui; }
#suncam .sv-step b { min-width: 52px; text-align: center; font: 600 14px "Chakra Petch", system-ui; color: #F3C36B; }
#suncam .sv-hint { font-size: 12px; color: #9a9a9a; margin: 10px 0 4px; }
#suncam .sc-chip.block { width: 100%; margin-top: 12px; }
#suncam .sv-search { display: flex; gap: 8px; margin: 12px 0 6px; }
#suncam .sv-search input { flex: 1; height: 42px; border-radius: 14px; border: 1px solid #3a3a3a; background: #111; color: #fff; padding: 0 12px; font: inherit; font-size: 15px; }
#suncam .sv-place { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: #222; border: none; color: #fff; border-radius: 14px; padding: 12px; margin-top: 6px; font: 500 14px "Space Grotesk", system-ui; }
#suncam .sv-place svg { flex: 0 0 auto; color: #F3C36B; }

/* Bienvenida: pantalla fija, sin desplazamiento, respetando el notch */
.wel { position: fixed; inset: 0; z-index: 30; background: #0B0B0B; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 56px) 28px calc(var(--safe-b) + 26px); overflow: hidden; touch-action: none; }
.wel-orb { position: absolute; top: -170px; left: 50%; width: 620px; height: 470px; margin-left: -310px; border-radius: 50%; filter: blur(46px); opacity: .95; will-change: transform, opacity;
  background: radial-gradient(closest-side, #FBE3A6 0%, rgba(243,195,107,.85) 32%, rgba(232,116,58,.55) 58%, rgba(11,11,11,0) 100%);
  animation: welBreathe 9s ease-in-out infinite; }
.wel-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side at 50% 88%, rgba(11,11,11,1) 0%, rgba(11,11,11,0) 70%); }
@keyframes welBreathe { 0% { transform: translate(0, 0) scale(1); opacity: .85; } 50% { transform: translate(-10px, 14px) scale(1.06); opacity: 1; } 100% { transform: translate(0, 0) scale(1); opacity: .85; } }
.wel-grain { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.wel-mid { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.wel-logo { width: 250px; max-width: 78%; display: block; }
.wel-slogan { margin: 16px 0 0; color: #B5B5B5; font-size: 16px; }
.wel-btns { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wel-cta { background: var(--amber); color: #111; font-weight: 700; box-shadow: 0 0 36px rgba(243,195,107,.45); }
.wel-login { font-size: 15px; color: #fff; text-decoration: none; }
.wel-login b { color: var(--amber); font-weight: 700; }
.wel-legal { margin: 14px 0 0; font-size: 12px; color: #8A857A; text-align: center; line-height: 1.5; }
.wel-legal a { color: inherit; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .wel-orb { animation: none; } }

/* Tema claro en bienvenida */
html:not([data-theme=plato]) .wel { background: #F3F0E9; }
html:not([data-theme=plato]) .wel-orb::after { background: radial-gradient(closest-side at 50% 88%, rgba(243,240,233,1) 0%, rgba(243,240,233,0) 70%); }
html:not([data-theme=plato]) .wel-grain { opacity: .05; }
html:not([data-theme=plato]) .wel-slogan { color: #5E5A52; }
html:not([data-theme=plato]) .wel-login { color: #111; }
html:not([data-theme=plato]) .wel-cta { box-shadow: 0 0 30px rgba(243,195,107,.35); }
/* Selector de tema */
.wel-theme { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.wel-theme button { height: 34px; padding: 0 18px; border: none; border-radius: 17px; background: transparent; color: #B5B5B5; font-size: 14px; font-weight: 600; }
.wel-theme button.on { background: #fff; color: #111; }
html:not([data-theme=plato]) .wel-theme { background: rgba(17,17,17,.07); }
html:not([data-theme=plato]) .wel-theme button { color: #5E5A52; }
html:not([data-theme=plato]) .wel-theme button.on { background: #111; color: #fff; }
/* Logotipo en login y capa de transición */
.login-brand { text-align: center; padding: 6px 0 18px; }
.login-logo { display: block; width: 170px; max-width: 60%; margin: 0 auto; }

.safe-cap { background: transparent !important; }
/* Medidas iguales en claro y oscuro: el tema solo cambia colores */
.btn { height: 56px; border-radius: 28px; } .btn.sm { height: 48px; border-radius: 24px; }
.chip { height: 44px; border-radius: 22px; } .iconbtn { width: 52px; height: 52px; border-radius: 26px; }
.stepper { height: 48px; border-radius: 24px; } .stepper button, .qtyadd { width: 48px; height: 48px; border-radius: 24px; }

/* Checks: fila con panel de acciones oculto (desliza a la izquierda); el panel toma el color de la fila */
.swp { position: relative; overflow: hidden; border-radius: 18px; background: var(--card); }
.swp:has(> .ck.full) { background: var(--ok-bg); }
.swp + .swp { margin-top: 6px; }
.swp > .ck { position: relative; z-index: 1; margin: 0; border-radius: 18px 0 0 18px; transition: transform .22s ease; }
.swp.open > .ck { transform: translateX(-96px); }
.swp-acts { position: absolute; right: 0; top: 0; bottom: 0; width: 96px; display: flex; z-index: 0; }
.swp-b { flex: 1; border: none; background: var(--muted); color: var(--ink); font-size: 18px; font-weight: 600; border-radius: 0; }
.swp-b.bad { background: var(--bad-bg); color: var(--bad-ink); }
.ck.big .bigstep button { width: 46px; height: 46px; border-radius: 23px; font-size: 22px; }
.ck.big .bigstep .num { min-width: 44px; font-size: 17px; }
.ck.big .bigstep { gap: 4px; }

/* Botón Todo / Deshacer del check: visible, centrado y adaptable */
.ck-all { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--muted); color: var(--ink); border: none; white-space: nowrap; }
.ck.full .ck-all { background: rgba(0,0,0,.28); }

/* Fondo de toda la app con el look de la bienvenida: halo ámbar arriba, grano y respiración */
#bgfx { background: #0B0B0B !important; }
#bgfx .l2 { display: none; }
#bgfx .l1 { left: 50%; top: -170px; width: 620px; height: 470px; margin-left: -310px; filter: blur(46px); opacity: .9;
  background: radial-gradient(closest-side, #FBE3A6 0%, rgba(243,195,107,.85) 32%, rgba(232,116,58,.55) 58%, rgba(11,11,11,0) 100%) !important;
  animation: welBreathe 9s ease-in-out infinite !important; }
#bgfx .l1::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side at 50% 88%, rgba(11,11,11,1) 0%, rgba(11,11,11,0) 70%); }
#bgfx::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
html:not([data-theme=plato]) #bgfx { background: #F3F0E9 !important; }
html:not([data-theme=plato]) #bgfx .l1 { opacity: .75; }
html:not([data-theme=plato]) #bgfx .l1::after { background: radial-gradient(closest-side at 50% 88%, rgba(243,240,233,1) 0%, rgba(243,240,233,0) 70%); }
html:not([data-theme=plato]) #bgfx::after { opacity: .05; }

.verify-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--amber); }
.verify-card .btn { flex: 0 0 auto; background: var(--amber); color: #111; }

/* Web app en ordenador y tablet: la app vive en una columna centrada; el fondo ocupa toda la ventana */
@media (min-width: 720px) and (max-width: 1023px) {
  #app, .nav, .sticky-bottom, .wel, #suncam { left: 50% !important; right: auto !important; width: 520px; margin-left: -260px; }
  #app { box-shadow: 0 0 0 1px var(--line); }
  .nav { border-radius: 24px 24px 0 0; }
  .wel { border-left: 1px solid rgba(255,255,255,.06); border-right: 1px solid rgba(255,255,255,.06); }
  .sheet-back { align-items: center; justify-content: center; }
  .sheet { width: 520px; max-width: 92vw; max-height: 86vh; border-radius: 28px; }
  .screen { scrollbar-width: thin; }
  #bgfx .l1 { width: 1100px; height: 640px; margin-left: -550px; top: -300px; }
}
/* Tablet: columna centrada; hojas emergentes centradas también en ordenador */
@media (min-width: 720px) { .sheet-back { align-items: center; justify-content: center; } .sheet { width: 560px; max-width: 92vw; max-height: 86vh; border-radius: 28px; } }

/* Ordenador: barra lateral con el logotipo, contenido amplio y centrado */
@media (min-width: 1024px) {
  :root { --side: 248px; --safe-t: 0px; }
  #app { left: var(--side) !important; right: 0 !important; width: auto; margin: 0; box-shadow: none; }
  .screen { padding: 40px max(40px, calc((100% - 860px) / 2)) 64px; scrollbar-width: thin; }
  .nav { left: 0 !important; right: auto !important; top: 0; bottom: 0; width: var(--side); height: auto; margin: 0;
    flex-direction: column; gap: 4px; padding: 104px 14px 24px; border-radius: 0; box-shadow: 1px 0 0 var(--line); }
  .nav::before { content: ""; position: absolute; left: 30px; top: 36px; width: 120px; height: 36px; background: url(../img/spott-wordmark-negro.svg) left center / contain no-repeat; }
  [data-theme=plato] .nav::before { background-image: url(../img/spott-wordmark-blanco.svg); }
  .nav a { flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 12px; height: 48px; padding: 0 10px; border-radius: 14px; font-size: 15px; cursor: pointer; }
  .nav a:hover { background: var(--muted2); color: var(--ink); }
  .nav a span { width: 40px; height: 32px; }
  .sticky-bottom { left: var(--side) !important; right: 0 !important; width: auto; margin: 0; bottom: 0; padding-left: max(40px, calc((100vw - var(--side) - 860px) / 2)); padding-right: max(40px, calc((100vw - var(--side) - 860px) / 2)); }
  .toast { left: calc(50% + var(--side) / 2); bottom: 28px; }
  .netbar { left: calc(50% + var(--side) / 2); }
  .wel { left: 0 !important; right: 0 !important; width: auto; margin: 0; border: none; }
  .wel-mid, .wel-btns { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  .wel-logo { width: 320px; }
  #suncam { left: var(--side) !important; right: 0 !important; width: auto; margin: 0; }
  #bgfx .l1 { width: 1200px; height: 680px; margin-left: calc(-600px + var(--side) / 2); top: -320px; }
  body.no-nav #app, body.no-nav .sticky-bottom { left: 0 !important; }
  body.no-nav .toast { left: 50%; }
  body.no-nav .screen { padding-left: max(40px, calc((100% - 440px) / 2)); padding-right: max(40px, calc((100% - 440px) / 2)); padding-top: 72px; }
  .btn, .chip, .iconbtn, .item, .tile, .card[data-go] { cursor: pointer; }
}

/* Con ratón (ordenador): editar e incidencia siempre visibles en el check, sin deslizar */
@media (hover: hover) and (pointer: fine) {
  .swp > .ck { margin-right: 96px !important; border-radius: 18px 0 0 18px; transform: none !important; }
  .btn:hover, .chip:hover, .iconbtn:hover { filter: brightness(1.06); }
}

/* Ficha del rodaje: pestañas, siguiente paso y fases plegadas */
.shoot-tabs { position: sticky; top: calc(var(--safe-t) - 8px); z-index: 5; overflow-x: auto; scrollbar-width: none; }
.shoot-tabs::-webkit-scrollbar { display: none; }
.shoot-tabs button { flex: 1 0 auto; padding: 0 12px; font-size: 13.5px; }
.next-step { position: relative; display: block; width: 100%; border: 1px solid var(--amber); text-align: left; padding: 14px 40px 14px 16px; }
.next-step .small:first-child { color: var(--amber); font-weight: 700; letter-spacing: .04em; font-size: 11px; }
.next-step .chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--faint); }
.phases-box summary { list-style: none; cursor: pointer; }
.phases-box summary::-webkit-details-marker { display: none; }
.phase-bar { height: 6px; border-radius: 3px; background: var(--muted); margin-top: 10px; overflow: hidden; }
.phase-bar i { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.start-day { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }

/* Barra de jornada en marcha, visible en todas las pantallas */
.run-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 10px); z-index: 25; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: none; border-radius: 18px; background: var(--amber); color: #111; font-size: 14px; text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.run-bar .dot { width: 10px; height: 10px; border-radius: 5px; background: #C0392B; animation: runpulse 1.4s ease-in-out infinite; flex-shrink: 0; }
.run-bar.paused { background: var(--muted); color: var(--ink); } .run-bar.paused .dot { background: var(--faint); animation: none; }
.run-bar .small { color: inherit; opacity: .75; }
.run-bar b { font-family: 'Chakra Petch', monospace; font-size: 16px; }
@keyframes runpulse { 50% { opacity: .35; } }
.screen:has(~ .run-bar) { padding-bottom: calc(var(--nav-h) + 90px); }
@media (min-width: 720px) and (max-width: 1023px) { .run-bar { left: 50%; right: auto; width: 496px; margin-left: -248px; } }
@media (min-width: 1024px) { .run-bar { left: calc(var(--side) + 24px); right: auto; width: 420px; bottom: 24px; } }

/* Herramientas en bloques */
.tool-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 118px; padding: 14px; border: none; border-radius: 20px; background: var(--card); text-align: left; color: var(--ink); }
.tool-card .ic { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--muted); margin-bottom: 6px; }
.tool-grid.g0 .tool-card .ic { background: var(--amber); color: #111; }
.tool-grid.g1 .tool-card .ic { background: var(--lav2); color: #111; }
.tool-card .t { font-weight: 600; font-size: 15px; line-height: 1.2; }
.tool-card .s { font-size: 12.5px; color: var(--sub); line-height: 1.3; }
.tool-recent { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tool-recent .chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (min-width: 1024px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }

/* Tour de bienvenida */
.tour { position: fixed; inset: 0; z-index: 300; }
.tour-dim { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.tour-hole { position: absolute; border-radius: 20px; box-shadow: 0 0 0 4000px rgba(0,0,0,.62), 0 0 0 2px var(--amber); transition: all .3s ease; pointer-events: none; }
.tour-card { position: absolute; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; background: var(--card); color: var(--ink); border-radius: 24px; padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.tour-card.pos-center { top: 50%; transform: translateY(-50%); }
.tour-card.pos-bottom { bottom: calc(var(--nav-h) + 24px); }
.tour-card.pos-top { top: calc(var(--safe-t) + 24px); }
.tour-card p { margin-bottom: 0; color: var(--sub); line-height: 1.45; }
.tour-card .small { color: var(--amber); font-weight: 700; }
.tour-skip { border: none; background: none; color: var(--sub); font-size: 15px; padding: 8px 4px; }
@media (min-width: 1024px) { .tour-card { left: calc(var(--side) + 40px); right: 40px; } .tour-card.pos-bottom { bottom: 40px; } }
@media (min-width: 1024px) { .screen:has(~ .run-bar) { padding-bottom: 120px; } }

/* Rentals: ficha de contacto */
.rent-data { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rent-data a, .rent-data span { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.rent-data svg { flex: none; opacity: .7; }
.rent-card a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.stepper.sm { height: 32px; } .stepper.sm button { width: 30px; height: 32px; font-size: 18px; } .stepper.sm .num { min-width: 24px; font-size: 14px; }
.rent-card .btn:not(.primary) { background: var(--muted); color: var(--ink); }
.rent-card .btn { white-space: nowrap; padding: 0 10px; flex: 1 1 0; min-width: 0; }

/* Leyenda del calendario: cinco tipos de día */
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 16px; }
.cal-legend > span { display: inline-flex; align-items: center; gap: 5px; }

/* Barra inferior con hueco curvo y burbuja que se desliza (solo móvil) */
.nav-bg, .nav-bubble { display: none; }
.nav.fx { background: transparent !important; box-shadow: none !important; border-radius: 0; }
.nav.fx .nav-bg { display: block; position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; filter: drop-shadow(0 -6px 14px rgba(60,50,30,.08)); }
.nav.fx .nav-bg path { fill: var(--card); }
[data-theme=plato] .nav.fx .nav-bg path { fill: #0A0A0A; }
[data-theme=plato] .nav.fx .nav-bg { filter: drop-shadow(0 -1px 0 #1E1E1E); }
.nav.fx .nav-bubble { display: flex; position: absolute; left: 0; top: -20px; width: 48px; height: 48px; border-radius: 24px; align-items: center; justify-content: center;
  background: var(--solid); color: var(--solid-acc); box-shadow: 0 6px 16px rgba(0,0,0,.18); z-index: 2; will-change: transform; }
.nav.fx .nav-bubble svg { animation: bubIn .42s ease both; }
@keyframes bubIn { 0% { opacity: 0; transform: scale(.6) rotate(-20deg); } 100% { opacity: 1; transform: none; } }
.nav.fx a { position: relative; z-index: 1; }
.nav.fx a.on span { opacity: 0; }
.nav.fx a.on { color: var(--ink); }
.nav.fx.moving a.on { animation: lblIn .42s ease both; }
@keyframes lblIn { 0% { opacity: .2; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .nav-bg, .nav-bubble { display: none !important; } }

/* Tarjeta asimétrica de rodaje: degradado continuo entre pestaña y cuerpo, con grano */
.pc { --pc-a: #FFFFFF; --pc-b: #F1EADC; --pc-back: var(--muted2); position: relative; border-radius: 26px; background: var(--pc-back); cursor: pointer; text-align: left; color: var(--ink); isolation: isolate; }
[data-theme=plato] .pc { --pc-a: #222222; --pc-b: #0E0E0E; --pc-back: #151515; }
.pc.hot { --pc-a: #E6E2DA; --pc-b: #B3ADA2; color: #111; }
[data-theme=plato] .pc.hot { --pc-a: #55524C; --pc-b: #1C1B19; color: #fff; }
.pc::after { content: ""; position: absolute; inset: 0; border-radius: 26px; pointer-events: none; z-index: 3; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
.pc.hot::after { opacity: .32; }
.pc.hot .sub, .pc.hot .small { color: #4A463F !important; }
[data-theme=plato] .pc.hot .sub, [data-theme=plato] .pc.hot .small { color: #C9C4BA !important; }
.pc-top { display: flex; align-items: stretch; height: 46px; }
.pc-tab { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px 0 12px; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--pc-a) 0px, var(--pc-b) 190px); }
.pc-tab::after { content: ""; position: absolute; right: -24px; bottom: 0; width: 24px; height: 24px; background: radial-gradient(circle at 100% 0, transparent 23.5px, color-mix(in srgb, var(--pc-a) 80%, var(--pc-b)) 24px); }
.pc-st { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 14px; border: 1.5px solid currentColor; font-size: 13px; font-weight: 600; }
.pc-kind { width: 28px; height: 28px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.pc-team { flex: 1; display: flex; justify-content: flex-end; align-items: center; padding: 0 12px 0 34px; }
.pc-av { width: 30px; height: 30px; border-radius: 15px; margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #111; border: 2px solid var(--pc-back); }
.pc-av.more { background: var(--muted); color: var(--ink); }
.pc-av.add { background: var(--pc-back); color: var(--ink); border: 1.5px dashed var(--faint); margin-left: 4px; padding: 0; }
.pc-body { position: relative; border-radius: 0 26px 26px 26px; padding: 12px 14px 14px;
  background: linear-gradient(180deg, var(--pc-a) 0px, var(--pc-b) 190px) 0 -46px / 100% calc(100% + 46px) no-repeat; }
.pc-foot { display: flex; align-items: center; gap: 8px; }
.pc-line { flex: 1; height: 4px; border-radius: 2px; background: rgba(127,127,127,.25); overflow: hidden; margin-right: 6px; }
.pc-line i { display: block; height: 100%; border-radius: 2px; background: currentColor; }
.pc-btn { flex: none; height: 38px; min-width: 38px; padding: 0 12px; border-radius: 19px; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; background: rgba(127,127,127,.16); color: inherit; white-space: nowrap; }
.pc-btn:not(.main) { padding: 0; width: 38px; }
.pc-btn.main { background: var(--ink); color: var(--bg); }
.pc.hot .pc-btn.main { background: #111; color: var(--amber); }
[data-theme=plato] .pc.hot .pc-btn.main { background: var(--amber); color: #111; }
.pc.hot .pc-btn:not(.main) { background: rgba(127,127,127,.22); }
.pc:active { transform: scale(.99); }

/* Fotómetro: la imagen de la cámara la pone la app nativa encima de este hueco */
.mt-view { height: min(230px, 30vh); border-radius: 22px; background: #000; margin-top: 4px; position: relative; }
.mt-view::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid rgba(255,255,255,.8); border-radius: 22px; }
.screen.mt-lock { overflow: hidden; }
.mt-stop { font-size: 44px; line-height: 1; color: var(--amber); }

/* Barra baja: en el móvil los nombres van pegados al indicador de inicio */
@media (max-width: 1023px) { .nav a { gap: 2px; font-size: 10.5px; justify-content: flex-start; } }

/* Tarjetas de Inicio: gris con degradado y grano (el color del tipo de día va en el punto) */
.dcard { --pc-a: #FFFFFF; --pc-b: #E4DED2; position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  background: linear-gradient(165deg, var(--pc-a), var(--pc-b)) !important; }
.dcard.hot { --pc-a: #E6E2DA; --pc-b: #ADA79B; color: #111; }
[data-theme=plato] .dcard { --pc-a: #262626; --pc-b: #0F0F0F; color: #fff; }
[data-theme=plato] .dcard.hot { --pc-a: #55524C; --pc-b: #1C1B19; color: #fff; }
.dcard.past { opacity: .75; }
.dcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
.dcard .sub, .dcard .small { color: inherit !important; opacity: .72; }
.dpill { display: inline-flex; align-items: center; gap: 6px; background: rgba(127,127,127,.18) !important; color: inherit !important; }
.dpill i { width: 9px; height: 9px; border-radius: 5px; display: inline-block; }
.dwx { border: none; background: rgba(127,127,127,.16); border-radius: 14px; padding: 8px 10px; width: 100%; text-align: left; gap: 8px; color: inherit; }
.dcta { background: var(--amber) !important; color: #111 !important; }

/* Mapa del sol */
.sunmap-view { position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #1d2a1f; }
.sunmap-tiles { position: absolute; inset: 0; }
.sunmap-tiles img { position: absolute; display: block; user-select: none; -webkit-user-drag: none; }
.sunmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-now line, .sm-now circle { transition: none; }
.sunmap-range { width: 100%; margin-top: 10px; accent-color: var(--amber); }
.sunmap-tiles img.apple { inset: 0; width: 100%; height: 100%; object-fit: cover; }
