/* Hub, login og konto. */
.page-login { min-height: 100dvh; }
.login-wrap { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; max-width: 420px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 24px) 20px calc(env(safe-area-inset-bottom) + 24px); }
.login-wrap h1 { font-size: 1.9rem; margin: 14px 0 4px; }
.login-wrap p { margin: 0 0 22px; }
.login-mark { width: 64px; height: 64px; border-radius: 20px; background: var(--accent); color: var(--accent-contrast); display: flex; align-items: center; justify-content: center; }
.login-mark svg.ic { width: 34px; height: 34px; }
.login-card { padding: 20px 18px 18px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 6px; }
.skeleton.tall { min-height: 150px; }
.tile { display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--text); position: relative; overflow: hidden; }
.tile:active { transform: scale(.98); }
.tile-icon { width: 46px; height: 46px; border-radius: 14px; background-size: cover; overflow: hidden; margin-bottom: 4px; }
.tile-icon img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { font-size: 1.2rem; font-weight: 700; }
.tile-text { font-size: .95rem; }
.tile-sub { font-size: .85rem; color: var(--muted); margin-top: auto; }
h2.section { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 28px 4px 10px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links .chip { min-height: 46px; padding: 0 16px; box-shadow: var(--shadow); border-color: transparent; }
.links .chip svg.ic { width: 20px; height: 20px; }

.konto-section { margin: 0 0 22px; }
.konto-section h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 4px 10px; }
.konto-card { display: flex; flex-direction: column; gap: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 14px; }
.seg button { min-height: 42px; border: 0; border-radius: 10px; background: none; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
