: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}
