.account-link{display:flex;align-items:center;gap:8px;text-decoration:none;color:#746a5d;font-size:12px}.account-link .avatar{font-size:18px}.signout-link{color:#746a5d;text-decoration:none;font-size:12px;padding:8px 12px;border:1px solid #ded5c6;border-radius:6px}.signout-link:hover{background:#eee5d6}.account-content{padding:26px}.account-content>h2{margin-bottom:12px;font-size:21px}.account-content>p{font-size:13px}.account-symbol{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:#fbe2d6;font-size:30px;color:#b97725;margin-bottom:20px}.account-facts{display:grid;gap:20px;margin:28px 0}.account-facts strong{font-size:13px}.account-facts p{font-size:12px;margin-top:4px}.account-button{display:inline-block;text-decoration:none;padding:12px 16px;border-radius:7px;font-size:13px}@media(max-width:700px){.account-link>span:last-child{display:none}.header-end{gap:12px}}[hidden]{display:none!important}.auth-gate{min-height:100vh;display:grid;place-items:center;padding:26px;background:radial-gradient(ellipse at 30% 20%,#d1d0c5,#faf4e8 55% 100%)}.login-card{width:min(460px,100%);background:#fffcf5;border:1px solid #fffcf5;border-radius:20px;padding:46px 40px;box-shadow:0 24px 90px #0004}.login-brand{margin-bottom:50px;color:#24211d}.login-brand .logo{color:#e9ac35}.login-brand .brand-sub{color:#746a5d}.login-card h1{font-size:32px;line-height:1.2;margin:12px 0 18px}.login-card p{font-size:14px}.login-card small{display:block;margin-top:34px;line-height:1.9;color:#746a5d}.google-button{margin-top:30px;width:100%;display:flex;justify-content:center;align-items:center;gap:14px;padding:14px;font-weight:600}.google-button span{font-family:Arial;font-size:20px}.google-button:disabled{opacity:.6;cursor:wait}#login-error{color:#a64c3f;margin-top:16px;font-size:12px}.login-card>button{margin-top:20px}#sync-status{font-size:11px;color:#faf4e8}.sync-error{color:#ffb6a5!important}.sync-warning{margin:20px 42px 0;padding:16px 20px;border:1px solid #e6bba8;border-radius:9px;background:#fff0e8;display:flex;align-items:center;gap:14px}.sync-warning p{color:#9b5141;flex:1;font-size:12px}.sync-warning button{font-size:11px;white-space:nowrap}@media(max-width:700px){.login-card{padding:35px 26px}.sync-warning{margin:16px 18px;flex-wrap:wrap}.sync-warning p{flex-basis:100%}}@media print{#auth-gate,#sync-warning{display:none!important}#workspace>aside{display:none!important}}.auth-gate{background:radial-gradient(ellipse at 60% 40%,#d1d0c5,transparent 60%),#faf4e8}.google-button{background:#e9ac35;color:#fff;border-color:#e9ac35}.google-button:hover{background:#b97725;border-color:#b97725}.mobile-tools{display:none}.item-field{min-width:0}.item-field span{display:none}.account-content h2,.card p,.deadline h3{overflow-wrap:anywhere}@media screen and (max-width:700px){aside{padding:16px 18px}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:5px;margin-top:16px}nav a{padding:12px 5px;text-align:center;justify-content:center;white-space:normal;font-size:11px;min-height:42px}nav a[href="#account"]{display:none}header{padding:0 18px}.header-end{gap:9px}.signout-link{min-height:40px}.mobile-tools{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:#eee5d6;font-size:10px;gap:12px}.mobile-tools a{color:#746a5d;text-decoration:none;min-height:24px;display:flex;align-items:center}#mobile-sync-status{color:#b97725}#mobile-sync-status.sync-error{color:#a04f40!important}button,input,select,textarea{font-size:16px}button{min-height:44px}.text-button{font-size:12px}.stat{min-width:0}.stat strong{font-size:21px;overflow-wrap:anywhere}.stat-label{font-size:11px;gap:6px}.stat small{font-size:10px}.hero .button-group{gap:8px}.hero .button-group button{font-size:13px}.page-top>.primary{font-size:14px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none;flex:1 1 100%;margin-top:0}.toolbar select{width:100%;margin-top:0}.panel-top{padding:18px;gap:10px}.panel-top h2{font-size:15px}.table-wrap{overflow:visible}table,tbody{display:block;width:100%;white-space:normal}thead{display:none}tbody tr{display:block;margin:12px;border:1px solid #ded5c6;border-radius:9px;padding:10px 0}tbody td{display:block;white-space:normal;padding:7px 15px;border:0;overflow-wrap:anywhere}tbody td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;color:#746a5d;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px}.actions{flex-wrap:wrap;margin-top:5px}.actions button{font-size:12px;padding:9px 12px;min-height:42px}.pill{font-size:11px}.deadline{padding:15px;gap:10px}.deadline h3{font-size:13px}.deadline .pill{font-size:9px;white-space:nowrap}dialog{padding:20px;width:calc(100vw - 20px);max-height:90dvh}.modal-head{gap:12px}.modal-head h2{font-size:19px}.modal-head button{min-width:44px}.modal-actions{position:sticky;bottom:-20px;background:#fffcf5;padding:16px 0}.line{grid-template-columns:minmax(0,1fr) 52px 85px 30px;gap:5px}.line input{padding:9px 6px;font-size:16px;min-width:0}.line button{padding:9px 3px;font-size:20px}.line-labels{grid-template-columns:minmax(0,1fr) 52px 85px 30px;gap:5px}.form-grid{gap:16px}.quote-total{font-size:19px}.account-content{padding:20px}.account-content h2{font-size:18px}.account-content .button-group{flex-direction:column}.print-sheet{padding:0}.print-sheet table{font-size:12px}.print-sheet h1{font-size:25px}.print-sheet .total{font-size:21px;padding:20px 0}#toast{width:calc(100vw - 36px);max-width:400px;text-align:center;font-size:12px;bottom:18px;padding:12px 16px}.line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;gap:10px;padding:12px 0;border-bottom:1px solid #ded5c6}.line .item-field:first-child{grid-column:1/-1}.item-field span{display:block;font-size:10px;color:#746a5d;margin-bottom:3px}.line input{width:100%}.line button{align-self:end}.line-labels{display:none}thead{display:table-header-group;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}.dashboard-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.dashboard-actions button{min-height:44px}.receipt-panel{margin-bottom:24px}.receipt-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.receipt-filters{display:flex;gap:12px}.receipt-filters label{font-size:12px;color:var(--muted);min-width:100px}.receipt-filters select{display:block;margin-top:6px;min-width:110px}.receipt-body{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.4fr);gap:40px;padding:30px 34px;align-items:center}.receipt-ring{position:relative;width:260px;height:260px;border-radius:50%;display:grid;place-items:center;margin:auto}.receipt-center{width:194px;height:194px;border-radius:50%;background:#fffcf5;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:12px;gap:9px}.receipt-center small,.receipt-center span{font-size:12px;color:var(--muted)}.receipt-center strong{font-size:25px;overflow-wrap:anywhere;max-width:100%;line-height:1.15}.receipt-legend{min-width:0;max-height:300px;overflow:auto}.receipt-item{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--border);padding:14px 0}.receipt-item:last-child{border:0}.receipt-swatch{width:12px;height:12px;border-radius:50%;flex:none}.receipt-item div{flex:1;min-width:0}.receipt-item strong{display:block;overflow-wrap:anywhere}.receipt-item small{display:block;color:var(--muted);margin-top:5px}.receipt-item b{font-size:15px;white-space:nowrap}.receipt-empty p{line-height:1.7;color:var(--muted);max-width:480px}.receipt-warning{border-top:1px solid var(--border);padding:16px 24px;line-height:1.6;color:var(--muted);font-size:12px}.receipt-warning a{color:var(--accent)}.payment-section p{color:var(--muted);line-height:1.6}.payment-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:12px;align-items:end;margin:16px 0}.payment-line label{font-size:12px;color:var(--muted)}.payment-line input{display:block;width:100%;margin-top:6px}.payment-line button{height:44px}.lookup-actions{display:flex;gap:10px;flex-wrap:wrap}.lookup-feedback{font-size:12px;color:var(--muted);line-height:1.6}@media(max-width:900px){.receipt-body{gap:24px;padding:24px}.receipt-ring{width:230px;height:230px}.receipt-center{width:172px;height:172px}.receipt-center strong{font-size:22px}}@media(max-width:700px){.dashboard-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.dashboard-actions button{font-size:12px;padding:10px 6px;min-height:52px;white-space:normal}.receipt-heading{align-items:flex-start;flex-wrap:wrap}.receipt-filters{width:100%}.receipt-filters label{flex:1;min-width:0}.receipt-filters select{width:100%;min-width:0}.receipt-body{grid-template-columns:1fr;padding:24px 18px;gap:20px}.receipt-legend{max-height:none}.receipt-item b{font-size:13px}.receipt-warning{padding:14px 18px}.receipt-empty{text-align:center}.payment-line{gap:7px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.payment-line button{padding:8px}.payment-line input{min-width:0;padding:10px 6px;font-size:14px}}.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}.dashboard-charts .receipt-panel{min-width:0;margin-bottom:0}.dashboard-charts .receipt-heading{flex-wrap:wrap;gap:18px}.dashboard-charts .receipt-body{grid-template-columns:1fr;gap:24px;padding:26px 24px}.dashboard-charts .receipt-ring{width:230px;height:230px}.dashboard-charts .receipt-center{width:172px;height:172px}.dashboard-charts .receipt-center strong{font-size:22px}@media(min-width:1500px){.dashboard-charts .receipt-body{grid-template-columns:230px minmax(0,1fr)}}@media(max-width:1000px){.dashboard-charts{grid-template-columns:1fr}}@media(max-width:700px){.dashboard-charts{gap:18px;margin-bottom:18px}.dashboard-charts .receipt-body{padding:24px 18px}}.nav-icon{flex-shrink:0}.nav-icon svg{display:block;width:18px;height:18px}.financial-period-filters{flex-wrap:wrap;gap:10px}.financial-period-filters label{flex:1 1 105px;min-width:105px}.financial-period-filters select{width:100%;min-width:0}.financial-period-filters input[type=date]{display:block;width:100%;min-width:0;margin-top:6px}@media(max-width:700px){.financial-period-filters label{flex:1 1 100px;min-width:100px}}.payment-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 38px}.payment-line:not(:has(.payment-competence:not([hidden]))){grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}#recurrence-fields p{margin-top:12px;color:var(--muted);line-height:1.6}@media(max-width:700px){.payment-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.payment-line .payment-competence:not([hidden]){grid-column:1/3;grid-row:2}.payment-line>button{grid-column:3;grid-row:1/3}.payment-line:not(:has(.payment-competence:not([hidden])))>button{grid-row:1}}#recurrence-fields,.payment-section{grid-column:1/-1}.dashboard-statistics{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1200px){.dashboard-statistics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.dashboard-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}}#quote-items-section,#quote-link-help{grid-column:1/-1}#quote-items-empty{color:var(--muted);font-size:13px;line-height:1.6;padding:14px 0}#quote-items-section .button-group{align-items:center}#quote-items-section #service-picker{max-width:100%}#sync-status,#mobile-sync-status{display:inline-flex;align-items:center;gap:9px}#sync-status:after,#mobile-sync-status:after{content:"";width:10px;height:10px;flex-shrink:0;border-radius:50%;background:#d39b25}#sync-status[data-sync-state=saved]:after,#mobile-sync-status[data-sync-state=saved]:after{background:#22a447}#sync-status[data-sync-state=error]:after,#mobile-sync-status[data-sync-state=error]:after{background:#e53935}.value-privacy-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;flex-shrink:0}.value-privacy-toggle svg{width:18px;height:18px}.modal-head .value-privacy-toggle{margin-left:auto;margin-right:8px;min-height:32px;padding:5px 8px}.private-money-input{letter-spacing:2px;cursor:default}.menu-utility-actions .value-privacy-toggle{padding:6px}.modal-head .value-privacy-toggle span{white-space:nowrap}@media(max-width:480px){.modal-head .value-privacy-toggle span{display:none}}.new-password-tools{display:grid;gap:8px;min-width:0}.password-actions{display:flex;flex-wrap:wrap;gap:8px}.password-actions button{font-size:12px;padding:8px 12px;min-height:38px}.password-strength{display:grid;gap:8px;font-size:12px;color:var(--muted);line-height:1.6}.password-strength-track{display:block;height:4px;border-radius:8px;background:var(--border);overflow:hidden}.password-strength-track>span{display:block;height:100%;width:0;background:#d65c52;transition:width .15s}.password-strength[data-level="1"] .password-strength-track>span{width:33%}.password-strength[data-level="2"] .password-strength-track>span{width:66%;background:var(--accent)}.password-strength[data-level="3"] .password-strength-track>span{width:100%;background:#379c68}.new-password-tools p{margin:0;font-size:12px;color:var(--muted);line-height:1.7}.ticket-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.ticket-toolbar h2{margin-right:auto}.ticket-toolbar label{display:grid;gap:7px;min-width:150px}.ticket-toolbar [hidden]{display:none}.ticket-report{margin-top:24px}.ticket-report>p{margin-bottom:18px;max-width:850px}.ticket-admin-card{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.ticket-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px}.ticket-pagination span{margin-right:auto}.ticket-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;overflow:auto}.ticket-messages{display:grid;gap:12px;margin:20px 0;max-height:42dvh;overflow:auto}.ticket-message{padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--field-surface)}.ticket-message header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.ticket-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.ticket-message small{color:var(--muted)}#ticket-list td{vertical-align:middle}#ticket-list .row-title{max-width:380px;overflow-wrap:anywhere}@media(max-width:640px){.ticket-toolbar label{flex:1}.ticket-admin-card{align-items:start;flex-direction:column}.ticket-pagination{flex-wrap:wrap}.ticket-dialog{max-height:94dvh}.ticket-report .table-wrap{overflow:auto}}.ticket-image-fields{border:1px dashed var(--border);border-radius:12px;padding:14px;margin:0;min-width:0}.ticket-image-fields legend{font-size:13px;font-weight:600;padding:0 5px}.ticket-image-fields p{font-size:12px;color:var(--muted);margin:0 0 12px}.ticket-image-picker{display:flex;flex-direction:column;gap:8px;align-items:flex-start;font-size:13px}.ticket-image-picker input{max-width:100%;font-size:12px}.ticket-image-picker input::file-selector-button{border:1px solid var(--border);border-radius:8px;background:var(--field-surface);color:var(--ink);padding:8px 12px;margin-right:10px;cursor:pointer}.ticket-image-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.ticket-image-previews figure{margin:0;min-width:0}.ticket-image-previews img{width:100%;height:95px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:var(--field-surface)}.ticket-image-previews figcaption{font-size:11px;overflow-wrap:anywhere;margin:5px 0}.ticket-image-previews button{font-size:11px;padding:5px 8px}.ticket-message-images{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ticket-message-images button{display:flex;align-items:center;gap:7px;max-width:100%;font-size:12px;overflow-wrap:anywhere;word-break:break-word}.ticket-message-images svg{width:18px;height:18px;flex-shrink:0}.ticket-full-image{display:block;max-width:100%;height:auto;margin:16px auto}@media(max-width:480px){.ticket-image-previews{grid-template-columns:repeat(2,minmax(0,1fr))}}.receipt-center strong,.stat strong{display:block;min-width:0;width:100%;max-width:100%;white-space:nowrap;word-break:normal;overflow-wrap:normal;overflow-x:auto;scrollbar-width:none;font-variant-numeric:tabular-nums}.receipt-center strong::-webkit-scrollbar,.stat strong::-webkit-scrollbar{display:none}.receipt-item b{flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums}#toast{box-sizing:border-box;margin:0;border:1px solid var(--border);padding:14px 18px;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-size:13px;line-height:1.6;text-align:left;white-space:normal;overflow-wrap:anywhere;max-height:40dvh;overflow:auto;box-shadow:0 8px 28px #0003;z-index:10000}#toast::backdrop{background:transparent;pointer-events:none}@media(max-width:600px){#toast{font-size:12px;padding:12px 14px}}html[data-theme] #workspace input:not(.mendez-native),html[data-theme] #workspace textarea{border-radius:10px;background:var(--field-surface,#fffcf5);border:1px solid var(--border);transition:border-color .15s,box-shadow .15s}html[data-theme] #workspace input:focus-visible,html[data-theme] #workspace textarea:focus-visible,html[data-theme] .mendez-control-button:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #e9ac3520}html[data-theme] #workspace textarea{padding:14px;line-height:1.6}.mendez-control{display:block;position:relative;width:100%;min-width:0;margin-top:7px;text-align:left}.receipt-filters .mendez-control{margin-top:6px}.toolbar .mendez-control{width:auto;min-width:150px}#workspace .mendez-control>.mendez-native{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;margin:0!important;pointer-events:none;clip-path:inset(50%)}html[data-theme] #workspace .mendez-control-button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;margin:0;padding:11px 13px;border:1px solid var(--border);border-radius:10px;background:var(--field-surface,#fffcf5);color:var(--ink);font:inherit;text-align:left;transition:border-color .15s,box-shadow .15s}.mendez-control-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}html[data-theme] #workspace .mendez-control-button:hover{border-color:var(--muted)}.mendez-control-button svg,.mendez-picker svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mendez-control-button svg{color:var(--muted)}.mendez-placeholder{color:var(--muted)}html[data-theme] .mendez-picker{position:fixed;inset:auto;margin:0;padding:8px;box-sizing:border-box;overflow:auto;border:1px solid var(--border);border-radius:15px;background:var(--surface,#fffcf5);color:var(--ink);box-shadow:0 16px 44px #0003;font-family:inherit;font-size:13px;z-index:100}.mendez-picker::backdrop{background:transparent}html[data-theme=light]{--surface:#fffcf5;--field-surface:#fffcf5}.mendez-option-list{max-height:260px;overflow:auto}html[data-theme] .mendez-options button{display:block;width:100%;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left;padding:11px 12px;font:inherit;line-height:1.4}html[data-theme] .mendez-options button:hover,html[data-theme] .mendez-options button:focus-visible{background:#e9ac3512;outline:none}html[data-theme] .mendez-options button[aria-selected=true]{background:#e9ac3520;color:var(--ink);box-shadow:inset 3px 0 var(--accent)}html[data-theme] .mendez-picker button:disabled{opacity:.35;cursor:not-allowed}html[data-theme] .mendez-picker .mendez-option-search{width:100%;margin:0 0 8px;border:1px solid var(--border);border-radius:9px;padding:10px 12px;background:var(--field-surface);color:var(--ink);font:inherit}.mendez-option-list p{color:var(--muted);padding:8px 12px}.mendez-calendar-head{display:flex;align-items:center;justify-content:space-between;padding:4px 0 12px;gap:8px}.mendez-calendar-head strong{font-weight:600;font-size:13px;text-transform:capitalize}html[data-theme] .mendez-calendar button{display:grid;place-items:center;padding:0;background:transparent;color:var(--ink);border:0;border-radius:9px;min-height:36px;font:inherit}.mendez-calendar-head button{width:36px}.mendez-month-prev svg{transform:rotate(90deg)}.mendez-month-next svg{transform:rotate(-90deg)}.mendez-calendar-week,.mendez-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.mendez-calendar-week{color:var(--muted);font-size:10px;text-align:center;padding:0 0 8px}.mendez-calendar-week span{padding:5px}html[data-theme] .mendez-calendar button:hover,html[data-theme] .mendez-calendar button:focus-visible{background:#e9ac3520;outline:1px solid var(--accent);outline-offset:-1px}html[data-theme] .mendez-calendar .outside{color:var(--muted);opacity:.5}html[data-theme] .mendez-calendar [aria-current=date]{box-shadow:inset 0 0 0 1px var(--accent)}html[data-theme] .mendez-calendar [aria-pressed=true]{background:var(--accent);color:var(--accent-ink,#24211d);opacity:1}.mendez-calendar-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:10px;padding-top:7px}html[data-theme] .mendez-calendar-footer button{padding:0 12px;color:var(--muted);font-size:12px}html[data-theme] #workspace dialog{border-radius:20px;padding:26px;scrollbar-width:thin;scrollbar-color:var(--border) transparent}#workspace dialog::-webkit-scrollbar,.mendez-picker::-webkit-scrollbar,.mendez-option-list::-webkit-scrollbar{width:5px;height:5px}#workspace dialog::-webkit-scrollbar-track,.mendez-picker::-webkit-scrollbar-track,.mendez-option-list::-webkit-scrollbar-track{background:transparent;margin:14px}#workspace dialog::-webkit-scrollbar-thumb,.mendez-picker::-webkit-scrollbar-thumb,.mendez-option-list::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}.mendez-picker,.mendez-option-list{scrollbar-width:thin;scrollbar-color:var(--border) transparent}@media(max-width:700px){html[data-theme] #workspace dialog{padding:20px}.mendez-calendar-grid button{min-height:38px}.mendez-control-button{font-size:14px}.toolbar .mendez-control{min-width:0;width:100%}}@media(min-width:701px){html[data-theme] #workspace #modal:has(#quote-items-section){width:min(1060px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:26px 30px}#modal:has(#quote-items-section) .modal-head{margin-bottom:20px}#modal:has(#quote-items-section) .form-grid{gap:14px 20px}#quote-items-section .button-group{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}#quote-items-section .button-group>.mendez-control{width:auto;flex:1 1 230px;margin-top:0}#quote-items-section .button-group>button{flex:0 1 auto;min-height:44px}#quote-items-empty{padding:8px 0;margin:6px 0}#quote-items-section .quote-total{padding-top:12px}#modal:has(#quote-items-section) .modal-actions{position:sticky;bottom:-26px;z-index:2;margin-top:18px;padding:16px 0 6px;background:var(--surface);box-shadow:0 -8px 12px var(--surface)}}@media(min-width:900px){#modal:has(#quote-items-section) .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#modal:has(#quote-items-section) .form-grid>label.field:nth-child(1),#modal:has(#quote-items-section) .form-grid>label.field:nth-child(2){grid-column:span 2}#modal #quote-link-help{grid-column:1/3;align-self:center;font-size:12px;line-height:1.6}#modal #quote-link-help+label.field.full{grid-column:3/5}#modal #quote-link-help+label.field.full textarea{min-height:90px}}#modal .payment-intro{font-size:12px;margin:5px 0 8px}#modal .payment-help{font-size:12px;margin:0 0 12px;color:var(--muted)}#modal .payment-help summary{cursor:pointer;color:var(--ink);width:fit-content}#modal .payment-help p{margin-top:8px}#workspace #modal .modal-head button.value-privacy-toggle{font-size:12px;line-height:1.4;min-height:34px}@media(min-width:701px){html[data-theme] #workspace #modal:has(.project-form-layout){width:min(1180px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:24px 28px}#modal:has(.project-form-layout) .modal-head{gap:12px;margin-bottom:18px}#modal .project-form-layout{gap:14px 20px;align-items:start}#modal:has(.project-form-layout) .modal-actions{position:sticky;bottom:-24px;z-index:2;margin-top:18px;padding:14px 0 4px;background:var(--surface);box-shadow:0 -8px 12px var(--surface)}#modal .project-form-layout>label.field,#modal .project-form-layout input{min-width:0}}@media(min-width:1000px){#modal .project-form-layout{grid-template-columns:repeat(4,minmax(0,1fr))}#modal .project-form-layout>.payment-section{grid-column:1/3;grid-row:span 2;margin-top:4px;padding-right:18px;border-right:1px solid var(--border)}#modal .project-form-layout>label:has(input[name=link]),#modal .project-form-layout>label:has(textarea[name=notes]){grid-column:3/5}#modal .project-form-layout>label:has(textarea[name=notes]) textarea{min-height:110px}#modal .project-form-layout #recurrence-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}#modal .project-form-layout #recurrence-fields p{grid-column:1/-1;margin-top:0;font-size:12px}#modal .project-form-layout .payment-section .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#modal .project-form-layout .payment-line{margin:12px 0;gap:10px}#modal .project-form-layout #payment-total{padding-top:10px;font-size:19px}}#modal .client-form-layout>.full{grid-column:1/-1}@media(min-width:701px){html[data-theme] #workspace #modal:has(.client-form-layout){width:min(1240px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:24px 28px}#modal:has(.client-form-layout) .modal-head{gap:12px;margin-bottom:18px}#modal .client-form-layout{gap:12px 20px;align-items:start}#modal:has(.client-form-layout) .modal-actions{position:sticky;bottom:-24px;z-index:2;margin-top:18px;padding:14px 0 4px;background:var(--surface);box-shadow:0 -8px 12px var(--surface)}#modal .client-form-layout>label.field,#modal .client-form-layout input{min-width:0}#modal .client-form-layout>.field.full>p{font-size:12px;line-height:1.5}}@media(min-width:1000px){#modal .client-form-layout{grid-template-columns:repeat(4,minmax(0,1fr))}#modal .client-form-layout>label:has(input[name=fiscalName]),#modal .client-form-layout>label:has(input[name=street]){grid-column:span 2}#modal .client-form-layout>.client-lookup-row{grid-column:span 2}#modal .client-lookup-row .lookup-feedback{font-size:11px;line-height:1.5;margin-top:6px}#modal .client-form-layout>label:has(textarea[name=notes]) textarea{min-height:70px}}.auth-form,.account-form{display:grid;gap:16px;margin:24px 0}.auth-form label,.account-form label{font-size:12px;color:var(--muted)}.auth-form button,.account-form button{min-height:44px}.auth-help,.account-form p{font-size:12px;line-height:1.7;color:var(--muted)}.renew-link,.account-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid var(--border);border-radius:9px;padding:12px 14px;color:var(--ink);font-size:12px}.account-button.primary{color:var(--accent-ink)}.account-form input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--accent)}.checkbox-label{display:flex;align-items:center;gap:10px}.admin-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2fr);gap:24px}.admin-account{border-bottom:1px solid var(--border);padding:20px 0}.admin-account:first-child{padding-top:16px}.admin-account p{font-size:12px;margin:8px 0}.admin-account .actions{margin-top:12px;flex-wrap:wrap;gap:8px}.admin-account .actions button{font-size:11px}.account-dialog{max-width:560px}.account-dialog p{line-height:1.7;color:var(--muted);margin:14px 0}.credential-field{font-family:monospace!important;letter-spacing:1px}.workspace-notice{margin:20px 42px 0;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft);font-size:12px;line-height:1.5}.workspace-notice a{color:var(--ink)}@media(max-width:850px){.admin-grid{grid-template-columns:1fr}.workspace-notice{margin:18px;flex-wrap:wrap}}.account-profile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-profile-form .profile-wide{grid-column:1/-1}.account-profile-form h3{margin:8px 0 0}.account-profile-form input,.account-profile-form textarea{min-width:0}.profile-lookup-action{display:flex;align-items:end}.profile-lookup-action button{width:100%}.account-profile-form p{margin:5px 0;line-height:1.7}@media(max-width:700px){.account-profile-form{grid-template-columns:1fr}.account-profile-form>*{grid-column:1/-1}}.account-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}.account-layout>.panel,.account-side>.panel{min-width:0}.account-side{display:grid;gap:24px;min-width:0}.account-side .account-form{margin-bottom:0}.account-layout .account-content>p{line-height:1.7}.account-session-actions{display:flex;justify-content:flex-start}@media(max-width:1000px){.account-layout{grid-template-columns:1fr}}.admin-account .actions .account-button{font-size:11px;padding:10px 15px}.audit-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:20px}.audit-controls label{display:grid;gap:8px;font-size:12px;color:var(--muted);min-width:0;max-width:100%}.audit-controls select{max-width:100%}.audit-controls button{min-height:44px}.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.directory-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:16px;margin:24px 0}.directory-filters label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.directory-filters input{min-width:0}.directory-table{width:100%;border-collapse:collapse;table-layout:fixed}.directory-table th{text-align:left;color:var(--muted);font-size:11px;font-weight:500;padding:12px 10px;border-bottom:1px solid var(--border)}.directory-table td{padding:16px 10px;border-bottom:1px solid var(--border);font-size:12px;overflow-wrap:anywhere}.directory-table th:first-child{width:43%}.directory-table th:nth-child(2){width:24%}.directory-table th:nth-child(3){width:23%}.directory-table th:last-child{width:10%;text-align:right}.directory-email{display:block;margin-top:6px;color:var(--muted);font-size:12px}.directory-status[data-status=blocked],.directory-status[data-status=expired]{color:var(--ink);border:1px solid var(--border)}.directory-menu{position:relative;display:flex;justify-content:flex-end}.directory-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:40px;height:40px;border:1px solid var(--border);border-radius:8px;color:var(--ink)}.directory-menu summary::-webkit-details-marker{display:none}.directory-menu summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.directory-menu-options{position:absolute;right:0;top:44px;z-index:15;width:220px;max-width:calc(100vw - 64px);background:var(--surface,#24211d);border:1px solid var(--border);border-radius:10px;padding:6px;box-shadow:0 8px 24px #0002}.directory-menu-options button,.directory-menu-options a{display:block;width:100%;text-align:left;padding:12px;border:0;border-radius:6px;background:transparent;color:var(--ink);font-size:12px;text-decoration:none;min-height:44px}.directory-menu-options button:hover,.directory-menu-options a:hover{background:var(--accent-soft)}.directory-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;color:var(--muted);font-size:12px}.directory-pagination>div{display:flex;align-items:center;gap:12px}.directory-pagination button{min-height:40px}.directory-pagination button:disabled{opacity:.4;cursor:default}.directory-empty{padding:30px 0}.directory-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.directory-panel{overflow:visible}@media(max-width:700px){.directory-heading{align-items:flex-start}.directory-filters{grid-template-columns:1fr}.directory-table,.directory-table tbody{display:block}.directory-table thead{display:none}.directory-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px 0;border-bottom:1px solid var(--border);gap:12px}.directory-table td{border:0;padding:0;min-width:0}.directory-table td:first-child{grid-column:1;grid-row:1}.directory-table td:nth-child(2){grid-column:1;grid-row:2}.directory-table td:nth-child(3){grid-column:1;grid-row:3}.directory-table td:nth-child(3):before{content:"Validade: ";color:var(--muted)}.directory-table td:last-child{grid-column:2;grid-row:1/4}.directory-pagination{flex-direction:column;align-items:flex-start}.directory-pagination>div{width:100%;justify-content:space-between}}.admin-access-card{margin-bottom:24px}.admin-consult-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 16px}.admin-consult-fields label{display:grid;gap:8px;font-size:12px;color:var(--muted);min-width:0}.admin-consult-fields input,.admin-consult-fields select{min-width:0}.admin-test-access{border-top:1px solid var(--border);padding-top:20px;margin-top:20px}.admin-access-card button:disabled{opacity:.5;cursor:default}@media(max-width:700px){.admin-consult-fields{grid-template-columns:1fr}}#workspace-view-notice.workspace-access-float{position:fixed;inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto;z-index:80;width:min(520px,calc(100vw - 40px));max-width:calc(100vw - 40px);margin:0;padding:14px 16px;display:flex;flex-wrap:nowrap;align-items:center;gap:14px;border:1px solid var(--accent);border-left-width:4px;border-radius:14px;background:var(--surface);box-shadow:0 10px 36px #0003}.workspace-access-identity{display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}.workspace-access-identity strong{font-size:12px;color:var(--ink)}.workspace-access-identity span{font-size:11px;color:var(--muted);line-height:1.5}#workspace-view-notice button{flex-shrink:0;min-height:38px;padding:8px 11px;font-size:11px;white-space:nowrap}@media(max-width:580px){#workspace-view-notice.workspace-access-float{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:11px 12px;gap:10px}#workspace-view-notice button{max-width:130px;white-space:normal;line-height:1.4}}#workspace:has(#workspace-view-notice) #main{padding-bottom:140px}.quote-history-below{margin-top:24px}.nav-admin-divider{border-top:1px solid var(--border);margin:14px 0 8px;padding:17px 14px 5px;color:var(--muted);font-size:10px;letter-spacing:.14em;text-transform:uppercase;line-height:1.5}.menu-sync{display:flex;align-items:center;gap:7px;flex-wrap:wrap}html[data-theme] .release-version{padding:3px 5px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:10px;line-height:1.4;min-height:24px;white-space:nowrap}html[data-theme] .release-version:hover{background:var(--accent-soft);color:var(--accent-text)}html[data-theme] #workspace .release-dialog{width:min(540px,calc(100vw - 32px));max-height:85dvh;padding:26px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--ink)}.release-dialog::backdrop{background:#19171388;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.release-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:24px}.release-head .eyebrow{margin:0 0 8px}.release-head h2{font-size:21px;line-height:1.35;letter-spacing:-.6px;margin:0}html[data-theme] .release-close{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:0;background:transparent;color:var(--muted);border-radius:8px;flex-shrink:0}.release-close svg{width:18px;height:18px}.release-entry{padding:20px 0;border-bottom:1px solid var(--border)}.release-entry:first-child{padding-top:0}.release-entry:last-child{border:0}.release-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.release-meta strong{font-size:12px;color:var(--accent-text);background:var(--accent-soft);border-radius:6px;padding:5px 8px}html[data-theme=dark] .release-meta strong{color:#e9ac35}.release-entry h3{font-size:15px;line-height:1.6;font-weight:550;margin:14px 0 0}.release-entry ul{padding-left:20px;font-size:13px;line-height:1.8;color:var(--muted)}.release-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--border);padding-top:18px;margin-top:12px}@media(max-width:700px){.menu-sync{gap:3px}html[data-theme] .release-version{font-size:9px}.release-head h2{font-size:19px}html[data-theme] #workspace .release-dialog{padding:22px}.release-actions .primary{min-height:44px}}
