/* Screen reading only: recover nested horizontal space before enlarging text.
   Fixed print/JPG layouts and the garden game's play area are not resized. */
@media screen and (max-width:700px) {
 body[data-member-page]:not([data-member-page=practice]) main,
 body:not([data-member-page=practice]) dialog:not(.jpg-dialog) {font-size:20px;line-height:1.5;--action-font-size:20px}
 body:not([data-member-page=practice]) :is(main,dialog) :is(small,.hint,.card-fact,.card-summary,.card-summary-detail,.card-dates,.itinerary-detail,.itinerary-subtitle,.itinerary-duration,.service-footer-note,.per-summary,.allocation-person-warning,.statistics-person-detail) {font-size:19px!important;line-height:1.45;overflow-wrap:anywhere}
 body:not([data-member-page=practice]) :is(main,dialog) :is(.status-tag,.tour-state-tag,.companion-review-tag,.performance-updated,.performance-join-notice,.member-state-badge) {font-size:18px!important;line-height:1.35;white-space:normal}
 body:not([data-member-page=practice]) :is(main,dialog) :is(label,.field-label,.statistics-person-card dt) {font-size:19px!important;line-height:1.4}
 body:not([data-member-page=practice]) dialog:not(.jpg-dialog)>p,
 body .planning-outline .planning-outline-notice {font-size:19px;line-height:1.45}
 body:not([data-member-page=practice]) :is(main,dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:20px;min-width:0;max-width:100%}
 body[data-member-page]:not([data-member-page=practice]) main :is(h2,h3),
 body:not([data-member-page=practice]) .planning-outline :is(h2,h3,h4) {font-size:24px;line-height:1.4}
 body[data-member-page]:not([data-member-page=practice])>.member-nav {padding:6px 8px;gap:3px}
 body[data-member-page]:not([data-member-page=practice])>.member-nav>:is(a,button) {font-size:18px;padding:4.67px 4px;line-height:1.35;min-height:44px}
 body[data-member-page]:not([data-member-page=practice]) .member-identity small {font-size:17px;line-height:1.4}
 body[data-member-page]:not([data-member-page=practice]) .app-release-label {font-size:16px;letter-spacing:normal}
 body[data-member-page]:not([data-member-page=practice]) .pwa-tools {padding:10px;gap:8px;margin-bottom:14px}
 body[data-member-page]:not([data-member-page=practice]) .pwa-title {font-size:21px}
 body[data-member-page]:not([data-member-page=practice]) :is(.pwa-benefit,.pwa-setup-note,.pwa-notification-status,.pwa-reward-note) {font-size:19px;line-height:1.45}
 body[data-member-page]:not([data-member-page=practice]) .pwa-tool-actions {flex-basis:100%;width:100%;gap:8px}
 body[data-member-page]:not([data-member-page=practice]) .pwa-tool-actions button {flex:1 1 190px;--action-font-size:20px;min-height:44px}
 body[data-member-page=services] main.member-services {width:100%;padding:8px;margin:8px auto}
 body[data-member-page=services] #performance-list-title {margin:8px 0 10px;font-size:27px}
 body[data-member-page=services] #performance-tour-legend {margin:8px 0 14px}
 body[data-member-page=services] #performance-tour-legend .tour-state-legend {font-size:19px;gap:6px}
 body[data-member-page=services] .member-trip-lists {gap:18px}
 body[data-member-page=services] :is(.member-trip-section,.member-trip-detail) {padding:10px}
 body[data-member-page=services] .member-trip-section>.subtle {margin:0 0 12px}
 body[data-member-page=services] .member-trip-section .my-tour-card {padding:10px}
 body[data-member-page=services] #available-tours .my-tour-card>p {margin:8px 0}
 body[data-member-page=services] .member-tour-select {padding:6px!important;gap:6px}
 body[data-member-page=services] :is(.member-tour-name,#available-tours h3) {font-size:20px;line-height:1.4}
 body[data-member-page=services] .member-tour-title {gap:6px}
 body[data-member-page=services] .my-tour-actions {gap:8px}
 body[data-member-page=services] .joined-tour-actions {margin-top:10px}
 body[data-member-page=services] .joined-tour-actions .member-tour-open {white-space:normal;--action-font-size:20px}
 body[data-member-page=services] .member-tour-leave {margin:8px 0 0}
 body[data-member-page=services] .performance-breadcrumb {margin:4px 0 12px}
 body[data-member-page=services] .performance-breadcrumb [aria-current=page] {font-size:20px}
 body[data-member-page=services] .member-trip-people .my-person-tour,
 body[data-member-page=services] .member-trip-detail .managed-cost-summary {padding:10px}
 body[data-member-page=services] .member-trip-detail #my-sheet {margin-top:12px;padding-top:10px}
 body[data-member-page=services] .service-form details.service-card {padding:10px;margin:14px 0}
 body[data-member-page=services] .service-card>summary {padding:6px 0}
 body[data-member-page=services] .service-card[open]>summary {margin-bottom:10px}
 body[data-member-page=services] .service-card>summary :is(strong,span) {font-size:20px;line-height:1.45;white-space:normal}
 body[data-member-page=services] .service-footer {padding:8px;gap:8px}
 body[data-member-page=services] .service-footer strong {min-width:0}
 body[data-member-page=services] .service-footer button {--action-font-size:18px;white-space:normal;min-width:0;min-height:44px}
 body[data-member-page=profile] .profile-page {padding:10px 8px 24px!important}
 body[data-member-page=profile] .profile-section {padding:10px!important}
 body[data-member-page=profile] :is(.profile-section>summary,.per-section>summary,.per-section>h3) {font-size:22px}
 body[data-member-page=tasks] .member-work-page {padding:10px 8px 24px}
 body[data-member-page]:not([data-member-page=practice]) :is(.per-section,.profile-section,.companion-panel,.companion-intro,.companion-group,.companion-member) {padding:10px}
 body[data-member-page]:not([data-member-page=practice]) :is(.companion-panel,.companion-intro,.companion-group) {margin:14px 0}
 body[data-member-page]:not([data-member-page=practice]) .companion-responsibility {padding:10px 12px}
 body .planning-outline {width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:10px}
 body .planning-outline .planning-outline-item {padding:10px;margin:10px 0}
 body .planning-outline :is(.planning-outline-intro,.planning-outline-description,.planning-outline-item p) {font-size:22px;line-height:1.5}
 body[data-member-page]:not([data-member-page=practice]) .itinerary-dialog {padding-inline:calc(8px + env(safe-area-inset-left,0px))}
 body .itinerary-dialog .itinerary-page {padding:0;font-size:20px}
 body .itinerary-dialog .itinerary-item {grid-template-columns:max-content minmax(0,1fr);gap:6px;padding:8px}
 body .itinerary-dialog .itinerary-item.nested-item {margin-left:8px!important}
 body .itinerary-dialog .itinerary-day h2 {font-size:23px}
 body .itinerary-dialog .itinerary-title {font-size:21px}
 body .itinerary-dialog .itinerary-detail {font-size:19px;line-height:1.45}
 body[data-member-page=services] .bill-line {padding:10px;margin-block:16px;gap:10px}
 body[data-member-page=services] .bill-charge-parts {padding:8px;gap:6px 10px}
 body[data-member-page=services] .bill-charge-parts p {font-size:19px;line-height:1.45}
}

/* The display control defines the body size. Use weight for emphasis and a
   small, consistent size change for titles and supplementary notes. */
@layer reading-type {
 @media screen {
  body.admin-workspace .day-item :is(.service-description,.service-content-summary){font-size:var(--reading-font)!important;line-height:1.42!important}
  body.admin-workspace .day-item .admin-schedule-name{font-size:var(--reading-heading-size)!important;line-height:1.3!important}
 }
 @media screen {
  html {
   -webkit-text-size-adjust:100%;
   text-size-adjust:100%;
   --reading-large:20px;
   --reading-medium:17px;
   --reading-original:15px;
   --reading-small:13px;
   --member-font:var(--reading-medium);
   --admin-font:var(--reading-original);
  }
  html[data-member-text-size=large]{--member-font:var(--reading-large)}
  html[data-member-text-size=original]{--member-font:var(--reading-original)}
  html[data-member-text-size=small]{--member-font:var(--reading-small)}
  html[data-admin-text-size=large]{--admin-font:var(--reading-large)}
  html[data-admin-text-size=medium]{--admin-font:var(--reading-medium)}
  html[data-admin-text-size=small]{--admin-font:var(--reading-small)}

  body:where(.admin-workspace,.platform-page,.finance-page,.password-settings-page,[data-member-page]:not([data-member-page=practice])) {
   --reading-font:var(--member-font);
   --reading-note-size:max(12px,calc(var(--reading-font) - 2px));
   --reading-heading-size:calc(var(--reading-font) + 2px);
   font-size:var(--reading-font)!important;
   line-height:1.42!important;
  }
  body:where(.admin-workspace,.platform-page,.password-settings-page[data-password-role=admin]) {
   --reading-font:var(--admin-font);
  }

  :where(body.admin-workspace,body.platform-page,body.finance-page,body.password-settings-page,body[data-member-page]:not([data-member-page=practice]))
   :is(main,dialog,aside):not(:where(#print-root,#print-root *, .print-measure, .print-measure *, .jpg-dialog,.jpg-dialog *, .jpg-capture,.jpg-capture *, .export-capture,.export-capture *, #finance-paper-output,#finance-paper-output *)) {
   font-size:var(--reading-font)!important;
   line-height:1.42!important;
   --action-font-size:var(--reading-font)!important;
  }
  :where(body.admin-workspace,body.platform-page,body.finance-page,body.password-settings-page,body[data-member-page]:not([data-member-page=practice]))
   :is(main,dialog,aside,header,#editor,#groups-view,.workspace-nav,.member-nav)
   :where(p,li,label,dt,dd,th,td,summary,button,a,input,select,textarea,.banner,.tour-overview-dates,.tour-overview-count span,.tour-phase-summary,.service-card>summary strong,.service-choice-status,.member-tour-name,.dashboard-description,.statistics-metric-label,.statistics-metric-unit,.statistics-money-label,.statistics-currency-values span,.statistics-plan-title>strong,.statistics-service-finance-label,.bill-money-label,.fees-money-label,.finance-transfer-account>strong,.password-strength p,.password-strength li):not(:where(#print-root *, .print-measure *, .jpg-dialog *, .jpg-capture *, .export-capture *, #finance-paper-output *, .member-reading-controls *, svg *, [class*=brand-icon])) {
   font-size:var(--reading-font)!important;
   line-height:1.42!important;
  }
  :where(body.admin-workspace,body.platform-page,body.finance-page,body.password-settings-page,body[data-member-page]:not([data-member-page=practice]))
   :is(main,dialog,aside,header,#editor,#groups-view,.workspace-nav,.member-nav)
   :where(h1,h2,h3,h4,h5,h6,.service-tour-name,.service-footer>strong,.tour-overview-count strong,.dashboard-summary strong,.statistics-metric-value,.statistics-money-value,.statistics-currency-values strong,.fees-balance-line,.fees-balance-pending,.fees-account-value,.fees-balance-values>.fees-amount,.fees-stat-total,.brand,.member-tour-title .member-tour-name,.managed-cost-summary>strong,.bill-total,.bill-money-amount,.bill-item-heading>strong):not(:where(#print-root *, .print-measure *, .jpg-dialog *, .jpg-capture *, .export-capture *, #finance-paper-output *)) {
   font-size:var(--reading-heading-size)!important;
   line-height:1.3!important;
  }
  :where(body.admin-workspace,body.platform-page,body.finance-page,body.password-settings-page,body[data-member-page]:not([data-member-page=practice]))
   :is(main,dialog,aside,header,#editor,#groups-view,.workspace-nav,.member-nav)
   :where(small,.subtle,.hint,.preview-state,.status-tag,.tour-state-tag,.statistics-note,.statistics-plan-note,.statistics-payment-note,.statistics-service-date,.statistics-category-label,.statistics-chip,.statistics-amount-unavailable,.app-release-label,.brand small,.bill-money-currency,.fees-currency,.fees-note,.tour-overview-note,.card-dates,.service-footer-note,.service-confirmation-note,.service-deadline-note,.password-note,.recovery-hint,.recovery-footer):not(:where(#print-root *, .print-measure *, .jpg-dialog *, .jpg-capture *, .export-capture *, #finance-paper-output *)) {
   font-size:var(--reading-note-size)!important;
   line-height:1.32!important;
   overflow-wrap:anywhere;
  }
  /* Descriptions are body text even inside a heading or a tinted note box. */
  :where(body.password-settings-page) .password-settings
   :is(.password-intro,.password-rules,.password-strength p,.password-strength li,.password-group label,.password-show-all) {
   font-size:var(--reading-font)!important;
   line-height:1.42!important;
  }
  :where(body.admin-workspace,body[data-member-page=services]) :is(.service-dialog,#my-sheet)
   :is(.service-tour-name,.service-deadline-note,.service-confirmation-note,.preview-state,.success-note) {
   margin-block:6px 8px!important;
   overflow-wrap:anywhere;
  }
  :where(body.admin-workspace) .tour-overview-count {
   gap:3px!important;
   overflow-wrap:anywhere;
  }
  :where(body.admin-workspace,body.password-settings-page,body[data-member-page=services])
   :is(.service-dialog,.tour-header-overview,.admin-entry-dashboard,.password-settings)
   :is(h1,h2,h3,button,summary,.service-tour-name) {
   white-space:normal!important;
   overflow-wrap:anywhere;
  }
  .password-settings :is(.password-note,.password-rules,.recovery-hint,.recovery-footer) {margin-block:8px 12px!important}
  .password-settings .password-exit-actions {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
  .password-settings .password-exit-actions .password-back {margin-top:0!important}
  .password-settings .password-exit-error:empty {display:none}
  .password-settings .password-exit-error {margin:8px 0 0;color:#a43d31}
 }
 @media screen and (max-width:700px) {
  /* Avoid focus zoom on iPhone even with the small reading preset. */
  :where(body.admin-workspace,body.platform-page,body.finance-page,body.password-settings-page,body[data-member-page]:not([data-member-page=practice]))
   :is(main,dialog,#editor) :is(input:not([type=checkbox],[type=radio]),select,textarea,.service-choice-status):not(:where(#print-root *, .print-measure *, .jpg-dialog *, .jpg-capture *, .export-capture *, #finance-paper-output *)) {
   font-size:max(16px,var(--reading-font))!important;
  }
  .password-settings form {gap:12px!important}
  .password-settings .password-group label {margin-bottom:5px!important}
 }
}

/* Billing names are the item headings, above the smaller calculation parts. */
@media screen {body .billing-details .bill-item-heading>strong{font-size:20px;font-weight:700;line-height:1.4;color:#183f4c}body .billing-details .bill-item-heading>span{font-size:18px;line-height:1.4}}
@media screen and (max-width:700px){body .billing-details .bill-item-heading>strong{font-size:24px}body .billing-details .bill-item-heading>span{font-size:22px}body[data-member-page=services] .member-trip-section>.subtle{font-size:18.7px!important;line-height:1.5}}

/* Compact member identity: context stays available without dominating the page. */
@media screen and (max-width:700px){
 body[data-member-page]>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 8px;--member-header-padding-y:8px;--member-header-padding-x:10px}
 body[data-member-page]>header .brand{grid-column:1/-1;max-width:100%;min-width:0;justify-self:start;gap:8px;font-size:20px}
 body[data-member-page]>header .brand .app-brand-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;font-size:20px;line-height:1.35}
 body[data-member-page]>header .brand .app-release-label{margin:0;font-size:12px;line-height:1.35;letter-spacing:0;white-space:nowrap}
 body[data-member-page]>header .member-identity{grid-column:1;grid-row:2;max-width:none;min-width:0;width:100%;margin:0;align-items:flex-start;text-align:start;gap:1px;line-height:1.3;overflow:hidden}
 body[data-member-page]>header .member-identity strong{font-size:14px;line-height:1.3;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body[data-member-page]>header .member-identity small{font-size:12px!important;line-height:1.35;display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body[data-member-page]>header>button{grid-row:2;--action-font-size:16px;min-height:44px;max-width:100%;white-space:nowrap;padding:8px 10px}
}

/* Future card dates and notes match the section introduction, with compact gaps. */
@media screen and (max-width:700px){body[data-member-page=services] #available-tours .my-tour-card>p.subtle{font-size:18.7px!important;line-height:1.5;margin:6px 0}}

/* Joined card metadata matches the section text. Existing button rules force
   descendant colors, so use the actual view IDs to keep this override local. */
@media screen and (max-width:700px){#member-trip-workspace #joined-tour-section #my-tours .member-tour-select>.subtle{font-size:18.7px!important;line-height:1.5;color:#637588!important}}

/* Phone outline fills the viewport; keep content clear of hands and cutouts. */
@media screen and (max-width:700px){body[data-member-page=services] dialog.itinerary-dialog.planning-outline{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));overflow:auto}}


/* Give the member entrances room to read as navigation. The game sheet is a
   separate fixed viewport; its dimensions and controls are unchanged. */
@media screen and (max-width:700px){
 body[data-member-page]:not([data-member-page=practice])>.member-nav {padding:10.5px 10px;row-gap:4.5px}
 body[data-member-page]:not([data-member-page=practice])>.member-nav>:is(a,button) {--action-font-size:20px;font-size:20px;line-height:1.35;min-height:44px;padding:6.67px 6px}
 body[data-member-page=services]>.member-nav {margin-bottom:14px}
}

/* Section tints follow the placement of the trip, while badges keep lifecycle colors. */
#member-trip-workspace #joined-tour-section {
 --trip-panel:#f1ebf7;--trip-panel-heading:#f8f5fb;--trip-card-heading:#fcf9fd;
 --trip-panel-edge:#9a87ad;--trip-panel-ink:#47345b;
}
#member-trip-workspace #available-tour-section {
 --trip-panel:#ebf5ee;--trip-panel-heading:#f5faf6;--trip-card-heading:#fbfefc;
 --trip-panel-edge:#84ad91;--trip-panel-ink:#264936;
}
#member-trip-workspace #completed-tour-section {
 --trip-panel:#f6eee6;--trip-panel-heading:#fbf7f2;--trip-card-heading:#fffcf8;
 --trip-panel-edge:#ad8c6f;--trip-panel-ink:#51361f;
 order:2;
}
html[data-site-theme=contrast] #member-trip-workspace #joined-tour-section {
 --trip-panel:#f1eaf7;--trip-panel-heading:#f7f3fb;--trip-panel-edge:#8b74a2;
}
html[data-site-theme=contrast] #member-trip-workspace #available-tour-section {
 --trip-panel:#eaf3ec;--trip-panel-heading:#f4f9f5;--trip-panel-edge:#6e927a;
}
html[data-site-theme=contrast] #member-trip-workspace #completed-tour-section {
 --trip-panel:#f5ece3;--trip-panel-heading:#faf5ef;--trip-panel-edge:#93745c;
}
#member-trip-workspace .member-trip-lists .member-trip-section {
 background:var(--trip-panel);border:1px solid var(--trip-panel-edge);border-top-width:4px;
 padding:0;overflow:hidden;
}
#member-trip-workspace .member-trip-section > .member-trip-section-heading {
 background:var(--trip-panel-heading);color:var(--trip-panel-ink);
 border-bottom:1px solid var(--trip-panel-edge);margin:0;padding:16px 14px;
}
#member-trip-workspace .member-trip-section .my-tour-list {
 padding:0;
}
#member-trip-workspace .member-trip-section .my-tour-list>p {
 padding:11px var(--capsule-pad) 14px;margin:0;
}
#member-trip-workspace .member-trip-section .my-tour-card[data-tour-state] {
 --tour-fill:var(--trip-panel);--tour-selected:var(--trip-panel-heading);--tour-edge:var(--trip-panel-edge);
 background:var(--tour-fill);border:0;border-radius:0;box-shadow:none;margin:0;
 padding:0 var(--capsule-pad) 14px;
}
#member-trip-workspace .member-trip-section .my-tour-card + .my-tour-card {
 border-top:1px solid var(--trip-panel-edge);
}
#member-trip-workspace .member-trip-section .member-trip-card-heading {
 box-sizing:border-box;display:block;flex:none;
 width:calc(100% + 2 * var(--capsule-pad));margin:0 calc(-1 * var(--capsule-pad)) 10px;
 padding:10px var(--capsule-pad);background:var(--trip-card-heading);color:var(--trip-panel-ink);
 overflow-wrap:anywhere;
}
#member-trip-workspace .member-trip-section .member-trip-card-status {
 display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0;
}

/* Personal performance screens: use the established subtotal size as the cap.
   Scope to services/screens so admin, printed pages and JPG canvases are intact. */
@media screen {
 body[data-member-page=services] .billing-details{font-size:17px;line-height:1.45}
 body[data-member-page=services] .billing-details .bill-total,
 body[data-member-page=services] .billing-details .bill-item-heading>strong,
 body[data-member-page=services] .billing-details .bill-item-heading>span,
 body[data-member-page=services] .billing-details .bill-overview>h3{font-size:20px;line-height:1.4}
 body[data-member-page=services] .billing-details :is(.subtle,.bill-charge-kind,.bill-charge-formula,.bill-charge-parts p,.bill-overview-row,.bill-group-note,small,.banner){font-size:17px!important;line-height:1.45}
 body[data-member-page=services] .billing-details .allocation-summary{font-size:18px;line-height:1.45}
 body[data-member-page=services] dialog.itinerary-dialog .itinerary-companions{font-size:18px!important;line-height:1.45}
}
@media screen and (max-width:700px){
 body[data-member-page=services] main.member-services{box-sizing:border-box;padding-inline:calc(4mm + env(safe-area-inset-left,0px)) calc(4mm + env(safe-area-inset-right,0px));font-size:18px;line-height:1.45;--action-font-size:18px}
 body[data-member-page=services] :is(main.member-services,dialog.itinerary-dialog) :where(h1,h2,h3,h4,.member-tour-name,.itinerary-title,.service-card>summary strong,.service-card>summary span){font-size:20px;line-height:1.4}
 body[data-member-page=services] #performance-list-title{font-size:20px;margin-inline:0}
 body[data-member-page=services] #available-tours h3{font-size:20px;line-height:1.4}
 body[data-member-page=services] :is(main.member-services,dialog.itinerary-dialog) :is(.subtle,small,.hint,.card-fact,.card-summary,.card-summary-detail,.card-dates,.itinerary-detail,.itinerary-subtitle,.itinerary-duration,.service-footer-note,.banner){font-size:17px!important;line-height:1.45}
 body[data-member-page=services] #available-tours .my-tour-card>p.subtle,
 #member-trip-workspace #joined-tour-section #my-tours .member-tour-select>.subtle,
 body[data-member-page=services] .member-trip-section>.subtle{font-size:17px!important;line-height:1.45}
 body[data-member-page=services] :is(.member-trip-section,.member-trip-detail){padding:10px}
 body[data-member-page=services] :is(main.member-services,dialog.itinerary-dialog) :is(.status-tag,.tour-state-tag,.member-state-badge){font-size:16px!important;line-height:1.35}
 body[data-member-page=services] #performance-tour-legend .tour-state-legend{font-size:17px}
 body[data-member-page=services] :is(.member-trip-detail-heading h2,.my-person-tour h3,.managed-cost-summary h3,.managed-cost-summary>strong,.service-card>summary,.service-footer>strong){font-size:20px;line-height:1.4}
 body[data-member-page=services] .member-services :is(.performance-breadcrumb,.my-tour-actions,.joined-tour-actions){--action-font-size:18px}
 body[data-member-page=services] .joined-tour-actions .member-tour-open{--action-font-size:18px}
 body[data-member-page=services]:not([data-member-page=practice]) dialog.itinerary-dialog,
 body[data-member-page=services]:not([data-member-page=practice]) dialog.itinerary-dialog.planning-outline{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top,0px)) calc(4mm + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) calc(4mm + env(safe-area-inset-left,0px));overflow:auto;font-size:18px;line-height:1.45;--action-font-size:18px}
 body[data-member-page=services] .itinerary-dialog .itinerary-page{font-size:18px}
 body[data-member-page=services] .itinerary-dialog :is(.itinerary-day h2,.itinerary-title){font-size:20px;line-height:1.4}
 body[data-member-page=services] .planning-outline :is(.planning-outline-intro,.planning-outline-description,.planning-outline-item p){font-size:17px;line-height:1.45}
 body[data-member-page=services] dialog.itinerary-dialog .itinerary-companions{font-size:18px!important;line-height:1.45}
 body[data-member-page=services] .billing-details .bill-line{padding:12px;margin-block:12px}
 body[data-member-page=services] .billing-details .bill-total{padding:12px 14px;font-size:20px;line-height:1.4}
 body[data-member-page=services] .billing-details .bill-overview{padding:12px}
}

/* Billing hierarchy remains20/17px, with currency deliberately smaller and muted. */
@media screen{
 body[data-member-page=services] .billing-details .bill-money-currency{font-size:13px!important;font-weight:400!important;line-height:1.4;color:#738693}
 body[data-member-page=services] .billing-details .bill-money-amount{font-size:17px;line-height:1.45;font-weight:600;color:#526e7d}
 body[data-member-page=services] .billing-details .bill-money-label{font-size:17px;line-height:1.45}
 body[data-member-page=services] .billing-details .bill-money-total :is(.bill-money-label,.bill-money-amount){font-size:20px;font-weight:700;line-height:1.4;color:#344f51}
 body[data-member-page=services] .billing-details .bill-heading-price>.bill-money-amount{font-size:20px;line-height:1.4;color:inherit}
 body[data-member-page=services] .billing-details .bill-items-section>h3{font-size:20px;line-height:1.4;color:#183f4c}
}
