:root {
  --ink:#213048;
  --muted:#718096;
  --bg:#f5f7fb;
  --line:#e6ebf2;
  --primary:#147d72;
  --primary-dark:#0c5c54;
  --nav:#15233b;
  --purple:#7863c6;
  --shadow:0 4px 24px #243c5806
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:14px/1.55 "Segoe UI",system-ui,sans-serif
}
a {
  color:var(--primary);
  text-underline-offset:3px
}
.icon {
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
aside {
  position:fixed;
  inset:0 auto 0 0;
  width:244px;
  background:var(--nav);
  color:#aabbce;
  display:flex;
  flex-direction:column;
  padding:30px 18px;
  z-index:20
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  padding:0 14px 30px;
  text-decoration:none;
  color:white
}
.brand-mark {
  height:42px;
  width:42px;
  border-radius:12px;
  background:#2ba996;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:800
}
.brand strong {
  display:block;
  font-size:19px;
  letter-spacing:1px
}
.brand small {
  display:block;
  color:#96a8bf;
  letter-spacing:2px;
  font-size:9px
}
.nav-label {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.7px;
  padding:12px 16px;
  color:#7d91ac
}
nav {
  overflow:auto
}
nav a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 15px;
  margin:4px 0;
  border-radius:8px;
  color:#acbdd1;
  text-decoration:none;
  font-size:13px;
  transition:background .15s
}
nav a:hover {
  background:#20334e;
  color:#fff
}
nav a.active {
  background:#25443f;
  color:#8de0cd;
  box-shadow:inset 3px 0 #55c4a9
}
aside .foot {
  margin-top:auto;
  border-top:1px solid #2b3a50;
  padding:20px 13px 0;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px
}
.avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#334861;
  color:#e4f1f5;
  font-size:12px;
  font-weight:700
}
.account {
  min-width:0;
  flex:1
}
.account b {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#e2e9f2
}
.account small {
  color:#8499b3;
  font-size:10px
}
.logout {
  padding:5px!important;
  background:transparent!important;
  color:#9db1c8!important
}
.workspace {
  margin-left:244px;
  min-width:0
}
.topbar {
  height:76px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 36px;
  background:white;
  border-bottom:1px solid var(--line);
  gap:20px
}
.breadcrumb {
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:12px;
  align-items:center
}
.breadcrumb b {
  color:var(--ink);
  font-weight:500
}
.topbar-right {
  display:flex;
  gap:18px;
  align-items:center;
  font-size:12px;
  color:var(--muted)
}
.environment {
  border:1px solid #d9e8e3;
  border-radius:30px;
  padding:5px 12px;
  color:#4c786b;
  font-size:10px;
  letter-spacing:.6px
}
.environment:before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4da785;
  margin-right:7px
}
main {
  padding:30px 36px;
  max-width:1740px;
  margin:auto
}
.page-header,header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:26px
}
h1 {
  font-size:28px;
  line-height:1.2;
  letter-spacing:-.8px;
  margin:6px 0 10px;
  font-weight:650
}
h2 {
  font-size:16px;
  line-height:1.4;
  letter-spacing:-.25px;
  margin:0;
  font-weight:650
}
h3 {
  font-size:14px;
  margin:0
}
p {
  color:var(--muted);
  margin:7px 0 12px
}
.eyebrow {
  color:var(--primary);
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.7px
}
.page-header p,header p {
  font-size:13px;
  margin:0
}
.btn,button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:7px;
  background:var(--primary);
  color:white;
  font:600 12px/1.4 "Segoe UI",system-ui,sans-serif;
  text-decoration:none;
  cursor:pointer;
  min-height:39px;
  white-space:nowrap;
  transition:background .15s,box-shadow .15s
}
.btn:hover,button:hover {
  background:var(--primary-dark);
  box-shadow:0 3px 8px #14473d15
}
.secondary,button.secondary {
  background:#f0f5f5;
  color:#42665e;
  border-color:#e0ebe7
}
.secondary:hover,button.secondary:hover {
  background:#e5eeeb
}
.ghost {
  border:1px solid var(--line);
  color:var(--ink);
  background:white
}
.ghost:hover {
  background:#f7f9fb
}
.muted {
  color:var(--muted);
  font-size:12px
}
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:18px;
  margin:22px 0
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:21px 22px;
  box-shadow:var(--shadow)
}
.card-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px
}
.card-heading>span {
  font-size:11px;
  font-weight:600;
  color:#718096
}
.metric-icon {
  height:35px;
  width:35px;
  border-radius:10px;
  background:#e9f5f0;
  color:#318475;
  display:grid;
  place-items:center
}
.metric-icon.purple {
  background:#f1edfc;
  color:#8670bd
}
.metric-icon.orange {
  background:#fff2e6;
  color:#ca9353
}
.metric-icon.blue {
  background:#eaf0fb;
  color:#5c87c1
}
.card strong {
  display:block;
  font-size:28px;
  line-height:1.25;
  margin:14px 0 10px;
  font-weight:650;
  letter-spacing:-.8px
}
.card em {
  display:block;
  font-style:normal;
  color:#7d8a9a;
  font-size:11px
}
.card a {
  color:inherit;
  text-decoration:none
}
.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  margin:22px 0;
  box-shadow:var(--shadow);
  overflow:auto
}
.panel-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:20px 23px;
  border-bottom:1px solid var(--line)
}
.panel-head>a {
  font-size:11px;
  font-weight:600;
  text-decoration:none
}
.panel-head>.muted {
  font-size:11px
}
.content {
  padding:22px 24px
}
.table-scroll {
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  white-space:nowrap
}
th {
  text-align:left;
  background:#fafbfd;
  color:#8995a5;
  letter-spacing:.7px;
  font-size:9px;
  font-weight:650;
  text-transform:uppercase;
  padding:13px 23px;
  border-bottom:1px solid var(--line)
}
td {
  padding:18px 23px;
  border-bottom:1px solid #eff2f6;
  vertical-align:middle;
  font-size:12px
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:#fcfdfd
}
td small {
  display:block;
  color:#8b97a6;
  font-size:10px;
  margin-top:4px
}
td>a {
  text-decoration:none;
  font-weight:600
}
.badge {
  display:inline-flex;
  align-items:center;
  padding:4px 9px;
  border-radius:5px;
  background:#e8f5ef;
  color:#41826c;
  font-size:10px;
  font-weight:600;
  white-space:nowrap
}
.badge.warn {
  background:#fff4df;
  color:#ad833d
}
.badge.purple {
  background:#f0ecfc;
  color:#8c75bc
}
.badge.blue {
  background:#edf2fb;
  color:#678bc0
}
.badge.danger {
  background:#fcefed;
  color:#bb6a60
}
.inline {
  display:inline-flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:4px 0
}
.filters {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-end
}
.filter-panel {
  padding:16px 20px;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  margin:18px 0
}
.filters>input[name=q] {
  flex:1;
  min-width:180px
}
.filters label {
  margin:0
}
.filters label input {
  margin-top:4px
}
.filters a {
  align-self:center;
  font-size:12px
}
.filter-note {
  font-size:10px;
  color:#93a0ae;
  margin:10px 0 0
}
input,select,textarea {
  padding:10px 12px;
  border:1px solid #dfe5ed;
  border-radius:6px;
  background:white;
  color:var(--ink);
  font:12px/1.4 "Segoe UI",system-ui,sans-serif;
  max-width:100%
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #75baa3;
  outline-offset:2px
}
input[type=number] {
  width:108px
}
input[type=checkbox] {
  accent-color:var(--primary);
  width:16px;
  height:16px
}
input[type=file] {
  width:100%;
  padding:10px;
  background:#fbfcfe
}
label {
  display:block;
  margin:13px 0;
  font-size:11px;
  color:#7d8b9e;
  font-weight:500
}
label input,label textarea,label select {
  display:block;
  margin-top:7px
}
textarea {
  width:100%;
  resize:vertical
}
details {
  white-space:normal
}
summary {
  font-size:11px;
  font-weight:600;
  color:var(--primary);
  cursor:pointer;
  padding:7px 0
}
.message {
  padding:13px 18px;
  border:1px solid #cbe4d8;
  background:#edf8f1;
  color:#427b60;
  border-radius:8px;
  font-size:12px;
  margin-bottom:16px
}
.message.error {
  background:#fdf0eb;
  color:#a95746;
  border-color:#efd2c8
}
.empty {
  text-align:center;
  color:#91a0b1;
  padding:34px 24px;
  font-size:12px
}
.grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px
}
.grid>.panel {
  margin:0 0 22px
}
.notice {
  background:#fff9ec;
  border:1px solid #f1e3c2;
  border-radius:8px;
  padding:13px 18px;
  color:#a58a54;
  font-size:11px;
  margin-bottom:20px
}
.quote-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  min-width:230px;
  max-width:390px;
  white-space:normal
}
.quote-actions form {
  display:flex;
  margin:0
}
.quote-actions .btn,.quote-actions button {
  min-height:36px;
  font-size:11px
}
.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);
  gap:22px
}
.overview-grid>.panel {
  margin-top:0
}
.stage-list {
  padding:7px 24px 18px
}
.stage-row {
  display:grid;
  grid-template-columns:125px minmax(40px,1fr) 25px;
  align-items:center;
  gap:14px;
  margin:19px 0;
  font-size:11px;
  color:#77869b
}
.stage-bar {
  height:7px;
  background:#f0f3f8;
  border-radius:5px;
  overflow:hidden
}
.stage-fill {
  height:100%;
  background:#59ab96;
  border-radius:5px
}
.stage-row:nth-child(2) .stage-fill {
  background:#8a7ac2
}
.stage-row:nth-child(3) .stage-fill {
  background:#6c9cc7
}
.stage-row:nth-child(4) .stage-fill {
  background:#d4b073
}
.stage-row b {
  text-align:right;
  font-size:12px;
  color:var(--ink)
}
.agenda {
  padding:5px 23px
}
.agenda-row {
  display:flex;
  gap:12px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #f0f3f6
}
.agenda-row:last-child {
  border:0
}
.agenda-date {
  width:42px;
  height:43px;
  flex-shrink:0;
  border-radius:8px;
  background:#f2f6fa;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#73839a;
  font-size:9px;
  line-height:1.2
}
.agenda-date b {
  font-size:16px;
  color:#53657f
}
.agenda-row a {
  color:var(--ink);
  font-size:11px;
  text-decoration:none;
  font-weight:600
}
.agenda-row p {
  font-size:10px;
  margin:2px 0
}
.agenda-row .badge {
  margin-left:auto
}
.welcome-strip {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:21px 25px;
  border-radius:12px;
  background:#eaf2f0;
  border:1px solid #dae9e3;
  margin:20px 0
}
.welcome-strip h2 {
  font-size:15px;
  color:#38695b
}
.welcome-strip p {
  font-size:12px;
  margin:5px 0 0
}
.catalog-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.catalog-card {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:23px;
  text-decoration:none;
  color:var(--ink)
}
.catalog-card:hover {
  border-color:#a9cabe;
  box-shadow:var(--shadow)
}
.catalog-card .metric-icon {
  margin-bottom:16px
}
.catalog-card p {
  font-size:12px;
  margin-bottom:0
}
.footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:#9aa5b4;
  font-size:10px;
  padding:25px 0 0;
  margin-top:10px
}
.report-tabs {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.report-tabs a {
  border:1px solid var(--line);
  background:white;
  border-radius:7px;
  padding:8px 14px;
  text-decoration:none;
  font-size:12px;
  color:#7e8b9c
}
.report-tabs a.active {
  border-color:#a9d2c1;
  background:#edf6f1;
  color:#39816a
}
.summary-line {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  font-size:12px
}
.summary-line b {
  color:var(--ink)
}
.item-progress {
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  padding:20px 24px;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  margin:20px 0
}
.item-progress>div {
  flex:1;
  min-width:130px
}
.item-progress small {
  display:block;
  font-size:10px;
  color:#92a0ad
}
.item-progress strong {
  display:block;
  margin-top:7px;
  font-size:14px
}
.login-wrap {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr
}
.login-story {
  background:#152d3a;
  color:white;
  padding:12vw 7vw;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.login-story h1 {
  font-size:44px;
  font-weight:500;
  line-height:1.16
}
.login-story p {
  color:#94b7b3;
  font-size:15px
}
.login-form {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px
}
.login-box {
  max-width:340px;
  width:100%
}
.login-box h1 {
  font-size:27px
}
.login-box label {
  font-size:12px
}
.login-box input {
  width:100%;
  padding:13px
}
.login-box button {
  width:100%;
  margin-top:15px
}
.login-box .errorlist {
  color:#b65c50;
  font-size:12px;
  padding-left:15px
}
.login-brand {
  margin-bottom:30px;
  font-size:17px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--primary)
}
@media(min-width:1700px) {
  .quote-actions {
    max-width:580px
  }
}
@media(max-width:1150px) {
  aside {
    width:205px
  }
  .workspace {
    margin-left:205px
  }
  main {
    padding:25px
  }
  .topbar {
    padding:0 25px
  }
  .cards {
    gap:12px
  }
  .card {
    padding:18px
  }
  .overview-grid {
    grid-template-columns:1fr
  }
  .catalog-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:850px) {
  .cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .grid {
    grid-template-columns:1fr
  }
  .topbar-right>span:not(.environment) {
    display:none
  }
  .page-header {
    align-items:flex-start
  }
}
@media(max-width:650px) {
  aside {
    position:static;
    width:auto;
    padding:16px 15px 8px
  }
  .brand {
    padding:0 3px 10px
  }
  .brand-mark {
    height:31px;
    width:31px;
    font-size:19px
  }
  .brand strong {
    font-size:15px
  }
  .brand small {
    font-size:8px
  }
  nav {
    display:flex;
    gap:4px;
    overflow-x:auto
  }
  .nav-label,aside .foot {
    display:none
  }
  nav a {
    padding:9px 10px;
    white-space:nowrap;
    font-size:11px
  }
  nav .icon {
    width:16px;
    height:16px
  }
  .workspace {
    margin-left:0
  }
  .topbar {
    height:52px;
    padding:0 18px
  }
  .breadcrumb {
    font-size:10px
  }
  .topbar-right .environment {
    font-size:8px;
    padding:4px 7px
  }
  main {
    padding:22px 16px
  }
  .page-header,header {
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px
  }
  h1 {
    font-size:24px
  }
  .cards {
    gap:10px
  }
  .card {
    padding:15px
  }
  .card strong {
    font-size:24px
  }
  .card-heading>span {
    font-size:9px
  }
  .metric-icon {
    height:29px;
    width:29px
  }
  .metric-icon .icon {
    width:16px;
    height:16px
  }
  .card em {
    font-size:9px
  }
  .panel-head {
    padding:18px
  }
  .panel-head>.muted {
    display:none
  }
  td,th {
    padding:14px 18px
  }
  .welcome-strip {
    align-items:flex-start;
    padding:18px
  }
  .welcome-strip .btn {
    font-size:10px;
    padding:9px
  }
  .catalog-grid {
    grid-template-columns:1fr
  }
  .stage-row {
    grid-template-columns:110px minmax(30px,1fr) 20px
  }
  .footer span:last-child {
    display:none
  }
  .login-wrap {
    grid-template-columns:1fr
  }
  .login-story {
    padding:35px 25px
  }
  .login-story h1 {
    font-size:27px
  }
  .login-story p {
    font-size:12px
  }
  .login-form {
    padding:35px 25px
  }
  .login-brand {
    margin-bottom:20px
  }
}
.production-board {
  display:grid;
  grid-template-columns:repeat(4,minmax(180px,1fr));
  gap:16px;
  overflow:auto;
  margin:22px 0
}
.board-lane {
  border:1px solid #e3e9f1;
  border-radius:10px;
  background:#eef2f7;
  padding:14px;
  min-width:180px
}
.lane-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#6d7f96;
  font-size:11px;
  font-weight:600;
  margin-bottom:15px
}
.lane-title b {
  padding:1px 7px;
  background:white;
  border-radius:4px
}
.lot-card {
  display:block;
  text-decoration:none;
  background:white;
  border:1px solid var(--line);
  border-radius:8px;
  padding:16px;
  margin:10px 0;
  color:var(--ink)
}
.lot-card h3 {
  font-size:12px;
  margin:12px 0 7px;
  overflow-wrap:anywhere
}
.lot-card p {
  font-size:10px
}
.lot-card>div {
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#8b99aa;
  font-size:9px;
  border-top:1px solid #f0f3f7;
  padding-top:10px
}
.lane-empty {
  font-size:10px;
  color:#9ca8b7;
  padding:15px 0
}
h1 {
  overflow-wrap:anywhere
}
.overview-grid:has(>.panel:only-child) {
  grid-template-columns:1fr
}
.operation-form {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 20px;
  max-width:850px
}
.operation-form p:has(textarea),.operation-form button {
  grid-column:1/-1
}
.operation-form input,.operation-form select {
  width:100%
}
.operation-form textarea {
  min-height:90px
}
.work-list>.panel:first-child {
  margin-top:0
}
@media(max-width:650px) {
  .operation-form {
    grid-template-columns:1fr
  }
}
.brand-mark { background:#fff; overflow:hidden; width:48px; height:48px; border-radius:12px; }
.brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.login-brand { display:flex; align-items:center; gap:16px; }
.login-brand img { object-fit:contain; flex-shrink:0; }
.login-brand small { display:block; font-size:8px; letter-spacing:1px; font-weight:500; margin-top:5px; }
.seletor-arquivo { position:relative; display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:9px; border:1px solid #dfe5ed; border-radius:7px; background:#fafcfd; margin-top:8px; }
.seletor-arquivo:focus-within { outline:2px solid #75baa3; outline-offset:2px; }
.seletor-arquivo-botao { padding:7px 10px; background:#edf4f1; border-radius:5px; color:#397461; font-size:11px; }
.seletor-arquivo-nome { font-size:10px; color:#7a8c9c; overflow-wrap:anywhere; }
.seletor-arquivo input[type=file] { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; margin:0; }
.shipping-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.shipping-form p{margin:0;display:flex;flex-direction:column;gap:7px}.shipping-form input,.shipping-form select,.shipping-form textarea{width:100%;box-sizing:border-box}.shipping-form button{align-self:end;justify-self:start}.shipping-form .errorlist{color:#a32020}.panel>h2,.panel>p,.panel>form{margin:16px}td small{display:block}
