*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:#172033;background:#f4f6fa}.hidden{display:none!important}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#fff;border-bottom:1px solid #e2e7ef}.topbar h1,.workspace h2,.wizard-step h3{font-family:Fredoka,Inter,sans-serif;font-weight:500;margin:0}.eyebrow,.step-label{margin:0 0 4px;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:700;color:#e91e78}.topbar-actions{display:flex;gap:12px;align-items:center}.layout{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:calc(100vh - 82px)}.queue-panel{background:#fff;border-right:1px solid #e2e7ef;position:sticky;top:82px;height:calc(100vh - 82px);overflow:hidden}.panel-heading{padding:20px;border-bottom:1px solid #e2e7ef}.panel-heading h2{margin:0 0 4px}.panel-heading p{margin:0;color:#6a7487}.filters{display:grid;gap:10px;margin-top:16px}.filters input,.filters select,input,select,textarea{width:100%;font:inherit;border:1px solid #d6dce6;border-radius:10px;background:#fff;padding:11px 12px;color:#172033}.order-list{height:calc(100vh - 238px);overflow:auto}.order-item{display:block;width:100%;padding:16px 18px;border:0;border-bottom:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}.order-item:hover,.order-item.active{background:#fff4f9}.order-topline{display:flex;gap:10px;justify-content:space-between}.order-topline h3{margin:0;font-size:.9rem}.order-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px;color:#68758b;font-size:.74rem}.status-pill{border-radius:999px;padding:6px 10px;background:#fde7f1;color:#c31662;font-size:.7rem;font-weight:700}.workspace-panel{padding:22px}.empty-state{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e7ef;border-radius:18px;color:#68758b}.empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:#e91e78;color:#fff}.order-header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;background:#fff;border:1px solid #e2e7ef;border-radius:18px}.order-header p{margin:5px 0 0;color:#68758b}.progress-wrap{margin:16px 0}.progress-bar{height:8px;background:#e8edf4;border-radius:999px;overflow:hidden}.progress-bar span{display:block;height:100%;width:25%;background:#e91e78;transition:width .25s}.progress-wrap p{margin:7px 0 0;color:#68758b;font-size:.78rem}.wizard-step,.activity-panel{background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(22,32,51,.04)}.step-heading{display:flex;gap:14px;margin-bottom:22px}.step-heading p:not(.step-label){margin:6px 0 0;color:#68758b}.step-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#e91e78;color:#fff;font-weight:800}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-card{border:1px solid #e6eaf0;border-radius:14px;padding:18px;background:#fafbfc}.summary-card h4,.route-card h4{margin:0 0 12px}.readable-row{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:9px 0;border-top:1px solid #edf0f4}.readable-row:first-child{border-top:0}.readable-row span,.readable-strip span{color:#6a7487;font-size:.76rem}.readable-row strong,.readable-strip strong{font-size:.9rem;overflow-wrap:anywhere}.question-block{display:grid;gap:14px;margin-top:18px}.question-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.question-grid .full{grid-column:1/-1}label{display:grid;gap:7px;font-size:.8rem;font-weight:700}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.button{border:0;border-radius:10px;padding:11px 15px;font:inherit;font-weight:700;cursor:pointer}.button:disabled{opacity:.55;cursor:not-allowed}.button-primary{background:#e91e78;color:#fff}.button-secondary{background:#edf1f7;color:#172033}.button-success{background:#167c45;color:#fff}.missing-banner{margin-top:16px;padding:13px 15px;border-radius:12px;background:#fff2f7;border:1px solid #f4b6cf;color:#8d1649}.route-card{display:grid;grid-template-columns:54px 1fr;gap:16px;padding:20px;border:1px solid #e6eaf0;border-radius:14px;background:#fafbfc}.route-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#e91e78;color:#fff;font-weight:800;font-size:1.2rem}.readable-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.readable-strip>div{padding:13px;border:1px solid #e5e9ef;border-radius:12px;background:#fff;display:grid;gap:5px}.activity-panel{margin-top:16px}.timeline{display:grid;gap:12px;margin-top:20px}.timeline-item{display:grid;grid-template-columns:135px 1fr;gap:14px;padding-top:12px;border-top:1px solid #eef1f5}.timeline-time{font-size:.75rem;color:#6a7487}.timeline-title{font-weight:700;font-size:.85rem}.timeline-detail{margin-top:4px;color:#68758b;font-size:.8rem}.save-state{font-size:.78rem;font-weight:700;color:#68758b}.save-state.saved{color:#167c45}.save-state.saving{color:#9a6500}.save-state.failed{color:#b42318}.toast{position:fixed;right:22px;bottom:22px;padding:13px 16px;background:#172033;color:#fff;border-radius:10px}.hidden-fields{display:none}@media(max-width:1000px){.layout{grid-template-columns:1fr}.queue-panel{position:relative;top:0;height:auto}.order-list{height:auto;max-height:340px}.workspace-panel{padding:14px}.summary-grid,.question-grid,.readable-strip{grid-template-columns:1fr}.question-grid .full{grid-column:auto}}
.summary-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.summary-card-heading h4{margin:0}
.edit-hint{font-size:.72rem;color:#6a7487;font-weight:600}
.editable-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.editable-grid .full{grid-column:1/-1}
.editable-grid input,.editable-grid textarea{background:#fff}
.editable-grid input:focus,.editable-grid textarea:focus{outline:3px solid rgba(233,30,120,.12);border-color:#e91e78}
@media(max-width:1000px){.editable-grid{grid-template-columns:1fr}.editable-grid .full{grid-column:auto}}

.porting-details-panel{margin-bottom:16px;padding:20px;border:1px solid #e6eaf0;border-radius:14px;background:#fff}
.porting-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.porting-panel-heading h4{margin:0}
.porting-number-list{display:grid;gap:10px}
.porting-number-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(110px,.8fr) minmax(170px,1fr);gap:12px;align-items:center;padding:14px;border:1px solid #e5e9ef;border-radius:12px;background:#fafbfc}
.porting-number-main{display:grid;gap:4px}
.porting-number-main strong{font-size:.95rem}
.porting-number-main span,.porting-network span,.porting-pac span{font-size:.72rem;color:#6a7487}
.porting-network,.porting-pac{display:grid;gap:4px}
.pac-ok{color:#167c45;font-weight:800}
.pac-missing{color:#b42318;font-weight:800}
@media(max-width:760px){.porting-number-row{grid-template-columns:1fr}}

.manual-porting-editor{margin-top:18px;padding:18px;border:1px solid #e6eaf0;border-radius:14px;background:#fafbfc}
.editor-help{margin:5px 0 0;color:#6a7487;font-size:.82rem}
.manual-porting-rows{display:grid;gap:12px;margin-top:14px}
.manual-porting-row{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(140px,1fr) minmax(150px,1fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid #e5e9ef;border-radius:12px;background:#fff}
.manual-porting-row label{margin:0}
.remove-porting-btn{min-width:42px;height:42px;padding:0;border-radius:10px;background:#fff1f0;color:#b42318}
.manual-empty{padding:14px;border:1px dashed #cfd6e0;border-radius:12px;color:#6a7487;text-align:center}
@media(max-width:900px){.manual-porting-row{grid-template-columns:1fr}.remove-porting-btn{width:100%}}

/* TSW grouped order queue */
.queue-group {
  margin-bottom: 20px;
}

.queue-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  margin-bottom: 7px;
  border-bottom: 1px solid rgba(20, 31, 48, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.queue-group-heading strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(20, 31, 48, 0.08);
  font-size: 0.76rem;
}

.queue-group-orders {
  display: grid;
  gap: 8px;
}

.stored-stage {
  margin-top: 7px;
  font-size: 0.72rem;
  opacity: 0.65;
}

/* Collapsible queue groups */
.queue-group-heading {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.queue-group-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.queue-chevron {
  display: inline-block;
  width: 14px;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.queue-group.collapsed .queue-group-orders {
  display: none;
}

.queue-group-heading:hover {
  background: rgba(20, 31, 48, 0.035);
}

.queue-group-heading:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 6px;
}


/* Lookup and account-document controls */
.account-note-header{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:16px;align-items:end;margin-bottom:18px}
.account-note-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;margin:0 0 1px;text-decoration:none;white-space:nowrap}
.lookup-panel{margin-top:18px;padding:18px;border:1px solid #e6eaf0;border-radius:14px;background:#fafbfc}
.lookup-panel-heading h4{margin:0 0 5px}.lookup-panel-heading p{margin:0}
.lookup-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:12px}
.lookup-summary{display:grid;gap:4px;margin-top:12px;padding:12px 14px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;font-size:.82rem}
.lookup-summary span{color:#68758b;white-space:pre-line}
.delivery-lookup{display:grid;gap:12px}.delivery-lookup .lookup-row{margin-top:0}
.text-button{justify-self:start;border:0;background:transparent;color:#b3155b;font:inherit;font-weight:700;padding:0;cursor:pointer}
.field-help{font-size:.75rem;font-weight:400;color:#68758b}
@media(max-width:720px){.account-note-header,.lookup-row{grid-template-columns:1fr}.account-note-link,.lookup-row .button{width:100%}}

#businessAddressResults{margin-top:8px;width:100%}
.delivery-lookup .lookup-row{align-items:end}
.account-note-link{min-width:170px}


.billing-address-panel {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.72);
}

.billing-address-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.field-help {
  margin: 0;
  color: var(--muted, #667085);
  font-size: 0.92rem;
}

.address-preview {
  white-space: pre-line;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 12px;
  background: #fff;
  line-height: 1.5;
  margin: 10px 0 14px;
}

.address-preview.is-empty {
  color: var(--muted, #667085);
}

.auto-contract-choice{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:14px;border:1px solid #e5e9ef;border-radius:12px;background:#fff}
.auto-contract-choice input{width:18px;min-height:18px;margin:2px 0 0;accent-color:#e91e78}
.auto-contract-choice span{display:grid;gap:3px;color:#68758b;font-size:.78rem;line-height:1.45}
.auto-contract-choice strong{color:#172033;font-size:.84rem}

.fulfilment-lines-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line, #dfe4ea);
  border-radius: 18px;
  background: #fff;
}
.fulfilment-lines-heading,
.fulfilment-line-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.fulfilment-lines-heading h4 { margin: 0; }
.fulfilment-lines { display: grid; gap: 14px; margin-top: 16px; }
.fulfilment-line {
  padding: 16px;
  border: 1px solid var(--line, #dfe4ea);
  border-radius: 14px;
  background: #f8fafc;
}
.fulfilment-line-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.connection-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}
.connection-port { background: #fff0f6; color: #a81560; }
.connection-new { background: #eaf7ef; color: #176b3a; }
.fulfilment-line input[readonly] { background: #eef2f6; color: #44505c; }
@media (max-width: 760px) {
  .fulfilment-line-grid { grid-template-columns: 1fr; }
}

/* Compact order navigation */
.compact-order-navigation{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 16px;
  padding:2px 0 5px;
  overflow-x:auto;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}

.compact-order-nav-button{
  flex:0 0 auto;
  min-height:33px;
  padding:7px 12px;
  border:1px solid #dfe3ec;
  border-radius:999px;
  background:#fff;
  color:#566078;
  font:500 13px/1 Fredoka,Arial,sans-serif;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:none;
}

.compact-order-nav-button:hover{
  border-color:#ef8fb8;
  background:#fff7fb;
  color:#111936;
}

.compact-order-nav-button.active{
  border-color:#e81e75;
  background:#fff0f7;
  color:#b9145a;
  font-weight:600;
}

.compact-order-nav-button:focus-visible{
  outline:3px solid rgba(232,30,117,.2);
  outline-offset:2px;
}

@media (max-width:700px){
  .compact-order-nav-button{
    min-height:31px;
    padding:6px 10px;
    font-size:12.5px;
  }
}

/* Per-SIM activation controls */
.line-activation-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e5e8ef;
}

.line-activation-status{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#697188;
  font-size:12px;
}

.line-activation-status strong{
  font-size:13px;
  color:#566078;
}

.line-activation-status.active strong{
  color:#137a42;
}

.line-activate-button{
  flex:0 0 auto;
  min-height:34px;
  padding:8px 14px;
}

@media (max-width:650px){
  .line-activation-actions{
    align-items:flex-start;
  }

  .line-activate-button{
    min-height:32px;
    padding:7px 11px;
  }
}
.company-review-panel {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(71, 43, 67, 0.16);
  border-radius: 18px;
  background: #fff8fc;
}

.company-review-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.company-review-heading h3,
.company-review-card h4,
.company-review-detail h4,
.company-review-directors h4 {
  margin: 0;
}

.company-review-heading > p {
  max-width: 520px;
  margin: 0;
  color: #66525f;
}

.company-review-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ba3f83;
}

.company-review-columns,
.company-review-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-review-detail-grid {
  margin-top: 14px;
}

.company-review-card,
.company-review-detail,
.company-review-directors {
  padding: 15px;
  border: 1px solid rgba(71, 43, 67, 0.12);
  border-radius: 14px;
  background: #ffffff;
}

.company-review-card-verified {
  border-color: rgba(186, 63, 131, 0.3);
  background: #fffafd;
}

.company-review-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.company-review-list > div {
  display: grid;
  gap: 2px;
}

.company-review-list dt {
  font-size: 12px;
  font-weight: 700;
  color: #78616f;
}

.company-review-list dd {
  margin: 0;
  white-space: pre-line;
  color: #33252e;
}

.company-review-directors {
  margin-top: 14px;
}

.company-director-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(160px, 1fr) minmax(140px, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(71, 43, 67, 0.09);
}

.company-director-row:last-child {
  border-bottom: 0;
}

.company-director-row span {
  color: #66525f;
}

.company-review-link {
  margin: 14px 0 0;
}

.company-review-link a {
  font-weight: 700;
  color: #a32e70;
}

.company-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .company-review-heading {
    display: block;
  }

  .company-review-heading > p {
    margin-top: 10px;
  }

  .company-review-columns,
  .company-review-detail-grid {
    grid-template-columns: 1fr;
  }

  .company-director-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.company-risk-summary {
  padding: 14px;
  border: 1px solid rgba(71, 43, 67, 0.14);
  border-radius: 14px;
  background: #ffffff;
}

.company-risk-green {
  border-left: 5px solid #2e8b57;
}

.company-risk-amber {
  border-left: 5px solid #d18b1f;
}

.company-risk-red {
  border-left: 5px solid #bc3e50;
}

.company-risk-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.company-risk-heading h4 {
  margin: 3px 0 1px;
}

.company-risk-heading p {
  margin: 0;
  color: #68758b;
  font-size: 0.8rem;
}

.company-risk-status {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4d3a47;
}

.company-risk-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.company-risk-badge-green {
  color: #17623a;
  background: #e3f4e9;
}

.company-risk-badge-amber {
  color: #7a4d08;
  background: #fff1cf;
}

.company-risk-badge-red {
  color: #8f2637;
  background: #fde5e9;
}

.company-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.company-risk-grid > div {
  padding: 9px 10px;
  border: 1px solid rgba(71, 43, 67, 0.09);
  border-radius: 10px;
  background: #fafbfc;
}

.company-risk-grid span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  color: #68758b;
}

.company-risk-grid strong {
  display: block;
  font-size: 0.8rem;
  color: #33252e;
}

.company-risk-flags {
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e8;
}

.company-risk-flags strong {
  font-size: 0.78rem;
}

.company-risk-flags ul {
  margin: 5px 0 0;
  padding-left: 18px;
  font-size: 0.77rem;
}

.company-risk-clear {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: #4f6657;
}

.company-review-details {
  margin-top: 12px;
  border-top: 1px solid rgba(71, 43, 67, 0.12);
}

.company-review-details summary {
  padding: 12px 2px 2px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: #a32e70;
}

.company-review-details[open] summary {
  margin-bottom: 12px;
}

.company-review-panel {
  padding: 14px;
}

.company-review-heading {
  margin-bottom: 12px;
}

.company-review-heading > p {
  font-size: 0.76rem;
}

.company-review-actions {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .company-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .company-risk-heading {
    display: block;
  }

  .company-risk-badge {
    display: inline-block;
    margin-top: 8px;
  }

  .company-risk-grid {
    grid-template-columns: 1fr;
  }
}
.company-match-remove {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a365f;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.company-match-remove:hover,
.company-match-remove:focus-visible {
  color: #702143;
}
.company-review-corporate-history {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(71, 43, 67, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.company-review-corporate-history h4 {
  margin: 0 0 9px;
  font-size: 0.86rem;
}

#refreshBtn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
}
.google-business-panel {
  margin-top: 14px;
}

.google-business-review {
  margin-top: 12px;
}

.google-business-outcome {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
}

.google-business-outcome.good {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.google-business-outcome.warning {
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.google-business-outcome.danger {
  background: rgba(220, 38, 38, 0.09);
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.google-business-outcome strong {
  font-size: 0.9rem;
}

.google-business-outcome span {
  font-size: 0.76rem;
  line-height: 1.45;
}

.google-business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.verification-panels-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.verification-panels-grid > .lookup-panel {
  min-width: 0;
  margin-top: 0;
}

.verification-panels-grid .company-risk-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.verification-panels-grid .company-review-actions,
.verification-panels-grid .google-business-actions {
  align-items: stretch;
}

.verification-panels-grid .company-review-actions .button,
.verification-panels-grid .google-business-actions .button {
  flex: 1 1 160px;
}

@media (max-width: 1050px) {
  .verification-panels-grid {
    grid-template-columns: 1fr;
  }
}
/* TSW DOPAMINE BEAUTIFICATION 2026 */

:root {
  --tsw-pink: #ed1b72;
  --tsw-pink-dark: #cf0f5e;
  --tsw-pink-soft: #fff0f6;
  --tsw-pink-softer: #fff7fa;
  --tsw-ink: #111936;
  --tsw-muted: #68728a;
  --tsw-line: #e4e8f0;
  --tsw-line-strong: #d7ddea;
  --tsw-panel: #ffffff;
  --tsw-page: #f4f6fa;
  --tsw-shadow:
    0 8px 24px rgba(17, 25, 54, 0.06),
    0 1px 3px rgba(17, 25, 54, 0.04);
  --tsw-shadow-hover:
    0 12px 30px rgba(17, 25, 54, 0.1),
    0 2px 6px rgba(17, 25, 54, 0.05);
}

html {
  background: var(--tsw-page);
}

body {
  background:
    radial-gradient(
      circle at 70% -10%,
      rgba(237, 27, 114, 0.055),
      transparent 30%
    ),
    var(--tsw-page);
  color: var(--tsw-ink);
  letter-spacing: -0.008em;
}

header,
.header,
.topbar,
.portal-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--tsw-line);
  box-shadow: 0 1px 10px rgba(17, 25, 54, 0.035);
  backdrop-filter: blur(12px);
}

main,
.main,
.main-content,
.content,
.portal-content {
  background: transparent;
}

aside,
.sidebar,
.order-sidebar,
.orders-sidebar {
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid var(--tsw-line);
}

.sidebar h1,
.sidebar h2,
.sidebar h3,
.orders-sidebar h1,
.orders-sidebar h2,
.orders-sidebar h3 {
  letter-spacing: -0.025em;
}

.card,
.panel,
.section-card,
.workflow-card,
.order-header,
.account-card,
.fulfilment-card,
.customer-card,
.order-details-card,
.porting-card,
.activity-card {
  background: var(--tsw-panel);
  border: 1px solid var(--tsw-line);
  border-radius: 18px;
  box-shadow: var(--tsw-shadow);
}

.card:hover,
.panel:hover,
.section-card:hover,
.workflow-card:hover {
  border-color: var(--tsw-line-strong);
}

.order-header,
.workflow-card,
.account-card {
  overflow: hidden;
}

input,
select,
textarea {
  min-height: 42px;
  border: 1px solid var(--tsw-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--tsw-ink);
  box-shadow:
    inset 0 1px 2px rgba(17, 25, 54, 0.025);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

textarea {
  min-height: 88px;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #c8cfdd;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--tsw-pink);
  box-shadow:
    0 0 0 4px rgba(237, 27, 114, 0.11),
    inset 0 1px 2px rgba(17, 25, 54, 0.02);
}

label {
  color: var(--tsw-ink);
  font-weight: 650;
  letter-spacing: -0.01em;
}

button,
.button,
.btn,
[role="button"] {
  border-radius: 11px;
  font-weight: 700;
  letter-spacing: -0.012em;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

button:hover:not(:disabled),
.button:hover:not(:disabled),
.btn:hover:not(:disabled),
[role="button"]:hover {
  transform: translateY(-1px);
}

button:active:not(:disabled),
.button:active:not(:disabled),
.btn:active:not(:disabled) {
  transform: translateY(0);
}

button.primary,
.btn-primary,
.primary-button,
button[type="submit"] {
  background:
    linear-gradient(
      135deg,
      #f4217a 0%,
      var(--tsw-pink) 55%,
      #da1264 100%
    );
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 7px 16px rgba(237, 27, 114, 0.22);
}

button.primary:hover,
.btn-primary:hover,
.primary-button:hover,
button[type="submit"]:hover {
  background:
    linear-gradient(
      135deg,
      #f72a80 0%,
      #ec176f 55%,
      var(--tsw-pink-dark) 100%
    );
  box-shadow:
    0 10px 22px rgba(237, 27, 114, 0.28);
}

button.secondary,
.btn-secondary,
.secondary-button {
  background: #eef1f6;
  border-color: transparent;
  color: var(--tsw-ink);
}

button.secondary:hover,
.btn-secondary:hover,
.secondary-button:hover {
  background: #e6eaf1;
}

button:disabled,
.button:disabled,
.btn:disabled {
  opacity: 0.58;
  box-shadow: none;
  transform: none;
}

.status,
.status-pill,
.pill,
.badge,
.queue-count,
.stage-pill {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.status,
.status-pill,
.stage-pill {
  padding: 6px 11px;
  background: var(--tsw-pink-soft);
  color: var(--tsw-pink-dark);
  border: 1px solid rgba(237, 27, 114, 0.08);
}

.queue-count {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  background: #eef1f6;
  color: var(--tsw-ink);
}

nav button,
.tabs button,
.tab-button,
.workflow-tabs button {
  background: #fff;
  border: 1px solid var(--tsw-line);
  color: #4c5871;
  box-shadow: 0 2px 6px rgba(17, 25, 54, 0.035);
}

nav button:hover,
.tabs button:hover,
.tab-button:hover,
.workflow-tabs button:hover {
  border-color: #f2a7c6;
  color: var(--tsw-pink-dark);
  background: var(--tsw-pink-softer);
}

nav button.active,
.tabs button.active,
.tab-button.active,
.workflow-tabs button.active,
[aria-selected="true"] {
  background: var(--tsw-pink-soft);
  border-color: var(--tsw-pink);
  color: var(--tsw-pink-dark);
  box-shadow:
    0 4px 12px rgba(237, 27, 114, 0.11);
}

progress,
.progress,
.progress-track {
  border-radius: 999px;
  overflow: hidden;
  background: #e7ebf2;
}

.progress-bar,
.progress-fill {
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #ff4890,
      var(--tsw-pink)
    );
  box-shadow:
    0 2px 8px rgba(237, 27, 114, 0.18);
}

.order-list,
.orders-list,
.queue-list {
  scrollbar-width: thin;
  scrollbar-color: #cbd1dd transparent;
}

.order-item,
.order-row,
.queue-order,
.sidebar-order {
  position: relative;
  padding: 15px 14px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.order-item:hover,
.order-row:hover,
.queue-order:hover,
.sidebar-order:hover {
  background: var(--tsw-pink-softer);
}

.order-item.active,
.order-row.active,
.queue-order.active,
.sidebar-order.active,
[aria-current="true"] {
  background:
    linear-gradient(
      90deg,
      rgba(237, 27, 114, 0.09),
      rgba(237, 27, 114, 0.025)
    );
}

.order-item.active::before,
.order-row.active::before,
.queue-order.active::before,
.sidebar-order.active::before,
[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--tsw-pink);
}

fieldset,
.form-section,
.form-group-card,
.inner-panel {
  border: 1px solid var(--tsw-line);
  border-radius: 15px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fdfdfe 100%
    );
}

.section-label,
.eyebrow,
.kicker,
.overline {
  color: var(--tsw-pink);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.step-number,
.workflow-number,
.number-badge {
  display: inline-grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      #f72a80,
      var(--tsw-pink-dark)
    );
  color: #fff;
  border-radius: 11px;
  box-shadow:
    0 6px 14px rgba(237, 27, 114, 0.2);
}

hr {
  border: 0;
  border-top: 1px solid var(--tsw-line);
}

small,
.help-text,
.hint,
.muted,
.subtitle {
  color: var(--tsw-muted);
}

table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--tsw-line);
  border-radius: 13px;
}

th {
  background: #f5f7fa;
  color: #46516a;
  font-weight: 750;
}

td,
th {
  border-bottom: 1px solid var(--tsw-line);
}

tr:last-child td {
  border-bottom: 0;
}

.account-note,
.account-note-panel,
.activity-panel,
.note-panel {
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fdfdfe 100%
    );
}

.fulfilment-row,
.connection-row,
.sim-row {
  border: 1px solid var(--tsw-line);
  border-radius: 14px;
  background: #fafbfd;
  padding: 16px;
}

.fulfilment-row:hover,
.connection-row:hover,
.sim-row:hover {
  background: #fff;
  border-color: #d9deea;
}

.notification,
.toast,
.alert,
.error-message,
.success-message {
  border-radius: 12px;
  box-shadow: var(--tsw-shadow);
}

.error-message,
.alert-error {
  background: #fff3f4;
  color: #a5182f;
  border: 1px solid #ffd2d9;
}

.success-message,
.alert-success {
  background: #effaf4;
  color: #137248;
  border: 1px solid #cdeedc;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cdd3df;
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #b7bfce;
  border: 3px solid transparent;
  background-clip: padding-box;
}

@media (min-width: 1000px) {
  .card,
  .panel,
  .section-card,
  .workflow-card,
  .account-card {
    padding: 20px;
  }

  main,
  .main-content,
  .portal-content {
    padding: 18px;
  }
}

@media (max-width: 800px) {
  .card,
  .panel,
  .section-card,
  .workflow-card,
  .account-card {
    border-radius: 14px;
  }

  button,
  .button,
  .btn {
    min-height: 42px;
  }
}

/* END TSW DOPAMINE BEAUTIFICATION 2026 */

/* TSW LOUISE WOW TARGETED PASS */

:root {
  --wow-pink: #ec1670;
  --wow-pink-deep: #c80d59;
  --wow-pink-soft: #fff0f6;
  --wow-pink-pale: #fff8fb;
  --wow-navy: #111936;
  --wow-muted: #657087;
  --wow-line: #e2e7ef;
  --wow-panel: #ffffff;
  --wow-bg: #f3f5f9;
  --wow-shadow:
    0 10px 30px rgba(18, 27, 57, 0.07),
    0 2px 6px rgba(18, 27, 57, 0.035);
}

body {
  background:
    radial-gradient(
      circle at 82% 2%,
      rgba(236, 22, 112, 0.10),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #f9f4f7 0,
      #f3f5f9 220px,
      #f3f5f9 100%
    );
}

.topbar {
  min-height: 92px;
  padding: 18px 26px;
  background:
    linear-gradient(
      100deg,
      rgba(255,255,255,0.98),
      rgba(255,247,251,0.98)
    );
  border-bottom: 1px solid rgba(236,22,112,0.12);
  box-shadow:
    0 5px 24px rgba(17,25,54,0.055);
}

.topbar .eyebrow {
  color: var(--wow-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.topbar h1,
.topbar h2 {
  margin-top: 4px;
  letter-spacing: -0.035em;
}

.layout {
  grid-template-columns: 320px minmax(0,1fr);
  min-height: calc(100vh - 92px);
  background: transparent;
}

.queue-panel {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fffafd 100%
    );
  border-right: 1px solid rgba(236,22,112,0.10);
  box-shadow:
    8px 0 24px rgba(17,25,54,0.035);
}

.queue-panel > h2 {
  margin-bottom: 2px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.filters {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.filters input,
.filters select {
  min-height: 46px;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 13px;
  box-shadow:
    0 3px 10px rgba(17,25,54,0.035);
}

.queue-group {
  margin: 0 8px 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
}

.queue-group-heading {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--wow-navy);
}

.queue-group-heading:hover {
  background: var(--wow-pink-soft);
  color: var(--wow-pink-deep);
}

.queue-group-title {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.queue-chevron {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: #f0f2f6;
  color: var(--wow-navy);
  font-size: 0.72rem;
}

.queue-group-orders {
  display: grid;
  gap: 7px;
  padding: 4px 5px 7px;
}

.order-item {
  position: relative;
  margin: 0;
  padding: 14px 13px;
  border: 1px solid #e7eaf0;
  border-radius: 13px;
  background: rgba(255,255,255,0.92);
  box-shadow:
    0 2px 8px rgba(17,25,54,0.035);
}

.order-item:hover {
  border-color: rgba(236,22,112,0.24);
  background: #fff7fb;
  box-shadow:
    0 7px 18px rgba(17,25,54,0.07);
}

.order-item.active {
  border-color: rgba(236,22,112,0.35);
  background:
    linear-gradient(
      105deg,
      #fff0f6,
      #fff9fc
    );
  box-shadow:
    0 8px 20px rgba(236,22,112,0.12);
}

.order-item.active::before {
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #ff3d8c,
      #d80e61
    );
}

.order-topline {
  gap: 8px;
}

.order-topline h3 {
  font-size: 0.91rem;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.order-meta {
  margin-top: 7px;
  color: #677287;
  font-size: 0.71rem;
  line-height: 1.45;
}

.stored-stage {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #e1e5ec;
  color: #7a8498;
  font-size: 0.67rem;
}

.status-pill {
  padding: 5px 9px;
  background:
    linear-gradient(
      135deg,
      #ffe5f0,
      #fff0f6
    );
  border: 1px solid rgba(236,22,112,0.12);
  color: var(--wow-pink-deep);
  font-size: 0.67rem;
  font-weight: 800;
}

.workspace {
  padding: 26px 30px 42px;
  background: transparent;
}

.order-header {
  position: relative;
  padding: 22px 24px 22px 28px;
  border: 1px solid rgba(236,22,112,0.12);
  border-radius: 20px;
  background:
    linear-gradient(
      112deg,
      #ffffff 0%,
      #fffafd 70%,
      #fff2f7 100%
    );
  box-shadow:
    0 14px 34px rgba(17,25,54,0.075);
}

.order-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 6px;
  border-radius: 0 999px 999px 0;
  background:
    linear-gradient(
      180deg,
      #ff3f8f,
      #cf0c59
    );
}

.order-header h2,
.order-header h3 {
  margin: 4px 0;
  font-size: 1.42rem;
  letter-spacing: -0.035em;
}

.progress-wrap {
  margin: 16px 0 12px;
}

.progress-bar {
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #ff4c94,
      #ec1670,
      #c80d59
    );
  box-shadow:
    0 3px 12px rgba(236,22,112,0.25);
}

.compact-order-navigation {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 6px;
  width: fit-content;
  border: 1px solid #e4e8ef;
  border-radius: 15px;
  background: rgba(255,255,255,0.82);
  box-shadow:
    0 4px 14px rgba(17,25,54,0.04);
}

.compact-order-nav-button {
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5b667c;
  box-shadow: none;
}

.compact-order-nav-button:hover {
  background: #fff2f7;
  color: var(--wow-pink-deep);
}

.compact-order-nav-button.active {
  background:
    linear-gradient(
      135deg,
      #ffedf5,
      #ffdce9
    );
  color: var(--wow-pink-deep);
  box-shadow:
    0 5px 14px rgba(236,22,112,0.13);
}

.workspace-panel {
  padding: 24px;
  border: 1px solid #e1e6ee;
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--wow-shadow);
}

.step-heading {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background:
    linear-gradient(
      145deg,
      #ff3d8d,
      #d30e5d
    );
  box-shadow:
    0 8px 18px rgba(236,22,112,0.22);
}

.step-label {
  color: var(--wow-pink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.summary-grid,
.question-grid {
  gap: 16px;
}

.summary-card,
.question-block,
.lookup-panel,
.billing-address-panel,
.fulfilment-lines-panel,
.porting-details-panel,
.manual-porting-editor,
.activity-panel {
  border: 1px solid #e3e7ee;
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fbfcfe
    );
  box-shadow:
    0 5px 18px rgba(17,25,54,0.045);
}

.summary-card {
  padding: 18px;
}

.summary-card-heading {
  margin-bottom: 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid #eceff4;
}

.summary-card-heading h4 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.lookup-panel {
  margin-top: 0;
  padding: 18px;
}

.lookup-panel-heading {
  margin-bottom: 12px;
}

.lookup-panel-heading h4 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.verification-panels-grid {
  gap: 16px;
}

.editable-grid {
  gap: 14px;
}

.field-label {
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 750;
}

input,
select,
textarea {
  border-color: #d9dfe9;
  background: #fff;
  box-shadow:
    inset 0 1px 2px rgba(17,25,54,0.02),
    0 2px 7px rgba(17,25,54,0.025);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wow-pink);
  box-shadow:
    0 0 0 4px rgba(236,22,112,0.10),
    0 4px 12px rgba(17,25,54,0.04);
}

.button {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 11px;
  font-weight: 750;
}

.button-primary {
  border: 0;
  background:
    linear-gradient(
      135deg,
      #ff327f,
      #ec1670 58%,
      #c80d59
    );
  color: #fff;
  box-shadow:
    0 8px 17px rgba(236,22,112,0.23);
}

.button-primary:hover {
  background:
    linear-gradient(
      135deg,
      #ff478d,
      #ed1b72 58%,
      #bd0a52
    );
  box-shadow:
    0 11px 23px rgba(236,22,112,0.29);
}

.button-secondary {
  border: 1px solid #e2e6ed;
  background: #f1f3f7;
  color: var(--wow-navy);
  box-shadow:
    0 3px 8px rgba(17,25,54,0.035);
}

.action-row {
  gap: 10px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #eceff4;
}

.fulfilment-lines-panel {
  padding: 18px;
}

.fulfilment-line {
  padding: 18px;
  border: 1px solid #e0e5ed;
  border-radius: 15px;
  background:
    linear-gradient(
      180deg,
      #fff,
      #f8fafc
    );
  box-shadow:
    0 4px 14px rgba(17,25,54,0.035);
}

.connection-type {
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 800;
}

.activity-panel {
  margin-top: 18px;
  padding: 20px;
}

.account-note-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #eceff4;
}

.account-note-link {
  border-radius: 11px;
}

.timeline {
  margin-top: 18px;
  padding-top: 4px;
}

.toast {
  left: 50%;
  right: auto;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(760px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #111936,
      #1d2747
    );
  color: #fff;
  box-shadow:
    0 16px 40px rgba(17,25,54,0.28);
}

.save-state.saved {
  color: #13754b;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 280px minmax(0,1fr);
  }

  .workspace {
    padding: 22px;
  }
}

@media (max-width: 820px) {
  .layout {
    display: block;
  }

  .queue-panel {
    border-right: 0;
    border-bottom: 1px solid var(--wow-line);
  }

  .workspace {
    padding: 16px;
  }

  .compact-order-navigation {
    width: 100%;
    overflow-x: auto;
  }

  .compact-order-nav-button {
    flex: 0 0 auto;
  }
}

/* END TSW LOUISE WOW TARGETED PASS */

/* TSW QUEUE PILL ALIGNMENT FIX */

.order-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 10px;
  align-items: start;
}

.order-topline h3 {
  min-width: 0;
  margin: 1px 0 0;
  line-height: 1.25;
}

.order-topline .status-pill {
  width: 78px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 5px 7px;
  text-align: center;
  line-height: 1.08;
  white-space: normal;
}

.queue-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.queue-group-heading > strong {
  flex: 0 0 auto;
  min-width: 25px;
  text-align: center;
}

/* END TSW QUEUE PILL ALIGNMENT FIX */

/* Clear separation between SIM allocation and dispatch/provisioning */
.fulfilment-heading-pills {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.fulfilment-stage-pill {
  white-space: nowrap;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: #be185d;
}

.dispatch-controls-panel {
  margin-top: 20px;
  padding: 18px 16px 4px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.55);
}

.dispatch-controls-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dispatch-controls-heading h4 {
  margin: 0;
}

.dispatch-controls-panel .question-grid {
  margin-top: 0;
}

@media (max-width: 720px) {
  .fulfilment-lines-heading {
    align-items: flex-start;
  }

  .fulfilment-heading-pills {
    justify-content: flex-start;
  }
}
/* SIM dispatch action sits with ICCID entry */
.sim-dispatch-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Operational actions are pink when available */
#dispatchBtn:not(:disabled),
#activationConfirmedBtn:not(:disabled),
#provisionBtn:not(:disabled),
#activeBtn:not(:disabled) {
  opacity: 1;
}

/* Completed or unavailable operational actions are grey */
#dispatchBtn:disabled,
#activationConfirmedBtn:disabled,
#provisionBtn:disabled,
#activeBtn:disabled {
  background: #eef0f4;
  border-color: #e1e5eb;
  color: #7b8494;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 720px) {
  .sim-dispatch-action-row {
    justify-content: stretch;
  }

  .sim-dispatch-action-row #dispatchBtn {
    width: 100%;
  }
}

.line-activation-status.pending strong {
  color: #475467;
}

.line-activation-status.active strong {
  color: #067647;
}

.line-activate-button:disabled {
  background: #eef0f4;
  border-color: #e1e5eb;
  color: #7b8494;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 820px) {
}
/* Step 4 SIM fulfilment workflow actions */
.sim-dispatch-action-row {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

#dispatchStatus[readonly] {
  background: #eef2f6;
  color: #44505c;
  cursor: default;
}

#dispatchBtn:disabled,
#activationConfirmedBtn:disabled,
#provisionBtn:disabled,
#activeBtn:disabled,
.line-activate-button:disabled {
  background: #eef0f4;
  border-color: #e1e5eb;
  color: #7b8494;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 720px) {
  .sim-dispatch-action-row {
    align-items: stretch;
  }

  .sim-dispatch-action-row #dispatchBtn,
  .sim-dispatch-action-row #activationConfirmedBtn {
    width: 100%;
  }
}

.details-confirmation-block {
  margin-bottom: 1.25rem;
}

.confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(226, 30, 112, 0.18);
  border-radius: 14px;
  background: #fff7fb;
  cursor: pointer;
}

.confirmation-check input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  flex: 0 0 auto;
}

.confirmation-check span {
  font-weight: 600;
}

.field-help {
  margin: 0.55rem 0 0;
  color: #667085;
  font-size: 0.9rem;
}

#wizardStep1 .activity-panel {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

#accountNoteComposer.hidden {
  display: none;
}


/* Reusable account note and Step 2 working layout */
.account-note-mount:empty {
  display: none;
}

.shared-account-note-panel {
  width: 100%;
}

#accountNoteComposer {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

#accountNoteComposer.hidden {
  display: none;
}

.step2-working-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.step2-main-column {
  min-width: 0;
}

.step2-side-column {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.step2-account-summary {
  padding: 18px;
  border: 1px solid #e3e7ee;
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fff8fb
    );
  box-shadow:
    0 8px 24px rgba(17, 25, 54, 0.06);
}

.step2-summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eceff4;
}

.step2-summary-heading h4 {
  margin: 0;
  font-family: Fredoka, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.step2-summary-stage {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fde7f1;
  color: #c31662;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.step2-summary-list {
  display: grid;
  margin-top: 7px;
}

.step2-summary-list > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eef1f5;
}

.step2-summary-list > div:last-child {
  border-bottom: 0;
}

.step2-summary-list span {
  color: #68758b;
  font-size: 0.73rem;
}

.step2-summary-list strong {
  min-width: 0;
  color: #172033;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.step2-side-column .activity-panel {
  margin-top: 0;
  padding: 18px;
}

.step2-side-column .account-note-header {
  grid-template-columns: 1fr;
  gap: 10px;
}

.step2-side-column .account-note-link {
  width: 100%;
}

.step2-side-column .action-row {
  margin-top: 0;
}

.step2-side-column .action-row .button {
  flex: 1 1 auto;
}

#wizardStep1 .account-note-mount,
#wizardStep3 .account-note-mount,
#wizardStep4 .account-note-mount {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .step2-working-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.75fr);
    gap: 16px;
  }

  .step2-summary-list > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .step2-working-layout {
    grid-template-columns: 1fr;
  }

  .step2-side-column {
    position: static;
  }

  .step2-account-summary {
    order: 1;
  }

  .step2-side-column .account-note-mount {
    order: 2;
  }

  .step2-side-column .action-row {
    order: 3;
  }
}

@media (max-width: 620px) {
  .step2-summary-heading {
    display: block;
  }

  .step2-summary-stage {
    margin-top: 9px;
  }

  .step2-summary-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}


/* Step 2 action-order correction */
.shared-account-note-panel > #saveBtn,
.shared-account-note-panel > #openAccountNote {
  display: none;
}

.step2-side-column .action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.step2-side-column .action-row #step2Back {
  order: 1;
}

.step2-side-column .action-row #saveBtn {
  order: 2;
}

.step2-side-column .action-row #openAccountNote {
  order: 3;
}

.step2-side-column .action-row #step2Next {
  order: 4;
}

.step2-side-column .action-row #saveBtn,
.step2-side-column .action-row #openAccountNote {
  display: inline-flex;
}

.step2-side-column .activity-panel {
  margin-bottom: 0;
}

.step2-side-column #accountNoteComposer {
  margin-top: 0;
}

.step2-side-column .timeline {
  margin-top: 14px;
}

@media (max-width: 720px) {
  .step2-side-column .action-row .button {
    width: 100%;
  }
}


/* Step 2 buttons under note to account, on the left */
.step2-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9e6ef;
}

.step2-inline-actions .button {
  width: auto;
  flex: 0 0 auto;
}

.step2-inline-actions #step2Back {
  order: 1;
}

.step2-inline-actions #saveBtn {
  order: 2;
}

.step2-inline-actions #openAccountNote {
  order: 3;
}

.step2-inline-actions #step2Next {
  order: 4;
}

@media (max-width: 900px) {
  .step2-inline-actions .button {
    width: 100%;
  }
}


/* TSW_NATIVE_ACCOUNT_FLOW_START */

.active-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 14px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ebe7f0;
}

.active-page-actions .button {
  width: auto;
  flex: 0 0 auto;
}

.activity-collapsible {
  margin-top: 0;
}

.activity-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #eadde7;
  border-radius: 14px;
  background: #fff7fb;
  color: #1b2340;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.activity-toggle-meta {
  margin-left: auto;
  color: #766d82;
  font-size: 12px;
  font-weight: 500;
}

.activity-toggle-icon {
  width: 20px;
  color: #ea2a7b;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.activity-collapse-body {
  margin-top: 12px;
}

.button-meta-group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.button-last-sent {
  color: #766d82;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

#savePortingDetailsBtn {
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  padding: 11px 15px;
}

@media (max-width: 900px) {
  .active-page-actions {
    align-items: stretch;
  }

  .active-page-actions .button,
  .active-page-actions .button-meta-group {
    width: 100%;
  }

  .button-meta-group {
    justify-content: space-between;
  }

  .button-meta-group .button {
    width: auto;
  }

  .button-last-sent {
    white-space: normal;
    text-align: right;
  }
}

/* TSW_NATIVE_ACCOUNT_FLOW_END */


/* ===== Live / Test order environment ===== */

.order-environment-control {
  margin: 0 0 18px;
}

.environment-selector-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  background: #ffffff;
}

.environment-selector-row label {
  font-weight: 700;
  color: #111936;
}

.environment-selector-row select {
  min-width: 110px;
  padding: 8px 34px 8px 10px;
  border: 1px solid #cbd2df;
  border-radius: 8px;
  background: #ffffff;
  color: #111936;
  font: inherit;
}

.environment-help {
  color: #626b80;
  font-size: 0.9rem;
}

.test-order-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 2px solid #e0a800;
  border-radius: 12px;
  background: #fff3cd;
  color: #553d00;
}

.test-order-banner strong {
  flex: 0 0 auto;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.test-order-banner span {
  line-height: 1.45;
}

.test-order-banner.hidden {
  display: none;
}

.test-order-open .workspace {
  box-shadow:
    inset 0 4px 0 #e0a800;
}

.queue-status-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.test-order-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #d39e00;
  border-radius: 999px;
  background: #fff3cd;
  color: #5c4300;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .environment-selector-row {
    align-items: stretch;
  }

  .environment-selector-row label,
  .environment-selector-row select,
  .environment-help {
    width: 100%;
  }

  .test-order-banner {
    flex-direction: column;
    gap: 6px;
  }
}
/* ===== Portal blocking loading overlay ===== */

.portal-blocking-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 25, 54, 0.54);
  backdrop-filter: blur(3px);
}

.portal-blocking-overlay.hidden {
  display: none;
}

.portal-blocking-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(430px, 100%);
  padding: 22px 24px;
  border: 1px solid rgba(232, 30, 117, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(17, 25, 54, 0.28);
  color: #111936;
}

.portal-blocking-card div {
  display: grid;
  gap: 5px;
}

.portal-blocking-card strong {
  font-size: 1.05rem;
}

.portal-blocking-card span {
  color: #626b80;
  line-height: 1.45;
}

.portal-loading-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 4px solid #f5c8dc;
  border-top-color: #e81e75;
  border-radius: 50%;
  animation: portal-loading-spin 0.8s linear infinite;
}

.portal-is-blocked {
  overflow: hidden;
  cursor: wait;
}

@keyframes portal-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-loading-spinner {
    animation-duration: 1.8s;
  }
}
/* ===== Compact portal environment control ===== */

.order-environment-control {
  display: inline-flex;
  align-items: center;
  margin: 3px 0 0 0;
  vertical-align: middle;
}

.environment-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.order-environment-control select {
  min-width: 0;
  width: auto;
  padding: 3px 25px 3px 9px;
  border: 1px solid #cbd2df;
  border-radius: 999px;
  background-color: #f7f9fc;
  color: #526078;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.order-environment-control.is-test select {
  border-color: #d39e00;
  background-color: #fff3cd;
  color: #5c4300;
}

#workspace > .test-order-banner {
  margin: 0 0 14px;
}

body:not(.test-order-open) .test-order-banner {
  display: none;
}

/*
 * Override the original large live-order control styles.
 */
.environment-selector-row,
.environment-help {
  display: none !important;
}

body:not(.test-order-open) .test-order-open .workspace,
body:not(.test-order-open) .workspace {
  box-shadow: none;
}
/* ===== Enforce hidden portal action rows ===== */

.action-row[hidden],
.action-row.hidden,
button[hidden],
.button[hidden] {
  display: none !important;
}
/* ===== Portal staff user selector ===== */

.portal-user-control {
  display: inline-flex;
  align-items: center;
  margin: 3px 0 0 7px;
  vertical-align: middle;
}

.portal-user-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.portal-user-control select {
  min-width: 0;
  width: auto;
  padding: 3px 25px 3px 9px;
  border: 1px solid #efb6cf;
  border-radius: 999px;
  background-color: #fff4f8;
  color: #8d2855;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.portal-user-control select:hover,
.portal-user-control select:focus-visible {
  border-color: #e81e75;
  outline: none;
}

@media (max-width: 600px) {
  .portal-user-control {
    margin-left: 5px;
  }

  .portal-user-control select {
    max-width: 105px;
  }
}

/* TSW_WIZARD_VISIBILITY_GUARD_START */

/*
 * Native hidden state and the existing
 * utility class must both suppress inactive
 * wizard panels, regardless of later styles.
 */
.wizard-step[hidden],
.wizard-step.hidden {
  display: none !important;
}

/* TSW_WIZARD_VISIBILITY_GUARD_END */

/* TSW_PREMIUM_UI_POLISH_PASS_1_START */

/* -------------------------------------------------------
   Premium portal foundation
------------------------------------------------------- */

body {
  background:
    radial-gradient(
      circle at top right,
      rgba(233, 30, 120, 0.055),
      transparent 32rem
    ),
    #f5f7fb;
}

.topbar {
  padding: 17px 24px;
  border-bottom:
    1px solid rgba(17, 25, 54, 0.08);
  box-shadow:
    0 5px 22px rgba(17, 25, 54, 0.045);
}

.topbar h1 {
  letter-spacing: -0.025em;
}

.queue-panel {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fbfcfe
    );
}

.panel-heading {
  padding: 20px 18px 17px;
}

.filters input,
.filters select,
.workspace input,
.workspace select,
.workspace textarea {
  border-color: #dfe4ed;
  border-radius: 11px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.filters input:focus,
.filters select:focus,
.workspace input:focus,
.workspace select:focus,
.workspace textarea:focus {
  border-color: rgba(233, 30, 120, 0.72);
  box-shadow:
    0 0 0 4px rgba(233, 30, 120, 0.09);
}

.workspace input[readonly],
.workspace textarea[readonly] {
  background: #f6f8fb;
  color: #344054;
}

/* -------------------------------------------------------
   Premium queue cards and full-width status strips
------------------------------------------------------- */

.queue-group-orders {
  display: grid;
  gap: 10px;
  padding: 8px 10px 15px;
}

.order-item {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border:
    1px solid rgba(17, 25, 54, 0.09);
  border-radius: 15px;
  background: #ffffff;
  box-shadow:
    0 4px 14px rgba(17, 25, 54, 0.04);
  text-align: left;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.order-item:hover {
  transform: translateY(-1px);
  border-color: rgba(233, 30, 120, 0.25);
  background: #ffffff;
  box-shadow:
    0 9px 25px rgba(17, 25, 54, 0.085);
}

.order-item.active {
  border-color: rgba(233, 30, 120, 0.52);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(233, 30, 120, 0.08),
    0 12px 28px rgba(17, 25, 54, 0.1);
}

.order-item.active::before {
  display: none;
}

.order-status-strip {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 35px;
  gap: 8px;
  padding: 8px 11px;
  border: 0;
  border-bottom:
    1px solid rgba(233, 30, 120, 0.12);
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgba(233, 30, 120, 0.12),
      rgba(233, 30, 120, 0.035)
    );
  color: #9f174f;
  text-align: left;
}

.order-status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.5);
}

.order-status-text {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

.order-item[data-stage="Live"]
.order-status-strip {
  border-bottom-color:
    rgba(18, 132, 85, 0.15);
  background:
    linear-gradient(
      90deg,
      rgba(18, 132, 85, 0.14),
      rgba(18, 132, 85, 0.035)
    );
  color: #126b49;
}

.order-item[data-stage="Partially active"]
.order-status-strip {
  border-bottom-color:
    rgba(180, 111, 0, 0.16);
  background:
    linear-gradient(
      90deg,
      rgba(245, 166, 35, 0.17),
      rgba(245, 166, 35, 0.04)
    );
  color: #8a5700;
}

.order-item[data-stage="Cancelled"]
.order-status-strip {
  border-bottom-color:
    rgba(102, 112, 133, 0.15);
  background:
    linear-gradient(
      90deg,
      rgba(102, 112, 133, 0.13),
      rgba(102, 112, 133, 0.025)
    );
  color: #475467;
}

.order-item[data-stage*="Payment"]
.order-status-strip {
  border-bottom-color:
    rgba(112, 72, 232, 0.15);
  background:
    linear-gradient(
      90deg,
      rgba(112, 72, 232, 0.13),
      rgba(112, 72, 232, 0.03)
    );
  color: #5740aa;
}

.order-item[data-stage*="Activation"]
.order-status-strip,
.order-item[data-stage*="Order confirmed"]
.order-status-strip,
.order-item[data-stage*="Ordered"]
.order-status-strip,
.order-item[data-stage*="SIM sent"]
.order-status-strip,
.order-item[data-stage*="dispatch"]
.order-status-strip {
  border-bottom-color:
    rgba(29, 112, 184, 0.15);
  background:
    linear-gradient(
      90deg,
      rgba(29, 112, 184, 0.13),
      rgba(29, 112, 184, 0.03)
    );
  color: #175e9b;
}

.order-status-strip .test-order-pill {
  flex: 0 0 auto;
  min-height: 21px;
  padding: 2px 7px;
  border-color: rgba(138, 87, 0, 0.35);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
}

.order-topline {
  display: block;
  padding: 13px 14px 0;
}

.order-topline h3 {
  margin: 0;
  color: #111936;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.28;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  padding: 8px 14px 14px;
  color: #667085;
}

.order-meta span {
  position: relative;
  font-size: 0.7rem;
  line-height: 1.35;
}

.order-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: #c0c7d2;
}

.stored-stage {
  margin: -5px 14px 13px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f6f7fa;
  color: #667085;
  font-size: 0.68rem;
}

/* -------------------------------------------------------
   Main workspace status strip
------------------------------------------------------- */

.order-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  padding: 20px;
  border:
    1px solid rgba(17, 25, 54, 0.08);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fbfcff
    );
  box-shadow:
    0 7px 22px rgba(17, 25, 54, 0.045);
}

.workspace-status-strip {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 13px;
  border:
    1px solid rgba(233, 30, 120, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(
      90deg,
      rgba(233, 30, 120, 0.11),
      rgba(233, 30, 120, 0.025)
    );
  color: #9f174f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.workspace-status-strip::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
}

/* -------------------------------------------------------
   Navigation and panels
------------------------------------------------------- */

.compact-order-navigation {
  padding: 5px;
  border:
    1px solid rgba(17, 25, 54, 0.08);
  border-radius: 13px;
  background: #eef1f6;
}

.compact-order-nav-button {
  min-height: 39px;
  border-radius: 9px;
  color: #667085;
  font-weight: 700;
}

.compact-order-nav-button.active {
  background: #ffffff;
  color: #111936;
  box-shadow:
    0 3px 10px rgba(17, 25, 54, 0.08);
}

.step-heading {
  padding-bottom: 17px;
  border-bottom:
    1px solid rgba(17, 25, 54, 0.075);
}

.summary-card,
.porting-details-panel,
.fulfilment-lines-panel,
.dispatch-controls-panel,
.activity-panel {
  border-color: rgba(17, 25, 54, 0.085);
  border-radius: 17px;
  background: #ffffff;
  box-shadow:
    0 5px 18px rgba(17, 25, 54, 0.038);
}

.fulfilment-lines-panel,
.dispatch-controls-panel {
  padding: 20px;
}

.dispatch-controls-panel {
  margin-top: 18px;
}

#activationSelectionPanel {
  border-color: rgba(233, 30, 120, 0.19);
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fffafd
    );
}

/* -------------------------------------------------------
   Fulfilment heading and stage strip
------------------------------------------------------- */

.fulfilment-lines-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 11px 15px;
  align-items: center;
}

.fulfilment-heading-pills {
  display: contents;
}

.fulfilment-stage-strip {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border:
    1px solid rgba(233, 30, 120, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(
      90deg,
      rgba(233, 30, 120, 0.11),
      rgba(233, 30, 120, 0.025)
    );
  color: #9f174f;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
}

.fulfilment-stage-strip::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
}

.fulfilment-lines-heading > div:first-child {
  grid-column: 1;
  grid-row: 2;
}

#fulfilmentLineCount {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

/* -------------------------------------------------------
   SIM rows and compact activation controls
------------------------------------------------------- */

.fulfilment-lines {
  gap: 13px;
}

.fulfilment-line {
  padding: 17px;
  border-color: rgba(17, 25, 54, 0.09);
  border-radius: 15px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fafbfe
    );
  box-shadow:
    0 4px 14px rgba(17, 25, 54, 0.035);
}

.line-activation-actions {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 13px;
  border-top:
    1px solid rgba(17, 25, 54, 0.075);
}

.line-activation-selector {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 34px;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  border:
    1px solid rgba(17, 25, 54, 0.11);
  border-radius: 9px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
}

.line-activation-selector:hover {
  border-color: rgba(233, 30, 120, 0.33);
  background: #fffafd;
}

input.line-activation-checkbox {
  flex: 0 0 18px;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #e91e78;
  cursor: pointer;
}

.line-activation-status {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 11px;
  border:
    1px solid rgba(17, 25, 54, 0.08);
  border-radius: 9px;
  background: #f7f8fb;
  color: #667085;
}

.line-activation-status strong {
  font-size: 0.73rem;
  line-height: 1.25;
}

.line-activation-status span {
  font-size: 0.67rem;
  line-height: 1.3;
}

.line-activation-status.active {
  border-color: rgba(18, 132, 85, 0.18);
  background: rgba(18, 132, 85, 0.075);
  color: #126b49;
}

.line-activation-status.pending {
  border-color: rgba(180, 111, 0, 0.16);
  background: rgba(245, 166, 35, 0.075);
  color: #855600;
}

/* -------------------------------------------------------
   Premium action hierarchy
------------------------------------------------------- */

.button {
  min-height: 41px;
  border-radius: 10px;
  font-weight: 750;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button-primary:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #e91e78,
      #d81769
    );
  box-shadow:
    0 7px 16px rgba(233, 30, 120, 0.2);
}

.button-primary:not(:disabled):hover {
  box-shadow:
    0 9px 20px rgba(233, 30, 120, 0.27);
}

.button-secondary {
  border:
    1px solid rgba(17, 25, 54, 0.1);
  background: #ffffff;
  color: #344054;
}

.button:disabled {
  opacity: 1;
  border-color: #e3e6ec;
  background: #f0f2f5;
  color: #98a2b3;
  box-shadow: none;
}

#activationSelectionPanel .action-row {
  align-items: center;
  gap: 9px;
}

#selectAllActivationLines,
#clearActivationSelection {
  min-height: 37px;
  padding: 8px 12px;
}

#activeBtn {
  margin-left: auto;
}

#refreshBtn[aria-busy="true"] {
  position: relative;
  padding-left: 37px;
}

#refreshBtn[aria-busy="true"]::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 14px;
  height: 14px;
  border:
    2px solid rgba(52, 64, 84, 0.25);
  border-top-color: #344054;
  border-radius: 50%;
  animation:
    tswPremiumRefreshSpin
    0.75s linear infinite;
}

@keyframes tswPremiumRefreshSpin {
  to {
    transform: rotate(360deg);
  }
}

/* -------------------------------------------------------
   Responsive refinement
------------------------------------------------------- */

@media (max-width: 820px) {
  .queue-group-orders {
    grid-template-columns:
      repeat(
        auto-fit,
        minmax(230px, 1fr)
      );
  }

  .order-header {
    padding: 17px;
  }

  .fulfilment-lines-heading {
    grid-template-columns: 1fr;
  }

  .fulfilment-lines-heading > div:first-child,
  #fulfilmentLineCount,
  .fulfilment-stage-strip {
    grid-column: 1;
  }

  #fulfilmentLineCount {
    grid-row: 3;
    justify-self: start;
  }

  .line-activation-actions {
    grid-template-columns: 1fr;
  }

  .line-activation-selector {
    justify-self: start;
  }

  #activeBtn {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .queue-group-orders {
    grid-template-columns: 1fr;
  }

  .order-meta span:not(:last-child)::after {
    display: none;
  }

  .order-meta {
    display: grid;
    gap: 4px;
  }

  .fulfilment-lines-panel,
  .dispatch-controls-panel {
    padding: 16px;
  }

  #activationSelectionPanel .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  #activationSelectionPanel .button {
    width: 100%;
  }
}

/* TSW_PREMIUM_UI_POLISH_PASS_1_END */
/* TSW PAC CONTRACT OVERRIDE V1 */

.pac-override-panel {
  width: 100%;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(219, 158, 0, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 249, 229, 0.98),
      rgba(255, 252, 242, 0.98)
    );
  box-shadow: 0 12px 28px rgba(92, 68, 0, 0.08);
}

.action-row > .pac-override-panel {
  flex: 1 1 100%;
}

.pac-override-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.pac-override-heading strong {
  display: block;
  color: #111833;
  font-size: 0.96rem;
  font-weight: 700;
}

.pac-override-heading p {
  margin: 4px 0 0;
  color: #645a3d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.pac-override-icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff1b8;
  color: #7b5600;
  font-size: 1rem;
  font-weight: 800;
}

.pac-override-choice,
.pac-override-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
}

.pac-override-choice {
  padding: 13px 14px;
  border: 1px solid rgba(17, 24, 51, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.pac-override-choice input,
.pac-override-acknowledgement input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #ed176f;
}

.pac-override-choice strong {
  display: block;
  color: #111833;
  font-size: 0.9rem;
}

.pac-override-choice small {
  display: block;
  margin-top: 3px;
  color: #6f7385;
  font-size: 0.78rem;
  line-height: 1.4;
}

.pac-override-fields {
  display: grid;
  gap: 13px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 51, 0.08);
}

.pac-override-fields.is-disabled {
  opacity: 0.58;
}

.pac-override-reason {
  display: grid;
  gap: 6px;
}

.pac-override-reason > span {
  color: #111833;
  font-size: 0.82rem;
  font-weight: 700;
}

.pac-override-reason textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid rgba(17, 24, 51, 0.14);
  border-radius: 11px;
  background: #ffffff;
  color: #111833;
  font: inherit;
  line-height: 1.5;
}

.pac-override-reason textarea:focus {
  outline: 3px solid rgba(237, 23, 111, 0.12);
  border-color: rgba(237, 23, 111, 0.55);
}

.pac-override-reason small {
  color: #74788a;
  font-size: 0.75rem;
}

.pac-override-acknowledgement {
  padding: 12px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a4f63;
  font-size: 0.82rem;
  line-height: 1.45;
}

.contract-action-help {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 0 2px;
  padding: 11px 13px;
  border: 1px solid rgba(17, 24, 51, 0.08);
  border-radius: 11px;
  background: rgba(247, 248, 252, 0.92);
  color: #596075;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pac-override-provisioning-notice {
  flex: 1 1 100%;
  width: 100%;
  margin: 2px 0;
  padding: 11px 13px;
  border: 1px solid rgba(219, 158, 0, 0.36);
  border-radius: 11px;
  background: #fff8dc;
  color: #6f4c00;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

#sendContractBtn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

#pacOverrideFulfilmentNotice {
  margin: 14px 0;
}

@media (max-width: 720px) {
  .pac-override-panel {
    padding: 15px;
    border-radius: 14px;
  }

  .pac-override-heading {
    gap: 10px;
  }
}


/* ===== TSW ORDER LOCKING + SAFE POLISH V1 ===== */
.order-lock-banner {
  display:flex;
  align-items:center;
  gap:13px;
  margin:14px 0 16px;
  padding:13px 15px;
  border:1px solid #cfe8da;
  border-radius:15px;
  background:
    linear-gradient(135deg,#f1fbf5,#ffffff);
  box-shadow:0 5px 16px rgba(17,25,54,.045);
}

.order-lock-banner.is-locked {
  border-color:#f1c0d4;
  background:
    linear-gradient(135deg,#fff0f6,#ffffff);
}

.order-lock-icon {
  display:grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#daf3e5;
  color:#137248;
  font-size:18px;
  font-weight:800;
}

.order-lock-banner.is-locked .order-lock-icon {
  background:#ffe0ec;
  color:#b3155b;
}

.order-lock-copy {
  display:grid;
  gap:2px;
  min-width:0;
  flex:1 1 auto;
}

.order-lock-copy strong {
  color:#17213d;
  font-size:.88rem;
}

.order-lock-copy span {
  color:#68758b;
  font-size:.76rem;
  line-height:1.4;
}

.order-read-only .wizard-step,
.order-read-only .activity-panel {
  position:relative;
}

.order-read-only input:disabled,
.order-read-only select:disabled,
.order-read-only textarea:disabled {
  opacity:.78;
  color:#596276;
  background:#f1f3f7;
  cursor:not-allowed;
}

.order-read-only button:disabled {
  cursor:not-allowed;
}

.topbar-actions {
  padding:6px;
  border:1px solid #e8eaf0;
  border-radius:14px;
  background:rgba(255,255,255,.72);
}

.save-state {
  padding:7px 10px;
  border-radius:999px;
  background:#f2f4f7;
}

.save-state.saved {
  background:#edf9f2;
}

.save-state.saving {
  background:#fff6e5;
}

.save-state.failed {
  background:#fff0f1;
}

.workspace-status-strip,
.fulfilment-stage-strip {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 11px;
  border:1px solid rgba(236,22,112,.14);
  border-radius:999px;
  background:#fff0f6;
  color:#b9145a;
  font-size:.76rem;
  font-weight:800;
}

@media(max-width:720px) {
  .order-lock-banner {
    align-items:flex-start;
    flex-wrap:wrap;
  }

  #forceUnlockOrderBtn {
    width:100%;
  }

  .topbar {
    align-items:flex-start;
  }

  .topbar-actions {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}
/* ===== END TSW ORDER LOCKING + SAFE POLISH V1 ===== */


/* ===== TSW PORTAL PRETTIER V2 — VISUAL ONLY ===== */
:root {
  --pretty-pink: #ea176f;
  --pretty-pink-deep: #c60f59;
  --pretty-pink-soft: #fff0f6;
  --pretty-navy: #111936;
  --pretty-muted: #68758b;
  --pretty-border: #e3e7ef;
  --pretty-surface: rgba(255,255,255,.92);
  --pretty-shadow: 0 14px 38px rgba(17,25,54,.075);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(234,23,111,.07), transparent 22rem),
    radial-gradient(circle at 96% 8%, rgba(255,126,176,.08), transparent 26rem),
    #f4f6fa;
}

.topbar {
  min-height: 68px;
  padding: 10px 18px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.98), rgba(255,247,251,.96));
  border-bottom: 1px solid rgba(234,23,111,.12);
  box-shadow: 0 8px 24px rgba(17,25,54,.05);
}

.topbar > div:first-child {
  display:grid;
  gap:2px;
}

.topbar h1 {
  font-size:1.45rem;
  line-height:1.05;
  letter-spacing:-.045em;
}

.topbar-actions {
  gap:7px;
  padding:5px;
  border:1px solid rgba(17,25,54,.07);
  border-radius:16px;
  background:rgba(255,255,255,.78);
  box-shadow:0 5px 16px rgba(17,25,54,.045);
}

#orderEnvironmentControl,
#portalUserControl {
  display:inline-grid;
  gap:3px;
  margin-top:7px;
  margin-right:7px;
  vertical-align:top;
}

.environment-label,
.portal-user-label {
  font-size:.61rem;
  letter-spacing:.075em;
  text-transform:uppercase;
  color:#7c8599;
}

#orderEnvironment,
#portalCurrentUser {
  min-height:37px;
  padding:7px 34px 7px 12px;
  border-radius:999px;
  font-size:.76rem;
  font-weight:750;
  box-shadow:0 3px 10px rgba(17,25,54,.035);
}

.layout {
  grid-template-columns:292px minmax(0,1fr);
  gap:0;
}

.queue-panel {
  border-right:1px solid rgba(17,25,54,.08);
  background:
    linear-gradient(180deg,#fff,#fffafd 70%,#fff);
  box-shadow:8px 0 28px rgba(17,25,54,.035);
}

.panel-heading {
  padding:22px 17px 18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,251,253,.94));
}

.panel-heading h2 {
  font-size:1.22rem;
  letter-spacing:-.025em;
}

.filters {
  gap:9px;
}

.filters input,
.filters select {
  min-height:43px;
  border-radius:12px;
  background:#fff;
}

.order-list {
  padding:10px 9px 24px;
}

.queue-group {
  margin:0 0 13px;
}

.queue-group-heading {
  min-height:40px;
  padding:8px 9px;
  border-radius:10px;
}

.queue-group-orders {
  gap:8px;
}

.order-item {
  padding:13px 12px;
  border:1px solid #e7eaf0;
  border-radius:14px;
  box-shadow:0 4px 12px rgba(17,25,54,.04);
}

.order-item:hover {
  transform:translateY(-1px);
  border-color:rgba(234,23,111,.25);
  box-shadow:0 9px 20px rgba(17,25,54,.075);
}

.order-item.active {
  border-color:rgba(234,23,111,.42);
  box-shadow:
    0 12px 25px rgba(234,23,111,.12),
    inset 0 0 0 1px rgba(255,255,255,.8);
}

.workspace-panel {
  padding:18px;
  background:transparent;
}

.empty-state {
  min-height:calc(100vh - 135px);
  border:1px solid rgba(17,25,54,.08);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(234,23,111,.09), transparent 13rem),
    rgba(255,255,255,.9);
  box-shadow:var(--pretty-shadow);
}

.empty-icon {
  width:64px;
  height:64px;
  border-radius:20px;
  background:linear-gradient(145deg,#ff3f8c,#d00e5d);
  box-shadow:0 14px 28px rgba(234,23,111,.23);
  font-family:Fredoka,Inter,sans-serif;
  font-size:.92rem;
}

.empty-state h2 {
  margin:20px 0 5px;
  color:#59647a;
  letter-spacing:-.025em;
}

.empty-state p {
  margin:0;
}

.workspace {
  max-width:1380px;
  margin:0 auto;
  padding:0;
}

.order-header {
  border-radius:22px;
  padding:22px 24px 22px 28px;
  background:
    linear-gradient(112deg,#fff 0%,#fffafd 68%,#ffedf5 100%);
  box-shadow:0 14px 34px rgba(17,25,54,.075);
}

.order-header::after {
  content:"";
  position:absolute;
  right:-40px;
  top:-70px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(234,23,111,.055);
  pointer-events:none;
}

.workspace-status-strip {
  position:relative;
  z-index:1;
  box-shadow:0 5px 14px rgba(234,23,111,.09);
}

.compact-order-navigation {
  width:100%;
  justify-content:flex-start;
  padding:7px;
  border-radius:16px;
  background:rgba(255,255,255,.88);
  box-shadow:0 5px 16px rgba(17,25,54,.045);
}

.compact-order-nav-button {
  min-height:38px;
  padding:9px 14px;
  border-radius:11px;
}

.wizard-step {
  border-radius:22px;
  border-color:rgba(17,25,54,.075);
  box-shadow:0 14px 38px rgba(17,25,54,.06);
}

.summary-card,
.lookup-panel,
.billing-address-panel,
.manual-porting-editor,
.porting-details-panel,
.fulfilment-lines-panel,
.dispatch-controls-panel,
.activity-panel {
  border-radius:18px;
  border-color:rgba(17,25,54,.08);
}

.summary-card {
  background:
    linear-gradient(180deg,#fff,#fbfcfe);
}

.summary-card-heading {
  align-items:flex-start;
}

.summary-card-heading h4,
.lookup-panel-heading h4,
.fulfilment-lines-heading h4,
.dispatch-controls-heading h4 {
  letter-spacing:-.025em;
}

input,
select,
textarea {
  border-radius:12px;
}

.button {
  border-radius:12px;
}

.button-primary {
  box-shadow:0 8px 18px rgba(234,23,111,.22);
}

.action-row {
  border-top-color:rgba(17,25,54,.07);
}

.order-lock-banner {
  border-radius:17px;
  box-shadow:0 8px 22px rgba(17,25,54,.055);
}

.timeline-item {
  padding:13px 0 1px;
}

.toast {
  font-weight:700;
  letter-spacing:-.01em;
}

@media (min-width:1500px) {
  .layout {
    grid-template-columns:310px minmax(0,1fr);
  }

  .workspace-panel {
    padding:22px 28px;
  }
}

@media (max-width:900px) {
  .topbar {
    min-height:auto;
    align-items:flex-start;
  }

  .layout {
    display:block;
  }

  .queue-panel {
    border-right:0;
    box-shadow:none;
  }

  .empty-state {
    min-height:55vh;
  }
}
/* ===== END TSW PORTAL PRETTIER V2 ===== */

/* ===== Compact portal header controls ===== */
.topbar > div:first-child {
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:
    "eyebrow eyebrow"
    "title title"
    "environment user";
  align-items:end;
  justify-content:start;
  column-gap:8px;
  row-gap:2px;
}

.topbar .eyebrow {
  grid-area:eyebrow;
}

.topbar h1 {
  grid-area:title;
}

#orderEnvironmentControl {
  grid-area:environment;
}

#portalUserControl {
  grid-area:user;
}

#orderEnvironmentControl,
#portalUserControl {
  margin-top:4px;
  margin-right:0;
}
/* ===== End compact portal header controls ===== */

/* ===== GIACOM PORTAL PREVIEW G1.2 ===== */
.giacom-preview-panel {
  margin-top:18px;
  padding:18px;
  border:1px solid #d8deea;
  border-radius:14px;
  background:#f8f9fc;
}

.giacom-preview-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.giacom-preview-heading h4 {
  margin:2px 0 0;
}

.giacom-preview-environment {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border:1px solid #cbd3e1;
  border-radius:999px;
  background:#ffffff;
  font-size:13px;
  font-weight:600;
}

.giacom-preview-summary {
  display:grid;
  grid-template-columns:repeat(
    auto-fit,
    minmax(155px,1fr)
  );
  gap:10px;
  margin-bottom:14px;
}

.giacom-preview-summary > div {
  padding:11px;
  border:1px solid #dfe4ee;
  border-radius:10px;
  background:#ffffff;
}

.giacom-preview-summary span {
  display:block;
  margin-bottom:4px;
  font-size:12px;
  color:#697386;
}

.giacom-preview-summary strong {
  overflow-wrap:anywhere;
}

.giacom-preview-warnings {
  margin-bottom:14px;
  padding:12px 14px;
  border:1px solid #e4c66b;
  border-radius:10px;
  background:#fff9e8;
}

.giacom-preview-warnings ul {
  margin:8px 0 0;
  padding-left:20px;
}

.giacom-preview-json {
  max-height:420px;
  overflow:auto;
  margin:0 0 10px;
  padding:14px;
  border-radius:10px;
  background:#172033;
  color:#f5f7fb;
  font-size:12px;
  line-height:1.55;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
/* ===== END GIACOM PORTAL PREVIEW G1.2 ===== */
/* =========================================================
   TSW PAC CHECK — ORDER DETAILS LAYOUT TIDY
   ========================================================= */

.manual-porting-row {
  display: grid;
  grid-template-columns:
    minmax(155px, 0.9fr)
    minmax(135px, 0.75fr)
    minmax(145px, 0.75fr)
    minmax(290px, 1.5fr);
  gap: 14px;
  align-items: start;
}

.manual-porting-row > label {
  min-width: 0;
}

.manual-porting-row > label input,
.manual-porting-row > label select {
  width: 100%;
}

.manual-porting-row .manual-pac-mode {
  min-width: 0;
}

.manual-porting-row .manual-check-pac-btn {
  min-width: 98px;
  white-space: nowrap;
  align-self: stretch;
}

.manual-porting-row .manual-pac-result {
  line-height: 1.35;
  min-height: 17px;
  margin-top: 8px !important;
  font-size: 11px !important;
}

.manual-porting-row .remove-porting-btn {
  grid-column: 1 / 2;
  width: auto;
  min-width: 110px;
  justify-self: start;
  padding-left: 22px;
  padding-right: 22px;
}

#manualPortingRows {
  display: grid;
  gap: 16px;
}

#manualPortingEditor .form-check,
#manualPortingEditor .checkbox-row {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .manual-porting-row {
    grid-template-columns:
      minmax(160px, 1fr)
      minmax(145px, 1fr);
  }

  .manual-porting-row > label:nth-of-type(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .manual-porting-row {
    grid-template-columns: 1fr;
  }

  .manual-porting-row > label:nth-of-type(4),
  .manual-porting-row .remove-porting-btn {
    grid-column: 1;
  }
}


/* ===== TSW DIRECT DEBIT FRONTEND V1 — 2026-08-06 ===== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.topbar-brand{min-width:max-content}
.portal-section-nav{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid #e2e7ef;border-radius:14px;background:#f7f9fc}
.portal-section-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;border:0;border-radius:10px;background:transparent;color:#657087;font:600 .82rem/1 Inter,Arial,sans-serif;cursor:pointer}
.portal-section-button:hover{background:#fff;color:#172033}
.portal-section-button.active{background:#fff;color:#b9145a;box-shadow:0 2px 10px rgba(23,32,51,.08)}
.portal-section-button:focus-visible{outline:3px solid rgba(233,30,120,.18);outline-offset:2px}
.portal-nav-badge{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#fff0f7;color:#b9145a;font-size:.69rem;font-weight:800}
.portal-section-button.active .portal-nav-badge{background:#e91e78;color:#fff}

.dd-portal-view{min-height:calc(100vh - 82px);padding:24px;background:#f4f6fa}
.dd-page-shell{width:min(1500px,100%);margin:0 auto}
.dd-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.dd-page-heading h2,.dd-batch-heading h3,.dd-info-card h3,.dd-modal-heading h2,.dd-order-panel h4{font-family:Fredoka,Inter,sans-serif;font-weight:500;margin:0}
.dd-page-heading>div:first-child>p:last-child{max-width:750px;margin:7px 0 0;color:#68758b}
.dd-page-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.dd-preview-chip{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid #f3bed4;border-radius:999px;background:#fff4f9;color:#9b1b55;font-size:.75rem;font-weight:700}

.dd-summary-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.dd-summary-card{min-width:0;padding:18px;border:1px solid #e2e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(22,32,51,.035)}
.dd-summary-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dd-summary-card-label{color:#68758b;font-size:.76rem;font-weight:700}
.dd-summary-card-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#fff0f7;color:#c31662;font-family:Fredoka,Inter,sans-serif;font-size:.78rem;font-weight:600}
.dd-summary-card strong{display:block;margin-top:12px;color:#172033;font-family:Fredoka,Inter,sans-serif;font-size:1.5rem;font-weight:500;line-height:1.1}
.dd-summary-card p{margin:7px 0 0;color:#7a8496;font-size:.74rem;line-height:1.4}
.dd-summary-card.is-warning .dd-summary-card-icon{background:#fff4e5;color:#9a6500}
.dd-summary-card.is-danger .dd-summary-card-icon{background:#fff1f0;color:#b42318}
.dd-summary-card.is-success .dd-summary-card-icon{background:#eaf7ef;color:#167c45}

.dd-batch-card,.dd-info-card{border:1px solid #e2e7ef;border-radius:18px;background:#fff;box-shadow:0 8px 30px rgba(22,32,51,.04)}
.dd-batch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e8ecf2}
.dd-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dd-batch-heading p:last-child{margin:6px 0 0;color:#68758b;font-size:.82rem}
.dd-batch-totals{text-align:right}
.dd-batch-totals span{display:block;color:#68758b;font-size:.75rem;font-weight:700}
.dd-batch-totals strong{display:block;margin-top:4px;font-family:Fredoka,Inter,sans-serif;font-size:1.65rem;font-weight:500}
.dd-toolbar{display:grid;grid-template-columns:190px 180px minmax(240px,1fr);gap:12px;padding:16px 24px;background:#fafbfc;border-bottom:1px solid #edf0f4}
.dd-toolbar label{font-size:.74rem}
.dd-toolbar-search{justify-self:end;width:min(430px,100%)}
.dd-validation-banner{margin:16px 24px 0;padding:13px 15px;border:1px solid #badfc9;border-radius:12px;background:#eef9f2;color:#165b35;font-size:.82rem;line-height:1.5}
.dd-validation-banner.is-warning{border-color:#efd395;background:#fff8e8;color:#805600}
.dd-table-wrap{overflow:auto}
.dd-collection-table{width:100%;border-collapse:collapse;min-width:980px}
.dd-collection-table th{padding:13px 15px;border-bottom:1px solid #e8ecf2;background:#fff;color:#68758b;text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:800;white-space:nowrap}
.dd-collection-table td{padding:15px;border-bottom:1px solid #edf0f4;vertical-align:middle;font-size:.82rem}
.dd-collection-table tbody tr:hover{background:#fffafd}
.dd-collection-table tbody tr.is-selected{background:#fff4f9}
.dd-collection-table tbody tr:last-child td{border-bottom:0}
.dd-check-cell{width:44px;text-align:center!important}
.dd-check-cell input{width:17px;height:17px;margin:0;accent-color:#e91e78}
.dd-customer-cell{display:grid;gap:4px;min-width:190px}
.dd-customer-cell strong{font-size:.84rem}
.dd-customer-cell span,.dd-invoice-cell span,.dd-date-cell span{color:#778195;font-size:.72rem}
.dd-invoice-cell,.dd-date-cell{display:grid;gap:4px;min-width:120px}
.dd-amount{font-weight:800;white-space:nowrap}
.dd-row-action{border:0;background:transparent;color:#c31662;font:700 .76rem Inter,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.dd-row-action:hover{text-decoration:underline}
.dd-row-empty{padding:34px!important;color:#68758b;text-align:center;font-size:.85rem!important}
.dd-status{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 9px;border-radius:999px;font-size:.69rem;font-weight:800;white-space:nowrap}
.dd-status-ready,.dd-status-active,.dd-status-approved{background:#eaf7ef;color:#167c45}
.dd-status-blocked,.dd-status-failed,.dd-status-cancelled{background:#fff1f0;color:#b42318}
.dd-status-hold,.dd-status-restricted{background:#fff4e5;color:#936000}
.dd-status-future,.dd-status-awaiting,.dd-status-draft{background:#eef2f7;color:#566078}
.dd-status-processing{background:#edf4ff;color:#175cd3}
.dd-batch-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-top:1px solid #e8ecf2;background:#fafbfc;border-radius:0 0 18px 18px}
.dd-batch-footer p{margin:4px 0 0;color:#68758b;font-size:.74rem}
.dd-batch-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}

.dd-secondary-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-top:16px}
.dd-info-card{padding:20px}
.dd-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.dd-upcoming-list,.dd-attention-list{display:grid;gap:10px}
.dd-upcoming-item,.dd-attention-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #e7ebf1;border-radius:12px;background:#fafbfc}
.dd-upcoming-main,.dd-attention-main{display:grid;gap:4px}
.dd-upcoming-main strong,.dd-attention-main strong{font-size:.82rem}
.dd-upcoming-main span,.dd-attention-main span{color:#68758b;font-size:.72rem;line-height:1.4}
.dd-upcoming-amount{text-align:right;white-space:nowrap}
.dd-upcoming-amount strong{display:block;font-size:.84rem}
.dd-upcoming-amount span{color:#68758b;font-size:.7rem}
.dd-attention-item button{flex:0 0 auto}
.dd-empty-message{padding:18px;border:1px dashed #ccd4df;border-radius:12px;color:#68758b;text-align:center;font-size:.8rem}

.dd-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px}
.dd-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(13,21,36,.58);cursor:default}
.dd-modal-panel{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100vh - 44px);overflow:auto;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(13,21,36,.3)}
.dd-modal-heading{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e5e9ef;background:#fff;border-radius:20px 20px 0 0}
.dd-icon-button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#edf1f7;color:#172033;font-size:1.4rem;cursor:pointer}
.dd-modal-content{padding:20px 22px}
.dd-modal-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.dd-modal-summary p{margin:5px 0 0;color:#68758b;font-size:.8rem}
.dd-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dd-detail-card{padding:14px;border:1px solid #e5e9ef;border-radius:13px;background:#fafbfc}
.dd-detail-card span{display:block;color:#68758b;font-size:.7rem;font-weight:700}
.dd-detail-card strong{display:block;margin-top:5px;font-size:.84rem;overflow-wrap:anywhere}
.dd-detail-card.full{grid-column:1/-1}
.dd-modal-section{margin-top:18px}
.dd-modal-section h3{margin:0 0 10px;font-family:Fredoka,Inter,sans-serif;font-size:1rem;font-weight:500}
.dd-history-list{display:grid;gap:8px}
.dd-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e7ebf1;border-radius:10px}
.dd-history-item span{color:#68758b;font-size:.75rem}
.dd-history-item strong{font-size:.78rem}
.dd-modal-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:16px 22px;border-top:1px solid #e5e9ef;background:#fafbfc;border-radius:0 0 20px 20px}
body.dd-modal-open{overflow:hidden}

.dd-order-panel{margin-top:18px;padding:18px;border:1px solid #e4e8ef;border-radius:14px;background:#fafbfc}
.dd-order-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.dd-order-panel-heading p:last-child{max-width:700px;margin:5px 0 0;color:#68758b;font-size:.8rem;line-height:1.5}
.dd-order-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.dd-order-summary-grid>div,.dd-order-reference-row>div{padding:12px;border:1px solid #e5e9ef;border-radius:11px;background:#fff}
.dd-order-summary-grid span,.dd-order-reference-row span{display:block;color:#68758b;font-size:.68rem;font-weight:700}
.dd-order-summary-grid strong,.dd-order-reference-row strong{display:block;margin-top:4px;font-size:.78rem;overflow-wrap:anywhere}
.dd-order-reference-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.dd-order-panel-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.dd-preview-note{color:#8a6172;font-size:.72rem;font-weight:700}

@media(max-width:1180px){
  .topbar{flex-wrap:wrap;gap:12px}
  .portal-section-nav{order:3;width:100%;justify-content:center}
  .dd-portal-view{min-height:calc(100vh - 134px)}
  .dd-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .dd-page-heading,.dd-batch-heading,.dd-batch-footer{align-items:stretch;flex-direction:column}
  .dd-page-heading-actions,.dd-batch-actions{justify-content:flex-start}
  .dd-batch-totals{text-align:left}
  .dd-toolbar{grid-template-columns:1fr 1fr}
  .dd-toolbar-search{grid-column:1/-1;justify-self:stretch;width:100%}
  .dd-secondary-grid{grid-template-columns:1fr}
  .dd-order-summary-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .topbar{padding:14px}
  .topbar-actions{gap:8px}
  .save-state{display:none}
  .portal-section-nav{justify-content:stretch;overflow-x:auto}
  .portal-section-button{flex:1}
  .dd-portal-view{padding:14px}
  .dd-page-heading h2{font-size:1.5rem}
  .dd-page-heading-actions .button,.dd-page-heading-actions .dd-preview-chip{width:100%;justify-content:center}
  .dd-summary-cards{grid-template-columns:1fr 1fr;gap:10px}
  .dd-summary-card{padding:14px}
  .dd-summary-card strong{font-size:1.25rem}
  .dd-toolbar{grid-template-columns:1fr;padding:14px}
  .dd-toolbar-search{grid-column:auto}
  .dd-validation-banner{margin:14px 14px 0}
  .dd-batch-heading,.dd-batch-footer{padding:18px}
  .dd-batch-actions .button{width:100%}
  .dd-upcoming-item,.dd-attention-item,.dd-modal-summary{align-items:flex-start;flex-direction:column}
  .dd-upcoming-amount{text-align:left}
  .dd-detail-grid,.dd-order-summary-grid,.dd-order-reference-row{grid-template-columns:1fr}
  .dd-detail-card.full{grid-column:auto}
  .dd-modal{padding:10px}
  .dd-modal-panel{max-height:calc(100vh - 20px);border-radius:16px}
  .dd-modal-footer{align-items:stretch;flex-direction:column}
  .dd-modal-footer .button{width:100%}
}
@media(max-width:430px){
  .dd-summary-cards{grid-template-columns:1fr}
  .portal-section-button{padding-inline:10px}
}
/* ===== END TSW DIRECT DEBIT FRONTEND V1 ===== */

/* Direct online operational identification */
.workspace-status-stack{display:grid;justify-items:end;gap:8px}
.direct-online-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#e8f5ee;color:#146c43;font-size:.72rem;font-weight:800;white-space:nowrap}
.direct-online-badge-compact{margin-left:6px;padding:3px 7px;font-size:.65rem}
.direct-order-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 16px;padding:12px 14px;border:1px solid #dbe9e1;border-radius:14px;background:#fbfefc}
.direct-order-meta>div{display:grid;gap:3px}
.direct-order-meta span{font-size:.7rem;color:#68758b}
.direct-order-meta strong{font-size:.82rem;color:#172033}
@media(max-width:700px){.workspace-status-stack{justify-items:start}.order-header{align-items:flex-start;gap:12px;flex-direction:column}.direct-order-meta{grid-template-columns:repeat(2,minmax(0,1fr)}}
/* Enquiries workspace */
.enquiries-page{padding:28px;min-height:calc(100vh - 76px);background:#f5f7fb}.enquiries-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;max-width:1500px;margin:0 auto 22px}.enquiries-heading h2{margin:4px 0 6px;font-size:30px}.enquiries-heading p{margin:0;color:#5d6475}.enquiries-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px;max-width:1500px;margin:0 auto}.enquiries-list-panel,.enquiries-workspace{background:#fff;border:1px solid #e1e5ee;border-radius:18px;box-shadow:0 10px 28px rgba(16,21,66,.06)}.enquiries-list-panel>.filters{padding:14px}.enquiries-list-panel>.filters>*{width:100%;margin-bottom:8px}.enquiries-list-panel>.filters>*:last-child{margin-bottom:0}.enquiries-workspace{padding:22px;min-height:620px}.enquiry-card{margin:10px;padding:0;border:1px solid #e4e7ef;border-radius:14px;overflow:hidden}.enquiry-card button{width:100%;padding:14px;border:0;background:#fff;text-align:left}.enquiry-card button:hover{background:#fff7fb}.enquiry-card strong,.enquiry-card span,.enquiry-card small{display:block}.enquiry-card span,.enquiry-card small{margin-top:4px;color:#62697a}.enquiries-form-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.enquiry-timeline-panel{margin-top:24px;padding-top:20px;border-top:1px solid #e5e8ef}.enquiry-note-composer{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}@media(max-width:1100px){.enquiries-layout{grid-template-columns:1fr}}@media(max-width:720px){.enquiries-page{padding:18px 12px}.enquiries-heading,.enquiries-form-heading{flex-direction:column}.enquiry-note-composer{grid-template-columns:1fr}}
.archived-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1500px;margin:0 auto}.archived-record{padding:16px;background:#fff;border:1px solid #e1e5ee;border-radius:14px}.archive-dialog{width:min(520px,calc(100vw - 32px));padding:0;border:0;border-radius:18px}.archive-dialog::backdrop{background:rgba(11,15,40,.55)}.archive-dialog form{display:grid;gap:14px;padding:24px}.archive-dialog label{display:grid;gap:7px;font-weight:600}@media(max-width:720px){.archived-records{grid-template-columns:1fr}}
/* Operational queues: match the established Orders split workspace. */
#enquiriesPortalView.operational-page{padding:0;min-height:calc(100vh - 82px);background:#f4f6fa}
#enquiriesPortalView .operational-page-heading{max-width:none;margin:0;padding:20px 24px;background:#fff;border-bottom:1px solid #e3e8f0}
#enquiriesPortalView .operational-page-heading h2{font-size:1.18rem}
#enquiriesPortalView .enquiry-layout{max-width:none;min-height:calc(100vh - 190px);margin:0;gap:0;grid-template-columns:330px minmax(0,1fr)}
#enquiriesPortalView .operational-list-panel{min-width:0;border:0;border-right:1px solid #e3e8f0;border-radius:0;box-shadow:none;background:#fff}
#enquiriesPortalView .operational-list-panel>.filters{display:grid;gap:10px;padding:16px;border-bottom:1px solid #e9edf3}
#enquiriesPortalView .operational-list-panel>.filters input,#enquiriesPortalView .operational-list-panel>.filters select{width:100%;margin:0}
#enquiriesPortalView .operational-card-list{gap:0;max-height:calc(100vh - 286px);padding:0}
#enquiriesPortalView .operational-card{position:relative;padding:16px 18px;border:0;border-bottom:1px solid #e7ebf1;border-radius:0;box-shadow:none}
#enquiriesPortalView .operational-card:hover{border-color:transparent;border-bottom-color:#e7ebf1;background:#fff8fc;box-shadow:inset 3px 0 0 #e91e78}
#enquiriesPortalView .operational-card h4{font-size:.92rem}
#enquiriesPortalView .operational-card strong{color:#53617a;font-size:.72rem}
#enquiriesPortalView .operational-card p{color:#66738a;font-size:.74rem;line-height:1.45}
#enquiriesPortalView .operational-card-actions{margin-top:12px}
#enquiriesPortalView .enquiry-workspace{min-width:0;min-height:0;padding:22px;border:0;border-radius:0;box-shadow:none;background:#f4f6fa}
#enquiriesPortalView #enquiryEmptyState{min-height:610px;border:1px solid #e1e6ee;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(16,21,66,.06)}
#enquiriesPortalView #enquiryForm{padding:24px;border:1px solid #e1e6ee;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(16,21,66,.06)}
#archivedPortalView.operational-page{padding:28px;background:#f4f6fa}
#archivedPortalView .operational-page-heading{align-items:center;margin-bottom:18px}
#archivedPortalView .operational-page-heading input{width:min(360px,100%)}
#archivedPortalView .archived-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#archivedPortalView .archived-record{display:grid;align-content:start;gap:6px;min-height:158px;padding:18px;border:1px solid #e1e6ee;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(16,21,66,.05)}
#archivedPortalView .archived-record strong{color:#172033;font-size:.9rem}
#archivedPortalView .archived-record p{margin:0;color:#66738a;font-size:.78rem;line-height:1.45}
#archivedPortalView .archived-record .button{justify-self:start;margin-top:auto}
@media(max-width:900px){#enquiriesPortalView .enquiry-layout{grid-template-columns:1fr}#enquiriesPortalView .operational-list-panel{border-right:0;border-bottom:1px solid #e3e8f0}#enquiriesPortalView .operational-card-list{max-height:none}#archivedPortalView .archived-grid{grid-template-columns:1fr}}
@media(max-width:650px){#enquiriesPortalView .operational-page-heading,#archivedPortalView .operational-page-heading{align-items:stretch;flex-direction:column;padding:16px}#enquiriesPortalView .operational-page-heading .button{width:100%}#enquiriesPortalView .enquiry-workspace{padding:14px}#enquiriesPortalView #enquiryForm{padding:16px}#archivedPortalView.operational-page{padding:16px}}

/* Operational workspace patterns retained from the approved 79335571 experience. */
.operational-page{padding:28px;min-height:calc(100vh - 76px);background:#f5f7fb}.operational-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 auto 22px;max-width:1500px}.operational-page-heading h2{margin:4px 0 6px;font-size:30px}.operational-page-heading p{margin:0;color:#5d6475}.operational-list-panel,.enquiry-workspace{background:#fff;border:1px solid #e1e5ee;border-radius:18px;box-shadow:0 10px 28px rgba(16,21,66,.06);overflow:hidden}.enquiry-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px;max-width:1500px;margin:0 auto}.enquiry-layout .operational-list-panel>.filters{padding:14px}.operational-card-list{display:flex;flex-direction:column;gap:10px;padding:12px;max-height:calc(100vh - 220px);overflow:auto}.operational-card{width:100%;padding:14px;text-align:left;border:1px solid #e4e7ef;border-radius:14px;background:#fff;color:#11152f}.operational-card:hover{border-color:#e81e77;box-shadow:0 6px 16px rgba(232,30,119,.09)}.operational-card.is-overdue{border-color:#e5a2a2;background:#fff8f8}.operational-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.operational-card h4{margin:0 0 5px;font-size:15px}.operational-card p{margin:3px 0;color:#62697a;font-size:13px}.priority-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#11152f;color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em}.priority-badge.is-overdue{background:#b92323}.operational-card-actions{display:flex;gap:8px;margin-top:10px}.button-small{min-height:32px!important;padding:6px 10px!important;font-size:12px!important}.enquiry-workspace{padding:22px;min-height:620px}.enquiry-form-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.enquiry-form-heading h2{margin:4px 0}.enquiry-fields{margin-bottom:16px}.archived-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1500px;margin:0 auto}@media(max-width:1100px){.enquiry-layout{grid-template-columns:1fr}.operational-card-list{max-height:none}.archived-grid{grid-template-columns:1fr}}@media(max-width:720px){.operational-page{padding:18px 12px}.operational-page-heading,.enquiry-form-heading{flex-direction:column}}

.attention-page{max-width:1500px;margin:0 auto}.attention-key{align-self:center;color:#69758a;font-size:.78rem}.attention-list{display:grid;gap:0;overflow:hidden;border:1px solid #e0e6ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,21,66,.05)}.attention-item{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:center;gap:18px;padding:17px 20px;border:0;border-bottom:1px solid #e7ebf1;border-left:4px solid transparent;background:#fff}.attention-item:last-child{border-bottom:0}.attention-item:hover{border-left-color:#e81e77;background:#fff8fc}.attention-item-heading{display:flex;gap:8px;align-items:center;margin-bottom:7px}.attention-type,.attention-status{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:.61rem;font-weight:800;letter-spacing:.06em}.attention-type{background:#ffe8f2;color:#a31356}.attention-status{background:#eef2f7;color:#566176}.attention-item h3{margin:0 0 4px;font-size:.95rem;color:#172033}.attention-item p{margin:0;color:#66738a;font-size:.78rem}.attention-item-date{display:grid;gap:3px;color:#49576b;font-size:.76rem}.attention-item-date span{color:#9d315c;font-size:.72rem}.attention-empty{padding:28px;border:1px dashed #cbd4e0;border-radius:14px;background:#fff;color:#66738a;text-align:center}@media(max-width:720px){.attention-item{grid-template-columns:1fr;gap:10px}.attention-item .button{justify-self:start}.attention-key{align-self:flex-start}}
