/* OrçaFácil Studio — responsive application layer. */
body.pe-theme-claro{--pe-bg:#f3f5f9;--pe-panel:#fff;--pe-panel-2:#f7f9fc;--pe-line:#dfe5ed;--pe-text:#18243a;--pe-muted:#65748b;--pe-brand:#13796b}
body.pe-panel-body,body.pe-login-body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
.pe-app{max-width:1440px}.pe-topbar{height:88px;background:var(--pe-panel);padding:20px 32px}.pe-title h1{font-size:19px;letter-spacing:-.5px}.pe-title p{letter-spacing:2px;font-size:10px}.pe-logo{background:#13796b;color:white;font-size:19px;font-weight:800;border-radius:13px}.pe-main{padding:28px 36px 60px;min-width:0}.pe-h2{font-size:13px;letter-spacing:.7px;margin:24px 0 14px}.pe-panel-box,.pe-card,.pe-filters{border-radius:16px;padding:22px;box-shadow:0 3px 12px #152b4510}.pe-card{min-height:118px;position:relative;overflow:hidden}.pe-card b{font-size:29px;letter-spacing:-1px;color:var(--pe-text);margin-bottom:10px}.pe-card small{font-size:12px}.pe-card:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:3px;background:var(--pe-brand)}.pe-cards{gap:16px}.pe-btn{border-radius:10px;min-height:42px;font-size:13px;font-weight:650;padding:10px 16px;transition:background .15s,box-shadow .15s}.pe-primary{background:var(--pe-brand,#13796b);color:white}.pe-ghost{background:var(--pe-panel);border:1px solid var(--pe-line);color:var(--pe-text)}.pe-btn:hover{box-shadow:0 3px 12px #152b4520}.pe-btn:disabled{opacity:.5;cursor:not-allowed}.pe-hint{font-size:12px;line-height:1.6;color:var(--pe-muted)}.pe-field{margin-bottom:20px}.pe-field label{font-size:12px;font-weight:650;color:var(--pe-text);margin-bottom:8px}input,select,textarea{font-family:inherit;color:var(--pe-text);max-width:100%}.pe-field input,.pe-field select,.pe-field textarea{padding:13px 14px;background:var(--pe-panel);border:1px solid var(--pe-line);border-radius:10px;min-height:46px;font-size:14px}.pe-field select,select{appearance:none;background-color:var(--pe-panel);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2365748b' stroke-width='2'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px!important;min-height:42px;border:1px solid var(--pe-line);border-radius:9px}button,input,select,textarea,a{outline-offset:3px}:focus-visible{outline:3px solid #319bba}.pe-stepper{padding:4px;gap:12px;border:1px solid var(--pe-line);background:var(--pe-panel)}.pe-stepper button{width:36px;height:36px;border-radius:8px;background:var(--pe-panel-2);color:var(--pe-text)}.pe-stepper button:last-child{background:var(--pe-brand);color:#fff}.pe-item-row{padding:16px;margin:8px 0;border:1px solid var(--pe-line);border-radius:12px;background:var(--pe-panel)}.pe-item-row:has(.pe-qty:not(:empty)){transition:border-color .2s}.pe-item-row.pe-selected{border-color:var(--pe-brand);box-shadow:inset 3px 0 var(--pe-brand)}.pe-bar{border:1px solid var(--pe-line);border-radius:14px;background:var(--pe-panel);padding:18px;position:sticky;bottom:12px;z-index:12}.pe-modal{max-width:740px;width:calc(100% - 24px);border-radius:20px;padding:28px}.pe-modal-overlay{backdrop-filter:blur(6px)}.pe-login-wrap{background:radial-gradient(ellipse at top left,#15796b2b,transparent 65%),var(--pe-bg)}.pe-login-card{max-width:420px;border-radius:24px;padding:40px;box-shadow:0 20px 80px #071a2920}.pe-login-btn{background:#13796b;color:#fff}.pe-login-card h1{font-size:26px}.pe-login-card input{min-height:48px}.pe-empty{border:1px dashed var(--pe-line);border-radius:14px;padding:24px}.pe-chip{min-height:36px}.pe-badge{border-radius:6px;padding:4px 8px}.studio-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.studio-head h2{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:4px 0 8px}.studio-head p{margin:0;color:var(--pe-muted);font-size:13px}.studio-eyebrow{font-size:10px;letter-spacing:2px;color:var(--pe-brand);font-weight:800}.studio-hero{background:linear-gradient(115deg,#123c3b,#187c6a);color:white;border-radius:20px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:22px;margin:0 0 24px}.studio-hero h3{font-size:23px;margin:0 0 6px;letter-spacing:-.6px}.studio-hero p{font-size:13px;opacity:.85;margin:0}.studio-hero .pe-btn{background:white;color:#155d52;border:0;white-space:nowrap}.studio-choice{display:flex;flex-wrap:wrap;gap:8px}.studio-choice button{flex:1 1 120px;min-height:53px;border:1px solid var(--pe-line);border-radius:10px;background:var(--pe-panel);color:var(--pe-muted);text-align:left;padding:12px 14px;font:600 12px inherit;cursor:pointer}.studio-choice button[aria-pressed=true]{border-color:var(--pe-brand);background:color-mix(in srgb,var(--pe-brand) 8%,var(--pe-panel));color:var(--pe-text);box-shadow:inset 0 0 0 1px var(--pe-brand)}.studio-choice button[aria-pressed=true]:after{content:"✓";float:right;color:var(--pe-brand);margin-left:8px}.studio-native{display:none!important}.studio-section{background:var(--pe-panel);border:1px solid var(--pe-line);border-radius:18px;padding:24px;margin-bottom:20px}.studio-section>h3{margin:0 0 20px;font-size:16px;letter-spacing:-.3px}.studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-grid> *{min-width:0}.studio-opportunity{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--pe-line);padding:16px 0}.studio-opportunity:last-child{border:0}.studio-opportunity .studio-avatar{width:40px;height:40px;border-radius:12px;background:var(--pe-panel-2);color:var(--pe-brand);display:grid;place-items:center;font-weight:750;flex-shrink:0}.studio-opportunity p{margin:3px 0 0;font-size:12px;color:var(--pe-muted)}.studio-opportunity .pe-btn{margin-left:auto}.studio-progress{height:10px;border-radius:10px;overflow:hidden;background:var(--pe-panel-2);margin:16px 0}.studio-progress div{height:100%;background:var(--pe-brand)}.studio-templates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.studio-template{border:1px solid var(--pe-line);padding:18px;border-radius:12px;background:var(--pe-panel)}.studio-template b{font-size:14px}.studio-template p{font-size:12px;color:var(--pe-muted);line-height:1.6}.studio-settings-index{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.studio-settings-index a{font-size:12px;padding:8px 12px;border:1px solid var(--pe-line);border-radius:8px;color:var(--pe-text);text-decoration:none;background:var(--pe-panel)}.studio-section{scroll-margin-top:110px}.studio-error{background:#fff1f1;color:#8b2222;border:1px solid #edbbbb;padding:14px;border-radius:10px}.studio-search{width:100%;padding:14px;border:1px solid var(--pe-line);border-radius:10px;background:var(--pe-panel);margin-bottom:10px}.studio-toast{position:fixed;right:24px;bottom:90px;background:#123c3b;color:#fff;padding:16px 22px;border-radius:12px;z-index:200}.studio-message{width:100%;min-height:160px;padding:16px;background:var(--pe-panel-2);border:1px solid var(--pe-line);border-radius:12px;resize:vertical}.studio-version{display:none}
@media(min-width:1000px){.pe-app{padding:0 0 0 232px;max-width:none}.pe-topbar{position:sticky;top:0}.pe-tabbar{left:0;top:0;bottom:0;transform:none;width:232px;max-width:none;border-top:0;border-right:1px solid #ffffff14;background:#112f32;display:flex;flex-direction:column;align-items:stretch;padding:120px 18px 22px;gap:8px}.pe-tabbar:before{content:"ORÇAFÁCIL / STUDIO";position:absolute;top:40px;left:28px;color:#fff;font-size:14px;font-weight:800;letter-spacing:1px}.pe-tabbar:after{content:"GESTÃO QUE APROXIMA";margin-top:auto;padding:30px 10px 0;font-size:9px;letter-spacing:1.5px;color:#8bb1ae}.pe-tabbar button{flex:0;display:flex;flex-direction:row;gap:12px;font-size:13px;padding:13px 14px;border-radius:10px;justify-content:flex-start;color:#a9c4c3}.pe-tabbar button.active{background:#ffffff14;color:#fff;box-shadow:inset 3px 0 #53ceb1}.pe-main{max-width:1500px;margin:0 auto}.pe-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.pe-client-card{border-radius:14px}.pe-bar{bottom:16px}.pe-toast-wrap{right:30px;left:auto;transform:none}.pe-kanban{gap:16px}.studio-version{display:block;font-size:11px;color:var(--pe-muted);margin-left:20px}.pe-login-card{max-width:440px}}
@media(max-width:999px){.pe-topbar{padding:16px;height:76px}.pe-main{padding:20px 18px 100px}.pe-tabbar{max-width:none;overflow-x:auto;justify-content:space-between;padding-bottom:env(safe-area-inset-bottom)}.pe-tabbar button{min-width:60px;min-height:66px;font-size:10px}.pe-tabbar button svg{width:20px}.studio-head h2{font-size:26px}.studio-head{align-items:flex-start}.studio-hero{padding:22px;flex-direction:column;align-items:flex-start}.studio-hero h3{font-size:21px}.studio-grid{grid-template-columns:1fr}.studio-section{padding:18px}.pe-bar{bottom:76px}.studio-templates{grid-template-columns:1fr}.studio-opportunity{flex-wrap:wrap}.pe-modal{padding:22px}.pe-field input,.pe-field select{font-size:16px}.studio-head>.pe-btn{font-size:11px;padding:10px}.pe-card{padding:16px}.pe-card b{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.pe-btn.pe-primary{background:var(--pe-brand,#13796b);color:var(--studio-brand-ink,#fff)}

/* 6.39.1 — fundo mais escuro no aplicativo. */
body.pe-panel-body.pe-theme-claro{--pe-bg:#cbd5e1;background:#cbd5e1;}

.studio-use-template{margin:10px 0 0 8px}.studio-notice-editor{border:1px solid var(--pe-line);border-radius:12px;padding:16px;margin:12px 0}.studio-notice-editor textarea{width:100%;min-height:90px;padding:12px;border:1px solid var(--pe-line);border-radius:9px;background:var(--pe-panel);color:var(--pe-text);font:inherit}.studio-emoji-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.studio-emoji-choices button{font-size:24px;min-width:48px;min-height:48px;background:var(--pe-panel);border:1px solid var(--pe-line);border-radius:10px;cursor:pointer}.studio-emoji-choices button[aria-pressed=true]{border:2px solid var(--pe-brand)}.pe-logo{overflow:hidden}.studio-notice-actions{display:flex;gap:10px;flex-wrap:wrap}
/* 6.39.7 — criação e organização das propostas pendentes. */
.studio-proposal-filters{display:grid;gap:12px;padding:16px;margin-bottom:10px;background:var(--pe-panel-2);border:1px solid var(--pe-line);border-radius:14px}.studio-proposal-filters label{display:grid;gap:7px;font-size:12px;color:var(--pe-text);min-width:0}.studio-proposal-filters :is(select,input){width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid var(--pe-line);border-radius:10px;background:var(--pe-panel);color:var(--pe-text);font:inherit;font-size:14px;box-sizing:border-box}.studio-proposal-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.studio-proposal-filters>.pe-btn{justify-self:start}.studio-proposal-filters p{margin:0}.studio-proposal-created{font-size:12px;font-weight:600}.studio-opportunity>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:380px){.studio-proposal-dates{grid-template-columns:1fr}}
