﻿:root{
  --repair-v2-bg:#f4f7fa;
  --repair-v2-card:#fff;
  --repair-v2-line:#e7edf3;
  --repair-v2-text:#102033;
  --repair-v2-muted:#718096;
  --repair-v2-teal:#0b9a87;
  --repair-v2-blue:#2777dc;
  --repair-v2-orange:#f59e0b;
  --repair-v2-red:#ef4444;
  --repair-v2-shadow:0 8px 26px rgba(15,23,42,.06);
}

body.repair-v2-preview-mode,
body.repair-v2-page-mode{
  background:var(--repair-v2-bg);
}

body.repair-v2-preview-mode main,
body.repair-v2-page-mode main{
  background:var(--repair-v2-bg);
  overflow:visible;
}

body.repair-v2-preview-mode main > .topbar,
body.repair-v2-page-mode main > .topbar,
body.repair-v2-preview-mode .mobile-nav,
body.repair-v2-preview-mode #toast,
body.repair-v2-preview-mode .offline-banner,
body.repair-v2-preview-mode .pwa-install-card{
  display:none!important;
}

.repair-order-detail-preview-page,
.repair-order-detail-page{
  display:none;
  color:var(--repair-v2-text);
}

.repair-order-detail-preview-page.active,
.repair-order-detail-page.active{
  display:block;
}

#repair-order-detail-preview-root,
#repair-order-detail-root,
.repair-v2-page,
.repair-v2-card,
.repair-v2-section,
.repair-v2-side-section{
  min-width:0;
}

.repair-v2-page{
  max-width:1480px;
  margin:0 auto;
  padding:22px 24px 28px;
}

.repair-v2-page button{
  font:inherit;
  cursor:pointer;
}

.repair-v2-page a{
  color:var(--repair-v2-teal);
  text-decoration:none;
}

.repair-v2-qr-payload{
  margin-top:5px;
  color:var(--repair-v2-muted);
  font-size:12px;
  word-break:break-all;
}

.repair-v2-unit-code{
  display:block;
  margin-top:4px;
  color:var(--repair-v2-muted);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:11px;
}

.repair-v2-material-status{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid var(--repair-v2-line);
  border-radius:10px;
  background:#f8fafc;
}

.repair-v2-material-status span,
.repair-v2-material-status strong{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  font-size:12px;
  line-height:1.2;
}

.repair-v2-material-status span{
  background:#fff;
  color:var(--repair-v2-muted);
  font-weight:800;
}

.repair-v2-material-status strong{
  background:#ecfdf5;
  color:#047857;
}

.repair-v2-loading,
.repair-v2-error{
  max-width:720px;
  margin:80px auto;
  padding:28px;
  background:#fff;
  border:1px solid var(--repair-v2-line);
  border-radius:14px;
  box-shadow:var(--repair-v2-shadow);
  color:var(--repair-v2-text);
}

.repair-v2-error p{color:var(--repair-v2-muted)}

.repair-v2-page-topbar{
  min-height:44px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.repair-v2-branch,
.repair-v2-secondary-actions button{
  min-height:38px;
  border:1px solid var(--repair-v2-line);
  background:#fff;
  border-radius:8px;
  color:#334155;
  padding:0 14px;
  font-weight:700;
}

.repair-v2-bell{
  position:relative;
  width:38px;
  height:38px;
  border:1px solid var(--repair-v2-line);
  background:#fff;
  border-radius:10px;
}

.repair-v2-bell i{
  position:absolute;
  right:3px;
  top:2px;
  min-width:17px;
  height:17px;
  border-radius:999px;
  background:#f43f5e;
  color:#fff;
  font-size:10px;
  font-style:normal;
  line-height:17px;
}

.repair-v2-user{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--repair-v2-line);
  padding:6px 10px;
  border-radius:12px;
  background:#fff;
}

.repair-v2-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#ccfbf1,#dbeafe);
  color:#0f766e;
  font-size:12px;
  font-weight:900;
}

.repair-v2-user strong{display:block;font-size:13px}
.repair-v2-user span{display:block;color:var(--repair-v2-muted);font-size:11px}

.repair-v2-header,
.repair-v2-order-head{
  display:flex;
  justify-content:space-between;
  gap:22px;
  margin-bottom:18px;
}

.repair-v2-breadcrumb{
  font-size:13px;
  color:#64748b;
  font-weight:800;
  margin-bottom:14px;
}

.repair-v2-breadcrumb span{padding:0 7px;color:#94a3b8}

.repair-v2-title-line{
  display:flex;
  align-items:center;
  gap:10px;
}

.repair-v2-title-line h1{
  margin:0;
  font-size:29px;
  letter-spacing:-.035em;
  color:#0f172a;
}

.repair-v2-copy{
  border:0;
  background:#eef6f4;
  color:var(--repair-v2-teal);
  width:30px;
  height:30px;
  border-radius:8px;
}

.repair-v2-meta{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-top:14px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}

.repair-v2-actions{
  display:grid;
  gap:14px;
  justify-items:end;
  align-content:start;
}

.repair-v2-secondary-actions,
.repair-v2-primary-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.repair-v2-primary-actions button{
  min-height:46px;
  min-width:138px;
  border:0;
  border-radius:9px;
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 22px rgba(15,23,42,.08);
}

.repair-v2-primary-actions .done{background:linear-gradient(135deg,#0ea58e,#087866)}
.repair-v2-primary-actions .pay{background:linear-gradient(135deg,#3182ee,#1d64c8)}
.repair-v2-primary-actions .pickup{background:linear-gradient(135deg,#f6a51a,#e48805)}

.repair-v2-info-grid{
  display:grid;
  grid-template-columns:1.05fr 1.2fr 1.45fr 1.25fr;
  gap:16px;
  margin-bottom:16px;
  align-items:stretch;
}

.repair-v2-card{
  background:var(--repair-v2-card);
  border:1px solid var(--repair-v2-line);
  border-radius:10px;
  box-shadow:var(--repair-v2-shadow);
  padding:18px;
}

.repair-v2-card h2{
  font-size:15px;
  margin:0 0 16px;
  color:#223047;
  letter-spacing:.02em;
}

.repair-v2-customer-name{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.repair-v2-customer-name strong{font-size:20px}

.repair-v2-person-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #8ba0b6;
  color:#64748b;
}

.repair-v2-field-list,
.repair-v2-status-list{
  margin:0;
  display:grid;
  gap:11px;
}

.repair-v2-field-list div,
.repair-v2-status-list div{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:10px;
  align-items:start;
}

.repair-v2-field-list.compact div{grid-template-columns:90px minmax(0,1fr)}

.repair-v2-field-list dt,
.repair-v2-status-list dt{
  color:#64748b;
  font-size:13px;
  font-weight:800;
}

.repair-v2-field-list dd,
.repair-v2-status-list dd{
  margin:0;
  font-size:14px;
  font-weight:800;
  color:#1e293b;
  overflow-wrap:anywhere;
}

.repair-v2-device-media{
  display:grid;
  grid-template-columns:108px minmax(0,1fr);
  gap:16px;
  align-items:center;
  margin-bottom:14px;
}

.repair-v2-device-photo{
  width:108px;
  height:86px;
  border-radius:9px;
  background:linear-gradient(135deg,#dbeafe,#f8fafc);
  display:grid;
  place-items:center;
  overflow:hidden;
  position:relative;
}

.repair-v2-device-photo:before{
  content:"";
  width:70px;
  height:48px;
  border-radius:7px;
  background:linear-gradient(135deg,#1e293b,#64748b 55%,#bae6fd);
  box-shadow:0 12px 24px rgba(15,23,42,.18);
  transform:perspective(120px) rotateY(-14deg);
}

.repair-v2-device-photo span{
  position:absolute;
  width:52px;
  height:6px;
  bottom:13px;
  border-radius:999px;
  background:#94a3b8;
}

.repair-v2-device-media strong{
  font-size:18px;
  display:block;
  margin-bottom:8px;
}

.repair-v2-device-media span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:700;
  margin-top:4px;
}

.repair-v2-stack{display:grid;gap:16px}
.repair-v2-card.text-card{min-height:130px}
.repair-v2-card.text-card p{margin:0;color:#334155;line-height:1.8;font-weight:700}

.pill{
  display:inline-flex;
  border-radius:8px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
}

.pill.green{background:#dff8ee;color:#087866}
.pill.orange{background:#fff3d6;color:#b76a00}
.pill.blue{background:#e4efff;color:#1d64c8}

.repair-v2-status-list div{
  grid-template-columns:86px minmax(0,1fr);
  border-bottom:1px solid #eef2f7;
  padding-bottom:9px;
}

.repair-v2-status-list div:last-child{border-bottom:0}
.repair-v2-status-list dd{text-align:right}
.repair-v2-status-list .profit dd{color:var(--repair-v2-teal);font-size:18px}
.repair-v2-status-list .credit{color:#00897b;font-weight:950}

.repair-v2-payment-panel{
  margin:0 0 16px;
  border:1px solid #b6e6dc;
  background:#f1fffb;
  border-radius:12px;
  padding:16px;
  display:grid;
  grid-template-columns:1.3fr repeat(3,minmax(120px,1fr));
  gap:12px;
  align-items:end;
}

.repair-v2-payment-panel h3{margin:0 0 6px;font-size:18px;color:#0f172a}
.repair-v2-payment-panel p{margin:0;color:#64748b;font-size:13px;font-weight:700;line-height:1.5}
.repair-v2-payment-panel label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:900}
.repair-v2-payment-panel input,
.repair-v2-payment-panel select{
  border:1px solid #dbe4ef;
  border-radius:10px;
  background:#fff;
  min-height:42px;
  padding:0 12px;
  font-size:15px;
  font-weight:800;
  color:#0f172a;
}
.repair-v2-payment-panel .wide{grid-column:span 2}
.repair-v2-payment-actions{display:flex;gap:8px;justify-content:flex-end}
.repair-v2-payment-actions button{border:1px solid #dbe4ef;background:#fff;color:#334155}
.repair-v2-payment-actions .primary{background:#0f9d8f;color:#fff;border-color:#0f9d8f}
.repair-v2-payment-actions button:disabled{opacity:.6;cursor:not-allowed}
.repair-v2-payment-error{grid-column:1/-1;color:#dc2626!important;font-weight:900!important}

.repair-v2-action-panel{
  margin:0 0 16px;
  border:1px solid #b6e6dc;
  background:#f7fffc;
  border-radius:12px;
  padding:16px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.repair-v2-action-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px solid #d9f3ed;
  padding-bottom:12px;
  margin-bottom:14px;
}

.repair-v2-action-panel-head strong{
  display:block;
  font-size:18px;
  color:#0f172a;
}

.repair-v2-action-panel-head p{
  margin:4px 0 0;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}

.repair-v2-action-panel button,
.repair-v2-form-actions button{
  min-height:38px;
  border:1px solid #dbe4ef;
  border-radius:9px;
  background:#fff;
  color:#334155;
  padding:0 14px;
  font-weight:900;
}

.repair-v2-action-panel .primary,
.repair-v2-form-actions .primary{
  border-color:var(--repair-v2-teal);
  background:var(--repair-v2-teal);
  color:#fff;
}

.repair-v2-action-panel .danger,
.repair-v2-form-actions .danger{
  border-color:#fecaca;
  background:#fff5f5;
  color:#dc2626;
}

.repair-v2-action-panel button:disabled,
.repair-v2-page button:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.repair-v2-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.repair-v2-form-grid label{
  display:grid;
  gap:6px;
  color:#334155;
  font-size:13px;
  font-weight:900;
}

.repair-v2-form-grid input,
.repair-v2-form-grid select,
.repair-v2-form-grid textarea{
  border:1px solid #dbe4ef;
  border-radius:10px;
  background:#fff;
  min-height:42px;
  padding:9px 12px;
  font-size:15px;
  font-weight:800;
  color:#0f172a;
}

.repair-v2-form-grid textarea{
  min-height:92px;
  resize:vertical;
  line-height:1.55;
}

.repair-v2-form-grid .wide,
.repair-v2-action-panel .wide{grid-column:1/-1}

.repair-v2-form-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.repair-v2-action-error{
  color:#dc2626;
  font-weight:900;
  margin:10px 0 0;
}

.repair-v2-upload-preview,
.repair-v2-inline-result,
.repair-v2-search-results{
  border:1px dashed #b6c6d8;
  border-radius:10px;
  background:#fff;
  padding:12px;
  color:#475569;
  font-weight:800;
}

.repair-v2-upload-preview span{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-top:4px;
}

.repair-v2-mini-table{
  overflow:auto;
  margin-top:10px;
}

.repair-v2-mini-table table{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}

.repair-v2-mini-table th,
.repair-v2-mini-table td{
  padding:8px 9px;
  border-bottom:1px solid #e8eef5;
  text-align:left;
  white-space:nowrap;
}

.repair-v2-more-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.repair-v2-search-results{
  display:grid;
  gap:8px;
  max-height:320px;
  overflow:auto;
}

.repair-v2-search-result{
  text-align:left;
  display:grid;
  gap:5px;
  padding:11px 12px!important;
}

.repair-v2-search-result strong{color:#0f172a}
.repair-v2-search-result span{color:#64748b;font-size:12px}
.repair-v2-search-result.selected{
  border-color:var(--repair-v2-teal);
  background:#ecfdf5;
}

.repair-v2-list-link{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #e8eef5;
  font-weight:900;
}

.repair-v2-list-link span{color:#64748b;font-size:12px}
.repair-v2-empty{margin:0;color:#64748b;font-weight:800}
.repair-v2-branch-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}

.repair-v2-exception{
  min-height:54px;
  margin-bottom:14px;
  border:1px solid #fed7aa;
  background:#fff7ed;
  color:#9a3412;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  font-weight:800;
}

.repair-v2-exception button{
  border:1px solid #fdba74;
  background:#fff;
  color:#c2410c;
  border-radius:8px;
  min-height:34px;
  padding:0 14px;
  font-weight:900;
}

.repair-v2-tabs{
  display:flex;
  gap:44px;
  border-bottom:1px solid var(--repair-v2-line);
  margin:18px 0 16px;
}

.repair-v2-tabs button{
  border:0;
  background:transparent;
  color:#64748b;
  padding:14px 0 15px;
  font-weight:900;
  position:relative;
  white-space:nowrap;
}

.repair-v2-tabs button.active{color:var(--repair-v2-teal)}
.repair-v2-tabs button.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  background:var(--repair-v2-teal);
  border-radius:99px;
}

.repair-v2-content-grid{
  display:grid;
  grid-template-columns:minmax(0,2.05fr) minmax(300px,.95fr);
  gap:16px;
  align-items:start;
}

.repair-v2-left-col,
.repair-v2-right-col{
  display:grid;
  gap:16px;
}

.repair-v2-section,
.repair-v2-side-section{padding:18px}

.repair-v2-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.repair-v2-section-head h2{margin:0;font-size:16px}

.repair-v2-section-head button,
.repair-v2-table-foot button,
.repair-v2-mini-action,
.repair-v2-center-btn{
  min-height:34px;
  border:1px solid var(--repair-v2-line);
  background:#fff;
  border-radius:8px;
  padding:0 12px;
  font-weight:850;
  color:#334155;
}

.repair-v2-table,
.repair-v2-file-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.repair-v2-table th,
.repair-v2-file-table th{
  background:#f8fafc;
  color:#64748b;
  text-align:left;
  padding:11px 10px;
  border-bottom:1px solid var(--repair-v2-line);
  white-space:nowrap;
}

.repair-v2-table td,
.repair-v2-file-table td{
  padding:12px 10px;
  border-bottom:1px solid #edf2f7;
  color:#334155;
  font-weight:700;
  vertical-align:middle;
}

.repair-v2-table .source{
  background:#dbf8ef;
  color:#078264;
  border-radius:6px;
  padding:4px 9px;
  font-weight:900;
}

.row-icon{
  border:0;
  background:#f8fafc;
  color:#64748b;
  border-radius:7px;
  min-width:28px;
  height:28px;
  padding:0 9px;
  white-space:nowrap;
  font-weight:900;
}

.row-icon.danger{color:#ef4444}

.repair-v2-table-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:14px;
}

.repair-v2-table-foot div{display:flex;gap:8px}
.repair-v2-table-foot strong{font-size:16px}
.repair-v2-mini-action{margin-top:14px}

.repair-v2-timeline{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:18px;
}

.repair-v2-timeline li{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:18px;
  position:relative;
}

.repair-v2-timeline li:before{
  content:"";
  position:absolute;
  left:145px;
  top:6px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#2f80ed;
  box-shadow:0 0 0 4px #e8f2ff;
}

.repair-v2-timeline li:not(:last-child):after{
  content:"";
  position:absolute;
  left:149px;
  top:20px;
  bottom:-20px;
  width:1px;
  background:#d8e2ed;
}

.repair-v2-timeline time{
  color:#64748b;
  font-size:13px;
  font-weight:800;
  text-align:right;
}

.repair-v2-timeline strong{display:block;margin-bottom:6px}
.repair-v2-timeline p{margin:0;color:#475569;line-height:1.65;font-weight:700}

.repair-v2-timeline-photos{display:flex;gap:8px;margin-top:9px}
.repair-v2-timeline-photos span{
  width:72px;
  height:48px;
  border-radius:7px;
  display:block;
  background:linear-gradient(135deg,rgba(15,23,42,.22),transparent 55%),linear-gradient(135deg,#dbeafe,#f1f5f9 46%,#334155);
  border:1px solid #e2e8f0;
}

.repair-v2-device-photo img,
.repair-v2-photo-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:2;
}

.repair-v2-device-photo:has(img):before,
.repair-v2-photo-thumb:has(img):after{
  display:none;
}

.repair-v2-photo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.repair-v2-photo-grid figure{margin:0}

.repair-v2-photo-thumb{
  width:100%;
  height:112px;
  border-radius:9px;
  background:#e2e8f0;
  border:1px solid #e2e8f0;
  position:relative;
  overflow:hidden;
}

.repair-v2-photo-thumb:after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:10px;
  background:rgba(255,255,255,.45);
  border:1px solid rgba(255,255,255,.75);
}

.repair-v2-photo-a{background:linear-gradient(135deg,#0f172a,#64748b 45%,#f8fafc 46%,#e0f2fe)}
.repair-v2-photo-b{background:linear-gradient(135deg,#111827,#334155 35%,#22c55e 36%,#0f172a 72%,#cbd5e1)}
.repair-v2-photo-c{background:linear-gradient(135deg,#334155,#94a3b8 38%,#0f766e 39%,#f8fafc 70%)}
.repair-v2-photo-d{background:linear-gradient(135deg,#0f172a,#111827 40%,#64748b 41%,#e2e8f0)}

.repair-v2-photo-grid figcaption{
  font-size:12px;
  font-weight:800;
  color:#334155;
  margin-top:6px;
}

.repair-v2-center-btn{
  display:block;
  margin:14px auto 0;
}

.repair-v2-side-section p{
  margin:0;
  color:#334155;
  font-weight:700;
  line-height:1.7;
}

.repair-v2-file-table th,
.repair-v2-file-table td{
  font-size:12px;
  padding:10px 7px;
}

.repair-v2-footer{
  display:flex;
  justify-content:space-between;
  color:#94a3b8;
  font-size:12px;
  font-weight:700;
  margin-top:18px;
}

.repair-v2-material-sku,
.repair-v2-material-location,
.repair-v2-material-time{
  display:block;
  margin-top:4px;
  color:var(--repair-v2-muted);
  font-size:11px;
  line-height:1.35;
}

.repair-v2-material-quality{
  display:block;
  color:#0f172a;
  font-size:12px;
  line-height:1.45;
}

.repair-v2-return-pending{
  display:inline-flex;
  margin:0 5px 5px 0;
  border-radius:999px;
  background:#fff7ed;
  color:#c2410c;
  padding:5px 8px;
  font-size:11px;
  font-weight:900;
}

body.repair-v2-modal-open{overflow:hidden}

.repair-v2-operation-modal{
  position:fixed;
  inset:0;
  z-index:10020;
  display:grid;
  place-items:center;
  padding:18px;
}

.repair-v2-operation-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.66);
}

.repair-v2-operation-dialog{
  position:relative;
  width:min(720px,100%);
  max-height:calc(100dvh - 36px);
  overflow:auto;
  border:1px solid #dbe5ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.28);
}

.repair-v2-operation-dialog>header{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px 16px;
  border-bottom:1px solid #e2e8f0;
  background:#fff;
}

.repair-v2-operation-dialog>header strong{display:block;color:#0f172a;font-size:22px}
.repair-v2-operation-dialog>header p{margin:5px 0 0;color:#64748b;font-size:12px;font-weight:700;line-height:1.5}
.repair-v2-operation-dialog>header button{width:36px;height:36px;border:0;border-radius:8px;background:#f1f5f9;color:#475569;font-size:25px;line-height:1}
.repair-v2-operation-body{padding:20px 22px 22px}

.repair-v2-return-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin:0 0 18px;
  border:1px solid #dce7ef;
  border-radius:10px;
  overflow:hidden;
}

.repair-v2-return-summary div{padding:10px 12px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.repair-v2-return-summary div:nth-child(even){border-right:0}
.repair-v2-return-summary .wide{grid-column:1/-1;border-right:0;border-bottom:0}
.repair-v2-return-summary dt{color:#64748b;font-size:11px;font-weight:900}
.repair-v2-return-summary dd{margin:4px 0 0;color:#0f172a;font-size:14px;font-weight:900;word-break:break-word}
.repair-v2-return-summary .code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

.repair-v2-return-reason{margin:0 0 18px;padding:12px 14px;border-left:4px solid #0f9484;background:#f0fdfa}
.repair-v2-return-reason strong{color:#0f766e;font-size:12px}
.repair-v2-return-reason p{margin:5px 0;color:#0f172a;font-weight:900}
.repair-v2-return-reason small{color:#64748b}

.repair-v2-return-form{display:grid;gap:14px}
.repair-v2-return-form label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:900}
.repair-v2-return-form input,
.repair-v2-return-form select,
.repair-v2-return-form textarea{width:100%;min-height:44px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;padding:10px 12px;color:#0f172a;font:inherit;box-sizing:border-box}
.repair-v2-return-form textarea{min-height:78px;resize:vertical}
.repair-v2-return-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.repair-v2-scan-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.repair-v2-scan-input button{min-width:110px;border:1px solid #99f6e4;border-radius:9px;background:#ecfdf5;color:#047b6f;font-weight:900}
.repair-v2-return-scan-status{margin:-5px 0 0;color:#64748b;font-size:12px;font-weight:700}
.repair-v2-return-reader{min-height:250px;border:1px solid #cbd8e6;border-radius:10px;overflow:hidden;background:#0f172a}
.repair-v2-return-error{min-height:18px;margin:0;color:#b91c1c;font-size:13px;font-weight:900}
.repair-v2-return-form footer{display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid #e2e8f0}
.repair-v2-return-form footer button{min-height:42px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;padding:0 16px;color:#334155;font-weight:900}
.repair-v2-return-form footer .primary{border-color:#0f9484;background:#0f9484;color:#fff}
.repair-v2-return-form footer .danger{border-color:#fecaca;background:#fff5f5;color:#b91c1c}

/* Repair participants, damage review and bonus allocation */
.repair-ops-dialog.is-wide{width:min(980px,100%)}
.repair-ops-section{padding:15px 0;border-top:1px solid #e2e8f0}
.repair-ops-section:first-child{padding-top:0;border-top:0}
.repair-ops-section:last-child{padding-bottom:0}
.repair-ops-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.repair-ops-section-head h3,
.repair-ops-agreements h3,
.repair-ops-entry-list h3{margin:0;color:#0f172a;font-size:15px}
.repair-ops-section-head>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.repair-ops-section-head button,
.repair-ops-load-error button{min-height:34px;border:1px solid #99f6e4;border-radius:8px;background:#ecfdf5;padding:0 11px;color:#047b6f;font-size:12px;font-weight:900}
.repair-ops-chip-list{display:flex;flex-wrap:wrap;gap:8px}
.repair-ops-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa;padding:7px 9px;color:#334155;font-size:12px}
.repair-ops-chip strong{color:#047b6f}
.repair-ops-empty{margin:0;color:#94a3b8;font-size:13px;font-weight:800}
.repair-ops-empty.large{min-height:90px;display:grid;place-items:center;text-align:center}
.repair-ops-note{margin:10px 0 0;color:#64748b;font-size:11px;font-weight:700;line-height:1.55}
.repair-ops-safety-note{margin:0;border-left:4px solid #f59e0b;background:#fffbeb;padding:10px 12px;color:#92400e;font-size:12px;font-weight:800;line-height:1.55}
.repair-v2-operations-loading,
.repair-ops-load-error{min-height:84px;display:grid;place-items:center;color:#64748b;font-size:13px;font-weight:800;text-align:center}
.repair-ops-load-error{gap:8px;border:1px solid #fecaca;border-radius:9px;background:#fff7f7;padding:14px;color:#b91c1c}
.repair-ops-load-error p{margin:0}
.repair-ops-incident-mini,
.repair-ops-damage-list button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;padding:10px 12px;text-align:left}
.repair-ops-incident-mini+ .repair-ops-incident-mini,
.repair-ops-damage-list button+button{margin-top:8px}
.repair-ops-incident-mini span,
.repair-ops-damage-list button span,
.repair-ops-bonus-mini span{display:grid;gap:3px}
.repair-ops-incident-mini strong,
.repair-ops-damage-list strong,
.repair-ops-bonus-mini strong{color:#0f172a;font-size:13px}
.repair-ops-incident-mini small,
.repair-ops-damage-list small,
.repair-ops-bonus-mini small{color:#64748b;font-size:11px;font-weight:700}
.repair-ops-bonus-mini{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf2f7;padding:9px 0}
.repair-ops-bonus-mini:first-of-type{border-top:0;padding-top:0}
.repair-ops-bonus-mini b{color:#047b6f}
.repair-ops-current-list{display:grid;gap:8px;margin-bottom:18px}
.repair-ops-current-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:9px;padding:10px 12px}
.repair-ops-current-list span{display:grid;gap:3px}
.repair-ops-current-list small{color:#64748b;font-size:11px;font-weight:700}
.repair-ops-current-list button.danger{border:1px solid #fecaca;border-radius:8px;background:#fff5f5;padding:7px 10px;color:#b91c1c;font-weight:900}
.repair-ops-damage-summary{display:grid;grid-template-columns:1fr 1fr;margin:0 0 18px;border:1px solid #dce7ef;border-radius:10px;overflow:hidden}
.repair-ops-damage-summary>div{min-width:0;padding:10px 12px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.repair-ops-damage-summary>div:nth-child(even){border-right:0}
.repair-ops-damage-summary>div.wide{grid-column:1/-1;border-right:0}
.repair-ops-damage-summary>div:last-child{border-bottom:0}
.repair-ops-damage-summary dt{color:#64748b;font-size:11px;font-weight:900}
.repair-ops-damage-summary dd{margin:4px 0 0;color:#0f172a;font-size:14px;font-weight:900;line-height:1.5;word-break:break-word}
.repair-ops-damage-summary .warning{background:#fffbeb}
.repair-ops-action-block{margin-top:14px;border:1px solid #dce7ef;border-radius:10px;background:#fbfefe;overflow:hidden}
.repair-ops-action-block>summary{cursor:pointer;padding:13px 15px;color:#0f172a;font-size:14px;font-weight:900}
.repair-ops-action-block>.repair-v2-return-form,
.repair-ops-action-block>form{border-top:1px solid #e2e8f0;padding:15px}
.repair-ops-agreements{margin:18px 0}
.repair-ops-agreements h3,
.repair-ops-entry-list h3{margin-bottom:10px}
.repair-ops-agreement,
.repair-ops-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;padding:10px 12px}
.repair-ops-agreement+.repair-ops-agreement,
.repair-ops-entry+.repair-ops-entry{margin-top:8px}
.repair-ops-agreement span,
.repair-ops-entry>div{display:grid;gap:3px}
.repair-ops-agreement small,
.repair-ops-entry small{color:#64748b;font-size:11px;font-weight:700}
.repair-ops-agreement em{border-radius:999px;background:#f1f5f9;padding:5px 8px;color:#475569;font-size:11px;font-style:normal;font-weight:900}
.repair-ops-entry b{color:#047b6f;text-align:right}
.repair-ops-entry select{min-height:34px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;padding:5px 8px}
.repair-ops-entry .danger{color:#b91c1c}
.repair-ops-entry-main{min-width:0;flex:1}
.repair-ops-entry-actions{align-items:end;flex:0 0 auto}
.repair-ops-entry-actions button{min-height:34px;border:1px solid #99f6e4;border-radius:8px;background:#ecfdf5;padding:5px 10px;color:#047b6f;font-size:12px;font-weight:900}
.repair-ops-existing-bonus-notice{margin:0 0 16px;border:1px solid #5eead4;border-left:5px solid #0f9f8f;border-radius:10px;background:#f0fdfa;padding:12px 14px;color:#115e59}
.repair-ops-existing-bonus-notice strong{display:block;margin-bottom:4px;font-size:14px}
.repair-ops-existing-bonus-notice p{margin:0;font-size:12px;font-weight:800;line-height:1.6}
.repair-ops-entry.is-existing{border-color:#99f6e4;background:#fbfffe}
.repair-ops-current-allocation{color:#0f766e!important;font-weight:900!important}
.repair-ops-allocation-locked{max-width:170px;color:#64748b!important;text-align:right;line-height:1.4}
.repair-ops-entry-shares{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.repair-ops-entry-shares span{display:grid;gap:2px;border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa;padding:6px 8px;color:#475569;font-size:11px;font-weight:700}
.repair-ops-entry-shares strong{color:#0f766e;font-size:12px}
.repair-ops-reallocation-warning{margin:0 0 14px;border:1px solid #fdba74;border-radius:9px;background:#fff7ed;padding:11px 12px;color:#9a3412;font-size:12px;font-weight:800;line-height:1.55}
.repair-ops-reopen-confirm{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px;border:1px solid #fcd34d;border-radius:9px;background:#fffbeb;padding:11px 12px;color:#92400e!important;font-size:12px!important;font-weight:800!important;line-height:1.5}
.repair-ops-reopen-confirm input{width:auto!important;margin-top:2px}
.repair-ops-share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.repair-ops-share-grid>strong{grid-column:1/-1;color:#334155;font-size:13px}

/* Simplified repair workbench v3 */
.repair-v2-workbench-page{
  max-width:1288px;
  margin:0 auto;
}

.repair-v2-simple-head{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:flex-start;
  margin-bottom:24px;
}

.repair-v2-simple-head h1{
  margin:0;
  font-size:32px;
  line-height:1.1;
  letter-spacing:0;
  color:#0f172a;
}

.repair-v2-simple-head p{
  margin:8px 0 0;
  color:#475569;
  font-weight:800;
}

.repair-v2-simple-head .repair-v2-meta-line,
.repair-v2-simple-head .repair-v2-qr-payload{
  color:#64748b;
  font-size:13px;
  font-weight:700;
}

.repair-v2-simple-head .repair-v2-secondary-actions{
  display:flex;
  gap:16px;
  align-items:center;
  flex-shrink:0;
}

.repair-v2-simple-head .repair-v2-secondary-actions button{
  min-width:138px;
  min-height:48px;
  border-radius:12px;
  border:1px solid #cbd8e6;
  background:#fff;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
}

.repair-v2-simple-head .repair-v2-secondary-actions .repair-v2-template-edit{
  border-color:#0f9484;
  background:#ecfdf5;
  color:#0f766e;
}

.repair-v2-simple-head .repair-v2-secondary-actions .primary{
  min-width:188px;
  border-color:#0f9484;
  background:#0f9484;
  color:#fff;
}

.repair-v2-workbench-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}

.repair-v2-workbench-main{
  display:grid;
  gap:24px;
}

.repair-v2-workbench-top,
.repair-v2-workbench-bottom{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:24px;
}

.repair-v2-workbench-page .repair-v2-card{
  border-radius:14px;
  box-shadow:none;
}

.repair-v2-workbench-page .repair-v2-card-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding-bottom:14px;
  margin-bottom:18px;
  border-bottom:1px solid #e0e8f0;
}

.repair-v2-workbench-page .repair-v2-card-title h2,
.repair-v2-next-card h2,
.repair-v2-mini-summary h2{
  margin:0;
  font-size:20px;
  color:#0f172a;
}

.repair-v2-workbench-page .repair-v2-card-title button{
  min-width:84px;
  min-height:35px;
  border:1px solid #99f6e4;
  border-radius:10px;
  background:#ecfdf5;
  color:#047b6f;
  font-weight:900;
}

.repair-v2-card-hint{
  margin:14px 0 0;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}

.repair-v2-device-compact{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:start;
}

.repair-v2-device-compact small{
  display:inline-block;
  margin-left:4px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.repair-v2-intake-card{
  min-height:0;
  grid-column:1 / -1;
}

.repair-v2-intake-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px;
  gap:18px;
  align-items:center;
}

.repair-v2-intake-grid .repair-v2-field-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 18px;
}

.repair-v2-intake-grid .repair-v2-field-list div{
  grid-template-columns:64px minmax(0,1fr);
}

.repair-v2-intake-grid .repair-v2-pattern-wrap{
  grid-template-columns:1fr;
  justify-items:center;
  gap:8px;
}

.repair-v2-pattern-wrap{
  display:grid;
  grid-template-columns:90px 84px;
  gap:12px;
  align-items:center;
  color:#64748b;
  font-size:13px;
  font-weight:900;
}

.repair-v2-pattern-box{
  width:84px;
  height:84px;
  display:grid;
  place-items:center;
}

.repair-v2-pattern-box svg{
  width:84px;
  height:84px;
  overflow:visible;
}

.repair-v2-pattern-box circle{
  fill:#fff;
  stroke:#1e293b;
  stroke-width:2;
}

.repair-v2-pattern-line{
  fill:none;
  stroke:#0f9484;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.repair-v2-fault-note-card{
  background:#fbfefe;
}

.repair-v2-note-list{
  display:grid;
  gap:18px;
  margin:0;
}

.repair-v2-note-list div{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:16px;
}

.repair-v2-note-list dt{
  color:#64748b;
  font-size:13px;
  font-weight:900;
}

.repair-v2-note-list dd{
  margin:0;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
  line-height:1.6;
}

.repair-v2-note-list .danger,
.repair-v2-mini-summary .danger{
  color:#e5484d;
}

.repair-v2-intake-grid .repair-v2-field-list dd small,
.repair-v2-device-compact .repair-v2-field-list dd small{
  margin-left:6px;
}

.repair-v2-mini-summary{
  min-height:78px;
}

.repair-v2-mini-summary div{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:14px;
}

.repair-v2-mini-summary span{
  color:#64748b;
  font-size:13px;
  font-weight:900;
}

.repair-v2-mini-summary strong{
  color:#0f172a;
  font-size:17px;
}

.repair-v2-next-card{
  min-height:420px;
  padding:22px;
}

.repair-v2-next-card button{
  width:100%;
  min-height:46px;
  margin-top:12px;
  border-radius:10px;
  border:1px solid #cbd8e6;
  background:#fff;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
}

.repair-v2-next-card .primary{
  min-height:62px;
  margin-top:22px;
  border-color:#0f9484;
  background:#0f9484;
  color:#fff;
  font-size:18px;
}

.repair-v2-next-card .danger{
  border-color:#fecaca;
  background:#fff5f5;
  color:#b91c1c;
}

.repair-v2-next-card.is-cancelled{
  min-height:260px;
}

.repair-v2-next-card p{
  margin:28px 0 0;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  line-height:1.7;
}

.repair-v2-detail-drawer{
  margin-top:24px;
}

@media(max-width:1366px){
  .repair-v2-page{padding:18px 22px}
  .repair-v2-info-grid{grid-template-columns:1fr 1.1fr 1.2fr 1.05fr}
  .repair-v2-primary-actions button{min-width:120px}
  .repair-v2-tabs{gap:32px}
  .repair-v2-table th,
  .repair-v2-table td{padding:10px 8px}
}

@media(max-width:1180px){
  .repair-v2-header,
  .repair-v2-order-head{flex-direction:column}
  .repair-v2-actions{justify-items:start}
  .repair-v2-info-grid,
  .repair-v2-content-grid{grid-template-columns:1fr}
  .repair-v2-simple-head{flex-direction:column}
  .repair-v2-workbench-grid{grid-template-columns:1fr}
  .repair-v2-next-card{min-height:0}
}

@media(max-width:760px){
  .repair-v2-operation-modal{padding:0;align-items:end}
  .repair-v2-operation-dialog{width:100%;max-height:94dvh;border-radius:16px 16px 0 0}
  .repair-v2-operation-dialog>header{padding:17px 16px 14px}
  .repair-v2-operation-body{padding:16px}
  .repair-ops-section-head{align-items:flex-start}
  .repair-ops-damage-summary{grid-template-columns:1fr}
  .repair-ops-damage-summary>div,
  .repair-ops-damage-summary>div:nth-child(even){border-right:0}
  .repair-ops-damage-summary>div.wide{grid-column:auto}
  .repair-ops-share-grid{grid-template-columns:1fr}
  .repair-ops-share-grid>strong{grid-column:auto}
  .repair-ops-agreement,
  .repair-ops-entry{align-items:flex-start;flex-direction:column}
  .repair-ops-entry>div:last-child{width:100%}
  .repair-ops-entry-actions{align-items:stretch}
  .repair-ops-entry-actions button{width:100%}
  .repair-ops-entry select{width:100%}
  .repair-v2-return-summary{grid-template-columns:1fr}
  .repair-v2-return-summary div,
  .repair-v2-return-summary div:nth-child(even){border-right:0;border-bottom:1px solid #e2e8f0}
  .repair-v2-return-summary .wide{grid-column:auto;border-bottom:0}
  .repair-v2-return-two-col{grid-template-columns:1fr}
  .repair-v2-scan-input{grid-template-columns:1fr}
  .repair-v2-scan-input button{min-height:44px}
  .repair-v2-return-form footer{display:grid;grid-template-columns:1fr}
  .repair-v2-return-form footer button{width:100%}
  body.repair-v2-page-mode .mobile-nav{display:grid}
  .repair-v2-page{padding:14px 14px 86px}
  .repair-v2-page-topbar{display:none}
  .repair-v2-simple-head{gap:16px;margin-bottom:18px}
  .repair-v2-simple-head h1{font-size:27px;overflow-wrap:anywhere}
  .repair-v2-simple-head .repair-v2-secondary-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    gap:8px;
    flex-shrink:1;
  }
  .repair-v2-simple-head .repair-v2-secondary-actions button,
  .repair-v2-simple-head .repair-v2-secondary-actions .primary{
    width:100%;
    min-width:0;
    min-height:44px;
  }
  .repair-v2-simple-head .repair-v2-secondary-actions .primary{grid-column:1/-1}
  .repair-v2-workbench-grid,
  .repair-v2-workbench-main{gap:16px}
  .repair-v2-workbench-top,
  .repair-v2-workbench-bottom{grid-template-columns:1fr;gap:16px}
  .repair-v2-intake-grid{grid-template-columns:1fr;gap:8px}
  .repair-v2-intake-grid .repair-v2-field-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
  .repair-v2-intake-grid .repair-v2-field-list div{display:block;padding:8px 0;border-bottom:1px solid #edf2f7}
  .repair-v2-intake-grid .repair-v2-field-list dt{margin-bottom:4px;font-size:12px}
  .repair-v2-intake-grid .repair-v2-field-list dd{font-size:14px}
  .repair-v2-intake-grid .repair-v2-pattern-wrap{grid-template-columns:52px 84px;justify-content:start;justify-items:start;padding-top:4px}
  .repair-v2-workbench-page .repair-v2-card{padding:16px}
  .repair-v2-next-card{min-height:0;padding:18px 16px}
  .repair-v2-next-card .primary{margin-top:14px}
  .repair-v2-next-card p{margin-top:18px}
  .repair-v2-header,
  .repair-v2-order-head{gap:14px}
  .repair-v2-actions{width:100%;justify-items:stretch}
  .repair-v2-secondary-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;max-width:100%}
  .repair-v2-secondary-actions button{min-width:0;padding-inline:8px}
  .repair-v2-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;max-width:100%}
  .repair-v2-primary-actions button{width:100%;min-width:0}
  .repair-v2-tabs{overflow-x:auto;max-width:100%}
  .repair-v2-device-media{grid-template-columns:88px minmax(0,1fr)}
  .repair-v2-device-photo{width:88px;height:72px}
  .repair-v2-table{font-size:12px}
  .repair-v2-table-foot{align-items:flex-start;flex-direction:column}
  .repair-v2-timeline li{grid-template-columns:1fr}
  .repair-v2-timeline li:before,
  .repair-v2-timeline li:after{display:none}
  .repair-v2-timeline time{text-align:left}
}

/* Phase 26D customer SMS composer uses the shared application dialog. */
.repair-v2-next-card .repair-v2-customer-sms{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
}
.repair-v2-next-card .repair-v2-customer-sms:hover{
  border-color:#60a5fa;
  background:#dbeafe;
}
.customer-sms-modal{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.customer-sms-recipient,
.customer-sms-provider,
.customer-sms-latest{
  display:grid;
  gap:5px;
  min-width:0;
  border:1px solid #dbe5ef;
  border-radius:10px;
  background:#f8fafc;
  padding:12px;
}
.customer-sms-recipient span,
.customer-sms-template>span,
.customer-sms-message>span,
.customer-sms-latest>span{
  color:#64748b;
  font-size:11px;
  font-weight:900;
}
.customer-sms-recipient strong,
.customer-sms-latest strong{
  color:#0f172a;
  font-size:16px;
  overflow-wrap:anywhere;
}
.customer-sms-recipient a{color:#0f766e;text-decoration:none}
.customer-sms-recipient a:hover{text-decoration:underline}
.customer-sms-recipient small,
.customer-sms-provider small,
.customer-sms-latest small{color:#64748b;font-size:11px;line-height:1.5}
.customer-sms-provider span{font-weight:900}
.customer-sms-provider.is-ready{border-color:#99f6e4;background:#f0fdfa;color:#047857}
.customer-sms-provider.is-simulation{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.customer-sms-provider.is-warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.customer-sms-template,
.customer-sms-message,
.customer-sms-warning,
.customer-sms-blocked,
.customer-sms-confirm,
.customer-sms-safety{grid-column:1/-1}
.customer-sms-template,
.customer-sms-message{display:grid;gap:7px;border:1px solid #dbe5ef;border-radius:10px;background:#fff;padding:12px}
.customer-sms-template select,
.customer-sms-message textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:10px 11px;color:#0f172a;font:inherit}
.customer-sms-message textarea{min-height:132px;resize:vertical;line-height:1.65}
.customer-sms-message small{color:#64748b;font-size:11px;font-weight:800;line-height:1.5}
.customer-sms-message small.is-error{color:#b91c1c}
.customer-sms-warning,
.customer-sms-blocked{display:grid;gap:4px;border-left:4px solid #f59e0b;border-radius:8px;background:#fffbeb;padding:11px 12px;color:#92400e}
.customer-sms-warning[hidden]{display:none}
.customer-sms-blocked{border-left-color:#ef4444;background:#fff7f7;color:#b91c1c}
.customer-sms-warning span,
.customer-sms-blocked span{font-size:12px;line-height:1.5}
.customer-sms-confirm{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;border:1px solid #99f6e4;border-radius:10px;background:#f0fdfa;padding:12px;color:#075f56;cursor:pointer}
.customer-sms-confirm input{width:auto;margin-top:3px}
.customer-sms-confirm span{display:grid;gap:4px}
.customer-sms-confirm strong{font-size:14px}
.customer-sms-confirm small{color:#47736c;font-size:11px;line-height:1.5}
.customer-sms-safety{border-radius:8px;background:#f1f5f9;padding:9px 11px;color:#64748b;font-size:11px;font-weight:750;line-height:1.5}
@media(max-width:560px){
  .customer-sms-modal{grid-template-columns:1fr}
  .customer-sms-recipient,
  .customer-sms-provider,
  .customer-sms-latest,
  .customer-sms-template,
  .customer-sms-message,
  .customer-sms-warning,
  .customer-sms-blocked,
  .customer-sms-confirm,
  .customer-sms-safety{grid-column:1}
}
