/* Authenticated customer shell. Opaque by default; glass is progressive enhancement. */
.p1-customer-shell {
  --shell-line: #3e4654;
  --shell-muted: #bdc5d2;
  --shell-surface: #151922;
  --shell-accent: #ef687a;
  --shell-focus: #f3b6c0;
  --shell-chrome: #191e28;
  --shell-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  background-color: #0b0d12;
  background-image: linear-gradient(110deg, rgba(11,13,18,.97), rgba(11,13,18,.88)), url('/wordmark-knockout.png');
  background-size: cover, min(72vw,960px) auto;
  background-position: center, right 28px bottom 12%;
  background-repeat: no-repeat;
  color: #f2f4f8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color-scheme: dark;
}
.p1-customer-shell ::selection { background: #773345; color: #fff; }
.p1-customer-shell :is(button,a,input,select,textarea):focus-visible { outline: 2px solid var(--shell-focus); outline-offset: 3px; }
.p1-customer-shell :is(input,textarea) { caret-color: var(--shell-focus); }
.p1-customer-shell :is(button,input,select,textarea) { font-family: inherit; }
.p1-customer-shell :is(button,a) { -webkit-tap-highlight-color: rgba(239,104,122,.2); }
.p1-customer-shell .lin-main-wrap { min-width: 0; min-height: 0; background: transparent; }
.p1-customer-shell .lin-page { animation: none; max-width: 1280px; padding: 32px 32px 100px; }
.p1-customer-shell .lin-pagehead .lin-eyebrow { display: none; }
.p1-customer-shell .lin-h1 { font-family: inherit; font-size: 2rem; line-height: 1.2; letter-spacing: -.025em; }
.p1-customer-shell .lin-h1-grad { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.p1-customer-shell .lin-pagesub { color: var(--shell-muted); max-width: 70ch; }
.p1-customer-shell :is(.lin-btn-primary,.lin-btn-ghost,.lin-back,.lin-link) { min-height: 44px; transition: background-color 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out; }
.p1-customer-shell .lin-btn-primary { background: #c4102b; border: 1px solid #ee6679; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.2); color: #fff; }
.p1-customer-shell .lin-btn-primary::after { display: none; }
.p1-customer-shell .lin-btn-primary:hover:not(:disabled) { background: #d21330; box-shadow: 0 8px 20px rgba(0,0,0,.26); }
.p1-customer-shell .lin-btn-primary:active:not(:disabled) { background: #ac0c24; box-shadow: none; }
.p1-customer-shell .lin-btn-primary:disabled { background: #303743; border-color: #566172; color: #bfc7d3; box-shadow: none; }
.p1-customer-shell .lin-btn-ghost { background: #232a36; border-color: #637086; border-radius: 10px; color: #eef1f6; }
.p1-customer-shell .lin-btn-ghost:hover:not(:disabled) { background: #303a49; border-color: #8b98ab; }
.p1-customer-shell .lin-btn-ghost:active:not(:disabled) { background: #1c222c; }
.p1-customer-shell .lin-btn-ghost:disabled { color: #aeb8c7; cursor: wait; }
.p1-customer-shell .lin-avatar { background: #2a3240; border-color: #76849a; color: #fff; }
.p1-customer-shell .lin-feedback-button { min-height: 44px; background: #c4102b; border-color: #ee6679; box-shadow: 0 10px 28px rgba(0,0,0,.38); }
.p1-customer-shell .lin-feedback-button:hover { background: #d21330; transform: none; }
.p1-shell-feedback-dock { flex-shrink: 0; }
.p1-customer-shell .lin-launch-links { gap: 8px 14px; }
.p1-customer-shell .lin-launch-links :is(a,button) { min-height: 44px; display: inline-flex; align-items: center; color: #d4dbe7; text-underline-offset: 4px; }
.p1-shell-skip { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: #f2f4f8; color: #0b0d12; transform: translateY(-200%); }
.p1-shell-skip:focus { transform: translateY(0); }
.p1-shell-side { display: flex; flex-direction: column; flex-shrink: 0; margin: 12px 0 12px 12px; background: var(--shell-chrome); border: 1px solid #434b59; border-radius: 18px; box-shadow: var(--shell-shadow); padding: 20px 14px 14px; overflow-y: auto; overflow-x: hidden; gap: 18px; }
.p1-shell-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.p1-shell-brand img { width: 140px; height: auto; display: block; }
.p1-shell-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; background: #242c39; border: 1px solid #647289; border-radius: 10px; color: #e0e6ef; cursor: pointer; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.p1-shell-icon:hover { background: #344052; border-color: #8b99af; }
.p1-shell-icon:active { background: #1b222d; }
.p1-shell-identity-label { font-size: 12px; color: var(--shell-muted); margin-top: -5px; }
.p1-shell-search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid #637086; border-radius: 10px; background: #222a36; color: #d8e0ec; text-align: left; font: inherit; font-size: 13px; cursor: pointer; transition: background-color 160ms ease-out; }
.p1-shell-search:hover { background: #303b4b; }
.p1-shell-search svg { flex-shrink: 0; }
.p1-shell-search > span { flex: 1; }
.p1-shell-search kbd { font-family: inherit; font-size: 11px; color: #bcc6d6; }
.p1-shell-nav { display: flex; flex-direction: column; gap: 6px; }
.p1-shell-nav button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #cbd3e0; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.p1-shell-nav button > svg { flex-shrink: 0; }
.p1-shell-nav button:hover { background: #303948; color: #fff; }
.p1-shell-nav button:active { background: #222a37; }
.p1-shell-nav button[aria-current=page] { background: #40252f; border-color: #b06678; color: #fff; }
.p1-shell-nav button[aria-current=page] > svg { color: #ffb0bf; }
.p1-shell-side-note { border-top: 1px solid var(--shell-line); padding-top: 18px; color: var(--shell-muted); font-size: 12px; overflow-wrap: anywhere; }
.p1-shell-side-note strong { display: block; color: #e4e9f1; font-size: 13px; margin-bottom: 7px; font-weight: 500; }
.p1-shell-simulator-photo { margin: 12px 0; }
.p1-shell-simulator-photo img { display: block; width: 100%; height: 160px; object-fit: contain; border-radius: 10px; background: #10151e; }
.p1-shell-simulator-photo figcaption { color: #bdc5d2; font-size: 11px; line-height: 1.6; margin-top: 8px; }
.p1-shell-simulator-unavailable { display: flex; align-items: center; justify-content: center; min-height: 100px; padding: 12px; background: #10151e; color: #bdc5d2; border: 1px solid #4a5567; border-radius: 10px; }
.p1-shell-simulator-motion { margin-top: 8px; }
.p1-shell-side-bottom { margin-top: auto; padding-top: 8px; }
.p1-shell-beta-context { font-size: 12px; line-height: 1.7; color: var(--shell-muted); margin-top: 18px; }
.p1-shell-beta-context > p { margin-top: 8px; }
.p1-customer-shell .lin-beta-badge { font-size: 10px; background: #302b21; border-color: #8d7958; color: #f2d4a4; border-radius: 5px; }
.p1-shell-person { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--shell-line); padding-top: 16px; min-width: 0; }
.p1-shell-person > div:not(.lin-avatar) { min-width: 0; flex: 1; }
.p1-shell-person > .lin-avatar { flex: 0 0 auto; }
.p1-shell-person strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; display: block; }
.p1-shell-person small { font-size: 12px; color: var(--shell-muted); display: block; overflow-wrap: anywhere; }
.p1-shell-logout { margin-top: 14px; width: 100%; min-height: 44px; border: 1px solid #637086; border-radius: 10px; background: #222a36; color: #e8edf5; font-size: 12px; cursor: pointer; transition: background-color 160ms ease-out; }
.p1-shell-logout:hover:not(:disabled) { background: #344052; }
.p1-shell-logout:disabled { cursor: wait; color: #b9c3d2; }
.p1-shell-side.is-collapsed { align-items: center; padding: 20px 8px 12px; }
.p1-shell-side.is-collapsed .p1-shell-nav button { justify-content: center; padding: 11px; }
.p1-shell-side.is-collapsed .p1-shell-side-bottom { width: 100%; }
.p1-shell-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; margin: 12px 20px 0; padding: 12px 22px; background: var(--shell-chrome); border: 1px solid #434b59; border-radius: 16px; box-shadow: 0 10px 32px rgba(0,0,0,.22); font-size: 13px; color: var(--shell-muted); flex-shrink: 0; }
.p1-shell-topbar strong { color: #f2f4f8; font-weight: 600; margin-left: 14px; }
.p1-shell-mobile-header { display: none; }
.p1-shell-mobile-dialog { position: fixed; inset: 8px auto 8px 8px; margin: 0; width: min(340px,92vw); max-width: none; height: calc(100dvh - 16px); max-height: none; overflow-y: auto; padding: 22px 18px; background: #191e28; color: #f2f4f8; border: 1px solid #566174; border-radius: 18px; box-shadow: 0 24px 64px rgba(0,0,0,.5); }
.p1-shell-mobile-dialog::backdrop { background: rgba(4,6,10,.78); }
.p1-shell-mobile-dialog .p1-shell-brand { margin-bottom: 24px; }
.p1-shell-mobile-dialog .p1-shell-nav { margin: 18px 0 25px; }
.p1-shell-mobile-dialog .p1-shell-person { margin-top: 24px; }
.p1-shell-mobile-dialog .p1-shell-simulator-photo img { height: 180px; }
.p1-shell-mobile-dialog .lin-launch-links { margin: 22px 0 10px; }
.p1-shell-content { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; outline: none; }
.p1-shell-content > div:not(.p1-shell-home):not(.lin-rufus) { background: transparent!important; }
.p1-shell-home { overflow-y: auto; flex: 1; min-height: 0; background: transparent; }
.p1-shell-welcome { display: flex; justify-content: space-between; gap: 32px; align-items: center; min-height: 204px; margin-bottom: 28px; padding: 28px; border: 1px solid #4a5567; border-radius: 16px; background-color: #101722; background-image: linear-gradient(90deg, rgba(16,23,34,.98) 0%, rgba(16,23,34,.97) 66%, rgba(16,23,34,.24) 100%), url('/images/customer-shell/p1-simulator-detail.jpg'); background-size: cover, 52% auto; background-position: center, right 69%; background-repeat: no-repeat; }
.p1-shell-welcome > div { max-width: 65%; }
.p1-shell-welcome > .lin-btn-primary { flex-shrink: 0; }
.p1-shell-welcome h1 { font-family: inherit; font-size: 2rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.p1-shell-welcome p { font-size: 14px; color: var(--shell-muted); margin-top: 12px; max-width: 65ch; }
.p1-shell-actions { display: flex; align-items: stretch; gap: 0; padding: 6px; border: 1px solid #3e4757; border-radius: 14px; background: #191f2a; margin-bottom: 28px; }
.p1-shell-action { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 76px; padding: 16px; border: 0; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; transition: background-color 160ms ease-out; }
.p1-shell-action > svg { color: #bac8dc; flex-shrink: 0; }
.p1-shell-action strong { display: block; font-size: 15px; font-weight: 600; }
.p1-shell-action small { display: block; font-size: 12px; color: var(--shell-muted); margin-top: 5px; }
.p1-shell-action:hover { background: #2a3443; }
.p1-shell-action:active { background: #202733; }
.p1-shell-home-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(250px,1fr); gap: 24px; align-items: start; }
.p1-shell-home-grid > section:first-child { padding: 24px; background: #151922; border: 1px solid #3e4757; border-radius: 16px; min-width: 0; }
.p1-shell-ticket-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.p1-shell-ticket-heading h2 { font-size: 18px; letter-spacing: -.015em; font-weight: 600; line-height: 1.4; }
.p1-shell-ticket-heading button { min-height: 44px; font-size: 12px; white-space: nowrap; }
.p1-shell-read-note { font-size: 12px; color: var(--shell-muted); line-height: 1.8; margin-bottom: 20px; max-width: 65ch; }
.p1-shell-records { border-top: 1px solid var(--shell-line); list-style: none; }
.p1-shell-records li { padding: 18px 0; border-bottom: 1px solid var(--shell-line); }
.p1-shell-records li:last-child { border-bottom: 0; padding-bottom: 0; }
.p1-shell-records h3 { font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; margin-bottom: 10px; }
.p1-shell-record-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--shell-muted); font-size: 12px; }
.p1-shell-record-meta .lin-pill { font-size: 11px; border-radius: 5px; }
.p1-shell-record-meta .lin-pill-ghost { color: #c9d2e0; }
.p1-shell-read-state { padding: 18px; border: 1px solid #947955; border-radius: 12px; background: #30271d; color: #f1d8b6; margin-bottom: 18px; font-size: 14px; line-height: 1.8; }
.p1-shell-read-state strong { display: block; font-weight: 600; margin-bottom: 5px; }
.p1-shell-read-state a { color: inherit; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.p1-shell-empty { padding: 24px 0; border-top: 1px solid var(--shell-line); color: var(--shell-muted); font-size: 14px; line-height: 1.8; }
.p1-shell-skeleton { padding: 22px 0; border-top: 1px solid var(--shell-line); }
.p1-shell-skeleton > span { display: block; background: #3e4858; height: 14px; width: 80%; border-radius: 4px; margin-bottom: 14px; }
.p1-shell-skeleton > span + span { width: 45%; height: 10px; background: #303947; }
.p1-shell-contact { padding: 24px; border: 1px solid #485368; border-radius: 16px; background: #1c2330; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.p1-shell-contact h2 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.p1-shell-contact p { margin: 14px 0; color: #c6cedb; font-size: 13px; line-height: 1.8; }
.p1-shell-contact .lin-contact-row { margin-top: 22px; }
.p1-shell-contact .lin-contact-name { font-size: 14px; overflow-wrap: anywhere; }
.p1-shell-contact a:not(.lin-btn-ghost) { display: block; min-height: 44px; padding: 8px 0; color: #d7e0ef; font-size: 13px; overflow-wrap: anywhere; text-underline-offset: 4px; }
.p1-shell-contact .lin-btn-ghost { margin-top: 12px; text-decoration: none; }
.p1-shell-contact .lin-contact-meta { color: var(--shell-muted); font-size: 12px; }
/* Data, messages, forms and dialogs stay opaque: no nested backdrop filters. */
.p1-customer-shell :is(.lin-form,.lin-feedback-panel,.lin-search-modal,.lin-kb-card,.lin-article,.lin-rufus) { background: #151922; border-color: #4a5567; border-radius: 14px; color: #f2f4f8; }
.p1-customer-shell .lin-feedback-panel { box-shadow: 0 24px 64px rgba(0,0,0,.5); max-height: calc(100dvh - 104px); overflow-y: auto; }
.p1-customer-shell :is(.lin-input,.lin-rufus-input,.lin-search-row) { min-height: 44px; background: #10151e; border-color: #6a7890; border-radius: 10px; color: #f2f4f8; }
.p1-customer-shell .lin-input:focus { background: #141c28; border-color: #f3b6c0; box-shadow: none; }
.p1-shell-content .lin-page > div:has(#change-current-password) { max-width: 480px!important; padding: 24px; background: #151922; border: 1px solid #4a5567; border-radius: 14px; }
.p1-shell-content .lin-page > div:has(#change-current-password) > div > button { min-height: 44px; }
.p1-shell-content label[for^="change-"] { color: #bdc5d2!important; font-size: 13px!important; text-transform: none!important; letter-spacing: normal!important; }
.p1-shell-content .p1-password-field > input { min-height: 44px; background: #10151e!important; border: 1px solid #6a7890!important; border-radius: 10px!important; color: #f2f4f8!important; }
.p1-shell-content .p1-password-field > input:focus { background: #141c28!important; border-color: #f3b6c0!important; }
.p1-shell-content .p1-password-field > input:focus-visible { outline: 2px solid var(--shell-focus)!important; outline-offset: 3px; }
.p1-shell-content .lin-page > div:has(#change-current-password) div[style*="background"] { background: #30271d!important; color: #f1d8b6!important; border-color: #947955!important; }
.p1-customer-shell :is(input,textarea)::placeholder { color: #aeb9cb; opacity: 1; }
.p1-customer-shell :is(.lin-label,.lin-input-hint,.lin-feedback-copy,.lin-feedback-counter,.lin-rufus-sub,.lin-rufus-meta,.lin-rufus-p,.lin-rufus-disclaimer) { color: var(--shell-muted); }
.p1-customer-shell .lin-kb-card:hover { background: #202937; transform: none; }
.p1-customer-shell .lin-rufus { border-radius: 0; }
.p1-customer-shell .lin-rufus-head { background: #191f2a; backdrop-filter: none; -webkit-backdrop-filter: none; }
.p1-customer-shell .lin-rufus-name { font-family: inherit; font-size: 16px; letter-spacing: normal; }
.p1-customer-shell .lin-rufus-glow { display: none; }
.p1-customer-shell .lin-rufus-glyph { background: #232d3c; border-color: #5d6b80; box-shadow: none; }
.p1-customer-shell .lin-bubble-r { background: #1d2532; border-color: #4a566b; }
.p1-customer-shell .lin-bubble-u { background: #34212e; border-color: #946074; }
.p1-customer-shell .lin-msg-av-r { background: #c4102b; box-shadow: none; }
.p1-customer-shell .lin-feedback-close { width: 44px; height: 44px; color: #cbd5e4; }
.p1-customer-shell .lin-feedback-star { min-width: 44px; min-height: 44px; color: #b8c3d4; }
.p1-customer-shell .lin-feedback-star.on { color: #f3c578; }
.p1-customer-shell .lin-feedback-status { background: #3a1d27; border-color: #b56b7d; color: #ffc2cc; }
.p1-customer-shell .lin-feedback-status.ok { background: #173226; border-color: #5b9d79; color: #ade7c2; }
.p1-customer-shell .lin-chip { min-height: 44px; background: #222b39; border-color: #637086; border-radius: 10px; color: #dbe3ee; }
.p1-customer-shell .lin-search-modal { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 12vh - 24px); max-height: calc(100dvh - 12vh - 24px); box-shadow: 0 24px 64px rgba(0,0,0,.5); animation: none; }
.p1-customer-shell .lin-search-modal input { min-width: 0; min-height: 44px; color: #f2f4f8; }
.p1-customer-shell .lin-search-modal-bar { flex-shrink: 0; gap: 10px; padding: 12px 16px; border-color: #434d5e; }
.p1-shell-search-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 6px; }
.p1-customer-shell .lin-search-results { max-height: none; overflow: visible; }
.p1-customer-shell .lin-search-result { min-height: 44px; color: #dce4f0; }
.p1-customer-shell .lin-search-result:hover { background: #2c3646; }
.p1-customer-shell .lin-search-result:focus-visible { outline: 2px solid var(--shell-focus); outline-offset: -2px; }
.p1-customer-shell :is(.lin-search-empty,.lin-search-hints) { color: var(--shell-muted); font-size: 13px; }
.p1-shell-search-state { padding: 18px; color: #e5d5c0; font-size: 13px; line-height: 1.7; background: #30271d; }
.p1-shell-search-state button { margin-top: 12px; }
.p1-shell-search-close { background: transparent; border: 0; color: #d7dfec; min-width: 44px; min-height: 44px; cursor: pointer; }
/* Local decorative photos add depth; only persistent chrome uses blur. */
@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .p1-shell-side, .p1-shell-topbar { background: rgba(25,30,40,.68); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .p1-shell-actions { background: rgba(25,31,42,.86); }
  .p1-shell-contact { background: rgba(28,35,48,.88); }
  .p1-shell-home-grid > section:first-child { background: rgba(21,25,34,.94); }
  .p1-customer-shell .lin-kb-card { background: rgba(21,25,34,.92); }
  .p1-customer-shell .lin-kb-card:hover { background: #202937; }
}
@media(max-width:1100px) {
  .p1-shell-home-grid { grid-template-columns: 1fr; gap: 24px; }
  .p1-shell-welcome { align-items: flex-start; }
  .p1-shell-welcome .lin-btn-primary { flex-shrink: 0; }
  .p1-shell-action { align-items: flex-start; padding: 14px 12px; }
  .p1-shell-action strong { font-size: 14px; }
  .p1-customer-shell .lin-page { padding-inline: 24px; }
}
@media(max-width:768px) {
  .p1-customer-shell { flex-direction: column; height: 100dvh; }
  .p1-shell-side { display: none; }
  .p1-shell-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; margin: 8px 10px 0; padding: 9px 12px; padding-top: calc(9px + env(safe-area-inset-top)); background: var(--shell-chrome); border: 1px solid #434b59; border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.24); flex-shrink: 0; }
  .p1-shell-mobile-header img { height: 21px; width: auto; max-width: 145px; }
  .p1-shell-topbar { min-height: 44px; margin: 0; padding: 8px 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 12px; }
  .p1-shell-topbar > .lin-beta-badge { display: none; }
  .p1-customer-shell .lin-page { padding: 22px 16px calc(100px + env(safe-area-inset-bottom)); }
  .p1-shell-welcome { flex-direction: column; gap: 20px; margin-bottom: 22px; padding: 24px 20px; min-height: 240px; background-image: linear-gradient(90deg, rgba(16,23,34,.96), rgba(16,23,34,.9)), url('/images/customer-shell/p1-simulator-detail.jpg'); background-size: cover; background-position: center, center 64%; }
  .p1-shell-welcome > div { max-width: 100%; }
  .p1-shell-welcome h1 { font-size: 1.75rem; }
  .p1-shell-welcome p { font-size: 14px; line-height: 1.8; }
  .p1-shell-actions { flex-direction: column; margin-bottom: 22px; }
  .p1-shell-action { align-items: center; min-height: 72px; padding: 14px; }
  .p1-shell-action strong { font-size: 15px; }
  .p1-shell-home-grid > section:first-child { padding: 20px; }
  .p1-shell-ticket-heading { align-items: flex-start; gap: 12px; }
  .p1-shell-ticket-heading h2 { font-size: 18px; }
  .p1-shell-ticket-heading button { flex-shrink: 0; }
  .p1-shell-contact { padding: 22px; }
  .p1-customer-shell .lin-rufus-head { padding: 18px 20px; }
  .p1-customer-shell .lin-feedback-button { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .p1-shell-mobile-dialog { padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
  @supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .p1-shell-mobile-header { background: rgba(25,30,40,.74); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  }
}
@media(max-width:768px), (max-height:500px) {
  .p1-shell-feedback-dock { display: flex; justify-content: flex-end; padding: 8px 14px max(8px, env(safe-area-inset-bottom)); background: #111722; border-top: 1px solid var(--shell-line); }
  .p1-customer-shell .lin-feedback-button { position: static; flex-shrink: 0; right: auto; bottom: auto; }
}
@media(max-width:380px) {
  .p1-shell-ticket-heading { flex-direction: column; gap: 8px; }
  .p1-shell-ticket-heading button { align-self: flex-start; }
  .p1-shell-home-grid > section:first-child { padding: 16px; }
}
@media(prefers-reduced-transparency:reduce) {
  .p1-customer-shell { background: #0b0d12; }
  .p1-shell-welcome { background: #101722; }
  .p1-shell-side, .p1-shell-topbar, .p1-shell-mobile-header { background: #191e28; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .p1-shell-actions { background: #191f2a; }
  .p1-shell-contact { background: #1c2330; }
  .p1-shell-home-grid > section:first-child, .p1-customer-shell .lin-kb-card { background: #151922; }
  .p1-shell-mobile-dialog::backdrop { background: #080a0e; }
}
@media(prefers-reduced-motion:reduce) {
  .p1-customer-shell *, .p1-customer-shell *::before, .p1-customer-shell *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
@media(forced-colors:active) {
  .p1-customer-shell { background: Canvas; color: CanvasText; }
  .p1-shell-welcome { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .p1-customer-shell :is(button,a,input,select,textarea):focus-visible { outline-color: Highlight; }
  .p1-shell-side, .p1-shell-topbar, .p1-shell-mobile-header, .p1-shell-mobile-dialog { background: Canvas; color: CanvasText; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-color: CanvasText; }
  .p1-shell-nav button[aria-current=page] { border-color: Highlight; }
  .p1-customer-shell .p1-shell-nav svg, .p1-customer-shell .p1-shell-action svg { color: CanvasText; }
  .p1-customer-shell :is(.p1-shell-brand,.p1-shell-mobile-header) > img { forced-color-adjust: none; background: #191e28; border-radius: 4px; }
}
/* PitStop download-only page and the explicit internal-pilot RUFUS pause. */
.p1-pilot-page { flex: 1; min-height: 0; overflow-y: auto; }
.p1-pilot-page .lin-page { width: 100%; max-width: 1120px; }
.p1-pitstop-panel { padding: 28px; border: 1px solid #4a5567; border-radius: 16px; background: #151922; color: #f2f4f8; }
.p1-pitstop-panel p, .p1-pitstop-reading p { max-width: 70ch; color: var(--shell-muted); }
.p1-pitstop-intro { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.p1-pitstop-intro h2, .p1-pitstop-reading h2 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.02em; }
.p1-pitstop-mark { flex-shrink: 0; color: #ffb0bf; padding: 14px; border-radius: 12px; background: #40252f; display: flex; }
.p1-pitstop-unavailable { padding: 16px 0; border-block: 1px solid var(--shell-line); }
.p1-pitstop-unavailable strong { display: block; color: #f2f4f8; margin-bottom: 4px; }
.p1-pilot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.p1-pilot-actions a:not(.lin-btn-primary), .p1-pitstop-reading a { color: #f2f4f8; text-underline-offset: 4px; }
.p1-pitstop-reading a { display: inline-flex; align-items: center; min-height: 44px; }
.p1-pilot-actions :is(a,button) { min-height: 44px; }
.p1-pilot-actions a:not(.lin-btn-primary) { display: inline-flex; align-items: center; }
.p1-pilot-actions .lin-btn-primary { text-decoration: none; text-align: center; max-width: 100%; }
.p1-pilot-note { font-size: .8125rem; margin-top: 14px; }
.p1-pitstop-reading { padding: 8px 0 0; }
.p1-pitstop-reading section { padding-top: 28px; }
.p1-pitstop-reading h3 { font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.p1-pitstop-reading :is(ol,ul) { padding-left: 24px; color: var(--shell-muted); }
.p1-pitstop-reading li + li { margin-top: 8px; }
.p1-pitstop-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; padding-block: 16px; border-block: 1px solid var(--shell-line); margin-bottom: 20px; }
.p1-pitstop-details dt { color: var(--shell-muted); font-size: .8125rem; }
.p1-pitstop-details dd { font-weight: 600; overflow-wrap: anywhere; }
.p1-pitstop-checksum { display: block; font-size: .8125rem; overflow-wrap: anywhere; color: #f2f4f8; }
@media (max-width: 480px) {
  .p1-pitstop-panel { padding: 20px; }
  .p1-pitstop-intro { gap: 12px; flex-direction: column; }
  .p1-pitstop-details { grid-template-columns: minmax(0,1fr); }
}
