/* Hallmark · shape: custom (search run, pinned panel, ficha, privacy switches, download) · genre: editorial · theme: brand (the app's own navy, white and gold)
 * paper: oklch(97.5% 0.008 255) · accent: oklch(72% 0.135 88) · display: Antonio 700 · body: Figtree 400/700 · hero: Stage, the search screen tilted beside the head, flattening as the page scrolls · nav: wordmark with the Sagres icon, three links, one quiet action · footer: one line, wordmark, disclaimer, @phantom software · signature: the comrade search typing "Joao" and filtering by year and company in the hero
 * idea: "every section is a field of the app's own registration: name, year, company, ship, privacy" · vibe: "naval, sober, warm reunion, gold on navy"
 * axes: dark/display-condensed/chromatic-yellow · posture: committed (navy field carries hero, panel and download; gold is the signal) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: E, built screens stand in for captures; kept them in data-slots for real screenshots */
/* waive 84: the app's only captures show test accounts and the emulator's fake camera; the built screens use the app's real layout, sit in data-slots and are replaced by real screenshots via hallmarkSlots */
/* waive 47b: a phone frame around the built screens, asked for by the user (one frame per screen, real app layout inside) */
/* waive 47c: the built screens are inside data-slot figures, labelled as sample data */
@import url("./tokens.css?v=202611300044");
@import url("./base.css?v=202611300038");

:root { --display-weight: 700; }
.on-field { --color-focus: var(--color-focus-on-field); }

/* skip link */
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-pill); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: color-mix(in oklch, var(--color-accent) 86%, var(--color-on-field)); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: color-mix(in oklch, currentColor 12%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-field); color: var(--color-on-field); border-bottom: 2px solid var(--color-accent); --color-focus: var(--color-focus-on-field); }
.nav-row { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: 0; }
.wordmark img { border-radius: 9px; flex-shrink: 0; }
.nav-links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; color: var(--color-on-field-muted); font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out); }
.nav-links a:hover { color: var(--color-on-field); text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav-cta { min-height: 44px; }

/* hero */
.hero { --color-focus: var(--color-focus-on-field); background: linear-gradient(180deg, var(--color-field-top) 0%, var(--color-field) 72%); color: var(--color-on-field); padding-block: var(--space-2xl) var(--space-3xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--space-2xl); min-height: calc(100svh - var(--nav-h) - var(--space-2xl) - var(--space-3xl)); }
.hero-copy { display: grid; gap: var(--space-lg); }
.hero h1 { font-size: clamp(3rem, 5.2vw + 0.5rem, 5.75rem); line-height: 1.02; max-width: 13ch; }
.hero .lead { color: var(--color-on-field-muted); }
.hero-stage { display: grid; justify-items: center; perspective: 1600px; }

/* the built screens: the app's own layout */
.screen { margin: 0; border-radius: var(--radius-screen); background: var(--color-surface); color: var(--color-ink); box-shadow: var(--shadow-edge); overflow: hidden; }
.screen-hero { width: min(360px, 100%); aspect-ratio: 9 / 17; transform-origin: 50% 60%; }
.app { display: flex; flex-direction: column; height: 100%; font-size: var(--text-sm); background: var(--color-surface); }
.app-head { flex-shrink: 0; background: var(--color-field); color: var(--color-on-field); padding: var(--space-xl) var(--space-md) var(--space-md); border-bottom: 3px solid var(--color-accent); }
.app-title { font-weight: 700; font-size: var(--text-lg); }
.app-filters { background: var(--color-paper-2); padding: var(--space-sm) var(--space-md); display: grid; gap: var(--space-xs); }
.app-search { display: flex; align-items: center; min-height: 40px; padding: 0 var(--space-sm); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: 10px; }
.caret { width: 2px; height: 1.1em; margin-left: 1px; background: var(--color-ink); opacity: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chip { padding: var(--space-2xs) var(--space-sm); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-xs); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.chip.on, .chip[data-chip] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.app-count { padding: var(--space-sm) var(--space-md) 0; color: var(--color-muted); font-size: var(--text-xs); }
.app-list { list-style: none; margin: 0; padding: var(--space-xs) var(--space-md); display: grid; gap: var(--space-xs); }
.row { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-surface); }
.av { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--color-field); color: var(--color-on-field); border: 2px solid var(--color-accent); font-weight: 700; font-size: var(--text-xs); }
.av-lg { width: 64px; height: 64px; font-size: var(--text-lg); border-width: 3px; }
.who { display: grid; min-width: 0; line-height: 1.3; }
.who small { color: var(--color-muted); font-size: var(--text-xs); }
.badge { margin-left: auto; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-style: normal; font-weight: 700; font-size: var(--text-xs); }

/* hero motion: the search plays once, then the screen flattens with the scroll */
.js .screen-hero.is-playing .row { opacity: 0; transform: translateY(8px); }
.js .screen-hero.is-playing .row.is-in { opacity: 1; transform: none; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .screen-hero.is-playing .app-count { opacity: 0; }
.js .screen-hero.is-playing .app-count.is-in { opacity: 1; transition: opacity var(--dur-short) var(--ease-out); }
.js .screen-hero.is-playing .caret { opacity: 1; }
.js .screen-hero.is-playing .chip[data-chip]:not(.on) { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .screen-hero { animation: aplanar linear both; animation-timeline: scroll(root); animation-range: 0 70svh; }
  }
}
@keyframes aplanar {
  from { transform: rotateY(-18deg) rotateX(9deg) rotateZ(2deg) translateY(var(--space-xs)); }
  to { transform: none; }
}

/* 2. procurar */
.procurar { padding-block: var(--section-gap) var(--section-gap-s); }
.procurar h2 { max-width: 16ch; }
.companhias { margin-top: var(--space-xl); }
.comp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: var(--space-2xs); }
.comp { width: 100%; min-height: 64px; border: 1.5px solid var(--color-rule); border-radius: 12px; background: var(--color-surface); color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-xl); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.comp:hover { border-color: var(--color-ink); }
.comp:active { transform: translateY(1px); }
.comp[aria-pressed="true"] { background: var(--color-field); border-color: var(--color-field); color: var(--color-accent); }
.comp-out { margin-top: var(--space-md); color: var(--color-muted); }
.comp-out b { color: var(--color-ink); }
.keys { margin: var(--space-2xl) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.keys > div { border-top: 2px solid var(--color-ink); padding-top: var(--space-md); }
.keys dt { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; }
.keys dd { margin: var(--space-xs) 0 0; color: var(--color-muted); }

/* the one reveal */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 3. a bordo */
.bordo { --color-focus: var(--color-focus-on-field); background: var(--color-field); color: var(--color-on-field); padding-block: var(--section-gap) 0; }
.bordo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); }
.bordo-steps h2 { margin-bottom: var(--space-2xl); }
.step { min-height: 62svh; display: grid; align-content: center; gap: var(--space-sm); border-left: 2px solid var(--color-field-rule); padding-left: var(--space-lg); transition: border-color var(--dur-long) var(--ease-out); }
.step h3 { font-size: var(--text-section); line-height: 1.05; max-width: 14ch; color: var(--color-on-field-muted); transition: color var(--dur-long) var(--ease-out); }
.step p { color: var(--color-on-field-muted); max-width: 40ch; }
.step.is-on { border-left-color: var(--color-accent); }
.step.is-on h3 { color: var(--color-on-field); }
/* faixas alternadas com os azuis mais claros da app (ícone e cabeçalhos): marinho-médio e azul Sagres */
.step:nth-child(odd) { --band: var(--color-field-2); }
.step:nth-child(even) { --band: var(--color-field-top); }
@media (min-width: 60.01rem) {
  .step { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
}
.bordo-stage { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); align-self: start; display: grid; justify-items: center; }
.screen-panel { width: min(360px, 100%, calc((100svh - var(--nav-h) - var(--space-3xl)) * 9 / 17)); aspect-ratio: 9 / 17; position: relative; }
.panel { position: relative; height: 100%; }
.pane:not(:first-child) { display: none; }
.js .pane { display: flex; position: absolute; inset: 0; opacity: 0; transform: scale(0.985); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .pane.is-on { opacity: 1; transform: none; }
.bubbles { display: grid; align-content: end; gap: var(--space-xs); padding: var(--space-md); flex: 1; min-height: 0; overflow: hidden; }
.bub { max-width: 82%; padding: var(--space-xs) var(--space-sm); border-radius: 14px; line-height: 1.4; }
.bub.in { background: var(--color-paper-2); justify-self: start; border-bottom-left-radius: 4px; }
.bub.out { background: var(--color-field); color: var(--color-on-field); justify-self: end; border-bottom-right-radius: 4px; }
.composer { flex-shrink: 0; display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-md) var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); }
.composer span { flex: 1; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-rule); border-radius: 10px; }
.composer b { padding: var(--space-xs) var(--space-sm); border-radius: 10px; background: var(--color-field); color: var(--color-on-field); }
.pane-video { background: var(--color-field); color: var(--color-on-field); }
.call-head { display: grid; padding: var(--space-xl) var(--space-md) var(--space-sm); }
.call-head small { color: var(--color-accent); }
.tiles { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); padding: 0 var(--space-sm); }
.tile { display: grid; place-items: center; border-radius: 14px; background: var(--color-field-2); border: 2px solid var(--color-field-rule); font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-on-field-muted); }
.tile:first-child { border-color: var(--color-accent); color: var(--color-on-field); }
.call-bar { display: flex; justify-content: center; gap: var(--space-sm); padding: var(--space-md) 0 var(--space-lg); }
.cb { width: 44px; height: 44px; border-radius: 50%; background: var(--color-field-2); }
.cb.end { background: var(--color-danger); }
.event { display: grid; gap: var(--space-xs); padding: var(--space-md); }
.event-name { font-size: var(--text-lg); }
.event-meta { color: var(--color-muted); }
.rsvp { display: flex; gap: var(--space-2xs); margin: var(--space-xs) 0; }
.rsvp span { flex: 1; text-align: center; padding: var(--space-xs) 0; border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-xs); }
.rsvp .on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.cal { margin-top: var(--space-xs); text-align: center; padding: var(--space-sm); border-radius: 10px; background: var(--color-field); color: var(--color-on-field); font-weight: 700; }

/* 4. ficha */
.ficha-band { padding-block: var(--section-gap-l) var(--section-gap); background: var(--color-paper-2); }
.ficha-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.ficha-grid .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.ficha { margin: 0; display: grid; }
.ficha > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.ficha > div:first-child { padding-top: 0; }
.ficha dt { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; }
.ficha dd { margin: 0; color: var(--color-ink-2); font-size: var(--text-lg); }

/* 5. privacidade */
.privacidade { padding-block: var(--section-gap); }
.priv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; }
.priv-copy { display: grid; gap: var(--space-lg); }
.priv-copy > p { color: var(--color-ink-2); }
.switches { list-style: none; margin: 0; padding: 0; display: grid; }
.switches li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 56px; border-bottom: 1px solid var(--color-rule); font-weight: 700; }
.sw { position: relative; width: 52px; height: 30px; flex-shrink: 0; border-radius: var(--radius-pill); border: 0; background: var(--color-paper-3); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow-knob); transition: transform var(--dur-short) var(--ease-in-out); }
.sw[aria-checked="true"] { background: var(--color-field); }
.sw[aria-checked="true"]::after { transform: translateX(22px); background: var(--color-accent); }
.sw:hover { background: color-mix(in oklch, var(--color-paper-3) 80%, var(--color-ink)); }
.sw[aria-checked="true"]:hover { background: var(--color-ink-2); }
.sw:active::after { transform: scale(0.92); }
.sw[aria-checked="true"]:active::after { transform: translateX(22px) scale(0.92); }
.comp:disabled, .sw:disabled { opacity: 0.55; cursor: not-allowed; }
.priv-preview { display: grid; gap: var(--space-sm); }
.preview-cap { color: var(--color-muted); font-size: var(--text-sm); }
.profile { display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-screen); background: var(--color-field); color: var(--color-on-field); }
.profile-name { font-family: var(--font-display); font-size: var(--text-2xl); }
.profile-fields { margin: var(--space-sm) 0 0; width: 100%; display: grid; }
.profile-fields > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-field-rule); transition: opacity var(--dur-short) var(--ease-out); }
.profile-fields dt { color: var(--color-on-field-muted); font-size: var(--text-sm); }
.profile-fields dd { margin: 0; }
.profile-fields > div.off { opacity: 0.5; }
.profile-fields > div.off dd, .profile-fields .locked dd { color: var(--color-accent); }
.guards { grid-column: 1 / -1; list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.guards li { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); color: var(--color-ink-2); }
.guards b { display: block; color: var(--color-ink); }

/* 6. descarregar */
.descarregar { --color-focus: var(--color-focus-on-field); background: linear-gradient(180deg, var(--color-field) 0%, var(--color-field-2) 100%); color: var(--color-on-field); padding-block: var(--section-gap) var(--section-gap-s); overflow: visible; }
.desc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.desc-copy { display: grid; gap: var(--space-lg); }
.desc-copy .lead { color: var(--color-on-field-muted); }
.store-note { font-size: var(--text-sm); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-on-field-muted) 70%, transparent); border-radius: 3px; color: var(--color-on-field-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.screen-tablet { aspect-ratio: 16 / 10; width: 100%; }
.tablet .app-head { padding-top: var(--space-lg); }
.tablet-cols { flex: 1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 0; }
.tablet-cols .app-list { align-content: start; border-right: 1px solid var(--color-rule); padding-top: var(--space-md); }
.row.sel { border-color: var(--color-accent); }

/* footer */
.footer { background: var(--color-field); color: var(--color-on-field); padding-block: var(--space-xl); border-top: 1px solid var(--color-field-rule); --color-focus: var(--color-focus-on-field); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }
.footer .wordmark { font-size: var(--text-lg); }
.foot-note { color: var(--color-on-field-muted); font-size: var(--text-sm); }
.foot-credit { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-on-field-muted); font-size: var(--text-sm); }
.foot-credit img { flex-shrink: 0; border-radius: 2px; }

/* responsive */
@media (max-width: 75rem) {
  .comp-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .keys, .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  :root { --gutter: 20px; --section-gap: 96px; --section-gap-s: 80px; --section-gap-l: 112px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero-grid, .bordo-grid, .ficha-grid, .priv-grid, .desc-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .hero-grid { min-height: 0; }
  .screen-hero { width: min(320px, 100%); }
  .bordo-grid { gap: var(--space-xl); }
  .bordo-steps { display: contents; }
  .bordo-steps h2 { order: -2; margin-bottom: 0; }
  .bordo-stage { order: -1; position: static; }
  .screen-panel { width: min(280px, 72vw); }
  .steps-track { display: flex; gap: var(--space-sm); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .step { flex: 0 0 82%; min-height: 0; scroll-snap-align: start; align-content: start; padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg); background: var(--band); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
  .bordo { padding-bottom: var(--section-gap-s); }
  .step h3 { font-size: var(--text-2xl); }
  .ficha > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .foot-credit { margin-left: 0; }
}
@media (max-width: 36rem) {
  .nav-row { gap: var(--space-sm); }
  .nav .wordmark { font-size: var(--text-lg); }
  .nav-cta { padding-inline: var(--space-md); }
  .comp-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .keys, .guards { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
  .screen-tablet { aspect-ratio: 4 / 5; }
  .tablet-cols { grid-template-columns: minmax(0, 1fr); }
  .tablet-cols .app-list { border-right: 0; border-bottom: 1px solid var(--color-rule); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pane, .step, .step h3, .btn, .comp, .chip, .sw, .sw::after, .profile-fields > div, .nav-links a { transition: none; }
  .screen-hero { animation: none; transform: none; }
}

/* escalonamento sem atributos style (a CSP do servidor não permite estilos inline) */
.app-list > :nth-child(2), .keys > :nth-child(2) { --i: 1; }
.app-list > :nth-child(3), .keys > :nth-child(3) { --i: 2; }
.app-list > :nth-child(4), .keys > :nth-child(4) { --i: 3; }

/* moldura de telemóvel real (pedido do utilizador): aro escuro, botões laterais, câmara, barra de estado e indicador */
.device { position: relative; overflow: visible; padding: var(--space-sm); border-radius: 52px; background: var(--color-device); box-shadow: inset 0 0 0 2px var(--color-device-edge), var(--shadow-device); }
.device > .app, .device > .panel { height: 100%; border-radius: 42px; overflow: hidden; }
.device::before { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 72px; border-radius: 0 3px 3px 0; background: var(--color-device-edge); }
.device::after { content: ""; position: absolute; left: -3px; top: 18%; width: 3px; height: 44px; border-radius: 3px 0 0 3px; background: var(--color-device-edge); }
.sbar { position: absolute; z-index: var(--z-raised); top: var(--space-sm); left: var(--space-sm); right: var(--space-sm); height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-lg); color: var(--color-on-field); font-size: var(--text-xs); font-weight: 700; pointer-events: none; }
.sbar .cam { position: absolute; left: 50%; top: 11px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-device); box-shadow: inset 0 0 0 2px var(--color-device-edge); transform: translateX(-50%); }
.sb-icons { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.home { position: absolute; z-index: var(--z-raised); left: 50%; bottom: 18px; width: 32%; height: 4px; border-radius: var(--radius-pill); background: color-mix(in oklch, var(--color-ink) 70%, transparent); transform: translateX(-50%); pointer-events: none; }
.device .app-head, .device .call-head { padding-top: calc(var(--space-xl) + var(--space-xs)); }
.device .composer { padding-bottom: var(--space-xl); }
.device .app-list { padding-bottom: var(--space-xl); }
/* tablet: aro mais fino, câmara na moldura, sem botões */
.screen-tablet.device { padding: var(--space-md); border-radius: 34px; }
.screen-tablet.device > .app { border-radius: 22px; }
.screen-tablet.device::before, .screen-tablet.device::after { display: none; }
.screen-tablet .sbar { top: var(--space-md); left: var(--space-md); right: var(--space-md); height: 30px; }
.screen-tablet .sbar .cam { top: -10px; width: 8px; height: 8px; }
.screen-tablet .home { bottom: 22px; width: 22%; }
.screen-tablet .app-head { padding-top: calc(var(--space-lg) + var(--space-md)); }
@media (max-width: 36rem) {
  .device { padding: var(--space-xs); border-radius: 44px; }
  .device > .app, .device > .panel { border-radius: 36px; }
  .sbar { top: var(--space-xs); left: var(--space-xs); right: var(--space-xs); }
}
.screen-tablet .bubbles { padding-bottom: var(--space-xl); }
