/* Each cover keeps a fixed palette of its own, so none of them looks related to Shield or to each other. */
.cover { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; animation: fade .15s; }
.cover::-webkit-scrollbar { display: none; }
.cover h1, .cover h2, .cover p { margin: 0; }

/* Calculator */
.ca { height: 100%; background: #000; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px 30px; }
.ca__out { text-align: right; padding: 0 10px 14px; overflow: hidden; }
.ca__out small { display: block; height: 24px; font-size: 18px; color: #8e8e93; }
.ca__out b { font-size: 76px; font-weight: 300; letter-spacing: -2px; line-height: 1.05; white-space: nowrap; }
.ca__keys { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ca__keys button { aspect-ratio: 1; border-radius: 50%; background: #333336; color: #fff; font-size: 31px; }
.ca__keys button:active { filter: brightness(1.5); }
.ca__keys .fn { background: #a5a5a8; color: #000; font-size: 25px; }
.ca__keys .op { background: #ff9f0a; font-size: 36px; }
.ca__keys .zero { grid-column: span 2; aspect-ratio: auto; border-radius: 48px; text-align: left; padding-left: 32px; }

/* Notes */
.no { min-height: 100%; background: #fbf9f2; color: #1c1b17; padding: calc(var(--top) + 8px) 18px 30px; position: relative; }
.no h1 { font-size: 34px; font-weight: 700; letter-spacing: -.6px; }
.no > p { color: #8f8b7d; font-size: 14px; margin: 2px 0 16px; }
.no__list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(60,50,20,.06); }
.no__list button { display: block; width: 100%; text-align: left; padding: 13px 16px; border-bottom: 1px solid #f0ece0; }
.no__list button:last-child { border-bottom: 0; }
.no__list b { display: block; font-weight: 600; font-size: 16px; }
.no__list span { display: block; font-size: 14px; color: #8f8b7d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.no__list em { font-style: normal; color: #4a473c; }
.no__add { position: absolute; right: 18px; bottom: 28px; position: fixed; width: 58px; height: 58px; border-radius: 50%; background: #f5c518; display: grid; place-items: center; color: #1c1b17; box-shadow: 0 8px 18px rgba(160,120,0,.35); }
.cover .no__add { position: absolute; top: calc(100dvh - 200px); bottom: auto; }
@media (min-width: 501px) { .cover .no__add { top: 756px; } }
.no__add svg { width: 26px; height: 26px; }
.no--edit { display: flex; flex-direction: column; height: 100%; }
.no__back { display: flex; align-items: center; gap: 2px; color: #a98500; font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.no__back svg { width: 20px; height: 20px; }
.no--edit input { background: none; border: 0; outline: 0; font-size: 28px; font-weight: 700; margin-bottom: 8px; color: inherit; }
.no--edit textarea { flex: 1; background: none; border: 0; outline: 0; resize: none; font-size: 17px; line-height: 1.5; color: inherit; }

/* Weather */
.we { min-height: 100%; color: #fff; background: linear-gradient(180deg,#2d6fc0,#62a3dc 55%,#a9cbe4); padding: calc(var(--top) + 14px) 14px 26px; text-align: center; }
.we__c { font-size: 28px; font-weight: 500; }
.we__t { font-size: 96px; font-weight: 200; line-height: 1.05; letter-spacing: -2px; width: fit-content; margin: 0 auto; padding-left: 26px; }
.we__d { font-size: 18px; font-weight: 500; } .we__r { font-size: 15px; font-weight: 500; opacity: .85; margin-bottom: 20px !important; }
.we__card { background: rgba(20,60,110,.26); backdrop-filter: blur(10px); border-radius: 18px; padding: 12px 14px; text-align: left; margin-bottom: 10px; }
.we__card > small { display: block; font-size: 13px; opacity: .8; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.2); margin-bottom: 8px; }
.we__h { display: flex; justify-content: space-between; }
.we__h div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.we__h svg, .we__row svg { width: 22px; height: 22px; }
.we__h b { font-weight: 500; font-size: 15px; }
.we__row { display: grid; grid-template-columns: 52px 24px 34px 30px 1fr 30px; gap: 6px; align-items: center; font-size: 15px; padding: 6px 0; }
.we__row em { font-style: normal; font-size: 12px; color: #bfe0ff; } .we__row i { font-style: normal; opacity: .7; } .we__row b { font-weight: 500; text-align: right; }
.we__row u { display: block; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; text-decoration: none; }
.we__row s { display: block; height: 100%; background: linear-gradient(90deg,#8bd3a8,#ffc76b); border-radius: 2px; }
.we__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.we__two b { display: block; font-size: 30px; font-weight: 400; } .we__two span { font-size: 13px; opacity: .85; }

/* Calendar */
.cl { min-height: 100%; background: #fff; color: #171717; padding: calc(var(--top) + 8px) 14px 30px; }
.cl h1 { font-size: 32px; font-weight: 700; padding: 0 6px 14px; letter-spacing: -.5px; } .cl h1 span { color: #e5352b; font-weight: 500; }
.cl__dow, .cl__grid { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; }
.cl__dow i { font-style: normal; font-size: 12px; color: #8a8a8a; font-weight: 600; padding-bottom: 8px; }
.cl__grid button { position: relative; height: 46px; font-size: 18px; display: grid; place-items: center; z-index: 0; }
.cl__grid .is-today { color: #e5352b; font-weight: 700; }
.cl__grid .is-sel::before { content: ""; position: absolute; z-index: -1; width: 38px; height: 38px; border-radius: 50%; background: #171717; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.cl__grid .is-sel { color: #fff; } .cl__grid .is-today.is-sel::before { background: #e5352b; }
.cl__grid u { position: absolute; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: #c4c4c4; left: 50%; margin-left: -2.5px; }
.cl__ev { margin-top: 14px; border-top: 1px solid #efefef; padding: 16px 6px 0; }
.cl__ev h2 { font-size: 17px; font-weight: 600; margin-bottom: 10px; } .cl__ev p { color: #8a8a8a; font-size: 15px; }
.cl__e { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, #fff); margin-bottom: 8px; border-left: 3px solid var(--c); }
.cl__e time { font-size: 13px; color: #666; width: 42px; } .cl__e b { font-weight: 600; font-size: 15px; }

/* Clock */
.ck { min-height: 100%; background: #111113; color: #fff; padding: calc(var(--top) + 26px) 22px 26px; }
.ck__face { position: relative; width: 240px; height: 240px; margin: 0 auto; border-radius: 50%; background: #1c1c1f; box-shadow: inset 0 0 0 1px #2a2a2e; touch-action: none; }
.ck__face u { position: absolute; left: 50%; top: 10px; width: 2px; height: 10px; margin-left: -1px; background: #6a6a70; transform-origin: 1px 110px; }
.ck__face i { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 3px; }
.ck__face .h { width: 6px; height: 62px; margin-left: -3px; background: #fff; } .ck__face .m { width: 4px; height: 92px; margin-left: -2px; background: #fff; }
.ck__face .s { width: 2px; height: 104px; margin-left: -1px; background: #ff9f0a; }
.ck__t { text-align: center; font-size: 54px; font-weight: 300; margin: 16px 0; font-variant-numeric: tabular-nums; }
.ck__sw { display: flex; align-items: center; gap: 8px; background: #1c1c1f; padding: 10px 10px 10px 16px; border-radius: 16px; font-variant-numeric: tabular-nums; font-size: 20px; }
.ck__sw span { flex: 1; } .ck__sw button { height: 38px; padding: 0 14px; border-radius: 11px; background: #2c2c30; font-size: 14px; font-weight: 500; color: #fff; }
.ck__z { margin-top: 12px; } .ck__z div { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid #242428; font-size: 16px; }
.ck__z span { color: #a3a3a8; } .ck__z b { font-weight: 400; }

/* Converter */
.sw { min-height: 100%; background: #eef6f2; color: #14211d; padding: calc(var(--top) + 8px) 16px 30px; }
.sw h1 { font-size: 32px; font-weight: 700; letter-spacing: -.5px; } .sw > p { color: #688077; font-size: 14px; margin-bottom: 16px; }
.sw__box { position: relative; background: #fff; border-radius: 20px; padding: 4px 16px; box-shadow: 0 2px 10px rgba(20,60,50,.07); }
.sw__r { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 84px; }
.sw__r:first-child { border-bottom: 1px solid #e4efea; }
.sw select { border: 0; background: #e6f4ee; height: 40px; border-radius: 11px; padding: 0 8px; font-weight: 600; font-size: 15px; color: #0a6e53; }
.sw input, .sw output { min-width: 0; flex: 1; text-align: right; font-size: 30px; font-weight: 600; border: 0; outline: 0; background: none; letter-spacing: -.5px; color: inherit; }
.sw output { color: #00a37a; }
.sw__x { position: absolute; left: 50%; top: 50%; margin: -22px 0 0 -22px; width: 44px; height: 44px; border-radius: 50%; background: #00a37a; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.sw__x svg { width: 20px; height: 20px; }
.sw__list { margin-top: 16px; background: #fff; border-radius: 18px; padding: 2px 16px; }
.sw__list div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #eef3f0; font-size: 15px; } .sw__list div:last-child { border: 0; }
.sw__list span { color: #688077; } .sw__list b { font-weight: 600; }

/* Budget */
.bu { min-height: 100%; background: #f4f3fb; color: #1b1838; }
.bu__top { background: #5b4bdb; color: #fff; padding: calc(var(--top) + 18px) 22px 34px; border-radius: 0 0 28px 28px; }
.bu__top small { font-size: 14px; opacity: .8; } .bu__top b { display: block; font-size: 42px; font-weight: 700; letter-spacing: -1px; margin: 2px 0 4px; width: fit-content; } .bu__top span { font-size: 14px; opacity: .85; }
.bu__body { padding: 16px; }
.bu h2 { font-size: 16px; font-weight: 700; margin: 8px 2px 10px; }
.bu__cat { background: #fff; padding: 11px 14px; border-radius: 14px; margin-bottom: 7px; }
.bu__cat span { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 7px; } .bu__cat em { font-style: normal; color: #7c799a; }
.bu__cat u { display: block; height: 6px; background: #eeedf6; border-radius: 3px; text-decoration: none; overflow: hidden; } .bu__cat i { display: block; height: 100%; border-radius: 3px; }
.bu__tx { display: flex; align-items: center; gap: 11px; padding: 9px 2px; }
.bu__tx > i { width: 40px; height: 40px; border-radius: 12px; background: #e8e6fa; color: #5b4bdb; display: grid; place-items: center; font-style: normal; font-weight: 700; flex: none; }
.bu__tx div { flex: 1; min-width: 0; } .bu__tx b { display: block; font-weight: 600; font-size: 15px; } .bu__tx span { font-size: 13px; color: #7c799a; }
.bu__tx em { font-style: normal; font-weight: 600; font-size: 15px; } .bu__tx em.in { color: #0e9f6e; }

/* Recipes */
.po { min-height: 100%; background: #fff8f1; color: #2b1d15; padding: calc(var(--top) + 8px) 16px 30px; }
.po h1 { font-size: 30px; font-weight: 700; letter-spacing: -.6px; }
.po__s { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; margin: 14px 0 16px; box-shadow: 0 1px 3px rgba(90,50,20,.1); }
.po__s svg { width: 19px; height: 19px; color: #a4856d; } .po__s input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: inherit; }
.po__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.po__list button { text-align: left; } .po__list i { display: block; height: 118px; border-radius: 16px; margin-bottom: 7px; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), transparent 40%), radial-gradient(circle at 70% 75%, rgba(0,0,0,.25), transparent 50%); }
.po__list b { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; } .po__list span { font-size: 12.5px; color: #a4856d; }
.po__none { grid-column: span 2; color: #a4856d; padding: 30px 0; text-align: center; }
.po--d { padding: 0 0 30px; } .po--d > *:not(.po__hero) { display: block; margin-left: 18px; margin-right: 18px; }
.po__hero { height: 270px; margin-bottom: 16px; padding: var(--top) 14px 0; background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,.25), transparent 40%) !important; }
.po__hero button { width: 42px; height: 42px; border-radius: 13px; background: #fff; display: grid; place-items: center; } .po__hero svg { width: 20px; height: 20px; }
.po--d span { color: #a4856d; font-size: 14px; margin-top: 4px; } .po--d p { font-size: 16px; line-height: 1.55; margin-top: 14px; }

/* Scores */
.sc { min-height: 100%; background: #f0f2f1; color: #101814; padding-bottom: 28px; }
.sc__top { background: #0b8a3e; color: #fff; padding: calc(var(--top) + 8px) 16px 14px; }
.sc h1 { font-size: 28px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 10px; }
.sc__tabs { display: flex; gap: 6px; } .sc__tabs button { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; user-select: none; }
.sc__tabs .is-on { background: #fff; color: #0b8a3e; } .sc__tabs i { width: 7px; height: 7px; background: #e5352b; border-radius: 50%; }
.sc h2 { font-size: 13px; font-weight: 700; margin: 16px 16px 7px; color: #55615b; }
.sc__m { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; padding: 11px 16px; margin-bottom: 1px; }
.sc__m > div { flex: 1; } .sc__m p { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; padding: 2px 0; } .sc__m b { font-weight: 700; }
.sc__m em { font-style: normal; font-size: 12.5px; color: #7c8780; width: 42px; text-align: right; font-weight: 500; } .sc__m em.on { color: #0b8a3e; font-weight: 700; }

/* Steps */
.st { min-height: 100%; background: #fff; color: #171717; padding: calc(var(--top) + 8px) 20px 30px; }
.st h1 { font-size: 32px; font-weight: 700; letter-spacing: -.5px; }
.st__ring { position: relative; display: block; width: 240px; height: 240px; margin: 12px auto 6px; touch-action: none; }
.st__ring svg { width: 100%; height: 100%; display: block; }
.st__ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.st__ring b { font-size: 44px; font-weight: 700; letter-spacing: -1px; } .st__ring small { font-size: 13.5px; color: #8a8a8a; }
.st__three { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; padding: 12px 0; }
.st__three b { display: block; font-size: 22px; font-weight: 700; } .st__three small { font-size: 12.5px; color: #8a8a8a; }
.st__wk { background: #fdf3f8; padding: 14px; border-radius: 18px; margin-top: 8px; } .st__wk h2 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.st__wk > div { display: flex; gap: 8px; height: 120px; } .st__wk p { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; height: 100%; }
.st__wk i { display: block; width: 100%; background: #f4c6dc; border-radius: 6px; max-height: 90%; } .st__wk i.on { background: #e6277e; } .st__wk span { font-size: 11.5px; color: #8a8a8a; }

/* ---------- Covers grow into real desktop layouts ---------- */
.cover { pointer-events: auto; }
@media (min-width: 768px) {
  .cover { --gut: max(32px, calc(50% - 540px)); --top: 40px; }
  .ca { align-items: center; justify-content: center; padding: 24px; }
  .ca__out, .ca__keys { width: min(420px, 100%); }
  .ca__keys { gap: 14px; }
  .no, .sw, .po, .cl, .st, .ck { padding-left: var(--gut); padding-right: var(--gut); }
  .no__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: none; box-shadow: none; }
  .no__list button { background: #fff; border-radius: 16px; border: 0; padding: 18px; box-shadow: 0 1px 2px rgba(60,50,20,.06); }
  .no--edit { max-width: none; }
  .we { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: center; padding-left: var(--gut); padding-right: var(--gut); text-align: left; }
  .we__t { margin: 0; padding-left: 0; font-size: 140px; }
  .cl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); column-gap: 40px; align-content: start; }
  .cl h1, .cl__dow, .cl__grid { grid-column: 1; }
  .cl__grid button { height: 64px; }
  .cl__ev { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; border-top: 0; border-left: 1px solid #efefef; padding: 8px 0 0 32px; }
  .ck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 8px 48px; align-content: center; }
  .ck__face { grid-row: 1 / span 3; width: min(420px, 100%); height: auto; aspect-ratio: 1; align-self: center; justify-self: center; }
  .ck__face u { transform-origin: 1px calc(min(420px, 100cqw) / 2 - 10px); }
  .ck__face .h { height: 26%; } .ck__face .m { height: 38%; } .ck__face .s { height: 44%; }
  .ck__t { text-align: left; font-size: 72px; margin: 0; }
  .sw__box { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 24px; column-gap: 72px; }
  .sw__r:first-child { border-bottom: 0; }
  .sw__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .bu__top { padding-left: var(--gut); padding-right: var(--gut); }
  .bu__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; padding: 20px var(--gut); }
  .po__list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
  .po__list i { height: 170px; }
  .po--d { padding: 0 var(--gut) 40px; }
  .po__hero { border-radius: 0 0 24px 24px; height: 340px; }
  .sc__top { padding-left: var(--gut); padding-right: var(--gut); }
  .sc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding: 0 var(--gut); }
  .sc h2 { margin-left: 0; }
  .sc__m:first-of-type { border-radius: 14px 14px 0 0; } .sc__m:last-child { border-radius: 0 0 14px 14px; }
  .st { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 48px; align-content: center; }
  .st h1 { grid-column: 1 / -1; }
  .st__ring { grid-row: 2 / span 2; width: min(360px, 100%); height: auto; aspect-ratio: 1; }
  .st__three { align-self: end; }
}
