.product-page-bar,.product-home,.product-more,.product-preferences,.product-trades{max-width:44rem;margin:.7rem auto;min-width:0}.product-page-bar{display:flex;align-items:center;gap:.5rem}.product-page-bar h2{flex:1;font-size:1.1rem;margin:0}.product-page-bar button{min-width:44px;min-height:44px;font-size:1.4rem;background:var(--sc-surface);color:var(--sc-ink);border:1px solid var(--sc-line);border-radius:.65rem}.product-home>h2{font-size:1.4rem;margin:.75rem 0 .3rem}.home-member-context{color:var(--sc-muted);font-size:.85rem;overflow-wrap:anywhere}.home-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.home-destinations button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;min-height:112px;min-width:0;margin:0;border:1px solid var(--sc-line);border-radius:1rem;background:var(--sc-surface);color:var(--sc-ink);font:inherit;font-weight:700;overflow-wrap:anywhere;box-shadow:0 3px 12px rgb(0 0 0 / .035)}.home-destinations svg{width:32px;height:32px;color:var(--sc-accent)}.home-attention{border:1px solid var(--sc-line);border-radius:.9rem;padding:.7rem;margin:.75rem 0 1rem;background:var(--sc-soft);color:var(--sc-ink)}.home-attention h3{display:flex;align-items:center;justify-content:space-between;margin:0;font-size:.95rem}.home-attention p{font-size:.8rem;margin:.35rem 0 0}.home-attention button{min-height:44px;margin:.4rem .25rem 0 0;background:var(--sc-surface);color:var(--sc-accent);border:1px solid var(--sc-line);border-radius:.6rem;font:inherit;font-size:.85rem}.home-attention-count{margin-left:.6rem;background:var(--sc-accent);color:var(--sc-onAccent);padding:.15rem .5rem;border-radius:1rem}.base-bottom-navigation button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;font-size:.7rem!important}.base-bottom-navigation svg{width:22px;height:22px}.product-more>button,.product-preferences>button{display:flex;align-items:center;gap:.8rem;width:100%;min-height:52px;text-align:left;background:var(--sc-surface);color:var(--sc-ink);border:1px solid var(--sc-line);border-radius:.7rem;padding:.7rem;margin:.5rem 0;font:inherit}.product-more svg,.product-preferences svg{width:24px;height:24px;color:var(--sc-accent);flex-shrink:0}.product-inline-tabs{display:flex;gap:.5rem;flex-wrap:wrap}.product-inline-tabs button{min-height:44px;background:var(--sc-surface);color:var(--sc-accent);border:1px solid var(--sc-line);border-radius:.6rem;font:inherit;padding:.5rem .75rem}.trade-activity-month{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:.4rem;align-items:center}.trade-activity-month h3{text-align:center;font-size:1rem}.trade-activity-month button{min-height:44px;font-size:1.4rem;background:var(--sc-surface);color:var(--sc-accent);border:1px solid var(--sc-line);border-radius:.6rem}.product-home[hidden],.product-trades[hidden],.product-more[hidden],.product-preferences[hidden]{display:none!important}.product-home button:focus-visible,.product-page-bar button:focus-visible,.product-more button:focus-visible,.product-preferences button:focus-visible,.product-inline-tabs button:focus-visible{outline:3px solid var(--sc-focus);outline-offset:2px}@media(max-width:360px){.home-destinations{gap:.5rem}.home-destinations button{min-height:104px;font-size:.85rem}.home-destinations svg{width:28px;height:28px}.product-page-bar h2{font-size:1rem}}
[data-member-shell=ready]>.sample-entry{display:none}html[data-member-shell=ready] body>.sample-entry,html[data-member-shell=ready] #auth-status,html[data-member-shell=ready] #signout,html[data-member-shell=ready] #refresh{display:none}html[data-app-route=home] .product-page-bar{display:none}html[data-member-shell=ready] #layout{padding-top:.15rem}html[data-member-shell=ready] .product-home{margin-top:.25rem}
.product-home,.product-more,.product-preferences,.product-trades,.product-page-bar{box-sizing:border-box;padding-left:.75rem;padding-right:.75rem}.trade-activity>p{font-size:.85rem;color:var(--sc-muted)}.product-preferences>p{font-size:.85rem;color:var(--sc-muted)}
.base-bottom-navigation button>span{overflow-wrap:anywhere;line-height:1.2;text-align:center}.base-app-header .base-brand{overflow:hidden;min-width:0}.base-app-header .base-brand img{flex-shrink:0}html[data-member-shell=ready] body{padding-bottom:calc(6rem + env(safe-area-inset-bottom))}
.base-bottom-navigation button{padding:.25rem .1rem!important}.base-bottom-navigation button>span{max-width:100%;min-width:0;width:100%}
.base-bottom-navigation button{margin:0!important;flex:1 1 0}
/* One stable application header; page titles are content, not a second toolbar. */
body>header.collab-product-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:4px;padding:calc(6px + env(safe-area-inset-top)) 8px 6px;min-height:58px;z-index:60}.collab-product-header .base-brand{font-size:1rem!important;margin:0;min-width:0;overflow:hidden}.collab-product-header .collab-brand-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collab-product-header .base-header-actions{gap:4px}.collab-product-header .base-header-actions button,.collab-product-header .collab-header-navigation{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:4px;font-size:24px;line-height:1;border:1px solid var(--sc-line);border-radius:10px;background:var(--sc-surface);color:var(--sc-ink)}.collab-product-header .collab-header-navigation:disabled{opacity:.3}.product-page-title{display:block;box-sizing:border-box;max-width:44rem;margin:.75rem auto;padding:0 .75rem;font-size:1.1rem;line-height:1.3}.product-page-title[hidden]{display:none!important}.base-bottom-navigation{z-index:60}.base-bottom-navigation button[aria-expanded=true]{background:var(--sc-soft);color:var(--sc-accent)}
.product-more-backdrop{position:fixed;top:var(--sc-app-header-height,60px);bottom:var(--sc-bottom-bar-height,76px);left:0;right:0;z-index:40;width:100%;max-width:none;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:rgb(10 22 38 / .4)}.product-more-backdrop[hidden]{display:none}.product-more-sheet.sc-window{position:fixed;top:auto;bottom:var(--sc-bottom-bar-height,76px);left:8px;right:8px;margin:0 auto;width:min(32rem,calc(100% - 16px));max-width:calc(100% - 16px);max-height:min(480px,calc(100dvh - var(--sc-app-header-height,60px) - var(--sc-bottom-bar-height,76px) - 16px));box-sizing:border-box;z-index:45;border:1px solid var(--sc-line);border-radius:18px 18px 0 0;background:var(--sc-surface);color:var(--sc-ink);padding:12px;overflow:auto;overscroll-behavior:contain;box-shadow:0 -8px 30px rgb(0 0 0 / .16)}.product-more-sheet .product-more{padding:0;margin:0}.product-more-sheet .product-more>button{margin:.35rem 0}.collab-header-navigation:focus-visible{outline:3px solid var(--sc-focus);outline-offset:1px}@media(max-width:360px){.collab-product-header .collab-brand-label{display:none}.collab-product-header .base-brand img{width:28px;height:28px}}
.product-more-sheet .sc-window-header{top:-12px;padding-top:4px}
body>header.collab-product-header{position:fixed;top:0;left:0;right:0}html[data-member-shell] body{padding-top:var(--sc-app-header-height,58px)}

.product-resources,.product-group-context{max-width:44rem;margin:.7rem auto;padding:0 .75rem;min-width:0;overflow-wrap:anywhere}.product-resources p,.product-group-context p{font-size:.9rem;line-height:1.5}.product-resources[hidden],.product-group-context[hidden]{display:none!important}

/* Stable compact Home information space; expanded text remains fully readable. */
.home-attention{min-height:116px;margin:.6rem 0 .8rem;padding:.65rem}.home-attention-content{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.home-attention-content button{margin:.4rem 0 0;min-width:0;overflow-wrap:anywhere;white-space:normal}.home-attention>p{line-height:1.4;overflow-wrap:anywhere}.home-attention-content>p{min-width:0}.home-destinations button{min-height:clamp(104px,calc((100svh - 440px)/3),132px)}
@media(max-width:360px){.home-attention-content{grid-template-columns:minmax(0,1fr) auto}.home-destinations button{min-height:104px}}
html[data-member-shell=ready] .base-calendar>h2,html[data-member-shell=ready] .base-calendar :is(.calendar-notice,.calendar-member-context,.calendar-view-controls,.calendar-mode-note,.calendar-list-toggle){display:none}html[data-member-shell=ready] .base-calendar .calendar-timezone{font-size:.7rem}html[data-member-shell=ready] .base-calendar-host{scroll-margin-top:var(--sc-app-header-height,58px)}
.trade-browse{margin-top:1rem;border-top:1px solid var(--sc-line);padding-top:.75rem}.trade-browse input[type=month]{max-width:100%;min-height:44px;font:inherit}.trade-browse>button{min-height:44px;white-space:normal}.trade-month-group h3{font-size:1.05rem}.calendar-attention[hidden]{display:none!important}


/* Keep branding visible and give the active page its own line. */
html[data-app-route] .collab-product-header .base-brand {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: .35rem;
  min-width: 0;
  white-space: normal;
}
html[data-app-route] .collab-product-header .base-brand img {
  display: block;
  grid-area: 1 / 1 / 3 / 2;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
html[data-app-route] .collab-product-header .collab-brand-label,
html[data-app-route] .collab-product-header .collab-section-label {
  display: block;
  grid-column: 2;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
html[data-app-route] .collab-product-header .collab-brand-label {
  grid-row: 1;
  font-size: 1rem;
  font-weight: 750;
}
html[data-app-route] .collab-product-header .collab-section-label {
  grid-row: 2;
  font-size: .8125rem;
  font-weight: 550;
  color: var(--sc-muted);
}
.collab-product-header .collab-section-label[hidden] {
  display: none !important;
}
@media (max-width: 379px), (max-width: 23.7em) {
  body > header.collab-product-header {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    row-gap: 2px;
  }
  .collab-product-header > .collab-header-navigation:first-child {
    grid-area: 1 / 1;
  }
  html[data-app-route] .collab-product-header .base-brand {
    grid-area: 1 / 2;
  }
  .collab-product-header > .collab-header-navigation:last-child {
    grid-area: 1 / 3;
  }
  .collab-product-header .base-header-actions {
    grid-area: 2 / 1 / 3 / -1;
    justify-content: flex-end;
  }
}

.product-more-group + .product-more-group {
  margin-top: .85rem;
}
.product-more-group h3 {
  margin: 0 0 .25rem;
  color: var(--sc-muted);
  font-size: .875rem;
}
.product-more-group > button {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .55rem .5rem;
  border: 0;
  border-radius: .4rem;
  background: transparent;
  color: var(--sc-ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
}
.product-more-group > button + button,
.base-menu-dialog .base-menu-group ~ .sc-menu-row {
  border-top: 1px solid var(--sc-line);
}
.product-more-group > button:hover:not(:disabled) {
  background: var(--sc-soft);
}

/* Home keeps the next action above the five member destinations. */
.product-home > h2 {
  margin: .65rem 0 .2rem;
}
.home-member-context {
  margin: 0;
  line-height: 1.45;
}
.home-attention {
  min-height: 0;
  margin: .8rem 0 1rem;
  padding: .75rem;
}
.home-attention-content {
  gap: .4rem;
  margin-top: .4rem;
}
.home-attention-content > p,
.home-attention-content > button {
  margin: 0;
}
.home-attention-content > button {
  padding: .45rem .65rem;
}
.home-attention-content > .home-attention-primary {
  justify-self: stretch;
  color: var(--sc-ink);
  font-weight: 700;
  text-align: left;
}
.home-attention-content > .home-attention-secondary {
  background: transparent;
  border-color: transparent;
  font-weight: 600;
}
.home-destinations {
  gap: .55rem;
}
.home-destinations > button {
  flex-direction: row;
  justify-content: flex-start;
  gap: .55rem;
  min-height: 68px;
  padding: .7rem;
  border-radius: .75rem;
  text-align: left;
}
.home-destinations > button:last-child {
  grid-column: 1 / -1;
}
.home-destinations svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}
@media (max-width: 360px) {
  .home-destinations > button {
    gap: .4rem;
    padding: .55rem;
  }
}

/* Main destinations use persistent tabs; only an open menu needs frame Back/X. */
body>header.collab-product-header[data-menu-open=false]{grid-template-columns:minmax(0,1fr) auto}
body>header.collab-product-header[data-menu-open=false]>.collab-header-navigation{display:none}
html[data-app-route] body>header.collab-product-header[data-menu-open=false] .base-brand{grid-area:1/1}
body>header.collab-product-header[data-menu-open=false] .base-header-actions{grid-area:1/2;justify-content:flex-end}

/* Profile facts may wrap vertically at large text sizes without clipping labels. */
.base-menu-dialog .base-profile-facts dt{min-width:0;overflow-wrap:anywhere}
.base-menu-dialog p{overflow-wrap:anywhere}


/* Compact settings forms use visible choices and allow wrapping at large text sizes. */
.sc-inline-choice {min-width:0;margin:.55rem 0;padding:0;border:0}
.sc-inline-choice legend {padding:0;margin:0 0 .25rem;font-weight:700}
.sc-inline-choice-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(8rem,100%),1fr));gap:.3rem}
.sc-inline-choice .sc-inline-choice-options label {
 display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:.4rem;min-width:0;min-height:44px;
 margin:0;padding:.25rem .45rem;box-sizing:border-box;border:1px solid var(--sc-line);
 border-radius:.5rem;background:var(--sc-surface);font-size:.875rem;font-weight:600;
}
.sc-inline-choice-options label:has(input:checked) {border-color:var(--sc-accent);background:var(--sc-soft)}
.sc-inline-choice-options label:has(input:disabled) {color:var(--sc-muted);background:var(--sc-raised)}
.sc-inline-choice .sc-inline-choice-options input {
 width:16px;height:16px;min-width:16px;min-height:16px;margin:0;padding:0;flex:none;accent-color:var(--sc-accent);
}
.sc-inline-choice-options label>span:last-child {min-width:0;overflow-wrap:anywhere}
.appearance-swatch {display:grid;place-items:center;width:1.4rem;height:1.4rem;flex:none;border-radius:.3rem}
.onboarding-panel :is(.contact-settings-form,.assignment-transfer-form),.request-alert-settings form {gap:.4rem;min-width:0}
.contact-settings-form>p,.assignment-panel>p,.request-alert-settings p {margin:.35rem 0;line-height:1.4}
.contact-settings-form>label,.assignment-transfer-form>label,.request-alert-settings form>label {margin:.3rem 0}
.onboarding-panel label.sc-settings-check {
 display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.5rem;min-height:44px;
}
.assignment-history {margin:.45rem 0}
.assignment-history summary {min-height:44px;display:list-item;padding:.45rem 0;box-sizing:border-box}
.assignment-history p,.base-menu-dialog .profile-as-of {margin:.25rem 0;color:var(--sc-muted);font-size:.85rem}
.base-menu-dialog .base-profile-facts {gap:.45rem .65rem;margin:.55rem 0}
.request-alert-settings button[type=submit],.contact-settings-form button[type=submit] {min-height:44px}
.preferences-contact {scroll-margin-top:calc(var(--sc-app-header-height,60px) + .5rem)}

/* Keep settings and navigation rows on the same spacing and type scale. */
.sc-settings-dialog.sc-window:not(.product-more-sheet) {
 width:min(28rem,calc(100% - 1.5rem));
 box-sizing:border-box;
}
.sc-settings-dialog .sc-window-title {
 font-size:1.125rem;
 line-height:1.25;
}
.sc-settings-dialog .sc-window-header {
 border-bottom:1px solid var(--sc-line);
 margin-bottom:.75rem;
}
.sc-settings-dialog .sc-window-title:focus {
 outline:none; /* The heading receives focus on open. Controls retain focus rings. */
}
.sc-settings-dialog p,.sc-settings-form p {
 margin:.4rem 0;
 line-height:1.4;
}
.sc-settings-dialog .base-menu-group,.sc-settings-dialog .product-more-group {
 margin:.65rem 0;
}
.base-menu-footer {
 margin-top:.75rem;
 padding-top:.35rem;
 border-top:1px solid var(--sc-line);
}
.sc-settings-dialog :is(.base-menu-group,.product-more-group)>h3 {
 margin:0 0 .2rem;
 color:var(--sc-muted);
 font-size:.875rem;
 font-weight:650;
}
.sc-settings-dialog .sc-menu-row,.sc-settings-dialog .product-more-group>button,
.product-preferences>button {
 min-height:44px;
 box-sizing:border-box;
 padding:.5rem .65rem;
 gap:.55rem;
 font-weight:600;
 text-align:left;
}
.product-preferences>button .sc-menu-chevron,.product-more-group .sc-menu-chevron {
 margin-inline-start:auto;
}
.product-preferences>button svg,.product-more-group>button svg {
 width:20px;
 height:20px;
}
.sc-settings-dialog .base-profile-facts {
 column-gap:.75rem;
 row-gap:0;
}
.sc-settings-dialog .base-profile-facts> :is(dt,dd) {
 padding:.4rem 0;
 border-bottom:1px solid var(--sc-line);
}
.sc-settings-dialog .base-profile-facts dt {
 font-weight:600;
 font-size:.875rem;
}
.sc-settings-dialog .base-profile-facts dd {
 font-size:.925rem;
}
.onboarding-panel .sc-settings-section,
.sc-settings-dialog .assignment-history {
 margin:.6rem 0;
}
.sc-settings-section>summary,.sc-settings-dialog .assignment-history>summary {
 min-height:44px;
 box-sizing:border-box;
 padding:.5rem 0;
 font-weight:650;
}
.onboarding-panel .sc-settings-form,.sc-settings-dialog .sc-settings-form {
 display:grid;
 gap:.55rem;
}
.sc-settings-form>h3 {
 margin:.2rem 0;
 font-size:1rem;
}
.onboarding-panel .sc-settings-form>label,.sc-settings-dialog .sc-settings-form>label {
 margin:0;
 font-size:.925rem;
 line-height:1.35;
}
.sc-settings-form>label:not(.sc-settings-check):not([hidden]) {
 display:grid;
 gap:.25rem;
}
.sc-settings-form>label>input:not([type=checkbox]) {
 min-width:0;
 width:100%;
 min-height:44px;
 box-sizing:border-box;
}
.sc-settings-dialog .sc-settings-form>label.sc-settings-check:not([hidden]) {
 display:grid;
 grid-template-columns:auto minmax(0,1fr);
 align-items:center;
 gap:.55rem;
 min-height:44px;
}
.sc-settings-form label.sc-settings-check>input {
 margin:0;
 width:1.125rem;
 height:1.125rem;
 min-width:1.125rem;
 min-height:1.125rem;
 accent-color:var(--sc-accent);
}
.sc-settings-form .sc-inline-choice {
 margin:0;
}
.sc-settings-form>[hidden],.sc-settings-form>p:empty {
 display:none!important;
}
.sc-settings-dialog .sc-settings-form>button[type=submit],
.onboarding-panel .sc-settings-form>button[type=submit],
.sc-settings-dialog .sc-settings-primary {
 min-height:44px;
 margin:.2rem 0 0;
 padding:.55rem .75rem;
 border:1px solid var(--sc-accent);
 border-radius:.6rem;
 background:var(--sc-accent);
 color:var(--sc-onAccent);
 font-weight:700;
}
.sc-settings-dialog .sc-settings-form>button:disabled,
.onboarding-panel .sc-settings-form>button:disabled {
 opacity:.65;
}
.sc-settings-actions {
 display:flex;
 flex-wrap:wrap;
 gap:.35rem;
}
.sc-settings-dialog .sc-settings-secondary {
 margin:.6rem 0 0;
 font-size:.875rem;
}
.assignment-transfer-form .sc-inline-choice-options {
 grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:360px) {
 .assignment-transfer-form .sc-inline-choice-options {
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}

.appearance-dialog .sc-inline-choice-options {
 grid-template-columns:repeat(2,minmax(0,1fr));
}
.appearance-dialog .sc-inline-choice:first-of-type .sc-inline-choice-options {
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.appearance-calendar-preview {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:.5rem;
 padding:.5rem;
 margin:.65rem 0 0;
 border:1px solid var(--sc-line);
 border-radius:.6rem;
 background:var(--sc-raised);
}
.appearance-calendar-preview>div {
 display:grid;
 justify-items:center;
 min-width:0;
 gap:.3rem;
 padding:.4rem;
 border:1px solid var(--sc-line);
 border-radius:.45rem;
 background:var(--sc-surface);
 color:var(--sc-muted);
 font-size:.8rem;
 font-weight:600;
}
.appearance-calendar-preview .calendar-duty-track {
 width:min(4.5rem,100%);
 height:34px;
}
@media(max-width:340px) {
 .appearance-dialog .sc-inline-choice:first-of-type .sc-inline-choice-options {
  grid-template-columns:1fr;
 }
}
/* Choice columns follow text size as well as viewport width. */
.appearance-dialog .sc-inline-choice-options,
.appearance-dialog .sc-inline-choice:first-of-type .sc-inline-choice-options {
 grid-template-columns:repeat(auto-fit,minmax(min(7rem,100%),1fr));
}
.sc-inline-choice legend {max-width:100%;overflow-wrap:anywhere}
.appearance-calendar-preview {grid-template-columns:repeat(auto-fit,minmax(min(7rem,100%),1fr))}
.appearance-calendar-preview>div>span {max-width:100%;overflow-wrap:anywhere}
.sc-settings-form label.sc-settings-check,
.sc-settings-section>summary,.assignment-history>summary {overflow-wrap:anywhere}
/* Round 7: task shortcuts, shared bank summary and separate member/group views. */
.home-destinations {grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem .35rem}
.home-destinations>button,.home-destinations>button:last-child {
 grid-column:span 2;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;
 gap:.45rem;min-width:0;min-height:112px;padding:.35rem .15rem;border:0;background:transparent;
 text-align:center;font-size:.875rem;line-height:1.35;overflow-wrap:anywhere;
}
.home-destinations>button:nth-child(4):nth-last-child(2) {grid-column:2/span 2}
.home-destinations>button:nth-child(5):last-child {grid-column:4/span 2}
.home-destinations .home-task-icon {display:grid;place-items:center;width:3.2rem;height:3.2rem;max-width:100%;border-radius:1rem;background:var(--sc-soft);color:var(--sc-accent)}
.home-destinations .home-task-icon svg {width:1.85rem;height:1.85rem}
.collab-app-shortcut {display:flex;align-items:center;gap:.65rem;min-height:44px;padding:.5rem;color:var(--sc-ink);font-weight:650;text-decoration:none;border-radius:.4rem}
.collab-app-shortcut img {width:28px;height:28px;object-fit:contain;flex:none}
.product-more-group .collab-app-shortcut {
 padding:.5rem .65rem;
 line-height:1.4;
 overflow-wrap:anywhere;
}
.collab-app-shortcut:focus-visible {outline:3px solid var(--sc-focus);outline-offset:2px}
.collab-app-shortcut:hover {background:var(--sc-soft)}
.product-inline-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;padding:.25rem;border:1px solid var(--sc-line);border-radius:.75rem;background:var(--sc-surface)}
.product-inline-tabs>button {margin:0;min-height:44px;padding:.45rem;white-space:normal;overflow-wrap:anywhere;border:0;background:transparent;color:var(--sc-muted);font-weight:650}
.product-inline-tabs>button[aria-current=page] {background:var(--sc-soft);color:var(--sc-accent)}
.ledger-balance-summary {margin:.7rem 0;padding:.75rem;border:1px solid var(--sc-line);border-radius:.8rem;background:var(--sc-surface)}
.ledger-balance-summary h2 {margin:0;font-size:1rem}
.ledger-balance-summary button {display:block;margin:.3rem 0 0;padding:.1rem 0;font-size:2rem;font-weight:750;border:0;background:transparent;color:var(--sc-ink);min-height:44px}
.ledger-panel>.ledger-record-action {width:100%;min-height:44px;margin:.25rem 0 .65rem;background:var(--sc-accent);border-color:var(--sc-accent);color:var(--sc-onAccent);font-weight:700}
.ledger-panel :is(h3,p) {overflow-wrap:anywhere}
.ledger-pending-list h3,.ledger-ious h3,.ledger-history h3 {font-size:1rem;margin:.65rem 0 .3rem}
.ledger-panel .ledger-scope-note {font-size:.8rem;color:var(--sc-muted);line-height:1.45;margin:.8rem 0 .3rem}
.ledger-completed-trade {margin:.65rem 0;padding:.65rem;border:1px solid var(--sc-line);border-radius:.7rem;background:var(--sc-surface);min-width:0}
.ledger-completed-trade summary {min-height:44px;padding:.3rem 0;box-sizing:border-box;font-weight:650;overflow-wrap:anywhere}
.member-directory-row {padding:.65rem 0;border-bottom:1px solid var(--sc-line)}
.member-directory-row h3 {font-size:1rem;margin:0 0 .25rem}
.member-directory-row p {font-size:.875rem;color:var(--sc-muted);margin:0;line-height:1.5;overflow-wrap:anywhere}
.recipient-picker[data-recipient-view=members]>label {display:grid;gap:.3rem;font-weight:650}
.recipient-picker[data-recipient-view=members] input[type=search] {min-width:0;box-sizing:border-box;min-height:44px;width:100%}
.recipient-picker[data-recipient-view=members] :is(h4,p) {overflow-wrap:anywhere}
.recipient-picker[data-recipient-view=groups]>div:not([hidden])>button {min-height:44px;white-space:normal;overflow-wrap:anywhere}
.recipient-picker[data-recipient-view=groups] [hidden] {display:none!important}

.recipient-picker [hidden] {display:none!important}
.home-destinations>button {box-shadow:none}

.recipient-picker .recipient-create-group {width:100%;background:var(--sc-accent);border-color:var(--sc-accent);color:var(--sc-onAccent);font-weight:700}
/* Crew customs remain distinct from official rules and app help. */
.crew-resources-panel {display:grid;gap:.75rem;min-width:0}
.crew-resources-header h2 {margin:0;font-size:clamp(1.45rem,4vw,1.85rem);line-height:1.15}
.crew-resources-header p {margin:.35rem 0 0;color:var(--sc-muted)}
.crew-resource-card {min-width:0;padding:clamp(.75rem,3vw,1rem);border:1px solid var(--sc-line);border-radius:.85rem;background:var(--sc-surface)}
.crew-resource-card h3 {margin:0 0 .35rem;font-size:1.05rem}
.crew-resource-card > p {margin:.35rem 0;color:var(--sc-muted)}
.crew-resource-card .crew-assignment {font-weight:700;color:var(--sc-ink)}
.crew-my-crew {border-inline-start:.25rem solid var(--sc-accent)}
.crew-resource-actions {margin-top:.6rem}
.crew-pickup-hours {display:block;color:var(--sc-muted);font-size:.875rem;font-weight:500}
.crew-reminder-timeline {list-style:none;margin:.4rem 0 0;padding:0}
.crew-reminder-timeline li {display:flex;gap:.35rem;align-items:baseline;flex-wrap:wrap;border-top:1px solid var(--sc-line);padding:.4rem 0;font-size:.875rem}
.crew-reminder-due {color:var(--sc-accent);font-weight:700}
.crew-resource-refresh {justify-self:start;min-height:44px}
.crew-note-form label small {font-weight:400;color:var(--sc-muted);line-height:1.4}
.crew-resources-panel p,.crew-note-dialog p {line-height:1.45;overflow-wrap:anywhere}
.crew-resource-actions {display:flex;gap:.4rem;flex-wrap:wrap}
.crew-resource-actions>button {min-height:44px;background:var(--sc-accent);border-color:var(--sc-accent);color:var(--sc-onAccent);font-weight:650;white-space:normal}
.crew-catalogue>label,.crew-note-form>label {display:grid;gap:.3rem;margin:.6rem 0;font-weight:650}
.crew-resources-panel input[type=search],.crew-note-form textarea,.crew-note-dialog :is(select,input:not([type=checkbox])) {width:100%;min-width:0;box-sizing:border-box;min-height:44px;font:inherit}
.crew-note-form textarea {padding:.5rem;resize:vertical}
.crew-published-note,.crew-review-queue {margin:.25rem 0;padding:.65rem;border:1px solid var(--sc-line);border-radius:.7rem;background:var(--sc-surface)}
.crew-resources-panel summary,.crew-note-dialog summary {min-height:44px;box-sizing:border-box;padding:.4rem 0;font-weight:650;overflow-wrap:anywhere}
.crew-note-field h4 {margin:.7rem 0 .2rem;font-size:1rem}
.crew-note-field p {white-space:pre-wrap;margin:.2rem 0 .7rem}
.crew-note-dialog.sc-window {width:min(30rem,calc(100% - 1.5rem));box-sizing:border-box}
.crew-note-dialog form {display:grid;gap:.5rem;min-width:0}
.crew-note-dialog form>label:not(.crew-note-check) {display:grid;gap:.3rem;min-width:0;overflow-wrap:anywhere}
.crew-note-check {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.5rem;min-height:44px;overflow-wrap:anywhere}
.crew-note-check input {width:22px;height:22px;margin:0}
.crew-note-dialog button {min-height:44px;white-space:normal;overflow-wrap:anywhere}
.crew-note-dialog :is(h2,h3,h4) {overflow-wrap:anywhere}
/* Keep group saving easy to find and avoid iPhone focus zoom on small text. */
.recipient-picker .recipient-save-group,
.recipient-picker .recipient-update-group:not(:disabled) {
 min-height:48px;padding:.7rem 1rem;background:var(--sc-accent);border-color:var(--sc-accent);
 color:var(--sc-onAccent);font-weight:750;box-shadow:0 2px 4px rgb(0 0 0 / .12);
}
.recipient-picker .recipient-save-group {display:block;width:100%;margin:.5rem 0}
.recipient-picker input:not([type=checkbox]):not([type=radio]) {font-size:max(16px,1rem)}
/* Saved lists lead; creating another group is a secondary action below them. */
.recipient-saved-groups {display:grid;gap:.5rem;margin:.65rem 0}
.recipient-picker .recipient-group-card {
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .5rem;align-items:center;
 width:100%;min-height:72px;box-sizing:border-box;margin:0;padding:.7rem;text-align:left;
 background:var(--sc-surface);border:1px solid var(--sc-line);border-radius:.65rem;
}
.recipient-group-card strong {min-width:0;overflow-wrap:anywhere;font-size:1rem}
.recipient-group-card .recipient-group-count {grid-column:1;min-width:0;font-size:.875rem;color:var(--sc-muted);font-weight:400}
.recipient-group-card .recipient-group-chevron {grid-column:2;grid-row:1/3;color:var(--sc-accent);font-size:1.4rem}
.recipient-picker .recipient-create-group {margin-top:.65rem;background:var(--sc-surface);color:var(--sc-accent);font-weight:650}
.recipient-picker .recipient-create-empty {background:var(--sc-accent);color:var(--sc-onAccent)}
.recipient-picker details.recipient-group-card {display:block}
.recipient-group-card>summary {display:list-item;min-height:48px;cursor:pointer;padding:.2rem 0;box-sizing:border-box;overflow-wrap:anywhere}
.recipient-group-card>summary strong {display:inline}
.recipient-group-card>summary .recipient-group-count {display:block;margin:.25rem 0 0 1rem}
.recipient-group-members {border-top:1px solid var(--sc-line);margin-top:.5rem;padding-top:.5rem;overflow-wrap:anywhere}
.recipient-group-members ul {margin:.2rem 0;padding-left:1.2rem}
.recipient-group-members li {padding:.3rem 0;line-height:1.4}
.recipient-picker article.recipient-group-card {display:block}
.recipient-group-heading {display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.recipient-group-heading h4 {font-size:1rem;margin:0;overflow-wrap:anywhere}
.recipient-group-heading>span {color:var(--sc-muted);font-size:.875rem;white-space:nowrap}
.recipient-group-members li {font-size:.9375rem}
.recipient-picker[data-recipient-view=groups]>div:not([hidden])>button.recipient-save-group {min-height:48px}
.contact-setup-dialog.sc-window {width:min(28rem,calc(100% - 1.5rem));box-sizing:border-box}
.contact-setup-dialog input:not([type=checkbox]):not([type=radio]),.onboarding-panel input:not([type=checkbox]):not([type=radio]),.crew-note-dialog textarea {font-size:max(16px,1rem)}
.product-more-sheet.sc-window {max-height:min(640px,calc(100dvh - var(--sc-app-header-height,60px) - var(--sc-bottom-bar-height,76px) - 16px))}

.trade-contact-dialog{width:min(94vw,520px);max-height:85dvh;overflow:auto}.trade-contact-dialog :is(input,select){font-size:1rem;min-height:44px;max-width:100%}.trade-contact-dialog input[type=tel]{font-size:max(16px,1rem);width:100%;box-sizing:border-box}.trade-contact-dialog label{display:block;margin:.6rem 0}.trade-contact-dialog p{overflow-wrap:anywhere}.trade-contact-shared{padding:.6rem;border:1px solid var(--sc-line);border-radius:.6rem;margin:.5rem 0}.trade-contact-shared h3{font-size:1rem;margin:0}.trade-contact-actions>button{display:block;min-height:44px;width:100%;text-align:left;white-space:normal}

.trade-contact-dialog .sc-settings-check{display:flex;align-items:center;gap:.55rem;min-height:44px}.trade-contact-dialog .sc-settings-check input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0}.trade-contact-dialog .sc-inline-choice input[type=radio]{min-height:0}
