:root{--dcr-blue:#1769e0;--dcr-dark:#0d1b2a;--dcr-bg:#f6f8fb;--dcr-card:#fff;--dcr-border:#e6eaf0;--dcr-text:#111827;--dcr-muted:#64748b}body.toplevel_page_dcr-dashboard,body.daily-reports_page_dcr-reports,body.daily-reports_page_dcr-report-new,body.daily-reports_page_dcr-projects,body.daily-reports_page_dcr-roles,body.daily-reports_page_dcr-settings{background:var(--dcr-bg)}.dcr-wrap{font-family:Inter,Arial,sans-serif;color:var(--dcr-text);padding:10px 18px}.dcr-wrap h1{font-size:30px;font-weight:800;margin:14px 0 3px}.dcr-wrap h2{font-size:18px;margin:0 0 18px}.dcr-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;border-bottom:1px solid var(--dcr-border);padding-bottom:18px}.dcr-top p{color:var(--dcr-muted);font-size:15px;margin:0}.dcr-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--dcr-border);background:#fff;color:#1f2937;text-decoration:none;border-radius:10px;padding:11px 18px;font-weight:700;box-shadow:0 4px 12px rgba(15,23,42,.06);cursor:pointer}.dcr-btn.primary{background:linear-gradient(135deg,#1769e0,#0f54c4);border-color:#1769e0;color:#fff}.dcr-cards{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:16px;margin-bottom:18px}.dcr-card,.dcr-panel{background:var(--dcr-card);border:1px solid var(--dcr-border);border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.dcr-card{padding:20px;display:flex;gap:15px;align-items:center}.dcr-card small{display:block;text-transform:uppercase;color:var(--dcr-muted);font-size:12px;font-weight:700}.dcr-card strong{font-size:30px;display:block;margin-top:5px}.dcr-icon{width:48px;height:48px;border-radius:13px;display:flex!important;align-items:center;justify-content:center;color:#fff;font-size:25px}.blue{background:#1769e0}.green{background:#16a34a}.orange{background:#f97316}.red{background:#ef4444}.purple{background:#7c3aed}.gray{background:#64748b}.dcr-grid{display:grid;gap:18px;margin-bottom:18px}.dcr-grid.two{grid-template-columns:1.1fr .9fr}.dcr-panel{padding:20px;margin-bottom:18px}.dcr-table{width:100%;border-collapse:separate;border-spacing:0}.dcr-table th{text-align:left;color:#475569;background:#f8fafc;font-size:13px;padding:12px;border-bottom:1px solid var(--dcr-border)}.dcr-table td{padding:13px 12px;border-bottom:1px solid var(--dcr-border);vertical-align:middle}.dcr-table input,.dcr-form input,.dcr-form select,.dcr-report-form input,.dcr-report-form select,.dcr-report-form textarea{width:100%;border:1px solid #d9e1ec;border-radius:10px;padding:10px 12px;box-sizing:border-box;background:#fff}.dcr-status{display:inline-flex;border-radius:999px;padding:5px 10px;font-weight:800;font-size:12px}.dcr-status.approved{background:#dcfce7;color:#15803d}.dcr-status.pending{background:#ffedd5;color:#c2410c}.dcr-status.draft{background:#e2e8f0;color:#334155}.dcr-status.rejected{background:#fee2e2;color:#b91c1c}.dcr-fake-chart{height:220px;display:flex;align-items:end;gap:18px;border-left:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:15px}.dcr-fake-chart span{flex:1;background:linear-gradient(180deg,#1769e0,#91b9ff);border-radius:8px 8px 0 0}.dcr-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.dcr-quick a{text-align:center;border:1px solid var(--dcr-border);border-radius:14px;padding:22px;text-decoration:none;background:#fbfdff;font-weight:800;color:#1f2937}.dcr-form{max-width:760px}.dcr-form label,.dcr-report-form label{display:block;font-weight:700;margin-bottom:14px}.dcr-form label input,.dcr-form label select,.dcr-report-form label input,.dcr-report-form label select,.dcr-report-form label textarea{margin-top:7px;font-weight:400}.dcr-tabs{display:flex;gap:8px;margin-bottom:20px;border-bottom:1px solid var(--dcr-border)}.dcr-tabs span{padding:12px 16px;font-weight:700;color:#64748b}.dcr-tabs .active{color:#1769e0;border-bottom:3px solid #1769e0}.dcr-check{display:flex!important;align-items:center;gap:9px}.dcr-check input{width:auto!important}.dcr-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.dcr-manpower-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.dcr-dynamic input{min-width:120px}@media(max-width:1200px){.dcr-cards{grid-template-columns:repeat(3,1fr)}.dcr-grid.two,.dcr-form-grid{grid-template-columns:1fr}.dcr-manpower-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:782px){.dcr-cards,.dcr-quick{grid-template-columns:1fr}.dcr-top{display:block}.dcr-btn{margin-top:10px}.dcr-panel{overflow:auto}}
.dcr-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}.dcr-page-head h1{margin:0;font-size:28px}.dcr-page-head p{margin:6px 0 0;color:#64748b}.dcr-table-scroll{overflow:auto;max-width:100%}.dcr-permission-table th,.dcr-permission-table td{text-align:center;white-space:nowrap}.dcr-permission-table .sticky-col{position:sticky;left:0;background:#fff;text-align:left;z-index:1}.dcr-permission-table small{display:block;color:#64748b;font-weight:400;margin-top:4px}.dcr-switch{display:inline-flex;align-items:center;justify-content:center}.dcr-switch input{display:none}.dcr-switch span{width:46px;height:24px;border-radius:99px;background:#cbd5e1;position:relative;display:inline-block;transition:.2s}.dcr-switch span:before{content:"";width:18px;height:18px;border-radius:50%;background:#fff;position:absolute;left:3px;top:3px;box-shadow:0 1px 4px rgba(15,23,42,.25);transition:.2s}.dcr-switch input:checked+span{background:#2563eb}.dcr-switch input:checked+span:before{left:25px}.dcr-switch input:disabled+span{opacity:.7}.dcr-form-actions{display:flex;align-items:center;gap:14px;margin-top:18px}.dcr-grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.dcr-check-list{display:grid;gap:10px;margin:12px 0}.dcr-check-list label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.dcr-badge{display:inline-flex;padding:4px 10px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:700}@media(max-width:900px){.dcr-grid-2{grid-template-columns:1fr}.dcr-page-head{align-items:flex-start;flex-direction:column}}
.dcr-alert.success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;padding:12px 14px;border-radius:12px;margin:10px 0}.dcr-muted{color:#64748b}.dcr-section-badge{font-size:12px;background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:4px 8px;margin-left:8px}.dcr-section-badge.muted{background:#f1f5f9;color:#64748b}.dcr-readonly{opacity:.82}.dcr-btn.success{background:#16a34a;color:#fff}.dcr-btn.danger{background:#dc2626;color:#fff}
.dcr-project-lock{min-height:46px;border:1px solid #dbe3ef;border-radius:13px;padding:11px 13px;margin-top:7px;background:#f8fafc;color:#0f172a;font-weight:900}.dcr-project-lock small{display:block;font-size:12px;color:#64748b;margin-top:4px;font-weight:700}.dcr-wide-label{display:block;margin-top:16px}.dcr-btn.small{padding:7px 11px;font-size:12px;margin-left:10px;vertical-align:middle}


/* v1.7 permissions tabs */
.dcr-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px;border-bottom:1px solid #e5edf7;padding-bottom:10px}.dcr-tab{border:1px solid #d8e2ef;background:#fff;color:#334155;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.dcr-tab.active{background:#0f62fe;color:#fff;border-color:#0f62fe;box-shadow:0 8px 18px rgba(15,98,254,.18)}.dcr-tab-content{display:none}.dcr-tab-content.active{display:block}.dcr-permissions-panel .dcr-muted{margin:0 0 14px;color:#64748b}.dcr-permission-table th{white-space:nowrap}.dcr-permission-table td{text-align:center}.dcr-permission-table .sticky-col{text-align:left;left:0;background:#fff;z-index:2}.dcr-permission-table thead .sticky-col{background:#f8fafc;z-index:3}
.dcr-add-row{margin-top:12px;border:1px dashed #1769e0;background:#eff6ff;color:#1769e0;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}.dcr-add-row:hover{background:#dbeafe}.dcr-new-row input{animation:dcrPulse .45s ease}@keyframes dcrPulse{from{box-shadow:0 0 0 4px rgba(23,105,224,.22)}to{box-shadow:none}}

/* v2.0 No horizontal scroll tables: show all columns inside admin cards */
.dcr-panel{overflow:visible!important;}
.dcr-dynamic,
table.dcr-dynamic,
.dcr-repeatable-table{
  display:table!important;
  table-layout:fixed!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.dcr-dynamic thead{display:table-header-group!important;}
.dcr-dynamic tbody{display:table-row-group!important;}
.dcr-dynamic tr{display:table-row!important;width:auto!important;}
.dcr-dynamic th,
.dcr-dynamic td{
  display:table-cell!important;
  width:auto!important;
  padding:10px 8px!important;
  vertical-align:middle!important;
  word-break:break-word!important;
}
.dcr-dynamic input,
.dcr-dynamic textarea,
.dcr-dynamic select{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:9px 8px!important;
  font-size:13px!important;
}
.dcr-dynamic th{font-size:11px!important;line-height:1.25!important;}
@media(max-width:782px){
  .dcr-dynamic,table.dcr-dynamic,.dcr-repeatable-table{display:block!important;overflow-x:auto!important;table-layout:auto!important;}
  .dcr-dynamic th,.dcr-dynamic td{min-width:120px!important;}
}

/* v2.1/v2.2 Professional headings + analytics */
.dcr-table th,
.dcr-dynamic th,
.dcr-repeatable-table th{
  text-align:center!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.35!important;
  color:#0f172a!important;
  background:#f8fafc!important;
  padding:14px 10px!important;
  vertical-align:middle!important;
}
.dcr-table td,
.dcr-dynamic td{text-align:center!important;}
.dcr-table input,
.dcr-dynamic input{text-align:center!important;}
.dcr-analytics-bars{height:260px;display:flex;align-items:end;gap:10px;padding:18px;border-left:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.dcr-analytics-bars>div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;min-width:0}.dcr-analytics-bars span{display:block;width:100%;background:linear-gradient(180deg,#1769e0,#91b9ff);border-radius:10px 10px 2px 2px;min-height:8px}.dcr-analytics-bars small{font-size:11px;color:#64748b;white-space:nowrap}.dcr-analytics-bars b{font-size:12px;color:#0f172a}.dcr-clean-list{margin:0;padding-left:20px}.dcr-clean-list li{margin:8px 0}.dcr-workflow-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 18px}.dcr-workflow-steps div{background:#fff;border:1px solid #e6eaf0;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.05);display:flex;align-items:center;gap:10px}.dcr-workflow-steps span{width:18px;height:18px;border-radius:50%;background:#cbd5e1}.dcr-workflow-steps .active span{background:#16a34a}.dcr-workflow-steps .active{border-color:#bbf7d0;background:#f0fdf4}.dcr-timeline{position:relative;display:grid;gap:14px}.dcr-timeline>div{position:relative;border:1px solid #e6eaf0;border-radius:14px;padding:14px 14px 14px 44px;background:#fff}.dcr-timeline>div span{position:absolute;left:15px;top:18px;width:14px;height:14px;border-radius:50%;background:#1769e0}.dcr-timeline strong{display:block;font-size:15px}.dcr-timeline p{margin:5px 0;color:#334155}.dcr-timeline small{color:#64748b}.dcr-ai-box{white-space:pre-wrap;background:#f8fafc;border:1px solid #e6eaf0;border-radius:14px;padding:16px;line-height:1.65;color:#0f172a}
@media(max-width:900px){.dcr-workflow-steps{grid-template-columns:1fr}.dcr-analytics-bars{overflow:auto}}

.dcr-upload-card{border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#fff}.dcr-approval-box{background:#ecfdf5!important;border:1px solid #bbf7d0!important}.dcr-btn.success{background:#16a34a!important;color:#fff!important}.dcr-btn.danger{background:#dc2626!important;color:#fff!important}.dcr-stamp-preview{margin:12px 0;padding:12px;background:#fff;border-radius:12px;border:1px solid #dbeafe}

.dcr-ai-voice-box{
  margin:16px 0 8px;
  padding:14px 16px;
  border:1px solid #dbeafe;
  background:#eff6ff;
  border-radius:16px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.dcr-ai-voice-status{font-size:13px;}
.dcr-ai-transcript{width:100%; border-radius:12px; border:1px solid #cbd5e1; padding:10px;}


/* v2.6 Digital signature + notification center */
.dcr-signature-pad-wrap{border:1px solid #dbeafe;background:#f8fafc;border-radius:16px;padding:14px;margin:12px 0 16px}
.dcr-signature-pad{display:block;width:100%;height:220px;border:2px dashed #93c5fd;border-radius:14px;background:#fff;touch-action:none;cursor:crosshair;margin-top:10px}
.dcr-signature-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.dcr-saved-signature{margin-top:12px}
.dcr-notification-badge{margin-left:auto;background:#ef4444;color:#fff;border-radius:999px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:0 7px}
.dcr-notification-list{display:grid;gap:12px}
.dcr-notification-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;background:#fff}
.dcr-notification-item.is-unread{border-color:#93c5fd;background:#eff6ff}
.dcr-notification-item strong{display:block;font-size:15px;color:#0f172a}
.dcr-notification-item p{margin:6px 0;color:#334155}
.dcr-notification-item small{color:#64748b}
.dcr-notification-item.approved{border-left:5px solid #16a34a}
.dcr-notification-item.rejected{border-left:5px solid #dc2626}
.dcr-notification-item.pending{border-left:5px solid #f97316}
@media(max-width:700px){.dcr-notification-item{align-items:flex-start;flex-direction:column}.dcr-signature-pad{height:190px}}


/* v2.7 PDF branding settings */
.dcr-media-row{display:flex;gap:10px;align-items:center}.dcr-media-row input{flex:1}.dcr-media-preview{max-width:180px;max-height:90px;margin-top:10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:8px;display:block}


/* v2.8.2 Accountant Cost Control */
.dcr-accountant-view .dcr-accordion{border:1px solid #e6eaf0;border-radius:14px;background:#fbfdff;margin:10px 0;overflow:hidden}
.dcr-accountant-view .dcr-accordion summary{cursor:pointer;padding:14px 16px;font-weight:900;color:#0f172a;background:#f8fafc;list-style:none}
.dcr-accountant-view .dcr-accordion summary::-webkit-details-marker{display:none}
.dcr-accountant-view .dcr-accordion summary:before{content:"▶";display:inline-block;margin-right:8px;color:#1769e0}
.dcr-accountant-view .dcr-accordion[open] summary:before{content:"▼"}
.dcr-readonly-data{padding:14px 16px}
.dcr-kv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dcr-kv-grid div{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:10px}
.dcr-kv-grid strong{display:block;font-size:12px;color:#64748b;margin-bottom:5px}
.dcr-kv-grid span{font-weight:800;color:#111827}
.dcr-accountant-readonly-table td{background:#fff;border:1px solid #e6eaf0;border-radius:10px}
.dcr-cost-control-panel{border:2px solid #bfdbfe!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important}
.dcr-cost-control-panel h3{margin-top:22px;color:#0f172a}
.dcr-cost-table th,.dcr-cost-table td{text-align:center;vertical-align:middle}
.dcr-cost-table input[readonly]{background:#f8fafc;color:#334155;font-weight:800}
.dcr-cost-table .dcr-cost-unit{border-color:#93c5fd;background:#fff}
.dcr-cost-grand-total{margin-top:18px;padding:16px 18px;border-radius:16px;background:#0f172a;color:#fff;text-align:right;font-size:18px;font-weight:900}
.dcr-cost-grand-total strong{font-size:24px;color:#fbbf24}
@media(max-width:900px){.dcr-kv-grid{grid-template-columns:1fr}.dcr-cost-table{display:block;overflow-x:auto}.dcr-cost-grand-total{text-align:left}}


/* v2.8.5 accountant cost UI polish */
.dcr-cost-table .dcr-cost-unit,
.dcr-cost-table .dcr-cost-qty,
.dcr-cost-table .dcr-cost-total{
  -moz-appearance:textfield;
}
.dcr-cost-table .dcr-cost-unit::-webkit-outer-spin-button,
.dcr-cost-table .dcr-cost-unit::-webkit-inner-spin-button,
.dcr-cost-table .dcr-cost-qty::-webkit-outer-spin-button,
.dcr-cost-table .dcr-cost-qty::-webkit-inner-spin-button,
.dcr-cost-table .dcr-cost-total::-webkit-outer-spin-button,
.dcr-cost-table .dcr-cost-total::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.dcr-cost-table .dcr-cost-total{
  min-width:86px!important;
  font-size:16px!important;
  font-weight:900!important;
  color:#0f172a!important;
  background:#eefdf5!important;
  border-color:#bbf7d0!important;
}
.dcr-cost-grand-value{
  font-size:28px!important;
  letter-spacing:.3px;
}

/* v2.9 Accountant Cost Center */
.dcr-cost-center .dcr-page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}
.dcr-filter-bar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;margin:14px 0 20px;box-shadow:0 10px 25px rgba(15,23,42,.04)}
.dcr-filter-bar label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#334155}.dcr-filter-bar input,.dcr-filter-bar select{min-width:170px}
.dcr-cost-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.dcr-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 10px 25px rgba(15,23,42,.05)}.dcr-kpi span{display:block;color:#64748b;font-weight:800;margin-bottom:8px}.dcr-kpi strong{font-size:24px;color:#0f172a}
.dcr-cost-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.dcr-cost-card{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:18px;padding:16px}.dcr-cost-card strong{display:block;color:#334155}.dcr-cost-card b{display:block;font-size:20px;color:#0f172a;margin:7px 0}.dcr-mini-bar{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin:10px 0}.dcr-mini-bar i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#22c55e);border-radius:999px}.dcr-cost-card small{color:#64748b;font-weight:700}
@media(max-width:1100px){.dcr-cost-kpis{grid-template-columns:repeat(2,1fr)}.dcr-cost-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.dcr-cost-kpis,.dcr-cost-cards{grid-template-columns:1fr}.dcr-cost-center .dcr-page-head{display:block}.dcr-filter-bar label,.dcr-filter-bar input,.dcr-filter-bar select{width:100%;min-width:0}}


/* v3.0 Inventory Module */
.dcr-inventory-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px}
.dcr-inventory-tabs a{padding:10px 14px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;text-decoration:none;color:#334155;font-weight:800;box-shadow:0 10px 25px rgba(15,23,42,.05)}
.dcr-inventory-tabs a.active{background:#0f172a;color:#fff;border-color:#0f172a}
.dcr-inventory-kpis{grid-template-columns:repeat(5,minmax(140px,1fr))}
.dcr-kpi.danger{background:#fff1f2;border-color:#fecdd3}
.dcr-kpi.danger strong{color:#e11d48}
.dcr-inventory-alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.dcr-low-card{background:#fff1f2;border:1px solid #fecdd3;border-radius:16px;padding:14px;color:#9f1239;display:flex;flex-direction:column;gap:6px}
.dcr-row-danger td{background:#fff7f7!important}
.dcr-danger-link{color:#dc2626;font-weight:800;text-decoration:none}
.dcr-inventory-wrap .dcr-form-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.dcr-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.dcr-muted{color:#64748b}
@media(max-width:900px){.dcr-inventory-kpis{grid-template-columns:1fr 1fr}.dcr-section-title{align-items:flex-start;flex-direction:column}}

/* v3.0.1 Inventory UI polish - admin */
.dcr-inventory-wrap .dcr-grid-2{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr)!important;gap:22px!important;align-items:start!important;}
.dcr-inventory-wrap .dcr-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
.dcr-inventory-wrap label{display:block!important;white-space:normal!important;line-height:1.35!important;font-weight:800!important;word-break:normal!important;}
.dcr-inventory-wrap input,.dcr-inventory-wrap select,.dcr-inventory-wrap textarea{width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px!important;}
.dcr-inventory-wrap .dcr-table{width:100%!important;table-layout:auto!important;}
.dcr-inventory-wrap .dcr-table th,.dcr-inventory-wrap .dcr-table td{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;text-align:center!important;vertical-align:middle!important;}
.dcr-inventory-tabs{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
.dcr-inventory-tabs a{white-space:nowrap!important;}
@media(max-width:1100px){.dcr-inventory-wrap .dcr-grid-2{grid-template-columns:1fr!important}}
/* v3.1 Material Request Workflow */
.dcr-inventory-requests-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)!important;gap:22px!important;align-items:start!important}
.dcr-flow-cards{display:grid;gap:12px}
.dcr-flow-cards>div{padding:14px 16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.dcr-flow-cards strong{font-size:15px;color:#0f172a}.dcr-flow-cards span{color:#64748b;font-size:13px}.dcr-btn.small{padding:7px 10px!important;border-radius:10px!important;font-size:12px!important;display:inline-flex!important;margin:2px!important}.dcr-btn.success{background:#16a34a!important;color:#fff!important}.dcr-btn.danger{background:#dc2626!important;color:#fff!important}.dcr-request-table td{vertical-align:middle!important}
@media(max-width:1100px){.dcr-inventory-requests-grid{grid-template-columns:1fr!important}}

/* v3.1.1 material request quick actions */
.dcr-dashboard-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.dcr-btn.secondary{background:#eef6ff;color:#0756c7;border:1px solid #cfe4ff}
.dcr-btn.secondary:hover{background:#dcebff}
.dcr-front-menu a span{display:inline-block;min-width:18px}
.dcr-inventory-wrap .dcr-page-head{align-items:center}
.dcr-inventory-requests-grid .dcr-panel{min-width:0}
@media(max-width:760px){.dcr-dashboard-actions{justify-content:stretch}.dcr-dashboard-actions .dcr-btn{width:100%;text-align:center}.dcr-front-top{gap:15px}}


/* v4.3 company media upload + control panel polish */
.dcr-media-row{display:flex;gap:10px;align-items:center;width:100%}
.dcr-media-row input{flex:1;min-width:0}
.dcr-media-field small{display:block;margin-top:7px;color:#64748b}
.dcr-media-preview{display:block;max-width:170px;max-height:95px;margin-top:12px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;padding:8px;object-fit:contain}
.dcr-actions-inline form{white-space:nowrap}
.dcr-status.inactive,.dcr-status.deleted{background:#fee2e2;color:#991b1b}
@media(max-width:760px){.dcr-media-row{flex-direction:column;align-items:stretch}.dcr-media-row .dcr-btn{width:100%;justify-content:center}}

/* v4.4.2 direct drag-drop company logo/stamp upload */
.dcr-file-drop{position:relative;border:2px dashed #93c5fd;background:#f8fbff;border-radius:16px;padding:24px;text-align:center;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:115px;margin-top:8px;transition:.2s}
.dcr-file-drop:hover{border-color:#1769e0;background:#eff6ff}
.dcr-file-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.dcr-file-drop strong{font-size:16px;color:#0f172a}
.dcr-file-drop span{font-size:13px;color:#64748b}

/* v4.7 Module Access Control */
.dcr-company-sub-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.dcr-company-module-checks{display:flex;gap:8px;flex-wrap:wrap;flex-basis:100%;margin-top:6px}.dcr-company-module-checks label{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 10px;font-size:12px}.dcr-company-sub-row td{background:#fbfdff!important}.dcr-module-locked{max-width:760px;margin:30px auto;text-align:center;padding:36px!important;border:1px solid rgba(239,68,68,.18)!important;background:linear-gradient(135deg,#fff,#fff7f7)!important}.dcr-lock-icon{width:66px;height:66px;border-radius:22px;margin:0 auto 14px;display:grid;place-items:center;font-size:30px;background:#fee2e2;color:#991b1b}


/* BunyanPro Purchase Orders */
.dcr-po-tabs{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.dcr-po-grid{align-items:start}
.dcr-po-card h2,.dcr-po-form-panel h2{margin-top:0;color:#1769e0}
.dcr-po-category-box{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 10px}
.dcr-chip-check{display:inline-flex;align-items:center;gap:6px;background:#f4f7fb;border:1px solid #dfe8f5;border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer}
.dcr-chip-check input{width:auto!important;min-height:auto!important}
.dcr-po-suppliers{display:grid;gap:12px}
.dcr-po-supplier-card{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;background:#f8fbff;border:1px solid #e2ebf7;border-radius:18px;padding:15px}
.dcr-po-supplier-card strong{display:block;font-size:18px;color:#0f172a}
.dcr-po-supplier-card small{display:block;color:#64748b;margin-top:4px}
.dcr-po-supplier-card p{margin:8px 0;color:#334155}
.dcr-chip{display:inline-block;background:#fff4cf;border-radius:999px;padding:6px 10px;color:#7a5600;font-weight:800;font-size:12px}
.dcr-po-actions{display:flex;gap:8px;flex-wrap:wrap}
.dcr-btn.small{padding:8px 12px;font-size:13px;border-radius:10px}
.dcr-btn.danger{border-color:#fecaca;color:#dc2626;background:#fff5f5}
.dcr-po-list-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}
.dcr-po-form .dcr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dcr-po-form .dcr-form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:800}
.dcr-po-items-table input{min-width:110px}
.dcr-table-scroll{overflow:auto}
.dcr-po-row-actions{white-space:nowrap}
.dcr-status.draft{background:#eef2f7;color:#334155}
.dcr-status.pending{background:#fff7ed;color:#c2410c}
.dcr-status.approved{background:#dcfce7;color:#15803d}
.dcr-status.rejected{background:#fee2e2;color:#b91c1c}
.dcr-rtl .dcr-po-supplier-card{text-align:right}
@media (max-width: 780px){
  .dcr-po-tabs{width:100%}
  .dcr-po-tabs .dcr-btn{flex:1;text-align:center}
  .dcr-po-grid,.dcr-po-form .dcr-form-grid{grid-template-columns:1fr!important}
  .dcr-po-supplier-card{flex-direction:column}
  .dcr-po-list-head{flex-direction:column;align-items:stretch}
  .dcr-po-list-head .dcr-btn{width:100%;text-align:center}
}
/* v5.1.1 Material Request -> Purchase Order */
.dcr-request-actions{min-width:260px}.dcr-po-from-request{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.dcr-po-from-request select{min-width:150px;max-width:230px;padding:8px 10px;border-radius:10px;border:1px solid #dbe5f1;background:#fff}.dcr-po-request-box{margin-top:8px;padding:8px 10px;border-radius:10px;background:#fff8e1;color:#8a5a00}.dcr-po-source-notice{padding:12px 14px;margin:0 0 16px;border-radius:14px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;font-weight:700}.rtl .dcr-po-from-request{direction:rtl}
@media(max-width:780px){.dcr-po-from-request{display:block}.dcr-po-from-request select,.dcr-po-from-request button{width:100%;margin-top:8px}.dcr-request-actions{min-width:0}}

/* v5.2 Smart Progress */
.dcr-smart-progress-readonly{background:#f4f7fb!important;color:#475569!important;border-style:dashed!important;cursor:not-allowed;}
/* v5.3 Work Items + Work Locations dropdowns */
.dcr-repeatable-table select{width:100%;box-sizing:border-box;border:1px solid #dbeafe;border-radius:10px;padding:9px 10px;background:#fff;min-height:40px;}


/* v5.4 Progress Dashboard */
.dcr-progress-filter{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.dcr-progress-filter select{min-width:260px;border-radius:12px;border:1px solid #d8e2ef;padding:9px 12px;background:#fff}.dcr-progress-list{display:grid;gap:12px}.dcr-progress-row{display:grid;grid-template-columns:1.2fr 2fr 70px;gap:12px;align-items:center;border:1px solid #e6eaf0;border-radius:14px;padding:12px;background:#fff}.dcr-progress-row strong{display:block;color:#0f172a}.dcr-progress-row small{display:block;color:#64748b;margin-top:4px}.dcr-progress-bar,.dcr-progress-mini{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}.dcr-progress-bar span,.dcr-progress-mini span{display:block;height:100%;background:linear-gradient(90deg,#1769e0,#22c55e);border-radius:999px}.dcr-progress-mini{height:9px;margin-bottom:5px}.dcr-progress-table td{vertical-align:middle!important}.dcr-progress-bars{height:240px}.dcr-progress-dashboard .dcr-status.draft{background:#eff6ff;color:#1769e0}.dcr-progress-dashboard .dcr-status.pending{background:#fff7ed;color:#f97316}.dcr-progress-dashboard .dcr-status.rejected{background:#fff1f2;color:#e11d48}.dcr-progress-dashboard .dcr-status.approved{background:#ecfdf5;color:#16a34a}@media(max-width:900px){.dcr-progress-row{grid-template-columns:1fr}.dcr-progress-filter select{width:100%;min-width:0}}

/* v5.4.1 Progress Flow Chart */
.dcr-total-explain .dcr-total-formula{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e6eaf0;border-radius:14px;padding:12px;margin:14px 0}.dcr-total-explain .dcr-total-formula span,.dcr-total-explain .dcr-total-formula strong{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:8px 12px}.dcr-total-explain .dcr-total-formula b{color:#64748b}.dcr-total-big{font-size:46px;font-weight:900;color:#1769e0;line-height:1;margin-top:10px}.dcr-flow-panel{margin-top:20px}.dcr-progress-flow{display:grid;gap:18px}.dcr-flow-project{border:1px solid #e6eaf0;border-radius:18px;padding:16px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.04)}.dcr-flow-project-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.dcr-flow-project-head strong{display:block;font-size:18px;color:#0f172a}.dcr-flow-project-head small{display:block;color:#64748b;margin-top:4px}.dcr-flow-project-head span{font-size:24px;font-weight:900;color:#1769e0}.dcr-flow-items{display:grid;gap:16px;margin-top:18px}.dcr-flow-item{display:grid;grid-template-columns:250px 1fr;gap:26px;align-items:start;position:relative}.dcr-flow-item:before{content:"";position:absolute;left:250px;right:auto;top:38px;width:26px;height:2px;background:#cbd5e1}.dcr-flow-node{border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:13px}.dcr-flow-node.item-node{background:linear-gradient(135deg,#eff6ff,#f8fafc);border-color:#bfdbfe;min-height:80px}.dcr-flow-node.item-node strong{display:block;color:#0f172a}.dcr-flow-node.item-node em{display:inline-block;margin-top:8px;font-style:normal;font-size:22px;font-weight:900;color:#1769e0}.dcr-flow-node.item-node small{display:block;color:#64748b}.dcr-flow-locations{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.dcr-flow-locations .location-node{position:relative;background:#f8fafc}.dcr-flow-locations .location-node:before{content:"";position:absolute;left:-14px;top:34px;width:14px;height:2px;background:#cbd5e1}.dcr-flow-locations .location-node span{display:block;font-weight:700;color:#0f172a}.dcr-flow-locations .location-node b{display:block;font-size:20px;margin:6px 0;color:#0f172a}.dcr-flow-locations .location-node small{color:#64748b}.dcr-flow-locations .location-node.start{border-color:#fecdd3;background:#fff1f2}.dcr-flow-locations .location-node.progress{border-color:#bfdbfe;background:#eff6ff}.dcr-flow-locations .location-node.almost{border-color:#fed7aa;background:#fff7ed}.dcr-flow-locations .location-node.done{border-color:#bbf7d0;background:#ecfdf5}@media(max-width:900px){.dcr-flow-item{grid-template-columns:1fr}.dcr-flow-item:before,.dcr-flow-locations .location-node:before{display:none}.dcr-total-big{font-size:36px}}

/* v5.5 Final Smart Progress Engine status polish */
.dcr-status.not-started{background:#f1f5f9;color:#475569}
.dcr-status.starting{background:#fff1f2;color:#e11d48}
.dcr-status.in-progress{background:#eff6ff;color:#1769e0}
.dcr-status.almost-done{background:#f5f3ff;color:#7c3aed}
.dcr-status.completed{background:#dcfce7;color:#15803d}
.dcr-flow-node.location-node.not-started{background:#f8fafc;border-color:#cbd5e1}
.dcr-flow-node.location-node.starting{background:#fff1f2;border-color:#fecdd3}
.dcr-flow-node.location-node.in-progress{background:#eff6ff;border-color:#bfdbfe}
.dcr-flow-node.location-node.almost-done{background:#f5f3ff;border-color:#ddd6fe}
.dcr-flow-node.location-node.completed{background:#ecfdf5;border-color:#bbf7d0}
.dcr-flow-node .dcr-status{margin:6px 0;display:inline-flex;width:max-content}


/* v5.6 Historical Progress Timeline */
.dcr-progress-timeline .dcr-timeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px;margin-top:16px}
.dcr-timeline-card{border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 25px rgba(15,23,42,.04);overflow:hidden}
.dcr-timeline-card.not-started{background:#f8fafc;border-color:#cbd5e1}.dcr-timeline-card.starting{background:#fff7f7;border-color:#fecdd3}.dcr-timeline-card.in-progress{background:#f8fbff;border-color:#bfdbfe}.dcr-timeline-card.almost-done{background:#faf7ff;border-color:#ddd6fe}.dcr-timeline-card.completed{background:#f0fdf4;border-color:#bbf7d0}
.dcr-timeline-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.dcr-timeline-head strong{font-size:16px;color:#0f172a;display:block}.dcr-timeline-head small{color:#64748b;display:block;margin-top:4px}.dcr-timeline-score{text-align:end}.dcr-timeline-score b{display:block;font-size:28px;color:#1769e0;line-height:1;margin-bottom:7px}
.dcr-timeline-svg-wrap{height:180px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e6eaf0;border-radius:16px;padding:12px;margin:12px 0}.dcr-timeline-svg{width:100%;height:100%;overflow:visible}.dcr-timeline-svg .grid{stroke:#e2e8f0;stroke-width:.7}.dcr-timeline-svg .axis{stroke:#94a3b8;stroke-width:1}.dcr-timeline-svg .line{fill:none;stroke:#1769e0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.dcr-timeline-svg .dot{fill:#22c55e;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}
.dcr-timeline-points{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.dcr-timeline-point{display:flex;flex-direction:column;gap:2px;text-decoration:none;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:8px 10px;min-width:72px}.dcr-timeline-point span{font-size:12px;color:#64748b}.dcr-timeline-point b{color:#0f172a}.dcr-timeline-point small{font-size:11px;color:#64748b}.dcr-timeline-point:hover{border-color:#1769e0;background:#eff6ff}
@media(max-width:760px){.dcr-progress-timeline .dcr-timeline-grid{grid-template-columns:1fr}.dcr-timeline-head{flex-direction:column}.dcr-timeline-score{text-align:start}.dcr-timeline-svg-wrap{height:150px}}

/* v5.7 Supplier WhatsApp PO link */
.dcr-po-whatsapp-link{
    color:#128C7E !important;
    font-weight:700;
    text-decoration:none;
}
.dcr-po-whatsapp-link:hover{
    color:#075E54 !important;
    text-decoration:underline;
}


/* v6.3 Material RFQ & Supplier Quotations */
.dcr-rfq-upload-box{margin:18px 0;padding:16px;border:1px solid #dfe7f3;border-radius:16px;background:#f8fbff}
.dcr-rfq-upload-box h3{margin:0 0 6px;font-size:17px;font-weight:800;color:#10233f}
.dcr-rfq-upload-row{display:grid;grid-template-columns:1.2fr .8fr .8fr 1fr;gap:12px;margin:10px 0;padding:12px;border:1px dashed #ccd8ea;border-radius:14px;background:#fff}
.dcr-rfq-upload-row label{font-weight:700;color:#10233f}
.dcr-rfq-cell{margin-top:10px;padding-top:8px;border-top:1px solid #eef2f7}
.dcr-rfq-list{display:flex;flex-direction:column;gap:7px;margin-top:7px}
.dcr-rfq-item{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dfe7f3;border-radius:12px;background:#fff;font-size:12px}
.dcr-rfq-item.selected{border-color:#22c55e;background:#f0fdf4}
.dcr-rfq-item strong{color:#0f172a}
.dcr-rfq-item span{font-weight:800;color:#1d4ed8}
.dcr-rfq-item a{font-weight:700;text-decoration:none}
.dcr-rfq-item em{font-style:normal;background:#dcfce7;color:#166534;border-radius:999px;padding:3px 8px;font-weight:800}
.dcr-rfq-select{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:3px 8px}
.dcr-po-from-request select{max-width:190px;margin:4px 0;display:block}
@media (max-width:900px){.dcr-rfq-upload-row{grid-template-columns:1fr}}

/* v6.4 Purchase Comparison Center */
.dcr-purchase-comparison-center{margin-top:24px;overflow:hidden}
.dcr-empty-box{padding:18px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#64748b;font-weight:700;text-align:center}
.dcr-comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;margin-top:14px}
.dcr-comparison-card{border:1px solid #dbe5f4;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 12px 30px rgba(15,23,42,.06);padding:14px}
.dcr-comparison-card.has-selected{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f0fdf4)}
.dcr-comparison-card.needs-selection{border-color:#fed7aa;background:linear-gradient(180deg,#fff,#fff7ed)}
.dcr-comparison-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.dcr-comparison-card-head strong{display:block;font-size:17px;color:#0f172a;font-weight:900}
.dcr-comparison-card-head span{display:block;color:#64748b;font-weight:700;margin-top:4px}
.dcr-comparison-card-head em{font-style:normal;background:#e0f2fe;color:#075985;border-radius:999px;padding:5px 10px;font-weight:900;white-space:nowrap}
.dcr-quote-compare{border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden;margin-top:8px}
.dcr-quote-compare.compact{margin-top:0}
.dcr-quote-compare-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.dcr-quote-compare-head strong{font-weight:900;color:#10233f}
.dcr-quote-compare-head span{font-size:12px;font-weight:900;color:#2563eb;background:#eff6ff;border-radius:999px;padding:3px 8px}
.dcr-quote-compare-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
.dcr-quote-compare-table th{background:#f1f5f9;color:#475569;text-align:start;padding:8px;font-weight:900;border-bottom:1px solid #e2e8f0}
.dcr-quote-compare-table td{padding:9px 8px;border-bottom:1px solid #eef2f7;vertical-align:middle}
.dcr-quote-compare-table tr:last-child td{border-bottom:0}
.dcr-quote-compare-table tr.best td{background:#fff7ed}
.dcr-quote-compare-table tr.selected td{background:#ecfdf5}
.dcr-quote-compare-table td strong{color:#0f172a;font-weight:900}
.dcr-best-badge,.dcr-selected-badge{display:inline-block;margin-inline-start:6px;font-style:normal;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:900}
.dcr-best-badge{background:#ffedd5;color:#c2410c}
.dcr-selected-badge{background:#dcfce7;color:#166534}
.dcr-selected-text{display:inline-block;background:#dcfce7;color:#166534;border-radius:999px;padding:4px 8px;font-weight:900;font-size:12px}
.dcr-quote-pdf{display:inline-block;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8!important;border-radius:999px;padding:4px 8px;font-weight:900;text-decoration:none!important}
.dcr-quote-actions{white-space:nowrap}
.dcr-comparison-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}
.dcr-po-from-request.compact{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}
.dcr-po-from-request.compact select{max-width:210px;min-height:34px;border-radius:10px;border:1px solid #cbd5e1}
@media (max-width:900px){.dcr-comparison-grid{grid-template-columns:1fr}.dcr-comparison-footer{align-items:stretch;flex-direction:column}.dcr-po-from-request.compact select{max-width:none;width:100%}}

/* v6.5 Supplier Management */
.dcr-supplier-management-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #e5edf8;border-radius:22px;padding:24px;margin-bottom:18px}
.dcr-supplier-management-hero h2{margin:0 0 6px;font-size:26px;font-weight:900;color:#0f172a}
.dcr-supplier-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}
.dcr-kpi-card{background:#fff;border:1px solid #e5edf8;border-radius:18px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.dcr-kpi-card span{display:block;color:#64748b;font-weight:800;margin-bottom:8px}
.dcr-kpi-card strong{font-size:26px;color:#0f172a;font-weight:900}
.dcr-top-supplier{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:20px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;margin-bottom:18px}
.dcr-top-supplier h3{font-size:24px;margin:8px 0;color:#0f172a}
.dcr-chip.best{background:#ffedd5;color:#c2410c;border-color:#fed7aa}
.dcr-supplier-performance-table th,.dcr-supplier-performance-table td{vertical-align:middle}
.dcr-rating-stars{color:#f59e0b;letter-spacing:1px;white-space:nowrap}
.dcr-supplier-mini{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;color:#334155;font-size:12px;font-weight:800}
.dcr-supplier-mini span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px}
@media(max-width:1100px){.dcr-supplier-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dcr-supplier-management-hero,.dcr-top-supplier{flex-direction:column;align-items:flex-start}}
@media(max-width:700px){.dcr-supplier-kpis{grid-template-columns:1fr}}

/* v6.6 Supplier Score & Blacklist */
.dcr-kpi-card.score{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f0fdf4)}
.dcr-kpi-card.watch{border-color:#fde68a;background:linear-gradient(180deg,#fff,#fffbeb)}
.dcr-kpi-card.danger{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fef2f2)}
.dcr-chip.score{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.dcr-top-score-supplier{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#bbf7d0}
.dcr-supplier-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900;border:1px solid #dbe5f4;background:#eff6ff;color:#1d4ed8;white-space:nowrap}
.dcr-supplier-status.active{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.dcr-supplier-status.watch{background:#fef3c7;color:#92400e;border-color:#fde68a}
.dcr-supplier-status.blacklisted{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.dcr-grade{display:inline-block;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900;margin-inline-start:8px;background:#f1f5f9;color:#334155}
.dcr-grade.excellent{background:#dcfce7;color:#166534}.dcr-grade.good{background:#dbeafe;color:#1e40af}.dcr-grade.acceptable{background:#fef3c7;color:#92400e}.dcr-grade.weak{background:#fee2e2;color:#991b1b}
.dcr-subtitle{font-size:16px;margin:18px 0 10px;color:#0f172a;font-weight:900}
.dcr-score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.dcr-supplier-score-preview{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;margin:10px 0 14px}
.dcr-toggle-line{display:flex!important;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin:10px 0;font-weight:900;color:#10233f}
.dcr-toggle-line input{width:auto!important;margin:0!important}
.dcr-supplier-card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.dcr-supplier-card-watch{border-color:#fde68a!important;background:linear-gradient(180deg,#fff,#fffbeb)!important}
.dcr-supplier-card-blacklisted{border-color:#fecaca!important;background:linear-gradient(180deg,#fff,#fef2f2)!important;opacity:.88}
.dcr-blacklist-reason{margin:8px 0 0;color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:12px;padding:8px;font-size:12px;font-weight:800}
@media(max-width:900px){.dcr-score-grid{grid-template-columns:1fr}}

/* v6.6.1 Preferred Supplier + Real Blacklist UI */
.dcr-kpi-card.preferred{border-color:#fde68a;background:linear-gradient(180deg,#fff,#fffbeb)}
.dcr-chip.preferred{background:#fef3c7;color:#92400e;border-color:#fde68a}
.dcr-preferred-supplier{background:linear-gradient(135deg,#fffbeb,#fff);border-color:#fde68a}
.dcr-supplier-control-box{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbeafe;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:18px;padding:14px 16px;margin:14px 0;box-shadow:0 10px 24px rgba(37,99,235,.05)}
.dcr-supplier-control-box h3{margin:0 0 3px;font-size:17px;font-weight:900;color:#10233f}
.dcr-supplier-control-box p{margin:0;color:#64748b;font-size:12px;font-weight:700}
.dcr-quick-status{display:flex!important;align-items:center;gap:8px;margin:0!important;font-weight:900;color:#0f172a;white-space:nowrap}
.dcr-quick-status select{min-width:150px;border-radius:12px!important;border:1px solid #bfdbfe!important;background:#fff!important;min-height:40px!important;padding:0 10px!important}
.dcr-toggle-pill{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;border:1px solid #fde68a;background:#fffbeb;border-radius:999px;padding:9px 12px;font-weight:900;color:#92400e;white-space:nowrap}
.dcr-toggle-pill input{width:auto!important;margin:0!important}
.dcr-preferred-badge{display:inline-flex;align-items:center;gap:4px;background:#fef3c7;color:#92400e;border:1px solid #fde68a;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;white-space:nowrap}
.dcr-supplier-card-preferred{border-color:#fde68a!important;background:linear-gradient(180deg,#fff,#fffbeb)!important;box-shadow:0 12px 30px rgba(245,158,11,.10)!important}
.dcr-supplier-card-preferred .dcr-supplier-card-title strong:before{content:'⭐ ';}
@media(max-width:900px){.dcr-supplier-control-box{align-items:stretch;flex-direction:column}.dcr-quick-status{justify-content:space-between}.dcr-toggle-pill{justify-content:center}}

/* v7.1 BunyanPro Dashboard Cards Hub */
.dcr-hub-wrap{font-family:Cairo,Tahoma,Arial,sans-serif!important;color:#102033;max-width:1280px}
.dcr-hub-wrap *{box-sizing:border-box}
.dcr-hub-hero{position:relative;overflow:hidden;border-radius:30px;padding:34px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:center;background:linear-gradient(135deg,#151b2d 0%,#28345a 45%,#7a4b16 100%);box-shadow:0 22px 55px rgba(15,23,42,.22);color:#fff;margin:18px 0 24px}
.dcr-hub-hero:before{content:"";position:absolute;inset:-80px auto auto -80px;width:240px;height:240px;background:rgba(255,255,255,.12);border-radius:50%;filter:blur(4px)}
.dcr-hub-hero:after{content:"";position:absolute;right:-70px;bottom:-100px;width:320px;height:320px;background:rgba(212,175,55,.24);border-radius:50%;filter:blur(3px)}
.dcr-hub-hero-content,.dcr-hub-hero-panel{position:relative;z-index:1}
.dcr-hub-badge{display:inline-flex;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:8px 14px;font-weight:800;font-size:12px;margin-bottom:12px;backdrop-filter:blur(12px)}
.dcr-hub-hero h1{color:#fff!important;font-size:34px;line-height:1.2;margin:0 0 10px;font-weight:900;letter-spacing:-.4px}
.dcr-hub-hero p{font-size:15px;color:rgba(255,255,255,.82);margin:0 0 22px;max-width:680px}
.dcr-hub-actions{display:flex;gap:12px;flex-wrap:wrap}
.dcr-hub-primary,.dcr-hub-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:14px;text-decoration:none!important;font-weight:900;padding:10px 16px;transition:.2s ease}
.dcr-hub-primary{background:#f6c453;color:#151b2d!important;box-shadow:0 12px 30px rgba(246,196,83,.32)}
.dcr-hub-secondary{background:rgba(255,255,255,.13);color:#fff!important;border:1px solid rgba(255,255,255,.22)}
.dcr-hub-primary:hover,.dcr-hub-secondary:hover{transform:translateY(-2px)}
.dcr-hub-hero-panel{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:24px;padding:22px;backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.dcr-hub-hero-panel strong{display:block;font-size:18px;margin-bottom:7px;color:#fff}.dcr-hub-hero-panel span{color:rgba(255,255,255,.78);line-height:1.7}
.dcr-hub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.dcr-hub-kpi{background:rgba(255,255,255,.84);border:1px solid rgba(226,232,240,.92);box-shadow:0 14px 35px rgba(15,23,42,.08);border-radius:22px;padding:18px;display:flex;gap:14px;align-items:center;backdrop-filter:blur(10px)}
.dcr-hub-kpi .dashicons{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;font-size:24px;color:#fff}.dcr-hub-kpi small{display:block;color:#64748b;font-size:12px;font-weight:900;margin-bottom:5px}.dcr-hub-kpi strong{display:block;font-size:28px;color:#0f172a;font-weight:950;line-height:1}
.dcr-hub-kpi.blue .dashicons{background:linear-gradient(135deg,#2563eb,#38bdf8)}.dcr-hub-kpi.orange .dashicons{background:linear-gradient(135deg,#f97316,#facc15)}.dcr-hub-kpi.green .dashicons{background:linear-gradient(135deg,#16a34a,#22c55e)}.dcr-hub-kpi.purple .dashicons{background:linear-gradient(135deg,#7c3aed,#c084fc)}
.dcr-hub-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}
.dcr-hub-section{background:rgba(255,255,255,.9);border:1px solid #e5e7eb;border-radius:28px;padding:22px;box-shadow:0 16px 42px rgba(15,23,42,.08);position:relative;overflow:hidden;transition:.22s ease}
.dcr-hub-section:hover{transform:translateY(-3px);box-shadow:0 22px 52px rgba(15,23,42,.12)}
.dcr-hub-section:before{content:"";position:absolute;top:0;right:0;left:0;height:5px;background:#2563eb}.dcr-hub-section.green:before{background:#16a34a}.dcr-hub-section.gold:before{background:#d4af37}.dcr-hub-section.cyan:before{background:#0891b2}.dcr-hub-section.red:before{background:#dc2626}.dcr-hub-section.violet:before{background:#7c3aed}.dcr-hub-section.dark:before{background:#0f172a}
.dcr-hub-section-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.dcr-hub-section-icon{width:54px;height:54px;border-radius:19px;background:#f8fafc;display:grid;place-items:center;font-size:28px;border:1px solid #e5e7eb;flex:0 0 auto}.dcr-hub-section h2{font-size:20px;margin:0 0 5px;color:#0f172a;font-weight:950}.dcr-hub-section p{margin:0;color:#64748b;line-height:1.7;font-weight:700;font-size:13px}
.dcr-hub-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.dcr-hub-card{display:flex;gap:9px;align-items:center;background:#f8fafc;border:1px solid #e6edf5;border-radius:16px;padding:12px;text-decoration:none!important;color:#1e293b!important;min-height:54px;transition:.18s ease}.dcr-hub-card:hover{background:#fff;transform:translateY(-2px);box-shadow:0 12px 22px rgba(15,23,42,.08);border-color:#cbd5e1}.dcr-hub-card .dashicons{color:#1769e0;font-size:20px;width:22px;height:22px}.dcr-hub-card strong{font-size:13px;line-height:1.4;font-weight:900}
.dcr-hub-bottom-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr);gap:18px;margin-bottom:30px}.dcr-hub-panel{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 14px 35px rgba(15,23,42,.06)}.dcr-hub-panel h2{margin:0 0 14px;color:#0f172a;font-size:19px;font-weight:950}.dcr-hub-note{display:flex;flex-direction:column;gap:10px}.dcr-hub-note a{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;text-decoration:none!important;color:#0f172a!important;font-weight:900}.dcr-hub-note a:hover{background:#eef6ff;border-color:#bfdbfe}.dcr-hub-table th,.dcr-hub-table td{text-align:right!important}
@media(max-width:1100px){.dcr-hub-hero{grid-template-columns:1fr}.dcr-hub-kpis{grid-template-columns:repeat(2,1fr)}.dcr-hub-sections{grid-template-columns:1fr}.dcr-hub-bottom-grid{grid-template-columns:1fr}}
@media(max-width:680px){.dcr-hub-hero{padding:24px;border-radius:24px}.dcr-hub-hero h1{font-size:26px}.dcr-hub-kpis{grid-template-columns:1fr}.dcr-hub-actions a{width:100%}.dcr-hub-card-grid{grid-template-columns:1fr}.dcr-hub-section{padding:18px}}


/* v7.1.1 UX Polish: Global Cairo + smooth admin surfaces */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');
body.wp-admin[class*="dcr"],
body.wp-admin[class*="dcr"] *,
body.wp-admin.toplevel_page_dcr-dashboard,
body.wp-admin.toplevel_page_dcr-dashboard *,
.dcr-wrap, .dcr-wrap *,
.bunyanpro-dashboard, .bunyanpro-dashboard *,
.dcr-card, .dcr-card *,
.dcr-admin-card, .dcr-admin-card *,
.dcr-table, .dcr-table *,
.dcr-form, .dcr-form * {
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
}
.dcr-page-tools{
    direction:rtl;
}


/* v8.0 Report Video Attachments + Time-Lapse Link */
.dcr-report-video-box{margin-top:18px;padding:18px;border:1px solid #dbe7ff;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:22px;box-shadow:0 14px 35px rgba(15,23,42,.05)}
.dcr-video-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.dcr-video-head h3{margin:0;font-weight:900;color:#0f172a}.dcr-video-link-grid{margin-top:12px}.dcr-video-upload-label{display:block;margin-top:12px;font-weight:900;color:#0f172a}.dcr-video-upload-label input{display:block;margin-top:8px;width:100%;border:1px dashed #93c5fd;border-radius:16px;padding:16px;background:#fff}.dcr-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}.dcr-video-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:12px;box-shadow:0 10px 28px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:8px}.dcr-video-card video{width:100%;height:150px;background:#0f172a;border-radius:14px;object-fit:cover}.dcr-video-source{position:absolute;top:18px;inset-inline-start:18px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;z-index:2}.dcr-video-source.timelapse{background:#fffbeb;color:#92400e;border-color:#fde68a}.dcr-video-external{height:150px;border-radius:14px;background:linear-gradient(135deg,#1e293b,#4f46e5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:48px}.dcr-video-card strong{font-weight:900;color:#0f172a}.dcr-video-card small{color:#64748b}.dcr-video-empty{margin-top:12px;padding:14px;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#fff;font-weight:800;text-align:center}

/* BunyanPro v10.0 Project Plans Manager */
.dcr-project-plans-page .dcr-plans-layout{align-items:start;}
.dcr-project-plans-page .dcr-help-text{display:block;margin-top:8px;color:#64748b;font-size:12px;line-height:1.8;font-weight:700;}
.dcr-project-plans-page .dcr-muted{color:#64748b;font-weight:700;line-height:1.8;}
.dcr-plan-roadmap{display:grid;gap:10px;margin-top:12px;}
.dcr-plan-roadmap>div{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(148,163,184,.22);background:#f8fafc;border-radius:16px;padding:12px 14px;}
.dcr-plan-roadmap strong{color:#1d4ed8;font-weight:900;white-space:nowrap;}
.dcr-plan-roadmap span{color:#0f172a;font-weight:800;text-align:left;}
.dcr-plan-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin-top:16px;}
.dcr-plan-card{border:1px solid rgba(148,163,184,.24);border-radius:24px;background:linear-gradient(180deg,#fff,#f8fafc);overflow:hidden;box-shadow:0 18px 40px rgba(15,23,42,.08);}
.dcr-plan-preview{height:190px;background:#0f172a;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;}
.dcr-plan-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.dcr-plan-preview iframe{width:100%;height:100%;border:0;background:#fff;display:block;}
.dcr-plan-file-icon{width:76px;height:76px;border-radius:24px;background:linear-gradient(135deg,#2563eb,#d4af37);display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:1000;box-shadow:0 16px 40px rgba(37,99,235,.35);}
.dcr-plan-preview small{position:absolute;bottom:14px;right:14px;left:14px;color:#e2e8f0;text-align:center;font-weight:800;}
.dcr-plan-body{padding:18px;}
.dcr-plan-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;}
.dcr-plan-title-row h3{margin:0;color:#0f172a;font-size:18px;font-weight:1000;line-height:1.5;}
.dcr-plan-title-row span{background:#eff6ff;color:#1d4ed8;border:1px solid rgba(37,99,235,.18);border-radius:999px;padding:5px 10px;font-weight:900;white-space:nowrap;}
.dcr-plan-body p{margin:0 0 12px;color:#475569;line-height:1.8;font-weight:700;}
.dcr-plan-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px;}
.dcr-plan-meta span{background:#f8fafc;border:1px solid rgba(148,163,184,.22);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;color:#334155;}
.dcr-plan-actions{display:flex;flex-wrap:wrap;gap:8px;}
.dcr-btn.disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.15);}
.dcr-btn.danger{background:linear-gradient(135deg,#fee2e2,#fecaca)!important;color:#991b1b!important;border:1px solid rgba(239,68,68,.18)!important;}
@media(max-width:782px){.dcr-plan-cards{grid-template-columns:1fr}.dcr-plan-preview{height:170px}.dcr-plan-title-row{display:block}.dcr-plan-title-row span{display:inline-block;margin-top:8px}}

/* BunyanPro v10.0.1 Project Plans UI Polish */
.dcr-project-plans-page .dcr-page-head{display:none!important;}
.dcr-plans-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#0f172a,#2563eb 58%,#7c3aed);border-radius:30px;padding:28px 32px;color:#fff;margin:18px 0 18px;box-shadow:0 24px 55px rgba(37,99,235,.18);position:relative;overflow:hidden}
.dcr-plans-hero:after{content:"";position:absolute;inset:auto -60px -70px auto;width:240px;height:240px;border-radius:999px;background:rgba(255,255,255,.11);filter:blur(2px)}
.dcr-plans-hero>div,.dcr-plans-hero>button{position:relative;z-index:1}.dcr-plans-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:7px 14px;font-weight:900;margin-bottom:12px}.dcr-plans-hero h1{margin:0 0 8px!important;color:#fff!important;font-size:32px!important;font-weight:1000!important}.dcr-plans-hero p{margin:0;color:rgba(255,255,255,.88);font-weight:800;line-height:1.8;max-width:760px}.dcr-plans-hero .dcr-btn{background:#fff!important;color:#1d4ed8!important;border:0!important;box-shadow:0 16px 35px rgba(15,23,42,.18)!important;white-space:nowrap}
.dcr-plans-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.dcr-plans-stats>div{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px 20px;box-shadow:0 12px 35px rgba(15,23,42,.06)}.dcr-plans-stats span{display:block;color:#64748b;font-weight:900;font-size:12px;margin-bottom:8px}.dcr-plans-stats strong{display:block;color:#0f172a;font-size:28px;font-weight:1000;line-height:1}
.dcr-plan-form-shell{display:none;margin-bottom:18px}.dcr-plan-form-shell.is-open{display:block}.dcr-project-plans-page .dcr-plan-form{padding:26px!important;border-radius:28px!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important}.dcr-plan-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px;border-bottom:1px solid #edf2f7;padding-bottom:14px}.dcr-plan-form-head h2{margin:0!important;color:#0f172a!important;font-size:24px!important;font-weight:1000!important}.dcr-plan-form-head p{margin:6px 0 0;color:#64748b;font-weight:800}.dcr-plan-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.dcr-plan-form-grid-2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px;margin-top:14px}.dcr-plan-upload-box{background:#f8fbff!important;border:1px dashed #93c5fd!important;border-radius:20px!important;padding:16px!important}.dcr-plan-upload-box input[type=file]{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:12px;width:100%;box-sizing:border-box}.dcr-plan-submit-row{display:flex;gap:10px;align-items:center;margin-top:18px}.dcr-plan-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.dcr-plan-list-head h2{margin:0!important;font-size:25px!important;font-weight:1000!important;color:#0f172a!important}.dcr-plan-empty{border:1px dashed #cbd5e1;border-radius:22px;background:#f8fafc;padding:34px;text-align:center;color:#475569;display:grid;gap:8px}.dcr-plan-empty strong{font-size:18px;color:#0f172a;font-weight:1000}.dcr-plan-empty span{font-weight:800}.dcr-plan-cards{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))!important}.dcr-plan-card{border-radius:28px!important}.dcr-plan-preview{height:260px!important;background:linear-gradient(135deg,#0f172a,#334155)!important}.dcr-plan-title-row h3{font-size:21px!important}.dcr-plan-actions .dcr-btn{padding:10px 14px!important;border-radius:14px!important}.dcr-plan-roadmap,.dcr-plan-intro{display:none!important}
@media(max-width:1180px){.dcr-plan-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dcr-plans-stats{grid-template-columns:repeat(2,1fr)}.dcr-plan-form-grid-2{grid-template-columns:1fr}.dcr-plan-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important}}
@media(max-width:782px){.dcr-plans-hero{display:block;padding:24px}.dcr-plans-hero .dcr-btn{margin-top:16px;width:100%;justify-content:center}.dcr-plans-stats{grid-template-columns:1fr}.dcr-plan-form-grid{grid-template-columns:1fr!important}.dcr-plan-list-head{display:block}.dcr-plan-list-head .dcr-btn{margin-top:12px;width:100%}.dcr-plan-preview{height:210px!important}}

/* v10.0.2 Project Plans Form UI Polish */
.dcr-project-plans-page .dcr-plan-list-head .dcr-plan-toggle{display:none!important}
.dcr-project-plans-page .dcr-plan-form-modern{width:100%!important;max-width:none!important;padding:30px!important;border-radius:30px!important;background:#fff!important;border:1px solid rgba(148,163,184,.22)!important;box-shadow:0 20px 55px rgba(15,23,42,.08)!important;box-sizing:border-box!important}
.dcr-project-plans-page .dcr-plan-form-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin-bottom:22px!important;padding-bottom:18px!important;border-bottom:1px solid #eef2f7!important}
.dcr-project-plans-page .dcr-plan-form-head h2{font-size:26px!important;line-height:1.2!important;margin:0 0 6px!important;color:#0f172a!important;font-weight:1000!important}
.dcr-project-plans-page .dcr-plan-form-head p{margin:0!important;color:#64748b!important;font-weight:800!important;line-height:1.7!important}
.dcr-project-plans-page .dcr-plan-field-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-bottom:18px!important}
.dcr-project-plans-page .dcr-plan-field{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;color:#0f172a!important;font-size:14px!important;font-weight:900!important;line-height:1.4!important;white-space:normal!important}
.dcr-project-plans-page .dcr-plan-field input,
.dcr-project-plans-page .dcr-plan-field select,
.dcr-project-plans-page .dcr-plan-field textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #dbe3ef!important;border-radius:16px!important;background:#fff!important;color:#0f172a!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important;outline:none!important}
.dcr-project-plans-page .dcr-plan-field input,
.dcr-project-plans-page .dcr-plan-field select{height:56px!important;min-height:56px!important;padding:0 16px!important}
.dcr-project-plans-page .dcr-plan-field textarea{min-height:116px!important;padding:16px!important;resize:vertical!important;line-height:1.8!important}
.dcr-project-plans-page .dcr-plan-description{margin:0 0 18px!important;width:100%!important}
.dcr-project-plans-page .dcr-plan-upload-drop{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px!important;width:100%!important;min-height:170px!important;margin:0!important;padding:28px!important;border:2px dashed #93c5fd!important;border-radius:24px!important;background:linear-gradient(180deg,#f8fbff,#eff6ff)!important;color:#0f172a!important;font-weight:900!important;box-sizing:border-box!important;cursor:pointer!important;transition:.18s ease!important}
.dcr-project-plans-page .dcr-plan-upload-drop:hover{border-color:#2563eb!important;background:#eef6ff!important;transform:translateY(-1px)}
.dcr-project-plans-page .dcr-plan-upload-drop input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.dcr-project-plans-page .dcr-plan-upload-drop strong{font-size:18px!important;color:#0f172a!important;line-height:1.4!important}
.dcr-project-plans-page .dcr-plan-upload-drop span{font-size:13px!important;color:#2563eb!important;background:#dbeafe!important;border:1px solid #bfdbfe!important;border-radius:999px!important;padding:7px 12px!important;font-weight:1000!important}
.dcr-project-plans-page .dcr-plan-upload-drop em{font-style:normal!important;color:#334155!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:8px 12px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.dcr-project-plans-page .dcr-plan-upload-drop small{color:#64748b!important;line-height:1.8!important;font-weight:800!important;max-width:720px!important}
.dcr-project-plans-page .dcr-plan-submit-row{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:12px!important;margin-top:20px!important;padding-top:18px!important;border-top:1px solid #eef2f7!important}
.dcr-project-plans-page .dcr-plan-submit-row .dcr-btn{min-width:170px!important;justify-content:center!important;text-align:center!important;border-radius:16px!important;padding:13px 20px!important;font-weight:1000!important}
.dcr-project-plans-page .dcr-plans-list-panel{margin-top:22px!important;border-radius:28px!important;overflow:hidden!important}
.dcr-project-plans-page .dcr-plan-preview{height:220px!important;background:linear-gradient(135deg,#f8fafc,#eef2ff)!important}
.dcr-project-plans-page .dcr-plan-preview img{object-fit:cover!important}
.dcr-project-plans-page .dcr-plan-actions .dcr-btn{font-weight:900!important}
.dcr-project-plans-page .dcr-plan-actions .disabled{opacity:.55!important;pointer-events:none!important}
@media(max-width:1180px){.dcr-project-plans-page .dcr-plan-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:782px){.dcr-project-plans-page .dcr-plan-form-modern{padding:20px!important}.dcr-project-plans-page .dcr-plan-form-head{display:block!important}.dcr-project-plans-page .dcr-plan-form-head .dcr-btn{width:100%!important;margin-top:14px!important}.dcr-project-plans-page .dcr-plan-field-grid{grid-template-columns:1fr!important}.dcr-project-plans-page .dcr-plan-submit-row{flex-direction:column!important;align-items:stretch!important}.dcr-project-plans-page .dcr-plan-submit-row .dcr-btn{width:100%!important}.dcr-project-plans-page .dcr-plan-preview{height:185px!important}}

/* v10.0.3 Plan Viewer Professional */
.dcr-plan-viewer-page{max-width:1560px!important}
.dcr-plan-viewer-shell{border-radius:26px!important;overflow:hidden!important;background:#f8fafc!important;border:1px solid rgba(148,163,184,.35)!important;box-shadow:0 22px 60px rgba(15,23,42,.12)!important;margin-top:18px!important}
.dcr-plan-viewer-toolbar{position:sticky!important;top:32px!important;z-index:20!important;display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;padding:12px 14px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e2e8f0!important;backdrop-filter:blur(14px)!important;box-shadow:0 10px 30px rgba(15,23,42,.08)!important;direction:rtl!important}
.dcr-plan-view-back,.dcr-plan-tool{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;border-radius:13px!important;border:1px solid #dbeafe!important;background:#f8fbff!important;color:#1d4ed8!important;text-decoration:none!important;font-weight:1000!important;padding:9px 14px!important;line-height:1!important;white-space:nowrap!important;box-shadow:0 8px 18px rgba(37,99,235,.06)!important;cursor:pointer!important}
.dcr-plan-view-back:hover,.dcr-plan-tool:hover{background:#eff6ff!important;color:#1e40af!important;border-color:#bfdbfe!important}
.dcr-plan-view-title{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:220px!important;max-width:420px!important;text-align:right!important;line-height:1.25!important}
.dcr-plan-view-title strong{font-size:16px!important;font-weight:1000!important;color:#0f172a!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.dcr-plan-view-title span{font-size:12px!important;color:#64748b!important;font-weight:900!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.dcr-plan-view-spacer{flex:1 1 auto!important}
.dcr-plan-view-scale{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:74px!important;height:40px!important;border-radius:13px!important;background:#111827!important;border:1px solid #111827!important;color:#fff!important;font-weight:1000!important;direction:ltr!important}
.dcr-plan-viewer-stage{position:relative!important;height:calc(100vh - 198px)!important;min-height:600px!important;overflow:hidden!important;background-color:#eef2f7!important;background-image:linear-gradient(rgba(148,163,184,.22) 1px, transparent 1px),linear-gradient(90deg, rgba(148,163,184,.22) 1px, transparent 1px)!important;background-size:28px 28px!important;direction:ltr!important}
.dcr-plan-image-canvas{position:absolute!important;inset:0!important;overflow:hidden!important;cursor:grab!important;touch-action:none!important}
.dcr-plan-image-canvas.is-dragging{cursor:grabbing!important}
.dcr-plan-view-image{position:absolute!important;top:50%!important;left:50%!important;max-width:none!important;width:auto!important;height:auto!important;user-select:none!important;transform-origin:center center!important;box-shadow:0 18px 55px rgba(15,23,42,.18)!important;background:#fff!important;border-radius:4px!important}
.dcr-plan-view-pdf{display:block!important;width:100%!important;height:100%!important;border:0!important;background:#fff!important}
.dcr-plan-viewer-empty{height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:14px!important;color:#0f172a!important;padding:30px!important;box-sizing:border-box!important}
.dcr-plan-viewer-empty strong{font-size:26px!important;font-weight:1000!important}
.dcr-plan-viewer-empty span{font-size:15px!important;color:#64748b!important;font-weight:800!important}
.dcr-plan-viewer-hint{display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:12px 16px!important;background:#ffffff!important;color:#475569!important;border-top:1px solid #e2e8f0!important;font-weight:900!important}
.dcr-plan-viewer-hint span{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:999px!important;padding:8px 12px!important}
.dcr-plan-viewer-shell:fullscreen{border-radius:0!important;width:100vw!important;height:100vh!important;background:#f8fafc!important}
.dcr-plan-viewer-shell:fullscreen .dcr-plan-viewer-stage{height:calc(100vh - 112px)!important}
.dcr-plan-viewer-shell:fullscreen .dcr-plan-viewer-toolbar{top:0!important}
@media(max-width:782px){.dcr-plan-viewer-stage{height:calc(100vh - 260px)!important;min-height:430px!important}.dcr-plan-viewer-toolbar{position:relative!important;top:auto!important;flex-wrap:wrap!important}.dcr-plan-view-title{min-width:160px!important;max-width:100%!important}.dcr-plan-view-spacer{display:none!important}.dcr-plan-tool,.dcr-plan-view-back{flex:1 1 30%!important}.dcr-plan-view-scale{flex:1 1 30%!important}}


/* v13.1.6 Company Users Card UI (wp-admin) */
.dcr-company-users-modern .dcr-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:18px 0 24px}
.dcr-company-users-modern .dcr-page-head h1{margin:0;font-size:34px;font-weight:900;color:#0f172a;line-height:1.25}
.dcr-company-users-modern .dcr-page-head p{margin:8px 0 0;color:#64748b;font-size:15px}
.dcr-company-users-modern .dcr-head-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dcr-company-users-layout{display:grid!important;grid-template-columns:minmax(360px,.86fr) minmax(0,1.14fr);gap:24px;align-items:start;direction:rtl}
.dcr-users-list-panel,.dcr-user-edit-panel{border:0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important;padding:24px!important}
.dcr-users-list-panel{position:sticky;top:58px;max-height:calc(100vh - 92px);overflow:auto}
.dcr-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.dcr-section-title h2{margin:0!important;font-size:24px!important;font-weight:900!important;color:#0f172a!important;line-height:1.3}
.dcr-muted{color:#64748b;font-size:13px;font-weight:700}
.dcr-user-card-list{display:grid;grid-template-columns:1fr;gap:12px}
.dcr-user-card{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:14px;align-items:center;text-align:right;border:1px solid #dbe7f6;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:18px;padding:14px;cursor:pointer;box-shadow:0 12px 28px rgba(15,23,42,.06);transition:.18s ease;color:#0f172a;font-family:inherit}
.dcr-user-card:hover,.dcr-user-card.is-active{border-color:#2563eb;box-shadow:0 18px 38px rgba(37,99,235,.16);transform:translateY(-1px);background:#fff}
.dcr-user-avatar{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:900;font-size:22px;line-height:1}
.dcr-user-info{min-width:0;display:block}
.dcr-user-info strong{display:block;font-size:16px;color:#0f172a;white-space:normal;overflow:visible;line-height:1.4}
.dcr-user-info small{display:block;color:#64748b;direction:ltr;text-align:right;white-space:normal;overflow-wrap:anywhere;margin:4px 0;font-size:12px}
.dcr-user-info em{display:inline-flex;font-style:normal;font-weight:900;color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:5px 10px;font-size:12px}
.dcr-user-company{background:#fff7ed;color:#b45309;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px;white-space:nowrap}
.dcr-company-users-modern .dcr-form-grid.single{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.dcr-company-users-modern .dcr-form label{font-weight:900;color:#0f172a}
.dcr-company-users-modern .dcr-form input,.dcr-company-users-modern .dcr-form select{width:100%;min-height:56px;border-radius:14px!important;border:1px solid #dbe7f6!important;background:#f8fbff!important;margin-top:8px;padding:0 14px!important;font-size:15px!important;box-shadow:none!important}
.dcr-company-users-modern .dcr-form input:focus,.dcr-company-users-modern .dcr-form select:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;background:#fff!important}
.dcr-user-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.dcr-user-form-icon{width:48px;height:48px;border-radius:16px;background:#eef2ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-size:26px;font-weight:900}
.dcr-empty-state{padding:22px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;color:#64748b;text-align:center;font-weight:800}
@media(max-width:1100px){.dcr-company-users-layout{grid-template-columns:1fr}.dcr-users-list-panel{position:relative;top:auto;max-height:none}.dcr-user-edit-panel{order:-1}.dcr-company-users-modern .dcr-form-grid.single{grid-template-columns:1fr!important}}

/* v15.2.14 mobile reports calendar approval */
@media (max-width:782px){
  .bpm-reports-head{background:#fff;border:1px solid #edf0f7;border-radius:26px;padding:18px;margin:0 0 14px;box-shadow:0 16px 38px rgba(31,41,55,.06);text-align:right;direction:rtl}
  .bpm-reports-head h1{margin:0 0 6px;font-size:24px;font-weight:1000;color:#0f172a}
  .bpm-reports-head p{margin:0;color:#64748b;font-weight:900;font-size:13px}
  .bpm-report-project-grid,.bpm-report-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px;direction:rtl}
  .bpm-report-project-card{display:block;text-decoration:none;background:#fff;border:1px solid rgba(148,163,184,.20);border-radius:24px;padding:12px;box-shadow:0 16px 35px rgba(15,23,42,.07);color:#0f172a;min-height:174px;position:relative;overflow:hidden}
  .bpm-report-project-card:before{content:"";position:absolute;inset:auto -34px -42px auto;width:110px;height:110px;border-radius:50%;background:rgba(124,58,237,.08)}
  .bpm-report-project-icon{height:58px;display:flex;align-items:center;gap:8px;font-size:25px;font-weight:1000;color:#6d28d9}
  .bpm-report-project-icon b{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;display:grid;place-items:center;font-size:14px;box-shadow:0 10px 20px rgba(37,99,235,.24)}
  .bpm-report-project-card strong{display:block;font-size:16px;font-weight:1000;line-height:1.35;margin:6px 0 5px;min-height:44px}
  .bpm-report-project-card small{display:block;color:#64748b;font-weight:900;font-size:11px;margin-bottom:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bpm-report-mini-stats{display:flex;flex-wrap:wrap;gap:6px;position:relative;z-index:2}
  .bpm-report-mini-stats span{border-radius:999px;padding:6px 8px;font-size:10px;font-weight:1000;border:1px solid #e5e7eb;background:#f8fafc;color:#64748b}
  .bpm-report-mini-stats .pending{background:#fff7ed;border-color:#fed7aa;color:#ea580c}
  .bpm-report-mini-stats .approved{background:#ecfdf3;border-color:#bbf7d0;color:#16a34a}
  .bpm-report-section{margin:0 0 18px;direction:rtl}
  .bpm-report-section-title{display:flex;align-items:center;justify-content:space-between;margin:8px 2px 10px}
  .bpm-report-section-title h2{margin:0;font-size:18px;font-weight:1000;color:#0f172a}
  .bpm-report-section-title span{min-width:31px;height:31px;border-radius:999px;background:#eef2ff;color:#6d28d9;display:grid;place-items:center;font-weight:1000}
  .bpm-report-card{background:#fff;border:1px solid rgba(148,163,184,.20);border-radius:22px;padding:12px;box-shadow:0 14px 32px rgba(15,23,42,.07);min-height:176px;display:flex;flex-direction:column;gap:8px}
  .bpm-report-card-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
  .bpm-report-no{font-size:10px;font-weight:1000;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:5px 7px;direction:ltr;white-space:nowrap}
  .bpm-report-card em{font-style:normal;font-size:10px;font-weight:1000;border-radius:999px;padding:5px 7px;background:#fff7ed;color:#ea580c;white-space:nowrap}
  .bpm-report-card.is-approved em{background:#ecfdf3;color:#16a34a}
  .bpm-report-card h2{font-size:15px;font-weight:1000;margin:2px 0 0;line-height:1.35;color:#0f172a}
  .bpm-report-card p{margin:0;color:#64748b;font-weight:900;font-size:12px;line-height:1.6}
  .bpm-report-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}
  .bpm-report-card-actions a{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:14px;text-decoration:none;font-weight:1000;font-size:13px;border:1px solid #dbeafe}
  .bpm-report-card-actions .pdf{background:#eff6ff;color:#2563eb}
  .bpm-report-card-actions .approve{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;border-color:transparent}
  .bpm-report-card-actions .preview{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}
}

/* v16.2.0 Engineer Daily Reports Workspace */
/* v16.2.1 Engineer daily report links: contractor PDF + original report approval screen */
.bpm-reports-hero{background:#fff;border:1px solid #edf0f7;border-radius:28px;padding:22px 18px;margin:8px 0 14px;box-shadow:0 18px 45px rgba(15,23,42,.06);text-align:right}.bpm-reports-hero.compact{padding:18px}.bpm-reports-hero small{display:block;color:#7c3aed;font-weight:1000;font-size:12px;margin-bottom:6px}.bpm-reports-hero h1{margin:0 0 6px;font-size:28px;line-height:1.2;font-weight:1000;color:#0f172a}.bpm-reports-hero p{margin:0;color:#64748b;font-weight:900;line-height:1.7}.bpm-report-stepper{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px;margin:6px 0 18px}.bpm-report-stepper span{display:flex;flex-direction:column;align-items:center;gap:4px;color:#94a3b8;font-size:10px;font-weight:1000;white-space:nowrap}.bpm-report-stepper span b{width:30px;height:30px;border-radius:999px;background:#f1f5f9;color:#64748b;display:grid;place-items:center;font-size:12px}.bpm-report-stepper i{height:2px;background:#e5e7eb;border-radius:999px}.bpm-report-stepper span.active{color:#6d28d9}.bpm-report-stepper span.active b,.bpm-report-stepper span.done b{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff}.bpm-report-stepper span.done{color:#2563eb}.bpm-report-project-list{display:grid;gap:12px}.bpm-report-project-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #edf0f7;border-radius:22px;padding:15px;text-decoration:none;color:#0f172a;box-shadow:0 14px 32px rgba(15,23,42,.055)}.bpm-report-project-row .tick{width:28px;height:28px;border-radius:999px;background:#ede9fe;color:#7c3aed;display:grid;place-items:center;font-weight:1000}.bpm-report-project-row div{flex:1;min-width:0}.bpm-report-project-row strong{display:block;font-size:16px;font-weight:1000}.bpm-report-project-row small{display:block;color:#64748b;font-weight:900;margin-top:3px}.bpm-report-project-row em{font-style:normal;min-width:34px;height:34px;border-radius:14px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-weight:1000}.bpm-report-project-row i{font-style:normal;color:#94a3b8;font-size:20px}.bpm-report-summary-pill{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;background:#fff;border:1px solid #edf0f7;border-radius:24px;padding:11px;margin:0 0 12px;box-shadow:0 14px 34px rgba(15,23,42,.05)}.bpm-report-summary-pill strong{text-align:center;font-size:30px;font-weight:1000;color:#0f172a}.bpm-report-summary-pill strong small{display:block;font-size:10px;color:#64748b;font-weight:900;margin-top:0}.bpm-report-summary-pill span{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:9px 7px;font-size:11px;font-weight:1000}.bpm-report-summary-pill .approved{background:#ecfdf3;color:#15803d}.bpm-report-summary-pill .pending{background:#fff1f2;color:#dc2626}.bpm-approve-all-wide{display:block;text-align:center;margin:-2px 0 12px;text-decoration:none;background:linear-gradient(135deg,#16a34a,#2563eb);color:#fff!important;border-radius:18px;padding:13px;font-weight:1000;box-shadow:0 16px 30px rgba(37,99,235,.22)}.bpm-report-calendar .bpm-weekdays span{font-size:9px}.bpm-report-calendar .bpm-cal-day.approved{background:#fff!important;border-color:#dcfce7!important;color:#0f172a!important}.bpm-report-calendar .bpm-cal-day.pending{background:#fff!important;border-color:#fee2e2!important;color:#0f172a!important}.bpm-report-calendar .bpm-cal-day.approved:after,.bpm-report-calendar .bpm-cal-day.pending:after{content:"";width:6px;height:6px;border-radius:50%;margin-top:4px}.bpm-report-calendar .bpm-cal-day.approved:after{background:#16a34a}.bpm-report-calendar .bpm-cal-day.pending:after{background:#dc2626}.bpm-report-calendar .bpm-cal-day b{background:#7c3aed;color:#fff;border:0}.bpm-report-section-title{display:flex;align-items:center;justify-content:space-between;margin:14px 0 10px}.bpm-report-section-title h2{margin:0;font-size:17px;font-weight:1000;color:#0f172a}.bpm-report-section-title span{min-width:28px;height:28px;border-radius:999px;background:#f1f5f9;color:#7c3aed;display:grid;place-items:center;font-weight:1000}.bpm-report-card-grid{display:grid;gap:10px}.bpm-report-card{background:#fff;border:1px solid #edf0f7;border-radius:22px;padding:13px;box-shadow:0 14px 32px rgba(15,23,42,.05)}.bpm-report-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.bpm-report-no{background:#eff6ff;color:#2563eb;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:1000}.bpm-report-card em{font-style:normal;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:1000}.bpm-report-card.is-approved em{background:#dcfce7;color:#15803d}.bpm-report-card.is-pending em{background:#fee2e2;color:#dc2626}.bpm-report-card h2{font-size:15px;margin:0 0 5px;font-weight:1000}.bpm-report-card p{margin:0 0 10px;color:#64748b;font-size:11px;font-weight:900}.bpm-report-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bpm-report-card-actions a{text-decoration:none;border-radius:15px;padding:10px;text-align:center;font-weight:1000;font-size:12px}.bpm-report-card-actions .pdf{background:#eff6ff;color:#2563eb}.bpm-report-card-actions .preview{background:#f5f3ff;color:#7c3aed}.bpm-report-card-actions .approve{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff}.bpm-monthly-report-card{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #edf0f7;border-radius:22px;padding:14px;margin:14px 0 92px;box-shadow:0 14px 32px rgba(15,23,42,.05)}.bpm-monthly-report-card strong{display:block;font-size:14px;font-weight:1000}.bpm-monthly-report-card span{display:block;margin-top:4px;color:#94a3b8;font-size:11px;font-weight:900}.bpm-monthly-report-card span.ok{color:#16a34a}.bpm-monthly-report-card a{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff!important;text-decoration:none;border-radius:16px;padding:12px 18px;font-weight:1000}.bpm-month-nav a{font-size:16px!important;padding:9px!important}.bpm-month-nav strong{font-size:16px!important}

/* v16.3.0 Mobile Materials Center */
.dcr-mobile-material-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:14px}
.dcr-material-card{background:#fff;border:1px solid #e7edf7;border-radius:24px;padding:16px;box-shadow:0 18px 40px rgba(15,23,42,.07);display:grid;gap:12px;position:relative;overflow:hidden}
.dcr-material-card:before{content:"";position:absolute;inset-inline-start:0;top:0;width:5px;height:100%;background:#16a34a}.dcr-material-card.warn:before{background:#f59e0b}.dcr-material-card.low:before{background:#ef4444}
.dcr-material-card-main{display:flex;align-items:center;gap:12px}.dcr-material-icon{width:42px;height:42px;border-radius:16px;background:#f1f5ff;display:flex;align-items:center;justify-content:center;font-size:22px}.dcr-material-card strong{display:block;font-size:17px;font-weight:900;color:#0f172a}.dcr-material-card em{display:block;font-style:normal;font-weight:900;color:#2563eb;margin-top:3px}.dcr-material-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;background:#dcfce7;color:#15803d}.dcr-material-card.warn .dcr-material-badge{background:#fef3c7;color:#b45309}.dcr-material-card.low .dcr-material-badge{background:#fee2e2;color:#b91c1c}.dcr-material-request-link{display:flex;align-items:center;justify-content:center;text-decoration:none;border-radius:15px;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff!important;font-weight:900;padding:11px 12px}
.dcr-mobile-quote-upload{margin:16px 0;padding:14px;border:1px dashed #bdd2f1;border-radius:20px;background:#f8fbff;display:grid;gap:10px}.dcr-mobile-quote-upload .dcr-quote-trigger{width:100%;margin:0!important}.dcr-quote-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}.dcr-file-preview-item{background:#fff;border:1px solid #dbeafe;border-radius:15px;padding:8px;min-height:88px;display:grid;place-items:center;text-align:center;gap:6px}.dcr-file-preview-item img{width:70px;height:52px;object-fit:cover;border-radius:10px}.dcr-file-preview-item span{display:flex;align-items:center;justify-content:center;width:54px;height:42px;border-radius:10px;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:900}.dcr-file-preview-item strong{font-size:10px;line-height:1.25;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dcr-submit-request-btn{width:100%!important;min-height:52px!important;border-radius:17px!important}
.dcr-mobile-select-sheet{position:fixed;inset:0;z-index:999999}.dcr-sheet-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(2px)}.dcr-sheet-panel{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:26px 26px 0 0;padding:12px 16px 22px;box-shadow:0 -20px 50px rgba(15,23,42,.18);max-height:70vh;overflow:auto}.dcr-sheet-handle{width:48px;height:5px;border-radius:999px;background:#cbd5e1;margin:0 auto 12px}.dcr-sheet-panel h3{margin:0 0 12px;font-size:18px;font-weight:900;color:#0f172a}.dcr-sheet-options{display:grid;gap:8px}.dcr-sheet-options button{border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:14px 12px;text-align:inherit;font-weight:900;color:#0f172a}.dcr-sheet-options button.active{background:#ede9fe;border-color:#8b5cf6;color:#6d28d9}
@media(max-width:782px){.dcr-mobile-material-cards{grid-template-columns:1fr!important}.dcr-mobile-material-request-form .dcr-form-grid{grid-template-columns:1fr!important}.dcr-mobile-material-request-form select{appearance:none!important;background:#fff!important}}

/* v16.3.2 Mobile engineer inventory real portal polish */
@media (max-width:782px){
  .dcr-mobile-inventory-portal .dcr-page-head,
  .dcr-mobile-inventory-portal .dcr-tabs,
  .dcr-mobile-inventory-portal .dcr-cost-kpis,
  .dcr-mobile-inventory-portal .dcr-desktop-balance-table{display:none!important}
  .dcr-mobile-inventory-portal .dcr-panel{overflow:visible!important}
  .dcr-mobile-inventory-portal .dcr-mobile-materials-panel{padding:16px!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 44px rgba(15,23,42,.08)!important;border:1px solid #eef2ff!important}
  .dcr-mobile-inventory-portal .dcr-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}
  .dcr-mobile-inventory-portal .dcr-section-title h2{font-size:20px!important;margin:0!important;color:#0f172a!important;line-height:1.3!important}
  .dcr-mobile-inventory-portal .dcr-section-title .dcr-btn{margin:0!important;border-radius:16px!important;padding:11px 14px!important;min-width:auto!important;white-space:nowrap!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-cards{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}
  .dcr-mobile-inventory-portal .dcr-material-card{padding:16px!important;border-radius:22px!important;box-shadow:0 14px 32px rgba(15,23,42,.07)!important;background:#fff!important;border:1px solid #eef2ff!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;position:relative!important;overflow:hidden!important}
  .dcr-mobile-inventory-portal .dcr-material-card:before{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:#22c55e}
  .dcr-mobile-inventory-portal .dcr-material-card.low:before{background:#ef4444}
  .dcr-mobile-inventory-portal .dcr-material-card.warn:before{background:#f59e0b}
  .dcr-mobile-inventory-portal .dcr-material-card-main{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
  .dcr-mobile-inventory-portal .dcr-material-icon{width:44px!important;height:44px!important;border-radius:16px!important;background:#f1f5ff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;flex:0 0 44px!important}
  .dcr-mobile-inventory-portal .dcr-material-card strong{display:block!important;font-size:19px!important;color:#0f172a!important;margin:0 0 5px!important;line-height:1.2!important}
  .dcr-mobile-inventory-portal .dcr-material-card em{display:block!important;font-style:normal!important;font-weight:900!important;color:#2563eb!important;font-size:17px!important;line-height:1.2!important}
  .dcr-mobile-inventory-portal .dcr-material-badge{justify-self:end!important;border-radius:999px!important;padding:8px 11px!important;font-weight:900!important;font-size:12px!important;background:#dcfce7!important;color:#15803d!important;white-space:nowrap!important}
  .dcr-mobile-inventory-portal .dcr-material-card.low .dcr-material-badge{background:#fee2e2!important;color:#b91c1c!important}
  .dcr-mobile-inventory-portal .dcr-material-card.warn .dcr-material-badge{background:#fef3c7!important;color:#b45309!important}
  .dcr-mobile-inventory-portal .dcr-material-request-link{grid-column:1 / -1!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important;color:#fff!important;border-radius:16px!important;padding:13px!important;font-size:16px!important;font-weight:900!important;margin-top:4px!important}
  .dcr-mobile-inventory-portal .dcr-grid-2.dcr-inventory-requests-grid{display:block!important}
  .dcr-mobile-inventory-portal .dcr-flow-cards{display:none!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-cards{display:grid!important;gap:10px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card{border:1px solid #e2e8f0;border-radius:18px;padding:13px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);display:grid;gap:6px}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card strong{font-size:16px}.dcr-mobile-inventory-portal .dcr-mobile-request-card span{color:#2563eb;font-weight:900}.dcr-mobile-inventory-portal .dcr-mobile-request-card em{font-style:normal;border-radius:999px;padding:5px 9px;background:#fff7ed;color:#c2410c;width:max-content;font-weight:900;font-size:12px}
}

/* v16.3.3 Engineer mobile inventory portal final */
.dcr-mobile-quote-upload.is-hidden{display:none!important}
@media(max-width:782px){
  .dcr-mobile-inventory-portal{direction:rtl!important;text-align:right!important}
  .dcr-mobile-inventory-portal .notice p{margin:0!important;color:#047857!important;font-weight:900!important;text-align:center!important}
  .dcr-mobile-inventory-portal .dcr-mobile-inventory-main-panel{margin-bottom:14px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .dcr-mobile-inventory-portal .dcr-material-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;padding:12px!important;min-height:168px!important;border-radius:20px!important}
  .dcr-mobile-inventory-portal .dcr-material-card-main{display:block!important;text-align:right!important}
  .dcr-mobile-inventory-portal .dcr-material-icon{width:34px!important;height:34px!important;border-radius:13px!important;font-size:18px!important;margin-bottom:7px!important}
  .dcr-mobile-inventory-portal .dcr-material-card strong{font-size:15px!important;margin:0 0 4px!important;line-height:1.2!important}
  .dcr-mobile-inventory-portal .dcr-material-card em{font-size:13px!important;line-height:1.2!important}
  .dcr-mobile-inventory-portal .dcr-material-badge{align-self:flex-start!important;font-size:10px!important;padding:6px 8px!important;white-space:normal!important;line-height:1.2!important;max-width:100%!important}
  .dcr-mobile-inventory-portal .dcr-material-request-link{margin-top:auto!important;padding:10px 8px!important;font-size:13px!important;border-radius:14px!important}
  .dcr-mobile-inventory-portal .dcr-grid-2.dcr-inventory-requests-grid{display:block!important}
  .dcr-mobile-inventory-portal .dcr-grid-2.dcr-inventory-requests-grid > .dcr-panel:nth-child(2){display:none!important}
  .dcr-mobile-inventory-portal .dcr-mobile-requests-panel{margin-top:14px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card{min-height:128px!important;padding:12px!important;border-radius:18px!important;align-content:start!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card strong{font-size:14px!important;line-height:1.2!important;color:#0f172a!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card span{font-size:12px!important;color:#2563eb!important;font-weight:900!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card small{font-size:10px!important;line-height:1.35!important;color:#64748b!important}
  .dcr-mobile-inventory-portal .dcr-mobile-request-card em{font-size:10px!important;line-height:1.2!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-panel{padding:16px!important;border-radius:24px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-panel h2{font-size:22px!important;text-align:right!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-form .dcr-form-grid{grid-template-columns:1fr!important;gap:12px!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-form label{font-size:13px!important;font-weight:900!important;color:#0f172a!important}
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-form input,
  .dcr-mobile-inventory-portal .dcr-mobile-material-request-form select{border-radius:14px!important;border:1px solid #dbe3ef!important;background:#fff!important;min-height:46px!important;text-align:right!important;font-size:14px!important}
}

/* v27.4.0 User Signature & Personal Stamp */
.dcr-user-card{position:relative;padding-bottom:54px!important}
.dcr-user-approval-open{position:absolute;left:18px;bottom:12px;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900;cursor:pointer;z-index:3}
.dcr-user-approval-open:hover{background:#dbeafe}
.dcr-approval-state{display:inline-flex;width:max-content;margin-top:7px;padding:4px 9px;border-radius:999px;font-style:normal!important;font-size:11px!important;font-weight:800}
.dcr-approval-state.is-complete{background:#dcfce7;color:#166534}.dcr-approval-state.is-pending{background:#fff7ed;color:#9a3412}
.dcr-approval-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:24px;direction:rtl}.dcr-approval-modal.is-open{display:flex}
.dcr-approval-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.65);backdrop-filter:blur(4px)}
.dcr-approval-dialog{position:relative;width:min(1050px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:0 30px 80px rgba(15,23,42,.3)}
.dcr-approval-close{position:absolute;left:18px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#f1f5f9;font-size:28px;cursor:pointer}
.dcr-approval-head h2{margin:0;font-size:26px}.dcr-approval-head p{margin:6px 0 20px;color:#64748b;font-weight:700}
.dcr-approval-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.dcr-approval-box{border:1px solid #dbe7f6;border-radius:18px;padding:18px;background:#f8fbff}.dcr-approval-box h3{margin:0 0 6px}.dcr-approval-box p{margin:0 0 14px;color:#64748b}
#dcrSignatureCanvas{display:block;width:100%;height:190px;border:1px dashed #94a3b8;border-radius:14px;background:#fff;touch-action:none;margin-top:12px}
.dcr-signature-preview,.dcr-stamp-preview{height:105px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#94a3b8;overflow:hidden}.dcr-signature-preview img,.dcr-stamp-preview img{max-width:95%;max-height:95%;object-fit:contain}
.dcr-approval-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.dcr-upload-btn,.dcr-upload-zone{display:flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:900;cursor:pointer;padding:11px 14px}.dcr-upload-zone{min-height:58px;margin-top:14px}.dcr-upload-btn input,.dcr-upload-zone input{display:none}
.dcr-remove-check{display:flex;align-items:center;gap:8px;margin-top:14px;color:#64748b;font-weight:700}.dcr-approval-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid #e2e8f0}
@media(max-width:800px){.dcr-approval-grid{grid-template-columns:1fr}.dcr-approval-dialog{padding:20px 14px}.dcr-approval-footer{align-items:stretch;flex-direction:column}.dcr-approval-footer .dcr-btn{justify-content:center}}

/* v27.4.1 signature pad reliability + full users column */
.dcr-company-users-layout{align-items:stretch!important}
.dcr-users-list-panel{min-height:calc(100vh - 250px);height:100%;max-height:none!important;overflow:visible!important;position:relative!important;top:auto!important}
.dcr-company-users-layout>.dcr-users-list-panel{align-self:stretch!important}
body.dcr-approval-modal-open{overflow:hidden}
#dcrSignatureCanvas{cursor:crosshair;user-select:none;-webkit-user-select:none}
@media(max-width:1100px){.dcr-users-list-panel{min-height:0!important}}
/* v27.4.2 direct signature drawing fix */
#dcrSignatureCanvas{pointer-events:auto!important;position:relative!important;z-index:5!important;cursor:crosshair!important}
.dcr-approval-box{position:relative}

/* v27.4.4 continuous signature stroke fix */
#dcrSignatureCanvas{touch-action:none!important;-ms-touch-action:none!important}

/* v27.4.5 approval asset preview and selected-user save hardening */
.dcr-stamp-preview img,.dcr-signature-preview img{display:block;max-width:92%;max-height:92%;object-fit:contain}

/* v27.4.6 instant local stamp/signature preview */
.dcr-stamp-preview.has-local-preview,.dcr-signature-preview.has-local-preview{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 3px rgba(59,130,246,.08)}
.dcr-stamp-preview.has-local-preview img,.dcr-signature-preview.has-local-preview img{display:block!important;max-width:92%!important;max-height:92%!important;object-fit:contain!important}

/* v29.3.1 Drawing Library Header & Search Fix */
.dcr-drawing-library{--ink:#111a34;--muted:#64748b;max-width:1550px;margin:22px auto 60px!important;color:var(--ink)}
.dcr-dl-hero{position:relative;min-height:315px;padding:42px 48px 0;border:1px solid rgba(99,102,241,.13);border-radius:30px;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f8faff 52%,#eef3ff 100%);box-shadow:0 28px 70px rgba(62,79,128,.12)}
.dcr-dl-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(88,109,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(88,109,255,.04) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to left,#000,transparent 70%);pointer-events:none}
.dcr-dl-hero-copy{position:relative;z-index:3;width:min(650px,58%)}
.dcr-dl-eyebrow{display:inline-flex;padding:7px 12px;border:1px solid #dbe3ff;border-radius:999px;background:rgba(255,255,255,.82);color:#5065d9;font-size:11px;font-weight:900;letter-spacing:.4px}
.dcr-dl-hero h1{margin:14px 0 8px;font-size:46px;line-height:1.1;font-weight:950;color:#111a3a}
.dcr-dl-hero p{margin:0;max-width:620px;color:#65718d;font-size:17px;font-weight:700;line-height:1.9}
.dcr-dl-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:23px}.dcr-dl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 19px;border-radius:13px;text-decoration:none!important;font-weight:900}.dcr-dl-btn.primary{background:linear-gradient(135deg,#2e63eb,#6848ed);color:#fff;box-shadow:0 12px 28px rgba(69,82,229,.25)}.dcr-dl-btn.ghost{border:1px solid #cfd9f5;background:#fff;color:#3157bd}
.dcr-dl-hero-art{position:absolute;left:4%;top:24px;width:390px;height:205px;perspective:900px;z-index:2}
.dcr-dl-blueprint-sheet{position:absolute;left:30px;bottom:8px;width:285px;height:145px;border:1px solid #9cb0ed;border-radius:8px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(232,239,255,.95));transform:rotateX(58deg) rotateZ(-8deg);box-shadow:0 22px 35px rgba(57,78,141,.22)}
.dcr-dl-blueprint-sheet:before,.dcr-dl-blueprint-sheet:after{content:"";position:absolute;inset:16px;background:repeating-linear-gradient(90deg,#9eb0e3 0 1px,transparent 1px 28px),repeating-linear-gradient(0deg,#9eb0e3 0 1px,transparent 1px 24px);opacity:.7}.dcr-dl-blueprint-sheet:after{inset:43px 64px 25px 35px;border:3px double #6279cb;background:none}
.dcr-dl-model{position:absolute;left:116px;top:14px;width:140px;height:135px;transform:skewY(-7deg);filter:drop-shadow(0 18px 18px rgba(49,68,130,.22));animation:dcrModelFloat 5s ease-in-out infinite}
.dcr-dl-model span{position:absolute;border:2px solid #6f83d7;background:rgba(224,232,255,.9)}.dcr-dl-model span:nth-child(1){left:10px;bottom:0;width:120px;height:30px}.dcr-dl-model span:nth-child(2){left:24px;bottom:31px;width:95px;height:34px}.dcr-dl-model span:nth-child(3){left:38px;bottom:66px;width:70px;height:32px}.dcr-dl-model span:nth-child(4){left:52px;bottom:99px;width:45px;height:26px}
.dcr-dl-roll{position:absolute;left:276px;bottom:25px;width:78px;height:40px;border:1px solid #9fb0e7;border-radius:50%;background:linear-gradient(90deg,#dce5ff,#fff 45%,#cbd8fa);transform:rotate(-16deg);box-shadow:-18px 8px 0 -5px #eef3ff}
@keyframes dcrModelFloat{50%{transform:skewY(-7deg) translateY(-8px)}}
.dcr-dl-metrics{position:absolute;z-index:4;right:30px;left:30px;bottom:18px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(153,168,211,.22);border-radius:19px;background:rgba(255,255,255,.78);backdrop-filter:blur(14px);box-shadow:0 12px 30px rgba(82,97,145,.08)}
.dcr-dl-metrics>div{display:grid;grid-template-columns:45px 1fr;grid-template-rows:auto auto;column-gap:12px;padding:16px 22px;border-left:1px solid #e8ecf7}.dcr-dl-metrics>div:last-child{border-left:0}.dcr-dl-metrics i{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#eef2ff;color:#5266e7;font-style:normal;font-size:22px}.dcr-dl-metrics span{color:#79849d;font-size:12px;font-weight:800}.dcr-dl-metrics strong{font-size:21px;color:#17213f}
.dcr-dl-toolbar{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(300px,1fr) auto;gap:13px;align-items:center;margin:22px 0;padding:13px;border:1px solid #e2e8f4;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(72,88,130,.06)}
.dcr-dl-search{position:relative}.dcr-dl-search span{position:absolute;right:15px;top:10px;color:#7c89a7;font-size:20px}.dcr-dl-search input{width:100%;height:46px;padding:0 45px 0 16px!important;border:1px solid #d9e1f1!important;border-radius:13px!important;background:#fbfcff!important;box-shadow:none!important}.dcr-dl-filter-note{color:#68738d;font-weight:700}.dcr-dl-filter-note span{color:#654ee8}.dcr-dl-reset{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid #d9e1f3;border-radius:12px;text-decoration:none!important;font-weight:900;color:#315ccc;background:#f8faff}
.dcr-dl-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:30px 4px 17px}.dcr-dl-section-head>div:first-child>span{color:#5d68e8;font-weight:900}.dcr-dl-section-head h2{margin:3px 0;font-size:27px}.dcr-dl-section-head p{margin:0;color:#7b869f;font-weight:700}.dcr-dl-view-toggle{display:flex;padding:4px;border:1px solid #dbe3f2;border-radius:12px;background:#fff}.dcr-dl-view-toggle button{width:37px;height:34px;border:0;border-radius:9px;background:transparent;color:#8994ad;cursor:pointer}.dcr-dl-view-toggle button.is-active{background:#eef2ff;color:#4f61df}
.dcr-dl-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.dcr-dl-card{position:relative;min-height:300px;display:flex;flex-direction:column;padding:18px 18px 14px;border:1px solid color-mix(in srgb,var(--accent) 28%,#dce3ef);border-radius:22px;background:linear-gradient(145deg,#fff 42%,var(--soft));text-decoration:none!important;color:#18213b!important;overflow:hidden;box-shadow:0 13px 34px rgba(74,90,133,.08);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.dcr-dl-card:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;left:-45px;top:-65px;background:var(--accent);opacity:.06}.dcr-dl-card:hover{transform:translateY(-8px);border-color:var(--accent);box-shadow:0 22px 46px color-mix(in srgb,var(--accent) 17%,transparent)}
.dcr-dl-count{position:absolute;top:15px;left:15px;z-index:3;display:flex;align-items:center;justify-content:center;min-width:40px;height:31px;padding:0 11px;border-radius:999px;background:var(--accent);color:#fff;font-size:15px;font-weight:950;box-shadow:0 7px 16px color-mix(in srgb,var(--accent) 32%,transparent)}
.dcr-dl-illustration{height:122px;display:flex;align-items:center;justify-content:center;margin-top:4px}.dcr-dl-illustration svg{width:150px;height:110px;overflow:visible;fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s ease}.dcr-dl-illustration svg .fill{fill:color-mix(in srgb,var(--accent) 16%,#fff);stroke:var(--accent)}.dcr-dl-illustration svg .bolt{fill:color-mix(in srgb,var(--accent) 20%,#fff)}.dcr-dl-card:hover .dcr-dl-illustration svg{transform:scale(1.07) translateY(-3px)}
.dcr-dl-en{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--accent);font-weight:900}.dcr-dl-card h3{margin:3px 0 10px;font-size:25px}.dcr-dl-card-stats{display:flex;gap:8px;flex-wrap:wrap}.dcr-dl-card-stats span{padding:6px 9px;border:1px solid #e5eaf3;border-radius:9px;background:rgba(255,255,255,.74);color:#6d7891;font-size:12px;font-weight:800}.dcr-dl-card-stats b{color:#202a47}.dcr-dl-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:13px;border-top:1px solid rgba(148,163,184,.2);color:#7a859d;font-size:11px;font-weight:700}.dcr-dl-card-foot i{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--accent);border-radius:50%;color:var(--accent);font-style:normal;font-size:17px;transition:.25s}.dcr-dl-card:hover .dcr-dl-card-foot i{background:var(--accent);color:#fff;transform:translateX(-3px)}
.dcr-drawing-library.is-compact .dcr-dl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dcr-drawing-library.is-compact .dcr-dl-card{min-height:160px;display:grid;grid-template-columns:125px 1fr;grid-template-rows:1fr auto}.dcr-drawing-library.is-compact .dcr-dl-illustration{grid-row:1/3;height:120px}.dcr-drawing-library.is-compact .dcr-dl-card-foot{grid-column:2}.dcr-dl-footer{display:flex;justify-content:space-between;gap:15px;margin-top:30px;padding:18px 4px;border-top:1px solid #e0e6f1;color:#818ba0;font-size:12px}.dcr-dl-footer strong{color:#465370}
.dcr-plans-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:1300px){.dcr-dl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dcr-dl-hero-art{opacity:.62;left:1%}}
@media(max-width:1050px){.dcr-dl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dcr-dl-hero-copy{width:68%}.dcr-dl-metrics{grid-template-columns:repeat(2,1fr)}.dcr-dl-hero{min-height:390px}.dcr-dl-toolbar{grid-template-columns:1fr}.dcr-dl-hero-art{display:none}.dcr-dl-hero-copy{width:100%}}
@media(max-width:720px){.dcr-drawing-library{margin-top:10px!important}.dcr-dl-hero{padding:25px 18px 0;min-height:500px;border-radius:22px}.dcr-dl-hero h1{font-size:34px}.dcr-dl-metrics{right:14px;left:14px;grid-template-columns:1fr 1fr}.dcr-dl-metrics>div{padding:12px 10px;grid-template-columns:34px 1fr}.dcr-dl-metrics i{width:32px;height:32px}.dcr-dl-grid,.dcr-drawing-library.is-compact .dcr-dl-grid{grid-template-columns:1fr 1fr;gap:11px}.dcr-dl-card{min-height:270px;padding:14px}.dcr-dl-illustration{height:104px}.dcr-dl-illustration svg{width:125px}.dcr-dl-card h3{font-size:21px}.dcr-dl-section-head p,.dcr-dl-view-toggle{display:none}.dcr-dl-footer{flex-direction:column}.dcr-drawing-library.is-compact .dcr-dl-card{display:flex;min-height:270px}}
@media(max-width:460px){.dcr-dl-grid,.dcr-drawing-library.is-compact .dcr-dl-grid{grid-template-columns:1fr}.dcr-dl-hero{min-height:570px}.dcr-dl-metrics{grid-template-columns:1fr}.dcr-dl-metrics>div:nth-child(n+4){display:none}}

/* v29.3.1 Drawing Library Header & Search Fix */
.dcr-dl-hero{min-height:390px;padding-bottom:112px}
.dcr-dl-hero-copy{padding-bottom:8px}
.dcr-dl-hero-actions{position:relative;z-index:8;margin-top:20px}
.dcr-dl-hero-actions .dcr-dl-btn{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.dcr-dl-card.dcr-dl-filtered-out{display:none!important}
.dcr-dl-no-results{margin:18px 0;padding:28px;border:1px dashed #cfd9ef;border-radius:18px;background:#fff;text-align:center;color:#64748b;font-weight:800}
@media(max-width:1050px){.dcr-dl-hero{min-height:455px;padding-bottom:130px}}
@media(max-width:720px){.dcr-dl-hero{min-height:590px;padding-bottom:245px}.dcr-dl-hero-actions{display:grid;grid-template-columns:1fr}.dcr-dl-hero-actions .dcr-dl-btn{width:100%}}
\n\n/* v31.5.1 — animated Company Catalog dashboard card */
.dcr-company-catalog-card{position:relative!important;overflow:hidden!important;border-color:#315fdd!important;background:linear-gradient(135deg,#173a79 0%,#2868e8 100%)!important;color:#fff!important;box-shadow:0 10px 24px rgba(38,91,208,.22)!important}
.dcr-company-catalog-card:before{content:"";position:absolute;inset:-90% auto -90% -38%;width:35%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);display:none}
.dcr-company-catalog-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 30px rgba(38,91,208,.35)!important}
.dcr-company-catalog-card strong{position:relative;z-index:2;color:#fff!important}
.dcr-dashboard-catalog-badge{position:absolute;top:8px;left:9px;z-index:3;font-style:normal;font-size:9px;font-weight:900;line-height:1;padding:4px 6px;border-radius:999px;background:rgba(255,255,255,.2);color:#fff;letter-spacing:.7px}
.dcr-dashboard-catalog-book{position:relative;z-index:2;width:29px;height:24px;display:inline-block;perspective:110px;filter:drop-shadow(0 4px 5px rgba(0,0,0,.24))}
.dcr-dashboard-catalog-book:before,.dcr-dashboard-catalog-book:after,.dcr-dashboard-catalog-book i,.dcr-dashboard-catalog-book b{content:"";position:absolute;top:2px;width:13px;height:20px;background:#fff;border-radius:2px 4px 4px 2px}
.dcr-dashboard-catalog-book:before{left:1px;transform:skewY(5deg)}
.dcr-dashboard-catalog-book:after{right:1px;transform:skewY(-5deg);transform-origin:center right}
.dcr-dashboard-catalog-book i,.dcr-dashboard-catalog-book b{left:14px;transform-origin:center left}
.dcr-dashboard-catalog-book i{opacity:.95;animation:dcrDashboardCatalogPage 2.4s ease-in-out infinite}
.dcr-dashboard-catalog-book b{opacity:.62;animation:dcrDashboardCatalogPage 2.4s .28s ease-in-out infinite}
.dcr-company-catalog-card:hover .dcr-dashboard-catalog-book i,.dcr-company-catalog-card:hover .dcr-dashboard-catalog-book b{animation-duration:.75s}
@keyframes dcrDashboardCatalogPage{0%,18%,100%{transform:rotateY(0deg) skewY(-5deg)}55%,72%{transform:rotateY(-168deg) skewY(-5deg)}}
@keyframes dcrDashboardCatalogShine{0%,58%{left:-45%;opacity:0}70%{opacity:1}90%,100%{left:120%;opacity:0}}
@media (prefers-reduced-motion:reduce){.dcr-dashboard-catalog-book i,.dcr-dashboard-catalog-book b,.dcr-company-catalog-card:before{animation:none!important}}


/* v31.5.2 — visible dashboard catalog shortcut */
.dcr-hub-card.dcr-company-catalog-card{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
 min-height:68px!important;padding:13px 16px!important;background:linear-gradient(135deg,#102d68 0%,#245fda 58%,#3478f6 100%)!important;
 border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;
}
.dcr-hub-card.dcr-company-catalog-card strong{
 display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;
 font-size:14px!important;font-weight:900!important;line-height:1.35!important;text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
}
.dcr-hub-card.dcr-company-catalog-card .dcr-dashboard-catalog-book{
 display:inline-block!important;visibility:visible!important;opacity:1!important;flex:0 0 31px!important;
}
.dcr-hub-card.dcr-company-catalog-card .dcr-dashboard-catalog-badge{
 display:block!important;visibility:visible!important;opacity:1!important;top:7px!important;left:8px!important;
 background:#fff!important;color:#1e56c9!important;box-shadow:0 2px 7px rgba(0,0,0,.16)!important;
}

/* v31.5.3: Company Catalog shortcut without animated icon */
.dcr-company-catalog-card:before{display:none!important;animation:none!important}
.dcr-company-catalog-card .dcr-dashboard-catalog-book{display:none!important}
.dcr-company-catalog-card{justify-content:center!important;gap:10px!important}
.dcr-company-catalog-card strong{display:block!important;color:#fff!important;text-align:center!important}


/* v31.5.4 — stable Company Catalog dashboard button */
.dcr-hub-card.dcr-company-catalog-card,
.dcr-hub-card.dcr-company-catalog-card:hover,
.dcr-hub-card.dcr-company-catalog-card:focus,
.dcr-hub-card.dcr-company-catalog-card:active{
 position:relative!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:68px!important;
 padding:13px 16px!important;
 gap:0!important;
 opacity:1!important;
 visibility:visible!important;
 background:linear-gradient(135deg,#173f93 0%,#2e70ed 100%)!important;
 border:1px solid #2c65db!important;
 color:#fff!important;
 text-decoration:none!important;
 box-shadow:0 8px 18px rgba(37,91,204,.22)!important;
 transform:none!important;
 overflow:hidden!important;
}
.dcr-hub-card.dcr-company-catalog-card:hover{
 background:linear-gradient(135deg,#12377f 0%,#245fd4 100%)!important;
 box-shadow:0 11px 24px rgba(37,91,204,.32)!important;
 transform:translateY(-2px)!important;
}
.dcr-hub-card.dcr-company-catalog-card strong,
.dcr-hub-card.dcr-company-catalog-card:hover strong,
.dcr-hub-card.dcr-company-catalog-card:focus strong,
.dcr-hub-card.dcr-company-catalog-card:active strong{
 display:block!important;
 position:relative!important;
 z-index:2!important;
 margin:0!important;
 opacity:1!important;
 visibility:visible!important;
 color:#fff!important;
 font-size:15px!important;
 font-weight:900!important;
 line-height:1.35!important;
 text-align:center!important;
 text-shadow:none!important;
}
.dcr-company-catalog-card .dcr-dashboard-catalog-badge,
.dcr-dashboard-catalog-badge{display:none!important}

/* v68.0.3 — Company User Lifecycle */
.dcr-user-card-wrap{position:relative}.dcr-user-card-wrap.is-disabled .dcr-user-card{opacity:.72;background:linear-gradient(135deg,#fff7ed,#fff)}
.dcr-account-state{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;font-style:normal;font-size:11px;font-weight:900}.dcr-account-state.is-active{background:#dcfce7;color:#15803d}.dcr-account-state.is-paused{background:#ffedd5;color:#c2410c}
.dcr-user-more{position:absolute;top:14px;left:14px;width:38px;height:38px;border:1px solid #dbeafe;border-radius:12px;background:#fff;color:#334155;font-size:24px;line-height:1;cursor:pointer;z-index:5;box-shadow:0 8px 20px rgba(15,23,42,.08)}
.dcr-user-menu{display:none;position:absolute;top:56px;left:14px;min-width:190px;padding:8px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.16);z-index:20}.dcr-user-menu.is-open{display:grid;gap:5px;animation:dcrMenuIn .18s ease}.dcr-user-menu button{border:0;background:#f8fafc;border-radius:11px;padding:11px 13px;text-align:right;font:800 13px Cairo,Tahoma,sans-serif;cursor:pointer}.dcr-user-menu button:hover{background:#eef2ff;color:#4f46e5}.dcr-user-menu button.is-danger{color:#dc2626;background:#fff1f2}
@keyframes dcrMenuIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.dcr-lifecycle-sheet{position:fixed;inset:0;display:none;z-index:100000}.dcr-lifecycle-sheet.is-open{display:block}.dcr-lifecycle-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.58);backdrop-filter:blur(5px)}.dcr-lifecycle-panel{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(620px,calc(100% - 24px));padding:12px 28px 28px;background:#fff;border-radius:28px 28px 0 0;box-shadow:0 -25px 70px rgba(15,23,42,.28);text-align:center;animation:dcrSheetUp .28s cubic-bezier(.2,.8,.2,1)}.dcr-sheet-handle{display:block;width:64px;height:6px;border-radius:99px;background:#cbd5e1;margin:0 auto 18px}.dcr-lifecycle-icon{width:62px;height:62px;margin:auto;display:grid;place-items:center;border-radius:20px;background:#fff1f2;font-size:30px}.dcr-lifecycle-panel h2{margin:14px 0 8px;font-size:25px}.dcr-lifecycle-panel p{color:#64748b;font-weight:700}.dcr-lifecycle-panel ul{margin:18px auto;padding:16px 24px;max-width:480px;border-radius:16px;background:#f8fafc;text-align:right;list-style:'✓  ';color:#475569}.dcr-sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dcr-btn.danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-color:transparent}.dcr-lifecycle-open{overflow:hidden!important}@keyframes dcrSheetUp{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
/* v75.3.8 — Smart Material Cards + Low Stock Reorder */
.dcr-master-materials-panel .dcr-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.dcr-master-count{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eef2ff;color:#3157c8;font-weight:900;font-size:12px}
.dcr-master-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dcr-master-material-card{position:relative;background:#fff;border:1px solid #e5eaf3;border-radius:20px;padding:16px;box-shadow:0 12px 30px rgba(15,23,42,.06);overflow:hidden;min-width:0}
.dcr-master-material-card:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:5px;background:#22c55e}.dcr-master-material-card.low:before{background:#ef4444}
.dcr-master-material-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.dcr-master-material-card h3{font-size:17px;margin:12px 0 3px;color:#0f172a}.dcr-master-material-card p{margin:0 0 12px;color:#8390a6;font-size:12px;font-weight:700}
.dcr-stock-qty-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:#dcfce7;color:#15803d;font-weight:1000;font-size:12px;white-space:nowrap}.dcr-master-material-card.low .dcr-stock-qty-badge{background:#fee2e2;color:#b91c1c}
.dcr-master-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.dcr-master-meta span{background:#f8fafc;border:1px solid #edf1f7;border-radius:12px;padding:9px;font-size:11px;color:#64748b}.dcr-master-meta b{display:block;color:#0f172a;margin-top:3px;font-size:12px}
.dcr-master-card-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.dcr-stock-state{font-size:11px;font-weight:900;color:#15803d}.dcr-master-material-card.low .dcr-stock-state{color:#b91c1c}.dcr-smart-reorder-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:11px;background:linear-gradient(135deg,#6d45ef,#2563eb);color:#fff!important;text-decoration:none;font-size:11px;font-weight:1000}
.dcr-reorder-drawer{position:fixed;z-index:99999;left:50%;bottom:22px;transform:translateX(-50%);width:min(920px,calc(100vw - 34px));background:#101a31;color:#fff;border-radius:22px;padding:18px 22px;box-shadow:0 28px 80px rgba(15,23,42,.35);display:flex;align-items:center;justify-content:space-between;gap:20px;direction:rtl}.dcr-reorder-drawer .eyebrow{font-size:10px;color:#9db7ff;font-weight:1000;letter-spacing:.08em}.dcr-reorder-drawer h3{margin:4px 0 6px;color:#fff;font-size:18px}.dcr-reorder-drawer p{margin:0;color:#dbe4f4;font-size:13px}.dcr-reorder-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.dcr-reorder-close{color:#fff!important;text-decoration:none;font-size:24px;padding:0 5px}
@media(max-width:760px){.dcr-master-material-grid{grid-template-columns:1fr 1fr;gap:9px}.dcr-master-material-card{padding:12px;border-radius:17px}.dcr-master-material-card h3{font-size:14px}.dcr-master-meta{grid-template-columns:1fr}.dcr-reorder-drawer{bottom:10px;padding:15px;display:block}.dcr-reorder-actions{margin-top:12px}.dcr-reorder-drawer .dcr-btn{flex:1;text-align:center}}
