.hw-demo {
  --navy: #05263f;
  --ink: #172f40;
  --muted: #435c69;
  --line: #ccdadd;
  background: #f1f6f6;
  border-top: 1px solid var(--line);
  color: var(--ink);
  scroll-margin-top: 5rem;
  color-scheme: light;
}
.hw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "heading phone" "dispo phone" "stores phone";
  align-content: start; align-items: start;
  gap: 1rem clamp(2rem, 5vw, 4.6rem);
  padding-block: clamp(2rem, 3.6vw, 3.5rem);
}
.hw-heading { grid-area: heading; min-width: 0; }
.hw-console { grid-area: dispo; }
.hw-stage { grid-area: phone; }
.hw-stores { grid-area: stores; }
.auftritt .hw-kicker {
  margin: 0 0 .85rem;
  display: flex;
  gap: .8rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: .83rem;
  font-weight: 700;
  color: var(--navy);
}
.hw-kicker span { padding-inline-start: .8rem; border-inline-start: 2px solid #00bccb; color: #35606b; }
.auftritt .hw-heading h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.25rem, 3.9vw, 3.9rem);
  font-weight: 640;
  letter-spacing: -.058em;
  line-height: 1.03;
  color: var(--navy);
}
.auftritt .hw-intro { margin: .8rem 0 0; max-width: 54ch; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.hw-console { border: 1px solid #c3d4d8; background: #fff; border-radius: 14px; overflow: hidden; }
.hw-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1.2rem; background: var(--navy); }
.auftritt .hw-bar h2 { margin: 0; color: #fff; font-size: 1.02rem; font-weight: 630; letter-spacing: -.02em; }
.hw-state { font-size: .81rem; font-weight: 620; color: #e4eff1; display: flex; align-items: center; gap: .45rem; }
.hw-state::before { content: ""; display: block; width: .48rem; height: .48rem; border-radius: 50%; background: #9eacb7; }
.hw-demo[data-phase="sent"] .hw-state::before, .hw-demo[data-phase="open"] .hw-state::before { background: #f8be84; }
.hw-demo[data-phase="accepted"] .hw-state::before, .hw-demo[data-phase="done"] .hw-state::before { background: #63dace; }
.hw-console-body { padding: 1rem clamp(1rem, 2vw, 1.55rem) 1.2rem; }
.hw-scenarios { padding: 0; margin: 0 0 1rem; border: 0; min-width: 0; }
.hw-scenarios legend, .hw-announcement {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.hw-segments { display: inline-flex; max-width: 100%; padding: 3px; border-radius: 8px; background: #edf2f3; }
.hw-segments label { position: relative; cursor: pointer; }
.hw-segments input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.hw-segments span { display: block; padding: .43rem .8rem; font-size: .84rem; font-weight: 630; color: var(--muted); border: 1px solid transparent; border-radius: 6px; }
.hw-segments input:checked + span { background: white; color: var(--navy); border-color: #cbd9dc; box-shadow: 0 1px 2px #092b3a10; }
.hw-segments input:focus-visible + span { outline: 2px solid #007984; outline-offset: 2px; }
.hw-scenarios:disabled label { cursor: default; }
.auftritt .hw-job-name, .auftritt .hw-sheet h3 { margin: 0 0 .7rem; font-size: clamp(1.17rem,1.9vw,1.5rem); font-weight: 650; line-height: 1.18; letter-spacing: -.03em; color: var(--navy); }
.hw-demo .hw-meta { margin: 0; padding: 0; }
.hw-meta > div { display: flex; justify-content: space-between; gap: .65rem; padding: .25rem 0; font-size: .85rem; line-height: 1.45; }
.hw-meta dt { flex: none; color: var(--muted); }
.hw-meta dd { overflow-wrap: anywhere; min-width: 0; margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.auftritt .hw-next { margin: .75rem 0 .8rem; padding-top: .7rem; border-top: 1px solid #dee8e9; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.hw-actions { display: flex; flex-wrap: wrap; gap: .3rem .7rem; }
.auftritt .hw-main-btn, .auftritt .hw-phone-btn, .auftritt .hw-reset {
  min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--navy); border-radius: 7px; background: var(--navy); color: white; font: inherit; font-size: .9rem; font-weight: 640; cursor: pointer;
}
.auftritt .hw-reset { background: #fff; border-color: #bfced2; color: var(--navy); }
.auftritt .hw-main-btn:hover, .auftritt .hw-phone-btn:hover { background: #104762; }
.auftritt .hw-reset:hover { background: #f1f6f6; }
.hw-sound { display: inline-flex; gap: .45rem; align-items: center; padding-top: .6rem; font-size: .81rem; color: var(--muted); cursor: pointer; }
.hw-sound input { accent-color: #007884; width: 1.05rem; height: 1.05rem; margin: 0; }
.auftritt .hw-stores { margin: 0; max-width: 55ch; font-size: .85rem; line-height: 1.5; color: var(--muted); }

/* The frame is part of the interactive browser demo. No platform artwork or device API is needed. */
.hw-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  display: grid;
  justify-items: center;
  padding: 3.55rem 1.2rem 2rem;
  border: 1px solid #c9dadd;
  border-radius: 18px;
  background: radial-gradient(ellipse at 22% 15%,#f8fbfa 0%,transparent 56%), radial-gradient(ellipse at 80% 84%,#b1ced1 0%,transparent 70%),#dfebed;
}
.hw-stage figcaption {
  position: absolute; inset: .9rem 1.2rem auto;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  color: #34515f; font-size: .79rem; font-weight: 660;
}
.hw-stage figcaption span + span { font-size: .76rem; font-weight: 550; }
.hw-phone {
  position: relative;
  width: min(100%,19.5rem);
  aspect-ratio: 0.489;
  padding: 5px;
  border: 2px solid #545e60;
  border-radius: 2.9rem;
  background: linear-gradient(112deg,#b7babc 0%,#353b3b 16%,#9ca3a4 43%,#d7dad8 63%,#373c3e 83%,#969e9e);
  box-shadow: 0 1px 1px #fff inset, 0 0 0 1px #465053, 0 18px 28px -15px #102b3a70, 0 6px 9px -5px #18364450;
}
.hw-phone::before, .hw-phone::after { content: ""; position: absolute; width: 3px; background: #677174; border-radius: 3px; }
.hw-phone::before { top: 21%; left: -4px; height: 6%; box-shadow: 0 2.6rem #677174; }
.hw-phone::after { top: 31%; right: -4px; height: 10%; }
.hw-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate;
  border: 3px solid #11171b; border-radius: 2.48rem; background: #083046; color: #fff;
}
.hw-statusbar {
  position: absolute; z-index: 3; inset: 0 0 auto;
  height: 2.65rem; display: flex; align-items: center; justify-content: space-between;
  padding: .26rem 1.1rem 0; color: #fff; font: 650 .7rem/1 system-ui,sans-serif; pointer-events: none;
}
.hw-island { position: absolute; top: .5rem; left: 50%; transform: translateX(-50%); width: 3.9rem; height: 1rem; background: #080a0b; border-radius: 2rem; }
.hw-indicators { display: flex; align-items: center; gap: .23rem; }
.hw-signal { width: 12px; height: 8px; background: currentColor; clip-path: polygon(0 80%,17% 80%,17% 100%,33% 100%,33% 52%,51% 52%,51% 100%,66% 100%,66% 25%,83% 25%,83% 100%,88% 100%,88% 0,100% 0,100% 100%,0 100%); }
.hw-battery { width: 15px; height: 7px; border: 1px solid #ffffffb0; border-radius: 2px; background: linear-gradient(to right,#fff 80%,transparent 80%) content-box; padding: 1px; position: relative; }
.hw-battery::after { content: ""; position: absolute; right: -3px; top: 1px; height: 3px; width: 1px; background: #ffffffc0; }
.hw-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 3.5rem .7rem 2.1rem; isolation: isolate;
  background: linear-gradient(158deg,#032237 8%,#0c5068 47%,#03253d 66%,#081e33 100%);
}
.hw-lock::before,.hw-lock::after { content: ""; z-index: -1; position: absolute; pointer-events: none; }
.hw-lock::before {
  width: 155%; height: 66%; top: 23%; left: -57%; border-radius: 48%; transform: rotate(-39deg);
  background: linear-gradient(179deg,#0d4256 1%,#14718a 26%,#59c6cb 71%,#b8eeea 91%,#39849a 98%);
  box-shadow: 8px 7px 23px #041e3c60;
}
.hw-lock::after {
  width: 190%; height: 65%; top: 36%; left: -68%; border-radius: 48%; transform: rotate(-39deg);
  background: linear-gradient(173deg,#0b4059 5%,#03243d 34%,#071e33 67%,#1c4f68 95%);
}
.hw-lock-heading { text-align: center; font-family: system-ui,sans-serif; color: #eaffff; }
.hw-lock-heading span { display: block; font-size: .87rem; font-weight: 600; }
.hw-lock-heading b { display: block; font-size: clamp(3.5rem,5.2vw,4.8rem); line-height: 1; font-weight: 610; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.hw-homebar { pointer-events: none; position: absolute; z-index: 3; bottom: .5rem; left: 50%; transform: translateX(-50%); width: 30%; height: 4px; border-radius: 4px; background: #fff; }
.hw-lock-footer { position: relative; z-index: 1; }
.hw-demo .hw-notice {
  display: flex; width: 100%; align-items: flex-start; gap: .57rem;
  padding: .74rem .68rem; color: var(--navy); background: #ecf5f5f5;
  border: 1px solid #fff9; border-radius: 14px; text-align: start; font: inherit;
}
.hw-notice img { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 7px; }
.hw-notice small,.hw-notice strong,.hw-notice > div > span,.hw-notice > span > span,.hw-notice b { display: block; }
.hw-notice small { font-size: .65rem; color: #3a5261; }
.hw-notice strong { font-size: .97rem; line-height: 1.25; }
.hw-notice > div > span,.hw-notice > span > span { font-size: .8rem; line-height: 1.35; }
.hw-notice b { margin-top: .48rem; font-size: .75rem; color: #075c6b; }
.hw-alert { cursor: pointer; }
.hw-alert:focus-visible { outline-color: #00bccb; outline-offset: 2px; }
.hw-inbox {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding-top: 2.65rem; background: linear-gradient(var(--navy) 0 5.8rem,#f5f9f9 5.8rem);
}
.hw-app-head { display: flex; align-items: center; gap: .5rem; padding: .25rem .82rem .65rem; color: white; font-size: .85rem; font-weight: 620; }
.hw-app-head img { width: 1.65rem; height: 1.65rem; }
.hw-sheet { flex: 1; overflow-y: auto; background: #f5f9f9; color: var(--ink); padding: 1rem .85rem 1.8rem; }
.auftritt .hw-tag { margin: 0 0 .55rem; color: #785024; font-size: .76rem; font-weight: 700; }
.auftritt .hw-sheet h3 { font-size: 1.32rem; }
.hw-sheet .hw-meta > div { display: block; padding: .35rem 0; border-top: 1px solid #d9e3e5; }
.hw-sheet .hw-meta dt { font-size: .71rem; }
.hw-sheet .hw-meta dd { text-align: start; font-size: .85rem; }
.auftritt .hw-phone-note { color: var(--muted); font-size: .82rem; line-height: 1.45; margin: .6rem 0 .95rem; }
.auftritt .hw-phone-btn { width: 100%; }
.hw-demo[data-phase="accepted"] .hw-tag,.hw-demo[data-phase="done"] .hw-tag { color: #076b60; }
.hw-demo:is([data-phase="open"],[data-phase="accepted"],[data-phase="done"]) .hw-homebar { background: #253c48; }

@media (max-width: 50rem) {
  .hw-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "dispo" "phone" "stores"; gap: 1.15rem; }
  .hw-stage { width: 100%; }
  .hw-phone { width: min(100%, 18rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hw-demo[data-phase="sent"] :is(.hw-alert,.hw-critical-content) { animation: hw-arrival .28s ease-out both; }
  @keyframes hw-arrival { from { opacity: .6; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
}

.hw-console .hw-meta > div { align-items: baseline; }
.hw-demo select {
  max-width: 100%; min-height: 40px; padding: .3rem .45rem; border: 1px solid #b5c9ce;
  border-radius: 6px; background: #f7fafb; color: #05263f; font: inherit; font-size: .86rem;
}
.hw-demo select:disabled { opacity: 1; color: #304252; }
.hw-report { display: block; font-size: .77rem; font-weight: 650; margin: .6rem 0; }
.hw-report textarea {
  display: block; width: 100%; margin: .25rem 0 0; padding: .4rem .5rem;
  border: 1px solid #aebfc6; border-radius: 5px; background: #fff;
  color: #05263f; font: inherit; font-size: 1rem; line-height: 1.35; resize: vertical;
}

.hw-workspace { border-top: 0; }
.hw-job-strip, .hw-sheet-strip { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem; margin-bottom: .35rem; }
.hw-job-strip, .hw-ref { font: 600 .74rem/1.4 ui-monospace,monospace; color: #405765; }
.hw-job-strip > span + span { font: 640 .78rem/1.4 system-ui,sans-serif; color: #476371; }
.hw-workspace[data-scenario="pikett"] .hw-job-strip > span + span { color: #904324; }
.hw-line { display: block; }
.hw-number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hw-history { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #d7e2e3; }
.auftritt .hw-history h3 { margin: 0 0 .4rem; color: var(--navy); font-size: .85rem; font-weight: 670; }
.hw-history ol { list-style: none; margin: 0; padding: 0; }
.hw-history li { display: flex; align-items: baseline; gap: .65rem; margin: .22rem 0; color: #405765; font-size: .8rem; }
.hw-history time { color: #1f4d5d; font: 600 .75rem/1.5 ui-monospace,monospace; }

.hw-critical { position: absolute; inset: 0; display: flex; flex-direction: column; overflow-y: auto; color: #fff5ef; background: radial-gradient(ellipse at 76% 28%,#843d39 0%,transparent 58%),linear-gradient(160deg,#582a30,#321f29 70%); }
.hw-critical-content { margin: auto 0; padding: 3.1rem 1.05rem 2rem; text-align: center; }
.hw-critical-brand { display: flex; align-items: center; justify-content: center; gap: .4rem; color: #ffece6; font-size: .79rem; font-weight: 630; }
.hw-critical-brand img { width: 1.5rem; height: 1.5rem; border-radius: 5px; }
.hw-bell { display: block; width: clamp(3.1rem,5vw,4.1rem); height: auto; margin: 1.5rem auto 1.05rem; color: #ffb491; }
.auftritt .hw-critical-label { margin: 0 0 .4rem; font-size: .72rem; font-weight: 700; color: #ffd3bb; letter-spacing: .045em; }
.auftritt .hw-critical h3 { margin: 0; font-size: clamp(1.8rem,3vw,2.45rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 690; color: #fff9f5; }
.auftritt .hw-critical-job { margin: 1.25rem 0 .35rem; font-size: 1rem; line-height: 1.35; font-weight: 670; color: #fff4ed; }
.auftritt .hw-critical-address { display: grid; gap: 0; margin: 0; font-size: .85rem; line-height: 1.45; color: #f5dbd4; }
.hw-critical-actions { display: grid; gap: .45rem; margin: 1.35rem auto 0; max-width: 16rem; }
.auftritt .hw-confirm, .auftritt .hw-tone-control, .auftritt .hw-call { border: 0; border-radius: .55rem; min-height: 44px; padding: .5rem .65rem; font: 640 .88rem/1.35 system-ui,sans-serif; cursor: pointer; }
.auftritt .hw-confirm { background: #ffdfca; color: #441e20; }
.auftritt .hw-confirm:hover { background: #fff1e8; }
.auftritt .hw-tone-control { border: 1px solid #b88c86; color: #fff4ed; background: transparent; }
.auftritt .hw-tone-control:hover { background: #714447; }
.hw-critical :is(button,[tabindex]):focus-visible { outline: 2px solid #ffe2c9; outline-offset: 2px; }
.hw-sheet { min-height: 0; padding-bottom: .55rem; overscroll-behavior: auto; }
.hw-sheet-strip { margin-bottom: .45rem; }
.auftritt .hw-sheet-strip .hw-tag { margin: 0; }
.auftritt .hw-sheet h3 { margin-bottom: .85rem; }
.hw-on-phone > div { padding-block: .35rem; }
.hw-contact { margin: .42rem 0; padding: .1rem .62rem; border: 1px solid #c9dadb; border-radius: .55rem; background: #eaf2f2; }
.hw-contact summary {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  min-height: 48px; padding: .42rem 0; list-style: none;
  cursor: pointer; font-size: .75rem; font-weight: 640; color: #224753;
}
.hw-contact summary::-webkit-details-marker { display: none; }
.hw-contact summary::marker { content: ""; }
.hw-contact-text { min-width: 0; }
.hw-contact-name { display: block; margin-top: .08rem; font-size: .85rem; font-weight: 620; color: var(--navy); }
.hw-contact-chevron {
  display: grid; place-items: center; flex: 0 0 1.55rem; height: 1.55rem;
  border: 1px solid #adcdd0; border-radius: 50%; background: #f7fbfb; color: #175d68;
}
.hw-contact-chevron svg { display: block; width: 1rem; height: 1rem; }
.hw-contact[open] .hw-contact-chevron { background: #d4eaeb; border-color: #94babe; }
.hw-contact[open] .hw-contact-chevron svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .hw-contact-chevron svg { transition: transform 160ms cubic-bezier(.2,.75,.25,1); }
}
@media (hover: hover) {
  .hw-contact summary:hover .hw-contact-chevron { background: #cce6e8; border-color: #86afb4; }
}
.auftritt .hw-package-note {
  margin: .7rem 0 0; color: #35525d; font-size: .9rem; line-height: 1.5;
}
.auftritt .hw-package-note a { color: #075d69; font-weight: 650; text-decoration: underline; text-underline-offset: .16em; }
.hw-contact > div { padding: .12rem 0 .48rem; }
.hw-contact .hw-number { display: block; font: 620 .88rem/1.4 system-ui,sans-serif; color: var(--navy); }
.auftritt .hw-call { margin-top: .38rem; border: 1px solid #87a6ae; background: #f9fcfc; color: #0a4c5a; }
.auftritt .hw-call-result { margin: .35rem 0 0; color: #164f47; font-size: .79rem; line-height: 1.4; }
.hw-phone-actions { flex: none; padding: .45rem .85rem 1.18rem; border-top: 1px solid #d6e2e4; background: #f6f9fa; }
.auftritt .hw-phone-btn { min-height: 44px; }
.hw-workspace :is(button,summary,input,select,textarea):focus-visible { outline: 2px solid #007482; outline-offset: 2px; }
.hw-workspace .hw-critical button:focus-visible { outline-color: #ffdfca; }
@media (min-width: 50.01rem) {
  .hw-stage { position: sticky; top: 1rem; }
}
@media (max-width: 25rem) {
  .hw-stage { padding-inline: .65rem; }
  .hw-bell { margin: .8rem auto; }
}
