@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* Primitive tier: raw values only. Components must not consume these. */
  --color-white: #ffffff;
  --color-black: #0d0f12;
  --color-neutral-25: #f9fafb;
  --color-neutral-50: #f3f4f6;
  --color-neutral-100: #eef0f3;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-900: #111827;
  --color-blue-400: #60a5fa;
  --color-blue-500: #4d8dff;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-green-400: #34d399;
  --color-green-700: #047857;
  --color-amber-400: #fbbf24;
  --color-amber-700: #b45309;
  --color-red-400: #f87171;
  --color-red-700: #b91c1c;

  /* Semantic tier: purpose-based tokens used by layouts and components. */
  --bg: var(--color-neutral-25);
  --bg2: var(--color-neutral-50);
  --surface: var(--color-white);
  --surface-2: var(--color-neutral-25);
  --surface-3: var(--color-neutral-50);
  --card: var(--color-white);
  --panel: var(--color-white);
  --panel2: var(--color-neutral-25);
  --overlay: rgba(17, 24, 39, 0.45);

  --text: var(--color-neutral-900);
  --text2: var(--color-neutral-600);
  --text3: var(--color-neutral-500);
  --text-inverse: var(--color-white);
  --text-on-brand: var(--color-white);
  --text-on-danger: var(--color-white);

  --border: var(--color-neutral-200);
  --border-l: #f1f2f4;
  --border-s: var(--color-neutral-300);

  --brand-light: var(--color-blue-600);
  --brand-2-light: var(--color-blue-700);
  --brand-dark: var(--color-blue-500);
  --brand-2-dark: #2e6fe6;

  --brand: var(--brand-light);
  --brand-2: var(--brand-2-light);
  --brand-soft: color-mix(in srgb, var(--brand) 12%, transparent);
  --brand-glow: transparent;
  --accent: var(--brand);
  --accent-2: var(--brand-2);
  --gradient: var(--brand);

  --ok: var(--color-green-700);
  --green: var(--ok);
  --warn: var(--color-amber-700);
  --amber: var(--warn);
  --err: var(--color-red-700);
  --red: var(--err);
  --danger: var(--err);
  --info: var(--color-blue-700);
  --blue: var(--info);

  --ok-soft: color-mix(in srgb, var(--ok) 10%, transparent);
  --warn-soft: color-mix(in srgb, var(--warn) 10%, transparent);
  --err-soft: color-mix(in srgb, var(--err) 10%, transparent);
  --info-soft: color-mix(in srgb, var(--info) 10%, transparent);

  --hover: rgba(17, 24, 39, 0.04);
  --active: color-mix(in srgb, var(--brand) 9%, transparent);
  --focus: var(--brand);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow: 0 1px 3px rgba(17, 24, 39, 0.08), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-xl: 0 12px 32px rgba(17, 24, 39, 0.12);
  --shadow-float: 0 24px 64px rgba(17, 24, 39, 0.14);

  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-large-title: clamp(24px, 1.1vw + 20px, 28px);
  --fs-title1: clamp(20px, 0.7vw + 18px, 22px);
  --fs-title2: 18px;
  --fs-title3: 16px;
  --fs-headline: 15px;
  --fs-body: 14px;
  --fs-callout: 14px;
  --fs-subhead: 13px;
  --fs-footnote: 12px;
  --fs-caption: 12px;
  --fs-caption2: 11px;

  --ls-large-title: -0.018em;
  --ls-title1: -0.016em;
  --ls-title2: -0.013em;
  --ls-title3: -0.011em;
  --ls-headline: -0.008em;
  --ls-body: -0.002em;
  --ls-subhead: 0;
  --ls-footnote: 0;
  --ls-caption: 0.002em;

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Semantic spacing and layout tier. */
  --space-control-gap: var(--sp-2);
  --space-control-inline: var(--sp-3);
  --space-control-block: var(--sp-2);
  --space-card-padding: var(--sp-4);
  --space-section-gap: var(--sp-8);
  --space-layout-card-gap: clamp(var(--sp-4), 2vw, var(--sp-6));
  --space-layout-section: clamp(var(--sp-12), 7vw, 96px);
  --space-page-inline: clamp(var(--sp-4), 4vw, 28px);
  --layout-content-max: 1160px;
  --layout-wide-max: 1320px;
  --layout-reading-max: 720px;
  --layout-gutter: clamp(var(--sp-4), 2.5vw, var(--sp-8));
  --icon-size-sm: 16px;
  --icon-size: 20px;
  --icon-size-lg: 24px;
  --icon-stroke: 1.8;
  --hero-glow: color-mix(in srgb, var(--brand) 14%, transparent);

  /* Component tier: the stable contract shared by every app page. */
  --control-min-height: 36px;
  --control-touch-height: 44px;
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --focus-ring-color: var(--focus);
  --button-bg: var(--surface);
  --button-bg-hover: var(--surface-2);
  --button-text: var(--text);
  --button-border: var(--border-s);
  --button-primary-bg: var(--brand);
  --button-primary-bg-hover: var(--brand-2);
  --button-primary-text: var(--text-on-brand);
  --input-bg: var(--surface);
  --input-text: var(--text);
  --input-border: var(--border-s);
  --input-placeholder: var(--text3);
  --card-bg: var(--card);
  --card-border: var(--border);
  --card-radius: var(--radius-lg);
  --card-shadow: var(--shadow-sm);

  --blur-ultra-thin: none;
  --blur-thin: none;
  --blur-regular: none;
  --blur-thick: none;

  --mat-ultra-thin: var(--surface);
  --mat-thin: var(--surface);
  --mat-regular: var(--surface);
  --mat-thick: var(--bg2);

  --skel: var(--color-neutral-100);
  --skel-sheen: rgba(255, 255, 255, 0.65);
  --skel-radius: var(--radius-sm);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.4, 0, 0.2, 1);
  --spring-overshoot: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.32, 0.72, 0, 1);

  --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emph: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 0.12s;
  --dur: 0.18s;
  --dur-slow: 0.26s;
  --dur-enter: 0.48s;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --t1: var(--text);
  --t2: var(--text2);
  --t3: var(--text3);
  --line: var(--border);
  --faint: var(--border-l);
  --soft: var(--surface-2);
  --bad: var(--err);
  --accent-soft: var(--brand-soft);
  --brand3: var(--brand-2);
  --brand-3: var(--brand-2);
  --bg-2: var(--bg2);
  --tb-bg: var(--surface);
  --sb-bg: var(--surface);
  --lpanel: var(--panel);
  --rpanel: var(--panel2);
  --button: var(--surface-2);
  --grid: rgba(17, 24, 39, 0.04);
  --pink: #be185d;
  --violet: #5b21b6;
  --cyan: #0e7490;
  --lime: #4d7c0f;
  --r: var(--radius-lg);
  --rxs: var(--radius-xs);
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0d0f12;
  --bg2: #12151a;
  --surface: #16191f;
  --surface-2: #1c2027;
  --surface-3: #23282f;
  --card: #16191f;
  --panel: #12151a;
  --panel2: #1c2027;
  --overlay: rgba(0, 0, 0, 0.6);

  --text: #f3f4f6;
  --text2: #9ca3af;
  --text3: #767f8c;
  --text-inverse: #0d0f12;
  --text-on-brand: var(--color-black);
  --text-on-danger: var(--color-black);

  --border: rgba(255, 255, 255, 0.09);
  --border-l: rgba(255, 255, 255, 0.05);
  --border-s: rgba(255, 255, 255, 0.17);

  --brand: var(--brand-dark);
  --brand-2: var(--brand-2-dark);
  --brand-soft: color-mix(in srgb, var(--brand) 18%, transparent);

  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --info: #60a5fa;

  --hover: rgba(255, 255, 255, 0.05);
  --active: color-mix(in srgb, var(--brand) 16%, transparent);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-float: 0 28px 72px rgba(0, 0, 0, 0.5);

  --mat-ultra-thin: var(--surface);
  --mat-thin: var(--surface);
  --mat-regular: var(--surface);
  --mat-thick: var(--bg2);

  --skel: #1c2027;
  --skel-sheen: rgba(255, 255, 255, 0.07);

  --tb-bg: var(--surface);
  --sb-bg: var(--surface);
  --grid: rgba(255, 255, 255, 0.04);
  --pink: #f9a8d4;
  --violet: #c4b5fd;
  --cyan: #67e8f9;
  --lime: #bef264;
}

[data-accent="blue"] {
  --brand-light: var(--color-blue-600);
  --brand-2-light: var(--color-blue-700);
  --brand-dark: var(--color-blue-500);
  --brand-2-dark: #2e6fe6;
}

[data-accent="violet"] {
  --brand-light: #4f46e5;
  --brand-2-light: #4338ca;
  --brand-dark: #8b93ff;
  --brand-2-dark: #6d75f0;
}

[data-accent="teal"] {
  --brand-light: #0f766e;
  --brand-2-light: #0b5f59;
  --brand-dark: #35b3a6;
  --brand-2-dark: #2a9c90;
}

[data-accent="green"] {
  --brand-light: #15803d;
  --brand-2-light: #166534;
  --brand-dark: #4cc47a;
  --brand-2-dark: #2fa860;
}

[data-accent="amber"] {
  --brand-light: #b45309;
  --brand-2-light: #92400e;
  --brand-dark: #f0b429;
  --brand-2-dark: #d1930f;
}

[data-accent="rose"] {
  --brand-light: #be123c;
  --brand-2-light: #9f1239;
  --brand-dark: #f77c92;
  --brand-2-dark: #e2596f;
}

@media (prefers-contrast: more) {
  :root {
    --border: #9ca3af;
    --border-l: #c3c8d0;
    --border-s: #6b7280;
    --text2: #374151;
    --text3: #4b5563;
  }
  [data-theme="dark"] {
    --border: rgba(255, 255, 255, 0.28);
    --border-l: rgba(255, 255, 255, 0.18);
    --border-s: rgba(255, 255, 255, 0.45);
    --text2: #d1d5db;
    --text3: #9ca3af;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--brand);
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[role="button"] {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

a,
button,
input,
select,
textarea,
label,
summary {
  touch-action: manipulation;
}

input,
textarea,
select {
  font-family: inherit;

  font-size: 16px;
  color: inherit;
}

code,
kbd,
pre,
samp {
  font-family: var(--mono);
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

:where(button, [role="button"], a, input, select, textarea):where(:disabled, [aria-disabled="true"]) {
  cursor: not-allowed;
}

:where(h1, h2, h3, [id]) {
  scroll-margin-block-start: var(--space-section-gap);
}

::selection {
  background: var(--brand-soft);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-s);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text3);
  background-clip: content-box;
}

.u-wrap {
  width: 100%;
  max-width: var(--layout-content-max);
  margin-inline: auto;
  padding-inline: var(--space-page-inline);
}

.u-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-control-gap);
  min-height: var(--control-min-height);
  padding: var(--space-control-block) var(--space-control-inline);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--button-text);
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.u-btn:hover {
  background: var(--button-bg-hover);
  border-color: var(--text3);
  color: var(--text);
}
.u-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.u-btn[aria-busy="true"] {
  cursor: progress;
}
.u-btn--primary {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-color: var(--button-primary-bg);
  box-shadow: none;
}
.u-btn--primary:hover {
  color: var(--button-primary-text);
  background: var(--button-primary-bg-hover);
  border-color: var(--button-primary-bg-hover);
}
.u-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text2);
}
.u-btn--ghost:hover {
  background: var(--hover);
  border-color: transparent;
  color: var(--text);
}
.u-btn--danger {
  color: var(--text-on-danger);
  background: var(--err);
  border-color: var(--err);
}
.u-btn--danger:hover {
  color: var(--text-on-danger);
  background: var(--err);
  border-color: var(--err);
  filter: brightness(0.94);
}
.u-btn--sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-xs);
}
.u-btn--lg {
  padding: 11px 20px;
  font-size: 14px;
}

.u-input {
  width: 100%;
  min-height: var(--control-min-height);
  padding: var(--space-control-block) var(--space-control-inline);
  font-size: max(16px, var(--fs-body));
  color: var(--input-text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.u-input::placeholder {
  color: var(--input-placeholder);
}
.u-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.u-input[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px var(--err-soft);
}

.u-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}

.u-field + .u-field {
  margin-top: var(--sp-4);
}

.u-hint,
.u-error {
  display: block;
  margin-top: var(--sp-1);
  font-size: var(--fs-footnote);
  line-height: var(--lh-normal);
}
.u-hint { color: var(--text3); }
.u-error { color: var(--err); }

.u-icon-btn {
  display: inline-grid;
  place-items: center;
  inline-size: var(--control-min-height);
  min-inline-size: var(--control-min-height);
  block-size: var(--control-min-height);
  border: 1px solid var(--button-border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  background: var(--button-bg);
}
.u-icon-btn:hover {
  color: var(--text);
  background: var(--button-bg-hover);
}

.u-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  white-space: nowrap;
}
.u-badge--brand {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 26%, transparent);
}
.u-badge--ok {
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  border-color: color-mix(in srgb, var(--ok) 26%, transparent);
}
.u-badge--warn {
  color: var(--warn);
  background: color-mix(in srgb, var(--warn) 10%, transparent);
  border-color: color-mix(in srgb, var(--warn) 26%, transparent);
}
.u-badge--err {
  color: var(--err);
  background: color-mix(in srgb, var(--err) 10%, transparent);
  border-color: color-mix(in srgb, var(--err) 26%, transparent);
}

.u-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.u-table th {
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text3);
  text-align: left;
  white-space: nowrap;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.u-table td {
  padding: 11px 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-l);
  vertical-align: middle;
}
.u-table tbody tr:last-child td {
  border-bottom: 0;
}
.u-table tbody tr:hover td {
  background: var(--hover);
}
.u-table--num td:last-child,
.u-table--num th:last-child {
  text-align: right;
}

.u-tabs {
  display: flex;
  gap: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.u-tab {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.u-tab:hover {
  color: var(--text);
}
.u-tab.is-active,
.u-tab[aria-selected="true"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.u-muted {
  color: var(--text2);
}
.u-mono {
  font-family: var(--mono);
}

.u-t-large-title { font-size: var(--fs-large-title); letter-spacing: var(--ls-large-title); line-height: var(--lh-tight); font-weight: 650; }
.u-t-title1 { font-size: var(--fs-title1); letter-spacing: var(--ls-title1); line-height: var(--lh-tight); font-weight: 650; }
.u-t-title2 { font-size: var(--fs-title2); letter-spacing: var(--ls-title2); line-height: var(--lh-snug); font-weight: 650; }
.u-t-title3 { font-size: var(--fs-title3); letter-spacing: var(--ls-title3); line-height: var(--lh-snug); font-weight: 600; }
.u-t-headline { font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-snug); font-weight: 600; }
.u-t-body { font-size: var(--fs-body); letter-spacing: var(--ls-body); line-height: var(--lh-relaxed); }
.u-t-callout { font-size: var(--fs-callout); letter-spacing: var(--ls-body); line-height: var(--lh-normal); }
.u-t-subhead { font-size: var(--fs-subhead); letter-spacing: var(--ls-subhead); line-height: var(--lh-normal); }
.u-t-footnote { font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-normal); color: var(--text2); }
.u-t-caption { font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-normal); color: var(--text3); }
.u-t-overline { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text3); }

h1, h2, h3, .u-balance {
  text-wrap: balance;
}
p, li, .u-pretty {
  text-wrap: pretty;
}

.u-num,
time,
progress + output {
  font-variant-numeric: tabular-nums;
}

.u-mat,
.u-mat--regular {
  background: var(--mat-regular);
  -webkit-backdrop-filter: var(--blur-regular);
  backdrop-filter: var(--blur-regular);
}
.u-mat--ultra-thin {
  background: var(--mat-ultra-thin);
  -webkit-backdrop-filter: var(--blur-ultra-thin);
  backdrop-filter: var(--blur-ultra-thin);
}
.u-mat--thin {
  background: var(--mat-thin);
  -webkit-backdrop-filter: var(--blur-thin);
  backdrop-filter: var(--blur-thin);
}
.u-mat--thick {
  background: var(--mat-thick);
  -webkit-backdrop-filter: var(--blur-thick);
  backdrop-filter: var(--blur-thick);
}

.u-hairline {
  border: 0.5px solid var(--border);
}
@supports not (border: 0.5px solid #000) {
  .u-hairline { border: 1px solid var(--border-l); }
}

.u-sep {
  height: 1px;
  margin-inline-start: var(--sp-4);
  background: var(--border-l);
}

.u-press {
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.u-press:active {
  transform: scale(0.985);
  transition-duration: var(--dur-fast);
}

.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-skip-link {
  position: fixed;
  z-index: 10000;
  inset-block-start: var(--sp-2);
  inset-inline-start: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(-100% - var(--sp-4)));
}
.u-skip-link:focus-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (hover: none) and (pointer: coarse) {

  ::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .u-btn:hover {
    background: var(--surface);
    border-color: var(--border-s);
  }
  .u-btn--primary:hover {
    background: var(--brand);
    border-color: var(--brand);
  }
  .u-btn--ghost:hover {
    background: transparent;
  }
  a:hover {
    color: inherit;
  }

  .u-btn:active {
    transform: scale(0.985);
  }

  .u-btn {
    transition:
      background var(--dur-fast) var(--ease),
      border-color var(--dur-fast) var(--ease),
      transform var(--dur) var(--ease);
  }

  .u-btn {
    min-height: var(--control-touch-height);
  }

  :where(button, [role="button"], input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
    min-height: var(--control-touch-height);
  }

  :where(button[aria-label], .u-icon-btn) {
    min-width: var(--control-touch-height);
  }

  button,
  .u-btn,
  img,
  video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }
  .u-btn,
  .u-input,
  .u-card,
  .u-icon-btn {
    border-color: CanvasText;
  }
}

.u-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Shared suite navigation. Keep behavior in nav.js and presentation here. */
#ducdz-nav { position: fixed; top: 0; left: 0; right: 0;
  z-index: 9998; display: flex; align-items: center; gap: 12px; min-height: calc(68px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(28px, calc((100vw - 1324px) / 2)) 0;
  font-family: var(--font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 13px; white-space: nowrap; letter-spacing: -0.002em;
  -webkit-font-smoothing: antialiased;
  background: color-mix(in srgb, var(--surface, #fff) 94%, transparent);
  border-bottom: 1px solid var(--border, #e5e7eb);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

@keyframes ducdz-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
#ducdz-nav.enter { animation: ducdz-nav-in .26s var(--ease, cubic-bezier(.4,0,.2,1)) both; }

#ducdz-nav-slot { display: flex; min-width: 0; }
#ducdz-nav.inline { position: static; transform: none; z-index: auto; gap: 8px; min-width: 0; min-height: 0; max-width: 100%; padding: 0; overflow: hidden; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
#ducdz-nav .nav-suite-brand { display: inline-flex; align-items: center; gap: 10px; padding: 0; border-radius: 0; color: var(--text, #111827); font-size: 15px; font-weight: 750; letter-spacing: -.02em; flex-shrink: 0; }
#ducdz-nav .nav-suite-brand:hover { color: var(--text, #111827); }
#ducdz-nav .nav-suite-mark { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-xs, 4px); background: var(--brand, #2563eb); color: var(--text-on-brand, #fff); }
#ducdz-nav .nav-suite-mark svg { width: 17px; height: 17px; }
#ducdz-nav.inline .nav-suite-brand { display: none; }
#ducdz-nav:not(.inline) .nav-pill { margin-left: auto; }
#ducdz-nav.inline .nav-pill { padding: 2px; border-radius: var(--radius-sm, 6px); box-shadow: none; background: var(--surface-2, #f9fafb); border-color: var(--border, #e5e7eb);
  min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
#ducdz-nav.inline .nav-pill::-webkit-scrollbar { display: none; }
#ducdz-nav.inline .nav-pill a { padding: 6px 11px; font-size: 12.5px; border-radius: var(--radius-xs, 4px); color: var(--text2, #4b5563); flex-shrink: 0; }
#ducdz-nav.inline .nav-pill a:hover { color: var(--text, #111827); }
#ducdz-nav.inline .nav-pill a svg { width: 15px; height: 15px; }
#ducdz-nav.inline .nav-thumb { top: 2px; bottom: 2px; border-radius: var(--radius-xs, 4px); background: var(--hover, rgba(17,24,39,.04)); }

#ducdz-nav .nav-pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  box-shadow: var(--shadow, 0 1px 3px rgba(17,24,39,.08));
}

#ducdz-nav .nav-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: 0;
  border-radius: var(--radius-sm, 6px); background: var(--hover, rgba(17,24,39,.04));
  opacity: 0; pointer-events: none;
  transition: transform .2s var(--ease, cubic-bezier(.4,0,.2,1)), width .2s var(--ease, cubic-bezier(.4,0,.2,1)), opacity .12s ease;
}

#ducdz-nav .nav-thumb.snap { transition: opacity .12s ease; }
#ducdz-nav a, #ducdz-nav button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius-sm, 6px);
  color: var(--text2, #4b5563); text-decoration: none; font-weight: 600;
  background: transparent; border: none; cursor: pointer;
  position: relative; z-index: 1;
  transition: color .12s ease, background-color .12s ease, border-color .12s ease;
  font-family: inherit; font-size: 13px;
  white-space: nowrap;
}

#ducdz-nav a:hover, #ducdz-nav button:hover { color: var(--text, #111827); }

#ducdz-nav a:active, #ducdz-nav button:active { transform: scale(.985); }
#ducdz-nav a:focus-visible, #ducdz-nav button:focus-visible { outline: 2px solid var(--brand, #2563eb); outline-offset: 2px; }

#ducdz-nav a.active { color: var(--text-on-brand, #fff) !important; background: var(--brand, #2563eb) !important; border: 1px solid var(--brand, #2563eb); box-shadow: none; }
#ducdz-nav a.active:hover { color: var(--text-on-brand, #fff); background: var(--brand-2, #1d4ed8) !important; }
#ducdz-nav .nav-icon { display: inline-flex; align-items: center; justify-content: center; }
#ducdz-nav .nav-icon svg { width: 16px; height: 16px; display: block; stroke-width: var(--icon-stroke, 1.8); vector-effect: non-scaling-stroke; transition: transform var(--dur, .18s) var(--ease, ease); }
#ducdz-nav a:hover .nav-icon svg { transform: translateY(-1px); }
#ducdz-nav a.active .nav-icon svg { transform: scale(1.04); }

#ducdz-nav .nav-paint-wrap { position: relative; flex-shrink: 0; }
#ducdz-nav .nav-paint {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-sm, 6px); cursor: pointer;
  background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); color: var(--text2, #4b5563);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(17,24,39,.05));
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
#ducdz-nav .nav-paint svg { width: 17px; height: 17px; display: block; stroke-width: var(--icon-stroke, 1.8); vector-effect: non-scaling-stroke; }
#ducdz-nav .nav-paint:hover { border-color: var(--border-s, #d1d5db); background: var(--surface-2, #f9fafb); color: var(--text, #111827); }
#ducdz-nav.inline .nav-paint { width: 30px; height: 30px; background: var(--surface-2, #f9fafb); border-color: var(--border, #e5e7eb); box-shadow: none; }
#ducdz-nav.inline .nav-paint svg { width: 15px; height: 15px; }
#ducdz-nav .nav-paint-menu {
  position: absolute; top: 100%; right: 0; margin-top: 6px;
  background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); border-radius: var(--radius-md, 10px);
  padding: 7px; display: flex; gap: 6px;
  box-shadow: var(--shadow-lg, 0 4px 12px rgba(17,24,39,.08));
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transform-origin: top right; pointer-events: none;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
#ducdz-nav .nav-paint-menu.open {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .14s ease, transform .14s ease, visibility 0s;
}
#ducdz-nav .nav-swatch {
  width: 24px; height: 24px; padding: 0; border-radius: var(--radius-xs, 4px); cursor: pointer;
  background: none; border: 2px solid transparent; display: grid; place-items: center;
  transition: border-color .12s ease;
}
#ducdz-nav .nav-swatch span { width: 16px; height: 16px; border-radius: 3px; display: block; }
#ducdz-nav .nav-swatch.on { border-color: var(--text, #111827); }
#ducdz-nav .nav-swatch span[data-sw="blue"]   { background: #2563eb; }
#ducdz-nav .nav-swatch span[data-sw="violet"] { background: #4f46e5; }
#ducdz-nav .nav-swatch span[data-sw="teal"]   { background: #0f766e; }
#ducdz-nav .nav-swatch span[data-sw="green"]  { background: #15803d; }
#ducdz-nav .nav-swatch span[data-sw="amber"]  { background: #b45309; }
#ducdz-nav .nav-swatch span[data-sw="rose"]   { background: #be123c; }

#ducdz-nav .nav-bell-wrap { position: relative; flex-shrink: 0; }
#ducdz-nav .nav-bell {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; border-radius: var(--radius-sm, 6px); cursor: pointer;
  background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); color: var(--text2, #4b5563);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(17,24,39,.05));
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
#ducdz-nav .nav-bell svg { width: 17px; height: 17px; display: block; stroke-width: var(--icon-stroke, 1.8); vector-effect: non-scaling-stroke; }
#ducdz-nav .nav-bell:hover { border-color: var(--border-s, #d1d5db); background: var(--surface-2, #f9fafb); color: var(--text, #111827); }
#ducdz-nav.inline .nav-bell { width: 30px; height: 30px; background: var(--surface-2, #f9fafb); border-color: var(--border, #e5e7eb); box-shadow: none; }
#ducdz-nav.inline .nav-bell svg { width: 15px; height: 15px; }
#ducdz-nav .nav-bell-dot {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--danger, #dc2626); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
  border: 2px solid var(--surface, #fff); box-sizing: content-box;
}

#ducdz-nav .nav-notes {
  position: absolute; top: 100%; right: 0; margin-top: 6px;
  width: min(360px, calc(100vw - 24px));
  background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-lg, 0 4px 12px rgba(17,24,39,.08));
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transform-origin: top right; pointer-events: none; overflow: hidden;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
#ducdz-nav .nav-notes.open {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .14s ease, transform .14s ease, visibility 0s;
}
#ducdz-nav .nav-notes-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--border, #e5e7eb);
  font-size: 12.5px; font-weight: 700; color: var(--text, #111827);
}
#ducdz-nav .nav-notes-head button {
  padding: 4px 8px; border-radius: var(--radius-xs, 4px); font-size: 11.5px; font-weight: 600;
  color: var(--brand, #2563eb); background: none; border: none; cursor: pointer; white-space: nowrap;
}
#ducdz-nav .nav-notes-head button:hover { background: var(--hover, rgba(17,24,39,.04)); color: var(--brand-2, #1d4ed8); }
#ducdz-nav .nav-notes-body { max-height: min(60vh, 420px); overflow-y: auto; overscroll-behavior: contain; }
#ducdz-nav .nav-notes-group {
  padding: 8px 12px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text3, #6b7280);
}
#ducdz-nav .nav-note {
  display: block; width: 100%; text-align: left; padding: 9px 12px 10px;
  border: none; border-radius: 0; background: none; cursor: pointer;
  font-family: inherit; text-decoration: none;
  border-left: 3px solid transparent;
}
#ducdz-nav .nav-note:hover { background: var(--hover, rgba(17,24,39,.04)); }
#ducdz-nav .nav-note.unread { border-left-color: var(--brand, #2563eb); background: var(--surface-2, #f9fafb); }
#ducdz-nav .nav-note.unread .nav-note-title { color: var(--text, #111827); font-weight: 700; }
#ducdz-nav .nav-note-top { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
#ducdz-nav .nav-note-type {
  padding: 1px 6px; border-radius: 999px; font-size: 10px; font-weight: 700;
  letter-spacing: .02em; border: 1px solid var(--border, #e5e7eb); color: var(--text2, #4b5563);
}
#ducdz-nav .nav-note-type[data-type="security"] { color: var(--danger, #dc2626); border-color: var(--danger, #dc2626); }
#ducdz-nav .nav-note-time { font-size: 11px; color: var(--text3, #6b7280); font-weight: 500; }
#ducdz-nav .nav-note-title { display: block; font-size: 12.5px; font-weight: 600; color: var(--text2, #4b5563); }
#ducdz-nav .nav-note-body { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: var(--text3, #6b7280); font-weight: 400; white-space: normal; }
#ducdz-nav .nav-note-action { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--brand, #2563eb); }
#ducdz-nav .nav-notes-empty {
  padding: 26px 18px; text-align: center; font-size: 12.5px; line-height: 1.55;
  color: var(--text3, #6b7280); font-weight: 500; white-space: normal;
}
#ducdz-nav .nav-notes-empty strong { display: block; margin-bottom: 3px; color: var(--text, #111827); font-size: 13px; }

#ducdz-nav .nav-pill.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%); }
#ducdz-nav .nav-pill.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%); }
#ducdz-nav .nav-pill.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }

#ducdz-nav .nav-suite-mark { border-radius: 9px; }
#ducdz-nav .nav-pill { border-radius: 12px; }
#ducdz-nav .nav-thumb,
#ducdz-nav .nav-pill a,
#ducdz-nav .nav-paint,
#ducdz-nav .nav-bell { border-radius: 9px; }
#ducdz-nav .nav-paint-menu,
#ducdz-nav .nav-notes { border-radius: 14px; }

body { padding-top: calc(68px + env(safe-area-inset-top)) !important; }
body.ducdz-nav-inline { padding-top: 0 !important; }
@media (max-width: 720px) {
  #ducdz-nav { min-height: calc(60px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; gap: 6px; font-size: 12.5px; }
  #ducdz-nav .nav-suite-brand { gap: 0; }
  #ducdz-nav .nav-suite-name { display: none; }
  #ducdz-nav .nav-suite-mark { width: 32px; height: 32px; }
  #ducdz-nav a, #ducdz-nav button{ padding: 8px 12px; font-size: 12.5px; }
  #ducdz-nav .nav-icon svg { width: 15px; height: 15px; }
  body { padding-top: calc(60px + env(safe-area-inset-top)) !important; }
}

@media (max-width: 940px) {
  #ducdz-nav.inline .nav-label { display: none; }
  #ducdz-nav.inline .nav-pill a { padding: 8px 10px; }
}
@media (max-width: 520px) {
  #ducdz-nav { gap: 4px; }
  #ducdz-nav .nav-label { display: none; }
  #ducdz-nav .nav-pill a.active .nav-label { display: inline; }

  #ducdz-nav:not(.inline) .nav-pill {
    flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  #ducdz-nav:not(.inline) .nav-pill::-webkit-scrollbar { display: none; }
  #ducdz-nav:not(.inline) .nav-paint-wrap{ display: none; }

  #ducdz-nav:not(.inline) a {
    padding: 9px 11px; min-width: 44px; min-height: 44px; justify-content: center;
  }
  #ducdz-nav .nav-icon svg { width: 16px; height: 16px; }
  body { padding-top: calc(60px + env(safe-area-inset-top)) !important; }
}

@media (max-width: 380px) {
  #ducdz-nav:not(.inline) { padding-left: 8px; padding-right: 8px; }
  #ducdz-nav .nav-pill {
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  #ducdz-nav .nav-pill::-webkit-scrollbar { display: none; }
  #ducdz-nav:not(.inline) a { min-width: 40px; padding: 9px 8px; }
}

@media (max-width: 720px) {
  #ducdz-nav.inline { min-width: 0; max-width: 100%; overflow: hidden; }
  #ducdz-nav.inline .nav-pill {
    min-width: 0; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  #ducdz-nav.inline .nav-pill::-webkit-scrollbar { display: none; }

  #ducdz-nav.inline .nav-pill a { min-width: 40px; min-height: 40px; justify-content: center; }
  #ducdz-nav.inline .nav-pill a.active .nav-label { display: inline; }
}

@media (hover: none) and (pointer: coarse) {
  #ducdz-nav .nav-paint { width: 44px; height: 44px; }
  #ducdz-nav.inline .nav-paint { width: 40px; height: 40px; }
  #ducdz-nav a:hover, #ducdz-nav button:hover { background: transparent; color: var(--text2, #4b5563); }
  #ducdz-nav a.active:hover { color: var(--text-on-brand, #fff); background: var(--brand, #2563eb) !important; }
  #ducdz-nav a:active, #ducdz-nav button:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
  #ducdz-nav, #ducdz-nav * { animation: none !important; transition: none !important; }
  #ducdz-nav a:active, #ducdz-nav button:active { transform: none; }
  #ducdz-nav .nav-icon svg { transform: none !important; }
}

.u-skel {
  position: relative;
  overflow: hidden;
  background: var(--skel);
  border-radius: var(--skel-radius);

  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.u-skel::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, var(--skel-sheen) 50%, transparent 100%);
  animation: u-skel-sweep 1.55s var(--ease-apple) infinite;
}

@keyframes u-skel-sweep {
  to { transform: translateX(100%); }
}

.u-skel { animation-delay: calc(var(--i, 0) * 90ms); }
.u-skel::after { animation-delay: calc(var(--i, 0) * 90ms); }

.u-skel-stagger > *:nth-child(1) .u-skel::after,
.u-skel-stagger > *:nth-child(1).u-skel::after { animation-delay: 0ms; }
.u-skel-stagger > *:nth-child(2) .u-skel::after,
.u-skel-stagger > *:nth-child(2).u-skel::after { animation-delay: 90ms; }
.u-skel-stagger > *:nth-child(3) .u-skel::after,
.u-skel-stagger > *:nth-child(3).u-skel::after { animation-delay: 180ms; }
.u-skel-stagger > *:nth-child(4) .u-skel::after,
.u-skel-stagger > *:nth-child(4).u-skel::after { animation-delay: 270ms; }
.u-skel-stagger > *:nth-child(5) .u-skel::after,
.u-skel-stagger > *:nth-child(5).u-skel::after { animation-delay: 360ms; }
.u-skel-stagger > *:nth-child(n + 6) .u-skel::after,
.u-skel-stagger > *:nth-child(n + 6).u-skel::after { animation-delay: 450ms; }

.u-skel--text {
  height: 0.72em;
  margin-block: 0.14em;
  border-radius: var(--radius-full);
}
.u-skel--title {
  height: 1.05em;
  margin-block: 0.1em;
  border-radius: var(--radius-sm);
}

.u-skel--short { width: 62%; }
.u-skel--shorter { width: 38%; }

.u-skel--circle {
  aspect-ratio: 1;
  border-radius: 50%;
}
.u-skel--thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
}
.u-skel--card {
  border-radius: var(--radius-md);
}
.u-skel--pill {
  height: 30px;
  border-radius: var(--radius-full);
}

.u-skel--fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.u-skel-lines {
  display: flex;
  flex-direction: column;
  gap: 0.42em;
}

.u-spinner {
  --spin-size: 18px;
  --spin-w: 2.2px;
  display: inline-block;
  flex-shrink: 0;
  width: var(--spin-size);
  height: var(--spin-size);
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 4%, currentColor 96%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--spin-w)), #000 calc(100% - var(--spin-w)));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--spin-w)), #000 calc(100% - var(--spin-w)));
  animation: u-spin 0.72s linear infinite;

  vertical-align: middle;
}

@supports not ((-webkit-mask: radial-gradient(#000, #000)) or (mask: radial-gradient(#000, #000))) {
  .u-spinner {
    background: none;
    border: var(--spin-w) solid currentColor;
    border-top-color: transparent;
    opacity: 0.85;
  }
}

.u-spinner--ios {
  animation-duration: 1s;
  animation-timing-function: steps(12, end);
}

.u-spinner--sm { --spin-size: 14px; --spin-w: 1.8px; }
.u-spinner--lg { --spin-size: 28px; --spin-w: 3px; }
.u-spinner--xl { --spin-size: 40px; --spin-w: 3.4px; }

@keyframes u-spin {
  to { transform: rotate(1turn); }
}

.u-loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-8) var(--sp-4);
  color: var(--text3);
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
}

.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  cursor: default;
}
.is-loading > * {
  visibility: hidden;
}
.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 4%, var(--spin-color, currentColor) 96%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.2px), #000 calc(100% - 2.2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.2px), #000 calc(100% - 2.2px));
  animation: u-spin 0.72s linear infinite;
}

.u-btn--primary.is-loading,
.btn-primary.is-loading {
  --spin-color: #fff;
}

.u-progress {
  position: relative;
  overflow: hidden;
  height: 4px;
  background: var(--skel);
  border-radius: var(--radius-full);
}
.u-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);

  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform var(--dur) var(--ease-apple);
}

.u-progress--indet .u-progress__bar {
  width: 38%;
  transform: none;
  animation: u-progress-indet 1.15s var(--ease-emph) infinite;
}
@keyframes u-progress-indet {
  0%   { transform: translateX(-105%); }
  100% { transform: translateX(365%); }
}

#u-topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--brand);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s var(--ease-apple), opacity 0.2s var(--ease);
}
#u-topbar.is-on {
  opacity: 1;
}

#u-topbar.is-done {
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.16s var(--ease-out-expo), opacity 0.32s var(--ease) 0.14s;
}

img[data-u-img='0'] {
  opacity: 0;
}
img[data-u-img='1'] {
  opacity: 1;
  animation: u-img-in 0.3s var(--ease-apple) both;
}
@keyframes u-img-in {
  from { opacity: 0; transform: scale(1.008); }
  to   { opacity: 1; transform: scale(1); }
}

.u-img-hold {
  position: relative;
  background: var(--skel);
}
.u-img-hold::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, var(--skel-sheen) 50%, transparent 100%);
  animation: u-skel-sweep 1.55s var(--ease-apple) infinite;
  pointer-events: none;
}

.u-img-hold.is-ready::after {
  content: none;
}

.u-swap-in {
  animation: u-swap-in 0.28s var(--ease-apple) both;
}
@keyframes u-swap-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.u-enter {
  animation: u-enter 0.3s var(--ease-apple) both;
}
.u-enter-2 { animation-delay: 0.04s; }
.u-enter-3 { animation-delay: 0.08s; }
.u-enter-4 { animation-delay: 0.12s; }
@keyframes u-enter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (scripting: none) {
  [data-reveal] { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {

  .u-skel::after,
  .u-img-hold::after {
    animation: none !important;
    opacity: 0;
  }

  .u-spinner,
  .is-loading::after {
    animation-duration: 1.4s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }

  .u-progress--indet .u-progress__bar {
    animation: none !important;
    width: 100%;
    opacity: 0.45;
  }

  .u-enter,
  .u-swap-in,
  img[data-u-img='1'] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.suite-experience {
  min-height: 100svh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 4%, var(--hero-glow), transparent 28rem),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 24rem),
    var(--bg);
}

.suite-container {
  width: min(100%, var(--layout-wide-max));
  margin-inline: auto;
  padding-inline: var(--space-page-inline);
}

.suite-main {
  width: min(100%, var(--layout-wide-max));
  margin-inline: auto;
  padding: clamp(var(--sp-8), 6vw, var(--sp-16)) var(--space-page-inline) var(--space-layout-section);
}

.suite-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--layout-gutter);
  min-width: 0;
}

.suite-hero__copy {
  grid-column: 1 / span 7;
  min-width: 0;
}

.suite-hero__visual {
  grid-column: 8 / -1;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  isolation: isolate;
}

.suite-hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hero-glow);
  filter: blur(46px);
  opacity: .8;
}

.suite-hero__visual img {
  width: min(100%, 560px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px color-mix(in srgb, var(--text) 12%, transparent));
  transform: translateZ(0);
  animation: suite-float 7s var(--ease-emph) infinite alternate;
}

.suite-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  color: var(--brand);
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.suite-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.suite-title {
  max-width: 13ch;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.suite-title em {
  color: var(--brand);
  font-style: normal;
}

.suite-lede {
  max-width: 62ch;
  margin-top: var(--sp-5);
  color: var(--text2);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-layout-card-gap);
  min-width: 0;
}

.suite-grid > * {
  min-width: 0;
}

.suite-grid--2 > * {
  grid-column: span 6;
}

.suite-grid--3 > * {
  grid-column: span 4;
}

.suite-grid--4 > * {
  grid-column: span 3;
}

.suite-section {
  margin-top: var(--space-layout-section);
}

.suite-section[data-lazy] {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.suite-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.suite-section__head > * {
  min-width: 0;
}

.suite-section__title {
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.suite-section__copy {
  max-width: 58ch;
  margin-top: var(--sp-2);
  color: var(--text2);
  line-height: var(--lh-relaxed);
}

.suite-card {
  position: relative;
  min-width: 0;
  padding: clamp(var(--sp-4), 2.2vw, var(--sp-6));
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-emph), border-color var(--dur) var(--ease), box-shadow var(--dur-slow) var(--ease);
}

.suite-card--interactive:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--border));
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.suite-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: var(--radius-md);
}

.suite-icon svg {
  width: var(--icon-size);
  height: var(--icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.suite-icon--sm {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: var(--radius-sm);
}

.suite-icon--sm svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}

.suite-card__top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.suite-card__title {
  font-size: var(--fs-title3);
  font-weight: 680;
  line-height: var(--lh-snug);
}

.suite-card__copy {
  margin-top: var(--sp-3);
  color: var(--text2);
  line-height: var(--lh-relaxed);
}

.suite-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.suite-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--text2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-footnote);
  font-weight: 600;
  white-space: nowrap;
}

.suite-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.suite-visual-card {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: var(--sp-4);
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--brand) 8%, var(--surface)));
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-float);
}

.suite-visual-card img {
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
}

.suite-icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.suite-icon-button:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
}

.suite-icon-button svg {
  width: var(--icon-size);
  height: var(--icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes suite-float {
  from { transform: translate3d(0, -4px, 0) rotate(-.35deg); }
  to { transform: translate3d(0, 7px, 0) rotate(.35deg); }
}

@media (max-width: 1023px) {
  .suite-hero__copy { grid-column: 1 / span 7; }
  .suite-hero__visual { grid-column: 8 / -1; }
  .suite-grid--4 > * { grid-column: span 6; }
}

@media (max-width: 767px) {
  .suite-main {
    padding-top: var(--sp-8);
  }

  .suite-hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-6);
  }

  .suite-hero__copy,
  .suite-hero__visual {
    grid-column: 1 / -1;
  }

  .suite-hero__visual {
    order: -1;
  }

  .suite-hero__visual img {
    width: min(82vw, 420px);
    max-height: 300px;
  }

  .suite-title {
    max-width: 15ch;
    font-size: clamp(38px, 12vw, 54px);
  }

  .suite-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .suite-grid--2 > *,
  .suite-grid--3 > *,
  .suite-grid--4 > * {
    grid-column: 1 / -1;
  }

  .suite-section__head {
    align-items: start;
    flex-direction: column;
    gap: var(--sp-3);
  }
}

@media (max-width: 639px) {
  .suite-actions > :where(a, button) {
    min-height: var(--control-touch-height);
  }

  .suite-actions--stack {
    display: grid;
    grid-template-columns: 1fr;
  }

  .suite-actions--stack > * {
    width: 100%;
  }

  .suite-card--interactive:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .suite-icon-button {
    width: var(--control-touch-height);
    min-width: var(--control-touch-height);
    height: var(--control-touch-height);
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite-hero__visual img {
    animation: none;
  }

  .suite-card,
  .suite-icon-button {
    transition: none;
  }
}

/* DucDZ product direction
   A single visual language derived from the Docs surface: flat frames,
   generous rhythm, crisp type, one brand accent and useful dark consoles. */

:root {
  --suite-header: 68px;
  --suite-max: 1760px;
  --suite-content: 1600px;
  --suite-section: clamp(48px, 6vw, 80px);
  --suite-display: clamp(40px, 5vw, 64px);
  --suite-console: #111827;
  --suite-console-border: #273244;
  --suite-console-text: #dbeafe;
  --suite-console-muted: #718096;
  --suite-radius-shell: 18px;
  --suite-radius-card: 14px;
  --suite-radius-control: 10px;
  --suite-radius-compact: 8px;
  --suite-shadow-soft: 0 16px 40px -30px rgba(15, 23, 42, .38);
}

body[data-app] {
  background: var(--bg);
  overflow-x: clip;
}

body[data-app] :where(.page-kicker, .suite-kicker) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

body[data-app] :where(.page-kicker, .suite-kicker)::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: '';
}

/* Login */
body[data-app="login"] {
  align-items: stretch;
}

body[data-app="login"] .auth-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(480px, .85fr);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
  width: min(100%, var(--suite-max));
  max-width: none;
  min-height: calc(100dvh - var(--suite-header));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 4vw, 64px);
}

body[data-app="login"] .auth-showcase {
  grid-column: 1;
  grid-row: 1 / span 8;
  min-width: 0;
}

body[data-app="login"] .auth-showcase h2 {
  max-width: 700px;
  margin: 0;
  color: var(--text);
  font-size: var(--suite-display);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1.02;
}

body[data-app="login"] .auth-showcase h2 span {
  color: var(--brand);
}

body[data-app="login"] .auth-showcase > p {
  max-width: 620px;
  margin: 22px 0 28px;
  color: var(--text2);
  font-size: 17px;
  line-height: 1.7;
}

body[data-app="login"] .showcase-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body[data-app="login"] .showcase-point {
  min-width: 0;
  padding: 22px 20px 22px 0;
}

body[data-app="login"] .showcase-point + .showcase-point {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

body[data-app="login"] .showcase-point b,
body[data-app="login"] .showcase-point span {
  display: block;
}

body[data-app="login"] .showcase-point b {
  margin-bottom: 4px;
  font-size: 14px;
}

body[data-app="login"] .showcase-point span {
  color: var(--text3);
  font-size: 12.5px;
  line-height: 1.45;
}

.suite-console {
  overflow: hidden;
  color: var(--suite-console-text);
  background: var(--suite-console);
  border: 1px solid var(--suite-console-border);
  border-radius: var(--suite-radius-card);
}

.suite-console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--suite-console-muted);
  border-bottom: 1px solid var(--suite-console-border);
  font-family: var(--mono);
  font-size: 10.5px;
}

.suite-console-dots {
  display: flex;
  gap: 5px;
  margin-right: 6px;
}

.suite-console-dots i {
  width: 7px;
  height: 7px;
  background: #475569;
  border-radius: 50%;
}

.suite-console-body {
  display: grid;
  gap: 9px;
  padding: 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.suite-console-body .muted { color: var(--suite-console-muted); }
.suite-console-body .ok { color: #4ade80; }
.suite-console-body .accent { color: #60a5fa; }

body[data-app="login"] .auth-card {
  grid-column: 2;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--suite-radius-shell);
  box-shadow: var(--suite-shadow-soft);
}

body[data-app="login"] .auth-logo {
  margin-bottom: 28px;
  text-align: left;
}

body[data-app="login"] .auth-logo .logo-badge {
  margin: 0 0 18px;
  border-radius: 12px;
  box-shadow: none;
}

body[data-app="login"] .auth-logo h1 { font-size: 28px; }
body[data-app="login"] .auth-logo p { max-width: 380px; font-size: 15px; line-height: 1.55; }
body[data-app="login"] .auth-tabs { border-radius: 12px; }
body[data-app="login"] .auth-tab { border-radius: var(--suite-radius-compact); }
body[data-app="login"] .form-input,
body[data-app="login"] .form-submit { border-radius: var(--suite-radius-control); }
body[data-app="login"] .form-input,
body[data-app="login"] .form-submit { min-height: 56px; }

/* Locket */
body[data-app="locket"] .login-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 64px);
}

body[data-app="locket"] .login-wrap[style*="display: flex"] {
  display: grid !important;
}

body[data-app="locket"] .locket-showcase h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

body[data-app="locket"] .locket-showcase h2 span { color: var(--brand); }

body[data-app="locket"] .locket-showcase > p {
  max-width: 600px;
  margin: 20px 0 30px;
  color: var(--text2);
  font-size: 17px;
  line-height: 1.7;
}

body[data-app="locket"] .locket-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 640px;
}

body[data-app="locket"] .locket-preview span {
  display: flex;
  min-height: 176px;
  padding: 18px;
  align-items: flex-end;
  color: var(--suite-console-text);
  background: var(--suite-console);
  border: 1px solid var(--suite-console-border);
  border-radius: var(--suite-radius-card);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}

body[data-app="locket"] .locket-preview span:nth-child(2) { transform: translateY(14px); }
body[data-app="locket"] .locket-preview span:nth-child(3) { transform: translateY(-8px); }

body[data-app="locket"] .login-card {
  max-width: none;
  padding: 48px;
  border-color: var(--border-s);
  border-radius: var(--suite-radius-shell);
  box-shadow: var(--suite-shadow-soft);
}

body[data-app="locket"] .login-card :where(input, .btn-p) {
  border-radius: var(--suite-radius-control);
}

body[data-app="locket"] #appView .gh {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 76px;
  padding: 0 clamp(24px, 3vw, 56px);
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

body[data-app="locket"] #appView .app-body {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  grid-template-columns: clamp(276px, 18vw, 320px) minmax(0, 1fr) clamp(312px, 20vw, 360px);
  gap: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  overflow: hidden;
}

body[data-app="locket"] #appView :where(.panel, .feed-col) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-app="locket"] #appView .panel-left { border-right: 1px solid var(--border); }
body[data-app="locket"] #appView .panel-right { border-left: 1px solid var(--border); }
body[data-app="locket"] :where(.tile, .as-box, .fr-search, .fr-item, .convo, .profile-link, .modal-card, .chat-card) {
  border-radius: var(--suite-radius-card);
}
body[data-app="locket"] #appView :where(.panel-left, .panel-right) { padding: 24px 20px; }
body[data-app="locket"] #appView .panel-title { font-size: 12px; padding-bottom: 14px; }
body[data-app="locket"] #appView :where(.fr-item, .convo) { padding: 12px; }
body[data-app="locket"] #appView .feed { gap: 16px; }

/* Mail */
body[data-app="email"] .email-suite-host { display: none; }

body[data-app="email"] .hd {
  height: 76px;
  padding: 0 clamp(24px, 3vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-app="email"] .hd-logo-ic {
  width: 36px;
  height: 36px;
  border-radius: var(--suite-radius-compact);
  box-shadow: none;
}

body[data-app="email"] .hd-logo-text { font-size: 17px; }
body[data-app="email"] .hd-product {
  margin-left: 12px;
  padding-left: 12px;
  color: var(--text3);
  border-left: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

body[data-app="email"] .ws {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
}

body[data-app="email"] :where(.sb-form, .sb-addr, .sb-lock, .sb-hist, .sb-filters) {
  padding: 18px;
  background: transparent;
  border-color: var(--border);
  border-radius: var(--suite-radius-card);
}
body[data-app="email"] :where(.sb-irow, .sb-addr-box, .sb-btn1, .sb-btn2, .tb-search, .tb-sort) {
  border-radius: var(--suite-radius-control);
}
body[data-app="email"] .sb-title { font-size: 18px; }
body[data-app="email"] .sb-sub { font-size: 13.5px; line-height: 1.5; }
body[data-app="email"] .sb-lbl { font-size: 11.5px; }
body[data-app="email"] .sb-hint-sm { font-size: 12.5px; line-height: 1.5; }
body[data-app="email"] .sb-irow { height: 48px; }
body[data-app="email"] .sb-irow input { font-size: 14px; }
body[data-app="email"] .sb-irow .sb-dom select { font-size: 13px; }
body[data-app="email"] .sb-addr-box { min-height: 52px; font-size: 13.5px; line-height: 1.5; }
body[data-app="email"] .sb-btns button,
body[data-app="email"] .sb-btns2 button { min-height: 44px; font-size: 14px; }
body[data-app="email"] .sb-filter { height: 40px; font-size: 14px; }
body[data-app="email"] .ct-bar {
  min-height: 64px;
  padding-right: 28px;
  padding-left: 28px;
}
body[data-app="email"] .ct-bar-title { font-size: 16px; }
body[data-app="email"] .tb-search {
  width: clamp(260px, 18vw, 340px);
  height: 42px;
  padding-right: 14px;
  padding-left: 14px;
}
body[data-app="email"] .tb-search input { font-size: 14px; }
body[data-app="email"] .tb-icon { width: 42px; height: 42px; }
body[data-app="email"] .tb-sort { height: 42px; padding-right: 14px; padding-left: 14px; font-size: 13.5px; }
body[data-app="email"] .el { border-right: 1px solid var(--border); }
body[data-app="email"] .el-row {
  column-gap: 12px;
  padding: 14px 18px 14px 20px;
}
body[data-app="email"] .el-row .r-from { font-size: 14.5px; }
body[data-app="email"] .el-row .r-subj { margin-top: 2px; font-size: 13.5px; }
body[data-app="email"] .el-row .r-date { font-size: 12px; }
body[data-app="email"] :where(.el-empty, .ev-empty) { gap: 20px; }
body[data-app="email"] :where(.el-empty p, .ev-empty p) { font-size: 17px; }
body[data-app="email"] :where(.el-empty span, .ev-empty span) { font-size: 14px; line-height: 1.55; }
body[data-app="email"] .ev { background: var(--surface); }

@media (min-width: 1024px) {
  body[data-app="email"] .sb {
    width: clamp(340px, 20vw, 392px);
    padding: 30px 24px;
  }
  body[data-app="email"] .sb-inner { gap: 18px; }
  body[data-app="email"] .el { width: clamp(380px, 26vw, 520px); }
}

@media (min-width: 1180px) {
  body[data-app="email"] #ducdz-nav.inline .nav-pill { padding: 4px; }
  body[data-app="email"] #ducdz-nav.inline .nav-pill a {
    padding: 8px 12px;
    font-size: 13.5px;
  }
  body[data-app="email"] #ducdz-nav.inline .nav-signin {
    padding: 8px 14px;
    font-size: 13.5px;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  body[data-app="email"] .hd {
    height: auto;
    min-height: 68px;
    padding: 10px 16px;
  }
  body[data-app="email"] :where(.sb-form, .sb-addr, .sb-lock, .sb-hist, .sb-filters) { padding: 16px; }
}

/* Photos */
body[data-app="photos"] .app-body {
  height: 100dvh;
  gap: 0;
  padding: 0;
}

body[data-app="photos"] .sb {
  height: 100dvh;
  padding: 0 12px 16px;
  background: var(--surface);
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

body[data-app="photos"] .sb-brand {
  height: 76px;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 750;
  border-bottom: 1px solid var(--border);
}

body[data-app="photos"] .sb-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--suite-radius-compact);
}

body[data-app="photos"] .sb-brand-mark::before,
body[data-app="photos"] .sb-brand-mark::after { display: none; }

body[data-app="photos"] .sb-brand-mark::after {
  display: block;
  top: 7px;
  left: 7px;
  width: 16px;
  height: 16px;
  background: transparent;
  border: 1.7px solid var(--text-on-brand);
  border-radius: 3px;
  content: '';
}

body[data-app="photos"] .main {
  height: 100dvh;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-app="photos"] .pt {
  min-height: 76px;
  height: 76px;
  padding: 12px 28px;
}

body[data-app="photos"] .view { padding: 40px clamp(24px, 3vw, 56px) 88px; }
body[data-app="photos"] .view-banner {
  padding-top: 10px;
  margin-bottom: 24px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
}
body[data-app="photos"] .sb-storage { border-radius: var(--suite-radius-card); }
body[data-app="photos"] :where(.sb-item, .sb-link-ext, .pt-btn, .pt-search, .period-switch, .library-tune) {
  border-radius: var(--suite-radius-control);
}
body[data-app="photos"] :where(.pc, .album-cover, .memory-cover) {
  border-radius: 12px;
}

@media (min-width: 1024px) {
  body[data-app="photos"] {
    --sb-w: 300px;
    --grid-min: 190px;
    --grid-gap: 8px;
    font-size: 15px;
  }
  body[data-app="photos"] .sb-section-title { font-size: 12px; padding-top: 18px; }
  body[data-app="photos"] .sb-item { min-height: 40px; font-size: 14px; padding: 9px 12px; }
  body[data-app="photos"] .pt-btn { min-width: 38px; height: 38px; padding: 0 12px; font-size: 14px; }
  body[data-app="photos"] .pt-search { min-width: 250px; min-height: 40px; padding: 7px 12px; }
  body[data-app="photos"] .pt-search input { font-size: 14px; }
}

@media (max-width: 820px) {
  body[data-app="photos"] .pt {
    justify-content: flex-start;
    min-height: 52px;
    padding: 6px 10px;
  }
  body[data-app="photos"] .pt-left { display: none; }
  body[data-app="photos"] .pt-right { width: max-content; gap: 6px; }
  body[data-app="photos"]:not(.select-mode) .pt-right > :where(#aspectToggle, #btnShare, #btnFavorite, #btnDownload, #btnDelete, #btnMore) {
    display: none !important;
  }
  body[data-app="photos"].select-mode .pt-nav-slot { display: none; }
}

/* Dashboard + Account */
body[data-app="dashboard"] .wrap,
body[data-app="account"] .wrap {
  width: min(100%, var(--suite-content));
  max-width: none;
  padding: 64px clamp(28px, 4vw, 64px) 104px;
}

body[data-app="dashboard"] .top,
body[data-app="account"] .top {
  min-height: 104px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

body[data-app="dashboard"] .brand-logo,
body[data-app="account"] .brand-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--suite-radius-control);
}

body[data-app="dashboard"] .brand h1,
body[data-app="account"] .brand h1 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.2;
  padding-top: 2px;
}

body[data-app="dashboard"] .brand p,
body[data-app="account"] .brand p {
  margin-top: 6px;
  font-size: 14px;
}

body[data-app="dashboard"] :where(.card, .profile),
body[data-app="account"] .card {
  border-radius: var(--suite-radius-card);
  box-shadow: var(--suite-shadow-soft);
}
body[data-app="dashboard"] .profile { padding: 22px 24px; margin-bottom: 24px; }
body[data-app="dashboard"] .bento { gap: 20px; }
body[data-app="dashboard"] .card,
body[data-app="account"] .card { padding: 26px; }
body[data-app="dashboard"] .card-label { font-size: 12px; margin-bottom: 16px; }
body[data-app="dashboard"] .stat-num { font-size: 40px; }

body[data-app="dashboard"] :where(.btn, .icon-btn, .mini-btn, input, select),
body[data-app="account"] :where(.btn, .icon-btn, .inp, input, select) {
  border-radius: var(--suite-radius-control);
}

body[data-app="dashboard"] .gate,
body[data-app="account"] .gate {
  max-width: 720px;
  margin-top: clamp(48px, 8vh, 92px);
  padding: 56px;
  border-color: var(--border-s);
  border-radius: var(--suite-radius-shell);
  box-shadow: var(--suite-shadow-soft);
}

body[data-app="dashboard"] .gate h2,
body[data-app="account"] .gate h2 { font-size: 28px; letter-spacing: -.025em; }
body[data-app="dashboard"] .gate p,
body[data-app="account"] .gate p { font-size: 15.5px; }
body[data-app="dashboard"] .gate .btn,
body[data-app="account"] .gate .btn { min-height: 48px; padding-right: 24px; padding-left: 24px; font-size: 15px; }

body[data-app="account"] #acc { max-width: 1180px; }
body[data-app="account"] .card h2 { font-size: 18px; }
body[data-app="account"] .card p.sub { font-size: 14px; }
body[data-app="account"] .field label { font-size: 13px; }
body[data-app="account"] .inp { height: 50px; font-size: 15px; }
body[data-app="account"] .row { gap: 16px; }

/* Video */
body[data-app="video"] { font-size: 16px; }
body[data-app="video"] .wrap { max-width: var(--suite-max); padding-right: clamp(20px, 4vw, 64px); padding-left: clamp(20px, 4vw, 64px); }
body[data-app="video"] .site-header .wrap { max-width: none; }
body[data-app="video"] .header-inner { min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
body[data-app="video"] .hero { padding-top: clamp(72px, 8vw, 112px); padding-bottom: 40px; text-align: left; }
body[data-app="video"] .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}
body[data-app="video"] .hero-copy { min-width: 0; }
body[data-app="video"] .hero h1 {
  max-width: 720px;
  margin-right: 0;
  margin-left: 0;
  font-size: clamp(44px, 5.2vw, 66px);
  line-height: 1.01;
  letter-spacing: -.055em;
}
body[data-app="video"] .hero .lead {
  max-width: 720px;
  margin-right: 0;
  margin-left: 0;
  font-size: 17px;
  line-height: 1.75;
}
body[data-app="video"] .hero .search { max-width: 820px; margin-right: 0; margin-left: 0; }
body[data-app="video"] .hero .hint { text-align: left; }
body[data-app="video"] .video-console .suite-console-body { min-height: 218px; }
body[data-app="video"] :where(.search-box, .btn-primary, .btn-ghost) {
  border-radius: var(--suite-radius-control);
}
body[data-app="video"] :where(.card, .platform-card, .step, .faq-item) {
  border-radius: var(--suite-radius-card);
  box-shadow: var(--suite-shadow-soft);
}
body[data-app="video"] .search-box input { padding-top: 16px; padding-bottom: 16px; font-size: 17px; }
body[data-app="video"] .btn-primary { min-height: 56px; padding-right: 28px; padding-left: 28px; }
body[data-app="video"] section.wrap { margin-top: 48px; margin-bottom: 48px; }
body[data-app="video"] .section-title { font-size: 24px; }
body[data-app="video"] .section-sub { font-size: 15px; margin-bottom: 24px; }
body[data-app="video"] .platform-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
body[data-app="video"] .platform-item { padding: 14px 16px; font-size: 15px; }
body[data-app="video"] .steps { line-height: 1.75; }
body[data-app="video"] .steps li { margin-bottom: 14px; }
body[data-app="video"] details { padding: 18px 20px; margin-bottom: 12px; }
body[data-app="video"] summary { font-size: 15px; }
body[data-app="video"] details p { font-size: 14.5px; line-height: 1.7; }

@media (min-width: 1180px) {
  body[data-app] #ducdz-nav.inline .nav-pill { padding: 4px; }
  body[data-app] #ducdz-nav.inline .nav-pill a {
    padding: 8px 12px;
    font-size: 13.5px;
  }
  body[data-app] #ducdz-nav.inline .nav-signin {
    padding: 8px 14px;
    font-size: 13.5px;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  body[data-app="locket"] #appView .gh { height: var(--suite-header); padding: 0 20px; }
  body[data-app="locket"] #appView .app-body {
    top: var(--suite-header);
    grid-template-columns: 280px minmax(0, 1fr);
  }
  body[data-app="locket"] #appView .panel-right {
    border: 1px solid var(--border);
    border-radius: var(--suite-radius-shell);
    background: var(--surface);
    padding: 18px 16px;
  }
  body[data-app="locket"] #appView .panel-right.open { display: flex; }
  body[data-app="locket"] #appView .gh-msg-btn { display: flex; }
}

@media (max-width: 960px) {
  body[data-app="login"] .auth-container,
  body[data-app="locket"] .login-wrap,
  body[data-app="video"] .hero-grid {
    grid-template-columns: 1fr;
  }

  body[data-app="login"] .auth-showcase,
  body[data-app="login"] .auth-card {
    grid-column: 1;
  }
  body[data-app="login"] .auth-showcase { grid-row: auto; }
  body[data-app="login"] .auth-card { max-width: 560px; margin: 0; }
  body[data-app="login"] .showcase-terminal { display: none; }

  body[data-app="locket"] .locket-showcase { max-width: 640px; }
  body[data-app="locket"] .locket-preview { display: none; }
  body[data-app="locket"] .login-card { max-width: 520px; }

  body[data-app="video"] .video-console { display: none; }
}

@media (max-width: 720px) {
  :root { --suite-header: 60px; }

  body[data-app="login"] .auth-container,
  body[data-app="locket"] .login-wrap,
  body[data-app="dashboard"] .wrap,
  body[data-app="account"] .wrap {
    padding: 32px 16px 64px;
  }

  body[data-app="login"] .auth-container { gap: 28px; }
  body[data-app="login"] .auth-showcase h2,
  body[data-app="locket"] .locket-showcase h2,
  body[data-app="video"] .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 40px);
    overflow-wrap: break-word;
  }
  body[data-app="login"] .auth-showcase > p,
  body[data-app="locket"] .locket-showcase > p { margin-top: 16px; font-size: 14px; }
  body[data-app="login"] .showcase-points { display: none; }
  body[data-app="login"] .auth-card,
  body[data-app="locket"] .login-card { padding: 28px 22px; }

  body[data-app="locket"] #appView .gh { padding: 0 12px; }
  body[data-app="locket"] #appView .app-body {
    top: var(--suite-header);
    bottom: var(--tabbar-h);
    border: 0;
  }

  body[data-app="email"] .hd {
    height: calc(var(--suite-header) + env(safe-area-inset-top));
    min-height: calc(var(--suite-header) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
    gap: 8px;
    flex-wrap: nowrap;
  }
  body[data-app="email"] .hd-left { min-width: 0; flex: 1 1 auto; }
  body[data-app="email"] .hd-center { display: none; }
  body[data-app="email"] :where(.hd-menu, .hd-ibtn) {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  body[data-app="email"] .hd-product { display: none; }
  body[data-app="email"] .ws { min-height: 0; border: 0; }
  body[data-app="email"] .ct { min-width: 0; min-height: 0; padding: 0; }
  body[data-app="email"] .ct-card { border: 0; border-radius: 0; }
  body[data-app="email"] .ct-bar {
    min-height: 60px;
    padding: 8px 10px;
    gap: 6px;
  }
  body[data-app="email"] :where(.ct-bar-title, .ct-bar-accent, #navBadge) { display: none; }
  body[data-app="email"] .ct-bar-right {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    gap: 6px;
    flex-wrap: nowrap;
  }
  body[data-app="email"] .tb-search {
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    flex: 1 1 0;
  }
  body[data-app="email"] .tb-icon,
  body[data-app="email"] .tb-sort {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }
  body[data-app="email"] .tb-sort span { display: none; }
  body[data-app="email"] .mob-addr {
    min-width: 0;
    padding: 8px 10px;
    gap: 6px;
  }
  body[data-app="email"] :where(.mob-addr-copy, .mob-addr-new, .mob-addr-hist, .mob-addr-lock) {
    min-width: 44px;
    height: 44px;
  }
  body[data-app="email"] :where(.ct-inner, .ct-grid, .el, .el-list) {
    min-width: 0;
    max-width: 100%;
  }
  body[data-app="email"] .sb {
    width: min(320px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
  }
  body[data-app="email"] .email-suite-host {
    display: block;
    flex: 0 0 auto;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  body[data-app="email"] .email-suite-label {
    display: block;
    margin: 0 4px 8px;
    color: var(--text3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav-slot {
    display: block;
    width: 100%;
    min-width: 0;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline {
    display: flex;
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    overflow: visible;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline .nav-pill {
    display: grid;
    width: 100%;
    min-width: 100%;
    flex: 1 0 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    overflow: visible;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline .nav-pill a {
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    justify-content: flex-start;
    gap: 6px;
    overflow: hidden;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline :where(.nav-label, .nav-username) {
    display: inline;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline .nav-thumb,
  body[data-app="email"] .email-suite-host #ducdz-nav.inline > :where(.nav-paint-wrap, .nav-bell-wrap) {
    display: none;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline > .nav-signin,
  body[data-app="email"] .email-suite-host #ducdz-nav.inline > .nav-user-wrap {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    flex: 1 0 100%;
  }
  body[data-app="email"] .email-suite-host #ducdz-nav.inline .nav-signin,
  body[data-app="email"] .email-suite-host #ducdz-nav.inline .nav-user {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  body[data-app="photos"] .main { height: 100%; }
  body[data-app="photos"] .pt { height: auto; min-height: var(--suite-header); }
  body[data-app="photos"] .view { padding-right: 14px; padding-left: 14px; }

  body[data-app="dashboard"] .top,
  body[data-app="account"] .top { min-height: 72px; padding-bottom: 18px; }
  body[data-app="dashboard"] .gate,
  body[data-app="account"] .gate { padding: 32px 22px; }

  body[data-app="video"] .hero { padding-top: 46px; }
}

@media (max-width: 820px) {
  body[data-app="locket"] #appView .gh {
    height: calc(60px + var(--safe-top));
    padding-top: var(--safe-top);
  }
  body[data-app="locket"] #appView .app-body {
    top: calc(60px + var(--safe-top));
    bottom: var(--tabbar-h);
  }
  body[data-app="locket"] #appView :where(.panel-left, .panel-right) {
    padding: 14px max(14px, var(--safe-right)) 16px max(14px, var(--safe-left));
  }
  body[data-app="locket"] #appView #friendsList .fr-item { padding-right: 48px; }
  body[data-app="locket"] #appView .feed { gap: 12px; }
  body[data-app="locket"] #profileCol.mactive { top: calc(60px + var(--safe-top)); }
}

@media (max-width: 520px) {
  body[data-app="locket"] #appView .feed { gap: 10px; }
  body[data-app="locket"] #ducdz-nav-slot { display: none; }
}

@media (max-width: 380px) {
  body[data-app="email"] :where(.mob-addr-hist, .mob-addr-new) { display: none; }
}

html[data-suite="checklist"],
html[data-suite="checklist"][data-theme] {
  --suite-bg: #f4f3ee;
  --suite-surface: #faf9f5;
  --suite-ink: #26211c;
  --suite-muted: #625b54;
  --suite-line: #adb8b0;
  --suite-line-strong: #819487;
  --suite-blue: #dce6f0;
  --suite-sand: #f0ead8;
  --suite-lavender: #e5e3e8;
  --suite-peach: #f0e3db;
  --suite-sage: #e3e8e4;
  --suite-accent: #3d6454;
  --suite-accent-hover: #315345;
  --suite-on-accent: #ffffff;
  --suite-header: 57px;
  --suite-radius-shell: 24px;
  --suite-radius-card: 20px;
  --suite-radius-control: 12px;
  --suite-radius-compact: 10px;
  --bg: var(--suite-bg);
  --bg2: var(--suite-sand);
  --surface: var(--suite-surface);
  --surface-2: var(--suite-bg);
  --surface-3: var(--suite-sage);
  --card: var(--suite-surface);
  --card2: var(--suite-bg);
  --panel: var(--suite-surface);
  --panel2: var(--suite-bg);
  --text: var(--suite-ink);
  --text2: var(--suite-muted);
  --text3: var(--suite-muted);
  --muted: var(--suite-muted);
  --t1: var(--suite-ink);
  --t2: var(--suite-muted);
  --t3: var(--suite-muted);
  --border: var(--suite-line);
  --border-l: var(--suite-line);
  --border-s: var(--suite-line-strong);
  --brand: var(--suite-accent) !important;
  --brand-2: var(--suite-accent-hover) !important;
  --brand-light: var(--suite-accent);
  --brand-2-light: var(--suite-accent-hover);
  --brand-dark: var(--suite-accent);
  --brand-2-dark: var(--suite-accent-hover);
  --accent: var(--suite-accent) !important;
  --accent-2: var(--suite-accent-hover);
  --brand-soft: var(--suite-sage);
  --brand-glow: transparent;
  --hero-glow: transparent;
  --gradient: var(--suite-accent);
  --text-on-brand: var(--suite-on-accent);
  --hover: color-mix(in srgb, var(--suite-ink) 5%, transparent);
  --active: var(--suite-sage);
  --focus: var(--suite-accent);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: 0 8px 28px rgb(38 33 28 / 10%);
  --shadow-xl: 0 16px 48px rgb(38 33 28 / 14%);
  --shadow-float: var(--shadow-xl);
  --input-bg: var(--suite-surface);
  --input-text: var(--suite-ink);
  --input-border: var(--suite-line);
  --input-placeholder: var(--suite-muted);
  --button-bg: var(--suite-surface);
  --button-bg-hover: var(--suite-sage);
  --button-text: var(--suite-ink);
  --button-border: var(--suite-line);
  --button-primary-bg: var(--suite-accent);
  --button-primary-bg-hover: var(--suite-accent-hover);
  --button-primary-text: var(--suite-on-accent);
  --card-bg: var(--suite-surface);
  --card-border: var(--suite-line);
  --card-radius: 20px;
  --card-shadow: none;
  background: var(--suite-bg);
  color: var(--suite-ink);
}

html[data-suite="checklist"][data-theme="dark"] {
  color-scheme: dark;
  --suite-bg: #191b1a;
  --suite-surface: #222522;
  --suite-ink: #f1eee7;
  --suite-muted: #bbb6ad;
  --suite-line: #566359;
  --suite-line-strong: #7e9183;
  --suite-blue: #293540;
  --suite-sand: #353327;
  --suite-lavender: #33313d;
  --suite-peach: #3b302d;
  --suite-sage: #2c3730;
  --suite-accent: #a8cbb6;
  --suite-accent-hover: #c0dccb;
  --suite-on-accent: #191b1a;
  --overlay: rgb(0 0 0 / 60%);
  --shadow-lg: 0 8px 28px rgb(0 0 0 / 24%);
  --shadow-xl: 0 16px 48px rgb(0 0 0 / 32%);
}

html[data-suite="checklist"] body {
  background: var(--suite-bg);
  color: var(--suite-ink);
  font-family: var(--font, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  -webkit-font-smoothing: antialiased;
}
html[data-suite="checklist"] :where(button, input, select, textarea) { font-family: inherit; }
html[data-suite="checklist"] :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--suite-accent);
  outline-offset: 3px;
}
html[data-suite="checklist"] ::selection { background: var(--suite-blue); color: var(--suite-ink); }

html[data-suite="checklist"] .suite-masthead {
  position: relative;
  z-index: 1001;
  height: calc(var(--suite-header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: var(--suite-surface);
  border-bottom: 1px solid var(--suite-line);
}
html[data-suite="checklist"] body[data-app="locket"] .suite-masthead {
  position: fixed;
  inset: 0 0 auto;
}
html[data-suite="checklist"] .suite-header-inner {
  width: min(1200px, calc(100% - 48px));
  height: var(--suite-header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
html[data-suite="checklist"] .suite-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  color: var(--suite-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.3px;
  text-decoration: none;
  white-space: nowrap;
}
html[data-suite="checklist"] .suite-brand-mark { width: 25px; height: 25px; flex-shrink: 0; }
html[data-suite="checklist"] .suite-brand-product { font-weight: 400; color: var(--suite-muted); margin-left: 3px; }
html[data-suite="checklist"] .suite-header-inner #ducdz-nav-slot {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  margin: 0;
}
html[data-suite="checklist"] #ducdz-nav.suite-navigation.inline {
  display: flex;
  position: static;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  gap: 17px;
  color: var(--suite-ink);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none;
  backdrop-filter: none;
  overflow: visible !important;
}
html[data-suite="checklist"] .suite-site-links { display: flex; align-items: center; gap: 26px; margin-right: auto; margin-left: auto; }
html[data-suite="checklist"] :is(.suite-home-link, .suite-apps > summary) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--suite-muted);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
html[data-suite="checklist"] :is(.suite-home-link:hover, .suite-apps[open] > summary, .suite-apps > summary:hover) { color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-home-link { font-size: 13px; font-weight: 400; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .suite-apps { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
html[data-suite="checklist"] .suite-apps > summary { list-style: none; }
html[data-suite="checklist"] .suite-apps > summary::-webkit-details-marker { display: none; }
html[data-suite="checklist"] .suite-apps > summary svg { width: 13px; height: 13px; }
html[data-suite="checklist"] #ducdz-nav svg { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  width: 360px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 2px solid var(--suite-line-strong);
  border-radius: 14px;
  background: var(--suite-surface);
  box-shadow: 0 12px 32px rgb(20 32 24 / 16%);
  white-space: normal;
}
html[data-suite="checklist"] #ducdz-nav .suite-apps:not([open]) > .suite-apps-menu { display: none; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu,
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu * { box-sizing: border-box; }
html[data-suite="checklist"] #ducdz-nav .suite-menu-label { display: block; padding: 10px 12px 7px; font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--suite-muted); text-transform: uppercase; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu a { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 100%; min-width: 0; padding: 12px; border: 1px solid transparent; color: var(--suite-ink); font-weight: 400; text-decoration: none; border-radius: 9px; white-space: normal; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu a:hover { background: var(--hover); border-color: var(--suite-line); }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu a[aria-current="page"] { background: var(--suite-sage); border-color: var(--suite-line); }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; gap: 4px; min-width: 0; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu strong { font-size: 14px; font-weight: 600; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu small { font-size: 12px; font-weight: 400; line-height: 1.45; color: var(--suite-muted); white-space: normal; overflow-wrap: anywhere; }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--suite-line); border-radius: 10px; background: var(--suite-sage); color: var(--suite-accent); }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon svg { width: 20px; height: 20px; }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon--email { background: var(--suite-blue); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon--locket { background: var(--suite-sand); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon--tiktok { background: var(--suite-peach); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon--video { background: var(--suite-lavender); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-app-icon--animation { background: var(--suite-peach); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu a[aria-current="page"].suite-docs-link { background: transparent; color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .suite-app-current { margin-left: auto; flex-shrink: 0; font-size: 10px; color: var(--suite-accent); white-space: nowrap; }
html[data-suite="checklist"] #ducdz-nav .suite-apps-menu .suite-docs-link { margin-top: 6px; padding-top: 14px; border: 0; border-top: 1px solid var(--suite-line); border-radius: 0; font-size: 12px; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .suite-docs-link svg { width: 15px; height: 15px; margin-left: auto; }
html[data-suite="checklist"] #ducdz-nav :is(.nav-signin, .nav-user, .nav-bell, .suite-theme-toggle) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  color: var(--suite-muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}
html[data-suite="checklist"] #ducdz-nav :is(.nav-signin, .nav-user, .nav-bell, .suite-theme-toggle):hover { color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .nav-signin .nav-icon { display: none; }
html[data-suite="checklist"] #ducdz-nav .nav-signin .nav-label { display: inline; }
html[data-suite="checklist"] #ducdz-nav :is(.nav-bell, .suite-theme-toggle) { width: 30px; }
html[data-suite="checklist"] .suite-theme-toggle svg { width: 17px; height: 17px; }
html[data-suite="checklist"] .suite-theme-sun, html[data-suite="checklist"][data-theme="dark"] .suite-theme-moon { display: none; }
html[data-suite="checklist"][data-theme="dark"] .suite-theme-sun { display: block; }
html[data-suite="checklist"] #ducdz-nav .nav-avatar { background: var(--suite-sage); color: var(--suite-ink); border-radius: 8px; }
html[data-suite="checklist"] #ducdz-nav .nav-menu {
  background: var(--suite-surface);
  border-color: var(--suite-line);
  border-radius: 14px;
  padding: 6px;
}
html[data-suite="checklist"] #ducdz-nav .nav-menu :is(a, button) { border-radius: 8px; }
@media (max-width: 720px) {
  html[data-suite="checklist"] .suite-header-inner { width: calc(100% - 32px); gap: 16px; }
  html[data-suite="checklist"] .suite-brand-product { display: none; }
  html[data-suite="checklist"] #ducdz-nav .suite-home-link { display: none; }
  html[data-suite="checklist"] .suite-site-links { margin-left: 0; }
  html[data-suite="checklist"] #ducdz-nav.suite-navigation.inline { gap: 12px; }
  html[data-suite="checklist"] #ducdz-nav .nav-username { display: none; }
  html[data-suite="checklist"] #ducdz-nav .suite-apps-menu { position: fixed; top: calc(var(--suite-header) + env(safe-area-inset-top) + 8px); left: auto; right: 12px; }
}
@media (max-width: 360px) {
  html[data-suite="checklist"] .suite-header-inner { width: calc(100% - 24px); gap: 12px; }
  html[data-suite="checklist"] #ducdz-nav.suite-navigation.inline { gap: 8px; }
  html[data-suite="checklist"] #ducdz-nav .nav-signin { font-size: 12px; }
  html[data-suite="checklist"] .suite-apps > summary { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-suite="checklist"] *, html[data-suite="checklist"] *::before,
  html[data-suite="checklist"] *::after { scroll-behavior: auto !important; }
}

/* This panel lives inside shared navigation. Scope every interactive rule so
   legacy navigation link/button layout cannot turn its rows into columns. */
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center { position: relative; flex: 0 0 auto; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center * { box-sizing: border-box; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center [hidden] { display: none !important; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center button,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center a { font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.45; white-space: normal; text-decoration: none; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-width: 34px; padding: 7px; border: 1px solid var(--suite-line); border-radius: 10px; background: var(--suite-sage); color: var(--suite-accent); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell svg { width: 18px; height: 18px; stroke-width: 1.6; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell:hover,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell[aria-expanded="true"] { border-color: var(--suite-line-strong); background: var(--suite-sage); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell-dot { display: block; min-width: 18px; height: 18px; top: -6px; right: -6px; padding: 0 4px; border: 2px solid var(--suite-surface); background: var(--suite-accent); color: var(--suite-on-accent); font-size: 10px; line-height: 14px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes { position: absolute; right: -8px; top: calc(100% + 11px); width: 420px; max-width: calc(100vw - 24px); max-height: min(720px, calc(100dvh - 88px)); margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--suite-line-strong); border-radius: 18px; background: var(--suite-surface); color: var(--suite-ink); box-shadow: 0 16px 48px rgba(0,0,0,.18); text-align: left; white-space: normal; z-index: 1100; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes:not(.open) { visibility: hidden; opacity: 0; pointer-events: none; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--suite-line); background: var(--suite-blue); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head h2 { margin: 0 0 2px; font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head > div > span { font-size: 11px; color: var(--suite-muted); font-weight: 400; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head-actions { display: flex; align-items: center; gap: 6px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head-actions button { display: flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 32px; padding: 7px; border: 1px solid var(--suite-line); border-radius: 8px; background: var(--suite-surface); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center svg { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filters { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filter-buttons { display: flex; gap: 4px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filter-buttons button { display: block; min-width: 0; padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; color: var(--suite-muted); background: transparent; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filter-buttons button[aria-pressed="true"] { border-color: var(--suite-line); background: var(--suite-sage); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-source { min-width: 0; max-width: 46%; display: block; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-source select { width: 100%; min-width: 0; height: 32px; padding: 4px 26px 4px 8px; font-family: inherit; font-size: 11px; border: 1px solid var(--suite-line); border-radius: 8px; background-color: var(--suite-surface); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-sort { margin: 0; padding: 0 16px 10px; font-size: 10px; line-height: 1.4; font-weight: 400; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-list { display: grid; grid-template-columns: minmax(0,1fr); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note { display: flex; width: 100%; min-width: 0; gap: 11px; padding: 14px 16px; border-top: 1px solid var(--suite-line); border-left: 3px solid transparent; background: var(--suite-surface); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note.unread { border-left-color: var(--suite-accent); background: var(--suite-sage); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-icon,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-setting-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; border: 1px solid var(--suite-line); border-radius: 10px; background: var(--suite-sand); color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center [data-source="email"].ducdz-note-icon,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center [data-source="email"].ducdz-notes-setting-icon { background: var(--suite-blue); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center [data-source="video"].ducdz-note-icon,
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center [data-source="video"].ducdz-notes-setting-icon { background: var(--suite-lavender); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-copy { min-width: 0; flex: 1 1 auto; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; line-height: 1.4; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-meta > span:first-child { min-width: 0; overflow-wrap: anywhere; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-read-state { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-unread-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--suite-accent); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-open { display: block; width: 100%; padding: 4px 0 0; margin: 0; border: 0; border-radius: 0; min-width: 0; background: transparent; color: var(--suite-ink); text-align: left; cursor: pointer; white-space: normal; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-open:hover { color: var(--suite-ink); background: transparent; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-open strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-description { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; line-height: 1.5; color: var(--suite-muted); overflow-wrap: anywhere; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-action { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--suite-accent); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-bottom time { font-size: 10px; font-weight: 400; line-height: 1.4; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-timestamp { display: block; padding: 1px 0; min-width: 0; border: 0; border-radius: 0; background: transparent; text-align: left; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-timestamp time { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-full-time { display: block; width: 100%; font-size: 10px; font-weight: 400; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note-read { display: block; padding: 1px 0; border: 0; border-radius: 0; background: transparent; color: var(--suite-accent); font-size: 10px; font-weight: 500; text-align: left; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 36px 28px; min-height: 170px; color: var(--suite-muted); font-size: 12px; font-weight: 400; line-height: 1.55; text-align: center; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-empty > svg { width: 28px; height: 28px; color: var(--suite-accent); margin-bottom: 2px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-empty strong { display: block; color: var(--suite-ink); font-size: 13px; font-weight: 600; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-warning { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 0 14px 10px; padding: 12px; border: 1px solid var(--suite-line); border-radius: 10px; background: var(--suite-peach); color: var(--suite-ink); font-size: 11px; line-height: 1.5; font-weight: 400; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-warning button { display: block; padding: 4px 8px; border: 1px solid var(--suite-line-strong); border-radius: 6px; background: var(--suite-surface); color: var(--suite-ink); font-size: 11px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-loading { padding: 16px; font-size: 12px; font-weight: 400; color: var(--suite-muted); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-status { margin: 0; padding: 10px 16px; border-top: 1px solid var(--suite-line); border-bottom: 1px solid var(--suite-line); background: var(--suite-sage); color: var(--suite-ink); font-size: 11px; font-weight: 400; line-height: 1.5; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-status[data-error="true"] { background: var(--suite-peach); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 12px 14px; border-top: 1px solid var(--suite-line); background: var(--suite-sand); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-footer button { display: block; min-width: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--suite-accent); font-size: 10px; font-weight: 600; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center button:disabled { cursor: default; opacity: .6; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center :is(button,a,select,input):focus-visible { outline: 2px solid var(--suite-accent); outline-offset: 3px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-settings-panel { min-height: 0; padding: 18px 16px; overflow-y: auto; overscroll-behavior: contain; font-size: 12px; font-weight: 400; line-height: 1.5; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-settings-panel h3 { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--suite-ink); }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-setting { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-setting strong { display: block; font-size: 13px; font-weight: 600; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-setting > div { min-width: 0; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-setting > div > span { display: block; font-size: 11px; font-weight: 400; color: var(--suite-muted); overflow-wrap: anywhere; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-settings-panel p { margin: 6px 0 12px; color: var(--suite-muted); font-size: 11px; line-height: 1.5; font-weight: 400; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-checkbox { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; color: var(--suite-ink); font-size: 12px; line-height: 1.5; white-space: normal; cursor: pointer; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--suite-accent); flex: 0 0 auto; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-email-link { display: block; width: 100%; padding: 4px 0; color: var(--suite-accent); font-size: 11px; font-weight: 500; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center #ducdz-notes-save { display: block; width: 100%; margin: 20px 0 0; padding: 10px 14px; border: 1px solid var(--suite-accent); border-radius: 10px; background: var(--suite-accent); color: var(--suite-on-accent); font-size: 12px; font-weight: 600; text-align: center; }
html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-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; }
@media (max-width: 720px) {
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes { position: fixed; top: calc(65px + env(safe-area-inset-top)); left: auto; right: 12px; width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .nav-bell { width: 30px; min-width: 30px; height: 32px; padding: 6px; }
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-head-actions button { width: 36px; min-width: 36px; height: 36px; padding: 9px; }
}
@media (max-width: 360px) {
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filters { gap: 6px; padding-left: 10px; padding-right: 10px; }
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-filter-buttons button { padding: 6px 7px; font-size: 11px; }
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-notes-source select { padding-left: 5px; padding-right: 20px; font-size: 10px; }
  html[data-suite="checklist"] #ducdz-nav .ducdz-notification-center .ducdz-note { padding-left: 10px; padding-right: 10px; gap: 8px; }
}
