/* pick.u — a little companion, in the smallest of details. */
:root {
  --p-bg: #f7f8f5;
  --p-paper: #fffefb;
  --p-ink: #283f4a;
  --p-muted: #687a80;
  --p-main: #456e82;
  --p-line: #e1e7e3;
  --p-blue: #e9f0f4;
  --p-soft: #f0f3ee;
  --ui-header: 88px;
  --ui-nav-space: calc(92px + env(safe-area-inset-bottom));
}
body { background: var(--p-bg); color: var(--p-ink); }
.p-app { max-width: none; border: 0; overflow: visible; background: var(--p-bg); }
.p-app .p-top {
  width: min(1180px, calc(100% - 64px));
  height: var(--ui-header);
  min-height: var(--ui-header);
  margin: auto;
  padding: 12px 0;
  border-bottom: 1px solid #dfe5df;
  background: #f7f8f5ee;
  gap: 18px;
}
.p-app .p-brand { display: flex; align-items: center; gap: 25px; color: #263e4b; flex-shrink: 0; }
.p-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: 1;
  white-space: nowrap;
}
.p-wordmark-dot {
  display: block;
  width: .43em;
  height: .43em;
  margin: 0 .022em 0 .045em;
  align-self: flex-end;
  transform: translateY(-.012em);
  transition: transform .25s ease;
}
.p-brand:hover .p-wordmark-dot { transform: translateY(-.07em) rotate(-7deg); }
.p-brand-tagline { border-left: 1px solid #d4dfdc; padding-left: 22px; font-size: 12px; letter-spacing: .1em; color: #63777f; }
.p-app .p-head-actions { gap: 8px; }
.p-app .p-head-actions .p-account-pill { border: 1px solid transparent; color: #657c87; }
.p-app .p-head-actions .p-account-pill:hover,
.p-app .p-head-actions .p-account-pill[aria-pressed=true] { background: #e6edf0; color: #345b73; border-color: #d9e3e7; }
.p-app .p-head-actions .p-account-pill svg { width: 20px; height: 20px; }
.p-app .p-main { max-width: 1000px; padding-top: 32px; }
.p-app .p-main.is-home {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 28px;
  width: 100%;
  max-width: 1180px;
  height: auto;
  min-height: calc(100dvh - var(--ui-header));
  padding: 32px 0 calc(var(--ui-nav-space) + 28px);
}
.p-home-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 4px 2px; }
.p-home-eyebrow { color: #69808c; font-size: 10px; font-weight: 600; letter-spacing: .19em; margin-bottom: 12px; }
.p-home-heading h1 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.45; letter-spacing: .045em; font-weight: 600; }
.p-home-description { margin-top: 10px; color: #6a7d83; font-size: 14px; letter-spacing: .025em; }
.p-home-date { padding-bottom: 3px; font-size: 13px; color: #657a83; white-space: nowrap; }
.p-app .p-main.is-home .p-calm-scene {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  isolation: isolate;
  min-height: 530px;
  width: 100%;
  padding: 24px 24px 30px;
  border: 1px solid #dce5e3;
  border-radius: 30px;
  background: radial-gradient(ellipse at 48% 48%, #e7eff5 0%, #edf2f1 48%, #eff3ee 100%);
  gap: 0;
}
.p-calm-scene::before {
  content: '';
  position: absolute;
  width: 69%;
  aspect-ratio: 1;
  max-height: 380px;
  top: 75px;
  left: 15.5%;
  border: 1px solid #d9e4e24f;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.p-scene-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; position: relative; z-index: 5; min-height: 57px; }
.p-presence { display: inline-flex; align-items: center; gap: 8px; color: #627b7c; font-size: 12px; padding-top: 5px; letter-spacing: .035em; }
.p-presence i { width: 6px; height: 6px; border-radius: 50%; background: #7c9d93; box-shadow: 0 0 0 4px #7c9d9310; }
.p-app .p-main.is-home [data-clock] { grid-area: auto; min-width: 0; }
.p-app .p-main.is-home .p-clock { padding: 0; text-align: right; color: #425e69; }
.p-app .p-main.is-home .p-clock-time { font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -.045em; }
.p-app .p-main.is-home .p-clock-counter { font-size: 27px; letter-spacing: -.025em; }
.p-app .p-main.is-home .has-timer .p-clock-time { font-size: 14px; margin-bottom: 3px; }
.p-app .p-main.is-home .p-clock summary { min-height: 30px; justify-content: flex-end; font-size: 10px; color: #617780; gap: 4px; }
.p-app .p-main.is-home .p-clock-tools { position: absolute; top: 64px; right: 0; bottom: auto; left: auto; width: min(380px, calc(100vw - 64px)); background: #fffefa; border-radius: 20px; box-shadow: 0 12px 40px #35516418; text-align: left; }
.p-app .p-main.is-home .p-calm-scene .p-hero-pet { grid-area: auto; width: 100%; height: 340px; min-height: 340px; max-height: none; margin: -8px 0 14px; border-radius: 24px; flex: none; }
.p-calm-scene .p-runtime-status { top: auto; bottom: -17px; left: 0; right: 0; padding: 0; background: transparent; font-size: 10px; color: #6a7f86; }
.p-runtime-host[data-runtime-state=static-fallback] [data-picku-renderer=static-fallback]:has([data-picku-static] canvas)>p { display: none; }
.p-calm-scene .p-runtime-host[data-runtime-state=loading]:not(:has(canvas)) .p-runtime-status,
.p-calm-scene .p-runtime-host[data-runtime-state=error]:not(:has(canvas)) .p-runtime-status { top: auto; bottom: 0; }
.p-scene-bottom { margin-top: auto; text-align: center; position: relative; z-index: 3; }
.p-scene-caption { margin: 22px 0 18px; font-size: 13px; color: #617984; letter-spacing: .04em; }
.p-scene-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.p-app .p-main.is-home .p-poke,
.p-app .p-main.is-home .p-mood-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 24px; padding: 9px 20px; font-size: 13px; color: #466b7e; border: 1px solid #cfdddf; background: #fffefbd9; box-shadow: none; }
.p-app .p-main.is-home .p-poke:hover,
.p-app .p-main.is-home .p-mood-trigger:hover { background: #fffefb; border-color: #96afb9; }
.p-scene-actions svg { width: 18px; height: 18px; }
.p-day-space { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.p-capture-card { padding: 24px; background: #fffefb; border: 1px solid #e0e6e0; border-radius: 26px; }
.p-capture-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 20px; }
.p-home-section-index { font-size: 11px; color: #69818b; padding: 6px 8px; border: 1px solid #dfe6e3; border-radius: 8px; line-height: 1; margin-top: 3px; font-variant-numeric: tabular-nums; }
.p-capture-heading h2 { font-size: 19px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }
.p-capture-heading p { margin-top: 5px; font-size: 12px; line-height: 1.7; color: #687c81; }
.p-app .p-capture { display: block; margin: 0; max-width: none; }
.p-app .p-capture-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; background: #f6f8f4; border: 1px solid #e3e9e2; border-radius: 18px; padding: 14px; box-shadow: none; }
.p-app .p-capture-form:focus-within { border-color: #91a9b4; background: #fafbf8; box-shadow: 0 0 0 3px #cbdde22e; }
.p-app .p-capture-form textarea { grid-column: 1 / -1; width: 100%; min-height: 86px; padding: 0 2px 8px; max-height: 200px; font-size: 15px; line-height: 1.8; }
.p-capture-form textarea::placeholder { color: #657c85; opacity: 1; }
.p-capture-input-hint { font-size: 11px; align-self: center; color: #6c7e80; }
.p-app .p-capture-mic { background: transparent; color: #69838e; }
.p-app .p-capture-send { background: #426d85; }
.p-app .p-capture-send:hover { background: #335b73; }
.p-capture-footnote { font-size: 11px; color: #6d7f82; margin-top: 12px; padding-left: 2px; }
.p-tools-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 3px 14px; }
.p-tools-heading h2 { font-size: 15px; font-weight: 600; }
.p-tools-heading>span { font-size: 11px; color: #6d7e82; }
.p-shortcut-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p-shortcut { position: relative; display: flex; align-items: center; gap: 11px; text-align: left; min-height: 82px; padding: 14px 12px; border: 1px solid #dfe6e2; border-radius: 18px; background: #fffefb; transition: border-color .2s, transform .2s; }
.p-shortcut:hover { transform: translateY(-2px); background: #fff; border-color: #9cb4bf; }
.p-shortcut-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef3f1; color: #5e7b86; flex: none; }
.p-shortcut-icon svg { width: 19px; height: 19px; }
.p-shortcut strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.6; }
.p-shortcut small { display: block; font-size: 10px; font-weight: 400; color: #6b7d83; margin-top: 3px; line-height: 1.6; }
.p-shortcut-arrow { position: absolute; right: 10px; top: 7px; font-size: 12px; color: #7a919c; }
.p-photo-shortcut { display: flex; align-items: center; width: 100%; gap: 12px; text-align: left; margin-top: 10px; padding: 14px 16px; border-radius: 18px; min-height: 76px; background: #eaf0f4; border-color: #dce5ea; color: #3e6379; }
.p-photo-shortcut:hover { background: #e1eaf0; border-color: #b4cad5; }
.p-photo-shortcut-icon { display: grid; place-items: center; width: 36px; height: 36px; background: #ffffff6b; border-radius: 12px; }
.p-photo-shortcut strong { font-size: 13px; display: block; font-weight: 600; }
.p-photo-shortcut small { display: block; font-size: 11px; font-weight: 400; margin-top: 3px; color: #597889; }
.p-photo-shortcut>svg { margin-left: auto; width: 19px; }
.p-app .p-nav { width: min(calc(100% - 32px), 380px); padding: 6px; border-color: #dbe4e0; border-radius: 23px; background: #fffefbf2; box-shadow: 0 6px 28px #294a5a0a; bottom: calc(16px + env(safe-area-inset-bottom)); }
.p-app .p-nav button { min-height: 50px; border-radius: 17px; flex-direction: row; gap: 9px; font-size: 13px; color: #647c86; }
.p-app .p-nav button[aria-pressed=true] { background: #e7eff2; color: #335f7b; }
.p-app .p-nav button svg { width: 19px; height: 19px; }
.p-app .p-main:not(.is-home) { padding-bottom: calc(var(--ui-nav-space) + 28px); }
.p-app .p-panel { background: #fffefb; border-color: #dfe6e1; border-radius: 24px; }
.p-app .p-tool-tabs { background: #eaf0ed; border-radius: 16px; padding: 5px; }
.p-app .p-tool-tabs button[aria-pressed=true] { background: #fffefb; box-shadow: 0 2px 7px #324d5a08; }
.p-app .p-record { border-radius: 20px; background: #fffefb; }
.p-app .p-dock { right: max(20px, calc((100vw - 1180px) / 2)); background: #fffefbe8; }
.p-mood-dialog.p-mood-dialog-v2 { background: #fffefb; border: 1px solid #e0e7e2; border-radius: 28px; }
.p-mood-dialog::backdrop { background: #30485538; backdrop-filter: blur(7px); }
.p-mood-dialog .p-mood-footer { background: #fffefb; }
.p-shortcut small,.p-scene-caption,.p-capture-footnote,.p-capture-heading p,.p-capture-input-hint,.p-tools-heading>span { color: #5b7079; }
:is(button, a, input, textarea, select, summary):focus-visible { outline-color: #4a7e99; outline-width: 3px; outline-offset: 4px; }
@media (min-width: 900px) {
  .p-shortcut-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-shortcut { flex-direction: column; justify-content: center; min-height: 96px; padding: 12px 6px; gap: 7px; text-align: center; }
  .p-shortcut small,.p-shortcut-arrow { display: none; }
}
@media (max-width: 1244px) {
  .p-app .p-main.is-home { max-width: calc(100% - 64px); }
}
@media (min-width: 900px) and (max-width: 1050px) {
  .p-app .p-main.is-home { gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .p-capture-card { padding: 20px; }
  .p-shortcut { gap: 8px; padding-left: 9px; padding-right: 9px; }
  .p-shortcut-icon { width: 29px; height: 29px; }
  .p-shortcut small { font-size: 9px; }
}
@media (max-width: 899px) {
  :root { --ui-header: 76px; }
  .p-app .p-top { width: calc(100% - 40px); }
  .p-wordmark { font-size: 36px; }
  .p-brand-tagline { display: none; }
  .p-app .p-head-actions { gap: 4px; }
  .p-app .p-main.is-home { max-width: 660px; padding: 25px 20px calc(var(--ui-nav-space) + 18px); grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .p-home-heading { gap: 10px; margin: 0 2px; align-items: flex-start; }
  .p-home-heading h1 { font-size: 28px; letter-spacing: .01em; }
  .p-home-eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 9px; }
  .p-home-description { font-size: 13px; margin-top: 7px; }
  .p-home-date { font-size: 11px; padding-top: 3px; }
  .p-app .p-main.is-home .p-calm-scene { min-height: 450px; padding: 20px 22px 24px; border-radius: 28px; }
  .p-app .p-main.is-home .p-calm-scene .p-hero-pet { height: 300px; min-height: 300px; margin-top: -15px; }
  .p-calm-scene::before { top: 64px; width: 66%; left: 17%; max-height: 310px; }
  .p-scene-caption { margin-top: 18px; margin-bottom: 15px; font-size: 12px; }
  .p-day-space { gap: 22px; }
  .p-capture-card { padding: 22px; border-radius: 24px; }
  .p-shortcut { min-height: 86px; padding-inline: 15px; }
  .p-shortcut small { font-size: 11px; }
  .p-app .p-dock { right: 16px; }
}
@media (max-width: 520px) {
  .p-home-heading { flex-wrap: wrap; row-gap: 10px; }
  .p-home-date { order: -1; width: 100%; padding: 0; font-size: 11px; }
  .p-home-eyebrow { display: none; }
  .p-app .p-main.is-home { padding-top: 20px; gap: 20px; }
  .p-home-heading h1 { font-size: 27px; }
  .p-app .p-top { width: calc(100% - 32px); gap: 8px; }
  .p-app .p-head-actions { gap: 0; }
  .p-app .p-main.is-home .p-calm-scene { min-height: 402px; padding: 18px 14px 22px; }
  .p-app .p-main.is-home .p-calm-scene .p-hero-pet { height: 268px; min-height: 268px; margin-bottom: 10px; }
  .p-calm-scene::before { top: 69px; width: 80%; left: 10%; }
  .p-scene-topline { min-height: 53px; padding-inline: 4px; }
  .p-presence { font-size: 11px; gap: 7px; }
  .p-app .p-main.is-home .p-clock-time { font-size: 25px; }
  .p-app .p-main.is-home .p-clock-tools { right: -4px; width: calc(100vw - 72px); }
  .p-scene-caption { font-size: 11px; margin-top: 19px; margin-bottom: 12px; }
  .p-app .p-main.is-home .p-poke,.p-app .p-main.is-home .p-mood-trigger { padding: 8px 16px; font-size: 12px; }
  .p-capture-card { padding: 20px; }
  .p-capture-heading { gap: 10px; margin-bottom: 16px; }
  .p-capture-heading h2 { font-size: 18px; }
  .p-capture-heading p { font-size: 11px; }
  .p-home-section-index { padding: 6px; }
  .p-app .p-capture-form { padding: 12px; }
  .p-app .p-capture-form textarea { font-size: 16px; }
  .p-shortcut { gap: 9px; padding-inline: 10px; }
  .p-shortcut-icon { width: 31px; height: 31px; }
  .p-shortcut small { font-size: 10px; }
}
@media (max-width: 359px) {
  .p-wordmark { font-size: 32px; }
  .p-app .p-top { width: calc(100% - 24px); }
  .p-app .p-head-actions .p-account-pill { width: 42px; min-width: 42px; }
  .p-app .p-main.is-home { padding-inline: 14px; }
  .p-home-heading h1 { font-size: 25px; }
  .p-capture-card { padding: 16px; }
  .p-capture-input-hint { font-size: 10px; }
  .p-shortcut { gap: 7px; }
  .p-shortcut small { font-size: 9px; }
  .p-tools-heading>span { font-size: 10px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  :root { --ui-header: 64px; }
  .p-app .p-top { height: 64px; min-height: 64px; }
  .p-app .p-main.is-home { display: grid; height: auto; min-height: 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; max-width: calc(100% - 36px); padding: 20px 0 calc(var(--ui-nav-space) + 16px); }
  .p-home-heading { margin-bottom: 0; }
  .p-home-eyebrow { display: none; }
  .p-home-heading h1 { font-size: 25px; }
  .p-home-description { font-size: 12px; }
  .p-home-date { order: 0; width: auto; }
  .p-app .p-main.is-home .p-calm-scene { display: flex; height: auto; min-height: 420px; padding: 18px 14px; }
  .p-app .p-main.is-home [data-clock] { grid-area: auto; }
  .p-app .p-main.is-home .p-calm-scene .p-hero-pet { grid-area: auto; height: 280px; min-height: 280px; }
  .p-app .p-main.is-home .p-capture { display: block; }
  .p-capture-card { padding: 16px; }
  .p-capture-heading p { font-size: 11px; }
  .p-shortcut-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .p-shortcut-icon { display: none; }
  .p-shortcut { min-height: 68px; padding: 10px; }
  .p-shortcut small { font-size: 10px; }
  .p-tools-heading>span { display: none; }
  .p-day-space { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-brand:hover .p-wordmark-dot { transform: translateY(-.012em); }
  .p-shortcut:hover { transform: none; }
}
