:root {
  --if-green: #2f9e2f;
  --if-green-2: #45c83d;
  --if-green-3: #81ec6f;
  --if-red: #df322f;
  --if-yellow: #f2b51d;
  --ink: #071018;
  --ink-2: #0a1720;
  --ink-3: #0d202b;
  --panel: #0b1d28;
  --panel-2: #102632;
  --panel-3: #15303d;
  --line-dark: rgba(151, 185, 200, .18);
  --line-green: rgba(66, 200, 61, .38);
  --text: #f3f7f8;
  --muted: #91a7b4;
  --light-bg: #f4f7f8;
  --light-panel: #fff;
  --light-line: #dfe7e9;
  --dark-text: #102027;
  --shadow: 0 24px 60px rgba(2, 13, 18, .25);
  --shadow-soft: 0 14px 36px rgba(11, 31, 39, .12);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark-text);
  background: var(--light-bg);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
svg { display: block; width: 1.25em; height: 1.25em; }
button, input, textarea, select { font: inherit; }

.btn {
  border-radius: 10px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.btn-primary {
  --bs-btn-bg: var(--if-green);
  --bs-btn-border-color: var(--if-green);
  --bs-btn-hover-bg: #258725;
  --bs-btn-hover-border-color: #258725;
  --bs-btn-active-bg: #1f761f;
  --bs-btn-active-border-color: #1f761f;
  box-shadow: 0 9px 24px rgba(47, 158, 47, .22);
}
.btn-outline-primary {
  --bs-btn-color: var(--if-green-2);
  --bs-btn-border-color: rgba(69, 200, 61, .55);
  --bs-btn-hover-bg: rgba(69, 200, 61, .12);
  --bs-btn-hover-color: var(--if-green-3);
  --bs-btn-hover-border-color: var(--if-green-2);
}
.btn-outline-light { --bs-btn-border-color: rgba(255,255,255,.38); }
.alert { border: 0; border-radius: 14px; }
.alert-info { background: rgba(45, 164, 211, .13); color: #8fdcff; }
.alert-warning { background: rgba(242, 181, 29, .13); color: #ffda72; }
.alert-danger { background: rgba(223, 50, 47, .16); color: #ff9e99; }
.alert-success { background: rgba(47, 158, 47, .16); color: #a3f094; }
.small-muted { color: var(--muted); font-size: .82rem; }
.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 900;
  color: var(--if-green-2);
}

/* Public website */
.public-home { background: #fff; overflow-x: hidden; }
.public-topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: 78px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e8eded;
  box-shadow: 0 8px 24px rgba(9, 32, 41, .06);
  backdrop-filter: blur(18px);
}
.public-topbar-inner {
  width: min(100% - 40px, 1620px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(450px, 1fr) auto auto;
  align-items: center;
  gap: 32px;
}
.institution-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
  color: var(--dark-text);
  text-decoration: none;
}
.institution-brand img { width: 178px; height: 50px; object-fit: contain; }
.brand-divider { width: 1px; height: 42px; background: #b9c7c9; }
.ecosystem-name { display: grid; line-height: 1.05; }
.ecosystem-name strong { color: var(--if-green); font-size: 1.12rem; }
.ecosystem-name small { margin-top: 5px; color: #61737b; font-size: .72rem; }
.brand-separator { color: var(--if-green); font-weight: 900; }
.module-name { color: var(--if-green); font-size: 1.08rem; white-space: nowrap; }
.public-nav { display: flex; align-items: center; gap: 30px; }
.public-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: #13232a;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
}
.public-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 15px;
  height: 2px;
  background: var(--if-green);
  transition: right .2s ease;
}
.public-nav a:hover::after,
.public-nav a.active::after { right: 0; }
.public-nav a.active { color: var(--if-green); }
.institution-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #24922a, #35ad37);
  border: 1px solid #208026;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 850;
  box-shadow: 0 9px 24px rgba(47,158,47,.22);
  white-space: nowrap;
}
.institution-login-button:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.institution-login-button svg { width: 17px; height: 17px; }
.public-menu-toggle { display: none; }

.landing-hero {
  position: relative;
  padding: 26px 0 12px;
  color: #fff;
  background:
    radial-gradient(circle at 51% 28%, rgba(47,158,47,.18), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(17,92,66,.24), transparent 32%),
    linear-gradient(135deg, #030a0f 0%, #071610 55%, #041015 100%);
  overflow: hidden;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(67,169,83,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,169,83,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 82%);
}
.landing-hero-grid {
  position: relative;
  z-index: 1;
  width: min(100% - 56px, 1600px);
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(410px, .92fr) minmax(520px, 1.26fr) minmax(360px, .82fr);
  gap: 20px;
  align-items: center;
}
.landing-copy { padding: 18px 0 12px; }
.public-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(69,200,61,.48);
  border-radius: 999px;
  color: var(--if-green-3);
  background: rgba(47,158,47,.09);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .72rem;
  font-weight: 900;
}
.landing-copy h1 {
  margin: 20px 0 3px;
  font-size: clamp(3.8rem, 5.2vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 950;
}
.landing-copy h1 em { color: #33c53b; font-style: normal; }
.landing-copy h2 {
  margin: 16px 0 15px;
  max-width: 520px;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 830;
}
.landing-copy > p {
  max-width: 490px;
  margin: 0;
  color: #c9d4d9;
  font-size: 1rem;
  line-height: 1.6;
}
.landing-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 25px; }
.landing-pillars article { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: center; }
.landing-pillars svg { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--if-green-2); }
.landing-pillars strong { color: var(--if-green-2); font-size: .88rem; }
.landing-pillars small { color: #b7c6cc; font-size: .68rem; line-height: 1.35; }

.hero-printer-stage {
  position: relative;
  align-self: stretch;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-printer-stage::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 22%;
  background: radial-gradient(ellipse, rgba(47,158,47,.22), transparent 68%);
  filter: blur(14px);
}
.hero-printer-stage img {
  position: relative;
  z-index: 2;
  width: min(108%, 690px);
  max-width: none;
  border-radius: 20px;
  filter: saturate(1.02) contrast(1.03);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 94%, transparent 100%);
}
.printer-glow {
  position: absolute;
  z-index: 1;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,211,68,.17), transparent 65%);
  filter: blur(10px);
}

.institution-access-card {
  padding: 25px 28px 22px;
  border: 1px solid rgba(147,180,193,.28);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(16,37,48,.94), rgba(7,20,29,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 50px rgba(0,0,0,.2);
}
.access-title { display: flex; align-items: flex-start; gap: 12px; }
.access-title small { color: #d3dce0; font-size: .79rem; font-weight: 700; }
.access-title h2 { margin: 3px 0 16px; font-size: 1.45rem; line-height: 1.12; font-weight: 900; letter-spacing: -.03em; }
.access-title h2 em { color: var(--if-green-2); font-style: normal; }
.access-shield { display: grid; place-items: center; width: 25px; height: 29px; color: var(--if-red); border: 2px solid var(--if-red); border-radius: 9px 9px 13px 13px; font-size: .75rem; }
.access-domain { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; margin: 8px 0; }
.access-domain strong { width: max-content; padding: 7px 10px; border-radius: 7px; color: #fff; background: rgba(47,158,47,.35); font-size: .8rem; }
.access-domain.staff strong { background: rgba(223,50,47,.4); }
.access-domain span { color: #eff4f5; font-size: .8rem; }
.institution-access-card hr { border-color: rgba(255,255,255,.18); opacity: 1; margin: 18px 0; }
.access-permissions { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.access-permissions svg { color: #e7eff1; }
.access-permissions strong { font-size: .88rem; }
.access-permissions p { margin: 5px 0 15px; color: #c5d0d4; font-size: .78rem; line-height: 1.5; }
.access-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  color: #fff;
  background: linear-gradient(135deg, #2ba532, #36bd3d);
  border-radius: 8px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 850;
  box-shadow: 0 10px 25px rgba(47,158,47,.24);
}
.access-button:hover { color: #fff; filter: brightness(1.06); }
.google-g { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 950; }
.access-privacy { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 9px; color: #a7bac2; font-size: .66rem; }
.access-privacy svg { width: 12px; height: 12px; color: var(--if-green-2); }

.production-journey {
  position: relative;
  z-index: 2;
  width: min(100% - 56px, 1600px);
  margin: 8px auto 0;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(67,201,61,.54);
  border-radius: 20px;
  background: rgba(5,20,26,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.journey-intro h2 { margin: 0; color: var(--if-green-2); font-size: 1.04rem; font-weight: 900; }
.journey-intro p { margin: 4px 0 0; color: #bdcbd0; font-size: .75rem; }
.journey-steps { display: grid; grid-template-columns: repeat(8, minmax(120px, 1fr)); gap: 12px; overflow-x: auto; padding: 3px 0; }
.journey-step {
  position: relative;
  min-width: 125px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(147,181,194,.2);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(25,48,59,.96), rgba(12,30,39,.96));
}
.journey-step:not(:last-child)::after { content: "›"; position: absolute; right: -12px; z-index: 2; color: var(--if-green-2); font-size: 1.55rem; font-weight: 900; }
.journey-symbol { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: var(--if-green-3); background: rgba(47,158,47,.18); border: 1px solid rgba(69,200,61,.4); font-size: .75rem; font-weight: 900; }
.journey-step:nth-child(3) .journey-symbol { color: #ffd05a; background: rgba(242,181,29,.15); border-color: rgba(242,181,29,.45); }
.journey-step:nth-child(5) .journey-symbol,
.journey-step:nth-child(6) .journey-symbol { color: #ff7771; background: rgba(223,50,47,.15); border-color: rgba(223,50,47,.45); }
.journey-step strong { display: block; color: #fff; font-size: .72rem; line-height: 1.15; }
.journey-step small { display: block; margin-top: 3px; color: #aebfc6; font-size: .59rem; line-height: 1.25; }

.landing-features { padding: 62px 28px 42px; background: linear-gradient(#fff, #f6f8f8); }
.landing-section-heading { width: min(100%, 1550px); margin: 0 auto 28px; }
.landing-section-heading > span { color: var(--if-green); text-transform: uppercase; letter-spacing: .09em; font-weight: 900; font-size: .72rem; }
.landing-section-heading h2 { margin: 6px 0 7px; color: #0e1c22; font-size: clamp(1.8rem, 2.5vw, 2.65rem); font-weight: 920; letter-spacing: -.045em; }
.landing-section-heading p { max-width: 760px; margin: 0; color: #60747d; }
.public-data-note { width: min(100%, 1550px); margin: -10px auto 18px; padding: 10px 13px; border-radius: 10px; background: #fff6dc; color: #725919; font-size: .82rem; }
.feature-card-grid { width: min(100%, 1550px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.landing-feature-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e1e7e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17,44,52,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.landing-feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(17,44,52,.13); }
.landing-feature-card header { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; }
.feature-icon.green { background: linear-gradient(145deg, #27942b, #3aba42); }
.feature-icon.red { background: linear-gradient(145deg, #d52d2a, #ef4c43); }
.feature-icon svg { width: 23px; height: 23px; }
.landing-feature-card h3 { margin: 0; font-size: 1.02rem; font-weight: 900; letter-spacing: -.025em; }
.landing-feature-card header p { margin: 5px 0 0; color: #52676f; font-size: .76rem; line-height: 1.45; }
.landing-feature-card > a { margin-top: auto; color: var(--if-green); text-decoration: none; font-size: .82rem; font-weight: 850; }
.landing-feature-card > a span { margin-left: 7px; font-size: 1.1rem; }
.mini-dashboard { margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.mini-dashboard div { padding: 13px; border: 1px solid #e1e8e9; border-radius: 12px; background: #f8faf9; }
.mini-dashboard small { display: block; color: #6c7d83; font-size: .65rem; }
.mini-dashboard strong { display: block; margin-top: 3px; color: var(--if-green); font-size: 1.45rem; }
.mini-fleet { margin: 20px 0; display: grid; gap: 8px; }
.mini-fleet > div { display: grid; grid-template-columns: 42px 1fr auto; gap: 9px; align-items: center; padding: 9px; border-radius: 11px; background: #f6f8f8; border: 1px solid #e0e7e8; }
.mini-printer-shape { position: relative; width: 36px; height: 30px; border: 5px solid #1d282d; border-bottom-width: 7px; border-radius: 3px; }
.mini-printer-shape::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 8px; background: var(--if-green); clip-path: polygon(50% 0,100% 100%,0 100%); }
.mini-fleet strong { font-size: .72rem; }
.printer-state { padding: 4px 7px; border-radius: 999px; font-size: .58rem; font-weight: 850; }
.printer-state.available { color: #237925; background: #dff4df; }
.printer-state.printing { color: #b92521; background: #fde2df; }
.printer-state.maintenance { color: #9a6b05; background: #fff0c8; }
.printer-state.offline { color: #617077; background: #e8edef; }
.mini-placeholder { color: #74858b; font-size: .75rem; }
.mini-maintenance { position: relative; min-height: 178px; margin: 18px 0; display: grid; grid-template-columns: 1fr 75px; align-items: center; border-radius: 14px; background: #f8faf9; border: 1px solid #e1e7e8; overflow: hidden; }
.maintenance-printer { position: relative; width: 118px; height: 108px; margin: auto; border: 12px solid #24333a; border-bottom-width: 18px; border-radius: 5px; }
.maintenance-printer::before { content: ""; position: absolute; left: 20px; right: 20px; bottom: 18px; height: 22px; background: var(--if-green); clip-path: polygon(50% 0,100% 100%,0 100%); }
.maintenance-wrench { position: absolute; right: 20px; top: 32px; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--if-red); border-radius: 50%; box-shadow: 0 8px 20px rgba(223,50,47,.25); }
.maintenance-wrench svg { width: 30px; height: 30px; }
.mini-maintenance > div { align-self: end; margin: 0 14px 14px 0; text-align: right; }
.mini-maintenance strong { display: block; color: var(--if-red); font-size: 1.5rem; }
.mini-maintenance small { color: #6a7c83; font-size: .62rem; }
.mini-kanban { position: relative; min-height: 175px; margin: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; border-radius: 14px; background: #f7f9f8; border: 1px solid #e2e8e9; }
.mini-kanban div { display: grid; align-content: space-between; min-height: 58px; padding: 8px; border-radius: 8px; background: #e8f4e8; border-top: 4px solid var(--if-green); }
.mini-kanban div:nth-child(3) { background: #fff3d2; border-top-color: var(--if-yellow); }
.mini-kanban small { color: #596d75; font-size: .57rem; }
.mini-kanban span { color: #1d7421; font-weight: 900; }
.kanban-drag-path { position: absolute; left: 43%; top: 40%; color: #25353b; font-size: 2.5rem; font-style: normal; transform: rotate(10deg); }
.mini-phone { width: 178px; min-height: 205px; margin: 18px auto; padding: 9px; border: 8px solid #1d292f; border-radius: 27px; background: #e9f4eb; box-shadow: 0 10px 22px rgba(19,45,52,.18); }
.phone-top { display: flex; align-items: center; gap: 7px; padding: 5px 4px 9px; border-bottom: 1px solid #b7d0bc; }
.phone-top span { width: 20px; height: 20px; border-radius: 50%; background: var(--if-green); }
.phone-top strong { font-size: .63rem; }
.phone-message { margin-top: 10px; padding: 10px; border-radius: 9px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.phone-message small { display: block; font-size: .58rem; font-weight: 850; }
.phone-message p { margin: 6px 0; font-size: .6rem; line-height: 1.35; }
.phone-message strong { display: inline-flex; padding: 4px 7px; border-radius: 6px; color: #1d7622; background: #dff4df; font-size: .62rem; }

.public-security-section { padding: 70px 28px; color: #fff; background: linear-gradient(135deg, #07151d, #0b231b); }
.light-heading h2 { color: #fff; }
.light-heading p { color: #b8c9cf; }
.security-grid { width: min(100%, 1500px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.security-grid article { padding: 24px; border: 1px solid rgba(151,185,200,.18); border-radius: 18px; background: rgba(12,31,41,.78); }
.security-grid svg { width: 32px; height: 32px; color: var(--if-green-2); }
.security-grid h3 { margin: 16px 0 8px; font-size: 1rem; }
.security-grid p { margin: 0; color: #b6c6cc; font-size: .8rem; line-height: 1.55; }
.public-support-section { padding: 72px max(28px, calc((100% - 1500px)/2)); display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; align-items: center; background: #fff; }
.support-copy > span { color: var(--if-green); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 900; }
.support-copy h2 { margin: 8px 0 12px; font-size: clamp(2rem,3vw,3rem); font-weight: 930; letter-spacing: -.045em; }
.support-copy p { max-width: 720px; color: #5d7078; line-height: 1.65; }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.support-actions .btn { display: inline-flex; align-items: center; gap: 9px; }
.support-topics { display: grid; gap: 12px; }
.support-topics article { padding: 18px 20px; border-left: 4px solid var(--if-green); border-radius: 0 14px 14px 0; background: #f4f8f5; }
.support-topics strong { display: block; font-size: .92rem; }
.support-topics span { display: block; margin-top: 4px; color: #5d7179; font-size: .78rem; }
.institutional-trust-band { width: min(100% - 56px, 1550px); margin: 0 auto 30px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #e0e7e8; border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.institutional-trust-band article { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: center; padding: 18px 24px; }
.institutional-trust-band article + article { border-left: 1px solid #e1e7e8; }
.institutional-trust-band svg { width: 29px; height: 29px; color: var(--if-green); }
.institutional-trust-band strong { display: block; color: var(--if-green); font-size: .86rem; }
.institutional-trust-band span { display: block; margin-top: 3px; color: #667981; font-size: .7rem; }
.public-footer-new { padding: 24px max(28px,calc((100% - 1550px)/2)); display: flex; justify-content: space-between; gap: 30px; color: #b7c6cc; background: #07151d; }
.public-footer-new div { display: flex; gap: 18px; align-items: center; }
.public-footer-new strong { color: #fff; }
.public-footer-new a { color: var(--if-green-2); text-decoration: none; font-weight: 800; }
.public-footer-new span { font-size: .76rem; }

/* Login */
.login-page,
.install-page { min-height: 100vh; color: var(--text); background: radial-gradient(circle at 20% 25%, rgba(47,158,47,.16), transparent 35%), linear-gradient(135deg, #030b10, #071b20 62%, #06130d); }
.login-topbar { height: 80px; padding: 0 max(24px,calc((100% - 1500px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(151,185,200,.16); background: rgba(3,12,17,.85); }
.login-brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: #fff; }
.login-brand img { width: 180px; height: 50px; object-fit: contain; }
.login-brand span { display: grid; }
.login-brand strong { font-size: 1.5rem; }
.login-brand small { color: #a9bbc2; }
.login-shell-institutional { width: min(100% - 48px, 1450px); min-height: calc(100vh - 80px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding: 55px 0; }
.login-presentation { padding: 30px 0; }
.login-presentation h1 { max-width: 760px; margin: 22px 0 16px; font-size: clamp(3rem,5vw,5.8rem); line-height: 1; letter-spacing: -.065em; font-weight: 950; }
.login-presentation > p { max-width: 670px; color: #c0ced3; font-size: 1.1rem; line-height: 1.65; }
.login-feature-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.login-feature-grid article { padding: 18px; border: 1px solid rgba(151,185,200,.18); border-radius: 15px; background: rgba(11,30,39,.68); }
.login-feature-grid span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: var(--if-green-3); background: rgba(47,158,47,.16); font-size: .73rem; font-weight: 900; }
.login-feature-grid strong { display: block; margin-top: 13px; }
.login-feature-grid small { display: block; margin-top: 4px; color: #aebfc6; line-height: 1.4; }
.institutional-login-card { padding: 34px; border: 1px solid rgba(151,185,200,.24); border-radius: 25px; background: linear-gradient(155deg, rgba(15,38,49,.96), rgba(7,20,28,.98)); box-shadow: var(--shadow); }
.login-card-heading { display: flex; align-items: flex-start; gap: 13px; }
.login-card-heading small { color: #b5c5cb; font-weight: 750; }
.login-card-heading h2 { margin: 3px 0 18px; font-size: 1.7rem; font-weight: 900; letter-spacing: -.035em; }
.security-mark { display: grid; place-items: center; width: 30px; height: 34px; border: 2px solid var(--if-red); border-radius: 10px 10px 15px 15px; color: var(--if-red); font-weight: 900; }
.institutional-login-card > p { color: #bbc9ce; line-height: 1.55; }
.google-button-host { min-height: 48px; display: flex; justify-content: center; overflow: hidden; border-radius: 8px; }
.google-login-status { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: .82rem; }
.google-login-status.is-info { color: #9cdfff; background: rgba(45,164,211,.13); }
.google-login-status.is-success { color: #a6ef99; background: rgba(47,158,47,.14); }
.google-login-status.is-error { color: #ff9b96; background: rgba(223,50,47,.15); }
#fm-google-identity.is-loading { opacity: .75; pointer-events: none; }
.identity-domain-list { margin-top: 22px; padding: 16px; display: grid; gap: 10px; border: 1px solid rgba(151,185,200,.18); border-radius: 14px; background: rgba(255,255,255,.025); }
.identity-domain-list > div { display: grid; grid-template-columns: 11px 1fr auto; gap: 9px; align-items: center; }
.identity-domain-list strong { font-size: .78rem; }
.identity-domain-list small { color: #c4d0d4; }
.domain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--if-green-2); }
.domain-dot.staff { background: var(--if-red); }
.permission-note { margin-top: 18px; }
.permission-note strong { font-size: .85rem; }
.permission-note p { margin: 6px 0 0; color: #aebfc6; font-size: .76rem; line-height: 1.5; }
.local-login-form .form-control { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(151,185,200,.24); }
.contingency-back { display: inline-block; margin-top: 18px; color: var(--if-green-2); font-weight: 800; text-decoration: none; }

/* Installer and settings */
.install-card { padding: 36px; color: var(--dark-text); background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.install-logo { width: 260px; height: 76px; object-fit: contain; }
.install-card .eyebrow { margin-top: 16px; }
.install-card h1 { margin-top: 8px; font-weight: 950; letter-spacing: -.04em; }
.install-card h2 { margin-top: 10px; color: #1b3038; font-weight: 900; }
.install-card .form-control,
.install-card .form-select { color: #13242b; background: #fff; border-color: #cad6d9; }
.settings-body { min-height: 100vh; }
.settings-shell { width: min(100% - 40px, 1450px); margin: 0 auto; padding: 28px 0 60px; }
.settings-hero { margin-bottom: 20px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.settings-wide { grid-column: 1 / -1; }
.settings-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.identity-rules { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.identity-rules div { padding: 13px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255,255,255,.025); }
.identity-rules strong,
.identity-rules span { display: block; }
.identity-rules strong { color: var(--if-green-2); font-size: .82rem; }
.identity-rules span { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.status-green { color: #95ed86 !important; border-color: rgba(69,200,61,.36) !important; background: rgba(47,158,47,.13) !important; }
.status-gray { color: #a6b6bc !important; border-color: rgba(151,185,200,.22) !important; background: rgba(151,185,200,.08) !important; }

/* Application shell */
.app-body { min-height: 100vh; color: var(--text); background: #06131c; }
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  height: 80px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(151,185,200,.16);
  background: rgba(3,13,19,.96);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.brand { min-width: 0; display: flex; align-items: center; gap: 20px; color: #fff; text-decoration: none; }
.brand img { width: 190px; height: 53px; object-fit: contain; }
.brand span { display: grid; min-width: 0; }
.brand strong { font-size: 1.48rem; line-height: 1.05; }
.brand small { margin-top: 4px; color: #9eb0b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 11px; }
.top-portal-link,
.top-icon-link { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; color: #dce6e9; border: 1px solid rgba(151,185,200,.2); border-radius: 10px; background: rgba(255,255,255,.03); text-decoration: none; font-size: .78rem; font-weight: 800; }
.top-portal-link { padding: 0 14px; }
.top-icon-link { width: 40px; font-size: 1.05rem; }
.top-portal-link:hover,
.top-icon-link:hover { color: var(--if-green-3); border-color: rgba(69,200,61,.45); }
.user-chip { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 7px; border: 1px solid rgba(151,185,200,.2); border-radius: 13px; background: rgba(255,255,255,.04); }
.user-chip > img,
.user-avatar-placeholder { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--if-green), #147e63); font-weight: 900; }
.user-chip > span:last-child { display: grid; }
.user-chip strong { font-size: .8rem; }
.user-chip small { color: #9fb0b7; font-size: .62rem; text-transform: uppercase; letter-spacing: .03em; }
.app-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: calc(100vh - 80px); }
.app-sidebar { position: sticky; top: 80px; height: calc(100vh - 80px); padding: 18px 13px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; border-right: 1px solid rgba(151,185,200,.13); background: linear-gradient(180deg, #06151f, #041019); }
.sidebar-heading { padding: 7px 11px 13px; display: grid; border-bottom: 1px solid rgba(151,185,200,.13); }
.sidebar-heading strong { font-size: 1rem; }
.sidebar-heading small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.app-sidebar nav { display: grid; gap: 5px; }
.app-sidebar nav button { width: 100%; min-height: 49px; padding: 8px 10px; display: flex; align-items: center; gap: 12px; color: #dbe6e9; border: 1px solid transparent; border-radius: 11px; background: transparent; text-align: left; font-weight: 790; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.app-sidebar nav button img { width: 29px; height: 29px; object-fit: contain; filter: saturate(.9); }
.app-sidebar nav button:hover { color: #fff; background: rgba(69,200,61,.07); border-color: rgba(69,200,61,.18); }
.app-sidebar nav button.active { color: #fff; background: linear-gradient(90deg, rgba(47,158,47,.24), rgba(47,158,47,.06)); border-color: rgba(69,200,61,.34); box-shadow: inset 3px 0 0 var(--if-green-2); }
.sidebar-foot { margin-top: auto; padding: 14px; display: grid; grid-template-columns: 9px 1fr; column-gap: 8px; border: 1px solid rgba(151,185,200,.13); border-radius: 13px; background: rgba(255,255,255,.025); }
.system-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--if-green-2); box-shadow: 0 0 0 5px rgba(69,200,61,.08); }
.sidebar-foot strong { font-size: .72rem; }
.sidebar-foot small { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: .64rem; }
.app-main { min-width: 0; padding: 20px; background: radial-gradient(circle at 70% 0, rgba(26,92,65,.12), transparent 28%), #07151e; }
.loading-card { padding: 38px; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--muted); background: var(--panel); text-align: center; }

.page-hero { position: relative; min-height: 205px; padding: 30px; display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 20px; overflow: hidden; border: 1px solid rgba(151,185,200,.18); border-radius: 22px; background: linear-gradient(115deg, #0c222d, #071821 65%, #09251b); box-shadow: 0 20px 45px rgba(0,0,0,.15); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(69,200,61,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(69,200,61,.08) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero > div { position: relative; z-index: 1; }
.page-hero h1 { margin: 7px 0 6px; font-size: clamp(2.2rem,3.3vw,4rem); font-weight: 950; letter-spacing: -.055em; }
.page-hero p { max-width: 800px; margin: 0; color: #aec0c7; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-icon { position: relative; z-index: 1; justify-self: end; width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 15px 22px rgba(0,0,0,.25)); }
.kpi-grid { margin: 16px 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.kpi { min-height: 110px; padding: 19px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(151,185,200,.17); border-radius: 17px; background: linear-gradient(145deg, rgba(14,35,45,.98), rgba(8,25,34,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.kpi strong { color: var(--if-green-2); font-size: 2rem; line-height: 1; }
.kpi span { margin-top: 8px; color: #f5f8f9; font-weight: 850; }
.kpi small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.card-pro,
.form-card { padding: 20px; border: 1px solid rgba(151,185,200,.17); border-radius: 18px; background: linear-gradient(150deg, rgba(13,33,43,.98), rgba(8,24,33,.98)); box-shadow: 0 14px 35px rgba(0,0,0,.11); }
.card-pro h2,
.card-pro h3,
.card-pro h4,
.form-card h2,
.form-card h3 { color: #f4f7f8; }
.card-pro p,
.form-card p { color: var(--muted); }
.section-head { margin-bottom: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.section-head h2 { margin: 0; font-size: 1.2rem; font-weight: 900; letter-spacing: -.025em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.section-actions { display: flex; justify-content: flex-end; }

.dashboard-workspace { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 16px; align-items: start; }
.dashboard-side-stack { display: grid; gap: 14px; }
.dashboard-side-card { padding: 18px; border: 1px solid rgba(151,185,200,.16); border-radius: 17px; background: linear-gradient(150deg, rgba(14,35,45,.98), rgba(8,24,33,.98)); }
.side-card-title { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.side-card-title h3 { margin: 0; font-size: .95rem; font-weight: 900; }
.side-card-title p { margin: 3px 0 0; color: var(--muted); font-size: .68rem; }
.side-card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--if-green-3); background: rgba(47,158,47,.13); border: 1px solid rgba(69,200,61,.25); font-size: 1.1rem; }
.side-card-icon.whatsapp { border-radius: 50%; }
.role-summary-list { display: grid; gap: 7px; margin: 16px 0; }
.role-summary-list div { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.025); }
.role-summary-list span { color: #c5d2d7; font-size: .73rem; }
.role-summary-list strong { min-width: 28px; padding: 3px 7px; border-radius: 999px; color: var(--if-green-3); background: rgba(47,158,47,.12); text-align: center; font-size: .72rem; }
.identity-summary { margin-top: 15px; display: grid; gap: 9px; }
.identity-summary div { padding: 11px; border-radius: 11px; background: rgba(255,255,255,.025); }
.identity-summary small,
.identity-summary strong { display: block; }
.identity-summary small { color: var(--muted); font-size: .65rem; }
.identity-summary strong { margin-top: 3px; font-size: .82rem; }
.whatsapp-state { margin: 16px 0; padding: 13px; border-radius: 12px; }
.whatsapp-state.is-active { background: rgba(47,158,47,.11); border: 1px solid rgba(69,200,61,.25); }
.whatsapp-state.is-pending { background: rgba(242,181,29,.08); border: 1px solid rgba(242,181,29,.23); }
.whatsapp-state strong,
.whatsapp-state small { display: block; }
.whatsapp-state strong { font-size: .78rem; }
.whatsapp-state.is-active strong { color: var(--if-green-3); }
.whatsapp-state.is-pending strong { color: #ffd46e; }
.whatsapp-state small { margin-top: 4px; color: var(--muted); font-size: .66rem; line-height: 1.4; }
.dashboard-side-card > a:not(.btn) { display: block; padding: 10px 0; color: #c7d4d8; border-bottom: 1px solid rgba(151,185,200,.1); text-decoration: none; font-size: .75rem; }
.dashboard-side-card > a:not(.btn):hover { color: var(--if-green-3); }
.dashboard-kanban-card { margin-bottom: 16px; }
.dashboard-kanban-grid { display: grid; grid-template-columns: repeat(8,minmax(120px,1fr)); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dashboard-kanban-column { min-width: 120px; min-height: 175px; padding: 9px; border: 1px solid rgba(151,185,200,.13); border-top: 3px solid var(--if-green); border-radius: 11px; background: rgba(3,17,24,.48); }
.dashboard-kanban-column.stage-waiting { border-top-color: var(--if-yellow); }
.dashboard-kanban-column.stage-printing,
.dashboard-kanban-column.stage-preparation { border-top-color: var(--if-red); }
.dashboard-kanban-column header { display: flex; justify-content: space-between; gap: 7px; align-items: center; margin-bottom: 8px; }
.dashboard-kanban-column header strong { font-size: .6rem; }
.dashboard-kanban-column header span { color: var(--if-green-3); font-size: .66rem; font-weight: 900; }
.dashboard-kanban-column button { width: 100%; margin-bottom: 6px; padding: 7px; color: #eaf1f3; border: 1px solid rgba(151,185,200,.12); border-radius: 7px; background: rgba(255,255,255,.035); text-align: left; }
.dashboard-kanban-column button:hover { border-color: rgba(69,200,61,.35); }
.dashboard-kanban-column button strong,
.dashboard-kanban-column button small { display: block; }
.dashboard-kanban-column button strong { font-size: .62rem; }
.dashboard-kanban-column button small { margin-top: 3px; color: var(--muted); font-size: .53rem; }
.dashboard-kanban-column em { display: block; margin-top: 35px; color: #728992; text-align: center; font-size: .62rem; font-style: normal; }
.more-items { color: var(--muted); font-size: .55rem; }
.dashboard-lower-grid { margin-top: 0; }
.compact-printer-grid { grid-template-columns: 1fr !important; max-height: 420px; overflow: auto; }

.form-label { color: #d8e4e7; font-size: .78rem; font-weight: 750; }
.form-control,
.form-select { color: #edf4f5; background-color: rgba(255,255,255,.045); border: 1px solid rgba(151,185,200,.24); border-radius: 10px; }
.form-control:focus,
.form-select:focus { color: #fff; background-color: rgba(255,255,255,.065); border-color: var(--if-green-2); box-shadow: 0 0 0 .2rem rgba(47,158,47,.14); }
.form-control::placeholder { color: #748b94; }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b8c8ce' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); }
.form-select option { color: #13242b; background: #fff; }
.form-text { color: #80959e; font-size: .68rem; }
.form-check-input { background-color: rgba(255,255,255,.05); border-color: rgba(151,185,200,.36); }
.form-check-input:checked { background-color: var(--if-green); border-color: var(--if-green); }
.table { --bs-table-color: #dbe6e9; --bs-table-bg: transparent; --bs-table-border-color: rgba(151,185,200,.12); --bs-table-hover-color: #fff; --bs-table-hover-bg: rgba(69,200,61,.055); margin-bottom: 0; }
.table thead th { color: #93a8b1; font-size: .67rem; text-transform: uppercase; letter-spacing: .055em; border-bottom-width: 1px; }
.table td { font-size: .78rem; }
.table code { color: #98e98e; }

.request-list { display: grid; gap: 8px; }
.request-row { display: grid; grid-template-columns: 125px minmax(200px,1fr) 180px 120px; gap: 12px; align-items: center; padding: 13px; border: 1px solid rgba(151,185,200,.12); border-radius: 12px; background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.request-row:hover { border-color: rgba(69,200,61,.35); background: rgba(69,200,61,.045); }
.request-title { color: #f4f8f9; font-weight: 850; }
.request-meta { color: var(--muted); font-size: .67rem; }
.status-pill,
.priority-pill,
.permission-pill,
.identity-pill,
.integration-badge { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 5px 8px; border: 1px solid rgba(151,185,200,.18); border-radius: 999px; color: #cbd8dc; background: rgba(151,185,200,.08); font-size: .64rem; font-weight: 850; }
.priority-pill { color: #ffd36a; border-color: rgba(242,181,29,.25); background: rgba(242,181,29,.09); }
.status-submitted,
.status-approved,
.status-queued,
.status-delivered { color: #8ee982; border-color: rgba(69,200,61,.25); background: rgba(47,158,47,.11); }
.status-triage { color: #8ed9ff; border-color: rgba(45,164,211,.27); background: rgba(45,164,211,.1); }
.status-awaiting_info { color: #ffd46f; border-color: rgba(242,181,29,.26); background: rgba(242,181,29,.1); }
.status-slicing,
.status-printing,
.status-paused { color: #ff8d87; border-color: rgba(223,50,47,.3); background: rgba(223,50,47,.11); }
.status-post_processing,
.status-quality_check,
.status-completed { color: #b5a7ff; border-color: rgba(140,110,240,.25); background: rgba(140,110,240,.1); }
.status-rejected,
.status-cancelled { color: #ff8d87; border-color: rgba(223,50,47,.3); background: rgba(223,50,47,.11); }

.printer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.printer-card { padding: 15px; border: 1px solid rgba(151,185,200,.15); border-left: 4px solid #718991; border-radius: 13px; background: rgba(255,255,255,.025); }
.printer-card.available { border-left-color: var(--if-green-2); }
.printer-card.printing { border-left-color: var(--if-red); }
.printer-card.maintenance { border-left-color: var(--if-yellow); }
.printer-card h3 { margin: 0; font-size: .86rem; font-weight: 900; }
.printer-card .small { color: #bac8cd; line-height: 1.6; }
.progress { height: 8px; background: rgba(255,255,255,.08); }
.progress-bar { background: linear-gradient(90deg,var(--if-green),var(--if-green-2)); }

.kanban-toolbar { margin: 16px 0 12px; padding: 13px 16px; display: flex; justify-content: space-between; gap: 15px; align-items: center; border: 1px solid rgba(151,185,200,.14); border-radius: 13px; background: rgba(255,255,255,.025); }
.kanban-toolbar strong,
.kanban-toolbar span { display: block; }
.kanban-toolbar strong { font-size: .8rem; }
.kanban-toolbar > div > span { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.integration-badge.is-active { color: #93ed86; border-color: rgba(69,200,61,.27); background: rgba(47,158,47,.11); }
.integration-badge.is-pending { color: #ffd46e; border-color: rgba(242,181,29,.24); background: rgba(242,181,29,.09); }
.kanban-board { display: grid; grid-template-columns: repeat(8,minmax(175px,1fr)); gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.kanban-column { min-width: 175px; height: 610px; padding: 10px; display: flex; flex-direction: column; border: 1px solid rgba(151,185,200,.15); border-top: 4px solid var(--if-green); border-radius: 14px; background: linear-gradient(165deg, rgba(14,35,45,.98), rgba(7,22,30,.98)); transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.kanban-column.stage-waiting { border-top-color: var(--if-yellow); }
.kanban-column.stage-preparation,
.kanban-column.stage-printing { border-top-color: var(--if-red); }
.kanban-column.stage-post { border-top-color: #856adf; }
.kanban-column.stage-finished { border-top-color: #25b872; }
.kanban-column.drag-over { border-color: var(--if-green-2); background: rgba(47,158,47,.09); transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(47,158,47,.09); }
.kanban-column > h3 { margin: 0 1px 10px; display: flex; justify-content: space-between; align-items: center; color: #f5f8f9; font-size: .72rem; font-weight: 900; }
.kanban-column > h3 span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px; color: var(--if-green-3); background: rgba(47,158,47,.12); font-size: .64rem; }
.kanban-cards { min-height: 0; flex: 1; display: grid; align-content: start; gap: 8px; overflow-y: auto; padding-right: 2px; }
.kanban-card { padding: 11px; border: 1px solid rgba(151,185,200,.13); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; user-select: none; box-shadow: 0 5px 14px rgba(0,0,0,.09); }
.kanban-card[draggable="true"] { cursor: grab; }
.kanban-card.dragging { opacity: .45; transform: rotate(1deg) scale(.98); cursor: grabbing; }
.kanban-card:hover { border-color: rgba(69,200,61,.32); background: rgba(69,200,61,.045); }
.kanban-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.kanban-card-top strong { color: #8fe884; font-size: .6rem; }
.kanban-card-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--if-green-2); }
.kanban-card-title { margin: 7px 0 5px; color: #f4f8f9; font-size: .72rem; font-weight: 850; line-height: 1.25; }
.kanban-card > small { display: block; margin-bottom: 8px; color: var(--muted); font-size: .58rem; line-height: 1.4; }
.kanban-empty { display: grid; place-items: center; min-height: 115px; color: #728890; border: 1px dashed rgba(151,185,200,.19); border-radius: 10px; font-size: .7rem; }
.kanban-mobile-move { display: none; margin-top: 9px; color: var(--muted); font-size: .58rem; }
.kanban-mobile-move select { margin-top: 4px; font-size: .65rem; }

.request-layout { grid-template-columns: minmax(0,1.45fr) minmax(330px,.55fr); align-items: start; }
.request-preview-column { position: sticky; top: 100px; }
.stl-preview { height: 480px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(151,185,200,.18); border-radius: 18px; background: radial-gradient(circle at 50% 35%, rgba(47,158,47,.08), transparent 45%), #030b10; }
.preview-empty { max-width: 280px; color: #748b94; text-align: center; }
.preview-info { margin-top: 10px; padding: 12px; color: #9edffd; border: 1px solid rgba(45,164,211,.22); border-radius: 13px; background: rgba(45,164,211,.08); font-size: .75rem; }
.printer-suggestion { margin-top: 10px; padding: 13px; display: grid; gap: 4px; border: 1px solid rgba(69,200,61,.24); border-radius: 13px; background: rgba(47,158,47,.08); }
.printer-suggestion strong { color: var(--if-green-3); }
.printer-suggestion span,
.printer-suggestion small { color: #aebfc6; font-size: .72rem; }
.multipart-check { padding: 13px; display: flex; gap: 10px; border: 1px solid rgba(151,185,200,.2); border-radius: 13px; background: rgba(255,255,255,.025); }
.multipart-check span { display: grid; }
.multipart-check small { color: var(--muted); }
.parts-editor { padding: 14px; border: 1px solid rgba(45,164,211,.23); border-radius: 15px; background: rgba(45,164,211,.065); }
.parts-editor-title { display: grid; margin-bottom: 9px; }
.parts-editor-title small { color: var(--muted); }
.part-row { padding: 10px 0; display: grid; grid-template-columns: 30px minmax(150px,1fr) minmax(180px,1fr) 110px; gap: 9px; align-items: end; border-top: 1px solid rgba(151,185,200,.13); }
.part-row > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--if-green); font-weight: 900; }
.part-row label { display: block; color: var(--muted); font-size: .65rem; font-weight: 800; }

.request-files { display: grid; gap: 8px; }
.request-file { padding: 11px; display: grid; grid-template-columns: 1fr auto; gap: 7px; border: 1px solid rgba(151,185,200,.14); border-radius: 12px; background: rgba(255,255,255,.022); }
.request-file strong,
.request-file small { display: block; }
.request-file .small-muted { grid-column: 1 / -1; }
.timeline { display: grid; gap: 9px; }
.timeline-item { padding: 9px 11px; border-left: 3px solid var(--if-green); border-radius: 0 11px 11px 0; background: rgba(255,255,255,.025); }
.comment { padding: 10px; border: 1px solid rgba(151,185,200,.13); border-radius: 11px; background: rgba(255,255,255,.025); }
.project-roadmap { display: grid; gap: 10px; }
.project-roadmap article { padding: 14px; display: grid; grid-template-columns: 130px 1fr; gap: 12px; border: 1px solid rgba(151,185,200,.14); border-radius: 13px; }

.maintenance-grid { display: grid; grid-template-columns: minmax(330px,.8fr) minmax(0,1.2fr); gap: 16px; }
.maintenance-list { max-height: 760px; overflow: auto; }
.maintenance-ticket { margin-bottom: 9px; padding: 13px; display: grid; grid-template-columns: 1fr auto; gap: 14px; border: 1px solid rgba(151,185,200,.13); border-left: 5px solid #70878f; border-radius: 12px; background: rgba(255,255,255,.025); }
.maintenance-ticket.priority-critica { border-left-color: var(--if-red); }
.maintenance-ticket.priority-alta { border-left-color: #f2783d; }
.maintenance-ticket.priority-normal { border-left-color: #2da4d3; }
.maintenance-ticket.priority-baixa { border-left-color: var(--if-green-2); }
.maintenance-ticket strong,
.maintenance-ticket small { display: block; }
.maintenance-ticket small { color: var(--muted); }
.maintenance-ticket p { margin: .45rem 0 0; }
.maintenance-ticket > div:last-child { display: grid; justify-items: end; gap: 6px; }
.budget-total { padding-top: 13px; display: flex; justify-content: space-between; border-top: 1px solid rgba(151,185,200,.14); }
.budget-total strong { color: var(--if-green-2); font-size: 1.3rem; }
.report-toolbar { margin: -5px 0 15px; display: flex; justify-content: flex-end; }
.report-toolbar label { display: flex; align-items: center; gap: 9px; font-weight: 850; }
.report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.bar-list { display: grid; gap: 10px; }
.bar-list > div { display: grid; grid-template-columns: 150px 1fr 50px; gap: 9px; align-items: center; }
.bar-list > div > div { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.bar-list i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--if-green),var(--if-green-2)); }
.diag-total-list { display: grid; gap: 7px; }
.diag-total-list > div { padding: 8px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(151,185,200,.11); }

.users-layout { grid-template-columns: minmax(330px,.72fr) minmax(0,1.28fr); }
.user-table-name { display: flex; align-items: center; gap: 10px; }
.user-table-name > img,
.user-table-name > span { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.user-table-name > span { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,var(--if-green),#147e63); font-weight: 900; }
.user-table-name strong,
.user-table-name small { display: block; }
.user-table-name small { color: var(--muted); font-size: .65rem; }
.identity-professor { color: #ff9690; border-color: rgba(223,50,47,.27); background: rgba(223,50,47,.1); }
.identity-aluno { color: #8fe985; border-color: rgba(69,200,61,.25); background: rgba(47,158,47,.1); }
.role-admin { color: #9ced91; }
.role-operador { color: #8fdcff; }
.role-bolsista { color: #ffd46e; }
.role-professor { color: #ff9690; }
.role-visualizador { color: #d1c7ff; }

.modal-content { color: var(--text); border: 1px solid rgba(151,185,200,.18); border-radius: 20px; background: #071923; overflow: hidden; }
.modal-header { border-bottom-color: rgba(151,185,200,.13); background: #0b222d; }
.modal-body { background: #071923; }
.btn-close { filter: invert(1) grayscale(1); }
.modal-backdrop.show { opacity: .72; }

@media (max-width: 1500px) {
  .public-topbar-inner { grid-template-columns: minmax(410px,1fr) auto auto; gap: 22px; }
  .public-nav { gap: 20px; }
  .landing-hero-grid { grid-template-columns: minmax(360px,.9fr) minmax(460px,1.15fr) minmax(340px,.82fr); }
  .feature-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .landing-feature-card { min-height: 370px; }
  .whatsapp-feature { grid-column: span 1; }
  .kpi-grid { grid-template-columns: repeat(5,1fr); }
  .kanban-board { grid-template-columns: repeat(8,minmax(165px,1fr)); }
}

@media (max-width: 1250px) {
  .institution-brand .brand-separator,
  .institution-brand .module-name { display: none; }
  .public-topbar-inner { grid-template-columns: minmax(330px,1fr) auto auto; }
  .landing-hero-grid { grid-template-columns: 1fr 1fr; }
  .landing-copy { padding-right: 20px; }
  .hero-printer-stage { grid-row: 1; grid-column: 2; }
  .institution-access-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .75fr .75fr; gap: 14px 24px; align-items: center; }
  .institution-access-card .access-title { grid-row: span 2; }
  .institution-access-card hr { display: none; }
  .access-permissions { grid-column: 2 / 4; }
  .access-button { grid-column: 2 / 4; }
  .access-privacy { display: none; }
  .production-journey { grid-template-columns: 1fr; }
  .journey-intro { display: flex; align-items: baseline; gap: 15px; }
  .security-grid { grid-template-columns: repeat(2,1fr); }
  .app-layout { grid-template-columns: 92px minmax(0,1fr); }
  .app-sidebar nav button { justify-content: center; }
  .app-sidebar nav button span,
  .sidebar-heading small,
  .sidebar-heading strong,
  .sidebar-foot strong,
  .sidebar-foot small { display: none; }
  .sidebar-foot { grid-template-columns: 1fr; justify-items: center; }
  .system-dot { margin: 0; }
  .dashboard-workspace { grid-template-columns: 1fr; }
  .dashboard-side-stack { grid-template-columns: repeat(3,1fr); }
  .kpi-grid { grid-template-columns: repeat(3,1fr); }
  .grid-2,
  .maintenance-grid,
  .users-layout { grid-template-columns: 1fr; }
  .request-layout { grid-template-columns: 1fr; }
  .request-preview-column { position: static; }
  .report-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .public-topbar { height: 70px; }
  .public-topbar-inner { width: min(100% - 24px, 920px); grid-template-columns: 1fr auto auto; gap: 12px; }
  .institution-brand img { width: 150px; }
  .ecosystem-name,
  .brand-divider { display: none; }
  .public-menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 1px solid #d8e1e3; border-radius: 9px; background: #fff; }
  .public-menu-toggle span:not(.visually-hidden) { width: 20px; height: 2px; background: #183039; }
  .public-nav { position: absolute; top: 70px; left: 12px; right: 12px; display: none; padding: 12px; border: 1px solid #dbe4e6; border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }
  .public-nav.is-open { display: grid; }
  .public-nav a { padding: 11px 12px; border-radius: 8px; }
  .public-nav a::after { display: none; }
  .public-nav a.active { background: #edf7ed; }
  .institution-login-button span { display: none; }
  .institution-login-button { width: 44px; padding: 0; }
  .landing-hero-grid { width: min(100% - 32px, 920px); grid-template-columns: 1fr; }
  .hero-printer-stage { grid-row: auto; grid-column: auto; min-height: 320px; }
  .landing-copy { padding-right: 0; }
  .landing-copy h1 { font-size: 4.7rem; }
  .institution-access-card { grid-column: auto; display: block; }
  .institution-access-card .access-title { display: flex; }
  .institution-access-card hr { display: block; }
  .access-permissions { display: grid; }
  .access-button { display: flex; }
  .production-journey { width: min(100% - 32px,920px); }
  .feature-card-grid { grid-template-columns: repeat(2,1fr); }
  .public-support-section { grid-template-columns: 1fr; }
  .institutional-trust-band { grid-template-columns: 1fr; }
  .institutional-trust-band article + article { border-left: 0; border-top: 1px solid #e1e7e8; }
  .login-shell-institutional { grid-template-columns: 1fr; gap: 25px; }
  .login-presentation h1 { font-size: 4rem; }
  .dashboard-side-stack { grid-template-columns: 1fr; }
  .request-row { grid-template-columns: 110px 1fr 150px; }
  .request-row > div:last-child { grid-column: 2 / 4; }
  .printer-grid { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr 120px; }
  .hero-icon { width: 95px; height: 95px; }
}

@media (max-width: 720px) {
  .landing-hero { padding-top: 12px; }
  .landing-copy h1 { font-size: 3.65rem; }
  .landing-copy h2 { font-size: 1.45rem; }
  .landing-pillars { grid-template-columns: 1fr; gap: 10px; }
  .hero-printer-stage { min-height: 250px; }
  .institution-access-card { padding: 22px; }
  .journey-intro { display: block; }
  .feature-card-grid,
  .security-grid { grid-template-columns: 1fr; }
  .landing-feature-card { min-height: 350px; }
  .public-support-section { padding: 55px 22px; }
  .public-footer-new { display: grid; }
  .public-footer-new div { flex-wrap: wrap; }
  .login-topbar { height: auto; min-height: 70px; padding: 10px 16px; }
  .login-brand img { width: 125px; }
  .login-brand small { display: none; }
  .login-shell-institutional { width: min(100% - 28px, 680px); padding: 30px 0; }
  .login-presentation h1 { font-size: 3rem; }
  .login-feature-grid { grid-template-columns: 1fr; }
  .institutional-login-card { padding: 22px; }
  .app-topbar { height: auto; min-height: 70px; padding: 9px 11px; }
  .brand img { width: 116px; }
  .brand small { display: none; }
  .user-chip { display: none; }
  .app-layout { display: block; }
  .app-sidebar { position: sticky; top: 70px; z-index: 1000; width: 100%; height: auto; padding: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(151,185,200,.14); }
  .app-sidebar nav { display: flex; min-width: max-content; }
  .app-sidebar nav button { width: 58px; min-height: 50px; padding: 7px; }
  .app-sidebar nav button img { width: 27px; height: 27px; }
  .sidebar-heading,
  .sidebar-foot { display: none; }
  .app-main { padding: 11px; }
  .page-hero { min-height: 0; padding: 20px; grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.4rem; }
  .hero-icon { display: none; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .kpi { min-height: 95px; padding: 15px; }
  .kpi strong { font-size: 1.7rem; }
  .dashboard-kanban-grid { grid-template-columns: repeat(8,150px); }
  .dashboard-lower-grid { grid-template-columns: 1fr; }
  .request-row { grid-template-columns: 1fr; }
  .request-row > div:last-child { grid-column: auto; }
  .kanban-toolbar { display: grid; }
  .kanban-board { grid-template-columns: repeat(8,240px); }
  .kanban-column { height: 520px; }
  .kanban-mobile-move { display: block; }
  .stl-preview { height: 330px; }
  .part-row { grid-template-columns: 30px 1fr; }
  .part-row > div:nth-child(3),
  .part-row > div:nth-child(4) { grid-column: 2; }
  .maintenance-ticket { grid-template-columns: 1fr; }
  .maintenance-ticket > div:last-child { justify-items: start; }
  .bar-list > div { grid-template-columns: 100px 1fr 40px; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-wide,
  .settings-actions { grid-column: 1; }
  .identity-rules { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .kanban-mobile-move { display: block; }
  .kanban-card[draggable="true"] { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================
   FilaMaker 3D v1.2.1 — refinamento do portal público
   ========================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}
.nav-section {
  scroll-margin-top: 94px;
}
.public-home {
  min-width: 320px;
}
.institution-brand {
  gap: 16px;
}
.if-logo-link,
.ecosystem-name,
.module-name {
  color: inherit;
  text-decoration: none;
}
.if-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.if-logo-link:hover img { opacity: .88; }
.ecosystem-name:hover strong,
.module-name:hover { color: #1f7f25; }
.module-name { font-weight: 900; }

.landing-hero {
  padding: 24px 0 12px;
}
.landing-hero-grid {
  width: min(100% - 56px, 1660px);
  min-height: 410px;
  grid-template-columns: 460px minmax(0, 1fr) 390px;
  gap: 20px;
}
.landing-copy {
  min-width: 0;
  padding: 12px 0;
}
.landing-copy h1 {
  margin-top: 18px;
  font-size: clamp(3.85rem, 4.15vw, 4.55rem);
  letter-spacing: -.065em;
  white-space: nowrap;
}
.landing-copy h2 {
  max-width: 445px;
  margin-top: 14px;
  font-size: clamp(1.35rem, 1.65vw, 1.82rem);
}
.landing-copy > p { max-width: 455px; }
.landing-pillars { margin-top: 22px; gap: 14px; }
.hero-printer-stage {
  min-width: 0;
  min-height: 405px;
  overflow: hidden;
}
.hero-printer-stage picture {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
}
.hero-printer-stage img {
  display: block;
  width: min(100%, 670px);
  height: auto;
  max-width: 100%;
  border-radius: 18px;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.04);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.institution-access-card {
  width: 100%;
  max-width: 410px;
  justify-self: end;
}
.production-journey {
  width: min(100% - 56px, 1660px);
  margin-top: 10px;
}

/* Recursos — corresponde ao bloco de cinco cartões da arte aprovada. */
.landing-features {
  padding: 20px 28px 42px;
  background: linear-gradient(#fff, #f7f9f8);
}
.feature-card-grid {
  width: min(100%, 1600px);
  gap: 16px;
}
.landing-feature-card {
  min-height: 350px;
  padding: 18px;
}
.feature-image-box {
  min-height: 118px;
  margin: 16px 0 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e9ea;
  border-radius: 14px;
  background: #f8faf9;
}
.feature-image-box picture,
.feature-image-box img {
  display: block;
  width: 100%;
}
.feature-image-box img {
  height: 116px;
  object-fit: cover;
  object-position: center;
}
.feature-image-box.whatsapp-image img { object-position: center 65%; }
.compact-fleet {
  margin: 3px 0 12px;
  gap: 5px;
}
.compact-fleet > div {
  padding: 5px 7px;
  grid-template-columns: 30px 1fr auto;
}
.compact-fleet .mini-printer-shape {
  width: 26px;
  height: 23px;
  border-width: 4px;
  border-bottom-width: 5px;
}
.feature-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 2px 18px;
  color: #5c6e75;
  font-size: .68rem;
}
.feature-stat-line .status-ok { color: #278b2b; font-weight: 750; }
.feature-stat-line strong { color: var(--if-red); white-space: nowrap; }
.compact-kanban {
  min-height: 105px;
  margin: 2px 0 14px;
  padding: 8px;
  gap: 6px;
}
.compact-kanban div { min-height: 39px; padding: 6px; }
.implementation-badge {
  align-self: flex-start;
  margin: 2px 0 14px;
  padding: 5px 9px;
  border: 1px solid #d7e5d7;
  border-radius: 999px;
  color: #237b27;
  background: #eef8ee;
  font-size: .66rem;
  font-weight: 850;
}

/* Como funciona — seção própria; não compartilha âncora com Recursos. */
.public-how-section {
  padding: 72px 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(47,158,47,.08), transparent 35%),
    #f4f7f5;
  border-top: 1px solid #e6ece8;
  border-bottom: 1px solid #e2e9e4;
}
.section-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
}
.centered-heading {
  width: min(100%, 940px);
  margin: 0 auto 34px;
  text-align: center;
}
.centered-heading p {
  max-width: 860px;
  margin-inline: auto;
}
.how-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.how-flow-grid article {
  position: relative;
  min-height: 215px;
  padding: 22px 18px 18px;
  border: 1px solid #dce7df;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18,52,36,.06);
}
.how-flow-grid article > span {
  position: absolute;
  top: 13px;
  right: 13px;
  color: #9ab09e;
  font-size: .69rem;
  font-weight: 900;
}
.how-flow-grid svg {
  width: 34px;
  height: 34px;
  color: var(--if-green);
}
.how-flow-grid h3 {
  margin: 18px 0 8px;
  font-size: .95rem;
  font-weight: 900;
}
.how-flow-grid p {
  margin: 0;
  color: #60737a;
  font-size: .76rem;
  line-height: 1.52;
}
.how-callout {
  margin-top: 20px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid #cfe6d1;
  border-radius: 15px;
  background: #eff9f0;
}
.how-callout svg { width: 34px; height: 34px; color: #249b2b; }
.how-callout strong { color: #1f7c25; }
.how-callout p { margin: 3px 0 0; color: #536a5a; font-size: .8rem; }

.public-security-section,
.public-support-section { scroll-margin-top: 94px; }

/* Login institucional: nenhuma alternativa de senha local é exibida. */
.login-topbar .login-brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.login-if-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.login-if-link img {
  width: 180px;
  height: 50px;
  object-fit: contain;
}
.login-module-link {
  display: grid;
  color: #fff;
  text-decoration: none;
}
.login-module-link strong { font-size: 1.5rem; }
.login-module-link small { color: #a9bbc2; }
.google-login-only-note {
  margin-top: 14px;
  color: #aebec4;
  font-size: .76rem;
}

@media (max-width: 1500px) {
  .landing-hero-grid {
    width: min(100% - 44px, 1430px);
    grid-template-columns: 420px minmax(0, 1fr) 350px;
  }
  .landing-copy h1 { font-size: clamp(3.55rem, 4vw, 4.1rem); }
  .institution-access-card { padding: 22px; }
  .production-journey { width: min(100% - 44px, 1430px); }
  .feature-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .landing-feature-card { min-height: 350px; }
  .how-flow-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1280px) {
  .landing-hero-grid {
    grid-template-columns: minmax(380px, .9fr) minmax(500px, 1.1fr);
  }
  .landing-copy h1 { font-size: 3.8rem; }
  .institution-access-card {
    grid-column: 1 / -1;
    max-width: none;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1.15fr .75fr .75fr;
    gap: 14px 24px;
    align-items: center;
  }
  .institution-access-card .access-title { grid-row: span 2; }
  .institution-access-card hr { display: none; }
  .access-permissions { grid-column: 2 / 4; }
  .access-button { grid-column: 2 / 4; }
  .access-privacy { display: none; }
  .feature-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 82px; }
  .nav-section { scroll-margin-top: 82px; }
  .landing-hero-grid {
    width: min(100% - 32px, 920px);
    grid-template-columns: 1fr;
  }
  .landing-copy h1 { font-size: clamp(3.6rem, 10vw, 4.7rem); white-space: normal; }
  .hero-printer-stage { grid-column: auto; grid-row: auto; min-height: 310px; }
  .hero-printer-stage img { width: min(100%, 680px); }
  .institution-access-card { grid-column: auto; display: block; max-width: none; }
  .institution-access-card .access-title { display: flex; }
  .institution-access-card hr { display: block; }
  .access-permissions { display: grid; }
  .access-button { display: flex; }
  .production-journey { width: min(100% - 32px, 920px); }
  .feature-card-grid { grid-template-columns: repeat(2, 1fr); }
  .how-flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .landing-copy h1 { font-size: 3.45rem; }
  .landing-features { padding-inline: 16px; }
  .feature-card-grid,
  .how-flow-grid { grid-template-columns: 1fr; }
  .public-how-section { padding: 54px 18px; }
  .centered-heading { text-align: left; }
  .how-flow-grid article { min-height: 0; }
  .login-if-link img { width: 125px; }
  .login-module-link small { display: none; }
}


/* v1.2.3 — configuração Google compartilhada entre módulos */
.google-shared-config-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(66, 180, 74, .28);
  border-radius: 10px;
  color: #9fe3a2;
  background: rgba(47, 158, 47, .08);
  font-size: .74rem;
  line-height: 1.45;
}


/* v1.2.5 — modo de demonstração do perfil Aluno */
.demo-mode-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .68rem;border:1px solid rgba(250,204,21,.5);border-radius:999px;background:rgba(250,204,21,.12);color:#fde68a;font-size:.72rem;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.demo-return-btn{font-weight:800;white-space:nowrap}
.sidebar-demo-note{margin:1rem .75rem;padding:.85rem;border:1px solid rgba(250,204,21,.28);border-radius:14px;background:rgba(250,204,21,.08);color:#fef3c7}
.sidebar-demo-note strong,.sidebar-demo-note small{display:block}.sidebar-demo-note small{margin-top:.3rem;color:#fde68a;line-height:1.35}
.demo-student-card{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;border-color:rgba(34,197,94,.35);background:linear-gradient(135deg,rgba(34,197,94,.08),rgba(255,255,255,.98))}
.demo-student-card h2{margin:.2rem 0 .45rem}.demo-student-card p{max-width:850px;margin:0;color:#536274}
.demo-account-meta{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.demo-account-meta span{display:flex;flex-direction:column;min-width:145px;padding:.6rem .8rem;border:1px solid #dce6df;border-radius:12px;background:#fff;font-size:.82rem}.demo-account-meta strong{font-size:.7rem;color:#6b7b73;text-transform:uppercase;letter-spacing:.04em}
.demo-user-row{background:rgba(34,197,94,.04)}.demo-inline-badge{display:inline-block;margin-left:.35rem;padding:.12rem .35rem;border-radius:999px;background:#dcfce7;color:#15803d;font-style:normal;font-size:.62rem;letter-spacing:.06em;vertical-align:middle}
@media(max-width:980px){.demo-student-card{align-items:stretch;flex-direction:column}.demo-student-card .btn{width:100%}.demo-mode-badge{display:none}.demo-return-btn{font-size:.75rem}}

/* v1.2.6 — Administrador Master, RBAC por perfil e sessão segura */
.master-summary-chip{display:flex;align-items:center;justify-content:space-between;margin:14px 0 7px;padding:9px 10px;border:1px solid rgba(69,200,61,.28);border-radius:10px;background:rgba(47,158,47,.1);color:#dff8df;font-size:.73rem}.master-summary-chip strong{min-width:28px;padding:3px 7px;border-radius:999px;background:rgba(69,200,61,.16);color:var(--if-green-3);text-align:center}
.master-user-row{background:rgba(69,200,61,.045)}.master-inline-badge{display:inline-block;margin-left:.35rem;padding:.14rem .38rem;border:1px solid rgba(69,200,61,.35);border-radius:999px;background:rgba(47,158,47,.14);color:#86eb7e;font-style:normal;font-size:.6rem;letter-spacing:.08em;vertical-align:middle}.protected-account-label{display:inline-flex;padding:.3rem .55rem;border:1px solid rgba(69,200,61,.25);border-radius:999px;color:#91e88c;background:rgba(47,158,47,.08);font-size:.68rem;font-weight:800}
.master-protection-card{margin-bottom:16px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid rgba(69,200,61,.32);border-radius:18px;background:linear-gradient(135deg,rgba(47,158,47,.12),rgba(8,26,34,.98));box-shadow:0 14px 35px rgba(0,0,0,.12)}.master-protection-card>div{display:flex;align-items:center;gap:14px}.master-protection-card strong{display:block;color:#f5f9f5;font-size:1rem}.master-protection-card p{max-width:850px;margin:.28rem 0 0;color:#a9bec4;font-size:.75rem;line-height:1.5}.master-lock-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 auto;border:1px solid rgba(69,200,61,.35);border-radius:13px;background:rgba(47,158,47,.13);color:#8ff286;font-size:1.35rem}.master-status{padding:.42rem .7rem;border-radius:999px;background:rgba(47,158,47,.16);color:#91ef88;font-size:.65rem;font-weight:900;letter-spacing:.1em}
.access-manager{overflow:hidden}.access-profile-tabs{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:9px;margin-bottom:18px}.access-profile-tabs button{min-height:88px;padding:12px;border:1px solid rgba(151,185,200,.16);border-radius:13px;background:rgba(255,255,255,.025);color:#dce7ea;text-align:left;transition:.18s ease}.access-profile-tabs button:hover{border-color:rgba(69,200,61,.35);background:rgba(47,158,47,.06)}.access-profile-tabs button.active{border-color:rgba(69,200,61,.52);background:linear-gradient(145deg,rgba(47,158,47,.18),rgba(47,158,47,.06));box-shadow:inset 0 0 0 1px rgba(69,200,61,.12)}.access-profile-tabs strong,.access-profile-tabs small{display:block}.access-profile-tabs strong{font-size:.82rem}.access-profile-tabs small{margin-top:5px;color:#91a6ae;font-size:.62rem;line-height:1.35}
.access-profile-form{display:grid;gap:15px}.access-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid rgba(151,185,200,.12)}.access-editor-head h3{margin:.2rem 0 .25rem;color:#f5f8f9;font-size:1.35rem}.access-editor-head p{margin:0;color:#9fb2b9;font-size:.75rem}.access-legend{display:flex;gap:7px;flex-wrap:wrap}.access-legend span{padding:.35rem .58rem;border-radius:999px;font-size:.62rem;font-weight:850}.level-none{color:#a7b4ba;background:rgba(151,185,200,.08)}.level-view{color:#8fdcff;background:rgba(45,164,211,.11)}.level-edit{color:#8deb83;background:rgba(47,158,47,.12)}
.access-matrix{overflow:hidden;border:1px solid rgba(151,185,200,.15);border-radius:15px}.access-matrix-head,.access-matrix-row{display:grid;grid-template-columns:minmax(300px,1fr) 125px 125px 125px;align-items:stretch}.access-matrix-head{background:rgba(255,255,255,.045);color:#9fb2b9;font-size:.65rem;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.access-matrix-head>span{padding:11px 12px;text-align:center}.access-matrix-head>span:first-child{text-align:left}.access-matrix-row{border-top:1px solid rgba(151,185,200,.11)}.access-matrix-row:hover{background:rgba(255,255,255,.018)}.access-resource-info{padding:13px 14px}.access-resource-info strong,.access-resource-info small{display:block}.access-resource-info strong{color:#eef5f6;font-size:.8rem}.access-resource-info small{margin-top:4px;color:#8fa4ac;font-size:.64rem;line-height:1.35}.access-choice{position:relative;display:grid;place-items:center;padding:10px;border-left:1px solid rgba(151,185,200,.09);cursor:pointer}.access-choice input{position:absolute;opacity:0;pointer-events:none}.access-choice span{min-width:86px;padding:.42rem .55rem;border:1px solid rgba(151,185,200,.18);border-radius:10px;color:#a8b7bd;background:rgba(255,255,255,.025);font-size:.65rem;font-weight:850;text-align:center;transition:.15s ease}.access-choice input[value="view"]:checked+span{color:#a6e7ff;border-color:rgba(45,164,211,.45);background:rgba(45,164,211,.12);box-shadow:0 0 0 2px rgba(45,164,211,.06)}.access-choice input[value="edit"]:checked+span{color:#a0f497;border-color:rgba(69,200,61,.48);background:rgba(47,158,47,.13);box-shadow:0 0 0 2px rgba(47,158,47,.06)}.access-choice input[value="none"]:checked+span{color:#d0d8db;border-color:rgba(151,185,200,.32);background:rgba(151,185,200,.08)}.access-choice.is-disabled{cursor:not-allowed;opacity:.35}.access-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.maintenance-view-only{grid-template-columns:1fr}
.logout-transition-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 20%,rgba(47,158,47,.15),transparent 38%),#06151d}.logout-transition-card{width:min(92vw,520px);padding:34px;border:1px solid rgba(151,185,200,.18);border-radius:20px;background:#0b222d;color:#edf6f7;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.28)}.logout-transition-card .security-mark{margin:0 auto 14px}.logout-transition-card h1{font-weight:900}.logout-transition-card p{margin:8px 0 0;color:#a8bbc2}
.session-switch-btn{align-items:center;justify-content:center}
@media(max-width:1200px){.access-profile-tabs{grid-template-columns:repeat(3,1fr)}.access-matrix-head,.access-matrix-row{grid-template-columns:minmax(260px,1fr) 110px 110px 110px}}
@media(max-width:820px){.master-protection-card,.access-editor-head{align-items:stretch;flex-direction:column}.access-profile-tabs{grid-template-columns:1fr 1fr}.access-matrix{overflow-x:auto}.access-matrix-head,.access-matrix-row{min-width:690px}.access-actions .btn{flex:1 1 220px}}
@media(max-width:560px){.access-profile-tabs{grid-template-columns:1fr}.master-protection-card>div{align-items:flex-start}.master-status{align-self:flex-start}}

/* v1.2.7 — login Google genérico + acesso alternativo vinculado */
.user-chip { color: #fff; text-decoration: none; }
.user-chip:hover { color: #fff; border-color: rgba(69,200,61,.42); background: rgba(69,200,61,.07); }
.login-method-card { margin-top: 18px; padding: 16px; border: 1px solid rgba(151,185,200,.18); border-radius: 14px; background: rgba(255,255,255,.025); }
.login-method-title { display: grid; gap: 2px; margin-bottom: 12px; }
.login-method-title strong { color: #f5f8f9; font-size: .93rem; }
.login-method-title small { color: #9fb2ba; font-size: .72rem; }
.google-button-host { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.google-button-host > div { margin-inline: auto !important; }
.login-or-divider { position: relative; margin: 20px 0; text-align: center; color: #97aab2; font-size: .8rem; }
.login-or-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(151,185,200,.2); }
.login-or-divider span { position: relative; z-index: 1; padding: 0 12px; background: #0b222d; }
.linked-login-form { margin-top: 0; }
.linked-login-form .form-label { color: #dce7ea; font-size: .78rem; font-weight: 800; }
.linked-login-form .form-control { min-height: 48px; color: #f6f9fa; background: rgba(255,255,255,.055); border-color: rgba(151,185,200,.25); }
.linked-login-form .form-control:focus { border-color: rgba(69,200,61,.65); box-shadow: 0 0 0 .2rem rgba(47,158,47,.12); }
.password-field-wrap { position: relative; }
.password-field-wrap .form-control { padding-right: 50px; }
.password-visibility-toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 9px; color: #bdd0d7; background: transparent; }
.password-visibility-toggle:hover { color: #fff; background: rgba(255,255,255,.06); }
.linked-login-security-note { margin: 13px 0 0 !important; color: #9fb2ba !important; font-size: .7rem !important; line-height: 1.5 !important; }
.linked-login-security-note strong { color: #ffd474; }
.account-shell { max-width: 1180px; }
.account-hero { grid-template-columns: 1fr 110px; }
.account-avatar { position: relative; z-index: 1; width: 92px; height: 92px; justify-self: end; object-fit: cover; border: 3px solid rgba(69,200,61,.35); border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.account-identity-list { display: grid; gap: 9px; }
.account-identity-list div { padding: 11px 12px; display: grid; grid-template-columns: 150px 1fr; gap: 12px; border: 1px solid rgba(151,185,200,.13); border-radius: 11px; background: rgba(255,255,255,.025); }
.account-identity-list span { color: var(--muted); font-size: .72rem; }
.account-identity-list strong { color: #eef5f6; font-size: .78rem; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .login-method-card { padding: 13px; }
  .account-hero { grid-template-columns: 1fr; }
  .account-avatar { display: none; }
  .account-identity-list div { grid-template-columns: 1fr; gap: 3px; }
}


/* v1.2.8 — Google Only + cartão demo com contraste corrigido */
.google-only-login-note{
  margin:18px 0 4px;padding:13px 15px;border:1px solid rgba(69,200,61,.28);
  border-radius:12px;background:rgba(34,197,94,.07);color:#b9ccd3;font-size:.76rem;line-height:1.55
}
.google-only-login-note strong{color:#9df394}
.demo-student-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.5rem;
  margin-bottom:1rem;border-color:rgba(69,200,61,.3)!important;
  background:linear-gradient(135deg,#0b2530 0%,#0c1f29 58%,#0b2a20 100%)!important;
  color:#eef5f6!important;box-shadow:0 18px 38px rgba(0,0,0,.2)
}
.demo-student-card .eyebrow{color:#69df63!important}
.demo-student-card h2{color:#fff!important}
.demo-student-card .demo-description{max-width:900px;margin:0;color:#b9c9cf!important}
.demo-student-main{min-width:0}
.demo-account-meta{display:grid!important;grid-template-columns:repeat(5,minmax(130px,1fr));gap:.65rem!important;margin-top:1rem}
.demo-account-meta span{
  min-width:0!important;padding:.72rem .82rem!important;border:1px solid rgba(151,185,200,.16)!important;
  border-radius:12px!important;background:rgba(255,255,255,.035)!important;color:#f3f8f9!important;font-size:.8rem!important
}
.demo-account-meta strong{margin-bottom:.2rem;color:#86d983!important;font-size:.66rem!important}
.demo-menu-summary{
  display:flex;flex-direction:column;gap:.18rem;margin-top:.85rem;padding:.72rem .82rem;
  border:1px solid rgba(69,200,61,.2);border-radius:12px;background:rgba(34,197,94,.055)
}
.demo-menu-summary strong{color:#8ee987;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}
.demo-menu-summary span{color:#d8e5e8;font-size:.76rem;line-height:1.45}
.demo-student-action{display:flex;flex-direction:column;align-items:stretch;gap:.55rem;min-width:190px}
.demo-student-action small{max-width:210px;color:#9fb0b8;text-align:center;font-size:.68rem;line-height:1.4}
.demo-student-action .btn{white-space:nowrap}
.account-security-summary{display:grid;gap:.65rem}
.account-security-summary>div{
  display:grid;grid-template-columns:120px 1fr;gap:.8rem;padding:.82rem .9rem;
  border:1px solid rgba(151,185,200,.14);border-radius:11px;background:rgba(255,255,255,.025)
}
.account-security-summary strong{color:#89e382;font-size:.75rem}
.account-security-summary span{color:#d9e5e8;font-size:.76rem;line-height:1.45}
@media(max-width:1180px){
  .demo-account-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .demo-student-card{grid-template-columns:1fr}
  .demo-account-meta{grid-template-columns:1fr}
  .demo-student-action{min-width:0}
  .account-security-summary>div{grid-template-columns:1fr;gap:.25rem}
}


/* v1.2.10 — ações empilhadas e tabela de usuários sem rolagem horizontal desnecessária */
.users-table{width:100%;min-width:0}
.users-table th,.users-table td{white-space:normal;overflow-wrap:anywhere}
.users-table th:last-child,.users-table td:last-child{width:96px}
.users-table td:last-child{text-align:right;vertical-align:middle}
.user-table-name>div{min-width:0}
.user-table-name small{overflow-wrap:anywhere;word-break:break-word}
.user-row-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:.42rem;width:92px;max-width:100%;margin-left:auto}
.user-row-actions .btn{width:100%;min-width:76px;white-space:nowrap}
.demo-user-row .demo-inline-badge{margin-left:.35rem}
@media (max-width:760px){.users-table th:last-child,.users-table td:last-child{width:90px}.users-table td:last-child{text-align:left}.user-row-actions{width:86px;margin-left:0}}


/* v1.2.11 — feedback visual inequívoco para permissões sem acesso */
.access-choice input[value="none"]:checked+span{color:#ffaaaa;border-color:rgba(239,68,68,.66);background:rgba(239,68,68,.16);box-shadow:0 0 0 2px rgba(239,68,68,.08),inset 0 0 0 1px rgba(239,68,68,.08)}
.access-legend .level-none{color:#ffaaaa;border:1px solid rgba(239,68,68,.28);background:rgba(239,68,68,.12)}

/* v1.5.0 — comunicação institucional, perfil e reinício não destrutivo de indicadores */
.sidebar-external-link{display:flex;align-items:center;gap:.75rem;margin:.2rem .35rem;padding:.72rem .8rem;border:1px solid rgba(151,185,200,.12);border-radius:12px;color:#e7f0f2;text-decoration:none;font-weight:850;font-size:.82rem;background:rgba(255,255,255,.018);transition:.16s ease}.sidebar-external-link:hover{color:#fff;border-color:rgba(69,200,61,.34);background:rgba(47,158,47,.08)}.sidebar-external-link img{width:27px;height:27px;object-fit:contain}.sidebar-external-link.master-only-link{border-color:rgba(69,200,61,.22);background:linear-gradient(90deg,rgba(47,158,47,.08),rgba(47,158,47,.02))}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:1rem;align-items:start}.profile-card{min-width:0}.profile-help{position:sticky;top:96px}.profile-help h2{font-size:1.15rem;font-weight:900}.profile-help ul{display:grid;gap:.65rem;padding-left:1.2rem;color:#b9cbd1;font-size:.78rem}.profile-card input:disabled{color:#99aab1!important;background:rgba(255,255,255,.025)!important;border-style:dashed}.notification-preferences{display:grid;gap:.72rem;padding:1rem;border:1px solid rgba(69,200,61,.2);border-radius:15px;background:linear-gradient(135deg,rgba(47,158,47,.075),rgba(10,36,46,.35))}.notification-preferences h3{margin:0;color:#f4f8f9;font-size:1rem;font-weight:900}.notification-preferences>p{margin:0;color:#9fb1b8;font-size:.72rem}.notification-consent{display:flex!important;align-items:flex-start;gap:.7rem;margin:0;padding:.8rem;border:1px solid rgba(151,185,200,.15);border-radius:12px;background:rgba(255,255,255,.025);cursor:pointer}.notification-consent .form-check-input{flex:0 0 auto;margin:.12rem 0 0}.notification-consent span{display:grid;gap:.15rem}.notification-consent strong{color:#eef5f6;font-size:.78rem}.notification-consent small{color:#9fb1b8;font-size:.67rem;line-height:1.45}.notification-consent.is-disabled{opacity:.45;cursor:not-allowed}.notification-request-consents{display:grid;align-content:center;padding:.65rem .8rem;border:1px solid rgba(69,200,61,.13);border-radius:12px;background:rgba(47,158,47,.035)}.notification-request-consents .form-check-label{color:#cbd9dd;font-size:.7rem;line-height:1.4}
.notification-center-card{margin-top:1rem;border-color:rgba(69,200,61,.26)!important;background:linear-gradient(145deg,rgba(12,40,49,.96),rgba(7,31,40,.98))!important}.notification-center-card .section-head{margin-bottom:.75rem}.notification-recipient{display:grid;gap:.42rem;margin:.65rem 0 .8rem;padding:.72rem;border:1px solid rgba(151,185,200,.13);border-radius:11px;background:rgba(255,255,255,.025)}.notification-recipient>div{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:.55rem;align-items:center}.notification-recipient span{color:#91a7af;font-size:.67rem}.notification-recipient strong{min-width:0;color:#e9f2f4;font-size:.72rem;overflow-wrap:anywhere}.consent-badge{padding:.22rem .42rem;border-radius:999px;font-size:.58rem;font-weight:900;white-space:nowrap}.consent-badge.is-on{color:#9ef195;background:rgba(47,158,47,.14);border:1px solid rgba(69,200,61,.26)}.consent-badge.is-off{color:#ffb3b3;background:rgba(239,68,68,.11);border:1px solid rgba(239,68,68,.2)}.notify-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-bottom:.7rem}.notify-channel{display:flex!important;align-items:flex-start;gap:.55rem;padding:.68rem;border:1px solid rgba(151,185,200,.14);border-radius:11px;background:rgba(255,255,255,.025);cursor:pointer}.notify-channel input{margin-top:.12rem}.notify-channel span{display:grid;gap:.1rem}.notify-channel strong{color:#eaf2f4;font-size:.73rem}.notify-channel small{color:#91a6ae;font-size:.62rem}.notify-channel.is-disabled{opacity:.4;cursor:not-allowed}.notification-log{display:grid;gap:.45rem;margin-top:.9rem}.notification-log>strong{color:#dce8eb;font-size:.72rem}.notification-log-row{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:.55rem;align-items:center;padding:.55rem .6rem;border:1px solid rgba(151,185,200,.1);border-radius:9px;background:rgba(255,255,255,.018)}.notification-log-row small{color:#8fa3ab;font-size:.6rem;overflow-wrap:anywhere}.notification-log-row>span:last-child{color:#b8c8cd;font-size:.62rem;text-align:right}.channel-badge{padding:.22rem .38rem;border-radius:999px;font-size:.56rem;font-weight:900;text-align:center}.channel-badge.email{color:#b8e9ff;background:rgba(45,164,211,.13);border:1px solid rgba(45,164,211,.24)}.channel-badge.whatsapp{color:#9ef195;background:rgba(47,158,47,.14);border:1px solid rgba(69,200,61,.25)}
.metrics-reset-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:0 0 1rem}.metrics-reset-summary>div{display:grid;gap:.16rem;padding:.72rem .8rem;border:1px solid rgba(151,185,200,.13);border-radius:12px;background:rgba(255,255,255,.022)}.metrics-reset-summary strong{color:#dfeaec;font-size:.69rem}.metrics-reset-summary span{color:#91a6ae;font-size:.64rem}.metrics-reset-overlay{position:fixed;inset:0;z-index:1090;display:grid;place-items:center;padding:18px;background:rgba(0,12,18,.72);backdrop-filter:blur(5px)}.metrics-reset-dialog{width:min(94vw,720px);max-height:90vh;overflow:auto;padding:1.2rem;border:1px solid rgba(239,68,68,.26);border-radius:20px;background:#0b222d;box-shadow:0 30px 70px rgba(0,0,0,.45)}.metrics-reset-dialog h2{color:#fff;font-size:1.25rem;font-weight:900}.metrics-reset-dialog p{color:#a9bbc1;font-size:.75rem}.metrics-reset-dialog .notification-consent{margin-bottom:.55rem}.metrics-reset-warning{margin:.85rem 0;padding:.75rem .82rem;border:1px solid rgba(245,158,11,.23);border-radius:11px;color:#ffd992;background:rgba(245,158,11,.07);font-size:.7rem;line-height:1.5}
.settings-monitor{margin-top:1rem}.credential-state{min-height:38px;display:flex;align-items:center;padding:.5rem .7rem;border-radius:10px;font-size:.68rem;font-weight:850}.credential-state.is-ok{color:#9ff397;border:1px solid rgba(69,200,61,.24);background:rgba(47,158,47,.09)}.credential-state.is-missing{color:#ffd88c;border:1px solid rgba(245,158,11,.23);background:rgba(245,158,11,.08)}.template-editor{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;line-height:1.55}.communication-toggle{display:flex!important;align-items:flex-start;gap:.65rem;margin:0;padding:.75rem .82rem;border:1px solid rgba(69,200,61,.18);border-radius:11px;background:rgba(47,158,47,.045)}.communication-toggle input{margin-top:.15rem}.communication-toggle span{display:grid;gap:.12rem}.communication-toggle strong{color:#eaf4f5;font-size:.76rem}.communication-toggle small{color:#94a9b0;font-size:.65rem}.communication-architecture{display:grid;grid-template-columns:repeat(7,auto);align-items:center;justify-content:space-between;gap:.5rem;margin:.85rem 0;padding:.75rem;border:1px solid rgba(69,200,61,.16);border-radius:13px;background:rgba(47,158,47,.035)}.communication-architecture>div{display:grid;grid-template-columns:26px auto;grid-template-rows:auto auto;gap:0 .45rem;align-items:center}.communication-architecture>div>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#a2f59a;background:rgba(47,158,47,.14);border:1px solid rgba(69,200,61,.28);font-size:.62rem;font-weight:900}.communication-architecture strong{color:#eaf3f5;font-size:.69rem}.communication-architecture small{color:#8fa4ab;font-size:.58rem}.communication-architecture>i{color:#4bd044;font-style:normal;font-weight:900}.template-contract{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;padding:.72rem .8rem;border:1px solid rgba(45,164,211,.2);border-radius:11px;background:rgba(45,164,211,.055)}.template-contract strong{color:#b7eaff;font-size:.72rem}.template-contract span{color:#9fb3ba;font-size:.66rem}.template-contract code{color:#d8f5ff;font-size:.66rem}.copy-field{display:flex;gap:.45rem}.copy-field .form-control{min-width:0}.notification-monitor-list{display:grid}.notification-monitor-row{display:grid;grid-template-columns:36px minmax(0,1fr) 180px;gap:.7rem;align-items:center;padding:.75rem .3rem;border-top:1px solid rgba(151,185,200,.1)}.notification-monitor-row:first-child{border-top:0}.notification-channel-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-size:.68rem;font-weight:900}.notification-channel-icon.email{color:#bdeaff;background:rgba(45,164,211,.12);border:1px solid rgba(45,164,211,.22)}.notification-channel-icon.whatsapp{color:#9ff397;background:rgba(47,158,47,.12);border:1px solid rgba(69,200,61,.22)}.notification-monitor-row>div:nth-child(2){display:grid;gap:.13rem;min-width:0}.notification-monitor-row strong{color:#eaf2f4;font-size:.73rem;overflow-wrap:anywhere}.notification-monitor-row small{color:#8fa4ac;font-size:.62rem;overflow-wrap:anywhere}.notification-error{color:#ffadad;font-size:.61rem;overflow-wrap:anywhere}.notification-monitor-state{display:grid;justify-items:end;gap:.14rem}.monitor-status{padding:.23rem .45rem;border-radius:999px;font-size:.57rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.monitor-status.is-success{color:#a3f39b;background:rgba(47,158,47,.13);border:1px solid rgba(69,200,61,.22)}.monitor-status.is-error{color:#ffafaf;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.22)}.monitor-status.is-pending{color:#ffd58e;background:rgba(245,158,11,.11);border:1px solid rgba(245,158,11,.2)}
@media(max-width:1100px){.profile-layout{grid-template-columns:1fr}.profile-help{position:static}.metrics-reset-summary{grid-template-columns:1fr 1fr}.communication-architecture{grid-template-columns:1fr;justify-content:stretch}.communication-architecture>i{transform:rotate(90deg);justify-self:center}.notification-monitor-row{grid-template-columns:36px minmax(0,1fr)}.notification-monitor-state{grid-column:2;justify-items:start}}
@media(max-width:700px){.notify-channel-grid,.metrics-reset-summary{grid-template-columns:1fr}.notification-recipient>div{grid-template-columns:1fr}.notification-log-row{grid-template-columns:65px 1fr}.notification-log-row>span:last-child{grid-column:2;text-align:left}.copy-field{flex-direction:column}}
.channel-badge.channel-email{color:#b8e9ff;background:rgba(45,164,211,.13);border:1px solid rgba(45,164,211,.24)}
.channel-badge.channel-whatsapp{color:#9ef195;background:rgba(47,158,47,.14);border:1px solid rgba(69,200,61,.25)}
.notification-log-row em{display:block;margin-top:.12rem;color:#ffadad;font-size:.58rem;font-style:normal;overflow-wrap:anywhere}

/* v1.5.1 — ajustes de comunicação, kanban e arquivamento */
.communication-toggle.form-check,
.notification-consent.form-check{
  padding-left:0 !important;
}
.communication-toggle{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr);
  align-items:flex-start;
}
.communication-toggle .form-check-input,
.notification-consent .form-check-input{
  float:none !important;
  margin:0 !important;
}
.communication-toggle span,
.notification-consent span{
  min-width:0;
}
.settings-monitor .notification-monitor-list{
  max-height:520px;
  overflow:auto;
  padding-right:4px;
}
.notification-log{
  max-height:260px;
  overflow:auto;
  padding-right:4px;
}
.modal-header-actions{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-left:auto;
}
#requestArchiveBtn{
  white-space:nowrap;
}
.kanban-toolbar-actions{
  display:flex;
  align-items:center;
  gap:.7rem;
  flex-wrap:wrap;
}
.kanban-board-shell{
  display:grid;
  gap:8px;
}
.kanban-top-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:2px;
}
.kanban-top-scroll-track{
  height:1px;
}
.kanban-board-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:10px;
}
.kanban-board{
  min-width:max-content;
  overflow:visible;
}
.archive-legend{
  max-width:360px;
  color:var(--muted);
  font-size:.68rem;
  text-align:right;
}
.archive-list{
  display:grid;
  gap:.85rem;
}
.archive-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1rem;
  align-items:center;
  padding:1rem;
  border:1px solid rgba(151,185,200,.14);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}
.archive-row:hover{
  border-color:rgba(69,200,61,.26);
}
.archive-row-main{
  min-width:0;
}
.archive-row-top{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  margin-bottom:.35rem;
}
.archive-row h3{
  margin:0 0 .22rem;
  color:#eef5f7;
  font-size:1rem;
}
.archive-row small{
  color:var(--muted);
}
.archive-row-actions{
  display:flex;
  gap:.55rem;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media(max-width:900px){
  .archive-row{grid-template-columns:1fr;}
  .archive-row-actions{justify-content:flex-start;}
}
@media(max-width:700px){
  .kanban-toolbar-actions{justify-content:flex-start;}
  .archive-legend{text-align:left;max-width:none;}
}
