/* Apple Minimal: public information pages share the existing warm glass material.
   Content stays readable on translucent fills; only interactive controls use blur. */

html[data-theme-style="apple_minimal"] body :is(.inner-section.single-banner, .news-page-header) {
  width: calc(100% - 32px);
  max-width: calc(var(--container-max, 1280px) - 32px);
  margin: 24px auto 0 !important;
  padding: 24px 10px !important;
  border: 1px solid var(--lg-rim) !important;
  border-radius: 26px !important;
  background: var(--ap-panel) !important;
  background-image: none !important;
  box-shadow: var(--lg-spec), var(--lg-shadow) !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body :is(.inner-section.single-banner, .news-page-header)::before,
html[data-theme-style="apple_minimal"] body :is(.inner-section.single-banner, .news-page-header)::after {
  content: none !important;
  display: none !important;
}
html[data-theme-style="apple_minimal"] body :is(.inner-section.single-banner, .news-page-header) > .container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
html[data-theme-style="apple_minimal"] body .inner-section.single-banner :is(h1, h2),
html[data-theme-style="apple_minimal"] body .news-page-header .news-page-title {
  color: var(--ap-ink) !important;
  line-height: 1.3 !important;
}
html[data-theme-style="apple_minimal"] body .inner-section.single-banner .breadcrumb {
  width: fit-content;
  background: var(--ap-well) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
}
html[data-theme-style="apple_minimal"] body .inner-section.single-banner :is(.breadcrumb-item, .breadcrumb-item.active),
html[data-theme-style="apple_minimal"] body .news-page-header :is(.news-page-desc, .news-page-meta, .news-page-meta-item, .news-breadcrumb .separator) {
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .inner-section.single-banner .breadcrumb-item a,
html[data-theme-style="apple_minimal"] body .news-page-header .news-breadcrumb a {
  color: var(--ap-blue) !important;
}

/* eSIM guidance, the shared FAQ accordion, and static contact/CMS content. */
html[data-theme-style="apple_minimal"] body .esim-intro :is(.esim-hero, .esim-path, .esim-check, .esim-faq-item),
html[data-theme-style="apple_minimal"] body .lk-faq .esim-faq-item,
html[data-theme-style="apple_minimal"] body .contact-part :is(.contact-channel, .contact-card, .account-card, .page-empty-state),
html[data-theme-style="apple_minimal"] body :is(.esim-iccid-help, .esim-unavailable),
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-card, .iccid-help, .iccid-next),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-card, .news-hero-main, .news-hero-side-item, .news-widget, .news-empty, .article-container) {
  border: 1px solid var(--lg-rim) !important;
  border-radius: 22px !important;
  background: var(--ap-panel) !important;
  background-image: none !important;
  box-shadow: var(--lg-spec), var(--lg-shadow) !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro .esim-hero,
html[data-theme-style="apple_minimal"] body .contact-part .account-card {
  border-radius: 26px !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro :is(.esim-step, .esim-check-tip, .esim-code),
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-help-item, .iccid-result, .iccid-fact),
html[data-theme-style="apple_minimal"] body .news-page :is(.article-excerpt, .article-content blockquote, .article-nav-item, .news-filters) {
  border: 1px solid var(--ap-line) !important;
  border-radius: 16px !important;
  background: var(--ap-well) !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5) !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro :is(.esim-path-icon, .esim-check-icon),
html[data-theme-style="apple_minimal"] body .contact-part :is(.contact-channel-icon, .contact-card > i, .page-empty-icon),
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-card-icon, .iccid-help-icon),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-card-avatar, .news-empty-icon, .news-popular-number) {
  border: 1px solid rgba(255, 255, 255, .75) !important;
  border-radius: 14px !important;
  background: var(--ap-control) !important;
  background-image: none !important;
  box-shadow: var(--lg-spec), var(--lg-shadow-control) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro .esim-hero-eyebrow {
  background: rgba(0, 113, 227, .08) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro .esim-step-num {
  border-radius: 50% !important;
  background: var(--ap-blue) !important;
  color: #fff !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) .esim-faq-item > summary,
html[data-theme-style="apple_minimal"] body .esim-intro .esim-check-summary {
  min-height: 52px;
  background: transparent !important;
  border-color: var(--ap-line) !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) .esim-faq-item > summary:hover,
html[data-theme-style="apple_minimal"] body .esim-intro .esim-check-summary:hover {
  background: rgba(255, 255, 255, .3) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) .esim-faq-item[open] {
  border-color: rgba(0, 113, 227, .25) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) :is(.esim-hero-title, .esim-path-title, .esim-faq-title, .esim-check-label strong, .esim-check-col h4, .esim-step-body strong),
html[data-theme-style="apple_minimal"] body .contact-part :is(.contact-channels-title, .contact-channel-title, .contact-card h4, .contact-card h5, .page-empty-title),
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-card-title, .iccid-help-title, .iccid-next-title, .iccid-help-item h3, .iccid-result-number, .iccid-result-product, .iccid-fact dd),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-section-title, .news-card-title, .news-widget-title, .news-popular-title, .article-nav-title) {
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) :is(.esim-hero-desc, .esim-hero-points li, .esim-path-desc, .esim-faq-answer, .esim-faq-answer p, .esim-check-body, .esim-check-tip p, .esim-check-col p, .esim-check-foot, .esim-step-body span),
html[data-theme-style="apple_minimal"] body .contact-part :is(.contact-channels-desc, .contact-channel-desc, .contact-card p, .page-empty-desc),
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-card-sub, .iccid-help-lead, .iccid-help-item p, .iccid-hint, .iccid-next-copy p, .iccid-fact dt),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-card-excerpt, .news-card-meta, .news-card-meta span, .news-card-author-name, .news-popular-meta, .news-popular-meta span, .article-nav-label, .article-excerpt p) {
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) :is(.esim-faq-answer a, .esim-check-foot a, .esim-check-col h4 i, .esim-faq-item > summary i),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-section-link, .article-content a, .news-widget-title i),
html[data-theme-style="apple_minimal"] body .news-page-header .news-page-title i {
  color: var(--ap-blue) !important;
}

/* Buttons retain their semantic role, but share the rounded control material. */
html[data-theme-style="apple_minimal"] body .esim-intro .esim-path-link,
html[data-theme-style="apple_minimal"] body .contact-part .contact-channel-cta,
html[data-theme-style="apple_minimal"] body .iccid-section :is(.iccid-submit, .iccid-btn--primary),
html[data-theme-style="apple_minimal"] body .news-page :is(.news-empty-btn, .news-search-btn) {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 999px !important;
  background: var(--ap-blue) !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 10px rgba(0, 113, 227, .18) !important;
  color: #fff !important;
}
html[data-theme-style="apple_minimal"] body .esim-intro .esim-path-link {
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  padding: 10px 18px;
  line-height: 1.4;
}
html[data-theme-style="apple_minimal"] body .contact-part .page-empty-actions .btn,
html[data-theme-style="apple_minimal"] body .esim-unavailable .page-empty-actions .btn {
  min-height: 44px;
  border-radius: 999px !important;
}
html[data-theme-style="apple_minimal"] body .iccid-section .iccid-btn--ghost,
html[data-theme-style="apple_minimal"] body .news-page :is(.news-clear-btn, .article-tag, .article-share-btn),
html[data-theme-style="apple_minimal"] body .contact-part .page-empty-actions .btn-outline-primary {
  min-height: 44px;
  border: 1px solid var(--lg-rim) !important;
  border-radius: 999px !important;
  background: var(--ap-control) !important;
  background-image: none !important;
  box-shadow: var(--lg-spec), var(--lg-shadow-control) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-category-link, .news-filter-tag, .news-card-category, .news-hero-main-category, .news-hero-side-category) {
  border-radius: 999px !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-filter-tag, .news-category-link.active, .news-category-link.active:hover) {
  background: rgba(0, 113, 227, .1) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-category-count, .news-category-link.active .news-category-count) {
  background: var(--ap-control) !important;
  border-radius: 999px !important;
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-card-category, .news-hero-main-category, .news-hero-side-category) {
  border-color: var(--lg-rim) !important;
  background: rgba(255, 255, 255, .84) !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-hero-main-content, .news-hero-side-content, .news-card-body, .news-widget-header) {
  background: transparent !important;
  background-image: none !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-hero-main-content, .news-hero-side-content) {
  position: static !important;
  inset: auto !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .news-page .article-thumbnail {
  border-radius: 22px 22px 0 0 !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(.news-card-footer, .news-widget-header, .news-popular-item, .article-footer),
html[data-theme-style="apple_minimal"] body .esim-intro :is(.esim-check-body, .esim-check-foot) {
  border-color: var(--ap-line) !important;
}

/* Compound input frames: the inner input must not paint a second solid box. */
html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field,
html[data-theme-style="apple_minimal"] body .news-page .news-search-form {
  min-height: 52px;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: var(--ap-well) !important;
  box-shadow: inset 0 1px 2px rgba(28, 24, 20, .03) !important;
}
html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field .iccid-input,
html[data-theme-style="apple_minimal"] body .news-page .news-search-form .news-search-input {
  min-width: 0;
  min-height: 44px;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .news-page .news-search-form {
  gap: 4px;
  padding: 4px;
  overflow: visible;
}
html[data-theme-style="apple_minimal"] body .news-page .news-search-form .news-search-input {
  width: 0;
  padding-inline: 12px !important;
}
html[data-theme-style="apple_minimal"] body .news-page .news-search-form .news-search-btn {
  flex: 0 0 44px;
  width: 44px;
  padding: 0 !important;
}
html[data-theme-style="apple_minimal"] body .news-page :is(#blogSortForm select, .news-widget .form-select) {
  min-height: 44px;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background-color: var(--ap-well) !important;
  color: var(--ap-ink) !important;
  box-shadow: none !important;
}
html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field:focus-within,
html[data-theme-style="apple_minimal"] body .news-page .news-search-form:focus-within {
  border-color: rgba(0, 113, 227, .5) !important;
  box-shadow: var(--ap-ring) !important;
}
html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field--error {
  border-color: var(--lk-danger-text, #d91f2c) !important;
}
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .lk-faq) summary:focus-visible,
html[data-theme-style="apple_minimal"] body :is(.esim-intro, .contact-part, .iccid-section, .news-page) :is(a, button, select):focus-visible {
  outline: 2px solid var(--ap-blue) !important;
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  html[data-theme-style="apple_minimal"] body :is(.inner-section.single-banner, .news-page-header) {
    margin-top: 16px !important;
    padding: 20px 2px !important;
    border-radius: 22px !important;
  }
}
@media (max-width: 575.98px) {
  /* ICCID intentionally separates the input and action into two full-width rows. */
  html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field,
  html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field:focus-within {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field .iccid-input {
    min-height: 48px;
    padding: 0 14px !important;
    border: 1px solid transparent !important;
    background: var(--ap-well) !important;
    font-size: 16px !important;
  }
  html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field .iccid-input:focus {
    border-color: rgba(0, 113, 227, .5) !important;
    box-shadow: var(--ap-ring) !important;
  }
  html[data-theme-style="apple_minimal"] body .iccid-section .iccid-field--error .iccid-input {
    border-color: var(--lk-danger-text, #d91f2c) !important;
  }
}

/* Public API documentation uses its own markup, separate from API key management. */
html[data-theme-style="apple_minimal"] body .api-page-header {
  width: calc(100% - 32px);
  max-width: calc(var(--container-max, 1280px) - 32px);
  margin: 24px auto 0 !important;
  padding: 24px 10px !important;
  border: 1px solid var(--lg-rim) !important;
  border-radius: 26px !important;
  background: var(--ap-panel) !important;
  background-image: none !important;
  box-shadow: var(--lg-spec), var(--lg-shadow) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-header > .container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
html[data-theme-style="apple_minimal"] body .api-page-header .api-page-title {
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-header .api-page-desc {
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-header .api-page-title i,
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-info-label i, .api-subsection-title i) {
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-header .api-version-badge {
  border-radius: 999px !important;
  background: var(--ap-well) !important;
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-sidebar, .api-section-card) {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--lg-rim) !important;
  border-radius: 22px !important;
  background: var(--ap-panel) !important;
  box-shadow: var(--lg-spec), var(--lg-shadow) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-section-header {
  background: transparent !important;
  border-color: var(--ap-line) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-info-box, .api-endpoint-box, .api-code-tabs) {
  min-width: 0;
  border-color: var(--ap-line) !important;
  border-radius: 16px !important;
  background: var(--ap-well) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-section-info h2 {
  color: var(--ap-ink) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-section-info p {
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-nav-link, .api-code-tab, .api-code-copy, .api-endpoint-copy) {
  min-height: 44px;
  border-radius: 999px !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-nav-link {
  color: var(--ap-muted) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-nav-link.active, .api-code-tab.active) {
  border-color: rgba(0, 113, 227, .18) !important;
  background: rgba(0, 113, 227, .1) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-endpoint-copy,
html[data-theme-style="apple_minimal"] body .api-page-container .api-info-value .btn-outline-primary {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--lg-rim) !important;
  border-radius: 999px !important;
  background: var(--ap-control) !important;
  box-shadow: var(--lg-spec), var(--lg-shadow-control) !important;
  color: var(--ap-blue) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-info-value {
  min-width: 0;
  max-width: 100%;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-info-value code {
  overflow-wrap: anywhere;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-info-value code, .param-name, .param-type, .api-response-list code) {
  border-radius: 8px !important;
  background: var(--ap-well) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-params-table th {
  background: var(--ap-well) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container .api-params-table td {
  border-color: var(--ap-line) !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-code-block, .api-alert) {
  border-radius: 18px !important;
}
html[data-theme-style="apple_minimal"] body .api-page-container :is(.api-nav-link, .api-code-tab, .api-code-copy, .api-endpoint-copy):focus-visible {
  outline: 2px solid var(--ap-blue) !important;
  outline-offset: 3px;
}
@media (max-width: 991.98px) {
  html[data-theme-style="apple_minimal"] body .api-page-container .api-sidebar {
    width: 100%;
    max-width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html[data-theme-style="apple_minimal"] body .api-page-container .api-sidebar .api-nav-link:not(.active) {
    border-color: var(--lg-rim) !important;
    background: var(--ap-control) !important;
    box-shadow: var(--lg-spec), var(--lg-shadow-control) !important;
  }
}
@media (max-width: 767.98px) {
  html[data-theme-style="apple_minimal"] body .api-page-header {
    margin-top: 16px !important;
    padding: 20px 2px !important;
    border-radius: 22px !important;
  }
}
@media (max-width: 575.98px) {
  /* Keep the horizontally scrolling nav inside the page gutter, rather than 100vw. */
  html[data-theme-style="apple_minimal"] body .api-page-container .api-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    scroll-padding-inline: 0;
  }
}
