
/* CaptaDoc v1.1.38 — standalone-first UI */
:root{
  --cd-green:#087a57;--cd-green2:#16b57f;--cd-dark:#123b30;--cd-orange:#ef7d22;
  --cd-bg:#eff8f4;--cd-line:#d4e7de;--cd-soft:#f8fcfa;--cd-purple:#7041d9;
}
body{background:linear-gradient(180deg,#eef9f5 0%,#f8fbf9 72%,#eef6f2 100%)}
#homeScreen>.integration-card,.cd-standalone-note{display:none!important}
.credit-status{background:#fff!important;border:1px solid #d8e7e1!important;box-shadow:0 6px 18px rgba(16,72,55,.08)}
/* header: aligned and more app-like */
.cd-header-tools{display:flex!important;align-items:center!important;gap:8px!important}
.cd-account-nav{display:flex!important;gap:8px!important;align-items:center!important}
.cd-account-nav a,.cd-mode{width:48px!important;height:48px!important;min-width:48px!important;border-radius:16px!important;padding:0!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#fff,#edf8f3)!important;border:1px solid #d1e5dc!important;box-shadow:0 7px 16px rgba(20,83,64,.09),inset 0 1px 0 #fff!important}
.cd-account-nav a span{display:none!important}
.cd-account-nav img{width:25px!important;height:25px!important;filter:drop-shadow(0 2px 1px rgba(6,72,51,.18))}
.cd-profile-avatar{width:34px!important;height:34px!important;border-radius:11px!important;object-fit:cover!important}
.cd-mode{width:auto!important;min-width:88px!important;grid-auto-flow:column!important;gap:5px!important;padding:0 10px!important}
.cd-mode>img{display:none!important}
#cdModeLabel{font-size:12px!important;font-weight:900!important}
.cd-plan-cap-icon{position:relative}.cd-plan-cap-icon>img{width:36px!important;height:36px!important;filter:none!important}.cd-plan-cap-icon>span{display:none!important}
/* compact hero */
#homeScreen .hero{padding:0!important;min-height:0!important;margin-bottom:12px!important}
.cd-home-intro-v2{min-height:188px!important;padding:20px 21px!important;border-radius:24px!important}
.cd-home-intro-v2 .cd-hero-copy h1{font-size:29px!important;line-height:1.02!important;margin:5px 0 8px!important}
.cd-home-intro-v2 .cd-hero-copy p{font-size:14px!important;margin:0!important;max-width:380px!important}
.cd-home-intro-v2 .cd-hero-pills{margin-top:14px!important;gap:6px!important}
.cd-home-intro-v2 .cd-hero-pills span{font-size:10px!important;padding:7px 10px!important}
.cd-home-intro-v2 .cd-hero-visual{transform:scale(.72);transform-origin:right center;right:4px!important}
@media(max-width:560px){
 .cd-home-intro-v2{min-height:180px!important;padding:18px!important}
 .cd-home-intro-v2 .cd-hero-copy{max-width:66%!important}
 .cd-home-intro-v2 .cd-hero-copy h1{font-size:25px!important}
 .cd-home-intro-v2 .cd-hero-visual{transform:scale(.58);right:-12px!important}
}
/* 3D home action icons */
.cd-home-quick .cd-action-icon{position:relative;overflow:visible!important;background:linear-gradient(145deg,#ffffff,#dff6ec)!important;border:1px solid rgba(8,122,87,.13)!important;box-shadow:0 5px 0 #c6e8da,0 9px 18px rgba(15,92,67,.14),inset 0 1px 0 #fff!important;transform:translateY(-2px)}
.cd-home-quick.warm .cd-action-icon{background:linear-gradient(145deg,#fff9f3,#ffead7)!important;box-shadow:0 5px 0 #f1d5bb,0 9px 18px rgba(185,91,24,.13),inset 0 1px 0 #fff!important}
.cd-home-quick .cd-action-icon img{filter:drop-shadow(0 2px 1px rgba(0,70,50,.18));transform:scale(1.08)}
.cd-home-quick{box-shadow:0 7px 18px rgba(20,79,61,.06)!important}
/* remove legacy home types no matter how home is reopened */
#homeNewPane,.home-tabs,#homeDraftPane{display:none!important}

/* floating doc navigation */
#cdFloatingDocTools{position:fixed!important;right:18px!important;bottom:116px!important;z-index:9996!important;display:flex!important;flex-direction:column!important;gap:8px!important}
#cdFloatingDocTools.hidden{display:none!important}
#cdFloatingDocTools button{width:52px!important;height:52px!important;border-radius:18px!important;border:0!important;color:#fff!important;background:linear-gradient(145deg,#07966a,#16bd86)!important;box-shadow:0 7px 0 #087655,0 12px 22px rgba(7,118,85,.28)!important;font-size:20px!important;font-weight:900!important}
#cdFloatingDocTools #cdFloatTop{background:linear-gradient(145deg,#263d37,#14342b)!important;box-shadow:0 7px 0 #0d261f,0 12px 22px rgba(15,41,33,.25)!important}

/* signature launcher */
.cd-signatures-fab{position:fixed;right:18px;bottom:184px;z-index:9995;width:52px;height:52px;border:0;border-radius:18px;background:linear-gradient(145deg,#ff9a3d,#ef6d18);box-shadow:0 7px 0 #c95212,0 12px 22px rgba(204,83,19,.24);display:grid;place-items:center;color:white;font-weight:950}
.cd-signatures-fab.hidden{display:none!important}
.cd-signatures-fab svg{width:26px;height:26px}

/* signature manager */
.cd-signature-tabs{display:flex;gap:7px;overflow:auto;padding:2px 1px 10px;scrollbar-width:none}.cd-signature-tabs::-webkit-scrollbar{display:none}
.cd-signature-tabs button{white-space:nowrap;border:1px solid #d6e5df;background:#fff;color:#345f52;border-radius:999px;padding:8px 11px;font-weight:850}
.cd-signature-tabs button.active{background:#0a8d63;color:white;border-color:#0a8d63}
.cd-signature-list{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-right:2px}
.cd-signature-card{border:1px solid #d8e7e1;background:#fff;border-radius:16px;padding:12px;box-shadow:0 4px 12px rgba(16,69,54,.05)}
.cd-signature-card .head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.cd-signature-card .head strong{font-size:14px}
.cd-signature-card .meta{font-size:11px;color:#6d7f78;margin-top:3px}.cd-signature-card .progress{height:7px;background:#e9f1ee;border-radius:999px;margin:9px 0;overflow:hidden}.cd-signature-card .progress i{display:block;height:100%;background:#0a9668}
.cd-signature-card .actions{display:flex;gap:7px;flex-wrap:wrap}.cd-signature-card .actions button{padding:8px 10px;border-radius:10px;font-size:11px}
.cd-status-pill{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}.cd-status-pill.done{background:#e5f8ef;color:#087451}.cd-status-pill.wait{background:#fff7d8;color:#866400}.cd-status-pill.attn{background:#ffebe8;color:#a13c2d}

/* file explorer */
.cd-explorer{display:grid;grid-template-columns:180px 1fr;min-height:440px;border:1px solid #d9e8e2;border-radius:18px;overflow:hidden;background:#fff}
.cd-explorer-side{background:#f3faf7;border-right:1px solid #dbeae4;padding:10px;overflow:auto;max-height:58vh}
.cd-explorer-side button{width:100%;border:0;background:transparent;text-align:left;padding:9px;border-radius:10px;color:#305f51;font-weight:800;margin-bottom:3px}
.cd-explorer-side button.active{background:#dff3ea;color:#087653}.cd-explorer-side small{display:block;font-weight:600;color:#84928d;margin-top:2px}
.cd-explorer-main{display:flex;flex-direction:column;min-width:0}
.cd-explorer-toolbar{display:flex;gap:7px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #e0ece7;background:#fff}
.cd-explorer-toolbar button{padding:8px 10px;border-radius:10px}
.cd-explorer-files{padding:12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;overflow:auto;max-height:45vh}
.cd-explorer-file{border:1px solid #d8e7e1;background:#fff;border-radius:14px;padding:12px;text-align:left;min-height:122px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 3px 10px rgba(11,74,54,.04)}
.cd-explorer-file.selected{outline:3px solid #36c995;border-color:#36c995;background:#f4fffa}.cd-file-glyph{font-size:29px}.cd-explorer-file strong{font-size:12px;word-break:break-word}.cd-explorer-file small{color:#7a8983;font-size:10px}
.cd-explorer-actions{display:flex;gap:7px;flex-wrap:wrap;padding:10px;border-top:1px solid #e0ece7;background:#fbfefd}.cd-explorer-actions button{padding:9px 11px;border-radius:11px}
@media(max-width:620px){.cd-explorer{grid-template-columns:112px 1fr}.cd-explorer-files{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.cd-explorer-side{padding:6px}.cd-explorer-side button{padding:8px 6px;font-size:11px}}

/* general document brief */
.cd-object-brief{padding:12px;border:1px solid #d7e8e1;background:linear-gradient(180deg,#f7fffb,#fff);border-radius:16px;margin-bottom:10px}
.cd-object-brief label{font-weight:900;color:#244e41}.cd-object-brief textarea,.cd-object-brief input{margin-top:6px}
.cd-context-hint{display:flex;gap:8px;align-items:flex-start;margin-top:9px;padding:9px 10px;border-radius:12px;background:#eef9f5;color:#477063;font-size:11px;line-height:1.4}

/* plans logo and standalone copy */
.brand-lockup-page{width:142px!important;height:auto!important;max-height:70px!important;object-fit:contain!important}

/* Nexo stays visible without covering primary controls */
.nexo-bubble,.nexo-toast,.nexo-speech{right:84px!important;bottom:92px!important;max-width:min(300px,calc(100vw - 118px))!important;z-index:9988!important}
@media(max-width:560px){.nexo-bubble,.nexo-toast,.nexo-speech{right:72px!important;bottom:86px!important;max-width:calc(100vw - 100px)!important}}
/* standalone home: four shortcuts are the only persistent primary actions */
#homeScreen .cd-home-actions{margin-top:10px!important}
/* signatures/file explorer modal should feel like an app window */
.cd-signature-list,.cd-explorer-side,.cd-explorer-files{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

/* v1.1.40 — biblioteca global do ecossistema */
.cd-explorer-section-label{padding:10px 8px 5px;color:#6f857d;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.cd-explorer-side button[data-folder-id="__captazap__"]{background:linear-gradient(180deg,#f3fff9,#edf9f4);border:1px solid #d2eadf}
.cd-explorer-side button[data-folder-id="__captafix__"]{background:linear-gradient(180deg,#fffaf2,#fff6e9);border:1px solid #f4dfbc}
.cd-explorer-side button[data-folder-id="__captazap__"].active{background:#dff3ea;border-color:#9fd4bd}
.cd-explorer-side button[data-folder-id="__captafix__"].active{background:#ffefd6;border-color:#efc781}

/* v1.1.42 — visual family system: glossy 3D + compact dashboard */
#homeScreen>.card{background:rgba(255,255,255,.72)!important;border:1px solid rgba(166,205,189,.42)!important;box-shadow:0 18px 50px rgba(30,83,64,.08)!important;backdrop-filter:blur(8px)}
#homeScreen .hero{background:transparent!important;border:0!important;box-shadow:none!important;margin:8px 0 12px!important;overflow:visible!important}
#homeScreen .hero:before,#homeScreen .hero:after{display:none!important}
.cd-home-intro-v2{min-height:122px!important;padding:15px 17px!important;border-radius:22px!important;background:linear-gradient(105deg,#f8fffb 0%,#effaf4 54%,#e6f8ed 100%)!important;border:1px solid #cce5d8!important;box-shadow:0 10px 25px rgba(19,86,61,.09)!important;color:#133f33!important;overflow:hidden!important}
.cd-home-intro-v2:before{display:block!important;width:210px!important;height:210px!important;right:-72px!important;top:-82px!important;background:radial-gradient(circle,#34c98a1d 0 45%,transparent 46%)!important}
.cd-home-intro-v2:after{height:4px!important;background:linear-gradient(90deg,#0ba46f,#56d696 62%,#f28a20)!important}
.cd-home-intro-v2 .cd-hero-copy{max-width:72%!important}
.cd-home-intro-v2 .cd-eyebrow{color:#0d684f!important;font-size:9px!important;letter-spacing:1.8px!important;margin-bottom:3px!important}
.cd-home-intro-v2 .cd-hero-copy h1{color:#0d3f31!important;font-size:25px!important;line-height:.98!important;margin:3px 0 5px!important;letter-spacing:-.8px!important}
.cd-home-intro-v2 .cd-hero-copy p{color:#315f51!important;font-size:12px!important;line-height:1.28!important;max-width:400px!important}
.cd-home-intro-v2 .cd-hero-pills{margin-top:8px!important;gap:5px!important}
.cd-home-intro-v2 .cd-hero-pills span{background:#fff!important;color:#17654f!important;border:1px solid #d1e8dd!important;padding:5px 8px!important;font-size:9px!important;box-shadow:0 3px 10px rgba(13,90,64,.06)!important}
.cd-home-intro-v2 .cd-hero-visual{height:112px!important;transform:scale(.58)!important;transform-origin:right center!important;right:-8px!important}
.cd-home-intro-v2 .cd-hero-visual .sheet.front{box-shadow:0 14px 30px rgba(13,72,51,.16)!important}
.cd-home-intro-v2 .cd-hero-visual .sheet.back{background:linear-gradient(145deg,#ff9d38,#f06d16)!important}
.cd-home-help{width:32px!important;height:32px!important;right:7px!important;top:7px!important;font-size:16px!important;z-index:5!important}

.cd-home-quick-grid{gap:11px!important;margin-top:7px!important}
.cd-home-quick{min-height:114px!important;border-radius:23px!important;padding:13px!important;grid-template-columns:62px 1fr auto!important;gap:11px!important;background:linear-gradient(150deg,#fff,#f8fffb)!important;border:1px solid #bfe8d4!important;box-shadow:0 9px 22px rgba(17,91,64,.08),inset 0 1px 0 #fff!important;transition:.16s ease!important;overflow:hidden;position:relative}
.cd-home-quick:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-78px;top:-74px;background:rgba(255,255,255,.55)}
.cd-home-quick:active{transform:translateY(2px) scale(.99)!important}
.cd-home-quick.orangeCard{background:linear-gradient(150deg,#fff,#fff8f0)!important;border-color:#ffd1a7!important}
.cd-home-quick.blueCard{background:linear-gradient(150deg,#fff,#f3f9ff)!important;border-color:#b9dcff!important}
.cd-home-quick.purpleCard{background:linear-gradient(150deg,#fff,#faf5ff)!important;border-color:#d8bfff!important}
.cd-home-quick strong{font-size:20px!important;letter-spacing:-.45px;color:#124b39!important}
.cd-home-quick.orangeCard strong{color:#c34e12!important}.cd-home-quick.blueCard strong{color:#174b9b!important}.cd-home-quick.purpleCard strong{color:#5923a7!important}
.cd-home-quick small{font-size:12px!important;color:#6a7772!important;margin-top:5px!important}
.cd-home-quick>i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e4f8ee;color:#079160!important;font-size:27px!important;font-weight:900;line-height:1}
.cd-home-quick.orangeCard>i{background:#fff0df;color:#ef6e18!important}.cd-home-quick.blueCard>i{background:#e7f4ff;color:#1671d9!important}.cd-home-quick.purpleCard>i{background:#f1e7ff;color:#7b33d6!important}
.cd-home-quick .cd-action-icon{width:60px!important;height:60px!important;border-radius:19px!important;background:linear-gradient(145deg,#fff,#ddf7eb)!important;box-shadow:0 7px 0 #c2e7d6,0 12px 22px rgba(11,90,62,.15),inset 0 2px 0 #fff!important;border:1px solid #c2ead7!important}
.cd-home-quick.orangeCard .cd-action-icon{background:linear-gradient(145deg,#fffaf4,#ffe4c7)!important;box-shadow:0 7px 0 #f3d1ae,0 12px 22px rgba(175,82,20,.14),inset 0 2px 0 #fff!important;border-color:#ffd5ae!important}
.cd-home-quick.blueCard .cd-action-icon{background:linear-gradient(145deg,#f8fcff,#dceeff)!important;box-shadow:0 7px 0 #bedcff,0 12px 22px rgba(20,91,171,.14),inset 0 2px 0 #fff!important;border-color:#c7e2ff!important}
.cd-home-quick.purpleCard .cd-action-icon{background:linear-gradient(145deg,#fffaff,#ead9ff)!important;box-shadow:0 7px 0 #d6b9fa,0 12px 22px rgba(101,44,166,.14),inset 0 2px 0 #fff!important;border-color:#dfc6ff!important}
.cd-home-quick .cd-action-icon img{width:43px!important;height:43px!important;transform:scale(1.05)!important;filter:drop-shadow(0 4px 3px rgba(27,61,50,.20))!important}

.cd-ecosystem{margin-top:13px!important;gap:10px!important}
.cd-ecosystem .cd-eco-card{justify-content:flex-start!important;display:grid!important;grid-template-columns:72px 1fr 34px!important;min-height:104px!important;padding:11px 13px!important;border-radius:23px!important;text-align:left!important;position:relative!important;overflow:hidden!important;opacity:1!important}
.cd-ecosystem .cd-eco-card.captazap{background:linear-gradient(145deg,#f7fff9,#effdf3)!important;border:1px solid #75d892!important;box-shadow:0 9px 22px rgba(19,137,70,.09)!important}
.cd-ecosystem .cd-eco-card.captafix{background:linear-gradient(145deg,#fffaf6,#fff4e9)!important;border:1px solid #ffc88e!important;box-shadow:0 9px 22px rgba(205,106,25,.09)!important}
.cd-ecosystem .cd-eco-card img{width:70px!important;height:70px!important;object-fit:contain!important;filter:drop-shadow(0 6px 5px rgba(47,66,57,.17))!important}
.cd-ecosystem .cd-eco-card strong{display:block;font-size:19px;line-height:1;color:#158744}.cd-ecosystem .captafix strong{color:#e75c15}
.cd-ecosystem .cd-eco-card small{display:block;margin-top:7px;color:#65736e;font-size:11px;font-weight:700}
.cd-ecosystem .cd-eco-card i{font-style:normal;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#d9f7e3;color:#159548;font-size:27px;font-weight:900}.cd-ecosystem .captafix i{background:#ffead2;color:#e76419}
.cd-ecosystem .cd-eco-card em{font-size:9px;font-style:normal;background:#ffe4c2;color:#d65b13;border-radius:999px;padding:4px 6px;margin-left:4px;vertical-align:middle}

.cd-trust-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:13px 0 4px;border:1px solid #d9e8e1;border-radius:21px;background:rgba(255,255,255,.82);overflow:hidden;box-shadow:0 8px 20px rgba(24,76,58,.05)}
.cd-trust-strip>div{display:grid;grid-template-columns:34px 1fr;gap:7px;align-items:center;padding:10px 9px;border-right:1px solid #e7efeb}.cd-trust-strip>div:last-child{border-right:0}
.cd-trust-strip b{display:block;font-size:10px;color:#17784f}.cd-trust-strip small{display:block;font-size:8.5px;color:#74817c;line-height:1.1;margin-top:2px}.cd-trust-strip>div:nth-child(2) b{color:#e7681c}.cd-trust-strip>div:nth-child(3) b{color:#7733cc}.cd-trust-strip>div:nth-child(4) b{color:#2267c9}
.cd-trust-icon{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;font-weight:950;box-shadow:0 4px 8px rgba(25,68,53,.12),inset 0 1px 0 #fff}.cd-trust-icon.privacy{background:linear-gradient(#ecfff3,#bcebcf);color:#087946}.cd-trust-icon.security{background:linear-gradient(#fff5dc,#ffd48c);color:#e86918}.cd-trust-icon.cloud{background:linear-gradient(#f6eaff,#d9b8ff);color:#7a30d2}.cd-trust-icon.support{background:linear-gradient(#eaf5ff,#b9dcff);color:#176acc}

/* all document-type icons inherit the family visual language */
.typecard,.cd-doc-card,.listcard,.settings-card,.plan-compare-card{border-radius:20px!important;box-shadow:0 7px 20px rgba(22,75,57,.055)!important}
.typeicon img,.cd-doc-card img,.cd-file-glyph img{filter:drop-shadow(0 4px 4px rgba(30,61,51,.16))!important}

@media(max-width:560px){
 .cd-home-intro-v2{min-height:112px!important;padding:13px 14px!important;grid-template-columns:1fr 86px!important}
 .cd-home-intro-v2 .cd-hero-copy{max-width:78%!important}.cd-home-intro-v2 .cd-hero-copy h1{font-size:22px!important}.cd-home-intro-v2 .cd-hero-copy p{font-size:10.5px!important}.cd-home-intro-v2 .cd-hero-pills span{font-size:8px!important;padding:4px 6px!important}.cd-home-intro-v2 .cd-hero-visual{transform:scale(.48)!important;right:-22px!important}
 .cd-home-quick{grid-template-columns:51px 1fr 27px!important;min-height:101px!important;padding:11px!important;gap:8px!important;border-radius:20px!important}.cd-home-quick .cd-action-icon{width:49px!important;height:49px!important;border-radius:16px!important}.cd-home-quick .cd-action-icon img{width:37px!important;height:37px!important}.cd-home-quick strong{font-size:17px!important}.cd-home-quick small{font-size:10.5px!important}.cd-home-quick>i{width:27px;height:27px;font-size:23px!important}
 .cd-ecosystem .cd-eco-card{grid-template-columns:58px 1fr 26px!important;min-height:91px!important;padding:9px!important;border-radius:20px!important}.cd-ecosystem .cd-eco-card img{width:57px!important;height:57px!important}.cd-ecosystem .cd-eco-card strong{font-size:16px}.cd-ecosystem .cd-eco-card small{font-size:9.5px}.cd-ecosystem .cd-eco-card i{width:26px;height:26px;font-size:22px}
 .cd-trust-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-trust-strip>div:nth-child(2){border-right:0}.cd-trust-strip>div:nth-child(-n+2){border-bottom:1px solid #e7efeb}
}
