.design-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px 10px;
  margin: 0 0 18px;
  min-width: 0;
}
.design-radio-group legend {
  font-size: 12px;
  padding: 0 5px;
  color: var(--muted);
}
.design-radio-group label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 96px;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--surface);
  font-size: 13px;
}
.design-radio-group label:has(input:checked) {
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--brand);
}
.design-radio-group input {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  margin: 0;
}
.reaction-style-control {
  margin-top: 8px;
}
.notification-page,
.brand-page {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 8px 18px 24px;
  scrollbar-width: thin;
  background: var(--canvas);
}
.botanical-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.notification-glyph {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.brand-mini-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 8px 0 20px;
}
.brand-mini-card > .botanical-mark {
  width: 48px;
  height: 48px;
}
.brand-mini-card > div {
  display: flex;
  flex: 1;
  min-width: 140px;
  flex-direction: column;
  gap: 5px;
}
.brand-mini-card strong {
  font-size: 13px;
}
.brand-mini-card small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.brand-mini-card .text-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-left: auto;
  font-size: 12px;
  color: var(--brand);
}
.brand-mini-card .icon {
  width: 18px;
}
.notification-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.notification-filters button {
  min-height: 44px;
  min-width: 48px;
  padding: 6px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  font-size: 12px;
}
.notification-filters button[aria-pressed='true'] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.scenario-select-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.scenario-select-label select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}
.notification-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin: 0 0 16px;
}
.notification-privacy .switch {
  flex-shrink: 0;
}
.notification-advanced {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
}
.notification-advanced > summary {
  font-size: 12px;
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
  color: var(--muted);
}
.notification-advanced-controls {
  padding-top: 6px;
}
.notification-demo-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px;
}
.notification-state {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 18px;
  border-radius: 18px;
  text-align: center;
  margin: 0 0 20px;
}
.notification-state h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.notification-state p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 16px;
}
.notification-state .primary-btn {
  margin: auto;
}
.notification-cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.notification-case {
  min-width: 0;
}
.notification-case > h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 9px;
}
.os-preview {
  --os-surface: #fff;
  --os-ink: #172b23;
  --os-muted: #52645a;
  --os-background: #e9efea;
  --os-line: #d8e2da;
  background: var(--os-background);
  color: var(--os-ink);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--os-line);
}
.os-preview.os-dark {
  --os-surface: #243b30;
  --os-ink: #f0f8f3;
  --os-muted: #c3d9cc;
  --os-background: #13251c;
  --os-line: #3e5749;
}
.os-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  padding: 0 6px 9px;
  font:
    11px Inter,
    var(--font),
    sans-serif;
}
.os-status > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.os-status .notification-glyph,
.os-status .icon {
  width: 16px;
  height: 16px;
}
.os-battery {
  width: 17px;
  height: 9px;
  display: block;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--os-background);
  background: currentColor;
}
.os-notification {
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: 17px;
  padding: 8px 12px 12px;
}
.os-notification-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--os-muted);
  min-height: 36px;
}
.os-notification-header > .notification-glyph {
  width: 19px;
  height: 19px;
}
.os-notification-header > strong {
  font-weight: 600;
}
.os-notification-header > span {
  margin-left: auto;
}
.os-notification-header > .icon {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}
.notification-expand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.notification-expand .icon {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}
.notification-expand[aria-expanded='true'] .icon {
  transform: rotate(-90deg);
}
.notification-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0 10px;
}
.notification-copy > div {
  min-width: 0;
  flex: 1;
}
.notification-copy > div > strong {
  font-size: 15px;
  line-height: 1.7;
}
.notification-copy p {
  font-size: 13px;
  line-height: 1.8;
  margin: 4px 0;
  color: var(--os-ink);
  overflow-wrap: anywhere;
}
.notification-copy small {
  font-size: 10px;
  line-height: 1.7;
  color: var(--os-muted);
}
.notification-copy > .botanical-mark {
  color: var(--os-muted);
  width: 36px;
  height: 36px;
}
.grouped-lines {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.9;
  color: var(--os-muted);
  margin-top: 8px;
}
.os-notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid var(--os-line);
  padding-top: 10px;
}
.os-notification-actions button {
  flex: 1;
  min-height: 44px;
  min-width: 88px;
  border-radius: 11px;
  padding: 7px 8px;
  font-size: 12px;
  background: #e7f5ec;
  color: #14563f;
}
.os-notification-actions .notification-decline {
  background: #fff0ef;
  color: #a82e2e;
}
.os-notification-actions .notification-answer {
  background: #0b6b50;
  color: #fff;
}
.notification-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-height: 60px;
  line-height: 1.8;
}
.notification-result .icon {
  width: 20px;
  flex-shrink: 0;
}
.lockscreen-clock {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 36px;
  line-height: 1.6;
  padding: 14px 0 22px;
}
.lockscreen-clock small {
  font-size: 11px;
  color: var(--os-muted);
}
.notification-symbol-guide,
.launcher-guide {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 24px;
}
.notification-symbol-guide h3,
.launcher-guide h3 {
  font-size: 16px;
  margin: 0 0 7px;
}
.notification-symbol-guide p,
.launcher-guide p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 15px;
}
.notification-symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 10px;
}
.notification-symbol-grid > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 7px;
  color: var(--brand);
}
.notification-symbol-grid span {
  font-size: 11px;
  text-align: center;
}
.launcher-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin: 18px 0;
}
.launcher-examples > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.launcher-examples small {
  font-size: 11px;
  color: var(--muted);
}
.launcher-mask {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: #e9f5ef;
  position: relative;
  border: 1px solid #cde5d6;
}
.launcher-mask .botanical-mark {
  width: 62px;
  height: 62px;
}
.launcher-mask.circle {
  border-radius: 50%;
}
.launcher-mask.squircle {
  border-radius: 22%;
}
.launcher-mask.has-badge i {
  position: absolute;
  right: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c63636;
  border: 2px solid #fff;
}
#notification-reply-form textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}
.notification-reply-status {
  font-size: 13px;
  line-height: 1.8;
  color: var(--danger);
  margin: 0 0 15px;
}
.brand-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 36px 18px;
  margin: 8px 0 20px;
}
.brand-hero > .botanical-mark {
  width: 128px;
  height: 128px;
}
.brand-hero h2 {
  font-size: 36px;
  line-height: 1.5;
  margin: 16px 0 0;
  color: #0b6b50;
}
.brand-hero > span {
  font:
    15px Inter,
    sans-serif;
  letter-spacing: 3px;
  color: #134c3c;
}
.brand-hero p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 20px 0 0;
}
.brand-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.brand-treatment-grid article {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 20px 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  min-width: 0;
}
.brand-treatment-grid .botanical-mark,
.brand-treatment-grid .notification-glyph {
  width: 64px;
  height: 64px;
}
.brand-treatment-grid h3 {
  font-size: 12px;
  margin: 0;
  line-height: 1.8;
}
.brand-treatment-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 11px;
  color: inherit;
  text-underline-offset: 4px;
}
.brand-treatment-grid .brand-inverse,
.brand-treatment-grid .brand-status-treatment {
  background: #134c3c;
  color: #fff;
  border-color: #134c3c;
}
.brand-legibility {
  margin-top: 22px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.brand-legibility h3 {
  font-size: 14px;
  margin: 0 0 20px;
}
.brand-legibility > div {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 20px;
}
.brand-legibility span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}
.brand-legibility i {
  display: block;
}
.brand-legibility .botanical-mark {
  width: 100%;
  height: 100%;
}
.brand-legibility small {
  font:
    11px Inter,
    sans-serif;
  color: var(--muted);
}
.brand-colors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.brand-colors > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.brand-colors i {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.brand-colors small {
  font:
    10px Inter,
    sans-serif;
  color: var(--muted);
}
.brand-review-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 18px;
}
.brand-page > .primary-btn {
  margin: auto;
}
.web-frame .notification-page,
.web-frame .brand-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 32px 35px;
}
.web-frame .notification-cases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.web-frame .notification-case:only-child {
  grid-column: 1/-1;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.web-frame .notification-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  align-items: center;
}
.web-frame .notification-filters,
.web-frame .notification-privacy {
  grid-column: 1/-1;
}
.web-frame .notification-advanced {
  margin-top: 22px;
}
.web-frame .notification-controls .design-radio-group {
  margin-bottom: 16px;
}
.web-frame .brand-treatment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.web-frame .brand-colors {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
