/* My Policy uses the exported account layout and existing Flow C font tokens. */
.dok-my-policy-c { display: flex; flex-direction: column; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); overflow: visible; background: var(--dok-panel); }
.dok-my-policy-c [hidden] { display: none !important; }
.dok-my-policy-c [data-p-ui="status"] { width: calc(100% - 2rem); max-width: 720px; margin: 1rem auto 0; }
.dok-my-policy-c .p-view { width: 100%; }
.dok-my-policy-c .p-content { width: 100%; margin: 0 auto; padding: clamp(1.5rem,4vw,2.5rem) clamp(1rem,4vw,2rem); display: flex; flex-direction: column; gap: 1rem; }
.dok-my-policy-c h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.2; text-align: left; letter-spacing: -.01em; }
.dok-my-policy-c h2, .dok-my-policy-c h3 { margin: 0; }
.dok-my-policy-c button, .dok-my-policy-c input, .dok-my-policy-c textarea { font: inherit; }
.dok-my-policy-c button { -webkit-tap-highlight-color: transparent; }
.dok-my-policy-c button:disabled { cursor: not-allowed; }
.dok-my-policy-c button:disabled:not(.p-button-primary) { opacity: .45; }
.dok-my-policy-c .p-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; }
.dok-my-policy-c .p-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .85rem 1.2rem; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; text-align: center; font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; transition: background .15s,color .15s,border-color .15s,opacity .15s; }
.dok-my-policy-c .p-button svg { flex-shrink: 0; }
.dok-my-policy-c .p-button-primary { background: var(--dok-accent); color: var(--dok-accent-ink); }
.dok-my-policy-c .p-button-primary:hover:not(:disabled) { opacity: .88; }
.dok-my-policy-c .p-button-primary:disabled { background: rgba(159,202,122,.28); color: var(--theme-muted); }
.dok-my-policy-c .p-button-secondary { background: transparent; border: 1px solid var(--theme-border); color: var(--theme-muted); font-size: .85rem; }
.dok-my-policy-c .p-button-secondary:hover:not(:disabled) { border-color: var(--theme-border); color: var(--theme-text); }
.dok-my-policy-c .p-button-danger { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); color: #f87171; padding: .62rem 1.1rem; font-size: .85rem; letter-spacing: .06em; min-height: 38px; }
.dok-my-policy-c .p-button-danger:hover:not(:disabled) { background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.55); }
.dok-my-policy-c .p-button-outline { padding: .3rem .75rem; min-height: 30px; border: 1px solid var(--dok-accent); border-radius: 6px; background: transparent; color: var(--theme-green); font-size: .85rem; letter-spacing: .06em; }
.dok-my-policy-c .p-button-outline:hover:not(:disabled) { background: rgba(159,202,122,.13); }
.dok-my-policy-c .p-button-small { padding: .62rem 1.1rem; font-size: .85rem; letter-spacing: .06em; min-height: 38px; }
.dok-my-policy-c .p-button-full { width: 100%; }
.dok-my-policy-c .p-back { display: inline-flex; align-items: center; align-self: flex-start; gap: .4rem; background: none; border: 0; padding: .3rem 0; min-height: 30px; color: var(--theme-muted); font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .15s; }
.dok-my-policy-c .p-back:hover { color: var(--theme-text); }
.dok-my-policy-c .p-text-button { background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--theme-muted); font-family: var(--dok-body-font); font-weight: 400; font-size: .85rem; transition: color .15s; }
.dok-my-policy-c .p-text-button:hover { color: var(--theme-text); }
.dok-my-policy-c .p-inline-link { border: 0; background: none; color: var(--theme-green); padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.p-auth { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); padding: clamp(2rem,6vw,4rem) clamp(1rem,4vw,2rem); }
.p-auth-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.p-auth-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(159,202,122,.12); border: 1px solid rgba(159,202,122,.28); }
.p-auth-heading { text-align: center; }
.dok-my-policy-c .p-auth-heading h1 { font-size: clamp(1.9rem,3.5vw,2.8rem); text-align: center; margin-bottom: .55rem; }
.p-auth-heading p { font-family: var(--dok-body-font); font-weight: 400; font-size: .92rem; color: var(--theme-muted); line-height: 1.65; max-width: 340px; overflow-wrap: anywhere; }
.p-auth-heading strong { color: var(--theme-text); }
.p-auth-fields { width: 100%; display: flex; flex-direction: column; gap: .6rem; }
.p-auth-fields .p-button { min-height: 48px; }
.dok-my-policy-c .p-input { width: 100%; padding: .9rem 1.2rem; box-sizing: border-box; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-soft); color: var(--theme-text); outline: none; font-family: var(--dok-body-font); font-weight: 400; font-size: .98rem; transition: border-color .2s; }
.dok-my-policy-c .p-input::placeholder { color: var(--theme-muted); }
.dok-my-policy-c .p-input:focus { border-color: rgba(159,202,122,.65); box-shadow: 0 0 0 2px rgba(159,202,122,.15); }
.dok-my-policy-c .p-input[aria-invalid="true"] { border-color: #f87171; }
.p-auth-footnote { color: var(--theme-muted); font-size: .85rem; line-height: 1.5; text-align: center; }
.p-code-boxes { display: flex; justify-content: center; gap: .5rem; max-width: 100%; }
.dok-my-policy-c .p-code-digit { width: clamp(40px,10vw,52px); height: clamp(50px,12vw,62px); min-width: 0; padding: 0; text-align: center; color: var(--theme-secondary); background: var(--theme-surface); border: 2px solid #e2e8f0; border-radius: 10px; outline: none; font-family: var(--dok-button-font); font-weight: 700; font-size: clamp(1.3rem,3vw,1.7rem); transition: border-color .15s; }
.dok-my-policy-c .p-code-digit.is-filled, .dok-my-policy-c .p-code-digit:focus { border-color: #9fca7a; }
.dok-my-policy-c .p-code-digit:focus { box-shadow: 0 0 0 2px rgba(159,202,122,.3); }
.dok-my-policy-c .p-code-digit:disabled { background: #f5f5f5; }
.p-auth-secondary { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.dok-my-policy-c .p-list { max-width: 760px; gap: 2rem; }
.p-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dok-my-policy-c .p-list-heading h1 { margin-bottom: .3rem; }
.p-list-heading p { color: var(--theme-muted); font-size: .85rem; overflow-wrap: anywhere; }
.p-list-heading p span { color: var(--theme-muted); }
.dok-my-policy-c .p-sign-out { padding: .52rem 1.2rem; min-height: 34px; font-size: .85rem; flex-shrink: 0; }
.p-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin: 0; }
.p-stats > div { display: flex; flex-direction: column; border-radius: 10px; background: var(--theme-soft); border: 1px solid var(--theme-border); padding: 1rem 1.1rem; }
.p-stats dd { order: 1; margin: 0; font-family: var(--dok-button-font); font-weight: 700; font-size: clamp(1.5rem,3vw,2rem); color: var(--theme-text); line-height: 1; }
.p-stats dt { order: 2; font-size: .85rem; color: var(--theme-muted); margin-top: .3rem; text-transform: uppercase; letter-spacing: .07em; }
.p-section-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.dok-my-policy-c .p-section-heading h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; color: var(--theme-muted); letter-spacing: .11em; text-transform: uppercase; }
.p-count { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; color: var(--theme-muted); background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 100px; padding: .1rem .5rem; }
.p-section-rule { flex: 1; height: 1px; background: var(--theme-soft); }
.p-policy-list { display: flex; flex-direction: column; gap: .75rem; }
.dok-my-policy-c .p-policy-card { width: 100%; text-align: left; cursor: pointer; background: var(--theme-soft); border: 1px solid var(--theme-border); border-left: 3px solid var(--theme-border); border-radius: 0 12px 12px 0; display: flex; flex-direction: column; padding: 0; gap: 0; color: var(--theme-text); overflow: hidden; transition: background .18s,border-color .18s; }
.dok-my-policy-c .p-policy-card.is-active { background: var(--theme-soft); border-color: var(--theme-border); border-left-color: var(--theme-green); }
.dok-my-policy-c .p-policy-card.is-paid { border-left-color: #16a34a; }
.dok-my-policy-c .p-policy-card:hover { background: var(--theme-soft); border-top-color: var(--theme-border); border-right-color: var(--theme-border); border-bottom-color: var(--theme-border); }
.p-policy-card-body { width: 100%; display: flex; gap: 1.2rem; align-items: stretch; padding: 1.2rem 1.4rem; }
.p-policy-payout { min-width: 80px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; flex-shrink: 0; }
.p-policy-payout .p-label { font-size: .85rem; color: var(--theme-muted); margin-bottom: .2rem; }
.p-policy-payout > strong { font-size: 1.8rem; line-height: 1; color: var(--theme-text); }
.p-policy-card.is-active .p-policy-payout > strong { color: var(--theme-green); }
.p-policy-payout .p-help { margin-top: .22rem; font-size: .85rem; line-height: 1.35; color: var(--theme-muted); }
.p-policy-divider { width: 1px; align-self: stretch; flex-shrink: 0; margin: .15rem 0; background: var(--theme-soft); }
.p-policy-routes { display: flex; flex-direction: column; flex: 1; min-width: 0; justify-content: center; gap: .35rem; }
.p-policy-route { display: grid; grid-template-columns: 68px minmax(0,1fr) 16px minmax(0,1fr) auto; align-items: center; column-gap: .4rem; }
.p-policy-route > span { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-policy-route > :first-child { font-size: .85rem; }
.p-policy-route > svg { justify-self: center; }
.p-policy-route .p-route-date { padding-left: .5rem; font-family: var(--dok-body-font); font-weight: 400; font-size: .85rem; color: var(--theme-muted); }
.p-policy-routes > .p-help { font-size: .85rem; color: var(--theme-muted); margin-top: .1rem; }
.p-policy-chevron { display: flex; align-items: center; flex-shrink: 0; color: var(--theme-muted); padding-left: .25rem; font-size: .85rem; }
.p-policy-card-footer { width: 100%; border-top: 1px solid var(--theme-border); background: var(--theme-soft); padding: .55rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.p-policy-reference { font-family: var(--dok-button-font); font-weight: 700; letter-spacing: .06em; overflow-wrap: anywhere; }
.p-policy-card-footer .p-policy-reference { color: var(--theme-muted); font-size: .85rem; }
.p-badges { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.p-badge { display: inline-flex; align-items: center; gap: .32rem; background: var(--theme-soft); color: var(--theme-muted); font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 100px; white-space: nowrap; }
.p-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; flex-shrink: 0; }
.p-badge.is-active { background: #9fca7a; color: #1c3020; }
.p-badge.is-monitoring, .p-badge.is-processing, .p-badge.is-triggered { background: #fde68a; color: #78350f; }
.p-badge.is-paid { background: #16a34a; color: var(--theme-text); }
.p-badge.is-cancelled, .p-badge.is-declined { background: #dc2626; color: var(--theme-text); }
.p-badge.is-neutral, .p-badge.is-expired { background: var(--theme-soft); color: var(--theme-muted); }
.p-renew-badge { color: var(--theme-green); border: 1px solid var(--dok-accent); border-radius: 100px; padding: .15rem .55rem; font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.dok-my-policy-c .p-detail { max-width: 720px; }
.p-policy-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.15rem 1.35rem; background: var(--theme-soft); border: 1px solid var(--theme-border); border-left: 3px solid var(--dok-accent); border-radius: 0 12px 12px 0; }
.p-policy-header.is-paid { border-left-color: #16a34a; }
.p-policy-header .p-policy-reference { font-size: 1.15rem; color: var(--theme-text); margin-bottom: .3rem; }
.p-policy-meta { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; color: var(--theme-muted); font-size: .85rem; }
.p-section-card { width: 100%; min-width: 0; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 12px; overflow: hidden; }
.p-card-heading { padding: .55rem 1.2rem; border-bottom: 1px solid var(--theme-border); background: var(--theme-soft); display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.dok-my-policy-c .p-card-heading h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; color: var(--theme-muted); text-transform: uppercase; letter-spacing: .12em; }
.p-card-body { padding: 1.1rem 1.2rem; min-width: 0; }
.p-label { display: block; font-size: .85rem; color: var(--theme-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .3rem; }
.p-value { display: block; color: var(--theme-text); font-family: var(--dok-button-font); font-weight: 700; font-size: .92rem; overflow-wrap: anywhere; }
.p-value-accent { color: var(--theme-green); font-size: 1.5rem; line-height: 1; }
.p-help { color: var(--theme-muted); font-size: .85rem; line-height: 1.55; }
.p-data-grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.p-data-item { min-width: 0; }
.p-data-item .p-help { margin-top: .2rem; font-size: .85rem; }
.p-flight { display: flex; flex-direction: column; gap: .55rem; padding-bottom: .85rem; }
.p-flight + .p-flight { border-top: 1px solid var(--theme-border); padding-top: .85rem; }
.p-flight:last-child { padding-bottom: 0; }
.p-flight-route { display: grid; grid-template-columns: 80px minmax(0,1fr) 16px minmax(0,1fr) auto; align-items: center; column-gap: .55rem; }
.p-flight-route > div:first-child strong { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-flight-route > div:first-child small { display: block; font-size: .85rem; color: var(--theme-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-airport { font-family: var(--dok-button-font); font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-flight-route > svg { justify-self: center; }
.p-flight-date { display: flex; align-items: center; gap: .5rem; padding-left: .5rem; font-size: .85rem; color: var(--theme-muted); white-space: nowrap; }
.p-flight-times { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding-left: 80px; }
.p-flight-times > div { display: inline-flex; align-items: baseline; gap: .3rem; }
.p-flight-times .p-label { margin: 0; font-size: .85rem; }
.p-flight-times strong { font-size: .92rem; }
.p-delay-badge { color: var(--p-delay-color,#9fca7a); border: 1px solid currentColor; padding: .15rem .55rem; border-radius: 100px; font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; letter-spacing: .06em; white-space: nowrap; }
.p-delay-badge.is-minor { --p-delay-color: #fbbf24; }
.p-delay-badge.is-delayed { --p-delay-color: #f97316; }
.p-delay-badge.is-major { --p-delay-color: #ef4444; }
.p-documents { display: flex; flex-direction: column; gap: .45rem; }
.dok-my-policy-c .p-document { width: 100%; min-width: 0; text-align: left; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 8px; padding: .7rem 1rem; cursor: pointer; display: flex; align-items: center; gap: .75rem; color: var(--theme-text); transition: background .15s; }
.dok-my-policy-c .p-document:hover { background: var(--theme-soft); }
.p-document-icon { width: 32px; height: 32px; border-radius: 7px; background: rgba(159,202,122,.15); border: 1px solid rgba(159,202,122,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-document-copy { flex: 1; min-width: 0; }
.p-document-copy > span { display: block; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-document-copy small { display: block; font-size: .85rem; color: var(--theme-muted); }
.p-document-pdf { display: flex; align-items: center; gap: .3rem; color: rgba(159,202,122,.65); font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; letter-spacing: .07em; flex-shrink: 0; }
.p-document-pdf i { font-size: .85rem; }
.p-notice { border: 1px solid var(--theme-border); background: var(--theme-soft); border-radius: 8px; padding: .85rem 1rem; color: var(--theme-muted); font-size: .85rem; line-height: 1.55; overflow-wrap: anywhere; }
.p-notice.is-success { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.28); }
.p-notice.is-warning { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.22); }
.p-notice.is-danger { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.28); }
.p-notice strong { color: var(--theme-text); }
.p-empty { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 1.5rem 1rem; text-align: center; }
.p-empty > i { font-size: 2.5rem; opacity: .3; }
.dok-my-policy-c .p-empty h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: .95rem; }
.p-empty p { font-size: .85rem; color: var(--theme-muted); line-height: 1.55; }
.p-empty-panel { background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 12px; }
.p-action-content { display: flex; flex-direction: column; gap: .75rem; }
.p-action-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.p-confirmation { display: flex; flex-direction: column; gap: .6rem; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.28); border-radius: 8px; padding: .9rem 1rem; }
.p-confirmation.is-dispute { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.28); }
.p-confirmation.is-dispute .p-button-danger { color: #fbbf24; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.15); }
.dok-my-policy-c .p-confirmation h3 { font-family: var(--dok-button-font); font-weight: 700; font-size: .88rem; color: var(--theme-text); }
.p-confirmation p { margin-top: .2rem; font-size: .85rem; color: var(--theme-muted); line-height: 1.5; }
.p-request-reason { display: flex; flex-direction: column; gap: .35rem; }
.p-request-reason label { font-size: .85rem; color: var(--theme-muted); }
.p-request-reason label span { color: var(--theme-muted); }
.p-request-reason textarea { resize: vertical; min-height: 80px; }
.p-timeline { display: flex; flex-direction: column; }
.p-timeline-item { display: flex; gap: .85rem; position: relative; }
.p-timeline-marker { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: .1rem; border: 1.5px solid currentColor; background: var(--theme-soft); color: var(--theme-muted); font-size: 10px; }
.p-timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 9.5px; top: 22px; bottom: 0; width: 1px; background: var(--theme-soft); }
.p-timeline-marker.is-purchase { color: #9fca7a; }
.p-timeline-marker.is-upgrade { color: #60a5fa; }
.p-timeline-marker.is-flight { color: var(--theme-muted); }
.p-timeline-marker.is-claim { color: #fbbf24; }
.p-timeline-marker.is-payout { color: #4ade80; }
.p-timeline-content { flex: 1; min-width: 0; padding-bottom: 1rem; }
.p-timeline-item:last-child .p-timeline-content { padding-bottom: 0; }
.p-timeline-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.p-timeline-heading strong { font-size: .85rem; }
.p-timeline-heading time, .p-timeline-heading > span { font-size: .85rem; color: var(--theme-muted); flex-shrink: 0; }
.p-timeline-content p { font-size: .85rem; color: var(--theme-muted); margin-top: .12rem; line-height: 1.5; }
.dok-my-policy-c .p-renew-review { max-width: 600px; gap: 1.2rem; }
.dok-my-policy-c .p-renew-wide { max-width: 880px; gap: 1.2rem; }
.dok-my-policy-c .p-renew-heading h1 { font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: .3rem; }
.p-renew-heading p { color: var(--theme-muted); font-size: .85rem; line-height: 1.6; }
.p-period-notice { background: var(--theme-soft); border: 1px solid rgba(159,202,122,.2); border-left: 3px solid var(--dok-accent); border-radius: 0 10px 10px 0; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .75rem; }
.p-period-notice > svg { color: var(--theme-green); flex-shrink: 0; }
.p-period-notice strong { color: var(--theme-text); font-size: .85rem; }
.p-period-notice p { color: var(--theme-muted); font-size: .85rem; margin-top: .1rem; }
.p-renew-date { display: flex; flex-direction: column; gap: .4rem; }
.p-renew-date input { color-scheme: dark; }
.p-renew-cover { display: flex; flex-direction: column; align-items: center; gap: .75rem; width: 100%; }
.dok-my-policy-c .p-renew-cover h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: 1.4rem; text-align: center; }
.p-renew-cover > .p-help { text-align: center; font-size: .85rem; }
.p-renew-options { display: flex; gap: .75rem; flex-wrap: wrap; width: 100%; }
.dok-my-policy-c .p-renew-options .c-option-card { flex: 1 1 100px; min-height: 190px; }
.dok-my-policy-c .p-renew-options .c-option-title { font-size: clamp(1.5rem,2.5vw,2.3rem); }
.dok-my-policy-c .c-option-card:not(.is-selected) .c-option-tick { visibility: hidden; }
.p-renew-columns { display: flex; align-items: flex-start; gap: 1.1rem; flex-wrap: wrap; }
.p-renew-column { display: flex; flex: 1 1 330px; flex-direction: column; gap: .85rem; min-width: 0; }
.p-renew-cost-column { flex: 1 1 270px; }
.p-summary-panel { background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 12px; padding: 1rem 1.2rem; }
.dok-my-policy-c .p-summary-panel h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; color: var(--theme-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .7rem; }
.p-summary-rows { display: flex; flex-direction: column; gap: .6rem; }
.p-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .85rem; color: var(--theme-muted); }
.p-summary-row > :first-child { flex-shrink: 0; }
.p-summary-row > :last-child { text-align: right; color: var(--theme-text); overflow-wrap: anywhere; }
.p-summary-row strong { font-size: .85rem; }
.p-summary-row.is-total { border-top: 1px solid var(--theme-border); padding-top: .65rem; margin-top: .1rem; color: var(--theme-text); font-family: var(--dok-button-font); font-weight: 700; text-transform: uppercase; }
.p-summary-row.is-total > :last-child { font-size: 1.45rem; line-height: 1.2; }
.p-benefits { display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; color: var(--theme-muted); line-height: 1.5; }
.p-benefit { display: flex; align-items: flex-start; gap: .6rem; }
.p-benefit > svg, .p-benefit > i { flex-shrink: 0; width: 17px; margin-top: 2px; color: var(--theme-green); }
.p-document-notice { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; }
.p-document-notice > i { font-size: 1rem; margin-top: 1px; flex-shrink: 0; color: var(--theme-muted); }
.p-terms { display: flex; gap: .6rem; align-items: flex-start; color: var(--theme-muted); font-size: .85rem; line-height: 1.55; }
.p-terms input { accent-color: #9fca7a; width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; }
.p-terms a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.p-payment-grid { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: start; gap: 1.4rem; }
.p-payment-form, .p-payment-order { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.p-payment-order { gap: .7rem; }
.p-payment-summary { background: var(--theme-soft); border-color: var(--theme-border); padding: 1rem 1.1rem; }
/* Let summary labels wrap without squeezing currency into separate characters. */
.p-payment-summary .p-summary-row { display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: .5rem .8rem; }
.p-payment-summary .p-summary-row > :first-child { min-width: 0; overflow-wrap: break-word; }
.p-payment-summary .p-summary-row > :last-child { white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
.p-payment-summary .p-summary-row.is-total { grid-template-columns: minmax(0,1fr); gap: .6rem; padding-top: 1rem; margin-top: .4rem; }
.p-payment-summary .p-summary-row.is-total > :last-child { color: var(--theme-green); font-size: 1.5rem; }
.dok-my-policy-c .p-renew-success { max-width: 740px; padding-top: clamp(2rem,5vw,3.5rem); align-items: center; gap: 1.4rem; }
.p-success-icon { flex-shrink: 0; animation: p-renew-pop .55s cubic-bezier(.34,1.56,.64,1) both; }
.p-success-heading { text-align: center; animation: p-renew-fade .45s .28s both; }
.dok-my-policy-c .p-success-heading h1 { font-size: clamp(1.9rem,3.5vw,3rem); text-align: center; margin-bottom: .35rem; }
.p-success-heading p { max-width: 520px; color: var(--theme-muted); font-size: .95rem; line-height: 1.6; }
.p-reference-badge { text-align: center; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 10px; padding: .65rem 2rem; animation: p-renew-fade .45s .4s both; }
.p-reference-badge .p-label { color: var(--theme-muted); font-size: .85rem; }
.p-reference-badge strong { color: var(--theme-green); font-size: 1.25rem; letter-spacing: .1em; overflow-wrap: anywhere; }
.p-success-tiles { width: 100%; display: flex; flex-wrap: wrap; gap: .65rem; animation: p-renew-fade .45s .5s both; }
.p-success-tiles > div { flex: 1 1 140px; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 10px; padding: .85rem .9rem; text-align: center; }
.p-success-tiles .p-label { color: var(--theme-muted); font-size: .85rem; }
.p-success-tiles .p-value { font-size: .88rem; }
.p-renew-success > .p-section-card { animation: p-renew-fade .45s .58s both; }
.p-next-steps { width: 100%; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 10px; padding: .95rem 1.2rem; animation: p-renew-fade .45s .65s both; }
.dok-my-policy-c .p-next-steps h2 { font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; color: var(--theme-muted); letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; }
.p-next-steps ol { display: flex; flex-direction: column; gap: .42rem; padding: 0; margin: 0; list-style: none; counter-reset: p-next-step; }
.p-next-steps li { counter-increment: p-next-step; display: flex; align-items: flex-start; gap: .55rem; color: var(--theme-muted); font-size: .85rem; line-height: 1.5; }
.p-next-steps li::before { content: counter(p-next-step); display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0; border-radius: 50%; background: rgba(159,202,122,.25); border: 1px solid rgba(159,202,122,.45); color: var(--theme-green); font-family: var(--dok-button-font); font-weight: 700; font-size: .85rem; }
.p-renew-success > .p-button { animation: p-renew-fade .45s .72s both; }
@keyframes p-renew-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes p-renew-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
    .p-policy-card-body { padding: 1rem; gap: .7rem; }
    .p-policy-payout { min-width: 56px; }
    .p-policy-payout > strong { font-size: 1.45rem; }
    .p-policy-route { grid-template-columns: 55px minmax(0,1fr) 12px minmax(0,1fr); row-gap: .1rem; }
    .p-policy-route .p-route-date { grid-column: 2/-1; padding: 0; font-size: .85rem; }
    .p-policy-route > span { font-size: .85rem; }
    .p-policy-route > :first-child { font-size: .85rem; }
    .p-policy-chevron { display: none; }
    .p-policy-card-footer { padding: .55rem 1rem; gap: .5rem; }
    .p-card-body { padding: 1rem; }
    .p-card-heading { padding: .55rem 1rem; }
    .p-flight-route { grid-template-columns: 68px minmax(0,1fr) 14px minmax(0,1fr); row-gap: .45rem; column-gap: .4rem; }
    .p-flight-date { grid-column: 2/-1; padding: 0; justify-content: space-between; }
    .p-flight-times { padding-left: 0; gap: .5rem; }
    .p-airport { font-size: .85rem; }
    .p-payment-grid { grid-template-columns: minmax(0,1fr); }
    .p-data-grid { gap: 1rem 1.4rem; }
    .p-document { gap: .6rem; }
    .p-document-copy > span { white-space: normal; font-size: .85rem; line-height: 1.4; }
    .p-summary-row { gap: .7rem; }
    .p-summary-row > :first-child { flex-shrink: 1; }
    .dok-my-policy-c .p-renew-options .c-option-card { flex: 1 1 calc(50% - .75rem); width: auto; min-height: 180px; }
}
@media (max-width: 380px) {
    .p-code-boxes { gap: .35rem; }
    .dok-my-policy-c .p-code-digit { width: 39px; }
    .p-stats { gap: .5rem; }
    .p-stats > div { padding: .85rem .65rem; }
    .p-stats dt { font-size: .85rem; }
    .p-policy-card-body { gap: .5rem; padding: .85rem .75rem; }
    .p-policy-route { grid-template-columns: 48px minmax(0,1fr) 10px minmax(0,1fr); column-gap: .25rem; }
    .p-policy-payout { min-width: 48px; }
    .p-policy-payout > strong { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .dok-my-policy-c *, .dok-my-policy-c *::before, .dok-my-policy-c *::after { animation: none !important; transition: none !important; }
}
.dok-my-policy-c .p-airport strong,
.dok-my-policy-c .p-airport span { display: block; }
.dok-my-policy-c .p-pagination { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.dok-my-policy-c .p-pagination .p-button { width: auto; min-width: 90px; }
.dok-my-policy-c .p-pagination [role="status"] { text-align: center; font-size: .85rem; }
.dok-my-policy-c .p-list-retry { margin-bottom: 1rem; }
.dok-my-policy-c .p-policy-payout > .p-unavailable-title { font-size: .95rem; max-width: 100px; line-height: 1.4; }
@media (max-width: 380px) {
    .dok-my-policy-c .p-pagination { gap: .4rem; }
    .dok-my-policy-c .p-pagination .p-button { min-width: 76px; padding-left: .65rem; padding-right: .65rem; }
}

.p-cover-upgrade [data-p-cover-step] { display: flex; flex-direction: column; gap: 1.25rem; }
.p-cover-upgrade [data-p-cover-step][hidden] { display: none; }
.p-cover-upgrade .p-cover-options-title { margin: .5rem 0 0; font-size: 1.25rem; }
.p-cover-upgrade .p-cover-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.p-cover-upgrade .p-cover-actions .p-button-primary { flex: 1; }
.p-cover-upgrade .p-cover-total { font-size: 2rem; color: var(--theme-green); }
.p-cover-upgrade .p-period-notice p { font-size: .85rem; line-height: 1.6; }
.p-cover-upgrade .p-summary-row > :first-child { flex-shrink: 1; }
.p-cover-upgrade .p-renew-options .c-option-card { min-width: 150px; }
@media (max-width: 520px) { .p-cover-upgrade .p-renew-options .c-option-card { flex-basis: 100%; min-height: 160px; } }


/* Open reading canvas shared with purchase and flight registration. */
.dok-my-policy-c {
    --dok-body-font: 'Segoe UI', system-ui, sans-serif;
    --dok-button-font: 'Segoe UI', system-ui, sans-serif;
    color: var(--theme-text); font: 400 16px/1.6 var(--dok-body-font); padding: 0; background: var(--dok-canvas, var(--theme-canvas));
}
.dok-my-policy-c .p-content { background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0 auto; }
.dok-my-policy-c :is(.p-list, .p-detail, .p-native-flight-shell) { max-width: 1100px; }
.dok-my-policy-c .p-auth { min-height: calc(100dvh - 136px); padding: 16px 0; }
.dok-my-policy-c .p-auth-inner { background: transparent; border-radius: 0; border: 0; padding: 32px 24px; max-width: 480px; }
.dok-my-policy-c :is(h1, h2, h3) { color: var(--theme-text); font-weight: 600; }
.dok-my-policy-c h1 { font-family: var(--dok-display-font); font-weight: 400; font-size: clamp(2.25rem,4.5vw,3.8rem); }
.dok-my-policy-c .p-button { border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.dok-my-policy-c :is(.p-back, .p-text-button) { text-transform: none; letter-spacing: 0; font-size: .95rem; min-height: 44px; }
.dok-my-policy-c :is(.p-button-primary, .c-button-primary):disabled { background: var(--theme-soft); color: var(--theme-muted); }
.dok-my-policy-c :is(.p-button-secondary, .c-button-secondary) { color: var(--theme-secondary); border-color: var(--theme-input-border); background: var(--theme-surface); }
.dok-my-policy-c :is(.p-button-secondary, .c-button-secondary):hover:not(:disabled) { background: var(--theme-soft); color: var(--theme-text); border-color: #37565f; }
.dok-my-policy-c :is(.p-policy-card, .p-policy-card.is-active) { background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border); border-left-color: #5a863f; }
.dok-my-policy-c .p-policy-card:hover { background: var(--theme-hover); border-color: var(--theme-input-border); }
.dok-my-policy-c .p-policy-card-footer { background: var(--theme-soft); border-color: var(--theme-border); padding-top: .8rem; padding-bottom: .8rem; }
.dok-my-policy-c .p-policy-card.is-active .p-policy-payout > strong { color: var(--theme-green); }
.dok-my-policy-c :is(.p-badge, .p-badge.is-neutral, .p-badge.is-expired) { color: var(--theme-secondary); background: var(--theme-soft); letter-spacing: .02em; }
.dok-my-policy-c .p-badge.is-paid { color: #14532d; background: #dcfce7; }
.dok-my-policy-c :is(.p-badge.is-declined, .p-badge.is-cancelled) { color: #991b1b; background: #fee2e2; }
.dok-my-policy-c :is(.p-badge.is-monitoring, .p-badge.is-processing, .p-badge.is-triggered) { color: #78350f; background: #fef3c7; }
.dok-my-policy-c .p-badge.is-active { color: #1c3020; background: #dcedd0; }
.dok-my-policy-c :is(.p-label, .p-card-heading h2, .p-stats dt, .p-policy-payout .p-label) { font-size: .8rem; letter-spacing: .035em; font-weight: 600; }
.dok-my-policy-c .p-card-heading { padding-top: .85rem; padding-bottom: .85rem; }
.dok-my-policy-c .p-help { font-size: .95rem; }
.dok-my-policy-c .p-policy-reference { letter-spacing: .02em; }
.dok-my-policy-c .p-policy-route { grid-template-columns: 80px minmax(0,1fr) 16px minmax(0,1fr) auto; }
.dok-my-policy-c :is(.p-policy-route > span, .p-policy-route > :first-child, .p-policy-route .p-route-date) { font-size: .95rem; }
.dok-my-policy-c .p-policy-payout { min-width: 150px; }
.dok-my-policy-c .p-delay-badge { color: #33631f; }
.dok-my-policy-c .p-delay-badge.is-minor { color: #805500; }
.dok-my-policy-c .p-delay-badge.is-delayed { color: #9b4300; }
.dok-my-policy-c .p-delay-badge.is-major { color: #b42318; }
.dok-my-policy-c .p-renew-date input { color-scheme: light; }
.dok-my-policy-c .p-notice.is-warning { color: #713f12; }
.dok-my-policy-c :is(.p-button-danger, .p-confirmation.is-dispute .p-button-danger) { color: #9b2420; border-color: #cd8986; }
.dok-my-policy-c [data-p-ui="status"] { background: var(--theme-surface); color: #8a261e; border: 1px solid var(--theme-border); padding: 16px; margin: 0 auto 20px; }
.dok-my-policy-c .p-code-digit { flex-shrink: 1; }
.dok-my-policy-c :focus-visible { outline: 2px solid #37565f; outline-offset: 3px; }

/* Shared flight/cover components take the portal's light palette here only. */
.dok-my-policy-c :is(.c-option-card, .c-flight-card, .dok-payment-panel, .dok-summary-panel, .dok-upgrade-summary) { background: var(--theme-soft); border-color: var(--theme-border); color: var(--theme-text); box-shadow: none; }
.dok-my-policy-c .c-option-card.is-selected { background: var(--theme-selected); border: 2px solid var(--theme-green-border); color: var(--theme-text); box-shadow: inset 0 4px 0 var(--theme-green-border); }
.dok-my-policy-c .c-option-card:not(.is-selected):hover { background: var(--theme-hover); border-color: var(--theme-input-border); }
.dok-my-policy-c :is(.c-option-description, .c-option-price-label, .c-option-price-note, .c-option-price small) { color: var(--theme-muted); opacity: 1; font-size: .875rem; font-weight: 400; }
.dok-my-policy-c .c-option-price { border-color: var(--theme-border); }
.dok-my-policy-c :is(.c-flight-meta, .c-flight-airport, .c-flight-connector, .c-flight-actions > span, .dok-intro, .dok-field-help, .dok-eyebrow, .dok-terms, .dok-secure-note, .dok-payment-loading, .dok-history > summary, .c-empty-state, .dok-search-loading-copy p) { color: var(--theme-muted); font-size: 1rem; font-weight: 400; }
.dok-my-policy-c :is(.c-flight-meta > strong, .c-flight-code, .c-flight-time, .dok-payment-heading, .dok-prompt, .dok-question, .dok-search-loading h1, .c-summary-row, .c-option-title) { color: var(--theme-text); }
.dok-my-policy-c :is(.dok-payment-amount strong, .p-cover-total) { color: var(--theme-green); }
.dok-my-policy-c .c-status-badge { color: var(--theme-secondary); background: var(--theme-soft); font-size: .875rem; }
.dok-my-policy-c .c-button { border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.dok-my-policy-c .c-button-link { color: var(--theme-secondary); }
.dok-my-policy-c .dok-add-another { color: var(--theme-secondary); border-color: var(--theme-input-border); }
.dok-my-policy-c :is(.dok-input, .dok-airport-input, .dok-date-trigger) { background: var(--theme-surface); border: 1px solid var(--theme-input-border); color: var(--theme-text); }
.dok-my-policy-c :is(.dok-input::placeholder, .dok-airport-input input::placeholder, .dok-date-trigger.is-placeholder) { color: var(--theme-muted); }
.dok-my-policy-c .dok-cart { background: var(--theme-soft); border-color: var(--theme-border); color: var(--theme-text); }
.dok-my-policy-c :is(.dok-cart-label, .dok-cart-price, .dok-cart-price small, .dok-cart-items, .dok-cost-tag) { color: var(--theme-secondary); }
.dok-my-policy-c .dok-step-actions { background: var(--theme-surface); border-color: var(--theme-border); padding: 20px 0 0; }
.dok-my-policy-c .p-native-flights { overflow: visible; }
.dok-my-policy-c .p-native-flights .dok-step { height: auto; }
.dok-my-policy-c .p-native-flights .dok-step-scroll { overflow: visible; }
.dok-my-policy-c .p-native-flights .dok-step-content { padding: 20px 0; justify-content: flex-start; gap: 24px; }
.dok-my-policy-c .p-native-flights :is(.dok-title-compact, h1) { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; }
.dok-my-policy-c .dok-results-list .c-flight-card { border: 1px solid var(--theme-border); box-shadow: none; }
.dok-my-policy-c .dok-results-list .c-flight-card.is-selected { background: var(--theme-selected); border-color: var(--theme-green-border); transform: none; }
.dok-my-policy-c .dok-results-list .c-flight-card.is-unavailable { opacity: 1; background: #f6f2ee; }
.dok-my-policy-c .dok-history { border-color: var(--theme-border); }
.dok-my-policy-c .dok-message { color: #713f12; background: #fffbeb; border-color: #e7c77c; }
body:has(.dok-my-policy-c) .dok-c-nav a, body:has(.dok-my-policy-c) .dok-c-mobile-nav a { color: var(--theme-secondary); font-weight: 500; }
@media (max-width: 640px) {
    .dok-my-policy-c { padding: 0; }
    .dok-my-policy-c .p-content { padding: 24px 16px; border-radius: 0; }
    .dok-my-policy-c .p-policy-card-body { flex-wrap: wrap; }
    .dok-my-policy-c .p-policy-payout { width: 100%; }
    .dok-my-policy-c .p-policy-divider { display: none; }
    .dok-my-policy-c .p-policy-route { grid-template-columns: 72px minmax(0,1fr) 16px minmax(0,1fr); }
    .dok-my-policy-c .p-policy-route .p-route-date { grid-column: 2/-1; }
    .dok-my-policy-c .p-stats > div { padding: 12px 8px; }
    .dok-my-policy-c .p-stats dt { font-size: .75rem; letter-spacing: 0; }
    .dok-my-policy-c .p-auth-inner { padding: 24px 16px; }
    .dok-my-policy-c .p-native-flights .dok-button-row { flex-wrap: wrap; }
}

.dok-my-policy-c :is(.p-stats > div, .p-section-card, .p-card, .c-flight-card, .dok-summary-panel, .dok-payment-panel, .c-option-card) { background: var(--theme-surface); }
.dok-my-policy-c .p-native-flights .dok-step-actions { background:#fff; color:#203b45; --theme-text:#203b45; --theme-secondary:#37565f; --theme-muted:#4c626b; }
.dok-my-policy-c .p-stats > div { border-top: 3px solid var(--theme-green-border); }
.dok-my-policy-c .p-section-rule { background: var(--theme-border); }

/* Keep document actions and shared component hover states legible on white. */
.dok-my-policy-c .dok-flow-c .dok-policy-documents .c-button-link { color: var(--theme-text); border-color: var(--theme-input-border); background: var(--theme-surface); text-align: left; }
.dok-my-policy-c .dok-document-help { color: var(--theme-muted); font-size: .95rem; }
.dok-my-policy-c .dok-flow-c .c-button-link:hover { color: var(--theme-text); background: var(--theme-hover); }
.dok-my-policy-c .dok-flow-c .dok-add-another:hover:not(:disabled) { color: var(--theme-text); background: var(--theme-hover); border-color: #37565f; }
.dok-my-policy-c .dok-premium-box { background: var(--theme-soft); border-color: var(--theme-green-border); }
.dok-my-policy-c .dok-premium-box::before { color: var(--theme-green); font-size: .85rem; }
.dok-my-policy-c .dok-cart-items .c-summary-row > :last-child { color: var(--theme-text); }
.dok-my-policy-c :is(.dok-label, .dok-policy-summary) { color: var(--theme-muted); font-size: .95rem; }
.dok-my-policy-c .dok-cart-price small { font-size: .8rem; }
.dok-my-policy-c .dok-search-loader-ring { border-color: var(--theme-border); border-top-color: var(--theme-green-border); }
.dok-my-policy-c .dok-flow-status:not([hidden]) { color: #713f12; background: #fffbeb; border: 1px solid #e7c77c; border-radius: 8px; padding: 16px; margin-top: 12px; }
body:has(.dok-my-policy-c) .dok-c-mobile-nav summary { color: var(--theme-secondary); }
body:has(.dok-my-policy-c) .dok-c-mobile-nav[open] a { background: var(--theme-surface); color: var(--theme-text); }

.dok-my-policy-c :is(.p-document-pdf, .p-document-icon) { color: var(--theme-green); }
.dok-my-policy-c .p-document-icon svg { stroke: currentColor; }
.dok-my-policy-c .p-airport { white-space: normal; overflow-wrap: anywhere; }
.dok-my-policy-c .dok-cart-chevron path { stroke: #37565f; }

/* Keep the date filter and older-policy action together at every width. */
.p-list-period { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:20px 0; }
.p-list-period .p-help { margin:0; flex:1 1 260px; }

/* The signed-in journey uses the viewport; policy lists and details keep their reading layout. */
body.dok-welcome-c-page:has(#myPolicyC[data-current-view="add-flights"]) {
    height: 100vh; height: 100dvh; min-height: 0;
    display: flex; flex-direction: column; overflow: hidden;
}
body.dok-welcome-c-page:has(#myPolicyC[data-current-view="add-flights"]) #form1 {
    display: flex; flex-direction: column; flex: 1 1 0; min-height: 0;
}
#myPolicyC[data-current-view="add-flights"] {
    flex: 1 1 0; min-height: 0; overflow: hidden;
}
#myPolicyC [data-p-view="add-flights"],
#myPolicyC .p-native-flight-shell {
    display: flex; flex-direction: column; flex: 1 1 0; min-height: 0;
}
#myPolicyC .p-native-flight-shell {
    max-width: none; padding: 0; gap: 0;
}
#myPolicyC .p-native-flight-shell > .p-back {
    flex: 0 0 auto; margin: 4px max(16px,calc((100% - 1100px)/2));
}
#myPolicyC [data-p-ui="flights-loading"] { padding: 24px 32px; }
#myPolicyC .p-native-flights { flex: 1 1 0; min-height: 0; overflow: hidden; }
#myPolicyC .p-native-flights .dok-step { flex: 1 1 0; height: auto; min-height: 0; }
#myPolicyC .p-native-flights .dok-step-scroll {
    overflow-x: hidden; overflow-y: auto; scrollbar-color: var(--theme-input-border) var(--theme-soft);
}
#myPolicyC .p-native-flights .dok-step-content {
    max-width: 1160px; padding: 28px 32px; gap: 24px; justify-content: center;
}
#myPolicyC .p-native-flights .dok-step-actions {
    width: 100%; padding: 18px 32px max(18px,env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px #203b4505;
}
@media(max-width:800px) {
    #myPolicyC .p-native-flights .dok-step-content { padding: 24px 16px; }
    #myPolicyC .p-native-flights .dok-step-actions { padding: 12px 16px max(12px,env(safe-area-inset-bottom)); }
}

/* Airport values must use the current theme, including nested inputs and selected cards. */
.dok-my-policy-c .dok-airport-input input { color: var(--theme-text); font-weight: 400; }
.dok-my-policy-c .dok-airport-input input::placeholder { color: var(--theme-muted); opacity: 1; }
.dok-my-policy-c .dok-airport-input svg { color: var(--theme-secondary); opacity: 1; }
.dok-my-policy-c .c-option-card.is-selected .c-option-description { color: var(--theme-secondary); }

#myPolicyC .p-flight-loading-actions { margin-top:auto; padding:18px 32px; background:#fff; --theme-text:#203b45; --theme-secondary:#37565f; --theme-muted:#4c626b; --theme-surface:#fff; }
#myPolicyC .p-native-flights .p-return-policy { flex:0 0 auto; }
@media(max-width:800px) {
    #myPolicyC .p-native-flights .dok-button-row > .p-return-policy { justify-self:end; padding-inline:10px; }
    #myPolicyC .p-native-flights .dok-button-row:has(.p-return-policy) > .c-button-primary { grid-column:1 / -1; }
    #myPolicyC .p-native-flights .dok-flight-actions [data-c-action="upgrade"] { grid-column:1 / -1; justify-self:start; }
    #myPolicyC .p-native-flights .dok-flight-actions [data-c-action="add-flight"] { grid-column:1 / -1; }
}

/* Policy discovery and pre-claim payout registration. */
.dok-my-policy-c .p-policy-filters { display:grid; grid-template-columns:minmax(180px,2fr) repeat(2,minmax(145px,1fr)) auto; gap:14px; align-items:end; margin:24px 0 12px; }
.p-policy-filters label { display:flex; flex-direction:column; gap:8px; font-weight:600; font-size:.9rem; }
.dok-my-policy-c .p-policy-filters .p-input { width:100%; min-width:0; box-sizing:border-box; background:var(--theme-surface,#fff); color:var(--theme-text,#203b45); border:1px solid var(--theme-border,#bbcbd0); min-height:46px; padding:10px 12px; border-radius:8px; }
.p-policy-filters .p-input::placeholder { color:var(--theme-muted,#526a72); opacity:1; }
.p-airline-identity { display:flex; flex-direction:column; gap:6px; }
.p-payout-panel p { line-height:1.6; margin:0 0 16px; }
.p-payout-panel [data-p-ui="payout-status"] { font-size:1.1rem; font-weight:700; margin-bottom:8px; }
.p-payout-panel .p-action-buttons { margin:16px 0; }
.p-payout-panel a.p-button { text-decoration:none; }
@media(max-width:900px) { .dok-my-policy-c .p-policy-filters { grid-template-columns:1fr 1fr; } .p-policy-filters label:first-child { grid-column:1 / -1; } }
@media(max-width:480px) { .dok-my-policy-c .p-policy-filters { grid-template-columns:1fr; } }

.dok-my-policy-c :is(.p-policy-route,.p-flight-route) { grid-template-columns:minmax(150px,1.2fr) minmax(50px,1fr) 16px minmax(50px,1fr) auto; gap:12px; }
.dok-my-policy-c :is(.p-policy-route,.p-flight-route) .p-airline-identity { white-space:normal; overflow:visible; }
.dok-my-policy-c .p-airline-identity :is(strong,small) { white-space:normal; overflow:visible; overflow-wrap:anywhere; }
.dok-my-policy-c [data-p-ui="filter-status"] { margin:10px 0; }
.dok-my-policy-c [data-p-ui="filter-status"]:empty { display:none; }
@media(max-width:680px) {
 .dok-my-policy-c :is(.p-policy-route,.p-flight-route) { grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr); }
 .dok-my-policy-c :is(.p-policy-route,.p-flight-route) .p-airline-identity { grid-column:1 / -1; }
 .dok-my-policy-c .p-policy-route .p-route-date { grid-column:1 / -1; }
}
