:root{color:#18212f;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;-webkit-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;min-width:320px;-webkit-tap-highlight-color:rgba(15,118,110,.15)}button,input,select,textarea{font:inherit}button{border:0;border-radius:6px;background:#0f766e;color:#fff;padding:.6rem .8rem;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}button.ghost,nav button{background:#e2e8f0;color:#1f2937}button.danger{background:#b91c1c;color:#fff}button.active{background:#0f766e;color:#fff}a{color:#0f766e;font-weight:700;text-decoration:none}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:.55rem .65rem;background:#fff}textarea{min-height:96px;resize:vertical}label{display:grid;gap:.35rem;color:#475569;font-size:.88rem}h1,h2,h3{margin:0;color:#0f172a}h1{font-size:1.7rem}h2{font-size:1.1rem}h3{font-size:1rem}.login-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:max(1.5rem,env(safe-area-inset-top)) max(1.5rem,env(safe-area-inset-right)) max(1.5rem,env(safe-area-inset-bottom)) max(1.5rem,env(safe-area-inset-left))}.login-panel{width:min(720px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:2rem;display:grid;gap:1.5rem;box-shadow:0 18px 50px #0f172a14}.login-form{display:grid;gap:1rem;max-width:360px}.turnstile-widget{min-height:65px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.wide{grid-column:1 / -1}.error{color:#b91c1c;margin:0}.app-shell{max-width:1440px;margin:0 auto;padding:1rem;padding-top:max(1rem,env(safe-area-inset-top));padding-right:max(1rem,env(safe-area-inset-right));padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-left:max(1rem,env(safe-area-inset-left));display:grid;gap:1rem}.topbar{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;background:#fff;border-bottom:1px solid #e2e8f0;padding:1rem}.topbar nav{display:flex;flex-wrap:wrap;gap:.45rem}.nav-item{display:inline-flex;align-items:center;gap:.4rem}.nav-item.unread:not(.active){background:#fff1f2;color:#9f1239}.bottom-nav{display:none}.nav-badge,.product-badge{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .35rem;border-radius:999px;background:#b91c1c;color:#fff;font-size:.72rem;font-weight:800;line-height:1}.eyebrow{margin:0 0 .25rem;color:#0f766e;font-weight:700;text-transform:uppercase;font-size:.75rem}.notice{background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;border-radius:6px;padding:.75rem 1rem;display:flex;justify-content:space-between;margin:0}.notice button{background:transparent;color:inherit;padding:0 .25rem}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.8rem;display:grid;gap:.25rem}.metric span{color:#64748b;font-size:.82rem}.metric strong{font-size:1.15rem;color:#0f172a}.metric small{color:#64748b;font-size:.78rem}.editable-metric{position:relative;padding-right:2.6rem}.icon-button{position:absolute;top:.55rem;right:.55rem;display:inline-grid;place-items:center;width:1.8rem;aspect-ratio:1;padding:0;background:#e2e8f0;color:#0f766e;font-weight:800}.regular-edit{align-content:start}.regular-edit input{padding:.45rem .55rem}.metric-actions{display:flex;gap:.35rem}.metric-actions button{display:inline-grid;place-items:center;width:2rem;aspect-ratio:1;padding:0}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;min-width:0}.panel.full{grid-column:1 / -1}.panel-head{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:1rem}.product-hero{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center}.product-image{width:96px;aspect-ratio:1;object-fit:contain;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;padding:.35rem}.product-image.placeholder{display:block}.actions{display:flex;gap:.5rem;flex-wrap:wrap}.actions.compact{align-items:center;justify-content:flex-end}.actions.compact button{padding:.45rem .6rem}.delete-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.45rem;border:1px solid #fecaca;border-radius:6px;background:#fef2f2}.delete-confirm span{color:#7f1d1d;font-size:.88rem;font-weight:700}.delete-confirm button{padding:.45rem .6rem}.muted{color:#64748b}.product-accordion{display:grid;gap:.75rem}.acc-item{border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden}.acc-item.open{border-color:#0f766e}.acc-header{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem .75rem;text-align:left;background:#f8fafc;color:#1f2937;border-radius:0;padding:.85rem}.acc-item.open .acc-header{background:#ecfdf8}.acc-title{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:center;font-weight:600}.acc-title>span:first-child{min-width:0}.acc-header small{grid-column:1;grid-row:2;color:#64748b}.acc-chevron{grid-column:2;grid-row:1 / span 2;display:inline-grid;place-items:center;width:1.9rem;aspect-ratio:1;border-radius:999px;background:#fff;color:#0f766e;font-weight:800}.acc-item .panel.detail{border:0;border-radius:0;border-top:1px solid #e2e8f0}.acc-loading{padding:.85rem}.form-stack,.settings-grid{display:grid;gap:.85rem}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.settings-grid>button{grid-column:1 / -1;justify-self:start}.push-activation{display:grid;gap:.45rem;grid-column:1 / -1}.push-activation p{margin:0;font-size:.84rem}.push-warning{color:#92400e}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.profile-grid fieldset{display:grid;gap:.85rem;margin:0;padding:.9rem;border:1px solid #e2e8f0;border-radius:6px;min-width:0}.profile-grid legend{padding:0 .35rem;color:#0f172a;font-weight:700}.profile-actions{grid-column:1 / -1;display:flex;justify-content:flex-start}.account-create{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) auto;gap:.8rem;align-items:end;border:1px solid #e2e8f0;border-radius:6px;padding:.85rem;margin-bottom:1rem}.accounts{display:grid;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.account-row{display:grid;grid-template-columns:1fr 140px repeat(3,1fr) 1fr 100px auto;gap:.75rem;align-items:end;padding:.85rem;border-bottom:1px solid #e2e8f0}.account-row:last-child{border-bottom:0}.account-row small{display:block;color:#64748b;margin-top:.2rem}.check{align-self:center;grid-template-columns:auto 1fr;display:flex;align-items:center;gap:.45rem}.check input{width:auto}.analysis-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.product-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto auto;gap:.75rem;align-items:end;border:1px solid #e2e8f0;border-radius:6px;padding:.75rem;margin-bottom:1rem}.chart-block{margin:0}.chart-with-axes{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0}.chart-y-axis{position:relative;width:58px;padding-right:6px}.chart-y-axis span{position:absolute;right:6px;transform:translateY(-50%);color:#64748b;font-size:.72rem;white-space:nowrap}.chart-area{position:relative}.chart{width:100%;height:220px;color:#0f766e;background:linear-gradient(#f8fafc,#fff);border:1px solid #e2e8f0;border-radius:6px;display:block}.chart.empty{display:grid;place-items:center;color:#64748b;height:auto}.chart-x-axis{display:flex;position:relative;height:1.4rem}.chart-x-axis span{position:absolute;transform:translate(-50%);color:#64748b;font-size:.72rem;white-space:nowrap}.chart-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:#64748b;font-size:.86rem;margin:.45rem 0 1rem}.section-head{display:flex;justify-content:space-between;align-items:center;margin:1rem 0 .65rem}.section-head span{color:#64748b;font-weight:700}.offers-list{display:grid;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;margin-bottom:.85rem}.offer-row{display:grid;grid-template-columns:1.5fr 120px 130px minmax(160px,auto);gap:.75rem;align-items:center;padding:.75rem;border-bottom:1px solid #e2e8f0}.offer-row:last-child{border-bottom:0}.offer-row.rejected{background:#f8fafc}.offer-row small{display:block;color:#64748b;margin-top:.2rem}.rejected-toggle{display:flex;align-items:center;justify-content:flex-start;gap:.5rem;width:100%;border-radius:0;background:#f1f5f9;color:#334155;padding:.7rem .75rem;text-align:left;border-bottom:1px solid #e2e8f0}.rejected-toggle span{display:inline-grid;place-items:center;width:1.4rem;aspect-ratio:1;border-radius:999px;background:#fff;color:#0f766e;font-weight:800}.offer-form{display:grid;grid-template-columns:1fr auto;gap:.75rem;align-items:end}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:1rem;background:#0f172a6b}.preview-modal{width:min(760px,100%);max-height:min(760px,calc(100dvh - 2rem));overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:1rem;box-shadow:0 24px 70px #0f172a47}.preview-modal .section-head{margin-top:0}.preview-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:1rem;align-items:start;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.75rem}.preview-card img{width:140px;aspect-ratio:1;object-fit:contain;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;padding:.35rem}.preview-card h4{margin:0 0 .4rem;color:#0f172a;font-size:1rem}.preview-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.75rem 0}.table{display:grid;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.row{display:grid;grid-template-columns:1.5fr 1fr .8fr .8fr;gap:1rem;align-items:center;padding:.75rem;border-bottom:1px solid #e2e8f0}.row:last-child{border-bottom:0}.pill{justify-self:start;border-radius:999px;padding:.2rem .55rem;background:#e2e8f0;color:#334155;font-size:.8rem}.pill.supporte{background:#dcfce7;color:#166534}.pill.fragile{background:#fef3c7;color:#92400e}.pill.source,.pill.exact{background:#dcfce7;color:#166534}.pill.a_verifier{background:#dbeafe;color:#1d4ed8}.pill.rejete{background:#fee2e2;color:#991b1b}.alert-section{margin-top:1rem}.alert{display:grid;gap:.25rem;padding:.8rem 0;border-bottom:1px solid #e2e8f0}.alert.rule{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.8rem;margin-bottom:.65rem}.guide-sections{display:grid;gap:0;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.guide-section{border-bottom:1px solid #e2e8f0}.guide-section:last-child{border-bottom:0}.guide-toggle{display:flex;align-items:center;gap:.65rem;width:100%;text-align:left;background:#f8fafc;color:#0f172a;padding:.85rem 1rem;border-radius:0;font-weight:600}.guide-toggle:hover{background:#f1f5f9}.guide-chevron{display:inline-grid;place-items:center;width:1.4rem;aspect-ratio:1;border-radius:999px;background:#fff;color:#0f766e;font-weight:800;flex-shrink:0}.guide-content{padding:.85rem 1rem 1rem}.guide-content ol{margin:0 0 .65rem;padding-left:1.4rem;display:grid;gap:.45rem}.guide-content p{margin:0}.guide-tip{color:#0f766e;background:#f0fdfa;border:1px solid #99f6e4;border-radius:6px;padding:.65rem .85rem;font-size:.88rem;margin-top:.65rem}.gdd-followups{display:grid;gap:.75rem;margin:.75rem 0 1rem}.gdd-followups .section-head{margin:0}.gdd-question-card{display:grid;gap:.65rem;border:1px solid #fecaca;border-radius:6px;background:#fff7f7;padding:.85rem}.gdd-question-card>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.gdd-question-card h3{font-size:.98rem}.gdd-question{margin:0;color:#7f1d1d;background:#fff;border:1px solid #fee2e2;border-radius:6px;padding:.7rem;white-space:pre-wrap}.gdd-reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:end}.gdd-reply-form textarea{min-height:82px}@media(max-width:1050px){.topbar,.analysis-grid,.settings-grid,.profile-grid,.form-grid,.account-create,.account-row,.offer-row,.offer-form,.product-settings,.product-hero,.preview-card,.preview-metrics,.gdd-reply-form{grid-template-columns:1fr}.product-image{width:min(180px,100%);justify-self:start}.preview-card img{width:min(180px,100%)}.row{grid-template-columns:1fr;gap:.3rem}.actions.compact{justify-content:flex-start}}@media(max-width:640px){input,select,textarea{font-size:16px;min-height:44px}button{min-height:44px}.icon-button,.metric-actions button{min-height:0;width:2.6rem;height:2.6rem}h1{font-size:1.3rem}.app-shell{gap:.75rem;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.panel{padding:.85rem}.topbar{grid-template-columns:1fr;padding:.85rem}.topbar nav,.topbar>button.ghost{display:none}.analysis-grid{grid-template-columns:1fr 1fr;gap:.6rem}.settings-grid{grid-template-columns:1fr 1fr}.product-hero{grid-template-columns:64px minmax(0,1fr);align-items:start;column-gap:.75rem;row-gap:.75rem}.product-hero>.product-image{width:64px;height:64px;justify-self:start}.product-hero>.actions{grid-column:1 / -1}.product-hero .actions>button{flex:1 1 auto}.product-settings{grid-template-columns:1fr 1fr;gap:.75rem;align-items:end}.product-settings>label:nth-child(3){grid-column:1 / -1}.product-settings>.check{grid-column:1;align-self:center}.product-settings>button{grid-column:2;align-self:center}.offer-row{grid-template-columns:1fr auto auto;column-gap:.6rem;row-gap:.4rem;align-items:start;padding:.7rem}.offer-row>div:first-child{grid-column:1;grid-row:1;min-width:0}.offer-row>span:not(.pill){grid-column:2;grid-row:1;justify-self:end;font-weight:800;white-space:nowrap}.offer-row>.pill{grid-column:3;grid-row:1;justify-self:end}.offer-row>.actions.compact{grid-column:1 / -1;grid-row:2;flex-wrap:wrap}.actions.compact a{display:inline-flex;align-items:center;min-height:44px;padding:0 .7rem;border-radius:6px;background:#e2e8f0;color:#1f2937}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid #e2e8f0;padding:6px 2px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}.bottom-nav-item{background:transparent;color:#64748b;border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 2px;position:relative}.bottom-nav-item.active{background:transparent;color:#0f766e}.bottom-nav-icon{display:inline-flex}.bottom-nav-label{font-size:11px;font-weight:600}.bottom-nav-badge{position:absolute;top:2px;right:28%;min-width:1.05rem;height:1.05rem;padding:0 .25rem;display:inline-grid;place-items:center;border-radius:999px;background:#b91c1c;color:#fff;font-size:.66rem;font-weight:800;line-height:1}.plus-sheet-backdrop{position:fixed;inset:0;z-index:60;background:#0f172a66;display:flex;align-items:flex-end}.plus-sheet{width:100%;background:#fff;border-radius:16px 16px 0 0;padding:.4rem .75rem calc(.75rem + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #0f172a2e}.plus-sheet-grabber{width:36px;height:4px;border-radius:999px;background:#cbd5e1;margin:6px auto 8px}.plus-sheet-item{width:100%;background:transparent;color:#0f172a;border-radius:0;display:flex;align-items:center;gap:12px;padding:12px 6px;border-top:1px solid #f1f5f9;text-align:left;font-size:.95rem}.plus-sheet-item:first-of-type{border-top:0}.plus-sheet-icon{display:inline-flex;color:#0f766e}.plus-sheet-item.danger,.plus-sheet-item.danger .plus-sheet-icon{color:#b91c1c}.plus-sheet-tag,.plus-sheet-badge{margin-left:auto;font-size:.7rem;border-radius:999px;padding:1px 8px}.plus-sheet-tag{color:#92400e;background:#fef3c7}.plus-sheet-badge{display:inline-grid;place-items:center;min-width:1.2rem;height:1.2rem;color:#fff;background:#b91c1c;font-weight:800}}
