:root {
  --navy: #080822;
  --ink: #17213a;
  --muted: #6d7890;
  --line: #e4e8f0;
  --bg: #f5f7fb;
  --cyan: #00bddd;
  --purple: #7652ee;
  --blue: #1675e8;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button,
input,
select,
textarea {
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3ed1e9;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 31px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin-bottom: 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin-bottom: 13px;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
}
p {
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 15px;
}
small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 620;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  min-height: 38px;
}
.btn.primary {
  background: var(--navy);
  color: white;
}
.btn.primary:hover {
  background: #25234d;
  box-shadow: 0 4px 12px #09092522;
}
.btn.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover {
  background: #f2f5fa;
  border-color: #bdc7d7;
}
.btn.ghost {
  color: var(--muted);
  background: transparent;
}
.btn.light {
  background: white;
  color: var(--navy);
}
.btn.tinted {
  background: #efebfd;
  color: #6141d0;
  border-color: #e4dcff;
}
.btn.danger {
  background: #b93b4b;
  color: white;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
}
.icon-btn:hover {
  background: #edf0f6;
}
.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: #5467b1;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.6;
}
.text-link:hover {
  color: #5f41dc;
}
.text-link.subdued {
  color: var(--muted);
  margin-top: 15px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.65px;
  color: var(--muted);
  margin-bottom: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  text-transform: capitalize;
}
.badge:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: currentColor;
}
.badge.green {
  color: #248569;
  background: #e7f6ee;
}
.badge.amber {
  color: #996823;
  background: #fff4dd;
}
.badge.blue {
  color: #456bb0;
  background: #edf2fc;
}
.badge.red {
  color: #b14d5d;
  background: #fcebee;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}
.field > span {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
}
input:not([type='checkbox']):not([type='range']):not([type='file']),
select,
textarea {
  border: 1px solid #dce2ec;
  background: white;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #929cae;
}
textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.5;
}
input[type='checkbox'] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
input[type='range'] {
  accent-color: var(--purple);
  width: 100%;
}
input[type='file'] {
  max-width: 100%;
  font-size: 12px;
}
input[type='file']::file-selector-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 9px;
  margin-right: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .field {
  margin-top: 14px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #eef3fc;
  border: 1px solid #dfe8f6;
  border-radius: 9px;
  padding: 13px 15px;
  color: #4c6081;
  font-size: 12px;
  line-height: 1.65;
  margin: 16px 0;
}
.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #7484ac;
}
.notice.warning {
  background: #fff5e4;
  border-color: #f0dfbd;
  color: #906122;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.empty {
  text-align: center;
  padding: 45px 20px;
}
.empty p {
  font-size: 12px;
  max-width: 400px;
  margin: 0 auto 18px;
}
.empty-mark {
  background: #f1eefc;
  border-radius: 15px;
  display: inline-flex;
  padding: 15px;
  color: var(--purple);
  margin-bottom: 17px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.loading {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
}
.loading img {
  width: 38px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  width: 240px;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 20px;
  z-index: 20;
  color: #ced1e0;
}
.wordmark {
  width: 157px;
  height: 45px;
  object-fit: contain;
  object-position: left;
  margin: 0 8px 26px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.3px;
  margin: 8px 12px;
  color: #82859f;
}
.hub-picker {
  background: #1b1c3c !important;
  border: 1px solid #343553 !important;
  color: #dddff1 !important;
  font-size: 11px;
  margin-bottom: 22px;
  padding: 10px !important;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #a4a8c2;
  padding: 12px 13px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  position: relative;
}
.sidebar button:hover {
  background: #191a36;
  color: white;
}
.sidebar button.active {
  background: #f5f6fc;
  color: var(--navy);
  font-weight: 700;
}
.sidebar nav button.active:before {
  content: '';
  width: 3px;
  height: 22px;
  position: absolute;
  left: -20px;
  background: var(--cyan);
  border-radius: 0 3px 3px 0;
}
.sidebar button i {
  background: var(--cyan);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.capacity {
  padding: 18px 10px;
  margin: 15px 0;
  border-top: 1px solid #262740;
}
.capacity > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.capacity span {
  font-size: 10px;
  color: #a2a6bf;
}
.capacity strong {
  font-size: 15px;
  color: #f5f6ff;
}
.capacity small {
  font-size: 9px;
  color: #8387a3;
}
.capacity-track {
  height: 4px;
  background: #30304b;
  border-radius: 4px;
  margin: 12px 0 8px;
  overflow: hidden;
}
.capacity-track > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #17c9dc, #8a59f8);
}
.version {
  font-size: 10px;
  color: #737995;
  margin: 18px 12px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: #1ac7c7;
}
.workspace {
  margin-left: 240px;
  width: calc(100% - 240px);
  min-width: 0;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.breadcrumb span {
  padding: 0 12px;
  color: #c1c7d1;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  color: #8a97af;
  width: 250px;
}
.global-search input {
  border: 0 !important;
  font-size: 11px;
  background: #f6f8fc !important;
  padding: 10px !important;
}
.notification-btn {
  border: 0;
  background: none;
  color: #6b7690;
  position: relative;
  padding: 5px;
}
.notification-btn i {
  position: absolute;
  width: 5px;
  height: 5px;
  right: 6px;
  top: 5px;
  background: #9864f8;
  border-radius: 50%;
}
.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  text-align: left;
  padding: 0;
  font-size: 11px;
  color: var(--ink);
  white-space: nowrap;
}
.profile-chip small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.avatar {
  width: 34px;
  height: 34px;
  background: #eeebfa;
  color: #6b4fc6;
  border: 1px solid #e5dff8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 750;
  flex-shrink: 0;
}
.demo-strip {
  background: #f0f0f9;
  color: #7b7896;
  border-bottom: 1px solid #e5e5f2;
  display: flex;
  justify-content: space-between;
  padding: 8px 36px;
  font-size: 9px;
  letter-spacing: 0.2px;
}
.demo-strip b {
  font-size: 8px;
  letter-spacing: 1.1px;
  padding: 3px 5px;
  background: #e5e3f2;
  color: #666384;
  border-radius: 3px;
  margin-right: 8px;
}
main {
  padding: 34px 36px 45px;
  max-width: 1640px;
  margin: auto;
  min-height: calc(100vh - 180px);
}
.app-footer23 {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 9px;
  color: #939bb0;
  border-top: 1px solid var(--line);
  padding: 20px 36px;
}
.app-footer23 span:last-child {
  margin-left: auto;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.heading p {
  font-size: 12px;
  margin: 0;
}
.heading .eyebrow {
  font-size: 9px;
}
.overview-hero {
  border-radius: 15px;
  background: linear-gradient(110deg, #141630, #1d2349);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  color: white;
  min-height: 210px;
}
.overview-hero h2 {
  font-size: 28px;
  font-weight: 570;
  letter-spacing: -0.9px;
  line-height: 1.2;
  margin: 10px 0 12px;
}
.overview-hero p {
  color: #a7b1d0;
  font-size: 12px;
  max-width: 500px;
  margin-bottom: 22px;
}
.overview-hero .eyebrow {
  color: #8db3dd;
  font-size: 9px;
}
.hero-orbit {
  width: 235px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-orbit:before,
.hero-orbit:after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid #5e669739;
  transform: rotate(24deg) scaleY(0.58);
}
.hero-orbit:after {
  transform: rotate(-36deg) scaleY(0.64);
}
.hero-orbit img {
  width: 104px;
  filter: drop-shadow(0 0 35px #4184c84a);
}
.orbit-dot {
  width: 6px;
  height: 6px;
  background: #19d9de;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 16px #22bbcf;
}
.orbit-dot.one {
  right: 20px;
  top: 35px;
}
.orbit-dot.two {
  left: 12px;
  bottom: 23px;
  background: #9a6fff;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 22px 0 28px;
}
.metric {
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.metric:last-child {
  border-right: 0;
}
.metric span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.metric strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
}
.metric small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.metric svg {
  position: absolute;
  right: 24px;
  top: 54px;
  color: #a6adc0;
}
.metric:hover {
  background: #fcfbff;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 22px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.section-title h2 {
  font-size: 15px;
  margin: 0;
}
.section-title > svg {
  color: #a6b0c5;
}
.focus-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 14px;
  border: 0;
  background: none;
  text-align: left;
  padding: 19px 0;
  border-bottom: 1px solid #eff1f7;
}
.focus-row:last-child {
  border-bottom: 0;
}
.focus-row strong {
  font-size: 12px;
}
.focus-row strong span {
  font-size: 9px;
  color: #919aaf;
  padding-left: 8px;
  font-weight: 400;
}
.focus-row p {
  font-size: 11px;
  margin: 6px 0 0;
}
.aircraft-square {
  width: 41px;
  height: 41px;
  background: #f0effa;
  color: #6c59b1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.focus-end {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.focus-end small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
}
.activity-row {
  display: flex;
  gap: 14px;
  text-align: left;
  border: 0;
  background: none;
  padding: 15px 0;
  width: 100%;
  border-bottom: 1px solid #eff1f7;
}
.activity-row i {
  margin-top: 5px;
  background: #9382d1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-row strong {
  font-size: 11px;
}
.activity-row p {
  font-size: 11px;
  margin: 6px 0;
}
.activity-row small {
  font-size: 9px;
}
.tip {
  padding: 16px;
  background: #f5f3fc;
  border-radius: 8px;
  margin-top: 18px;
}
.tip span {
  color: #8c7db8;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.4px;
}
.tip p {
  font-size: 11px;
  line-height: 1.6;
  margin: 9px 0 0;
  color: #6b6581;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 18px;
  flex-wrap: wrap;
}
.table-toolbar h2 {
  font-size: 14px;
  margin: 0;
}
.table-toolbar > input {
  max-width: 240px;
  font-size: 11px;
  padding: 9px !important;
}
.table-toolbar .actions input:not([type="checkbox"]):not([type="radio"]) {
  width: 190px;
  font-size: 11px;
}
.table-toolbar .actions select {
  width: 150px;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 10px;
  color: #8491a9;
  background: #f8f9fc;
  border-top: 1px solid #ecf0f6;
  border-bottom: 1px solid #ecf0f6;
}
td {
  padding: 16px 14px;
  border-bottom: 1px solid #eff1f7;
  vertical-align: middle;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
td p {
  font-size: 11px;
  margin: 6px 0 0;
}
.table-link {
  background: none;
  border: 0;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  padding: 0;
}
.table-link:hover {
  color: var(--purple);
}
.tabs {
  display: flex;
  gap: 4px;
  background: #edf0f7;
  padding: 4px;
  border-radius: 8px;
  width: max-content;
  max-width: 100%;
  overflow: auto;
}
.tabs button {
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 8px 13px;
  font-size: 11px;
  white-space: nowrap;
  color: #748198;
}
.tabs button.selected {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 3px #25325615;
  font-weight: 650;
}
.draft-banner,
.allowance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #e2def2;
  background: #f0edf9;
  border-radius: 11px;
  padding: 17px 20px;
  margin: 18px 0;
}
.draft-banner strong,
.allowance-banner strong {
  font-size: 12px;
}
.draft-banner p,
.allowance-banner p {
  font-size: 11px;
  margin: 5px 0 0;
  color: #827a9f;
}
.allowance-banner {
  background: white;
  border-color: var(--line);
  margin-bottom: 25px;
}
.allowance-banner > svg {
  color: var(--purple);
}
.allowance-banner > div {
  flex: 1;
}
.aircraft-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.aircraft-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 23px;
}
.aircraft-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aircraft-card-head h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.aircraft-card-head p {
  font-size: 11px;
  margin: 5px 0 0;
}
.aircraft-card-head .badge {
  margin-left: auto;
}
dl {
  margin: 20px 0;
}
dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f7;
  font-size: 11px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  font-weight: 550;
  text-align: right;
}
.aircraft-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.aircraft-actions .btn {
  font-size: 10px;
  padding: 9px 12px;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hub-directory {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.hub-avatar {
  display: inline-flex;
  background: #edf2fa;
  color: #6280ab;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 17px;
}
.hub-directory h3 {
  margin: 0;
}
.hub-directory p {
  font-size: 12px;
  margin: 6px 0;
}
.hub-directory .actions {
  margin-top: 20px;
}
.back-link {
  margin-bottom: 20px;
}
.order-view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.unsaved {
  font-size: 10px;
  color: #b7822b;
}
.order-grid {
  padding: 0;
  overflow: hidden;
}
.grid-editor .table-toolbar {
  padding: 16px;
}
.task-table {
  min-width: 760px;
}
.task-table th,
.task-table td {
  padding: 10px;
}
.task-table td {
  font-size: 11px;
  max-width: 350px;
}
.task-table td:nth-child(2) {
  min-width: 90px;
}
.task-table input:not([type='checkbox']),
.task-table select {
  font-size: 11px;
  border-color: transparent;
  border-radius: 4px;
  padding: 7px 5px !important;
  min-width: 85px;
  background: transparent;
}
.task-table input:hover,
.task-table select:hover {
  border-color: #d9dfec;
  background: white;
}
.task-table td:has(input[aria-label^='Description']) {
  min-width: 280px;
}
.task-table td:has(input[aria-label^='Notes']) {
  min-width: 180px;
}
.column-head {
  display: flex;
  align-items: center;
  gap: 3px;
}
.column-head input {
  font-weight: 650;
  font-size: 10px !important;
  min-width: 70px !important;
}
.column-head button {
  background: none;
  border: 0;
  color: #99a4b9;
  padding: 3px;
}
.hidden-task {
  opacity: 0.5;
  background: #f7f8fb;
}
.remove-task {
  font-size: 20px;
  border: 0;
  background: none;
  color: #b9a4ac;
  padding: 0 5px;
}
.grid-foot {
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  color: #8b94a8;
  font-size: 9px;
  border-top: 1px solid var(--line);
  gap: 15px;
}
.publication-head {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.publication-head p {
  font-size: 12px;
  max-width: 800px;
}
.publication-head h2 {
  margin-bottom: 10px;
}
.timeline {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 25px;
}
.timeline button {
  border: 1px solid var(--line);
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-labels {
  display: flex;
  gap: 8px;
  padding: 15px 25px;
  overflow: auto;
}
.timeline-labels button {
  border: 1px solid var(--line);
  background: #fafbfe;
  border-radius: 8px;
  padding: 8px 14px;
  text-align: left;
}
.timeline-labels span {
  font-size: 10px;
  font-weight: 650;
}
.timeline-labels small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.timeline-labels button.selected {
  background: #efebfc;
  border-color: #d5cafa;
  color: #6a45d2;
}
.comparison-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 25px;
  font-size: 11px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}
.comparison-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-bar span {
  font-size: 9px;
  color: var(--muted);
}
.comparison-bar i {
  width: 7px;
  height: 7px;
  background: #91d5d9;
  display: inline-block;
  margin-right: 5px;
}
.removed-tasks {
  padding: 15px 25px;
  font-size: 10px;
  color: var(--muted);
}
.approvals-section {
  margin-top: 30px;
}
.approval-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.approval-card {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
}
.approval-card h3 {
  margin: 13px 0 10px;
}
.approval-card p {
  font-size: 12px;
}
.approval-card .eyebrow {
  margin: 0;
  font-size: 8px;
}
.approval-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  padding: 17px;
  background: #f7f8fc;
  border-radius: 8px;
}
.approval-cost strong {
  font-size: 20px;
  white-space: nowrap;
}
.approval-cost span {
  font-size: 11px;
  color: var(--muted);
}
.approval-image {
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: contain;
  margin: 10px 0;
}
.customer-comment {
  padding: 12px;
  background: #f3f0fb;
  border-radius: 7px;
}
.messaging {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
}
.messaging > aside {
  border-right: 1px solid var(--line);
  padding: 20px 15px;
  background: #fafbfe;
}
.messaging aside h3 {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 5px 9px;
}
.messaging aside button {
  background: none;
  border: 0;
  padding: 13px 8px;
  display: flex;
  gap: 9px;
  align-items: center;
  text-align: left;
  width: 100%;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 8px;
}
.messaging aside button.selected {
  background: #efebf9;
  color: #6550b0;
}
.conversation-title {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.conversation-title .badge {
  margin-left: auto;
}
.message-stream {
  height: 360px;
  overflow: auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.message-bubble {
  background: #f0f3f9;
  border: 1px solid #e4eaf4;
  border-radius: 12px 12px 12px 3px;
  align-self: flex-start;
  max-width: 80%;
  padding: 14px 17px;
}
.message-bubble.mine {
  align-self: flex-end;
  background: #efebfb;
  border-color: #e1d9f8;
  border-radius: 12px 12px 3px 12px;
}
.message-bubble small {
  font-size: 9px;
}
.message-bubble p {
  margin: 7px 0 0;
  font-size: 12px;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-composer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-top: 1px solid var(--line);
}
.message-composer textarea {
  min-height: 60px;
  font-size: 12px;
}
.alert-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.alert-card .eyebrow {
  margin-top: 20px;
}
.alert-card .actions {
  margin-top: 25px;
}
.quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.quote-total strong {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.quote-editor input {
  font-size: 11px;
}
.quote-editor td:nth-child(2),
.quote-editor td:nth-child(3) {
  width: 120px;
}
.quote-review {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.marketplace-hero {
  padding: 30px 35px;
  border-radius: 14px;
  background: linear-gradient(115deg, #e4f6f9, #eeebfb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.marketplace-hero h2 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.9px;
  margin: 15px 0;
}
.marketplace-hero p {
  font-size: 12px;
  margin: 0;
  max-width: 490px;
  color: #69738b;
}
.marketplace-hero > svg {
  color: #9185cd;
  transform: rotate(25deg);
  margin-right: 35px;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.market-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.market-art {
  height: 155px;
  background: linear-gradient(125deg, #1a294b, #4b3976);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #aec4dc;
}
.market-art > svg {
  opacity: 0.65;
  transform: rotate(30deg);
}
.market-art > span:not(.badge) {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-size: 10px;
  color: white;
}
.market-art > .badge {
  position: absolute;
  right: 15px;
  top: 15px;
}
.market-body {
  padding: 23px;
}
.market-body h3 {
  margin-top: 10px;
  line-height: 1.4;
}
.market-body p {
  font-size: 11px;
}
.market-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  color: #8b92a8;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.market-meta span {
  display: flex;
  gap: 4px;
  align-items: center;
}
.market-body .btn {
  margin-top: 15px;
  white-space: normal;
}
.footnote {
  font-size: 10px;
  margin-top: 24px;
}
.notification-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 12px;
  border-bottom: 1px solid var(--line);
}
.notification-row.unread {
  background: #fcfbff;
}
.notification-row > div:nth-child(2) {
  flex: 1;
}
.notification-row h3 {
  font-size: 13px;
  margin: 6px 0;
}
.notification-row p {
  font-size: 11px;
  margin: 0;
}
.notification-symbol {
  width: 36px;
  height: 36px;
  background: #f0ecfb;
  color: #7c5fbd;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-row small {
  font-size: 9px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 25px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settings-nav button {
  background: none;
  border: 0;
  padding: 13px 15px;
  border-radius: 7px;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.settings-nav button.selected {
  background: #e9e5f7;
  color: #6847bd;
  font-weight: 650;
}
.settings-panel {
  padding: 30px;
  max-width: 1000px;
}
.settings-panel .field {
  max-width: 480px;
}
.settings-panel h3 {
  margin-top: 26px;
  font-size: 14px;
}
.settings-panel p {
  font-size: 12px;
}
.security-row {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: #5c8275;
  margin: 22px 0;
}
.security-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.security-row svg {
  width: 17px;
}
.current-plan {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  background: #f3f0fb;
  border: 1px solid #e6dff7;
  border-radius: 10px;
  margin: 20px 0;
}
.current-plan h3 {
  margin: 8px 0 0;
  font-size: 21px;
}
.current-plan small {
  font-size: 8px;
  letter-spacing: 1.1px;
}
.current-plan strong {
  align-self: center;
  font-size: 14px;
  color: #7760b6;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.toggle-row select {
  max-width: 240px;
  font-size: 11px;
}
.toggle-row small {
  display: block;
  margin-top: 5px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.team-row small {
  display: block;
  margin-top: 4px;
}
.team-row .badge {
  margin-left: auto;
}
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}
.email-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
}
.email-layout aside {
  border-right: 1px solid var(--line);
  padding: 15px;
}
.email-layout aside button {
  display: block;
  text-align: left;
  background: none;
  border: 0;
  padding: 15px;
  width: 100%;
  border-radius: 8px;
}
.email-layout aside button.selected {
  background: #f0edf9;
}
.email-layout aside strong {
  font-size: 11px;
}
.email-layout aside small {
  display: block;
  margin-top: 6px;
  font-size: 9px;
}
.email-layout > section {
  background: #f7f8fc;
  padding: 30px;
}
.email-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  max-width: 550px;
  margin: auto;
}
.email-brand {
  padding: 25px 30px;
  background: var(--navy);
}
.email-brand img {
  width: 137px;
}
.email-content {
  padding: 30px;
}
.email-content h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 15px 0;
}
.email-content p {
  font-size: 13px;
  white-space: pre-wrap;
}
.email-button {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 13px 19px;
  border-radius: 7px;
  font-size: 12px;
}
.email-small {
  font-size: 10px !important;
  margin: 25px 0 0;
  color: #99a0b0 !important;
}
.email-bottom {
  background: #f9fafc;
  padding: 17px 30px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #979fb3;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #080d29a8;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal {
  background: white;
  border-radius: 16px;
  width: 620px;
  max-width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 100px #050c3640;
  outline: none;
}
.modal.wide {
  width: 1130px;
}
.modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}
.modal header h2 {
  margin: 0;
  font-size: 18px;
}
.modal header .eyebrow {
  font-size: 8px;
  margin-bottom: 6px;
}
.modal-body {
  padding: 25px 27px;
  overflow: auto;
}
.modal-body h2 {
  font-size: 20px;
}
.modal-body p {
  font-size: 12px;
}
.steps {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0 0 29px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #9ba3b5;
  padding: 4px 0 17px;
  position: relative;
}
.steps li b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: #f1f3f8;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}
.steps li.current {
  color: #6550a9;
  font-weight: 650;
}
.steps li.current b {
  background: #ece5fb;
  color: #7650d1;
}
.steps li.current:after {
  content: '';
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--purple);
  left: 0;
  right: 10px;
}
.steps li.done b {
  background: #e6f6f0;
  color: #46977d;
}
.wizard-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 27px;
}
.review-list div {
  font-size: 12px;
  padding: 14px 0;
}
.inline-form {
  background: #f8f9fc;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.upload-zone {
  border: 1px dashed #c8c8e4;
  border-radius: 12px;
  padding: 27px;
  text-align: center;
  background: #f9f8fe;
  margin: 20px 0;
}
.upload-zone > svg {
  color: #8a72c1;
  margin-bottom: 14px;
}
.upload-zone h3 {
  margin: 0 0 17px;
}
.upload-zone p {
  font-size: 11px;
  margin: 15px 0;
}
.manual-option {
  padding: 24px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 15px 0;
}
.manual-option .badge {
  display: block;
  width: max-content;
  margin-top: 15px;
}
.registry-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.registry-results button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fafbfe;
  padding: 12px;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.registry-results button:last-child {
  border: 0;
}
.registry-results button:hover {
  background: #f1edfa;
}
.registry-results small {
  display: block;
  margin-top: 4px;
}
.suggestion-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.suggestion-list button {
  width: 100%;
  background: #f9fafc;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  font-size: 11px;
}
.suggestion-list small {
  display: block;
  margin-top: 6px;
  font-size: 9px;
}
.suggestion-list button:hover {
  background: #f3effb;
}
.reach-estimate {
  padding: 28px;
  background: linear-gradient(120deg, #f0eafa, #e8f6fa);
  border-radius: 12px;
  margin: 20px 0;
  text-align: center;
}
.reach-estimate > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #9784b7;
}
.reach-estimate strong {
  display: block;
  font-size: 52px;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 15px 0;
}
.reach-estimate p {
  font-size: 11px;
  margin: 0;
}
.hub-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 10px 0;
}
.hub-result strong {
  font-size: 12px;
}
.hub-result p {
  font-size: 10px;
  margin: 6px 0 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 23px;
}
.plan-card.current {
  border-color: #bfa9ef;
  background: #f9f6ff;
}
.plan-card h3 {
  font-size: 20px;
  margin: 10px 0;
}
.plan-card > strong {
  font-size: 27px;
}
.plan-card > strong small {
  font-size: 11px;
  font-weight: 400;
}
.plan-card p {
  font-size: 12px;
  margin: 12px 0;
}
.location-map {
  height: 260px;
  background: repeating-linear-gradient(0deg, #edf2f4 0, #edf2f4 35px, #e6edef 36px, #edf2f4 37px);
  position: relative;
  overflow: hidden;
  border: 1px solid #dce6e9;
  border-radius: 12px;
}
.map-road {
  position: absolute;
  background: #fff;
  border: 2px solid #e0e7ea;
  width: 100%;
  height: 22px;
}
.map-road.one {
  top: 40px;
  transform: rotate(-23deg);
}
.map-road.two {
  top: 200px;
  transform: rotate(35deg);
}
.map-road.three {
  top: 80px;
  left: 150px;
  width: 20px;
  height: 230px;
}
.map-runway {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 75%;
  height: 25px;
  background: #b4c5ce;
  border: 3px solid white;
  transform: rotate(-20deg);
}
.map-marker {
  position: absolute;
  left: 45%;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #6750b3;
}
.map-marker strong {
  background: var(--navy);
  color: white;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
}
.map-airport {
  position: absolute;
  bottom: 16px;
  left: 18px;
  font-size: 10px;
  color: #79919d;
}
.map-compass {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 10px;
  color: #7f8d9c;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 30px #09112c30;
  border-radius: 10px;
  font-size: 12px;
  max-width: 85%;
  line-height: 1.6;
}
.toast.error {
  background: #9c364a;
}
.toast > svg {
  flex-shrink: 0;
}
.toast button {
  background: none;
  border: 0;
  color: #ffffff90;
  font-size: 20px;
  margin-left: 15px;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-left {
  padding: 45px 10%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.auth-logo {
  width: 190px;
  height: 50px;
  object-fit: contain;
  object-position: left;
}
.auth-form {
  max-width: 420px;
  width: 100%;
  margin: 70px auto;
}
.auth-form h1 {
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 17px 0;
}
.auth-form > p {
  font-size: 13px;
  margin-bottom: 26px;
}
.auth-form .notice {
  font-size: 10px;
}
.auth-form form > .btn,
.auth-form fieldset > .btn {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  font-size: 12px;
}
.auth-form .text-link {
  margin: 20px auto 0;
  display: flex;
}
.persona-hint {
  font-size: 10px;
  color: #909ab0;
  line-height: 1.9;
  margin: 17px 0;
}
.auth-switch {
  font-size: 11px;
  text-align: center;
  color: #909ab0;
  margin-top: 26px;
}
.auth-switch button {
  background: none;
  border: 0;
  color: var(--purple);
  font-size: 11px;
  font-weight: 650;
}
.auth-left > small {
  margin-top: auto;
  text-align: center;
  font-size: 9px;
}
.auth-right {
  background: linear-gradient(140deg, #091032, #27204f);
  position: relative;
  display: flex;
  align-items: center;
  padding: 12%;
  overflow: hidden;
}
.brand-watermark {
  position: absolute;
  width: 650px;
  height: 650px;
  opacity: 0.04;
  transform: rotate(-9deg);
  right: -190px;
  top: 30px;
}
.auth-right-content {
  z-index: 1;
  position: relative;
}
.pill {
  font-size: 8px;
  color: #7fe0e7;
  letter-spacing: 1.4px;
  background: #5cbaed16;
  border: 1px solid #5e9ac535;
  padding: 8px 10px;
  border-radius: 5px;
}
.auth-right h2 {
  font-size: 43px;
  color: white;
  line-height: 1.22;
  letter-spacing: -1.9px;
  margin: 30px 0;
  font-weight: 540;
}
.auth-right h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #27c8da, #b294f4);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-right p {
  font-size: 13px;
  color: #9099bc;
  max-width: 370px;
}
.auth-flight {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #4d507438;
  padding-top: 30px;
  margin-top: 50px;
  font-size: 11px;
  color: #7886aa;
  line-height: 1.8;
}
.auth-flight svg {
  color: #27d0da;
}
.auth-flight b {
  font-weight: 500;
  color: #c0c8df;
}
.auth-footnote {
  position: absolute;
  bottom: 35px;
  font-size: 9px;
  color: #626d93;
}
.onboarding {
  max-width: 780px;
  margin: 60px auto;
  padding: 0 25px;
}
.onboarding > img {
  width: 190px;
  margin-bottom: 45px;
}
.onboarding > h1 {
  margin-bottom: 30px;
}
.onboarding > .card {
  padding: 30px;
}
.publication-summary {
  background: #f4f5fb;
  border-radius: 8px;
  padding: 20px;
  white-space: pre-wrap;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .overview-hero {
    min-height: 240px;
    padding: 35px 45px;
  }
  .metric-row {
    margin-top: 26px;
  }
  .metric {
    padding: 25px 30px;
  }
  .auth-right h2 {
    font-size: 53px;
  }
  .auth-form {
    margin-top: 120px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .workspace {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
    gap: 12px;
  }
  .demo-strip {
    padding: 8px 25px;
  }
  .global-search {
    width: 170px;
  }
  .profile-chip small {
    display: none;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .market-grid,
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-orbit {
    width: 170px;
  }
  .hero-orbit:before,
  .hero-orbit:after {
    width: 220px;
    height: 220px;
  }
  .overview-hero h2 {
    font-size: 25px;
  }
  .aircraft-list {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 18px;
  }
  .metric svg {
    right: 16px;
  }
  .metric span {
    font-size: 10px;
  }
  .auth-right h2 {
    font-size: 35px;
  }
  .auth-left {
    padding: 35px 8%;
  }
  .auth-right {
    padding: 9%;
  }
  .settings-layout {
    grid-template-columns: 160px 1fr;
  }
  .settings-panel {
    padding: 23px;
  }
  .messaging {
    grid-template-columns: 220px 1fr;
  }
  .steps li {
    font-size: 9px;
  }
  .email-layout {
    grid-template-columns: 200px 1fr;
  }
}
@media (max-width: 800px) {
  .sidebar {
    width: 72px;
    padding: 22px 10px;
  }
  .wordmark {
    display: none;
  }
  .workspace-label,
  .hub-picker,
  .sidebar button span,
  .sidebar button i,
  .capacity,
  .sidebar-bottom > button,
  .version {
    display: none;
  }
  .sidebar nav {
    margin-top: 25px;
  }
  .sidebar button {
    padding: 12px;
    justify-content: center;
  }
  .sidebar button.active:before {
    display: none;
  }
  .sidebar:before {
    content: 'G';
    font-size: 26px;
    color: #42c6e2;
    font-weight: 750;
    text-align: center;
  }
  .workspace {
    margin-left: 72px;
    width: calc(100% - 72px);
  }
  .topbar {
    padding: 0 20px;
    height: 66px;
    gap: 10px;
  }
  .global-search {
    display: none;
  }
  .profile-chip {
    margin-left: auto;
  }
  .profile-chip > span:last-child {
    display: none;
  }
  .demo-strip {
    padding: 8px 20px;
  }
  .demo-strip > span:last-child {
    display: none;
  }
  main {
    padding: 25px 20px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  h1 {
    font-size: 28px;
  }
  .overview-hero {
    padding: 25px;
  }
  .hero-orbit {
    display: none;
  }
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .market-grid,
  .hub-grid,
  .alert-grid,
  .quote-grid,
  .approval-grid {
    grid-template-columns: 1fr;
  }
  .marketplace-hero {
    padding: 25px;
  }
  .marketplace-hero > svg {
    width: 60px;
    margin-right: 0;
  }
  .marketplace-hero h2 {
    font-size: 25px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .settings-nav {
    flex-direction: row;
    overflow: auto;
  }
  .settings-nav button {
    white-space: nowrap;
    font-size: 10px;
  }
  .messaging {
    grid-template-columns: 1fr;
  }
  .messaging aside {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    display: flex;
    overflow: auto;
    gap: 8px;
    padding: 12px;
  }
  .messaging aside h3 {
    display: none;
  }
  .messaging aside button {
    white-space: nowrap;
    min-width: max-content;
    padding: 8px;
  }
  .message-stream {
    height: 330px;
  }
  .conversation-title .badge {
    display: none;
  }
  .email-layout {
    grid-template-columns: 1fr;
  }
  .email-layout aside {
    display: flex;
    overflow: auto;
  }
  .email-layout aside button {
    min-width: 180px;
  }
  .email-layout > section {
    padding: 20px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-right {
    display: none;
  }
  .auth-left {
    padding: 30px;
  }
  .auth-form {
    margin: 65px auto;
  }
  .auth-form h1 {
    font-size: 32px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal {
    max-height: 96vh;
    border-radius: 12px;
  }
  .modal > header {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .steps li span {
    font-size: 9px;
  }
  .steps li {
    gap: 5px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .notification-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .notification-row .actions {
    margin-left: 54px;
  }
  .comparison-bar {
    flex-wrap: wrap;
  }
  .focus-end {
    display: none;
  }
  .app-footer23 span {
    display: none !important;
  }
  .table-toolbar .actions {
    flex-wrap: wrap;
  }
  .allowance-banner,
  .draft-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .toggle-row {
    gap: 10px;
  }
  .toggle-row select {
    max-width: 180px;
  }
  .toast {
    bottom: 14px;
    max-width: 95%;
    width: max-content;
    font-size: 11px;
  }
  .hub-result {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Phase 2: operational clarity */
.outlook-card {
  margin: 20px 0;
  padding: 26px;
  background: linear-gradient(110deg, #fff, #f5f5fc);
}
.outlook-layout {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 36px;
  align-items: center;
}
.effort-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.effort-title strong {
  font-size: 30px;
}
.effort-title small {
  font-size: 14px;
  font-weight: 500;
  color: #6c7186;
}
.effort-bar,
.mini-effort {
  height: 12px;
  background: #e9e8f5;
  border-radius: 20px;
  overflow: hidden;
  margin: 14px 0;
}
.effort-bar span,
.mini-effort span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5a36a8, #19a8ba);
  border-radius: 20px;
}
.mini-effort {
  height: 5px;
  min-width: 140px;
  margin: 5px 0;
}
.effort-key {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #5f657a;
  flex-wrap: wrap;
}
.forecast-box {
  border-left: 1px solid #deddec;
  padding-left: 28px;
}
.forecast-box > small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #78758a;
}
.forecast-box > strong {
  display: block;
  font-size: 26px;
  margin: 8px 0;
}
.forecast-box p {
  font-size: 12px;
  color: #6c7186;
}
.milestones {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.milestones span {
  flex: 1;
  min-width: 120px;
  border-top: 3px solid #dcdbe8;
  padding-top: 10px;
  font-size: 12px;
}
.milestones .done {
  border-color: #179f9d;
}
.attention-text {
  color: #95621d;
  font-size: 13px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.check-row input {
  width: auto;
}
.attention-filter {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  background: #fff9ee;
}
.attention-filter input {
  width: auto;
}
.attention-cell {
  min-width: 220px;
  max-width: 260px;
  background: #fffaf0;
}
.attention-cell small {
  display: block;
  color: #926016;
  margin: 4px 0;
  font-size: 11px;
}
.attention-cell label {
  display: flex;
  gap: 6px;
  font-size: 12px;
}
.attention-cell input {
  width: auto;
}
.column-head button[draggable] {
  cursor: grab;
  font-size: 22px;
  color: #736a9b;
}
.source-panel {
  background: #f4f5fa;
  border: 1px solid #dedfea;
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
}
.source-panel pre {
  white-space: pre-wrap;
  max-height: 360px;
  overflow: auto;
  font-size: 12px;
}
.import-panel {
  margin: 20px 0;
}
.import-table-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 10px 0;
}
.import-table-picker label {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #dddde9;
  border-radius: 8px;
  padding: 10px;
  flex-wrap: wrap;
}
.import-table-picker input {
  width: auto;
}
.import-table-picker small {
  font-size: 11px;
  color: #6a7085;
}
.import-preview {
  max-height: 200px;
  margin: 16px 0;
}
.import-preview th,
.import-preview td {
  font-size: 12px;
  max-width: 300px;
  white-space: normal;
  padding: 10px;
}
.processing-status {
  padding: 18px;
  background: #f1eef9;
  border-radius: 12px;
}
.import-resume {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px;
}
.price-draft {
  padding: 18px;
  margin: 15px 0;
  border: 1px solid #e2dfed;
  border-radius: 12px;
}
.needs-confirmation td {
  background: #fff9ef;
}
.wingman-panel {
  position: fixed;
  z-index: 60;
  width: 460px;
  min-width: 280px;
  max-width: calc(100vw - 20px);
  height: 600px;
  max-height: calc(100vh - 30px);
  resize: both;
  overflow: auto;
  border: 1px solid #d0c9e6;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 60px #1c174c30;
}
.wingman-panel > header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #251c48;
  color: white;
  cursor: move;
  touch-action: none;
  position: sticky;
  top: 0;
  z-index: 1;
}
.wingman-panel header small {
  display: block;
  color: #c3b8db;
  font-size: 11px;
  margin-top: 4px;
}
.wingman-panel header button {
  margin-left: auto;
  color: white;
}
.wingman-robot {
  background: #5b438c;
  border: 1px solid #9acfe0;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 25px;
  color: #80e4e1;
}
.wingman-content {
  padding: 20px;
}
.wingman-content > label {
  font-size: 12px;
  display: flex;
  gap: 8px;
}
.wingman-content > label input {
  width: auto;
}
.wingman-result {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  width: 100%;
  background: #f5f3fa;
  border: 1px solid #e1dbea;
  padding: 14px;
  border-radius: 10px;
  margin: 10px 0;
  color: #302548;
}
.wingman-result span,
.wingman-result small {
  font-size: 12px;
}
.price-draft select[multiple] {
  min-height: 130px;
}
.card table small {
  display: block;
  font-size: 11px;
  color: #71788b;
  margin-top: 5px;
}
.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
@media (max-width: 800px) {
  .outlook-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .forecast-box {
    border-left: 0;
    border-top: 1px solid #deddec;
    padding: 16px 0 0;
  }
  .wingman-panel {
    left: 10px !important;
    top: 80px !important;
    width: calc(100vw - 20px);
    height: calc(100vh - 100px);
    resize: none;
  }
  .effort-title {
    flex-wrap: wrap;
  }
  .effort-title strong {
    font-size: 24px;
  }
}
/* Phase 3: premium assistance, visible editing and restrained required-field treatment. */
.btn.wingman {
  background: linear-gradient(110deg, #6254b9, #7666d4 60%, #277e91);
  color: white;
  border: 1px solid #a3a1dd;
  box-shadow: 0 3px 12px #6554bb20;
}
.btn.wingman:hover {
  filter: brightness(1.08);
  box-shadow: 0 3px 15px #6554bb35;
}
.system-column {
  background: #eeedf8 !important;
}
.system-column .column-head > span:first-child {
  font-size: 11px;
  opacity: 0.65;
}
.system-key {
  font-size: 12px;
  color: #717690;
  padding: 10px 18px;
  margin: 0;
}
.bulk-toolbar {
  padding: 14px 18px;
  background: #f5f7fb;
  flex-wrap: wrap;
  gap: 14px;
}
.bulk-toolbar select {
  width: auto;
  min-width: 140px;
}
.model-selector {
  display: grid;
  gap: 8px;
}
.model-selector select {
  width: 100%;
}
.price-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.inactive-task {
  opacity: 0.55;
}
.modal .table-scroll {
  max-height: 52vh;
  overflow: auto;
}
.modal .table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
.wingman-panel textarea {
  min-height: 80px;
}
@media (prefers-reduced-motion: no-preference) {
  .btn.wingman:focus-visible {
    animation: wingman-glow 1.8s ease-in-out infinite;
  }
  @keyframes wingman-glow {
    50% {
      box-shadow: 0 0 0 4px #37bfd130;
    }
  }
}
/* Phase 4 — consistent navigation, controls and workflow states */
.sidebar {
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #444660 transparent;
  align-items: stretch;
}
.sidebar > * {
  flex-shrink: 0;
}
.sidebar .wordmark {
  align-self: flex-start;
  margin-left: 0;
  object-position: left center;
}
.topbar {
  gap: 20px;
  min-height: 78px;
  height: auto;
  padding-top: 16px;
  padding-bottom: 16px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-actions .btn {
  white-space: nowrap;
}
.breadcrumb {
  flex-shrink: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' stroke='%236c7391' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding: 10px 32px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: #fff;
  min-height: 38px;
  color: var(--ink);
}
input[type='checkbox'] {
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  padding: 0 !important;
  border: 1.5px solid #bcc4d5;
  border-radius: 5px;
  background: #fff;
  vertical-align: middle;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
input[type='checkbox']:checked {
  background: #6650be;
  border-color: #6650be;
}
input[type='checkbox']:checked:after {
  content: '✓';
  font-size: 12px;
  color: white;
  line-height: 1;
}
input[type='checkbox']:disabled {
  opacity: 0.5;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #36bdcc80;
  outline-offset: 3px;
}
.section-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section-nav button {
  padding: 13px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font-weight: 600;
}
.section-nav .selected {
  color: #5841a9;
  border-color: #7961cb;
}
.order-view-bar {
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0 0;
}
.view-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.view-tab {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  text-align: left;
  color: var(--muted);
  min-width: 170px;
}
.view-tab span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.view-tab strong {
  font-size: 13px;
}
.view-tab small {
  font-size: 10px;
  font-weight: 400;
}
.view-tab.selected.internal {
  color: #167d80;
  border-color: #74c7c3;
  background: #edf9f7;
  box-shadow: 0 2px 6px #177d8010;
}
.view-tab.selected.draft {
  color: #95601c;
  border-color: #e4bd7c;
  background: #fff8eb;
}
.view-tab.selected.published {
  color: #3e62ad;
  border-color: #99b3df;
  background: #eff5ff;
}
.view-context {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 650;
  padding: 14px 2px;
  color: #237b7d;
}
.view-context.draft {
  color: #95601c;
}
.view-context.draft .live-dot {
  background: #c99536;
}
.view-context.published {
  color: #3e62ad;
}
.view-context.published .live-dot {
  background: #527ac0;
}
.order-grid {
  margin-top: 0;
}
.row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.row-action,
.remove-task {
  font-size: 11px !important;
  line-height: 1.4 !important;
  padding: 4px 0 !important;
  border: 0;
  background: none;
  color: #6e7790 !important;
  white-space: nowrap;
}
.row-action:hover,
.remove-task:hover {
  color: #554095 !important;
  text-decoration: underline;
}
.row-actions .text-link {
  font-size: 11px;
}
.working-days {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13px;
  background: #fafbfe;
}
.choice-card:has(:checked) {
  border-color: #b6a4e4;
  background: #f5f0ff;
}
.combobox {
  position: relative;
  width: 100%;
}
.combo-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 0 12px;
  gap: 10px;
  min-height: 44px;
}
.combo-input input {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 12px 0 !important;
  min-width: 0;
}
.combo-input button {
  border: 0;
  background: none;
  color: var(--muted);
}
.combo-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  z-index: 80;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 36px #18233d26;
  margin-top: 6px;
  padding: 5px;
}
.combo-options button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  background: white;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
}
.combo-options button:hover,
.combo-options button.focused {
  background: #f3f0fc;
}
.combo-options small {
  color: var(--muted);
  font-size: 11px;
}
.combo-options p {
  padding: 12px;
}
.validation-anchor {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.selected-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.selected-models button {
  background: #f2effb;
  border: 1px solid #ddd5ef;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 11px;
}
.import-table-picker {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.import-table-picker label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-radius: 10px;
}
.import-preview {
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 14px 0;
}
.import-preview td {
  max-width: 350px;
  white-space: normal;
}
.selection-summary {
  font-size: 12px;
  color: var(--muted);
}
.extraction-details {
  padding: 12px 16px;
  background: #f8f9fd;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  margin: 12px 0;
}
.extraction-details ul {
  max-height: 180px;
  overflow: auto;
}
.mapping-review {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin: 22px 0;
  background: #fafbfe;
}
.mapping-review h3 {
  margin: 5px 0 8px;
}
.mapping-review p,
.mapping-review small {
  font-size: 11px;
}
.mapping-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.status-mapping {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.status-mapping summary {
  cursor: pointer;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}
.status-mapping .field {
  display: inline-flex;
  width: calc(50% - 12px);
  margin-right: 12px;
  vertical-align: top;
}
.field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.field-chips button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 24px;
  padding: 9px 14px;
  font-size: 12px;
}
.field-chips button.selected {
  background: #eee9fa;
  border-color: #b5a4dc;
  color: #57418d;
}
.merge-stage {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 18px 0;
  padding: 20px;
}
.merge-stage h3 {
  margin: 0 0 7px;
}
.merge-stage p {
  color: var(--muted);
  font-size: 12px;
}
.merge-comparison table {
  table-layout: fixed;
}
.merge-comparison td {
  white-space: normal;
  font-size: 12px;
}
.merge-footer {
  position: sticky;
  bottom: -30px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.merge-footer small {
  color: var(--muted);
}
.effort-breakdown {
  margin-top: 12px;
  font-size: 12px;
}
.effort-breakdown summary {
  cursor: pointer;
  color: #95601c;
}
.effort-breakdown table {
  margin-top: 12px;
}
.pulse-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d9dfea;
  border-radius: 20px;
  padding: 6px 10px;
  background: #f6f8fc;
  font-size: 11px;
  color: #68758c;
}
.pulse-pill i {
  height: 7px;
  width: 7px;
  background: currentColor;
  border-radius: 50%;
}
.pulse-pill.green {
  color: #1b8871;
  background: #effaf5;
  border-color: #bce3d5;
}
.pulse-pill.amber {
  color: #a06d20;
  background: #fff8eb;
  border-color: #eedab8;
}
.pulse-pill.red {
  color: #b14f57;
  background: #fff1f1;
  border-color: #ecc4c8;
}
.pulse-panel {
  padding: 24px;
  margin: 22px 0;
}
.pulse-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.pulse-tile {
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pulse-tile p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .topbar {
    padding: 14px 22px;
  }
  .topbar-actions {
    gap: 12px;
  }
  .profile-chip > span:last-child {
    display: none;
  }
  .mapping-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .view-tab {
    min-width: 145px;
    padding: 12px;
  }
  .view-tab small {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    overflow-y: auto;
  }
  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .view-switcher {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
  }
  .view-tab {
    min-width: 125px;
    padding: 10px;
  }
  .view-tab small {
    display: none;
  }
  .mapping-fields {
    grid-template-columns: 1fr;
  }
  .status-mapping .field {
    width: 100%;
  }
  .order-view-bar > .actions {
    width: 100%;
    justify-content: flex-end;
  }
  .merge-footer {
    flex-wrap: wrap;
  }
}
.control-shell {
  min-height: 100vh;
  background: #f3f5fa;
  display: flex;
}
.control-nav {
  width: 235px;
  background: #0d1025;
  color: #b1bbd0;
  padding: 28px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.control-nav > img {
  width: 155px;
  align-self: flex-start;
}
.control-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 30px 8px;
}
.control-brand strong {
  color: white;
  font-size: 14px;
}
.control-brand small {
  font-size: 9px;
  letter-spacing: 1.5px;
  width: 100%;
  margin-left: 29px;
}
.control-nav nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.control-nav nav button,
.control-nav-foot button {
  border: 0;
  background: none;
  text-align: left;
  color: #aab5cb;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 12px;
}
.control-nav nav button.active {
  background: #282b49;
  color: white;
  box-shadow: inset 3px 0 #39bcc6;
}
.control-nav-foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 10px;
}
.control-nav-foot a {
  color: #a9b6d2;
}
.control-main {
  margin-left: 235px;
  max-width: 1500px;
  width: calc(100% - 235px);
  padding: 32px 40px;
}
.control-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.control-top h1 {
  margin: 9px 0 0;
}
.control-main > .card {
  padding: 26px;
  margin: 24px 0;
}
.control-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.control-stats .card {
  padding: 23px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.control-stats small {
  text-transform: capitalize;
  color: var(--muted);
}
.control-stats strong {
  font-size: 32px;
}
.control-columns,
.control-hubs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.control-columns > .card,
.control-hubs > .card {
  padding: 25px;
}
.control-columns .btn {
  margin-top: 16px;
}
.control-main table td small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}
.control-main td {
  vertical-align: top;
}
.control-main td .row-action {
  display: block;
}
.record-json {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  line-height: 1.7;
  max-height: 600px;
  overflow: auto;
  background: #f8f9fc;
  padding: 20px;
  border-radius: 12px;
}
.control-stepup {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.control-stepup form {
  max-width: 420px;
  margin-top: 16px;
}
.control-feedback {
  color: #257965;
  padding: 12px 0;
}
.control-login {
  min-height: 100vh;
  background: radial-gradient(ellipse at top right, #32245c, #0d1025 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  flex-direction: column;
  gap: 30px;
}
.control-login > img {
  width: 180px;
}
.control-login-card {
  background: white;
  border: 1px solid #ffffff30;
  padding: 40px;
  border-radius: 22px;
  max-width: 470px;
  box-shadow: 0 30px 100px #0004;
}
.control-login-card h1 {
  margin: 14px 0;
}
.control-login-card > small {
  display: block;
  line-height: 1.7;
  color: var(--muted);
  font-size: 11px;
  margin-top: 24px;
}
.control-login-card > a {
  display: block;
  margin-top: 25px;
  font-size: 12px;
  color: #6751b0;
}
@media (max-width: 900px) {
  .control-nav {
    width: 185px;
  }
  .control-main {
    margin-left: 185px;
    width: calc(100% - 185px);
    padding: 24px;
  }
  .control-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .control-columns,
  .control-hubs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .control-nav {
    position: static;
    width: 100%;
    padding: 20px;
  }
  .control-nav nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .control-nav nav button {
    white-space: nowrap;
  }
  .control-brand {
    padding: 16px 0;
  }
  .control-shell {
    flex-direction: column;
  }
  .control-main {
    margin: 0;
    width: 100%;
    padding: 20px;
  }
  .control-nav-foot {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  .control-login {
    padding: 20px;
  }
  .control-login-card {
    padding: 28px;
  }
}
.layout-recovery {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 18px;
}
.layout-recovery .field {
  flex: 1;
  margin: 0;
}
.provider-settings {
  padding: 26px;
  margin: 22px 0;
}
.master-override {
  border: 1px solid #e6d8bc;
  border-radius: 12px;
  padding: 16px;
  background: #fffbf3;
  margin: 20px 0;
}
.master-override summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.master-override p {
  font-size: 12px;
  color: var(--muted);
}
.pulse-tile blockquote {
  margin: 10px 0;
  border-left: 3px solid #aebdd4;
  padding: 10px 14px;
  background: #f5f7fb;
  font-size: 12px;
  line-height: 1.6;
}
.pulse-tile blockquote small {
  display: block;
  color: var(--muted);
}
@media (max-width: 700px) {
  .layout-recovery {
    flex-direction: column;
    align-items: stretch;
  }
}
.control-record-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  margin-top: 18px;
}
.control-record-results button {
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfe;
  padding: 12px;
}
.control-record-results small {
  color: var(--muted);
  font-size: 10px;
}
.hub-controls {
  margin-top: 18px;
}
.hub-controls summary {
  cursor: pointer;
  color: #5c6481;
  font-size: 12px;
  margin-bottom: 16px;
}
.usage-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 6px;
}
.control-main table {
  font-size: 12px;
}
@media (max-width: 700px) {
  .usage-filters {
    grid-template-columns: 1fr;
  }
}
.customer-record-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.customer-record-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.customer-record-stats > span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
}
.customer-record-stats strong {
  color: var(--ink);
  margin-right: 5px;
}
.btn.wingman {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn.wingman:after {
  content: '';
  position: absolute;
  inset: -100% auto -100% -70%;
  width: 30%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, #fff3, transparent);
  pointer-events: none;
  transition: left 0.65s ease;
}
.btn.wingman:hover:after {
  left: 140%;
}
@media (prefers-reduced-motion: reduce) {
  .btn.wingman:after {
    transition: none;
    display: none;
  }
}
/* Phase 5: concise overview, complete records and progressive import detail. */
.pulse-visual-panel {
  padding: 26px;
  margin: 24px 0;
}
.pulse-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.pulse-visual {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e1e5ef;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: var(--ink, #19233f);
}
.pulse-visual:hover {
  border-color: #8774cc;
  box-shadow: 0 6px 20px #34266e10;
}
.pulse-visual > span:nth-child(2) {
  display: grid;
  gap: 7px;
  flex: 1;
}
.pulse-visual small {
  font-size: 12px;
  color: #727e98;
}
.score-ring {
  --ring: #97a2b7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, white 79%, transparent 81%),
    conic-gradient(var(--ring) var(--score), #edf0f7 0);
}
.pulse-visual.green .score-ring {
  --ring: #20947f;
}
.pulse-visual.amber .score-ring {
  --ring: #cc9132;
}
.pulse-visual.red .score-ring {
  --ring: #cb5d6b;
}
.score-ring strong {
  font-size: 24px;
  line-height: 1.1;
}
.score-ring small {
  font-size: 10px;
  margin-top: 4px;
}
.customer-record-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 7px;
  background: #f3f4fa;
  border-radius: 14px;
  margin: 24px 0;
}
.customer-record-tabs button {
  padding: 11px 16px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #69738d;
  cursor: pointer;
  font: inherit;
}
.customer-record-tabs button[aria-pressed='true'] {
  background: white;
  color: #43317d;
  box-shadow: 0 2px 6px #1b224112;
  font-weight: 700;
}
.customer-record .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.record-list > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #edf0f7;
}
.record-list > div > span {
  flex: 1;
}
.pulse-record-detail {
  padding: 10px 0;
}
.pulse-record-detail details {
  border-top: 1px solid #e4e7f1;
  padding: 18px 0;
}
.pulse-record-detail summary,
.mapping-review summary,
.recovery-help > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}
.pulse-record-detail figure {
  margin: 18px 0;
  background: #f5f6fb;
  padding: 18px;
  border-radius: 12px;
}
.pulse-record-detail figcaption {
  font-size: 12px;
  color: #737e99;
}
.pulse-record-detail blockquote {
  margin: 12px 0 0;
  border-left: 3px solid #a9b5d1;
  padding-left: 15px;
}
.coverage-review {
  background: #fff8eb;
  border: 1px solid #f0d6a5;
  padding: 18px;
  border-radius: 14px;
  margin: 16px 0;
}
.coverage-review p {
  font-size: 14px;
  line-height: 1.6;
}
.coverage-review label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.recovery-help {
  border: 1px solid #e2e5f0;
  padding: 16px 20px;
  border-radius: 16px;
  margin: 20px 0;
}
.recovery-pages {
  border: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.recovery-pages legend {
  font-weight: 700;
  padding-top: 12px;
}
.recovery-pages label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e3e6f0;
  border-radius: 10px;
}
.recovery-pages small {
  grid-column: 2;
  line-height: 1.5;
}
.recovery-page-flags {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.recovery-page-flags select {
  max-width: 220px;
}
.mapping-review {
  padding: 18px;
  border: 1px solid #e2e5f0;
  border-radius: 16px;
  margin: 20px 0;
}
.mapping-review > p {
  font-size: 14px;
  color: #637190;
}
.summary-ready {
  animation: summary-ready 1.4s ease-out;
}
@keyframes summary-ready {
  from {
    box-shadow: 0 0 0 4px #3bb59a50;
    background: #eefbf6;
  }
  to {
    box-shadow: 0 0 0 0 transparent;
    background: white;
  }
}
@media (max-width: 650px) {
  .customer-record .form-grid {
    grid-template-columns: 1fr;
  }
  .pulse-visual-grid {
    grid-template-columns: 1fr;
  }
  .score-ring {
    flex-basis: 64px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .summary-ready {
    animation: none;
    border-color: #20947f;
  }
}
.mapping-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.mapping-summary > span {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  background: #f4f5fb;
  border-radius: 10px;
  font-size: 12px;
  color: #717d96;
}
.mapping-summary strong {
  font-size: 11px;
  color: #394664;
}
.customer-directory-row {
  cursor: pointer;
}
.customer-directory-row:hover {
  background: #f8f8fd;
}

/* Phase 6 — task intake, source review and customer reports */
.import-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 42px;
}
.import-method,
.btn.import-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
  min-height: 240px;
  padding: 28px;
  border: 1px solid #dfe3ee;
  border-radius: 20px;
  background: #fff;
  color: #19223c;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.import-method:hover,
.import-method:focus-visible {
  border-color: #7560c7;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px #28214a10;
}
.import-method strong {
  font-size: 20px;
  line-height: 1.3;
}
.import-method span {
  color: #77839b;
  line-height: 1.6;
}
.import-method.upload,
.btn.import-method.upload {
  background: linear-gradient(150deg, #f3efff, #effbfc);
  border-color: #d1c7ef;
}
.import-method.upload > svg {
  color: #7050c4;
}
.import-method > svg:last-child {
  margin-top: auto;
}
.import-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}
.import-result-head h2 {
  font-size: 32px;
  margin: 6px 0;
}
.import-result-head p {
  margin: 0;
  color: #69768f;
}
.task-import .mapping-review {
  padding: 12px 18px;
  background: #f7f8fc;
  border: 1px solid #e5e8f1;
  border-radius: 12px;
  margin: 20px 0;
}
.mapping-review > p {
  font-size: 13px;
  margin: 0 0 8px;
}
.mapping-review details > summary {
  padding: 8px 0;
  font-weight: 600;
  cursor: pointer;
}
.task-import .import-preview {
  max-height: 380px;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
}
.task-import .import-preview th {
  position: sticky;
  top: 0;
  background: #f6f7fb;
}
.task-import .import-preview td {
  padding: 14px 16px;
  font-size: 13px;
}
.import-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
}
.import-result-footer > small {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #738097;
}
.issue-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 12px;
}
.issue-dot.caution {
  background: #d99b32;
}
.issue-dot.error {
  background: #cc5360;
}
.issue-overlay {
  position: fixed;
  inset: 0;
  background: #10112c99;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(5px);
}
.issue-dialog {
  background: #fff;
  border-radius: 24px;
  width: min(1420px, 96vw);
  max-height: 94vh;
  overflow: auto;
  box-shadow: 0 30px 100px #080b2740;
  padding: 28px;
}
.issue-dialog > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.issue-dialog h2 {
  margin: 5px 0;
  font-size: 26px;
}
.issue-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 16px 0;
}
.issue-callout.error {
  background: #fff4f3;
  border-color: #f1d0ce;
  color: #a13c43;
}
.issue-callout.caution {
  background: #fff8e9;
  border-color: #edd9af;
  color: #926318;
}
.issue-callout p {
  margin: 4px 0;
}
.issue-compare {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  gap: 24px;
}
.issue-editor {
  background: #f8f9fc;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.issue-editor h3 {
  margin: 0;
}
.issue-editor .field {
  margin: 0 0 10px;
}
.issue-editor textarea {
  width: 100%;
  resize: vertical;
}
.issue-editor .btn {
  align-self: flex-start;
}
.issue-editor > small {
  line-height: 1.6;
  color: #6e7b91;
}
.issue-dialog > footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e5e8f1;
}
.issue-dialog > .check-row {
  margin-top: 18px;
  font-size: 13px;
}
.review-complete {
  padding: 70px;
  text-align: center;
  color: #278f7f;
}
.review-complete .btn {
  margin: 16px auto;
}
.source-visual {
  min-width: 0;
  border: 1px solid #e0e5ee;
  border-radius: 16px;
  overflow: hidden;
  background: #eceef4;
  display: flex;
  flex-direction: column;
}
.source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 16px;
  font-size: 12px;
  gap: 10px;
}
.source-toolbar .actions {
  gap: 10px;
}
.source-toolbar button {
  border: 1px solid #e2e6ef;
  background: white;
  border-radius: 7px;
  padding: 6px 9px;
  cursor: pointer;
}
.source-viewport {
  height: 450px;
  overflow: auto;
  padding: 16px;
  position: relative;
  scroll-behavior: smooth;
}
.source-canvas {
  position: relative;
  min-width: 100%;
  box-shadow: 0 3px 16px #17213e14;
  line-height: 0;
}
.source-canvas img {
  display: block;
  width: 100%;
  height: auto;
}
.source-highlight {
  position: absolute;
  border: 2px solid #d99b32;
  background: #f6b63f26;
  box-shadow: 0 0 0 9999px #1018330a;
  pointer-events: none;
  min-height: 6px;
}
.source-highlight.error {
  border-color: #d74f5e;
  background: #ec566c22;
}
.source-visual > small {
  padding: 12px 16px;
  background: white;
  line-height: 1.5;
  color: #737e93;
}
.source-fallback {
  max-height: 450px;
  overflow: auto;
  padding: 18px;
  background: #fff;
}
.source-fallback pre {
  white-space: pre-wrap;
  font: 13px/1.7 inherit;
}
.source-fallback td,
.source-fallback th {
  padding: 10px;
  min-width: 110px;
}
.recovery-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.recovery-pages > label {
  padding: 12px;
  border: 1px solid #e3e7ef;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  font-size: 13px;
}
.published-report {
  background: #fff;
  border: 1px solid #e0e5ee;
  border-radius: 20px;
  overflow: hidden;
  color: #24304a;
  margin: 20px 0;
  scroll-margin-top: 24px;
}
.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 36px;
  border-top: 5px solid #7460bb;
  background: linear-gradient(115deg, #f9f7ff, #f7fbfd);
}
.report-header h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 10px 0;
}
.report-header p {
  color: #78859a;
  margin: 5px 0;
}
.report-stamp {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  flex-shrink: 0;
  color: #645492;
}
.report-stamp small {
  color: #7f899d;
  font-size: 12px;
}
.report-progress {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 28px;
  padding: 26px 36px;
  border-bottom: 1px solid #e8ebf2;
}
.report-progress > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-progress small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #8190a5;
}
.report-progress strong {
  font-size: 23px;
  line-height: 1.3;
}
.report-progress strong span {
  font-size: 13px;
  font-weight: 500;
  color: #78849a;
}
.report-progress-track {
  height: 6px;
  border-radius: 8px;
  background: #ece9f7;
  overflow: hidden;
  max-width: 360px;
}
.report-progress-track > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7851c6, #26b9bf);
}
.report-summary {
  padding: 24px 36px 12px;
}
.report-summary h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #66578f;
}
.report-summary p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  white-space: pre-line;
  max-width: 900px;
}
.report-notice {
  margin: 12px 36px;
  padding: 14px 20px;
  background: #fff8e9;
  border-left: 3px solid #d8a34a;
  border-radius: 8px;
}
.report-notice p {
  margin: 6px 0;
}
.report-table-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 36px;
  gap: 24px;
}
.report-table-tools h3 {
  font-size: 16px;
  margin: 0;
}
.report-table-tools input:not([type='checkbox']) {
  max-width: 260px;
  padding: 10px 14px;
  font-size: 12px;
}
.report-table-scroll {
  overflow: auto;
  margin: 0 24px 24px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 13px;
}
.report-table th {
  padding: 16px;
  background: #f3f5f9;
  color: #748198;
  font-size: 11px;
  letter-spacing: 0.3px;
  vertical-align: middle;
  border-bottom: 1px solid #dfe4ed;
  min-width: 90px;
}
.report-table td {
  padding: 17px 16px;
  line-height: 1.65;
  vertical-align: top;
  border-bottom: 1px solid #e8edf3;
  max-width: 450px;
  min-width: 80px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.report-table tbody tr:nth-child(even) {
  background: #fafbfd;
}
.report-table tr:last-child td {
  border-bottom: 0;
}
.report-table td.report-description {
  min-width: 240px;
  font-weight: 500;
}
.report-status {
  display: inline-flex;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  background: #f0f2f7;
  color: #66748e;
  white-space: nowrap;
}
.report-status.complete {
  background: #e5f5ed;
  color: #258368;
}
.report-status.in-progress {
  background: #eaf0fc;
  color: #416db1;
}
.report-status.on-hold {
  background: #fff1d8;
  color: #a16d20;
}
.report-cell-history {
  margin-top: 6px;
  font-size: 10px;
  color: #3c8d7b;
}
.report-cell-history summary {
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.2px;
}
.report-cell-history small {
  display: block;
  line-height: 1.5;
  padding-top: 4px;
}
.report-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  background: #f9fafc;
  font-size: 11px;
  color: #8a94a6;
}
.report-empty {
  padding: 20px 36px;
}
.report-change-label {
  font-size: 11px;
  color: #287e72;
}
.report-inactive {
  opacity: 0.65;
}
.order-grid:has(.published-report) {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.publishing-details {
  padding: 16px 20px;
  border: 1px solid #e4e7f1;
  border-radius: 12px;
  background: #f7f8fc;
  font-size: 13px;
}
.publishing-details summary {
  cursor: pointer;
  font-weight: 600;
}
.summary-method-actions {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  align-items: flex-start;
}
.summary-method-actions + .muted {
  margin-top: 14px;
}
.summary-method-actions .btn {
  max-width: 49%;
  white-space: normal;
  text-align: center;
}
.wo-identity {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 24px;
  margin: -8px 0 24px;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 14px;
  flex-wrap: wrap;
}
.wo-identity > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wo-identity small {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #8b96a9;
  font-weight: 700;
}
.wo-identity .text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.wo-identity > .wo-lifecycle {
  margin-left: auto;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.publish-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.publish-actions > .btn:last-child {
  font-size: 11px;
  min-height: 30px;
  padding: 8px 10px;
}
.change-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eae5fc;
  padding: 2px 6px;
  color: #7251bc;
  font-size: 10px;
}
.order-actions {
  align-items: flex-start;
}
.merge-intro {
  padding: 16px 0;
}
.conflict-confirm {
  padding: 18px;
  background: #fff4df;
  border-radius: 12px;
}
.lifecycle-checklist {
  padding: 20px;
  background: #f1f9f5;
  border-radius: 14px;
}
.record-list > button {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 20px;
  background: white;
  border: 1px solid #e3e7ef;
  border-radius: 12px;
  color: #25314b;
  cursor: pointer;
}
.record-list > button:hover {
  background: #f7f5ff;
}
.record-list > div > div > small {
  display: block;
  margin-top: 7px;
  color: #8390a5;
}
.order-list-tabs {
  margin-bottom: 20px;
}
.customers-table td:first-child strong,
.customers-table .table-link {
  margin-right: 16px;
}
.customer-directory td:first-child .pulse-pill {
  margin-left: 16px;
}
.pulse-visual-grid {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 18px;
  padding-bottom: 12px;
}
.pulse-visual-grid > .pulse-visual {
  flex: 0 0 calc(50% - 9px);
  min-width: 310px;
  scroll-snap-align: start;
}
.quote-total {
  text-align: right;
  padding: 20px 32px;
  font-size: 20px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .import-methods {
    grid-template-columns: 1fr;
  }
  .import-method,
.btn.import-method {
    min-height: 150px;
  }
  .issue-compare {
    grid-template-columns: 1fr;
  }
  .issue-dialog {
    padding: 20px;
  }
  .source-viewport {
    height: 330px;
  }
  .report-header {
    padding: 24px;
  }
  .report-progress {
    padding: 24px;
    grid-template-columns: 1fr 1fr;
  }
  .report-progress > div:last-child {
    grid-column: 1/-1;
  }
  .report-summary,
  .report-table-tools {
    padding: 20px 24px;
  }
  .summary-method-actions {
    gap: 12px;
  }
  .report-stamp {
    max-width: 140px;
  }
  .wo-identity {
    gap: 20px;
  }
  .wo-identity > .wo-lifecycle {
    margin-left: 0;
  }
  .import-result-head,
  .import-result-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .report-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media print {
  .app-shell > .sidebar,
  .topbar,
  .test-flight,
  .order-view-bar,
  .view-context,
  .timeline,
  .timeline-labels,
  .comparison-bar,
  .report-table-tools input,
  .back-link,
  .wo-identity,
  .approvals-section {
    display: none !important;
  }
  .published-report {
    border: 0;
    margin: 0;
    box-shadow: none;
  }
  .report-table-scroll {
    overflow: visible;
  }
  .report-table {
    font-size: 10px;
  }
  .report-table thead {
    display: table-header-group;
  }
  .report-table tr {
    break-inside: avoid;
  }
  .report-cell-history summary {
    display: block;
  }
  .report-header {
    border-top: 3px solid #7050b6;
  }
  .report-footer {
    position: static;
  }
  .main-content {
    padding: 0 !important;
  }
}

.customer-directory-row td:first-child > .table-link {
  margin-right: 18px;
}
.customer-directory-row td:first-child > .pulse-pill {
  vertical-align: middle;
}
.customer-directory-row td:first-child > p {
  margin-top: 10px;
}
.report-progress .report-task-count {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.6;
}
.issue-editor input,
.issue-editor select {
  min-width: 0;
}
.issue-dialog .field > label {
  font-size: 13px;
}
.task-import .recovery-pages > label {
  display: flex;
  align-items: center;
  width: auto;
}
.published-report .report-header .eyebrow {
  font-size: 10px;
  line-height: 1.6;
}
.customer-directory-row td:first-child > .table-link {
  display: inline-block;
  vertical-align: middle;
}
.customer-directory-row td:first-child > .pulse-pill {
  display: inline-flex;
}
.order-view-bar .view-switcher {
  align-self: flex-start;
}

/* Phase 7: task-first workflows and restrained reports */
.smart-spark {
  font-size: 12px;
  color: #89edf0;
  position: absolute;
  right: 5px;
  top: 4px;
}
.topbar .btn.wingman,
.topbar .wingman {
  position: relative;
  width: 46px;
  height: 44px;
  min-width: 46px;
  padding: 10px;
  gap: 0;
}
.progress-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6654b6;
  font-size: 14px;
  padding: 12px;
}
.progress-ring {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #e8e4f4;
  stroke-width: 3;
}
.progress-ring .ring-motion {
  stroke: #7358cd;
  stroke-linecap: round;
  stroke-dasharray: 34 92;
  transform-origin: center;
  animation: processing-spin 1.1s linear infinite;
}
@keyframes processing-spin {
  to {
    transform: rotate(360deg);
  }
}
.progress-choice {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
.progress-choice legend {
  font-weight: 700;
  margin-bottom: 12px;
}
.progress-choice .intake-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.progress-choice .choice-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}
.progress-choice .selected {
  border-color: #7f66ce;
  background: #f3efff;
}
.progress-choice small {
  font-weight: 400;
}
.review-caution {
  background: #fff5e2 !important;
  border-color: #e6b758 !important;
  color: #96601b !important;
}
.review-warning {
  background: #b83c46 !important;
  color: white !important;
}
.mapping-compare,
.duplicate-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mapping-compare aside {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 24px;
}
.mapping-compare aside p {
  border-bottom: 1px solid #e2e6ef;
  padding: 12px 0;
}
.duplicate-pair {
  padding: 20px;
}
.duplicate-original .source-highlight {
  border-color: #5288ca !important;
  background: #4c83c51a !important;
}
.duplicate-pair .source-visual {
  min-width: 0;
}
.duplicate-pair h3 {
  font-size: 16px;
}
.duplicate-pair .source-document {
  max-height: 48vh;
}
.customer-record .record-link,
.customer-record .linked-record {
  display: grid;
  grid-template-columns: 1fr 1.8fr 100px 32px;
  gap: 20px;
}
.customer-record .actions {
  margin-bottom: 18px;
}
.record-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.report-cell-updated {
  background: transparent !important;
  border-bottom-color: #e7eaf1 !important;
}
.report-cell-history {
  display: inline-block;
  margin: 0 0 0 7px !important;
  vertical-align: middle;
  position: relative;
}
.report-cell-history summary {
  list-style: none;
  line-height: 1;
  cursor: pointer;
}
.report-cell-history summary::-webkit-details-marker {
  display: none;
}
.report-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  vertical-align: middle;
}
.report-dot.new {
  background: #28977b;
}
.report-dot.updated {
  background: #d19237;
}
.report-cell-history small {
  position: absolute;
  right: 0;
  top: 16px;
  z-index: 5;
  background: white;
  border: 1px solid #e0e5ed;
  box-shadow: 0 8px 24px #17203a15;
  border-radius: 8px;
  padding: 10px;
  width: 220px;
  color: #48556e;
}
.report-table {
  min-width: 760px;
  table-layout: auto !important;
}
.report-table td {
  padding: 17px 20px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.report-table .report-description {
  min-width: 260px;
  width: 35%;
}
.report-table th:last-child,
.report-table td:last-child {
  min-width: 170px;
}
.report-table-scroll {
  overflow-x: auto !important;
}
.published-report {
  min-width: 0;
}
.modal.wide:has(.published-report),
.modal:has(.published-report) {
  width: min(1440px, 96vw) !important;
  max-width: 1440px !important;
}
.order-actions {
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .mapping-compare,
  .duplicate-pair,
  .progress-choice .intake-options {
    grid-template-columns: 1fr;
  }
  .report-table td {
    padding: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ring-motion {
    animation-duration: 3s !important;
  }
}

.customer-record .record-list > button {
  display: grid;
  grid-template-columns: 1fr 1.8fr 100px 28px;
  align-items: center;
  gap: 24px;
  text-align: left;
}
.customer-record .record-list > button > span:nth-child(2) {
  justify-self: start;
}
.customer-record .record-list > button > .badge {
  justify-self: start;
}
.customer-record .record-list {
  gap: 12px;
}
.customer-record .actions {
  margin-bottom: 20px;
}
.smart-search {
  position: relative;
  width: 46px;
  height: 44px;
  padding: 10px !important;
  min-width: 46px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.report-cell-history summary {
  padding: 5px;
}
.report-footer {
  font-size: 11px;
}

.customer-record .record-list > button > svg:last-child {
  grid-column: 4;
  justify-self: end;
}
.subscription-control {
  min-width: 230px;
  max-width: 430px;
}
.subscription-control[open] {
  padding: 12px;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  background: #fafbfe;
}
.subscription-control .field {
  margin: 12px 0;
}
.subscription-control p {
  font-size: 12px;
  line-height: 1.5;
}
.control-main td small {
  display: block;
  margin-top: 7px;
}
.field-confirmation .wizard-footer {
  margin-top: 28px;
}
.issue-compare .issue-editor textarea {
  min-height: 70px;
}

/* Phase 8: reserve action space and keep progress inside fixed controls. */
.wingman-ask {
  width: 170px;
  height: 48px;
  justify-content: center;
}
.wingman-ask .progress-status {
  padding: 0;
  gap: 8px;
  color: inherit;
  font-size: inherit;
}
.wingman-ask .progress-ring {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.save-action {
  display: flex;
  flex-direction: column;
  position: relative;
}
.save-action .unsaved {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 5px;
  white-space: nowrap;
  font-size: 11px;
}
.order-actions {
  align-items: flex-start;
  flex-wrap: nowrap;
}
.publish-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.publish-actions .btn.ghost {
  padding: 4px 0;
  min-height: 24px;
  font-size: 12px;
}
.order-view-bar {
  align-items: flex-start;
  padding-bottom: 12px;
}
.task-approval-icon {
  border: 0;
  padding: 3px;
  margin-right: 5px;
  background: transparent;
  color: #66728b;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.task-approval-icon.pending {
  color: #ad711d;
}
.duplicate-decision {
  max-width: 640px;
  width: 90vw;
  margin: auto;
}
.report-cell-history > summary {
  min-width: 16px;
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.report-dot {
  flex: none;
  vertical-align: middle;
}
@media (max-width: 1000px) {
  .order-view-bar {
    flex-wrap: wrap;
  }
  .order-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.snapshot-generate {
  min-width: 280px;
  min-height: 46px;
  justify-content: center;
}
.snapshot-generate .progress-status {
  padding: 0;
  gap: 8px;
  color: inherit;
}
.snapshot-generate .progress-ring {
  width: 20px;
  height: 20px;
}
/* Phase 9: dedicated views, compact indicators and reliable mutation feedback. */
.busy-shield {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #10112b88;
  backdrop-filter: blur(5px);
  cursor: wait;
}
.busy-shield section {
  min-width: 300px;
  padding: 40px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 80px #06092044;
  text-align: center;
}
.busy-shield .progress-status {
  justify-content: center;
}
.busy-shield p {
  color: #68748b;
  margin-bottom: 0;
}
.btn .progress-status {
  min-width: 145px;
  height: 24px;
  display: inline-flex;
}
.btn .progress-ring {
  width: 22px;
  height: 22px;
  flex: none;
}
.publish-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.save-action {
  min-width: 120px;
}
.task-table .description-cell {
  min-width: 280px;
  width: 32%;
  position: relative;
}
.task-table .description-cell input {
  min-width: 240px;
  width: calc(100% - 26px);
}
.task-table td {
  position: relative;
}
.task-table .cell-expand {
  border: 0;
  background: transparent;
  color: #777e9d;
  padding: 4px;
  font-size: 12px;
  opacity: 0.55;
}
.task-table td:hover .cell-expand,
.cell-expand:focus {
  opacity: 1;
}
.expanded-cell {
  width: min(720px, 90vw);
  margin: auto;
}
.expanded-cell textarea {
  width: 100%;
}
.linked-column {
  width: 46px;
  min-width: 46px;
  text-align: center;
}
.linked-column .task-approval-icon {
  margin: 0;
  display: inline-flex;
  vertical-align: middle;
}
.report-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.report-value > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.report-value .report-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin: 0;
}
.report-status {
  white-space: nowrap;
}
.report-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.report-table td {
  vertical-align: middle;
}
.report-table-tools {
  flex-wrap: wrap;
  gap: 16px;
}
.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.issue-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  margin-left: 7px;
  vertical-align: middle;
  flex: none;
}
.caution-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}
.caution-filters button {
  padding: 8px 12px;
  background: #f6f7fb;
  border: 1px solid #e1e4ee;
  border-radius: 20px;
  color: #66738d;
}
.caution-filters .selected {
  color: #6945bf;
  background: #ede8fc;
  border-color: #ac94e9;
}
.merge-footer,
.wizard-footer {
  gap: 20px;
}
.field-chips,
.actions:has(+ .btn.wingman) {
  margin-bottom: 20px;
  gap: 16px;
}
.merge-task-group {
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  margin: 16px 0;
  overflow: hidden;
}
.merge-task-group > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f7f8fb;
  cursor: pointer;
}
.merge-task-group > summary span {
  flex: 1;
}
.merge-task-group > summary small {
  flex: none;
}
.merge-task-group table {
  width: 100%;
}
.pace-insight {
  margin: 20px 0;
}
.pace-insight small {
  display: block;
  margin-top: 14px;
  color: #727b91;
}
.task-match-summary .choice-card {
  width: 100%;
  text-align: left;
  margin-bottom: 12px;
  display: block;
}
.task-match-summary .choice-card .badge {
  margin-left: 12px;
}
.task-match-summary .choice-card.selected {
  border-color: #7951c5;
  background: #f5f0ff;
}
.focused-task {
  outline: 2px solid #a08ade;
  outline-offset: -2px;
}
.btn.wingman {
  min-inline-size: 220px;
}
.summary-method-actions .btn.wingman {
  min-inline-size: 340px;
}
.btn.wingman {
  inline-size: 220px;
  max-inline-size: 100%;
}
.summary-method-actions .btn.wingman {
  inline-size: 340px;
}
.btn .progress-status {
  min-inline-size: 0;
  inline-size: 100%;
}
.btn .progress-status span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Work-order list: isolated layout, no relationship scoring. */
.work-order-list-table {
  table-layout: fixed;
  min-width: 900px;
}
.work-order-list-table .wo-list-title {
  width: 26%;
}
.work-order-list-table .wo-list-aircraft {
  width: 100px;
}
.work-order-list-table .wo-list-customer {
  width: 24%;
}
.work-order-list-table .wo-list-date {
  width: 122px;
}
.work-order-list-table .wo-list-approvals {
  width: 124px;
}
.work-order-list-table .wo-list-open {
  width: 48px;
}
.work-order-list-table th,
.work-order-list-table td {
  padding: 16px 12px;
}
.work-order-list-table .wo-list-nowrap {
  white-space: nowrap;
}
.work-order-list-table .table-link {
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.work-order-list-table .wo-list-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  padding: 0;
  cursor: pointer;
}
.work-order-list-table th[aria-sort]:not([aria-sort='none']) .wo-list-sort {
  color: var(--purple);
}
.work-order-list-table .wo-list-pending {
  white-space: nowrap;
  border: 1px solid #f0d9aa;
  border-radius: 7px;
  padding: 5px 8px;
  background: #fff5df;
  color: #926016;
  font: inherit;
  cursor: pointer;
}
.work-order-list-table .wo-list-none {
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
}
.work-order-list-table .icon-btn {
  display: inline-flex;
  align-items: center;
}
.work-order-list .table-toolbar {
  flex-wrap: wrap;
  gap: 16px;
}
.work-order-list .table-toolbar input {
  width: min(300px, 100%);
}
.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;
}
.wo-tabs {
  overflow-x: auto;
}
.wo-tabs > button {
  flex-shrink: 0;
  white-space: nowrap;
}
.report-table-tools .check-row input[type='checkbox'] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  flex: 0 0 17px;
  padding: 0;
  margin: 0;
}
.report-table th.linked-column,
.report-table td.linked-column {
  min-width: 48px;
  width: 48px;
  text-align: center;
}
.report-table th,
.report-table td {
  text-align: left;
}
.report-table .report-value {
  align-items: center;
}
.work-order-list-scroll {
  position: relative;
  min-width: 0;
  overflow-x: auto;
}
.work-order-list .order-list-tabs {
  overflow-x: auto;
}
.work-order-list .order-list-tabs > button {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .work-order-list .heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-order-list .card {
    padding: 16px;
  }
  .work-order-list .table-toolbar input {
    width: 100%;
  }
}

/* Phase 10: shared grid controls and visual overview */
.grid-editor .task-table td {
  vertical-align: middle;
}
.grid-cell-control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 100px;
  width: 100%;
}
.task-table .grid-cell-control input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 40px;
  margin: 0;
}
.task-table .grid-cell-control.clipped input {
  padding-right: 32px;
}
.task-table .grid-cell-control .cell-expand {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 28px;
  margin: 0;
  opacity: 1;
  font-size: 17px;
  color: #6652b5;
}
.task-table .numeric-cell {
  min-width: 132px;
}
.task-table .grid-cell-control.numeric {
  min-width: 112px;
}
.task-table .grid-cell-control.numeric input {
  font-variant-numeric: tabular-nums;
  padding-right: 24px;
}
.task-table select {
  min-height: 40px;
}
.task-table .description-cell {
  min-width: 300px;
}
.grid-editor .table-toolbar {
  position: relative;
  padding-right: 82px;
}
.grid-help {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 15px;
}
.shortcut-guide {
  max-width: 640px;
  margin: auto;
}
.shortcut-guide dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}
.shortcut-guide dt {
  font-weight: 700;
}
.shortcut-guide dd {
  margin: 0;
  color: #66728a;
}
.task-approval-icon {
  color: #6951b7 !important;
  min-width: 30px;
  min-height: 30px;
}
.task-approval-icon svg {
  stroke-width: 3;
}
.task-approval-icon.pending {
  color: #a66a10 !important;
}
.wo-tabs ~ .view-tabs .btn.wingman,
.view-actions .btn.wingman,
.order-view-actions .btn.wingman {
  min-width: 0;
  width: auto;
  flex: none;
}
.btn.wingman {
  white-space: nowrap;
}
button[data-taskmaster] {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 12px 18px !important;
}
.change-dot-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  vertical-align: middle;
}
.change-dot-anchor button.report-dot {
  position: relative;
  width: 8px;
  height: 8px;
  min-width: 8px;
  margin: 6px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}
.change-dot-anchor button.report-dot:before {
  content: '';
  position: absolute;
  inset: -7px;
}
.change-dot-anchor button.report-dot:focus-visible {
  outline: 2px solid #7660b8;
  outline-offset: 4px;
}
.change-tooltip {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #24213f;
  color: white;
  box-shadow: 0 8px 24px #211c4630;
  border-radius: 9px;
  padding: 10px 13px;
  width: max-content;
  max-width: min(300px, 60vw);
  white-space: normal;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.report-table-scroll {
  overflow-x: auto;
}
.publication-controls {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffffed;
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border: 1px solid #e1e5ef;
  border-radius: 12px;
  box-shadow: 0 4px 18px #2520440a;
  margin-bottom: 20px;
}
.publication-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: #7a8397;
  font-size: 13px;
}
.publication-controls select {
  width: auto;
  max-width: 100%;
}
.approval-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.approval-filter select {
  width: auto;
}
.wo-visual-overview {
  margin: 24px 0;
}
.overview-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.overview-kpis > button {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 8px;
  border: 1px solid #e1e5ef;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  color: #25304a;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.overview-kpis > button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #50428012;
}
.overview-kpis strong {
  font-size: 32px;
  letter-spacing: -1px;
}
.overview-kpis small {
  color: #7b849a;
  font-size: 12px;
}
.kpi-icon {
  position: absolute;
  right: 20px;
  top: 22px;
  color: #7860c5;
  background: #f0ebfb;
  border-radius: 11px;
  padding: 6px 10px;
  font-size: 21px;
}
.overview-visual-panels {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 22px;
}
.overview-visual-panels > .card {
  padding: 26px;
  border-radius: 20px;
  margin: 0;
  min-width: 0;
}
.overview-visual-panels h2 {
  font-size: 21px;
  margin: 7px 0 14px;
}
.gateway-chart {
  height: 210px;
  width: 100%;
}
.overview-pulse .gateway-chart {
  height: 200px;
}
.overview-pulse p {
  margin: 0 0 8px;
  color: #68748c;
}
.overview-pulse small {
  display: block;
  color: #7b849a;
  font-size: 12px;
  line-height: 1.6;
}
.overview-attention {
  background: linear-gradient(135deg, #fff, #f6f3fc);
}
.overview-attention > button {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  background: white;
  border: 1px solid #e6e1f0;
  border-radius: 13px;
  text-align: left;
  margin: 12px 0;
  padding: 16px;
  cursor: pointer;
}
.overview-attention > button > span:last-child {
  margin-left: auto;
}
.overview-attention small {
  display: block;
  color: #7b849a;
  margin-top: 5px;
}
.attention-count {
  font-size: 25px;
  font-weight: 700;
  color: #7453be;
  min-width: 35px;
}
.aircraft-strip {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e4dff0;
  color: #5f6983;
}
.aircraft-strip > div:last-child {
  margin-left: auto;
  font-size: 12px;
}
.aircraft-strip strong {
  display: block;
}
.overview-clear {
  text-align: center;
  padding: 16px;
}
.overview-clear > span {
  font-size: 32px;
  color: #259e8e;
}
.overview-clear p,
.chart-empty {
  color: #7b849a;
  font-size: 13px;
}
.chart-empty {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
}
.overview-visual-panels .section-title {
  align-items: center;
  gap: 12px;
}
.overview-visual-panels .text-link {
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .overview-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-visual-panels {
    grid-template-columns: 1fr 1fr;
  }
  .publication-controls {
    flex-wrap: wrap;
  }
  .publication-controls label {
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  .overview-visual-panels {
    grid-template-columns: 1fr;
  }
  .overview-kpis {
    gap: 10px;
  }
  .overview-kpis > button {
    padding: 18px;
  }
  .kpi-icon {
    display: none;
  }
  .overview-kpis strong {
    font-size: 26px;
  }
  .publication-controls > select {
    max-width: calc(100% - 100px);
  }
  .shortcut-guide dl {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .shortcut-guide dd {
    margin-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .overview-kpis > button {
    transition: none;
  }
}
.overview-lower {
  margin-top: 22px;
}
.overview-activity {
  list-style: none;
  padding: 0;
  margin: 0;
}
.overview-activity li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
}
.overview-activity strong {
  font-size: 13px;
  text-transform: capitalize;
}
.overview-activity small,
.team-summary small {
  display: block;
  font-size: 12px;
  color: #7d879b;
  margin-top: 5px;
}
.activity-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8b72d0;
  margin-top: 5px;
  flex: none;
  box-shadow: 0 0 0 5px #f1edfa;
}
.team-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}
.team-avatar {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #eee8fb;
  color: #7052b5;
  border-radius: 50%;
  font-weight: 700;
}
.order-grid:has(.published-report) {
  overflow: visible;
}
.report-table .report-reference {
  min-width: 130px;
}
.report-table .report-reference .report-value > span:first-child {
  white-space: nowrap;
  overflow-wrap: normal;
}

/* Phase 11: readable controls, scrolling reports, accessible actions. */
.task-table .grid-cell-control.clipped input {
  padding-right: 42px !important;
  text-overflow: ellipsis;
}
.task-table .grid-cell-control .cell-expand {
  background: #fff;
  right: 6px;
  width: 28px;
  border-radius: 5px;
  z-index: 1;
}
.review-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  border: 0;
  color: #315f52;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.approval-actions {
  display: flex;
  margin: 20px 0;
  clear: both;
}
.approval-list,
.next-action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.approval-list .record-link,
.next-action-list .record-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px;
  border: 1px solid #dce1ef;
  border-radius: 12px;
  background: #fff;
  color: #1c243b;
  font: inherit;
  cursor: pointer;
}
.approval-list .record-link > div,
.next-action-list .record-link strong {
  flex: 1;
  min-width: 0;
}
.approval-list small {
  display: block;
  margin-top: 6px;
  color: #748099;
}
.activity-row i.unread-activity,
.unread-activity,
.topbar .icon-btn > i,
.sidebar button > i {
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: #d73549 !important;
}
.activity-row i.read-activity {
  visibility: hidden;
}
.notification-row.unread {
  border-left: 4px solid #d73549;
}
.notification-row.unread .notification-symbol {
  position: relative;
}
.notification-row.unread .notification-symbol:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #d73549;
  border: 2px solid white;
  border-radius: 50%;
}
.wizard-footer,
.issue-dialog > footer {
  position: relative;
  z-index: 30;
  background: white;
  isolation: isolate;
}
.modal-body,
.modal-content,
.wizard {
  isolation: isolate;
}
.report-table-scroll {
  overflow-x: auto !important;
  max-width: 100%;
  overscroll-behavior-x: contain;
}
.report-table {
  table-layout: auto !important;
  width: 100%;
  min-width: 1000px;
}
.report-table th,
.report-table td {
  min-width: 140px;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.report-table .report-description {
  min-width: 360px;
  max-width: 600px;
  white-space: normal;
}
.report-table .report-value {
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-table .report-value > span:first-child {
  min-width: 0;
}
.report-table td:not(.report-description) .report-value > span:first-child {
  white-space: nowrap;
}
.report-table th:first-child,
.report-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 130px;
}
.report-table th:first-child {
  background: #f3f5fa;
  z-index: 3;
}
.report-table tr:nth-child(even) td:first-child {
  background: #f8f9fc;
}
.report-table td:has(.report-value) {
  box-shadow: none !important;
  border-bottom: 1px solid #e5e8f0 !important;
}
.report-table td:has(.report-value) .change-dot {
  flex-shrink: 0;
}
.issue-dialog table thead,
.live-merge table thead {
  z-index: 1;
}
@media (max-width: 700px) {
  .next-action-list .record-link {
    flex-wrap: wrap;
  }
  .report-table {
    min-width: 1000px;
  }
}
@media print {
  .report-table {
    min-width: 0;
    font-size: 9px;
  }
  .report-table th,
  .report-table td {
    min-width: 0;
  }
}
.report-table .report-notes {
  min-width: 240px;
  max-width: 400px;
}
.report-table .report-notes .report-value > span:first-child {
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.modal .wizard-footer {
  z-index: 40;
}
.modal .table-scroll {
  isolation: isolate;
}
.topbar button i {
  background: #d73549 !important;
}

/* Phase 12: isolated review layers and readable task workspaces */
.issue-overlay {
  z-index: 1000;
  backdrop-filter: none;
  padding: 20px;
  box-sizing: border-box;
}
.issue-overlay .issue-overlay {
  z-index: 1010;
}
.issue-dialog {
  width: min(1420px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 40px);
  box-sizing: border-box;
  overflow: auto;
  position: relative;
}
.review-close {
  position: absolute;
  right: 26px;
  top: 18px;
  z-index: 4;
  background: white;
  border: 1px solid #dfe4ef;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  cursor: pointer;
}
.issue-dialog > header {
  padding-right: 44px;
}
.issue-compare,
.duplicate-pair {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.issue-compare > *,
.duplicate-pair > *,
.issue-editor {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.issue-dialog textarea,
.issue-dialog input,
.issue-dialog select {
  box-sizing: border-box;
  max-width: 100%;
}
.source-visual {
  min-width: 0;
}
.source-viewport {
  contain: layout paint;
}
.date-control {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.date-control > input {
  width: 100%;
  padding-right: 46px;
  box-sizing: border-box;
}
.date-picker-button {
  position: absolute;
  right: 10px;
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.date-picker-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.task-table .notes-cell {
  min-width: 240px;
  max-width: 380px;
  overflow-wrap: anywhere;
}
.task-table .description-cell {
  min-width: 300px;
}
.grid .table-scroll,
.task-grid .table-scroll {
  max-height: 68vh;
  overflow: auto;
}
.task-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f5f7fc;
}
.record-dates {
  font-size: 13px;
  color: #69758d;
}
@media (max-width: 800px) {
  .issue-compare,
  .duplicate-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .issue-dialog {
    padding: 20px;
  }
}
.grid-editor > .table-scroll {
  max-height: 68vh;
  overflow: auto;
  isolation: isolate;
}
.readonly-cell {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  line-height: 1.5;
}
.outlook-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 20px;
}
.outlook-heading h2 {
  font-size: 28px;
  margin: 5px 0;
}
.outlook-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.3fr);
  gap: 22px;
}
.outlook-top .card,
.outlook-bottom .card {
  margin: 0;
  padding: 26px;
  min-width: 0;
}
.outlook-date {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid #7156c7;
}
.outlook-date > strong {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1px;
}
.outlook-date > small {
  color: #6e7991;
}
.outlook-date p {
  font-size: 14px;
  margin: 4px 0;
}
.outlook-status .gateway-chart {
  height: 170px;
}
.outlook-status h3,
.outlook-attention h3,
.outlook-bottom h3 {
  margin: 0 0 12px;
}
.outlook-status .section-title small {
  font-weight: 400;
  color: #6e7991;
}
.status-shortcuts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-shortcuts button {
  border: 1px solid #e0e5ef;
  background: #fff;
  border-radius: 7px;
  padding: 7px 10px;
  color: #4e5e79;
  cursor: pointer;
}
.outlook-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}
.effort-kpi {
  margin: 0;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: inherit;
  border: 1px solid #e1e5ef;
}
.effort-kpi > span {
  font-size: 13px;
  color: #63718b;
}
.effort-kpi strong {
  font-size: 28px;
  color: #24304c;
}
.effort-kpi strong small {
  font-size: 16px;
  font-weight: 400;
}
.effort-kpi > small {
  font-size: 11px;
  color: #6d7992;
}
.effort-kpi.actual {
  border-top: 3px solid #7156c7;
}
.effort-kpi.remaining {
  border-top: 3px solid #25a5ae;
}
.effort-reconciliation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 0;
  font-size: 13px;
  color: #65708a;
}
.effort-reconciliation strong {
  font-weight: 500;
}
.outlook-attention {
  margin: 20px 0;
}
.attention-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.attention-cards button {
  background: #fff;
  border: 1px solid #e2e6f0;
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: center;
  text-align: left;
  padding: 18px;
  cursor: pointer;
  font: inherit;
}
.attention-cards button strong {
  grid-row: span 2;
  font-size: 30px;
  color: #a56b1b;
}
.attention-cards button small {
  color: #7b879c;
}
.attention-cards button:disabled {
  cursor: default;
  opacity: 0.65;
}
.outlook-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
}
.outlook-bottom .wingman-assessment {
  border-top: 3px solid #7156c7;
}
.outlook-bottom .wingman-assessment p {
  font-size: 15px;
  line-height: 1.7;
}
.outlook-bottom .wingman-assessment small {
  display: block;
  margin-top: 12px;
  line-height: 1.5;
}
.outlook-details {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.outlook-breakdown table {
  min-width: 850px;
}
.outlook-breakdown td:first-child {
  min-width: 300px;
  max-width: 550px;
}
.outlook-breakdown td small {
  display: block;
}
.outlook-dashboard button:hover:not(:disabled) {
  filter: brightness(0.98);
}
@media (max-width: 900px) {
  .outlook-top,
  .outlook-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  .outlook-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 550px) {
  .attention-cards {
    grid-template-columns: 1fr;
  }
  .outlook-heading {
    align-items: flex-start;
  }
  .outlook-heading h2 {
    font-size: 23px;
  }
  .effort-kpi {
    padding: 15px;
  }
  .effort-kpi strong {
    font-size: 23px;
  }
}
.numeric-with-reset {
  position: relative;
  min-width: 0;
}
.numeric-with-reset.has-override input {
  padding-right: 34px !important;
}
.remaining-reset {
  position: absolute;
  right: 4px;
  top: 8px;
  width: 25px;
  height: 25px;
  background: #fff;
  border: 0;
  color: #7156c7;
  font-size: 21px;
  cursor: pointer;
  border-radius: 5px;
}
/* Phase 13: focused communications, consistent calendar and campaign surfaces */
.date-control13 {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 330px;
  gap: 5px;
}
.date-control13 > input {
  padding-right: 42px !important;
}
.date-trigger {
  position: absolute;
  right: 10px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #7156c7;
  padding: 5px;
  cursor: pointer;
}
.calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  background: white;
  border: 1px solid #dfe3ef;
  box-shadow: 0 14px 40px #1b23402b;
  border-radius: 14px;
  padding: 15px;
  width: 300px;
  max-width: calc(100vw - 65px);
  box-sizing: border-box;
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.calendar-heading button {
  background: #f3f1fa;
  border: 0;
  border-radius: 8px;
  padding: 7px 12px;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.calendar-days small {
  text-align: center;
  color: #68758f;
}
.calendar-days button {
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.calendar-days button:hover,
.calendar-days button[aria-pressed='true'] {
  background: #7156c7;
  color: white;
}
.calendar-days button:disabled {
  opacity: 0.3;
}
.info-tip {
  position: relative;
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
}
.info-tip > button {
  border: 0;
  background: transparent;
  color: #7156c7;
  padding: 2px 4px;
  cursor: pointer;
}
.info-tip [role='tooltip'] {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  width: 280px;
  max-width: 70vw;
  white-space: normal;
  background: #23203d;
  color: white;
  font: 14px/1.55 Arial;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 10px 30px #0003;
}
.detail-subtotal {
  padding: 15px;
  background: #eff8f7;
  border-radius: 10px;
}
.record-dates,
.reference13 {
  overflow-wrap: anywhere;
}
.activity13 ol {
  list-style: none;
  padding: 0;
}
.activity13 li {
  border-left: 3px solid #bdb1e9;
  padding: 10px 16px;
  margin: 0 0 14px;
}
.activity13 li > span {
  display: block;
  font-size: 13px;
  color: #64718c;
}
.comms-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 24px;
}
.comms-list {
  max-height: 600px;
  overflow: auto;
}
.comms-list > button {
  display: block;
  width: 100%;
  padding: 15px;
  text-align: left;
  background: #f7f8fc;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.comms-list button[aria-pressed='true'] {
  border-color: #7156c7;
  background: #f1edfb;
}
.comms-list > button > span,
.comms-list > button > small {
  display: block;
  margin-top: 5px;
}
.comms13 dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.comms13 dt {
  font-size: 12px;
  color: #75819a;
}
.email-frame {
  width: 100%;
  height: 600px;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  background: #f5f6fb;
}
.mail-editor13 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  margin: 20px 0;
}
.mail-portal13 {
  margin: 24px 0;
}
.rich-editor13 {
  min-height: 170px;
  border: 1px solid #dce2ef;
  border-radius: 10px;
  padding: 15px;
  overflow-wrap: anywhere;
  background: white;
}
.rich-editor13:focus {
  outline: 3px solid #a7dfe4;
}
.ad-image-strip {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.ad-image-strip img {
  width: 100px;
  height: 70px;
  object-fit: cover;
}
.ad-image-strip button {
  display: block;
  border: 0;
  background: transparent;
  color: #7156c7;
}
.ad-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.ad-detail13 {
  max-width: 820px;
  margin: auto;
  overflow-wrap: anywhere;
}
.ad-detail13 > img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  margin: 12px 0;
}
.ad-detail13 > small {
  display: block;
  color: #6b7892;
  margin-top: 15px;
}
.ad-content-frame {
  width: 100%;
  height: 480px;
  resize: vertical;
  border: 1px solid #e3e7f0;
  background: white;
  border-radius: 10px;
}
.ad-cta {
  display: inline-block;
  padding: 13px 20px;
  background: #7156c7;
  color: white;
  border-radius: 9px;
  text-decoration: none;
}
.ad-popup13 {
  max-width: 540px;
  width: calc(100% - 40px);
  margin: auto;
  max-height: 85vh;
  overflow: auto;
}
.market-body small {
  display: block;
}
.market-body .actions {
  margin-top: 18px;
}
.market-body details {
  margin-top: 15px;
}
.section-nav {
  flex-wrap: wrap;
}
.record13-actions {
  margin: 16px 0;
}
@media (max-width: 800px) {
  .comms-layout,
  .mail-editor13 {
    grid-template-columns: minmax(0, 1fr);
  }
  .comms-list {
    max-height: 240px;
  }
  .calendar-popover {
    width: 280px;
  }
  .info-tip [role='tooltip'] {
    left: auto;
    right: 0;
  }
}
.kpi-drill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.effort-kpi > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.outlook-kpis .effort-kpi {
  overflow: visible;
}
.outlook-date {
  overflow: visible;
}
.date-control13 {
  max-width: 235px;
}
.comms13 {
  min-width: 0;
}
.mail-portal13 fieldset {
  min-width: 0;
}
.control-main .market-grid {
  margin-top: 20px;
}
.mail-portal13 .check-row {
  white-space: normal;
  align-items: flex-start;
  max-width: 100%;
  line-height: 1.6;
}
.mail-portal13 .check-row input {
  flex: 0 0 auto;
  margin-top: 4px;
}
.control-main {
  min-width: 0;
}
/* Phase 14: shared interaction and layout refinements */
.form-error14 {
  padding: 14px 18px;
  border: 1px solid #e7a1ad;
  background: #fff2f4;
  border-radius: 12px;
  color: #9f263b;
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
}
.modal-head,
.modal-header {
  position: relative;
  padding-right: 68px !important;
}
.modal-head > button,
.modal-header > button {
  flex: none;
  margin-left: 18px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 7px;
}
.modal-body {
  scrollbar-gutter: stable;
}
.calendar-popover {
  box-shadow: 0 16px 50px #17172f33;
  max-height: calc(100vh - 16px);
  overflow: auto;
  background: white;
  display: block;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-days button {
  padding: 8px;
  min-height: 34px;
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar-heading button {
  padding: 6px 12px;
}
.calendar-heading strong {
  font-size: 15px;
}
.attention14 {
  position: relative;
  display: block;
  padding: 32px 36px;
  margin: 24px 0 32px;
  background: linear-gradient(120deg, #14142f, #222344);
  border-radius: 24px;
  color: white;
  overflow: hidden;
}
.attention-content14 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}
.attention14 h2 {
  font-size: 30px;
  margin: 12px 0;
}
.attention-counts14 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.attention-counts14 > span {
  padding: 6px 12px;
  border-radius: 30px;
  background: #ffffff16;
  font-size: 13px;
  color: #dce4ff;
}
.attention-rows14 {
  display: grid;
  gap: 8px;
}
.attention-rows14 > button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff0b;
  color: white;
  width: 100%;
  min-height: 62px;
}
.attention-rows14 > button:hover {
  background: #ffffff20;
}
.attention-rows14 > button > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.attention-rows14 strong,
.attention-rows14 small {
  display: block;
  overflow-wrap: anywhere;
}
.attention-rows14 small {
  color: #bdc7e4;
  margin-top: 4px;
  font-size: 13px;
}
.attention-mark14 {
  position: absolute;
  right: 35px;
  top: 35px;
  width: 160px;
  opacity: 0.17;
}
.attention-waiting14 {
  font-size: 13px;
  color: #bac8e6;
  margin-bottom: 0;
}
.attention-more14 {
  color: white;
  border: 1px solid #ffffff50;
  border-radius: 8px;
  padding: 8px 14px;
  background: transparent;
  margin-top: 14px;
}
.unread-activity {
  background: #df344d !important;
  flex: none;
}
.profile-gate14 {
  max-width: 560px;
  margin: 8vh auto;
  padding: 36px;
}
.model-select14 {
  border: 1px solid #e0e3f0;
  border-radius: 12px;
  padding: 14px;
}
.model-options14 {
  max-height: 300px;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 10px 0;
}
.model-options14 h4 {
  position: sticky;
  top: 0;
  background: #f3f4fa;
  padding: 9px;
  margin: 8px 0;
  font-size: 13px;
  color: #68718b;
  z-index: 1;
}
.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  font-size: 14px;
}
.check-option input {
  width: 18px !important;
  height: 18px;
  flex: none;
  margin: 0 !important;
}
.check-option span small {
  display: block;
  color: #7b8397;
  font-size: 12px;
}
.continent-select14 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.selection-chips14 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.selection-chips14 button {
  font-size: 12px;
  padding: 5px 8px;
  background: #eee9ff;
  color: #6144aa;
  border: 0;
  border-radius: 20px;
}
.char-counter14 {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #778298;
}
.field:has([maxlength='80']:valid) .char-counter14 {
  font-variant-numeric: tabular-nums;
}
.quote-editor {
  table-layout: fixed;
  width: 100%;
  min-width: 620px;
}
.quote-editor th:first-child {
  width: 53%;
}
.quote-editor th:nth-child(2),
.quote-editor th:nth-child(3) {
  width: 14%;
}
.quote-editor td {
  vertical-align: top !important;
  padding-top: 20px !important;
}
.quote-editor td small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
}
.quote-editor .grid-cell-control {
  margin: 0;
}
.grid-cell-control.clipped input {
  padding-right: 38px !important;
}
.cell-expand {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 0;
  color: #7156c7;
  width: 28px;
  height: 28px;
}
.expanded-text14 {
  width: min(700px, 90vw);
  padding: 28px;
}
.expanded-text14 textarea {
  width: 100%;
  min-height: 240px;
  margin-bottom: 18px;
}
.record-reference14 {
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: normal;
  color: #3e4564;
}
.approval-card .eyebrow:has(+ h3) {
  letter-spacing: 0.04em;
}
.reference13 strong {
  font-size: 15px;
}
.revision-summary14 {
  padding: 20px;
  background: #f1edff;
  border: 1px solid #d8ccfb;
  border-radius: 16px;
  margin: 16px 0 24px;
}
.revision-badge14 {
  display: inline-block;
  color: #6745ad;
  background: #e5dcfc;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.revision-change14 {
  display: grid;
  grid-template-columns: 100px 1fr 20px 1fr;
  gap: 12px;
  border-top: 1px solid #dbd1f5;
  padding: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.resend-connection14 {
  background: #f6f4fc;
  padding: 24px;
  border-radius: 16px;
  margin: 22px 0;
}
.resend-connection14 p {
  overflow-wrap: anywhere;
}
.usage14 {
  margin: 22px 0;
  padding: 28px;
}
.usage-cards14 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.usage-cards14 article {
  padding: 20px;
  border: 1px solid #e6e7f2;
  border-radius: 14px;
}
.usage-card14 .gateway-chart {
  height: 180px;
  min-height: 180px;
}
.ad-site14 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  color: #6950b0;
  font-size: 14px;
}
.report-table,
.quote-editor {
  border-collapse: collapse;
}
.report-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.modal-body .table-scroll {
  isolation: isolate;
}
.record-status14 {
  padding: 7px 12px;
  border-radius: 10px;
  background: #eaf0ff;
  color: #406db4;
  font-weight: 600;
}
.record-status14.revised {
  background: #eee7fc;
  color: #6949aa;
}
.task-approval-icon svg {
  stroke-width: 3;
}
.record-reference14,
.approval-detail .eyebrow {
  letter-spacing: normal;
}
.progress-stages14 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
}
.progress-stages14 li {
  padding: 12px;
  border-top: 3px solid #e1e2ed;
  color: #78819a;
  font-size: 13px;
}
.progress-stages14 li.active {
  color: #6447b2;
  border-color: #7a5ad1;
  background: #f4f0ff;
}
.progress-stages14 li.done {
  color: #25866e;
  border-color: #39ac91;
}
.processing-status {
  display: block !important;
  width: 100%;
  padding: 24px;
  background: #f7f8fc;
  border-radius: 16px;
}
.processing-status .progress-ring {
  margin: auto;
}
.busy-shield {
  z-index: 30000;
}
.quote-grid .card > button {
  margin: 8px 8px 8px 0;
}
.ad-detail13 > button {
  margin-top: 14px;
}
.ad-detail13 img {
  object-fit: contain;
  max-height: 360px;
  background: #f4f5fa;
}
@media (max-width: 700px) {
  .attention14 {
    padding: 22px;
  }
  .attention14 h2 {
    font-size: 24px;
  }
  .attention-mark14 {
    width: 90px;
    right: 16px;
    opacity: 0.1;
  }
  .revision-change14 {
    grid-template-columns: 1fr;
  }
  .revision-change14 > span[aria-hidden] {
    display: none;
  }
  .continent-select14 {
    grid-template-columns: 1fr;
  }
  .usage14 {
    padding: 18px;
  }
  .progress-stages14 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Keep workflow titles and close controls clear at all viewport widths. */
.modal > header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 28px;
  position: relative;
  z-index: 5;
}
.modal > header > div {
  min-width: 0;
  flex: 1;
}
.modal > header > .icon-btn {
  flex-shrink: 0;
  position: static;
  margin-left: auto;
}

.busy-shield.busy-shield-pending14 {
  background: transparent;
  backdrop-filter: none;
  cursor: progress;
  box-shadow: none;
}

.badge.purple {
  background: #eee7fb;
  color: #6943ac;
}
.usage-card14 > small {
  display: block;
  margin: 6px 0;
  line-height: 1.5;
}
/* Phase 15: profile, membership and persistent document processing. */
.profile-gate14 {
  max-width: 850px;
}
.profile-gate14 > img {
  margin-bottom: 16px;
}
.profile-gate14 .form-grid {
  align-items: start;
}
.profile-gate14 select {
  width: 100%;
}
.hub-label15 {
  padding: 15px 12px;
  margin: 12px 0;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  color: #e2e3f2;
  font-size: 13px;
}
.membership15 {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.import-float15 {
  position: fixed;
  z-index: 65;
  width: 340px;
  max-width: calc(100vw - 16px);
  background: #fff;
  border: 1px solid #c3b5f4;
  border-radius: 18px;
  box-shadow: 0 12px 40px #24204124;
  overflow: hidden;
}
.import-float-head15 {
  display: flex;
  background: linear-gradient(110deg, #6e51c7, #278e9e);
  color: white;
  align-items: center;
}
.import-float-head15 button {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 14px 12px;
  font-weight: 700;
}
.import-drag15 {
  flex: 1;
  cursor: move;
  touch-action: none;
  text-align: left;
}
.import-drag15 span {
  font-size: 11px;
  border: 1px solid #ffffff60;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: 6px;
}
.import-float-jobs15 {
  max-height: 320px;
  overflow: auto;
  padding: 16px;
}
.import-float-jobs15 section + section {
  border-top: 1px solid #dedde8;
  padding-top: 14px;
  margin-top: 14px;
}
.import-float-jobs15 strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.import-float-jobs15 small {
  display: block;
  font-size: 12px;
  color: #68768d;
  margin-bottom: 12px;
}
.import-stages15 {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 8px;
  font-size: 10px;
  color: #8890a1;
  margin: 16px 0 12px;
}
.import-stages15 li {
  flex: 1;
  padding-top: 7px;
  border-top: 3px solid #e5e1ef;
}
.import-stages15 .done {
  border-color: #289a90;
  color: #247b71;
}
.import-stages15 .working {
  border-color: #7952cf;
  color: #6743b0;
  animation: processing15 1.5s ease-in-out infinite;
}
.import-float-jobs15 .actions {
  justify-content: space-between;
}
.import-float-jobs15 .actions > button:not(.btn) {
  border: 0;
  background: transparent;
  color: #6f778a;
}
.reauth15 {
  border: 2px solid #d78d2a;
  margin: 16px 0;
  padding: 20px;
}
.quote-grid article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-grid article > .actions:last-child {
  margin-top: auto;
}
@keyframes processing15 {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .import-stages15 .working {
    animation: none;
  }
}
.reauth-shade15 {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #101329a8;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.reauth-shade15 .reauth15 {
  width: 100%;
  max-width: 480px;
  margin: 0;
  max-height: 90vh;
  overflow: auto;
}

/* Phase 16: shared list, preference and review controls. */
.status-filters16 {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  background: #eef0f8;
  border-radius: 13px;
  margin: 12px 0 22px;
}
.status-filters16 button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #69758f;
  font-weight: 600;
  white-space: nowrap;
}
.status-filters16 button.selected {
  background: #fff;
  color: #20223e;
  box-shadow: 0 2px 5px #1f24400c;
}
.status-filters16 button span {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}
.status-filters16 button:disabled {
  color: #a2a9b9;
  background: #e8eaf2;
  cursor: default;
  box-shadow: none;
}
.status-filters16 button:focus-visible {
  outline: 3px solid #a4dfe2;
  outline-offset: 2px;
}
.email-preferences16 {
  border: 1px solid #e1e4f0;
  border-radius: 16px;
  overflow: hidden;
  margin: 22px 0;
}
.email-prefs-intro16 {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #f4f1fc;
}
.email-prefs-intro16 > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: #e8e0fa;
  color: #7251c4;
  font-size: 24px;
}
.email-prefs-intro16 h3 {
  margin: 0 0 5px;
}
.email-prefs-intro16 p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.email-prefs-row16 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-top: 1px solid #edf0f7;
}
.email-prefs-row16 small {
  display: block;
  margin-top: 4px;
  color: #71809a;
  line-height: 1.5;
}
.email-preferences16 > .muted {
  font-size: 12px;
  padding: 0 24px 12px;
}
.required-email16 {
  color: #52667e;
  font-size: 13px;
  text-align: right;
}
.revision-summary14 > h3 {
  display: inline-block;
  margin: 0 0 0 12px;
  vertical-align: middle;
}
.revision-badge14,
.badge {
  vertical-align: middle;
  line-height: 1.4;
  white-space: normal;
}
.section-title {
  gap: 14px;
  flex-wrap: wrap;
}
.review-tick {
  font-size: 22px;
  font-weight: 900;
  color: #7051bf;
  line-height: 1;
}
.import-decision16 {
  width: 100%;
  padding: 14px;
  background: #f5f2fc;
  border: 1px solid #dbd4ee;
  border-radius: 12px;
}
.import-decision16 p {
  font-size: 13px;
  line-height: 1.5;
}
.import-decision16 .actions {
  gap: 8px;
}
.import-float-jobs15 {
  max-height: min(520px, 70vh);
  overflow: auto;
}
.dictionary-test16 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #f4f1fb;
  padding: 12px 18px;
  border-radius: 12px;
}
.dictionary-test16 > .field {
  flex: 1;
  min-width: 180px;
}
.dictionary-test16 > select {
  width: 160px;
}
.dictionary-rows16 {
  max-height: 440px;
  margin: 20px 0;
}
.dictionary-rows16 table {
  min-width: 700px;
}
.mapping-dictionary16 .wizard-footer {
  flex-wrap: wrap;
  gap: 12px;
}
.form-actions16 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #e6e8f0;
  margin-top: 24px;
  padding-top: 20px;
}
.dictionary-rows16 th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f5fa;
}
.mapping-gate16 .form-grid {
  padding: 12px 20px;
  background: #f8f9fc;
  border: 1px solid #e6e8f1;
  border-radius: 14px;
}
.btn.primary {
  background: #7156c7;
  border-color: #7156c7;
  color: white;
}
.btn.primary:hover {
  background: #6046b4;
  border-color: #6046b4;
}
.modal-header {
  gap: 18px;
}
.modal-header > .icon-btn {
  flex: none;
}
.record13-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid #e6e8f0;
  padding-top: 16px;
}
@media (max-width: 600px) {
  .email-prefs-row16 {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 18px;
  }
  .required-email16 {
    text-align: left;
  }
  .status-filters16 button {
    padding: 9px 12px;
  }
  .revision-summary14 > h3 {
    margin: 10px 0 0;
    display: block;
  }
}

/* Phase 17: shared workflow surfaces */
.config-tabs17 {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  flex-wrap: wrap;
}
.import-float15 {
  max-height: calc(100dvh - 16px);
  overflow: auto;
}
.status-filters button.selected,
.caution-filters button.selected {
  color: #6040b3;
  border-color: #9576df;
  background: #f1ebfc;
}
.mapping-review17 {
  max-width: 1080px;
  margin: 0 auto;
}
.mapping-head17,
.mapping-row17,
.meaning-row17 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.mapping-head17 {
  padding: 12px 20px;
  background: #f3f1f8;
  border-radius: 10px 10px 0 0;
  color: #3d3556;
}
.mapping-row17 {
  padding: 18px 20px;
  border: 1px solid #e4dfed;
  border-top: 0;
}
.mapping-row17 small {
  display: block;
  margin-top: 6px;
  color: #615a70;
  overflow-wrap: anywhere;
}
.mapping-row17 select,
.meaning-row17 select {
  width: 100%;
  min-height: 44px;
}
.mapping-attention17 {
  color: #a53b34 !important;
}
.status-meanings17 {
  grid-column: 1/-1;
  padding: 16px;
  background: #f6f2fc;
  border-radius: 10px;
}
.status-meanings17 h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.meaning-row17 {
  align-items: center;
  margin-top: 10px;
}
.update-fields17 {
  padding: 20px 0;
}
.mapping-review17 .wizard-footer {
  position: sticky;
  bottom: 0;
  background: white;
  z-index: 3;
  padding: 16px 0;
  border-top: 1px solid #e4dfed;
}
.mapping-review17 .wizard-footer p {
  font-size: 14px;
  color: #9c3933;
  margin: 0 0 8px;
}
.default-status17 {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}
@media (max-width: 700px) {
  .mapping-head17 {
    display: none;
  }
  .mapping-row17 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .meaning-row17 {
    gap: 12px;
  }
  .mapping-row17:first-of-type {
    border-top: 1px solid #e4dfed;
  }
}

.status-filters16 button.selected {
  color: var(--accent, #7156c7);
  border-color: var(--accent, #7156c7);
  background: color-mix(in srgb, var(--accent, #7156c7) 9%, white);
  box-shadow: inset 0 -2px var(--accent, #7156c7);
}
.quote-editor thead th {
  background: #eeeaf7;
  color: #34265b;
  border-bottom: 2px solid #a89acb;
}
.quote-editor {
  border: 1px solid #d9d3e8;
  border-radius: 8px;
  margin-top: 16px;
}
.fx-preview17 {
  display: block;
  font-variant-numeric: tabular-nums;
  color: var(--muted, #62697c);
  margin-top: 5px;
}

.update-fields17 .check-row {
  display: inline-flex;
  gap: 8px;
  margin: 12px 22px 14px 0;
}
/* Phase 18: consistent forms, read-only scheduling and aircraft integration. */
.integration18 {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.integration18 h1 {
  margin-bottom: 0;
}
.integration18 label,
.model-picker18 label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
.integration18 input,
.integration18 select,
.integration18 textarea,
.model-picker18 select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line, #dfe3ec);
  background: var(--surface, #fff);
  border-radius: 9px;
  padding: 10px 12px;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
}
.integration18 form {
  display: grid;
  gap: 18px;
}
.integration18 .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.integration18 input[type='checkbox'] {
  width: 17px;
  flex-shrink: 0;
}
.integration18 fieldset {
  border: 1px solid #e4e6ee;
  border-radius: 12px;
  padding: 18px;
}
.integration18 .actions input[type='number'] {
  max-width: 80px;
}
.mapping-card18 {
  padding: 20px 0;
  border-top: 1px solid #e6e8ef;
}
.model-picker18 {
  display: grid;
  gap: 12px;
  width: 100%;
}
.model-picker18 .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.flight-cards18 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 14px;
}
.flight-cards18 article {
  padding: 18px;
  background: #f6f7fb;
  border: 1px solid #e1e5ed;
  border-radius: 14px;
}
.flight-route18 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
  font-size: 24px;
}
.flight-route18 span {
  color: #8069b2;
  font-size: 24px;
  border-bottom: 1px dashed #b7b0c9;
  flex: 1;
  text-align: center;
  margin: 0 14px;
}
.flight-times18 {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.flight-cards18 small {
  color: #697389;
}
.overview-calendar18 {
  padding: 24px;
  margin-bottom: 24px;
  min-width: 0;
  overflow: hidden;
}
.overview-calendar18 .fc {
  --fc-border-color: #e5e8ef;
  --fc-today-bg-color: #f7f4fc;
  --fc-button-bg-color: #fff;
  --fc-button-text-color: #37415b;
  --fc-button-border-color: #dce1ed;
  --fc-button-active-bg-color: #7257aa;
  --fc-button-active-border-color: #7257aa;
  --fc-button-hover-bg-color: #eee9f6;
  --fc-button-hover-border-color: #d8cfea;
  font-size: 12px;
  max-width: 100%;
}
.overview-calendar18 .fc-toolbar-title {
  font-size: 19px;
}
.overview-calendar18 .fc-button-active {
  color: #fff;
}
.overview-calendar18 .fc-event {
  border: 0;
  border-radius: 5px;
  padding: 5px 4px;
  cursor: pointer;
}
.overview-calendar18 .fc-datagrid-cell-cushion {
  white-space: normal;
  padding: 9px;
  line-height: 1.4;
}
.overview-calendar18 .fc-scrollgrid {
  border-radius: 10px;
}
.overview-calendar18 .fc-license-message {
  font-size: 10px;
}
.calendar-key18 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #60746e;
}
.calendar-key18 span:first-child {
  color: #8172ae;
}
.calendar-key18 span:last-child {
  color: #537a73;
}
.calendar-detail18 {
  padding: 18px;
  margin: 18px 0;
  background: #f6f4fa;
  border-left: 3px solid #8c72b5;
  border-radius: 10px;
}
.calendar-connect18 {
  border-top: 1px solid #e6e8ee;
  padding-top: 18px;
  margin-top: 20px;
}
.calendar-connect18 .actions {
  padding: 12px 0;
}
.calendar-connect18 summary {
  cursor: pointer;
  font-weight: 600;
}
.fx-rate18 {
  padding: 16px;
  border: 1px solid #e1e4ec;
  border-radius: 12px;
  align-items: start;
  grid-template-columns: repeat(4, minmax(100px, 1fr)) auto;
}
.fx-rate18 > .btn {
  align-self: start;
  margin-top: 25px;
  white-space: nowrap;
}
.email-preferences16 {
  clear: both;
  min-width: 0;
}
.email-preferences16 h3 {
  line-height: 1.4;
  margin: 22px 0 8px;
}
.email-prefs-row16 {
  align-items: start;
}
.email-prefs-row16 > div {
  min-width: 0;
}
.email-prefs-row16 strong {
  display: block;
  white-space: normal;
  line-height: 1.4;
}
.email-prefs-row16 small {
  display: block;
  line-height: 1.5;
  margin-top: 5px;
}
.campaign-request .check-row,
.ad-form .check-row,
form > .check-row {
  display: flex;
  flex-basis: 100%;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}
.check-row input[type='checkbox'] {
  flex: 0 0 17px;
  margin-top: 2px;
}
.onboarding > .btn:first-child {
  float: right;
  margin: 0 0 18px 20px;
}
.onboarding > img {
  display: block;
  max-width: 200px;
  margin-bottom: 25px;
}
.status-filters16 button.selected {
  color: #6b48a6;
  border-color: #b9a3d7;
  background: #f4eefb;
}
.status-filters16 button.selected span {
  background: #e8dcf7;
  color: #5c3d8e;
}
.price-book th,
.price-table th,
.table-scroll thead th {
  background: #eef1f7;
  color: #33405c;
  box-shadow: 0 1px 0 #d6dce8;
}
.import-float-jobs15 {
  max-height: calc(100vh - 110px);
  overflow: auto;
  overscroll-behavior: contain;
}
.issue-dialog {
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.import-decision16 {
  max-height: calc(100dvh - 100px);
  overflow: auto;
}
.mapping-row17 {
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  margin-bottom: 10px;
  align-items: start;
}
.mapping-row17 small {
  white-space: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.mapping-head17 {
  padding: 0 16px 12px;
  color: #667087;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .overview-calendar18 {
    padding: 15px;
  }
  .overview-calendar18 .fc-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .overview-calendar18 .fc-toolbar-title {
    font-size: 16px;
  }
  .overview-calendar18 .fc-button {
    padding: 6px 8px;
  }
  .fx-rate18 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fx-rate18 > .btn {
    margin-top: 0;
  }
  .integration18 .form-grid {
    grid-template-columns: 1fr;
  }
  .model-picker18 .form-grid {
    grid-template-columns: 1fr;
  }
  .calendar-key18 {
    margin-bottom: 12px;
  }
  .calendar-connect18 .actions {
    flex-wrap: wrap;
  }
  .email-prefs-row16 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.aircraft-identity-fields18 {
  display: grid;
  gap: 18px;
}
.aircraft-identity-fields18 .model-picker18 .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .aircraft-identity-fields18 .model-picker18 .form-grid {
    grid-template-columns: 1fr;
  }
}
/* Phase 19: shared surfaces and contained review workflows. */
.dialog-backdrop19 {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(24, 28, 48, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dialog19 {
  background: var(--surface, #fff);
  color: var(--ink, #253149);
  border: 1px solid var(--line, #e0e4ef);
  border-radius: 18px;
  box-shadow: 0 24px 80px #202b4538;
  width: min(680px, 100%);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
}
.dialog19.wide {
  width: min(1240px, 100%);
}
.dialog19 > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line, #e0e4ef);
}
.dialog19 h2 {
  margin: 0;
  font-size: 22px;
}
.dialog-content19 {
  padding: 24px;
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.dialog19 label {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  font-weight: 600;
}
.dialog19 input,
.dialog19 select,
.dialog19 textarea,
.search-select19 input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line, #dfe3ec);
  padding: 11px 12px;
  border-radius: 9px;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}
.dialog19 .actions {
  justify-content: flex-end;
  margin-top: 20px;
}
.delivery-plan18 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.delivery-request19 {
  padding: 18px;
  border: 1px solid var(--line, #e2e5ee);
  border-radius: 12px;
  margin: 18px 0;
  background: var(--surface, #fff);
}
.delivery-request19 dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.delivery-request19 dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.search-select19 {
  position: relative;
  min-width: 0;
}
.search-select19 > label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 8px;
}
.search-select19 [role='listbox'] {
  position: absolute;
  z-index: 20;
  max-height: 240px;
  overflow: auto;
  left: 0;
  right: 0;
  border: 1px solid var(--line, #dfe3ec);
  border-radius: 10px;
  box-shadow: 0 8px 28px #25314922;
  background: var(--surface, #fff);
}
.search-select19 [role='option'] {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  font: inherit;
  color: inherit;
}
.search-select19 [role='option']:hover,
.search-select19 [aria-selected='true'] {
  background: #f0ebfa;
}
.registry-results {
  min-height: 110px;
  max-height: 240px;
  overflow: auto;
}
.overview-pair19 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 24px;
}
.overview-pair19 > .overview-calendar18 {
  margin: 0;
}
.overview-pair19 .section-heading {
  display: block;
}
.overview-pair19 .calendar-key18 {
  display: none;
}
.overview-pair19 .status-filters16 {
  flex-wrap: wrap;
}
.calendar-dot19 {
  color: #795bc4;
  font-size: 18px;
  line-height: 1;
}
.overview-pair19 .fc-daygrid-event {
  display: inline-flex;
  padding: 0 3px;
}
.overview-pair19 .fc-daygrid-day-events {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.calendar-expanded19 {
  margin: 0;
  padding: 0;
}
.calendar-detail18 {
  margin-bottom: 0;
}
.toast {
  background: var(--surface, #fff);
  color: var(--ink, #253149);
  border: 1px solid var(--line, #dddfea);
  border-left: 4px solid #8060c4;
  box-shadow: 0 8px 32px #352b5224;
  border-radius: 12px;
}
.toast.error {
  background: var(--surface, #fff);
  color: var(--ink, #253149);
  border-left-color: #ba4557;
}
.toast.warning {
  border-left-color: #b87f27;
}
.toast button {
  color: inherit;
}
.toast > svg {
  color: #8060c4;
}
.toast.error > svg {
  color: #ba4557;
}
.fx-rate18 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  box-sizing: border-box;
}
.fx-rate18 > .btn {
  margin: 0;
  justify-self: end;
  grid-column: 1/-1;
}
.email-preferences16 {
  padding: 20px 24px;
  box-sizing: border-box;
}
.email-preferences16 h3 {
  margin: 0 0 8px;
}
.email-preferences16 > p {
  margin: 0 0 18px;
}
.email-prefs-row16 {
  padding: 16px 0;
}
.record13-actions {
  display: block;
  text-align: right;
  border: 0;
}
.record13-actions > form {
  width: 100%;
  text-align: left;
  margin: 18px 0;
  padding: 24px;
  border: 1px solid var(--line, #e1e5ee);
  border-radius: 14px;
  box-sizing: border-box;
}
.record13-actions form > .btn {
  justify-self: end;
}
.grid-issues19 {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  border: 1px solid #dbc6b2;
  border-radius: 10px;
  padding: 12px;
  background: #fff9f1;
}
.grid-issues19 button {
  background: transparent;
  color: #704a1e;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.grid-editor tr[data-invalid='true'] {
  box-shadow: inset 3px 0 #b25153;
}
.grid-editor td[aria-invalid='true'] {
  background: #fff0ed !important;
  box-shadow: inset 0 -2px #b25153;
}
.mapping-head17 {
  line-height: 1.6;
  padding-top: 12px;
  min-height: 40px;
  overflow: visible;
}
.agreed-date19 {
  padding: 10px 0;
}
.agreed-date19 strong {
  font-size: 18px !important;
}
.campaign-request .form-grid:has(input[type='checkbox']) {
  grid-template-columns: 1fr;
}
.hub-membership form,
.hub-membership form > .btn {
  border-top: 0;
}
.dialog19 .notice.success {
  border-left: 3px solid #8060c4;
  background: #f5f0fc;
  padding: 16px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .overview-pair19 {
    grid-template-columns: 1fr;
  }
  .dialog-backdrop19 {
    padding: 12px;
  }
  .dialog19 {
    max-height: calc(100dvh - 24px);
  }
  .dialog-content19 {
    padding: 16px;
  }
  .delivery-request19 dl {
    grid-template-columns: 1fr;
  }
  .fx-rate18 {
    grid-template-columns: 1fr;
  }
  .overview-calendar18 .fc-toolbar {
    flex-wrap: wrap;
  }
  .email-preferences16 {
    padding: 16px;
  }
}
.membership15 form > .form-footer,
.membership15 form > .actions,
.membership15 form > .btn {
  border-top: 0 !important;
}
.dialog19 .record13-actions {
  border: 0;
}
.form .check-row,
label.check-row {
  white-space: normal;
  display: flex !important;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
}
.check-row input[type='checkbox'] {
  width: 17px !important;
  flex: 0 0 17px;
}
.aircraft-search19 {
  display: grid;
  gap: 6px;
  min-width: 220px;
}
.aircraft-search19 input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.template-editor19 {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0;
}
.toast {
  z-index: 1800;
}
.membership15 .form-actions16 {
  border-top: 0 !important;
  padding-top: 0;
}
.overview-pair19 > :first-child {
  margin-top: 0;
}
.overview-pair19 .calendar-key18 {
  display: none;
}
.overview-pair19 .overview-calendar18 .section-heading p {
  font-size: 12px;
  margin-bottom: 12px;
}
.overview-pair19 .status-filters16 {
  font-size: 11px;
}
.model-picker18 .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.search-select19 > input {
  max-width: none;
}

/* P20 shared actions and readonly affordances */
select:disabled {
  appearance: none;
  background-image: none;
  padding-right: 12px;
}
.heading-actions,
.actions,
.section-heading > .actions {
  align-items: center;
  gap: 10px;
}
.heading-actions > .btn,
.actions > .btn {
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
}
.selected-models > small {
  display: block;
  width: 100%;
  color: var(--muted, #64748b);
}
/* P20: a compact overview with a complete, non-scrolling month. */
.overview-pair19 {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 20px;
}
.overview-pair19 .overview-hero {
  min-height: 0;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(125deg, #242139, #393055);
  border-radius: 16px;
}
.overview-pair19 .attention-content14 {
  width: 100%;
  z-index: 1;
}
.overview-pair19 .overview-hero h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 10px 0;
}
.overview-pair19 .attention-rows14 {
  max-height: 190px;
  overflow: auto;
}
.overview-pair19 .attention-rows14 button {
  padding: 10px 0;
}
.overview-pair19 .attention-rows14 small {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.overview-pair19 .attention-mark14 {
  opacity: 0.08;
  width: 170px;
}
.overview-pair19 .attention-waiting14 {
  font-size: 11px;
  margin: 12px 0 0;
}
.mini-calendar20 {
  padding: 20px 24px;
  min-width: 0;
}
.mini-calendar20 .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 14px;
}
.mini-calendar20 h2 {
  font-size: 18px;
  margin: 0;
}
.mini-calendar20 .text-link {
  font-size: 12px;
  white-space: nowrap;
}
.month-nav20 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.month-nav20 > button {
  border: 0;
  background: #f4f0f9;
  color: #584574;
  width: 30px;
  height: 28px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}
.month-nav20 strong {
  font-size: 14px;
}
.mini-month20 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  gap: 2px;
}
.mini-month20 > small {
  font-size: 10px;
  color: #7b768b;
  padding-bottom: 6px;
}
.mini-month20 > div {
  position: relative;
  min-height: 35px;
  font-size: 12px;
  padding: 2px;
  border-radius: 8px;
}
.calendar-today20 {
  background: #f0e9f8;
  font-weight: 700;
  color: #6b4993;
}
.day-dots20 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
}
.day-dots20 button {
  background: none;
  border: 0;
  font-size: 12px;
  padding: 0 1px;
  line-height: 13px;
  cursor: pointer;
}
.calendar-popover20 {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  width: 265px;
  padding: 16px;
  background: #fff;
  border: 1px solid #ddd5e8;
  border-radius: 12px;
  box-shadow: 0 10px 30px #29213930;
  text-align: left;
  color: #30273e;
  font-weight: 400;
}
.mini-month20 > div:nth-child(7n + 1) .calendar-popover20,
.mini-month20 > div:nth-child(7n + 2) .calendar-popover20,
.mini-month20 > div:nth-child(7n + 3) .calendar-popover20 {
  left: 0;
  right: auto;
}
.calendar-popover20 strong {
  display: block;
  padding-right: 14px;
  line-height: 1.5;
}
.calendar-popover20 p {
  font-size: 12px;
  line-height: 1.5;
}
.calendar-dismiss20 {
  float: right;
  border: 0;
  background: none;
  cursor: pointer;
}
.calendar-legend20 {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.calendar-legend20 button {
  background: white;
  border: 1px solid #ded8e8;
  border-radius: 20px;
  padding: 8px 12px;
  color: #514466;
  cursor: pointer;
}
.calendar-legend20 .selected {
  background: #f0e9f9;
  border-color: #8065ad;
  box-shadow: 0 0 0 1px #8065ad;
}
.metric-row {
  gap: 0;
  border: 1px solid #e2ddec;
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.metric-row > .metric {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid #e2ddec;
}
.metric-row > .metric:last-child {
  border-right: 0;
}
.schedule-confirmation20 {
  border-left: 4px solid #8065ad;
  background: #f7f4fc;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
}
.schedule-confirmation20 h3 {
  margin: 0 0 8px;
}
.schedule-confirmation20 p {
  margin: 6px 0;
}
.schedule-confirmation20 small {
  color: #746a83;
}
@media (max-width: 900px) {
  .overview-pair19 {
    grid-template-columns: 1fr;
  }
  .calendar-popover20 {
    width: 210px;
  }
  .metric-row {
    gap: 1px;
  }
}
.wizard-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.wizard-footer > .actions {
  display: contents;
}
.wizard-footer [data-navigation='back'] {
  order: -2;
  margin-right: auto;
}
.wizard-footer > .btn.ghost,
.wizard-footer > div:has(> [data-save-creation]) {
  order: 0;
  margin-left: auto;
}
.wizard-footer .btn.primary {
  order: 2;
  margin-left: auto;
}
.wizard-footer:has(> .actions) > .btn.ghost {
  margin-left: 0;
}
.form-actions16 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-actions16 > .btn.primary {
  margin-left: auto;
}
.review-continue20 {
  justify-content: flex-end;
  margin-top: 20px;
}
.request-model20 {
  display: block;
  margin: 8px 0 0 auto;
  font-size: 11px;
  color: #8065ad;
}
.location20 {
  border: 1px solid #ded8e8;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}
.integration18 td small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.integration18 td .btn {
  white-space: nowrap;
}
.integration18 textarea {
  min-height: 80px;
}
.overview-lower20 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}
.overview-lower20 > .card {
  margin: 0;
  min-width: 0;
}
.overview-lower20 > .card:nth-child(3) {
  grid-column: 1/-1;
}
.overview-lower20 .pulse-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  overflow: visible;
}
.overview-lower20 .pulse-visual {
  min-width: 0;
  width: 100%;
  padding: 12px;
  grid-template-columns: 46px 1fr 16px;
  gap: 12px;
}
.overview-lower20 .score-ring {
  width: 44px;
  height: 44px;
  min-width: 44px;
}
.overview-lower20 .score-ring strong {
  font-size: 16px;
}
.overview-lower20 .score-ring small {
  font-size: 8px;
}
.overview-lower20 .pulse-visual-panel > .section-title {
  align-items: center;
}
.overview-lower20 h2 {
  font-size: 18px;
}
.overview-lower20 .focus-row {
  padding: 14px 0;
}
.overview-lower20 .focus-row .aircraft-square {
  width: 36px;
  min-width: 36px;
  height: 36px;
}
.overview-lower20 .focus-end {
  min-width: 110px;
}
.overview-lower20 .focus-end small {
  font-size: 10px;
}
.overview-lower20 .pulse-visual small {
  font-size: 11px;
}
@media (max-width: 1000px) {
  .overview-lower20 {
    grid-template-columns: 1fr;
  }
  .overview-lower20 > .card:nth-child(3) {
    grid-column: auto;
  }
}
.overview-lower20 .pulse-visual-grid {
  grid-auto-flow: row;
  grid-auto-columns: auto;
}
.overview-lower20 .pulse-visual-grid > .pulse-visual {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
}
.overview-lower20 .pulse-visual > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .overview-lower20 .pulse-visual-grid > .pulse-visual {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 10px;
    gap: 8px;
  }
  .overview-lower20 .score-ring {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .overview-lower20 .pulse-visual > svg {
    display: none;
  }
}
.overview-lower20 .pulse-visual-grid {
  display: grid !important;
}
/* P21: shared, responsive operational views */
.rfq-description21,
.rfq-message21 p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rfq-message21 {
  padding: 16px;
  border-bottom: 1px solid var(--line, #e3ddea);
}
.rfq-recipients21 {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 10px;
}
.rfq-offers21 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.rfq-recipients21 small,
.flight-route18 small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}
.aircraft-map21 {
  width: 100%;
  height: 310px;
  border: 1px solid #ded7e8;
  border-radius: 14px;
  margin: 12px 0;
}
.flight-cards18 {
  grid-template-columns: 1fr !important;
  gap: 10px;
}
.flight-cards18 article {
  padding: 14px 18px;
}
.flight-route18 strong {
  font-size: 25px;
}
.flight-times18 {
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.aircraft-card > .badge {
  margin: 0 0 16px;
}
.price-search-hint21 {
  display: block;
  margin: 9px 0 14px;
}
.config-tabs17 {
  flex-wrap: wrap;
  overflow: visible;
  gap: 6px;
}
.config-tabs17 button {
  white-space: normal;
}
.attention-rows14 {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #b8abc8 transparent;
}
.timeline21 {
  min-width: 0;
}
.timeline-controls21 {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 16px 0;
}
.timeline-scroll21 {
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
}
.timeline-head21,
.timeline-row21 {
  display: grid;
  grid-template-columns: minmax(190px, 30%) minmax(0, 1fr);
  width: 100%;
  gap: 12px;
  padding: 12px 8px;
  text-align: left;
}
.timeline-head21 {
  position: sticky;
  top: 0;
  background: #fbf9fd;
  z-index: 2;
  border-bottom: 1px solid #ddd5e5;
}
.timeline-days21 {
  display: grid;
  font-size: 11px;
  text-align: center;
}
.timeline-row21 {
  border: 0;
  border-bottom: 1px solid #e9e3ee;
  background: transparent;
  color: inherit;
  align-items: center;
  min-height: 84px;
}
.timeline-row21:hover {
  background: #f6f2fa;
}
.timeline-identity21 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-identity21 small {
  font-size: 11px;
}
.timeline-track21 {
  position: relative;
  height: 45px;
  display: block;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(100% / 7 - 1px),
    #eee9f3 calc(100% / 7 - 1px),
    #eee9f3 calc(100% / 7)
  );
}
.timeline-period21 {
  position: absolute;
  top: 12px;
  height: 21px;
  opacity: 0.16;
  border-radius: 7px;
}
.timeline-marker21 {
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  font-size: 18px;
  line-height: 22px;
}
.timeline-marker21.forecast21 {
  top: 27px;
}
.timeline-today21 {
  position: absolute;
  top: 0;
  height: 100%;
  border-left: 1px dashed #695a87;
}
.timeline-external21 {
  display: block;
  margin: 12px;
  border: 0;
  background: #f6f2fa;
  padding: 12px;
  border-radius: 10px;
}
.calendar-popover20 {
  box-shadow: 0 12px 40px #20133130;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
}
.calendar-popover20::before {
  display: none;
}
.calendar-expanded19 {
  overflow-x: hidden;
}
.location20 .actions {
  margin-top: 14px;
}
.delivery-request19 .actions {
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 650px) {
  .timeline-head21 {
    display: none;
  }
  .timeline-row21 {
    grid-template-columns: 1fr;
  }
  .timeline-track21 {
    display: none;
  }
  .timeline-controls21 .btn {
    padding: 8px 12px;
  }
  .flight-route18 small {
    max-width: 120px;
  }
  .rfq-offers21 {
    grid-template-columns: 1fr;
  }
  .config-tabs17 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
select:disabled {
  appearance: none;
  background-image: none;
  padding-right: 12px;
}
.timeline-controls21 .btn {
  white-space: nowrap;
}
.rfq-recipients21 .check-row {
  padding: 10px;
  border: 1px solid #e8e1ef;
  border-radius: 9px;
}
.rfq-recipients21 input {
  flex: 0 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.page-heading h1 {
  margin: 4px 0 10px;
}
.rfq-message21 small {
  font-size: 11px;
}

.rfq-heading21 {
  flex-wrap: wrap;
  gap: 16px;
}
.rfq-heading21 > div {
  flex: 1 1 300px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rfq-recipient-row21 {
  flex-wrap: wrap;
  gap: 10px;
  overflow-wrap: anywhere;
}

/* Shared stability rules: action geometry, form rhythm and scroll containment. */
:root {
  --control-height: 40px;
  --control-gap: 12px;
  --section-gap: 24px;
}
.btn {
  min-height: var(--control-height);
  line-height: 1.4;
  padding: 10px 16px;
  box-sizing: border-box;
  max-width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.actions,
.heading-actions,
.order-actions,
.publish-actions,
.summary-method-actions,
.record13-actions {
  gap: var(--control-gap);
  align-items: center;
}
.actions > .btn,
.heading-actions > .btn,
.publish-actions > .btn {
  margin: 0;
  align-self: center;
  min-height: var(--control-height);
}
.heading {
  align-items: center;
  gap: 20px;
}
.heading > div:last-child {
  min-width: 0;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.order-actions,
.publish-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.publish-actions > .btn:last-child,
.publish-actions .btn.ghost {
  padding: 10px 16px;
  font-size: 12px;
  min-height: var(--control-height);
}
.summary-method-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}
.summary-method-actions .btn,
.summary-method-actions .btn.wingman {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 44px;
  height: 100%;
  white-space: normal;
}
.wizard-footer,
.form-actions16 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--control-gap);
  flex-wrap: wrap;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.wizard-footer > .actions {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 auto;
  gap: var(--control-gap);
}
.wizard-footer .btn.primary {
  margin-left: 0;
}
.wizard-footer > .btn.primary:last-child {
  margin-left: auto;
}
.wizard-footer [data-navigation='back'] {
  margin-right: auto;
  order: -2;
}
.wizard-footer > .actions:has(> [data-navigation='back']) {
  display: contents;
}
.form {
  display: grid;
  gap: 16px;
  align-content: start;
}
.form .field {
  margin: 0;
  min-width: 0;
}
.field > input,
.field > select,
.field > textarea,
.form input:not([type='checkbox']):not([type='radio']),
.form select,
.form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.form .check-row {
  margin: 0;
}
.dialog19 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100dvh - 48px);
}
.dialog19 > header {
  flex: 0 0 auto;
  gap: 20px;
  align-items: center;
}
.dialog19 > header .btn {
  flex-shrink: 0;
}
.dialog-content19 {
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.dialog-content19 > .form > .wizard-footer {
  position: sticky;
  bottom: -24px;
  background: white;
  padding: 16px 0;
  z-index: 3;
}
.record13-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: initial;
}
.record-row22 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.record-row22 > div:first-child {
  flex: 1;
  min-width: 170px;
}
.record-row22 small,
.aircraft-card dd > small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}
.record-actions22 {
  justify-content: flex-end;
  margin-top: 24px;
}
.record-toolbar22 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 24px;
}
.record-toolbar22 > .field {
  min-width: 220px;
  flex: 1;
  max-width: 380px;
}
.rfq-recipients21 {
  max-height: none;
  overflow: visible;
  display: grid;
  gap: 8px;
}
.rfq-recipients21 .check-row {
  padding: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  margin: 0;
}
.rfq-recipients21 input[type='checkbox'] {
  margin-top: 3px;
}
.attachments22,
.response-history22,
.active-alerts22 {
  margin-top: 24px;
}
.attachment-link22 {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
  margin: 8px 0;
}
.attachment-row22 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-wrap: anywhere;
}
.response-history22 article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.response-history22 p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rfq-offers21 .card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rfq-offers21 .actions {
  margin-top: auto;
  padding-top: 16px;
}
.rfq-offers21 .badge {
  margin-bottom: 12px;
}
.overview-pair19 .attention-rows14 {
  padding-right: 10px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #8f829e #302942;
}
.overview-pair19 .attention-rows14 > button {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 18px;
  gap: 12px;
  padding: 12px 10px;
  align-items: center;
}
.attention-rows14 .unread-activity {
  position: static;
  margin: 0;
  width: 6px;
  height: 6px;
}
.attention-rows14::-webkit-scrollbar {
  width: 7px;
}
.attention-rows14::-webkit-scrollbar-track {
  background: #302942;
}
.attention-rows14::-webkit-scrollbar-thumb {
  background: #8f829e;
  border: 2px solid #302942;
  border-radius: 10px;
}
.calendar-dialog22 > .dialog-content19 {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.calendar-expanded19 {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.calendar-expanded19 > .calendar-legend20,
.calendar-expanded19 > .muted {
  flex: 0 0 auto;
}
.timeline21 {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.timeline-scroll21 {
  min-height: 80px;
  max-height: none;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.timeline-controls21 {
  flex: 0 0 auto;
}
.calendar-connect18 {
  flex: 0 0 auto;
  margin-top: 16px;
}
.calendar-connect18[open] {
  max-height: 180px;
  overflow-y: auto;
}
.flight-route18 {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(70px, 2fr) minmax(90px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 16px 0;
}
.flight-route18 > strong:last-child {
  text-align: right;
}
.flight-route18 > span {
  margin: 0;
  border: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.flight-route18 > span:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed #b7b0c9;
  z-index: -1;
}
.flight-route18 > span {
  text-shadow:
    3px 0 #f6f7fb,
    -3px 0 #f6f7fb;
}
.flight-times18 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.flight-times18 > span:last-child {
  text-align: right;
}
.flight-cards18 article > p {
  margin: 8px 0 0;
  font-size: 12px;
}
@media (max-width: 700px) {
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .heading-actions {
    justify-content: flex-start;
  }
  .summary-method-actions {
    grid-template-columns: 1fr;
  }
  .record-row22 > .btn {
    margin-left: 0;
  }
  .flight-route18 {
    gap: 10px;
    grid-template-columns: minmax(75px, 1fr) minmax(40px, 1fr) minmax(75px, 1fr);
  }
  .flight-times18 {
    grid-template-columns: 1fr;
  }
  .flight-times18 > span:last-child {
    text-align: left;
  }
  .dialog-content19 > .form > .wizard-footer {
    bottom: -16px;
  }
  .timeline-controls21 {
    gap: 8px;
  }
  .timeline-controls21 > strong {
    order: -1;
    width: 100%;
  }
  .calendar-dialog22 .dialog-content19 {
    padding: 12px;
  }
  .wizard-footer .btn {
    white-space: normal;
  }
}

/* Keep scroll affordances visible within the one intended scrolling region. */
.timeline-scroll21,
.dialog-content19 {
  scrollbar-width: thin;
  scrollbar-color: #8b7ba8 #eeeaf4;
}
.timeline-scroll21::-webkit-scrollbar,
.dialog-content19::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
.timeline-scroll21::-webkit-scrollbar-track,
.dialog-content19::-webkit-scrollbar-track {
  background: #eeeaf4;
}
.timeline-scroll21::-webkit-scrollbar-thumb,
.dialog-content19::-webkit-scrollbar-thumb {
  background: #8b7ba8;
  border: 2px solid #eeeaf4;
  border-radius: 8px;
}

.field > input,
.field > select,
.field > textarea,
.dialog19 input:not([type='checkbox']):not([type='radio']),
.dialog19 select,
.dialog19 textarea,
.integration18 input:not([type='checkbox']),
.integration18 select {
  font-weight: 400;
}

.recent-flights18 {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* P22 reissue: shared list, dialog and action geometry. */
.list-toolbar22 { display: grid; gap: 16px; margin: 24px 0; }
.list-toolbar22 > .field { width: min(100%, 420px); margin: 0; }
.list-toolbar22 > .status-filters16 { margin: 0; }
.quote-total { gap: 16px; flex-wrap: wrap; padding: 18px 0; }
.quote-total > strong { margin-left: auto; overflow-wrap: anywhere; }
.modal-body, .review-content22, .dialog-content19, .table-scroll {
  scrollbar-width: thin; scrollbar-color: #8b7ba8 #eeeaf4; scrollbar-gutter: stable;
}
.modal-body::-webkit-scrollbar, .review-content22::-webkit-scrollbar, .table-scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.modal-body::-webkit-scrollbar-track, .review-content22::-webkit-scrollbar-track, .table-scroll::-webkit-scrollbar-track { background: #eeeaf4; }
.modal-body::-webkit-scrollbar-thumb, .review-content22::-webkit-scrollbar-thumb, .table-scroll::-webkit-scrollbar-thumb { background: #8b7ba8; border: 2px solid #eeeaf4; border-radius: 8px; }
.dialog-close22 { flex-shrink: 0; }
.issue-overlay { padding: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.review-dialog22 { width: min(1200px, 100%); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; background: var(--surface, #fff); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 80px #25144238; }
.review-dialog22 > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.review-dialog22 > header h2 { margin: 0; }
.review-content22 { min-height: 0; overflow: auto; padding: 24px; }
.review-content22 > .card { margin: 0; box-shadow: none; }
.dialog-content19 form > .actions, .dialog-content19 > .actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.dialog-content19 form > .actions > .secondary:first-child:not(:only-child), .dialog-content19 > .actions > .secondary:first-child:not(:only-child) { margin-right: auto; }
.campaign-actions22 { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
@media (max-width: 600px) {
  .issue-overlay { padding: 10px; }
  .review-dialog22 { max-height: calc(100dvh - 20px); }
  .review-dialog22 > header, .review-content22 { padding: 16px; }
  .review-dialog22 > header h2 { font-size: 18px; }
}
.catalogue-actions22 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.review-content22 > .issue-dialog, .review-content22 > .import-decision16 { width: 100%; max-height: none; overflow: visible; padding: 0; box-shadow: none; }
.review-content22 .issue-dialog > header { padding-right: 0; }
.review-dialog22:has(.expanded-cell), .review-dialog22:has(select[aria-label='Bulk status']) { max-width: 760px; }
.review-content22 > .expanded-cell { width: 100%; max-width: none; }
.wizard-footer > .btn.danger:last-child { margin-left: auto; }
.review-content22 .issue-dialog > footer.record-actions22 { justify-content: flex-end; }
.review-dialog22:has(.shortcut-guide) { max-width: 760px; }
.review-content22 > .shortcut-guide { width: 100%; max-width: none; border: 0; padding: 0; }

/* P23 shared visual contracts: nested action components must not add their own row. */
.heading > .actions, .record-header22 > .actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.heading .record13-actions, .actions > .record13-actions { display:contents; }
.quote-total { display:flex; align-items:baseline; justify-content:space-between; gap:16px; width:100%; }
.quote-total > strong { text-align:right; margin-left:auto; }
.summary-actions, .wo-summary-actions, .record-actions22 { min-width:0; flex-wrap:wrap; }
.summary-actions .btn, .wo-summary-actions .btn { max-width:100%; white-space:normal; }
.attention-rows14 > button { padding-inline:14px; }
.attention-rows14 .unread-activity { flex-shrink:0; align-self:center; }
.unread-count23 { margin-left:auto; background:var(--accent,#6042a5); color:white; min-width:21px; border-radius:11px; padding:2px 6px; font-size:12px; text-align:center; }
.messaging aside > button { display:flex; align-items:center; gap:10px; }
.messaging aside > button > span:nth-child(2) { min-width:0; overflow-wrap:anywhere; }
.guide-launcher23 { position:fixed; right:20px; bottom:12px; z-index:2200; display:flex; align-items:center; gap:12px; background:var(--surface,#fff); color:var(--ink,#29213c); padding:8px 12px; border:1px solid #ddd5e7; border-radius:12px; box-shadow:0 3px 14px #22133316; font-size:12px; max-width:calc(100vw - 24px); flex-wrap:wrap; }
.guide-launcher23 label { display:flex; gap:5px; align-items:center; }
.guide-launcher23 input { width:auto; }
.guide-launcher23 small { flex-basis:100%; }
.gateway-guide23 { color:#29213c; border-radius:14px; padding:20px; max-width:360px; font-family:inherit; box-shadow:0 8px 32px #24133c33; }
.gateway-guide23 .driver-popover-title { font:600 18px/1.4 inherit; }
.gateway-guide23 .driver-popover-description { font:14px/1.6 inherit; }
.gateway-guide23 .driver-popover-footer button { background:#f6f3fa; color:#413255; border:1px solid #d8cfe2; text-shadow:none; border-radius:7px; padding:8px 10px; font:600 12px/1.2 inherit; }
.gateway-guide23 .driver-popover-next-btn { background:#5b3e8b!important; color:white!important; border-color:#5b3e8b!important; }
.gateway-guide23 .driver-popover-footer { gap:12px; padding:0; }
.guide-auto23 { display:flex; align-items:center; gap:7px; padding-top:14px; font-size:12px; }
.guide-auto23 input { width:auto; }
.guide-target23 { outline:2px dashed #7559ac!important; outline-offset:3px; cursor:help!important; }
.guide-version23 { display:flex; gap:16px; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid #e8e3ed; }
.airport-selection23 { display:flex; flex-wrap:wrap; gap:8px; padding:8px 0; }
.airport-selection23 button { border:1px solid #d8cfe2; border-radius:14px; padding:5px 10px; background:#f6f3fa; color:#413255; }
.badge.expired, .badge[data-status='expired'] { background:#f4e9dd; color:#805522; }
.rfq-badge23 { display:inline-flex; align-items:center; margin-left:10px; padding:3px 9px; border:1px solid #d8cfe2; border-radius:12px; background:#f6f3fa; color:#5b3e8b; font-size:12px; font-weight:600; cursor:pointer; }
.guide-preview-target23 { border:1px solid var(--line); background:var(--bg); border-radius:12px; margin:18px 0; padding:20px; }
.order-view-bar { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.order-view-bar > .view-switcher { align-self:flex-start; }
.order-view-bar > .order-actions { align-self:flex-end; flex-wrap:wrap; margin:0; }
.grid-editor .table-toolbar { align-items:center; gap:12px; }
.grid-editor .table-toolbar .actions { min-width:0; flex:1; }
.grid-editor .table-toolbar .actions > input[aria-label='Filter tasks'] { width:min(440px,100%); flex:0 1 440px; margin:0; }
.record-toolbar23 { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin:16px 0; }
.record-toolbar23 > .actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.record-toolbar23 .record13-actions, .record-toolbar23 .approval-actions { display:contents; }

/* Keep totals inset when the report itself has no card padding. */
.published-report > .quote-total { padding:18px 22px; margin-top:0; }
.gateway-guide23 { min-width:min(340px, calc(100vw - 32px)); max-width:380px; }
.gateway-guide23 .driver-popover-progress-text { white-space:nowrap; flex-shrink:0; }
.gateway-guide23 .driver-popover-title { font-family:inherit; font-weight:600; font-size:18px; line-height:1.4; }
.gateway-guide23 .driver-popover-description { font-family:inherit; font-size:14px; line-height:1.6; }
/* P24 shared workflow primitives: deliberate groups, not equal-width actions. */
.attention-rows14 .unread-activity {width:6px;height:6px;min-width:6px;max-width:6px;flex:0 0 6px;aspect-ratio:1;border-radius:50%;margin:4px 6px;}
.order-view-bar {display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;}
.order-view-bar > .order-actions {align-self:flex-start;display:flex;align-items:flex-start;gap:12px;}
.order-actions .save-action {order:0;display:flex;flex-direction:column;gap:8px;align-items:stretch;}
.order-actions [data-taskmaster] {order:1;}
.order-actions .publish-actions {order:1;display:flex;align-items:flex-start;gap:12px;}
.order-actions .unsaved:empty {display:none;}
.grid-editor .table-toolbar {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding-right:48px;}
.grid-editor .table-toolbar > .actions:first-of-type {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;flex:none;}
.grid-editor .table-toolbar .actions {min-width:0;flex:none;}
.grid-editor .table-toolbar .actions > input[aria-label='Filter tasks'] {width:min(440px,100%);flex:0 1 440px;}
.grid-editor .table-toolbar > .check-row {grid-row:2;grid-column:2;width:auto;margin:0;}
.grid-editor .table-toolbar > .actions:last-child {grid-row:2;grid-column:1;}
.record-dates > span {display:block;margin:3px 0;}
.options24 {position:relative;}
.options-menu24 {position:absolute;right:0;top:calc(100% + 6px);min-width:240px;background:white;border:1px solid #dedeea;border-radius:12px;padding:8px;box-shadow:0 12px 30px #15142b26;z-index:100;display:grid;gap:4px;}
.options-menu24 .btn {width:100%;text-align:left;justify-content:flex-start;white-space:normal;}
.dismiss-backdrop24 {position:fixed;inset:0;background:#090b25b8;z-index:25000;display:grid;place-items:center;padding:20px;}
.dismiss-panel24 {background:#fff;color:#1b243d;border-radius:18px;padding:28px;width:min(540px,100%);box-shadow:0 20px 70px #0005;}
.dismiss-panel24 .actions {flex-wrap:wrap;}
.select-results24 {overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #d9dce9;border-radius:10px;box-shadow:0 10px 30px #15142b30;padding:4px;}
.select-results24 [role=option] {display:block;width:100%;border:0;border-radius:6px;background:#fff;color:#1b243d;text-align:left;padding:10px 12px;cursor:pointer;}
.select-results24 [role=option]:hover,.select-results24 [aria-selected=true] {background:#eee9fb;}
@media(max-width:700px){.order-view-bar,.order-view-bar>.order-actions{width:100%;}.order-actions .publish-actions{flex-wrap:wrap;}.grid-editor .table-toolbar{grid-template-columns:minmax(0,1fr);}.grid-editor .table-toolbar>.check-row{grid-row:3;grid-column:1;}.options-menu24{right:0;max-width:calc(100vw - 48px);}}
.order-view-bar > .order-actions {display:grid;grid-template-columns:128px 196px 96px;align-items:start;column-gap:12px;}
.order-actions .save-action {grid-column:1;grid-row:1;}
.order-actions [data-taskmaster] {grid-column:2;grid-row:1;align-self:start;margin:0;}
.order-actions .publish-actions {display:contents;}
.order-actions .publish-actions > .btn {grid-column:2;grid-row:1;}
.order-actions .options24 {grid-column:3;grid-row:1;}
@media(max-width:700px){.order-view-bar>.order-actions{grid-template-columns:minmax(100px,1fr) minmax(140px,1.4fr);}.order-actions .options24{grid-column:2;grid-row:2;justify-self:end;}.order-actions [data-taskmaster]{white-space:normal;}}
.guide-picker24 {cursor:grab;}
.guide-picker24:active {cursor:grabbing;}
.guide-surface24 {display:contents;}
/* Keep the shared help launcher clear of modal actions, including mobile footers. */
body:has(.guide-launcher23) .modal-backdrop,
body:has(.guide-launcher23) .dialog-backdrop19,
body:has(.guide-launcher23) .issue-overlay {padding-bottom:80px;}
body:has(.guide-launcher23) .modal,
body:has(.guide-launcher23) .dialog19,
body:has(.guide-launcher23) .issue-dialog {max-height:calc(100dvh - 104px);}

/* P25 common action contract. */
.action-stack25{display:flex;flex-direction:column;align-items:flex-end;gap:10px;width:100%;margin-top:18px;clear:both}
.action-primary25,.action-secondary25{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;max-width:100%}
.action-stack25 .btn{margin:0;white-space:normal}
.pricing-intake25{min-width:0}.pricing-intake25 fieldset{border:0;padding:0;min-width:0}.pricing-steps25{display:flex;gap:16px;list-style:none;padding:0;flex-wrap:wrap}.pricing-steps25 [aria-current]{color:var(--purple,#68429c);font-weight:700}
.pricing-grid25{max-height:65vh;overflow:auto;margin:16px 0}.pricing-grid25 table{min-width:850px}.pricing-grid25 th{position:sticky;top:0;background:var(--surface,#fff);z-index:1}.pricing-grid25 td{vertical-align:top}.pricing-grid25 input:not([type=checkbox]),.pricing-grid25 select,.pricing-grid25 textarea{width:100%;min-width:85px;margin-bottom:6px}.pricing-grid25 td:nth-child(3){min-width:220px}.pricing-grid25 td:last-child{min-width:200px}.pricing-paging25{display:flex;gap:12px;align-items:center;justify-content:flex-end}.pricing-diff25{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid #e4dfec}.excluded25{opacity:.55}.pricing-intake25 .check{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.pricing-intake25 .check input{flex:0 0 auto;margin-top:3px}.pricing-intake25 details{margin-top:8px}
.guide-launcher23 .icon-btn{width:40px;height:40px;display:grid;place-items:center;padding:7px;flex:0 0 auto}.guide-launcher23 .icon-btn svg{width:24px;height:24px}
.wingman-answer25{background:#f1eaf8;border:1px solid #d8c5ed;border-left:4px solid #7851a9;border-radius:12px;padding:18px;margin:16px 0;line-height:1.65;color:#302440}.wingman-answer25 h3{margin:0 0 10px}.wingman-context25{font-size:12px;color:var(--muted);margin-top:18px}
.workflow-actions25{display:block;width:100%;position:static!important;bottom:auto!important;background:var(--surface,#fff);padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}
.workflow-actions25 .action-stack25{margin:0}.workflow-actions25 [data-navigation=back]{margin:0;order:initial}.workflow-notes25{margin-bottom:8px}
.order-actions25{margin-left:auto;min-width:260px;text-align:right}.order-actions25 .action-stack25{margin-top:0}.order-actions25 .unsaved{display:block;min-height:18px;margin-top:6px}.order-actions25 .options24{text-align:left}
.wizard-footer.action-stack25{position:static;align-items:flex-end;justify-content:flex-start}.wizard-footer.action-stack25 [data-navigation=back]{margin:0;order:initial}
@media(max-width:700px){.order-actions25{width:100%;min-width:0}.action-stack25 .btn{max-width:100%}}
.workflow-actions25.heading-actions25{background:transparent;border:0;padding:0;margin:0;width:auto;flex:0 1 auto;min-width:160px}.heading-actions25 .workflow-notes25{display:flex;justify-content:flex-end;gap:10px;align-items:center}.heading-actions25 .action-stack25{width:100%}
.heading-actions25 .workflow-notes25{flex-wrap:wrap}.heading-actions25 .delivery-plan18{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.heading-actions25 .btn{max-width:100%;white-space:normal}.heading .heading-actions25{max-width:100%}.order-view-bar .view-switcher{min-width:0;max-width:100%}
.mro-discovery25{min-width:0}.airport-map25{background:#eff5f9;border:1px solid #d9dfeb;border-radius:14px;overflow:hidden;margin:16px 0}.airport-map25 svg{display:block;width:100%;height:auto;aspect-ratio:2/1;touch-action:none;cursor:grab}.airport-map25 svg:active{cursor:grabbing}.map-tools25{display:flex;gap:8px;padding:10px;justify-content:flex-end;background:#ffffffcf}.map-tools25 .btn{min-width:40px}.airport-map25>small{display:block;padding:8px 12px;color:var(--muted);background:#ffffffad}.airport-pin25[role=button]{cursor:pointer;outline:none}.airport-pin25:focus path{stroke:#252047;stroke-width:3}.radius-control25{display:grid;gap:8px;margin:18px 0}.radius-control25 label{font-weight:700}.radius-control25 input{width:100%;accent-color:#7854b3}.map-filter25{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.airport-filter-list25{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.airport-select25{margin:12px 0}.airport-select25>.text-link{margin-top:7px}.mro-discovery25 .hub-grid{margin-top:16px}

/* P25 reissue: one explicit navigation/action layout and viewport-safe menus. */
.action-stack25{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:16px}
.action-back25{grid-column:1;grid-row:1;justify-self:start;display:flex;gap:8px}
.action-right25{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:0}
.wizard-footer.action-stack25{display:grid;align-items:end}
.options-portal25{z-index:200000;right:auto;overflow:auto;box-sizing:border-box;max-width:calc(100vw - 24px)}
.pricing-intake25 .table-scroll{max-height:none;overflow-x:auto}
.pricing-intake25 .task-table{min-width:650px}
.pricing-intake25 .task-table td{padding:8px}
.pricing-intake25 .task-table input,.pricing-intake25 .task-table select{min-width:75px;width:100%}
.pricing-intake25 .task-table .description-cell{min-width:190px}
.pricing-intake25 .grid-editor{margin:16px 0}
.pricing-intake25 .grid-issues19{max-height:none}
.pricing-intake25 .steps{margin-bottom:24px}
.pricing-bulk25{padding:16px;border:1px solid var(--line);border-radius:12px;margin:16px 0}
.pricing-summary25{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);margin:12px 0}
.pricing-issues25{display:grid;gap:10px;margin:16px 0}
.pricing-issue25{border-left:3px solid #d69628;padding:12px 16px;background:#fff8eb;border-radius:8px}
.pricing-issue25.error{border-color:#be435c;background:#fff0f3}
.pricing-issue25 .field{margin:8px 0}
@media(max-width:600px){.action-stack25{gap:10px}.action-secondary25{gap:8px}.pricing-intake25 .steps{gap:6px}.pricing-intake25 .steps li{min-width:0}}

main .pricing-intake25{padding-bottom:76px}
.pricing-issue25 pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* P26 shared menu items preserve semantics rather than inherited button variants. */
.options-menu24 .btn {border:1px solid transparent;background:transparent;color:var(--ink,#24233b);box-shadow:none;min-height:40px;}
.options-menu24 .btn:not(:disabled):hover {background:#f1ecfa;color:#50348a;border-color:transparent;}
.options-menu24 .btn:focus-visible {outline:2px solid #7854b3;outline-offset:-2px;background:#f1ecfa;}
.options-menu24 .btn:disabled {opacity:.45;cursor:not-allowed;}
.form-grid > .field,.form-grid > .search-select19 {margin-top:0;}
.pricing-intake25 > fieldset {min-width:0;}
.pricing-intake25 .wizard-footer {padding:16px 0;margin-top:20px;}
.pricing-intake25 .mapping-review17 .wizard-footer {margin-bottom:0;}
.issue-compare dl {overflow-wrap:anywhere;}

.decision-actions26 {display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap;}
.map-controls26 {display:flex;align-items:center;gap:16px;padding:12px;flex-wrap:wrap;background:#fff;}
.map-controls26 .radius-control25 {flex:1 1 240px;margin:0;min-width:0;}
.map-controls26 .map-tools25 {padding:0;flex:0 0 auto;}
.airport-map25 svg {display:block;width:100%;height:clamp(180px,35vh,360px);aspect-ratio:2;touch-action:none;}
.airport-map25 {overflow:hidden;}
.grid-editor .table-toolbar {gap:12px;}
@media(max-width:600px){.map-controls26 .map-tools25 .btn{padding:6px 10px;min-height:36px;}.map-controls26{gap:8px}.airport-map25 svg{height:220px}}

.help-grip26 {cursor:grab;touch-action:none;align-self:stretch;border:0;background:transparent;color:#737e96;padding:4px;}
.help-grip26:active {cursor:grabbing;}
.help-grip26:focus-visible {outline:2px solid #7854b3;outline-offset:2px;border-radius:4px;}

/* P26 security uses the shared fields, actions and button hierarchy. */
.identity-shell26{min-height:100vh;background:#f2f3f8;display:grid;place-items:center;padding:24px}
.identity-card26{width:min(100%,680px);padding:32px;max-height:calc(100dvh - 48px);overflow:auto}
.identity-logo26{width:210px;max-width:80%;margin-bottom:24px}
.security26 fieldset,.identity-card26 fieldset{border:0;padding:0;min-width:0}
.security26 h3{margin-top:24px}.security26 img{display:block;max-width:100%;height:auto}
.security-dot26{display:inline-block;width:9px;height:9px;border-radius:50%;background:#b47e16;margin-right:6px}.security-dot26.active{background:#23806b}
.recovery-codes26{columns:2;background:#f2eef9;border-radius:12px;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere}
.security-methods26{padding:0;list-style:none}.security-methods26 li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e2e4ee}
.identity-links26{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.security-confirm26{padding:16px;background:#f6f4fa;border-radius:12px;margin-bottom:20px}
.directory-fields26{border:0;padding:0;min-width:0}.directory-fields26 textarea{width:100%}
.identity-passkey26{display:flex;justify-content:flex-end;margin-top:8px}
.security-choices26{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));margin:20px 0}
.security-choices26 .import-method{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;gap:10px}
.security-choices26 .import-method span{font-size:14px;line-height:1.5}

/* P26 acceptance: pasted source uses the same inset as its proposed line. */
.pricing-source26 { padding: 24px; box-sizing: border-box; }
.pricing-source26 dl { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 12px 20px; }
.pricing-source26 dt, .pricing-source26 dd { margin: 0; text-align: left; overflow-wrap: anywhere; }
@media(max-width: 600px) { .pricing-source26 dl { grid-template-columns: 1fr; gap: 4px; } .pricing-source26 dd { margin-bottom: 12px; } }

/* Keep directory actions aligned across rows with different address lengths. */
.hub-directory{display:flex;flex-direction:column;align-items:flex-start}
.hub-directory > .action-stack25{margin-top:auto;padding-top:18px}

/* Align wrapped and direct fields by their labels, independent of helper height. */
.form-grid > div > .field:first-child {margin-top:0}
.form-grid {align-items:start}
.directory-name26 {font-weight:700;padding:12px 0}
/* Reserve the movable help dock without pushing review headers above the viewport. */
.review-dialog22 > header { flex-shrink: 0; }
body:has(.guide-launcher23) .review-dialog22 { max-height: calc(100dvh - 104px); }
@media (max-width:600px) { body:has(.guide-launcher23) .review-dialog22 { max-height: calc(100dvh - 90px); } }

/* Real credentials use the approved Gateway entry-page shell. */
.identity-content26 fieldset { border:0; padding:0; margin:0; min-width:0; }
.auth-real26 .identity-content26 > p { font-size:13px; margin-bottom:26px; }
.auth-real26 .identity-links26 { align-items:center; justify-content:space-between; }
.auth-real26 .identity-links26 .btn { background:none; border:0; box-shadow:none; color:var(--purple); padding:4px 0; min-height:32px; font-size:12px; }
.auth-real26 .identity-content26 .notice { font-size:13px; }

/* P26 stability: compact security choices and contained help outlines. */
.security-choices26{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.security-choices26 .import-method{min-height:0;height:auto;padding:18px 46px 18px 20px;gap:4px;position:relative}
.security-choices26 .import-method strong{font-size:18px}
.security-choices26 .import-method::after{content:'›';position:absolute;right:20px;top:22px;font-size:24px}
.guide-target23{outline-offset:-3px!important}

/* Flight Test reports use the existing dialog and message surfaces. */
.bug-form27 label,.bug-inbox27 label{display:grid;gap:8px;margin:14px 0;font-weight:600}.bug-form27 fieldset,.bug-inbox27 fieldset{border:0;padding:0;min-width:0}.bug-form27 textarea,.bug-inbox27 textarea{min-height:90px}.bug-attachments27>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}.bug-attachments27 img{max-width:100%;max-height:180px;border:1px solid #e1e3ee;border-radius:10px;object-fit:contain}.bug-inbox-grid27{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:24px}.bug-ticket27{display:grid;text-align:left;gap:6px;width:100%;padding:16px;border:1px solid #e1e3ee;background:white;border-radius:12px;margin:8px 0}.bug-ticket27.selected{border-color:#7854b3;background:#f0eaf9}.bug-ticket27 small{font-weight:400}.bug-events27 article{padding:16px;border:1px solid #e1e3ee;border-radius:12px;margin:12px 0;background:white}.bug-events27 p{white-space:pre-wrap;overflow-wrap:anywhere}.bug-events27 img{display:block;max-width:100%;max-height:260px;margin:8px 0}.bug-events27 a{display:block}.bug-events27 .private-note27{background:#fff7e7}.bug-inbox27 .check-row{display:flex}.bug-inbox27 dd{overflow-wrap:anywhere}.bug-launch27{color:#7854b3}@media(max-width:700px){.bug-inbox-grid27{grid-template-columns:1fr}.bug-inbox-grid27>aside{max-height:240px;overflow:auto}}

/* P28 uses existing Gateway surfaces and button styles. */
.verification-gate28{max-width:900px;margin:32px auto;padding:32px}.verify-field28{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-weight:600}.verify-field28 input,.verify-field28 select,.verify-field28 textarea{width:100%;min-width:0}.verify-field28 textarea{min-height:100px}.verify-check28{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font-weight:400}.verify-check28 input{width:20px;min-width:20px;height:20px}.verify-actions28{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.verify-results28{max-height:330px;overflow:auto;border:1px solid #dfe3ef;border-radius:12px}.verify-results28 button{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;padding:16px;background:white;border:0;border-bottom:1px solid #e5e7ef;color:#19213b;cursor:pointer}.verify-results28 button:hover{background:#f1ecfa}.verify-history28{padding:12px 0;border-top:1px solid #e5e7ef}.verification-review28 small,.verification-gate28 small{display:block;color:#74809a}.verification-review28 code{overflow-wrap:anywhere}.verification-review28 fieldset,.verification-gate28 fieldset{border:0;padding:0;min-width:0}.verification-review28 td{vertical-align:top}.verification-review28 .card{margin-top:20px}.origin-hangar28{cursor:help}@media(max-width:650px){.verification-gate28{margin:12px;padding:18px}.verification-gate28 .section-title{flex-wrap:wrap}.verify-actions28 .btn{width:100%}}

/* P28 registration correction: keep the established split-screen identity design. */
.account-choices28{display:grid;gap:16px;margin:24px 0}.account-choice28{display:grid;gap:12px;text-align:left;padding:24px;border:1px solid #dcd9ed;border-radius:16px;background:#fff;color:#20243e;cursor:pointer;min-height:0;height:auto;font:inherit;white-space:normal}.account-choice28:hover,.account-choice28:focus-visible{border-color:#7958c7;background:#f7f4fc;outline:2px solid #7958c7;outline-offset:2px}.account-choice28 strong{font-size:1.2rem}.account-choice28 span,.account-choice28 em{font-size:.95rem;line-height:1.5}.account-choice28 em{color:#686580}.account-choice-next28{color:#6848b3;font-weight:700}.account-selection28{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.account-selection28 button{border:0;background:transparent;color:#6848b3;text-decoration:underline;font:inherit;cursor:pointer}.password-strength28{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:-8px 0 24px}.password-strength28 meter{flex:1;height:10px;min-width:100px}.password-strength28 small{flex-basis:100%;color:#68728b;line-height:1.5}.password-strength28 span{font-size:.875rem}.identity-content26 input{scroll-margin-top:30px}

/* P29: consistent onboarding and state feedback */
.free-badge29{display:inline-flex!important;width:fit-content;background:#e7f6f1;color:#17674f;padding:4px 10px;border-radius:20px;font-weight:700;font-size:13px!important}
.security-confirm26 .workflow-actions25{background:transparent!important;padding:16px 0 0!important}.security-confirm26 h3{margin-top:0}
.password-strength28 meter::-webkit-meter-bar{background:#e8eaf0;border:0;border-radius:9px}.password-strength28 meter::-webkit-meter-optimum-value{background:#bb364f}.password-strength28.strength29-2 meter::-webkit-meter-optimum-value{background:#b58014}.password-strength28.strength29-3 meter::-webkit-meter-optimum-value,.password-strength28.strength29-4 meter::-webkit-meter-optimum-value{background:#21836d}.password-strength28 meter::-moz-meter-bar{background:#bb364f}.password-strength28.strength29-2 meter::-moz-meter-bar{background:#b58014}.password-strength28.strength29-3 meter::-moz-meter-bar,.password-strength28.strength29-4 meter::-moz-meter-bar{background:#21836d}
.onboarding29{max-width:1120px;margin:40px auto;padding:40px;background:#fff;border:1px solid #e0e4f0;border-radius:24px;box-shadow:0 12px 40px #15132f08}.onboarding29 h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1px}.onboarding29>section.card{border:0;padding:24px 0;box-shadow:none}.onboarding29 .notice{border:0;background:#f4f2fa}.onboarding29 fieldset{border:0;padding:0;min-width:0}.onboarding29 details{margin-top:24px}.onboarding29 .secondary-options29{font-size:13px;color:#65708a}.onboarding29 .verify-field28{margin-bottom:20px}.billing-period29{display:flex;justify-content:center;gap:8px;margin:24px 0}.plan-cards29{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.plan-card29{display:flex;flex-direction:column;align-items:flex-start;text-align:left;height:auto;white-space:normal;border:1px solid #ddd9ed;background:#fff;border-radius:16px;padding:24px;font:inherit;color:#20243e;gap:12px;cursor:pointer}.plan-card29.selected{border:2px solid #7354cc;background:#f8f6fe}.plan-card29:disabled{opacity:.65;cursor:default}.plan-card29 strong{font-size:22px}.plan-price29{font-size:28px;font-weight:700}.plan-features29{overflow:auto}.plan-features29 th,.plan-features29 td{padding:14px;border-bottom:1px solid #e2e5ef;text-align:left}.plan-features29 table{width:100%;font-size:14px}.location-fields29{width:100%;grid-column:1/-1}.hub-tabs29{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e2e5ef;padding:0 0 16px;margin-bottom:24px}.hub-tabs29 button{background:transparent;border:0;padding:10px;color:#626b81;font:inherit;cursor:pointer}.hub-tabs29 button.selected{color:#6848b3;background:#efebfa;border-radius:10px;font-weight:700}
@media(max-width:760px){.onboarding29{margin:12px;padding:24px}.plan-cards29{grid-template-columns:1fr}.plan-card29{padding:20px}}

.auth-real26 .onboarding29{margin:0;padding:0;border:0;box-shadow:none;width:100%;max-width:none}.auth-real26:has(.onboarding29){padding:40px!important;max-width:none}.auth-real26 .plan-cards29{grid-template-columns:1fr}.auth-real26 .plan-card29{padding:18px}.auth-real26 .plan-features29{font-size:12px}.auth-real26 .onboarding29>img{display:none}

.auth-shell:has(.onboarding29){grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.auth-left:has(.onboarding29){min-width:0;padding:40px 6%}.auth-real26:has(.onboarding29){padding:0!important;min-width:0}.onboarding29 .section-title{flex-wrap:wrap}.onboarding29 .plan-features29{max-width:100%;min-width:0;overflow-x:auto}.onboarding29 .plan-features29 table{min-width:520px}.auth-real26 .plan-cards29{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-real26 .plan-price29{font-size:24px}.auth-real26 .plan-card29{overflow-wrap:anywhere;font-size:13px}.auth-real26 .plan-card29 strong{font-size:20px}
@media(max-width:1050px){.auth-real26 .plan-cards29{grid-template-columns:1fr}}
@media(max-width:760px){.auth-shell:has(.onboarding29){display:block}.auth-left:has(.onboarding29){padding:24px}.auth-real26:has(.onboarding29){margin:40px auto}.onboarding29 .section-title h1{font-size:28px}.onboarding29 .verify-actions28{flex-wrap:wrap}.onboarding29 .plan-features29{width:100%}}

/* Phase 30 shared setup controls */
.location-fields29 {align-items:start;gap:20px 24px!important;margin:20px 0;}
.location-fields29 > * {margin:0!important;min-width:0;}
.location-fields29 label,.location-fields29 .verify-field28 {font-size:14px;font-weight:600;line-height:1.5;display:flex;flex-direction:column;gap:8px;}
.location-fields29 input {margin:0!important;font:inherit;font-weight:400;height:44px;}
.weekdays30 {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 24px;}
.weekdays30 .check-row {display:flex!important;gap:6px;align-items:center;margin:0!important;padding:10px 12px;border:1px solid #dce0ed;border-radius:10px;cursor:pointer;}
.weekdays30 .check-row:has(input:checked) {background:#eee9fc;border-color:#7354cc;color:#5539ac;}
.weekdays30 input {margin:0!important;}
.secondary-options29, .verify-card28 details {border:1px solid #e1dfed;border-radius:10px;padding:14px 16px;margin:12px 0!important;}
.secondary-options29 summary,.verify-card28 summary {font-weight:600;color:#25304b;cursor:pointer;line-height:1.5;}
.secondary-options29[open] summary {margin-bottom:14px;}

.onboarding29>section.request-status30{border:1px solid #e1dfed;border-radius:18px;padding:24px;margin:24px 0;background:#fff;}
.status-pill30{display:inline-flex;padding:6px 12px;border-radius:20px;background:#efeafa;color:#5e45a6;font-size:14px;}
.request-status30 h2{margin:0 0 8px}.request-status30>p{margin:12px 0;}
.onboarding29 details{border:1px solid #e1dfed;border-radius:10px;padding:14px 16px;margin:12px 0!important;}
.onboarding29 summary{font-size:14px;font-weight:600;line-height:1.5;cursor:pointer;color:#34405c;}
.onboarding29 details[open]>summary{margin-bottom:14px;}
.onboarding29>.secondary-options29:last-child{margin-top:28px!important;border:0;border-top:1px solid #e1dfed;border-radius:0;padding:18px 0;}
.feature-controls30{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:24px;}
.feature-controls30 article{border:1px solid #e1dfed;border-radius:14px;padding:20px;}
.feature-controls30 header{display:flex;justify-content:space-between;align-items:center;gap:16px;}
.feature-controls30 label,.people-create30 label{display:flex;flex-direction:column;gap:8px;font-weight:600;}
.feature-controls30 .check-row{flex-direction:row;margin:0;align-items:center;}.feature-controls30 textarea{min-height:90px;}
.people-create30{width:100%;padding:24px;background:#f8f7fc;border-radius:16px;margin:16px 0;}.people-create30 .form-grid{gap:20px;}
.table-toolbar:has(.people-create30){flex-wrap:wrap;}
.feature-tip30{display:none;position:absolute;z-index:1200;left:0;top:100%;min-width:220px;max-width:320px;padding:12px 16px;border:1px solid #d8d4ea;border-radius:10px;background:#fff;color:#25304b;box-shadow:0 8px 24px #15132f25;font-size:13px;font-weight:400;line-height:1.5;white-space:normal;text-align:left;}
.feature-paused30,.sidebar button[aria-disabled=true]{position:relative;cursor:help;opacity:.8;}
.feature-paused30:hover>.feature-tip30,.feature-paused30:focus>.feature-tip30,.sidebar button[aria-disabled=true]:hover>.feature-tip30,.sidebar button[aria-disabled=true]:focus>.feature-tip30{display:block;}
/* P31 shared field alignment and compact working week. */
.weekdays30 {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0 24px}
.weekdays30 label {width:auto!important;flex:0 0 auto!important;margin:0!important;display:flex;align-items:center;gap:8px;padding:10px 14px!important}
.hub-label15 strong,.hub-label15 span {display:block}
.hub-label15 span {font-size:.85em;margin-top:4px}
.form-grid {align-items:start}
.form-grid > label,.form-grid > .search-select19 {margin-top:0}
.form-grid > label > input,.form-grid > label > select {margin-top:8px}
.people-fields31 > label {display:flex;flex-direction:column;gap:8px;margin:0;font-size:14px;font-weight:600}
.people-fields31 input {font-weight:400}
.form-grid > .search-select19,.form-grid > .airport-select25 {margin:0;min-width:0}
.form-grid > .search-select19 label,.form-grid > .airport-select25 label {font-size:14px;font-weight:600;line-height:21px;margin:0 0 8px}
.form-grid > .search-select19 input,.form-grid > .airport-select25 input {height:44px;margin:0}
.premium31 {background:linear-gradient(130deg,#f8f7fc,#efedf7);border:1px solid #ded9ed;min-height:230px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.premium31 .eyebrow {color:#7058aa}.premium31 h2 {margin:10px 0}
.upgrade-summary31 {display:grid;grid-template-columns:1fr 1fr;gap:16px}.upgrade-summary31 dd {margin:0;font-weight:600}
.field:has(> .select-field31)>span {display:none}
.select-field31 select[hidden] {display:none!important}
.select-field31 .search-select19 {margin:0}
.select-field31 .search-select19 label {font-size:12px;font-weight:650;margin:0 0 8px;line-height:18px}
.select-results24 button:disabled {opacity:.5;cursor:default}
.sidebar button[data-premium31] {color:#b8b1cf}
.sidebar button[data-premium31] small {display:block;font-size:10px;letter-spacing:.05em;color:#b8b1cf;margin-top:3px}
.form-grid .field .select-field31 .search-select19 label {font-size:14px;line-height:21px}
.premium-label31 {color:#7058aa;background:#f2eef9}

/* P32 shared communication surfaces: consistent geometry at every entry point. */
.weekdays30 {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:stretch}
.weekdays30 label.check-row {width:100%!important;min-width:0;justify-content:center;padding:12px 4px!important;box-sizing:border-box}
.tier-lock32 {display:inline-flex;align-items:center;justify-content:center;margin-left:auto;flex:none;opacity:.7}
.btn .tier-lock32 {margin-left:8px}
.feature-story32 {max-width:960px;margin:auto;padding:8px 0}
.feature-story32 h2 {max-width:760px;font-size:clamp(26px,3vw,38px);line-height:1.18;margin:16px 0}
.feature-story32>p {max-width:780px;line-height:1.65}
.feature-examples32 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0 12px}
.feature-examples32 article {border:1px solid #dfd9ef;border-radius:16px;padding:22px;background:linear-gradient(145deg,#f5f1fc,#f4fafb)}
.feature-examples32 p {line-height:1.55;color:#6d7893;margin-bottom:0}
.billing-dashboard32 {width:100%;min-width:0;padding:8px}
.billing-dashboard32 h2 {font-size:clamp(26px,3vw,36px);margin:12px 0}
.billing-period32 {display:flex;justify-content:flex-end;gap:8px;margin:24px 0}
.plan-cards32 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.plan-card32 {display:flex;flex-direction:column;align-items:flex-start;text-align:left;font:inherit;color:inherit;min-width:0;padding:24px 20px;background:#fff;border:1px solid #dfe3ef;border-radius:18px;cursor:pointer;transition:background .15s,border-color .15s}
.plan-card32.selected {border:2px solid #7658c9;padding:23px 19px;background:linear-gradient(150deg,#f1ebfc,#f0fafa);box-shadow:0 6px 20px #51407d10}
.plan-card32 h3 {margin:14px 0 22px}
.plan-card32 ul {padding-left:18px;font-size:14px;line-height:1.65;margin-top:24px}
.plan-price32 {font-size:clamp(22px,2.4vw,34px);letter-spacing:-.04em;overflow-wrap:anywhere}
.plan-slider32 {display:block;max-width:520px;margin:28px auto;text-align:center;font-size:14px;color:#6c7792}
.plan-slider32 input {display:block;width:100%;accent-color:#7658c9;margin:16px 0}
.composer32 {min-width:0;max-width:1100px;margin:auto}
.composer-context32 {display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 0 24px;color:#707c98;font-size:14px}
.composer-context32 span:first-child {font-weight:700;color:#7051bc}
.changes32 {border:1px solid #dce2ef;border-radius:16px;padding:20px;margin:16px 0 24px;background:#f8f9fc;min-width:0;overflow:auto}
.changes32>summary {cursor:pointer;font-weight:700;color:#263350}
.change32 {display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-top:1px solid #e2e5ef}
.change32>span {display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
.change32 small {color:#986317}
.delivery-summary32 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;background:#f4f0fb;border:1px solid #e1daef;border-radius:16px;padding:24px;margin-bottom:24px}
.delivery-summary32 div {display:flex;flex-direction:column;gap:10px}
.delivery-summary32 small {font-size:11px;letter-spacing:.12em;color:#707c98;font-weight:700}
.composer32 .form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
.summary-method-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.summary-method-actions .btn,.summary-method-actions .btn.wingman {min-width:0!important;width:100%;white-space:normal!important;overflow-wrap:anywhere}
.aircraft-form32 .form-grid,.aircraft-form32 .model-select18 .form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.aircraft-form32 .field {min-width:0;width:100%}
.aircraft-form32 .field>input,.aircraft-form32 .field .date-input-wrap {width:100%;max-width:none}
.aircraft-form32.inline-form .wizard-footer {position:static;background:transparent;box-shadow:none;padding:20px 0 0;margin-top:24px;border-top:1px solid #dce2ef}
.aircraft-form32 .registry-results:empty {display:none}
.aircraft-form32 .registry-results {min-height:0}
.aircraft-form32 .model-select18 {min-width:0}
.composer32 .workflow-actions25 {position:sticky;bottom:0;background:white;z-index:2}
@media(max-width:760px){
 .plan-cards32,.feature-examples32 {grid-template-columns:1fr}
 .plan-card32 ul {margin-top:12px}
 .composer32 .form-grid,.aircraft-form32 .form-grid,.summary-method-actions {grid-template-columns:1fr}
 .weekdays30 {grid-template-columns:repeat(4,minmax(0,1fr))}
 .weekdays30 label.check-row {padding:10px 4px!important}
 .delivery-summary32 {grid-template-columns:1fr}
}
.summary-method-actions .btn {max-width:none!important}
.aircraft-form32 .aircraft-identity-fields18 .model-picker18 .form-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.aircraft-form32 .field>input,.aircraft-form32 .field>.date-input {margin-top:0}
.aircraft-form32 .model-picker18>.text-link {justify-self:start}
@media(max-width:760px){.aircraft-form32 .aircraft-identity-fields18 .model-picker18 .form-grid {grid-template-columns:1fr}}
/* P32.1 shared layout rules */
.feature-examples32 article > strong {display:block;margin-bottom:12px}
.feature-examples32 article > p {margin-top:0}
.happiness321{display:block;margin-bottom:14px;flex:0 0 32px;color:#a88639}
.happiness321.happy{color:#268c75}.happiness321.sad{color:#ba526a}
.sidebar nav button > span:first-of-type{flex:1;display:flex;align-items:center;min-width:0}
.sidebar nav .tier-lock32{margin-left:auto;padding-left:12px;display:inline-flex;align-items:center;flex-shrink:0}
.tier-lock32 svg{width:16px;height:16px;stroke-width:1.7}
.guide-launcher23{position:fixed!important;right:20px;bottom:20px;flex-wrap:nowrap!important;width:max-content!important;min-width:max-content;max-width:none;box-sizing:border-box}
.guide-launcher23 > button,.guide-launcher23 > .icon-btn{flex-shrink:0!important}
.guide-launcher23 > small{position:absolute;right:0;bottom:100%;background:white;padding:10px;min-width:240px}
.inline-form .workflow-actions25,.inline-form .wizard-footer,.inline-form .form-actions16{background:transparent!important;position:static!important;padding:20px 0 0;margin:20px 0 0;border-top:1px solid var(--line,#dde1ec)}
.aircraft-form32 .registry-results:has(> p:only-child){border:0;background:transparent;padding:0;min-height:0}
.task-view321{display:inline-flex;position:relative;isolation:isolate;background:#ebe7f6;border-radius:12px;padding:4px;min-width:260px;height:46px;align-items:stretch;flex-shrink:0}
.task-view321 button{position:relative;z-index:1;flex:1;border:0;background:transparent;border-radius:9px;padding:7px 12px;color:var(--muted,#707b94);font:inherit;white-space:nowrap}
.task-view321 button[aria-pressed=true]{color:#6345b1;font-weight:700}
.task-view-thumb321{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:9px;background:white;box-shadow:0 1px 4px #37285b20;transition:transform .16s}
.task-view-thumb321.updates{transform:translateX(100%)}
.cell-value321,.date-value321{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0}
.cell-value321 > :first-child{min-width:0;flex:1}.cell-value321 select{width:auto}
.change-dot321{width:10px;height:10px;border-radius:50%;background:#d39336;border:0;padding:0;flex:0 0 10px;outline-offset:5px;cursor:pointer;box-shadow:0 0 0 5px transparent}
.change-dot321.reverted{background:#9ba2b3}.change-dot321.conflict{background:#c84c69}
.change-review321 dd{margin:6px 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}
.order-grid>.order-actions25{float:right;margin:18px 24px 0;position:relative;z-index:1}
.order-grid>.order-actions25 .action-stack25{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.order-view-bar:empty,.order-view-bar:has(.view-switcher:empty){display:none}
.order-grid .table-toolbar{clear:none}.order-grid .table-toolbar .grid-help{position:static}
.delivery-summary32{align-items:start;gap:32px}.delivery-summary32 p{font-size:.9rem;font-weight:400;color:var(--muted,#707b94);margin:12px 0 0}
.delivery-summary32 .date-input-wrap,.delivery-summary32 input{max-width:100%;width:100%}
.date-value321>strong{display:inline!important}.date-value321 .change-dot{flex-shrink:0}
@media(max-width:850px){.order-grid>.order-actions25{float:none;margin:16px}.delivery-summary32{grid-template-columns:1fr}.task-view321{min-width:240px}}
@media(prefers-reduced-motion:reduce){.task-view-thumb321{transition:none}}
.subscription-current321{padding:24px;margin:24px 0;border:1px solid var(--line,#dde1ec);border-radius:16px;background:#f6f3fc}
.pulse-pill .happiness321{width:22px;height:22px;margin:0;flex-basis:22px}
.score-ring:has(.happiness321){background:transparent;display:flex;flex-direction:column;gap:3px;height:auto;padding:0}.score-ring .happiness321{margin:0}
/* One grid header: search, contextual actions and shortcuts stay inside the panel. */
.order-grid .has-actions321{display:grid;grid-template-columns:minmax(220px,1fr) auto 40px;padding:20px;gap:16px;align-items:start}
.order-grid .has-actions321>.order-actions25{grid-column:2;grid-row:1;margin:0;min-width:0;float:none}
.order-grid .has-actions321>.order-actions25 .action-right25{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.order-grid .has-actions321>.order-actions25 .action-secondary25{margin:0}
.order-grid .has-actions321>.actions:first-of-type{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:16px}
.order-grid .has-actions321>.grid-help{grid-column:3;grid-row:1;position:static;padding:8px}
.order-grid .has-actions321>.actions:last-child{grid-column:1;grid-row:2}
.order-grid .has-actions321>.task-view321{grid-column:2;grid-row:2}
.order-grid .has-actions321 .unsaved:empty{display:none}
.change-dot321.new{background:#23a396}
.report-value{flex-wrap:nowrap}
@media(max-width:1100px){.order-grid .has-actions321{grid-template-columns:minmax(0,1fr) 40px}.order-grid .has-actions321>.order-actions25{grid-column:1;grid-row:2}.order-grid .has-actions321>.grid-help{grid-column:2}.order-grid .has-actions321>.actions:last-child{grid-row:3}.order-grid .has-actions321>.task-view321{grid-column:1;grid-row:4}}

/* P32.2: one compact shared task toolbar, without reserved shortcut space. */
.grid-editor .task-toolbar322, .order-grid .task-toolbar322.has-actions321{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;gap:20px;padding:20px;background:white;}
.grid-editor .task-toolbar322 > .grid-filters322{display:flex;flex-direction:column;align-items:stretch;flex:1;min-width:0;gap:16px;}
.grid-search322{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0;}
.grid-editor .task-toolbar322 .grid-search322 > input{width: min(440px,100%);flex:1 1 220px;min-width:0;margin:0;}
.grid-search322 .task-view321{min-width:230px;margin:0;}
.grid-editor .task-toolbar322 > .grid-actions322{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto;}
.grid-editor .task-toolbar322 .grid-actions322 > .actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.grid-editor .task-toolbar322 .order-actions25{float:none;margin:0;min-width:0;}
.grid-editor .task-toolbar322 .action-right25,.grid-editor .task-toolbar322 .action-stack25{align-items:flex-end;}
.grid-editor .task-toolbar322 .action-secondary25{justify-content:flex-end;}
.grid-editor .bulk-toolbar{background:white;border:0;margin:0;padding:12px 20px;}
.grid-editor .bulk-toolbar .grid-help{position:static;padding:8px;}
.task-review322{background:white;border:0;padding:0;margin-top:20px;}
.change-review321{display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);align-items:start;gap:16px 24px;}
.change-review321 dt,.change-review321 dd{margin:0!important;padding:0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;}
.change-actions322{display:flex!important;justify-content:flex-end!important;gap:12px;flex-wrap:wrap;}
@media(max-width:800px){.grid-editor .task-toolbar322,.order-grid .task-toolbar322.has-actions321{flex-wrap:wrap;}.grid-editor .task-toolbar322 > .grid-filters322{flex-basis:100%;}.grid-editor .task-toolbar322 > .grid-actions322{margin-left:auto;}.change-review321{grid-template-columns:1fr;gap:8px;}.change-review321 dd{margin-bottom:12px!important;}}

/* P32.3 shared task controls: explicit sizing, independent of generic action margins. */
.task-grid323 .task-toolbar322,.order-grid .task-grid323 .task-toolbar322.has-actions321,.report-toolbar323{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;gap:16px;padding:16px 20px 8px;margin:0;min-height:0;background:white;}
.task-grid323 .task-toolbar322 > .grid-filters322,.report-toolbar323 .grid-filters322{display:flex;flex-direction:column;align-items:flex-start;flex:1 1 auto;min-width:0;gap:8px;margin:0;padding:0;}
.task-grid323 .grid-search322,.report-toolbar323 .grid-search322{width:100%;max-width:460px;margin:0;padding:0;}
.task-grid323 .grid-search322 input,.report-toolbar323 .grid-search322 input{width:100%;max-width:100%;min-height:36px;height:36px;padding:7px 12px;margin:0;font-size:13px;}
.task-grid323 .task-toolbar322 > .grid-actions322,.report-toolbar323 .grid-actions322{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin:0;padding:0;flex:0 0 auto;}
.task-grid323 .grid-secondary323{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:0;min-height:0;}
.task-grid323 .grid-secondary323>.btn{margin:0;min-height:28px;height:28px;padding:3px 10px;font-size:12px;line-height:20px;}
.task-grid323 .grid-actions322 .order-actions25,.task-grid323 .grid-actions322 .action-stack25,.task-grid323 .grid-actions322 .action-right25,.task-grid323 .grid-actions322 .action-primary25,.task-grid323 .grid-actions322 .action-secondary25{margin:0;padding:0;min-height:0;gap:6px;}
.task-grid323 .grid-actions322 .action-stack25{display:flex;flex-direction:column;align-items:flex-end;}
.task-grid323 .grid-actions322 .btn{min-height:36px;padding:7px 12px;font-size:13px;}
.task-grid323 .grid-actions322 .grid-secondary323 .btn{min-height:28px;height:28px;padding:3px 10px;font-size:12px;}
.task-grid323 .grid-actions322 .unsaved{min-height:0;margin:4px 0 0;}
.task-grid323 .bulk-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:4px 20px 10px;margin:0;background:white;border:0;font-size:12px;min-height:0;}
.task-grid323 .bulk-toolbar label{display:inline-flex;align-items:center;gap:5px;margin:0;}
.task-grid323 .bulk-toolbar .btn{min-height:32px;padding:5px 10px;font-size:12px;}
.task-grid323 .bulk-toolbar .grid-help{position:static;min-height:32px;padding:5px;font-size:13px;margin:0;}
/* Shared status filters: compact presentation throughout Gateway. */
.status-filters16{display:flex;flex-wrap:wrap;gap:4px 14px;width:fit-content;max-width:100%;margin:8px 0 12px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.status-filters16 button{display:inline-flex;align-items:center;gap:5px;min-height:32px;height:32px;padding:5px 1px;font-size:12px;font-weight:500;line-height:20px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#6d7890;box-shadow:none;}
.status-filters16 button.selected{color:#7051bc;background:transparent;border-bottom-color:#8061cf;box-shadow:none;font-weight:650;}
.status-filters16 button span,.status-filters16 button.selected span{font-size:11px;background:transparent;color:inherit;opacity:.7;padding:0;}
.status-filters16 button:disabled{background:transparent;color:#9aa3b3;opacity:.65;box-shadow:none;}
.updates-switch323{display:inline-flex;align-items:center;gap:8px;padding:4px 0;margin:0;border:0;background:transparent;min-height:28px;color:#707b90;font:inherit;font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;}
.switch-track323{display:inline-flex;align-items:center;width:28px;height:16px;padding:2px;box-sizing:border-box;border-radius:10px;background:#d8dce5;transition:background .15s;}
.switch-track323>span{display:block;width:12px;height:12px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .15s;}
.updates-switch323[aria-checked=true] .switch-track323{background:#8a74bf;}
.updates-switch323[aria-checked=true] .switch-track323>span{transform:translateX(12px);}
.updates-switch323:focus-visible{outline:2px solid #8a74bf;outline-offset:4px;border-radius:4px;}
.composer32 .task-review322{margin:12px 0 16px;padding:0;border:0;background:white;}
.composer32 .task-toolbar322{padding:0 0 8px;}
.composer32 .task-grid323 .bulk-toolbar{padding:4px 0 10px;}
.composer32 .composer-context32{padding:8px 0 12px;margin:0;}
.composer32 > p.muted{margin:8px 0 12px;font-size:12px;}
.summary-heading323{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:12px 0 8px;}
.summary-heading323>label{font-size:13px;font-weight:650;margin:0;}
.summary-tools323{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;padding:0;}
.composer32 .summary-tools323 .btn{flex:none;width:auto;height:auto;min-height:32px;margin:0;padding:6px 12px;font-size:12px;line-height:18px;border-radius:8px;white-space:nowrap;}
.composer32 .summary-tools323 .btn.ghost{color:#6f778c;background:transparent;box-shadow:none;}
.composer32 .summary-tools323 .btn.wingman{width:auto;min-width:0;box-shadow:0 2px 6px #7660aa18;}
.summary-editor323 textarea{display:block;width:100%;min-height:100px;margin:0;padding:12px;font-size:14px;resize:vertical;}
.report-task-heading323{display:flex;align-items:baseline;gap:12px;margin:16px 0 10px;}
.report-task-heading323 h3,.report-task-heading323 small{margin:0;}
.report-toolbar323{padding:0 0 10px;}
@media(max-width:700px){.task-grid323 .task-toolbar322,.order-grid .task-grid323 .task-toolbar322.has-actions321,.report-toolbar323{flex-wrap:wrap;gap:8px;}.task-grid323 .task-toolbar322 > .grid-filters322,.report-toolbar323 .grid-filters322{flex-basis:100%;}.task-grid323 .task-toolbar322 > .grid-actions322,.report-toolbar323 .grid-actions322{margin-left:auto;}.task-grid323 .status-filters16,.report-toolbar323 .status-filters16{gap:4px 10px;}.summary-tools323{margin-left:auto;}.task-grid323 .bulk-toolbar{flex-wrap:wrap;}.summary-editor323 textarea{min-height:110px;}}
@media(prefers-reduced-motion:reduce){.switch-track323,.switch-track323>span{transition:none;}}

/* P32.4: group view selection with task filters, leaving only Save/Undo at right. */
.task-filter-row324{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;max-width:100%;}
.task-filter-row324 .updates-switch323{flex-shrink:0;}
.options-menu24 .btn.wingman{background:linear-gradient(110deg,#6254b9,#7666d4 60%,#277e91);color:white;border:1px solid #a3a1dd;inline-size:100%;min-inline-size:0;}
.options-menu24 .btn.wingman:hover,.options-menu24 .btn.wingman:focus-visible{background:linear-gradient(110deg,#6254b9,#7666d4 60%,#277e91);color:white;}

.task-filter-row324 .status-filters16{margin:0;}

/* P32.5: task search follows the shared right-aligned directory search pattern. */
.task-grid323 .task-toolbar322 > .grid-actions322{flex:0 0 240px;width:240px;max-width:100%;}
.task-grid323 .grid-actions322 .grid-search322,.report-toolbar323 > .grid-search322{width:240px;max-width:100%;flex:0 0 auto;}
.task-grid323 .grid-actions322 .grid-search322 input,.report-toolbar323 > .grid-search322 input{width:100%;max-width:240px;height:auto;min-height:0;font-size:11px;padding:9px;}
.task-grid323 .grid-filters322 > .bulk-toolbar,.composer32 .task-grid323 .grid-filters322 > .bulk-toolbar{padding:4px 0 0;margin:0;flex-wrap:wrap;}
.task-grid323 .grid-actions322 > .grid-search322{margin-bottom:2px;}
@media(max-width:700px){.task-grid323 .task-toolbar322 > .grid-actions322{flex-basis:240px;}.report-toolbar323 > .grid-search322{margin-left:auto;}}

/* Grid status uses Gateway's shared accessible popup, not a native menu. */
.task-table .select-field31{min-width:130px;width:100%;}
.task-table .select-field31 .search-select19>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.task-table .select-field31 input{width:100%;margin:0;}

/* P32.7: selection controls keep their shape; only the task table scrolls. */
.task-grid323 .bulk-toolbar input[type="checkbox"]{width:17px;height:17px;min-width:17px;max-width:17px;flex:0 0 17px;margin:0;}
.composer32 .task-review322{overflow:visible;}
.report-tasks327{padding:0 36px 24px;min-width:0;}
.report-tasks327 .report-table-scroll{margin:0;}
@media(max-width:900px){.report-tasks327{padding-inline:24px;}}

/* P33: shared component communication surfaces */
.mode-cards33{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:12px 0 20px}.mode-cards33 button{background:var(--surface,#fff);border:1px solid #dce1ed;border-radius:12px;padding:16px;text-align:left;color:inherit;display:flex;flex-direction:column;gap:7px;cursor:pointer}.mode-cards33 button[aria-pressed=true]{border-color:#7658cd;background:#f4f0fc;box-shadow:0 0 0 1px #7658cd}.mode-cards33 button>span{font-size:26px;color:#7255c5}.mode-cards33 small{font-weight:400;color:#748099}.scope-item33,.component-card33{border:1px solid #dce1ed;border-radius:12px;padding:18px;margin:12px 0}.scope-item33>.form-grid{margin-top:12px}.component-title33{display:flex;align-items:center;justify-content:space-between;gap:12px}.component-title33 small{display:block;color:#748099;margin-top:5px}.milestones33{list-style:none;display:flex;gap:0;padding:16px 0;margin:0;overflow-x:auto}.milestones33 li{min-width:105px;flex:1;font-size:12px;color:#748099;border-top:2px solid #e3e7ef;padding:10px 8px 0 0}.milestones33 li>span{display:inline-grid;place-items:center;border-radius:50%;background:#f0f2f7;width:23px;height:23px;margin-right:5px}.milestones33 .current{color:#6448bc;border-color:#7658cd;font-weight:700}.milestones33 .current>span{background:#7658cd;color:white}.milestones33 .past{border-color:#29a6b1}.component-actions33{display:flex;align-items:flex-end;flex-direction:column;gap:5px;padding:12px 16px 0}.components-progress33{padding:16px}.components-progress33 .table-toolbar{gap:16px;align-items:center}.components-progress33 .table-toolbar input{width: min(300px,100%)}.components-progress33 .check-row input{width:18px;height:18px;flex:0 0 18px}.component-dates33{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:#748099}.hidden-component33{background:#f8f9fc}.hidden-component33>.component-title33{opacity:.65}.component-change33{color:#946013}.component-card33 textarea{min-height:64px}.component-card33 .form-grid{gap:12px}.scope33{margin-bottom:16px}@media(max-width:700px){.component-title33{align-items:flex-start;flex-direction:column}.components-progress33 .table-toolbar{flex-direction:column;align-items:stretch}}

.component-search33{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.component-search33 .component-actions33{padding:0}.components-progress33 .table-toolbar{align-items:flex-start}

/* Shared visual choices also open the work-order workflow. */
.work-type331 .mode-cards33{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-cards33 button>span{display:flex;align-items:center;gap:8px}@media(max-width:600px){.work-type331 .mode-cards33{grid-template-columns:1fr}}
/* P33.2: shared component forms, compact progress and field comparisons. */
.component-actions33{flex-direction:row;flex-wrap:wrap;align-items:center;padding:0;gap:8px}.component-actions33>small{flex-basis:100%;text-align:right}
.components-progress33 .table-toolbar{margin-bottom:16px;align-items:center}.components-progress33 .table-toolbar>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.components-progress33 .updates-switch323{margin-inline-start:12px}
.component-card33 .current-stage332{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);margin-top:12px}.milestones33 li>button{border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0;width:100%}.milestones33 li>button>span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f0f2f7;margin-right:5px}.milestones33 .current>button>span{background:#7658cd;color:white}
.component-fields332{margin:8px 0}.component-fields332>summary,.template-preview332>summary{cursor:pointer;color:#6850b6;font-weight:600;padding:8px 0}.component-fields332[open]>.form-grid{padding-top:12px}.scope-heading332{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f3fb;margin:-18px -18px 16px;padding:14px 18px;border-radius:12px 12px 0 0;border-bottom:1px solid #e3deef}.scope-heading332 strong{font-size:16px}.scope-item33 .form-grid{align-items:start}.scope-item33 input,.scope-item33 select{min-height:42px}.template-preview332 ol{display:flex;gap:20px;flex-wrap:wrap;padding-left:20px}
.component-dot332{border:0;background:none;padding:4px;margin-left:6px;line-height:1;font-size:15px;cursor:pointer;color:#c98b28}.component-dot332.new{color:#269b82}.comparison332{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}.comparison332 dt{color:#75829a}.comparison332 dd{margin:0;font-weight:600}
.hidden-task332>td{background:#f4f2f8!important}.hidden-task332 input,.hidden-task332 textarea{background:#fcfbff}.hidden-task332{opacity:1!important}
.quote-components332{border:1px solid #dce1ed;border-radius:12px;padding:18px;margin:18px 0}.quote-components332 ul{margin:0;padding-left:20px}.quote-components332 li{padding:8px 0}.quote-components332 small{display:block;color:#748099}

/* Directory primary action follows the requested shared gradient treatment. */
.btn.primary.primary-gradient333{background:linear-gradient(110deg,#6254b9,#7666d4 60%,#277e91);border-color:#7666d4;color:white;}

/* Directory filters use the same toolbar with a clear gap below family selection. */
.component-toolbar334{margin-top:20px;}

/* P33.5 shared field rhythm: native, searchable, multiselect and date controls. */
.form-grid > .field,.form-grid > .field-group335,.form-grid > .model-picker18 {margin:0;min-width:0;}
.form-grid .field-group335 > .field {margin:0;}
.form-grid .field > span:first-child:not(.date-control),.form-grid .search-select19 > label {font-size:14px;font-weight:650;line-height:21px;}
.form-grid .field > input,.form-grid .field > select,.form-grid .field > .date-control {margin-top:0;}
.form-grid .field .select-field31 .search-select19 > label,.form-grid .model-picker18 .search-select19 > label {font-size:14px;font-weight:650;line-height:21px;margin:0 0 8px;}
.form-grid .model-picker18 > .search-select19 {margin:0;}
.form-grid .field > input:not([type=checkbox]):not([type=radio]),.form-grid .field .search-select19 > input,.form-grid .model-picker18 .search-select19 > input {height:44px;margin-top:0;box-sizing:border-box;}
.form-grid .date-control13 {height:44px;box-sizing:border-box;}
.form-grid .date-control13 > input {height:100%;box-sizing:border-box;}
.field-links335 {display:flex;flex-wrap:wrap;gap:12px 24px;margin:-6px 0 20px;}
.field-group335 > .text-link {margin-top:12px;}
.inline-link335 {padding:0;border:0;background:none;color:var(--purple);font:inherit;cursor:pointer;text-decoration:underline;}
.component-row-actions335 {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.template-preview332 ol.milestones33 {display:flex;flex-wrap:nowrap;gap:0;list-style:none;padding:16px 0;}
.stage-days335 {display:block;font-size:11px;font-weight:400;margin-top:6px;color:var(--muted);}

.wo-list-sort{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;padding:0;cursor:pointer;}
th[aria-sort]:not([aria-sort="none"]) .wo-list-sort{color:var(--purple);}

/* P33.6 stable save controls: visual state never changes toolbar geometry. */
/* One border, same geometry in clean and pending states. */
.save-control337{border:3px solid #e1e5ef!important;box-sizing:border-box}
.save-control337.save-pending336{border-color:transparent!important;background:linear-gradient(white,white) padding-box,linear-gradient(110deg,#7751cf,#16a6ae,#7751cf) border-box!important;background-size:100% 100%,220% 100%!important;animation:save-attention337 2.4s ease-in-out infinite;box-shadow:none!important}
.save-control337.save-pending336::after{content:none!important}
.save-control337:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
.save-control337:focus-visible{outline:2px solid #30234f!important;outline-offset:3px;box-shadow:none!important}
@keyframes save-attention337{0%,100%{background-position:0 0,0% 50%}50%{background-position:0 0,100% 50%}}
.undo-pending336:not(:disabled){color:var(--purple,#7154c8)!important;opacity:1!important}
.undo-pending336:disabled{color:#8992a6!important;opacity:.55;cursor:default}
@media(prefers-reduced-motion:reduce){.save-control337.save-pending336{animation:none}}
.components-progress33{padding:0}
.components-progress33 .progress-toolbar336{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 20px;padding:0;min-height:44px}
.progress-heading336{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.components-progress33 .component-search33{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}
.components-progress33 .component-search33 input{width:240px;max-width:100%;margin:0}
.components-progress33 .component-actions33{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px;padding:0}
.component-actions33 .save-pending336{white-space:nowrap}
.component-card33 .component-dot336{display:inline-block;vertical-align:middle;margin-left:6px}
.component-title33 strong{display:inline-flex;align-items:center;gap:6px}
.component-new336{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#238b7e;margin-left:6px}
.field-change336{display:inline-flex;align-items:center;gap:6px}
.import-outcomes336{font-size:13px;color:#526078;margin:12px 0}.import-outcomes336 p{margin:6px 0}
.quote-lines-toolbar336{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.quote-lines-toolbar336 h2{margin:0}
.quote-lines-toolbar336 .field-links335{margin:0}
.quote-scope-summary336{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.quote-scope-summary336>div{padding:8px 12px;border-left:3px solid #ded8ee}.quote-scope-summary336 small{display:block;color:#748099;margin-top:4px}.price-match336{display:block;margin-top:6px}
.quote-help336{font-size:12px;margin:8px 0 16px;color:#748099}.quote-help336 summary{cursor:pointer}
.quote-price-browser336{padding:12px;border:1px solid #dce1ed;border-radius:8px;margin-bottom:16px}
@media(max-width:900px){.components-progress33 .component-search33{width:100%;justify-content:space-between}.components-progress33 .component-search33 input{flex:1;min-width:150px}.components-progress33 .progress-toolbar336{align-items:flex-start}}

/* P33.7 compact shared scope and stable aligned toolbars. */
.scope-table337{margin:20px 0;min-width:0}.scope-table337 table{width:100%;border-collapse:collapse;font-size:13px}.scope-table337 th,.scope-table337 td{padding:10px 8px;vertical-align:middle;border-bottom:1px solid var(--line,#e1e5ef);text-align:left}.scope-table337 th{background:#f0f2f8}.scope-table337 td small{display:block;color:#748099;margin-top:4px}.scope-table337 input:not([type=checkbox]),.scope-table337 select{margin:0;min-height:36px;height:36px;padding:6px 9px;font-size:13px;width:100%;box-sizing:border-box}.scope-table337 td input[type=number]{width:72px}.scope-table337 td input:not([type=number]):not([type=checkbox]){min-width:100px;max-width:180px}.scope-table337 input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--purple);vertical-align:middle}.scope-table337 .text-link{font-size:13px}.scope-toolbar337,.scope-filters337,.scope-bulk337,.scope-workflow337,.scope-pagination337{display:flex;align-items:center;gap:10px}.scope-toolbar337{justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.scope-filters337{flex-wrap:wrap}.scope-filters337 input{max-width:240px}.scope-filters337 select{max-width:190px}.scope-bulk337{flex-wrap:wrap;padding:10px 0 16px}.scope-bulk337 select{width:190px}.scope-bulk337 .btn,.scope-pagination337 .btn{min-height:36px;padding:6px 12px;font-size:13px}.scope-workflow337 select{min-width:165px}.scope-preview337{display:inline-flex;padding:6px}.scope-pagination337{justify-content:flex-end;margin-top:12px}.scope-table337 .table-scroll{max-height:none}
.components-progress33 .component-search33{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:10px;width:320px;max-width:100%;margin-left:auto}
.components-progress33 .component-search33 input{width:100%!important;max-width:100%;flex:none}
.components-progress33 .component-actions33{display:flex!important;justify-content:flex-end!important;align-self:flex-end;align-items:center;gap:12px;width:100%;margin:0!important;padding:0!important}
.task-grid323 .grid-actions322 .action-right25,.task-grid323 .grid-actions322 .action-secondary25,.task-grid323 .grid-actions322 .actions{justify-content:flex-end!important;align-self:flex-end}
.component-legend337{display:flex;gap:16px;align-items:center;font-size:12px;color:#748099;border-top:1px solid var(--line,#e1e5ef);padding-top:16px;margin-top:16px}.component-legend337>span{display:inline-flex;align-items:center;gap:6px}
.import-methods.import-methods-pair337{grid-template-columns:repeat(2,minmax(0,1fr));max-width:840px;margin-left:auto;margin-right:auto}
.issue-dialog>footer{padding-bottom:28px!important;flex-shrink:0}.issue-dialog{scroll-padding-bottom:28px}
@media(max-width:650px){.import-methods.import-methods-pair337{grid-template-columns:1fr}.components-progress33 .component-search33{width:100%}.scope-filters337{width:100%}.scope-table337 table{min-width:700px}}

/* P33.8 one component workspace, driven by outstanding requirements. */
.completion338{border:1px solid #ded8ed;border-radius:12px;background:#faf9fd;padding:16px;margin:0 0 20px}.completion338>strong{font-size:14px}.completion338 ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;margin:12px 0 0}.completion338 li{min-width:0}.completion338 button,.completion338 .ready338{display:flex;gap:10px;align-items:flex-start;text-align:left;color:#29334d;border:0;background:transparent;padding:0;font:inherit;font-size:14px;width:100%}.completion338 button{cursor:pointer}.completion338 button>span:first-child,.completion338 .ready338>span:first-child{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ede6fa;color:#7751cf;flex:none}.completion338 li.complete button>span:first-child,.completion338 li.complete .ready338>span:first-child{background:#e0f3ee;color:#208776}.completion338 small{display:block;color:#65728b;font-size:12px;margin-top:4px}.workspace-focus338{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;margin:12px 0;outline-offset:5px}.component-workspace338 .scope33{margin-bottom:12px}.component-workspace338 .scope-table337{margin-top:12px}.scope-issue338{background:#fff9f9}.scope-table337 td small.scope-error338{color:#b22940;max-width:380px;line-height:1.4}.scope-table337 td>.text-link{padding:4px 0}.completion-reason338{font-size:13px;color:#6c557d;margin:16px 0 0}.source-notes338{padding:10px 0;color:#84613a;font-size:13px}@media(max-width:700px){.completion338 ol{grid-template-columns:1fr;gap:12px}}

/* Pending P33.9: source review is a separate secondary line, never joined to the name. */
.scope-table337 td>.scope-source338{display:block;margin-top:4px;text-align:left;line-height:1.4}

/* P33.9 — approved compact component workspace. Scoped to avoid changing aircraft grids. */
.modal.wide:has(.component-create339){width:1380px;max-width:calc(100vw - 48px)}
.modal-body:has(.component-create339){padding:0;min-height:0;display:flex;flex-direction:column;overflow:auto}
.component-create339{display:flex;flex-direction:column;min-height:0;max-height:calc(94dvh - 112px)}
.component-create339>fieldset{display:flex;flex-direction:column;min-height:0;margin:0;padding:0;max-height:inherit}
.component-create339>.form-error14{flex:none;margin:12px 26px}
.component-create339 .form-grid{padding:24px 26px;overflow:auto;min-height:0}
.scope-context339{padding:14px 26px 0;flex:none;border-bottom:1px solid var(--line)}
.modal-body .scope-context339 p{font-size:14px;color:#626d84;margin:0 0 16px}
.scope-context339>div{display:flex;gap:24px;font-size:14px}
.scope-context339 span{padding:0 0 12px;color:#626d84;border-bottom:3px solid transparent}
.scope-context339 .current{color:#6141b3;font-weight:650;border-color:#7954d0}
.component-workspace338{display:flex;flex-direction:column;min-height:0}
.component-workspace338 .scope-table337{margin:0;min-height:0}
.scope339{margin:0;display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}
.scope339 .scope-toolbar337,.scope339 .scope-bulk337{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 26px;margin:0;min-height:72px;flex:none}
.scope339 .scope-toolbar337 h2{font-size:18px;margin:0;line-height:1.4}
.scope339 .scope-toolbar337 h2 span{font-size:14px;font-weight:400;color:#626d84;margin-left:8px}
.scope-tools339{display:flex;align-items:center;gap:12px}
.scope339 .scope-tools339>input{width:250px;max-width:100%;height:40px;min-height:40px;font-size:14px;padding:9px 12px}
.scope339 .scope-bulk337{background:#f6f2fd;flex-wrap:nowrap}
.scope-bulk337>div{display:flex;align-items:center;gap:14px}
.scope339 .scope-bulk337 strong{color:#6141b3;font-size:15px}
.scope339 .scope-bulk337 select{width:220px;font-size:15px;height:40px;min-height:40px}
.scope339 .scope-bulk337 .btn{font-size:14px;min-height:40px}
.scope339 .scope-bulk337 .text-link{font-size:14px}
.scope339 .table-scroll{overflow:auto;min-height:0;max-height:55vh;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;overscroll-behavior:contain;scroll-padding-top:46px}
.component-workspace338 .scope339 .table-scroll{max-height:none;flex:1}
.scope339 table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:910px;font-size:16px;margin:0}
.scope339 th{height:44px;padding:10px 14px;font-size:14px;background:#f3f5fa;color:#536078;position:sticky;top:0;z-index:2}
.scope339 th button{font-size:14px;color:inherit}
.scope339 td{height:76px;padding:14px;border-bottom:1px solid #e6eaf2;font-size:16px;line-height:1.4;vertical-align:middle;overflow-wrap:anywhere}
.scope339 td:first-child,.scope339 th:first-child{padding-left:26px}
.scope339 td:last-child{padding-right:14px}
.scope339 tbody tr:last-child td{border-bottom:0}
.scope339 tbody tr:hover{background:#fbfaff}
.scope339 .scope-selected339{background:#f8f5ff}
.scope339 .scope-select339{width:52px}.scope339 .scope-name339{width:26%}.scope339 .scope-pn339{width:16%}.scope339 .scope-serial339{width:17%}.scope339 .scope-qty339{width:82px}.scope339 .scope-workflow339{width:26%}.scope339 .scope-remove339{width:48px}
.scope-table337.scope339 td input[type=number]{width:56px;height:40px;border:1px solid transparent;background:transparent;padding:6px;font-size:16px;appearance:textfield}
.scope-table337.scope339 td input[type=number]::-webkit-inner-spin-button{display:none}
.scope-table337.scope339 td input[type=number]:hover,.scope-table337.scope339 td input[type=number]:focus{border-color:#bac4da;background:#fff}
.scope339 td select{font-size:15px;min-height:42px;height:42px;width:100%;padding:8px 30px 8px 12px}
.scope339 td select.scope-pending339{border-color:#baa9df;color:#6141b3;background-color:#fcfaff}
.scope-name-button339{display:block;background:none;border:0;padding:0;font:inherit;font-weight:650;color:#1b2540;text-align:left;cursor:pointer;line-height:1.4}
.scope-name-button339:hover{color:#6141b3;text-decoration:underline}
.scope339 td small{color:#626d84;font-size:13px;margin-top:4px}
.scope-remove-button339{background:none;border:0;padding:6px;width:32px;height:32px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:#63718b;cursor:pointer}
.scope-remove-button339:hover{background:#ffeff2;color:#b32943}
.scope339 .scope-issue338{background:white}.scope339 .scope-issue338>td:first-child{box-shadow:inset 3px 0 #bc3d54}
.scope339 button.scope-error338{display:block;color:#b32943;background:none;border:0;padding:0;text-align:left;font-size:14px;margin-top:6px;cursor:pointer;line-height:1.4}
.scope339 button.scope-error338:hover{text-decoration:underline}
.scope339 .scope-pagination337{margin:0;padding:10px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:14px;flex:none}
.scope-pagination337>div{display:flex;align-items:center;gap:12px}.scope339 .scope-pagination337 .btn{font-size:14px;min-height:32px;padding:5px 10px}
.scope-footer339{padding:17px 26px;border-top:1px solid var(--line);display:flex;align-items:center;gap:16px;background:white;flex:none;min-height:80px}
.scope-footer-actions339{margin-left:auto;display:flex;align-items:center;gap:10px}
.scope-footer339 .btn{font-size:14px;min-height:40px;padding:9px 16px}
.scope-status339{font-size:14px;min-width:0}.scope-status339 button{font:inherit;font-weight:600;color:#6141b3;border:0;background:none;text-align:left;cursor:pointer;padding:0}.scope-status339 button:hover{text-decoration:underline}.scope-ready339{color:#147d74}
.scope339 .scope-empty339{padding:30px 26px;font-size:16px;color:#626d84;text-align:center}
.scope-add339{position:relative;font-size:14px}
.scope-add-menu339{margin:0!important;padding:0!important;border:0!important}
.scope-add-menu339>summary{list-style:none;border:1px solid var(--line);border-radius:8px;padding:9px 14px;font-weight:650;cursor:pointer;white-space:nowrap;color:#1b2540;background:#fff;line-height:20px}
.scope-add-menu339>summary::-webkit-details-marker{display:none}
.scope-add-menu339>div{position:absolute;right:0;top:46px;width:240px;z-index:8;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #1b254025;padding:6px}
.scope-add-menu339 button{display:block;width:100%;background:none;border:0;border-radius:6px;text-align:left;padding:11px;font-size:14px;color:#1b2540;cursor:pointer}
.scope-add-menu339 button:hover{background:#f5f1fd;color:#6141b3}
.scope-details339{width:600px;max-width:calc(100vw - 32px)}
.scope-details339 .dialog-content19{padding:22px 24px 0}
.scope-detail-fields339{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.scope-detail-fields339>label{display:flex;flex-direction:column;gap:7px;margin:0;font-size:14px;font-weight:600}
.scope-detail-fields339 input{min-height:42px;font-size:16px;font-weight:400;width:100%;padding:9px 12px}
.scope-detail-full339{grid-column:1/-1}.scope-detail-value339{font-size:16px;font-weight:400;color:#1b2540}
.scope-details339 details{border-top:1px solid var(--line);padding:16px 0;margin-top:20px;font-size:14px}
.scope-details339 summary{color:#6141b3;cursor:pointer;font-weight:600}
.scope-source339 dl{display:grid;grid-template-columns:140px 1fr;gap:8px;font-size:14px}.scope-source339 dt{color:#626d84}.scope-source339 dd{margin:0;overflow-wrap:anywhere}
.scope-details339 footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:16px 0;background:#fff;margin-top:20px}
.scope-details339 footer .btn{min-height:40px;font-size:14px;padding:9px 15px}
.scope-details339 .scope-detail-note339{font-size:14px;color:#626d84;margin:0 0 18px}
.scope-detail-errors339{border-left:3px solid #bc3d54;background:#fff6f7;padding:12px;margin-bottom:20px}.scope-detail-errors339 p{font-size:14px;margin:0 0 5px}
.scope-existing339{width:650px}.scope-existing339 input[type=search]{width:100%;font-size:16px}.scope-directory-list339{max-height:45vh;overflow:auto;margin:18px 0}.scope-directory-list339>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px}.scope-directory-list339 small{display:block;font-size:14px;color:#626d84;margin-top:4px}
.scope-undo339{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;font-size:14px;background:#f5f1fd;border-top:1px solid var(--line);flex:none}.scope-undo339>button{background:none;border:0;color:#6141b3;cursor:pointer;font-size:14px}
.component-workspace338>.source-notes338{flex:none;margin:0;padding:8px 26px;max-height:100px;overflow:auto}
@media(max-width:750px){.modal.wide:has(.component-create339){max-width:calc(100vw - 16px)}.scope339 .scope-toolbar337,.scope339 .scope-bulk337{padding:12px 16px;flex-wrap:wrap;gap:10px}.scope-tools339{width:100%}.scope339 .scope-tools339>input{min-width:0;flex:1}.scope339 .scope-bulk337>div{flex-wrap:wrap}.scope-footer339{padding:12px 16px;flex-wrap:wrap;gap:10px}.scope-status339{order:-1;width:100%}.scope-context339{padding:12px 16px 0}.component-create339{max-height:calc(94dvh - 112px)}.scope-detail-fields339{grid-template-columns:1fr}}

.modal.wide:has(.component-create339){overflow:hidden}
.modal-body:has(.component-create339)>div{display:flex;flex-direction:column;min-height:0}
.component-create-scope339 .component-workspace338,.component-create-scope339 .scope339{flex:1;overflow:hidden}
/* The table owns scrolling; the modal and action footer never scroll out of view. */
.modal.wide:has(.component-create-scope339){height:min(820px,calc(100dvh - 64px));max-height:calc(100dvh - 64px)}
.modal:has(.component-create339)>header{flex:none}
.modal-body:has(.component-create339){flex:1;overflow:hidden}
.modal-body:has(.component-create339)>div{flex:1;overflow:hidden}
.component-create339{flex:1;max-height:none;overflow:hidden}
.component-create339>fieldset{flex:1;max-height:none;overflow:hidden;min-inline-size:0}

/* P33.10: compact shared workspaces and a single, stable action footer. */
.milestones33 li{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:6px;align-content:start;text-align:left}
.milestones33 li:has(>button){display:block}
.milestones33 li>button{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:6px;align-items:start;width:100%;text-align:left}
.milestones33 .stage-number3310{display:inline-flex;width:24px;height:24px;margin:0;align-items:center;justify-content:center;flex:none}
.milestones33 .stage-label3310{min-width:0;line-height:24px;font-size:13px;overflow-wrap:normal}
.scope-table337.scope339 table{font-size:14px;width:100%}
.scope-table337.scope339 th{font-size:12px;height:36px;padding:8px 12px}
.scope-table337.scope339 td{height:56px;padding:9px 12px;font-size:14px}
.scope-table337.scope339 .scope-name-button339{font-size:14px;line-height:1.4}
.scope-table337.scope339 td small{font-size:11px;margin-top:2px}
.scope-table337.scope339 td select,.scope-table337.scope339 td input[type=number]{font-size:13px;min-height:34px;height:34px;padding:6px 10px}
.scope-table337.scope339 td input[type=number]{width:52px}
.scope339 .scope-toolbar337,.scope339 .scope-bulk337{min-height:58px;padding:10px 18px;gap:12px}
.scope339 .scope-toolbar337 h2{font-size:16px}
.scope339 .scope-tools339>input,.scope339 .scope-bulk337 select{height:34px;min-height:34px;font-size:13px;padding:6px 10px}
.scope339 .scope-add-menu339>summary,.scope339 .scope-bulk337 .btn{font-size:13px;min-height:34px;padding:7px 12px}
.scope339 .scope-select339{width:42px}.scope339 .scope-qty339{width:68px}.scope339 .scope-remove339{width:40px}
.scope-footer339{min-height:68px;padding:12px 18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.scope-footer339>.attention3310:first-child{grid-column:2}
.scope-footer339 .scope-footer-actions339{grid-column:3;margin-left:0;justify-content:flex-end}
.attention3310{justify-self:center;min-width:0;text-align:center;font-size:13px;line-height:1.4}
.attention3310>button,.attention3310>span{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:9px 12px;border:1px solid transparent;font:inherit}
.attention3310.pending>button,.attention3310.pending>span{background:#fff4df;color:#925400;border-color:#e8bd73;font-weight:650}
.attention3310>button{cursor:pointer}.attention3310>button:hover{background:#ffebc6}
.attention3310.ready{color:#627268}.attention-icon3310{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid currentColor;border-radius:50%;width:17px;height:17px;flex:none;font-size:12px;font-weight:750}
.scope-existing339.dialog19{max-width:640px}
.scope-existing339.dialog19>header{padding:16px 20px}.scope-existing339.dialog19>header h2{font-size:20px}
.scope-existing339 .dialog-content19{padding:16px 20px}
.scope-existing339 .dialog-content19>input{font-size:13px;height:36px;padding:7px 10px;margin-bottom:8px}
.scope-existing339 .scope-directory-list339{margin:4px 0 0;max-height:48vh;overflow:auto}
.scope-existing339 .scope-directory-list339>div{padding:10px 0;gap:12px;min-height:54px}
.scope-existing339 .scope-directory-list339 strong{font-size:14px}.scope-existing339 .scope-directory-list339 small{font-size:12px;margin-top:2px}
.scope-existing339 .btn{font-size:13px;min-height:34px;padding:7px 12px}
.quote-workspace3310 .steps{margin:0 0 16px;padding-bottom:10px;min-height:44px}
.quote-workspace3310 .scope339{margin:0}
.quote-workspace3310 .compact-quote-footer3310{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:12px 0;margin-top:16px}
.compact-quote-footer3310>.action-stack-primary25{margin-left:auto}
.quote-workspace3310 .compact-quote-footer3310 .btn{font-size:13px;min-height:36px;padding:8px 14px}
.quote-convert3310>.form-error14{margin:8px 0}
.quote-convert3310>fieldset>h2{font-size:20px;margin:0 0 6px}
.quote-convert3310 .review-list{display:flex;flex-wrap:wrap;gap:12px 28px;margin:12px 0}
.quote-convert3310 .review-list>div{display:block;border:0;padding:0}.quote-convert3310 .review-list dt{font-size:12px}.quote-convert3310 .review-list dd{margin:3px 0;font-size:14px}
.quote-convert3310 .field{margin:12px 0}.quote-convert3310 .field>span{font-size:13px}
.quote-convert3310 .scope339{margin:16px 0}.quote-convert3310 .scope339>.table-scroll{max-height:38vh}
.quote-order-links3310{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:13px;margin:8px 0}.repeat-warning3310{background:#fff4df;color:#925400;padding:12px 16px;border:1px solid #e8bd73;border-radius:8px;font-size:13px}.repeat-warning3310 p{margin:8px 0}.repeat-warning3310 button{margin:6px 14px 0 0}.repeat-warning3310 label{display:flex;align-items:center;gap:8px}
.save-control337.save-pending336{border:3px solid #7552cb!important;background:white!important;animation:save-attention3310 2.8s ease-in-out infinite!important;box-shadow:none!important;outline:none}
@keyframes save-attention3310{0%,100%{border-color:#7552cb}50%{border-color:#008c95}}
.save-control337.save-pending336:focus-visible{outline:2px solid #30234f!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.save-control337.save-pending336{animation:none!important}}
.review-workspace3310{display:flex;flex-direction:column;min-height:0;font-size:13px}
.review-toolbar3310{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0 14px}
.review-toolbar3310 h2{font-size:18px;margin:0}.review-toolbar3310 h2 span{font-size:13px;color:var(--muted);margin-left:8px;font-weight:400}
.review-toolbar3310 input{width:240px;font-size:13px;height:34px;min-height:34px;padding:6px 10px}
.review-scroll3310{overflow:auto;max-height:52vh;min-height:0}
.review-workspace3310 table{width:100%;font-size:13px;table-layout:auto;min-width:900px}
.review-workspace3310 th{font-size:12px;padding:9px 10px;position:sticky;top:0;background:#edf0f7;z-index:1}
.review-workspace3310 td{padding:10px;vertical-align:top;line-height:1.45;font-size:13px;height:auto;max-width:260px;overflow-wrap:anywhere}
.review-workspace3310 tr.excluded{color:var(--muted);background:#f7f8fa}
.review-workspace3310 .scope-footer339{margin-top:14px;padding-left:0;padding-right:0;position:sticky;bottom:0;z-index:2}
.inline-review3310{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#fafbfe}
.inline-review3310 h3,.inline-review3310 h2{font-size:16px;margin:0 0 10px}.inline-review3310 p{margin:6px 0}
.inline-review3310 footer{display:flex;gap:10px;justify-content:flex-end;padding:14px 0 2px}
.inline-review3310 .btn,.review-workspace3310 .btn{font-size:13px;min-height:34px;padding:7px 12px}
.review-fields3310{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:12px 0}
.review-fields3310 label{font-size:12px;font-weight:650}.review-fields3310 input{font-size:13px;height:34px;padding:6px 10px;margin-top:4px}
.inline-issue3310.error{color:#a12e40}.inline-issue3310.caution{color:#8a5308}
.inline-review3310 dl{display:grid;grid-template-columns:1fr 2fr;gap:6px}.inline-review3310 dd{margin:0}
.inline-review3310 .issue-compare{gap:16px}.inline-review3310 .card{padding:14px}.inline-review3310 .choice-card{padding:10px;font-size:13px;min-height:0}
.source-notes3310,.review-ack3310{margin:0 0 10px}.review-ack3310{display:flex;gap:8px;align-items:center}
.pricing-intake25:has(.review-workspace3310)>.steps{margin:0 0 16px}.pricing-intake25:has(.review-workspace3310)>fieldset{margin:0}
@media(max-width:750px){.scope-footer339{grid-template-columns:1fr auto}.scope-footer339>.attention3310,.scope-footer339>.attention3310:first-child{grid-column:1/-1;grid-row:1}.scope-footer339 .scope-footer-actions339{grid-column:2}.review-fields3310{grid-template-columns:1fr}.review-toolbar3310{flex-wrap:wrap}.quote-workspace3310 .compact-quote-footer3310{flex-wrap:wrap}}
.quote-workspace3310 .compact-quote-footer3310>.action-right25{margin-left:auto;display:flex;flex-direction:row-reverse;align-items:center;gap:10px}
.quote-workspace3310 .compact-quote-footer3310 .action-primary25,.quote-workspace3310 .compact-quote-footer3310 .action-secondary25{display:flex;align-items:center;gap:10px;margin:0}

.quote-workspace3310 .compact-quote-footer3310{flex-direction:row;justify-content:space-between}.quote-workspace3310 .compact-quote-footer3310>.action-back25{margin-right:auto;align-self:center}

.review-workspace3310 .review-toolbar3310 h2{flex:1;white-space:nowrap}.review-workspace3310 .review-toolbar3310 input[type=search]{flex:0 1 260px;width:260px;max-width:100%;margin:0}

.quote-convert3310 .conversion-fields3310{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;align-items:start}.quote-convert3310 .conversion-fields3310>p{grid-column:1/-1;margin:0}.quote-convert3310>fieldset>.scope-footer339{position:sticky;bottom:0;background:#fff;z-index:2;padding-bottom:14px}.quote-convert3310 .conversion-fields3310 .field{margin:0}@media(max-width:750px){.quote-convert3310 .conversion-fields3310{grid-template-columns:1fr}}

/* P33.11: compact corrections; the footer is a sibling of the only scroll area. */
.modal:has(.review-workspace3310){height:min(860px,calc(100dvh - 48px));max-height:calc(100dvh - 48px)}
.modal .review-host3311{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;max-height:none}
.modal-body.review-host3311{padding:16px 26px 0;scrollbar-gutter:auto}
.pricing-intake25.review-host3311{padding-bottom:0}
.review-host3311>.steps{flex:none}
.review-workspace3310{flex:1;min-height:0;overflow:hidden}
.review-workspace3310>.review-toolbar3310,.review-workspace3310>.source-notes3310,.review-workspace3310>.review-ack3310{flex:none}
.review-workspace3310>.source-notes3310{max-height:20vh;overflow:auto}
.review-workspace3310>.review-scroll3310{flex:1;max-height:none;min-height:0;overflow:auto;isolation:isolate;overscroll-behavior:contain}
.review-workspace3310>footer.scope-footer339{position:relative;bottom:auto;flex:none;background:#fff;z-index:3;margin:0;padding:14px 0 18px;min-height:72px}
.review-workspace3310 table{min-width:760px;border-collapse:collapse}
.review-workspace3310 td{vertical-align:top;padding:10px 12px;overflow-wrap:normal;word-break:normal;max-width:none}
.review-workspace3310 th{padding:10px 12px;white-space:normal;word-break:normal;overflow-wrap:normal}
.review-workspace3310 td.review-nowrap3311{white-space:nowrap}
.review-workspace3310 td.review-wrap3311{white-space:normal;min-width:150px;max-width:340px;overflow-wrap:break-word}
.review-workspace3310 tr.has-error>td:first-child{box-shadow:inset 3px 0 #c43b52}
.review-workspace3310 tr.has-caution>td:first-child{box-shadow:inset 3px 0 #bc791c}
.review-workspace3310 .review-cell3311{border:0;background:none;border-radius:3px;padding:3px 0;margin:0;color:inherit;font:inherit;line-height:1.45;text-align:left;cursor:pointer;white-space:inherit}
.review-workspace3310 .review-cell3311:hover{background:#f2eefb;text-decoration:underline}
.review-workspace3310 .review-cell3311:disabled{opacity:1;cursor:default;text-decoration:none;background:none}
.review-workspace3310 .review-cell3311:focus-visible,.row-issue3311:focus-visible{outline:2px solid #7652cb;outline-offset:3px}
.review-value3311.error .review-cell3311{color:#b62740;font-weight:650;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
.review-value3311.caution .review-cell3311{color:#935400}
.review-workspace3310 .review-value3311 input,.review-workspace3310 .review-value3311 select{width:100%;min-width:110px;font:inherit;height:32px;min-height:32px;padding:5px 8px;margin:0;background:white}
.review-value3311.error input,.review-value3311.error select{border-color:#c43b52}
.review-value3311 small{display:block;white-space:normal;max-width:220px;color:#a42d41;font-size:12px;margin-top:4px}
.row-issue3311{display:block;border:0;background:none;padding:3px 0;font:inherit;font-size:12px;font-weight:650;color:#b62740;cursor:pointer;white-space:nowrap;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.row-issue3311.caution{color:#935400}
.review-explanation3311{white-space:normal;max-width:300px;min-width:220px;margin:6px 0;background:#fff8f9;border:1px solid #efd2d8;padding:10px;border-radius:6px;font-size:12px}
.review-explanation3311 p{margin:0 0 8px;line-height:1.4}.review-explanation3311>div{display:flex;flex-wrap:wrap;gap:8px 16px}.review-explanation3311 button{font-size:12px;padding:0}
.review-workspace3310 .review-actions3311{width:36px;white-space:nowrap;text-align:right}
.review-before3311,.review-excluded3311{display:block;color:#68758d;font-size:12px;margin-bottom:2px}
.review-undo3311{display:flex;justify-content:center;align-items:center;gap:14px;flex:none;background:#f5f2fc;padding:8px;font-size:13px;border-top:1px solid #e3deef}
.review-workspace3310 .inline-review3310{width:100%;max-width:none;max-height:none;overflow:visible;box-shadow:none}
.review-workspace3310 .inline-review3310>header{position:static;padding:0;margin-bottom:12px}
.review-workspace3310 .inline-review3310>footer{position:static;padding:12px 0 0!important}
@media(max-width:750px){.modal-body.review-host3311{padding:10px 14px 0}.review-workspace3310>footer.scope-footer339{padding:10px 0 14px}.review-toolbar3310{gap:8px;padding-bottom:10px}}

/* P33.12 — one compact matching selector for aircraft and component updates. */
.match-record3312 {padding:16px; border:1px solid var(--border,#dbe1ed);border-radius:10px;background:#f8f9fc;max-width:100%;white-space:normal;}
.match-record3312 header {display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px;}
.match-record3312 h3 {font-size:15px;margin:0;}
.match-record3312 .muted,.match-source3312 {font-size:12px;}
.match-source3312 {margin:8px 0;overflow-wrap:anywhere;}
.match-source3312 summary {cursor:pointer;}
.match-record3312 input[type=search] {font-size:13px;min-height:34px;padding:7px 10px;margin:6px 0;width:100%;}
.match-options3312 {max-height:220px;overflow:auto;display:grid;gap:4px;margin:6px 0;}
.match-option3312 {display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;width:100%;border:1px solid #dbe1ed;border-radius:6px;padding:8px 10px;background:white;color:#1b2540;font:inherit;font-size:13px;cursor:pointer;}
.match-option3312 small {display:block;color:#586780;font-size:12px;margin-top:2px;}
.match-option3312.selected {border-color:#7656cb;background:#f2edff;}
.match-record3312 footer {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:10px;padding:0;border:0;}
.match-record3312 footer .primary {margin-left:auto;}
.match-record3312 footer .btn {font-size:13px;min-height:34px;padding:7px 12px;}
.identity-error3312 {color:#ba2844!important;font-weight:600;}
.review-before3311 {display:block;font-size:11px;color:#66748e;margin-bottom:2px;}

/* P34: compact shared workflow editor and component timeline. */
.workflow-editor34 .form-grid label{display:flex;flex-direction:column;gap:6px}
.workflow-stages34 td,.workflow-stages34 th{padding:8px 12px;font-size:14px}
.workflow-stages34 input{font-size:14px;min-height:34px;padding:6px 9px}
.workflow-stages34 td:first-child{width:42px;color:#7452cb}
.workflow-stages34 td:nth-child(3){width:180px}
.workflow-stages34 td:last-child{width:125px}
.duration34{display:flex;gap:8px;align-items:center}.duration34 input{width:72px}
.footer34{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 0;border-top:1px solid #e0e5ee;background:#fff;flex-wrap:wrap}
.workflow-editor34 .footer34,.schedule-review34>.footer34{position:sticky;bottom:0;z-index:4;padding-bottom:8px}
.workflow-manager34 table td,.workflow-manager34 table th{font-size:14px;padding:10px 12px}
.workflow-manager34>input{max-width:320px;margin:12px 0}
.schedule-review34{display:flex;flex-direction:column;gap:16px;min-height:0}
.schedule-review34>.table-toolbar strong{display:block}.schedule-review34>.table-toolbar small{display:block;color:#77829c}
.schedule-body34{min-height:0}.schedule-component34{border:1px solid #dce2ed;border-radius:12px;padding:18px;margin-bottom:16px}
.schedule-component34>header{display:flex;gap:6px;flex-direction:column;margin-bottom:20px}.schedule-component34>header small,.schedule-component34>header>span{color:#77829c;font-size:13px}
.schedule-stages34{display:grid;grid-template-columns:repeat(var(--stages34),minmax(110px,1fr));list-style:none;margin:0;padding:0;overflow:auto}
.schedule-stages34>li{border-top:3px solid #e0e5ee;min-width:0;padding:14px 8px 14px 0}
.schedule-stages34>li.proposed34{border-color:#d99c39}.schedule-stages34 button{display:flex;align-items:flex-start;gap:7px;text-align:left;border:0;background:none;color:inherit;width:100%;padding:0;font:inherit}
.schedule-stages34 button:disabled{opacity:1;cursor:default}.schedule-stages34 button>span:last-child{display:flex;flex-direction:column;gap:10px;font-size:13px}
.schedule-stages34 strong{font-size:14px;min-height:36px}.schedule-stages34 small{font-size:12px;color:#77829c}.proposed34 small:last-child{color:#9c5904}
.schedule-choice34{padding:16px;background:#f8f9fc;border:1px solid #dce2ed;border-radius:10px}.schedule-choice34 .actions{margin-top:12px}.schedule-choice34 .date-field{max-width:190px}
.component-attention34{border:1px solid #eed9b7;background:#fff6e5;border-radius:12px;padding:14px;margin-top:14px}.component-attention34 h3{font-size:15px;margin:0 0 8px}.component-attention34>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;padding:7px 0}
.calendar-key34{display:flex;gap:18px;flex-wrap:wrap;align-items:center;color:#77829c;font-size:13px;margin:14px 0}.calendar-key34>span{display:flex;align-items:center;gap:7px}.step-key34{height:16px;width:4px;border-radius:2px;background:#7652ce}
.timeline-link34{background:none;border:0;font:inherit;text-align:left;color:inherit;padding:0;cursor:pointer}.timeline-link34 strong:hover{text-decoration:underline}
.timeline-track21{height:76px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / var(--span34,7) - 1px),#eee9f3 calc(100% / var(--span34,7) - 1px),#eee9f3 calc(100% / var(--span34,7)))}
.timeline-track21 .timeline-period21{top:28px}.timeline-track21 .timeline-marker21{top:0}.timeline-track21 .timeline-marker21.forecast21{top:53px}
.component-marker34{position:absolute;top:22px;transform:translateX(-50%);width:24px;height:34px;background:transparent;border:0;padding:4px 9px;cursor:pointer;color:#7652ce}.component-marker34 i{display:block;width:5px;height:22px;background:currentColor;border-radius:3px;box-shadow:0 0 0 2px white}
.component-marker34 small{position:absolute;top:4px;left:18px;min-width:14px;background:#eee8fa;color:#6743bb;border-radius:3px;font-size:10px;font-weight:700;padding:1px 2px;box-shadow:0 0 0 1px white}
.calendar-step-choices34 button{width:100%;text-align:left;border:0;border-bottom:1px solid #e0e5ee;background:white;padding:12px;display:grid;grid-template-columns:1fr 22px;gap:5px;color:inherit}.calendar-step-choices34 small{grid-column:1;color:#77829c}.calendar-step-choices34 button>span{grid-column:2;grid-row:1/3;align-self:center}
@media(max-width:800px){.footer34>.attention3310{order:3;flex-basis:100%}.schedule-stages34{grid-template-columns:repeat(var(--stages34),135px)}.schedule-review34>.table-toolbar{align-items:flex-start}.workflow-stages34 td,.workflow-stages34 th{padding:7px}}

/* P34 contained editors: table scrolls, actions stay outside the data area. */
.dialog19.workflow-editor34 .dialog-content19{display:flex;flex-direction:column;gap:12px;overflow:hidden}
.dialog19.workflow-editor34 .dialog-content19> :not(.table-scroll){flex-shrink:0;margin-top:0;margin-bottom:0}
.dialog19.workflow-editor34 .table-scroll{min-height:0;overflow:auto;flex:1}
.dialog19.workflow-editor34 .table-toolbar{padding:4px 0;min-height:0}
.dialog19.workflow-editor34 .form-grid label{margin:0;display:flex;flex-direction:column;gap:6px}
.dialog19.workflow-editor34 label.duration34{display:flex;align-items:center;gap:8px;margin:0;font-weight:400;white-space:nowrap}
.dialog19.workflow-editor34 .workflow-stages34{width:100%;table-layout:fixed}
.dialog19.workflow-editor34 .workflow-stages34 th:first-child{width:42px}
.dialog19.workflow-editor34 .workflow-stages34 th:nth-child(3){width:150px}
.dialog19.workflow-editor34 .workflow-stages34 th:last-child{width:120px}
.dialog19.workflow-editor34 .workflow-stages34 input{min-height:34px;height:34px;padding:6px 9px;font-size:14px}
.dialog19.workflow-editor34 label.duration34 input{width:72px;flex:none}
.dialog19.workflow-editor34 .workflow-stages34 .actions{margin:0;gap:8px;flex-wrap:nowrap}
.dialog19.workflow-editor34 .workflow-stages34 .text-link{font-size:18px;min-width:24px;min-height:32px}
.dialog19.workflow-editor34 .footer34{position:static;padding-top:12px;padding-bottom:0}
.schedule-stages34 .stage-number3310{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#eef1f7;color:#77829c}
.schedule-stages34 .proposed34 .stage-number3310{background:#fff0d2;color:#9c5904}
.schedule-stages34 .complete34 .stage-number3310{background:#e6f3ef;color:#238b78}

/* P34.1: compact calendar chrome; timeline owns the remaining viewport. */
.dialog19.calendar-dialog22{height:94dvh;max-height:94dvh;width:min(1500px,96vw)}
.dialog19.calendar-dialog22>header{padding:16px 22px;min-height:0;flex:none}
.dialog19.calendar-dialog22>header h2{font-size:22px}
.dialog19.calendar-dialog22>.dialog-content19{padding:14px 22px 18px;min-height:0;flex:1;overflow:hidden}
.dialog19.calendar-dialog22 .calendar-expanded19{flex:1;min-height:0;gap:0;padding:0}
.dialog19.calendar-dialog22 .calendar-legend20{margin:0 0 10px;gap:6px;flex:none}
.dialog19.calendar-dialog22 .calendar-legend20 button{font-size:13px;padding:6px 10px;min-height:32px}
.dialog19.calendar-dialog22 .timeline21{flex:1;min-height:0;margin:0;gap:0}
.dialog19.calendar-dialog22 .timeline-controls21{margin:0 0 10px;gap:8px;min-height:36px}
.dialog19.calendar-dialog22 .timeline-controls21 .actions{margin:0;gap:6px}
.dialog19.calendar-dialog22 .timeline-controls21 .btn{padding:7px 12px;min-height:34px;font-size:13px}
.dialog19.calendar-dialog22 .timeline-controls21>strong{font-size:14px}
.dialog19.calendar-dialog22 .calendar-key34{margin:0 0 10px;gap:16px;font-size:12px;flex:none}
.dialog19.calendar-dialog22 .timeline-scroll21{flex:1;min-height:0;max-height:none;overflow:auto}
.dialog19.calendar-dialog22 .timeline-head21{padding:8px;font-size:13px}
.dialog19.calendar-dialog22 .timeline-row21{min-height:76px;padding:8px;gap:16px}
.dialog19.calendar-dialog22 .timeline-identity21{gap:3px;font-size:13px}
.dialog19.calendar-dialog22 .timeline-identity21 small{font-size:11px}
.dialog19.calendar-dialog22 .timeline-track21{height:56px}
.dialog19.calendar-dialog22 .timeline-period21{top:21px;height:14px}
.dialog19.calendar-dialog22 .timeline-marker21{top:0;font-size:18px;line-height:18px}
.dialog19.calendar-dialog22 .timeline-marker21.forecast21{top:37px}
.dialog19.calendar-dialog22 .component-marker34{top:16px;height:25px;padding-top:2px;padding-bottom:2px}
.dialog19.calendar-dialog22 .component-marker34 i{height:19px}
.component-status341{display:flex;align-items:center;gap:6px;flex:none}
.component-status341 label{margin:0}
.component-status341 select{width:auto;max-width:230px;min-height:32px;padding:5px 28px 5px 10px;border:1px solid #ded8ed;border-radius:7px;font-size:13px;font-weight:600;background-color:#f6f3fc;color:var(--text)}
.calendar-settings341 article{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.calendar-settings341 h3{font-size:16px;margin:0 0 4px}
.calendar-settings341 article>.actions{margin-left:auto}
@media(max-width:650px){.dialog19.calendar-dialog22 .timeline-head21{display:grid;grid-template-columns:minmax(150px,30%) minmax(350px,1fr);min-width:560px}.dialog19.calendar-dialog22 .timeline-row21{grid-template-columns:minmax(150px,30%) minmax(350px,1fr);min-width:560px}.dialog19.calendar-dialog22 .timeline-track21{display:block}.dialog19.calendar-dialog22>.dialog-content19{padding:10px}.dialog19.calendar-dialog22 .timeline-controls21>strong{order:3;width:100%;text-align:center}}

/* P34.2: compact live filters; chart keeps all remaining height. */
.calendar-filters342{position:relative;display:flex;flex:none}
.calendar-filter-button342{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:8px!important}
.calendar-filter-button342.active{border-color:var(--primary);color:var(--primary)}
.calendar-filter-count342{position:absolute;right:-5px;top:-6px;min-width:17px;height:17px;border-radius:10px;background:#7051ca;color:white;font-size:10px;line-height:17px;text-align:center}
.calendar-filter-panel342{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(480px,calc(100vw - 64px));max-height:calc(90dvh - 155px);overflow:auto;background:#fff;border:1px solid var(--line,#dce1ed);border-radius:12px;box-shadow:0 12px 32px #17223b26;padding:16px;color:var(--text);text-align:left}
.calendar-filter-panel342 header,.calendar-filter-panel342 footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.calendar-filter-panel342 header{margin-bottom:12px}.calendar-filter-panel342 header strong{font-size:17px}
.calendar-filter-panel342 fieldset{border:0;padding:0;margin:0 0 14px}.calendar-filter-panel342 legend{font-size:13px;font-weight:600;margin-bottom:7px}
.calendar-filter-status342{display:flex;flex-wrap:wrap;gap:6px}.calendar-filter-status342 button{border:1px solid #ded8ed;background:#fff;border-radius:18px;padding:5px 9px;font-size:12px;min-height:30px}.calendar-filter-status342 button[aria-pressed=true]{background:#f0eafa;border-color:#8062bf}
.calendar-filter-grid342{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.calendar-filter-panel342 label{display:grid;gap:5px;font-size:13px;font-weight:600;margin:0}.calendar-filter-panel342 input,.calendar-filter-panel342 select{min-width:0;width:100%;min-height:36px;padding:7px 9px;font-size:13px}.calendar-filter-panel342 footer{border-top:1px solid #e0e5ef;padding-top:12px;margin-top:14px;font-size:12px}.calendar-filter-panel342 .selected-models{margin:6px 0 0;gap:4px}
.calendar-key34 .step-key34{background:#747885}
.component-completion342{border:1px solid var(--line,#dce1ed);border-radius:10px;padding:16px}.component-completion342>div{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #e0e5ef}.component-completion342 small{display:block;color:var(--muted);margin-top:4px}.component-completion342 label{display:grid;gap:6px;font-size:13px}.schedule-choice34 .actions{align-items:end;justify-content:flex-start}.schedule-choice34 label{margin:0;font-size:13px}
.component-card33 .current-stage332,.component-status341{gap:0}
.component-card33 .component-dot336{display:inline-block;width:10px;height:10px;min-width:10px;min-height:10px;max-height:10px;padding:0;border:0;margin:0 0 0 6px;vertical-align:middle;flex-shrink:0;line-height:0;align-self:center}
.component-card33 .component-dates33>span{display:inline-flex;align-items:center;white-space:nowrap;gap:0}.component-card33 .component-dates33 strong{margin-left:4px}
@media(max-width:650px){.calendar-filter-grid342,.component-completion342>div{grid-template-columns:1fr}.calendar-filter-panel342{position:fixed;top:110px;right:22px;max-height:calc(100dvh - 150px)}}

.component-status341>.badge{padding-right:0}

/* P35: keep the active filter count inside its clipping boundary. */
.calendar-filter-count342{right:1px;top:1px;min-width:16px;height:16px;line-height:16px;font-size:10px;pointer-events:none}
.schedule-evidence35{font-size:13px;margin:8px 0 16px;line-height:1.45}

/* P35.1: three attention items remain fully visible at all text sizes. */
.overview-pair19 .attention-rows14.attention-fit351 {max-height:none;overflow:visible;scrollbar-gutter:auto;padding-right:0;}
.overview-pair19 .attention-fit351 small {display:block;-webkit-line-clamp:unset;overflow:visible;}
.overview-pair19 .attention-content14 {min-height:0;}

/* Shared quote and approval pricing. */
.modal:has(.shared-pricing353),.dialog19:has(.shared-pricing353),.modal:has(.approval-lines353){width:min(1100px,calc(100vw - 48px))}
.shared-pricing353 .quote-editor{min-width:740px}
.shared-pricing353 .quote-editor th:first-child{width:40%}
.shared-pricing353 .quote-editor th:nth-child(2){width:12%}
.shared-pricing353 .quote-editor th:nth-child(3){width:17%}
.shared-pricing353 .quote-editor th:nth-child(4){width:16%}
.shared-pricing353 .quote-editor th:last-child{width:44px}
.shared-pricing353 .quote-editor td:nth-child(4){white-space:nowrap}
.component-approval353{justify-content:flex-end;gap:8px;margin:8px 0}
@media(max-width:750px){.modal:has(.shared-pricing353),.dialog19:has(.shared-pricing353),.modal:has(.approval-lines353){width:calc(100vw - 16px)}}

/* P35.4 shared line-entry controls */
.quantity-stepper354{position:relative;display:flex;align-items:center}.quantity-stepper354 input{padding-right:30px!important}.quantity-arrows354{position:absolute;right:5px;display:flex;flex-direction:column}.quantity-arrows354 button{border:0;background:transparent;color:var(--ink,#202940);line-height:17px;padding:0 5px;cursor:pointer}.quantity-arrows354 button:hover{background:#eee9fa}
.shared-pricing353 .quote-editor td{vertical-align:top}.shared-pricing353 .pricing-value354{padding-top:30px}.pricing-control354{min-height:48px;display:flex;align-items:center}.add-line354{display:flex;justify-content:center;padding:12px}.add-line354 button{width:42px;height:42px;border:1px solid #ddd4ef;border-radius:50%;background:#f7f4fc;color:#7152c5;font-size:27px;cursor:pointer;display:grid;place-items:center}.add-line354 button:hover{background:#eae2fa}.work-order-list-table th button{white-space:normal;display:inline-flex;align-items:center;gap:6px;text-align:left}.work-order-list-table th{white-space:normal;overflow-wrap:normal}.work-order-list-table col:nth-child(2){width:17%!important}

.copy-invite354{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px}.copy-invite354 [role=status]{font-size:.85rem}.copy-invite354 input{width:100%}

.shared-pricing353 .quote-editor input:not([type=checkbox]){height:44px;margin:0}.shared-pricing353 .pricing-control354{height:44px;min-height:44px;margin:0}.shared-pricing353 .quote-editor input[type=checkbox]{margin:0}.work-order-list-table .wo-list-aircraft{width:145px}.work-order-list-table .wo-list-sort{white-space:normal}.work-order-list-table th{overflow-wrap:anywhere}

/* Approval footer uses the established quote footer action order. */
.approval-footer36>.action-right25{flex-direction:row-reverse;align-items:center;gap:10px}
.approval-footer36>.action-back25{align-self:center}

/* P37: deterministic strength colours across browser engines. */
.password-meter37{flex:1;min-width:100px;height:10px;border-radius:9px;background:#e8eaf0;overflow:hidden}.password-meter37 i{display:block;height:100%;background:#bb364f}.strength29-2 .password-meter37 i{background:#b58014}.strength29-3 .password-meter37 i,.strength29-4 .password-meter37 i{background:#21836d}

.mail-header371 {display:flex; align-items:flex-start; justify-content:space-between; gap:1rem}
.mail-header371 h3 {margin-top:0}
.mail-header371 > button {flex:none; min-width:32px; min-height:32px}
.mail-risk371 {vertical-align:middle; margin-left:.35rem; color:#925400; background:#fff4df; line-height:1}

/* P37.3: keep message identity, match confidence and risk evidence distinct. */
.comms-list .mail-subject373 { display:flex; align-items:baseline; gap:8px; }
.mail-subject373 > span:first-child { min-width:0; }
.comms-list .mail-risk371, .mail-header371 .mail-risk371 {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 17px; width:17px; height:17px; margin:0; line-height:1; vertical-align:middle;
}
.comms-list > button > .mail-confidence373 { display:inline-flex; margin-top:8px; }
.mail-match373 { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.mail-risk-detail373 { display:block; margin-top:16px; }
.mail-risk-detail373 p { margin:8px 0; }
.mail-risk-detail373 small { display:block; }

/* P38 contextual guidance and pending Pulse state, using existing colours. */
.pulse-pending38 {display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:#f0ebfc;color:#7760bd;flex-shrink:0;}
.tip-entry38 {position:relative;}
.tip-dot38 {position:absolute;right:3px;top:3px;width:9px;height:9px;background:#43c6cf;border:2px solid white;border-radius:50%;}
.tip-pulse38 {animation:tip38 1.5s ease-out 3;}
@keyframes tip38 {50%{box-shadow:0 0 0 5px #8671cd35;}}
@media(prefers-reduced-motion:reduce){.tip-pulse38{animation:none;}}
.tip-dialog38 {max-width:480px;}
.tip-secondary38 {margin-top:18px;justify-content:space-between;}
.tip-catalogue38 {display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;}
.tips-admin38 fieldset label {display:inline-flex;gap:6px;margin-right:20px;}
.due-overdue38 {color:#a44d50;}

/* P38.1 integrated tip treatment */
.tip-entry38.has-tip381{position:relative;flex-direction:column;gap:0;padding:6px 3px 5px;min-width:56px;height:56px}
.tip-entry38.has-tip381>svg{width:20px;height:20px;transform:translateY(-4px)}
.tip-entry38 .tip-label381{position:absolute;bottom:5px;left:0;right:0;color:white;font-size:8px;line-height:10px;font-weight:800;letter-spacing:.65px;text-align:center}
.tip-entry38.has-tip381 .smart-spark{top:5px;right:7px}
.wingman-tip381{margin:16px;padding:16px;border:1px solid #dcd4f6;border-radius:12px;background:#f5f1ff;color:#202640}
.wingman-tip381 small{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#7156c5}.wingman-tip381 h3{font-size:16px;margin:8px 0}.wingman-tip381 p{font-size:14px;line-height:1.5}.wingman-tip381 .actions{display:flex;gap:12px;flex-wrap:wrap}.wingman-tip381 button{font-size:12px}

.tip-order381,.tip-condition381{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0}.tips-admin38 fieldset{border:1px solid #e0e4ef;border-radius:12px;padding:16px;margin:16px 0}.tips-admin38 fieldset label{display:inline-flex;gap:8px;margin:8px 20px 8px 0}.tip-condition381 select{flex:1;min-width:240px}.tip-summary381{line-height:1.6}.tip-catalogue38{display:block}

.support381{position:fixed;top:90px;right:24px;z-index:2147483000;width:min(430px,calc(100vw - 32px));max-height:75vh;overflow:auto;padding:22px;background:white;color:#202640;border:1px solid #d9d1ef;border-radius:16px;box-shadow:0 16px 60px #17132b33}.support381 header{display:flex;justify-content:space-between}.support381 dl{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:13px}.support381 dt{color:#71809b;text-transform:capitalize}.support381 dd{margin:0;overflow-wrap:anywhere;user-select:all}.support381 small{display:block;margin-top:10px}.support-reminder381{margin-bottom:20px}.support-reminder381 p{margin:8px 0}kbd{font:inherit;font-weight:600;background:#f4f0fc;border:1px solid #ded6f1;border-radius:5px;padding:3px 6px}


/* Hide Control data while preserving unsaved forms during MFA renewal. */
.reauth-shade15.control-lock40 { background: #f5f6fa; z-index: 2147483000; }


/* Background operations must not steal focus or block editing. */
.operation-status41 {position:fixed;bottom:16px;right:20px;z-index:1200;padding:8px 14px;border:1px solid #dcd7ed;border-radius:10px;background:#fff;color:#51416e;font-size:13px;pointer-events:none;box-shadow:0 2px 12px #0001}
.first-steps41 {margin-bottom:24px;padding:24px;border:1px solid #ddd9ed;border-radius:18px;background:white}
.first-steps41 ol {display:flex;flex-wrap:wrap;gap:16px;padding-left:24px}.first-steps41 li {flex:1;min-width:180px}
