:root {
  --fc-border: #dcdcde;
  --fc-bg: #f6f7f7;
  --fc-text: #1d2327;
  --fc-muted: #646970;
  --fc-radius: 12px;
}

.fc-wrap, .fc-admin-wrap { color: var(--fc-text); }
.fc-wrap { max-width: 920px; margin: 24px auto; padding: 0 14px; }
.fc-card { background: #fff; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); padding: 20px; margin-bottom: 18px; box-sizing: border-box; }
.fc-card h2, .fc-card h3 { margin-top: 0; }
.fc-muted { color: var(--fc-muted); }
.fc-error { border-left: 4px solid #d63638; }
.fc-notice { padding: 13px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid var(--fc-border); background: #fff; }
.fc-success { border-left: 4px solid #00a32a; }
.fc-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.fc-grid { display: grid; gap: 12px; margin-bottom: 14px; }
.fc-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.fc-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.fc-span-2 { grid-column: span 2; }
.fc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fc-field > span { font-weight: 600; font-size: 13px; }
.fc-field input, .fc-field select, .fc-field textarea { width: 100%; min-height: 42px; border: 1px solid #8c8f94; border-radius: 8px; padding: 8px 10px; box-sizing: border-box; background: #fff; }
.fc-field textarea { resize: vertical; }
.fc-align-end { justify-content: flex-end; }
.fc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; border: 1px solid #2271b1; border-radius: 8px; background: #fff; color: #2271b1; text-decoration: none; cursor: pointer; font-weight: 600; box-sizing: border-box; }
.fc-btn:hover { background: #f0f6fc; }
.fc-btn-primary { background: #2271b1; color: #fff; }
.fc-btn-primary:hover { background: #135e96; color: #fff; }
.fc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.fc-btn-wide { width: 100%; }
.fc-list-card { border: 1px solid var(--fc-border); border-radius: 10px; padding: 14px; margin: 14px 0; background: var(--fc-bg); }
.fc-empty { color: var(--fc-muted); padding: 10px 0; }
.fc-item-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fc-border); }
.fc-item-row:last-child { border-bottom: 0; }
.fc-item-row strong, .fc-item-row small { display: block; }
.fc-item-row small { color: var(--fc-muted); margin-top: 3px; }
.fc-remove { border: 0; background: transparent; font-size: 28px; cursor: pointer; line-height: 1; color: #b32d2e; }
.fc-request-list { display: grid; gap: 14px; }
.fc-request-card { border: 1px solid var(--fc-border); border-radius: 10px; padding: 16px; }
.fc-folio { font-size: 18px; }
.fc-status { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f0f0f1; }
.fc-status-requested { background: #f0f6fc; color: #135e96; }
.fc-status-assigned { background: #fff8e5; color: #8a6d1a; }
.fc-status-purchased { background: #e5f5fa; color: #0a4b78; }
.fc-status-delivered { background: #edfaef; color: #116329; }
.fc-status-cancelled { background: #fcf0f1; color: #8a2424; }
.fc-items-simple { list-style: none; padding: 0; margin: 12px 0; }
.fc-items-simple li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee; }
.fc-comments, .fc-meta-line, .fc-proof { margin: 10px 0; }
.fc-update-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 12px; }
.fc-update-form .fc-field { margin-bottom: 0; }
.fc-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1200px; }
.fc-table-wrap { overflow-x: auto; }
.fc-inline-form { display: flex; gap: 6px; align-items: center; }
.fc-suggestion { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fc-border); }

@media (max-width: 760px) {
  .fc-grid-4, .fc-grid-3, .fc-admin-grid, .fc-update-form { grid-template-columns: 1fr; }
  .fc-span-2 { grid-column: span 1; }
  .fc-header-row { flex-direction: column; }
  .fc-btn { width: 100%; }
  .fc-request-card { padding: 14px; }
}

.fc-requester-box { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--fc-border); border-radius: 9px; background: var(--fc-bg); }
.fc-requester-box small { color: var(--fc-muted); }
.fc-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.fc-tabs { display: flex; gap: 8px; margin: 0 0 18px; border-bottom: 1px solid var(--fc-border); padding-bottom: 8px; }
.fc-tab { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: #50575e; }
.fc-tab:hover { background: #f0f0f1; color: #1d2327; }
.fc-tab.is-active { background: #2271b1; color: #fff; }
.fc-update-form-expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; border-top: 1px solid var(--fc-border); }
.fc-update-form-expanded textarea { min-height: 64px; }

@media (max-width: 760px) {
  .fc-tabs { overflow-x: auto; }
  .fc-tab { white-space: nowrap; }
  .fc-update-form-expanded { grid-template-columns: 1fr; }
}

/* v0.3.0 · panel compacto por tarjetas */
.fc-panel-wrap { max-width: 1180px; }
.fc-panel-shell { background: transparent; }
.fc-panel-heading { margin-bottom: 8px; }
.fc-panel-heading h2 { margin: 0 0 4px; }
.fc-purchase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.fc-grid-empty { grid-column: 1 / -1; padding: 28px 8px; }
.fc-purchase-card { border: 1px solid var(--fc-border); border-radius: 12px; background: #fff; overflow: hidden; box-sizing: border-box; min-width: 0; }
.fc-purchase-card.is-open { grid-column: 1 / -1; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.fc-purchase-summary { width: 100%; border: 0; background: #fff; text-align: left; padding: 14px 16px 10px; cursor: pointer; color: var(--fc-text); font: inherit; }
.fc-purchase-summary:hover { background: #f9fafb; }
.fc-purchase-summary:focus-visible { outline: 2px solid #2271b1; outline-offset: -2px; }
.fc-summary-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fc-summary-top > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-summary-top small { color: var(--fc-muted); font-size: 12px; }
.fc-summary-badges { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.fc-summary-items { display: block; margin-top: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-summary-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; margin-top: 9px; color: #50575e; font-size: 12px; }
.fc-summary-meta span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-summary-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: var(--fc-muted); font-size: 12px; }
.fc-card-chevron { font-size: 20px; line-height: 1; transition: transform .15s ease; }
.fc-purchase-card.is-open .fc-card-chevron { transform: rotate(180deg); }
.fc-quick-row { display: flex; justify-content: flex-end; padding: 0 14px 12px; background: #fff; }
.fc-quick-form { margin: 0; }
.fc-btn-compact { min-height: 34px; padding: 5px 11px; font-size: 12px; }
.fc-purchase-details { border-top: 1px solid var(--fc-border); padding: 16px; background: #fff; }
.fc-detail-section { margin-bottom: 18px; }
.fc-detail-section h3 { margin: 0 0 9px; font-size: 15px; }
.fc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fc-section-heading h3 { margin: 0; }
.fc-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee; }
.fc-doc-row:last-child { border-bottom: 0; }
.fc-doc-row > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.fc-doc-row small { color: var(--fc-muted); overflow-wrap: anywhere; }
.fc-doc-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fc-drive-state { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 7px; border-radius: 999px; background: #f0f0f1; color: #50575e; font-size: 11px; font-weight: 700; }
.fc-drive-state-uploaded { background: #edfaef; color: #116329; }
.fc-drive-state-error { background: #fcf0f1; color: #8a2424; }
.fc-drive-state-pending { background: #fff8e5; color: #8a6d1a; }
.fc-invoice-status { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #f0f0f1; color: #50575e; }
.fc-invoice-status-received { background: #edfaef; color: #116329; }
.fc-invoice-status-no_invoice { background: #fcf0f1; color: #8a2424; }
.fc-invoice-status-pending { background: #fff8e5; color: #8a6d1a; }
.fc-invoice-status-not_applicable { background: #f0f0f1; color: #50575e; }
.fc-upload-block { border: 1px dashed #8c8f94; border-radius: 10px; padding: 12px; background: #fafafa; }
.fc-upload-title { display: flex; flex-direction: column; gap: 2px; margin-bottom: 9px; }
.fc-upload-title small { color: var(--fc-muted); }
.fc-span-3 { grid-column: span 3; }
.fc-checkbox-field > span { display: inline-flex; align-items: center; gap: 8px; }
.fc-checkbox-field input[type="checkbox"] { width: auto; min-height: 0; }
.fc-update-form-expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 900px) {
  .fc-purchase-grid { grid-template-columns: 1fr; }
  .fc-purchase-card.is-open { grid-column: auto; }
}

@media (max-width: 760px) {
  .fc-summary-top { flex-direction: column; }
  .fc-summary-badges { justify-content: flex-start; }
  .fc-summary-meta { grid-template-columns: 1fr; }
  .fc-span-3 { grid-column: span 1; }
  .fc-section-heading { align-items: flex-start; flex-direction: column; }
  .fc-doc-row { align-items: flex-start; flex-direction: column; }
  .fc-doc-actions { width: 100%; justify-content: space-between; }
}

.fc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:12px; }
@media (max-width: 700px) { .fc-form-grid { grid-template-columns:1fr; } }

/* v0.3.2 · frontend aislado del tema de WordPress */
body.feasy-compras-page .entry-title,
body.feasy-compras-page .page-title,
body.feasy-compras-page .wp-block-post-title,
body.feasy-compras-page .elementor-widget-theme-post-title,
body.feasy-compras-page .elementor-page-title {
  display: none !important;
}

.fc-app {
  --fc-border: #e5e7eb;
  --fc-bg: #f5f7fb;
  --fc-card: #ffffff;
  --fc-text: #111827;
  --fc-muted: #6b7280;
  --fc-primary: #2563eb;
  --fc-primary-dark: #1d4ed8;
  --fc-primary-soft: #eff6ff;
  --fc-danger: #dc2626;
  --fc-success: #15803d;
  --fc-warning: #a16207;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: var(--fc-bg) !important;
  color: var(--fc-text) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-sizing: border-box !important;
}

.fc-app *,
.fc-app *::before,
.fc-app *::after {
  box-sizing: border-box !important;
}

.fc-app .fc-wrap {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: var(--fc-text) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.fc-app h1,
.fc-app h2,
.fc-app h3,
.fc-app h4,
.fc-app h5,
.fc-app h6 {
  margin-top: 0 !important;
  color: var(--fc-text) !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.fc-app h2 { font-size: 28px !important; margin-bottom: 8px !important; }
.fc-app h3 { font-size: 17px !important; margin-bottom: 10px !important; }
.fc-app p { margin: 0 0 12px !important; color: var(--fc-text) !important; }
.fc-app .fc-muted,
.fc-app small { color: var(--fc-muted) !important; }
.fc-app strong,
.fc-app b { color: inherit !important; font-weight: 700 !important; }

.fc-app a {
  color: var(--fc-primary) !important;
  font-family: inherit !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
}
.fc-app a:hover { color: var(--fc-primary-dark) !important; text-decoration: none !important; }

.fc-app form,
.fc-app label,
.fc-app fieldset {
  margin: 0 !important;
  padding-top: 0;
  font-family: inherit !important;
}

.fc-app label { color: var(--fc-text) !important; }

.fc-app input:not([type="checkbox"]):not([type="radio"]),
.fc-app select,
.fc-app textarea {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 1px solid #cfd5df !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--fc-text) !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  outline: none !important;
}

.fc-app textarea { min-height: 74px !important; resize: vertical !important; }

.fc-app input:not([type="checkbox"]):not([type="radio"]):focus,
.fc-app select:focus,
.fc-app textarea:focus {
  border-color: var(--fc-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12) !important;
  outline: none !important;
}

.fc-app input[type="file"] {
  cursor: pointer !important;
}

.fc-app input[type="checkbox"],
.fc-app input[type="radio"] {
  accent-color: var(--fc-primary) !important;
}

.fc-app button,
.fc-app .fc-btn,
.fc-app a.fc-btn,
.fc-app input[type="submit"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 1px solid var(--fc-primary) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--fc-primary) !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.fc-app button:hover,
.fc-app .fc-btn:hover,
.fc-app a.fc-btn:hover,
.fc-app input[type="submit"]:hover {
  background: var(--fc-primary-soft) !important;
  border-color: var(--fc-primary) !important;
  color: var(--fc-primary-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

.fc-app .fc-btn-primary,
.fc-app button.fc-btn-primary,
.fc-app a.fc-btn-primary {
  background: var(--fc-primary) !important;
  border-color: var(--fc-primary) !important;
  color: #fff !important;
}

.fc-app .fc-btn-primary:hover,
.fc-app button.fc-btn-primary:hover,
.fc-app a.fc-btn-primary:hover {
  background: var(--fc-primary-dark) !important;
  border-color: var(--fc-primary-dark) !important;
  color: #fff !important;
}

.fc-app .fc-btn-wide { width: 100% !important; }
.fc-app .fc-btn-compact { min-height: 34px !important; padding: 7px 11px !important; font-size: 12px !important; }

.fc-app .fc-card,
.fc-app .fc-purchase-card,
.fc-app .fc-list-card,
.fc-app .fc-requester-box,
.fc-app .fc-notice {
  background: var(--fc-card) !important;
  color: var(--fc-text) !important;
  border-color: var(--fc-border) !important;
  box-shadow: 0 3px 14px rgba(15, 23, 42, .035) !important;
}

.fc-app .fc-card { border-radius: 14px !important; }
.fc-app .fc-purchase-card { border-radius: 12px !important; }
.fc-app .fc-purchase-summary,
.fc-app .fc-quick-row,
.fc-app .fc-purchase-details { background: #fff !important; color: var(--fc-text) !important; }
.fc-app .fc-purchase-summary:hover { background: #f8fafc !important; }

.fc-app .fc-tabs {
  border-bottom-color: var(--fc-border) !important;
}
.fc-app .fc-tab {
  color: #4b5563 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.fc-app .fc-tab:hover { background: #eef2f7 !important; color: var(--fc-text) !important; }
.fc-app .fc-tab.is-active { background: var(--fc-primary) !important; color: #fff !important; }

.fc-app .fc-status,
.fc-app .fc-invoice-status,
.fc-app .fc-drive-state {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

.fc-app ul.fc-items-simple {
  margin: 12px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.fc-app ul.fc-items-simple li {
  margin: 0 !important;
  list-style: none !important;
}

.fc-app .fc-upload-block {
  background: #f8fafc !important;
  border-color: #b7c0cc !important;
}

.fc-app table {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

@media (max-width: 760px) {
  .fc-app { padding: 12px !important; border-radius: 12px !important; }
  .fc-app h2 { font-size: 24px !important; }
  .fc-app button,
  .fc-app .fc-btn,
  .fc-app a.fc-btn,
  .fc-app input[type="submit"] { width: 100% !important; }
  .fc-app .fc-quick-row .fc-btn-compact { width: auto !important; }
}

/* v0.4.0 · entregas/paquetes parciales */
.fc-invoice-status-partial { background: #fff4ce; color: #7a5b00; }
.fc-invoice-status-complete { background: #e8f2ff; color: #174ea6; }
.fc-shipment-status-pending { background: #fff8e5; color: #8a6d1a; }
.fc-shipment-status-shipped { background: #e8f2ff; color: #174ea6; }
.fc-shipment-status-delivered { background: #edfaef; color: #116329; }
.fc-shipment-status-cancelled { background: #fcf0f1; color: #8a2424; }

.fc-app .fc-shipments-section {
  padding-top: 4px !important;
}

.fc-app .fc-delivery-progress {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: #eef2f7 !important;
  color: #374151 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.fc-app .fc-items-progress li > span:first-child {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.fc-app .fc-items-progress li small {
  color: var(--fc-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.fc-app .fc-shipment-list {
  display: grid !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.fc-app details.fc-shipment-card,
.fc-app details.fc-new-shipment {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--fc-text) !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.fc-app details.fc-new-shipment {
  margin-top: 12px !important;
  border-style: dashed !important;
}

.fc-app details.fc-shipment-card > summary,
.fc-app details.fc-new-shipment > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  background: #f8fafc !important;
  color: var(--fc-text) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
  list-style: none !important;
}
.fc-app details.fc-shipment-card > summary::-webkit-details-marker,
.fc-app details.fc-new-shipment > summary::-webkit-details-marker { display: none !important; }
.fc-app details.fc-shipment-card > summary::after,
.fc-app details.fc-new-shipment > summary::after {
  content: "⌄" !important;
  flex: 0 0 auto !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform .15s ease !important;
}
.fc-app details.fc-shipment-card[open] > summary::after,
.fc-app details.fc-new-shipment[open] > summary::after { transform: rotate(180deg) !important; }

.fc-app .fc-shipment-summary-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  text-align: left !important;
}
.fc-app .fc-shipment-summary-main small {
  max-width: 620px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
}
.fc-app .fc-shipment-summary-badges {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-left: auto !important;
}

.fc-app .fc-shipment-body {
  padding: 14px !important;
  border-top: 1px solid var(--fc-border) !important;
  background: #fff !important;
}

.fc-app .fc-shipment-docs {
  margin-bottom: 14px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 10px !important;
  background: #fbfcfe !important;
}
.fc-app .fc-drive-link {
  display: inline-flex !important;
  margin-bottom: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.fc-app .fc-shipment-form {
  display: block !important;
  margin: 0 !important;
}
.fc-app .fc-shipment-fields,
.fc-app .fc-shipment-upload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.fc-app .fc-shipment-items-editor {
  display: grid !important;
  gap: 8px !important;
  margin: 14px 0 !important;
  padding: 12px !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
}
.fc-app .fc-shipment-item-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e8ebf0 !important;
}
.fc-app .fc-shipment-item-row:last-child { border-bottom: 0 !important; }
.fc-app .fc-shipment-item-row > span {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.fc-app .fc-shipment-item-row small {
  color: var(--fc-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
.fc-app .fc-shipment-item-row input[type="number"] {
  min-height: 38px !important;
}
.fc-app .fc-shipment-item-row.is-complete { opacity: .58 !important; }

.fc-app .fc-shipment-actions {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 12px !important;
}

@media (max-width: 760px) {
  .fc-app details.fc-shipment-card > summary,
  .fc-app details.fc-new-shipment > summary {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }
  .fc-app .fc-shipment-summary-badges {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }
  .fc-app .fc-shipment-fields,
  .fc-app .fc-shipment-upload-grid {
    grid-template-columns: 1fr !important;
  }
  .fc-app .fc-shipment-item-row {
    grid-template-columns: minmax(0, 1fr) 95px !important;
  }
  .fc-app .fc-shipment-actions .fc-btn { width: 100% !important; }
}
.fc-app .fc-invoice-status-partial { background: #fff4ce !important; color: #7a5b00 !important; }
.fc-app .fc-invoice-status-complete { background: #e8f2ff !important; color: #174ea6 !important; }
.fc-app .fc-shipment-status-pending { background: #fff8e5 !important; color: #8a6d1a !important; }
.fc-app .fc-shipment-status-shipped { background: #e8f2ff !important; color: #174ea6 !important; }
.fc-app .fc-shipment-status-delivered { background: #edfaef !important; color: #116329 !important; }
.fc-app .fc-shipment-status-cancelled { background: #fcf0f1 !important; color: #8a2424 !important; }
