@font-face{font-family:Inter;src:url("fonts/inter-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root {
  color-scheme: light;
  --brand: #033a32;
  --brand-teal: #01bfab;
  --brand-beam: #32d9bf;
  --brand-lime: #bce224;
  --bg: #f4f9f4;
  --paper: #fdfffc;
  --ink: #102d25;
  --muted: #426257;
  --line: #cbded2;
  --soft: #e4f4eb;
  --accent: var(--brand-lime);
  --on-accent: #173015;
  --accent-line: #9dbf22;
  --signal: #177663;
  --focus: #087e70;
  --shadow: 0 16px 52px #033a3218;
}
[data-theme=dark] {
  color-scheme: dark;
  --bg: #0c1916;
  --paper: #13251f;
  --ink: #edfbf2;
  --muted: #aecbbf;
  --line: #34554a;
  --soft: #203e34;
  --signal: var(--brand-beam);
  --focus: var(--brand-beam);
  --shadow: 0 16px 52px #0005;
}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 Inter,system-ui,sans-serif}a{color:inherit}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}img{max-width:100%}h1,h2,h3,p{margin:0 0 .65em}h1,h2{line-height:1.02;letter-spacing:-.035em;font-family:Inter,system-ui,sans-serif;font-weight:700}h1{font-size:clamp(2.15rem,4.9vw,4.5rem)}h2{font-size:clamp(1.75rem,3.3vw,3.1rem)}h3{line-height:1.2}small,.muted{color:var(--muted)}.wrap{width:min(1280px,calc(100% - 64px));margin:auto}.skip{position:fixed;top:-100px}.skip:focus{top:8px;z-index:10;background:var(--paper);padding:10px}#header{border-bottom:1px solid var(--line);background:var(--paper)}.top{display:flex;align-items:center;justify-content:space-between;min-height:77px;gap:16px}.logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.045em;font-size:23px;text-decoration:none;white-space:nowrap}.logo img{width:39px;height:39px}.nav,.actions,.section-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.nav a{text-decoration:none;padding:6px}.nav a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid var(--line);border-radius:8px;padding:10px 16px;background:var(--paper);color:var(--ink);font-weight:700;text-align:center}.btn:hover{filter:brightness(.94)}.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent-line)}.hero{margin-top:26px;overflow:hidden;position:relative;border-radius:24px;background:var(--brand) url('lavoura.jpg') center/cover;color:#f4fff7;min-height:610px;display:flex;align-items:center}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#032d27fa 0%,#032d27e8 33%,#032d274a 100%)}.hero-inner{position:relative;padding:clamp(25px,5.5vw,76px);max-width:840px}.hero h1{margin-bottom:22px}.hero p{max-width:520px;color:#e3f9ec;font-size:1.13rem}.hero .actions{margin-top:26px}.hero .actions a{min-width:235px}.hero .demo-links{font-size:.9rem;gap:22px;margin-top:17px;display:flex;flex-wrap:wrap}.eyebrow{display:block;margin-bottom:14px;font-size:.77rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.hero .eyebrow{color:var(--accent)}.section{padding-block:65px}.section-head{justify-content:space-between;margin-bottom:22px}.section-head h2{margin:0}.grid{display:grid;gap:16px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0}.card p:last-child{margin-bottom:0}.step{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);margin-bottom:15px;font-weight:700}.banner{background:var(--brand);color:#f4fff7;border-radius:14px;padding:24px;margin-bottom:34px}.banner a{color:var(--accent)}.banner p{margin-bottom:0}.price{font-size:2.1rem;font-weight:700;letter-spacing:-.06em}.price small{font-size:.85rem;letter-spacing:0}.plan{display:flex;flex-direction:column;gap:10px}.plan .btn{margin-top:auto}.plan p{margin-bottom:0}.app h1,.form-page h1{font-size:clamp(2rem,4vw,3.45rem);margin-bottom:12px}.app .section-head{margin-top:20px}.app h2,.card h2,dialog h2{font-size:clamp(1.4rem,3vw,1.85rem)}.stats strong{display:block;font-size:1.65rem}.stack>*+*{margin-top:16px}.entries{list-style:none;padding:0;margin:0}.entries li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.entries li:last-child{border:0}.badge{display:inline-block;border-radius:100px;background:var(--soft);padding:4px 9px;font-size:.8rem;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.filters label{flex:1 1 145px}.filters button{align-self:end}label{display:grid;gap:5px;font-weight:600}input,select{min-width:0;width:100%;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:9px}.form-page{max-width:630px;padding-block:55px}form .actions{margin-top:16px}dialog{width:min(540px,calc(100% - 24px));max-height:calc(100% - 24px);border:1px solid var(--line);border-radius:15px;background:var(--paper);color:var(--ink);padding:25px;box-shadow:var(--shadow)}dialog::backdrop{background:#031c19b5}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.modal-head .btn{padding:3px 10px}.error{color:#a92d30}[data-theme=dark] .error{color:#ff969a}#notice{position:fixed;bottom:16px;right:16px;max-width:calc(100% - 32px);z-index:3}#notice:not(:empty){background:var(--brand);color:white;border:1px solid #538778;padding:12px 18px;border-radius:9px}.foot{border-top:1px solid var(--line);padding:20px 0}.preview{box-shadow:var(--shadow);border-radius:16px}.link{font-weight:700;text-underline-offset:3px}
@media(max-width:980px){.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.wrap{width:calc(100% - 28px)}.top{padding:10px 0;min-height:0;flex-wrap:wrap}.top .nav{gap:5px}.top .btn,.top select{padding:6px 8px}.hero{margin-top:14px;min-height:535px}.hero:before{background:linear-gradient(90deg,#032d27f0,#032d2780)}.section{padding-block:38px}.three,.two{grid-template-columns:1fr}.card{padding:16px}}@media(max-width:400px){.four:not(.stats){grid-template-columns:1fr}.hero .actions a{min-width:0;width:100%}}

/* Área da demonstração */
.demo-shell {
  --demo-sidebar: #082c26;
  --demo-highlight: var(--brand-lime);
  --demo-gutter: clamp(22px, 3vw, 40px);
  display: grid;
  min-height: 100dvh;
  grid-template: "sidebar header" auto "sidebar main" 1fr "sidebar footer" auto / 236px minmax(0, 1fr);
}
.demo-shell #header { grid-area: header; position: sticky; top: 0; z-index: 2; }
.demo-shell main { grid-area: main; min-width: 0; }
.demo-shell footer { grid-area: footer; }
.demo-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 25px 18px 21px;
  background: var(--demo-sidebar);
  color: #f0fff5;
  border-right: 1px solid #ffffff20;
}
.demo-sidebar[hidden] { display: none; }
.demo-sidebar .logo { font-size: 21px; }
.demo-menu { display: grid; gap: 4px; margin-top: 27px; }
.demo-menu-label {
  padding: 0 9px 6px;
  color: #b5d2c7;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.demo-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 7px;
  text-decoration: none;
  font-size: .89rem;
  color: #d9f2e7;
}
.demo-menu a:hover { background: #ffffff13; color: var(--demo-highlight); }
.demo-menu a[aria-current="page"] {
  background: #01bfab26;
  box-shadow: inset 3px 0 var(--brand-teal);
  color: var(--demo-highlight);
  font-weight: 700;
}
.demo-icon { width: 17px; text-align: center; flex: 0 0 auto; font-size: 1rem; line-height: 1; }
.demo-local { margin-top: auto; padding: 18px 8px 0; border-top: 1px solid #ffffff20; font-size: .74rem; }
.demo-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  min-height: 75px;
  padding: 10px var(--demo-gutter);
}
.demo-breadcrumb, .demo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.demo-breadcrumb { font-size: .83rem; color: var(--muted); }
.demo-breadcrumb a { text-decoration: none; }
.demo-breadcrumb strong { color: var(--ink); }
.demo-controls .btn { font-size: .78rem; padding: 7px 10px; }
.demo-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--soft);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.demo-access { min-width: 200px; max-width: 300px; gap: 3px; font-size: .72rem; color: var(--muted); }
.demo-access select { padding: 6px 8px; font-size: .85rem; }
.demo-shell .dashboard { display: block; padding: 31px var(--demo-gutter) 40px; min-height: 0; }
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 var(--demo-gutter);
  padding: 9px 0 max(10px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}
.demo-footer a { text-decoration: none; color: var(--ink); }
.demo-footer a:hover, .demo-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-footer-brand, .demo-credits a { display: inline-flex; align-items: center; gap: 6px; }
.demo-footer-brand img { flex: none; }
.demo-footer-brand, .demo-credits { flex: 0 0 auto; }
.demo-credits { display: flex; align-items: center; gap: 12px; }
.demo-copyright { border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
@media (max-width: 1000px) {
  .demo-shell { grid-template-columns: 202px minmax(0, 1fr); }
  .demo-top { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .demo-shell {
    --demo-gutter: 15px;
    grid-template: "header" auto "sidebar" auto "main" 1fr "footer" auto / minmax(0, 1fr);
  }
  .demo-sidebar { position: static; }
  .demo-sidebar { height: auto; padding: 11px var(--demo-gutter); border-right: 0; }
  .demo-sidebar .logo { display: none; }
  .demo-local { margin-top: 10px; padding: 6px 0 0; }
  .demo-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .demo-menu-label { grid-column: 1 / -1; padding: 2px 7px 4px; }
  .demo-menu a { font-size: .81rem; padding: 7px; }
  .demo-controls { width: 100%; }
  .demo-access { flex: 1 1 160px; min-width: 0; max-width: none; }
  .demo-shell .dashboard { padding-top: 22px; }
}

.plan-features { list-style: none; margin: 5px 0 8px; padding: 0; }
.plan-features li { display: grid; grid-template-columns: 1em minmax(0,1fr); align-items: baseline; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.plan-features .feature-unavailable { color: var(--muted); }
.plan-features .feature-note { font-size: .62em; margin-inline-start: 2px; line-height: 0; }
.plan-features .feature-availability { color: var(--signal); text-align: center; }
[data-theme="dark"] .plan-features .feature-availability { color: var(--brand-beam); }
.plan-features .feature-unavailable .feature-availability { color: inherit; }

.plan-features .feature-availability { font-size: 1em; font-weight: 700; }

.franchise-faq details {
  border: 1px solid var(--line);
  border-radius: 9px;
}
.franchise-faq details[open] {
  background: var(--soft);
  border-color: var(--focus);
  box-shadow: inset 3px 0 var(--focus);
}
.franchise-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  list-style: none;
  cursor: pointer;
}
.franchise-faq summary::-webkit-details-marker { display: none; }
.franchise-faq summary::after {
  content: '';
  width: .55em;
  height: .55em;
  margin-right: 3px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.franchise-faq details[open] summary::after { transform: rotate(225deg); }
.franchise-faq summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.franchise-faq details p { margin: 0; padding: 0 15px 14px; color: var(--muted); }

.demo-footer.wrap { margin-inline: auto; }

.demo-local .btn { margin-top: 6px; padding: 4px 0; border: 0; background: transparent; color: var(--demo-highlight); font-size: inherit; text-align: left; }
.demo-local .btn:hover { text-decoration: underline; text-underline-offset: 3px; }

.auth-alternative { margin-top: 16px; }

.plan-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:6px 10px; flex-wrap:wrap; }
.plan-heading h3 { margin:0; }
.plan-grid { row-gap: 26px; padding-top: 8px; }
.plan-featured {
  --ink: #f1fff6;
  --muted: #c1e9dc;
  --line: #68c7ac55;
  position: relative;
  color: var(--ink);
  background: linear-gradient(155deg, var(--brand), #0b573b);
  border: 1px solid #3e9278;
  box-shadow: 0 14px 32px #033a3240;
}
.plan-highlight {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--brand-beam);
  color: #062f24;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-featured .btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.plan-featured .feature-availability { color: var(--brand-beam); }

.plan-footnote { margin: 12px 0 0; font-size: .88rem; }

.counter-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
.counter-grid > .card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  text-align: center;
}
.counter-grid .stat-value {
  font-size: clamp(1.15rem, 20cqi, 1.65rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.team-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.team-summary .counter-grid { width: min(100%, 352px); }
.team-summary > .btn { white-space: nowrap; }

.team-table { width: 100%; min-width: 330px; border-collapse: collapse; text-align: left; font-size: .9rem; }
.team-table th, .team-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; }
.team-table tbody tr:last-child > * { border-bottom: 0; }
.team-table tbody small { display: block; font-weight: 400; overflow-wrap: anywhere; }
.team-table th:last-child, .team-table td:last-child { text-align: right; }
.team-table .badge { white-space: nowrap; }
.team-table .btn { font-size: .8rem; padding: 5px 8px; }

.data-table-scroll { overflow-x: auto; }
.data-table-processes, .data-table-overview { min-width: 760px; }
.data-table th .btn {
  border: 0;
  background: transparent;
  padding: 5px 0;
  font-size: inherit;
  text-align: left;
  white-space: nowrap;
}
.data-table th .btn:hover { text-decoration: underline; }
.data-table td:last-child .btn { white-space: nowrap; }
.process-claim-details { margin-block: 16px; }
.process-claim-details dt { color: var(--muted); font-size: .85rem; }
.process-claim-details dd { margin: 0; overflow-wrap: anywhere; }
.process-report-section { margin-block-start: 22px; }
.report-actions { justify-content: flex-end; flex-wrap: nowrap; gap: 6px; }
.btn.report-icon { width: 36px; min-height: 36px; padding: 6px; }
.report-preview { display: block; width: 100%; height: 74vh; margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; }

.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.table-pagination p { margin: 0; }
.table-pagination label { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.table-pagination select { width: auto; }

.billing-scroll { overflow-x: auto; }
.billing-table { border-collapse: collapse; width: 100%; min-width: 600px; text-align: left; font-size: .9rem; }
.billing-table th, .billing-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.billing-table td:last-child, .billing-table thead th:last-child { text-align: right; white-space: nowrap; }
.billing-table small { display: block; font-weight: 400; }
.billing-table tfoot { background: var(--soft); font-weight: 700; }
.billing-table tfoot th, .billing-table tfoot td { border-bottom: 0; }
.billing-history { margin: 12px 0 0; }

.team-actions { justify-content: flex-end; flex-wrap: nowrap; gap: 6px; white-space: nowrap; }

.plan-pending { background: var(--soft); border-inline-start: 4px solid var(--focus); }

.demo-top-context { display: grid; gap: 6px; min-width: 0; }
.demo-plan-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; font-size: .77rem; }
.demo-active-plan { padding: 2px 7px; border-radius: 5px; background: var(--soft); color: var(--ink); }
.demo-active-plan strong { margin-inline-start: 3px; }
.demo-pending-plan { color: var(--muted); }
.demo-pending-plan time { font-weight: 700; white-space: nowrap; }

.smart-filters { margin-bottom: 8px; gap: 12px; }
.smart-filters label:has(input[type="search"]) { flex: 2 1 240px; }
.smart-filters label:has(select) { flex: 1 1 120px; }

.team-table .team-icon { width: 30px; padding: 0; min-height: 30px; color: var(--muted); }
.team-actions [data-action="remove-member"]:hover { color: #a43c36; border-color: currentColor; }
[data-theme="dark"] .team-actions [data-action="remove-member"]:hover { color: #ffb0a8; }

.team-row-frozen { background: #f6efd9; }
[data-theme="dark"] .team-row-frozen { background: #3b3526; }
.team-row-frozen th[scope="row"] { box-shadow: inset 3px 0 #9e853d; }

.stats .stat-value { display: block; width: 100%; text-align: center; }

.demo-local-status { display: flex; align-items: center; gap: 8px; }
.demo-local-status .demo-dot { color: var(--demo-highlight); }
.demo-local p { margin: 5px 0 0; color: #b5d2c7; }

.demo-menu-theme { grid-column: 1 / -1; padding-inline: 7px; }
.demo-menu-theme .theme-switch { --muted: #b5d2c7; --signal: var(--demo-highlight); --soft: var(--demo-sidebar); }
.demo-menu-profile { display: grid; grid-column: 1 / -1; gap: 2px; padding: 0 9px 5px; overflow-wrap: anywhere; }
.demo-menu-profile .demo-menu-label { padding: 0; }

[data-role="responsavel"] { --role-background: #d5f5ee; --role-ink: #075b50; }
[data-role="administrador"] { --role-background: #e1f0ed; --role-ink: #27504b; }
[data-role="analista"] { --role-background: #eef4c9; --role-ink: #4c5e1a; }
[data-role="perito"] { --role-background: #dcefd9; --role-ink: #2e6025; }
[data-theme="dark"] [data-role="responsavel"] { --role-background: #18473f; --role-ink: #aff6e4; }
[data-theme="dark"] [data-role="administrador"] { --role-background: #293e3c; --role-ink: #d7efe9; }
[data-theme="dark"] [data-role="analista"] { --role-background: #3d4821; --role-ink: #e6f6a5; }
[data-theme="dark"] [data-role="perito"] { --role-background: #304a28; --role-ink: #d9f4bf; }

.stats > .card { text-align: center; }
.stats > .card > small { display: block; }

:where(button, a, input, select, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.demo-sidebar { --focus: var(--brand-beam); }

.top-start { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; min-width: 0; }
.theme-switch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 2px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font-size: .8rem; white-space: nowrap; }
.theme-switch-track { display: inline-flex; align-items: center; width: 34px; height: 19px; padding: 2px; border: 1px solid var(--signal); border-radius: 20px; background: var(--soft); }
.theme-switch-track::before { content: ''; width: 13px; height: 13px; border-radius: 50%; background: var(--signal); }
.theme-switch[aria-checked="true"] .theme-switch-track::before { transform: translateX(15px); }
.theme-switch svg { flex: none; color: var(--muted); }
.theme-switch[aria-checked="true"] .theme-moon, .theme-switch[aria-checked="false"] .theme-sun { color: var(--signal); }
.top .nav .btn { padding: 10px 16px; }
@media (max-width: 700px) {
  .top-start { gap: 4px 10px; }
  .top .nav .btn { padding: 6px 10px; }
}

.landing-shell #header { position: sticky; top: 0; z-index: 2; box-shadow: 0 4px 16px #033a3212; }

:root { --section-gap: clamp(36px, 5vw, 64px); --heading-gap: clamp(16px, 2vw, 24px); }
.landing-content {
  display: grid;
  gap: var(--section-gap);
  padding-block-end: var(--section-gap);
}
.landing-content > .section { padding-block: 0; }
.landing-content > .section > :is(h2, .section-head, .pricing-intro) {
  margin-block: 0 var(--heading-gap);
}
.landing-content .plan-grid { padding-top: 0; }

.app .faq-section { padding-block: 0; margin-block-start: var(--section-gap); }
.app .faq-section > h2 { font-size: clamp(1.75rem, 3.3vw, 3.1rem); margin-block: 0 var(--heading-gap); }

.demo-menu-group { min-width: 0; align-self: start; }
.demo-menu-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  list-style: none;
  color: #f0fff5;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.demo-menu-group > summary::-webkit-details-marker { display: none; }
.demo-menu-group > summary:hover { background: #ffffff13; }
.demo-menu-group > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 2px solid var(--brand-beam);
  border-bottom: 2px solid var(--brand-beam);
  transform: rotate(45deg);
}
.demo-menu-group[open] > summary::after { transform: rotate(225deg); }
.demo-menu-process { margin-inline-start: 18px; overflow-wrap: anywhere; }
.demo-menu-items { margin-inline-start: 10px; padding-inline-start: 4px; border-inline-start: 1px solid #ffffff20; }

.billing-table.finance-detail { min-width: 380px; }

.workload { margin-block-start: 22px; }
.team-process-counters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
.team-process-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-color: color-mix(in srgb, currentColor 25%, transparent);
  text-align: center;
}
.team-process-counter:hover { border-color: currentColor; }
.team-process-name { font-weight: 700; overflow-wrap: anywhere; }
.team-process-counter small { color: inherit; }
.team-process-counter strong { margin-top: auto; font-size: 1.65rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.team-limit-notice { margin-block: 12px 0; background: var(--soft); border-inline-start: 4px solid var(--focus); }
.workload-hint { margin-block-start: 10px; font-size: .86rem; }
.workload .section-head { margin-bottom: 12px; }

.team-role { background: var(--role-background); color: var(--role-ink); }
.team-table tr[data-role]:not(.team-row-frozen, .team-row-inactive) { background: color-mix(in srgb, var(--role-background) 62%, var(--paper)); }

.template-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.template-pending { margin-block: 10px 0; }
.template-save { justify-content: flex-end; margin-top: 16px; }
.template-toolbar label { flex: 1 1 225px; }
.template-toolbar .actions { flex: 0 1 auto; }
.sensing-template {
  display: grid;
  grid-template-columns: minmax(235px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 16px;
  margin-block-start: 18px;
}
.template-library h2, .template-document h2 { margin-bottom: 16px; }
.template-document h3 { margin: 16px 0 8px; font-size: 1rem; }
.template-sources, .template-sequence { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.template-sources li, .template-sequence li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.template-sources li > div, .template-sequence li > div:first-of-type { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.template-sources p, .template-sequence p { margin: 2px 0 0; font-size: .85rem; }
.template-sequence { margin-bottom: 16px; }
.template-fixed { display: grid; gap: 2px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 8px; background: var(--soft); }
.template-ai { display: grid; gap: 4px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; }
.template-ai label { display: flex; align-items: center; gap: 8px; }
.template-ai input { width: auto; }
.template-controls { display: flex; gap: 4px; flex: none; }
.template-control { width: 31px; height: 31px; padding: 0; }
.template-grip { color: var(--muted); }
[data-template-drag] { cursor: grab; }
[data-template-list] > .template-empty { justify-content: center; min-height: 74px; border-style: dashed; color: var(--muted); text-align: center; }
[data-template-row][data-drop-position="before"] { box-shadow: 0 -3px 0 var(--focus); }
[data-template-row][data-drop-position="after"] { box-shadow: 0 3px 0 var(--focus); }
[data-template-list][data-drop-position] { outline: 2px dashed var(--focus); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 900px) {
  .sensing-template { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .template-sequence li { flex-wrap: wrap; }
  .template-controls { margin-inline-start: auto; }
}
