/* Phone app layout on top of the shared design system (/assets/ds.css). */
:root { --dock-h: 84px; }
body { overscroll-behavior-y: none; }
.app-main { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 24px); outline: none; max-width: 640px; }
body[data-view="detail"] .app-main { padding-bottom: calc(env(safe-area-inset-bottom) + 32px); }


/* Bottom dock with the tracking field */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--border); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.dock-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; max-width: 640px; }
.dock-go { height: 52px; padding: 0 20px; }
.dock .field { gap: 4px; }
body[data-view="detail"] .dock { display: none; }
body[data-view="home"] .toast { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 16px); }

/* Home */
.home-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-head h1 { font-size: 24px; }
.empty { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.empty-hero h1 { font-size: 30px; line-height: 1.15; }
.empty-hero p { margin-top: 8px; color: var(--text-2); font-size: 17px; }
.install { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); color: var(--text-2); font-size: 15px; background: transparent; text-align: left; width: 100%; }
button.install { color: var(--primary-text); font-weight: 600; cursor: pointer; }
button.install:hover { background: var(--primary-soft); }

/* Detail */
.topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.back { padding-left: 4px; }
