/* Factory1 AI v0.11.0 — implementação dos 100 wireframes oficiais */
.wf-page{max-width:1480px;margin:0 auto}.wf-breadcrumb{font-size:12px;color:#6d90aa;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.wf-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.wf-page-head h1{margin:0;color:#f2f7fb;font-size:31px;line-height:1.15}.wf-page-head p{margin:7px 0 0;color:#89a3b8}.wf-head-actions,.wf-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.wf-tabs{display:flex;gap:4px;border-bottom:1px solid #223b50;margin:0 0 18px;overflow:auto}.wf-tabs a{position:relative;display:inline-flex;align-items:center;min-height:42px;padding:0 14px;color:#8ea8bd;font-size:13px;font-weight:700;white-space:nowrap}.wf-tabs a.active{color:#66adff}.wf-tabs a.active:after{content:"";height:2px;background:#2688ff;position:absolute;left:10px;right:10px;bottom:-1px;border-radius:4px}.wf-panel{background:#091e2f;border:1px solid #203d53;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 8px 30px rgba(0,0,0,.08)}.wf-panel h2{margin:0;color:#eef7ff;font-size:16px}.wf-panel p{color:#829db4}.wf-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.wf-panel-head a{font-size:12px;color:#4aa0ff}.wf-grid{display:grid;gap:16px}.wf-grid-2{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}.wf-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.wf-kpi{background:#0a2133;border:1px solid #24445b;border-radius:12px;padding:17px;min-height:112px}.wf-kpi span,.wf-kpi small{display:block;color:#87a2b9;font-size:12px}.wf-kpi strong{display:block;color:#fff;font-size:24px;margin:8px 0}.wf-table-wrap{width:100%;overflow:auto;border:1px solid #1d394e;border-radius:9px}.wf-table{width:100%;border-collapse:collapse;min-width:620px}.wf-table th{background:#0b2336;color:#7195ae;text-align:left;font-size:11px;letter-spacing:.05em;text-transform:uppercase;padding:11px 12px;border-bottom:1px solid #1d394e}.wf-table td{padding:12px;color:#d7e5ef;border-bottom:1px solid #173247;font-size:13px}.wf-table tr:last-child td{border-bottom:0}.wf-empty{padding:22px;text-align:center;color:#6e8aa0}.wf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wf-form-grid label{display:flex;flex-direction:column;gap:7px;color:#c8d8e5;font-size:12px;font-weight:700}.wf-form-grid label.wide{grid-column:1/-1}.wf-form-grid input,.wf-form-grid select,.wf-form-grid textarea,.wf-upload-panel input[type=file]{width:100%;height:40px;padding:8px 10px;border:1px solid #315168;border-radius:8px;background:#071827;color:#eef7ff;font:inherit}.wf-form-grid textarea{height:auto;min-height:118px;resize:vertical}.wf-form-grid textarea.code,.wf-preview{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.wf-form-actions{margin-top:16px}.wf-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.wf-review-grid div{border:1px solid #29475d;border-radius:8px;padding:10px}.wf-review-grid span{display:block;color:#7794aa;font-size:11px}.wf-review-grid strong{display:block;color:#f0f7fc;margin-top:4px}.btn{min-height:40px;padding:9px 14px;border-radius:8px;border:1px solid #34566d;font-size:13px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:#1284f6;border-color:#1284f6;color:white}.btn.secondary{background:#0a2133;color:#dce9f2}.btn.danger{background:#c9333d;border-color:#c9333d;color:#fff}.wf-form-table{margin-top:18px}.wf-callout{border:1px solid #31536b;border-radius:9px;padding:12px 14px;margin:14px 0;color:#cfe1ee}.wf-callout.info{background:#0a2942}.wf-callout.warning{background:#3b2d12;border-color:#795c1f;color:#ffe5a6}.wf-preview{margin:0;background:#061522;color:#cfe1ee;border:1px solid #26465d;border-radius:8px;padding:16px;min-height:180px;overflow:auto;white-space:pre-wrap}.wf-chart{height:190px;border-radius:8px;background:#f5f8fb;display:flex;align-items:flex-end;gap:14px;padding:18px;margin-top:10px}.wf-chart i{display:block;flex:1;background:#4f80ec;border-radius:6px 6px 0 0;min-height:22px}.wf-action-list{display:grid;gap:8px}.wf-action-list a{display:flex;flex-direction:column;gap:5px;border:1px solid #29465c;background:#f6f8fa;color:#183047;padding:12px;border-radius:8px}.wf-action-list a small{color:#72879a}.wf-health-grid,.wf-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wf-health-grid a,.wf-shortcuts a{border:1px solid #28475d;border-radius:8px;padding:13px;color:#e5f2fa;background:#071b2a}.wf-health-grid a{display:flex;align-items:center;justify-content:space-between}.wf-health-grid span{color:#de9b29;font-size:11px}.wf-shortcuts a{min-height:58px;display:flex;align-items:center;font-size:12px;font-weight:700}.wf-workflow-canvas{min-height:270px;border:1px dashed #42627a;border-radius:10px;background:#071827;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:22px}.wf-node{border:1px solid #3b86d9;background:#0b2c49;color:#e7f2fb;border-radius:8px;padding:12px 14px;font-weight:800}.wf-link{color:#5ca8ff;font-size:22px}.wf-branch{display:grid;gap:7px}.wf-upload-panel form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.wf-upload-panel input[type=file]{width:min(560px,100%)}.wf-modal-preview{max-width:720px;margin:28px auto}.wf-page .small{font-size:12px}@media(max-width:1100px){.wf-kpi-grid{grid-template-columns:repeat(2,1fr)}.wf-grid-2{grid-template-columns:1fr}.wf-form-grid{grid-template-columns:1fr}.wf-form-grid label.wide{grid-column:auto}}@media(max-width:650px){.wf-kpi-grid{grid-template-columns:1fr}.wf-page-head{display:block}.wf-head-actions{justify-content:flex-start;margin-top:12px}.wf-health-grid,.wf-shortcuts,.wf-review-grid{grid-template-columns:1fr}}
.wf-row-link{color:#7fc0ff;font-weight:800}.wf-row-link:hover{text-decoration:underline}

/* v0.11.1 — Dashboard fiel ao wireframe aprovado */
body.dashboard-reference-shell{
  --dashboard-bg:#f4f7fb;
  --dashboard-card:#ffffff;
  --dashboard-text:#111827;
  --dashboard-muted:#667085;
  --dashboard-line:#d9e1ea;
  --dashboard-blue:#2563eb;
  background:var(--dashboard-bg);
}
body.dashboard-reference-shell .main{background:var(--dashboard-bg)}
body.dashboard-reference-shell .content{background:var(--dashboard-bg);padding:0 28px 36px;color:var(--dashboard-text)}
body.dashboard-reference-shell .topbar{
  background:#fff;border-bottom:1px solid #d9e1ea;height:72px;padding:0 22px;display:flex;gap:14px;
  box-shadow:none;backdrop-filter:none;
}
body.dashboard-reference-shell .dashboard-menu-button{
  width:40px;height:40px;border:0;background:transparent;color:#111827;font-size:25px;line-height:1;cursor:pointer;
}
body.dashboard-reference-shell .dashboard-topbar-spacer{flex:1}
body.dashboard-reference-shell .search{order:2;width:280px;height:40px;background:#fff;border:1px solid #aeb8c5;color:#667085;border-radius:5px;box-shadow:none}
body.dashboard-reference-shell .top-actions{order:3;color:#26364a}
body.dashboard-reference-shell .icon-btn,body.dashboard-reference-shell .help{color:#26364a}
body.dashboard-reference-shell .user-meta strong{color:#111827}
body.dashboard-reference-shell .user-meta small{color:#667085}
body.dashboard-reference-shell .user-avatar{background:#d7dee7;color:#344054}

.dashboard-reference{max-width:1600px;margin:0 auto;padding:10px 0 0;color:#111827}
.dashboard-reference a{color:#2563eb}
.dashboard-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#667085;padding:0 0 14px}
.dashboard-breadcrumb a{color:#344054}.dashboard-breadcrumb strong{color:#111827}
.dashboard-title-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}
.dashboard-title-row h1{font-size:34px;line-height:1.1;margin:0;color:#111827;letter-spacing:-.03em}
.dashboard-title-row p{margin:7px 0 0;color:#667085;font-size:15px}

.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.dashboard-kpi-card{position:relative;display:flex;align-items:center;gap:16px;min-height:124px;padding:18px 20px;background:#fff;border:1px solid #d9e1ea;border-radius:7px;overflow:hidden}
.dashboard-kpi-icon{width:46px;height:46px;border-radius:8px;background:#edf4ff;border:1px solid #d9e8ff;flex:0 0 auto;position:relative}
.dashboard-kpi-icon:before{content:"";position:absolute;inset:12px;border:2px solid #2563eb;border-radius:4px}
.dashboard-kpi-icon.icon-play:before{border:2px solid #2563eb;border-radius:50%}.dashboard-kpi-icon.icon-play:after{content:"";position:absolute;left:20px;top:17px;border-left:9px solid #2563eb;border-top:6px solid transparent;border-bottom:6px solid transparent}
.dashboard-kpi-icon.icon-bolt:before{content:"⚡";border:0;inset:auto;left:13px;top:8px;color:#2563eb;font-size:26px}
.dashboard-kpi-icon.icon-coin:before{content:"$";display:grid;place-items:center;border-radius:50%;font-weight:800;color:#2563eb}
.dashboard-kpi-copy{min-width:0;display:flex;flex-direction:column}.dashboard-kpi-copy span{font-size:13px;color:#475467}.dashboard-kpi-copy strong{font-size:25px;color:#111827;line-height:1.1;margin:6px 0}.dashboard-kpi-copy small{font-size:11px;color:#16a34a}
.dashboard-kpi-spark{margin-left:auto;align-self:flex-end;height:40px;width:60px;display:flex;align-items:flex-end;gap:4px;opacity:.45}.dashboard-kpi-spark i{width:7px;background:#98a2b3;border-radius:2px 2px 0 0}.dashboard-kpi-spark i:nth-child(1){height:20%}.dashboard-kpi-spark i:nth-child(2){height:35%}.dashboard-kpi-spark i:nth-child(3){height:52%}.dashboard-kpi-spark i:nth-child(4){height:76%}.dashboard-kpi-spark i:nth-child(5){height:100%}

.dashboard-primary-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr);gap:16px;margin-bottom:16px}
.dashboard-secondary-grid,.dashboard-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.dashboard-card{background:#fff;border:1px solid #d9e1ea;border-radius:7px;padding:16px;color:#111827;box-shadow:none}
.dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.dashboard-card-title{display:flex;align-items:flex-start;gap:12px}.dashboard-card-title h2{font-size:16px;margin:0;color:#111827}.dashboard-card-title p{margin:3px 0 0;color:#667085;font-size:12px}
.dashboard-section-icon{width:26px;height:26px;display:grid;place-items:center;color:#111827;font-size:19px;flex:0 0 auto}.bars-icon:before{content:"▥"}.check-icon:before{content:"☑"}.folder-icon:before{content:"□"}.play-icon:before{content:"▷"}.heart-icon:before{content:"♡"}.bolt-icon:before{content:"⚡"}
.dashboard-range{height:34px;padding:0 10px;border:1px solid #cfd8e3;border-radius:5px;background:#fff;color:#344054;font-size:12px;min-width:130px}

.dashboard-operational-body{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:stretch}
.dashboard-line-chart{position:relative;min-height:220px;border-top:1px solid #eef1f4;padding-top:12px}.dashboard-line-chart svg{width:100%;height:170px;display:block;position:relative;z-index:2}.chart-grid{position:absolute;inset:12px 0 34px 0;display:grid;grid-template-rows:repeat(4,1fr);z-index:1}.chart-grid i{border-bottom:1px solid #e8edf3}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);font-size:10px;color:#667085}.chart-labels span{text-align:center}
.dashboard-operational-stats{border-left:1px solid #e5e7eb;padding-left:18px;display:grid;grid-template-rows:repeat(4,1fr)}.dashboard-operational-stats>div{display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid #eef1f4;padding:5px 0}.dashboard-operational-stats>div:last-child{border-bottom:0}.dashboard-operational-stats span{font-size:11px;color:#667085}.dashboard-operational-stats strong{font-size:22px;color:#111827;margin:3px 0}.dashboard-operational-stats small{font-size:10px}.dashboard-operational-stats .positive{color:#16a34a}.dashboard-operational-stats .negative{color:#dc2626}

.dashboard-actions-panel{padding-bottom:8px}.dashboard-action-list{display:grid}.dashboard-action-list article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;border-top:1px solid #e8edf3;padding:11px 0}.dashboard-action-list article:first-child{border-top:0}.dashboard-action-icon{width:32px;height:32px;border:1px solid #cfd8e3;border-radius:6px;display:grid;place-items:center;font-size:15px;color:#344054}.dashboard-action-list div{min-width:0;display:flex;flex-direction:column}.dashboard-action-list strong{font-size:12px;color:#111827}.dashboard-action-list small{font-size:10px;color:#667085;margin-top:2px}.dashboard-outline-btn{height:30px;min-width:92px;padding:0 12px;border:1px solid #b8c2cf;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:#344054!important;font-size:10px;font-weight:700;background:#fff}

.dashboard-link{font-size:11px;font-weight:700}.dashboard-table-wrap{overflow:auto}.dashboard-table{width:100%;border-collapse:collapse;font-size:11px;color:#344054}.dashboard-table th{text-align:left;padding:9px 10px;color:#667085;font-size:10px;font-weight:600;border-bottom:1px solid #e5e7eb;background:#f8fafc}.dashboard-table td{padding:10px;border-bottom:1px solid #edf0f3;white-space:nowrap}.dashboard-table tr:last-child td{border-bottom:0}.dashboard-table td a{color:#111827;font-weight:600}.dashboard-empty{text-align:center;color:#98a2b3;padding:28px!important}.dashboard-status{display:inline-flex;align-items:center;border-radius:4px;padding:3px 7px;font-size:9px;font-weight:700}.dashboard-status.success{background:#dcfce7;color:#15803d}.dashboard-status.info{background:#dbeafe;color:#1d4ed8}.dashboard-status.danger{background:#fee2e2;color:#b91c1c}

.dashboard-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-health-grid>div{display:flex;align-items:center;gap:11px;min-height:64px;border:1px solid #d9e1ea;border-radius:7px;padding:10px 14px}.health-dot{width:14px;height:14px;border-radius:50%;background:#f59e0b;flex:0 0 auto}.health-dot.ok{background:#16a34a}.health-dot.warn{background:#f59e0b}.dashboard-health-grid p{margin:0;display:flex;flex-direction:column}.dashboard-health-grid strong{font-size:11px;color:#111827}.dashboard-health-grid small{font-size:10px;color:#667085;margin-top:2px}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-shortcuts a{min-height:64px;border:1px solid #d9e1ea;border-radius:7px;display:flex;align-items:center;gap:9px;padding:12px 14px;color:#111827;font-size:11px;font-weight:700;background:#fff}.dashboard-shortcuts span{font-size:18px;color:#111827}

@media(max-width:1280px){.dashboard-kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-primary-grid,.dashboard-secondary-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-operational-body{grid-template-columns:1fr}.dashboard-operational-stats{border-left:0;border-top:1px solid #e5e7eb;padding-left:0;grid-template-columns:repeat(4,1fr);grid-template-rows:auto}.dashboard-operational-stats>div{border-bottom:0;padding:12px}.dashboard-health-grid,.dashboard-shortcuts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){body.dashboard-reference-shell .content{padding:0 14px 24px}.dashboard-kpi-grid{grid-template-columns:1fr}.dashboard-health-grid,.dashboard-shortcuts{grid-template-columns:1fr}.dashboard-title-row h1{font-size:28px}.dashboard-operational-stats{grid-template-columns:1fr}}

/* v0.11.2 — Shared visual foundation based on the approved wireframes. */
.ui-icon{display:inline-block;flex:0 0 auto;vertical-align:middle}
.sidebar nav a .ui-icon{width:18px;height:18px;color:#c6d0dc;stroke-width:1.8}
.sidebar nav a.active .ui-icon{color:#fff}
.search .search-icon{color:#667085}
.dashboard-menu-button .ui-icon{display:block}

/* Wireframe shell: dark navigation + light application canvas. */
body.tagra-dark-shell.wireframe-shell{background:#eef2f6;color:#1d2939;font-family:Inter,"Segoe UI",Arial,sans-serif}
body.tagra-dark-shell.wireframe-shell .app-shell{background:#eef2f6}
body.tagra-dark-shell.wireframe-shell .main{background:#f4f6f8;color:#1d2939}
body.tagra-dark-shell.wireframe-shell .topbar{
  height:64px;background:#fff;border-bottom:1px solid #d7dde5;backdrop-filter:none;box-shadow:none;color:#344054;
}
body.tagra-dark-shell.wireframe-shell .content{background:#f4f6f8;color:#1d2939;padding:24px 32px 40px}
body.tagra-dark-shell.wireframe-shell .search{background:#fff;border:1px solid #b8c2ce;color:#667085;border-radius:6px;height:38px}
body.tagra-dark-shell.wireframe-shell .top-actions,
body.tagra-dark-shell.wireframe-shell .icon-btn,
body.tagra-dark-shell.wireframe-shell .help{color:#344054}
body.tagra-dark-shell.wireframe-shell .user-meta strong{color:#101828}
body.tagra-dark-shell.wireframe-shell .user-meta small{color:#667085}
body.tagra-dark-shell.wireframe-shell .user-avatar{background:#d9dee5;color:#344054}
body.tagra-dark-shell.wireframe-shell .dashboard-menu-button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:4px;background:transparent;color:#172033;cursor:pointer}
body.tagra-dark-shell.wireframe-shell .dashboard-menu-button:hover{background:#eef2f6}
body.tagra-dark-shell.wireframe-shell .dashboard-topbar-spacer{flex:1}

/* Sidebar proportions and typography from the approved wireframe. */
body.tagra-dark-shell.wireframe-shell .sidebar{width:auto;background:#111927;border-right:1px solid #273241;box-shadow:none;padding:12px 10px;transition:width .18s ease,padding .18s ease}
body.tagra-dark-shell.wireframe-shell .brand{height:54px;padding:0 8px 10px;margin-bottom:8px;border-bottom:0}
body.tagra-dark-shell.wireframe-shell .brand-mark{width:30px;height:30px;border-radius:7px;background:transparent;box-shadow:none;color:#fff}
body.tagra-dark-shell.wireframe-shell .brand-mark span{font-size:0}
body.tagra-dark-shell.wireframe-shell .brand-mark:before{content:"◇";font-size:24px;color:#fff;line-height:1}
body.tagra-dark-shell.wireframe-shell .brand strong{font-size:17px;letter-spacing:0;color:#fff}
body.tagra-dark-shell.wireframe-shell .brand small{display:none}
body.tagra-dark-shell.wireframe-shell .sidebar nav span{color:#7f9ab3;font-size:11px;font-weight:700;letter-spacing:.06em;margin:13px 10px 5px}
body.tagra-dark-shell.wireframe-shell .sidebar nav a{height:34px;border:0;border-radius:5px;padding:0 10px;gap:10px;font-size:12px;color:#c7d0db}
body.tagra-dark-shell.wireframe-shell .sidebar nav a:hover{background:#1b2b3d;color:#fff;border:0}
body.tagra-dark-shell.wireframe-shell .sidebar nav a.active{background:#28496f;color:#fff;border:0;box-shadow:none}

/* Functional collapsed state. */
.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}
.app-shell.sidebar-collapsed .sidebar{padding-left:8px;padding-right:8px}
.app-shell.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}
.app-shell.sidebar-collapsed .brand>div:last-child,
.app-shell.sidebar-collapsed .sidebar nav span,
.app-shell.sidebar-collapsed .sidebar nav a:not(.active){font-size:0}
.app-shell.sidebar-collapsed .sidebar nav a{justify-content:center;padding:0;gap:0}
.app-shell.sidebar-collapsed .sidebar nav a .ui-icon{width:19px;height:19px}
.app-shell.sidebar-collapsed .sidebar nav a.active{font-size:0}

/* Generic screens: override the old dark view styles. */
body.tagra-dark-shell.wireframe-shell .wf-page{max-width:1480px;margin:0 auto;color:#1d2939}
body.tagra-dark-shell.wireframe-shell .wf-breadcrumb{color:#667085;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
body.tagra-dark-shell.wireframe-shell .wf-page-head h1{color:#101828;font-size:30px;letter-spacing:-.02em}
body.tagra-dark-shell.wireframe-shell .wf-page-head p{color:#667085;font-size:14px}
body.tagra-dark-shell.wireframe-shell .wf-tabs{border-bottom:1px solid #d7dde5}
body.tagra-dark-shell.wireframe-shell .wf-tabs a{color:#667085;background:transparent;font-size:12px;font-weight:600}
body.tagra-dark-shell.wireframe-shell .wf-tabs a.active{color:#2563eb}
body.tagra-dark-shell.wireframe-shell .wf-tabs a.active:after{background:#2563eb}
body.tagra-dark-shell.wireframe-shell .wf-panel,
body.tagra-dark-shell.wireframe-shell .wf-kpi{background:#fff;border:1px solid #d9e1ea;box-shadow:none;color:#1d2939;border-radius:7px}
body.tagra-dark-shell.wireframe-shell .wf-panel h2{color:#101828;font-size:15px}
body.tagra-dark-shell.wireframe-shell .wf-panel p,
body.tagra-dark-shell.wireframe-shell .wf-kpi span,
body.tagra-dark-shell.wireframe-shell .wf-kpi small{color:#667085}
body.tagra-dark-shell.wireframe-shell .wf-kpi strong{color:#101828}
body.tagra-dark-shell.wireframe-shell .wf-table-wrap{border-color:#d9e1ea;background:#fff}
body.tagra-dark-shell.wireframe-shell .wf-table th{background:#f8fafc;color:#667085;border-bottom-color:#d9e1ea;font-size:10px}
body.tagra-dark-shell.wireframe-shell .wf-table td{color:#344054;border-bottom-color:#edf1f5;background:#fff}
body.tagra-dark-shell.wireframe-shell .wf-form-grid label{color:#344054}
body.tagra-dark-shell.wireframe-shell .wf-form-grid input,
body.tagra-dark-shell.wireframe-shell .wf-form-grid select,
body.tagra-dark-shell.wireframe-shell .wf-form-grid textarea,
body.tagra-dark-shell.wireframe-shell .wf-upload-panel input[type=file]{background:#fff;color:#101828;border-color:#b8c2ce}
body.tagra-dark-shell.wireframe-shell .wf-form-grid input:focus,
body.tagra-dark-shell.wireframe-shell .wf-form-grid select:focus,
body.tagra-dark-shell.wireframe-shell .wf-form-grid textarea:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
body.tagra-dark-shell.wireframe-shell .wf-review-grid div,
body.tagra-dark-shell.wireframe-shell .wf-callout{border-color:#d9e1ea;background:#fff;color:#344054}
body.tagra-dark-shell.wireframe-shell .wf-preview{background:#f8fafc;color:#344054;border-color:#d9e1ea}
body.tagra-dark-shell.wireframe-shell .wf-workflow-canvas{background:#f8fafc;border-color:#98a2b3}
body.tagra-dark-shell.wireframe-shell .wf-node{background:#fff;color:#1d2939;border-color:#2563eb}
body.tagra-dark-shell.wireframe-shell .wf-health-grid a,
body.tagra-dark-shell.wireframe-shell .wf-shortcuts a{background:#fff;color:#1d2939;border-color:#d9e1ea}

/* Dashboard precision pass — explicitly outrank the old dark theme selectors. */
body.tagra-dark-shell.dashboard-reference-shell .content{padding:12px 32px 36px;background:#f4f6f8!important;color:#1d2939!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference{max-width:1460px;color:#1d2939!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference h1,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference h2,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference h3,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference strong{color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference p,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference small{color:#667085!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-breadcrumb{padding-top:0;margin-bottom:14px;color:#667085}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-breadcrumb a{color:#344054!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-title-row h1{font-size:31px;font-weight:700;letter-spacing:-.025em;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-title-row p{font-size:14px;color:#667085!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-card,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card{background:#fff!important;border:1px solid #d7dde5!important;box-shadow:none!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy span{color:#667085!important;font-size:12px}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy strong{color:#101828!important;font-size:24px}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy small{color:#16a34a!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-title h2{font-size:15px;font-weight:700;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-title p{font-size:11px;color:#667085!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table{font-size:10px;color:#344054}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table th{font-size:9px;color:#667085;background:#f8fafc}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table td{color:#344054;background:#fff}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list strong,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-health-grid strong,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-shortcuts a{color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list small,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-health-grid small{color:#667085!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-section-icon{display:grid;place-items:center;color:#101828}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-section-icon .ui-icon{width:20px;height:20px}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon{display:grid;place-items:center;background:#eef4ff;border-color:#d9e8ff;color:#2563eb}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon:before,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon:after{display:none!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon .ui-icon{width:25px;height:25px}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-icon{color:#344054;background:#fff}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-shortcuts span{display:grid;place-items:center;color:#101828}

@media(max-width:900px){
  .app-shell{grid-template-columns:76px minmax(0,1fr)}
  .app-shell:not(.sidebar-collapsed) .sidebar{position:fixed;left:0;top:0;bottom:0;width:255px;z-index:50;box-shadow:12px 0 30px rgba(15,23,42,.2)}
  .app-shell.sidebar-collapsed .sidebar{width:76px}
  body.tagra-dark-shell.wireframe-shell .content{padding:18px 16px 32px}
}


/* v0.11.4 — Dashboard pixel-alignment pass against the originally approved wireframe. */
body.tagra-dark-shell.wireframe-shell{
  --wf-bg:#f7f8fa;
  --wf-surface:#ffffff;
  --wf-sidebar:#242a31;
  --wf-sidebar-border:#3b424a;
  --wf-text:#111827;
  --wf-muted:#667085;
  --wf-border:#d4d9df;
  --wf-blue:#1677ff;
  --wf-green:#159947;
  background:var(--wf-bg)!important;
  font-family:Arial,"Segoe UI",sans-serif!important;
}
body.tagra-dark-shell.wireframe-shell .app-shell{grid-template-columns:270px minmax(0,1fr);background:var(--wf-bg)!important}
body.tagra-dark-shell.wireframe-shell .sidebar{
  background:var(--wf-sidebar)!important;border-right:1px solid var(--wf-sidebar-border)!important;
  padding:10px 14px!important;box-shadow:none!important;
}
body.tagra-dark-shell.wireframe-shell .brand{height:48px!important;padding:0 8px 6px!important;margin:0 0 5px!important;gap:10px!important}
body.tagra-dark-shell.wireframe-shell .brand-mark{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;color:#fff!important;background:transparent!important}
body.tagra-dark-shell.wireframe-shell .brand-mark:before{display:none!important;content:none!important}
body.tagra-dark-shell.wireframe-shell .brand-mark .brand-cube-icon{width:28px!important;height:28px!important;stroke-width:1.9}
body.tagra-dark-shell.wireframe-shell .brand strong{font-size:18px!important;font-weight:700!important;line-height:1!important;color:#fff!important}
body.tagra-dark-shell.wireframe-shell .brand small{display:none!important}
body.tagra-dark-shell.wireframe-shell .sidebar nav span{
  color:#e8ebef!important;font-weight:700!important;letter-spacing:0!important;margin:10px 10px 3px!important;font-size:11px!important;line-height:1.15!important
}
body.tagra-dark-shell.wireframe-shell .sidebar nav a{
  height:28px!important;min-height:28px!important;padding:0 10px!important;gap:10px!important;border-radius:5px!important;
  color:#eef1f4!important;font-size:12px!important;font-weight:400!important;line-height:28px!important
}
body.tagra-dark-shell.wireframe-shell .sidebar nav a .ui-icon{width:17px!important;height:17px!important;color:#fff!important;stroke-width:1.8}
body.tagra-dark-shell.wireframe-shell .sidebar nav a.active{background:#1677ff!important;color:#fff!important;box-shadow:none!important;font-weight:500!important}
body.tagra-dark-shell.wireframe-shell .sidebar nav a:hover{background:#343b43!important}
body.tagra-dark-shell.wireframe-shell .sidebar nav a.active:hover{background:#1677ff!important}

body.tagra-dark-shell.dashboard-reference-shell .main{background:var(--wf-bg)!important}
body.tagra-dark-shell.dashboard-reference-shell .topbar{
  height:52px!important;min-height:52px!important;padding:0 20px 0 12px!important;gap:12px!important;
  background:#fff!important;border-bottom:1px solid #cfd4da!important;color:#111827!important
}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-menu-button{
  width:36px!important;height:36px!important;color:#111827!important;background:transparent!important;border-radius:2px!important;padding:0!important
}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-menu-button:hover{background:#f2f4f7!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-menu-button .ui-icon{width:25px!important;height:25px!important;stroke-width:2!important}
body.tagra-dark-shell.dashboard-reference-shell .search{
  width:280px!important;height:32px!important;min-height:32px!important;border:1px solid #98a2b3!important;border-radius:4px!important;
  background:#fff!important;color:#475467!important;font-size:11px!important;padding:0 10px!important;box-shadow:none!important
}
body.tagra-dark-shell.dashboard-reference-shell .top-actions{gap:12px!important;font-size:11px!important;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .icon-btn{width:30px!important;height:30px!important;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .user-avatar{width:29px!important;height:29px!important;background:#d0d5dd!important;color:#344054!important;font-size:10px!important}
body.tagra-dark-shell.dashboard-reference-shell .user-meta strong{font-size:11px!important;line-height:1.1!important;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .user-meta small{display:none!important}

body.tagra-dark-shell.dashboard-reference-shell .content{padding:8px 32px 24px!important;background:var(--wf-bg)!important;overflow-x:hidden!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-reference{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;color:#111827!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-breadcrumb{height:30px!important;padding:8px 0 6px!important;margin:0!important;gap:7px!important;font-size:11px!important;line-height:16px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-breadcrumb a{color:#344054!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-title-row{margin:6px 0 16px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-title-row h1{font:700 31px/1.05 Arial,"Segoe UI",sans-serif!important;letter-spacing:-.02em!important;margin:0!important;color:#111827!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-title-row p{font:400 13px/1.3 Arial,"Segoe UI",sans-serif!important;margin:7px 0 0!important;color:#344054!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:14px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-card{
  min-height:104px!important;height:104px!important;padding:13px 16px!important;gap:14px!important;border:1px solid var(--wf-border)!important;border-radius:5px!important;background:#fff!important
}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon{width:45px!important;height:45px!important;border-radius:7px!important;background:#eef4ff!important;border:0!important;color:#1677ff!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-icon .ui-icon{width:27px!important;height:27px!important;stroke-width:1.9}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy span{font:400 12px/1.2 Arial,"Segoe UI",sans-serif!important;color:#344054!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy strong{font:700 23px/1.05 Arial,"Segoe UI",sans-serif!important;color:#101828!important;margin:5px 0 6px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-copy small{font:400 11px/1.2 Arial,"Segoe UI",sans-serif!important;color:var(--wf-green)!important;white-space:nowrap!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-spark{height:38px!important;width:48px!important;gap:3px!important;margin-left:auto!important;opacity:.5!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-kpi-spark i{width:5px!important;background:#98a2b3!important;border-radius:0!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-primary-grid{grid-template-columns:minmax(0,1.58fr) minmax(390px,.96fr)!important;gap:12px!important;margin-bottom:12px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-secondary-grid,
body.tagra-dark-shell.dashboard-reference-shell .dashboard-bottom-grid{grid-template-columns:1fr 1fr!important;gap:12px!important;margin-bottom:12px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card{border:1px solid var(--wf-border)!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important;padding:12px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-primary-grid>.dashboard-card{min-height:272px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-secondary-grid>.dashboard-card{min-height:218px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-bottom-grid>.dashboard-card{min-height:118px!important;margin-bottom:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-head{min-height:42px!important;margin:0 0 6px!important;gap:10px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-title{gap:10px!important;align-items:flex-start!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-section-icon{width:24px!important;height:24px!important;color:#111827!important;margin-top:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-section-icon .ui-icon{width:22px!important;height:22px!important;stroke-width:1.8}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-title h2{font:700 15px/1.15 Arial,"Segoe UI",sans-serif!important;margin:0!important;color:#111827!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-card-title p{font:400 11px/1.2 Arial,"Segoe UI",sans-serif!important;margin:3px 0 0!important;color:#475467!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-link{font:400 11px/1 Arial,"Segoe UI",sans-serif!important;color:#1677ff!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-range{height:30px!important;min-height:30px!important;padding:0 30px 0 10px!important;border:1px solid #b9c0c8!important;border-radius:4px!important;background:#fff!important;color:#101828!important;font-size:11px!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-body{grid-template-columns:minmax(0,1fr) 218px!important;gap:14px!important;min-height:202px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-line-chart{height:200px!important;min-height:200px!important;padding:4px 8px 22px 36px!important;position:relative!important;background:#fff!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-line-chart svg{position:absolute!important;left:36px!important;right:8px!important;top:4px!important;width:calc(100% - 44px)!important;height:166px!important;overflow:visible!important}
body.tagra-dark-shell.dashboard-reference-shell .chart-grid{position:absolute!important;left:36px!important;right:8px!important;top:4px!important;height:166px!important;display:grid!important;grid-template-rows:repeat(5,1fr)!important;z-index:0!important}
body.tagra-dark-shell.dashboard-reference-shell .chart-grid i{border-top:1px solid #e4e7ec!important}
body.tagra-dark-shell.dashboard-reference-shell .chart-y-labels{position:absolute!important;left:0!important;top:0!important;height:171px!important;width:30px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;text-align:right!important;color:#475467!important;font-size:10px!important;padding:0 2px 0 0!important}
body.tagra-dark-shell.dashboard-reference-shell .chart-labels{position:absolute!important;left:36px!important;right:8px!important;bottom:0!important;display:grid!important;grid-template-columns:repeat(7,1fr)!important;color:#475467!important;font-size:9px!important;text-align:center!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats{border-left:1px solid #e4e7ec!important;padding-left:14px!important;display:grid!important;grid-template-rows:repeat(4,1fr)!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats>div{padding:5px 0!important;border-bottom:1px solid #e4e7ec!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats>div:last-child{border-bottom:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats span{font-size:10px!important;color:#475467!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats strong{display:block!important;font:700 20px/1.05 Arial,"Segoe UI",sans-serif!important;margin:4px 0!important;color:#111827!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-operational-stats small{font-size:10px!important}.dashboard-operational-stats .positive{color:#159947!important}.dashboard-operational-stats .negative{color:#d92d20!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list{display:grid!important;gap:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list article{display:grid!important;grid-template-columns:38px minmax(0,1fr) 98px!important;align-items:center!important;min-height:47px!important;padding:6px 0!important;border-bottom:1px solid #e4e7ec!important;gap:10px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list article:last-child{border-bottom:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-icon{width:32px!important;height:32px!important;border:1px solid #cfd4dc!important;border-radius:5px!important;display:grid!important;place-items:center!important;color:#111827!important;background:#fff!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list strong{display:block!important;font-size:11px!important;line-height:1.2!important;color:#101828!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-action-list small{display:block!important;font-size:10px!important;margin-top:2px!important;color:#475467!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-outline-btn{height:28px!important;display:grid!important;place-items:center!important;padding:0 9px!important;border:1px solid #98a2b3!important;border-radius:4px!important;background:#fff!important;color:#111827!important;font-size:10px!important;font-weight:600!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-table-wrap{overflow:hidden!important;border:0!important;border-radius:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table{width:100%!important;min-width:0!important;border-collapse:collapse!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table th{height:29px!important;padding:6px 9px!important;background:#f2f4f7!important;border-bottom:1px solid #d0d5dd!important;color:#344054!important;font:600 10px/1 Arial,"Segoe UI",sans-serif!important;text-transform:none!important;letter-spacing:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table td{height:31px!important;padding:6px 9px!important;border-bottom:1px solid #e4e7ec!important;background:#fff!important;color:#101828!important;font:400 10px/1.15 Arial,"Segoe UI",sans-serif!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table tr:last-child td{border-bottom:0!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-table td a{color:#101828!important;font-weight:500!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-status{display:inline-flex!important;align-items:center!important;min-height:20px!important;padding:2px 8px!important;border-radius:3px!important;font-size:9px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-status.success{background:#dcfae6!important;color:#067647!important}.dashboard-status.info{background:#dbeafe!important;color:#175cd3!important}.dashboard-status.danger{background:#fee4e2!important;color:#b42318!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-empty{text-align:center!important;color:#667085!important;padding:34px 10px!important}

body.tagra-dark-shell.dashboard-reference-shell .dashboard-health-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-health-grid>div{height:55px!important;display:flex!important;align-items:center!important;gap:10px!important;border:1px solid #d0d5dd!important;border-radius:5px!important;padding:8px 10px!important;background:#fff!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-health-grid p{margin:0!important}.dashboard-health-grid strong{display:block!important;font-size:10px!important;color:#101828!important}.dashboard-health-grid small{display:block!important;font-size:9px!important;color:#475467!important;margin-top:2px!important}
body.tagra-dark-shell.dashboard-reference-shell .health-dot{width:12px!important;height:12px!important;border-radius:50%!important;background:#159947!important;flex:0 0 auto!important}.health-dot.warn{background:#dc6803!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-shortcuts{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-shortcuts a{height:55px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:8px 10px!important;border:1px solid #d0d5dd!important;border-radius:5px!important;background:#fff!important;color:#101828!important;font-size:10px!important;font-weight:600!important}
body.tagra-dark-shell.dashboard-reference-shell .dashboard-shortcuts span{color:#101828!important;display:grid!important;place-items:center!important}

/* User-confirmed control styling — retained as an explicit contract. */
body.tagra-dark-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
body.tagra-dark-shell select,
body.tagra-dark-shell textarea{color:#344054!important;background:#eef4ff!important;border-color:var(--tagra-border)!important;border-radius:6px!important}

@media(max-width:1280px){
  body.tagra-dark-shell.wireframe-shell .app-shell{grid-template-columns:230px minmax(0,1fr)}
  body.tagra-dark-shell.dashboard-reference-shell .dashboard-primary-grid{grid-template-columns:1fr!important}
  body.tagra-dark-shell.dashboard-reference-shell .dashboard-secondary-grid,body.tagra-dark-shell.dashboard-reference-shell .dashboard-bottom-grid{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  body.tagra-dark-shell.wireframe-shell .app-shell{grid-template-columns:76px minmax(0,1fr)}
  body.tagra-dark-shell.dashboard-reference-shell .content{padding:8px 16px 24px!important}
}

/* Factory1 AI v0.12.0 — 99 wireframes dedicated visual foundation */
.wf12-breadcrumb{font-size:12px;color:#667085;margin:0 0 10px}.wf12-page-head{margin-bottom:18px}.wf12-page-head h1{font-size:28px;line-height:1.2;margin:0 0 6px;color:#101828}.wf12-page-head p:not(.eyebrow){font-size:13px;color:#667085;margin:0}.wf12-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #d0d5dd;margin:0 0 20px;overflow-x:auto;white-space:nowrap}.wf12-tabs a{position:relative;display:block;padding:12px 2px;color:#667085;font-size:13px;font-weight:600;text-decoration:none}.wf12-tabs a.active{color:#1570ef}.wf12-tabs a.active:after{content:"";height:2px;background:#1570ef;position:absolute;left:0;right:0;bottom:-1px}.wf12-panel{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:18px;margin-bottom:16px}.wf12-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.wf12-panel-head h2{font-size:16px;color:#101828;margin:0 0 3px}.wf12-panel-head p{font-size:12px;color:#667085;margin:0}.wf12-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.wf12-kpis article{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:16px;min-height:96px}.wf12-kpis span,.wf12-kpis small{display:block;color:#667085;font-size:11px}.wf12-kpis strong{display:block;color:#101828;font-size:22px;margin:8px 0 4px}.wf12-table-wrap{overflow:auto;border:1px solid #eaecf0;border-radius:6px}.wf12-table{width:100%;border-collapse:collapse;background:#fff}.wf12-table th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#475467;background:#f9fafb;text-align:left;padding:11px 12px;border-bottom:1px solid #eaecf0}.wf12-table td{font-size:12px;color:#344054;padding:12px;border-bottom:1px solid #eaecf0}.wf12-table tbody tr:last-child td{border-bottom:0}.wf12-actions-col{width:46px}.wf12-row-actions{text-align:right}.wf12-icon-action{color:#667085;text-decoration:none;font-weight:700;letter-spacing:2px}.wf12-empty{text-align:center!important;color:#98a2b3!important;padding:34px!important}.wf12-status{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700}.wf12-status.success{color:#027a48;background:#ecfdf3}.wf12-status.warning{color:#b54708;background:#fffaeb}.wf12-status.danger{color:#b42318;background:#fef3f2}.wf12-status.info{color:#175cd3;background:#eff8ff}.wf12-form{display:block}.wf12-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wf12-field{display:grid;gap:7px}.wf12-field.wide{grid-column:1/-1}.wf12-field>span{font-size:12px;font-weight:700;color:#344054}.wf12-field textarea{height:110px;resize:vertical}.wf12-field textarea.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-height:220px}.wf12-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #eaecf0}.wf12-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:14px}.wf12-toolbar .wf12-search{min-width:280px}.wf12-grid-2{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px}.wf12-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wf12-summary-card{background:#f9fafb;border:1px solid #eaecf0;border-radius:7px;padding:14px}.wf12-summary-card span{display:block;color:#667085;font-size:11px}.wf12-summary-card strong{display:block;color:#101828;margin-top:6px}.wf12-note{font-size:11px;color:#667085}.wf12-stepper{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:8px 0 18px}.wf12-step{position:relative;text-align:center;color:#667085;font-size:10px}.wf12-step:not(:last-child):before{content:"";position:absolute;top:13px;left:50%;right:-50%;height:1px;background:#d0d5dd}.wf12-step b{position:relative;z-index:1;display:flex;width:28px;height:28px;margin:0 auto 6px;border:1px solid #98a2b3;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#475467}.wf12-step.active b{background:#1570ef;color:#fff;border-color:#1570ef}.wf12-step.done b{background:#fff;color:#1570ef;border-color:#1570ef}.wf12-wizard-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:16px}.wf12-wizard-card{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:16px}.wf12-wizard-title{display:flex;align-items:center;gap:9px;border-bottom:1px solid #eaecf0;padding-bottom:12px;margin-bottom:14px}.wf12-wizard-title .ico{display:flex;width:34px;height:34px;border-radius:7px;background:#eff8ff;color:#1570ef;align-items:center;justify-content:center;font-weight:800}.wf12-side-summary{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:14px}.wf12-side-summary h3{font-size:13px;margin:0 0 12px}.wf12-side-summary dl{margin:0}.wf12-side-summary dt{font-size:10px;color:#667085}.wf12-side-summary dd{font-size:11px;color:#344054;margin:2px 0 10px}.wf12-side-summary .wf12-mini-steps{border-top:1px solid #eaecf0;padding-top:10px;display:grid;gap:8px}.wf12-mini-step{display:flex;align-items:center;gap:8px;font-size:10px;color:#475467}.wf12-mini-step b{display:flex;width:20px;height:20px;border-radius:50%;border:1px solid #98a2b3;align-items:center;justify-content:center;font-size:9px}.wf12-mini-step.active b,.wf12-mini-step.done b{background:#1570ef;color:#fff;border-color:#1570ef}.wf12-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wf12-choice{border:1px solid #d0d5dd;border-radius:7px;padding:10px;background:#fff}.wf12-choice.selected{border-color:#1570ef;background:#eff8ff}.wf12-checks{display:grid;gap:9px}.wf12-checks label{display:flex;align-items:center;gap:8px;font-size:12px;color:#344054}.wf12-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wf12-review-card{border:1px solid #d0d5dd;border-radius:7px;padding:12px;background:#fff}.wf12-review-card h3{font-size:12px;margin:0 0 8px}.wf12-success{text-align:center;padding:40px 24px}.wf12-success .mark{width:46px;height:46px;border-radius:50%;background:#12b76a;color:white;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:26px}.wf12-success h2{font-size:20px;margin:0 0 7px}.wf12-success p{color:#667085;font-size:12px}.wf12-next-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid #eaecf0;margin-top:20px;padding-top:18px}.wf12-next{border:1px solid #eaecf0;border-radius:7px;padding:12px;text-align:left}.wf12-next strong{font-size:11px;display:block}.wf12-next small{font-size:9px;color:#667085}.wf12-editor{display:grid;grid-template-columns:180px minmax(0,1fr) 260px;min-height:430px;border:1px solid #d0d5dd;border-radius:8px;overflow:hidden;background:#fff}.wf12-editor-tools,.wf12-editor-props{padding:14px;background:#f9fafb}.wf12-editor-tools{border-right:1px solid #eaecf0}.wf12-editor-props{border-left:1px solid #eaecf0}.wf12-editor-canvas{position:relative;background-image:radial-gradient(#d0d5dd 1px,transparent 1px);background-size:18px 18px;min-height:430px}.wf12-node{position:absolute;border:1px solid #1570ef;background:#fff;border-radius:7px;padding:10px 12px;min-width:110px;font-size:11px;font-weight:700;color:#344054;box-shadow:0 2px 7px rgba(16,24,40,.06)}.wf12-preview{background:#101828;color:#f2f4f7;border-radius:8px;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;min-height:230px;overflow:auto}.wf12-comment-list{display:grid;gap:10px}.wf12-comment{border:1px solid #eaecf0;border-radius:7px;padding:11px}.wf12-comment strong{font-size:11px}.wf12-comment p{font-size:12px;margin:5px 0}.wf12-diff{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d0d5dd;border-radius:8px;overflow:hidden}.wf12-diff pre{margin:0;padding:14px;min-height:260px;font-size:11px;overflow:auto}.wf12-diff .before{background:#fff7f6}.wf12-diff .after{background:#f0fdf4}.wf12-file-layout{display:grid;grid-template-columns:260px 1fr;min-height:420px;border:1px solid #d0d5dd;border-radius:8px;overflow:hidden}.wf12-file-tree{background:#f9fafb;border-right:1px solid #eaecf0;padding:12px}.wf12-file-preview{padding:16px}.wf12-upload{border:1px dashed #98a2b3;border-radius:8px;padding:42px;text-align:center;background:#f9fafb}.wf12-modal-card{max-width:620px;margin:30px auto;background:#fff;border:1px solid #d0d5dd;border-radius:10px;box-shadow:0 24px 48px rgba(16,24,40,.18);padding:20px}.wf12-chart{height:220px;border:1px solid #eaecf0;border-radius:8px;background:#f9fafb;position:relative;overflow:hidden}.wf12-chart:before{content:"";position:absolute;inset:24px;background:linear-gradient(180deg,transparent 24%,#eaecf0 25%,transparent 26%,transparent 49%,#eaecf0 50%,transparent 51%,transparent 74%,#eaecf0 75%,transparent 76%)}.wf12-chart-line{position:absolute;left:8%;right:8%;top:50%;height:2px;background:#1570ef;transform:rotate(-8deg);transform-origin:left center}.wf12-health{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wf12-health>div{border:1px solid #eaecf0;border-radius:7px;padding:12px}.wf12-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.wf12-callout{border-radius:7px;padding:10px 12px;font-size:11px;margin-bottom:14px}.wf12-callout.info{background:#eff8ff;color:#175cd3}.wf12-callout.warning{background:#fffaeb;color:#b54708}
@media(max-width:1100px){.wf12-grid-2,.wf12-wizard-layout,.wf12-editor,.wf12-file-layout{grid-template-columns:1fr}.wf12-editor-tools,.wf12-editor-props{border:0}.wf12-kpis{grid-template-columns:repeat(2,1fr)}.wf12-review-grid{grid-template-columns:1fr}.wf12-health{grid-template-columns:repeat(2,1fr)}}

.wf12-execution-flow{display:flex;gap:10px;align-items:center;overflow-x:auto;padding:14px 2px}.wf12-run-node{position:relative;min-width:150px;display:flex;gap:9px;align-items:center;border:1px solid #d0d5dd;border-radius:8px;padding:11px;background:#fff}.wf12-run-node:not(:last-child):after{content:"→";position:absolute;right:-14px;color:#98a2b3}.wf12-run-node>b{display:flex;width:26px;height:26px;border-radius:50%;background:#eff8ff;color:#1570ef;align-items:center;justify-content:center}.wf12-run-node strong,.wf12-run-node small{display:block}.wf12-run-node small{font-size:10px;color:#667085;margin-top:2px}.wf12-timeline{display:grid;gap:14px;border-left:2px solid #d0d5dd;margin-left:7px;padding-left:16px}.wf12-timeline>div{position:relative}.wf12-timeline>div:before{content:"";position:absolute;width:8px;height:8px;background:#1570ef;border-radius:50%;left:-21px;top:4px}.wf12-timeline b,.wf12-timeline small{display:block}.wf12-timeline small{font-size:10px;color:#667085;margin-top:3px}.wf12-progress{height:8px;border-radius:999px;background:#eaecf0;overflow:hidden;margin:10px 0 18px}.wf12-progress span{display:block;height:100%;background:#1570ef}

/* Factory1 Project Workspace — v0.13.0. Wireframe contract */
body.tagra-dark-shell.wireframe-shell .sidebar nav span {
  font-weight:700!important;
  letter-spacing:0!important;
  margin:20px 10px 3px!important;
  font-size:12px!important;
  line-height:1.15!important;
}
body.tagra-dark-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
body.tagra-dark-shell select,
body.tagra-dark-shell textarea{color:#344054;background:#eef4ff;border-color:var(--tagra-border);border-radius:6px}
.pw-breadcrumb{display:flex;align-items:center;gap:8px;color:#667085;font-size:12px;margin:0 0 10px}.pw-breadcrumb a{color:#1570ef;text-decoration:none}.pw-breadcrumb strong{color:#344054}.pw-project-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:12px}.pw-project-head h1{font-size:28px;line-height:1.15;margin:0 0 5px;color:#101828}.pw-project-head p{color:#667085;margin:0;max-width:780px}.pw-project-meta{display:flex;align-items:center;gap:10px;color:#667085;font-size:12px}.pw-area-tabs,.pw-subnav{display:flex;gap:22px;border-bottom:1px solid #d0d5dd;overflow:auto;white-space:nowrap}.pw-area-tabs{margin:0 0 18px}.pw-subnav{margin:-4px 0 18px}.pw-area-tabs a,.pw-subnav a{position:relative;padding:11px 2px;color:#667085;text-decoration:none;font-size:13px;font-weight:600}.pw-area-tabs a.active,.pw-subnav a.active{color:#1570ef}.pw-area-tabs a.active:after,.pw-subnav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#1570ef}.pw-overview-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.pw-overview-title h1{font-size:30px;margin:0;color:#101828}.pw-overview-title p{margin:2px 0 0;color:#667085;font-size:16px}.pw-title-icon{width:46px;height:46px;border-radius:10px;background:#eef4ff;display:grid;place-items:center;color:#344054}.pw-next-action{margin-left:auto}.pw-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.pw-summary-card{position:relative;display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:start;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:18px;min-height:110px}.pw-round-icon{width:42px;height:42px;border-radius:50%;background:#f2f4f7;color:#475467;display:grid;place-items:center}.pw-summary-card span,.pw-summary-card small{display:block;color:#667085;font-size:12px}.pw-summary-card strong{display:block;color:#101828;font-size:18px;margin:3px 0}.pw-summary-card>b{align-self:end;color:#344054;font-size:12px}.pw-progress,.pw-foundation-progress{height:6px;background:#eaecf0;border-radius:999px;overflow:hidden;margin-top:10px}.pw-progress i,.pw-foundation-progress i{display:block;height:100%;background:#2e90fa;border-radius:999px}.pw-recommendation{display:grid;grid-template-columns:58px 1fr 180px;gap:18px;align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:18px;margin-bottom:18px}.pw-recommend-icon{width:54px;height:54px;border-radius:50%;background:#eff8ff;color:#1570ef;display:grid;place-items:center}.pw-recommendation span{font-size:11px;color:#1570ef;font-weight:800;letter-spacing:.04em}.pw-recommendation h2{font-size:18px;color:#101828;margin:3px 0}.pw-recommendation p{margin:0;color:#667085;font-size:13px;line-height:1.45}.pw-recommendation>div:last-child{display:grid;gap:8px}.pw-panel{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:16px;margin-bottom:16px}.pw-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.pw-panel-head h2,.pw-panel-head h3{display:flex;align-items:center;gap:8px;margin:0;color:#101828;font-size:16px}.pw-panel-head p{margin:3px 0 0;color:#667085;font-size:12px}.pw-panel-head>span{font-size:11px;color:#667085}.pw-two-col{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px}.pw-two-col.wide-left{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr)}.pw-foundation-progress{width:180px;margin:-23px 0 12px auto}.pw-foundation-row{display:grid;grid-template-columns:24px 1fr auto 16px;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #eaecf0;color:#344054;text-decoration:none}.pw-foundation-row strong{font-size:13px}.pw-foundation-row>span:last-child{color:#98a2b3}.pw-state{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid #98a2b3;font-size:11px}.pw-state.done{background:#12b76a;color:#fff;border-color:#12b76a}.pw-state.progress{color:#1570ef;border-color:#1570ef}.pw-chip{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:10px;font-style:normal;font-weight:700}.pw-chip.success{background:#ecfdf3;color:#027a48}.pw-chip.info{background:#eff8ff;color:#175cd3}.pw-chip.danger{background:#fef3f2;color:#b42318}.pw-chip.neutral{background:#f2f4f7;color:#667085}.pw-context-copy{color:#475467;line-height:1.5}.pw-context-box{display:grid;gap:12px;background:#f9fafb;border-radius:7px;padding:14px}.pw-context-box>div{display:grid;grid-template-columns:160px 1fr;gap:12px}.pw-context-box b{display:flex;align-items:center;gap:7px;color:#344054;font-size:12px}.pw-context-box span{color:#667085;font-size:12px}.pw-shortcuts h2,.pw-process h2{font-size:15px;margin:0 0 12px}.pw-shortcut-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.pw-shortcut-grid a{display:grid;grid-template-columns:28px 1fr 10px;gap:8px;align-items:center;border:1px solid #eaecf0;border-radius:7px;padding:12px;color:#344054;text-decoration:none}.pw-shortcut-grid a>svg{color:#344054}.pw-shortcut-grid b,.pw-shortcut-grid small{display:block}.pw-shortcut-grid b{font-size:11px}.pw-shortcut-grid small{font-size:9px;color:#98a2b3;margin-top:2px}.pw-process-line{display:flex;align-items:center;gap:8px;overflow:auto}.pw-process-step{display:flex;align-items:center;gap:7px;border:1px solid #d0d5dd;border-radius:6px;padding:9px 12px;min-width:112px;color:#475467}.pw-process-step span{width:18px;height:18px;border-radius:50%;border:1px solid #98a2b3;display:grid;place-items:center;font-size:10px}.pw-process-step b{font-size:11px}.pw-process-step.done{background:#ecfdf3;border-color:#a6f4c5;color:#027a48}.pw-process-step.done span{background:#12b76a;border-color:#12b76a;color:#fff}.pw-process-step.progress{background:#eff8ff;border-color:#84adff;color:#175cd3}.pw-form{display:grid;gap:13px}.pw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pw-form-grid .wide{grid-column:1/-1}.pw-form label{display:grid;gap:6px}.pw-form label>span{font-size:12px;font-weight:700;color:#344054}.pw-form input,.pw-form select,.pw-form textarea{width:100%;box-sizing:border-box}.pw-form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eaecf0;padding-top:14px;margin-top:4px}.pw-table{width:100%;border-collapse:collapse}.pw-table th{background:#f9fafb;color:#475467;text-align:left;font-size:10px;padding:10px;border-bottom:1px solid #eaecf0}.pw-table td{color:#344054;font-size:12px;padding:11px;border-bottom:1px solid #eaecf0}.pw-table td small{display:block;color:#98a2b3;margin-top:3px}.pw-empty{text-align:center!important;color:#98a2b3!important;padding:28px!important}.pw-card-list{display:grid;gap:10px}.pw-list-card{display:flex;justify-content:space-between;gap:14px;border:1px solid #eaecf0;border-radius:7px;padding:13px}.pw-list-card span{color:#667085;font-size:10px}.pw-list-card h3{font-size:13px;margin:3px 0}.pw-list-card p{color:#667085;font-size:11px;margin:0}.pw-trace-flow{display:flex;align-items:center;gap:7px;overflow:auto;background:#f9fafb;border:1px solid #eaecf0;border-radius:7px;padding:12px;margin-bottom:16px}.pw-trace-flow span{border:1px solid #d0d5dd;border-radius:6px;padding:7px 9px;background:#fff;font-size:10px;white-space:nowrap}.pw-trace-flow i{color:#98a2b3}.pw-trace-form{border-left:1px solid #eaecf0;padding-left:16px}.pw-gate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pw-gate-card{border:1px solid #eaecf0;border-radius:8px;padding:14px}.pw-gate-card h3{font-size:14px;margin:2px 0}.pw-gate-card ul{list-style:none;padding:0;margin:10px 0 0}.pw-gate-card li{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eaecf0;padding:8px 0;font-size:11px}.pw-gate-card li span{color:#667085}.btn.small{padding:6px 10px;font-size:11px}
@media(max-width:1200px){.pw-summary-grid{grid-template-columns:repeat(2,1fr)}.pw-shortcut-grid{grid-template-columns:repeat(2,1fr)}.pw-two-col,.pw-two-col.wide-left{grid-template-columns:1fr}.pw-recommendation{grid-template-columns:50px 1fr}.pw-recommendation>div:last-child{grid-column:1/-1;display:flex}.pw-gate-grid{grid-template-columns:1fr}}
@media(max-width:700px){.pw-summary-grid,.pw-form-grid{grid-template-columns:1fr}.pw-form-grid .wide{grid-column:auto}.pw-shortcut-grid{grid-template-columns:1fr}.pw-project-head,.pw-overview-title{align-items:flex-start;flex-wrap:wrap}.pw-next-action{margin-left:0}.pw-context-box>div{grid-template-columns:1fr}}


/* v0.14.0 — alinhamento visual adicional com wireframes aprovados */
body.tagra-dark-shell.wireframe-shell .sidebar nav span{font-weight:700!important;letter-spacing:0!important;margin:20px 10px 3px!important;font-size:12px!important;line-height:1.15!important}
body.tagra-dark-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),body.tagra-dark-shell select,body.tagra-dark-shell textarea{color:#344054;background:#eef4ff;border-color:var(--tagra-border);border-radius:6px}
.wf14-page,.wf14-page *,.wf14-settings-form,.wf14-panel{box-sizing:border-box}.wf14-breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;color:#667085;margin:0 0 12px}.wf14-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.wf14-title-row h1{margin:0;color:#101828;font:700 28px/1.1 Arial,"Segoe UI",sans-serif}.wf14-title-row p{margin:5px 0 0;color:#667085;font-size:13px}.wf14-panel{background:#fff;border:1px solid #d0d5dd;border-radius:6px;padding:14px;margin-bottom:14px;box-shadow:none}.wf14-filterbar{display:grid;grid-template-columns:minmax(260px,1.7fr) 140px 140px 140px auto;gap:10px;align-items:end}.wf14-filterbar label,.wf14-settings-form label,.wf14-panel label{display:grid;gap:6px;color:#344054;font-size:11px;font-weight:600}.wf14-filterbar input,.wf14-filterbar select,.wf14-settings-form input,.wf14-settings-form select,.wf14-settings-form textarea,.wf14-panel input,.wf14-panel select,.wf14-panel textarea{min-height:38px;padding:8px 10px;border:1px solid #d0d5dd;background:#fff;color:#344054;font-size:12px}.wf14-search span.sr-only{position:absolute;left:-9999px}.wf14-link{border:0;background:none;color:#1570ef;font-weight:700;padding:10px;cursor:pointer}.wf14-status-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 14px}.wf14-status-cards article{position:relative;display:grid;grid-template-columns:14px 1fr;grid-template-rows:auto auto;gap:2px 8px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;padding:12px 14px}.wf14-status-cards article:first-child{border-color:#84adff;background:#f5f8ff}.wf14-status-cards i{width:9px;height:9px;border-radius:50%;background:var(--accent);margin-top:3px}.wf14-status-cards span{font-size:11px;color:#475467}.wf14-status-cards strong{grid-column:2;font-size:17px;color:#101828}.wf14-project-table{padding:0;overflow:hidden}.wf14-project-table table,.wf14-table,.wf14-toggle-table,.wf14-kv{width:100%;border-collapse:collapse}.wf14-project-table th,.wf14-table th,.wf14-toggle-table th{background:#f9fafb;color:#475467;font-size:10px;text-align:left;padding:11px 12px;border-bottom:1px solid #eaecf0}.wf14-project-table td,.wf14-table td,.wf14-toggle-table td{padding:11px 12px;border-bottom:1px solid #eaecf0;color:#344054;font-size:11px;vertical-align:middle}.wf14-project-name{display:flex;gap:9px;color:#101828;text-decoration:none;align-items:flex-start}.wf14-project-name small{display:block;color:#98a2b3;margin-top:3px}.wf14-folder{width:30px;height:30px;border:1px solid #d0d5dd;border-radius:5px;display:grid;place-items:center}.wf14-progress{display:inline-block;width:72px;height:6px;background:#eaecf0;border-radius:99px;overflow:hidden;margin-right:7px;vertical-align:middle}.wf14-progress i{display:block;height:100%;background:#2e90fa;border-radius:99px}.wf14-project-table footer{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#667085;font-size:11px}.wf14-project-table footer div{display:flex;gap:6px}.wf14-project-table footer button,.wf14-project-table footer select{min-width:30px;height:30px;border:1px solid #d0d5dd;border-radius:5px;background:#fff;color:#344054}.wf14-project-table footer button.active{background:#1570ef;color:#fff;border-color:#1570ef}.wf14-more{color:#475467;text-decoration:none;font-weight:700}.wf14-tabs{display:flex;gap:22px;border-bottom:1px solid #d0d5dd;margin-bottom:14px}.wf14-tabs.secondary{margin-top:-6px}.wf14-tabs a{padding:10px 2px;color:#667085;text-decoration:none;font-size:12px;font-weight:600;border-bottom:2px solid transparent}.wf14-tabs a.active{color:#1570ef;border-bottom-color:#1570ef}.wf14-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wf14-settings-grid.two{grid-template-columns:1fr 1fr}.wf14-panel h2{margin:0 0 12px;color:#101828;font-size:14px}.wf14-settings-form .wf14-panel>label{margin-bottom:10px}.wf14-switch-row{display:flex!important;justify-content:space-between;align-items:center;gap:18px;padding:9px 0;border-bottom:1px solid #f2f4f7}.wf14-switch-row span{display:grid;gap:2px}.wf14-switch-row small{color:#98a2b3;font-weight:400}.wf14-switch-row input[type=checkbox]{appearance:none;width:34px;height:19px;border-radius:99px;background:#d0d5dd;position:relative;cursor:pointer}.wf14-switch-row input[type=checkbox]:before{content:"";position:absolute;width:15px;height:15px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.15s}.wf14-switch-row input[type=checkbox]:checked{background:#1570ef}.wf14-switch-row input[type=checkbox]:checked:before{transform:translateX(15px)}.wf14-form-2,.wf14-form-3{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.wf14-form-3{grid-template-columns:repeat(3,1fr)}.wf14-form-actions{display:flex;justify-content:flex-end;gap:8px;margin:12px 0}.wf14-inline-form{display:inline-block;margin-right:8px}.wf14-currency-panel{grid-column:1/-1}.wf14-currency-meta{display:flex;gap:30px;padding:10px 0;color:#667085;font-size:11px}.wf14-audit-filters{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto auto;gap:10px;align-items:end}.wf14-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.wf14-panel-head h2,.wf14-panel-head p{margin:0}.wf14-panel-head p{color:#667085;font-size:11px;margin-top:3px}.wf14-kv th,.wf14-kv td{padding:10px;border-bottom:1px solid #eaecf0;text-align:left;font-size:11px}.wf14-kv th{width:180px;color:#475467}.wf14-callout{border-radius:6px;padding:12px;margin-top:12px}.wf14-callout.success{background:#ecfdf3;color:#027a48}.wf14-callout.info{background:#eff8ff;color:#175cd3}.wf14-cost-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.wf14-cost-cards article{border:1px solid #eaecf0;border-radius:6px;padding:14px}.wf14-cost-cards span,.wf14-cost-cards small{display:block;color:#667085;font-size:10px}.wf14-cost-cards strong{display:block;font-size:22px;color:#101828;margin:6px 0}.wf14-demo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.wf14-demo-grid article{border:1px solid #eaecf0;border-radius:6px;padding:12px}.wf14-demo-grid strong,.wf14-demo-grid span{display:block}.wf14-demo-grid span{color:#667085;font-size:11px;margin-top:4px}.btn.danger{background:#d92d20;color:#fff;border-color:#d92d20}
@media(max-width:1100px){.wf14-filterbar,.wf14-audit-filters{grid-template-columns:1fr 1fr}.wf14-status-cards{grid-template-columns:repeat(2,1fr)}.wf14-settings-grid,.wf14-settings-grid.two{grid-template-columns:1fr}.wf14-cost-cards,.wf14-demo-grid{grid-template-columns:1fr 1fr}}


/* v0.15.3 — navegação de detalhe e CRUD de Frameworks */
.wx-btn.small{padding:6px 10px;min-height:30px;font-size:12px}
.wx-modal-backdrop{position:fixed;inset:0;z-index:1200;background:rgba(15,23,42,.48);display:flex;align-items:center;justify-content:center;padding:24px}
.wx-modal{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #d0d5dd;border-radius:10px;box-shadow:0 24px 70px rgba(15,23,42,.22);padding:22px}
.wx-modal>header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #eaecf0;padding-bottom:14px;margin-bottom:18px}
.wx-modal>header h2{margin:0 0 4px;color:#101828;font-size:20px}.wx-modal>header p{margin:0;color:#667085}.wx-modal-close{font-size:25px;text-decoration:none;color:#667085;line-height:1}
.wx-modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eaecf0;margin-top:18px;padding-top:16px}
.wx-switch-row{display:flex;align-items:center;gap:10px;min-height:40px;color:#344054}.wx-switch-row input{width:18px;height:18px}.wx-form-grid .span2{grid-column:1/-1}

/* v0.16.0 — Contrato de Engenharia e rebaseline do Workspace */
.contract-hero{border-left:4px solid #1570ef}.contract-note{background:#eef4ff;border:1px solid #b2ccff;border-radius:7px;padding:12px 14px;color:#344054;font-size:12px;line-height:1.45}.contract-form{display:grid;gap:0}.contract-group small{color:#98a2b3}.contract-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.contract-option{display:flex;align-items:flex-start;gap:10px;border:1px solid #d0d5dd;border-radius:8px;padding:12px;background:#fff;cursor:pointer;min-height:74px;box-sizing:border-box}.contract-option:hover{border-color:#84adff;background:#f9fbff}.contract-option.selected{border-color:#1570ef;background:#eff8ff;box-shadow:0 0 0 1px #1570ef inset}.contract-option input{margin-top:3px;width:auto!important;height:auto!important}.contract-option strong,.contract-option small{display:block}.contract-option strong{color:#101828;font-size:12px}.contract-option small{color:#667085;font-size:10px;line-height:1.4;margin-top:4px}.contract-message h3{margin:0 0 8px;font-size:14px}.contract-message ul{margin:0;padding-left:18px;color:#475467;font-size:12px}.contract-message.error{border-color:#fda29b;background:#fef3f2}.contract-message.warning{border-color:#fec84b;background:#fffaeb}.contract-message.info{border-color:#84adff;background:#eff8ff}.workspace-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace-capability{display:grid;gap:6px;border:1px solid #d0d5dd;border-radius:8px;padding:14px;text-decoration:none;min-height:110px;box-sizing:border-box}.workspace-capability strong{color:#101828;font-size:14px}.workspace-capability span{color:#667085;font-size:11px;line-height:1.45}.workspace-capability em{font-size:10px;font-style:normal;font-weight:700;margin-top:auto}.workspace-capability.ready{background:#fff}.workspace-capability.ready:hover{border-color:#84adff;background:#f9fbff}.workspace-capability.ready em{color:#027a48}.workspace-capability.planned{background:#f9fafb}.workspace-capability.planned em{color:#667085}
@media(max-width:1000px){.contract-options,.workspace-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.contract-options,.workspace-capability-grid{grid-template-columns:1fr}}
.contract-hero-actions{display:flex;align-items:center;gap:8px}.contract-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.contract-impact-card{border:1px solid #eaecf0;border-radius:8px;background:#f9fafb;padding:12px}.contract-impact-card strong{display:block;color:#344054;font-size:12px;margin-bottom:7px}.contract-impact-card ul{margin:0;padding-left:17px;color:#667085;font-size:11px;line-height:1.55}.engineering-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.engineering-catalog-group{border:1px solid #eaecf0;border-radius:8px;padding:12px}.engineering-catalog-group h3{margin:0 0 8px;color:#101828;font-size:13px}.engineering-catalog-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #f2f4f7}.engineering-catalog-row:first-of-type{border-top:0}.engineering-catalog-row strong,.engineering-catalog-row small{display:block}.engineering-catalog-row strong{font-size:11px;color:#344054}.engineering-catalog-row small{font-size:9px;color:#98a2b3;margin-top:2px}@media(max-width:900px){.contract-impact-grid,.engineering-catalog-grid{grid-template-columns:1fr}}
