@font-face{font-family:Poppins;src:url(fonts/poppins-latin-300-italic.woff2) format("woff2");font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/poppins-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/poppins-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/poppins-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
:root{
  --page:#f7f6ef;--paper:#fffefa;--ink:#212823;--muted:#556057;--green:#233b30;--lime:#c8ff35;
  --soft:rgb(238 241 232 / 94%);--wash:rgb(231 234 222 / 94%);--focus:var(--green);
  --green-edge:color-mix(in srgb,var(--green) 52%,var(--paper));
  --button-height:40px;--button-compact:32px;--button-radius:14px;--b1-radius:22px;--b1-padding:22px;
  --shadow:0 3px 12px #2736270d;--raised:0 6px 17px #26382b15;
  color-scheme:light;color:var(--ink);background:var(--page);font:400 100%/1.55 Poppins,"Avenir Next",sans-serif;font-synthesis:none
}
*{box-sizing:border-box}
body,h1,h2,h3,h4,p,ol,ul,dl,dd,fieldset,blockquote{margin:0}body{min-width:0}
h1,h2,h3,h4,strong,th{font-weight:600}h1,h2,h3,h4{line-height:1.18;letter-spacing:-.036em}
[hidden]{display:none!important}button,select,input,textarea{font:inherit;color:inherit}button,select{cursor:pointer}button{border:0;background:none}
button:disabled,input:disabled,select:disabled{cursor:default;opacity:.55}
button,a,select{-webkit-tap-highlight-color:transparent}button{font-size:.87rem;font-weight:500}a{color:inherit}
:focus-visible,.force-focus{outline:3px solid var(--focus);outline-offset:3px}
::selection{background:var(--lime);color:var(--ink)}.icon{display:inline-block;width:19px;height:19px;flex:none;vertical-align:middle}
.shell{width:min(1490px,calc(100% - clamp(34px,7vw,116px)));margin:auto}
.mast,.brand,.mast button,.signature,.swatches,.sim-label,#scenarios,#scenarios button,.nav-head,.finder,.catalog-heading,.spec-head,.specimen footer,.button-stack,.split,.client,.chip,.notice,.toast,.segments,.check-line,.switch,.search-box,.money-field,.crumbs,.dialog-heading{display:flex;align-items:center}
.mast,.nav-head,.catalog-heading,.spec-head,.specimen footer,.split,.dialog-heading{justify-content:space-between;gap:12px}
.mast{padding:22px 0}.brand{gap:20px;color:var(--muted);font-size:.86rem}.brand img{width:137px;height:auto;display:block}
.subtle{gap:8px;border-radius:15px;padding:9px 13px;background:var(--soft)}.subtle:hover{background:var(--wash)}#note-count{min-width:21px;line-height:21px;background:var(--paper);border-radius:50%;font-size:.75rem}
.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(16px,2.6vw,38px) 0 clamp(20px,2.2vw,33px)}
h1{font-size:clamp(2.35rem,4.3vw,4.25rem);letter-spacing:-.055em}h1 span{color:var(--green)}.hero p,.catalog-heading p{color:var(--muted);margin-top:6px}.hero p{font-size:1rem}
.signature{gap:10px;white-space:nowrap;font-size:.9rem;font-weight:500}.swatches{padding:4px 8px;background:var(--wash);border-radius:16px}.swatches i{width:17px;height:17px;border-radius:50%;background:var(--paper)}.swatches i+i{margin-left:-4px;background:var(--green)}.swatches i:last-child{background:var(--lime)}
.simulator{display:flex;align-items:center;flex-wrap:wrap;gap:12px 26px;padding:13px 18px;background:var(--wash);border-radius:20px}
.sim-label{gap:9px}.sim-label h2{font-size:.94rem;letter-spacing:-.016em}.sim-label .icon{color:var(--muted)}
#scenarios{flex-wrap:wrap;gap:4px}#scenarios button{gap:6px;padding:8px 12px;border-radius:12px;font-size:.85rem;min-height:38px}
#scenarios button:hover{background:var(--soft)}#scenarios button[aria-pressed=true]{background:var(--green);color:#fff}#scenarios button[aria-pressed=true] .icon{color:var(--lime)}#scenarios .icon{width:16px;height:16px}
.layout{display:grid;grid-template-columns:clamp(218px,18vw,266px) minmax(0,1fr);gap:clamp(23px,3.4vw,53px);align-items:start;margin:32px 0 64px}
.sidebar{position:sticky;top:14px;padding:17px 13px 13px;border-radius:22px;background:var(--soft)}
.sidebar>label,.nav-head h2{font-size:.83rem;font-weight:500;letter-spacing:0}.sidebar>label,.nav-head{padding-inline:6px}
.finder{margin:6px 0 23px;background:var(--paper);border-radius:12px;padding:0 9px;gap:7px;min-height:41px}
.finder input,.search-box input,.money-field input{min-width:0;width:100%;border:0;background:transparent;outline:none;font-size:.89rem;padding:9px 0}
input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.finder:focus-within,.search-box:focus-within,.money-field:focus-within{outline:2px solid var(--focus);outline-offset:2px}
.finder .icon{width:16px;color:var(--muted)}.clear,[data-clear-sample]{flex:none;font-size:1.14rem;width:32px;height:32px;border-radius:9px}
.nav-head{margin-bottom:8px;color:var(--muted)}.nav-head span,#count{font-size:.79rem;color:var(--muted)}#nav{display:grid;gap:3px}
#nav a{display:flex;align-items:center;gap:9px;border-radius:12px;text-decoration:none;padding:9px 10px;font-size:.85rem}
#nav a .icon{width:17px;height:17px;color:var(--muted)}#nav a small{margin-left:auto;font-size:.74rem;color:var(--muted)}
#nav a:hover{background:var(--wash)}#nav a[aria-current=page]{background:var(--wash);font-weight:500;color:var(--green)}
.mobile-nav{display:none}.catalog{min-width:0}.catalog-heading{align-items:baseline;margin:2px 0 18px}.catalog-heading h2{font-size:clamp(1.55rem,2.25vw,2.3rem)}.catalog-heading p{font-size:.9rem}#count{white-space:nowrap}
.scenario-info:not([hidden]){font-size:.83rem;color:var(--muted);margin:-6px 0 14px}
#elements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:stretch}
.specimen{min-width:0;display:flex;flex-direction:column;background:var(--paper);padding:clamp(15px,1.6vw,22px);border-radius:22px;box-shadow:var(--shadow);scroll-margin-top:14px}
.specimen.wide{grid-column:1/-1}.spec-head{margin-bottom:13px}.spec-head h3{font-size:1.12rem}.icon-btn{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:12px;background:var(--soft);flex:none}.icon-btn:hover{background:var(--wash)}.icon-btn .icon{width:16px;height:16px}
.stage{background:var(--soft);padding:clamp(12px,1.25vw,20px);border-radius:16px;min-height:106px;overflow-wrap:anywhere}
.stage>:first-child{margin-top:0}.stage>:last-child{margin-bottom:0}.specimen footer{margin-top:auto;padding-top:15px}
.specimen footer label{display:flex;align-items:center;gap:8px;font-size:.75rem;color:var(--muted)}select{border:0;border-radius:10px;background-color:var(--paper);padding:7px 9px;font-size:.875rem;max-width:100%}
.state-select{background-color:var(--soft);color:var(--ink);font-size:.79rem;min-height:34px}.permalink{font-size:1rem;text-decoration:none;color:var(--muted);padding:4px 8px;border-radius:8px}.permalink:hover{background:var(--soft)}
.primary,.secondary,.text-btn,.danger-btn,button.chip{display:inline-flex;justify-content:center;align-items:center;gap:6px;border-radius:14px;min-height:38px;padding:8px 13px;font-size:.84rem;font-weight:500}
.primary{background:var(--lime);color:var(--green)}.secondary{background:var(--paper);box-shadow:var(--shadow)}.text-btn{color:var(--green);padding-inline:7px}.danger-btn{background:#f0dcd6;color:#79352b}
:is(.primary,.secondary,.text-btn,.product,.icon-btn){transition:box-shadow .17s,transform .17s,background .17s}
:is(.primary,.secondary,.product,.icon-btn):hover:enabled,.force-hover{box-shadow:var(--raised);transform:translateY(-2px)}.primary:hover:enabled,.primary.force-hover{background:var(--green-edge)}
.text-btn:hover,.text-btn.force-hover{background:var(--wash)}.force-pressed,button:active:enabled{transform:translateY(1px);filter:brightness(.93)}
.button-stack,.segments,.crumbs{gap:7px;flex-wrap:wrap}.stage p{font-size:.89rem;line-height:1.55}.stage small,small,.muted{color:var(--muted)}.stage small{font-size:.78rem}
.stage h4{font-size:1.06rem;margin:4px 0}.stage>p+.button-stack,.stage>p+button,.stage>button+.line-item{margin-top:9px}
.product,.mini-card,.surface,.sheet,.dialog-preview{background:var(--paper);border-radius:22px;box-shadow:var(--shadow);padding:22px}.opportunity{display:grid;width:100%;text-align:left;gap:14px}
.client{gap:10px}.client strong,.mini-card strong,.timeline strong,.stage .line-item strong,.client small,.mini-card small{display:block}.client strong{font-size:1.08rem}
.avatar{display:grid;place-items:center;background:#ecdccf;color:#61402b;border-radius:12px;width:39px;height:39px;font-size:.8rem;font-weight:600;flex:none}
.card-action{font-size:.92rem;font-weight:500}.split{flex-wrap:wrap}.badge,.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:9px;font-size:.73rem;font-weight:500;line-height:1.45}
.quiet,.chip{color:var(--green);background:var(--wash)}.ok,.selected{background:var(--wash);color:var(--green)}.danger{background:#f2dfd9;color:#863e33}.warn{background:#f3e6cc;color:#71521e}
.line-item{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;padding:7px 0;flex-wrap:wrap}.line-item strong,.board strong{font-size:.93rem}.line-item p,.timeline p,.mini-card small{font-size:.82rem;color:var(--muted)}
.message,.notice,.toast{display:flex;align-items:flex-start;gap:9px}.message{padding:10px 3px}.message>.icon{margin-top:2px;color:var(--muted)}.message strong{font-size:.95rem}.message p{color:var(--muted);margin-top:3px}.message button{margin-top:8px}
.notice,.toast{border-radius:12px;padding:10px 12px;font-size:.85rem;margin-top:8px}.notice .icon{width:16px;flex:none;margin-top:2px}.toast{background:var(--green);color:white;align-items:center}.toast .text-btn{margin-left:auto;color:white}
.stage table{border-collapse:collapse;width:100%;font-size:.84rem;background:var(--paper);border-radius:14px;overflow:hidden;table-layout:fixed}.stage td,.stage th{text-align:left;padding:10px 12px;vertical-align:top;overflow-wrap:anywhere}
.stage thead{background:var(--wash);color:var(--green)}.stage th{font-size:.77rem;font-weight:500}.stage tbody tr:nth-child(even){background:var(--soft)}.empty-cell{color:var(--muted)}
.board,.date-pair,.palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.board>div{background:var(--wash);border-radius:15px;padding:10px}.board .mini-card{padding:10px;border-radius:12px;margin-top:9px}
.stage blockquote{padding:12px 15px;border-radius:14px;background:var(--paper);margin:6px 0 9px;font-size:.91rem}
.field{display:grid;gap:6px;font-size:.86rem;font-weight:500;margin:0 0 10px}.field>input,.field>textarea,.field>select,dialog textarea{width:100%;min-width:0;border:0;border-radius:13px;padding:11px;background:var(--paper);font-size:.93rem;font-weight:400}
.field textarea,dialog textarea{resize:vertical;min-height:78px}.field ::placeholder,.finder ::placeholder{color:var(--muted);opacity:1}.field [aria-invalid=true]{outline:2px solid #9c463b}
.search-box,.money-field{border-radius:14px;background:var(--paper);padding:1px 10px;gap:8px}.search-box .icon{width:17px}.search-results{display:grid;gap:6px}.search-results .line-item{background:var(--paper);border-radius:13px;padding:9px 12px}.search-results .badge{font-size:.67rem}
fieldset{min-width:0;padding:0;border:0}legend{font-size:.87rem;font-weight:500;padding:0;margin-bottom:5px}.check-line,.switch{gap:9px;font-size:.9rem;padding:5px 0}.check-line input{accent-color:var(--green);width:17px;height:17px}
.switch{position:relative;cursor:pointer}.switch input{position:absolute;opacity:0;width:36px;height:25px}.switch span{display:inline-flex;align-items:center;width:36px;height:22px;border-radius:20px;background:var(--green-edge);padding:3px;flex:none}
.switch span::after{content:"";width:16px;height:16px;background:#fff;border-radius:50%}.switch input:checked+span{background:var(--green);justify-content:flex-end}.switch input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.switch:has(:disabled){opacity:.55}.segments button{border-radius:10px;padding:7px 10px;background:var(--paper);font-size:.8rem}.segments button[aria-pressed=true]{background:var(--green);color:#fff}.segments+p,.segments+.date-pair,.segments+.mini-card{margin-top:10px}
.timeline{list-style:none;padding:0;display:grid;gap:11px}.timeline li{position:relative;padding-left:15px}.timeline li:before{content:"";position:absolute;left:0;top:7px;width:7px;height:7px;border-radius:50%;background:var(--green)}.timeline li:not(:last-child):after{content:"";position:absolute;left:3px;top:17px;bottom:-11px;width:1px;background:#233b3026}.timeline strong{font-size:.9rem}
.metric,.timer{display:block;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(2.1rem,3vw,3.2rem);line-height:1.2;margin:8px 0}.timer{font-size:2.15rem}
.bar{height:7px;border-radius:8px;overflow:hidden;background:var(--wash);margin:9px 0}.bar i{display:block;height:100%;background:var(--green);border-radius:inherit}.plot-row{margin-top:9px;font-size:.84rem}.plot-row strong{font-weight:500}
.values{display:grid;gap:9px}.values>div{display:flex;justify-content:space-between;gap:10px}.values dt{color:var(--muted);font-size:.87rem}.values dd{font-weight:500;font-variant-numeric:tabular-nums}
.palette{grid-template-columns:repeat(3,minmax(0,1fr))}.palette i{display:block;height:36px;border-radius:10px}.palette strong,.palette small,.type-action{display:block}.palette strong{font-size:.8rem}.palette small{font-size:.7rem}.type-action{font-weight:500}
.logo-sample{background:var(--page);padding:18px;border-radius:12px}.logo-sample img{display:block;width:160px;max-width:100%;height:auto}.lime-surface{background:var(--lime)}
.skeleton{display:grid;gap:10px;min-height:84px;padding:9px 4px}.skeleton i{width:90%;height:13px;border-radius:8px;background:linear-gradient(100deg,var(--wash) 25%,var(--paper) 48%,var(--wash) 70%) 150% 0/230% 100%;animation:shine 1.4s ease-in-out infinite}
.skeleton i:first-child{width:51%}.skeleton i:last-child{width:68%}@keyframes shine{to{background-position:-55% 0}}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;top:10px;left:10px;z-index:4;padding:10px;background:white}
dialog{border:0;background:var(--paper);color:var(--ink);width:min(540px,calc(100% - 28px));max-height:85dvh;overflow:auto;border-radius:22px;box-shadow:0 12px 45px #233b3030;padding:0}
dialog::backdrop{background:#233b3050}.dialog-body{padding:24px}.dialog-heading{margin-bottom:14px}.dialog-heading h2{font-size:1.4rem}.note-context{font-size:.88rem;color:var(--muted);margin-bottom:14px}
dialog .field>textarea{background:var(--soft)}.note-list{display:grid;gap:8px;margin:12px 0}.note-list>div{padding:12px 14px;border-radius:14px;background:var(--soft)}.note-list p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem}.note-list strong{font-size:.82rem}.note-list button{min-height:30px}#note-status{font-size:.84rem;color:var(--muted)}
button.force-loading .icon{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:980px){.layout{grid-template-columns:200px minmax(0,1fr);gap:18px}.shell{width:calc(100% - 36px)}.specimen{padding:15px}.stage{padding:12px}#nav a{font-size:.78rem;gap:6px}.spec-head h3{font-size:1.02rem}}
@media(max-width:780px){.layout{display:block;margin-top:18px}.sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:12px;margin-bottom:21px}.sidebar .mobile-nav{display:block}.sidebar .nav-head,.sidebar #nav{display:none}.sidebar .finder{margin:0;grid-column:1;grid-row:2}.sidebar label.mobile-nav{grid-column:2;grid-row:1}.sidebar select{grid-column:2;grid-row:2;min-width:0;width:100%}.simulator{gap:6px;padding:12px}.signature{font-size:.8rem}.catalog-heading{margin-bottom:12px}.brand span{display:none}}
@media(max-width:590px){.mast{padding:16px 0}.brand img{width:107px}.subtle{font-size:.76rem;padding:7px 9px}.hero{display:block;padding:16px 0 18px}.hero p{font-size:.9rem}.signature{margin-top:10px}.swatches i{width:12px;height:12px}.simulator{display:block}.sim-label{margin-bottom:6px}#scenarios button{font-size:.76rem;padding:6px 8px;min-height:34px}.catalog-heading{align-items:flex-start}.catalog-heading p{font-size:.84rem}#count{font-size:.72rem}#elements{grid-template-columns:1fr;gap:12px}.shell{width:calc(100% - 28px)}.stage{padding:14px}.specimen{padding:16px}.stage td,.stage th{padding:8px 7px}.stage table{font-size:.79rem}}
@media(max-width:590px){
  .sidebar{grid-template-columns:6.5rem minmax(0,1fr);align-items:center;gap:8px}
  .sidebar>label{grid-column:1;grid-row:1;line-height:1.3}
  .sidebar .finder{grid-column:2;grid-row:1}
  .sidebar label.mobile-nav{grid-column:1;grid-row:2}
  .sidebar select{grid-column:2;grid-row:2;min-height:40px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.product:hover,.force-hover{transform:none!important}}

.note-filters,.note-tools,.review-head{display:flex;align-items:center;gap:6px}
.note-filters{flex-wrap:wrap;margin:0 0 16px}
.note-filters button,.note-badge{border-radius:12px;padding:7px 12px;background:var(--wash);font-size:.81rem}
.note-filters button[aria-pressed=true]{background:var(--green);color:white}
.note-tools{flex:none}.note-badge{background:var(--wash);color:var(--green);white-space:nowrap}
.review-head{margin:20px 0 10px;justify-content:space-between;flex-wrap:wrap}
.review-head h3,.note-list h3{font-size:1rem}
#search-notes{background:var(--soft)}
.note-list section{border-radius:16px;background:var(--soft);padding:14px}
.note-list section h3{margin:2px 0 8px}
.review-entry{background:var(--paper);border-radius:12px;margin-top:6px;padding:10px}
.review-entry>span{font-size:.76rem;font-weight:500;color:var(--muted)}
.review-entry p{margin:4px 0}
#notebook.writing{position:fixed;width:min(410px,calc(100vw - 36px));max-height:80dvh}
#notebook.writing::backdrop{background:transparent}
.writing .dialog-heading{touch-action:none;user-select:none;cursor:grab;justify-content:flex-start}
.writing .dialog-heading:active,.writing #move-notes:active{cursor:grabbing}
.writing #close-notes{margin-left:auto}
#move-notes{cursor:grab;background:var(--soft);border-radius:9px;color:var(--muted);padding:3px 9px;font-size:1.25rem}
@media(max-width:590px){.note-filters button,.note-badge{padding:6px 9px}.spec-head{gap:5px}.spec-head h3{overflow-wrap:anywhere}.note-tools{gap:4px}.dialog-body{padding:18px}}
.queue-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 14px}
.queue-tabs button{font-size:.78rem;border-radius:12px;padding:8px;background:var(--soft)}
.queue-tabs b{font-weight:500;margin-left:3px}
.queue-tabs button[aria-pressed=true]{background:var(--green);color:white}
.flow-state{display:grid;gap:10px;background:var(--soft);padding:12px;border-radius:14px;margin:10px 0}
.flow-state strong,.flow-state summary{font-size:.85rem}
.flow-state summary{cursor:pointer}.flow-state ol{margin:7px 0;padding-left:20px;font-size:.8rem;overflow-wrap:anywhere;white-space:pre-wrap}

/* Componentes comerciais da B1 */
.opportunity.product{font-weight:400;gap:15px}
.opportunity .client strong{font-weight:500;letter-spacing:-.025em}
.opportunity .client small,.opportunity .card-action,.opportunity .split small{font-weight:400}
.opportunity .card-action{font-size:.88rem}.opportunity .badge{font-weight:400}
.search-box{min-height:48px;background:var(--paper);border:1px solid #233b3029;box-shadow:inset 0 1px 2px #233b3006;padding:4px 10px 4px 14px;gap:10px;border-radius:15px;transition:box-shadow .16s,border-color .16s,background .16s}
.search-box:hover{border-color:#233b3059;background:var(--paper)}
.search-box:focus-within,.search-box.force-focus{outline:2px solid var(--green);outline-offset:0;border-color:transparent;background:var(--paper);box-shadow:0 0 0 5px var(--lime)}
.search-box>svg{color:var(--green);width:20px;height:20px}
.search-box input{appearance:none;font-weight:400;font-size:.89rem;min-height:36px}
.search-box input:focus-visible{outline:0}.search-box input::placeholder{font-weight:400;color:var(--muted)}
[data-clear-sample]{color:var(--muted);background:var(--soft)}.search-results{margin-top:14px;gap:8px}
.search-result,.board-card{border-radius:15px;background:var(--paper);box-shadow:0 2px 6px #233b3010}
.search-result summary,.board-card summary{list-style:none;cursor:pointer}
.search-result summary::-webkit-details-marker,.board-card summary::-webkit-details-marker{display:none}
.search-result summary{border-radius:inherit;display:flex;align-items:center;gap:11px;padding:12px 13px}
.result-toggle{margin-left:auto;display:grid;place-items:center;width:23px;height:23px;border-radius:8px;color:var(--muted);background:var(--soft)}.result-toggle::before{content:"+"}.search-result[open] .result-toggle::before{content:"−"}
.record-avatar{width:35px;aspect-ratio:1;height:auto;align-self:center;border-radius:11px;background:#ede0cf;color:#684b32;font-size:.73rem;display:grid;place-items:center;flex:none;font-weight:500}
.search-result:nth-child(2) .record-avatar,.stage tr:nth-child(2) .record-avatar{background:var(--wash);color:var(--green)}
.search-result:nth-child(3) .record-avatar,.stage tr:nth-child(3) .record-avatar{background:#e8e2f1;color:#58466b}
.record-title,.record-detail{min-width:0}.record-title strong,.record-title small{display:block}
.record-title strong{font-size:.9rem;line-height:1.4;font-weight:500;letter-spacing:-.018em}
.record-detail{padding:0 14px 15px 59px}.stage .record-detail p{margin:6px 0 2px;font-size:.8rem}
.empty-state{min-height:156px;padding:22px 14px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:4px;background:var(--paper);border-radius:16px;color:var(--ink)}
.empty-icon,.discard-icon{display:grid;place-items:center;width:46px;height:46px;background:var(--soft);color:var(--green);border-radius:16px;margin-bottom:7px}
.empty-icon .icon,.discard-icon .icon{width:25px;height:25px}
.empty-state strong{font-weight:500;letter-spacing:-.025em;font-size:.94rem}
.empty-state p,.stage .empty-state p{color:var(--muted);font-size:.8rem;max-width:34ch;line-height:1.5}
.empty-state button{margin-top:8px}#elements>.empty-state{grid-column:1/-1}
.stage table{border-collapse:separate;border-spacing:0}.stage thead{background:var(--green);color:var(--paper)}
.stage th{font-size:.7rem;letter-spacing:.055em;font-weight:500;padding-block:12px}
.stage td{vertical-align:middle}.stage td>small{display:block;margin-top:3px}.table-record{display:flex;align-items:center;gap:10px}
#el-tabela-oportunidades td{padding-block:14px}@media(min-width:671px){
  #el-tabela-oportunidades th:first-child{width:46px}
  #el-tabela-oportunidades th[data-sort-head]{width:42%}
  #el-tabela-oportunidades th:last-child{width:104px}
  #el-tabela-oportunidades th[data-sort-head] button{padding-inline:0}
}
.record-button{background:var(--soft);border-radius:10px;color:var(--green);padding:8px 11px;text-align:left;font-size:.75rem}
.stage .row-detail{font-size:.79rem;margin-top:6px}.stage td.empty-cell{padding:0}
.pipeline-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 1px 15px}
.stage .pipeline-header h4{font-size:1.15rem;font-weight:500}.lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lane{min-width:0;border-radius:17px;background:var(--wash);padding:12px;display:flex;flex-direction:column}
.lane>header,.lane h4,.board-meta,.board-next,.due{display:flex;align-items:center;gap:6px}
.lane>header{justify-content:space-between;margin-bottom:12px}.stage .lane h4{font-size:.72rem;font-weight:600;letter-spacing:.035em;text-transform:uppercase}
.lane h4 i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--green)}.lane:nth-child(2) h4 i{background:#927141}.lane:nth-child(3) h4 i{background:#78688a}
.lane-count{background:#ffffff91;border-radius:8px;padding:2px 7px;font-size:.72rem;font-variant-numeric:tabular-nums}
.lane-list{display:grid;gap:8px}.board-card{transition:box-shadow .16s}.board-card:hover,.search-result:hover{box-shadow:var(--raised)}
.board-card summary{border-radius:inherit;padding:14px}.board-source{display:block;color:var(--muted);font-size:.68rem;margin-bottom:8px}
.board-card .record-title strong{font-size:1rem}.board-card .record-title small{font-size:.75rem}
.board-next{align-items:flex-start;font-size:.77rem;line-height:1.5;margin:15px 0 12px}.board-next svg,.due svg{width:14px;height:14px;margin-top:1px;color:var(--muted)}
.board-meta{flex-wrap:wrap;justify-content:space-between}.board-meta small,.due{font-size:.68rem}.due{background:var(--soft);padding:3px 7px;border-radius:8px;gap:4px}
.board-last{padding:0 14px 14px}.board-last small{font-weight:500}.stage .board-last p{font-size:.78rem}
.page-count,.stage .page-count{color:var(--muted);font-size:.8rem}
.field>select{appearance:none;border:1px solid #233b3040;border-radius:15px;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23435a40' stroke-width='1.6' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;padding:11px 36px 11px 13px;box-shadow:0 2px 5px #233b3009}
.field>select:hover:enabled{border-color:#233b3080}
.check-line input[type=checkbox]{appearance:none;display:grid;place-items:center;margin:0;width:20px;height:20px;border-radius:6px;border:1px solid #233b3090;background:var(--paper)}
.check-line input[type=checkbox]:checked{background:var(--green);border-color:var(--green)}
.check-line input[type=checkbox]:checked:after{content:"";width:8px;height:4px;border:solid var(--lime);border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
#el-conversao .bar{background:var(--green);height:8px}#el-conversao .bar i{background:var(--lime)}
#el-alerta .notice{font-size:.82rem;padding:8px 10px;align-items:center}#el-alerta .notice .icon{margin:0}
.toast{gap:10px;border-radius:16px;padding:10px 12px 10px 16px}.toast>.icon{color:var(--lime)}
.toast .text-btn{min-height:34px;padding:5px 10px;border-radius:10px;background:#ffffff0c}
.toast .text-btn:hover{background:#ffffff20;color:#fff}.toast .text-btn:focus-visible{outline-color:var(--lime)}
.confirm-dialog{position:fixed;inset:0;margin:auto;width:min(420px,calc(100% - 32px));height:fit-content;max-height:85dvh;padding:0;animation:confirm-in .18s ease-out}
.confirm-dialog::backdrop{background:rgb(19 32 24 / .44);animation:veil-in .18s ease-out}
.confirm-dialog.leaving{animation:confirm-out .14s ease-in both}.confirm-dialog.leaving::backdrop{animation:veil-out .14s ease-in both}
.confirm-content{padding:26px}.discard-icon{background:#f2e5db;color:#844d36;margin-bottom:16px}
.confirm-content h2{font-size:1.43rem}.confirm-content p{margin:10px 0 22px;font-size:.89rem;line-height:1.6;color:var(--muted)}
.confirm-buttons{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.confirm-buttons .secondary{background:var(--soft)}.confirm-buttons .danger-btn{background:#804633;color:#fff}
@keyframes confirm-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes confirm-out{to{transform:translateY(6px);opacity:0}}@keyframes veil-in{from{opacity:0}to{opacity:1}}@keyframes veil-out{to{opacity:0}}
@media(max-width:1050px) and (min-width:781px){.lane{padding:8px}.board-card summary{padding:10px}}
@media(max-width:670px){
  .lanes{grid-template-columns:1fr}.lane-list{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}
  #el-tabela-oportunidades table,#el-tabela-oportunidades tbody,#el-tabela-oportunidades tr,#el-tabela-oportunidades td{display:block}
  #el-tabela-oportunidades table{background:transparent;overflow:visible}
  #el-tabela-oportunidades thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  #el-tabela-oportunidades tbody{display:grid;gap:9px}
  #el-tabela-oportunidades tbody tr{background:var(--paper);border-radius:15px;padding:12px}
  #el-tabela-oportunidades td{padding:3px 0}
  #el-tabela-oportunidades td:nth-child(2){display:flex;align-items:center;gap:8px}
  #el-tabela-oportunidades td:nth-child(3){margin:5px 0}
}
@media(forced-colors:active){.check-line input[type=checkbox]{appearance:auto}.check-line input[type=checkbox]:after{display:none}}
@media(prefers-reduced-motion:reduce){.confirm-dialog::backdrop{animation:none!important}}

/* Controles expansíveis usam rótulos ou sinais de mais e menos. */
summary{list-style:none}summary::marker{content:""}summary::-webkit-details-marker{display:none}
#notebook.writing{width:min(454px,calc(100vw - 24px));max-height:min(86dvh,780px);overscroll-behavior:contain}
.writing .dialog-body{padding:0}
.writing .dialog-heading{margin:0;padding:14px 18px;gap:10px;background:var(--soft);border-radius:22px 22px 0 0}
.writing .dialog-heading h2{font-size:1.02rem;letter-spacing:-.024em;font-weight:500}
.writing #notes-title:focus{outline:none}.writing #notes-content{padding:22px 24px 20px}
.writing #move-notes,.writing #close-notes{display:grid;place-items:center;width:32px;height:32px;background:transparent;color:var(--muted)}
.writing #move-notes:hover,.writing #close-notes:hover{background:var(--wash)}
.grip-dots{width:10px;height:16px;background:radial-gradient(circle at 2px 2px,currentColor 1.4px,transparent 1.6px) 0 0/5px 6px}
.review-context{position:relative;margin-bottom:21px}
.review-context p{color:var(--muted);font-size:.78rem}.review-context h3{font-size:1.25rem;line-height:1.25;margin:4px 0 8px;font-weight:400;letter-spacing:-.025em}
#review-phase{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#f2e9d4;color:#715322;padding:3px 9px;font-size:.73rem;font-weight:500}
#review-phase:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#review-phase[data-phase=ready]{background:var(--wash);color:var(--green)}
#review-phase[data-phase=approved]{background:var(--wash);color:var(--green)}
.writing .field,#note-reading h4{font-size:.79rem;font-weight:500;color:var(--muted);letter-spacing:0}
.writing .field{gap:7px;margin:0}.writing textarea{font-size:.91rem;line-height:1.56;padding:12px 14px;color:var(--ink)}
.review-history{margin-top:16px}.review-history summary{display:inline-flex;align-items:center;min-height:34px;color:var(--green);font-size:.8rem;font-weight:500;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#233b3070;border-radius:5px;cursor:pointer}
.review-history .when-open,.review-history[open] .when-closed{display:none}.review-history[open] .when-open{display:inline}
.review-history ol{margin:5px 0 0;padding:2px 0 2px 15px;list-style:none;border-left:1px solid #233b3025}
.review-history li{position:relative;display:flex;align-items:baseline;gap:3px 9px;flex-wrap:wrap}
.review-history li+li{margin-top:10px}.review-history li:before{content:"";position:absolute;left:-18px;top:8px;width:5px;height:5px;border-radius:50%;background:var(--green-edge)}
.review-history li strong{font-size:.79rem;font-weight:500}.review-history li small,.review-history li p{color:var(--muted);font-size:.76rem}
.review-history li p{flex-basis:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.review-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}
.review-actions button{min-height:40px}.review-actions .secondary{background:var(--soft);box-shadow:none}
#notebook.writing:has(#again-form:not([hidden])){
  --footer-inset:clamp(24px,3vw,28px);
  padding-block-end:var(--footer-inset);
  overflow:hidden;
}
.writing:has(#again-form:not([hidden])) .dialog-body{
  max-height:calc(min(86dvh,780px) - var(--footer-inset));
  overflow:auto;
  overscroll-behavior:contain;
}
.writing #notes-content:has(#again-form:not([hidden])){padding-block-end:0}
#again-form .attachment-tools{margin-top:12px}
#again-form{margin-top:16px}.writing #note-status:not(:empty){padding:0 24px 16px;font-size:.76rem}
@media(max-width:470px){.writing #notes-content{padding:18px}.writing .dialog-heading{padding:10px 14px}.review-actions{justify-content:flex-start}.review-context h3{font-size:1.22rem}}
.filter-count{display:inline-grid;place-items:center;vertical-align:middle;min-width:1.45rem;height:1.28rem;padding-inline:4px;margin-left:3px;border-radius:20px;background:#fff9;color:var(--muted);font-size:.72rem;font-variant-numeric:tabular-nums}
[aria-pressed=true]>.filter-count{background:#ffffff23;color:var(--paper)}
.info-trigger{display:grid;place-items:center;width:30px;height:34px;border-radius:10px;color:var(--muted)}
.info-trigger span{display:grid;place-items:center;border:1.4px solid currentColor;border-radius:50%;width:16px;height:16px;font:600 .7rem/1 Georgia,serif}
.info-trigger:hover,.info-trigger[aria-expanded=true]{background:var(--soft);color:var(--green)}
.element-help{margin:0 0 14px;padding:13px 15px;background:var(--soft);border-radius:13px}
.element-help h4{font-size:.8rem;font-weight:500;letter-spacing:0}.element-help h4:not(:first-child){margin-top:10px}
.element-help p{margin-top:3px;color:var(--muted);font-size:.81rem;line-height:1.5}

.search-box:focus-within,.search-box.force-focus{outline:2px solid var(--focus);outline-offset:2px;box-shadow:none}
.search-results{gap:4px}
.search-result,.search-result:hover{box-shadow:none}
.search-result summary{padding:9px 12px}
.search-result .record-detail{padding:3px 14px 15px 58px}
.result-next small,.result-data dt{font-size:.72rem;color:var(--muted)}
.stage .result-next p{font-size:.88rem;margin:2px 0 9px}
.result-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
.result-data dd{font-size:.8rem}
.search-result{interpolate-size:allow-keywords}
.search-result::details-content{block-size:0;opacity:0;overflow:clip;transition:block-size .2s ease,opacity .16s ease,content-visibility .2s allow-discrete}
.search-result[open]::details-content{block-size:auto;opacity:1}
#el-tabela-oportunidades thead{background:var(--soft);color:var(--muted)}
#el-quadro-etapas .stage{background:transparent;padding:0}
.pipeline-header{padding:7px 2px}
.lane{background:rgb(238 241 232 / 50%);padding:12px;border-radius:var(--b1-radius)}
.lane h4 i{display:none}.stage .lane h4{font-size:.76rem;letter-spacing:.035em;color:var(--muted)}
.lane-count{color:var(--muted);background:#e5e4df}
.board-card{display:block;width:100%;padding:var(--b1-padding);text-align:left;border-radius:var(--b1-radius);background:var(--paper);box-shadow:0 1px 3px #233b300b;font-weight:400}
.board-card:hover{box-shadow:0 3px 10px #233b3013}
.board-next{margin:14px 0 5px}.board-deadline{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;color:var(--muted)}
.board-deadline.today{color:#795324}.board-deadline .icon{width:14px;height:14px}
.stage .board-ownership{display:block;margin-top:12px;color:var(--muted);font-size:.73rem}
.record-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(410px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;box-shadow:-8px 0 36px #233b3017;border-radius:18px 0 0 18px;animation:drawer-in .2s ease-out}
.record-drawer::backdrop{background:#233b3019}.record-drawer.expanded{width:100vw;border-radius:0}
.record-drawer aside{min-height:100%;background:var(--paper)}
.record-drawer header{display:flex;align-items:center;gap:8px;padding:14px 20px;background:var(--soft)}
.record-drawer header>span{margin-right:auto;color:var(--muted);font-size:.82rem}
.drawer-body{max-width:760px;padding:24px;margin:auto}.drawer-body h2{margin:5px 0;font-size:1.65rem}
.drawer-body>p,.drawer-body small{color:var(--muted)}.drawer-body p{font-size:.93rem}
.drawer-body section{margin-top:23px}.drawer-body h3{margin:0 0 7px;font-size:.86rem;letter-spacing:0;font-weight:500}
.drawer-next{border-radius:15px;padding:15px;background:var(--soft)}.drawer-next small{display:block;margin-top:6px}
.drawer-history{padding-left:18px;font-size:.84rem;color:var(--muted)}.drawer-history li+li{margin-top:6px}
@keyframes drawer-in{from{opacity:.5;transform:translateX(24px)}to{opacity:1;transform:none}}
#el-abas .segments+.line-item{margin-top:14px}
.check-line input[type=checkbox]:checked:after{border-color:#fff}
.check-line input[type=radio]{appearance:none;flex:none;display:grid;place-items:center;margin:0;width:20px;height:20px;border:1.5px solid var(--green-edge);border-radius:50%;background:var(--paper)}
.check-line input[type=radio]:checked{background:var(--green);border-color:var(--green)}
.check-line input[type=radio]:checked:after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.switch span,.switch input:checked+span{pointer-events:none;justify-content:flex-start;transition:background-color .2s}
.switch span::after{transition:transform .2s ease}.switch input:checked+span::after{transform:translateX(14px)}
#el-conversao .stage{background:var(--soft)}#el-conversao .bar,#el-origem-barras .bar{background:rgb(40 43 38 / .09)}
#el-origem-barras .bar i{background:var(--green)}
:root{--form-text:.875rem}
.field>input,.field>textarea,.field>select,.writing textarea,.money-field input,.search-box input,dialog .field>textarea{font-size:var(--form-text)}
@media(prefers-reduced-motion:reduce){.search-result::details-content{transition:none}}
@media(forced-colors:active){.check-line input[type=radio]{appearance:auto}.check-line input[type=radio]:checked:after{display:none}}

.date-control>button,.field>select{font-size:var(--form-text);font-weight:400;min-height:44px;border:1px solid #233b3029;border-radius:12px;color:var(--ink);background-color:var(--paper)}
.date-control>button{display:flex;align-items:center;gap:10px;padding:9px 13px;text-align:left}.date-control>button .icon{width:18px;color:var(--muted)}
.date-control>button:hover:enabled,.field>select:hover:enabled{border-color:#233b3060}
.calendar-popup{position:fixed;inset:auto;margin:0;width:min(292px,calc(100vw - 16px));border-radius:17px;max-height:calc(100dvh - 16px);box-shadow:0 8px 32px #233b3024}
.calendar-popup::backdrop{background:transparent}.calendar-inner{padding:13px}
.calendar-inner header,.calendar-actions{display:flex;align-items:center;justify-content:space-between}
.calendar-inner header strong{font-size:.9rem;font-weight:500}.calendar-inner header button{padding-inline:8px;font-size:.74rem;height:32px;border-radius:9px;background:var(--soft)}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center;margin:10px 0}
.days small{padding:4px 0;font-size:.72rem}.days button{min-height:32px;border-radius:9px;font-size:.8rem}
.days button.adjacent{color:var(--muted)}.days button:hover{background:var(--soft)}
.days button[aria-pressed=true]{background:var(--green);color:white}
@supports (appearance:base-select){
  .field>select,.field>select::picker(select){appearance:base-select}
  .field>select{background-image:none;align-items:center;padding:10px 13px;box-shadow:none}
  .field>select::picker-icon{color:var(--muted);font-size:.72rem}
  .field>select::picker(select){margin-block:5px;border:1px solid #233b301a;border-radius:14px;background:var(--paper);color:var(--ink);padding:5px;box-shadow:var(--raised)}
  .field>select option{padding:9px 11px;border-radius:9px;font-size:var(--form-text);gap:8px}
  .field>select option:checked{background:var(--wash)}.field>select option:is(:hover,:focus-visible){background:var(--soft)}
  .field>select option::checkmark{order:2;margin-left:auto;color:var(--green)}
}

.note-compose{border-radius:14px}.note-compose.drag-over{outline:2px dashed var(--focus);outline-offset:4px;background:var(--soft)}
.attachment-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin-top:6px}
.attachment-tools .text-btn{font-size:.79rem;min-height:34px;padding:4px 6px}.attachment-tools .icon{width:14px;height:14px}
.attachment-tools small{font-size:.74rem;color:var(--muted)}
.attachment-gallery:not(:empty){display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:8px;margin-top:9px}
.attachment-tile{position:relative;min-width:0}.attachment-open{display:grid;gap:5px;width:100%;min-width:0;padding:0;text-align:left;border-radius:10px}
.attachment-open img{width:100%;height:84px;border-radius:10px;object-fit:contain;background:var(--soft)}
.attachment-open span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;color:var(--muted);font-weight:400}
.attachment-remove{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}
.attachment-remove .icon{width:14px;height:14px}
.image-viewer{position:fixed;inset:0;margin:auto;height:fit-content;width:fit-content;max-width:calc(100vw - 24px);max-height:92dvh;padding:14px}
.image-viewer header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px;font-size:.86rem;overflow-wrap:anywhere}
.image-viewer img{display:block;max-width:100%;max-height:67dvh;object-fit:contain;margin:auto}.image-viewer a{margin-top:7px}

.lib-card,.lib-list,.lib-topnav,.lib-toolbar,.lib-progress,.lib-steps,.lib-shell{background:var(--paper);border-radius:16px}
.lib-card{padding:22px}.lib-card.compact{padding:13px}.stage .lib-card h4{margin:4px 0 8px;font-size:1.1rem}
.lib-card p,.lib-card small{color:var(--muted)}.lib-card.guidance,.lib-card.choice,.lib-list button,.lib-shell nav button,.lib-result,.lib-toggle,.lib-spinner{display:flex;align-items:center;gap:10px}
.lib-card.guidance{align-items:flex-start}.guidance>.icon{margin-top:4px;color:var(--green)}
.lib-card.choice{width:100%;text-align:left;justify-content:space-between}.choice small,.choice strong{display:block}.choice i{border:1px solid #233b3077;border-radius:50%;width:21px;height:21px;text-align:center;font-style:normal}
.lib-toggle{padding:9px 12px;background:var(--paper);border-radius:12px}.lib-toggle[aria-pressed=true],.choice[aria-pressed=true] i{background:var(--green);color:white}
.lib-toolbar,.lib-list{padding:6px}.stage .lib-aligned,.tab-sample{padding:16px 4px 5px}.tab-sample{font-size:.88rem}
.lib-list button,.lib-result{width:100%;padding:10px;text-align:left;border-radius:10px}.lib-list button[aria-pressed=true]{background:var(--soft)}.lib-list small{margin-left:auto}
.lib-result{background:var(--paper);font-weight:400}.lib-result:hover{background:var(--soft)}
.lib-shell{display:flex;overflow:hidden;min-height:122px}.lib-shell nav{background:var(--wash);padding:8px;min-width:36%}.lib-shell nav button{padding:8px;border-radius:8px;font-size:.8rem;width:100%}.lib-shell nav [aria-current=page]{background:var(--paper)}
.lib-shell section{padding:14px}.lib-shell.compact nav{min-width:0}.lib-shell.compact nav span{display:none}
.lib-topnav{display:flex;gap:6px;padding:6px}.lib-topnav button{padding:8px;font-size:.8rem}.lib-topnav [aria-current=page]{box-shadow:inset 0 -2px var(--green)}
.lib-steps{display:flex;list-style:none;padding:11px;gap:10px;flex-wrap:wrap;margin-bottom:9px}.lib-steps li{display:flex;align-items:center;gap:4px;font-size:.75rem}
.lib-steps i{font-style:normal;display:grid;place-items:center;background:var(--soft);width:22px;height:22px;border-radius:50%}.lib-steps [aria-current=step] i{background:var(--green);color:white}
.lib-menu,.lib-tip{position:relative;width:fit-content}.lib-menu [role=menu]{position:absolute;z-index:2;top:calc(100% + 4px);min-width:185px;border-radius:12px;padding:5px;background:var(--paper);box-shadow:var(--raised)}
.lib-menu [role=menuitem]{display:flex;align-items:center;gap:7px;width:100%;text-align:left;border-radius:8px;padding:9px}.lib-menu [role=menuitem]:hover{background:var(--soft)}
.lib-tip [role=tooltip]{position:absolute;left:calc(100% + 8px);top:0;background:var(--green);color:white;border-radius:9px;padding:7px 9px;width:max-content;max-width:160px;font-size:.78rem;visibility:hidden}
.lib-tip:not(.dismissed):is(:hover,:focus-within,.shown) [role=tooltip]{visibility:visible}
.lib-avatars{display:flex}.lib-avatars span+span{margin-left:-4px;border:2px solid var(--paper)}
.lib-progress{display:block;padding:14px;font-size:.85rem}.lib-progress strong{float:right}.lib-progress progress{appearance:none;width:100%;display:block;height:7px;margin-top:7px}
.lib-progress progress::-webkit-progress-bar{background:var(--wash);border-radius:6px}.lib-progress progress::-webkit-progress-value{background:var(--lime);border-radius:6px}
.lib-spinner i{width:20px;height:20px;border-radius:50%;border:2px solid var(--wash);border-top-color:var(--green);animation:spin .85s linear infinite}.lib-spinner{font-size:.86rem}
.lib-range{accent-color:var(--green)}.lib-file::file-selector-button{border:0;border-radius:8px;padding:6px 9px;background:var(--soft);font:inherit}
.history-dialog{position:fixed;inset:0;margin:auto;width:min(430px,calc(100% - 28px));height:fit-content;padding:20px}
.history-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-dialog h2{font-size:1.18rem}
.history-dialog ol{list-style:none;display:grid;gap:12px;padding:0;margin:18px 0 0}
.history-dialog li{padding:10px 12px;border-radius:12px;background:var(--soft);font-size:.83rem}.history-dialog li p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}
.queue-return{margin-bottom:12px}.review-actions:empty{display:none}

.overlay-note{float:right}#prior-request{margin:12px 0}#prior-request p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}

.specimen footer{flex-wrap:wrap}
.motion-demo{margin-left:auto;padding:6px 8px;min-height:32px;border-radius:9px;font-size:.76rem;color:var(--muted)}
.motion-demo:hover{color:var(--green);background:var(--soft)}
.stage{position:relative}
.lib-progress-track{display:block;height:7px;margin-top:7px;border-radius:6px;background:var(--wash);overflow:hidden}
.lib-progress-fill{display:block;height:100%;border-radius:inherit;background:var(--lime)}
.switch span:has(.switch-knob)::after{display:none}
.switch-knob{display:block;width:16px;height:16px;border-radius:50%;background:white}
.switch input:checked+span .switch-knob{transform:translateX(14px)}
.lib-topnav button,.lib-shell nav button,.segments button{position:relative}
.selection-motion{position:absolute;pointer-events:none;left:12%;right:12%;bottom:1px;height:2px;background:currentColor;border-radius:2px;transform-origin:left}
.departing-layer{position:absolute!important;pointer-events:none;z-index:2;margin:0!important;box-sizing:border-box}
.departing-layer[role=menu]{background:var(--paper);padding:5px;border-radius:12px;box-shadow:var(--raised)}
.departing-layer [role=menuitem]{display:flex;align-items:center;gap:7px;padding:9px;width:100%;text-align:left}
@media(prefers-reduced-motion:no-preference){
  .stage :is(button,select,input,textarea,.surface,.search-box,.money-field),.motion-demo{
    transition:background-color .16s,color .16s,border-color .16s,box-shadow .18s,opacity .15s,transform .14s,scale .14s;
  }
  .stage button:active:enabled{scale:.975}
  .stage button.force-loading::before{content:"";display:inline-block;width:.8em;height:.8em;margin-inline-end:.4em;vertical-align:-.08em;border:1.5px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
  .stage .lib-tip [role=tooltip]{opacity:0;transition:opacity .12s,visibility 0s .12s}
  .stage .lib-tip:not(.dismissed):is(:hover,:focus-within,.shown) [role=tooltip]{opacity:1;transition-delay:0s}
  .switch-knob{transition:transform .2s cubic-bezier(.2,.75,.25,1)}
  .check-line input:checked::after{animation:mark-in .16s ease-out}
  .stage .lib-file::file-selector-button{transition:background-color .16s,box-shadow .16s}
  .stage .lib-file:hover:enabled::file-selector-button{background:var(--wash)}
  .stage input.lib-range:active{box-shadow:0 0 0 3px #233b301a}
  .stage select::picker(select){opacity:0;transform:translateY(-3px);transition:opacity .15s,transform .16s,display .16s allow-discrete,overlay .16s allow-discrete}
  .stage select:open::picker(select){opacity:1;transform:none}
  @starting-style{.stage select:open::picker(select){opacity:0;transform:translateY(-3px)}}
  .calendar-popup[open]{animation:calendar-in .16s ease-out}
  .record-drawer[open]{animation:panel-slide .24s cubic-bezier(.2,.75,.25,1)}
  .record-drawer::backdrop{animation:veil-in .2s ease-out}
  .record-drawer[data-closing]::backdrop{animation:veil-out .17s ease-in both}
  @keyframes mark-in{from{opacity:.15;scale:.55}to{opacity:1;scale:1}}
  @keyframes calendar-in{from{opacity:0;translate:0 -4px}to{opacity:1;translate:0}}
  @keyframes panel-slide{from{opacity:.45;transform:translateX(42px)}to{opacity:1;transform:translateX(0)}}
}
@media(hover:hover){
  .stage :is(.lib-result,.lib-list button,.lib-topnav button,.lib-shell nav button,.segments button,.record-button,.lib-toggle):hover:enabled{box-shadow:inset 0 0 0 100px rgb(45 58 43 / .06)}
  .stage .choice:hover:enabled{box-shadow:var(--raised)}
}
@media(prefers-reduced-motion:reduce){
  .stage button:active:enabled,.stage button:hover:enabled,.stage .product:hover,.stage .force-hover,.stage .force-pressed{transform:none;scale:1}
}

.component-approval{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border-radius:10px;color:var(--green);background:var(--soft);font-size:.78rem}
.component-approval .icon{width:15px;height:15px}
.component-approval:hover{background:var(--wash)}
.component-approval[aria-pressed=true]{background:var(--wash)}
.component-approval[hidden]{display:none}

.note-tools .component-approval{display:grid;place-items:center;width:32px;height:34px;padding:0;background:transparent;color:var(--muted);border-radius:10px}
.note-tools .component-approval:hover,.note-tools .component-approval:focus-visible{background:var(--soft);color:var(--green)}
.note-tools .component-approval .icon{width:17px;height:17px;padding:1px}
.note-tools .component-approval[aria-pressed=true] .icon{padding:2px;background:var(--green);color:var(--paper);border-radius:50%}

#notebook:not(.writing){position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-height:88dvh}
#notebook:not(.writing) .dialog-body{min-height:min(350px,88dvh);max-height:min(640px,88dvh);padding:24px;display:flex;flex-direction:column}
#notebook:not(.writing) .dialog-heading{margin:0 0 16px}
#notebook:not(.writing) #notes-content{min-height:0;flex:1;display:flex;flex-direction:column}
#notebook:not(.writing) #note-status:not(:empty){padding-top:8px}
#notebook:not(.writing) #notes-title{font-weight:500;letter-spacing:-.025em}
#notebook:not(.writing) #notes-title:focus{outline:none}
.review-navigation{display:flex;gap:20px;box-shadow:inset 0 -1px #233b3018}
.review-navigation button{position:relative;min-height:var(--button-compact);padding:0 0 10px;border-radius:0;color:var(--muted);font-size:.88rem;line-height:1.3}
.review-navigation [aria-pressed=true]{color:var(--green);font-weight:600}
.review-navigation [aria-pressed=true]::after{content:"";position:absolute;inset:auto 0 0;border-bottom:2px solid currentColor;pointer-events:none}
#review-inbox{display:flex;flex-direction:column;min-height:0;flex:1;padding-top:18px}
.scope-note{font-size:.84rem;color:var(--muted);margin-bottom:8px}
#review-inbox .queue-tabs{flex-wrap:nowrap;gap:5px;margin:0 0 12px}
#review-inbox .queue-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 11px;border-radius:10px}
#review-inbox .queue-tabs b{margin:0;min-width:1.35em;font-variant-numeric:tabular-nums;opacity:.8}
.review-search{display:flex;align-items:center;gap:9px;padding:0 12px;min-height:40px;background:var(--soft);border-radius:12px;color:var(--muted)}
.review-search .icon{width:17px;height:17px;flex:none}.review-search input{padding:8px 0;min-width:0;width:100%;background:transparent;border:0;font-size:.875rem;color:var(--ink)}
.review-search:focus-within{outline:2px solid var(--focus);outline-offset:2px}.review-search input:focus{outline:0}
#review-inbox .note-list{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow-y:auto;overscroll-behavior:contain;margin:12px -4px 0;padding:4px;scroll-padding:5px}
#review-tools{min-height:0;overflow:auto;padding:18px 3px 4px}
#review-tools .field{margin:0 0 16px}#review-tools h3{font-size:1rem;margin:18px 0 10px}
.review-exports{display:flex;gap:8px;flex-wrap:wrap}.review-exports button{box-shadow:none;background:var(--soft)}
#review-tools #manual-copy{margin-top:14px}
@media(max-width:500px){
  #notebook:not(.writing) .dialog-body{padding:16px}
  .review-navigation{gap:14px}.review-navigation button{font-size:.8rem}
  #review-inbox .queue-tabs{gap:4px}#review-inbox .queue-tabs button{gap:3px;padding:6px;font-size:.74rem}
}
@media(max-height:440px){#notebook:not(.writing) .dialog-body{max-height:none}#review-inbox .note-list{overflow:visible}}

.review-finder,.note-utilities,.discussion-heading{display:flex;gap:8px;align-items:center}
.review-finder .review-search{flex:1;min-width:0}
.priority-filter{display:inline-flex;align-items:center;gap:5px;padding:8px;border-radius:10px;min-height:40px;font-size:.78rem;color:var(--muted)}
.note-priority{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--muted)}
.note-priority .icon,.priority-filter .icon{width:16px;height:16px}
.priority-filter:hover,.note-priority:hover{background:var(--soft)}
.priority-filter[aria-pressed=true],.note-priority[aria-pressed=true]{color:var(--green);background:var(--wash)}
.note-priority[aria-pressed=true] .icon{fill:currentColor}
.note-utilities{flex-wrap:wrap}.note-utilities .text-btn,.discussion-heading button{font-size:.78rem}
#note-discussion{margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--soft)}
.discussion-heading{justify-content:space-between}.discussion-heading h4{font-weight:500;font-size:.89rem}
#discussion-list{list-style:none;padding:0;display:grid;gap:10px}#discussion-list:not(:empty),#discussion-form{margin-top:10px}
#discussion-list time{font-size:.73rem;color:var(--muted)}#discussion-list p{font-size:.85rem;white-space:pre-wrap;overflow-wrap:anywhere}
#discussion-form .review-actions{margin-top:8px}#discussion-form textarea{background:var(--paper)}

/* B1 · famílias de componentes */
:root{--action:var(--green);--action-deep:var(--green);--action-wash:var(--wash)}
.primary{background:var(--action);color:white}
.primary:hover:enabled,.primary.force-hover{background:var(--action-deep)}
#el-tipografia .stage h4{font-weight:500}#el-tipografia .stage p{color:var(--ink);font-weight:400}#el-tipografia .stage small{color:var(--muted);font-weight:400}
#el-cores .palette i{box-shadow:inset 0 0 0 1px rgb(35 59 48 / 8%)}
#el-cores .palette{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}
#el-grupo-botoes .segments{gap:4px}#el-grupo-botoes .segments button,#el-toolbar .segments button{min-height:36px;border-radius:14px;padding-inline:12px}
#el-toolbar .lib-toolbar{overflow:clip}#el-toolbar .lib-aligned{margin:0}
.lib-toggle{gap:5px}.lib-toggle .icon{width:15px;height:15px}
#el-tabela-oportunidades thead{background:var(--soft);color:var(--ink)}
#el-tabela-oportunidades th{font-size:.78rem;font-weight:500;letter-spacing:0;text-transform:none;padding:12px 9px;box-shadow:inset 0 -2px #233b3055}
.column-name{display:flex;align-items:center;gap:5px}.column-name .icon{width:14px;height:14px;color:var(--action);flex:none}
.percent-card{padding:17px;background:var(--paper);border-radius:16px}
.percent-card header,.percent-value{display:flex;align-items:baseline;gap:8px}
.percent-card header{justify-content:space-between;font-size:.85rem;font-weight:500}
.percent-value{margin:14px 0 7px}.percent-value strong{font-size:2.4rem;line-height:1;font-weight:500;letter-spacing:-.055em}.percent-value span{color:var(--muted);font-size:.75rem}
.percent-card .bar{background:#233b3018}.percent-card .bar i{background:var(--action)}
.percent-base{display:block;margin-top:8px;font-variant-numeric:tabular-nums}
.lib-progress-fill{background:var(--green)}.lib-avatars .record-avatar,.lib-result .record-avatar{background:var(--wash);color:var(--green)}
.lib-avatars span:nth-child(2){background:var(--green);color:white}.lib-avatars span:nth-child(3){background:var(--lime);color:var(--green)}
#el-lista-descritiva .values dd{font-size:.92rem;font-weight:500}#el-lista-descritiva .values dt{font-size:.8rem;align-self:baseline}
.event-list{list-style:none;display:grid;gap:12px;padding:0}.event-list li{display:flex;align-items:flex-start;gap:10px;font-size:.83rem}
.event-list i{display:grid;place-items:center;border-radius:10px;background:var(--wash);color:var(--action);width:30px;height:30px}
.event-list .icon{width:16px;height:16px}.event-list li>span{display:grid;gap:1px}.event-list strong{font-weight:500}.event-list li>span>span{font-size:.76rem;color:var(--muted)}
.lib-card>small{display:block;line-height:1.12;margin-bottom:9px}.lib-card h4{font-weight:500}.card-extra{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:14px;color:var(--muted);font-size:.75rem}
.choice small{font-weight:400}.choice i,.guidance>.icon{flex:none}.choice i{display:grid;place-items:center}.choice i .icon{width:16px;height:16px}
.lib-steps i .icon{width:15px;height:15px}.guidance>.icon{box-sizing:content-box;padding:8px;border-radius:12px;background:var(--action-wash);color:var(--action);width:19px;height:19px}
#el-filtros-ativos .button-stack+.text-btn{margin-top:12px}
.money-field>span{display:inline-block;white-space:nowrap;flex:0 0 auto;line-height:1}.money-field>input{flex:1 1 0;min-width:0;width:auto}
.check-line,.check-line input{cursor:pointer}.check-line:has(:disabled),.check-line input:disabled{cursor:default}
.crumb-list{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0;font-size:.82rem}.crumb-list li{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.crumb-list li+li::before{content:"/";opacity:.45}.crumb-list a{display:inline-flex;align-items:center;gap:4px;color:var(--action-deep);text-decoration:none;padding:4px;border-radius:6px}.crumb-list a:hover{text-decoration:underline}.crumb-list .icon{width:16px;height:16px}.crumb-list [aria-current]{font-weight:500;color:var(--ink)}
#el-menu .stage{min-height:244px;display:grid;place-content:center;position:relative}.lib-menu>button{gap:9px}.lib-menu>button .icon{width:14px;height:14px}
.lib-menu [role=menu],.departing-layer[role=menu]{padding:8px;border-radius:16px;min-width:175px}
.lib-menu [role=menuitem],.departing-layer [role=menuitem]{font-size:.8rem;line-height:1.3;gap:9px;padding:9px 11px;min-height:35px}.lib-menu [role=menuitem] .icon,.departing-layer .icon{width:16px;height:16px;flex:none}
.lib-tip [role=tooltip]{font-size:.72rem;line-height:1.35;padding:6px 8px;max-width:125px}
.lib-spinner{justify-content:center;flex-direction:column;gap:9px;min-height:102px;font-size:.78rem;color:var(--muted)}
.lib-spinner i{width:28px;height:28px;border:3px solid var(--wash);border-right-color:var(--wash);border-top-color:var(--green)}
.toast.toast-error{background:#803d37;color:#fff}.toast.toast-error>.icon{color:#ffe4dc}
.confirm-dialog[data-tone=success] .discard-icon{background:var(--wash);color:var(--action)}
.confirm-dialog[data-tone=info] .discard-icon{background:#e0eaf0;color:#365d70}
.confirm-dialog[data-tone=warning] .discard-icon{background:#f2e8cf;color:#79581e}
.confirm-dialog[data-tone=error] .discard-icon{background:#f4ded9;color:#893c34}
@media(prefers-reduced-motion:no-preference){
  .record-drawer[open]{animation:b1-panel-in .36s cubic-bezier(.18,.78,.22,1)}
  @keyframes b1-panel-in{from{transform:translateX(100%);opacity:.7}to{transform:none;opacity:1}}
  #el-vazio .empty-icon{animation:b1-empty-in .14s ease-out both}
  @keyframes b1-empty-in{from{opacity:0;transform:translateY(2px) scale(.97)}to{opacity:1;transform:none}}
  #el-checkbox input:checked::after{animation:b1-check-in .2s ease-out}
  @keyframes b1-check-in{from{opacity:0;scale:.45}to{opacity:1;scale:1}}
}
.slider-control{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;font-size:.83rem}.slider-control>span{font-weight:500}
.slider-control output{grid-row:1;grid-column:2;font-size:.76rem;color:var(--muted);font-variant-numeric:tabular-nums}
.slider-control input.lib-range{grid-column:1/-1;grid-row:2;width:100%;appearance:none;background:transparent;height:24px;margin:0;cursor:pointer;border-radius:10px}
.lib-range::-webkit-slider-runnable-track{height:6px;border-radius:8px;background:linear-gradient(to right,var(--slider-color) var(--amount),var(--wash) var(--amount))}
.lib-range::-webkit-slider-thumb{appearance:none;width:18px;height:18px;margin-top:-6px;border-radius:50%;background:var(--paper);border:4px solid var(--slider-color);box-shadow:0 1px 4px #233b3028}
.lib-range::-moz-range-track{height:6px;border-radius:8px;background:var(--wash)}.lib-range::-moz-range-progress{height:6px;background:var(--slider-color)}.lib-range::-moz-range-thumb{border-radius:50%;background:var(--paper);border:4px solid var(--slider-color)}
.slider-limits{grid-column:1/-1;display:flex;justify-content:space-between}.slider-set{display:grid;gap:13px}
.file-zone{position:relative;display:grid;justify-items:center;gap:4px;text-align:center;padding:16px 10px;border:1px dashed var(--green-edge);background:var(--paper);border-radius:16px;font-size:.85rem;cursor:pointer}
.file-zone>strong{font-weight:500}.file-zone>span,.file-panel>small{font-size:.75rem;color:var(--muted)}.file-zone .icon{width:23px;height:23px;color:var(--action)}
.file-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-zone.over,.file-zone:focus-within{background:var(--action-wash);border-color:var(--action-deep)}.file-zone:has(:disabled){opacity:.6;cursor:default}
.file-panel>small{display:block;margin:7px 2px}.file-status:empty,.file-items:empty{display:none}.stage .file-status{font-size:.78rem;color:var(--action-deep)}.stage .file-status[data-error=true]{color:#8b3f37}
.file-items{list-style:none;display:grid;gap:6px;margin-top:8px;padding:0}.file-items li{display:flex;align-items:center;gap:8px;background:var(--paper);border-radius:12px;padding:7px 9px;font-size:.78rem;min-width:0}
.file-items li>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.file-items li strong{display:block;font-weight:500}.file-items li .icon-btn{margin-left:auto;width:29px;height:29px}
.file-thumb{display:grid;place-items:center;width:34px;height:34px;flex:none;background:var(--action-wash);border-radius:8px;overflow:hidden}.file-thumb .icon{width:19px;height:19px}.file-thumb img{width:100%;height:100%;object-fit:cover}
.format-picker{display:grid;gap:6px;font-size:.85rem}.picker-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;padding:11px 14px;border:1px solid #233b3049;border-radius:14px;background:var(--paper)}
.picker-trigger .icon{width:14px;height:14px}.format-panel{padding:12px;background:var(--paper);border-radius:15px}.format-panel input[type=search]{width:100%;background:var(--soft);border:0;border-radius:10px;padding:8px 10px;font-size:.84rem}.format-panel fieldset{margin-top:7px}
.calendar-inner header strong{white-space:nowrap}.days button:disabled{opacity:.35;text-decoration:line-through}
@media(max-width:480px){.column-name .icon{display:none}.date-pair:has(.date-control){grid-template-columns:1fr}}

.calendar-inner header [data-month]{display:grid;place-items:center;width:34px;height:34px;padding:0}.calendar-inner header [data-month] .icon{width:16px;height:16px}.calendar-inner [data-month="-1"] .icon{transform:rotate(180deg)}
#el-conversao .percent-card .bar i{background:var(--action)}

.queue-note{flex:none;min-width:0;padding:15px 17px 12px;border-radius:15px;background:var(--soft)}
.queue-note header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.note-list .queue-note h3{margin:0;font-size:.96rem;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.queue-note header small{display:block;margin-top:3px;font-size:.74rem;color:var(--muted)}
.queue-note .note-priority{flex:none}
.note-quote,.writing .note-field textarea:not(:placeholder-shown),#discussion-list p{font-family:Poppins,sans-serif;font-style:italic;font-weight:300;color:var(--muted)}
.note-quote{margin:10px 0 8px;padding-inline-start:11px;border-inline-start:2px solid var(--wash);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:.9rem}
.queue-note .note-quote{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#note-reading .note-quote{margin:8px 0 0}
.queue-note-actions{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;margin-top:7px}
.queue-note-actions button{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:8px;font-size:.76rem;font-weight:500;color:var(--muted)}
.queue-note-actions .queue-approve{color:var(--action-deep);background:var(--wash)}
.queue-note-actions button:hover{color:var(--green);background:var(--wash)}
.queue-note-actions .icon{width:15px;height:15px}
@media(max-width:480px){.queue-note{padding:12px}.queue-note-actions{gap:3px}.queue-note-actions button{min-height:34px}}

/* Entrada de dados: a mesma borda e o mesmo halo no campo ou no seu invólucro. */
:root{--field-edge:var(--green-edge);--field-halo:0 1px 4px rgb(35 59 48 / .032)}
:is(.field>input,.field>textarea,dialog textarea,.money-field,.finder,.review-search,.format-panel input[type=search]){border:1px solid transparent}
:is(.field>input,.field>select,.field>textarea,dialog textarea,.date-control>button,.picker-trigger,.format-panel input[type=search],.file-zone,.money-field,.search-box,.finder,.review-search,select.state-select,select.mobile-nav):is(:focus-within,.force-focus){
  outline:0;border:1px solid var(--field-edge);box-shadow:var(--field-halo)
}
:is(.money-field,.search-box,.finder,.review-search) input:focus{outline:none;box-shadow:none}
@media(forced-colors:active){
  :is(.field>input,.field>select,.field>textarea,dialog textarea,.date-control>button,.picker-trigger,.format-panel input,.file-zone,.money-field,.search-box,.finder,.review-search,select):is(:focus-within,.force-focus){outline:2px solid Highlight}
}
.file-zone{gap:2px;padding:19px 12px 16px;border-color:var(--green-edge)}
.upload-glyph{display:block;width:42px;height:42px;margin-bottom:6px}
.file-zone>strong{font-size:.81rem;line-height:1.45}
.file-zone>span{font-size:.75rem}
@media(prefers-reduced-motion:no-preference){.upload-glyph{transition:transform .18s ease}.file-zone.over .upload-glyph{transform:translateY(-3px)}}

.range-interval{position:relative;margin:0}
.range-interval legend{padding-right:7em}
.range-interval output{position:absolute;right:0;top:0;transform:translateY(calc(-100% - 5px));font-size:.78rem;font-variant-numeric:tabular-nums;color:var(--green)}
.interval-track{position:relative;height:36px;cursor:pointer;touch-action:none}
.interval-scale{position:absolute;inset:0 11px}
.interval-scale i{position:absolute;inset:15px 0;height:6px;border-radius:6px;background:linear-gradient(to right,var(--wash) var(--low),var(--action) var(--low) var(--high),var(--wash) var(--high))}
.interval-scale::before,.interval-scale::after{content:"";position:absolute;z-index:1;top:50%;left:var(--low);transform:translate(-50%,-50%);width:17px;height:17px;border:2px solid var(--action);border-radius:50%;background:var(--paper);box-shadow:0 1px 3px #233b3029}
.interval-scale::after{left:var(--high);background:var(--green);border-color:var(--green)}
.interval-track input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.interval-track:has(#range-low:focus-visible) .interval-scale::before,.interval-track:has(#range-high:focus-visible) .interval-scale::after{z-index:2;outline:2px solid var(--focus);outline-offset:3px}
.range-interval .slider-limits{font-size:.71rem;color:var(--muted);margin-inline:4px}
@media(forced-colors:active){.interval-scale i{background:GrayText}.interval-scale i::after{content:"";position:absolute;inset:0 calc(100% - var(--high)) 0 var(--low);background:Highlight;forced-color-adjust:none}.interval-scale::after{background:Highlight}}

/* Ações B1: 40 px no produto, 32 px nas ferramentas auxiliares. */
:is(.primary,.secondary,.danger-btn,.text-btn,.lib-toggle,.record-button,.segments button,button.chip,.lib-menu>button,.lib-tip>button),
#el-grupo-botoes .segments button,#el-toolbar .segments button,
#scenarios button,.review-actions button,.confirm-buttons button{
  min-height:var(--button-height);border-radius:var(--button-radius);padding:6px 14px;
  font-size:.84rem;line-height:1.3;font-weight:500
}
:is(.icon-btn,.lib-tip>.icon-btn){width:var(--button-height);height:var(--button-height);min-height:var(--button-height);padding:0;border-radius:var(--button-radius)}
.note-filters button,.queue-tabs button,.note-badge,.motion-demo,.priority-filter,.queue-note-actions button,
.note-tools button,.attachment-tools .text-btn,.note-utilities button,
.toast .text-btn,.subtle,.calendar-inner header button,.days button{
  min-height:var(--button-compact);border-radius:var(--button-radius);line-height:1.3
}
.note-tools :is(.icon-btn,.info-trigger,.component-approval),.file-items li .icon-btn,.dialog-heading .icon-btn,.clear,.note-priority{
  width:var(--button-compact);height:var(--button-compact);min-height:var(--button-compact);padding:0;border-radius:var(--button-radius)
}
#el-tooltip .icon-btn{width:var(--button-height);height:var(--button-height)}

.board-deadline.today{color:var(--green);font-weight:500}
.board-card{min-width:0}

.check-line input:focus-visible,.switch input:focus-visible+span,.slider-control input.lib-range:focus-visible{
  outline:1px solid var(--field-edge);outline-offset:1px;box-shadow:var(--field-halo)
}
.interval-track:has(#range-low:focus-visible) .interval-scale::before,.interval-track:has(#range-high:focus-visible) .interval-scale::after{
  outline:1px solid var(--field-edge);outline-offset:2px;box-shadow:var(--field-halo)
}
@media(forced-colors:active){
  .check-line input:focus-visible,.switch input:focus-visible+span,.slider-control input.lib-range:focus-visible,
  .interval-track:has(#range-low:focus-visible) .interval-scale::before,.interval-track:has(#range-high:focus-visible) .interval-scale::after{outline:2px solid Highlight}
}
@media(hover:hover){
  .file-zone:hover:not(:has(:disabled)){background:var(--soft);border-color:var(--green)}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .file-zone:hover:not(:has(:disabled)) .upload-glyph{transform:translateY(-3px)}
  .file-zone{transition:background-color .18s,border-color .18s,box-shadow .18s}
}
.allocation-track{padding:13px 10px;touch-action:none;cursor:pointer}
.allocation-scale{position:relative;display:flex;height:9px;border-radius:8px}
.allocation-scale>i:first-child{border-radius:8px 0 0 8px}.allocation-scale>i:last-of-type{border-radius:0 8px 8px 0}
.share-0{background:var(--green)}.share-1{background:var(--lime)}.share-2{background:repeating-linear-gradient(135deg,var(--ink) 0 2px,var(--paper) 2px 4px)}.share-3{background:var(--wash)}
.share-handle{position:absolute;top:50%;transform:translate(-50%,-50%);height:24px;width:18px;padding:0;touch-action:none;border-radius:8px;cursor:ew-resize;background:var(--paper);border:1px solid var(--green);box-shadow:var(--shadow)}
.share-handle::after{content:"";display:block;width:2px;height:8px;margin:auto;background:var(--green);border-radius:2px}
.allocation .share-handle:is(:hover,:focus-visible,:active){transform:translate(-50%,-50%);scale:1;z-index:1}
.share-legend{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:6px 16px;padding:8px 0 0}
.share-legend li{display:flex;align-items:center;gap:7px;font-size:.78rem}.share-legend i{width:10px;height:10px;border-radius:3px}
.share-legend output{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}

.board-tags,.board-signals,.drawer-owner,.board-signals>span{display:flex;align-items:center;gap:6px}
.board-tag{display:inline-flex;background:var(--soft);color:var(--green);padding:3px 9px;border-radius:9px;font-size:.7rem;font-weight:500}
.board-card>.board-tag{margin-bottom:10px}.board-card .board-next{margin:11px 0 14px;color:var(--muted)}
.board-signals{flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.73rem}.board-signals .icon,.record-drawer h3 .icon{width:15px;height:15px}
.board-date.today{color:var(--green);font-weight:500}.board-signals .owner-mark,.owner-mark{display:inline-grid;place-items:center;width:26px;aspect-ratio:1;border-radius:50%;background:var(--green);color:var(--paper);font-size:.72rem}.board-signals .owner-mark{margin-left:auto}
.drawer-owner{margin-top:10px;font-size:.79rem;color:var(--muted)}.record-activity{display:grid;gap:6px;padding:0;list-style:none}.record-activity li{padding:8px 12px;background:var(--soft);border-radius:10px;font-size:.83rem}
.stage .guidance{gap:15px;align-items:center}.stage .guidance>.icon{margin:0}.stage .guidance h4{margin:0 0 3px}.stage .guidance p{margin:0;line-height:1.4}
.event-list li{position:relative}.event-list li:not(:last-child)::before{content:"";position:absolute;top:30px;bottom:-12px;left:14px;width:1px;background:var(--field-edge);opacity:.45}
#el-tabela-oportunidades table{border-radius:16px}
#el-tabela-oportunidades thead{background:var(--wash);color:var(--green)}
#el-tabela-oportunidades th{box-shadow:none;padding:10px 12px;font-size:.76rem}
#el-tabela-oportunidades td{vertical-align:middle}
#el-tabela-oportunidades td.empty-cell{padding:0}
#el-tabela-oportunidades .empty-state{min-height:174px;background:var(--paper);gap:5px}
#el-tabela-oportunidades .record-button{white-space:normal}
#el-tooltip .stage{display:grid;place-content:center;min-height:142px}
#el-menu .stage:has([data-side=left]){justify-content:end}
#el-menu .stage:has([data-side=right]){justify-content:start}
.lib-menu [role=menu]{min-width:138px;inset:auto auto auto 50%;top:calc(100% + 6px);translate:-50% 0}
.lib-menu[data-side=up] [role=menu]{top:auto;bottom:calc(100% + 6px)}
.lib-menu[data-side=left] [role=menu],.lib-menu[data-side=right] [role=menu]{top:50%;left:calc(100% + 7px);translate:0 -50%}
.lib-menu[data-side=left] [role=menu]{left:auto;right:calc(100% + 7px)}
.lib-tip [role=tooltip]{z-index:2;top:50%;left:calc(100% + 8px);translate:0 -50%}
.lib-tip[data-side=left] [role=tooltip]{left:auto;right:calc(100% + 8px)}
.lib-tip[data-side=up] [role=tooltip],.lib-tip[data-side=down] [role=tooltip]{top:calc(100% + 8px);left:50%;translate:-50% 0}
.lib-tip[data-side=up] [role=tooltip]{top:auto;bottom:calc(100% + 8px)}
.confirm-dialog[data-tone=error] .danger-btn{background:#893c34;color:white}

.lane-create{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;width:100%;color:var(--green);background:transparent;border-radius:14px;font-size:.78rem}
.lane-create .icon{width:15px;height:15px}
.lane-create:hover{background:var(--soft);color:var(--green);box-shadow:none}
.board-entry form{display:grid;gap:15px}.board-entry .board-tag{justify-self:start}.board-entry h2{margin:0 0 3px}.board-entry .confirm-buttons{margin-top:5px}
.record-button:hover{background:var(--wash)}

/* Leitura, edição e comparação de valores */
.edit-sheet,.prop-sheet,.comparison,.split-sample{background:var(--paper);border-radius:18px;min-width:0}
.edit-sheet,.prop-sheet{padding:18px}
.edit-sheet>small:first-child,.prop-sheet dt,.split-sample small,.change-pair small{font-size:.78rem;color:var(--muted);font-weight:500}
.edit-value,.edit-actions,.prop-locked,.selection-tools,.table-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.edit-value{justify-content:space-between;gap:5px 12px}.edit-value>span,.prop-sheet dd{overflow-wrap:anywhere}
.edit-value>span{flex:1;min-width:5ch}.edit-value [data-edit]{padding:5px 8px;min-height:34px;font-size:.79rem}.edit-value .icon,.prop-locked .icon{width:14px;height:14px}
.inline-form{display:grid;gap:7px}.inline-form .field{margin:0}.edit-error:empty,.edit-notice:empty,[data-table-status]:empty{display:none}
.edit-notice,[data-table-status]{display:block;color:var(--muted);font-size:.77rem;margin-top:7px}.edit-error{color:#893c34;font-size:.8rem}
.prop-sheet{display:grid;gap:16px}.prop-sheet dt{margin-bottom:3px}.prop-sheet dd{margin:0;font-size:.92rem}
.prop-locked{justify-content:space-between}.prop-locked small{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:.73rem}
.split-sample{display:grid;grid-template-columns:minmax(0,35fr) minmax(0,65fr);height:248px;overflow:hidden}
.split-sample nav,.split-sample section{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}
.split-sample nav{background:var(--soft);padding:9px;display:flex;flex-direction:column;gap:4px;align-items:stretch}
.split-sample nav button{padding:9px 13px;display:grid;gap:2px;text-align:left;flex:none;border-radius:12px;color:var(--ink);background:transparent}
.split-sample nav button:hover{background:var(--wash)}.split-sample nav [aria-current=true]{background:var(--green);color:var(--paper)}.split-sample nav [aria-current=true] small{color:inherit;opacity:.82}
.split-sample section{padding:19px 22px}.split-copy h4{font-weight:500;font-size:1.1rem;margin:4px 0 7px}.split-copy p{color:var(--muted)}
.split-copy dl{display:grid;gap:2px;margin-top:18px}.split-copy dt{font-size:.77rem;color:var(--muted)}.split-copy dd{margin:0 0 9px;font-size:.91rem}.split-back{display:none}
.comparison{display:grid;gap:18px;padding:18px}.comparison h4{font-size:.91rem;margin-bottom:6px;font-weight:500}
.change-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.change-pair>div{background:var(--soft);padding:12px 15px;border-radius:12px}.change-pair p{font-size:.88rem;margin-top:5px;line-height:1.55}
.change-pair del,.change-pair ins{border-radius:4px;padding:0 2px}.change-pair del{background:#f4e7e1;color:#714638}.change-pair ins{color:var(--green);background:#dfeacb;text-decoration:underline;text-underline-offset:3px}.removed-value{color:var(--muted);font-style:italic}
.draft-sample>.edit-actions{margin-top:12px}.draft-sample [hidden],.select-table [hidden]{display:none}
.select-table [data-sort]{display:inline-flex;gap:6px;align-items:center;background:transparent;color:inherit;font-weight:500;padding:4px;border-radius:5px}
.select-table .compact-sort{display:none}.select-table .check-line{margin:0;padding:2px;display:inline-flex}
.select-table .selection-tools{background:var(--wash);border-radius:12px;padding:5px 10px;color:var(--green);margin-bottom:8px;font-size:.82rem}.selection-tools .text-btn{min-height:32px;font-size:.77rem}
#el-tabela-oportunidades .selected-row{background:var(--wash)}.select-table .reviewed-tag{font-weight:500;color:var(--green)}.select-table [data-row]:focus-visible{outline:2px solid var(--green);outline-offset:2px}
@media(prefers-reduced-motion:no-preference){.inline-form,.split-copy>h4,.edit-notice{animation:confirm-in .15s ease-out}.split-sample nav button,.select-table tr{transition:background-color .15s}}
@media(max-width:670px){
 .split-sample{display:block;height:265px}.split-sample nav,.split-sample section{height:100%}.split-sample[data-pane=list] section,.split-sample[data-pane=detail] nav{display:none}
 .split-back{display:inline-flex;margin-bottom:9px}.change-pair{grid-template-columns:1fr}.comparison{padding:14px;gap:20px}
 .select-table .compact-sort{display:inline-flex;margin-bottom:6px}
 #el-tabela-oportunidades .select-table thead{display:none}
 #el-tabela-oportunidades .select-table tr:has([data-row]){display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px}
 #el-tabela-oportunidades .select-table td:has([data-row]){grid-row:1/5}
 #el-tabela-oportunidades .select-table tr:has([data-row]) td:not(:first-child){grid-column:2}
 #el-tabela-oportunidades .select-table td{margin:0}
}

/* Quadro e detalhe da oportunidade */
.lane{padding:var(--b1-padding);border-radius:17px;transition:background-color .15s}
.lane-list{margin-bottom:16px}.lane.drag-over{background:var(--wash);outline:2px dashed var(--green-edge);outline-offset:-3px}
.stage .board-card:is(:active,:focus){background:var(--paper);color:var(--ink);box-shadow:0 2px 8px #233b3014}
.stage .board-card:focus-visible{outline:2px solid var(--green-edge);outline-offset:2px}.board-card.dragging{opacity:.55}
.board-signals .board-people{margin-left:auto}.board-people{display:inline-flex;align-items:center;isolation:isolate}
.board-people .owner-mark{margin:0;border:2px solid var(--paper);width:30px;height:30px}
.board-people .owner-mark+.owner-mark{margin-left:-6px;background:var(--wash);color:var(--green)}
.opportunity-detail.expanded{inset:0;margin:auto;width:min(880px,calc(100% - 32px));height:fit-content;max-height:90dvh;border-radius:22px}
.opportunity-detail.expanded::backdrop{background:rgb(30 43 35 / .27)}
.opportunity-detail .drawer-body{max-width:100%}.opportunity-detail .drawer-body>p{margin-top:3px}
.record-meta dl{display:grid;gap:3px;margin-top:12px}.record-meta dt{font-size:.76rem;color:var(--muted)}
.record-meta dd{font-size:.86rem;margin:0 0 9px}.record-meta .drawer-owner{margin-top:0}
.record-add{display:flex;align-items:end;gap:6px;margin-top:9px}.record-add label{flex:1;min-width:0;margin:0}.record-add button{min-height:38px}
.opportunity-detail .record-activity{margin:0}.record-activity .check-line{margin:0}.record-activity input:checked+span{color:var(--muted);text-decoration:line-through}
.opportunity-detail h3 .icon{vertical-align:middle}.opportunity-detail .drawer-body h3{font-weight:500;font-size:.93rem}
.opportunity-detail .drawer-body h3 small{margin-left:4px}.opportunity-detail [data-record-status]{display:block;margin-top:10px}
@media(min-width:671px){.opportunity-detail.expanded .record-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:26px}.opportunity-detail.expanded .record-meta{margin-top:23px;padding:0 18px 12px;background:var(--soft);border-radius:16px;align-self:start}}
@media(max-width:670px){.lane{padding:16px}.opportunity-detail.expanded{width:100%;max-height:100dvh;height:100dvh;border-radius:0}}
.lib-avatars{padding:8px 6px 18px}.lib-avatars .record-avatar{position:relative;width:44px;height:44px;padding:7px;border:3px solid var(--paper);border-radius:50%;transition:transform .15s}
.lib-avatars .record-avatar+.record-avatar{margin-left:-7px;border-width:3px}
.lib-avatars .record-avatar:is(:hover,:focus-visible){transform:translateY(-3px);z-index:2}
.lib-avatars .record-avatar:is(:hover,:focus-visible)::after{content:attr(data-person);position:absolute;top:calc(100% + 4px);left:0;background:var(--green);color:var(--paper);padding:4px 8px;white-space:nowrap;border-radius:7px;font-size:.73rem}
.event-list li:not(:last-child)::before{background:transparent;border-left:2px dotted rgb(35 59 48 / .17);width:0;opacity:1}
.guidance[data-tone=warning]>.icon{background:#f7edd7;color:#86591b}.guidance[data-tone=error]>.icon{background:#f7e4e0;color:#993f38}
#el-tabela-oportunidades .select-table tbody tr:not(.selected-row){background:var(--paper)}
#el-tabela-oportunidades .select-table tr[hidden]{display:none}
#el-tabela-oportunidades .record-title strong{font-weight:400}
#el-tabela-oportunidades .record-button{min-height:29px;height:auto;padding:4px 9px;font-size:.73rem;border-radius:10px}
.table-controls{align-items:end;gap:6px 13px;margin-bottom:10px}.table-controls .field{margin:0;min-width:120px;font-size:.75rem}.table-controls .field select{margin-top:3px;font-size:.8rem;min-height:32px;padding-block:5px}
.table-controls .selection-tools{margin:0}.table-controls .field:has(:disabled){opacity:.65}
.split-sample nav{padding:12px}.split-sample nav button{gap:2px;padding:10px 14px}.split-sample nav button span{font-weight:500}
.split-sample nav button[aria-current=true]:is(:hover,:focus,:active){background:var(--green);color:var(--paper)}
.split-group{display:inline-flex;gap:6px;align-items:center}.split-group .icon{width:14px;height:14px}
.split-copy h4{font-size:1.22rem}.split-copy dl{grid-template-columns:max-content 1fr;gap:12px 18px;align-items:baseline;border-radius:13px;background:var(--soft);padding:14px}
.split-copy dd{margin:0}.split-sample{height:256px}
.inline-diff{gap:0}.inline-diff section{padding:12px 0}.inline-diff section+section{border-top:1px solid rgb(35 59 48 / .07)}
.inline-diff h4{color:var(--muted);font-size:.8rem}.inline-diff p{line-height:1.7;font-size:.92rem}
.inline-diff :is(del,ins){padding:1px 4px;border-radius:4px}.inline-diff del{background:#f6e8e3;color:#81493d}.inline-diff ins{background:#e6eedc;color:var(--green);text-underline-offset:3px}.inline-diff small{color:var(--muted);font-style:italic}
@media(prefers-reduced-motion:reduce){.lib-avatars .record-avatar,.lane{transition:none}.lib-avatars .record-avatar:is(:hover,:focus-visible){transform:none}}

.split-related{margin-top:16px}.split-related p{display:flex;align-items:center;gap:6px;font-size:.85rem}.split-related .icon{width:16px;height:16px}
.split-sample nav button[aria-current=true]{transition:none;background:var(--green);color:var(--paper)}
.opportunity-detail .record-add input{background:var(--soft);border:1px solid transparent}
.opportunity-detail .record-add input:focus{background:var(--paper);border-color:var(--field-edge);box-shadow:var(--field-halo)}
