:root {
  color-scheme: dark;
  --bg: #11111b;
  --surface: #191925;
  --surface-raised: #20202d;
  --line: rgba(226, 221, 248, .09);
  --text: #f0eff4;
  --muted: #a6a3b4;
  --faint: #777588;
  --gold: #e7c77b;
  --violet: #b8a3ec;
  --blue: #9ec9e8;
  --font: "DM Sans", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", "Avenir Next", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 72% -12%, rgba(112, 87, 160, .14), transparent 40rem), var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.page-shell { width: min(100% - 44px, 1060px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 12px; padding: 10px 14px; transform: translateY(-150%); background: var(--gold); color: #211c13; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .14em; }
.brand-mark { display: flex; gap: 3px; align-items: center; height: 24px; }
.brand-mark span { width: 3px; border-radius: 4px; background: var(--gold); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .6; }.brand-mark span:nth-child(2) { height: 20px; }.brand-mark span:nth-child(3) { height: 14px; opacity: .8; }
.help-button { display: inline-flex; align-items: center; gap: 8px; color: #d1cedb; padding: 9px 13px; background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; transition: border-color .2s ease, color .2s ease; }
.help-button:hover { color: var(--gold); border-color: rgba(231,199,123,.45); }
.help-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.welcome { min-height: 236px; display: flex; align-items: center; justify-content: space-between; padding: 31px 6.5% 26px 5.5%; position: relative; overflow: hidden; }
.welcome-copy { position: relative; z-index: 1; }
.date-line, .eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.date-line { color: #b7b3c4; text-transform: none; font-size: 13px; letter-spacing: .015em; margin-bottom: 10px; }
h1, h2, p, blockquote { margin-top: 0; }
h1 { font: 600 clamp(34px, 5vw, 49px)/1.12 var(--display); letter-spacing: -.045em; margin-bottom: 9px; }
.welcome-note { color: var(--muted); margin: 0; font-size: 15px; }
.day-orbit { width: 132px; height: 132px; margin-right: 3%; position: relative; display: grid; place-items: center; opacity: .95; }
.orbit-ring { position: absolute; display: block; border: 1px solid rgba(231,199,123,.19); border-radius: 50%; transform: rotate(-28deg); }
.orbit-ring-one { inset: 10px 0; }.orbit-ring-two { inset: 0 11px; transform: rotate(32deg); border-color: rgba(184,163,236,.2); }
.orbit-core { width: 43px; height: 43px; border: 1px solid rgba(231,199,123,.6); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 30px rgba(231,199,123,.1), inset 0 0 16px rgba(231,199,123,.12); }
.orbit-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 17px 5px rgba(231,199,123,.32); }
.orbit-caption { position: absolute; bottom: -11px; color: #888595; font-size: 8px; letter-spacing: .22em; }
.live-section { padding: 4px 0 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.section-heading h2, .diet-panel h2 { font: 600 21px/1.25 var(--display); letter-spacing: -.035em; margin: 0; }
.section-heading .eyebrow { margin-bottom: 5px; }
.live-indicator { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: #a9a6b5; font-size: 11px; margin-bottom: 3px; }
.live-indicator i { display: block; width: 6px; height: 6px; border-radius: 100%; background: #83cba5; box-shadow: 0 0 8px rgba(131,203,165,.6); }
.live-grid { display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 12px; }
.live-card { min-width: 0; padding: 17px 18px 15px; background: linear-gradient(145deg, rgba(31,31,45,.88), rgba(25,25,37,.92)); border: 1px solid var(--line); border-radius: 13px; }
.card-top { display: flex; align-items: center; gap: 9px; }
.card-icon { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.gold-icon { background: rgba(231,199,123,.1); color: var(--gold); }.violet-icon { background: rgba(184,163,236,.11); color: var(--violet); }.blue-icon { background: rgba(158,201,232,.11); color: var(--blue); }
.card-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-label { color: #c9c6d2; font-size: 12px; }
.metric { margin: 15px 0 1px; font: 600 clamp(21px, 2.8vw, 27px)/1.2 var(--display); letter-spacing: -.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weather-metric { font-size: 23px; }
.metric-caption { margin: 0; color: var(--faint); font-size: 11px; }
.daily-note { min-height: 122px; padding: 20px 24px; margin-bottom: 29px; display: flex; align-items: flex-start; gap: 17px; border: 1px solid rgba(184,163,236,.14); border-radius: 14px; background: linear-gradient(105deg, rgba(87,69,126,.18), rgba(31,29,44,.4) 48%, rgba(26,25,39,.72)); }
.note-glyph { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(184,163,236,.25); border-radius: 50%; color: var(--violet); font-size: 18px; }
.note-body .eyebrow { color: #b7a8dd; margin-bottom: 6px; }
.daily-note blockquote { margin: 0; font: 500 17px/1.45 var(--display); letter-spacing: -.015em; color: #ebe7f3; }
.quote-source { margin: 6px 0 0; color: #9692a4; font-size: 11px; }
.content-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 14px; align-items: stretch; }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(25,25,37,.74); }
.compact-heading { align-items: center; margin-bottom: 14px; }
.compact-heading h2 { font-size: 19px; }
.compact-heading .eyebrow { margin-bottom: 4px; }
.access-list { display: flex; flex-direction: column; }
.access-link { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 10px 0; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(226,221,248,.065); }
.access-link:last-child { border-bottom: 0; padding-bottom: 0; }.access-link:first-child { padding-top: 3px; }
.access-link:hover .external-mark { color: var(--gold); transform: translate(1px,-1px); }
.access-symbol { flex: 0 0 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; font-family: var(--display); font-size: 11px; font-weight: 800; }
.access-symbol svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.symbol-itr { color: #a6cdf1; background: rgba(91,147,192,.09); }.symbol-anaco { color: var(--gold); background: rgba(231,199,123,.07); }.symbol-cobro { color: var(--violet); background: rgba(184,163,236,.08); }.symbol-admin { color: #a8d0bc; background: rgba(112,179,141,.08); }
.access-text { flex: 1; display: grid; gap: 2px; min-width: 0; }.access-text strong { font-size: 13px; font-weight: 600; }.access-text small { color: var(--faint); font-size: 11px; }
.external-mark { color: #777588; font-size: 17px; transition: .2s ease; }
.task-count { color: #9491a2; font-size: 11px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; }
.task-form { display: flex; gap: 8px; margin: 0 0 12px; }
.task-form input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: 9px; color: var(--text); background: #14141f; border: 1px solid rgba(226,221,248,.1); font-size: 13px; }
.task-form input::placeholder { color: #737182; }.task-form input:focus { outline: 1px solid rgba(231,199,123,.6); border-color: transparent; }
.task-form button { flex: 0 0 42px; border: 0; border-radius: 9px; background: var(--gold); color: #211d15; font-size: 25px; line-height: 1; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.task-form button:hover { transform: translateY(-1px); background: #f0d68f; }
.task-list { list-style: none; margin: 0; padding: 0; max-height: 181px; overflow-y: auto; }
.task-list:empty::before { content: "Tu lista está despejada. Agrega algo que quieras tener presente."; display: block; color: #827f90; font-size: 12px; line-height: 1.55; padding: 3px 1px 11px; }
.task-item { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(226,221,248,.055); }
.task-check { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.task-label { flex: 1; min-width: 0; overflow-wrap: anywhere; color: #d7d4df; font-size: 12px; line-height: 1.45; }.task-item.is-done .task-label { color: #777585; text-decoration: line-through; }
.task-delete { flex: 0 0 24px; height: 24px; margin-top: -3px; border: 0; border-radius: 6px; color: #858293; background: transparent; cursor: pointer; font-size: 18px; }.task-delete:hover { color: #e8a3a3; background: rgba(232,163,163,.08); }
.storage-note { display: flex; align-items: center; gap: 6px; margin: 11px 0 0; color: #777585; font-size: 10px; }.storage-note svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diet-panel { display: flex; gap: 27px; margin-top: 15px; padding: 22px 24px; overflow: hidden; border: 1px solid rgba(231,199,123,.13); border-radius: 14px; background: linear-gradient(110deg, rgba(54,47,35,.32), rgba(25,25,37,.87) 35%, rgba(25,25,37,.92)); }
.diet-art { flex: 0 0 105px; display: grid; place-items: center; position: relative; align-self: center; height: 108px; }
.plate { position: absolute; border-radius: 50%; }.plate-outer { width: 98px; height: 98px; border: 1px solid rgba(231,199,123,.34); box-shadow: 0 0 24px rgba(231,199,123,.07); }.plate-inner { width: 72px; height: 72px; border: 1px solid rgba(231,199,123,.18); }.plate-food { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: rgba(231,199,123,.13); color: var(--gold); font-size: 17px; }
.diet-content { flex: 1; min-width: 0; }.diet-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; }.diet-heading-row .eyebrow { margin-bottom: 4px; }.diet-heading-row h2 { font-size: 20px; }.diet-day { color: var(--gold); font-size: 10px; padding: 5px 8px; border-radius: 999px; background: rgba(231,199,123,.09); white-space: nowrap; }
.diet-summary { color: #a8a5b4; font-size: 12px; margin: 8px 0 13px; }
.meal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.meal { min-width: 0; padding: 10px 11px; border: 1px solid rgba(226,221,248,.07); border-radius: 9px; background: rgba(16,16,26,.48); }
.meal-time { display: block; color: var(--gold); font-size: 10px; margin-bottom: 4px; }.meal-name { display: block; color: #d7d4df; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.diet-footnote { margin: 10px 0 0; color: #777585; font-size: 10px; }
.footer { display: flex; justify-content: space-between; padding: 22px 2px 30px; color: #777585; font-size: 11px; }.footer i { color: var(--gold); font-style: normal; margin-left: 4px; }
.dialog-backdrop { display: none; position: fixed; z-index: 20; inset: 0; padding: 18px; align-items: center; justify-content: center; background: rgba(8,8,14,.78); backdrop-filter: blur(7px); }.dialog-backdrop.is-open { display: flex; }
.help-panel { position: relative; width: min(100%, 490px); max-height: min(88vh, 760px); overflow-y: auto; padding: 28px; border: 1px solid rgba(184,163,236,.23); border-radius: 17px; background: #1b1a27; box-shadow: 0 22px 80px rgba(0,0,0,.42); }.help-panel h2 { margin: 0 30px 21px 0; font: 600 23px/1.25 var(--display); letter-spacing: -.03em; }.help-panel .eyebrow { color: var(--violet); }
.dialog-close { position: absolute; top: 14px; right: 15px; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; color: #c9c6d2; background: transparent; font-size: 23px; line-height: 1; cursor: pointer; }
.help-items { display: grid; gap: 15px; }.help-items > div { display: flex; align-items: flex-start; gap: 11px; }.help-items p { margin: 0; color: #aaa7b7; font-size: 12px; line-height: 1.55; }.help-items strong { color: #e5e2eb; font-size: 13px; font-weight: 600; }.help-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; }.gold-dot { background: var(--gold); }.violet-dot { background: var(--violet); }.blue-dot { background: var(--blue); }
.done-button { width: 100%; margin-top: 23px; padding: 11px; border: 0; border-radius: 9px; background: var(--gold); color: #211d15; font-weight: 600; cursor: pointer; }.done-button:hover { background: #f0d68f; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .page-shell { width: min(100% - 34px, 560px); }
  .topbar { height: 67px; }
  .welcome { min-height: 207px; padding: 25px 2px 24px 3px; }
  .day-orbit { width: 98px; height: 98px; margin-right: 1px; transform: scale(.85); }
  .live-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .weather-card { grid-column: 1 / -1; }
  .weather-card .metric { margin-top: 9px; }
  .live-card { padding: 14px 14px 13px; }
  .metric { font-size: 23px; margin-top: 12px; }
  .content-grid { grid-template-columns: 1fr; gap: 12px; }
  .panel { padding: 18px; }
  .access-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .access-link { gap: 8px; padding: 10px 0; }.access-link:nth-child(3) { border-bottom: 0; padding-bottom: 0; }
  .access-symbol { flex-basis: 34px; height: 34px; }.access-text strong { font-size: 12px; }.access-text small { font-size: 10px; }
  .diet-panel { gap: 13px; padding: 19px 16px; }.diet-art { flex-basis: 68px; height: 82px; }.plate-outer { width: 68px; height: 68px; }.plate-inner { width: 50px; height: 50px; }.plate-food { width: 27px; height: 27px; font-size: 14px; }
  .meal-grid { gap: 6px; }.meal { padding: 9px 8px; }.meal-name { font-size: 10px; }
}
@media (max-width: 430px) {
  .page-shell { width: calc(100% - 32px); }
  .welcome { min-height: 184px; }.welcome h1 { font-size: 35px; }.welcome-note { font-size: 13px; }.date-line { font-size: 12px; }
  .day-orbit { margin-right: -8px; transform: scale(.7); transform-origin: center right; }
  .section-heading h2 { font-size: 19px; }
  .live-indicator { font-size: 10px; padding: 4px 8px; }
  .live-card { padding: 12px 11px 11px; }.card-top { gap: 7px; }.card-label { font-size: 11px; }.card-icon { width: 23px; height: 23px; }.metric { font-size: 21px; }.metric-caption { font-size: 10px; }
  .daily-note { padding: 17px 15px; gap: 12px; min-height: 112px; }.note-glyph { flex-basis: 30px; height: 30px; font-size: 15px; }.daily-note blockquote { font-size: 15px; }
  .access-list { grid-template-columns: 1fr; }.access-link:nth-child(3) { border-bottom: 1px solid rgba(226,221,248,.065); padding-bottom: 10px; }.access-link:last-child { padding-bottom: 0; }
  .diet-panel { display: block; position: relative; padding: 18px 15px; }.diet-art { position: absolute; right: 12px; top: 13px; opacity: .38; transform: scale(.68); transform-origin: top right; }.diet-content { position: relative; }.diet-heading-row { padding-right: 15px; }.diet-heading-row h2 { font-size: 19px; }.diet-day { font-size: 9px; }.diet-summary { max-width: 85%; }
  .meal-grid { grid-template-columns: 1fr; gap: 6px; }.meal { display: flex; align-items: baseline; gap: 9px; padding: 8px 10px; }.meal-time { flex: 0 0 66px; margin: 0; }.meal-name { font-size: 11px; }
  .help-panel { padding: 24px 20px; }.help-panel h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
