/* Identidade oficial: preto, branco e tons neutros. */

:root{--navy:#171717;--red:#202020;--blue:#242424;--bg:#f6f6f6;--ink:#202020;--muted:#7b7b7b;--border:#e7e7e7}

.official-logo{width:66px;height:66px;object-fit:contain;border-radius:6px;background:#fff;flex-shrink:0}.sidebar{padding-top:24px}.sidebar .brand{gap:10px}.sidebar .brand strong{font-size:13px}.sidebar .brand small{font-size:8px;letter-spacing:1.2px;color:#aaa}.sidebar .nav{color:#aaa}.sidebar .nav.active{background:#303030}.sidebar .nav.active svg{color:white}.sidebar .nav:hover{background:#292929}.sidebar .nav.active:before{background:white}.sidebar-note{border-color:#333;color:#999}.sidebar-note strong{color:#ddd}.navlabel{color:#777}.nav .count{background:#444;color:white}.avatar{background:#efefef;color:#484848}.stat-icon,.stat:nth-child(2) .stat-icon{background:#f1f1f1;color:#4c4c4c}.eyebrow{color:#6c6c6c}.welcome{background:#ececec;color:#181818}.welcome .eyebrow{color:#707070}.welcome p{color:#727272}.welcome:after{border-color:#00000004}.btn:hover{background:#414141}.btn.secondary:hover{background:#f2f2f2}.btn.green:hover{background:#136e55}.btn.danger:hover{background:#ffe0e4}.clienticon{background:#f1f1f1;color:#676767}.notice{border-color:#aaa;background:#f4f4f4}.totals{background:#f1f1f1}.progress-fill{background:#313131}.calentry{background:#eee;color:#333}.calday.today{background:#f0f0f0}.kanbancol{background:#ededed}.auth-visual{background:white;color:#181818;border-right:1px solid #eee}.auth-visual .brand{color:#161616}.auth-visual .official-logo{width:110px;height:110px}.auth-visual h1 span{color:#181818}.auth-visual p{color:#757575}.auth-visual small{color:#888}.auth-visual .brand small{color:#888}

/* Keep every menu action reachable, including short screens and mobile browser bars. */
.task-history{margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}
.task-history h3{margin:0 0 8px;font-size:14px;line-height:1.5}
.task-history-caption,.task-history-status{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 16px}
.task-history-list{list-style:none;padding:0;margin:0}
.task-history-list li{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);break-inside:avoid}
.task-history-marker{display:grid;place-items:center;align-self:flex-start;flex-shrink:0;width:30px;height:30px;border-radius:50%;color:#188567;background:#eaf7f1}
.task-history-marker svg{width:16px;height:16px}
.task-history-list li>div{min-width:0}
.task-history-list strong,.task-history-actor,.task-history-list time{display:block;overflow-wrap:anywhere;line-height:1.65}
.task-history-list strong{font-size:12px}.task-history-actor{font-size:11px;margin-top:3px}.task-history-list time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px}
.task-history>button{margin-top:16px;min-height:44px;white-space:normal;text-align:left}
.task-history .record-history-changes{list-style:disc;margin:8px 0;padding-left:18px;color:#555}
.task-history .record-history-changes>li{display:list-item;border:0;padding:3px 0;font-size:11px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.sidebar{height:100vh;height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#666 #171717;scroll-padding-block:16px;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.sidebar>*{flex-shrink:0}
.sidebar .nav{min-height:44px;white-space:normal;line-height:1.5}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#666;border-radius:6px}.sidebar::-webkit-scrollbar-track{background:#171717}
@media(max-height:820px){.sidebar .navlabel{margin-top:24px}.sidebar-bottom{padding-top:16px}.sidebar-note{display:none}}
@media(max-width:720px){.sidebar{visibility:hidden;padding-top:max(20px,env(safe-area-inset-top))}.sidebar.open{visibility:visible}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

.logo-upload{border:1px solid var(--border);border-radius:8px;padding:17px;background:#fafafa}.logo-upload-layout{display:grid;grid-template-columns:100px 1fr;gap:20px;align-items:center;margin-top:10px}.logo-upload-layout p{font-size:10px;color:var(--muted);font-weight:400;line-height:1.7}.logo-upload-layout input[type=file]{font-size:11px}.logo-upload-layout input[type=file]::file-selector-button{background:#222;color:white;border:0;padding:8px 10px;border-radius:4px;margin-right:10px;cursor:pointer}#client-logo-preview{border:1px solid var(--border);background:white;border-radius:6px;min-height:100px;display:grid;place-items:center;overflow:hidden}#client-logo-preview img{width:95px;height:95px;object-fit:contain}#client-logo-preview span{font-size:9px;color:#999;text-align:center;padding:10px}.client-logo-profile{width:70px;height:70px;object-fit:contain}.proposal-logo-option{background:#f5f5f5;padding:15px;border:1px solid var(--border);border-radius:6px}.proposal-logo-option #quote-logo-preview{display:flex;align-items:center;gap:15px;margin-top:8px;font-size:10px;font-weight:400;color:#777}.quote-client-logo{width:58px;height:58px;object-fit:contain;background:white;border-radius:4px}.portal-invite-help{font-size:11px;color:#777;line-height:1.8}

/* Proposta única, com ritmo editorial inspirado nos PDFs de referência. */

.proposal-page{background:#f4f4f4;color:#1d1d1d}.proposal-toolbar{max-width:1120px;margin:auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#888}.clean-proposal{max-width:1120px;background:white;padding:50px 74px 45px;margin:0 auto 40px;box-shadow:0 5px 30px #00000003}.clean-proposal .proposal-header{padding:0 0 30px;margin:0;align-items:center}.proposal-brands{display:flex;align-items:center;gap:25px}.proposal-official-logo{width:122px;height:122px;object-fit:contain}.proposal-customer-logo{width:125px;height:110px;object-fit:contain}.brand-divider{width:1px;height:58px;background:#dedede}.document-number{text-align:right;font-size:9px;color:#aaa;letter-spacing:1px}.document-number span{display:block;margin-bottom:9px;font-size:8px}.document-number b{font-weight:500;color:#555;letter-spacing:.5px}.clean-proposal section{margin:0}.document-cover{padding:38px 0 40px;border-bottom:1px solid #e6e6e6}.document-cover .eyebrow{font-size:9px;letter-spacing:1.5px;color:#aaa}.document-cover h1{font-size:72px;line-height:1.1;letter-spacing:-4px;margin:17px 0 18px;font-weight:800}.document-cover h2{font-size:25px;font-weight:500;color:#737373;margin:0;line-height:1.55;max-width:750px}.cover-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:25px;margin:44px 0 0}.cover-meta dt{font-size:10px;font-weight:700;margin-bottom:10px}.cover-meta dd{font-size:12px;margin:0;color:#757575;line-height:1.7}.clean-proposal .document-section{display:grid;grid-template-columns:34% 1fr;gap:45px;padding:43px 0;border-bottom:1px solid #ebebeb}.section-title>span{display:block;font-size:8px;letter-spacing:1.8px;color:#9c9c9c;font-weight:600;margin-bottom:13px}.clean-proposal h2{font-size:25px;letter-spacing:-.8px;line-height:1.4;margin:0;font-weight:700}.section-title p{font-size:12px;color:#777;margin-top:15px}.clean-proposal .prosetext{color:#565656;font-size:12px;line-height:1.95;margin:0}.clean-proposal .document-details{padding:43px 0;border-bottom:1px solid #ebebeb}.document-details>.eyebrow{font-size:8px;color:#999;margin-bottom:13px}.deliverables-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 0;margin-top:30px}.deliverables-grid article{padding:0 24px;border-left:1px solid #ddd}.deliverables-grid article:nth-child(3n+1){padding-left:0;border-left:0}.deliverables-grid h3{font-size:16px;font-weight:500;color:#777;margin:0 0 14px;line-height:1.6}.deliverables-grid small{display:block;font-size:9px;color:#999;margin-top:15px}.clean-proposal .document-investment{display:grid;grid-template-columns:34% 1fr;gap:45px;padding:44px 0 24px}.investment-values{display:grid;grid-template-columns:1fr 1fr;gap:24px}.investment-values>div>span{font-size:10px;color:#888;display:block;margin-bottom:10px}.investment-values strong{font-size:23px;letter-spacing:-.9px;color:#151515}.investment-values .investment-total{grid-column:1/-1;border-top:1px solid #ddd;padding-top:24px}.investment-total strong{font-size:31px;font-weight:800}.investment-note{font-size:10px;color:#8a8a8a;line-height:1.9;margin-top:20px}.price-detail{border-bottom:1px solid #ebebeb;padding:10px 0 25px;font-size:10px;color:#777}.price-detail summary{cursor:pointer;text-align:right}.price-detail table{margin-top:20px}.price-detail>p{font-size:10px!important;margin-top:15px!important}.payment-key{margin-top:25px;padding-top:20px;border-top:1px solid #ddd;display:flex;flex-direction:column;gap:8px}.payment-key>span{font-size:8px;color:#999;letter-spacing:1.5px}.payment-key b{font-size:12px;font-weight:600}.payment-key small{color:#999;font-size:9px}.clean-proposal .proposal-response{padding:40px 0}.proposal-response>h2{margin-bottom:15px}.proposal-response>p{margin-bottom:25px!important}.response-actions{margin-top:25px}.document-footer{padding:26px 0 0;border-top:1px solid #ddd;display:flex;gap:20px;align-items:center;font-size:9px;color:#999}.document-footer img{width:66px;height:66px;object-fit:contain}.document-footer>div{display:flex;flex-direction:column;gap:5px}.document-footer b{font-size:10px;color:#333}.document-footer small{font-size:8px}.document-footer>a{margin-left:auto;color:#777;font-size:10px}

/* Área do cliente */

.client-portal{background:#f6f6f6}.portal-login{max-width:440px;background:white;border:1px solid #e7e7e7;border-radius:12px;margin:55px auto;padding:35px 40px}.portal-login-logo{width:120px;height:120px;object-fit:contain;margin-bottom:20px}.portal-login h1{font-size:27px;letter-spacing:-1px;line-height:1.4}.portal-login>.prosetext{margin-bottom:25px;font-size:12px}.portal-login .btn{width:100%;padding:13px}.portal-help{font-size:10px;color:#999;line-height:1.8;margin:25px 0 0}.portal-header{background:white;border-bottom:1px solid #e7e7e7;padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-header .brand{color:#1b1b1b}.portal-header .brand small{color:#999}.portal-header>.buttons>span{font-size:11px;color:#888}.portal-tabs{background:white;padding:0 40px;display:flex;overflow:auto;gap:22px;border-bottom:1px solid #e7e7e7}.portal-tabs button{padding:19px 3px;background:none;color:#999;font-size:11px;font-weight:600;border-bottom:2px solid transparent;white-space:nowrap}.portal-tabs button.active{color:#111;border-bottom-color:#222}.portal-content{max-width:1280px;padding:35px 40px;margin:auto}.portal-content>h1{font-size:27px;letter-spacing:-.8px;margin:0 0 18px}.portal-content>.prosetext{font-size:12px;margin-bottom:24px}.portal-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.portal-task-grid .taskcard{margin:0}.portal-update{margin-top:18px;border-top:1px solid #eee;padding-top:12px}.portal-update>b{font-size:9px;color:#777}.portal-update p{font-size:11px;margin-bottom:0;line-height:1.9}.client-portal td .prosetext{font-size:11px;max-width:500px}.client-portal .stats .stat-value{font-size:25px}

@media(max-width:950px){.clean-proposal{padding:38px 40px}.clean-proposal .document-section,.clean-proposal .document-investment{gap:30px;grid-template-columns:31% 1fr}.portal-task-grid{grid-template-columns:1fr 1fr}}

@media(max-width:720px){.auth-visual{border-right:0;border-bottom:1px solid #eee}.auth-visual .official-logo{width:82px;height:82px}.auth-visual h1{font-size:26px}.clean-proposal{padding:24px 23px;margin-bottom:0}.proposal-toolbar{padding:14px 18px;gap:10px}.proposal-toolbar>span{display:none}.proposal-toolbar .buttons{width:100%;justify-content:space-between}.proposal-official-logo{width:85px;height:85px}.proposal-customer-logo{width:95px;height:75px}.proposal-brands{gap:13px}.brand-divider{height:40px}.document-number{font-size:7px;max-width:95px}.document-number span{font-size:6px}.document-cover{padding:20px 0 32px}.document-cover h1{font-size:49px;letter-spacing:-2px}.document-cover h2{font-size:20px}.cover-meta{grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.cover-meta div:last-child{grid-column:1/-1}.cover-meta dt{font-size:9px;margin-bottom:6px}.cover-meta dd{font-size:11px}.clean-proposal .document-section,.clean-proposal .document-investment{grid-template-columns:1fr;gap:20px;padding:30px 0}.clean-proposal h2{font-size:22px}.section-title h2 br{display:none}.clean-proposal .document-details{padding:30px 0}.deliverables-grid{grid-template-columns:1fr;gap:25px}.deliverables-grid article{padding:0 0 0 15px!important;border-left:1px solid #ddd!important}.deliverables-grid h3{font-size:16px;margin-bottom:8px}.investment-values strong{font-size:21px}.investment-total strong{font-size:29px}.document-footer{flex-wrap:wrap;gap:15px}.document-footer>a{width:100%;margin-left:0}.logo-upload-layout{grid-template-columns:1fr}.portal-login{margin:20px 15px;padding:25px}.portal-login h1{font-size:25px}.portal-header{padding:14px 18px}.portal-header .official-logo{width:54px;height:54px}.portal-header .brand strong{font-size:12px}.portal-header .brand small{font-size:8px}.portal-header>.buttons>span{display:none}.portal-tabs{padding:0 18px;gap:18px}.portal-content{padding:25px 18px}.portal-task-grid{grid-template-columns:1fr}.portal-content .pagehead{flex-wrap:wrap}.portal-content .stats{grid-template-columns:1fr 1fr}}

@media print{@page{size:A4;margin:15mm}.proposal-page{background:white}.clean-proposal{box-shadow:none;margin:0;padding:0;max-width:100%}.clean-proposal .proposal-header{padding-bottom:12px}.proposal-official-logo{width:90px;height:90px}.proposal-customer-logo{width:105px;height:85px}.document-cover{padding:20px 0 28px}.document-cover h1{font-size:44px;letter-spacing:-2px}.document-cover h2{font-size:19px}.cover-meta{margin-top:28px}.clean-proposal .document-section,.clean-proposal .document-investment{padding:25px 0;grid-template-columns:31% 1fr;gap:25px}.clean-proposal h2{font-size:19px}.clean-proposal .prosetext{font-size:10px}.clean-proposal .document-details{padding:25px 0;break-inside:auto}.deliverables-grid{gap:20px 0}.deliverables-grid article{break-inside:avoid}.deliverables-grid h3{font-size:13px}.document-number{font-size:8px}.investment-values strong{font-size:20px}.investment-total strong{font-size:25px}.document-footer{break-inside:avoid}}

.password-control{position:relative;display:block;width:100%}

.password-control input{padding-right:48px}

.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:6px;background:transparent;color:#666;cursor:pointer}

.password-toggle:hover{background:#f0f0f0;color:#171717}

.password-toggle:focus-visible{outline:2px solid #171717;outline-offset:1px}

.statlink{text-align:left;font-family:inherit;color:inherit;cursor:pointer;width:100%;transition:border-color .15s,box-shadow .15s}

.statlink:hover{border-color:#aaa;box-shadow:0 3px 14px #0000000a}

.statlink:focus-visible{outline:2px solid #171717;outline-offset:3px}

.quote-trash-link{justify-content:flex-end;margin-bottom:12px}

.contacts-editor{grid-column:1/-1;border:1px solid #e5e5e5;border-radius:10px;padding:16px;background:#fafafa}

.contact-row-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}

.contact-row-heading h3,.contact-summary h3{font-size:12px;margin:0 0 6px}

.contact-row-heading p{font-size:10px;font-weight:400;color:#888;line-height:1.6;margin:0;max-width:440px}

.contact-row-heading>.btn{flex-shrink:0}

.contact-row{border-top:1px solid #e5e5e5;margin-top:16px;padding-top:12px}

.contact-row-heading>strong{font-size:11px}.contact-row .formgrid{margin-top:10px}

.contact-summary{margin:22px 0}.contact-summary .tablewrap{border:1px solid #eee;border-radius:8px}

@media(max-width:600px){.contacts-editor>.contact-row-heading{align-items:flex-start;flex-direction:column}.contact-row .formgrid{grid-template-columns:1fr}}

.delivery-control{position:relative;width:100%}

.delivery-control #delivery-text{padding-right:46px}

.delivery-calendar{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#333;cursor:pointer}

.delivery-calendar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}

.delivery-calendar:hover{background:#eee}.delivery-calendar:focus-visible{outline:2px solid #171717;outline-offset:1px}

.delivery-date-picker{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:34px;height:34px;opacity:0;pointer-events:none;padding:0}

.event-contact-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:16px;border:1px solid #e5e5e5;border-radius:10px;background:#fafafa}

.event-contact-fields[hidden]{display:none}.event-contact-fields>.prosetext{grid-column:1/-1;margin:0;font-size:10px}

@media(max-width:600px){.event-contact-fields{grid-template-columns:1fr}}

.booking-admin-actions{justify-content:flex-end;margin:-4px 0 18px}.booking-days{border:1px solid #eee;border-radius:8px;padding:15px;display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.booking-days legend{font-size:11px;padding:0 5px}.booking-days .checklabel{font-size:11px}

.booking-page{background:#f5f5f5;padding:25px 16px}.booking-card{max-width:680px;margin:0 auto;background:white;border:1px solid #e5e5e5;border-radius:14px;padding:35px}.booking-logo{width:110px;height:110px;object-fit:contain}.booking-card h1{font-size:29px;letter-spacing:-1px;margin:10px 0}.booking-card .prosetext{font-size:12px}.booking-card .eyebrow{margin-top:20px}.booking-slots{margin:18px 0 25px;border:1px solid #eee;border-radius:10px;padding:15px}.booking-slots legend{font-size:11px;padding:0 6px}#booking-slots{display:flex;flex-wrap:wrap;gap:8px}.booking-slot{border:1px solid #ddd;border-radius:7px;background:white;padding:11px 14px;color:#222;font-size:12px;cursor:pointer}.booking-slot.selected{background:#171717;color:white;border-color:#171717}.booking-slot:focus-visible{outline:2px solid #111;outline-offset:2px}.booking-note{font-size:10px;color:#888;line-height:1.8;margin:15px 0 0}.booking-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#booking-submit{width:100%;justify-content:center;margin-top:12px}#booking-success{margin-top:30px}#booking-success h2{font-size:23px;margin:15px 0}#booking-form[hidden],#booking-success[hidden],#booking-loading[hidden]{display:none}

@media(max-width:600px){.booking-card{padding:24px}.booking-card .formgrid{grid-template-columns:1fr}.booking-card h1{font-size:25px}}

.datetime-parts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(90px,1fr);gap:10px}.datetime-parts .field{font-size:9px;color:#777}.datetime-parts input{font-size:12px;color:#171717}.datetime-field>span{font-weight:600}.datetime-caption{font-size:9px}

.time-input-control{display:block;position:relative;width:100%}.time-input-control input{padding-right:38px}.time-selector-button{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:30px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:5px;color:#555;cursor:pointer}.time-selector-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.time-selector-button:hover{background:#eee}.time-selector-button:focus-visible{outline:2px solid #171717}

#clock-selector{width:min(370px,calc(100vw - 32px));max-height:90vh}#clock-selector .modalhead{padding:17px 20px}#clock-selector .modalhead h2{font-size:17px}.clock-picker-body{padding:0 20px 16px}.clock-picker-value{font-size:32px;font-weight:700;text-align:center;margin:14px 0 18px;font-variant-numeric:tabular-nums}.clock-picker-label{font-size:10px;color:#888;margin:14px 0 8px}.clock-picker-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.clock-picker-grid button{padding:8px 0;border:1px solid #e4e4e4;border-radius:6px;background:white;color:#222;font-size:12px;cursor:pointer}.clock-picker-grid button.selected{background:#171717;color:white;border-color:#171717}.clock-picker-grid button:focus-visible{outline:2px solid #171717;outline-offset:2px}.clock-exact-minute{margin-top:15px}#clock-selector .modalfoot{padding:15px 20px}

.lead-pipeline{display:grid;grid-template-columns:repeat(7,minmax(245px,1fr));gap:14px;overflow-x:auto;padding-bottom:15px}.lead-column{border:1px solid #e5e5e5;border-radius:10px;background:#eee;padding:13px;min-height:240px}.lead-column-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.lead-column-header h2{font-size:12px;margin:0}.lead-column-header>span{font-size:10px;background:#fff;border-radius:20px;padding:4px 8px}.lead-card{padding:15px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;margin-bottom:12px}.lead-card h3{font-size:13px;margin:0 0 7px}.lead-card p{font-size:10px;color:#777;margin:7px 0;line-height:1.6}.lead-card p svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;vertical-align:middle}.lead-card .field{margin:12px 0}.lead-card .buttons{margin-top:13px}.lead-empty{font-size:10px;line-height:1.8;color:#999;padding:10px 4px}.lead-history-title{font-size:13px;margin-top:26px}.lead-history-item{padding:12px 0;border-top:1px solid #eee;display:flex;flex-direction:column;gap:5px}.lead-history-item strong{font-size:11px}.lead-history-item small{font-size:10px;color:#888}

@media(min-width:1450px){.dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr))}}

.contact-search-action{grid-column:1/-1}.contact-search-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eee}.contact-search-result strong{display:block;font-size:12px}.contact-search-result small{display:block;font-size:10px;color:#888;margin-top:6px}#contact-search-results{margin-top:20px}

.clienticon .client-avatar-image{width:100%;height:100%;object-fit:contain;border-radius:7px;background:#fff;display:block}.client-avatar-image[hidden],.client-avatar-fallback[hidden]{display:none!important}

.finance-month-picker{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;margin:0 0 22px}.finance-month-picker>.field{min-width:190px}.finance-month-picker>.buttons{padding-bottom:3px}.finance-month-picker>p{font-size:10px;color:#888;line-height:1.8;margin:0 0 3px}



.calentry.cal-task{background:#eef5ff;border-left:3px solid #5b78a6;color:#223a5c;}



.calentry.cal-task.cal-completed{background:#e3f4eb;border-left:3px solid #188567;color:#126448;}



#recordform .modalfoot{flex-wrap:wrap}



.taskcard-main{display:flex;align-items:center;gap:12px;margin-bottom:12px}

.taskcard-copy{flex:1;min-width:0;overflow-wrap:anywhere}

.taskcard-client-logo{width:60px;height:60px;object-fit:contain;flex:0 0 60px;border-radius:7px;background:#fff}

@media(max-width:1200px){.taskcard-client-logo{width:44px;height:44px;flex-basis:44px}.taskcard-main{gap:8px}}



.site-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.site-media-grid img{width:100%;height:120px;object-fit:contain;background:#f5f5f5}.site-media-grid small{display:block;overflow-wrap:anywhere}.site-media-grid input{width:100%}@media(max-width:600px){.site-media-grid{grid-template-columns:1fr 1fr}}



.site-rich-editor{border:1px solid #d9dfeb;border-radius:6px;min-height:280px;max-height:500px;overflow:auto;padding:18px;line-height:1.8;background:white}.site-rich-editor h2{font-size:22px}.site-rich-editor img,.site-rich-editor iframe{max-width:100%}.site-editor-wrap>label{display:block;font-size:12px;margin-bottom:10px}.site-editor-wrap .buttons{margin-bottom:10px}



.portal-booking-form{margin-top:22px;max-width:700px}.portal-booking-form .field{margin:16px 0}.portal-booking-slots{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.portal-booking-slots [aria-pressed=true]{background:#176b45;color:#fff;border-color:#176b45}#client-profile .modalfoot,#client-password .modalfoot{border-top:1px solid #e2e5e9}#client-profile .notice,#client-password .notice{margin:0}



.portal-menu-toggle{display:none;align-items:center;gap:8px}.portal-art-review{border-top:1px solid #e5e7eb;padding:20px 0;margin-top:18px}.portal-art-review h3,.portal-art-review h4{margin:12px 0 7px}.portal-art-review .prosetext{white-space:pre-wrap}.portal-tabs{gap:18px}@media(max-width:850px){.portal-menu-toggle{display:inline-flex}.portal-header{flex-wrap:wrap;gap:12px}.portal-header>.buttons>span{display:none}.portal-tabs{display:none;overflow:visible;padding:14px 18px;grid-template-columns:1fr 1fr;gap:6px;background:#fff}.portal-tabs.is-open{display:grid}.portal-tabs button{white-space:normal;text-align:left;padding:13px 12px;min-height:44px;border-radius:5px;border:1px solid #e5e7eb;color:#526159}.portal-tabs button.active{background:#e4e9df;border-color:#aabca3;color:#172622}.portal-header .brand strong{font-size:12px}.portal-header .brand small{font-size:8px}.portal-header .official-logo{width:48px;height:48px}}@media(max-width:400px){.portal-header{padding:12px}.portal-header .buttons{gap:6px}.portal-menu-toggle{padding:8px}.portal-header .brand{gap:8px}.portal-header .official-logo{width:40px;height:40px}.portal-header .brand strong{font-size:11px}}

/* Equal-size time slots, public booking and client portal. */

#booking-slots,.portal-booking-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}

#booking-slots>.booking-slot,.portal-booking-slots>[data-portal="booking-slot"]{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:8px 5px;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.2}

#booking-slots>p,.portal-booking-slots>p{grid-column:1/-1}



.site-contact-option-row{display:flex;align-items:center;gap:12px;margin-bottom:15px}.site-contact-option-row .field{flex:1;margin:0}.site-contact-option-row button{margin-top:18px}



/* Edição direta e controles amplos para os números das cotações. */

.quote-quantity-control{display:grid;grid-template-columns:40px minmax(44px,1fr) 40px;align-items:stretch;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff;min-height:44px}

.quote-quantity-control input{width:100%;min-width:0;border:0!important;border-radius:0;text-align:center;padding:10px 4px;box-shadow:none!important;font-variant-numeric:tabular-nums}

.quote-quantity-control button{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;background:#f1f2f4;color:#202020;font-size:22px;font-weight:600;padding:0;touch-action:manipulation}

.quote-quantity-control button:hover:not(:disabled){background:#e2e5e9}.quote-quantity-control button:disabled{opacity:.35;cursor:default}

.quote-quantity-control:focus-within{outline:2px solid #507cff;outline-offset:1px}

.itemfields>.field{min-width:0}.itemfields input[data-quote-number]{font-variant-numeric:tabular-nums}.quote-quantity-control button:focus-visible{outline-offset:-3px}



.quote-payment-field{gap:8px}.quote-payment-field>label{font-weight:600}.quote-payment-field>small{font-size:11px;font-weight:400;color:#777;line-height:1.6}



/* Mobile proposal headings retain readable word separation. */

@media screen and (max-width:720px){.proposal-page .clean-proposal h1,.proposal-page .clean-proposal h2,.proposal-page .clean-proposal h3{letter-spacing:0;word-spacing:.06em}}



/* Keep company and contact on separate lines in lead cards. */

.lead-card .clientcell{align-items:flex-start;gap:10px}

.lead-card .clientcell>div{min-width:0;flex:1}

.lead-card .clientcell strong{display:block;line-height:1.45;overflow-wrap:anywhere}

.lead-card .clientcell small{display:block;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}

.lead-card .clientcell small:empty{display:none}

/* Cotações no funil: vínculo explícito e valores por proposta. */
.lead-quote-summary{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:12px 0;padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);min-width:0}
.lead-quote-label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;line-height:1.5}
.lead-quote-label svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.lead-quote-title{font-size:12px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.lead-quote-amount{display:flex;flex-direction:column;gap:4px;min-width:0}
.lead-quote-amount>span{font-size:10px;color:var(--muted);line-height:1.5}
.lead-quote-amount>strong{font-size:16px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lead-quote-amount>small,.lead-quote-origin,.lead-quote-recent{font-size:10px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}
.lead-quote-summary>.btn{max-width:100%;white-space:normal;text-align:left}
.lead-quote-empty{font-size:10px;color:var(--muted);line-height:1.6;margin:10px 0}
.lead-details-head .clientcell{align-items:flex-start;gap:10px}
.lead-details-head .clientcell>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.lead-details-head .clientcell strong,.lead-details-head .clientcell small{display:block;line-height:1.5;overflow-wrap:anywhere}
.lead-details-head .clientcell small:empty{display:none}
.lead-details-head{margin-bottom:16px}
.lead-contact-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
.lead-contact-section>h3{font-size:14px;margin:0 0 12px}
.lead-quotes-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
.lead-quotes-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.lead-quotes-heading h3{font-size:14px;margin:0}
.lead-quotes-heading>span{font-size:10px;color:var(--muted)}
.lead-quotes-list{display:flex;flex-direction:column;gap:12px}
.lead-quote-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.6fr);gap:14px 20px;padding:16px;background:#fafafa;border:1px solid var(--border);border-radius:8px}
.lead-quote-info{min-width:0}
.lead-quote-info h4{font-size:13px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 8px}
.lead-quote-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lead-quote-status>span:not(.badge){font-size:10px;color:var(--muted)}
.lead-quote-info p{font-size:10px;color:var(--muted);line-height:1.65;margin:7px 0 0}
.lead-quote-item .lead-quote-amount{align-self:start}
.lead-quote-item .lead-quote-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin:0}
.lead-quote-note{margin-bottom:0}
@media(max-width:600px){.lead-quote-item{grid-template-columns:minmax(0,1fr);padding:14px}.lead-quote-item .lead-quote-actions{grid-column:1}.lead-quote-actions>.btn{white-space:normal;max-width:100%}}



/* Revenue privacy control; keep navigation separate from the eye button. */

.revenue-stat .stat-top{gap:8px}

.revenue-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}

.revenue-toggle{width:32px;height:32px;padding:7px;color:#777}

.revenue-toggle:hover{background:#f1f1f1;color:#202020}

.revenue-toggle svg{width:18px;height:18px}

.revenue-details{display:block;width:100%;padding:0;background:transparent;color:inherit;text-align:left;font:inherit;border-radius:4px}

.revenue-details .stat-value{white-space:nowrap}

.revenue-details:focus-visible{outline:2px solid #171717;outline-offset:4px}



.review-banner{padding:20px max(24px,calc((100% - 1080px)/2));background:#e6ebe1;border-bottom:1px solid #cbd5c3;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#192822}.review-banner p{font-size:12px;line-height:1.6;max-width:640px;margin:6px 0 0}.review-banner .formerror{max-width:320px}.review-banner .formerror:empty{display:none}@media(max-width:720px){.review-banner{align-items:flex-start;flex-direction:column;gap:16px}}



.task-lead-actions{margin-top:10px}.task-lead-actions .btn{width:100%}#meeting-lead-action[hidden]{display:none}


/* Meeting conversion is primary; WhatsApp remains a green outline action. */
.taskcard .btn[data-action="task-meeting-lead"],#meeting-lead-action{background:#188567;border-color:#188567;color:#fff}
.taskcard .btn[data-action="task-meeting-lead"]:hover,#meeting-lead-action:hover{background:#136e55;border-color:#136e55;color:#fff}
.taskcard .btn[data-action="task-contact-whatsapp"]{background:transparent;border-color:#188567;color:#188567}
.taskcard .btn[data-action="task-contact-whatsapp"]:hover{background:#eaf7f1;border-color:#136e55;color:#136e55}

/* Align card actions in one column, with equal touch targets and a separate edit row. */
.taskcard>.btn[data-action="task-contact-whatsapp"],.taskcard .task-lead-actions>.btn{width:100%;min-height:38px;justify-content:center;gap:8px;padding:9px 12px;line-height:18px}
.taskcard>.btn[data-action="task-contact-whatsapp"]{margin-top:10px}
.taskcard .task-lead-actions{margin-top:8px}
.taskcard>.btn[data-action="task-contact-whatsapp"] svg,.taskcard .task-lead-actions>.btn svg{width:17px;height:17px}
.taskcard>.rowactions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #ededed}
.taskcard>.rowactions>.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:8px}

.quote-item-bonus{margin-top:14px;padding:12px;border:1px solid #c7dfd3;border-radius:6px;background:#f0f8f3;align-items:flex-start;color:#196347}
.quote-item-bonus input{accent-color:#188567;width:16px;height:16px;margin:1px 0 0}
.quote-item-bonus strong,.quote-item-bonus small{display:block}.quote-item-bonus small{font-size:10px;font-weight:400;color:#597366;margin-top:3px}
.totals .quote-bonus-total{grid-column:1/-1;padding-top:12px;border-top:1px solid #d4dfd7;color:#196347}.quote-bonus-total small{display:block;font-size:10px;font-weight:400;margin-top:4px}
.proposal-item-bonus{margin-top:14px;padding:14px 16px;border-left:3px solid #188567;background:#f0f8f3;color:#196347;break-inside:avoid}.proposal-item-bonus strong,.proposal-item-bonus span,.proposal-item-bonus b{display:block;font-size:12px;line-height:1.7}.proposal-item-bonus span{color:#557164}.proposal-bonus-summary{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 0;border-top:1px solid #cbd9d0;color:#196347}.proposal-bonus-summary small{grid-column:1/-1;font-size:11px;line-height:1.6}

.proposal-page .price-detail>summary{display:list-item;list-style-position:inside;text-align:left;font-size:14px;font-weight:700;line-height:1.5;color:#192822;background:#eff4ef;border:1px solid #cad8ce;border-radius:6px;padding:14px 18px;min-height:48px;cursor:pointer}
.proposal-page .price-detail>summary::marker{color:#188567}
.proposal-page .price-detail>summary:hover{background:#e6efe8}
.proposal-page .price-detail>summary:focus-visible{outline:2px solid #188567;outline-offset:3px}

.client-delivery-summary{margin:12px 0 0 auto;width:max-content;max-width:100%;text-align:left}.delivery-summary-label{display:block;color:#777;font-size:10px;margin-bottom:6px}.delivery-week-grid{display:grid;grid-template-columns:repeat(6,42px);gap:5px}.delivery-week-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:46px;border:1px solid #e5e7eb;background:#fafbfc;border-radius:5px;font-size:10px;color:#777;padding:5px}.delivery-week-day.selected{background:#edf2f8;border-color:#acbcd3;color:#244567}.delivery-week-day b{font-size:11px}.delivery-week-total{display:block;font-size:10px;color:#777;margin:7px 0 3px}.client-delivery-summary>.textlink{font-size:10px;padding:3px 0}
#deliveryscheduleform [hidden]{display:none!important}.delivery-plan-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0}.delivery-plan-day{background:#f7f8fa;border:1px solid #e4e6eb;border-radius:7px;padding:10px;min-width:0}.delivery-day-toggle{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;cursor:pointer}.delivery-day-toggle input{width:16px;height:16px;accent-color:#202020}.delivery-slot-row{position:relative;padding:12px 0;border-bottom:1px solid #dfe3e9;margin-bottom:8px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.delivery-slot-row .field{min-width:0;font-size:10px}.delivery-slot-row input{width:100%;min-width:0;padding:9px;font-size:12px}.delivery-slot-row>.iconbtn{justify-self:end;height:28px;width:28px}.delivery-day-body>.btn{font-size:10px;padding:7px;width:100%}.delivery-form-help{font-size:11px!important;line-height:1.7!important;margin-top:14px}.delivery-form-totals{background:#edf2f8;padding:13px 15px;border-radius:6px;font-size:12px;line-height:1.7;color:#344a64}.delivery-form-totals.over-limit{background:#fff0f1;color:#a6293f}.delivery-day-toggle .sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.task-delivery-schedule{border-top:1px solid #e8ebef;margin-top:10px;padding-top:10px;display:flex;flex-direction:column;gap:5px}.task-delivery-schedule strong{font-size:10px;color:#444}.task-delivery-schedule>span{font-size:10px;color:#5c697b;line-height:1.5}.task-delivery-schedule>small{font-size:9px;color:#8a8a8a;line-height:1.5}
@media(max-width:720px){.delivery-plan-grid{grid-template-columns:1fr}.delivery-slot-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;align-items:end}.delivery-slot-row>.iconbtn{align-self:end}.delivery-day-body>.btn{width:auto}.delivery-plan-day{padding:12px}}

dialog:has(#deliveryscheduleform){width:min(1100px,96vw);max-width:96vw}
.delivery-progress-summary{display:block;font-size:10px;color:#64748b;line-height:1.6;margin:5px 0}
.delivery-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.delivery-calendar-head .buttons{align-items:center}.delivery-calendar-range{font-size:12px;color:#64748b;margin:14px 0}
.delivery-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:14px 0 24px}.delivery-calendar-weekday{text-align:center;font-size:10px;color:#8c97a8;padding:8px}.delivery-calendar-day{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:95px;border:1px solid #e4e8ef;background:#fafbfc;color:#9099a6;border-radius:6px;padding:11px;cursor:pointer;font:inherit}.delivery-calendar-day b{font-size:13px}.delivery-calendar-day span{font-size:11px}.delivery-calendar-day small{font-size:10px;line-height:1.5}.delivery-calendar-day.in-period{background:#eef3fa;color:#344d69;border-color:#cad8e9}.delivery-calendar-day.has-delivery{background:#e8f4ee;border-color:#9bc7ad;color:#215638}.delivery-calendar-day.period-start{box-shadow:inset 0 0 0 1px #526e91}.delivery-calendar-day:disabled{cursor:default;opacity:.65}.delivery-calendar-day:focus-visible{outline:2px solid #526e91;outline-offset:2px}
.delivery-calendar-slot{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,1fr) minmax(90px,1fr) 36px;align-items:end;gap:12px;padding:14px 0;border-bottom:1px solid #e4e8ef}.delivery-calendar-slot>strong{align-self:center;font-size:13px}.delivery-calendar-slot small{display:block;font-size:11px;font-weight:400;color:#64748b;margin-top:5px}.delivery-calendar-slot .field{margin:0;min-width:0}.delivery-calendar-slot .field input{width:100%;min-width:0}.task-delivery-control{padding:16px;background:#f7f9fb;border:1px solid #e4e8ef;border-radius:6px}.task-delivery-control .field{max-width:280px}.task-delivery-control .prosetext{font-size:12px;line-height:1.6;margin:10px 0}
@media(max-width:720px){.delivery-month-grid{gap:3px}.delivery-calendar-day{min-height:68px;padding:5px;gap:5px}.delivery-calendar-day b{font-size:12px}.delivery-calendar-day span,.delivery-calendar-day small{font-size:8px;overflow-wrap:anywhere}.delivery-calendar-weekday{font-size:8px;padding:5px 0}.delivery-calendar-slot{grid-template-columns:1fr 1fr 30px;gap:8px}.delivery-calendar-slot>strong{grid-column:1/-1}.delivery-calendar-slot .field{font-size:11px}.delivery-calendar-head strong{font-size:12px}}

.delivery-produced-report{margin:20px 0;padding:16px;background:#f7faf8;border:1px solid #dce9e1;border-radius:6px}.delivery-report-entry{padding:12px 0;border-bottom:1px solid #dde7e0;display:flex;flex-direction:column;gap:6px}.delivery-report-entry strong{font-size:13px}.delivery-report-entry span{font-size:11px;color:#64748b}.delivery-produced-label{color:#215638;font-weight:600}.client-portal .delivery-calendar-day{cursor:default;overflow-wrap:anywhere}.client-portal .delivery-calendar-day span{line-height:1.5}

/* Administrative customer portal: selected customer remains visible at every size. */
.mfa-auth{max-width:560px;padding:32px;margin:36px auto;background:white;border:1px solid var(--border);border-radius:12px}.mfa-auth>.eyebrow{margin-top:30px}.mfa-auth h1{font-size:28px;line-height:1.3;letter-spacing:-.7px}.mfa-auth h2,.mfa-security-entry h2{font-size:16px}.mfa-method{padding:20px 0;border-top:1px solid var(--border);margin-top:20px}.mfa-method h2{margin-top:0}.mfa-method .btn{width:100%;justify-content:center}.mfa-method form{display:grid;gap:14px;margin-top:18px}.mfa-method input[name=code]{font-size:21px;letter-spacing:5px}.mfa-remember{margin:12px 0 20px}.mfa-security-entry{display:flex;align-items:center;justify-content:space-between;gap:20px}.mfa-security-entry .prosetext{margin-bottom:0}.mfa-security-row{padding:14px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px}.mfa-security-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.mfa-security-row strong{font-size:12px;overflow-wrap:anywhere}#mfa-register-form{display:grid;gap:14px;margin:24px 0;padding:20px;background:#f8f8f8;border-radius:8px}#mfa-register-form h3{margin:0}.mfa-auth button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.mfa-auth{margin:16px;padding:24px 20px;max-width:none}.mfa-security-entry{align-items:stretch;flex-direction:column}.mfa-security-row{align-items:flex-start;flex-wrap:wrap}}
.board-drag-active{user-select:none}
.board-help{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0}.board-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.board-card{position:relative}.board-card>.clientcell,.board-card>.taskcard-main{padding-right:26px}.board-drag-handle{position:absolute;top:6px;right:6px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;color:#777;background:transparent;border:1px solid transparent;border-radius:5px;cursor:grab;touch-action:none;user-select:none;z-index:1}.board-drag-handle svg{flex-shrink:0;pointer-events:none}.board-drag-handle:hover{background:#f1f1f1;color:#222}.board-drag-handle:focus-visible{outline:2px solid #188567;outline-offset:2px}.board-drag-handle:active,.board-drag-handle[aria-pressed=true]{cursor:grabbing;background:#eaf5f0;color:#136e55}.board-dragging{opacity:.42}.board-card[aria-busy=true]{opacity:.6}.board-drop-target{outline:2px solid #188567;outline-offset:-2px;background:#e7f2ec!important}.board-drag-active [data-board-column]{transition:background-color .12s ease}.board-drag-ghost{position:fixed;left:0;top:0;width:min(260px,calc(100vw - 32px));padding:14px 16px;background:white;color:#202020;border:1px solid #188567;border-radius:8px;box-shadow:0 12px 32px #0002;z-index:1000;pointer-events:none;overflow:hidden}.board-drag-ghost small,.board-drag-ghost span{display:block;color:#777;font-size:10px;line-height:1.6}.board-drag-ghost strong{display:block;font-size:13px;margin:4px 0;line-height:1.5;overflow-wrap:anywhere}.board-drag-ghost strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media(pointer:coarse){.board-drag-handle{width:40px;height:40px;top:4px;right:4px}.board-card>.clientcell,.board-card>.taskcard-main{padding-right:34px}}@media(prefers-reduced-motion:reduce){.board-drag-active [data-board-column]{transition:none}}
.portal-invoice-toolbar{display:flex;align-items:flex-end;gap:24px;justify-content:space-between;margin:24px 0}.portal-invoice-toolbar>.field{width:min(100%,340px)}.portal-invoice-toolbar>p{font-size:13px;line-height:1.6;margin:0 0 10px}.portal-payment-actions{margin-top:10px}.portal-invoice-document+.portal-invoice-document{margin-top:14px}.portal-deleted-payments{margin:24px 0}.portal-deleted-payments>summary{padding:20px;font-weight:700;cursor:pointer}#portal-payment-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0}#portal-payment-dialog .checklabel{margin-top:20px;line-height:1.6}#portal-payment-dialog .modalhead{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}#portal-payment-dialog h2{margin:0;font-size:20px}@media(max-width:640px){.portal-invoice-toolbar{align-items:stretch;flex-direction:column;gap:12px}.portal-invoice-toolbar>.field{width:100%}#portal-payment-dialog .modalfoot{flex-wrap:wrap}}
.portal-admin-picker{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.portal-admin-picker>.field{flex:1 1 280px;max-width:520px}
.portal-admin-picker>.prosetext{margin:0 0 8px}
.admin-portal-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px max(24px,calc((100vw - 1400px)/2));background:#eaf5f0;border-bottom:1px solid #c7dfd3;color:#173f30}
.admin-portal-banner>div{min-width:0}.admin-portal-banner strong{display:block;font-size:15px}.admin-portal-banner p{margin:6px 0;font-size:13px;line-height:1.6}.admin-portal-banner small{font-size:12px;line-height:1.6}
.admin-portal-banner>.field{flex:0 1 320px;min-width:220px;color:inherit}.admin-portal-banner select{width:100%;max-width:100%}
@media(max-width:640px){.admin-portal-banner{padding:16px;flex-direction:column;align-items:stretch;gap:14px}.admin-portal-banner>.field{flex:auto;min-width:0}.portal-admin-picker{align-items:stretch;gap:12px}.portal-admin-picker>.field{flex-basis:100%}.portal-admin-picker>.btn{width:100%;justify-content:center}}
