:root {
  --paper: #f7f8fa;
  --ink: #16233a;
  --rule: #c9d1dc;
  --quiet: #8794a6;
  --signal: #1b4fe8;
  --urgent: #d7263d;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-synthesis: none;
}
html:lang(zh-CN) {
  font-family: "IBM Plex Sans", "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html:lang(ja) {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: var(--signal);
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 19px;
  font-weight: 500;
}
h3,
strong {
  font-weight: 500;
}
.data,
code {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -70px;
  left: 20px;
  background: var(--paper);
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  max-width: 1504px;
  margin: auto;
  padding: 23px 32px;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}
.brand-mark i {
  height: 8px;
  border: 1px solid var(--signal);
}
.brand-mark i:first-child,
.brand-mark i:last-child {
  background: var(--signal);
}
.site-header nav,
.language-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-header nav a,
.language-nav a {
  color: var(--ink);
  text-decoration: none;
}
.site-header a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.language-nav {
  margin-left: auto;
  gap: 15px;
  font-size: 13px;
}
main {
  max-width: 1504px;
  margin: 0 auto;
  padding: 32px;
}
.site-footer {
  max-width: 1440px;
  margin: 16px auto 0;
  padding: 22px 0 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font-size: 12px;
}
.site-footer p {
  max-width: 850px;
}
.site-footer a {
  white-space: nowrap;
}
.board-heading,
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.release-clock {
  font-size: 13px;
}
.release-clock .urgent,
.error {
  color: var(--urgent);
}
.board-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.region-tabs {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
}
.region-tabs label {
  position: relative;
  cursor: pointer;
}
.region-tabs input {
  inset: 0;
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.region-tabs span {
  height: 100%;
  display: block;
  padding: 9px 18px;
  border: 1px solid var(--rule);
  margin-right: -1px;
}
.region-tabs input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.region-tabs input:focus-visible + span {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}
.filter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter label {
  font-size: 13px;
}
select,
input:not([type="checkbox"]) {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  min-height: 43px;
  padding: 8px 10px;
  max-width: 100%;
}
.filter select {
  min-width: 150px;
}
.status-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.status-strip .button {
  margin-left: auto;
}
.status-strip time {
  margin-left: 7px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  min-height: 43px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.primary {
  background: var(--signal);
  border-color: var(--signal);
  color: white;
}
.danger {
  background: var(--urgent);
  border-color: var(--urgent);
  color: white;
}
.text-button {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.board-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-size: 12px;
}
.legend {
  list-style: none;
  display: flex;
  gap: 19px;
  padding: 0;
  margin: 0;
}
.legend li {
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--quiet);
}
.legend-mark.available {
  background: var(--signal);
  border-color: var(--signal);
}
.legend-mark.unknown,
.legend-mark.notOpen,
.legend-mark.stale {
  border: 0;
  text-align: center;
  height: auto;
  line-height: 1;
}
.legend-mark.unknown:before {
  content: "—";
}
.legend-mark.notOpen:before {
  content: "…";
}
.legend-mark.stale:before {
  content: "?";
  color: var(--urgent);
}
.matrix-scroll {
  /* Contain absolute screen-reader labels inside the scrollable table. */
  position: relative;
  overflow: auto;
  max-height: 62vh;
  border: 1px solid var(--rule);
}
.stock-matrix {
  width: 100%;
  min-width: 870px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}
.stock-matrix th,
.stock-matrix td {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.stock-matrix th:last-child,
.stock-matrix td:last-child {
  border-right: 0;
}
.stock-matrix tbody tr:last-child > * {
  border-bottom: 0;
}
.stock-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  font-weight: 500;
  height: 34px;
}
.stock-matrix thead tr:nth-child(2) th {
  top: 34px;
  text-align: right;
  padding-right: 12px;
}
.stock-matrix .store-heading {
  width: 230px;
  text-align: left;
  padding-left: 16px;
  left: 0;
  z-index: 5;
}
.stock-matrix tbody th {
  position: sticky;
  left: 0;
  background: var(--paper);
  z-index: 2;
  padding: 10px 16px;
  text-align: left;
  font-weight: 400;
}
.store-city {
  font-size: 11px;
  display: block;
  margin-bottom: 3px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.store-name {
  display: block;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.stock-matrix td {
  height: 45px;
  padding: 5px;
}
.stock-cell {
  position: relative;
  width: 100%;
  height: 33px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.stock-cell.available {
  background: var(--signal);
  color: white;
  font-weight: 500;
}
.stock-cell.unavailable {
  color: var(--quiet);
  font-size: 20px;
}
.stock-cell.unknown,
.stock-cell.notOpen {
  color: var(--quiet);
}
.stock-cell.stale {
  color: var(--urgent);
}
.flip {
  animation: stock-flip 120ms ease-out;
}
@keyframes stock-flip {
  from {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(1);
  }
}
.board-note {
  font-size: 12px;
  margin-top: 17px;
  max-width: 960px;
}
.board-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  font-size: 12px;
}
.board-footer > span {
  color: var(--quiet);
}
.mobile-subscriptions {
  display: none;
}
.empty-state {
  padding: 36px 20px;
  font-size: 14px;
}
.duo-page {
  max-width: 1020px;
  margin: auto;
}
.page-lead {
  max-width: 750px;
  margin: 0 0 32px;
  font-size: 16px;
}
.release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  margin: 26px 0 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.release-grid > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 6px 0 20px;
}
.release-grid > div > span {
  font-size: 13px;
}
.release-grid time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  line-height: 1.5;
}
.release-date {
  color: var(--signal);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.release-hour {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.release-grid small {
  font-size: 11px;
  margin-left: 7px;
  opacity: 0.7;
}
.release-grid p {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.8;
  padding: 14px 0 0;
  border-top: 1px solid var(--rule);
  opacity: 0.75;
}
.price-table-wrap {
  margin-top: 15px;
}
.price-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.price-table th,
.price-table td {
  border: 1px solid var(--rule);
  padding: 18px 24px;
  text-align: right;
}
.price-table th {
  font-weight: 500;
}
.price-table th:first-child {
  width: 22%;
  text-align: left;
}
.price-table thead th {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price-table td > span,
.price-table td > code {
  display: block;
}
.price {
  font-size: 24px;
}
.price small {
  font-size: 12px;
}
.price-table code {
  font-size: 12px;
  margin-top: 7px;
}
.variant-link,
.part-pending {
  font-size: 12px;
}
.source-note {
  font-size: 12px;
  margin-top: 14px;
}
.spec-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 38px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.spec-table > div {
  padding: 19px 0;
}
.spec-table dt {
  font-size: 12px;
}
.spec-table dd {
  margin: 7px 0 0;
  font-size: 19px;
}
.esim-section {
  max-width: 780px;
}
.esim-section p {
  margin-top: 12px;
}
.source-links {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--rule);
  margin-top: 35px;
  padding-top: 20px;
  font-size: 13px;
}
.source-links h2 {
  font-size: 13px;
}
.prose-page,
.manage-page {
  max-width: 800px;
  margin: auto;
  padding: 20px 0 40px;
}
.prose-page h1,
.manage-page h1 {
  margin-bottom: 20px;
}
.prose-page section {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.prose-page section p {
  margin-top: 12px;
}
.token-form {
  display: grid;
  gap: 10px;
  margin-top: 25px;
  max-width: 600px;
}
.token-form button {
  justify-self: start;
  margin-top: 8px;
}
.manage-details {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 18px 0 32px;
  border-top: 1px solid var(--rule);
}
.manage-details dt,
.manage-details dd {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  overflow-wrap: anywhere;
}
.manage-details dt {
  font-size: 13px;
}
.notify-list {
  padding: 0;
  list-style: none;
}
.notify-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
#manage-result h2 {
  margin: 25px 0 12px;
}
.delete-confirm {
  border-top: 2px solid var(--urgent);
  margin-top: 28px;
  padding-top: 20px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.field-help {
  font-size: 12px;
  margin: 8px 0 18px;
}
.error {
  margin: 14px 0;
}
dialog {
  width: min(560px, calc(100% - 24px));
  max-height: 90dvh;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 26px;
}
dialog::backdrop {
  background: rgba(22, 35, 58, 0.48);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
dialog > p {
  font-size: 13px;
  margin-bottom: 22px;
}
.field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.field label,
.token-form label {
  font-size: 13px;
  font-weight: 500;
}
.field select,
.field input {
  width: 100%;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  margin: 22px 0;
}
.consent input {
  margin-top: 4px;
  accent-color: var(--signal);
}
#submit-subscription {
  width: 100%;
}
#subscription-success > p {
  margin: 16px 0;
}
#subscription-success > label {
  display: block;
  font-size: 13px;
}
#manage-link {
  width: 100%;
  margin-top: 8px;
}
#another-alert {
  display: block;
  margin-top: 20px;
}
noscript p {
  max-width: 1000px;
  margin: 20px auto;
  padding: 15px;
  border: 1px solid var(--urgent);
}
@media (min-width: 1600px) {
  main {
    padding-top: 40px;
  }
  .matrix-scroll {
    max-height: 65vh;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 24px;
    padding: 20px;
  }
  .site-header nav {
    gap: 16px;
  }
  main {
    padding: 24px 20px;
  }
  .site-footer {
    margin: 16px 20px 0;
  }
  .status-strip {
    gap: 15px;
    flex-wrap: wrap;
  }
  .board-controls {
    gap: 16px;
    flex-wrap: wrap;
  }
  .board-meta {
    flex-wrap: wrap;
  }
  .stock-matrix .store-heading {
    width: 210px;
  }
  .language-nav {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 17px 16px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .brand {
    font-size: 20px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    font-size: 13px;
    justify-content: space-between;
  }
  .language-nav {
    font-size: 12px;
  }
  .site-header nav a[aria-current] {
    text-underline-offset: 6px;
  }
  main {
    padding: 24px 16px;
  }
  .site-footer {
    margin: 0 16px;
    padding-top: 18px;
    display: block;
  }
  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
  h1 {
    font-size: 24px;
  }
  .board-heading {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
    margin-bottom: 22px;
  }
  .board-controls {
    gap: 14px;
  }
  .region-tabs {
    width: 100%;
  }
  .region-tabs label {
    flex: 1;
    text-align: center;
  }
  .region-tabs span {
    height: 100%;
    padding: 8px 12px;
  }
  .filter {
    flex: 1;
  }
  .filter select {
    min-width: 0;
    width: 100%;
  }
  .city-filter {
    display: none;
  }
  .status-strip {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 12px;
    gap: 8px;
    padding: 14px 0;
  }
  .status-strip .button {
    margin: 8px 0 0;
    width: 100%;
  }
  .board-meta,
  .matrix-scroll {
    display: none;
  }
  .mobile-subscriptions {
    display: block;
    padding: 24px 0 20px;
  }
  .mobile-subscriptions h2 {
    font-size: 18px;
  }
  .mobile-subscriptions > p {
    font-size: 12px;
    margin-top: 8px;
  }
  .mobile-subscriptions > a {
    font-size: 13px;
  }
  .mobile-subscriptions .empty-state {
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 18px;
  }
  .subscription-rows {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }
  .subscription-rows li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    border-top: 1px solid var(--rule);
    padding: 18px 0;
  }
  .row-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
  }
  .row-main time {
    font-size: 11px;
    margin-top: 8px;
  }
  .row-status {
    align-self: start;
    font-size: 11px;
    padding: 5px 8px;
    border: 1px solid var(--rule);
  }
  .row-status.available {
    color: white;
    background: var(--signal);
    border-color: var(--signal);
  }
  .row-status.stale {
    color: var(--urgent);
  }
  .subscription-rows li > a {
    grid-column: 1/-1;
    font-size: 12px;
  }
  .board-note {
    padding-top: 16px;
    border-top: 1px solid var(--rule);
  }
  .board-footer {
    margin: 22px 0;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .page-lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .release-grid {
    grid-template-columns: 1fr;
    margin: 22px 0;
    padding-top: 4px;
  }
  .release-grid > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }
  .release-grid > div + div {
    border-top: 1px solid var(--rule);
  }
  .release-date {
    font-size: 20px;
  }
  .release-hour {
    font-size: 15px;
  }
  .release-grid p {
    padding-top: 12px;
  }
  .price-table th,
  .price-table td {
    padding: 12px 7px;
  }
  .price-table th {
    font-size: 12px;
  }
  .price {
    font-size: 16px;
  }
  .price small {
    display: block;
    font-size: 10px;
  }
  .price-table code {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .price-table .part-pending,
  .variant-link {
    font-size: 11px;
  }
  .spec-table {
    grid-template-columns: 1fr 1fr;
  }
  .spec-table dd {
    font-size: 17px;
  }
  .source-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  .source-links h2 {
    width: 100%;
  }
  .manage-page,
  .prose-page {
    padding-top: 0;
  }
  .manage-details {
    grid-template-columns: 95px 1fr;
    font-size: 13px;
  }
  .notify-list li {
    flex-direction: column;
    gap: 5px;
  }
  .notify-list time {
    font-size: 12px;
  }
  dialog {
    padding: 20px;
  }
  .dialog-heading h2 {
    font-size: 18px;
  }
  .dialog-heading button {
    padding: 8px;
  }
  .button-row .button {
    flex: 1;
  }
  .release-clock {
    font-size: 12px;
  }
  .token-form input {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flip {
    animation: none;
  }
}

#service-state.fault {
  color: var(--urgent);
}

.duo-media {
  margin: 32px 0;
}
.duo-media h2 {
  margin-bottom: 16px;
}
.duo-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.duo-media figure {
  margin: 0;
  min-width: 0;
  padding: 20px 20px 14px 0;
}
.duo-media figure + figure {
  border-left: 1px solid var(--rule);
  padding: 20px 0 14px 20px;
}
.duo-media img,
.duo-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}
.duo-media figcaption {
  font-size: 13px;
  margin-top: 12px;
}
.media-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  margin-top: 13px;
}
@media (max-width: 700px) {
  .duo-media-grid {
    grid-template-columns: 1fr;
  }
  .duo-media figure,
  .duo-media figure + figure {
    padding: 16px 0;
    border-left: 0;
  }
  .duo-media figure + figure {
    border-top: 1px solid var(--rule);
  }
}

.store-search-status {
  font-size: 12px;
  margin: 0;
}

.release-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.preorder-clock strong {
  color: var(--signal);
  margin-left: 10px;
  font-weight: 500;
}
#part-help {
  white-space: pre-line;
}
@media (max-width: 700px) {
  .release-clock {
    align-items: flex-start;
  }
  .preorder-clock strong {
    display: block;
    margin-left: 0;
  }
}

.product-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 26px;
  max-width: 1020px;
}
.product-picker button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-bottom: 2px solid var(--rule);
  padding: 8px 12px 14px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}
.product-picker button[aria-pressed="true"] {
  border-bottom-color: var(--signal);
  color: var(--signal);
}
.product-picker img {
  display: block;
  width: 115px;
  height: 120px;
  object-fit: contain;
}
.product-picker span {
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .product-picker {
    gap: 12px;
    margin-bottom: 22px;
  }
  .product-picker button {
    flex-direction: column;
    padding: 0 0 10px;
    gap: 10px;
    text-align: center;
  }
  .product-picker img {
    width: 100%;
    height: 88px;
  }
  .product-picker span {
    font-size: 12px;
  }
}

.product-picker {
  display: flex;
  max-width: none;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0;
}
.product-picker button {
  flex-direction: column;
  width: 136px;
  gap: 8px;
  padding: 8px 4px 14px;
  border-bottom-color: transparent;
  text-align: center;
}
.product-picker img {
  width: 88px;
  height: 94px;
}
.product-picker span {
  font-size: 13px;
}
.product-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  margin: 40px 0 48px;
  align-items: start;
}
.product-stage {
  background: #eef0f4;
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 24px;
  text-align: center;
}
.product-stage img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: contain;
}
.product-stage p {
  margin-top: 18px;
  font-size: 13px;
}
.product-options h2 {
  font-size: 16px;
  margin: 0 0 14px;
}
.model-options {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.model-options button,
.capacity-options button {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  text-align: left;
  padding: 16px 18px;
  min-height: 58px;
}
.model-options button[aria-pressed="true"],
.capacity-options button[aria-pressed="true"] {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
  border-color: transparent;
}
#selected-color {
  font-size: 13px;
  margin-bottom: 14px;
}
.color-options {
  display: flex;
  gap: 14px;
  margin: 0 0 28px;
  padding: 4px;
}
.color-swatch {
  height: 28px;
  width: 28px;
  border: 1px solid #aab2bf;
  border-radius: 50%;
}
.color-swatch[aria-pressed="true"] {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}
.color-swatch.white {
  background: #eeeae3;
}
.color-swatch.night {
  background: #333b47;
}
.color-swatch.glacier {
  background: #b9cedc;
}
.color-swatch.burgundy {
  background: #64333c;
}
.color-swatch.silver {
  background: #dadcdb;
}
.color-swatch.black {
  background: #343436;
}
.capacity-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.capacity-options button {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.capacity-options button span:last-child {
  font-size: 12px;
}
.configured-price {
  font-size: 26px;
  font-weight: 500;
  margin: 22px 0 14px;
}
@media (max-width: 900px) {
  .product-configurator {
    gap: 28px;
  }
  .product-stage img {
    height: 340px;
  }
}
@media (max-width: 700px) {
  .product-picker {
    gap: 8px;
  }
  .product-picker button {
    flex: 1;
    width: auto;
  }
  .product-picker img {
    height: 76px;
  }
  .product-configurator {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 24px 0 32px;
  }
  .product-stage {
    position: static;
    padding: 20px;
  }
  .product-stage img {
    height: 260px;
  }
  .product-options h2 {
    font-size: 15px;
  }
  .model-options button {
    padding: 12px 16px;
    min-height: 48px;
  }
}

.task-entry {
  margin-left: auto;
  border: 1px solid var(--signal);
  color: var(--signal);
  white-space: nowrap;
}
#tasks-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
}
.monitor-task {
  padding: 24px 0 18px;
  border-top: 1px solid var(--rule);
}
.task-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.task-title h3 {
  margin: 0;
  font-size: 19px;
}
.task-title h3 span {
  font-size: 15px;
  font-weight: 400;
}
.task-phase {
  font-size: 14px;
  color: var(--ink);
  border-left: 3px solid var(--rule);
  padding-left: 8px;
}
.taskMonitoring {
  color: var(--signal);
  border-color: var(--signal);
}
.taskBackoff,
.taskStale {
  color: var(--urgent);
  border-color: var(--urgent);
}
.task-store {
  margin: 8px 0 20px;
  font-size: 14px;
}
.task-metrics {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 20px;
  padding: 16px;
  background: white;
}
.task-metrics span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.task-metrics strong {
  font-size: 15px;
  font-weight: 500;
}
.task-metrics .data {
  font-size: 28px;
  color: var(--signal);
}
.monitor-task details {
  margin-top: 18px;
  font-size: 14px;
}
.monitor-task summary {
  cursor: pointer;
  color: var(--signal);
}
.task-created,
.task-stock time {
  font-size: 12px;
}
.task-stock {
  font-weight: 500;
}
.task-stock time {
  margin-left: 12px;
  font-weight: 400;
}
.task-timeline {
  list-style: none;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
}
.task-timeline li {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}
.task-timeline time {
  font-size: 12px;
}
@media (max-width: 600px) {
  .task-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .task-metrics > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .task-metrics span {
    margin: 0;
  }
  .task-metrics strong {
    text-align: right;
  }
  .task-timeline li {
    flex-direction: column;
    gap: 4px;
  }
  .board-heading {
    flex-wrap: wrap;
  }
  .task-entry {
    margin-left: 0;
  }
}

.task-dashboard {
  margin: 24px 0 40px;
  padding: 24px;
  background: #edf1fa;
  border: 1px solid #d7deed;
  border-radius: 18px;
  scroll-margin-top: 20px;
}
.task-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.task-dashboard-heading h2 {
  margin: 0 0 6px;
  font-size: 23px;
}
.task-dashboard-heading p {
  margin: 0;
  font-size: 13px;
  max-width: 650px;
}
.task-dashboard-heading .button {
  flex-shrink: 0;
  border-radius: 9px;
}
.task-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.task-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #d7deed;
  border-radius: 12px;
}
.task-totals span {
  font-size: 14px;
}
.task-totals strong {
  font-size: 28px;
}
.task-totals > div:nth-child(2) strong {
  color: var(--signal);
}
.task-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
}
.task-panel {
  background: #fff;
  border: 1px solid #d7deed;
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.task-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.task-panel h3 {
  margin: 0;
  font-size: 17px;
}
#tasks-feedback {
  font-size: 12px;
}
.task-import {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
}
.task-log .task-timeline li {
  flex-direction: column;
  gap: 5px;
}
.task-log small {
  font-size: 12px;
  color: #52617a;
}
.task-log .task-timeline {
  max-height: 460px;
  overflow: auto;
}
.task-dashboard .monitor-task {
  padding: 18px 0 12px;
}
.task-dashboard .task-metrics {
  background: var(--paper);
  margin-top: 14px;
}
.task-dashboard .task-store {
  margin: 8px 0;
}
.task-dashboard .task-created {
  margin: 8px 0 0;
  color: #52617a;
}
@media (max-width: 900px) {
  .task-dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .task-dashboard {
    padding: 14px;
    margin: 16px 0 28px;
  }
  .task-dashboard-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .task-totals {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .task-totals > div {
    padding: 12px;
  }
  .task-panel {
    padding: 14px;
  }
}

.task-row-progress {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 12px 0;
}
.task-row-progress b {
  color: var(--signal);
  font-size: 16px;
  margin-left: 4px;
}

.rename-form {
  margin: 20px 0;
  max-width: 640px;
}
.rename-form input {
  flex: 1;
  min-width: 0;
}
.rename-form label {
  display: block;
  margin-bottom: 8px;
}

.private-link-note {
  padding: 12px 14px;
  border-left: 3px solid var(--signal);
  background: #edf1fa;
  font-size: 14px;
  line-height: 1.65;
}

.part-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.part-choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--rule);
  font-size: 14px;
  cursor: pointer;
}
.part-choices label:has(:checked) {
  border-color: var(--signal);
  background: #edf1fa;
}
.part-choices input {
  width: auto;
  accent-color: var(--signal);
}
#manage-link {
  width: 100%;
  resize: vertical;
}
@media (max-width: 500px) {
  .part-choices {
    grid-template-columns: 1fr;
  }
}

.store-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding: 3px;
}
.store-choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--rule);
  cursor: pointer;
  font-size: 14px;
}
.store-choices label:has(:checked) {
  border-color: var(--signal);
  background: #edf1fa;
}
.store-choices input {
  width: auto;
  margin: 0;
  accent-color: var(--signal);
  flex-shrink: 0;
}
.store-choices small {
  display: block;
  margin-top: 3px;
  color: #52617a;
  font-size: 12px;
}
@media (max-width: 500px) {
  .store-choices {
    grid-template-columns: 1fr;
  }
}

.task-fetch-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 13px;
}
.task-fetch-result small {
  flex-basis: 100%;
  font-size: 13px;
}
.task-fetch-result time {
  font-size: 12px;
}
.task-next {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.taskFetching {
  color: var(--signal);
  border-color: var(--signal);
}
.taskFetching::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--signal);
  border-radius: 50%;
  margin-right: 6px;
}
.taskInterrupted {
  color: var(--urgent);
  border-color: var(--urgent);
}

.task-live-bar {
  margin-top: 20px;
  padding: 16px 18px;
  background: white;
  border: 1px solid #d7deed;
  border-radius: 10px;
}
.task-live-bar > div:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.task-live-bar strong {
  font-size: 15px;
}
#task-live-summary {
  margin-left: auto;
  font-size: 13px;
}
.live-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--quiet);
  flex-shrink: 0;
}
.live-indicator.connected {
  background: var(--signal);
  box-shadow: 0 0 0 4px #edf1fa;
}
.live-indicator.offline {
  background: var(--urgent);
}
.live-indicator.syncing {
  background: transparent;
  border: 2px solid var(--rule);
  border-top-color: var(--signal);
  animation: sync-spin 0.8s linear infinite;
}
@keyframes sync-spin {
  to {
    transform: rotate(360deg);
  }
}
.task-sync-clock {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
  font-size: 12px;
}
#task-sync-progress {
  display: block;
  width: 100%;
  height: 3px;
  border: 0;
  accent-color: var(--signal);
}
#task-sync-progress::-webkit-progress-bar {
  background: #edf1fa;
}
#task-sync-progress::-webkit-progress-value {
  background: var(--signal);
}
.task-live-bar p {
  font-size: 12px;
  color: #52617a;
  margin: 10px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .live-indicator.syncing {
    animation: none;
  }
}
@media (max-width: 600px) {
  #task-live-summary {
    margin-left: 0;
    flex-basis: 100%;
  }
}

.buying-guide {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.buying-guide section {
  margin: 2rem 0;
}
.buying-guide p {
  max-width: 78ch;
  line-height: 1.75;
}
.buying-guide h4 {
  margin-bottom: 0.4rem;
}
.buying-guide h4 + p {
  margin-top: 0;
}
.buying-guide .price-table td {
  white-space: normal;
  min-width: 10rem;
}
.buying-guide-link {
  margin: 2rem 0;
}

html:lang(ja) {
  line-break: strict;
  word-break: normal;
}
html:lang(ja) .release-grid > div {
  grid-template-columns: 1fr;
  gap: 6px;
}
html:lang(ja) .release-date {
  font-family: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 20px;
}

/* Keep the page ending compact and make narrow screens usable without zoom. */
main {
  padding-bottom: 16px;
  min-width: 0;
}
.site-footer {
  width: calc(100% - 64px);
  margin-top: 0;
  padding: 16px 0 max(16px, env(safe-area-inset-bottom));
}
.manage-page,
.prose-page {
  padding-bottom: 8px;
}
.buying-guide {
  margin-top: 28px;
  padding-top: 20px;
}
.buying-guide section {
  margin: 24px 0;
}
.buying-guide > .button {
  margin-bottom: 0;
  white-space: normal;
  text-align: center;
}
.buying-guide-link {
  margin: 12px 0 0;
}
@media (max-width: 700px) {
  main {
    padding: 20px 16px 12px;
  }
  .site-footer {
    width: auto;
    margin: 0 16px;
    padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  }
  .site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-top: 0;
  }
  .duo-media {
    margin: 22px 0;
  }
  .source-links {
    margin-top: 20px;
    padding-top: 12px;
    gap: 8px 16px;
  }
  .buying-guide {
    margin-top: 22px;
    padding-top: 16px;
  }
  .buying-guide section {
    margin: 20px 0;
  }
  .buying-guide p {
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .buying-guide .price-table td {
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .buying-guide .price-table th {
    overflow-wrap: anywhere;
  }
  .buying-guide > .button {
    width: 100%;
  }
  .button {
    min-height: 44px;
    white-space: normal;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    max-width: 100%;
  }
  dialog {
    max-height: calc(100dvh - 24px);
    padding: 16px;
    overflow-y: auto;
  }
  .task-title,
  .task-panel-heading {
    flex-wrap: wrap;
  }
  .task-title h3,
  .task-fetch-result,
  .manage-details dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 12px;
  }
  .language-nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
  }
  .task-totals > div {
    padding: 10px 8px;
    gap: 6px;
  }
  .task-totals span {
    font-size: 12px;
  }
  .task-totals strong {
    font-size: 22px;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.site-footer .footer-links a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.private-credential {
  margin: 24px 0;
  padding: 16px;
  border-left: 3px solid var(--signal);
  background: rgba(27, 79, 232, 0.04);
}
.private-credential label { font-weight: 600; }
.private-credential textarea { width: 100%; margin: 12px 0; resize: vertical; font-size: 16px; }
.private-credential p { overflow-wrap: anywhere; }
.private-credential [role="status"]:empty { display: none; }

.browser-alert-controls { margin: 16px 0; padding: 16px 0; border-top: 1px solid var(--rule); }
.browser-alert-controls p { margin: 8px 0; }
.browser-alert-controls [role="status"]:empty { display: none; }
