
/* =========================================================
   SAWGOLD PRODUCTION-READINESS UI EXTENSIONS
   Workflow, approvals, validation, import/export, setup wizard,
   audit timeline, role preview, print preview, and mobile polish.
   ========================================================= */
:root{
  --prod-navy:#061d39;
  --prod-navy-2:#0b2d55;
  --prod-gold:#d79a10;
  --prod-gold-dark:#af7200;
  --prod-bg:#f6f8fb;
  --prod-card:#ffffff;
  --prod-border:#e6ebf2;
  --prod-muted:#6f7b8b;
  --prod-success:#16a34a;
  --prod-danger:#dc2626;
  --prod-warning:#d97706;
  --prod-info:#2563eb;
}
.production-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;margin-top:18px}.span-12{grid-column:span 12}.span-8{grid-column:span 8}.span-7{grid-column:span 7}.span-6{grid-column:span 6}.span-5{grid-column:span 5}.span-4{grid-column:span 4}.span-3{grid-column:span 3}.span-2{grid-column:span 2}
.prod-card{background:#fff;border:1px solid var(--prod-border);border-radius:22px;box-shadow:0 12px 30px rgba(6,29,57,.06);padding:22px;position:relative;overflow:hidden}.prod-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--prod-gold),transparent)}.prod-card.no-accent::before{display:none}.prod-card h2,.prod-card h3{margin:0 0 12px;color:#10233f}.prod-card p{color:var(--prod-muted);line-height:1.55}.gold-title{display:flex;align-items:center;gap:10px;color:#0b2547}.gold-title .gold-dot{width:12px;height:12px;border-radius:50%;background:var(--prod-gold);box-shadow:0 0 0 6px rgba(215,154,16,.1)}
.action-required{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px}.action-tile{background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:16px;box-shadow:0 8px 20px rgba(6,29,57,.05);display:flex;gap:12px;align-items:flex-start}.action-tile .a-icon{width:42px;height:42px;border-radius:14px;background:#fff7e6;color:#b77900;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 42px}.action-tile b{display:block;color:#10233f}.action-tile small{display:block;color:#778293;margin-top:4px;line-height:1.35}.action-tile .count{margin-left:auto;background:#061d39;color:#fff;min-width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.workflow-map{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding:8px 2px 18px}.workflow-node{min-width:170px;background:#fff;border:1px solid #e8edf4;border-radius:18px;padding:16px;box-shadow:0 8px 20px rgba(6,29,57,.04);position:relative}.workflow-node::after{content:"→";position:absolute;right:-15px;top:50%;transform:translateY(-50%);color:#c69212;font-weight:900;font-size:20px}.workflow-node:last-child::after{display:none}.workflow-node .num{width:34px;height:34px;border-radius:12px;background:linear-gradient(180deg,#d79a10,#b67800);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:10px}.workflow-node h4{margin:0 0 6px;color:#0d2748}.workflow-node p{margin:0;color:#687789;font-size:13px}
.timeline{position:relative;padding-left:26px}.timeline::before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:2px;background:#e1e6ee}.timeline-item{position:relative;margin:0 0 18px}.timeline-item::before{content:"";position:absolute;left:-24px;top:4px;width:16px;height:16px;border-radius:50%;background:#fff;border:4px solid var(--prod-gold);box-shadow:0 0 0 5px rgba(215,154,16,.1)}.timeline-item h4{margin:0 0 4px;color:#10233f}.timeline-item p{margin:0;color:#6c7788}.timeline-meta{font-size:12px;color:#919baa;margin-top:5px}.timeline-item.success::before{border-color:#16a34a}.timeline-item.warn::before{border-color:#d97706}.timeline-item.danger::before{border-color:#dc2626}
.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.compare-panel{border:1px solid #e8edf4;border-radius:18px;background:#fff;padding:18px}.compare-panel.before{border-left:5px solid #d97706}.compare-panel.after{border-left:5px solid #16a34a}.compare-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed #e5eaf2}.compare-row:last-child{border-bottom:0}.compare-row span{color:#6b7788}.compare-row b{color:#0d2748}
.form-stepper{display:flex;gap:10px;align-items:center;margin:12px 0 22px;overflow-x:auto;padding-bottom:6px}.step-pill{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e6ebf2;border-radius:999px;background:#fff;color:#6f7a89;font-weight:800;white-space:nowrap}.step-pill .step-no{width:25px;height:25px;border-radius:50%;background:#edf1f7;color:#0b2547;display:flex;align-items:center;justify-content:center;font-size:12px}.step-pill.active{background:#fff7e6;border-color:rgba(215,154,16,.35);color:#0b2547}.step-pill.active .step-no{background:#d79a10;color:#fff}.sticky-summary{position:sticky;top:96px}.summary-metric{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f6;padding:10px 0}.summary-metric:last-child{border-bottom:0}.summary-metric span{color:#687789}.summary-metric b{color:#0d2748}.summary-metric.total b{color:#b77900;font-size:20px}
.validation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field-demo{display:flex;flex-direction:column;gap:8px}.field-demo label{font-weight:800;color:#11233d}.field-demo input,.field-demo select,.field-demo textarea{height:48px;border:1px solid #dfe5ef;border-radius:14px;padding:0 14px;background:#fff;color:#14243f}.field-demo textarea{height:90px;padding:12px 14px}.field-demo.error input,.field-demo.error select,.field-demo.error textarea{border-color:#dc2626;box-shadow:0 0 0 4px rgba(220,38,38,.08)}.field-demo .error-text{color:#dc2626;font-size:13px;font-weight:700}.field-demo.success input{border-color:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.08)}.field-demo.warn input{border-color:#d97706;box-shadow:0 0 0 4px rgba(217,119,6,.08)}
.bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #e8edf4;border-radius:18px;padding:12px 14px;margin:14px 0;box-shadow:0 8px 20px rgba(6,29,57,.04)}.bulk-toolbar .bulk-count{background:#061d39;color:#fff;border-radius:999px;padding:8px 12px;font-weight:800}.bulk-toolbar button,.filter-drawer-btn{height:38px;border:1px solid #e1e7f0;border-radius:12px;background:#fff;color:#0d2748;font-weight:800;padding:0 12px}.bulk-toolbar button.primary,.filter-drawer-btn.primary{background:linear-gradient(180deg,#d79a10,#b67800);color:#fff;border:0}
.empty-state,.loading-state,.permission-state{border:1px dashed #d9e0eb;background:#fff;border-radius:22px;padding:30px;text-align:center}.empty-state .big-icon,.loading-state .big-icon,.permission-state .big-icon{width:70px;height:70px;border-radius:24px;background:#fff7e6;color:#b77900;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:32px}.loading-spinner{width:44px;height:44px;border-radius:50%;border:4px solid #edf1f6;border-top-color:#d79a10;animation:sawspin .9s linear infinite;margin:0 auto 16px}@keyframes sawspin{to{transform:rotate(360deg)}}.toast-demo{position:relative;border-radius:16px;padding:14px 16px;margin:10px 0;font-weight:800}.toast-demo.success{background:#ecfdf3;color:#166534}.toast-demo.error{background:#fff1f2;color:#b91c1c}.toast-demo.warn{background:#fff7ed;color:#9a3412}.toast-demo.info{background:#eff6ff;color:#1d4ed8}
.setup-steps{display:grid;grid-template-columns:280px 1fr;gap:20px}.setup-nav{background:#fff;border:1px solid #e8edf4;border-radius:22px;padding:14px;box-shadow:0 8px 20px rgba(6,29,57,.04)}.setup-nav a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;color:#34445c;text-decoration:none;font-weight:800}.setup-nav a.active{background:#fff7e6;color:#0d2748}.setup-nav .check{margin-left:auto;color:#16a34a}.setup-panel{background:#fff;border:1px solid #e8edf4;border-radius:22px;padding:22px;box-shadow:0 8px 20px rgba(6,29,57,.04)}
.import-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.import-card{background:#fff;border:1px solid #e8edf4;border-radius:20px;padding:18px;box-shadow:0 8px 20px rgba(6,29,57,.04)}.import-card .icon{width:48px;height:48px;border-radius:16px;background:#fff7e6;color:#b77900;display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:10px}.upload-zone{border:2px dashed #d6dfe9;border-radius:22px;background:#fbfcfe;padding:30px;text-align:center;color:#687789}.upload-zone b{display:block;color:#0d2748;margin-bottom:6px}
.role-preview{display:grid;grid-template-columns:280px 1fr;gap:20px}.role-list{background:#fff;border:1px solid #e8edf4;border-radius:22px;padding:12px}.role-list button{width:100%;border:0;background:transparent;text-align:left;padding:12px;border-radius:14px;font-weight:800;color:#34445c}.role-list button.active{background:#fff7e6;color:#0d2748}.matrix-table{width:100%;border-collapse:collapse}.matrix-table th,.matrix-table td{border-bottom:1px solid #edf1f6;padding:12px;text-align:left}.matrix-table th{color:#0d2748}.perm-ok{color:#16a34a;font-weight:900}.perm-no{color:#dc2626;font-weight:900}.perm-limited{color:#d97706;font-weight:900}
.print-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.print-preview-card{background:#fff;border:1px solid #e8edf4;border-radius:20px;padding:18px;box-shadow:0 8px 20px rgba(6,29,57,.04)}.print-preview-card .mini-page{height:170px;border:1px solid #e0e6ef;border-radius:12px;background:linear-gradient(#061d39 0 28%,#fff 28%);position:relative;margin-bottom:12px}.mini-page::before{content:"";position:absolute;left:16px;right:16px;top:58px;height:3px;background:#d79a10}.mini-page::after{content:"";position:absolute;left:16px;right:16px;bottom:18px;height:22px;border:1px solid #e5eaf2;border-radius:8px;background:#f8fafc}
.audit-card{display:grid;grid-template-columns:1fr 320px;gap:18px}.device-card{border:1px solid #e8edf4;border-radius:18px;padding:16px;background:#fff}.security-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.security-item{border:1px solid #e8edf4;border-radius:18px;padding:16px;background:#fff}.security-item h4{margin:0 0 8px;color:#0d2748}.toggle{width:48px;height:26px;border-radius:999px;background:#dfe6ef;position:relative;display:inline-block}.toggle::after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.15)}.toggle.on{background:#d79a10}.toggle.on::after{left:25px}
.style-swatch{height:88px;border-radius:18px;border:1px solid #e8edf4;display:flex;align-items:flex-end;padding:12px;color:#fff;font-weight:900}.sw-navy{background:#061d39}.sw-gold{background:#d79a10}.sw-white{background:#fff;color:#10233f}.sw-bg{background:#f6f8fb;color:#10233f}.component-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0}.report-sheet.preview{max-width:900px;margin:0 auto;background:#fff;border:1px solid #dfe5ee;border-radius:18px;box-shadow:0 16px 34px rgba(6,29,57,.08);overflow:hidden}.report-sheet.preview .report-top{background:#061d39;color:#fff;padding:24px 30px;border-bottom:5px solid #d79a10}.report-sheet.preview .report-body{padding:26px 30px}.report-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.report-meta div{background:#f8fafc;border:1px solid #e8edf4;border-radius:14px;padding:12px}.signature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.signature-box{border:1px solid #d8e0ea;border-radius:16px;padding:18px;min-height:90px}.signature-line{height:1px;background:#ccd5e2;margin:26px 0 8px}
@media(max-width:1200px){.action-required{grid-template-columns:repeat(2,1fr)}.import-grid,.security-grid{grid-template-columns:repeat(2,1fr)}.print-preview-grid{grid-template-columns:repeat(2,1fr)}.audit-card,.setup-steps,.role-preview{grid-template-columns:1fr}.span-8,.span-7,.span-6,.span-5,.span-4,.span-3,.span-2{grid-column:span 12}.sticky-summary{position:static}}
@media(max-width:720px){.production-grid{grid-template-columns:1fr}.span-12,.span-8,.span-7,.span-6,.span-5,.span-4,.span-3,.span-2{grid-column:1}.action-required{grid-template-columns:1fr}.comparison-grid,.validation-grid,.import-grid,.security-grid,.print-preview-grid,.report-meta,.signature-grid{grid-template-columns:1fr}.workflow-node{min-width:145px}.prod-card{padding:16px}.bulk-toolbar{align-items:stretch}.bulk-toolbar button{flex:1}.form-stepper{padding-bottom:10px}}
@media print{.prod-card,.setup-panel,.report-sheet.preview{box-shadow:none!important}.action-required,.form-stepper,.bulk-toolbar,.sidebar,.topbar,.mobile-menu-btn{display:none!important}.report-sheet.preview{border:0!important;border-radius:0!important;max-width:100%!important}.report-sheet.preview .report-top{background:#061d39!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* =========================================================
   SAWGOLD PHP-READY ADVANCED UI ENHANCEMENTS
   Advanced table analytics, filtering, sorting, pagination,
   dashboard filters, topbar dropdowns, mobile polish.
   ========================================================= */
.sg-toast-holder{position:fixed;right:22px;top:94px;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none}.sg-toast{background:#071f3d;color:#fff;border-left:4px solid #d6a11d;border-radius:14px;padding:13px 16px;box-shadow:0 18px 40px rgba(7,31,61,.24);font-size:14px;max-width:360px;animation:sgToastIn .24s ease}.sg-toast.success{border-left-color:#18a558}.sg-toast.warn{border-left-color:#f59e0b}.sg-toast.error{border-left-color:#dc2626}@keyframes sgToastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
.sg-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:320px;background:#fff;border:1px solid #e7ebf2;border-radius:18px;box-shadow:0 24px 60px rgba(12,31,57,.18);z-index:999;display:none;overflow:hidden}.sg-dropdown.open{display:block;animation:sgDropIn .18s ease}.sg-dropdown.wide{width:400px}.sg-dropdown h4{margin:0;padding:16px 18px;border-bottom:1px solid #edf0f5;color:#081f3d;font-size:16px}.sg-dropdown a,.sg-dropdown button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#fff;color:#263b56;text-decoration:none;padding:13px 18px;font-family:inherit;font-size:14px;text-align:left;cursor:pointer}.sg-dropdown a:hover,.sg-dropdown button:hover{background:#fff8e8}.sg-dropdown small{display:block;color:#7a8491;font-size:12px;margin-top:2px}.topbar .branch-select,.topbar .profile,.topbar .notify,.topbar .quick-btn{position:relative}.sg-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:#fff8e8;color:#9b6b00;font-weight:700;font-size:12px}.sg-branch-mini{border-left:4px solid #d6a11d}.sg-notification-item{align-items:flex-start!important}.sg-notification-item .n-dot{width:10px;height:10px;background:#d6a11d;border-radius:50%;flex:0 0 10px;margin-top:5px}.sg-profile-card{padding:16px 18px;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:12px}.sg-profile-card .big-avatar{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f7f9fc,#fff);border:1px solid #e7ebf2;font-size:25px}.sg-profile-card b{color:#081f3d}.sg-profile-card small{display:block;color:#7a8491}.sg-backdrop{position:fixed;inset:0;background:rgba(2,15,31,.24);z-index:998;display:none}.sg-backdrop.open{display:block}
@keyframes sgDropIn{from{opacity:0;transform:translateY(-7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.dashboard-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;margin:18px 0 22px;background:#fff;border:1px solid #e8ebf0;border-radius:20px;box-shadow:0 12px 28px rgba(10,24,48,.055)}.dashboard-filter-left,.dashboard-filter-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-chip{border:1px solid #e2e7ef;background:#fff;border-radius:999px;padding:10px 14px;font-weight:650;color:#44546a;cursor:pointer;transition:.18s}.filter-chip:hover,.filter-chip.active{background:#071f3d;color:#fff;border-color:#071f3d}.dashboard-filter-bar select,.dashboard-filter-bar input{height:42px;border:1px solid #e2e7ef;border-radius:12px;padding:0 12px;background:#fff;color:#24364f}.sg-live-indicator{display:inline-flex;align-items:center;gap:8px;color:#1b7b44;font-weight:750}.sg-live-indicator:before{content:"";width:9px;height:9px;border-radius:50%;background:#18a558;box-shadow:0 0 0 6px rgba(24,165,88,.12)}
.smart-table-suite{margin:18px 0 14px}.smart-table-suite.compact{margin:10px 0}.smart-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;margin-bottom:14px}.smart-analytic-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:16px 16px 14px;box-shadow:0 12px 28px rgba(10,24,48,.055)}.smart-analytic-card:after{content:"";position:absolute;right:-22px;bottom:-28px;width:88px;height:88px;border-radius:50%;background:rgba(214,161,29,.08)}.smart-analytic-card .sa-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#fff8e8;color:#b88405;font-weight:900;margin-bottom:10px}.smart-analytic-card .sa-label{font-size:12px;color:#7c8796;text-transform:uppercase;letter-spacing:.04em;font-weight:800}.smart-analytic-card .sa-value{margin-top:4px;color:#081f3d;font-size:22px;font-weight:850;letter-spacing:-.02em}.smart-analytic-card .sa-sub{font-size:12px;color:#8190a1;margin-top:4px}.smart-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:12px 14px;margin-bottom:12px;box-shadow:0 10px 24px rgba(10,24,48,.045)}.smart-table-left,.smart-table-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.smart-table-search{height:42px;min-width:260px;border:1px solid #e2e7ef;border-radius:13px;padding:0 14px;background:#fbfcfe;color:#1e3048;font-family:inherit}.smart-select{height:42px;border:1px solid #e2e7ef;border-radius:13px;padding:0 12px;background:#fff;color:#30445d;font-family:inherit;min-width:130px}.smart-btn{height:42px;border:1px solid #e2e7ef;background:#fff;border-radius:13px;padding:0 13px;color:#293b55;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer;text-decoration:none;transition:.18s}.smart-btn:hover{border-color:#d6a11d;background:#fff8e8;color:#9b6b00}.smart-btn.gold{background:linear-gradient(180deg,#d6a11d,#b88405);border-color:#b88405;color:#fff;box-shadow:0 10px 20px rgba(184,132,5,.16)}.smart-btn.navy{background:#071f3d;border-color:#071f3d;color:#fff}.smart-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 2px;color:#718095;font-size:14px}.smart-pagination{display:flex;align-items:center;gap:6px}.smart-page-btn{min-width:34px;height:34px;border:1px solid #e2e7ef;background:#fff;border-radius:10px;color:#30445d;font-weight:750;cursor:pointer}.smart-page-btn:hover,.smart-page-btn.active{background:#071f3d;color:#fff;border-color:#071f3d}.data-table th,.professional-table th,.report-table th{cursor:pointer;position:relative;white-space:nowrap}.data-table th.sg-sorted-asc:after,.professional-table th.sg-sorted-asc:after,.report-table th.sg-sorted-asc:after{content:" ↑";color:#d6a11d}.data-table th.sg-sorted-desc:after,.professional-table th.sg-sorted-desc:after,.report-table th.sg-sorted-desc:after{content:" ↓";color:#d6a11d}.table-empty-state{padding:38px;text-align:center;color:#748196;background:#fff;border:1px dashed #d9dee7;border-radius:16px;margin-top:12px}.table-empty-state .empty-icon{font-size:42px;color:#d6a11d}.sg-highlight-row{animation:sgRowFlash 1.1s ease}@keyframes sgRowFlash{0%{background:#fff4d8}100%{background:transparent}}
.table-card.enhanced,.card.enhanced{overflow:visible}.responsive-table-wrap,.table-responsive{max-width:100%;overflow-x:auto}.responsive-table-wrap::-webkit-scrollbar,.table-responsive::-webkit-scrollbar{height:8px}.responsive-table-wrap::-webkit-scrollbar-thumb,.table-responsive::-webkit-scrollbar-thumb{background:#d9dee7;border-radius:999px}.sg-advanced-filter-drawer{position:fixed;right:-420px;top:0;width:400px;max-width:92vw;height:100vh;background:#fff;z-index:1001;border-left:1px solid #e7ebf2;box-shadow:-18px 0 50px rgba(7,31,61,.18);transition:right .24s ease;padding:22px;overflow:auto}.sg-advanced-filter-drawer.open{right:0}.sg-advanced-filter-drawer h3{margin:0 0 16px;color:#081f3d}.filter-field{margin-bottom:13px}.filter-field label{display:block;font-size:12px;font-weight:800;text-transform:uppercase;color:#7b8796;margin-bottom:6px}.filter-field input,.filter-field select{width:100%;height:44px;border:1px solid #e2e7ef;border-radius:12px;padding:0 12px}.print-tools,.smart-table-suite{print-color-adjust:exact;-webkit-print-color-adjust:exact}@media print{.smart-table-suite,.sg-toast-holder,.sg-dropdown,.dashboard-filter-bar,.topbar,.sidebar,.sidebar-overlay,.print-tools{display:none!important}.main{margin-left:0!important}.content{padding:0!important}.report-page{box-shadow:none!important}}
@media(max-width:1200px){.smart-analytics-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}.smart-table-toolbar{align-items:flex-start;flex-direction:column}.smart-table-left,.smart-table-right{width:100%}.smart-table-search{min-width:0;flex:1;width:100%}.dashboard-filter-bar{align-items:flex-start;flex-direction:column}.dashboard-filter-left,.dashboard-filter-right{width:100%}.topbar .sg-dropdown{right:auto;left:0}}
@media(max-width:768px){.smart-analytics-grid{grid-template-columns:1fr}.smart-table-left,.smart-table-right{flex-direction:column;align-items:stretch}.smart-select,.smart-btn,.smart-table-search{width:100%;min-width:0}.smart-table-footer{align-items:flex-start;flex-direction:column}.smart-pagination{flex-wrap:wrap}.dashboard-filter-left,.dashboard-filter-right{flex-direction:column;align-items:stretch}.filter-chip,.dashboard-filter-bar select,.dashboard-filter-bar input,.dashboard-filter-bar .btn,.dashboard-filter-bar .smart-btn{width:100%;text-align:center;justify-content:center}.sg-dropdown,.sg-dropdown.wide{position:fixed;left:12px!important;right:12px!important;top:78px!important;width:auto!important;max-height:75vh;overflow:auto}.sg-toast-holder{left:12px;right:12px;top:80px}.sg-toast{max-width:none}.topbar{gap:10px}.top-search{order:8;flex:1 1 100%;max-width:100%}}
