:root{--wine:#6f3c4b;--rose:#fbf2f2;--gold:#b49752;--ink:#29241f;--line:#e7ded7;--cream:#f7f2eb;--green:#356b58}*{box-sizing:border-box}body{margin:0;font:15px/1.45 Inter,Segoe UI,sans-serif;color:#352d2a;background:#faf8f6}button,input,select,textarea{font:inherit}a{color:inherit}.toast{position:fixed;right:24px;top:20px;z-index:100;background:#315f4f;color:#fff;padding:13px 18px;border-radius:12px;box-shadow:0 8px 28px #0002}.toast.error{background:#8f3e43}.contract-app{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.contract-sidebar{background:linear-gradient(#fff9f8,#f8e9ec);border-right:1px solid #eadde0;padding:32px 22px;position:sticky;top:0;height:100vh}.brand-mark{width:48px;height:48px;border:1px solid #8a5b68;border-radius:50%;display:grid;place-items:center;font:28px Georgia;color:var(--wine)}.contract-sidebar small{display:block;color:#a28549;letter-spacing:2px;text-transform:uppercase;margin-top:18px}.contract-sidebar strong{font:24px Georgia;color:var(--wine);display:block;margin:5px 0 38px}.contract-sidebar nav{display:grid;gap:9px}.contract-sidebar nav a{padding:12px 10px;border-radius:10px;text-decoration:none;color:#674f56}.contract-sidebar nav a.active{background:#fff;box-shadow:0 5px 20px #73394712;color:var(--wine)}.contract-sidebar nav span{margin-left:8px}.contract-main{padding:38px clamp(24px,5vw,80px);min-width:0}.contract-main>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.contract-main>header p,.eyebrow{color:#ad9254;font-size:12px;letter-spacing:3px;font-weight:700}.contract-main h1{font:42px Georgia;color:var(--wine);margin:4px 0}.zoe-logo{font:700 28px Georgia;color:var(--wine);letter-spacing:5px;text-align:center}.zoe-logo small{font:8px Inter;display:block;letter-spacing:4px}.paper{background:white;border:1px solid #eee3e1;border-radius:20px;padding:28px;margin-bottom:22px;box-shadow:0 12px 45px #6f3c4b0b}.paper h2{font:28px Georgia;color:var(--wine);margin:0}.section-title{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:24px}.section-title p,.muted{color:#8b7e79}.count,.status,.file-pill{display:inline-flex;border-radius:99px;padding:6px 10px;background:#f6eaed;color:var(--wine);font-size:12px}.role-tabs{display:flex;gap:8px;margin:18px 0}.role-tabs label{border:1px solid #e7d7db;padding:9px 18px;border-radius:99px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label>span,form>label{display:grid;gap:6px;color:#705d5a;font-size:13px}.span-2{grid-column:span 2}input,select,textarea{width:100%;border:1px solid #ded4cf;border-radius:10px;padding:11px 12px;background:#fff}textarea{min-height:90px;resize:vertical}.upload{border:1px dashed #c9b4b9;padding:18px;border-radius:12px;background:#fffafa}.actions{display:flex;gap:10px;margin-top:22px}.primary,.button,.small-button{border:0;border-radius:10px;padding:11px 18px;background:var(--wine);color:#fff;text-decoration:none;cursor:pointer}.primary:disabled{opacity:.4}.button{background:#f0e5e7;color:var(--wine)}.people-list,.template-library{display:grid;gap:9px;margin-top:18px}.people-list article,.template-library article{display:flex;align-items:center;gap:14px;border:1px solid #eee5e2;border-radius:12px;padding:12px}.people-list article>div:nth-child(2),.template-library article>div{flex:1}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f3e5e8;color:var(--wine);font-weight:700}.people-list small,.template-library small{display:block;color:#8e817c;margin-top:3px}.link{border:0;background:none;text-decoration:underline;cursor:pointer}.danger{color:#a4404c}.steps{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:28px}.steps b{display:grid;place-items:center;gap:6px;color:var(--wine)}.steps b:first-letter{border-radius:50%}.steps span{font-weight:400;font-size:12px}.inline-filter{max-width:350px}.signature-flow>form{display:grid;gap:18px}.template-checklist{display:grid;gap:9px}.template-checklist div{background:#faf5f3;border-radius:10px;padding:11px;color:#577564}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:900px}th,td{text-align:left;padding:13px;border-bottom:1px solid #eee6e2;vertical-align:top}.status.signed{background:#e4f2ea;color:#28624d}.file-pill{display:block;margin-bottom:4px}.contract-main footer{text-align:center;color:#8f765f;padding:30px}.contract-main footer span{margin-left:20px}.public-sign{background:var(--rose);padding:30px}.sign-card{max-width:850px;margin:auto;background:#fff;padding:40px;border-radius:22px;box-shadow:0 20px 70px #59323b1a}.sign-card details{border:1px solid #eadfe0;border-radius:12px;margin:12px 0;padding:14px}.document-preview{padding:18px 0;white-space:normal}.accept{display:flex!important;grid-template-columns:auto 1fr;align-items:start;margin:18px 0}.accept input{width:auto;margin-top:4px}.success-box{padding:14px;background:#e5f2e9;color:#285d48;border-radius:10px}
.routes-theme{background:var(--cream);color:var(--ink)}.routes-app{max-width:1500px;margin:auto;padding:28px 38px}.routes-app>header{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #ded4c7;padding-bottom:18px}.routes-app h1{font:40px Georgia;margin:4px 0}.routes-app header small,.route-heading p{color:var(--gold);letter-spacing:3px;font-weight:800}.routes-app nav{display:flex;gap:8px}.routes-app nav a,.week-actions a,.week-actions button{border:0;background:transparent;padding:10px 14px;border-radius:8px;text-decoration:none;cursor:pointer}.routes-app nav a.active,.week-actions a,.week-actions button{background:#fff;box-shadow:0 3px 14px #543f2811}.route-heading{display:flex;justify-content:space-between;align-items:end;padding:34px 0 22px}.route-heading h2{font:36px Georgia;margin:3px 0}.route-heading span{color:#756c62}.week-actions{display:flex;flex-wrap:wrap;gap:7px}.week-board{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.day-column{background:#fff;border:1px solid #e7ded1;border-radius:15px;padding:12px;min-width:0}.day-title{display:flex;justify-content:space-between;padding:8px 4px 14px}.day-title strong{color:#876f37}.route-slot{margin-bottom:8px}.route-slot>button{width:100%;min-height:82px;background:#faf7f1;border:1px solid #e8dfd2;border-radius:11px;text-align:left;padding:12px;cursor:pointer}.route-slot>button strong,.route-slot>button span{display:block}.route-slot>button span{color:#9b895f;font-style:italic;margin-top:7px}.route-slot form{border:1px solid #d9cba9;padding:9px;border-radius:11px}.route-slot form small{display:block;color:#8d8173;margin:5px 0}.sync{text-align:right;padding:20px;color:#6e876f}.sync span{margin-left:15px;color:#8c8276}.route-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.route-cards article{display:grid;grid-template-columns:70px 1fr;background:#fff;border:1px solid #e5dbce;border-radius:14px;padding:17px}.route-number{font:24px Georgia;color:#9a7d3b}.route-cards form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.route-cards label{display:grid;gap:5px}.small-button{background:#8f753d;padding:10px 13px}.new-prof{background:#fff;border:1px solid #e4dacd;border-radius:14px;margin-bottom:20px;padding:17px}.new-prof summary{font-weight:700;cursor:pointer}.new-prof form{margin-top:18px}.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.team-grid article{background:#fff;border:1px solid #e5dbce;border-radius:15px;padding:20px}.profile-head{display:flex;gap:13px}.profile-head>div:last-child{display:grid}.profile-head span{color:#9b7836}.profile-head small{color:#81776d}.team-grid dl{display:grid;grid-template-columns:120px 1fr;gap:6px;margin:18px 0}.team-grid dt{color:#867a6d}.team-grid dd{margin:0;font-weight:600}.tv-mode .routes-app>header,.tv-mode .route-heading .week-actions{display:none}.tv-mode .routes-app{max-width:none}.tv-mode .week-board{min-height:90vh}
@media(max-width:1000px){.contract-app{grid-template-columns:76px 1fr}.contract-sidebar{padding:24px 12px}.contract-sidebar>small,.contract-sidebar>strong,.contract-sidebar nav span{display:none}.week-board{grid-template-columns:1fr 1fr}.route-cards,.team-grid{grid-template-columns:1fr}.route-cards form{grid-template-columns:1fr}}@media(max-width:650px){.contract-app{display:block}.contract-sidebar{position:static;height:auto;display:flex;align-items:center;gap:10px}.contract-sidebar nav{display:flex;overflow:auto}.brand-mark{flex:0 0 38px;height:38px}.contract-main,.routes-app{padding:20px 14px}.contract-main h1{font-size:32px}.form-grid,.week-board{grid-template-columns:1fr}.span-2{grid-column:auto}.routes-app>header,.route-heading{align-items:start;flex-direction:column;gap:14px}.routes-app nav{overflow:auto;width:100%}.steps{grid-template-columns:repeat(2,1fr)}}
.sidebar-user{position:absolute;bottom:24px;left:22px;right:22px;border-top:1px solid #e7d9db;padding-top:14px}.sidebar-user>span,.sidebar-user>small{display:block}.sidebar-user>small{margin:3px 0;color:#9b858a;letter-spacing:0;text-transform:none}.sidebar-user form{display:inline}.routes-app nav form{display:inline}.routes-app nav button,.admin-header nav button{border:0;background:transparent;padding:10px 14px;cursor:pointer;color:inherit}
.route-slot-static{width:100%;min-height:82px;background:#faf7f1;border:1px solid #e8dfd2;border-radius:11px;text-align:left;padding:12px}.route-slot-static strong,.route-slot-static span{display:block}.route-slot-static span{color:#9b895f;font-style:italic;margin-top:7px}
.login-page{min-height:100vh;background:linear-gradient(130deg,#f8e9ed 0 44%,#fbf8f4 44%)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;max-width:1200px;margin:auto;padding:50px}.login-brand{padding:60px}.login-brand p{letter-spacing:4px;color:#aa8b48;font-weight:700}.login-brand h1{font:64px Georgia;color:var(--wine);margin:10px 0}.login-brand>span{color:#79696d;font-size:18px}.login-card{background:#fff;border:1px solid #eadfe0;border-radius:24px;padding:42px;box-shadow:0 25px 80px #5e38421f;max-width:460px;width:100%}.login-card h2{font:38px Georgia;color:var(--wine);margin:8px 0}.login-card form{display:grid;gap:16px;margin:25px 0}.login-card label{display:grid;gap:6px}.login-card .remember{display:flex;align-items:center}.login-card .remember input{width:auto}.login-card .primary{width:100%;padding:13px}
.admin-app{max-width:1500px;margin:auto;padding:35px}.admin-header{display:flex;justify-content:space-between;align-items:end;padding-bottom:23px;border-bottom:1px solid #ded4c7}.admin-header p{color:var(--gold);letter-spacing:3px;font-weight:800;margin:0}.admin-header h1{font:44px Georgia;margin:5px 0}.admin-header span{color:#756c62}.admin-header nav{display:flex;align-items:center;gap:8px}.admin-header nav>a,.admin-header nav button{background:#fff;border-radius:9px;text-decoration:none}.admin-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.admin-summary article{background:#fff;border:1px solid #e5dbce;border-radius:14px;padding:20px;display:grid}.admin-summary strong{font:36px Georgia;color:#8b7137}.admin-summary span{color:#756d63}.admin-grid{display:grid;grid-template-columns:minmax(320px,.65fr) minmax(550px,1.35fr);gap:18px;align-items:start}.admin-card{background:#fff;border:1px solid #e5dbce;border-radius:16px;padding:24px}.admin-card h2{font:30px Georgia;margin:3px 0 20px}.quick-create{display:grid;grid-template-columns:1fr auto;gap:8px}.organization-list{display:grid;gap:10px;margin-top:18px}.organization-list>form{border:1px solid #eee5db;border-radius:11px;padding:12px;display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}.organization-list>form>div{display:grid;grid-template-columns:1.2fr .8fr;gap:7px}.switch{display:flex;gap:6px;align-items:center}.switch input,.account-flags input,.permission-panel input{width:auto}.account-flags{display:flex;gap:18px;align-items:end}.account-flags label{display:flex;gap:7px;align-items:center}.permission-panel{margin-top:24px;border-top:1px solid #ede5db;padding-top:20px}.permission-panel h3{margin:0}.permission-panel p{color:#81776e;margin:3px 0 15px}.permission-panel fieldset{border:1px solid #e9dfd3;border-radius:12px;margin:12px 0;padding:15px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.permission-panel legend{padding:0 7px;color:#96783b;font-weight:700}.permission-panel fieldset label{display:flex;align-items:start;gap:9px}.permission-panel fieldset span{display:grid}.permission-panel small,.users-table td>small{display:block;color:#8b8177}.users-table{margin-top:18px}.users-table td form{display:inline}.users-table table{min-width:950px}
@media(max-width:900px){.login-shell{grid-template-columns:1fr;padding:25px}.login-brand{padding:25px}.login-brand h1{font-size:46px}.admin-grid{grid-template-columns:1fr}.admin-summary{grid-template-columns:repeat(2,1fr)}.permission-panel fieldset{grid-template-columns:1fr}}@media(max-width:600px){.admin-app{padding:18px}.admin-header{align-items:start;flex-direction:column;gap:12px}.admin-summary{grid-template-columns:1fr 1fr}.organization-list>form,.organization-list>form>div,.quick-create{grid-template-columns:1fr}.sidebar-user{display:none}}

/* Refinamento visual e identidade Zoe */
:root{--wine-dark:#5b2638;--wine-soft:#8e4a60;--restricted:#8e2638;--restricted-dark:#631827;--surface:#fffdfc}
button,a,input,select,textarea{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c993a333;outline-offset:2px}
input:focus,select:focus,textarea:focus{border-color:#b67c8d;box-shadow:0 0 0 4px #9a526718}
.primary:hover,.button:hover,.small-button:hover{transform:translateY(-1px);box-shadow:0 8px 22px #6f3c4b22}
.paper{box-shadow:0 18px 55px #6f3c4b0c;border-color:#eadfdd}.paper:hover{border-color:#dfd0cd}
.contract-app{grid-template-columns:272px minmax(0,1fr)}.contract-sidebar{padding:26px 24px;background:linear-gradient(180deg,#fffafa 0%,#faecef 100%);overflow:visible}.clinic-symbol{width:106px;height:106px;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #7b3b4e1a;border:1px solid #ead8dd;display:grid;place-items:center;padding:5px}.clinic-symbol img{display:block;width:100%;height:100%;object-fit:contain;border-radius:15px;mix-blend-mode:multiply}.contract-sidebar>small{margin-top:14px}.contract-sidebar>strong{margin-bottom:26px}.contract-sidebar nav a{position:relative;display:flex;align-items:center;min-height:48px}.contract-sidebar nav a:hover{background:#ffffffa8;transform:translateX(2px)}.contract-sidebar nav a.active{box-shadow:0 8px 24px #6f3c4b12}.header-logo{width:104px;height:104px;object-fit:contain;border-radius:15px;mix-blend-mode:multiply}.contract-main>header{margin-bottom:22px}.contract-main h1{letter-spacing:-.5px}
.restricted-link{margin-top:10px!important;background:linear-gradient(135deg,var(--restricted),var(--restricted-dark))!important;color:#fff!important;box-shadow:0 10px 24px #7a1e3030!important;border:1px solid #a43c4e!important}.restricted-link:hover{background:linear-gradient(135deg,#a62d43,#701a2a)!important}.restricted-link em{margin-left:auto;font-size:8px;font-style:normal;letter-spacing:1.2px;background:#ffffff24;border:1px solid #ffffff35;padding:3px 5px;border-radius:99px}
.role-tabs{display:grid;grid-template-columns:repeat(2,minmax(220px,330px));gap:14px;margin:24px 0 28px}.role-tabs label{position:relative;display:flex;align-items:center;gap:14px;min-height:82px;padding:14px 18px;border:1px solid #e4d5d9;border-radius:18px;background:linear-gradient(145deg,#fff,#fdf7f8);cursor:pointer;box-shadow:0 8px 24px #6f3c4b09}.role-tabs label:hover{border-color:#cdaab4;transform:translateY(-2px);box-shadow:0 12px 28px #6f3c4b12}.role-tabs input{position:absolute;opacity:0;pointer-events:none}.role-tabs .role-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:14px;background:#f4e7ea;color:var(--wine);font-weight:800}.role-tabs label>span:last-child{display:grid}.role-tabs strong{font-size:15px;color:var(--wine-dark)}.role-tabs small{font-size:12px;color:#95868a}.role-tabs label:has(input:checked){border-color:#96556a;background:linear-gradient(145deg,#fff,#f8e8ed);box-shadow:0 0 0 3px #8f4b6014,0 14px 32px #6f3c4b16}.role-tabs label:has(input:checked) .role-icon{background:linear-gradient(135deg,var(--wine),var(--wine-dark));color:#fff;box-shadow:0 7px 18px #6f3c4b36}.role-tabs label:has(input:checked)::after{content:"✓";position:absolute;right:14px;top:12px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--wine);color:#fff;font-size:12px}
.account-menu{position:relative}.account-menu summary{list-style:none;cursor:pointer;user-select:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary{display:flex;align-items:center;gap:9px;border-radius:12px;padding:8px}.account-menu summary:hover{background:#fff}.account-menu summary>span:nth-child(2){min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-menu summary i{font-style:normal;margin-left:auto;color:#9d8d91}.user-avatar{width:34px;height:34px;display:grid!important;place-items:center;flex:0 0 34px;border-radius:50%;background:linear-gradient(135deg,#8c4b5e,#5d2939);color:#fff!important;font-weight:800;font-size:13px}.account-popover{position:absolute;z-index:50;right:0;min-width:190px;background:#fff;border:1px solid #e6d9db;border-radius:13px;padding:10px;box-shadow:0 18px 50px #3e222a25}.account-popover>span{display:block;color:#88777c;font-size:12px;padding:5px 7px 9px}.account-popover form{display:block}.logout-button{width:100%;border:1px solid #ead9dc;background:#fff8f9;color:#8c3043;padding:10px 12px;border-radius:9px;cursor:pointer;text-align:left}.logout-button:hover{background:#8f2639;color:#fff;border-color:#8f2639}.sidebar-user{position:absolute;bottom:20px;left:16px;right:16px;padding-top:11px}.sidebar-user summary>span:nth-child(2){display:grid;flex:1}.sidebar-user summary strong{font:600 13px Inter;margin:0;color:#523d43}.sidebar-user summary small{margin:0;color:#9b858a;letter-spacing:0;text-transform:none}.sidebar-user .account-popover{left:0;right:0;bottom:calc(100% + 8px)}.header-account .account-popover{top:calc(100% + 8px)}.restricted-action{display:block;text-decoration:none;color:#81273a;background:#fbecef;padding:10px;border-radius:9px;margin-bottom:7px;font-weight:700}.restricted-action:hover{background:#8c273b;color:#fff}
.routes-brand{display:flex;align-items:center;gap:14px}.routes-brand>img{width:66px;height:66px;object-fit:contain;border-radius:12px;mix-blend-mode:multiply}.routes-brand h1{margin:0!important}.routes-brand small{display:block;margin-bottom:4px}.routes-app>header{align-items:center;padding:12px 0 20px}.routes-app nav{align-items:center}.routes-app nav a:hover{background:#fff;transform:translateY(-1px)}.routes-app nav .account-menu{margin-left:5px}.routes-app nav .account-menu summary{background:#ffffff8c;border:1px solid #e3d9cd}.routes-app nav .account-menu summary>span:nth-child(2){max-width:120px}.routes-app nav .account-popover{top:calc(100% + 8px)}
.login-logo{width:190px;height:190px;object-fit:contain;border-radius:25px;mix-blend-mode:multiply}.login-card-logo{width:92px;height:92px;object-fit:contain;border-radius:15px;float:right;mix-blend-mode:multiply}.sign-logo{display:block;width:118px;height:118px;object-fit:contain;border-radius:18px;margin:0 auto 10px;mix-blend-mode:multiply}

/* ADM Master */
.restricted-page{background:radial-gradient(circle at top right,#f6e9ec 0,transparent 32%),#f7f2eb}.admin-app{max-width:1420px;padding:30px 38px 60px}.admin-header{align-items:center;border-bottom:1px solid #d9c9c9;padding-bottom:24px}.admin-brand{display:flex;align-items:center;gap:18px}.admin-brand>img{width:78px;height:78px;object-fit:contain;border-radius:15px;mix-blend-mode:multiply}.admin-brand h1{margin:2px 0!important;color:#3f252c}.admin-brand p{margin:0!important;letter-spacing:0!important;color:#796a6e!important;font-weight:400!important}.restricted-badge{display:inline-flex;background:#8d2639;color:#fff!important;padding:5px 10px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:1.5px;box-shadow:0 6px 16px #7e20322b}.admin-header nav{display:flex;align-items:center}.back-system{padding:10px 14px;border:1px solid #dfd3ce!important;background:#fff!important;border-radius:10px!important;color:#57484b;text-decoration:none}.back-system:hover{border-color:#b89b9f!important;transform:translateY(-1px)}.admin-header .header-account summary{background:#fff;border:1px solid #dfd3d2}.admin-header .account-popover{top:calc(100% + 8px)}
.security-notice{display:flex;align-items:center;gap:15px;margin:22px 0;background:linear-gradient(135deg,#6b1e2d,#932d41);color:#fff;border-radius:16px;padding:17px 20px;box-shadow:0 14px 34px #671b2921}.security-notice .security-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:#ffffff18;font-size:23px}.security-notice strong{font-size:16px}.security-notice p{margin:3px 0 0;color:#f6dfe4}
.admin-summary{grid-template-columns:repeat(3,1fr);gap:16px}.admin-summary article{position:relative;overflow:hidden;padding:22px 24px;border-color:#e2d7d3;box-shadow:0 10px 34px #42292e0a}.admin-summary article::after{content:"";position:absolute;right:-25px;bottom:-35px;width:100px;height:100px;border-radius:50%;background:#8d263908}.admin-summary .summary-icon{font-size:12px;color:#4f8b6b}.admin-summary .summary-icon.master{color:#8d2639}.admin-summary .summary-icon.temporary{color:#b28a36}.admin-summary strong{font-size:38px;color:#4b3036}.admin-summary span:last-child{font-weight:600}
.admin-card{border-color:#e1d5d1;box-shadow:0 16px 48px #4630370b;border-radius:19px}.account-editor{padding:30px}.editor-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;padding-bottom:22px;border-bottom:1px solid #eee4df}.editor-heading h2{font-size:34px;margin:2px 0 5px}.editor-heading>div>span{color:#807276}.company-field{display:grid;gap:6px;max-width:420px;margin-top:22px}.account-fields{margin-top:24px;gap:18px}.account-fields label small{color:#95898b}.account-status-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.account-status-panel label{display:flex;align-items:flex-start;gap:12px;border:1px solid #e6dad8;border-radius:14px;padding:16px;background:#fdfafa;cursor:pointer}.account-status-panel label:hover{border-color:#c9aeb3}.account-status-panel input{width:auto;margin-top:4px}.account-status-panel span{display:grid}.account-status-panel small{color:#908387}.account-status-panel .master-toggle{background:#fff4f6;border-color:#e4bcc5}.account-status-panel .master-toggle strong{color:#842a3d}
.permission-panel{margin-top:26px;padding-top:24px}.permission-heading{display:flex;justify-content:space-between;align-items:center}.permission-heading h3{font-size:21px}.permission-lock{font-size:26px}.permission-groups{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}.permission-group-card{overflow:hidden;border:1px solid #e5d7d4;border-radius:14px;background:#fdfbf9}.permission-group-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:14px;padding:14px 16px;list-style:none;cursor:pointer;user-select:none}.permission-group-card>summary::-webkit-details-marker{display:none}.permission-group-card>summary:hover{background:#faf2f4}.permission-group-card>summary>span:first-child{display:grid;gap:2px}.permission-group-card>summary strong{color:#6d3e4b;font-size:14px}.permission-group-card>summary small{color:#958489;font-size:11px}.permission-group-count{padding:5px 9px;border-radius:99px;background:#f3e5e8;color:#793448;font-size:11px;font-weight:700}.permission-group-card>summary i{font-style:normal;color:#8a6270;font-size:18px;transition:transform .2s}.permission-group-card[open]>summary{border-bottom:1px solid #eee2df;background:#fff8fa}.permission-group-card[open]>summary i{transform:rotate(180deg)}.permission-group-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px}.permission-group-options label{display:flex;align-items:flex-start;gap:9px;min-height:50px;padding:9px 10px;border-radius:9px;cursor:pointer}.permission-group-options label:hover{background:#f7eef0}.permission-group-options input{flex:0 0 auto;width:auto;margin-top:4px;accent-color:#842a3d}.permission-group-options label>span{display:grid;gap:2px}.permission-group-options strong{font-size:12px;line-height:1.35}.permission-group-options small{font-size:9px;color:#998d8f}.editor-actions{display:flex;justify-content:flex-end;margin-top:24px}.editor-actions .primary{min-width:240px;background:linear-gradient(135deg,#773044,#551f30);padding:13px 20px}
.users-table{margin-top:20px;padding:28px}.users-table h2{margin-bottom:4px}.users-table .admin-user-search{width:100%;margin:0 0 20px}.users-table .admin-user-search input{flex:1;min-width:min(100%,420px)}.table-user{display:flex;align-items:center;gap:10px}.table-user>span:last-child{display:grid}.access-pill{display:inline-flex;padding:6px 10px;border-radius:99px;background:#eee9e6;color:#6d6260;font-size:12px;font-weight:700}.master-access{background:#f7e1e6;color:#842a3d}.expiry{display:block;color:#a17a31!important;margin-top:4px}.edit-user{display:inline-block;padding:7px 10px;background:#f4e9ec;color:#7d3044;border-radius:8px;text-decoration:none;font-weight:700;font-size:12px}.edit-user:hover{background:#7d3044;color:#fff}.users-table td form{margin-left:5px}

@media(max-width:1000px){.contract-app{grid-template-columns:86px minmax(0,1fr)}.clinic-symbol{width:58px;height:58px;border-radius:14px;padding:3px}.clinic-symbol img{width:100%;height:100%;border-radius:11px}.contract-sidebar nav a{justify-content:center}.restricted-link em{display:none}.account-menu.sidebar-user{display:none}}
@media(max-width:760px){.role-tabs{grid-template-columns:1fr}.routes-brand>img{width:54px;height:54px}.routes-app>header nav{flex-wrap:wrap}.header-account summary>span:nth-child(2){display:none}.admin-brand>img{width:62px;height:62px}.admin-header nav{width:100%;justify-content:space-between}.security-notice{align-items:flex-start}.account-status-panel{grid-template-columns:1fr}.admin-summary{grid-template-columns:1fr}.editor-heading{flex-direction:column}.permission-group-card>summary{grid-template-columns:minmax(0,1fr) auto 18px;padding:12px}.permission-group-options{grid-template-columns:1fr}.permission-group-count{font-size:10px}.login-card-logo{float:none}.header-logo{width:76px;height:76px}}

/* Minha conta */
.user-avatar{overflow:hidden}.user-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.account-action{display:grid!important;grid-template-columns:24px 1fr;column-gap:5px;align-items:center;margin-bottom:8px;padding:10px 11px!important;border-radius:9px;text-decoration:none;color:#5c444a;background:#faf5f6}.account-action strong{font:700 13px Inter!important;color:#5c3440!important;margin:0!important}.account-action small{grid-column:2;color:#94858a!important;letter-spacing:0!important;text-transform:none!important;margin:0!important}.account-action:hover{background:#f2e2e6;color:#772b40}
.account-page{background:radial-gradient(circle at 12% 0,#f5e4e9 0,transparent 30%),#f7f2eb}.account-app{max-width:1180px;margin:auto;padding:34px 38px 70px}.account-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddcfcb;padding-bottom:24px}.account-brand{display:flex;align-items:center;gap:18px}.account-brand>img{width:82px;height:82px;object-fit:contain;border-radius:16px;mix-blend-mode:multiply}.account-brand p{margin:0;color:#a1833f;letter-spacing:2.6px;font-size:11px;font-weight:800}.account-brand h1{margin:3px 0;font:42px Georgia;color:#4e2d36}.account-brand span{color:#7d6d71}.account-profile-card{display:grid;grid-template-columns:1fr 290px;align-items:center;gap:24px;margin:24px 0;background:linear-gradient(135deg,#fff,#fdf7f8);border:1px solid #e3d4d4;border-radius:20px;padding:24px 28px;box-shadow:0 16px 48px #5130390b}.account-photo-column{display:flex;align-items:center;gap:18px}.account-avatar-preview{width:92px!important;height:92px!important;flex-basis:92px!important;font-size:32px!important;box-shadow:0 12px 28px #642c3d26;border:4px solid #fff}.account-photo-column h2{margin:0;font:29px Georgia;color:#56303b}.account-photo-column p{margin:4px 0;color:#76666a}.account-photo-column>div>span{color:#a08651;font-size:13px}.account-access-note{border-left:1px solid #eadcdf;padding-left:24px}.account-access-note>span{color:#a3813d;font-size:10px;font-weight:800;letter-spacing:2px}.account-access-note strong{display:block;color:#6f2f43;margin:5px 0}.account-access-note p{margin:0;color:#84767a;font-size:12px}.account-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-settings-card{background:#fff;border:1px solid #e2d6d2;border-radius:19px;padding:26px;box-shadow:0 16px 48px #4630370b}.settings-heading{display:flex;gap:13px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #eee5e2}.settings-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:#f4e4e8;color:#7b3146}.settings-icon.lock{background:#f6edda;color:#9b7630}.settings-heading h2{font:27px Georgia;color:#533039;margin:0}.settings-heading p{margin:3px 0 0;color:#8b7c80;font-size:13px}.avatar-form,.password-form{display:grid;gap:15px;margin-top:20px}.avatar-upload{display:grid;gap:6px;border:1px dashed #c9aeb5;border-radius:14px;padding:18px;background:#fffafb;color:#6c4d56}.avatar-upload input{padding:9px;background:#fff}.avatar-upload small,.password-form small{color:#95878a}.password-form label{display:grid;gap:6px;color:#6f595f;font-size:13px}.account-settings-card .primary{justify-self:start;background:linear-gradient(135deg,#773044,#551f30)}.remove-avatar{margin-top:10px;border:0;background:transparent;color:#993c50;text-decoration:underline;cursor:pointer;padding:4px 0}
@media(max-width:760px){.account-app{padding:20px 15px 50px}.account-header{align-items:flex-start;flex-direction:column;gap:16px}.account-brand>img{width:64px;height:64px}.account-brand h1{font-size:34px}.account-profile-card{grid-template-columns:1fr;padding:20px}.account-access-note{border-left:0;border-top:1px solid #eadcdf;padding:16px 0 0}.account-settings-grid{grid-template-columns:1fr}.account-avatar-preview{width:72px!important;height:72px!important;flex-basis:72px!important}}

/* Perfil clicável e informações da conta */
.avatar-click-form{margin:0}.avatar-clickable{position:relative;display:block;cursor:pointer;border-radius:50%}.avatar-clickable input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.avatar-clickable:hover .account-avatar-preview{transform:scale(1.025);filter:brightness(.88)}.avatar-clickable:focus-within{outline:3px solid #a8637738;outline-offset:4px}.avatar-edit-badge{position:absolute;right:-1px;bottom:4px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#8a3a51,#61263a);color:#fff;border:3px solid #fff;font-size:14px;box-shadow:0 6px 15px #56203235}.avatar-help{display:block;margin-top:8px;color:#8c7279}.remove-avatar.compact{margin-top:3px;font-size:11px}.account-settings-grid{grid-template-columns:1.12fr .88fr;align-items:stretch}.account-information-card{padding-bottom:28px}.account-information{display:grid;grid-template-columns:1fr 1fr;margin:18px 0 0}.account-information>div{padding:13px 10px;border-bottom:1px solid #eee5e2}.account-information dt{color:#9a888c;font-size:11px;margin-bottom:3px}.account-information dd{margin:0;color:#563d43;font-weight:700;overflow-wrap:anywhere}.account-status-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#4f9b72;box-shadow:0 0 0 4px #4f9b7215}.account-permissions{margin-top:20px;padding:17px;border-radius:14px;background:#faf5f3;border:1px solid #eee1dd}.account-permissions>span{display:block;color:#a17d35;font-size:10px;font-weight:800;letter-spacing:1.8px;margin-bottom:9px}.account-permissions>div{display:flex;flex-wrap:wrap;gap:6px}.account-permissions em{font-style:normal;font-size:11px;font-weight:700;color:#743348;background:#f0dfe4;border-radius:99px;padding:6px 9px}.account-permissions small{display:block;color:#938489;margin-top:12px}.password-form{margin-top:18px}.password-form .primary{margin-top:3px}
@media(max-width:900px){.account-settings-grid{grid-template-columns:1fr}.account-information{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.account-photo-column{align-items:flex-start}.account-information{grid-template-columns:1fr}.account-information>div{padding-left:0;padding-right:0}}

/* Criação segura de contas */
.account-status-panel.single-status{grid-template-columns:minmax(280px,560px)}.new-account-default{display:flex;align-items:center;gap:12px;max-width:560px;margin-top:20px;padding:16px;border:1px solid #cfe1d8;border-radius:14px;background:#f2faf6}.new-account-default>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:50%;background:#39775c;color:#fff;font-weight:800}.new-account-default>div{display:grid}.new-account-default strong{color:#315f4d}.new-account-default small{color:#71837b;margin-top:2px}

/* Rodapé global */
body{min-height:100vh;display:flex;flex-direction:column}.site-credit{position:relative;z-index:5;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;min-height:54px;margin-top:auto;padding:13px 22px;border-top:1px solid #e7d9d5;background:#fffaf9;color:#8b777b;font-size:12px;letter-spacing:.2px}.site-credit strong{color:#653445;font-size:13px}.site-credit i{color:#ba9450;font-style:normal}.site-credit a{color:#76364a;font-weight:700;text-decoration:none}.site-credit a:hover{text-decoration:underline}.contract-app{min-height:calc(100vh - 54px)}.contract-sidebar{height:calc(100vh - 54px)}.login-shell{min-height:calc(100vh - 54px)}
@media(max-width:520px){.site-credit{gap:5px 7px;padding:12px 14px}.site-credit>span{width:100%;text-align:center}.site-credit i{display:none}}

/* Correção de largura: o rodapé não deve transformar as telas em itens flexíveis */
body{display:block}.site-credit{width:100%;margin-top:0}.routes-app{width:min(100%,1500px)}.admin-app{width:min(100%,1420px)}.account-app{width:min(100%,1180px)}.login-shell{width:min(100%,1200px)}.sign-card{width:min(calc(100% - 60px),850px)}
@media(max-width:650px){.sign-card{width:calc(100% - 24px)}.site-credit{min-height:auto}}

/* ADM Master: uso confortável em celular */
@media(max-width:760px){
    .restricted-page{background:#f7f2eb}
    .admin-app{width:100%;padding:16px 14px 36px}
    .admin-header{gap:14px;padding-bottom:16px}
    .admin-brand{width:100%;gap:12px;align-items:center}
    .admin-brand>img{width:52px;height:52px;border-radius:12px}
    .admin-brand h1{font-size:31px!important;line-height:1.05}
    .admin-brand p{font-size:13px;line-height:1.35}
    .restricted-badge{font-size:9px;padding:4px 8px}
    .admin-header nav{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
    .back-system{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;font-size:13px;text-align:center}
    .admin-header .header-account summary{min-height:44px;padding:5px 8px}
    .admin-header .header-account summary>span:nth-child(2),.admin-header .header-account summary i{display:none}
    .security-notice{gap:10px;margin:16px 0;padding:14px;border-radius:14px}
    .security-notice .security-icon{width:34px;height:34px;flex-basis:34px;font-size:17px;border-radius:10px}
    .security-notice strong{font-size:14px}.security-notice p{font-size:12px;line-height:1.4}
    .admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
    .admin-summary article{min-height:104px;padding:13px 11px;border-radius:14px}
    .admin-summary article::after{display:none}
    .admin-summary strong{font-size:28px;line-height:1}
    .admin-summary span:last-child{font-size:10px;line-height:1.25}
    .admin-card,.account-editor,.users-table{padding:18px 14px;border-radius:16px}
    .editor-heading{gap:10px;padding-bottom:16px}
    .editor-heading h2,.admin-card h2{font-size:27px;line-height:1.1}
    .editor-heading>div>span,.section-title .muted{font-size:13px;line-height:1.45}
    .company-field{max-width:none;margin-top:16px}
    .account-fields{grid-template-columns:1fr;margin-top:18px;gap:13px}
    .account-fields label{min-width:0}
    .account-status-panel.single-status{grid-template-columns:1fr}
    .account-status-panel label{padding:13px}
    .permission-panel{margin-top:20px;padding-top:18px}
    .permission-heading{align-items:flex-start;gap:10px}
    .permission-heading h3{font-size:19px}.permission-heading p{font-size:12px;line-height:1.45}
    .permission-lock{font-size:22px}
    .permission-groups{gap:10px;margin-top:12px}
    .permission-panel fieldset{padding:12px}
    .permission-panel fieldset label{padding:10px 7px}
    .permission-panel fieldset strong{font-size:13px}.permission-panel fieldset small{overflow-wrap:anywhere}
    .editor-actions{justify-content:stretch;margin-top:18px}
    .editor-actions .primary{width:100%;min-width:0;min-height:48px}
    .legacy-import-card{margin-top:14px}
    .legacy-import-form{display:grid;gap:12px}.legacy-import-form .primary{width:100%;min-height:48px}
    .users-table{margin-top:14px}.users-table .section-title{gap:6px}
    .users-table .table-wrap{overflow:visible}
    .users-table table,.users-table tbody,.users-table tr,.users-table td{display:block;width:100%;min-width:0}
    .users-table thead{display:none}
    .users-table tr{padding:14px 0;border-bottom:1px solid #eee3df}
    .users-table tr:last-child{border-bottom:0;padding-bottom:0}
    .users-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:center;padding:7px 0;border:0;text-align:right;font-size:13px;overflow-wrap:anywhere}
    .users-table td::before{content:attr(data-label);color:#8d7b7f;font-size:11px;font-weight:800;letter-spacing:.4px;text-align:left;text-transform:uppercase}
    .users-table td:first-child{display:block;padding:0 0 12px;text-align:left}
    .users-table td:first-child::before{display:none}
    .users-table td:nth-child(2),.users-table td:nth-child(3),.users-table td:nth-child(4){justify-items:end}
    .users-table td:last-child{display:block;padding-top:12px;text-align:left}
    .user-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .users-table td:last-child form{margin:0}.users-table td:last-child .link{padding:7px 4px}
    .table-user{gap:10px}.table-user strong,.table-user small{overflow-wrap:anywhere}
}

@media(max-width:390px){
    .admin-app{padding-left:11px;padding-right:11px}
    .admin-summary article{padding:11px 8px}
    .admin-summary strong{font-size:25px}
    .admin-summary span:last-child{font-size:9px}
    .users-table td{grid-template-columns:92px minmax(0,1fr);gap:7px}
}

/* Compartilhamento dos links de assinatura */
.signature-link-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:7px}.signature-link-actions a,.copy-signature-link{display:inline-flex;padding:6px 9px;border-radius:7px;background:#f2e6e9;color:#783347;text-decoration:none;font-size:12px;font-weight:700}.copy-signature-link{text-decoration:none}.signature-link-actions a:hover,.copy-signature-link:hover{background:#783347;color:#fff}

/* Painel de rotas: alinhamento da estrutura Blade com a interface de referência */
.routes-header{gap:28px;align-items:center!important}.routes-brand{display:flex;align-items:center;gap:13px;text-decoration:none;min-width:255px}.routes-brand>img{width:58px;height:58px;object-fit:contain;border-radius:14px}.routes-brand small{display:block;margin:0!important;font-size:11px}.routes-brand h1{font-size:36px!important}.routes-navigation{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.routes-navigation>a{white-space:nowrap}.header-account{position:relative}.header-account summary{display:flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #e3d8cc;border-radius:13px;background:#fff;cursor:pointer;list-style:none}.header-account summary::-webkit-details-marker{display:none}.header-account summary .user-avatar{width:34px;height:34px}.header-account summary i{font-style:normal;color:#a08d80}.route-heading{gap:24px}.schedule-heading{align-items:end}.week-actions{justify-content:flex-end}.week-actions a,.week-actions button{white-space:nowrap}
.route-slot{display:flex;flex-direction:column;gap:7px;margin:0}.route-slot .slot-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.route-slot .slot-title span{color:#9b895f;font-size:11px}.route-slot .slot-cities{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:29px}.route-slot .city-map-link{border:0;padding:0;background:transparent;color:#6f5a35;text-align:left;cursor:pointer;font-size:12px}.route-slot .city-map-link:hover{text-decoration:underline;color:var(--wine)}.route-slot .city-map-link small{font-size:11px;color:var(--gold)}.route-slot .empty-city{color:#9b895f;font-style:italic;font-size:12px}.route-slot .edit-cities{width:100%;min-height:82px;padding:12px;border:1px solid #e8dfd2;border-radius:11px;background:#faf7f1;color:var(--ink);text-align:left;cursor:pointer}.route-slot .edit-cities:hover{border-color:#bda475;background:#fffdf9;box-shadow:0 6px 18px #6e4f2412;transform:translateY(-1px)}.route-slot .edit-cities:focus-visible{outline:3px solid #b4975240;outline-offset:2px}.route-slot .edit-cities:empty{display:none}.route-slot .slot-cities+.edit-cities{margin-top:0}.route-slot .slot-cities:has(.empty-city)+.edit-cities{color:#9b895f;font-style:italic}.route-slot .slot-cities:has(.empty-city)+.edit-cities::first-line{font-size:12px}
.route-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.route-cards article{display:block;padding:17px}.route-cards form{display:grid;grid-template-columns:1fr;gap:12px}.route-number{margin-bottom:10px}.route-cards label{font-size:12px;color:#756c62}.route-cards select{margin:0;background:#fffdf9}.route-cards .small-button{width:100%;margin-top:2px}.standby-panel{margin-top:22px;border:1px solid #e5dbce;border-radius:16px;padding:20px;background:linear-gradient(135deg,#fffdf9,#f2ebe3);box-shadow:0 10px 30px #6e4f240c}.standby-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.standby-head p{margin:0;color:var(--gold);letter-spacing:3px;font-size:11px;font-weight:800}.standby-head h3{font:26px Georgia;margin:4px 0}.standby-head>span{padding:7px 11px;border-radius:999px;background:#f2e7d2;color:#8c642d;font-size:11px;font-weight:800}.standby-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.standby-grid article{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e7ded1;border-radius:12px;background:#fff}.standby-grid article>div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.standby-grid strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standby-grid span{font-size:11px;color:#81776d}.team-heading{align-items:end}.team-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.primary-link{background:var(--wine)!important;color:#fff!important;font-weight:700}.professional-editor{padding:20px}.professional-form-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px}.photo-column{display:flex;flex-direction:column;gap:10px}.photo-column>img,.photo-placeholder{width:100%;aspect-ratio:1;border-radius:15px;object-fit:cover;background:#fbf7f1;border:1px dashed #cdb895;display:grid;place-items:center;color:var(--gold);font:40px Georgia}.photo-column>label{display:flex;flex-direction:column;gap:5px}.photo-column input[type=file]{font-size:11px}.photo-column small{color:#8d8173;font-size:10px}.professional-fields{align-content:start}.professional-fields textarea{min-height:100px}.active-check{display:flex!important;align-items:center;gap:8px}.active-check input{width:auto}.editor-documents{margin:18px 0;padding:14px;border-top:1px solid #eee5db}.editor-documents>div,.document-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.editor-documents span,.document-pills a{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:8px;background:#faf5ee;color:#6f5a35;font-size:11px;text-decoration:none}.editor-documents button{border:0;background:transparent;color:#a4404c;cursor:pointer}.professional-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.professional-card{position:relative}.professional-card .profile-head{align-items:center}.professional-card .professional-photo{width:58px;height:58px;border-radius:16px;object-fit:cover}.professional-card .profile-head>div:nth-child(2){flex:1;min-width:0}.professional-card .profile-head strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.professional-card .profile-head span,.professional-card .profile-head small{display:block}.active-pill{padding:4px 8px;border-radius:999px;background:#e5f2e9;color:#28624d;font-size:10px;font-style:normal;font-weight:800}.professional-card.inactive{opacity:.7}.professional-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #eee5db}.edit-professional{color:var(--wine);font-weight:700;text-decoration:underline}.empty-state{grid-column:1/-1;padding:35px;text-align:center;border:1px dashed #d6c4b2;border-radius:15px;color:#81776d;background:#fffdf9}
@media(max-width:1150px){.route-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.standby-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.routes-header{align-items:flex-start!important}.routes-navigation{max-width:570px}}
@media(max-width:900px){.route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.professional-cards{grid-template-columns:1fr}.professional-form-layout{grid-template-columns:150px minmax(0,1fr)}.standby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.routes-header{gap:14px}.routes-brand{min-width:0}.routes-brand h1{font-size:30px!important}.routes-navigation{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.routes-navigation>a{flex:0 0 auto}.header-account{margin-left:auto;flex:0 0 auto}.route-heading{align-items:flex-start;flex-direction:column}.week-actions{justify-content:flex-start}.professional-form-layout{grid-template-columns:1fr}.photo-column{max-width:180px}.route-cards{grid-template-columns:1fr}.standby-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.standby-grid{grid-template-columns:1fr}.professional-card footer{align-items:flex-start;flex-direction:column}.schedule-heading h2{font-size:30px!important}.week-actions a,.week-actions button{padding:9px 10px;font-size:12px}}

/* Route planner dialogs and responsive contract sidebar */
.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:rgba(50,35,31,.42);backdrop-filter:blur(5px)}
.modal-backdrop[hidden]{display:none}
.city-editor-modal,.planning-modal{position:relative;width:min(720px,100%);max-height:min(88vh,820px);overflow:auto;background:#fffdfb;border:1px solid #eadbd3;border-radius:24px;padding:30px;box-shadow:0 28px 90px rgba(54,30,34,.25)}
.planning-modal{width:min(1080px,100%)}
.modal-close{position:absolute;right:18px;top:16px;width:34px;height:34px;display:grid;place-items:center;box-sizing:border-box;padding:0;border:1px solid #eadbd3;border-radius:50%;background:#fff;color:var(--wine);font-size:22px;line-height:1;text-decoration:none;cursor:pointer}
.modal-close:hover{background:#f8e9ec}
.city-editor-modal h2,.planning-modal h2{margin:4px 0;font:34px Georgia;color:var(--wine)}
.city-editor-modal form{display:grid;gap:12px;margin-top:22px}
.city-search{position:relative;display:grid;gap:7px;color:#705d5a;font-size:13px}
.city-suggestions{position:absolute;z-index:4;left:0;right:0;top:68px;display:grid;gap:3px;padding:7px;background:#fff;border:1px solid #e3d5d1;border-radius:12px;box-shadow:0 14px 35px #4f28331f}
.city-suggestions[hidden]{display:none}
.city-suggestions button{display:flex;justify-content:space-between;gap:12px;border:0;border-radius:8px;padding:10px 12px;background:#fff;text-align:left;color:var(--ink);cursor:pointer}
.city-suggestions button:hover{background:#f8edef}
.city-suggestions span{color:#9a817f;font-size:12px}
.selected-cities{display:flex;flex-wrap:wrap;gap:8px;min-height:44px;padding:10px;border:1px dashed #d8c3c0;border-radius:12px;background:#fff9f9}
.selected-cities:empty::before{content:'Nenhuma cidade adicionada';color:#a38f8d;font-style:italic;font-size:13px}
.selected-cities>span{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:99px;background:#f3e4e8;color:#6f3c4b;font-size:12px}
.selected-cities button{border:0;border-radius:50%;width:21px;height:21px;background:#fff;color:var(--wine);cursor:pointer}
.selected-cities button:first-child{background:#b49752;color:#fff}
.city-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:8px}
.planning-modal .map-filters{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0 18px}
.map-filters label{display:grid;gap:8px;color:#705d5a;font-size:13px}
.map-filters b{color:var(--wine);font-size:16px}
.map-filters input[type=range]{accent-color:var(--wine);padding:0;border:0}
.planning-status{padding:22px;border-radius:14px;background:#faf3f1;color:#8d7772;text-align:center}
.planning-results{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:20px;margin-top:18px}
.planning-results iframe{width:100%;height:310px;border:1px solid #e6d9d2;border-radius:15px;background:#f3eee8}
.planning-results .city-map{width:100%;height:360px;border:1px solid #e2cfd0;border-radius:18px;background:#f5eceb;overflow:hidden;box-shadow:inset 0 0 0 5px #fff8}
.nearby-search{display:grid;gap:6px;margin:10px 0 12px;color:#806b6a;font-size:12px}
.nearby-search input{padding:10px 12px;border-color:#ddc9ca;background:#fffafb;border-radius:10px}
.nearby-empty{padding:20px;text-align:center;color:#9a8985;background:#fff9f8;border:1px dashed #ddc9ca;border-radius:11px}
.nearby-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--wine)}
.nearby-title small{color:#8d817a}
.nearby-list{display:grid;gap:7px;max-height:310px;overflow:auto;padding-right:4px}
.nearby-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #eadfd7;border-radius:11px;background:#fff}
.nearby-list article>div{display:grid;gap:2px;min-width:0}.nearby-list article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#49383a}.nearby-list article span{font-size:12px;color:#8e817a}
.nearby-list article button{border:1px solid #d9c2c3;border-radius:8px;padding:7px 9px;background:#fff7f8;color:var(--wine);cursor:pointer;white-space:nowrap}.nearby-list article button:hover{background:#f3e2e7}.nearby-list article button:disabled{opacity:.55;cursor:default}.nearby-actions{display:flex;gap:7px;align-items:center}.nearby-actions .button{background:#fff;border-color:#d9c2c3}
.planning-modal>footer{margin-top:18px;color:#9a8981;font-size:11px;text-align:right}
body.modal-open{overflow:hidden}
.contract-settings-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.contract-settings-heading h1{margin:2px 0 4px}.contract-settings-tabs{display:flex;gap:10px;margin:0 0 22px;padding:6px;background:#f4ecea;border:1px solid #eaded9;border-radius:14px}.contract-settings-tabs a{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:700;color:#765f5b}.contract-settings-tabs a.active{background:#fff;color:var(--wine);box-shadow:0 5px 18px #6f3c4b12}.contract-settings-tabs span{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:99px;background:#f2e4e7;font-size:12px}.contract-template-backdrop{z-index:120;overflow:auto}.contract-template-editor-card{position:relative;width:min(1180px,100%);max-height:calc(100dvh - 36px);overflow:auto;margin:0;padding:34px}.contract-template-editor-card>.modal-close{position:sticky;float:right;top:0;z-index:2}.template-role-toggle{display:grid!important;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:14px;border:1px solid #e7d9dc;border-radius:12px;background:#fff}.template-role-toggle input{width:auto;margin:4px 0 0}.template-role-toggle span{display:grid!important;gap:2px!important}.template-role-toggle small{color:#8f7e82}.client-contract-library{display:grid;gap:12px}.client-contract-library article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 20px;border:1px solid #eaded9;border-radius:14px;background:#fff}.client-contract-library article.template-inactive{opacity:.68;background:#f8f5f4}.client-contract-library article>div{display:grid;gap:4px}.client-contract-library article small{color:#8f817c}.client-contract-actions{display:flex!important;align-items:center;gap:8px}.client-contract-actions form{margin:0}.client-contract-actions .danger{border-color:#e0b8be;background:#fff7f8;color:#a13f4c}.client-contract-editor-card{width:min(1260px,100%)}.client-template-visual-editor{min-height:440px;background:#fff}.presentation-evaluation-detail .actions form{margin:0}.presentation-evaluation-detail .actions .danger{border:1px solid #d9aeb5;background:#fff;color:#a4404c}
@media(max-width:760px){.contract-settings-heading{align-items:stretch;flex-direction:column}.contract-settings-tabs{flex-direction:column}.contract-template-editor-card{padding:26px 16px;max-height:calc(100dvh - 18px)}.client-contract-library textarea{min-height:260px}}
.journey-video-player iframe{display:block;width:100%;height:100%;min-height:420px;border:0;background:#111}
.contract-sidebar{display:flex;flex-direction:column;overflow-y:auto;overflow-x:visible;min-height:calc(100vh - 54px)}
.contract-sidebar nav{flex:0 0 auto}
.sidebar-user{position:sticky;left:auto;right:auto;bottom:auto;margin:28px 0 0;padding-top:14px}
@media(max-width:760px){.modal-backdrop{padding:12px}.city-editor-modal,.planning-modal{padding:24px 18px;border-radius:18px}.planning-results,.planning-modal .map-filters{grid-template-columns:1fr}.planning-results iframe{height:230px}.nearby-list{max-height:260px}.sidebar-user{margin-top:18px}}

/* Consolidação visual: agenda, mapa e barra lateral */
.contract-app{align-items:stretch;min-height:calc(100vh - 54px)}
.contract-sidebar{position:sticky;top:0;height:100vh;max-height:100vh;min-height:0;overflow-x:hidden;overflow-y:auto}
.contract-sidebar nav{width:100%}
.contract-sidebar .sidebar-user{position:relative;inset:auto;margin-top:auto;padding-top:18px;flex:0 0 auto}
.contract-main{width:100%;max-width:none}
.week-board{align-items:start}
.route-slot{margin:0 0 10px;padding:10px;border:1px solid #eadfd4;border-radius:13px;background:linear-gradient(145deg,#fffdfb,#fff);box-shadow:0 5px 15px rgba(91,61,40,.04)}
.route-slot .slot-title{padding:0 2px 3px}
.route-slot .slot-cities{min-height:50px;justify-content:center;align-items:stretch;padding:7px 8px;border:1px solid #e5d4d7;border-radius:10px;background:linear-gradient(145deg,#fbf1f3,#fff9f8)}
.route-slot .city-map-link{display:block;width:100%;padding:4px 6px;border-radius:7px;color:#6b3546;font-size:13px;font-weight:650;line-height:1.35}
.route-slot .city-map-link:hover{background:#fff;color:#7b3046;text-decoration:none;box-shadow:0 3px 10px rgba(111,60,75,.08)}
.route-slot .city-map-link .city-distance{margin-left:3px;color:currentColor;font-size:11px;font-weight:500;opacity:.52;white-space:nowrap}
.route-slot .empty-city{padding:4px 6px;color:#9a7f83}
.route-slot .edit-cities{min-height:36px;margin-top:1px;padding:8px 10px;border-style:dashed;background:#fbf7f1;color:#765e35;font-size:12px;font-weight:650;text-align:center}
.route-slot .slot-cities:has(.empty-city)+.edit-cities{color:#765e35;font-style:normal}
.route-slot[class*="route-tone-"]{--route-accent:#8b596f;--route-deep:#623b4d;--route-soft:#f8eef3;--route-line:#dec8d3;position:relative;overflow:hidden;padding-left:13px;border-color:var(--route-line);background:linear-gradient(145deg,#fff 58%,var(--route-soft));box-shadow:0 5px 15px color-mix(in srgb,var(--route-accent) 9%,transparent)}
.route-slot[class*="route-tone-"]::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--route-accent)}
.route-tone-1{--route-accent:#9b5367!important;--route-deep:#6f3546!important;--route-soft:#fbf0f3!important;--route-line:#e6cbd2!important}
.route-tone-2{--route-accent:#a9792a!important;--route-deep:#72501d!important;--route-soft:#fcf4df!important;--route-line:#ead6aa!important}
.route-tone-3{--route-accent:#477a62!important;--route-deep:#315743!important;--route-soft:#eef7f2!important;--route-line:#c9e0d3!important}
.route-tone-4{--route-accent:#4c7090!important;--route-deep:#34516b!important;--route-soft:#edf4fa!important;--route-line:#c7d8e6!important}
.route-tone-5{--route-accent:#77628d!important;--route-deep:#544164!important;--route-soft:#f3eff8!important;--route-line:#d9cee7!important}
.route-tone-6{--route-accent:#aa624b!important;--route-deep:#783e2d!important;--route-soft:#fcf0eb!important;--route-line:#e7c8bc!important}
.route-tone-7{--route-accent:#337c7b!important;--route-deep:#225859!important;--route-soft:#eaf7f6!important;--route-line:#bfe0dd!important}
.route-tone-8{--route-accent:#6f8040!important;--route-deep:#4f5d2b!important;--route-soft:#f2f6e7!important;--route-line:#d2ddb5!important}
.route-tone-9{--route-accent:#506887!important;--route-deep:#354961!important;--route-soft:#eef2f8!important;--route-line:#c9d4e2!important}
.route-tone-10{--route-accent:#71648f!important;--route-deep:#4f4567!important;--route-soft:#f2eff8!important;--route-line:#d4cee4!important}
.route-slot[class*="route-tone-"] .slot-title strong{color:var(--route-deep)}
.route-slot[class*="route-tone-"] .slot-title span{padding:3px 7px;border-radius:999px;background:var(--route-soft);color:var(--route-deep);font-weight:750}
.route-slot[class*="route-tone-"] .slot-cities{border-color:var(--route-line);background:var(--route-soft)}
.route-slot[class*="route-tone-"] .city-map-link{color:var(--route-deep)}
.route-slot[class*="route-tone-"] .city-map-link:hover{color:var(--route-deep);box-shadow:0 3px 10px color-mix(in srgb,var(--route-accent) 14%,transparent)}
.route-slot[class*="route-tone-"] .edit-cities{border-color:var(--route-line);background:color-mix(in srgb,var(--route-soft) 65%,#fff);color:var(--route-deep)}
.route-slot .empty-programming-trigger{width:100%;min-height:50px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:5px 7px;border:0;border-radius:8px;background:transparent;color:var(--route-deep);text-align:left;cursor:pointer;transition:background .16s ease,transform .16s ease,box-shadow .16s ease}
.route-slot .empty-programming-trigger span{font-size:13px;font-style:italic}
.route-slot .empty-programming-trigger small{color:color-mix(in srgb,var(--route-deep) 72%,#fff);font-size:10px;font-style:normal;font-weight:700;letter-spacing:.2px}
.route-slot .empty-programming-trigger:hover{background:#fff;box-shadow:0 4px 13px color-mix(in srgb,var(--route-accent) 13%,transparent);transform:translateY(-1px)}
.route-slot .empty-programming-trigger:focus-visible{outline:3px solid color-mix(in srgb,var(--route-accent) 25%,transparent);outline-offset:1px}
.planning-status.error{border:1px solid #e3c4c6;background:#fff3f3;color:#984452}
.planning-results .city-map{isolation:isolate;min-height:360px;background:#f4ece8}
.planning-results .leaflet-container{font:13px/1.4 Inter,Segoe UI,sans-serif}
.nearby-list article{background:linear-gradient(145deg,#fff,#fffaf8)}
.nearby-list article:hover{border-color:#d9c2c3;box-shadow:0 5px 16px rgba(111,60,75,.07)}
@media(max-width:1000px){.contract-sidebar{height:100vh;max-height:100vh}.contract-sidebar .sidebar-user{display:none}}
@media(max-width:650px){.contract-sidebar{position:relative;height:auto;max-height:none;overflow:visible}.contract-sidebar .sidebar-user{display:none}.route-slot{padding:9px}.planning-results .city-map{min-height:260px;height:260px}}

/* O planejamento ocupa a janela sem criar duas barras de rolagem. */
.planning-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:hidden;padding:24px}
.planning-modal>h2{flex:0 0 auto}.planning-modal>.muted{margin-bottom:0}
.planning-modal .map-filters{flex:0 0 auto;margin:18px 0 12px}
.planning-modal .planning-status{flex:0 0 auto}
.planning-results{flex:1 1 auto;min-height:0;height:min(480px,calc(100dvh - 292px));margin-top:12px;overflow:hidden}
.planning-results>.city-map{height:100%!important;min-height:0!important}
.planning-results>div:last-child{display:flex;min-height:0;flex-direction:column}
.nearby-title,.nearby-search{flex:0 0 auto}.nearby-list{flex:1 1 auto;min-height:0;max-height:none}
.planning-modal>footer{flex:0 0 auto;margin-top:10px}
.nearby-list article{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.nearby-list article:hover,.nearby-list article:focus-within{border-color:#9b5367;box-shadow:0 7px 19px rgba(111,60,75,.12);transform:translateX(2px)}
@media(max-width:760px){.planning-modal{max-height:calc(100dvh - 12px);padding:20px 16px}.planning-results{height:auto;overflow:auto}.planning-results>.city-map{height:240px!important;min-height:240px!important}.nearby-list{min-height:250px;max-height:46dvh}}

/* Tela de TV: visual independente da agenda administrativa. */
.tv-page{min-width:1024px;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 10% 0,#fffdf9 0,#f3ede4 47%,#e9ded1 100%);color:#302822}
.tv-board{min-height:100vh;padding:clamp(24px,3vw,56px);display:flex;flex-direction:column;gap:22px}
.tv-board>header{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:28px;padding:0 0 20px;border-bottom:1px solid #d9cbbc}
.tv-board .routes-brand{min-width:0;gap:16px}.tv-board .routes-brand>img{width:68px;height:68px;padding:4px;background:#fff;border:1px solid #e4d8cc;border-radius:18px;box-shadow:0 8px 24px rgba(91,61,40,.08)}
.tv-board .routes-brand small{color:#a58747;font-size:12px;letter-spacing:3px;font-weight:800;text-transform:uppercase}.tv-board .routes-brand h1{margin:2px 0 0;font:clamp(30px,3vw,46px) Georgia;color:#633746}
.tv-board>header>div:nth-child(2){text-align:right}.tv-board>header p{margin:0;color:#b49752;letter-spacing:3px;font-size:11px;font-weight:800}.tv-board>header h2{margin:4px 0;font:clamp(26px,2.5vw,40px) Georgia;color:#302822}.tv-board>header span{color:#827268;font-size:14px}
.tv-board>header button{border:1px solid #c9b4a3;border-radius:12px;padding:11px 16px;background:#fffaf5;color:#713c4d;font-weight:800;cursor:pointer;box-shadow:0 5px 14px rgba(91,61,40,.08)}.tv-board>header button:hover{background:#713c4d;color:#fff}
.tv-week-board{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.tv-week-board .day-column{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;border:1px solid #dfd2c4;border-radius:20px;background:rgba(255,255,255,.88);box-shadow:0 12px 35px rgba(93,61,38,.08)}
.tv-week-board .day-title{padding:0 2px 12px;border-bottom:1px solid #eee4d9}.tv-week-board .day-title strong{color:#956f2f;font-size:16px;letter-spacing:1px}.tv-week-board .day-title span{font-size:16px;color:#6f625c}
.tv-week-board .route-slot{display:flex;flex-direction:column;gap:8px;min-height:0;margin:0;padding:13px 14px;border:1px solid #eaded2;border-radius:14px;background:linear-gradient(145deg,#fffefd,#faf6f0);box-shadow:none}.tv-week-board .route-slot .slot-title strong{color:#57313c;font-size:15px;letter-spacing:.3px}.tv-week-board .slot-cities{display:grid;gap:4px;min-height:31px}.tv-week-board .slot-cities span{color:#594842;font-size:14px;line-height:1.28}.tv-week-board .slot-cities .empty-city{color:#aa9163;font-style:italic}.tv-team{display:flex;justify-content:space-between;gap:7px;padding-top:8px;border-top:1px dashed #e6d8cc;color:#796b62;font-size:12px}.tv-team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tv-board>.sync{flex:0 0 auto;margin:0;padding:4px 2px 0;text-align:right;color:#647d67;font-size:13px}.tv-board>.sync span{margin-left:15px;color:#8d8178}.tv-board>.sync .live-dot{display:inline-block;width:8px;height:8px;margin:0 5px 1px 0;border-radius:50%;background:#4a8863;box-shadow:0 0 0 5px rgba(74,136,99,.12)}
@media(max-height:800px){.tv-board{padding:20px 30px;gap:14px}.tv-board>header{padding-bottom:14px}.tv-week-board{gap:10px}.tv-week-board .day-column{gap:6px;padding:12px}.tv-week-board .route-slot{gap:5px;padding:9px 10px}.tv-week-board .slot-cities span{font-size:12px}.tv-team{padding-top:5px;font-size:11px}}

/* Migração de contratos, evidências e impressão presencial. */
.legacy-import-card{border:1px solid #e4c7ce;background:linear-gradient(145deg,#fff,#fff7f8)}
.legacy-import-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px}.legacy-import-form .upload{margin:0}.legacy-import-form .primary{min-height:45px}
.template-library article.template-inactive{opacity:.68;background:#f7f4f3}.template-active-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:start;gap:11px;padding:14px;border:1px solid #e7d9dc;border-radius:12px;background:#fff9fa}.template-active-toggle input{width:auto;margin-top:4px}.template-active-toggle span{display:grid}.template-active-toggle small{color:#8f7e82;margin-top:2px}
.evidence-step{display:grid;gap:13px;padding:20px;border:1px solid #eadadd;border-radius:16px;background:#fffafa}.evidence-step>div:first-child{display:grid;grid-template-columns:34px 1fr;column-gap:11px}.evidence-step>div:first-child>b{grid-row:span 2;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--wine);color:#fff}.evidence-step h2{margin:0;color:var(--wine);font:22px Georgia,serif}.evidence-step p{margin:2px 0 0;color:#87787b}.capture-button{display:block;padding:13px 15px;border:1px dashed #b98e99;border-radius:10px;background:#fff;color:var(--wine);text-align:center;font-weight:750;cursor:pointer}.capture-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.selfie-preview{min-height:135px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#f3eaec;color:#958488}.selfie-preview img{display:block;max-width:100%;max-height:300px;object-fit:contain}.signature-canvas{display:block;width:100%;height:190px;border:1px solid #cfb8be;border-radius:12px;background:#fff;touch-action:none}.evidence-status{margin:0;padding:10px 13px;border-radius:9px;background:#f4ecee;color:#745861}.document-number{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:9px;border-radius:50%;background:#f1e2e6;color:var(--wine);font-size:12px}.signed-downloads{display:grid;gap:8px;margin-top:15px}.signed-downloads a{padding:11px 13px;border-radius:9px;background:#f5eaed;color:var(--wine);font-weight:750;text-decoration:none}.legacy-label{display:block;margin-top:5px;color:#9c7944}.print-pending{background:#fff1dc!important;color:#74531a!important}
@media(max-width:760px){.legacy-import-form{grid-template-columns:1fr}.sign-card{padding:24px 18px}.public-sign{padding:12px}.signature-canvas{height:160px}}

/* Fluxo público de assinatura fiel ao portal original. */
body.public-sign{padding:0;background:#f8f4f1;color:#352d2a}
.public-sign-header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 680px)/2));border-bottom:1px solid #e6d9d3;background:#fff}
.public-sign-header a{display:flex;align-items:center;gap:10px;text-decoration:none}.public-sign-header img{width:44px;height:44px;border-radius:10px;object-fit:contain}.public-sign-header strong{font:19px Georgia,serif;color:var(--wine)}.public-sign-header>span{color:var(--green);font-size:10px;font-weight:750;letter-spacing:1px;text-transform:uppercase}
.public-sign-shell{min-height:calc(100vh - 122px);padding:30px 12px}.public-sign .sign-card{width:min(680px,calc(100% - 24px));max-width:680px;margin:0 auto;padding:32px;border:1px solid #e7d9d3;border-radius:18px;box-shadow:0 18px 45px rgba(61,37,24,.07)}
.sign-progress{position:relative;display:flex;justify-content:space-between;margin:0 0 28px}.sign-progress::before{content:"";position:absolute;z-index:0;left:7%;right:7%;top:15px;border-top:1px solid #ddd2cc}.sign-progress span{position:relative;z-index:1;display:grid;justify-items:center;gap:4px;color:#aa9e98;font-size:10px}.sign-progress b{width:30px;height:30px;display:grid;place-items:center;border:1px solid #d8ccc5;border-radius:50%;background:#fff;font-size:11px}.sign-progress span.active{color:var(--wine)}.sign-progress span.active b{border-color:var(--wine);background:var(--wine);color:#fff}.sign-progress small{font-size:9px;text-transform:uppercase;letter-spacing:.7px}
.sign-step>.eyebrow,.sign-complete>.eyebrow{margin:0 0 8px}.sign-step h1,.sign-complete h1{margin:0 0 10px;font:30px Georgia,serif;color:var(--wine)}.sign-step>p:not(.eyebrow),.sign-complete>p:not(.eyebrow){color:#7e706b;font-size:12px;line-height:1.65}.sign-step[hidden]{display:none!important}
.public-document-list{display:grid;gap:8px;margin:22px 0}.public-sign .public-document-list details{margin:0;padding:0;overflow:hidden;border:1px solid #e7d9d5;border-radius:10px;background:#fff}.public-document-list summary{display:flex;align-items:center;gap:10px;padding:13px;cursor:pointer;list-style:none;font-size:11px}.public-document-list summary::-webkit-details-marker{display:none}.public-document-list summary strong{flex:1;min-width:0}.public-document-list summary i{font-style:normal;color:#9f8984;transition:transform .15s ease}.public-document-list details[open] summary i{transform:rotate(180deg)}
.public-document-list .document-preview{max-height:390px;overflow:auto;padding:18px;border-top:1px solid #eadfdb;background:#fffaf8;font:11px/1.65 Georgia,serif;color:#352d2a}.public-document-list .text-contract{white-space:pre-wrap}.public-document-list .html-contract{white-space:normal}.public-document-list .html-contract img{display:block;max-width:100%!important;height:auto!important;max-height:110px;margin:0 auto;object-fit:contain}.public-document-list .html-contract p{margin:0 0 10px}.public-document-list .html-contract table{min-width:0;width:100%;border-collapse:collapse}.public-document-list .html-contract td,.public-document-list .html-contract th{padding:5px;border:1px solid #ddd}
.sign-main-button{width:100%;margin-top:8px}.selfie-capture{width:210px;height:210px;display:grid;place-items:center;overflow:hidden;margin:24px auto 14px;border:1px dashed #c9b8af;border-radius:50%;background:#f5efeb}.selfie-capture>span{display:flex;flex-direction:column;align-items:center;color:#b9a097;font-size:54px}.selfie-capture small{font-size:10px}.selfie-capture img{width:100%;height:100%;object-fit:cover}.photo-capture-button{display:flex!important;width:210px;justify-content:center;margin:0 auto 10px;padding:11px;border-radius:9px;background:#eee3dd;color:var(--wine);font-size:11px;font-weight:750;cursor:pointer}.photo-capture-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.sign-step .signature-canvas{height:210px;margin-top:18px;border-bottom:2px solid #8e7c73}.clear-signature{display:block;margin:8px auto 18px;color:#8a5c49;font-size:10px}.sign-step-actions{display:grid;grid-template-columns:auto 1fr;gap:9px;margin-top:16px}.sign-step-actions .primary,.sign-step-actions .button{margin:0}.sign-step .evidence-status{text-align:center;font-size:10px}.sign-complete{text-align:center;padding:16px 0}.done-icon{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;background:#e2f1e9;color:var(--green);font-size:34px}
.done-icon.unavailable{background:#f7e4e7;color:#934254}.created-signature-link{display:grid;gap:10px;margin-top:22px;padding:18px;border:1px solid #dec9ce;border-radius:14px;background:#fff8fa}.created-signature-link>strong{color:var(--wine)}.created-signature-link>a{overflow:hidden;color:#7c4353;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.created-signature-link>div{display:flex;gap:8px;flex-wrap:wrap}.created-signature-link .button,.created-signature-link .primary{margin:0}
.public-sign .site-credit{background:#fff;border-top:1px solid #e6d9d3}

/* Acompanhamento compacto: títulos longos ficam recolhidos. */
.signature-tracking{padding:24px}.signature-table{min-width:1040px}.signature-table th,.signature-table td{padding:12px 10px}.signature-table th:nth-child(1){width:145px}.signature-table th:nth-child(2){width:82px}.signature-table th:nth-child(3){width:105px}.signature-table th:nth-child(4){width:100px}.signature-table th:nth-child(5){width:185px}.signature-table th:nth-child(6){width:150px}.signature-table th:nth-child(7){width:220px}
.request-documents{width:180px}.request-documents summary{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #eadadd;border-radius:9px;background:#fff8fa;color:var(--wine);font-size:12px;font-weight:700;cursor:pointer;list-style:none}.request-documents summary::-webkit-details-marker{display:none}.request-documents summary b{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--wine);color:#fff;font-size:10px}.request-documents>div{display:grid;gap:5px;margin-top:7px}.request-documents a,.request-documents span{display:block;max-width:180px;overflow:hidden;padding:6px 8px;border-radius:7px;background:#f8f3f1;color:#6b5359;font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.request-documents a:hover{background:#eee0e4;color:var(--wine)}
.signature-actions-cell{white-space:normal}.signature-link-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:210px}.signature-link-actions a,.signature-link-actions button{justify-content:center;margin:0;text-align:center}.signature-link-actions .open-signature-link{grid-column:1/-1;background:var(--wine);color:#fff}.signature-link-actions .whatsapp-signature-link{grid-column:1/-1;background:#e7f4eb;color:#246442}.signature-link-actions .print-pending{grid-column:1/-1}.signature-actions-cell>form{margin-top:6px;text-align:right}.legacy-label{white-space:nowrap}
@media(max-width:700px){.public-sign-header{padding:0 14px}.public-sign-header>span{display:none}.public-sign-shell{padding:14px 0}.public-sign .sign-card{padding:23px 18px}.sign-step h1,.sign-complete h1{font-size:26px}.selfie-capture{width:190px;height:190px}.public-document-list .document-preview{max-height:330px}.sign-step-actions{grid-template-columns:1fr}.signature-tracking{padding:18px}}

/* Cadastro compacto: larguras acompanham o tamanho esperado dos dados. */
.professional-registration-form .registration-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:9px 12px}.professional-registration-form .registration-grid .field-span-2{grid-column:span 2}.professional-registration-form .registration-grid .field-span-3{grid-column:span 3}.professional-registration-form .registration-grid .field-span-4{grid-column:span 4}.professional-registration-form .registration-grid .field-span-5{grid-column:span 5}.professional-registration-form .registration-grid .field-span-6{grid-column:span 6}.professional-registration-form .registration-grid .field-span-12{grid-column:1/-1}.professional-registration-form .role-tabs{margin:14px 0 18px}.professional-registration-form .role-tabs label{min-height:72px}.professional-registration-form input,.professional-registration-form select,.professional-registration-form textarea{min-height:42px;background:#eee4e1!important;border-color:#d1c0bc;padding:8px 11px}.professional-registration-form input:focus,.professional-registration-form select:focus,.professional-registration-form textarea:focus{outline:2px solid #ead3d9;outline-offset:1px;border-color:#9d6675}.professional-registration-form textarea{min-height:62px}.professional-registration-form .upload{padding:11px;background:#f4e9e7}.professional-registration-form .upload input{padding:7px;background:#e8dcda!important}.professional-registration-form .actions{margin-top:14px}
@media(max-width:720px){.professional-registration-form .registration-grid>[class*="field-span-"]{grid-column:1/-1}}

/* Responsive contracts experience: phones and tablets are primary signing devices. */
@media(max-width:900px){
    .contract-app{display:block;min-height:0}
    .contract-sidebar{position:relative;z-index:20;display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;gap:1px 13px;width:100%;height:auto;max-height:none;min-height:0;padding:12px 16px 10px;overflow:visible;border-right:0;border-bottom:1px solid #eadde0}
    .clinic-symbol{grid-column:1;grid-row:1/3;width:58px;height:58px;margin:0;padding:3px;border-radius:15px}
    .contract-sidebar>small{display:block;grid-column:2;grid-row:1;margin:0;color:#a28549;font-size:9px;line-height:1.25;letter-spacing:1.7px}
    .contract-sidebar>strong{display:block;grid-column:2;grid-row:2;margin:0;color:var(--wine);font-size:19px;line-height:1.1}
    .contract-sidebar nav{grid-column:1/-1;grid-row:3;display:flex;width:100%;gap:7px;margin-top:10px;padding:2px 0 4px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
    .contract-sidebar nav a{flex:0 0 auto;justify-content:flex-start;min-height:42px;padding:9px 12px;border:1px solid transparent;background:#ffffff78;white-space:nowrap}
    .contract-sidebar nav span{display:inline;margin-left:5px;font-size:12px}
    .contract-sidebar nav a.active{border-color:#eadcdf}
    .contract-sidebar .restricted-link{margin:0!important}
    .contract-sidebar .restricted-link em{display:inline-flex;margin-left:6px}
    .contract-sidebar .sidebar-user{display:none}
    .contract-main{padding:20px clamp(16px,4vw,32px) 28px}
    .contract-main>header{margin-bottom:18px}
    .contract-main>header p{margin:0;font-size:10px;letter-spacing:2px}
    .contract-main h1{font-size:clamp(30px,6vw,40px);line-height:1.05}
    .header-logo{width:62px;height:62px}
}

@media(max-width:720px){
    body{font-size:14px}
    .toast{left:12px;right:12px;top:12px;padding:12px 14px;text-align:center}
    .contract-main{padding:16px 12px 24px}
    .contract-main>header{align-items:flex-start;gap:12px}
    .contract-main h1{margin-top:5px;font-size:30px}
    .header-logo{width:50px;height:50px;border-radius:10px}
    .paper{padding:18px 16px;margin-bottom:16px;border-radius:17px}
    .paper h2{font-size:26px;line-height:1.08}
    .section-title{align-items:flex-start;gap:10px;margin-bottom:18px}
    .section-title p{margin:6px 0 0;line-height:1.4}
    .count{flex:0 0 auto;max-width:100px;text-align:center;justify-content:center}
    input,select,textarea{min-height:46px;padding:10px 11px;font-size:16px}
    .role-tabs{grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 18px}
    .role-tabs label{min-width:0;min-height:76px;padding:11px 12px;gap:10px;border-radius:15px}
    .role-tabs .role-icon{width:42px;height:42px;flex-basis:42px}
    .role-tabs strong{font-size:13px;line-height:1.2}
    .role-tabs small{font-size:10px;line-height:1.25}
    .role-tabs label:has(input:checked)::after{right:9px;top:8px;width:20px;height:20px}
    .professional-registration-form .registration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .professional-registration-form .registration-grid>[class*="field-span-"]{grid-column:span 1}
    .professional-registration-form .registration-grid>.field-span-12,
    .professional-registration-form .registration-grid>.field-mobile-wide,
    .professional-registration-form .registration-grid>.upload{grid-column:1/-1}
    .professional-registration-form input,.professional-registration-form select,.professional-registration-form textarea{min-height:46px;padding:9px 10px}
    .professional-registration-form textarea{min-height:78px}
    .professional-registration-form .upload{padding:10px}
    .professional-registration-form .upload input{min-height:44px;padding:6px;font-size:13px}
    .professional-registration-form input[type="file"]::file-selector-button{min-height:32px;margin-right:8px;border:1px solid #bfa8a5;border-radius:7px;background:#fff8f7;color:var(--wine);font-weight:700}
    .professional-registration-form .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
    .professional-registration-form .actions>*{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center}
    .people-list article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px 11px;align-items:center;padding:12px 11px}
    .people-list article>div:nth-child(2){min-width:0}
    .people-list article>div:nth-child(2) small{line-height:1.45;overflow-wrap:anywhere}
    .people-list article>a{grid-column:3;grid-row:1}
    .people-list article>form{grid-column:3;grid-row:2;margin:0}
    .people-list article>form button{padding:4px 0}
    .steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:20px;padding-bottom:13px;border-bottom:1px solid #eee2df}
    .steps b{font-size:14px}
    .steps span{font-size:10px;text-align:center}
    .inline-filter{max-width:none}
    .signature-flow>form{gap:13px}
    .signature-flow>form p{margin:0;line-height:1.5}
    .signature-flow h3{margin:10px 0 0;font-size:18px}
    .signature-flow .template-checklist{gap:6px}
    .signature-flow .template-checklist div{padding:9px;font-size:12px}
    .signature-flow .primary{min-height:48px;width:100%}
    .created-signature-link>div{display:grid;grid-template-columns:1fr}
    .created-signature-link .button,.created-signature-link .primary{display:flex;align-items:center;justify-content:center;min-height:46px}
    .site-credit{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}

/* Página inicial vazia e barra lateral recolhível. */
.home-page .contract-main>header{display:none}
.home-page .contract-main{min-height:calc(100vh - 54px);padding:0}
.home-empty{min-height:calc(100vh - 54px)}
.sidebar-toggle{position:absolute;top:12px;right:10px;z-index:30;width:30px;height:30px;display:grid;place-items:center;border:1px solid #e2d2d6;border-radius:50%;background:#fff;color:var(--wine);box-shadow:0 5px 15px #6f3c4b1d;cursor:pointer;font:25px/1 Georgia,serif}
.clinic-symbol{width:106px!important;height:106px!important;min-width:106px;min-height:106px;max-width:106px;max-height:106px;aspect-ratio:1;flex:0 0 106px;overflow:hidden}
.clinic-symbol img{display:block!important;width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important;margin:auto!important;padding:0!important;object-fit:contain!important;object-position:center!important}
.sidebar-toggle:hover{background:#f9eef0}
@media(min-width:901px){
    body.sidebar-collapsed .contract-app{grid-template-columns:86px minmax(0,1fr)}
    body.sidebar-collapsed .contract-sidebar{padding:22px 14px;align-items:center;overflow:visible}
    body.sidebar-collapsed .clinic-symbol{width:58px!important;height:58px!important;min-width:58px;min-height:58px;max-width:58px;max-height:58px;flex-basis:58px;padding:3px;border-radius:14px}
    body.sidebar-collapsed .clinic-symbol img{border-radius:11px;padding:0}
    body.sidebar-collapsed .contract-sidebar>small,
    body.sidebar-collapsed .contract-sidebar>strong,
    body.sidebar-collapsed .contract-sidebar nav span,
    body.sidebar-collapsed .contract-sidebar nav em,
    body.sidebar-collapsed .sidebar-user>summary>span:nth-child(2),
    body.sidebar-collapsed .sidebar-user>summary i{display:none}
    body.sidebar-collapsed .contract-sidebar nav a{justify-content:center;padding:10px;min-height:46px}
    body.sidebar-collapsed .contract-sidebar .sidebar-user{align-self:stretch;left:auto;right:auto}
    body.sidebar-collapsed .sidebar-user summary{justify-content:center;padding:8px}
    body.sidebar-collapsed .sidebar-user .account-popover{left:calc(100% + 8px);right:auto;bottom:0;min-width:190px}
    body.sidebar-collapsed .sidebar-toggle{top:88px;right:27px}
}
@media(max-width:900px){
    .sidebar-toggle{display:none}
    .clinic-symbol{width:58px!important;height:58px!important;min-width:58px;min-height:58px;max-width:58px;max-height:58px;flex-basis:58px}
}

@media(max-width:380px){
    .contract-sidebar{grid-template-columns:50px minmax(0,1fr);padding-inline:12px}
    .clinic-symbol{width:50px!important;height:50px!important;min-width:50px;min-height:50px;max-width:50px;max-height:50px;flex-basis:50px}
    .contract-sidebar>strong{font-size:17px}
    .role-tabs{grid-template-columns:1fr}
    .professional-registration-form .registration-grid{gap:9px 8px}
    .professional-registration-form .registration-grid label>span{font-size:12px}
    .professional-registration-form input,.professional-registration-form select{padding-inline:8px}
}

/* Public signing: readable documents, camera and handwriting without horizontal scroll. */
body.public-sign{min-width:0;overflow-x:hidden}
.public-sign-shell,.public-sign .sign-card,.public-document-list,.document-preview{min-width:0}
.public-document-list .document-preview{overflow-wrap:anywhere;word-break:normal}
.public-document-list .html-contract *{max-width:100%}
.public-document-list .html-contract table{width:100%!important;max-width:100%!important;table-layout:fixed}
.public-document-list .html-contract td,.public-document-list .html-contract th{overflow-wrap:anywhere;word-break:break-word}
.public-document-list .html-contract img{max-width:100%!important;height:auto!important}
.public-sign input,.public-sign select,.public-sign textarea{font-size:16px}
.sign-step-actions button,.sign-main-button,.photo-capture-button{min-height:48px}

@media(min-width:701px) and (max-width:1024px){
    .public-sign-header{padding:0 28px}
    .public-sign-shell{padding:24px}
    .public-sign .sign-card{width:min(760px,calc(100% - 20px));max-width:760px;padding:34px}
    .public-document-list .document-preview{max-height:52dvh;font-size:13px}
    .sign-step h1,.sign-complete h1{font-size:34px}
    .sign-step>p:not(.eyebrow),.sign-complete>p:not(.eyebrow){font-size:14px}
    .sign-step .signature-canvas{height:260px}
}

@media(max-width:700px){
    .public-sign-header{height:56px;padding:0 12px}
    .public-sign-header img{width:38px;height:38px}
    .public-sign-header strong{font-size:17px}
    .public-sign-shell{min-height:calc(100dvh - 110px);padding:8px}
    .public-sign .sign-card{width:100%;padding:18px 14px;border-radius:15px;box-shadow:0 10px 28px rgba(61,37,24,.06)}
    .sign-progress{margin-bottom:20px}
    .sign-progress::before{left:10%;right:10%}
    .sign-progress b{width:28px;height:28px}
    .sign-progress small{font-size:8px}
    .sign-step h1,.sign-complete h1{font-size:27px;line-height:1.08}
    .sign-step>p:not(.eyebrow),.sign-complete>p:not(.eyebrow){font-size:13px;line-height:1.5}
    .public-document-list{margin:16px 0}
    .public-document-list summary{padding:12px 10px;font-size:12px}
    .public-document-list .document-preview{max-height:48dvh;padding:13px 11px;font:12px/1.58 Georgia,serif;-webkit-overflow-scrolling:touch}
    .document-number{width:23px;height:23px;margin-right:2px}
    .accept{gap:9px;margin:15px 0;font-size:13px;line-height:1.45}
    .accept input{flex:0 0 20px;width:20px;height:20px;margin-top:1px}
    .selfie-capture{width:min(58vw,210px);height:min(58vw,210px);margin:18px auto 12px}
    .photo-capture-button{width:min(72vw,260px);font-size:13px}
    .sign-step .signature-canvas{height:190px;margin-top:14px}
    .sign-step-actions{position:sticky;bottom:0;z-index:5;grid-template-columns:1fr;gap:8px;margin:14px -6px -6px;padding:10px 6px 6px;background:linear-gradient(transparent,#fff 18%)}
    .sign-step-actions .button{order:2}
    .sign-step-actions .primary{order:1}
    .sign-step .evidence-status{font-size:11px}
    .signed-downloads a{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center}
    .public-sign .site-credit{font-size:11px}
}
/* Signed contract preview and homologation cleanup */
.test-environment-notice{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:12px 15px;border:1px solid #e4bdc5;border-radius:12px;background:#fff2f4;color:#713040}.test-environment-notice span{color:#80656b;font-size:13px}.request-documents .request-document-file{display:grid;gap:4px;padding:7px;border:1px solid #efe0e3;border-radius:9px;background:#fff}.request-documents .request-document-file>span{padding:0;background:none;font-weight:700}.request-documents .request-document-file>div{display:flex;gap:5px}.request-documents .request-document-file a{flex:1;padding:5px;text-align:center;background:#f4e8eb}.signed-document-file{display:grid;gap:9px;padding:12px 13px;border:1px solid #eadadd;border-radius:11px;background:#fffafa;color:#58323d}.signed-document-file>span{display:flex;gap:8px}.signed-downloads .signed-document-file a{flex:1;margin:0;padding:10px;text-align:center}.signed-document-file a:first-child{background:#f5eaed}.signed-document-file a:last-child{background:var(--wine);color:#fff}
@media(max-width:700px){.test-environment-notice{align-items:flex-start;flex-direction:column;gap:4px}.signed-document-file>span{flex-direction:column}}

/* Visual contract template editor: normal editing stays out of the HTML source. */
.template-editor-field{display:grid;gap:10px}
.template-editor-navigation{display:flex;margin:0 0 16px}
.template-editor-navigation .button{display:inline-flex;align-items:center}
.template-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.template-editor-heading>div{display:grid;gap:3px}
.template-editor-heading strong{color:#543039;font-size:15px}
.template-editor-heading small,.template-editor-field>small{color:#8b7e79;font-size:12px}
.compact-button{padding:8px 11px;white-space:nowrap}
.template-editor-toolbar{display:flex;flex-wrap:wrap;gap:7px;padding:9px;border:1px solid #ebddde;border-radius:12px;background:#faf5f4}
.template-editor-toolbar button{border:1px solid #ddc9ce;border-radius:8px;padding:7px 10px;background:#fff;color:#603744;cursor:pointer}
.template-editor-toolbar button:hover,.template-editor-toolbar button:focus-visible{border-color:var(--wine);background:#f7e9ec;outline:none}
.template-visual-editor{min-height:420px;max-height:70vh;overflow:auto;padding:42px clamp(20px,5vw,72px);border:1px solid #ddcbcf;border-radius:14px;background:#fff;color:#29241f;font:15px/1.65 Georgia,serif;box-shadow:inset 0 0 0 8px #fffafa}
.template-visual-editor:focus{outline:3px solid #e8c7cf;outline-offset:2px}
.template-visual-editor img{max-width:100%!important;height:auto!important}
.template-visual-editor table{max-width:100%!important;width:100%!important;table-layout:fixed}
.template-visual-editor td,.template-visual-editor th{overflow-wrap:anywhere}
.template-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px}
@media(max-width:650px){.template-editor-heading{display:grid}.compact-button{justify-self:start}.template-editor-toolbar{gap:6px}.template-editor-toolbar button{padding:7px 8px;font-size:12px}.template-visual-editor{min-height:330px;max-height:62vh;padding:24px 16px;font-size:14px;box-shadow:inset 0 0 0 4px #fffafa}.template-editor-actions{align-items:stretch;flex-direction:column-reverse}.template-editor-actions .button,.template-editor-actions .primary{text-align:center}}

/* Instalação do site como aplicativo independente no computador. */
.install-app-button{position:fixed;right:22px;bottom:22px;z-index:90;display:flex;align-items:center;gap:9px;border:1px solid #9b596a;border-radius:999px;padding:12px 17px;background:var(--wine);color:#fff;font-weight:750;box-shadow:0 14px 36px rgba(73,35,47,.28);cursor:pointer}
.install-app-button:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(73,35,47,.34)}
.install-app-button:disabled{opacity:.6;cursor:wait}
.install-app-button[hidden]{display:none}
@media(max-width:650px){.install-app-button{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:11px 14px;font-size:13px}}

/* Página inicial e atalhos após a entrada no sistema. */
.home-page{background:linear-gradient(135deg,#fffaf9 0%,#f9edef 55%,#f5f0e9 100%)}
.home-app{width:min(100%,1180px);min-height:calc(100vh - 54px);margin:0 auto;padding:26px clamp(20px,5vw,58px) 56px}
.home-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #eadcdf}
.home-brand{display:flex;align-items:center;gap:11px;color:var(--wine);font:700 23px Georgia,serif;text-decoration:none}
.home-brand img{width:46px;height:46px;object-fit:contain;border-radius:13px;box-shadow:0 6px 18px #6f3c4b1a}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:clamp(38px,8vw,88px) 0 34px}
.home-welcome .eyebrow{margin:0 0 10px;color:#ad9254}
.home-welcome h1{margin:0;color:var(--wine);font:clamp(40px,6vw,65px)/1.03 Georgia,serif;letter-spacing:-1px}
.home-welcome p:last-child{margin:12px 0 0;color:#786b6d;font-size:17px}
.home-welcome>img{width:128px;height:128px;object-fit:contain;mix-blend-mode:multiply}
.home-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.home-module{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:128px;padding:21px;border:1px solid #e6d8da;border-radius:19px;background:#ffffffd9;color:#503a40;text-decoration:none;box-shadow:0 12px 34px #6f3c4b0a}
.home-module:hover{border-color:#c69aa6;background:#fff;transform:translateY(-3px);box-shadow:0 18px 38px #6f3c4b18}
.home-module-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:#f4e5e9;color:var(--wine);font-size:25px}
.home-module>span:nth-child(2){display:grid;gap:4px}.home-module strong{color:#5d2f3e;font-size:18px}.home-module small{color:#8c7c80;font-size:13px;line-height:1.4}.home-module>b{font-size:25px;color:#a1747f;font-weight:400}
.home-module.routes-module .home-module-icon{background:#f2eadc;color:#8a7137}.home-module.admin-module .home-module-icon{background:#f8e5e8;color:#87273a}
@media(max-width:700px){.home-app{padding:18px 16px 38px}.home-header{padding-bottom:16px}.home-brand{font-size:20px}.home-welcome{margin:42px 0 28px}.home-welcome>img{width:82px;height:82px}.home-welcome h1{font-size:43px}.home-welcome p:last-child{font-size:15px}.home-modules{grid-template-columns:1fr}.home-module{min-height:110px;padding:17px}.home-module-icon{width:48px;height:48px;font-size:22px}}

/* Cadastro de equipamentos e caixas */
.inventory-heading{align-items:center}.inventory-summary{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.inventory-summary>span{display:flex;align-items:baseline;gap:6px;padding:9px 13px;border:1px solid #e4d7c7;border-radius:999px;background:#fff;color:#74685d;font-size:12px}.inventory-summary strong{color:#7b6230;font-size:17px}.inventory-registration-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px;align-items:start;margin-bottom:38px}.inventory-form-card{background:#fff;border:1px solid #e5dbce;border-radius:18px;padding:22px;box-shadow:0 12px 34px #6e4f2408}.inventory-form-card>header{display:flex;align-items:center;gap:11px;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid #eee5da}.inventory-form-card>header>div{flex:1}.inventory-form-card>header small{display:block;color:var(--gold);font-size:10px;font-weight:800;letter-spacing:2px}.inventory-form-card h3{margin:3px 0 0;font:25px Georgia;color:#3c3229}.inventory-form-card>header>a{color:var(--wine);font-size:12px;font-weight:700}.inventory-card-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f3ead9;color:#806832;font-size:12px;font-weight:900;letter-spacing:1px}.inventory-form-card form{display:grid;gap:15px}.inventory-form-card label{display:grid;gap:6px;color:#705f54;font-size:12px}.inventory-form-card label>span:first-child{font-weight:700}.inventory-form-card .primary{justify-self:start}.inventory-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.inventory-fields .wide{grid-column:1/-1}.equipment-photo-field{grid-template-columns:118px minmax(0,1fr);align-items:center;padding:12px;border:1px dashed #cfbea9;border-radius:14px;background:#fdfaf5;cursor:pointer}.equipment-photo-preview{grid-row:1/3;width:104px;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;overflow:hidden;border-radius:11px;background:#f4eadc;color:#8a7137}.equipment-photo-preview img{width:100%;height:100%;object-fit:cover}.equipment-photo-preview b{font:30px Georgia}.equipment-photo-preview small{font-size:10px}.equipment-photo-field input{padding:8px;background:#fff}.equipment-photo-field>small{color:#8d8173;font-size:10px}.box-form-card textarea{min-height:118px}.box-availability{display:flex!important;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e7ded1;border-radius:12px;background:#faf8f4}.box-availability input{width:auto;margin-top:4px}.box-availability span{display:grid;gap:2px}.box-availability strong{color:#493f36}.box-availability small{color:#81766c;font-weight:400}.inventory-section{margin:34px 0}.inventory-section-title{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:14px}.inventory-section-title p{margin:0;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:2px}.inventory-section-title h3{margin:3px 0 0;font:28px Georgia}.inventory-section-title>span{padding:6px 10px;border-radius:999px;background:#efe5d6;color:#806832;font-size:11px;font-weight:800}.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.equipment-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e5dbce;border-radius:16px;background:#fff}.equipment-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#f3ede5}.equipment-card-body{display:grid;gap:9px;flex:1;padding:16px}.equipment-card-title{display:flex;align-items:start;justify-content:space-between;gap:10px}.equipment-card-title>div{min-width:0}.equipment-card-title strong,.equipment-card-title span{display:block}.equipment-card-title strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.equipment-card-title span,.equipment-card-body>small{color:#84786c;font-size:11px}.equipment-card-title em{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#e9f2ec;color:#356b58;font-size:10px;font-style:normal;font-weight:800}.equipment-card-title em.unavailable{background:#f6e6e5;color:#974952}.equipment-card-body p{margin:0;color:#71675e;font-size:12px;white-space:pre-line}.equipment-card>footer,.box-card>footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #eee6dc}.equipment-card>footer a,.box-card>footer a{color:var(--wine);font-size:12px;font-weight:700}.equipment-card>footer button,.box-card>footer button{font-size:11px}.box-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.box-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e5dbce;border-radius:16px;background:#fff}.box-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #eee6dc}.box-card>header div{display:grid}.box-card>header small{color:#96835a;font-size:9px;letter-spacing:1.5px}.box-card>header strong{font:22px Georgia}.box-card>header em{padding:5px 8px;border-radius:999px;background:#e6f2ea;color:#356b58;font-size:10px;font-style:normal;font-weight:800}.box-card.unavailable>header em{background:#f6e6e5;color:#974952}.box-equipment-list{display:grid;gap:7px;flex:1;padding:15px}.box-equipment-list>span{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:8px 10px;border-radius:9px;background:#faf6ef;font-size:12px;font-weight:700}.box-equipment-list small{color:#8c8176;font-size:10px;font-weight:400}.box-equipment-list>p{margin:0;color:#8c8176;font-size:12px;font-style:italic}.box-notes{margin:0;padding:0 15px 14px;color:#71675e;font-size:11px;white-space:pre-line}
.box-equipment-picker{min-width:0;margin:0;padding:13px;border:1px solid #e7ded1;border-radius:12px}.box-equipment-picker legend{padding:0 5px;color:#705f54;font-size:12px;font-weight:800}.box-equipment-picker>small{display:block;margin-bottom:10px;color:#8d8173;font-size:10px}.box-equipment-picker>div{display:grid;gap:7px;max-height:240px;overflow:auto;padding-right:3px}.box-equipment-picker label{display:flex!important;align-items:flex-start;gap:9px;padding:9px;border-radius:9px;background:#faf7f2;cursor:pointer}.box-equipment-picker input{width:auto;margin-top:3px}.box-equipment-picker label>span{display:grid;gap:1px;min-width:0}.box-equipment-picker label strong{color:#493f36}.box-equipment-picker label small{color:#81766c;font-size:10px;font-weight:400}.box-equipment-picker p{margin:4px;color:#8c8176;font-size:11px;font-style:italic}
@media(max-width:1100px){.inventory-registration-grid{grid-template-columns:1fr}.equipment-grid,.box-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.inventory-summary{justify-content:flex-start}.inventory-registration-grid{margin-bottom:28px}.inventory-form-card{padding:17px}.inventory-fields{grid-template-columns:1fr}.inventory-fields .wide{grid-column:auto}.equipment-photo-field{grid-template-columns:92px minmax(0,1fr)}.equipment-photo-preview{width:80px}.equipment-grid,.box-grid{grid-template-columns:1fr}.inventory-section-title{align-items:flex-start}.inventory-section-title h3{font-size:25px}}
.equipment-photo-field{display:grid!important;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:8px 14px;cursor:default!important}
.equipment-photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.equipment-photo-button{display:inline-flex!important;position:relative;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #d8c8b5;border-radius:9px;background:#fff;color:#70572d!important;font-weight:750;cursor:pointer}
.equipment-photo-button.camera{background:#7b3c51;color:#fff!important;border-color:#7b3c51}
.equipment-photo-button input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;pointer-events:none}
.equipment-card-photo-placeholder{width:100%;aspect-ratio:16/9;display:grid;place-content:center;gap:4px;text-align:center;background:linear-gradient(145deg,#f6efe5,#eee2d3);color:#9a8150}
.equipment-card-photo-placeholder span{font:28px Georgia}.equipment-card-photo-placeholder small{font-size:10px;text-transform:uppercase;letter-spacing:1px}
.slot-box{margin:7px 0;padding:5px 8px;border-radius:8px;background:#f1e8d9;color:#745b2b;font-size:10px}.slot-box strong{font-size:11px}
.route-box-select{display:grid;gap:6px;margin-top:13px;color:#705f54;font-size:12px}.route-box-select>span{font-weight:750}.route-box-select select{width:100%;padding:11px 12px;border:1px solid #ddc9ca;border-radius:10px;background:#fff;color:#49383a}.route-box-select small{color:#8d817a}
@media(max-width:700px){.equipment-photo-field{grid-template-columns:92px minmax(0,1fr)}.equipment-photo-actions{display:grid}.equipment-photo-button{padding:9px 10px}}

/* Módulo de Apresentação em Laravel */
.home-module.experience-module .home-module-icon{background:#f8e1e8;color:#7c3047}
.experience-theme{background:linear-gradient(135deg,#fffaf9,#f8eff0 52%,#f6f1eb)}
.experience-sidebar{background:linear-gradient(180deg,#fffaf9,#f8e6eb)}
.experience-main{padding-bottom:60px}
.experience-summary{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:4px 0 22px}.experience-summary h2{margin:2px 0 5px;font:34px Georgia;color:var(--wine)}.experience-summary p{margin:0;color:#817478}.experience-summary>span{white-space:nowrap;padding:10px 15px;border:1px solid #eadadd;border-radius:999px;background:#fff;color:#7b6c70}.experience-summary>span strong{margin-right:5px;color:var(--wine);font-size:20px}
.experience-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.experience-form-grid>label{display:grid;align-content:start;gap:6px;color:#705d62;font-size:12px}.experience-form-grid>label>span{font-weight:750}.experience-form-grid .field-span-1{grid-column:span 1}.experience-form-grid .field-span-2{grid-column:span 2}.experience-form-grid .field-span-3{grid-column:span 3}.experience-form-grid .field-span-4{grid-column:span 4}.experience-form-grid .field-span-5{grid-column:span 5}.experience-form-grid .field-span-6{grid-column:span 6}.experience-form-grid .field-span-7{grid-column:span 7}.experience-form-grid .field-span-8{grid-column:span 8}.experience-form-grid .field-span-12{grid-column:1/-1}.experience-form-grid textarea{min-height:108px}
.experience-search{display:flex;gap:8px;min-width:min(100%,390px)}.experience-search .button{border:0}.experience-client-list{display:grid;gap:8px}.experience-client-list>a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px;border:1px solid #eee3e1;border-radius:13px;color:#4e3b40;text-decoration:none;background:#fff}.experience-client-list>a:hover{border-color:#caaab2;box-shadow:0 8px 25px #6f3c4b10}.experience-client-list>a>span:nth-child(2){display:grid;gap:3px}.experience-client-list small{color:#8b7c80}.experience-client-list b{font:27px Georgia;color:#a47582}.experience-empty{padding:24px;text-align:center;color:#8b7c80}
.experience-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.experience-detail-heading>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.experience-detail-heading>div span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #eadfe0;color:#755f65;font-size:11px}.experience-collapsible>summary,.experience-settings-list details>summary{cursor:pointer;list-style:none;font-weight:800;color:var(--wine)}.experience-collapsible>summary::-webkit-details-marker,.experience-settings-list summary::-webkit-details-marker{display:none}.experience-collapsible[open]>summary{margin-bottom:22px;padding-bottom:15px;border-bottom:1px solid #eee4e1}
.experience-evaluation-layout{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:16px}.experience-history{display:grid;gap:8px;position:sticky;top:18px}.experience-history .section-title{margin-bottom:4px}.experience-history .section-title h2{font-size:25px}.experience-history>a{display:grid;gap:3px;padding:11px;border:1px solid #eee4e1;border-radius:10px;color:#675359;text-decoration:none}.experience-history>a small{color:#917f84}.experience-history>a.active{background:#f7e9ed;border-color:#d6b3bd;color:var(--wine)}
.experience-checks{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:0;padding:14px;border:1px solid #e9dcdf;border-radius:12px}.experience-checks legend{padding:0 6px;color:#775f65;font-size:12px;font-weight:800}.experience-checks label{display:flex;align-items:center;gap:7px}.experience-checks input{width:auto}.important-notes textarea{border-color:#d4a9b3;background:#fffafb}
.experience-documents>div:last-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.experience-documents a{display:grid;grid-template-columns:38px minmax(0,1fr);gap:2px 10px;align-items:center;padding:14px;border:1px solid #eadfe0;border-radius:12px;color:#563e45;text-decoration:none}.experience-documents a>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f5e7eb;color:var(--wine)}.experience-documents a small{color:#927f84}.experience-schedule-note{margin:15px 0 0;padding:12px;border-radius:10px;background:#edf5ef;color:#3e6855}
.experience-settings-list{display:grid;gap:12px}.experience-settings-list details{margin:0}.experience-settings-list summary{display:flex;justify-content:space-between;align-items:center;gap:15px}.experience-settings-list summary>span{display:grid;gap:3px}.experience-settings-list summary small{color:#8c7c80;font-weight:400}.experience-settings-list details[open] summary{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #eee3e1}.experience-settings-list form{display:grid;gap:13px}.experience-settings-list form>label{display:grid;gap:6px;color:#705d62;font-size:12px}.experience-template-toggle{display:flex!important;align-items:center;gap:8px}.experience-template-toggle input{width:auto}.experience-token-help{color:#8d7c81}
.account-type-panel{margin-top:20px;padding:17px;border:1px solid #e1d4c3;border-radius:14px;background:#fcf8f1}.account-type-panel label{display:grid;gap:6px}.account-type-panel label>span{color:#6f5a46;font-weight:800}.account-type-panel small{color:#8c7c6c}.routes-access{background:#f1eadc!important;color:#7c642f!important}
.experience-document-page{background:#ede8e5}.experience-document-shell{width:min(100% - 30px,900px);margin:24px auto 60px}.experience-document-shell>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px}.experience-document-paper{min-height:1000px;padding:60px clamp(28px,8vw,78px);background:#fff;box-shadow:0 15px 50px #4b33351f;color:#2d2927;font:15px/1.7 Georgia,serif}.experience-document-paper h1{text-align:center;font-size:25px;line-height:1.25}.experience-document-paper h2{margin-top:26px;font-size:17px}.experience-document-paper p{text-align:justify}
.client-document{max-width:780px;margin:0 auto;color:#392d29}.client-document h1{text-align:center;line-height:1.3}.client-document h2{padding-bottom:5px;border-bottom:1px solid #ead8d1;color:#74394b}.client-document .document-subtitle{text-align:center;color:#806e66;font-size:12px}.client-document table{width:100%;margin:14px 0 20px;border-collapse:collapse;font-family:Arial,sans-serif;font-size:13px}.client-document th,.client-document td{padding:8px;border:1px solid #dfd1cb;text-align:left;vertical-align:top}.client-document th{width:24%;background:#f8f1ee;color:#6e3d49}.client-document li{margin:0 0 8px}.client-document strong{color:#50363d}
@media(max-width:900px){.experience-evaluation-layout{grid-template-columns:1fr}.experience-history{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.experience-history .section-title{grid-column:1/-1}}
@media(max-width:700px){.experience-summary,.experience-detail-heading{align-items:flex-start;flex-direction:column}.experience-detail-heading>div{justify-content:flex-start}.experience-form-grid{grid-template-columns:1fr}.experience-form-grid>[class*="field-span-"]{grid-column:1/-1}.experience-search{width:100%;min-width:0}.experience-client-form,.experience-evaluation-form{padding:18px 14px}.experience-documents>div:last-of-type{grid-template-columns:1fr}.experience-history{grid-template-columns:1fr}.experience-document-shell{width:100%;margin:0}.experience-document-shell>header{padding:12px}.experience-document-paper{min-height:100vh;padding:35px 20px;box-shadow:none}}
@media print{.experience-document-page{background:#fff}.experience-document-shell{width:100%;margin:0}.experience-document-shell>header,.site-credit{display:none!important}.experience-document-paper{min-height:0;padding:0;box-shadow:none}}

/* Apresentação: identidade visual inspirada no aplicativo de referência, com navegação superior. */
.experience-theme{background:#f7f2ee;color:#3e3531}
.experience-portal{min-height:calc(100vh - 54px)}
.experience-portal-main{width:min(100%,1460px);min-height:calc(100vh - 54px);margin:0 auto;padding:0 clamp(20px,4vw,56px) 56px}
.experience-topbar{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:14px 0 18px;border-bottom:1px solid #e5d9d2}
.experience-brand{display:flex;align-items:center;gap:13px;flex:0 0 auto;color:#3f3430;text-decoration:none}.experience-brand>img{width:56px;height:56px;padding:3px;border:1px solid #eadfd9;border-radius:14px;background:#fff;object-fit:contain;mix-blend-mode:multiply}.experience-brand>span{display:grid}.experience-brand small{color:#9c704d;font-size:9px;font-weight:800;letter-spacing:2.2px;text-transform:uppercase}.experience-brand strong{font:29px Georgia,serif;color:#633746}
.experience-navigation{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.experience-navigation>a{padding:10px 12px;border-radius:9px;color:#554a45;text-decoration:none;white-space:nowrap}.experience-navigation>a:hover,.experience-navigation>a.active{background:#fff;box-shadow:0 4px 16px rgba(83,56,43,.08);transform:translateY(-1px)}.experience-navigation>a.active{color:#7c3f51;font-weight:750}.experience-navigation .experience-back{color:#765d4f}.experience-navigation .header-account{margin-left:3px}.experience-navigation .header-account summary{min-height:43px;border:1px solid #e2d7d0;background:#fff}.experience-navigation .header-account summary>span:nth-child(2){max-width:125px}.experience-navigation .account-popover{top:calc(100% + 8px)}
.presentation-page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:36px 0 20px}.presentation-page-heading h1{margin:0;color:#3f332e;font:700 31px/1.1 Inter,Segoe UI,sans-serif}.presentation-page-heading p{margin:6px 0 0;color:#8a7970}.presentation-primary{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#9f5b64,#bd7375);font-weight:800;box-shadow:0 10px 25px rgba(126,59,68,.2)}.presentation-heading-count{padding:10px 14px;border:1px solid #e5d8d2;border-radius:99px;background:#fff;color:#7c6a62}.presentation-heading-count strong{margin-right:5px;color:#693a47;font-size:20px}
.presentation-hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;margin:28px 0 20px}.presentation-hero,.presentation-operation-card,.presentation-panel,.presentation-table-card,.presentation-metrics article{border:1px solid #e4d6cf;border-radius:25px;background:rgba(255,255,255,.9);box-shadow:0 15px 38px rgba(82,53,39,.07)}
.presentation-hero{position:relative;min-height:310px;overflow:hidden;padding:38px 40px;border-color:#dfb36f;background:linear-gradient(118deg,#fff 0%,#fffdfb 55%,#fbf5ee 100%)}.presentation-hero::after{content:"";position:absolute;right:-10%;bottom:-83%;width:78%;height:145%;border:1.5px solid #e1b66f;border-left-color:transparent;border-top-color:transparent;border-radius:50%;transform:rotate(-17deg);pointer-events:none}.presentation-hero .eyebrow{position:relative;z-index:2;display:flex;align-items:center;gap:10px;margin:0 0 14px;color:#9b4f58;font-size:11px;letter-spacing:2.4px}.presentation-hero-symbol{color:#d7aa62;font-size:22px;line-height:1;letter-spacing:0}.presentation-hero h1{position:relative;z-index:1;max-width:760px;margin:0;color:#3a2c27;font:700 clamp(48px,5.25vw,76px)/.95 Georgia,serif;letter-spacing:-1.5px}.presentation-hero-accent{position:relative;z-index:2;display:block;width:42px;height:2px;margin:22px 0 20px;background:#d8a95d}.presentation-hero>p:not(.eyebrow){position:relative;z-index:2;max-width:780px;margin:0 0 25px;color:#6f625d;font-size:16px;line-height:1.55}.presentation-hero .primary{position:relative;z-index:3;min-height:56px;padding:14px 29px;border:1px solid #d39a73;border-radius:13px}.presentation-watermark{position:absolute;z-index:1;right:24px;bottom:-40px;color:#f2e8df;font:700 250px/1 Georgia,serif;transform:rotate(5deg);user-select:none}
.presentation-operation-card{padding:29px 31px}.presentation-operation-card h2,.presentation-panel h2{margin:0 0 13px;color:#40342f;font-size:21px}.presentation-operation-card dl{margin:0}.presentation-operation-card dl>div{display:grid;grid-template-columns:1fr auto;gap:15px;padding:15px 0;border-bottom:1px solid #e7dcd5}.presentation-operation-card dl>div:last-child{border-bottom:0}.presentation-operation-card dt{color:#98664f}.presentation-operation-card dd{margin:0;color:#3e302a;font-weight:800;text-align:right}
.presentation-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}.presentation-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.presentation-metrics article{display:grid;min-height:130px;padding:21px}.presentation-metrics span{color:#8b6b5c}.presentation-metrics strong{margin:7px 0 5px;color:#3c302b;font-size:29px;line-height:1}.presentation-metrics small{align-self:end;color:#708875}
.presentation-route-warning{position:relative;z-index:3;display:inline-flex;padding:13px 16px;border:1px solid #e2c5a2;border-radius:12px;background:#fff8eb;color:#865d27;font-weight:700}.presentation-route-management{margin:0 0 20px;padding:25px;border:1px solid #e4d6cf;border-radius:25px;background:rgba(255,255,255,.9);box-shadow:0 15px 38px rgba(82,53,39,.07)}.presentation-route-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px}.presentation-route-summary{position:relative;overflow:hidden;padding:19px;border:1px solid #eaded7;border-radius:17px;background:#fff}.presentation-route-summary::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:currentColor}.presentation-route-summary h3{margin:0 0 14px;color:#583744}.presentation-route-summary dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.presentation-route-summary dl div{display:grid;gap:4px}.presentation-route-summary dt{color:#947d72;font-size:11px}.presentation-route-summary dd{margin:0;color:#3d312c;font-size:21px;font-weight:800}
.presentation-dashboard-grid,.presentation-report-grid,.presentation-settings-intro,.presentation-archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.presentation-panel{padding:25px}.presentation-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.presentation-panel-heading h2{margin-bottom:2px}.presentation-panel-heading p{margin:0;color:#9a6e59}.presentation-panel-heading>a{color:#8b4d59;font-size:12px;font-weight:750;text-decoration:none}.presentation-activity-list{display:grid;gap:8px;margin-top:18px}.presentation-activity-list>a{display:grid;grid-template-columns:41px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px;border:1px solid #eee3de;border-radius:12px;color:#4b3d37;text-decoration:none}.presentation-activity-list>a:hover{border-color:#d3b8b5;background:#fffaf9}.presentation-activity-list>a>span:nth-child(2){display:grid;gap:2px}.presentation-activity-list small{color:#8f7f77}.presentation-activity-list b{color:#a66a73;font-size:22px}.presentation-client-avatar{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;background:#f0e2dc;color:#844858;font-weight:800}.presentation-empty{min-height:185px;display:grid;place-content:center;justify-items:center;color:#9a7867}.presentation-empty span{font:35px Georgia;color:#a37a64}.presentation-empty p{margin:8px 0 0}
.presentation-table-card{padding:18px 20px 24px;margin-bottom:22px}.presentation-filters{display:grid;grid-template-columns:minmax(260px,1fr) 220px auto;gap:10px;margin-bottom:14px}.presentation-filters>label{position:relative}.presentation-filters>label>span{position:absolute;left:15px;top:11px;color:#8d7c73}.presentation-filters input{min-height:50px;padding-left:40px;border-color:#e1d7d1;border-radius:14px}.presentation-filters select{min-height:50px;border-color:#e1d7d1;border-radius:14px;background:#f2e9e3;font-weight:750}.presentation-filters .button{min-height:50px;border-radius:14px}.presentation-client-search,.presentation-archive-search{grid-template-columns:minmax(260px,1fr) auto}
.presentation-table{min-width:780px}.presentation-table th{padding:13px 9px;color:#806f67;font-size:10px;letter-spacing:1px;text-transform:uppercase}.presentation-table td{padding:14px 9px;color:#665650}.presentation-table td a{color:#5f3541;text-decoration:none}.presentation-table td a:hover{text-decoration:underline}.presentation-table-empty{height:120px;color:#9a8981!important;text-align:center!important}.presentation-status{display:inline-flex;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}.status-draft{background:#e7eef1;color:#557180}.status-waiting{background:#f5ecd5;color:#8b6a25}.status-sale{background:#e3f0e8;color:#367052}.status-lost{background:#f6e3e5;color:#994d58}.status-completed{background:#ece7f2;color:#69517b}.presentation-muted{color:#9b8c85;font-size:12px}.presentation-row-action{display:inline-flex;padding:7px 10px;border-radius:8px;background:#f2e5e7;color:#7a3e4c!important;font-weight:750;text-decoration:none!important}
.presentation-new-client{margin-bottom:20px}.presentation-new-client>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.presentation-new-client>summary::-webkit-details-marker{display:none}.presentation-new-client>summary>span{display:grid;gap:3px}.presentation-new-client>summary strong{font:25px Georgia,serif;color:#643b45}.presentation-new-client>summary small{color:#8c7d76}.presentation-new-client>summary b{padding:9px 12px;border-radius:9px;background:#f2e6e2;color:#764653;font-size:12px}.presentation-new-client[open]>summary{margin-bottom:22px;padding-bottom:17px;border-bottom:1px solid #eee3dd}
.presentation-report-metrics{margin-bottom:18px}.presentation-result-card{display:flex;flex-direction:column}.presentation-result-total{min-height:180px;display:grid;place-content:center;justify-items:center}.presentation-result-total strong{font-size:42px}.presentation-result-total span{color:#8f8078}.presentation-funnel{display:grid;gap:13px;margin-top:20px}.presentation-funnel>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.presentation-funnel span{display:flex;align-items:center;gap:9px}.presentation-funnel i{width:9px;height:9px;border-radius:50%}
.presentation-folder-tree{display:grid;gap:8px;margin:15px 0}.presentation-folder-tree span,.presentation-folder-tree strong{padding:10px 13px;border:1px solid #eadfd9;border-radius:10px;background:#fdfaf8}.presentation-folder-tree span:nth-child(2){margin-left:16px}.presentation-folder-tree span:nth-child(3){margin-left:32px}.presentation-folder-tree span:nth-child(4){margin-left:48px}.presentation-folder-tree strong{margin-left:64px;color:#744452}.presentation-archive-note{margin:16px 0 0;padding:13px;border-radius:11px;background:#f5f0e4;color:#756858;font-size:12px}.presentation-selected-folder>p{color:#8b7c75}.presentation-selected-folder>div{min-height:210px;display:grid;place-content:center;justify-items:center;text-align:center;color:#8d6a58}.presentation-selected-folder>div span{font-size:38px}.presentation-selected-folder>div strong{margin-top:8px}.presentation-selected-folder>div small{margin-top:4px;color:#97877f}
.presentation-settings-intro article{display:flex;align-items:flex-start;gap:15px}.presentation-settings-intro article>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:13px;background:#f3e6e2;color:#7c4552;font-size:20px}.presentation-settings-intro h2{margin-bottom:4px}.presentation-settings-intro p{margin:0;color:#887a73}.presentation-settings-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.presentation-settings-list details{margin:0}.presentation-settings-list details[open]{grid-column:1/-1}.presentation-settings-list summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.presentation-settings-list summary::-webkit-details-marker{display:none}.presentation-settings-list summary>span{display:grid;gap:3px}.presentation-settings-list summary strong{color:#633b46}.presentation-settings-list summary small{color:#91817a;font-weight:400}.presentation-settings-list summary b{color:#96606b;font-size:12px}.presentation-settings-list details[open] summary{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #ebdfda}.presentation-settings-list form{display:grid;gap:13px}.presentation-settings-list form>label{display:grid;gap:6px;color:#705d62;font-size:12px}
.experience-portal-main>.experience-detail-heading{margin-top:26px}.experience-portal-main>.paper,.experience-portal-main>.experience-evaluation-layout,.experience-portal-main>.experience-documents{border-color:#e4d7d1;box-shadow:0 14px 38px rgba(82,53,39,.06)}
@media(max-width:1180px){.experience-topbar{align-items:flex-start;flex-direction:column}.experience-navigation{width:100%;justify-content:flex-start}.presentation-hero-grid{grid-template-columns:1.35fr .8fr}.presentation-hero h1{font-size:42px}}
@media(max-width:900px){.presentation-hero-grid,.presentation-dashboard-grid,.presentation-report-grid,.presentation-settings-intro,.presentation-archive-grid{grid-template-columns:1fr}.presentation-metrics,.presentation-route-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.presentation-settings-list{grid-template-columns:1fr}.presentation-settings-list details[open]{grid-column:auto}.presentation-hero{min-height:280px}.experience-navigation{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.experience-navigation .header-account{position:sticky;right:0;background:#f7f2ee}}
@media(max-width:650px){.experience-portal-main{padding:0 14px 36px}.experience-topbar{gap:13px;padding:12px 0}.experience-brand>img{width:48px;height:48px}.experience-brand strong{font-size:25px}.experience-navigation>a{padding:9px 10px;font-size:12px}.presentation-page-heading{align-items:flex-start;flex-direction:column;margin-top:24px}.presentation-page-heading .primary{width:100%}.presentation-hero{padding:27px 22px}.presentation-hero h1{font-size:35px}.presentation-hero>p:not(.eyebrow){font-size:14px}.presentation-operation-card{padding:22px}.presentation-metrics,.presentation-route-summary-grid{grid-template-columns:1fr;gap:9px}.presentation-metrics article{min-height:115px;padding:16px}.presentation-metrics strong{font-size:23px}.presentation-panel{padding:19px}.presentation-route-summary dl{grid-template-columns:repeat(3,1fr)}.presentation-filters,.presentation-client-search,.presentation-archive-search{grid-template-columns:1fr}.presentation-new-client>summary{align-items:flex-start;flex-direction:column}.presentation-folder-tree strong{margin-left:48px}}

/* Jornada completa da Apresentação */
.presentation-journey-theme{background:#fbf8f5;color:#423732}.presentation-journey-theme .site-credit,.presentation-journey-theme .install-app-button{display:none!important}
.experience-journey{min-height:100vh;padding-bottom:98px}.experience-journey-header{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;min-height:88px;padding:15px clamp(22px,3.5vw,58px);border-top:4px solid #2f2a27;border-bottom:1px solid #e7dad3;background:rgba(255,253,251,.96);backdrop-filter:blur(16px)}.experience-journey-header>div{display:grid;gap:2px}.experience-journey-header p{margin:0;color:#91515a;font-size:11px;font-weight:850;letter-spacing:2px}.experience-journey-header h1{margin:0;color:#403632;font:750 23px/1.2 Inter,Segoe UI,sans-serif}.experience-journey-header>div>span{color:#8a7770;font-size:12px}.experience-journey-close{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#f2eae5;color:#7d6c64;font-size:26px;text-decoration:none;transition:.2s}.experience-journey-close:hover{background:#eadad6;color:#75404c;transform:rotate(5deg)}
.experience-journey-steps{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:7px;padding:20px clamp(22px,3.5vw,58px) 13px;overflow-x:auto;background:#fffdfb}.experience-journey-steps>a,.experience-journey-steps>div{position:relative;min-width:110px;display:grid;grid-template-columns:31px 1fr;align-items:center;gap:8px;padding-top:12px;color:#9d8e87;text-decoration:none}.experience-journey-steps i{position:absolute;top:0;left:0;width:100%;height:5px;border-radius:99px;background:#eadfd9}.experience-journey-steps span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#eee6e2;color:#8c7b73;font-size:11px;font-weight:850}.experience-journey-steps strong{font-size:12px}.experience-journey-steps .done i{background:linear-gradient(90deg,#b76d73,#ba8b45)}.experience-journey-steps .done span{background:#ead8d8;color:#79414c}.experience-journey-steps .done strong{color:#74575c}.experience-journey-steps .active i{background:linear-gradient(90deg,#9d4d5b,#c09344)}.experience-journey-steps .active span{background:#824352;color:#fff;box-shadow:0 5px 15px rgba(114,57,70,.24)}.experience-journey-steps .active strong{color:#603b45}
.journey-validation{display:flex;align-items:center;gap:9px;margin:8px clamp(22px,3.5vw,58px) 0;padding:12px 15px;border:1px solid #e6b5b9;border-radius:12px;background:#fff2f3;color:#934c56}.journey-validation strong{white-space:nowrap}.experience-journey-content{width:min(calc(100% - 44px),1500px);margin:18px auto 0}.journey-form{display:grid;gap:20px}.journey-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 28px;border:1px solid #e9ddd6;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(82,53,39,.055)}.journey-stage-heading>div{display:grid;gap:4px}.journey-stage-heading p{margin:0;color:#a15e64;font-size:10px;font-weight:850;letter-spacing:1.8px}.journey-stage-heading h2{margin:0;color:#413531;font:700 29px/1.1 Georgia,serif}.journey-stage-heading span{color:#8a7971}.journey-stage-heading>b{padding:10px 13px;border-radius:99px;background:#f2e7e2;color:#75414d;font-size:12px;white-space:nowrap}
.journey-form-grid{padding:26px;border:1px solid #e8dcd6;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(82,53,39,.045)}.journey-form-grid label>span,.journey-form-grid legend{color:#6f5d55;font-weight:800}.journey-form-grid input,.journey-form-grid select,.journey-form-grid textarea{border-color:#e1d1c9;border-radius:13px;background:#fffdfc}.journey-form-grid textarea{min-height:112px}.journey-form-grid small{color:#9a8174;font-weight:400}.journey-checks{border-color:#e1d1c9;border-radius:14px;background:#fffaf7}.journey-form-grid:has([data-allergy-toggle]:not(:checked)) [data-allergy-details]{display:none}.journey-checks label{min-height:52px;border-radius:11px;background:#f8f3ef}.journey-actions{position:fixed;z-index:50;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px clamp(22px,3.5vw,58px);border-top:1px solid #e6d8d1;background:rgba(255,253,251,.95);box-shadow:0 -12px 30px rgba(63,43,33,.07);backdrop-filter:blur(14px)}.journey-actions>div{display:flex;gap:9px}.journey-actions .button,.journey-actions .primary{min-height:51px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border-radius:13px;font-weight:800}.journey-actions .primary span{margin-left:8px;font-size:20px}
.journey-anamnesis-card{display:grid;gap:14px}.journey-anamnesis-card>header{padding:0 4px}.journey-anamnesis-card>header p{margin:0 0 4px;color:#ad7c25;font-size:11px;font-weight:900;letter-spacing:.18em}.journey-anamnesis-card>header h3{margin:0;color:#6f3045;font-family:Georgia,serif;font-size:26px}.journey-anamnesis-card>header span{display:block;margin-top:5px;color:#846e64}
.journey-form[data-submitting=true] .journey-actions{pointer-events:none}.journey-form[data-submitting=true] .journey-actions button{opacity:.72;cursor:wait}.journey-submit-spinner{display:inline-block;width:18px;height:18px;flex:0 0 18px;margin:0!important;border:2px solid rgba(255,255,255,.48);border-top-color:#fff;border-radius:50%;animation:journey-submit-spin .75s linear infinite}.button .journey-submit-spinner{border-color:rgba(117,65,77,.25);border-top-color:#75414d}.journey-submit-feedback{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:24px;background:rgba(42,30,27,.38);backdrop-filter:blur(3px);cursor:wait}.journey-submit-feedback-card{display:flex;align-items:center;gap:16px;width:min(100%,520px);padding:22px 24px;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:#75414d;color:#fff;box-shadow:0 24px 70px rgba(48,29,31,.3)}.journey-submit-feedback-card .journey-submit-spinner{width:26px;height:26px;flex-basis:26px}.journey-submit-feedback-card div{display:grid;gap:5px}.journey-submit-feedback-card strong{font-size:17px}.journey-submit-feedback-card small{color:rgba(255,255,255,.8);font-size:13px;line-height:1.45}@keyframes journey-submit-spin{to{transform:rotate(360deg)}}
.journey-presenter{display:grid;grid-template-columns:minmax(0,1fr);min-height:570px;overflow:hidden;border:1px solid #332c29;border-radius:22px;background:#171311;box-shadow:0 18px 45px rgba(49,32,24,.16)}.journey-slide-stage{position:relative;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:18px;background:#171311}.journey-slide{position:relative;min-height:500px;display:none;overflow:hidden;padding:clamp(35px,6vw,78px);border-radius:15px;background:linear-gradient(135deg,#fff 0%,#fffaf7 100%)}.journey-slide.active{display:flex;align-items:center}.journey-slide>div{position:relative;z-index:2;width:min(100%,850px)}.journey-slide p{margin:0 0 13px;color:#9a5059;font-size:11px;font-weight:900;letter-spacing:2.6px}.journey-slide h3{margin:0;color:#3c2f2a;font:700 clamp(38px,5vw,66px)/1.02 Georgia,serif;letter-spacing:-1px}.journey-slide>div>span{display:block;max-width:760px;margin:20px 0;color:#775f54;font-size:17px;line-height:1.65}.journey-slide ul{display:grid;gap:10px;margin:25px 0 0;padding:0;list-style:none}.journey-slide li{display:flex;align-items:center;gap:10px;color:#51433d}.journey-slide li:before{content:"✓";width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f0e0dc;color:#884c57;font-size:12px;font-weight:900}.journey-slide>b{position:absolute;right:-10px;bottom:-55px;color:#f2e8e1;font:800 clamp(180px,24vw,330px)/1 Georgia,serif;transform:rotate(4deg)}.journey-slide.slide-accent-wine{background:linear-gradient(135deg,#78404c,#9d5c5b)}.journey-slide.slide-accent-wine p,.journey-slide.slide-accent-wine h3,.journey-slide.slide-accent-wine>div>span,.journey-slide.slide-accent-wine li{color:#fff}.journey-slide.slide-accent-wine li:before{background:#f0c9be;color:#713943}.journey-slide.slide-accent-wine>b{color:rgba(255,255,255,.08)}.journey-slide.slide-accent-sand{background:linear-gradient(135deg,#f3eadb,#fffaf2)}.journey-slide-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:15px}.journey-slide-controls .button,.journey-slide-controls .primary{min-height:45px;border-radius:11px}.journey-slide-stage:fullscreen{padding:28px;background:#171311}.journey-slide-stage:fullscreen .journey-slide{min-height:calc(100vh - 105px)}.journey-presentation-status{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;border:1px solid #e7d9d1;border-radius:14px;background:#fff}.journey-presentation-status>span{display:grid}.journey-presentation-status small{color:#8e7a70}.journey-presentation-status>strong{padding:7px 10px;border-radius:99px;background:#f4ead2;color:#896a28;font-size:11px}.journey-presentation-status>strong.completed{background:#e0eee6;color:#33704f}
.journey-science-term{display:grid;gap:18px;padding:32px;border-radius:22px;background:linear-gradient(135deg,#93483c,#b45c4b);color:#fff;box-shadow:0 18px 38px rgba(119,53,43,.15)}.journey-science-term>p{margin:0;color:#f7d6ca;font-size:11px;font-weight:900;letter-spacing:2px}.journey-science-term h3{margin:-7px 0 0;font:700 34px Georgia,serif}.journey-science-term>span{font-size:16px;line-height:1.65}.journey-science-term>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border-radius:12px;background:rgba(255,255,255,.13)}.journey-science-term>div small{color:#f5ded6}.journey-science-term>label{display:flex;align-items:center;gap:12px;padding:15px;border-radius:12px;background:rgba(255,255,255,.13);font-weight:700}.journey-science-term input{width:22px;height:22px}.journey-signature-card{width:min(100%,800px);display:grid;gap:12px;margin:auto;padding:22px;border:1px solid #e7dad4;border-radius:19px;background:#fff;box-shadow:0 12px 30px rgba(82,53,39,.05)}.journey-signature-card h3,.journey-signature-card p{margin:0}.journey-signature-card p{color:#8b766c}.journey-signature-card canvas{width:100%;height:220px;border:1px dashed #d8bdb5;border-radius:13px;background:#fff;touch-action:none}.journey-signature-card>button{min-height:44px;justify-self:end;border:0;background:none;color:#914c58;font-weight:800;text-decoration:underline}.journey-existing-signature{max-width:100%;max-height:110px;object-fit:contain;border-radius:9px;background:#fbf8f5}
.journey-packages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.journey-packages button{position:relative;display:grid;gap:5px;min-height:170px;padding:20px;border:1px solid #e2d2ca;border-radius:17px;background:#fff;color:#55453e;text-align:left;box-shadow:0 8px 22px rgba(82,53,39,.04);transition:.2s}.journey-packages button:hover,.journey-packages button.selected{border-color:#a9646d;box-shadow:0 12px 28px rgba(113,57,69,.12);transform:translateY(-2px)}.journey-packages button>span{color:#9d6469;font-size:9px;font-weight:900;letter-spacing:1.5px}.journey-packages h3{margin:0;color:#70414b;font-size:16px}.journey-packages small{color:#89766d}.journey-packages strong{align-self:end;color:#342c28;font-size:23px}.journey-packages i{position:absolute;right:13px;bottom:13px;color:#9b5d67;font-size:10px;font-weight:800}.journey-proposal-fields{margin-top:2px}.journey-proposal-summary{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:1px;overflow:hidden;border:1px solid #e4d5cd;border-radius:15px;background:#e4d5cd}.journey-proposal-summary>span{display:grid;gap:4px;padding:18px;background:#fff}.journey-proposal-summary small{color:#8d7b72}.journey-proposal-summary strong{color:#513b40}.journey-proposal-summary>span:last-child{background:#7d4350}.journey-proposal-summary>span:last-child small,.journey-proposal-summary>span:last-child strong{color:#fff}.journey-proposal-summary>span:last-child strong{font-size:23px}
.journey-decisions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.journey-decisions label{position:relative;display:grid;justify-items:center;gap:8px;min-height:210px;padding:28px 18px;border:2px solid #e7dad3;border-radius:20px;background:#fff;text-align:center;cursor:pointer;transition:.2s}.journey-decisions label:has(input:checked){border-color:#9c5a65;background:#fff8f7;box-shadow:0 12px 28px rgba(118,60,73,.1);transform:translateY(-2px)}.journey-decisions input{position:absolute;top:15px;right:15px;width:19px;height:19px}.journey-decisions span{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#f0e4e0;color:#844b56;font-size:27px}.journey-decisions strong{color:#503b40;font-size:18px}.journey-decisions small{color:#897870}.journey-decision-details{padding:24px;border:1px solid #e4d5cd;border-radius:18px;background:#fff}.journey-decision-details[hidden]{display:none}.journey-decision-details h3,.journey-decision-details p{margin:0}.journey-decision-details p{margin-top:5px;color:#88736a}.journey-decision-details>label{display:grid;gap:7px}.journey-decision-details select{border-radius:12px}
.journey-document-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.65fr);align-items:start;gap:18px}.journey-document-list{display:grid;gap:11px}.journey-document-list details{overflow:hidden;border:1px solid #e2d4cd;border-radius:16px;background:#fff}.journey-document-list summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:17px;cursor:pointer;list-style:none}.journey-document-list summary::-webkit-details-marker{display:none}.journey-document-list summary>span{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#f0e4e1;color:#864a56;font-size:10px;font-weight:900}.journey-document-list summary>strong{color:#5a3e45}.journey-document-list summary>i{color:#98606a;font-size:11px;font-weight:800}.journey-document-content{max-height:420px;overflow:auto;padding:28px;border-top:1px solid #eadfd9;background:#fffdfb}.journey-document-content article{max-width:780px;margin:auto;color:#443936;line-height:1.65}.journey-document-content h1{font:700 27px Georgia,serif}.journey-document-content h2{margin-top:25px;font-size:16px}.journey-document-list details>label{display:flex;align-items:center;gap:10px;padding:15px 18px;border-top:1px solid #eadfd9;background:#f7f1ed;color:#684b51;font-weight:750}.journey-document-list details>label input{width:20px;height:20px}.journey-document-layout>aside{display:grid;gap:14px;position:sticky;top:15px}.journey-document-summary{padding:24px;border-radius:18px;background:#74404d;color:#fff;box-shadow:0 14px 30px rgba(94,48,59,.15)}.journey-document-summary>p{margin:0;color:#e8c9ca;font-size:9px;font-weight:900;letter-spacing:1.7px}.journey-document-summary h3{margin:7px 0 2px;font:700 25px Georgia,serif}.journey-document-summary>span{color:#eed9d9}.journey-document-summary dl{margin:19px 0 0}.journey-document-summary dl>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid rgba(255,255,255,.14)}.journey-document-summary dt{color:#e9cccd}.journey-document-summary dd{margin:0;font-weight:800;text-align:right}.journey-document-layout>aside .journey-signature-card{padding:17px}.journey-document-layout>aside .journey-signature-card canvas{height:170px}
@media(max-width:1100px){.experience-journey-steps{grid-template-columns:repeat(7,125px)}.journey-presenter{grid-template-columns:minmax(0,1fr)}.journey-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-document-layout{grid-template-columns:1fr}.journey-document-layout>aside{position:static;grid-template-columns:1fr 1fr}.journey-slide{padding:42px}.journey-slide h3{font-size:45px}}
@media(max-width:760px){.experience-journey{padding-bottom:148px}.experience-journey-header{min-height:78px;padding:12px 16px}.experience-journey-header h1{font-size:19px}.experience-journey-close{width:41px;height:41px}.experience-journey-steps{padding:14px 16px 9px}.experience-journey-content{width:calc(100% - 24px);margin-top:12px}.journey-stage-heading{align-items:flex-start;flex-direction:column;padding:19px}.journey-stage-heading h2{font-size:25px}.journey-stage-heading>b{white-space:normal}.journey-form-grid{padding:18px}.journey-form-grid>[class*=field-span]{grid-column:span 12}.journey-actions{align-items:stretch;flex-direction:column;padding:10px 12px}.journey-actions>div{display:grid;grid-template-columns:1fr 1.2fr}.journey-actions>.button{display:none}.journey-actions .button,.journey-actions .primary{min-height:47px;padding:0 11px;font-size:12px}.journey-presenter{display:block;min-height:0}.journey-presenter>aside{display:flex;max-height:none;overflow-x:auto;border-right:0;border-bottom:1px solid #403835}.journey-presenter>aside button{min-width:165px}.journey-slide-stage{padding:9px}.journey-slide{min-height:500px;padding:30px 24px}.journey-slide h3{font-size:39px}.journey-slide>div>span{font-size:15px}.journey-slide-controls{flex-wrap:wrap}.journey-slide-controls [data-slide-fullscreen]{order:3;width:100%}.journey-presentation-status{align-items:flex-start;flex-direction:column}.journey-science-term{padding:24px 19px}.journey-science-term>div{align-items:flex-start;flex-direction:column}.journey-signature-card{padding:17px}.journey-signature-card canvas{height:180px}.journey-packages{grid-template-columns:1fr 1fr;gap:8px}.journey-packages button{min-height:160px;padding:15px}.journey-proposal-summary{grid-template-columns:1fr}.journey-decisions{grid-template-columns:1fr}.journey-decisions label{min-height:155px}.journey-document-layout>aside{grid-template-columns:1fr}.journey-document-list summary{grid-template-columns:34px minmax(0,1fr)}.journey-document-list summary>i{display:none}.journey-document-content{padding:18px}.journey-validation{align-items:flex-start;flex-direction:column;margin-right:12px;margin-left:12px}}
.journey-presenter.presentation-ipad-fullscreen{position:fixed!important;z-index:1000;inset:0;width:100vw;height:100vh;height:100dvh;display:block;padding:0!important;border:0;border-radius:0;background:#171311;overflow:hidden}.journey-presenter.presentation-ipad-fullscreen>aside{display:none}.presentation-ipad-fullscreen .journey-slide-stage{width:100%;height:100%;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.presentation-ipad-fullscreen .journey-slide{min-height:100%;height:100%}.presentation-ipad-fullscreen~.journey-presentation-status,.presentation-ipad-fullscreen~.journey-actions{display:none}
html.presentation-fullscreen-active,html.presentation-fullscreen-active body{width:100%;height:100%;overflow:hidden;background:#171311!important}

/* Compact navigation and on-demand registration panels */
@media(min-width:1001px){
    .contract-sidebar{padding-top:24px;padding-bottom:18px}
    .contract-sidebar nav{gap:3px}
    .contract-sidebar nav a{min-height:40px;padding:8px 11px}
    .contract-sidebar .restricted-link{margin-top:8px!important}
    .contract-sidebar .sidebar-user{padding-top:10px}
}
.inventory-registration-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 28px}
.inventory-registration-actions button{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 13px;padding:16px 18px;text-align:left;border:1px solid #e5d8ca;border-radius:16px;background:#fff;color:#453831;box-shadow:0 9px 25px #6e4f2408;cursor:pointer}
.inventory-registration-actions button:hover{border-color:#b78b66;transform:translateY(-1px)}
.inventory-registration-actions button>span{grid-row:1/3;width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#f3ead9;color:#806832;font-size:12px;font-weight:900;letter-spacing:1px}
.inventory-registration-actions strong{font:700 18px Georgia,serif}.inventory-registration-actions small{color:#85766b}
.inventory-editor-backdrop,.professional-editor-backdrop{z-index:120;padding:28px;overflow:auto}
.inventory-editor-backdrop .inventory-form-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 56px);overflow:auto;margin:auto;padding:26px}
.inventory-editor-backdrop[data-inventory-dialog=box] .inventory-form-card{width:min(680px,100%)}
.inventory-form-card .modal-close,.professional-editor .modal-close{position:absolute;top:14px;right:14px}
.inventory-form-card>header{padding-right:46px}
.team-heading .primary-link{border:0;cursor:pointer}
.professional-editor-backdrop{align-items:flex-start}
.professional-editor{position:relative;width:min(1120px,100%);max-height:calc(100vh - 56px);margin:auto;padding:28px;overflow:auto;border:1px solid #e2d5ca;border-radius:20px;background:#fff}
.professional-editor>header{margin:0 48px 22px 0}.professional-editor>header p{margin:0;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:2px}.professional-editor>header h3{margin:4px 0;font:30px Georgia,serif}.professional-editor>header span{color:#83766d}
.professional-list{display:grid;gap:10px}.professional-row{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(360px,1fr) auto;align-items:center;gap:20px;padding:16px 18px;border:1px solid #e5dbce;border-radius:15px;background:#fff}
.professional-row .profile-head{min-width:0}.professional-row dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0}.professional-row dl dt{color:#907f73;font-size:10px;text-transform:uppercase}.professional-row dl dd{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.professional-row>p{display:none}.professional-row .document-pills{grid-column:1/3;margin:0}.professional-row footer{grid-column:3;grid-row:1;flex-direction:column;align-items:flex-end!important;margin:0!important;padding:0!important;border:0!important}
.journey-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.journey-choice-grid label{display:grid;gap:7px}.journey-choice-grid [hidden]{display:none}

/* One-document-at-a-time reading flow */
.journey-document-presenter{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:650px;overflow:hidden;border:1px solid #e2d4cd;border-radius:20px;background:#fff;box-shadow:0 16px 40px rgba(82,53,39,.06)}
.journey-document-presenter>nav{display:flex;flex-direction:column;gap:5px;padding:14px;border-right:1px solid #eadfd9;background:#faf5f2}
.journey-document-presenter>nav button{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:9px;padding:11px;border:1px solid transparent;border-radius:11px;background:transparent;color:#69555a;text-align:left;cursor:pointer}
.journey-document-presenter>nav button:disabled{cursor:not-allowed;opacity:.48}.journey-document-presenter>nav button.active{border-color:#e1cdd1;background:#fff}.journey-document-presenter>nav button.completed i{display:grid}.journey-document-presenter>nav span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#efe2df;color:#824958;font-size:10px;font-weight:900}.journey-document-presenter>nav strong{font-size:12px}.journey-document-presenter>nav i{display:none;color:#2f7258;font-style:normal;font-weight:900}
.journey-document-stage{min-width:0}.journey-document-stage>article{height:100%}.journey-document-stage>article>header{padding:18px 24px;border-bottom:1px solid #eadfd9}.journey-document-stage>article>header span{color:#9d6b77;font-size:10px;font-weight:900;letter-spacing:1.3px;text-transform:uppercase}.journey-document-stage>article>header h3{margin:4px 0 0;font:24px Georgia,serif}
.journey-document-stage .journey-document-content{height:470px;max-height:none}.journey-document-confirm{display:flex;align-items:center;gap:10px;padding:15px 22px;border-top:1px solid #eadfd9;background:#f7f1ed;color:#684b51;font-weight:750}.journey-document-confirm input{width:20px;height:20px}.journey-document-stage article>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #eadfd9}.journey-document-stage article>footer small{color:#8f7b72;text-align:center}.journey-document-signature-stage{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;padding:24px}.journey-document-signature-stage[hidden]{display:none!important}.journey-document-signature-stage>.journey-document-summary{grid-column:1/-1}.journey-document-signature-stage>.journey-document-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}.journey-document-signature-stage>.journey-document-summary dl>div{align-items:center}.journey-document-signature-stage>.journey-signature-card,.journey-document-signature-stage>.journey-rt-signature-status{width:100%;height:100%;margin:0}.journey-document-signature-stage>footer{grid-column:1/-1}.journey-document-signature-stage .journey-signature-card canvas{height:190px}.journey-saved-signature{min-height:190px;display:grid;place-items:center;align-content:center;gap:8px;border:1px solid #eadfd9;border-radius:13px;background:#fcf8f6}.journey-saved-signature .journey-existing-signature{max-height:125px}.journey-saved-signature span{color:#397456;font-size:12px;font-weight:800}
@media(max-width:1000px){.professional-row{grid-template-columns:1fr}.professional-row footer{grid-column:auto;grid-row:auto;flex-direction:row;align-items:center!important}.professional-row .document-pills{grid-column:auto}.journey-document-presenter{grid-template-columns:1fr}.journey-document-presenter>nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #eadfd9}.journey-document-presenter>nav button{min-width:190px}.journey-document-signature-stage{grid-template-columns:1fr}}
@media(max-width:700px){.inventory-registration-actions{grid-template-columns:1fr}.inventory-editor-backdrop,.professional-editor-backdrop{padding:10px}.professional-editor{padding:18px}.journey-choice-grid{grid-template-columns:1fr}.journey-document-stage .journey-document-content{height:420px}.journey-document-stage article>footer{flex-wrap:wrap}.journey-document-stage article>footer small{order:3;width:100%}.journey-document-signature-stage{padding:14px}.journey-document-signature-stage>.journey-document-summary dl{grid-template-columns:1fr}.journey-saved-signature{min-height:160px}}
.journey-document-signature-stage>.journey-rt-signature-card,.journey-document-signature-stage>.journey-rt-signature-status-card{grid-column:1/-1}
@media(max-width:480px){.journey-packages{grid-template-columns:1fr}.journey-slide h3{font-size:34px}.journey-slide li{font-size:13px}.journey-actions>div{grid-template-columns:1fr 1fr}.journey-science-term>span{font-size:14px}}
.journey-start-card{display:flex;align-items:center;justify-content:space-between;gap:20px;color:inherit;text-decoration:none}.journey-start-card>span{display:grid;gap:4px}.journey-start-card strong{color:#633b46;font:700 24px Georgia,serif}.journey-start-card small{color:#8d7c74}.journey-start-card>b{padding:10px 13px;border-radius:10px;background:#f1e5e2;color:#7c4552;white-space:nowrap}.presentation-client-profile{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.presentation-client-profile dl,.presentation-evaluation-data{margin:15px 0 0}.presentation-client-profile dl>div,.presentation-evaluation-data>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:11px 0;border-top:1px solid #eee3dd}.presentation-client-profile dt,.presentation-evaluation-data dt{color:#927769}.presentation-client-profile dd,.presentation-evaluation-data dd{margin:0;color:#493a34;font-weight:750}.presentation-evaluation-history{display:grid;grid-template-columns:330px minmax(0,1fr);align-items:start;gap:18px;margin-bottom:25px}.presentation-evaluation-list{display:grid;gap:7px;margin-top:15px}.presentation-evaluation-list>a{display:grid;gap:3px;padding:13px;border:1px solid #eadfd9;border-radius:12px;color:#5d4b44;text-decoration:none}.presentation-evaluation-list>a:hover,.presentation-evaluation-list>a.active{border-color:#c9999e;background:#fff8f7}.presentation-evaluation-list span,.presentation-evaluation-list small{color:#918078;font-size:11px}.presentation-evaluation-detail{min-height:370px}.presentation-progress-card{display:grid;gap:10px;margin-top:18px;padding:15px;border-radius:13px;background:#f7f0ec}.presentation-progress-card>span{display:flex;justify-content:space-between;gap:12px}.presentation-progress-card small{color:#8e7a71}.presentation-progress-card i{height:7px;overflow:hidden;border-radius:99px;background:#e5d7d1}.presentation-progress-card i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a65762,#c28f48)}.presentation-schedule{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.presentation-schedule>span{display:grid;gap:3px;padding:13px;border-radius:11px;background:#f3ebe5}.presentation-schedule small{color:#8b756a}.presentation-schedule strong{color:#633c46}
@media(max-width:900px){.presentation-client-profile,.presentation-evaluation-history{grid-template-columns:1fr}.presentation-evaluation-history>aside{position:static}.presentation-client-profile dl>div,.presentation-evaluation-data>div{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:560px){.journey-start-card{align-items:flex-start;flex-direction:column}.presentation-client-profile dl>div,.presentation-evaluation-data>div{grid-template-columns:1fr;gap:4px}.presentation-progress-card>span{align-items:flex-start;flex-direction:column}.presentation-schedule{grid-template-columns:1fr}}

/* Apresentação oficial da ZOE Experience */
.journey-presenter>aside button>span{overflow:hidden}
.journey-presenter>aside button>span img{width:100%;height:100%;display:block;object-fit:cover}
.journey-presenter>aside button>span b{display:grid;height:100%;place-items:center;color:#f0d7d5;font-size:12px}
.journey-presenter>aside button>strong{display:grid;gap:2px}
.journey-presenter>aside button>strong small{overflow:hidden;color:#a9948a;font-size:8px;font-weight:800;letter-spacing:.5px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.journey-slide.journey-slide-media{min-height:500px;padding:0;background:#0f0d0c}
.journey-slide.journey-slide-media.active{display:block}
.journey-slide-media>img{width:100%;height:500px;display:block;object-fit:contain;background:#0f0d0c;clip-path:inset(6% 0 0)}
.journey-slide-media[data-slide="0"]>img{clip-path:inset(14% 0 0)}
.journey-slide-annotation{position:absolute;z-index:7;inset:0;width:100%;height:100%;pointer-events:none;touch-action:none;cursor:crosshair}
.journey-presenter.annotation-editing .journey-slide.active .journey-slide-annotation{pointer-events:auto}
.journey-annotation-tools{position:absolute;z-index:14;top:30px;left:30px;display:flex;align-items:center;gap:8px}
.journey-annotation-tools .button{min-height:43px;padding:0 14px;border:1px solid rgba(255,255,255,.18);background:rgba(35,26,23,.9);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.journey-annotation-tools .button.active{border-color:#e7bbb9;background:#824455}
.journey-annotation-tools .button:disabled{opacity:.45;cursor:not-allowed}
.journey-annotation-color{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(35,26,23,.9);color:#fff;font-size:11px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.journey-annotation-color input{width:29px;height:29px;padding:2px;border:0;border-radius:8px;background:transparent;cursor:pointer}.journey-annotation-color input:disabled{opacity:.45;cursor:not-allowed}
.journey-annotation-tools small{display:none;max-width:260px;padding:8px 11px;border-radius:9px;background:rgba(35,26,23,.88);color:#f7ece8;font-size:10px}
.journey-presenter.annotation-editing .journey-annotation-tools small{display:block}
.journey-slide-stage .journey-slide-controls{position:absolute;z-index:12;inset:0;padding:0;pointer-events:none}
.journey-slide-stage .journey-slide-controls button{position:absolute;pointer-events:auto;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.journey-slide-stage .journey-slide-controls [data-slide-prev],.journey-slide-stage .journey-slide-controls [data-slide-next]{top:50%;width:52px;height:64px;padding:0;transform:translateY(-50%);font-size:0}
.journey-slide-stage .journey-slide-controls [data-slide-prev]{left:30px}
.journey-slide-stage .journey-slide-controls [data-slide-next]{right:30px}
.journey-slide-stage .journey-slide-controls [data-slide-prev]:after{content:"‹";font-size:29px}
.journey-slide-stage .journey-slide-controls [data-slide-next]:after{content:"›";font-size:29px}
.journey-slide-stage .journey-slide-controls [data-slide-fullscreen]{top:32px;right:32px;background:rgba(255,255,255,.92)}
.journey-slide-caption{position:absolute!important;right:14px;bottom:14px;left:14px;z-index:4!important;width:auto!important;max-width:max-content!important;display:flex;gap:7px;padding:8px 12px;border-radius:10px;background:rgba(24,17,15,.84);color:#fff;font-size:11px;backdrop-filter:blur(7px)}
.journey-slide-caption b{color:#e6b5b4}
.journey-slide-stage:fullscreen .journey-slide-caption,.journey-slide-stage:-webkit-full-screen .journey-slide-caption,.presentation-ipad-fullscreen .journey-slide-caption{display:none!important}
.journey-video-layout{width:100%!important;min-height:500px;display:grid;grid-template-columns:minmax(0,1fr);background:#15110f}
.journey-video-player{position:relative;min-width:0;display:grid;place-items:center;padding:18px;background:#090807}
.journey-video-player video{width:100%;max-height:464px;display:block;border-radius:11px;background:#000}
.journey-video-player>button{position:absolute;bottom:31px;left:31px;min-height:42px;padding:0 15px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(63,42,38,.88);color:#fff;font-weight:800;backdrop-filter:blur(7px)}
.journey-video-layout>aside{display:grid;align-content:center;gap:12px;padding:27px;background:linear-gradient(155deg,#fbf3ed,#fff)}
.journey-video-layout>aside>small{color:#99535d;font-size:9px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}
.journey-video-layout>aside h3{margin:0;color:#3f312c;font:700 29px/1.05 Georgia,serif;letter-spacing:-.3px}
.journey-video-layout>aside>p{margin:0;color:#7c675e;font-size:13px;line-height:1.5}
.journey-video-layout ol{display:grid;gap:8px;margin:2px 0;padding:0;list-style:none}
.journey-video-layout li{display:grid;grid-template-columns:27px 1fr;align-items:start;gap:8px;color:#665149}
.journey-video-layout li:before{display:none}
.journey-video-layout li>b{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#ead7d2;color:#814754;font-size:10px}
.journey-video-layout li>span{display:grid;font-size:11px;line-height:1.35}
.journey-video-layout li strong{color:#563c42;font-size:12px}
.journey-video-layout>aside em{padding-top:10px;border-top:1px solid #e8d9d2;color:#927e74;font-size:9px;line-height:1.45}
.journey-slide-stage:fullscreen .journey-slide-media,.journey-slide-stage:fullscreen .journey-video-layout{height:calc(100vh - 105px);min-height:0}
.journey-slide-stage:fullscreen .journey-slide-media>img,.presentation-ipad-fullscreen .journey-slide-media>img{height:100%}
.journey-slide-stage:fullscreen .journey-video-player video{max-height:calc(100vh - 145px)}
.presentation-fullscreen-active .journey-presenter>aside{display:none!important}
.presentation-fullscreen-active .journey-presenter{grid-template-columns:minmax(0,1fr)}

@media(max-width:1000px){
  .journey-video-layout{grid-template-columns:1fr}
  .journey-video-layout>aside{display:none}
}
@media(max-width:760px){
  .journey-slide.journey-slide-media,.journey-video-layout{min-height:420px}
  .journey-slide-media>img{height:420px}
  .journey-video-player{padding:8px}
  .journey-video-player video{max-height:400px}
  .journey-slide-caption{font-size:9px}
  .journey-slide-stage .journey-slide-controls [data-slide-prev]{left:17px}
  .journey-slide-stage .journey-slide-controls [data-slide-next]{right:17px}
  .journey-slide-stage .journey-slide-controls [data-slide-fullscreen]{top:17px;right:17px;width:auto}
  .journey-annotation-tools{top:17px;left:17px;align-items:flex-start;flex-direction:column}
  .journey-annotation-tools small{max-width:190px}
}

/* Redesenho da página inicial da Gestão Zoe. */
.home-page{min-height:100vh;background:radial-gradient(circle at 74% 17%,#fff 0 11%,transparent 31%),linear-gradient(135deg,#fffdfb 0%,#fff8f7 48%,#fbf0f1 100%);color:#54333c}
.home-page:before,.home-page:after{content:"";position:fixed;z-index:-1;width:260px;height:420px;opacity:.17;background:radial-gradient(ellipse at center,transparent 54%,#caa46b 55% 56%,transparent 57%);pointer-events:none}
.home-page:before{left:-130px;top:120px;transform:rotate(-30deg)}.home-page:after{right:-155px;bottom:10px;transform:rotate(34deg)}
.home-page .home-app{width:min(100%,1240px);min-height:calc(100vh - 54px);margin:0 auto;padding:21px clamp(24px,4vw,60px) 24px}
.home-page .home-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border:0}
.home-page .home-brand{display:flex;align-items:center;gap:14px;color:var(--wine);font:inherit;text-decoration:none}
.home-page .home-brand img{width:55px;height:55px;object-fit:contain;border-radius:13px;background:#fff;box-shadow:0 8px 24px #6f3c4b16}
.home-brand>span{display:grid;gap:2px}.home-brand strong{font:700 28px/1 Georgia,serif}.home-brand small{color:#c67b89;font-size:9px;font-weight:800;letter-spacing:1.25px;text-transform:uppercase}
.home-page .home-header .header-account summary{min-width:250px;padding:10px 14px;border:1px solid #eadadd;border-radius:13px;background:#ffffffa8;box-shadow:none}
.home-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(400px,1.15fr);align-items:center;gap:70px;padding:38px 38px 34px 70px}
.home-page .home-welcome{position:relative;display:block;margin:0}
.home-greeting{margin:0 0 2px;color:#b29455;font:26px Georgia,serif}
.home-page .home-welcome h1{margin:0;color:#653345;font:clamp(48px,5.5vw,76px)/1 Georgia,serif;letter-spacing:-2px}
.home-page .home-welcome>p:last-of-type{max-width:440px;margin:14px 0 23px;color:#75676a;font-size:15px;line-height:1.55}
.home-quote{position:relative;overflow:hidden;min-height:245px;margin:0;padding:48px 145px 32px 38px;border:1px solid #eadfe0;border-radius:22px;background:linear-gradient(115deg,#fff,#fdf7f6);box-shadow:0 14px 38px #70404c13}
.home-quote:after{content:"✿";position:absolute;right:28px;bottom:22px;color:#e8c5bd;font:100px Georgia;opacity:.72}
.home-quote>span{position:absolute;top:25px;left:35px;color:#c6a45e;font:54px Georgia}
.home-quote p{position:relative;z-index:1;max-width:390px;margin:0;color:#653345;font:700 21px/1.35 Georgia,serif}
.home-quote p:after{content:"";display:block;width:116px;margin-top:20px;border-bottom:1px solid #d5af69}
.home-quote footer{position:relative;z-index:1;margin-top:18px;color:#b08a3f;font-size:12px;font-style:normal}
.home-access>p{margin:0 0 14px 8px;color:#b08d48;font-size:10px;font-weight:900;letter-spacing:2px;text-transform:uppercase}
.home-page .home-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:15px}
.home-page .home-module{position:relative;display:flex;min-height:228px;flex-direction:column;align-items:flex-start;padding:22px 22px 20px;border:1px solid #eadcde;border-radius:17px;background:#fffffff0;color:#503a40;text-decoration:none;box-shadow:0 12px 30px #6f3c4b0d}
.home-page .home-module:hover{border-color:#cba1ab;background:#fff;transform:translateY(-4px);box-shadow:0 18px 38px #6f3c4b1a}
.home-page .home-module-icon{width:55px;height:55px;display:grid;place-items:center;margin-bottom:16px;border-radius:50%;background:#f8e3e8;color:#8d3a51;font-size:27px}
.home-page .home-module strong{max-width:190px;color:#693446;font:700 19px/1.12 Georgia,serif}.home-page .home-module small{max-width:190px;margin-top:9px;color:#796d70;font-size:12px;line-height:1.45}.home-page .home-module>b{position:absolute;right:17px;bottom:15px;color:#bc536b;font-size:19px;font-weight:400}
.home-page .home-module.contracts-module .home-module-icon{background:#f5ecdc;color:#9a7837}.home-page .home-module.contracts-module>b{color:#ae8841}
.home-page .home-module.routes-module .home-module-icon{background:#f9e4e9;color:#ad465f}.home-page .home-module.admin-module .home-module-icon{background:#f8e5e8;color:#9b3048}
.home-values{display:grid;grid-template-columns:repeat(3,1fr);margin-top:19px;padding:15px 20px;border:1px solid #eadfe0;border-radius:17px;background:#ffffffd4;box-shadow:0 10px 28px #6f3c4b0b}
.home-values>div{display:flex;align-items:center;justify-content:center;gap:13px;padding:0 22px}.home-values>div+div{border-left:1px solid #eadfe0}
.home-values>div>span{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f9e4e8;color:#cf8291;font-size:19px}
.home-values p{display:grid;gap:3px;margin:0}.home-values strong{color:#67404a;font-size:11px}.home-values small{max-width:220px;color:#887c7f;font-size:9px;line-height:1.35}
.home-page .site-credit{margin-top:0;background:linear-gradient(100deg,#ac3f59,#6f2c40);color:#f7dce3}.home-page .site-credit strong,.home-page .site-credit a{color:#fff}
@media(max-width:900px){.home-hero{grid-template-columns:1fr;gap:28px;padding:30px 8px}.home-quote{min-height:210px}.home-values{grid-template-columns:1fr}.home-values>div{justify-content:flex-start;padding:12px}.home-values>div+div{border-top:1px solid #eadfe0;border-left:0}}
@media(max-width:700px){.home-page .home-app{padding:15px 16px 28px}.home-page .home-header{align-items:flex-start}.home-page .home-brand img{width:48px;height:48px}.home-brand strong{font-size:22px}.home-brand small{font-size:7px}.home-page .home-header .header-account summary{min-width:0}.home-page .home-header .header-account summary>span{display:none}.home-hero{padding:34px 5px 28px}.home-greeting{font-size:22px}.home-page .home-welcome h1{font-size:52px}.home-quote{padding:48px 85px 28px 27px}.home-quote p{font-size:18px}.home-quote:after{right:10px;font-size:70px}.home-page .home-modules{grid-template-columns:1fr 1fr}.home-page .home-module{min-height:205px;padding:18px}.home-page .home-module-icon{width:48px;height:48px}}
@media(max-width:470px){.home-page .home-modules{grid-template-columns:1fr}.home-page .home-module{min-height:175px}.home-values{padding:8px 12px}}

.routes-permission-summary{display:flex;align-items:center;gap:14px;padding:17px;border:1px solid #ead4d9;border-radius:14px;background:#fff8fa}
.routes-permission-summary[hidden],.permission-groups[hidden]{display:none!important}
.routes-permission-summary>span{flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:#f6e0e6;color:var(--wine);font-size:23px}
.routes-permission-summary>div{display:grid;gap:4px}.routes-permission-summary strong{color:#663445}.routes-permission-summary small{color:#85757a;line-height:1.45}
.master-permission-summary{background:linear-gradient(135deg,#fff9ea,#fff)}
.test-mode-card{display:flex;align-items:center;justify-content:space-between;gap:24px}.test-mode-card>div{display:grid;gap:7px}.test-mode-card h2,.test-mode-card p{margin:0}.test-mode-card p:last-child{color:#806f73}.test-mode-card form{flex:0 0 auto}
@media(max-width:760px){.test-mode-card{align-items:stretch;flex-direction:column}.test-mode-card button{width:100%}}

/* Relatórios comerciais por rota */
.presentation-hero-grid.management-overview{grid-template-columns:minmax(0,1fr)}
.presentation-route-summary dl{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-heading .eyebrow,.report-closure-form .eyebrow,.report-highlight-card .eyebrow{margin:0 0 8px;color:#ae8b43;font-size:11px;font-weight:800;letter-spacing:.2em}
.report-filter-panel{margin-bottom:18px}
.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:16px}
.report-filter-grid label,.report-closure-form label{display:grid;gap:7px;color:#765f56;font-size:12px;font-weight:700}
.report-filter-grid select,.report-filter-grid input,.report-closure-form select,.report-closure-form input{width:100%;min-height:46px;padding:0 12px;border:1px solid #dfd1ca;border-radius:12px;background:#fff;color:#493933;font:inherit}
.report-filter-actions{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(130px,1fr);align-items:center;gap:10px}
.report-filter-actions .button,.report-filter-actions .primary{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding-inline:14px;white-space:nowrap}
.report-period-caption{margin:16px 0 0;padding-top:14px;border-top:1px solid #eee1db;color:#8b6b5c;font-size:13px;font-weight:700}
.report-main-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.report-highlight-card{justify-content:center;background:linear-gradient(135deg,#7c3f52,#a65c67);color:#fff}
.report-highlight-card .eyebrow{color:#f1cc91}.report-highlight-card h2{margin:0;color:#fff;font-size:25px}.report-highlight-card>strong{margin:16px 0 7px;color:#fff;font-size:56px;font-family:Georgia,serif}.report-highlight-card>p:last-child{margin:0;color:#f4e5e7;line-height:1.55}
.report-section{margin-bottom:20px}
.report-section .table-wrap{margin-top:18px}
.report-closure-grid{display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(0,.95fr);gap:18px;margin:28px 0}
.report-closure-form>p:not(.eyebrow){color:#897770;line-height:1.55}.report-closure-form form{display:grid;gap:13px;margin-top:22px}.report-closure-form button{min-height:48px}
.report-closure-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.form-errors{margin:0;padding:13px 16px;border:1px solid #e8b9b9;border-radius:13px;background:#fff1f1;color:#9e3535}.form-errors li+li{margin-top:5px}
.closure-rule-note{margin:2px 0 0;padding:13px 15px;border-radius:13px;background:#f8f1e5;color:#735f4c;font-size:12px;line-height:1.55}
.closure-route-team{display:grid;gap:12px;padding:16px;border:1px solid #eadbd3;border-radius:16px;background:#fffdfa}
.closure-route-team[hidden]{display:none}.closure-team-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.closure-team-heading strong{color:#54333e}.closure-team-heading span{color:#927d73;font-size:11px;text-align:right}
.closure-commission-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.45fr);align-items:end;gap:12px;padding-top:12px;border-top:1px solid #f0e4de}.closure-commission-row>div{display:grid;gap:3px}.closure-commission-row small{color:#927d73}.money-input{display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;border:1px solid #dfd1ca;border-radius:12px;background:#fff}.money-input span{padding-left:12px;color:#8f6c5f;font-weight:800}.money-input input{border:0!important;border-radius:0!important;outline:0}.percentage-input{grid-template-columns:1fr auto}.percentage-input b{padding-right:12px;color:#8f6c5f;font-weight:800}
.closure-cash-holder{padding-top:13px;border-top:1px solid #eadbd3}.closure-empty-team{margin:0;padding:12px;border-radius:12px;background:#f8efeb;color:#856f66;font-size:12px}.closure-submit{width:100%}
.report-closure-list{display:grid;gap:10px;margin-top:18px;max-height:560px;overflow:auto;padding-right:4px}
.report-closure-list>article{display:grid;gap:12px;padding:16px;border:1px solid #eaded7;border-radius:15px;background:#fff}
.report-closure-list>article>div{display:flex;justify-content:space-between;gap:10px}.report-closure-list>article>div span,.report-closure-list small{color:#8e7b72;font-size:11px}
.closure-history-heading{align-items:flex-start}.closure-history-heading>div{display:grid;gap:3px}.closure-history-heading em{padding:5px 9px;border-radius:999px;background:#edf6ef;color:#34704d;font-size:10px;font-style:normal;font-weight:800}
.report-closure-list dl,.closure-financial-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0}.report-closure-list dl div{display:grid;gap:3px;padding:9px;border-radius:11px;background:#faf4f1}.report-closure-list dt{color:#927c72;font-size:10px}.report-closure-list dd{margin:0;color:#503840;font-weight:800}.closure-financial-summary .closure-final-net{background:#7c3f52}.closure-financial-summary .closure-final-net dt,.closure-financial-summary .closure-final-net dd{color:#fff}
.closure-cash-note{margin:0;padding:10px 12px;border-radius:11px;background:#fff7e8;color:#765b34}.closure-commission-tags{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.closure-commission-tags>span{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:#f5e8ec;color:#733a4b}.closure-commission-tags strong{font-size:12px}.closure-commission-tags small{font-size:10px}
@media(max-width:1180px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-main-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.presentation-route-summary dl{grid-template-columns:repeat(2,1fr)}.report-main-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-closure-grid{grid-template-columns:1fr}}
@media(max-width:650px){.report-filter-grid,.report-main-metrics,.report-closure-fields{grid-template-columns:1fr}.report-filter-actions{grid-template-columns:1fr 1fr}.report-closure-list>article>div,.closure-commission-row{display:grid;grid-template-columns:1fr}.report-closure-list dl,.closure-financial-summary{grid-template-columns:1fr 1fr}.report-heading .button{width:100%;text-align:center}}
.client-contract-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.client-contract-heading-actions .primary{padding:9px 14px}
@media(max-width:650px){.client-contract-heading-actions{width:100%;justify-content:space-between}.client-contract-heading-actions .primary{flex:1}}

/* Início da gestão ZOE Experience */
.management-experience-hero{position:relative;isolation:isolate;min-height:220px;display:flex;align-items:center;overflow:hidden;margin:25px 0 10px;padding:38px clamp(34px,10vw,170px);border:1px solid #e4c9b7;border-radius:22px;background:radial-gradient(circle at 75% 25%,#fff 0,#fffaf7 43%,#fff8f4 100%);box-shadow:0 12px 35px rgba(105,55,43,.07)}
.management-experience-hero:before,.management-experience-hero:after{content:"";position:absolute;z-index:-1;width:190px;height:190px;opacity:.22;background:radial-gradient(ellipse at 50% 100%,transparent 46%,#c78f55 47%,transparent 49%)}
.management-experience-hero:before{left:-35px;bottom:-65px;transform:rotate(-20deg)}.management-experience-hero:after{right:160px;top:-110px;transform:rotate(160deg)}
.management-experience-copy{position:relative;z-index:2}.management-experience-copy .eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 11px;color:#4f202d;letter-spacing:.19em}.management-experience-copy .eyebrow span{color:#c7923b;font-size:22px}
.management-experience-copy h1{margin:0;color:#4c1726;font:clamp(42px,5vw,68px)/1.02 Georgia,serif;letter-spacing:-.035em}.management-hero-accent{display:block;width:48px;height:2px;margin:17px 0;background:#c99c4e}.management-experience-copy>p:last-child{margin:0;color:#634d49;font-size:16px}
.management-hero-watermark{position:absolute;right:55px;bottom:-22px;color:#f2dede;font:240px/.8 Georgia,serif;opacity:.68}
.management-performance{margin-bottom:30px;padding:22px 28px 27px;border:1px solid #e8d8d0;border-radius:22px;background:rgba(255,255,255,.91);box-shadow:0 15px 40px rgba(82,53,39,.075)}
.management-performance-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;margin-bottom:20px}.management-performance-heading h2{margin:0;color:#4b1d2a;font:700 24px Georgia,serif}.management-performance-heading p{margin:4px 0 0;color:#987870;font-size:12px}.management-section-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:12px;background:#fff8ef;color:#c58b36;font-size:24px;box-shadow:inset 0 0 0 1px #f2e2d3}
.management-report-button{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid #d69c4b;border-radius:11px;color:#572331;font-size:12px;font-weight:800;text-decoration:none;background:#fff}.management-report-button:hover{background:#fff8ed}
.management-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:17px}.management-summary-cards article{min-height:88px;display:flex;align-items:center;gap:17px;padding:16px 25px;border:1px solid #ecdfd8;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(94,56,43,.06)}.management-summary-cards article>div{display:grid;gap:4px}.management-summary-cards small{color:#5c3540;font-size:12px}.management-summary-cards strong{color:#491724;font-size:25px;line-height:1}.management-metric-icon{flex:0 0 56px;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#fff7ee,#f8e7d9);color:#ca8a2c;font-size:27px}
.management-route-table-wrap{overflow:auto;padding:5px 20px;border:1px solid #ebdfd9;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(94,56,43,.05)}.management-route-table{width:100%;min-width:760px;border-collapse:collapse}.management-route-table th{padding:11px 20px;color:#4c2730;font-size:16px}.management-route-table th:first-child{text-align:left}.management-route-table th:not(:first-child){text-align:center}.management-route-table td{height:42px;padding:7px 20px;border:0;color:#3f2d2a;font-size:16px;text-align:center}.management-route-table tbody tr:nth-child(even){background:#fff9f7}.management-route-table td:first-child{display:flex;align-items:center;gap:10px;text-align:left}.management-route-table td:last-child{color:#431c27}.management-route-pin{color:#c98d2f;font-size:19px}.management-route-number{min-width:29px;height:25px;display:grid;place-items:center;border-radius:6px;background:#c99c96;color:#fff;font-size:13px;font-weight:800}
@media(max-width:1100px){.management-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.management-experience-hero{padding-left:55px}.management-hero-watermark{right:20px;font-size:190px}}
@media(max-width:700px){.management-experience-hero{min-height:240px;padding:30px 23px}.management-experience-copy h1{font-size:42px}.management-experience-copy>p:last-child{max-width:80%;font-size:14px}.management-hero-watermark{right:-10px;font-size:150px}.management-performance{padding:18px 13px}.management-performance-heading{grid-template-columns:auto minmax(0,1fr)}.management-report-button{grid-column:1/-1;justify-content:center}.management-summary-cards{grid-template-columns:1fr;gap:9px}.management-summary-cards article{min-height:75px;padding:12px 18px}.management-metric-icon{width:48px;height:48px;flex-basis:48px}.management-route-table-wrap{padding:4px 8px}}

/* Leads */
.lead-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:32px 0 20px}.lead-page-heading h1{margin:3px 0 5px;color:#3d302b;font:700 45px/1.05 Georgia,serif}.lead-page-heading>div>p:last-child{margin:0;color:#8e7c73}.lead-route-badge{padding:12px 18px;border:1px solid #eadbd4;border-radius:999px;background:#fff;color:#744052;font-weight:750}.lead-card{border:1px solid #e7d8d0;border-radius:23px;background:rgba(255,255,255,.94);box-shadow:0 14px 34px rgba(82,53,39,.06)}
.lead-route-status{display:grid;grid-template-columns:auto minmax(180px,.65fr) minmax(260px,1fr);align-items:center;gap:22px;margin-bottom:20px;padding:25px 30px;border:1px solid #e5d6cf;border-radius:23px;background:#fff}.lead-route-status strong{display:block;margin:4px 0;color:#3f3030;font-size:31px}.lead-route-status p,.lead-route-status span{color:#88766d}.lead-target-copy{padding-left:24px;border-left:1px solid #ebded8}.lead-target-copy strong{font-size:19px}.lead-traffic-light{display:grid;gap:5px;padding:9px;border-radius:18px;background:#392f2d}.lead-traffic-light i{width:16px;height:16px;border-radius:50%;background:#675b57}.lead-level-red .lead-traffic-light i:first-child,.lead-level-red.lead-level-pill,.lead-level-red.lead-metric-grid article{background:#f7dada;color:#9e3434}.lead-level-yellow .lead-traffic-light i:nth-child(2),.lead-level-yellow.lead-level-pill,.lead-level-yellow.lead-metric-grid article{background:#f5e5b7;color:#856019}.lead-level-green .lead-traffic-light i:last-child,.lead-level-green.lead-level-pill,.lead-level-green.lead-metric-grid article{background:#dcefe4;color:#286846}
.lead-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.lead-metric-grid article{display:grid;gap:10px;min-height:115px;padding:21px 24px;border:1px solid #e7d8d0;border-radius:20px;background:#fff}.lead-metric-grid span{color:#886f64}.lead-metric-grid strong{color:#402d2c;font-size:30px}.lead-metric-grid article[class*=lead-level-]{background:#fff}
.lead-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;margin-bottom:20px}.lead-workspace-route{grid-template-columns:1fr}.lead-create-card{align-self:start;overflow:hidden}.lead-create-card>summary{display:flex;min-height:94px;align-items:center;justify-content:space-between;padding:22px 26px;cursor:pointer;list-style:none;transition:background .2s ease}.lead-create-card>summary:hover{background:#fffaf8}.lead-create-card>summary::-webkit-details-marker{display:none}.lead-create-card>summary span{display:grid;gap:3px}.lead-create-card>summary small,.lead-settings-card small{color:#ad873e;font-weight:800;letter-spacing:.16em}.lead-create-card>summary strong{color:#633546;font:700 26px/1.1 Georgia,serif}.lead-create-card>summary b{width:42px;height:42px;display:grid;flex:0 0 42px;place-items:center;border-radius:50%;background:#f4e7e8;color:#843f55;font-size:25px;transition:transform .2s ease,background .2s ease}.lead-create-card[open]>summary{margin-bottom:20px;border-bottom:1px solid #eee1db;background:#fffaf8}.lead-create-card[open]>summary b{transform:rotate(45deg);background:#eedcdf}
.lead-create-card[open],.lead-settings-details[open]{grid-column:1/-1}.lead-card.lead-settings-details{display:block;align-self:start;gap:0;padding:0;overflow:hidden}.lead-settings-details>summary{display:flex;min-height:94px;align-items:center;justify-content:space-between;padding:22px 26px;cursor:pointer;list-style:none;transition:background .2s ease}.lead-settings-details>summary::-webkit-details-marker{display:none}.lead-settings-details>summary:hover{background:#fffaf8}.lead-settings-details>summary span{display:grid;gap:3px}.lead-settings-details>summary strong{color:#633546;font:700 26px/1.1 Georgia,serif}.lead-settings-details>summary b{width:42px;height:42px;display:grid;flex:0 0 42px;place-items:center;border-radius:50%;background:#f4e7e8;color:#843f55;font-size:25px;transition:transform .2s ease,background .2s ease}.lead-settings-details[open]>summary{border-bottom:1px solid #eee1db;background:#fffaf8}.lead-settings-details[open]>summary b{transform:rotate(45deg);background:#eedcdf}.lead-settings-body{display:grid;gap:18px;padding:22px 26px 26px}.lead-settings-body>p{margin:0;color:#8b786f}.lead-settings-body .lead-threshold-form{max-width:650px}
.lead-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:0 26px 25px}.lead-form label{display:grid;align-content:start;gap:7px}.lead-form [hidden]{display:none!important}.lead-form label>span{color:#6b5750;font-weight:700}.lead-form input,.lead-form select,.lead-form textarea,.lead-filters input,.lead-filters select,.lead-threshold-form input{width:100%;border:1px solid #decfc7;border-radius:13px;background:#fff;padding:13px 14px;color:#382f2b}.lead-form textarea{resize:vertical}.lead-field-wide{grid-column:1/-1}.lead-reason-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:15px;border:1px solid #eaded8;border-radius:15px;background:#fcf8f6}.lead-form button{justify-self:start}.lead-empty-copy{padding:0 26px 25px;color:#8c756c}.lead-settings-card{display:grid;align-content:start;gap:20px;padding:25px}.lead-settings-card h2,.lead-routes-card h2,.lead-list-card h2,.lead-reasons-card h2{margin:5px 0;color:#603343;font:700 28px/1.1 Georgia,serif}.lead-settings-card p{color:#8b786f}.lead-threshold-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lead-threshold-form label{display:grid;gap:6px}.lead-threshold-form label>span{font-size:13px;font-weight:700}.lead-threshold-form label>div{display:flex;align-items:center}.lead-threshold-form input{border-radius:12px 0 0 12px}.lead-threshold-form label b{align-self:stretch;display:grid;place-items:center;padding:0 12px;border:1px solid #decfc7;border-left:0;border-radius:0 12px 12px 0}.lead-threshold-form button{grid-column:1/-1}.lead-threshold-readonly{display:flex;gap:9px;flex-wrap:wrap}.lead-threshold-readonly span{padding:9px 12px;border-radius:999px;background:#f7eeee}
.lead-routes-card,.lead-list-card,.lead-reasons-card{margin-bottom:20px;padding:26px}.lead-route-table-wrap{overflow:auto}.lead-route-table{width:100%;border-collapse:collapse;margin-top:20px}.lead-route-table th,.lead-route-table td{padding:13px 14px;border-bottom:1px solid #eee2dc;text-align:left}.lead-route-table th{color:#765d52;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.lead-level-pill{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}.lead-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.lead-list-heading p:last-child{margin:6px 0 0;color:#907c73}.lead-list-total{padding:8px 12px;border-radius:999px;background:#f6e9eb;color:#7e3d51;font-size:13px;font-weight:800}.lead-filters{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(170px,.65fr) minmax(240px,1.4fr) auto;gap:9px;margin-bottom:18px;padding:13px;border:1px solid #eee1db;border-radius:16px;background:#fbf7f5}.lead-list{display:grid;gap:9px}.lead-list-columns,.lead-list-item>summary{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(110px,.45fr) minmax(250px,.85fr) minmax(150px,.45fr);align-items:center;gap:16px}.lead-list-columns{padding:0 17px 8px;color:#806b62;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.lead-list-columns>span:last-child{text-align:right}.lead-list-columns-route,.lead-list-item-route>summary{grid-template-columns:minmax(300px,1.5fr) minmax(250px,.85fr) minmax(150px,.45fr)}.lead-list-item{border:1px solid #eaded8;border-radius:16px;background:#fff;overflow:hidden}.lead-list-item>summary{min-height:78px;padding:14px 17px;cursor:pointer;list-style:none}.lead-list-item>summary::-webkit-details-marker{display:none}.lead-list-item>summary>span:not(.lead-person){overflow:hidden;color:#6f5d55;text-overflow:ellipsis;white-space:nowrap}.lead-person{display:flex;align-items:center;gap:12px;min-width:0}.lead-person i{width:40px;height:40px;display:grid;flex:0 0 40px;place-items:center;border-radius:50%;background:#f5e3e6;color:#7b3c50;font-style:normal;font-weight:800}.lead-person>span{display:grid;min-width:0;gap:3px}.lead-person strong{overflow:hidden;color:#3f302d;text-overflow:ellipsis;white-space:nowrap}.lead-person small{color:#7d6a61;line-height:1.35}.lead-status{justify-self:end;min-width:115px;padding:8px 12px;border-radius:999px;font-size:12px;text-align:center}.lead-status-converted{background:#dcefe4;color:#286846}.lead-status-not_converted{background:#f7dada;color:#9e3434}.lead-edit-form{padding-top:18px;border-top:1px solid #eee2dc;background:#fdf9f7}.lead-pagination{display:flex;justify-content:center;margin-top:20px}.lead-pagination nav{width:100%}.lead-reason-list{display:grid;gap:8px;margin-top:17px}.lead-reason-list>div{display:flex;justify-content:space-between;gap:15px;padding:12px 15px;border-radius:12px;background:#fbf5f2}.lead-reason-list strong{color:#773d50}
.lead-filters-route{grid-template-columns:minmax(170px,.65fr) minmax(240px,1.4fr) auto}
@media(max-width:950px){.lead-workspace-grid{grid-template-columns:1fr}.lead-metric-grid{grid-template-columns:repeat(2,1fr)}.lead-filters,.lead-filters-route{grid-template-columns:1fr 1fr}.lead-filters button{grid-column:2}.lead-list-columns{display:none}.lead-list-item>summary,.lead-list-item-route>summary{grid-template-columns:1fr auto}.lead-list-item>summary>span:nth-child(2),.lead-list-item>summary>span:nth-child(3){display:none}}
@media(max-width:650px){.lead-page-heading{align-items:flex-start;flex-direction:column}.lead-page-heading h1{font-size:35px}.lead-route-status{grid-template-columns:auto 1fr;padding:20px}.lead-target-copy{grid-column:1/-1;padding:15px 0 0;border-left:0;border-top:1px solid #ebded8}.lead-metric-grid{grid-template-columns:1fr 1fr}.lead-form{grid-template-columns:1fr;padding-inline:18px}.lead-field-wide{grid-column:auto}.lead-reason-fields{grid-template-columns:1fr}.lead-threshold-form{grid-template-columns:1fr}.lead-routes-card,.lead-list-card,.lead-reasons-card{padding:19px 14px}.lead-list-heading{align-items:flex-start}.lead-filters{grid-template-columns:1fr}.lead-filters button{grid-column:auto}.lead-list-item>summary,.lead-list-item-route>summary{grid-template-columns:1fr}.lead-status{justify-self:start}}

/* Versículo rotativo compartilhado entre a gestão e as contas de rota. */
.bible-verse-card{position:relative;margin:0}
.bible-verse-card--route{overflow:hidden;min-height:145px;margin:20px 0 28px;padding:35px 100px 30px 82px;border:1px solid #eadbd8;border-radius:20px;background:linear-gradient(120deg,#fff 0%,#fff9f7 72%,#f9e9e7 100%);box-shadow:0 12px 34px rgba(96,55,47,.07)}
.bible-verse-card--route:after{content:"✿";position:absolute;right:38px;bottom:-17px;color:#e8c9c4;font:100px Georgia,serif;opacity:.55}
.bible-verse-card--route>span{position:absolute;top:18px;left:34px;color:#c39a4a;font:52px Georgia,serif}
.bible-verse-card--route p{position:relative;z-index:1;max-width:900px;margin:0;color:#653745;font:700 21px/1.4 Georgia,serif}
.bible-verse-card--route footer{position:relative;z-index:1;margin-top:13px;color:#ad8741;font-size:12px;font-style:normal}
@media(max-width:700px){.bible-verse-card--route{padding:34px 28px 26px 55px}.bible-verse-card--route>span{left:20px}.bible-verse-card--route p{font-size:18px}.bible-verse-card--route:after{right:10px;font-size:75px}}
.journey-photo-card {
    background: #fff;
    border: 1px solid var(--line, #ead8d1);
    border-radius: 18px;
    padding: 22px;
}
.journey-photo-card h3 { margin: 0 0 4px; }
.journey-photo-card p { margin: 0 0 16px; color: #806e66; }
.journey-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.journey-photo-input {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    border: 1px dashed #dcbeb7;
    border-radius: 13px;
    background: #fffaf9;
}
.journey-photo-input span { color: #806e66; font-size: 13px; }
.journey-photo-input input { width: 100%; }
@media (max-width: 720px) {
    .journey-photo-grid { grid-template-columns: 1fr; }
}

/* Correções de fluxo e retorno visual */
.toast{display:flex;align-items:flex-start;gap:14px;max-width:min(560px,calc(100vw - 32px));transition:opacity .25s ease,transform .25s ease}
.toast>span{flex:1}.toast>button{appearance:none;border:0;background:transparent;color:inherit;font-size:24px;line-height:1;cursor:pointer}.toast.toast-leaving{opacity:0;transform:translateY(-12px)}
.error-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:#fff9f7}.error-card{width:min(620px,100%);padding:48px;border:1px solid #ead9d3;border-radius:24px;background:#fff;text-align:center;box-shadow:0 22px 55px rgba(83,44,48,.1)}.error-card>span{color:#b88d3b;font:700 18px Georgia,serif;letter-spacing:.2em}.error-card h1{color:#683044;font:42px/1.08 Georgia,serif}.error-card p{color:#7c6c66;line-height:1.6}.error-card .actions{display:flex;justify-content:center;gap:10px;margin-top:25px}
.journey-payment-card,.journey-execution-card,.journey-rt-signature-status{margin:18px 0;padding:20px;border:1px solid #ead8d1;border-radius:17px;background:#fff}
.journey-procedure-time-card{display:grid;grid-template-columns:auto minmax(0,1fr) repeat(2,minmax(210px,280px));align-items:center;gap:18px;padding:20px 22px;border:1px solid #e5c9b5;border-radius:19px;background:linear-gradient(115deg,#fff 0%,#fff9f5 62%,#f8eee7 100%);box-shadow:0 12px 30px rgba(91,57,42,.06)}
.journey-procedure-time-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#f3e2d5;color:#8b4b57;font-size:25px}.journey-procedure-time-card p{margin:0 0 4px;color:#ad7b43;font-size:10px;font-weight:900;letter-spacing:1.7px}.journey-procedure-time-card h3{margin:0 0 5px;color:#463833;font:700 23px/1.1 Georgia,serif}.journey-procedure-time-card>div>span{color:#806f67;font-size:13px}.journey-procedure-time-card label{display:grid;gap:7px;padding:13px 15px;border:1px solid #ead8d1;border-radius:14px;background:#fff}.journey-procedure-time-card label span{color:#654b43;font-size:12px;font-weight:850}.journey-procedure-time-card input{width:100%;min-height:47px;padding:0 13px;border:1px solid #ddcbc4;border-radius:11px;background:#fff;font-size:16px}
.journey-media-card{display:grid;gap:22px;padding:26px;border:1px solid #e7d4ca;border-radius:22px;background:#fff;box-shadow:0 16px 42px rgba(83,50,39,.08)}
.journey-media-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid #eee0d9}.journey-media-card>header p{margin:0 0 6px;color:#ae8545;font-size:11px;font-weight:900;letter-spacing:1.8px}.journey-media-card>header h3{margin:0 0 6px;color:#463733;font:700 28px/1.15 Georgia,serif}.journey-media-card>header span{color:#806f68;font-size:14px}.journey-media-requirements{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.journey-media-requirements b{padding:9px 12px;border-radius:999px;background:#f5e9e6;color:#8b4b59;font-size:12px;white-space:nowrap}.journey-media-requirements b.complete{background:#e1f0e8;color:#2f6b55}
.journey-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.journey-media-picker{position:relative;display:grid;grid-template-columns:auto 1fr;align-content:start;gap:7px 13px;min-width:0;padding:18px;border:1px solid #eadbd4;border-radius:18px;background:linear-gradient(145deg,#fff 0%,#fdf8f6 100%)}.journey-media-picker-icon{display:grid;grid-row:1/3;place-items:center;width:45px;height:45px;border-radius:13px;background:#f1e2dd;font-size:21px}.journey-media-picker h4{margin:2px 0 3px;color:#493834;font-size:15px}.journey-media-picker p{margin:0;color:#907f77;font-size:11px;line-height:1.45}.journey-media-picker [data-media-inputs]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.journey-media-native-input{position:absolute;width:1px;height:1px;opacity:.01}.journey-media-actions{display:flex;grid-column:1/-1;gap:8px;margin-top:10px}.journey-media-actions .button,.journey-media-actions .primary{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:42px;padding:8px 10px;border-radius:11px;font-size:12px;font-weight:800;cursor:pointer}.journey-media-picker.has-files{border-color:#c997a1;box-shadow:0 0 0 3px rgba(157,80,97,.08)}
.journey-media-new-files{display:grid;grid-column:1/-1;gap:8px;margin-top:4px}.journey-media-new-files:empty{display:none}.journey-media-new-files article,.journey-saved-media-grid article{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px;border:1px solid #eadbd5;border-radius:12px;background:#fff}.journey-media-new-files img,.journey-media-new-files video,.journey-saved-media-grid img,.journey-saved-media-grid video,.journey-saved-media-grid article.document>a{display:grid;place-items:center;width:56px;height:48px;border-radius:8px;background:#1b1716;object-fit:cover;color:#8c4d5a;font-size:11px;font-weight:900;text-decoration:none}.journey-media-new-files strong,.journey-saved-media-grid strong{display:block;overflow:hidden;color:#513d38;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.journey-media-new-files span,.journey-saved-media-grid span{color:#96847c;font-size:10px}.journey-media-document-icon{display:grid;place-items:center;width:56px;height:48px;border-radius:8px;background:#f2e5e1;color:#8b4b59;font-size:11px;font-weight:900}
.journey-media-remove{display:grid;place-items:center;width:29px;height:29px;padding:0;border:0;border-radius:50%;background:#f4e5e5;color:#9a3348;font-size:20px;line-height:1;cursor:pointer}.journey-media-remove:hover{background:#9a3348;color:#fff}.journey-saved-media{display:grid;gap:13px;padding-top:2px}.journey-saved-media>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.journey-saved-media h4{margin:0;color:#4c3935;font-size:16px}.journey-saved-media>div:first-child span{color:#8f7d75;font-size:12px}.journey-saved-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.journey-payment-card>header,.journey-execution-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.journey-payment-card h3,.journey-execution-card h3{margin:0}.journey-payment-card p,.journey-execution-card p{margin:5px 0 0;color:#826f67}
.journey-payment-row{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;align-items:end;gap:12px;margin-top:14px;padding:14px;border-radius:13px;background:#fff9f7}.journey-payment-row label{display:grid;gap:7px}.journey-payment-row input,.journey-payment-row select{width:100%;min-height:46px;padding:0 12px;border:1px solid #dfd0ca;border-radius:11px;background:#fff}.journey-payment-balance{padding:11px 14px;border-radius:11px;font-weight:800}.journey-payment-balance.balanced{background:#e9f4ed;color:#2c6d4c}.journey-payment-balance.invalid{background:#fff0f0;color:#9f3f49}.journey-rt-signature-status{display:grid;gap:5px}.journey-rt-signature-status.ready{border-color:#b9dbc5;background:#f2faf5}.journey-rt-signature-status.missing{border-color:#e6c69e;background:#fff9ef}
@media(max-width:800px){.journey-payment-row{grid-template-columns:1fr 1fr}.journey-payment-row .danger{grid-column:1/-1}.journey-payment-card>header,.journey-execution-card{align-items:stretch;flex-direction:column}.journey-execution-card>div:last-child{display:flex;gap:8px;flex-wrap:wrap}}
@media(max-width:1100px){.journey-procedure-time-card{grid-template-columns:auto 1fr 1fr}.journey-procedure-time-card>div:nth-child(2){grid-column:2/-1}.journey-procedure-time-card label{grid-row:2}.journey-procedure-time-card label:first-of-type{grid-column:2}.journey-procedure-time-card label:last-of-type{grid-column:3}}
@media(max-width:1000px){.journey-media-grid,.journey-saved-media-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.journey-procedure-time-card{grid-template-columns:auto 1fr}.journey-procedure-time-card>div:nth-child(2){grid-column:auto}.journey-procedure-time-card label,.journey-procedure-time-card label:first-of-type,.journey-procedure-time-card label:last-of-type{grid-row:auto;grid-column:1/-1}.journey-annotation-color span{display:none}.journey-media-card{padding:18px}.journey-media-card>header{display:grid}.journey-media-requirements{justify-content:flex-start}.journey-media-grid,.journey-saved-media-grid{grid-template-columns:1fr}.journey-saved-media>div:first-child{display:grid;gap:3px}}
.compact-search{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.compact-search label{display:grid;gap:5px}.compact-search input,.compact-search select{min-width:220px;min-height:43px;padding:0 12px;border:1px solid #e2d3cd;border-radius:11px;background:#fff}.compact-search.is-searching input{background-image:linear-gradient(90deg,transparent,#f5e7ea,transparent);background-size:200% 100%;animation:search-pulse 1s linear infinite}.admin-user-search input{flex:1}.professionals-directory .section-title{margin-bottom:16px}.professionals-directory .section-title p{margin:5px 0 0}.professionals-search{width:100%;justify-content:stretch;margin-bottom:20px}.professionals-search input{flex:1;min-width:min(100%,520px);min-height:52px;font-size:15px}.professionals-search .button{min-height:52px;padding-inline:24px}@keyframes search-pulse{to{background-position:-200% 0}}
@media(max-width:650px){.compact-search,.compact-search label,.compact-search input,.compact-search select,.compact-search button{width:100%;min-width:0}}
.route-team-search{margin:0 0 18px}
.equipment-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:0 0 18px}.equipment-photo-gallery figure{margin:0;padding:7px;border:1px solid #ead9d2;border-radius:12px;background:#fff}.equipment-photo-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.equipment-photo-gallery button{width:100%;margin-top:6px;text-align:center}
.payment-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:18px}.payment-report-grid article{display:grid;gap:6px;padding:18px;border:1px solid #eaded8;border-radius:14px;background:#fffaf8}.payment-report-grid span{color:#806c63}.payment-report-grid strong{color:#542837;font-size:22px}.payment-report-grid small{color:#928078}

/* Fluxo de envio dos contratos para assinatura. */
.signature-builder{padding:30px}.signature-builder-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.signature-builder-heading .eyebrow{margin:0 0 6px}.signature-builder-heading h2{font-size:32px}.signature-builder-heading>div>span{display:block;margin-top:7px;color:#87766f}
.signature-progress{display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0 22px;padding:0;list-style:none}.signature-progress li{position:relative;display:flex;align-items:center;gap:9px;color:#9a8580}.signature-progress li:not(:last-child):after{content:"";position:absolute;z-index:0;top:17px;left:42px;right:10px;height:1px;background:#eadbd6}.signature-progress b{position:relative;z-index:1;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f2e8e5;color:#8d6570}.signature-progress span{position:relative;z-index:1;padding-right:8px;background:#fff;font-size:12px;font-weight:800}.signature-progress .active{color:var(--wine)}.signature-progress .active b{background:var(--wine);color:#fff}
.signature-role-selector{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:7px;border:1px solid #eadbd6;border-radius:15px;background:#f8f0ed}.signature-role-selector a{display:grid;gap:2px;padding:13px 16px;border-radius:11px;color:#725d58;text-decoration:none}.signature-role-selector a.active{background:#fff;color:var(--wine);box-shadow:0 6px 17px rgba(91,51,58,.08)}.signature-role-selector span{font-weight:850}.signature-role-selector small{color:#96847d}
.signature-builder-form{margin-top:18px}.signature-builder-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}.signature-builder-panel{min-width:0;padding:20px;border:1px solid #eadbd5;border-radius:17px;background:#fffaf8}.signature-panel-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:17px}.signature-panel-heading>b{flex:0 0 35px;width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#f1e3df;color:var(--wine)}.signature-panel-heading h3{margin:0!important;color:#513a40;font-size:17px!important}.signature-panel-heading p{margin:3px 0 0!important;color:#907d76;font-size:12px}
.professional-combobox{position:relative}.professional-combobox-toggle{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:14px 15px;border:1px solid #dac9c3;border-radius:12px;background:#fff;color:#4f3b37;text-align:left;cursor:pointer}.professional-combobox-toggle>span{overflow:hidden;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.professional-combobox-toggle>small{grid-column:1;color:#907e77}.professional-combobox-toggle>i{grid-column:2;grid-row:1/3;font-size:19px;font-style:normal;transition:transform .2s}.professional-combobox.open .professional-combobox-toggle{border-color:#a97581;box-shadow:0 0 0 3px rgba(126,60,76,.09)}.professional-combobox.open .professional-combobox-toggle>i{transform:rotate(180deg)}
.professional-combobox-popover{position:absolute;z-index:30;top:calc(100% + 7px);left:0;width:min(680px,calc(100vw - 90px));max-height:390px;overflow:hidden;padding:12px;border:1px solid #dccbc6;border-radius:15px;background:#fff;box-shadow:0 18px 45px rgba(76,44,42,.18)}.professional-combobox-search{display:grid;gap:5px}.professional-combobox-search span{color:#725f59;font-size:11px;font-weight:800}.professional-combobox-search input{min-height:45px}.professional-combobox-options{display:grid;gap:6px;max-height:285px;margin-top:10px;overflow:auto}.professional-combobox-options>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:10px;border:1px solid transparent;border-radius:11px;background:#fff;color:#493936;text-align:left;cursor:pointer}.professional-combobox-options>button:hover,.professional-combobox-options>button.selected{border-color:#ead6d8;background:#fcf3f4}.professional-combobox-options>button>span:nth-child(2){min-width:0}.professional-combobox-options strong,.professional-combobox-options small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.professional-combobox-options small{margin-top:2px;color:#907e77;font-size:11px}.professional-combobox-options i{padding:5px 8px;border-radius:99px;background:#f3e9df;color:#896326;font-size:10px;font-style:normal;white-space:nowrap}.professional-combobox-empty{margin:9px 0 0!important;padding:13px;border-radius:9px;background:#f8f1ef;color:#806c65;text-align:center;font-size:12px}
.signature-contract-panel .contract-version-hint{padding:10px 12px;border-radius:10px;background:#f5ece8;color:#765e58;font-size:12px}.signature-builder .template-checklist{margin-top:10px}.signature-builder .template-checklist div{display:flex;align-items:center;gap:10px;border:1px solid #e6ddd8;background:#fff;color:#4c5f51}.signature-builder .template-checklist div>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e5f1e9;color:#2d6b4d}.signature-builder .template-checklist div>strong{font-size:12px}
.signature-builder-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #eadbd5;border-radius:15px;background:#faf4f1}.signature-builder-submit>div{display:grid;gap:2px}.signature-builder-submit>div strong{color:#583e44}.signature-builder-submit>div span{color:#907e77;font-size:12px}.signature-builder-submit .primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;width:auto;min-width:270px;margin:0}
@media(max-width:900px){.signature-builder-grid{grid-template-columns:1fr}.professional-combobox-popover{width:100%}}@media(max-width:650px){.signature-builder{padding:18px}.signature-builder-heading h2{font-size:27px}.signature-progress span{display:none}.signature-progress li:not(:last-child):after{left:37px}.signature-role-selector{grid-template-columns:1fr}.signature-builder-submit{align-items:stretch;flex-direction:column}.signature-builder-submit .primary{width:100%;min-width:0}.professional-combobox-options>button{grid-template-columns:auto minmax(0,1fr)}.professional-combobox-options i{display:none}}
/* Log de alterações */
.activity-log-page{max-width:1480px}
.activity-log-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.activity-security-notice{margin-bottom:22px}
.activity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.activity-summary article{background:#fff;border:1px solid #ead8d2;border-radius:18px;padding:20px 22px;box-shadow:0 14px 32px rgba(92,53,61,.06);display:flex;align-items:center;justify-content:space-between;gap:16px}
.activity-summary span{color:#826f67;font-size:14px}.activity-summary strong{font:600 30px/1 Georgia,serif;color:#703447}
.activity-list-card{padding:28px}.activity-list-heading{margin-bottom:22px}
.activity-filters{display:grid;grid-template-columns:minmax(280px,1fr) minmax(210px,300px) auto auto;align-items:end;gap:12px;padding:16px;border:1px solid #eadbd6;border-radius:16px;background:#fffafa;margin-bottom:20px}
.activity-filters label{display:grid;gap:7px}.activity-filters label span{font-size:13px;font-weight:700;color:#6c5750}.activity-filters input,.activity-filters select{min-height:48px;border:1px solid #dfcbc4;border-radius:12px;background:#fff;padding:0 14px}
.activity-list{display:grid;gap:12px}.activity-entry{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:start;border:1px solid #eadbd6;border-radius:16px;padding:18px;background:#fff;box-shadow:0 8px 20px rgba(73,47,42,.035)}
.activity-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#f4e7e9;color:#81384e;font-size:22px;font-weight:700}.activity-created .activity-icon{background:#e5f2ea;color:#276147}.activity-deleted .activity-icon{background:#fae4e4;color:#a43f46}.activity-reverted .activity-icon{background:#eee8f6;color:#5d4979}
.activity-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.activity-title-row h3{margin:3px 0 7px;font-size:18px;color:#382d29}.activity-title-row time{white-space:nowrap;color:#8d7a72;font-size:13px}.activity-event{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#9b5a6c}.activity-main>p{margin:0;color:#76645d;font-size:14px}
.activity-fields{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.activity-fields span{padding:5px 9px;border-radius:999px;background:#f8f1ef;color:#725d56;font-size:11px}.activity-reverted{display:block;margin-top:10px;color:#5c4973}.activity-actions{min-width:132px;display:grid;justify-items:end;gap:7px}.activity-actions small{font-size:11px;color:#927d74}.activity-actions .status{white-space:nowrap}
.activity-empty{padding:54px 20px;text-align:center;color:#8b756c}.activity-empty span{display:block;font-size:34px;margin-bottom:8px}.activity-empty strong{display:block;color:#523d38;font-size:18px}.activity-empty p{margin:6px 0 0}.activity-pagination{margin-top:20px}
@media(max-width:900px){.activity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-filters{grid-template-columns:1fr 1fr}.activity-entry{grid-template-columns:44px minmax(0,1fr)}.activity-actions{grid-column:2;justify-items:start}.activity-title-row{display:block}.activity-title-row time{display:block;margin-top:4px}}
@media(max-width:600px){.activity-summary,.activity-filters{grid-template-columns:1fr}.activity-list-card{padding:18px}.activity-entry{grid-template-columns:1fr}.activity-icon{display:none}.activity-actions{grid-column:1}.activity-title-row h3{font-size:16px}}
.notification-center{max-width:1500px;margin:0 auto;padding:28px 34px 70px}.notification-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.notification-summary article{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid #ead9d2;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(92,56,50,.06)}.notification-summary article>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#f4e8e7;color:#7c3e52;font-size:22px;font-weight:800}.notification-summary article.goal>span{background:#f6eddc;color:#aa7522}.notification-summary article.notice>span{background:#e7f1ec;color:#28644f}.notification-summary article.important>span{background:#f7e1e3;color:#a33143}.notification-summary small{display:block;font-size:11px;letter-spacing:.14em;color:#947e75;font-weight:800}.notification-summary strong{display:block;margin-top:2px;font-family:Georgia,serif;font-size:28px;color:#49332d}.notification-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.notification-goal-card,.notification-compose{padding:25px 28px}.notification-goal-card{display:grid;grid-template-columns:1fr 210px;gap:30px;align-items:end}.notification-goal-card h2,.notification-list-card h2{font:32px/1.1 Georgia,serif;color:#71364a;margin:5px 0 8px}.notification-goal-card p{color:#806e66;line-height:1.55}.notification-goal-card form{display:grid;gap:10px}.notification-goal-card label,.notification-compose label{display:grid;gap:7px;font-weight:700;color:#5f4942}.notification-goal-card input,.notification-compose input,.notification-compose select,.notification-compose textarea,.notification-filters input,.notification-filters select{width:100%;padding:13px 15px;border:1px solid #e5d1ca;border-radius:12px;background:#fff;font:inherit}.notification-compose summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.notification-compose summary::-webkit-details-marker{display:none}.notification-compose summary small{display:block;color:#b28b39;letter-spacing:.14em;font-weight:800}.notification-compose summary strong{display:block;margin-top:5px;font:25px Georgia,serif;color:#71364a}.notification-compose summary b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f4e8e7;color:#7c3e52;font-size:22px}.notification-compose[open] summary b{transform:rotate(45deg)}.notification-compose form{display:grid;grid-template-columns:180px 1fr;gap:14px;margin-top:22px;padding-top:20px;border-top:1px solid #ead9d2}.notification-compose .wide{grid-column:1/-1}.notification-compose button{justify-self:start}.notification-list-card{padding:28px}.notification-list-card>header{display:flex;justify-content:space-between;align-items:center;gap:20px}.notification-filters{display:grid;grid-template-columns:minmax(260px,1fr) 220px 190px auto auto;gap:10px;margin:22px 0;padding:14px;border-radius:16px;background:#faf5f3}.notification-items{display:grid;gap:11px}.notification-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;padding:19px;border:1px solid #ead9d2;border-radius:17px;background:#fff}.notification-item.read{opacity:.72}.notification-item.unread{box-shadow:inset 4px 0 #7c3e52}.notification-item.goal.unread{box-shadow:inset 4px 0 #c59538}.notification-item.important.unread{box-shadow:inset 4px 0 #b83d4d}.notification-item-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#f4e8e7;color:#7c3e52;font-size:20px;font-weight:800}.notification-item.goal .notification-item-icon{background:#f6eddc;color:#aa7522}.notification-item.important .notification-item-icon{background:#f7e1e3;color:#a33143}.notification-item-copy>div{display:flex;gap:8px;align-items:center}.notification-item-copy span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#9b786d;font-weight:800}.notification-item-copy em{padding:3px 7px;border-radius:999px;background:#7c3e52;color:#fff;font-size:10px;font-style:normal}.notification-item h3{margin:5px 0 3px;color:#49332d}.notification-item p{margin:0;color:#725e56}.notification-item small{display:block;margin-top:9px;color:#a18a81}.notification-empty{text-align:center;padding:50px;color:#8d766d}.notification-empty span{display:block;font-size:30px}.notification-empty strong{display:block;margin:10px}.notification-nav-button{position:relative}.notification-nav-button b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#9f263c;color:#fff;font-size:11px}@media(max-width:900px){.notification-center{padding:18px 14px 55px}.notification-summary{grid-template-columns:1fr 1fr}.notification-settings-grid{grid-template-columns:1fr}.notification-goal-card{grid-template-columns:1fr}.notification-filters{grid-template-columns:1fr 1fr}.notification-filters input{grid-column:1/-1}.notification-item{grid-template-columns:45px 1fr}.notification-item>form{grid-column:2}.notification-compose form{grid-template-columns:1fr}.notification-compose .wide{grid-column:auto}}@media(max-width:560px){.notification-summary{grid-template-columns:1fr}.notification-filters{grid-template-columns:1fr}.notification-filters input{grid-column:auto}}

/* Central de notificações: cartões compactos e atualizações em tempo real. */
.notification-settings-grid{
    align-items:start;
}
.notification-settings-grid:has(.notification-compose[open]){
    grid-template-columns:1fr;
}
.notification-goal-card{
    align-items:center;
    min-height:0;
}
.notification-goal-card>div{
    align-self:center;
}
.notification-compose form{
    grid-template-columns:minmax(220px,300px) minmax(0,1fr);
    align-items:start;
}
.notification-compose form>label{
    align-self:start;
    align-content:start;
    grid-auto-rows:max-content;
}
.notification-compose input,
.notification-compose select{
    height:50px;
    min-height:50px;
}
.notification-compose textarea{
    min-height:116px;
    resize:vertical;
}
.notification-compose label small{
    max-width:38ch;
    color:#806e66;
    font-size:12px;
    font-weight:600;
    line-height:1.45;
}
.toast-stack{
    position:fixed;
    z-index:1200;
    top:20px;
    right:24px;
    display:grid;
    width:min(560px,calc(100vw - 32px));
    gap:10px;
    pointer-events:none;
}
.toast-stack .toast{
    position:relative;
    z-index:auto;
    top:auto;
    right:auto;
    left:auto;
    width:100%;
    max-width:none;
    margin:0;
    pointer-events:auto;
}
.notification-toast{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    background:#fff;
    color:#49332d;
    border:1px solid #ead9d2;
    border-left:5px solid #7c3e52;
    box-shadow:0 18px 46px rgba(73,51,45,.18);
}
.notification-toast>b{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:13px;
    background:#f4e8e7;
    color:#7c3e52;
    font-size:19px;
}
.notification-toast>span{
    display:grid;
    min-width:0;
    gap:3px;
}
.notification-toast>span>strong{
    overflow:hidden;
    color:#49332d;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.notification-toast>span>small{
    color:#725e56;
    font-size:13px;
    line-height:1.4;
}
.notification-toast.goal{
    border-left-color:#c59538;
}
.notification-toast.goal>b{
    background:#f6eddc;
    color:#aa7522;
}
.notification-toast.important{
    border-left-color:#b83d4d;
}
.notification-toast.important>b{
    background:#f7e1e3;
    color:#a33143;
}
.toast-leaving{
    opacity:0;
    transform:translateX(18px);
    transition:opacity .25s ease,transform .25s ease;
}
@media(max-width:900px){
    .notification-compose form{
        grid-template-columns:1fr;
    }
}
@media(max-width:600px){
    .toast-stack{
        top:12px;
        right:12px;
        width:calc(100vw - 24px);
    }
}
.home-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-notification-link {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border, #ead9d9);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wine, #74394b);
    background: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.home-notification-link strong {
    font-size: 14px;
}

.home-notification-link em {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9f213a;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

[data-notification-count][hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .home-notification-link strong {
        display: none;
    }
}

.drive-settings-page {
    display: grid;
    gap: 22px;
}

.drive-settings-page .security-notice {
    margin: 0;
}

.drive-setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.drive-status-card,
.drive-folder-card,
.drive-finish-card,
.drive-technical-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.drive-status-card h2,
.drive-folder-card h2,
.drive-finish-card h2,
.drive-technical-card h2,
.drive-status-card p,
.drive-folder-card p,
.drive-finish-card p,
.drive-technical-card p {
    margin: 0;
}

.drive-connected {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #cfe5d7;
    border-radius: 16px;
    background: #f1f8f4;
}

.drive-connected div {
    display: grid;
    gap: 3px;
}

.drive-connected small {
    color: #6e756f;
}

.drive-status-dot {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    border-radius: 50%;
    background: #3e9565;
    box-shadow: 0 0 0 5px rgba(62, 149, 101, .12);
}

.drive-folder-card form,
.drive-folder-card label {
    display: grid;
    gap: 10px;
}

.drive-folder-card label span {
    font-weight: 700;
}

.drive-folder-card input {
    width: 100%;
}

.drive-folder-card input:disabled {
    opacity: .55;
}

.drive-warning {
    padding: 16px;
    border: 1px solid #ecd59e;
    border-radius: 16px;
    background: #fff9ea;
}

.drive-warning p {
    margin-top: 6px;
}

.drive-finish-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.drive-finish-card > div:first-child {
    display: grid;
    gap: 8px;
}

.drive-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drive-actions form {
    margin: 0;
}

.drive-technical-card code {
    display: block;
    overflow-wrap: anywhere;
    padding: 14px;
    border-radius: 12px;
    background: #f6f0ed;
}

@media (max-width: 860px) {
    .drive-setup-grid {
        grid-template-columns: 1fr;
    }

    .drive-finish-card {
        align-items: stretch;
        flex-direction: column;
    }

    .drive-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .drive-actions button {
        width: 100%;
    }
}

/* iPad presentation and journey form fixes. */
.journey-slide-annotation{touch-action:pinch-zoom}
.journey-presenter.annotation-editing .journey-slide-annotation{touch-action:pinch-zoom}
.journey-payment-list,.journey-media-grid,.journey-saved-media-grid{align-items:stretch}
.journey-payment-row,.journey-media-picker,.journey-saved-media{height:100%}
.journey-form-grid input,.journey-form-grid select,.journey-form-grid textarea{width:100%;min-width:0;max-width:100%}
.journey-form-grid input[type="date"],.journey-form-grid input[type="datetime-local"],.journey-form-grid input[type="email"]{-webkit-appearance:none;appearance:none;display:block}
@media (min-width:761px) and (max-width:1180px){
  .journey-form-grid .journey-birth-date-field,.journey-form-grid .journey-email-field{grid-column:span 6}
  .experience-form-grid.journey-client-details-grid>label{grid-column:span 6}
  .experience-form-grid.journey-client-details-grid>.journey-address-field{grid-column:1/-1}
  .journey-form-grid .field-span-2{grid-column:span 3}
  .journey-form-grid .field-span-3,.journey-form-grid .field-span-4,.journey-form-grid .field-span-5,.journey-form-grid .field-span-6{min-width:0}
  .journey-slide-stage{padding:12px}
  .journey-slide.journey-slide-media,.journey-video-layout{min-height:clamp(440px,62vh,620px)}
  .journey-slide-media>img{height:clamp(440px,62vh,620px)}
}
@media (max-width:760px){
  .journey-form-grid>[class*="field-span-"],.journey-form-grid>label{grid-column:1/-1}
}
.journey-document-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px;border:1px solid #e1d1c9;border-radius:14px;background:#fffaf7}
.journey-document-rules label{min-height:82px;display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #eadfd9;border-radius:12px;background:#fff;cursor:pointer}
.journey-document-rules input{width:20px!important;height:20px;flex:0 0 20px;margin-top:2px}
.journey-document-rules label>span{display:grid;gap:4px}.journey-document-rules small{color:#8f7b72;font-weight:400}
.official-document-identification{position:sticky;z-index:2;top:0;display:grid;gap:3px;padding:12px 16px;background:#75414d;color:#fff}
.official-document-identification span{color:#f0dfe2;font-size:11px}
.official-document-pages{display:grid;gap:18px;padding:18px;background:#e9e3df}
.official-document-pages img{display:block;width:100%;height:auto;margin:0 auto;background:#fff;box-shadow:0 5px 18px rgba(54,37,31,.12)}
@media(max-width:760px){.journey-document-rules{grid-template-columns:1fr}.official-document-pages{padding:8px;gap:8px}}
