:root {
  --dgpd-aqua: #69BDAC;
  --dgpd-turquoise: #59BAC4;
  --dgpd-blue-soft: #4EA1C0;
  --dgpd-blue: #4B88B7;
  --dgpd-blue-deep: #4A70AB;
  --dgpd-violet: #4A519C;
  --dgpd-ink: #17203A;
  --dgpd-muted: #5F6673;
  --dgpd-surface: #FFFFFF;
  --dgpd-bg: #F3F8FA;
  --dgpd-border: rgba(74, 81, 156, 0.14);
  --dgpd-radius: 15px;
  --dgpd-shadow: 0 18px 50px rgba(23, 32, 58, 0.08);
}

.dgpd-shell,
.dgpd-shell *,
.dgpd-login,
.dgpd-login * {
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

.dgpd-shell {
  width: 100%;
  padding: 28px;
  color: var(--dgpd-ink);
  background:
    radial-gradient(circle at 5% 5%, rgba(105, 189, 172, 0.16), transparent 24%),
    radial-gradient(circle at 96% 2%, rgba(74, 81, 156, 0.12), transparent 26%),
    linear-gradient(135deg, #F3FCFA 0%, #F7FAFC 52%, #F4F5FC 100%);
}

.dgpd-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  width: min(1440px, 100%);
  min-height: 720px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  box-shadow: var(--dgpd-shadow);
  backdrop-filter: blur(12px);
}

.dgpd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 20px;
  color: #fff;
  background: linear-gradient(165deg, var(--dgpd-violet), var(--dgpd-blue-deep) 54%, var(--dgpd-blue));
}

.dgpd-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.dgpd-brand-mark { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); border-radius: 15px; }
.dgpd-brand svg { width: 24px; }
.dgpd-brand strong, .dgpd-brand small { display: block; }
.dgpd-brand strong { font-size: 16px; font-weight: 800; }
.dgpd-brand small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 11px; }

.dgpd-nav { display: grid; gap: 7px; }
.dgpd-nav-button { width: 100%; min-height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.78); background: transparent; border: 1px solid transparent; border-radius: 15px; cursor: pointer; font-size: 13px; font-weight: 700; text-align: left; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.dgpd-nav-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-nav-button:hover, .dgpd-nav-button.is-active { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.dgpd-nav-button:focus-visible, .dgpd-shell a:focus-visible, .dgpd-shell button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.dgpd-sidebar-help { margin-top: auto; padding: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 15px; }
.dgpd-sidebar-help > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 12px; background: rgba(255,255,255,.14); border-radius: 12px; }
.dgpd-sidebar-help svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-sidebar-help strong { display: block; font-size: 13px; }
.dgpd-sidebar-help a { display: inline-block; margin-top: 6px; color: #fff; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.dgpd-main { min-width: 0; padding: 36px 40px 48px; background: rgba(249, 251, 253, .78); }
.dgpd-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dgpd-eyebrow, .dgpd-kicker { margin: 0 0 6px; color: var(--dgpd-violet); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dgpd-topbar h1 { margin: 0; color: var(--dgpd-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.dgpd-topbar p:not(.dgpd-eyebrow) { margin: 6px 0 0; color: var(--dgpd-muted); font-size: 14px; }
.dgpd-primary-action { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff !important; background: linear-gradient(135deg, var(--dgpd-aqua), var(--dgpd-turquoise)); border: 1px solid rgba(89,186,196,.55); border-radius: 15px; box-shadow: 0 10px 25px rgba(89,186,196,.22); font-size: 13px; font-weight: 800; text-decoration: none !important; white-space: nowrap; transition: background .2s ease, box-shadow .2s ease; }
.dgpd-primary-action:hover { background: linear-gradient(135deg, var(--dgpd-turquoise), var(--dgpd-blue)); box-shadow: 0 12px 28px rgba(74,136,183,.23); }
.dgpd-primary-action svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.dgpd-panel[hidden] { display: none !important; }
.dgpd-panel { animation: dgpd-fade .2s ease both; }
@keyframes dgpd-fade { from { opacity: 0; } to { opacity: 1; } }

.dgpd-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.dgpd-metric { min-width: 0; padding: 18px; display: flex; align-items: flex-start; gap: 13px; background: var(--dgpd-surface); border: 1px solid var(--dgpd-border); border-radius: 15px; box-shadow: 0 8px 24px rgba(23,32,58,.045); }
.dgpd-metric > span { flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(105,189,172,.13); border-radius: 13px; }
.dgpd-metric svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-metric p { margin: 0; color: var(--dgpd-muted); font-size: 11px; font-weight: 700; }
.dgpd-metric strong { display: block; margin: 2px 0; color: var(--dgpd-ink); font-size: 25px; line-height: 1; font-weight: 800; }
.dgpd-metric small { display: block; overflow: hidden; color: #7A8190; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.dgpd-grid { display: grid; gap: 18px; }
.dgpd-grid-main { grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); }
.dgpd-card { padding: 24px; background: var(--dgpd-surface); border: 1px solid var(--dgpd-border); border-radius: 15px; box-shadow: 0 10px 28px rgba(23,32,58,.05); }
.dgpd-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dgpd-card-heading > div { display: flex; align-items: center; gap: 12px; }
.dgpd-card-heading h2, .dgpd-section-header h2, .dgpd-subheading h2, .dgpd-support-card h2 { margin: 0; color: var(--dgpd-ink); font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.dgpd-card-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(74,81,156,.08); border-radius: 13px; }
.dgpd-card-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-text-button { min-height: 44px; padding: 0 8px; color: var(--dgpd-violet); background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; }

.dgpd-next-appointment { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px; background: linear-gradient(135deg, rgba(105,189,172,.1), rgba(78,161,192,.08)); border: 1px solid rgba(89,186,196,.2); border-radius: 15px; }
.dgpd-date-tile { width: 62px; height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, var(--dgpd-aqua), var(--dgpd-blue)); border-radius: 15px; box-shadow: 0 9px 20px rgba(74,136,183,.18); text-align: center; }
.dgpd-date-tile strong { font-size: 22px; line-height: 1; }
.dgpd-date-tile span { margin-top: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dgpd-next-copy h3, .dgpd-appointment-primary h3 { margin: 0 0 7px; color: var(--dgpd-ink); font-size: 15px; font-weight: 800; }
.dgpd-next-copy p { margin: 4px 0; display: flex; align-items: center; gap: 7px; color: var(--dgpd-muted); font-size: 11px; }
.dgpd-next-copy svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dgpd-status { min-height: 29px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.dgpd-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dgpd-status.is-success { color: #13735E; background: #E8F8F2; border-color: #BCE8DA; }
.dgpd-status.is-pending { color: #8A5A00; background: #FFF8E6; border-color: #F1D99B; }
.dgpd-status.is-danger { color: #A43C3C; background: #FFF0F0; border-color: #F2CACA; }
.dgpd-status.is-complete { color: #385B90; background: #EEF4FC; border-color: #CDDBEF; }
.dgpd-status.is-muted { color: #5F6673; background: #F3F4F6; border-color: #E1E4E8; }

.dgpd-quick-links { display: grid; gap: 9px; }
.dgpd-quick-links button, .dgpd-quick-links a { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; color: var(--dgpd-ink) !important; background: #FAFCFD; border: 1px solid var(--dgpd-border); border-radius: 13px; cursor: pointer; text-align: left; text-decoration: none !important; transition: border-color .2s ease, background .2s ease; }
.dgpd-quick-links button:hover, .dgpd-quick-links a:hover { background: #F5FBFB; border-color: rgba(89,186,196,.42); }
.dgpd-quick-links svg { width: 20px; flex: 0 0 20px; color: var(--dgpd-violet); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-quick-links strong, .dgpd-quick-links small { display: block; }
.dgpd-quick-links strong { font-size: 11px; }
.dgpd-quick-links small { margin-top: 2px; color: var(--dgpd-muted); font-size: 9px; }

.dgpd-section-header { margin-bottom: 22px; }
.dgpd-section-header h2 { font-size: clamp(24px, 3vw, 32px); }
.dgpd-section-header > div > p:last-child { max-width: 720px; margin: 8px 0 0; color: var(--dgpd-muted); font-size: 13px; line-height: 1.6; }
.dgpd-section-block { margin-bottom: 24px; }
.dgpd-subheading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.dgpd-subheading span { min-width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(74,81,156,.09); border-radius: 999px; font-size: 10px; font-weight: 800; }

.dgpd-appointment-list, .dgpd-order-list { display: grid; gap: 10px; }
.dgpd-appointment-row { min-height: 92px; padding: 13px 15px; display: grid; grid-template-columns: 62px minmax(160px, 1.2fr) minmax(160px, 1fr) auto auto; align-items: center; gap: 15px; background: #fff; border: 1px solid var(--dgpd-border); border-radius: 15px; }
.dgpd-appointment-row .dgpd-date-tile { width: 54px; height: 58px; }
.dgpd-appointment-row .dgpd-date-tile strong { font-size: 18px; }
.dgpd-appointment-primary p { margin: 0; color: var(--dgpd-muted); font-size: 10px; }
.dgpd-appointment-provider { display: flex; align-items: center; gap: 9px; }
.dgpd-appointment-provider > span { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(74,81,156,.08); border-radius: 12px; }
.dgpd-appointment-provider svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dgpd-appointment-provider small, .dgpd-appointment-provider strong { display: block; }
.dgpd-appointment-provider small { color: var(--dgpd-muted); font-size: 8px; }
.dgpd-appointment-provider strong { margin-top: 2px; font-size: 10px; }
.dgpd-row-action { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet) !important; background: #fff; border: 1px solid rgba(74,81,156,.22); border-radius: 12px; font-size: 9px; font-weight: 800; text-decoration: none !important; white-space: nowrap; cursor: pointer; font-family: "Manrope", sans-serif; }

.dgpd-order-card { min-height: 78px; padding: 15px 16px; display: grid; grid-template-columns: 105px 100px minmax(180px, 1.5fr) 90px auto auto; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--dgpd-border); border-radius: 15px; }
.dgpd-order-card small, .dgpd-order-card strong { display: block; }
.dgpd-order-card small { margin-bottom: 4px; color: var(--dgpd-muted); font-size: 8px; }
.dgpd-order-card strong { color: var(--dgpd-ink); font-size: 10px; font-weight: 700; }
.dgpd-order-number { display: flex; align-items: center; gap: 8px; }
.dgpd-order-number > span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(74,81,156,.08); border-radius: 11px; }
.dgpd-order-number svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dgpd-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dgpd-product-card { position: relative; min-height: 200px; padding: 24px; overflow: hidden; color: var(--dgpd-ink) !important; background: #fff; border: 1px solid var(--dgpd-border); border-radius: 15px; box-shadow: 0 8px 25px rgba(23,32,58,.045); text-decoration: none !important; transition: border-color .2s ease, box-shadow .2s ease; }
.dgpd-product-card:hover { border-color: var(--dgpd-product-color); box-shadow: 0 13px 30px color-mix(in srgb, var(--dgpd-product-color) 18%, transparent); }
.dgpd-product-accent { position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--dgpd-product-color), var(--dgpd-blue-soft)); }
.dgpd-product-content p { margin: 4px 0 12px; color: var(--dgpd-product-color); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dgpd-product-content h2 { min-height: 50px; margin: 0; color: var(--dgpd-ink); font-size: 17px; line-height: 1.35; font-weight: 800; }
.dgpd-product-price { margin-top: 10px; color: var(--dgpd-product-color); font-size: 21px; font-weight: 800; }
.dgpd-product-price del { color: var(--dgpd-muted); font-size: 12px; }
.dgpd-product-link { position: absolute; right: 20px; bottom: 20px; left: 20px; min-height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--dgpd-product-color); border-radius: 12px; font-size: 10px; font-weight: 800; }
.dgpd-product-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dgpd-account-grid { grid-template-columns: 1fr 1fr; }
.dgpd-profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.dgpd-profile-head > span { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--dgpd-aqua), var(--dgpd-violet)); border-radius: 15px; font-size: 17px; font-weight: 800; }
.dgpd-profile-head h2, .dgpd-profile-head p { margin: 0; }
.dgpd-profile-head h2 { font-size: 18px; }
.dgpd-profile-head p { margin-top: 3px; color: var(--dgpd-muted); font-size: 10px; }
.dgpd-profile-list { margin: 0 0 22px; }
.dgpd-profile-list > div { padding: 11px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--dgpd-border); }
.dgpd-profile-list dt { color: var(--dgpd-muted); font-size: 10px; }
.dgpd-profile-list dd { margin: 0; color: var(--dgpd-ink); font-size: 10px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.dgpd-profile-note { margin: 18px 0 0; padding: 14px 15px; color: var(--dgpd-muted); background: rgba(105,189,172,.10); border: 1px solid rgba(89,186,196,.22); border-radius: 15px; font-size: 13px; line-height: 1.55; }
.dgpd-secondary-action { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--dgpd-violet) !important; background: #fff; border: 1px solid rgba(74,81,156,.25); border-radius: 13px; font-size: 10px; font-weight: 800; text-decoration: none !important; }
.dgpd-support-card { color: #fff; background: linear-gradient(145deg, var(--dgpd-violet), var(--dgpd-blue)); border-color: transparent; }
.dgpd-support-card .dgpd-kicker, .dgpd-support-card h2, .dgpd-support-card p { color: #fff; }
.dgpd-support-card > p:not(.dgpd-kicker) { color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.6; }
.dgpd-large-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 18px; background: rgba(255,255,255,.14); border-radius: 15px; }
.dgpd-large-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-support-actions { display: flex; gap: 9px; margin-top: 22px; }
.dgpd-support-actions a { min-height: 44px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; font-size: 10px; font-weight: 800; text-decoration: none !important; }

.dgpd-empty { min-height: 210px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.72); border: 1px dashed rgba(74,81,156,.25); border-radius: 15px; text-align: center; }
.dgpd-empty.compact { min-height: 185px; padding: 22px; }
.dgpd-empty > span { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--dgpd-violet); background: rgba(74,81,156,.08); border-radius: 15px; }
.dgpd-empty svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-empty h3 { margin: 12px 0 5px; font-size: 15px; }
.dgpd-empty p { max-width: 420px; margin: 0; color: var(--dgpd-muted); font-size: 11px; line-height: 1.55; }
.dgpd-empty a, .dgpd-empty button { min-height: 42px; margin-top: 14px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; background: var(--dgpd-violet); border: 0; border-radius: 12px; cursor: pointer; font-size: 10px; font-weight: 800; text-decoration: none !important; }

.dgpd-notice { min-height: 64px; margin-bottom: 18px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid; border-radius: 15px; }
.dgpd-notice > span { flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.dgpd-notice svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-notice strong, .dgpd-notice p { display: block; margin: 0; }
.dgpd-notice strong { font-size: 11px; }
.dgpd-notice p { margin-top: 3px; font-size: 9px; line-height: 1.5; }
.dgpd-notice-warning { color: #775400; background: #FFF9E8; border-color: #F0D89C; }
.dgpd-notice-warning > span { background: rgba(240,216,156,.3); }
.dgpd-notice-info { color: #315985; background: #EFF7FF; border-color: #C7DDF2; }
.dgpd-notice-info > span { background: rgba(78,161,192,.12); }

.dgpd-login { width: 100%; min-height: 600px; padding: 70px 20px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #F1FFFC, #F7FAFC 50%, #F4F4FF); }
.dgpd-login-card { width: min(460px, 100%); padding: 38px; background: rgba(255,255,255,.94); border: 1px solid var(--dgpd-border); border-radius: 24px; box-shadow: var(--dgpd-shadow); }
.dgpd-login-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--dgpd-aqua), var(--dgpd-violet)); border-radius: 15px; }
.dgpd-login-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dgpd-login h1 { margin: 0 0 8px; color: var(--dgpd-ink); font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.dgpd-login-card > p:not(.dgpd-eyebrow) { margin: 0 0 24px; color: var(--dgpd-muted); font-size: 13px; line-height: 1.6; }
.dgpd-login form p { margin: 0 0 15px; }
.dgpd-login label { display: block; margin-bottom: 6px; color: var(--dgpd-ink); font-size: 11px; font-weight: 700; }
.dgpd-login input[type="text"], .dgpd-login input[type="password"] { width: 100%; min-height: 48px; padding: 0 13px; color: var(--dgpd-ink); background: #fff; border: 1px solid var(--dgpd-border); border-radius: 13px; font-size: 14px; outline: none; }
.dgpd-login input:focus { border-color: var(--dgpd-turquoise); box-shadow: 0 0 0 3px rgba(89,186,196,.15); }
.dgpd-login .login-remember label { display: flex; align-items: center; gap: 7px; }
.dgpd-login input[type="submit"] { width: 100%; min-height: 48px; color: #fff; background: linear-gradient(135deg, var(--dgpd-aqua), var(--dgpd-turquoise)); border: 0; border-radius: 13px; cursor: pointer; font-size: 12px; font-weight: 800; }
.dgpd-login-help { margin-top: 18px; display: flex; justify-content: space-between; gap: 15px; color: var(--dgpd-muted); font-size: 9px; }
.dgpd-login-help a { color: var(--dgpd-violet); font-weight: 800; }

@media (max-width: 1180px) {
  .dgpd-shell { padding: 18px; }
  .dgpd-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .dgpd-main { padding: 30px 24px 40px; }
  .dgpd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgpd-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgpd-appointment-row { grid-template-columns: 54px minmax(150px, 1fr) minmax(150px, 1fr) auto; }
  .dgpd-appointment-row .dgpd-row-action { grid-column: 2 / -1; justify-self: start; }
  .dgpd-order-card { grid-template-columns: 100px 90px minmax(150px, 1fr) 80px auto; }
  .dgpd-order-card .dgpd-row-action { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .dgpd-shell { padding: 0; }
  .dgpd-layout { display: block; min-height: 0; border-radius: 0; }
  .dgpd-sidebar { position: sticky; top: 0; z-index: 20; padding: 13px 18px; display: flex; flex-direction: row; align-items: center; gap: 18px; }
  .dgpd-brand { flex: 0 0 auto; }
  .dgpd-brand-mark { width: 40px; height: 40px; }
  .dgpd-brand small { display: none; }
  .dgpd-nav { flex: 1; display: flex; justify-content: flex-end; gap: 4px; }
  .dgpd-nav-button { width: auto; min-width: 46px; padding: 0 10px; justify-content: center; }
  .dgpd-nav-button span { display: none; }
  .dgpd-sidebar-help { display: none; }
  .dgpd-main { padding: 28px 20px 110px; }
  .dgpd-grid-main, .dgpd-account-grid { grid-template-columns: 1fr; }
  .dgpd-topbar { align-items: flex-end; }
}

@media (max-width: 767px) {
  .dgpd-sidebar { position: static; }
  .dgpd-brand { padding: 0; }
  .dgpd-brand strong { font-size: 14px; }
  .dgpd-nav {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    min-height: 76px;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    background: linear-gradient(135deg, rgba(74,81,156,.98), rgba(74,112,171,.98));
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(23,32,58,.26);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .dgpd-nav-button,
  .dgpd-nav-button:hover,
  .dgpd-nav-button:active {
    appearance: none;
    -webkit-appearance: none;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 7px 2px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: rgba(255,255,255,.84) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .dgpd-nav-button.is-active,
  .dgpd-nav-button.is-active:hover {
    color: var(--dgpd-violet) !important;
    background: #fff !important;
    border-color: rgba(255,255,255,.92) !important;
    box-shadow: 0 7px 18px rgba(23,32,58,.18) !important;
  }
  .dgpd-nav-button span {
    display: block;
    width: 100%;
    max-width: 100%;
    color: inherit;
    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .025em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .dgpd-nav-button svg { flex: 0 0 auto; width: 20px; height: 20px; }
  .dgpd-main { padding: 24px 15px calc(122px + env(safe-area-inset-bottom)); }
  .dgpd-topbar { display: block; }
  .dgpd-primary-action { width: 100%; margin-top: 18px; }
  .dgpd-metrics { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dgpd-metric { padding: 13px; display: block; }
  .dgpd-metric > span { width: 36px; height: 36px; margin-bottom: 10px; }
  .dgpd-metric strong { font-size: 22px; }
  .dgpd-metric small { display: none; }
  .dgpd-card { padding: 18px; }
  .dgpd-card-heading { align-items: flex-start; }
  .dgpd-next-appointment { grid-template-columns: 54px minmax(0, 1fr); padding: 14px; }
  .dgpd-next-appointment .dgpd-status { grid-column: 2; justify-self: start; }
  .dgpd-catalog { grid-template-columns: 1fr; }
  .dgpd-product-card { min-height: 190px; }
  .dgpd-appointment-row { padding: 14px; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .dgpd-appointment-provider, .dgpd-appointment-row .dgpd-status, .dgpd-appointment-row .dgpd-row-action { grid-column: 2; justify-self: start; }
  .dgpd-order-card { padding: 15px; grid-template-columns: 1fr 1fr; gap: 15px; }
  .dgpd-order-number, .dgpd-order-items { grid-column: 1 / -1; }
  .dgpd-order-card .dgpd-row-action { grid-column: 1 / -1; justify-self: stretch; }
  .dgpd-profile-list > div { display: block; }
  .dgpd-profile-list dd { margin-top: 4px; text-align: left; }
  .dgpd-login { padding: 30px 14px; }
  .dgpd-login-card { padding: 26px 20px; border-radius: 18px; }
  .dgpd-login-help { display: grid; }
}

@media (max-width: 380px) {
  .dgpd-main { padding-right: 11px; padding-left: 11px; }
  .dgpd-metrics { grid-template-columns: 1fr; }
  .dgpd-nav { right: 6px; left: 6px; gap: 3px; padding: 6px; }
  .dgpd-nav-button span { font-size: 8px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dgpd-shell *, .dgpd-login * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
/* Final accessibility sizing pass */
.dgpd-shell button,
.dgpd-shell a,
.dgpd-login button,
.dgpd-login a { touch-action: manipulation; }
.dgpd-metric p { font-size: 12px; }
.dgpd-metric small { font-size: 11px; }
.dgpd-next-copy p { font-size: 12px; }
.dgpd-status { font-size: 11px; }
.dgpd-quick-links strong { font-size: 12px; }
.dgpd-quick-links small { font-size: 11px; }
.dgpd-section-header > div > p:last-child { font-size: 14px; }
.dgpd-appointment-primary p { font-size: 12px; }
.dgpd-appointment-provider small { font-size: 10px; }
.dgpd-appointment-provider strong { font-size: 12px; }
.dgpd-row-action { font-size: 11px; }
.dgpd-order-card small { font-size: 10px; }
.dgpd-order-card strong { font-size: 12px; }
.dgpd-product-content p { font-size: 10px; }
.dgpd-product-link { font-size: 12px; }
.dgpd-profile-head p,
.dgpd-profile-list dt,
.dgpd-profile-list dd { font-size: 12px; }
.dgpd-secondary-action,
.dgpd-support-actions a { font-size: 12px; }
.dgpd-support-card > p:not(.dgpd-kicker),
.dgpd-empty p { font-size: 13px; }
.dgpd-notice strong { font-size: 12px; }
.dgpd-notice p { font-size: 11px; }
.dgpd-login label { font-size: 12px; }
.dgpd-login-help { font-size: 11px; }


/* DGPD ACCOUNT AND ORDER DIALOG */
.dgpd-account-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: start; }
.dgpd-account-support { grid-column: 1; }
.dgpd-account-form-card { grid-column: 2; grid-row: 1 / span 2; }
.dgpd-form-notice { min-height: 52px; margin: 0 0 18px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid; border-radius: 15px; font-size: 13px; line-height: 1.45; font-weight: 700; }
.dgpd-form-notice svg { flex: 0 0 21px; width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgpd-form-notice.is-success { color: #176B57; background: rgba(105,189,172,.13); border-color: rgba(105,189,172,.35); }
.dgpd-form-notice.is-error { color: #9C3142; background: #FFF5F6; border-color: rgba(156,49,66,.22); }
.dgpd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.dgpd-form-grid label { min-width: 0; display: block; }
.dgpd-form-grid label > span { display: block; margin: 0 0 7px; color: var(--dgpd-ink); font-size: 12px; line-height: 1.35; font-weight: 750; }
.dgpd-form-grid label > span small, .dgpd-password-fields legend small { color: var(--dgpd-muted); font-size: 11px; font-weight: 600; }
.dgpd-field-full { grid-column: 1 / -1; }
.dgpd-account-form input[type="text"], .dgpd-account-form input[type="email"], .dgpd-account-form input[type="tel"], .dgpd-account-form input[type="password"] { width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 0 13px; color: var(--dgpd-ink); background: #fff; border: 1px solid rgba(74,81,156,.20); border-radius: 13px; box-shadow: none; font: 500 14px/1.3 "Manrope", sans-serif; outline: none; }
.dgpd-account-form input:focus { border-color: var(--dgpd-turquoise); box-shadow: 0 0 0 3px rgba(89,186,196,.15); }
.dgpd-password-fields { margin: 24px 0 0; padding: 20px; border: 1px solid var(--dgpd-border); border-radius: 15px; background: rgba(246,251,252,.72); }
.dgpd-password-fields legend { padding: 0 7px; color: var(--dgpd-ink); font-size: 14px; font-weight: 800; }
.dgpd-password-fields > p { margin: 0 0 15px; color: var(--dgpd-muted); font-size: 12px; line-height: 1.5; }
.dgpd-save-profile { min-height: 48px; margin-top: 20px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff !important; background: linear-gradient(135deg, var(--dgpd-aqua), var(--dgpd-turquoise)) !important; border: 1px solid rgba(89,186,196,.5) !important; border-radius: 15px !important; box-shadow: 0 10px 24px rgba(89,186,196,.20); font: 800 13px/1 "Manrope", sans-serif; cursor: pointer; }
.dgpd-save-profile svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

html.dgpd-modal-open { overflow: hidden; }
.dgpd-order-dialog { width: min(780px, calc(100vw - 28px)); max-width: none; max-height: min(86vh, 820px); margin: auto; padding: 0; color: var(--dgpd-ink); background: transparent; border: 0; border-radius: 20px; box-shadow: 0 28px 80px rgba(23,32,58,.28); overflow: hidden; }
.dgpd-order-dialog::backdrop { background: rgba(23,32,58,.58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dgpd-dialog-surface { max-height: min(86vh, 820px); padding: 26px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.dgpd-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--dgpd-border); }
.dgpd-dialog-header h2 { margin: 0; color: var(--dgpd-ink); font-size: clamp(23px, 3vw, 31px); line-height: 1.15; font-weight: 800; }
.dgpd-dialog-header > div > p:last-child { margin: 6px 0 0; color: var(--dgpd-muted); font-size: 12px; }
.dgpd-dialog-header button, .dgpd-dialog-footer button { min-height: 44px; padding: 0 15px; color: var(--dgpd-violet) !important; background: #fff !important; border: 1px solid rgba(74,81,156,.22) !important; border-radius: 13px !important; font: 800 12px/1 "Manrope", sans-serif; cursor: pointer; white-space: nowrap; }
.dgpd-dialog-status { margin-top: 18px; }
.dgpd-order-detail-section { margin-top: 20px; }
.dgpd-order-detail-section > h3 { margin: 0 0 12px; color: var(--dgpd-ink); font-size: 15px; font-weight: 800; }
.dgpd-order-detail-items { display: grid; gap: 10px; }
.dgpd-order-detail-item { padding: 15px; background: linear-gradient(135deg, rgba(105,189,172,.08), rgba(78,161,192,.05)); border: 1px solid rgba(89,186,196,.20); border-radius: 15px; }
.dgpd-order-detail-title { display: flex; justify-content: space-between; gap: 15px; color: var(--dgpd-ink); font-size: 13px; }
.dgpd-order-detail-title span { color: var(--dgpd-violet); font-weight: 800; }
.dgpd-order-meta { margin: 12px 0 0; }
.dgpd-order-meta > div { padding: 6px 0; display: grid; grid-template-columns: minmax(100px, .45fr) minmax(0, 1fr); gap: 12px; border-top: 1px solid rgba(74,81,156,.10); }
.dgpd-order-meta dt, .dgpd-order-meta dd { margin: 0; font-size: 12px; line-height: 1.45; }
.dgpd-order-meta dt { color: var(--dgpd-muted); font-weight: 700; }
.dgpd-order-meta dd { color: var(--dgpd-ink); overflow-wrap: anywhere; }
.dgpd-order-detail-price { margin-top: 10px; color: var(--dgpd-violet); font-size: 14px; font-weight: 800; text-align: right; }
.dgpd-dialog-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dgpd-dialog-columns .dgpd-order-detail-section { padding: 16px; background: #FAFBFD; border: 1px solid var(--dgpd-border); border-radius: 15px; }
.dgpd-order-totals { margin: 0; }
.dgpd-order-totals > div { padding: 8px 0; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--dgpd-border); }
.dgpd-order-totals > div:last-child { border-bottom: 0; }
.dgpd-order-totals dt, .dgpd-order-totals dd { margin: 0; font-size: 12px; }
.dgpd-order-totals dt { color: var(--dgpd-muted); }
.dgpd-order-totals dd { color: var(--dgpd-ink); font-weight: 800; text-align: right; }
.dgpd-billing-details, .dgpd-billing-details p { color: var(--dgpd-muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.dgpd-billing-details p { margin: 0 0 6px; }
.dgpd-dialog-footer { margin-top: 22px; padding-top: 18px; display: flex; justify-content: flex-end; border-top: 1px solid var(--dgpd-border); }

@media (max-width: 900px) {
  .dgpd-account-layout { grid-template-columns: 1fr; }
  .dgpd-account-form-card, .dgpd-account-support { grid-column: 1; grid-row: auto; }
  .dgpd-profile-summary { order: 1; }
  .dgpd-account-form-card { order: 2; }
  .dgpd-account-support { order: 3; }
}
@media (max-width: 600px) {
  .dgpd-form-grid, .dgpd-dialog-columns { grid-template-columns: 1fr; }
  .dgpd-field-full { grid-column: auto; }
  .dgpd-password-fields { padding: 16px; }
  .dgpd-save-profile { width: 100%; }
  .dgpd-order-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 18px); border-radius: 17px; }
  .dgpd-dialog-surface { max-height: calc(100dvh - 18px); padding: 19px 16px; }
  .dgpd-dialog-header { gap: 12px; }
  .dgpd-dialog-header button { min-width: 62px; padding: 0 10px; }
  .dgpd-order-meta > div { grid-template-columns: 1fr; gap: 3px; }
}

