/* SUR — one light visual system for the CRM, access screens and project tools. */
:root,html.light,html.auth-active {
 color-scheme:light;
 --bg:#f7fbfa;--surface:#ffffff;--surface2:#f5f4ee;
 --ink:#192c25;--sub:#59675f;--muted:#68756d;
 --border:#dfe5df;--line:#e9ede7;
 --blue:#366772;--blue-light:#eaf9f5;
 --green:#366772;--green-bg:#eaf9f5;
 --amber:#926413;--amber-bg:#fff4de;
 --red:#ad4736;--red-bg:#fbeee9;
 --purple:#704793;--purple-bg:#f1ebf7;
 --shadow:none;--huerto-ink:#192c25;--huerto-muted:#59675f;--huerto-border:#dfe5df;
}
html.light,html.auth-active,body,.auth-active body{background:var(--bg);color:var(--ink)}
body{font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;font-variant-numeric:tabular-nums;accent-color:var(--blue)}
::selection{background:#d7ebdd;color:#183b2b}
button,a,input,select,textarea{transition:background-color .12s,border-color .12s}
:where(button,a,input,select,textarea,[tabindex]):focus-visible,.auth-page :focus-visible{outline:2px solid #366772!important;outline-offset:3px}
:where(input,select,textarea):disabled{background:#f1f2ed;color:#718075;opacity:1}
input::placeholder,textarea::placeholder{color:#778279;opacity:1}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:#192c25;caret-color:#192c25}
.sidebar,html.light .sidebar{background:#fff;border-right:1px solid var(--border);box-shadow:none}
.brand-area{min-height:112px;border-bottom:1px solid var(--line);padding:24px 20px}
.brand-caption{font-size:12px;font-weight:650;line-height:1.65;letter-spacing:0;color:#294a36;max-width:190px}
.brand-caption small{font-size:11px;color:var(--muted);letter-spacing:0;margin-top:5px}
.brand-placeholder{background:#fff;border:1px solid var(--border)}
.brand-placeholder:empty{display:none}
.settings-brand-preview .brand-placeholder:empty{display:block;border-style:dashed}
.sidebar-scroll{padding:12px 10px;scrollbar-width:thin;scrollbar-color:#d5ded4 transparent}
.nav-section{color:#718074;font-size:10.5px;font-weight:550;letter-spacing:0;padding:19px 12px 7px}
.nav-item,html.light .nav-item{min-height:42px;padding:10px 12px;gap:11px;color:#536459;font-weight:500;border-radius:7px;font-size:12.5px}
.nav-item svg{width:18px;height:18px;stroke-width:1.6}
.nav-item:hover,html.light .nav-item:hover{color:#176640;background:#f4f7f2}
.nav-item.active,html.light .nav-item.active{color:#00764c;background:#eaf4ed;font-weight:650}
.nav-item.active::before{display:none}
.nav-badge{background:#edf1e9!important;color:#456147!important}
.sidebar-footer{border-top:1px solid var(--line);padding:12px}
.user-block{background:#fff;border:0;padding:7px;border-radius:8px}
.avatar,html.light .avatar{background:#edf3e8;color:#426738;border:1px solid #dce7d3;font-weight:650}
.user-block .name{color:var(--ink)}.user-block .role{color:var(--muted)}
.topbar,html.light .topbar{height:66px;background:#fff;border-bottom:1px solid var(--border);backdrop-filter:none;box-shadow:none}
.breadcrumbs{color:var(--muted);font-size:12px}.breadcrumbs strong{color:var(--ink);font-size:12px;font-weight:600}
.top-search,.searchfield{background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:none;color:var(--sub)}
.top-search input,.searchfield input{color:var(--ink)}.kbd{border-color:var(--border);color:var(--muted);background:#fafbf8}
.icon-btn{background:transparent;color:var(--sub);border-radius:7px}.icon-btn:hover{background:#f1f5ef;color:#247149}
.workspace-indicator{background:#fff;color:#5c6c60;border:1px solid var(--border);border-radius:7px}.top-account{background:transparent;border:0}
.demo-banner{background:#f4f6ed;border-bottom:1px solid #e5e9dc;color:#627156;font-size:10.5px;padding:6px 12px}
.demo-banner strong,.demo-banner .banner-close{color:#526b3f}.mobile-demo-label{background:#edf3e7;color:#52713c;border:1px solid #dce7d2}
.content{width:100%;max-width:1640px;margin-inline:auto;padding:32px 36px 72px}
.page-heading{margin-bottom:24px;align-items:center}.page-title{font-size:28px;font-weight:650;letter-spacing:-.035em;line-height:1.25}
.page-subtitle{font-size:13px;color:var(--sub);margin-top:7px;line-height:1.7}.eyebrow{display:none}
.surface,.kpi,.inventory-stat,.lot-card,.goal-card,.q-panel,.q-preview{background:#fff;border:1px solid var(--border);border-radius:11px;box-shadow:none}
.surface-head{padding:22px 22px 16px}.surface-title{font-size:15px;font-weight:600;color:var(--ink)}.surface-caption{font-size:12px;color:var(--sub)}
.btn,html.light .btn{min-height:38px;background:#fff;color:#354c3e;border:1px solid #dce4da;box-shadow:none;border-radius:7px;font-weight:600;font-size:12px;padding:9px 14px;gap:8px}
.btn:hover,html.light .btn:hover{background:#f3f7f1;border-color:#b8cdb9;color:#245f3c}
.btn.primary,html.light .btn.primary,.auth-primary{background:#366772;color:#fff;border:1px solid #366772;box-shadow:none}
.btn.primary:hover,html.light .btn.primary:hover,.auth-primary:hover{background:#006e49;color:#fff;border-color:#006e49}
.btn.ghost,html.light .btn.ghost{background:transparent;border-color:transparent;color:#37704c}
.btn.danger{color:#a94433;border-color:#e6c8c0;background:#fff}.btn.danger:hover{background:#fff1ec}
.btn.sm{min-height:32px;padding:6px 10px;font-size:11.5px}
.linkish,.link-btn{color:#00764c}.segmented{background:#f4f5ef;border-color:var(--border)}.segmented button{color:var(--sub)}.segmented button.active{color:#176640;background:#fff;box-shadow:none}
.kpi-grid{gap:14px}.kpi{padding:21px}.kpi-top{color:var(--sub);font-size:12px;font-weight:500}.kpi-ico,.kpi-icon{background:#edf5eb;color:#438154;border:0;border-radius:8px}
.kpi-value{font-size:28px;font-weight:650;color:#246946;letter-spacing:-.045em;margin:16px 0 8px}.kpi-foot{font-size:11px;color:var(--muted)}
.chart-card{min-height:300px}.chart-inner{padding-top:12px}.chart-svg text{fill:#627367}.chart-gridline{stroke:#e6ebe3}
.funnel-track,.bar-line .bar-track,.progress{background:#edf1e8}.funnel-row{color:var(--sub)}.goal-card strong{color:#246946}
.data-table th{background:#f8f9f5;color:#67776a;border-color:var(--border);font-size:11px;font-weight:550;text-transform:none;letter-spacing:0}
.data-table td{color:#3b4e41;border-color:var(--line)}.data-table .main-cell{color:var(--ink)}.data-table tbody tr:hover{background:#f8faf5}
.table-wrap{border-radius:0 0 11px 11px;scrollbar-width:thin;scrollbar-color:#cbd7c8 #f4f6ef}
.badge{border-radius:5px;font-weight:550}.badge.neutral{background:#eef1ea;color:#5d6f60}.badge.success{background:var(--green-bg);color:var(--green)}.badge.warning{background:var(--amber-bg);color:var(--amber)}.badge.danger{background:var(--red-bg);color:var(--red)}.badge.purple{background:var(--purple-bg);color:var(--purple)}
.form-control,.select,.auth-field input{background:#fff;color:var(--ink);border:1px solid #d8e1d5;border-radius:7px;min-height:42px;box-shadow:none}
.form-control:focus,.select:focus,.auth-field input:focus{border-color:#4b9b72;box-shadow:0 0 0 3px #e8f3eb;outline:none}
.form-field>span,.form-field label,.q-field>span{font-size:12px;color:#4a5d4e;font-weight:550}
.form-control:disabled,.select:disabled{background:#f4f5ef;color:#6f7e70}
.inventory-stat{padding:20px}.inventory-stat>span{color:var(--sub)}.inventory-stat strong{color:#246946;font-size:27px}
.lot-card{padding:20px;gap:14px}.lot-card:hover{background:#fff;border-color:#a7c4a6;box-shadow:none;transform:none}
.lot-icon{background:#edf5e9;color:#54804b;border:1px solid #dce8d5}.lot-identity strong{color:var(--ink)}.lot-price{color:#366772;font-size:22px}.lot-specs{color:var(--sub)}
.kanban-col{background:#f2f4ed;border:1px solid #e3e8dc;border-radius:10px}.deal-card{background:#fff;border:1px solid #dfe5d9;box-shadow:none;border-radius:8px}.deal-card:hover{border-color:#a4bd9c;box-shadow:none}.stage-count{background:#e7eddf;color:#5b6e51}.stage-name{color:#465b47}.board-empty{border-color:#cdd8c6;color:var(--sub)}
.deal-stage-select{background:#f8faf4;border-color:#dbe4d4;color:#53694b}.mobile-stage-filter{background:transparent}.mobile-stage-chip{background:#fff;color:#53694b;border-color:#dce5d5}.mobile-stage-chip.active{background:#e8f3e8;color:#187347;border-color:#a3c8a3}
.overlay,.more-modal-overlay{background:rgba(29,46,34,.28)}.drawer,.modal,.more-modal{background:#fff;border-color:var(--border);box-shadow:0 12px 48px #25382512}.drawer-head,.drawer-footer{background:#fff;border-color:var(--border)}.drawer-section-title{color:#526b50}.modal .form-control{background:#fff}
.inline-info,.integration-message,.publication-result,.publication-help{background:#f4f7f0;color:#586e53;border:1px solid #e0e9d8}
.hint,.fine-print,.plan-note{color:var(--muted)}.toast{background:#fff;color:#274932;border:1px solid #c3d7bb;box-shadow:0 4px 20px #20381c15}.toast.success{background:#e9f5e9;color:#24673d}
.empty-icon{background:#f3f6ed;color:#769264;border-color:#dce7d1}.empty strong{color:var(--ink)}.empty p{color:var(--sub)}
.settings-inline-mode{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:22px;color:var(--sub);font-size:12px}.settings-inline-divider{height:14px;width:1px;background:var(--border);margin-inline:7px}.settings-card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;color:#5e7c51}.settings-card-head h3{font-size:15px;color:var(--ink)}.settings-card-head p{margin:5px 0 0;line-height:1.65}.settings-form-footer{padding-top:10px;border-top:1px solid var(--line)}.settings-brand-preview{display:flex;align-items:center;gap:16px;padding:18px;background:#f8f9f3;border:1px solid var(--border);border-radius:8px;margin:18px 0}.brand-preview-caption strong,.brand-preview-caption span{display:block}.brand-preview-caption strong{font-size:12px}.brand-preview-caption span{font-size:11px;color:var(--sub);margin-top:7px}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-tiny{font-size:11px!important;margin-top:12px!important}.settings-minor,.settings-project-notice{margin-top:22px;padding:16px;border:1px solid var(--border);border-radius:8px;background:#fff}.settings-minor summary,.settings-project-notice summary{color:var(--sub);font-size:12px;cursor:pointer}.settings-minor p,.settings-project-notice p{font-size:12px;color:var(--sub);line-height:1.75}.settings-secondary{margin-top:20px}
.q-panel,.q-preview{border:1px solid var(--border)!important;background:#fff!important;border-radius:11px}.q-panel-header{background:#fff;border-color:var(--border)}.q-panel-header h2,.q-preview-head h2{color:var(--ink);font-weight:600}.q-preview-head .q-overline,.q-preview-price small{color:var(--sub)}.q-pricing{background:#f7f6ef;border-color:#e9e6db}.q-pricing strong{color:#26734c}.q-preview-price{border-color:var(--border)}.q-preview-price strong{color:#366772}.q-stat{border-color:var(--line);color:var(--sub)}.q-stat strong{color:var(--ink)}.q-stat.main{background:#edf6ee!important;color:#326b42;border:1px solid #dcebd8!important;border-radius:8px}.q-stat.main strong{color:#00764c}.q-preview-foot{background:#f8f9f4;border-color:var(--border);color:var(--sub)}.q-expiry{color:#906419}.q-guide{background:#f7f9f3;border-color:var(--border)}.q-history{background:#fff}.q-history-head{background:#fff}.q-preview-error{background:#fff1eb;color:#a34c36;border:1px solid #efd2c5;border-radius:8px;padding:16px}
.plan-page{max-width:1500px}.plan-heading{margin-bottom:28px}.plan-heading h1{font-family:Georgia,'Times New Roman',serif;font-weight:600;color:#19392a;letter-spacing:-.03em;font-size:34px;line-height:1.2;margin:7px 0}.plan-heading p{font-size:13px;color:var(--sub)}.plan-project{gap:18px}.plan-project img{width:78px;height:86px;border:1px solid #e5eadd;background:#fff;border-radius:9px;object-fit:cover}.plan-eyebrow{color:#658064;font-size:11px}.plan-metrics{gap:12px;margin-bottom:22px}.plan-metrics>div{background:#f5f3ea;border:1px solid #efede3;border-radius:9px;padding:20px}.plan-metrics span{color:#65735f;font-size:11px}.plan-metrics strong{font-family:Georgia,'Times New Roman',serif;color:#366772;font-size:29px;font-weight:600}.plan-workspace{gap:20px;grid-template-columns:minmax(0,1fr) 300px}.plan-document,.plan-inspector{background:#fff;border:1px solid var(--border);border-radius:11px}.plan-document-head{border-color:var(--border);padding:19px 22px}.plan-document-head h2{font-family:Georgia,'Times New Roman',serif;font-size:20px;font-weight:600}.plan-document-head span{color:var(--sub)}.plan-document-head .plan-linked{background:#f0f6eb;border:1px solid #e0e9d6;color:#527744;font-size:10px;border-radius:20px;padding:5px 10px}.original-map-scroll{background:#fffdf8;border-top:1px solid #f0eee3;border-bottom:1px solid #f0eee3;scrollbar-width:thin;scrollbar-color:#a8be94 #f5f4ec}.plan-caption{color:#687461;background:#fff;border-color:var(--border);font-size:11px;line-height:1.8}.plan-inspector{padding:22px}.plan-inspector-top{color:#64735e;font-size:11px}.plan-inspector h2{font-family:Georgia,'Times New Roman',serif;font-size:30px;font-weight:600;color:#21432e}.plan-inspector>p{color:var(--sub);font-size:12px}.plan-inspector dl>div{border-color:var(--line);padding:13px 0}.plan-inspector dd{font-size:12px;color:#294c33;font-weight:600}.plan-status,.plan-status[data-status="Disponible"]{color:#27704b;background:#edf6eb;border:1px solid #d7e8d1}.plan-status[data-status="Vendido"]{color:#a44a34;background:#fbefea;border-color:#efdbd2}.plan-status[data-status="Bloqueado"]{color:#896313;background:#fff6e0;border-color:#ecdfba}.plan-status[data-status="Separado"]{color:#76528d;background:#f5eef8;border-color:#e2d5eb}.plan-lot-picker{border-color:var(--border)}.plan-lot-picker h3{font-size:12px;font-weight:550;color:var(--sub)}.plan-lot-button{color:#46723c;background:#f3f7ed;border:1px solid #dbe5d1}.plan-lot-button[data-status="Vendido"]{color:#a66b59;background:#faf2ee;border-color:#efdfd7}.plan-lot-button[data-status="Bloqueado"]{color:#93702c;background:#fcf7e9;border-color:#eee2c2}.plan-lot-button.active{outline:2px solid #80619a;outline-offset:1px;background:#f5eff9;color:#704793}.plan-lot-button:focus-visible{outline-color:#704793!important}.plan-target.is-selected circle{stroke:#704793;fill:#ffffff33}.plan-target:hover rect,.plan-target:focus-visible rect{fill:#fff6;stroke:#704793}.plan-actions .btn{min-height:42px}
.auth-intro{background:#f1f4e9;border-color:#e1e6d8}.auth-brand strong{color:#2d5b36}.auth-brand span{color:#5c7056}.auth-story h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.4vw,52px);font-weight:500;color:#23472d}.auth-story em{color:#366772}.auth-story p,.auth-intro-foot{color:#5e7256}.auth-chip{color:#447d4d}.auth-panel{background:#fff}.auth-header h2{color:#213e2a;font-size:27px;font-weight:600}.auth-field input{color:var(--ink);background:#fff;border-color:#d7e0d1}.auth-field>span{color:#4e624c}.auth-eye{color:#5d7e53}.auth-alert,.auth-alert.info{background:#f3f7ec;border:1px solid #dde9d1;color:#526e44}.auth-alert.error{background:#fff1eb;color:#a54d36;border-color:#efcebf}.auth-alert.success{background:#edf7eb;color:#2d7541;border-color:#d3e9cb}.auth-demo{background:#fff;color:#3f6b3e;border-color:#d7e3ce}.auth-demo:hover{background:#f2f7ed}.auth-forgot button,.auth-alt button,.auth-retry{color:#366772}.auth-secure,.auth-alt,.auth-demo-note,.auth-footer{color:#697a62}.auth-divider{color:#6f7b67}.auth-divider::before,.auth-divider::after{background:#e0e6d8}.auth-mini-plan{background:#fafcf6;border-color:#d7e1cb}.auth-mini-head,.auth-mini-legend{color:#627a54}.auth-mini-map i{background:#eeddd4;border-color:#d9b8aa}.auth-mini-map i.available{background:#dbeacb;border-color:#a2c07e}.auth-mini-map i.selected{background:#e7ddf0;border-color:#b49bc7}.auth-loading-mark,.auth-brand-icon{background:#f0f6e8;border-color:#d8e7cb;color:#5e8746}.auth-loading{color:#65795a}
.integration-brand{background:#edf5e9;color:#438450}.integration-state{background:#f4f6ef;border-color:#dfe7d8;color:#68795e}.integration-state.ready{color:#366772}.integration-meta{background:#f7f8f2;border-color:#e4e9dc;color:#5e7354}.integration-consent{color:#5d6e55}.integration-footer small{color:var(--muted)}.meta-inbox-header h3{color:var(--ink)}.publication-counter{color:#527646}.publication-help strong{color:#365d37}
.more-modal-header,.more-modal-scroll{background:#fff}.more-modal-header{border-color:var(--border)}.more-modal-close{background:#f3f6ed;color:#56704a;border-color:#dfe7d5}.more-modal-item{background:#fff;color:#45613d;border-color:#e0e7d9}.more-modal-item:hover{background:#f1f7eb}.more-modal-item.is-current{background:#eef6e9;border-color:#a8c591}.more-modal-icon{color:#588044}
.mobile-bottom-nav{background:#fff;border-color:#dfe6d8;box-shadow:none}.mobile-tab{color:#6b7d61}.mobile-tab.active:not(.mobile-create){background:#edf6e9;color:#366772}.mobile-tab.mobile-create .mobile-tab-icon{background:#366772;color:#fff;box-shadow:none}.mobile-tab.mobile-create .mobile-tab-label{color:#5c7350}.mobile-tab-indicator{background:#4f8e4f}.mobile-search-panel{background:#fff}.mobile-search-field{background:#f6f8f1;border-color:#dce5d4}
/* The panorama remains an image canvas; its surrounding controls use the same light UI. */
.tour-app{--bg:#f7fbfa;--surface:#fff;--text:#243d2b;--muted:#64765c;--line:#dfe6d8;--border:#dfe6d8;--blue:#366772;--accent:#366772;background:#f7fbfa;color:#243d2b}.tour-app .tour-topbar,.tour-app .tour-side,.tour-app .details-side{background:#fff;border-color:#dfe6d8;color:#243d2b}.tour-app .tour-main,.tour-app .viewer-frame{background:#f4f5ed}.tour-app .viewer-gradient{background:none}.tour-app .scene-title strong,.tour-app .scene-title span{color:#274b31}.tour-app .button,.tour-app .icon-button{background:#fff;color:#456b40;border-color:#d8e2d0;box-shadow:none}.tour-app .button.primary{background:#366772;border-color:#366772;color:#fff}.tour-app .brand-mark{background:#edf6e8;border-color:#d9e6cf;color:#437b40}.tour-app .brand-copy strong,.tour-app .brand-copy small{color:#315d37}.tour-app .select,.tour-app .input{background:#fff;color:#35542f;border-color:#d8e3cf;color-scheme:light}.tour-app .workmode{background:#f0f6e9;color:#517746;border-color:#dce8d0}.tour-app .scene-item:hover,.tour-app .scene-item.active{background:#edf6e8;color:#246d3c;border-color:#b6d29f}.tour-app .scene-name strong,.tour-app .info-tile strong,.tour-app .details-empty strong{color:#304e31}.tour-app .scene-name span,.tour-app .info-tile span,.tour-app .aside-tip,.tour-app .list-caption,.tour-app .field-label{color:#687e5d}.tour-app .scene-index{background:#f0f6e9;border-color:#dbe7cf;color:#547d43}.tour-app .empty-orbit{background:#eaf3e1;border-color:#ccdfb9;color:#6b954e;box-shadow:none}.tour-app .empty-eyebrow,.tour-app .empty-tour p,.tour-app .empty-format{color:#667e58}.tour-app .empty-tour h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;color:#2e5133}.tour-app .viewer-actions .button,.tour-app .viewer-actions .icon-button,.tour-app .viewer-toolbar,.tour-app .viewer-hint{background:#ffffffed;color:#45673d;border-color:#d6e1ce;backdrop-filter:none}.tour-app .modal{background:#fff;border-color:#dce6d3;box-shadow:0 12px 48px #27451f20}.tour-app .modal-body label{color:#46663c}.tour-app .dropzone{background:#f3f8ed;border-color:#9fbd86;color:#567945}.tour-app .status-pill{background:#edf5e6;color:#4e773e}.tour-app .lot-spec{border-color:#dce6d3}.tour-app .lot-meta .price{color:#366772}.tour-app .ref-toolbar,.tour-app .ref-bottom-nav{background:#fff;border-color:#dde6d3;color:#46643b}
.tour-app .scene-title,.tour-app .ref-scene-label{background:#ffffffed;border:1px solid #dce6d3;backdrop-filter:none;color:#355d38}.tour-app .ref-scene-label small{color:#687e5d}.tour-app .ref-scene-label strong{color:#355d38}.tour-app .ref-float button{box-shadow:none;border-color:#dce6d3;color:#466d40}.tour-app .ref-map-panel{box-shadow:0 8px 30px #26431c18;border:1px solid #dce6d3}.tour-app .tour-side{backdrop-filter:none;box-shadow:none}.tour-app .modal-backdrop{backdrop-filter:none;background:#20311d44}.tour-app .ref-tabs .active{box-shadow:none}.tour-app .edit-instructions{background:#edf6e8;border-color:#c6ddba;color:#436d36}.tour-app .ref-close{box-shadow:none}
@media(max-width:767px){.demo-banner{justify-content:flex-start;flex-wrap:nowrap;gap:5px;padding:5px 10px;font-size:9px;min-height:30px}.demo-banner strong{white-space:nowrap}.demo-banner .banner-close,.demo-banner>svg{display:none}.demo-banner .icon-btn{margin-left:auto;min-width:24px;min-height:24px}.mobile-demo-label{font-size:10px;border-radius:4px;padding:1px 4px}}
@media(min-width:2000px){.content{max-width:1800px;padding-inline:48px}}
@media(min-width:768px) and (max-width:1179px){.brand-area{padding:16px 8px;min-height:72px}.content{padding:26px 24px 64px}.topbar{padding-inline:22px}}
@media(max-width:1200px){.plan-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.content{padding:24px 16px calc(100px + env(safe-area-inset-bottom,0px))}.topbar{height:60px;padding-inline:12px}.top-right .workspace-indicator{display:none}.page-heading{align-items:flex-start}.page-title{font-size:25px}.page-subtitle{font-size:12px}.kpi{padding:16px}.kpi-value{font-size:23px}.surface-head{padding:18px 16px}.plan-heading{gap:18px;margin-bottom:22px}.plan-heading h1{font-size:28px}.plan-project img{width:62px;height:74px}.plan-project{gap:12px}.plan-metrics>div{padding:16px}.plan-metrics strong{font-size:27px}.plan-inspector{padding:20px}.plan-inspector h2{font-size:28px}.plan-document-head{padding:17px}.btn{min-height:42px}.plan-caption{padding:13px 16px}.auth-intro{display:none}.auth-panel{padding:24px}.mobile-bottom-nav{background:#fff}.mobile-tab.active:not(.mobile-create){color:#366772;background:#edf6e9}.mobile-tab.mobile-create .mobile-tab-icon{background:#366772;color:#fff}.more-modal-item{min-height:50px}.q-preview{position:static}.data-table tbody tr{background:#fff}.tour-app .tour-side{box-shadow:none}}
@media(max-width:359px){.content{padding-inline:12px}.plan-project img{width:48px;height:62px}.plan-heading h1{font-size:25px}.plan-heading p{font-size:11px}.auth-panel{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
/* Prospect workspace: compact overview, deliberate hierarchy, usable on touch. */
.prospects-mobile{display:none}
.prospect-desktop-stats{gap:0!important;background:#fff;border:1px solid var(--border);border-radius:10px;margin:0 0 24px;overflow:hidden}
.prospect-desktop-stats .kpi{border:0;border-right:1px solid var(--line);border-radius:0;padding:18px 24px;display:grid;grid-template-columns:1fr auto;gap:3px 18px;align-items:center}
.prospect-desktop-stats .kpi:last-child{border-right:0}.prospect-desktop-stats .kpi-top{font-size:12px;color:#637065;font-weight:500}.prospect-desktop-stats .kpi-value{grid-column:2;grid-row:1/3;margin:0;font-size:24px;letter-spacing:-.045em;color:#274d36;font-weight:600}.prospect-desktop-stats .kpi-foot{font-size:10px;color:#788276}
.pipeline-toolbar{gap:12px;margin:0 0 18px;align-items:center}.pipeline-toolbar .searchfield{width:300px;min-height:42px;border-radius:8px}.pipeline-toolbar .searchfield input{font-size:12px}.pipeline-toolbar .select{min-width:155px}.pipeline-results{color:#6f7c70;font-size:11px;white-space:nowrap}.segmented{display:inline-flex;align-items:center;gap:3px;background:#f0f2eb;border:1px solid #e1e6db;border-radius:8px;padding:3px}.segmented button{display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:6px 12px;color:#677661;background:transparent;border:1px solid transparent;border-radius:5px;font-weight:550;font-size:11px}.segmented button.active{background:#fff;color:#22714a;border-color:#e0e8d8;box-shadow:none}.segmented button:hover{color:#22714a}
.pipeline-scroll{overflow-x:auto;overflow-y:visible;min-height:0;padding:0 0 20px;scrollbar-width:thin;scrollbar-color:#c4d1bb #f1f4eb;border-radius:10px;max-height:none!important}
.kanban.kanban-grid{display:grid;grid-template-columns:repeat(var(--kanban-cols,4),minmax(250px,1fr));gap:14px;align-items:start;width:100%;min-width:0;padding:0 1px 4px}
.kanban-stage-selector{display:flex;align-items:center;gap:6px;margin:0 0 16px;flex-wrap:wrap}
.stage-group-btn{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border:1px solid #dde5d7;background:#fff;border-radius:7px;font-size:11.5px;font-weight:500;color:#556c4d;cursor:pointer;transition:all .14s ease}
.stage-group-btn:hover{background:#f4f7f0;color:#274d36;border-color:#b5cbb0}
.stage-group-btn.active{background:#eaf3e5;border-color:#86b574;color:#185b34;font-weight:650}
.stage-group-count{font-size:10px;background:#edf2e8;color:#556d48;padding:1px 6px;border-radius:10px;font-weight:600}
.kanban-col{width:auto;min-width:0;max-height:none!important;overflow:visible!important;min-height:280px;padding:0 10px 14px;background:#f0f3eb;border:1px solid #e1e7d8;border-radius:10px}
.kanban-col.dragover{background:#e9f4e5;outline:2px dashed #71a56b;outline-offset:-2px}
.kanban-head{position:sticky;top:72px;z-index:3;display:flex;align-items:center;gap:8px;padding:14px 6px 12px;margin:0 0 10px;background:#f0f3eb;font-size:12px;font-weight:600;color:#425c42;border-bottom:1px solid #e1e7d8}
.kanban-head .stage-title{font-weight:650;color:#355337}
.stage-dot{width:7px;height:7px;flex-shrink:0}
.stage-count{font-size:10px;background:#e7eddf;border:0;border-radius:5px;padding:1px 5px;color:#63745b;min-width:19px;text-align:center}
.kanban-total{font-size:10px;font-weight:500;color:#6b7b61;margin-left:auto}
.deal-card{padding:14px 14px 12px;margin:0 0 10px;background:#fff;border:1px solid #dfe6d7;border-radius:8px;box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease;cursor:pointer}
.deal-card:last-child{margin-bottom:0}
.deal-card:hover{background:#fff;border-color:#92b885;box-shadow:0 3px 10px rgba(35,75,40,.06)}
.deal-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.deal-company{display:flex;align-items:center;gap:5px;margin:0;color:#6b7763;font-size:11px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.deal-company svg{color:#8b9e7d;flex-shrink:0}
.deal-open{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border:1px solid #e5ebdf;background:#fff;color:#769167;border-radius:5px;padding:0;cursor:pointer}
.deal-open:hover{background:#eef5e8;color:#277445;border-color:#c1d7b4}
.deal-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-height:36px;padding:0;border:0;background:transparent;text-align:left;font-size:13px;font-weight:650;line-height:1.45;color:#24442b;letter-spacing:-.015em;cursor:pointer}
.deal-card-title:hover{color:#366772;text-decoration:underline}
.deal-contact{color:#76836e;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:4px}
.deal-value{font-size:18px;font-weight:700;letter-spacing:-.03em;color:#1e5a32;margin:12px 0 0;line-height:1.3}
.deal-value small{display:block;font-size:9.5px;letter-spacing:0;font-weight:450;color:#7f8d75;margin-bottom:2px}
.deal-next-action{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding:5px 8px;background:#f7faf3;border:1px solid #e3ebd9;border-radius:6px;font-size:11px;color:#4c6a43}
.deal-next-action.overdue{background:#fff2ef;border-color:#f6cebf;color:#b64c37}
.deal-next-action.empty{background:#fafcf7;border-color:#e8ede2;color:#92a28b}
.deal-action-label{display:inline-flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-weight:500}
.deal-next-action small{color:#7a8a72;font-size:10px;flex-shrink:0}
.deal-stage-control{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;margin-top:10px;border-top:1px solid #edf0e7}
.deal-stage-label{font-size:10.5px;color:#718269;white-space:nowrap}
.deal-stage-select{display:block;width:auto;max-width:155px;min-width:0;min-height:30px;padding:4px 22px 4px 8px;background:#f8faf5;border:1px solid #dce4d3;border-radius:5px;color:#4c6f43;font-size:10.5px;box-shadow:none;cursor:pointer}
.board-empty{border:1px dashed #d3dfc8;background:transparent;border-radius:7px;min-height:100px;font-size:11px;color:#8b997d;display:grid;place-items:center;padding:14px}
.prospect-table-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff;margin-bottom:20px}
.prospect-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.prospect-data-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}
.prospect-data-table th{background:#f8faf5;color:#61755a;font-size:11px;font-weight:650;letter-spacing:.02em;padding:13px 16px;border-bottom:1px solid #e1e7dc;white-space:nowrap}
.prospect-data-table td{padding:13px 16px;border-bottom:1px solid #eef2ea;color:var(--ink);vertical-align:middle}
.prospect-data-table tbody tr:last-child td{border-bottom:0}
.prospect-data-table tbody tr:hover{background:#f9fcf7}
.prospect-table-client{display:flex;align-items:center;gap:11px}
.prospect-table-avatar{width:34px;height:34px;border-radius:8px;background:#edf5e8;color:#4a793d;display:grid;place-items:center;font-size:11.5px;font-weight:600;flex-shrink:0}
.prospect-table-meta{display:flex;flex-direction:column;gap:3px;min-width:0}
.prospect-table-name{border:0;background:transparent;padding:0;font-size:13px;font-weight:650;color:#24442b;cursor:pointer;text-align:left;line-height:1.35}
.prospect-table-name:hover{color:#366772;text-decoration:underline}
.prospect-table-contact{display:flex;align-items:center;gap:6px;white-space:nowrap}
.prospect-phone-link{display:inline-flex;align-items:center;gap:5px;color:#277140;font-weight:550;font-size:11.5px;text-decoration:none;padding:4px 8px;border-radius:6px;background:#f2f7ed;border:1px solid #dbe8d2;transition:background .12s}
.prospect-phone-link:hover{background:#e3f1db}
.prospect-wa-link{display:inline-grid;place-items:center;width:28px;height:28px;color:#248344;background:#f0f8ec;border:1px solid #d6e8ce;border-radius:6px;transition:background .12s}
.prospect-wa-link:hover{background:#dcf2d3}
.prospect-no-phone{color:#92a08c;font-size:11px}
.prospect-project-tag{display:inline-block;padding:3px 8px;background:#f5f7f1;border:1px solid #e2e8dc;border-radius:5px;font-size:11px;color:#576b51;font-weight:500;white-space:nowrap}
.prospect-stage-pill{appearance:none;-webkit-appearance:none;background:#f6f9f3;border:1px solid #d9e4d1;border-radius:6px;padding:6px 22px 6px 9px;font-size:11px;font-weight:600;color:#355931;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23486a42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center}
.prospect-stage-pill:focus{outline:2px solid #7cb56d}
.prospect-owner-badge{display:flex;align-items:center;gap:8px;white-space:nowrap}
.prospect-owner-name{font-size:11.5px;color:#55694f;font-weight:500}
.prospect-action-pill{display:inline-flex;align-items:center;gap:6px;background:#f6f9f2;border:1px solid #e1ebda;border-radius:6px;padding:5px 9px;font-size:11px;color:#45673d;cursor:pointer;text-align:left;transition:background .12s}
.prospect-action-pill.overdue{background:#fff1ee;border-color:#f7cdc0;color:#b64935}
.prospect-action-pill:hover{background:#ecf4e6}
.prospect-action-title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}
.prospect-action-date{color:#778870;font-size:10px}
.prospect-action-empty{display:inline-flex;align-items:center;gap:5px;background:transparent;border:1px dashed #d2deca;border-radius:6px;padding:5px 8px;font-size:11px;color:#788f6e;cursor:pointer;transition:all .12s}
.prospect-action-empty:hover{background:#f3f7ec;color:#286236;border-color:#9fbf93}
.prospect-table-val{font-size:13.5px;font-weight:700;color:#1a5932;letter-spacing:-.02em;white-space:nowrap}
.prospect-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.prospects-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #e4eae0;background:#fff;gap:12px;flex-wrap:wrap}
.prospects-pagination-info{font-size:11.5px;color:#677861}
.prospects-pagination-controls{display:flex;align-items:center;gap:6px}
.prospects-page-numbers{display:flex;align-items:center;gap:3px}
.prospects-page-numbers .btn{min-width:28px;padding:4px 8px;min-height:28px;font-size:11px}
.prospects-mobile-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.prospects-mobile-filters .select{flex:1;min-width:140px;min-height:42px}
.prospect-mobile-phone-group{display:flex;align-items:center;gap:6px}
.prospect-wa-button{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#f0f7ec;border:1px solid #d5e6cd;border-radius:5px;color:#257e42;font-size:11px;font-weight:550;text-decoration:none}
.prospect-wa-button:hover{background:#dfefd6}
.prospect-desktop-view>.hint{display:flex;align-items:center;gap:6px;padding-top:8px;font-size:10px;color:#7a866f}
/* Shared reading and editing rhythm across operational modules. */
.data-table th{padding:14px 18px}.data-table td{padding:16px 18px;font-size:12px;line-height:1.65}.data-table .sub-cell{font-size:11px;margin-top:4px;color:#7a8672}.linkish{font-weight:550}.surface{overflow:hidden}.toolbar{margin-bottom:18px}.task-row{padding:18px 22px;align-items:center}.task-title{font-size:13px;font-weight:550}.task-sub{font-size:11px;line-height:1.6}.activity{padding:20px 22px}.activity-body strong{font-size:13px;font-weight:550}.activity-body p{font-size:12px;line-height:1.75}.rule-row{padding:21px 22px}.rule-row strong{font-size:13px;font-weight:550}.rule-row p{font-size:12px;line-height:1.7}.report-bars{padding:8px 22px 24px}.mini-metric{padding:17px 22px}.mini-metric strong{font-size:13px}.mini-metric span{font-size:12px}.setting-card{padding:24px}.form-field{gap:8px;margin-bottom:18px}.drawer-head{padding:24px;gap:18px}.drawer-head h2{font-size:21px;font-weight:600;line-height:1.4;letter-spacing:-.03em}.drawer-head p{font-size:12px;line-height:1.7}.drawer-scroll{padding:24px}.drawer-footer{padding:18px 24px;gap:8px}.drawer-section-title{font-size:12px;letter-spacing:0;text-transform:none;color:#5d7453;padding-bottom:11px;margin:25px 0 16px;font-weight:600}.drawer-grid{gap:0 16px}.drawer .form-control{min-height:43px;font-size:13px}.drawer .setting-value{font-size:13px;line-height:1.65}.drawer .checklist{font-size:12px;padding:11px 0}.drawer .task-row{padding:12px 0}.modal .drawer-head{padding:22px}.modal .drawer-scroll{padding:22px}.modal .drawer-footer{padding:16px 22px}.integration-layout .surface,.publication-layout .surface{overflow:visible}.report-grid .surface{min-width:0}.bar-line{grid-template-columns:minmax(80px,120px) minmax(0,1fr) 72px}
@media(min-width:768px) and (max-width:1250px){.prospect-desktop-stats .kpi{grid-template-columns:1fr;gap:6px;padding:16px 20px}.prospect-desktop-stats .kpi-value{grid-column:1;grid-row:2;font-size:23px}.prospect-desktop-stats .kpi-foot{display:none}.pipeline-toolbar{flex-wrap:wrap}.pipeline-toolbar .searchfield{flex:1;min-width:200px}.pipeline-scroll{max-height:none!important}}
@media(max-width:767px){
 .prospect-desktop-view,.prospect-desktop-stats{display:none!important}.prospects-mobile{display:block;min-width:0}.prospects-mobile-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;background:#fff;border:1px solid var(--border);border-radius:10px}.prospects-mobile-tools .searchfield{width:100%;min-width:0;min-height:44px;background:#fbfcf8;margin:0;flex:initial}.prospects-mobile-tools input{font-size:16px}.prospects-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#718064}.prospects-filter .select{width:auto;min-width:160px;max-width:70%;min-height:40px;font-size:12px;background:#fff}.prospects-count{font-size:11px;color:#7c8970;margin:18px 2px 12px}.prospects-mobile-rows{display:grid;gap:14px}.prospect-row{border:1px solid #dfe6d7;border-radius:11px;background:#fff;padding:18px;min-width:0}.prospect-primary{display:flex;align-items:flex-start;gap:11px;padding-bottom:16px;border-bottom:1px solid #edf0e7}.prospect-avatar{width:37px;height:37px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#eef4e7;color:#63844b;font-size:12px;font-weight:600}.prospect-identity{flex:1;min-width:0}.prospect-name{display:block;text-align:left;border:0;background:transparent;padding:0;margin:0;font-size:14px;font-weight:600;color:#294631;line-height:1.4;overflow-wrap:anywhere}.prospect-context{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;color:#7b876f;line-height:1.6;margin-top:5px}.prospect-detail-button{display:grid;place-items:center;background:#fff;border:1px solid #e4eadc;border-radius:7px;color:#688c50;width:34px;min-height:36px;flex-shrink:0;padding:0}.prospect-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;padding:16px 0}.prospect-cell{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px}.prospect-cell strong{font-weight:500;color:#425a3a;line-height:1.6;overflow-wrap:anywhere}.prospect-key{font-size:10px;color:#87927b}.prospect-phone{display:flex;align-items:center;gap:4px;color:#33804b;font-size:11px;font-weight:500;overflow-wrap:anywhere}.prospect-no-phone{font-size:11px;color:#86937a}.prospect-stage-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7;padding:12px 0}.prospect-stage-label{font-size:11px;color:#748465}.prospect-stage-select{max-width:75%;width:160px;min-height:40px;padding:8px 12px;background:#f5f9ef;border:1px solid #dce8cf;border-radius:6px;color:#4d7540;font-size:12px}.prospect-followup{display:grid;gap:13px;padding-top:15px}.prospect-next-info{display:grid;gap:4px}.prospect-next-info>span{font-size:10px;color:#87927b}.prospect-next-info strong{font-size:11px;font-weight:500;color:#5e7450;line-height:1.6}.prospect-next-info small{font-size:10px;color:#8a957e}.prospect-next-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 12px;background:#fff;color:#3e7b44;border:1px solid #d5e3ca;border-radius:7px;font-size:12px;font-weight:550}.prospect-next-button:hover{background:#f1f7e9}.task-row{padding:16px;align-items:flex-start;flex-wrap:wrap}.task-right{flex-wrap:wrap;gap:8px;margin-left:30px}.activity{padding:17px 16px;flex-wrap:wrap}.activity-body{min-width:0}.activity time{margin-left:46px}.rule-row{padding:18px 16px;align-items:flex-start}.rule-row p{font-size:11px}.setting-card{padding:20px}.data-table td{font-size:12px}.drawer-head{padding:20px}.drawer-scroll{padding:20px}.drawer-footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));flex-wrap:wrap}.drawer-grid{grid-template-columns:minmax(0,1fr)}.drawer-footer .btn{min-height:42px}.page-heading .heading-actions .btn{font-size:12px}.more-modal-grid{gap:9px}
}
@media(max-width:359px){.prospect-row{padding:15px}.prospect-details{gap:13px 10px}.prospects-mobile-tools{padding:13px}.prospects-filter{font-size:10px}.prospects-filter .select{min-width:150px}.prospect-cell{font-size:10px}}
.sync-pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;padding:5px 8px;background:#f2f7ec;border:1px solid #dfebd4;border-radius:6px;color:#668051;white-space:nowrap}.account-card{display:grid;gap:18px}.account-card-row{display:flex;align-items:center;gap:12px;padding:16px;background:#f8faf4;border:1px solid #e4eadc;border-radius:8px}.account-card-row>span{color:#76965e}.account-card-row strong,.account-card-row small{display:block;overflow-wrap:anywhere}.account-card-row strong{font-size:12px;font-weight:550;color:#3d5f37}.account-card-row small{font-size:11px;color:#829372;margin-top:4px}.sync-empty{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#f8faf4;border:1px solid #e4eadc;border-radius:8px;color:#759061}.sync-empty>svg{flex-shrink:0}.sync-empty strong{display:block;font-size:12px;font-weight:550;color:#536c45}.sync-empty p{font-size:11px;margin:6px 0 0;line-height:1.7;color:#80916e}.sync-workspace{margin-bottom:0}.tabular{font-variant-numeric:tabular-nums}.integration-help,.integration-note{font-size:11px;line-height:1.75;color:#7a8c69;margin-top:16px}.meta-leads-inbox{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.meta-lead-list{display:grid;gap:8px}.meta-lead-preview{padding:18px;margin-top:16px;background:#f7faf2;border:1px solid #dfe9d4;border-radius:8px}.meta-lead-preview h4{font-size:13px;margin:0 0 12px}.meta-lead-preview dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;font-size:12px;padding:7px 0}.meta-lead-preview dt{color:#80906f}.meta-lead-preview dd{margin:0;overflow-wrap:anywhere}.auth-info{font-size:12px;color:#7c8e68;line-height:1.7}.overview-metrics{display:grid;gap:4px}.period-note{font-size:11px;color:#7a8c69}
@media(max-width:767px){.sync-empty{flex-wrap:wrap}.settings-card-head{flex-wrap:wrap}.meta-lead-preview{padding:14px}.integration-help,.integration-note{font-size:11px}}
.overview-metrics{gap:14px}.integration-help h2{font-size:14px;font-weight:550;color:#4d6b40}.deal-company{font-size:11px;color:#6b7763}.deal-contact{color:#6b7763}.deal-value small,.deal-stage-control>span{font-size:10px;color:#6b7763}.deal-bottom{font-size:11px;color:#6b7763}.prospect-desktop-stats .kpi-foot{font-size:11px;color:#6b7763}.prospect-desktop-view>.hint{font-size:11px;color:#6b7763}.prospect-key,.prospect-next-info>span{color:#6b7763}.prospect-count,.prospects-count{color:#6b7763}
/* Mobile navigation: one baseline, consistent line icons and quiet active states. */
@media(max-width:767px){
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;min-height:74px;padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:#fff;border-top:1px solid #e3e9e2;box-shadow:none;z-index:40;isolation:isolate}
 .mobile-bottom-nav .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:0;min-height:58px;padding:0 2px 2px;background:transparent;border:0;border-radius:9px;color:#778278;position:relative}
 .mobile-bottom-nav .mobile-tab-icon{position:relative;display:grid;place-items:center;width:46px;height:32px;border-radius:12px;color:inherit;transform:none;flex-shrink:0;background:transparent;box-shadow:none}
 .mobile-bottom-nav .mobile-tab-icon>svg{width:22px;height:22px;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .mobile-bottom-nav .mobile-tab-label{font-size:10.5px;line-height:1.25;font-weight:500;letter-spacing:.01em;color:inherit;white-space:nowrap}
 .mobile-bottom-nav .mobile-tab.active:not(.mobile-create){color:#00764c;background:transparent}
 .mobile-bottom-nav .mobile-tab.active:not(.mobile-create) .mobile-tab-icon{background:#eaf5ed;color:#00764c}
 .mobile-bottom-nav .mobile-tab.active .mobile-tab-label{font-weight:650}
 .mobile-bottom-nav .mobile-tab.mobile-create{gap:5px;color:#4f6558}
 .mobile-bottom-nav .mobile-tab.mobile-create .mobile-tab-icon{width:40px;height:36px;border:1px solid #366772;border-radius:10px;background:#366772;color:#fff;box-shadow:none;transform:none}
 .mobile-bottom-nav .mobile-tab.mobile-create .mobile-tab-icon>svg{width:21px;height:21px;stroke-width:1.8}
 .mobile-bottom-nav .mobile-tab.mobile-create .mobile-tab-label{color:#4f6558;font-weight:550}
 .mobile-bottom-nav .mobile-tab:active .mobile-tab-icon{background:#eff4ee}.mobile-bottom-nav .mobile-tab.mobile-create:active .mobile-tab-icon{background:#006e49}
 .mobile-task-count{position:absolute;top:-2px;right:1px;display:grid;place-items:center;min-width:16px;height:15px;padding:0 3px;background:#f0f3ed;color:#536a57;border:1px solid #fff;border-radius:5px;font-size:8px;line-height:1;font-weight:650}
 .mobile-bottom-nav .mobile-tab.active .mobile-task-count{background:#dcefe1;color:#216442}
 .more-modal-overlay{z-index:39;padding:16px 10px calc(88px + env(safe-area-inset-bottom,0px));background:#243b2b3b}
 .more-modal{position:relative;width:min(600px,100%);border:1px solid #e3e9df;border-radius:18px;max-height:calc(100dvh - 120px - env(safe-area-inset-bottom,0px));box-shadow:none;padding-top:16px}
 .more-modal::before{content:'';position:absolute;top:7px;left:calc(50% - 16px);width:32px;height:3px;border-radius:3px;background:#d6dfd2}
 .more-modal-header{padding:12px 18px 16px;align-items:center;border-color:#edf0e9}.more-modal-header h2{font-size:19px;font-weight:600;letter-spacing:-.025em}.more-modal-header p{font-size:11px;color:#7b8876;margin-top:4px}
 .more-modal-close{width:36px;height:36px;min-width:36px;border:1px solid #e4eadd;background:#fff;border-radius:9px;color:#6c8161;display:grid;place-items:center}.more-modal-close svg{width:18px;height:18px}
 .more-modal-scroll{padding:0 14px 18px;overscroll-behavior:contain}.more-modal-section h3{font-size:11px;font-weight:550;letter-spacing:0;color:#7c8a74;margin:18px 4px 10px}.more-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .more-modal-item{min-height:60px;padding:10px 9px;gap:8px;background:#fff;border:1px solid #e6ece0;border-radius:9px;color:#48603f;font-size:12px;line-height:1.4;font-weight:500}.more-modal-item>svg:last-child{display:none}.more-modal-icon{width:31px;height:33px;display:grid;place-items:center;flex-shrink:0;background:#f4f7ef;color:#74935b;border-radius:7px}.more-modal-icon svg{width:19px;height:19px;stroke-width:1.6}.more-modal-item.is-current{background:#f3f9ee;border-color:#bcd4a9;color:#3d743e}.more-modal-item.is-current .more-modal-icon{background:#e5f1da;color:#4f8040}
 .content{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}.toast-container{bottom:calc(90px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:359px){.mobile-bottom-nav{padding-inline:5px}.mobile-bottom-nav .mobile-tab-label{font-size:10px}.more-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.more-modal-item{font-size:11px;padding:9px 7px;gap:6px}.more-modal-icon{width:27px;height:30px}.more-modal-scroll{padding-inline:12px}}
/* Mobile content integrity: monetary values stay intact; layout makes room. */
.kpi-value,.inventory-stat strong,.plan-metrics strong,.prospect-table-val{word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
@media(max-width:767px){
 .kpi-grid,.kpi-grid[style]{gap:10px}.kpi-grid .kpi{min-width:0}.kpi-grid .kpi-value{white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1.25;font-size:clamp(21px,4vw,25px);letter-spacing:-.045em}
 .page-heading{gap:17px}.page-subtitle{line-height:1.7;overflow-wrap:break-word}.heading-actions{min-width:0}.heading-actions .btn{min-height:44px}
 .dashboard-grid,.dashboard-lower{gap:16px}.chart-card{min-height:0}.chart-card .surface-head{align-items:flex-start;gap:12px;padding:18px 16px 12px}.chart-card .period-note{font-size:10px;white-space:nowrap}.chart-inner{padding:8px 10px 14px}.chart-svg{display:block;width:100%;height:auto;aspect-ratio:640 / 227}.chart-svg .axis-label{font-size:11px}
 .prospects-mobile-tools{padding:15px;gap:12px}.prospects-mobile-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.prospects-mobile-filters .prospects-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;align-items:start;font-size:11px;color:#61725d}.prospects-mobile-filters .select,.prospects-mobile-filters .prospects-filter .select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;font-size:12px;padding:9px 26px 9px 10px;background-color:#fff;overflow:hidden;text-overflow:ellipsis}
 .prospect-row{min-width:0;padding:17px}.prospect-primary{gap:10px}.prospect-identity{min-width:0}.prospect-name{font-size:15px;line-height:1.45}.prospect-context{line-height:1.65;font-size:12px;color:#64745f}.prospect-detail-button{width:40px;min-width:40px;min-height:44px;border-color:#e1e8dc}.prospect-details{gap:15px 12px;align-items:start}.prospect-cell{min-width:0}.prospect-cell strong{font-size:12px;line-height:1.6}.prospect-key{font-size:11px;line-height:1.5}.prospect-mobile-phone-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.prospect-phone{font-size:12px;min-height:32px;line-height:1.5;white-space:nowrap;max-width:100%;letter-spacing:-.02em}.prospect-phone svg{width:13px;height:13px;flex-shrink:0}.prospect-wa-button{display:grid;place-items:center;width:36px;min-width:36px;min-height:36px;padding:0;border-radius:7px}.prospect-wa-button svg{width:17px;height:17px}.prospect-cell .tabular{white-space:nowrap;overflow-wrap:normal;font-size:13px;font-weight:600;color:#315d3d}.prospect-stage-select{min-height:44px;font-size:13px}.prospect-next-info strong{font-size:12px;line-height:1.65}.prospect-next-info small{font-size:11px}.prospect-next-button{min-height:44px;font-size:12px}
 .prospects-count{font-size:12px;margin:18px 2px 12px}.prospects-count strong{font-weight:600;color:#47623d}.more-modal-close{min-width:44px;min-height:44px;width:44px;height:44px}.more-modal-overlay{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.more-modal-item{min-width:0}.more-modal-item>span:not(.more-modal-icon){min-width:0;overflow-wrap:break-word}
 .drawer .form-control,.modal .form-control,.inventory-modal .form-control{font-size:16px;min-height:44px}.drawer-head{flex-shrink:0}.drawer-head h2{overflow-wrap:break-word}.drawer-head .icon-btn{width:44px;min-width:44px;min-height:44px}.drawer-scroll{min-height:0}.drawer-footer{flex-shrink:0}.settings-brand-preview{min-width:0}.brand-preview-caption{min-width:0}.brand-preview-caption strong{overflow-wrap:break-word}.settings-actions .btn{white-space:normal;min-height:44px;text-align:center}
 .q-preview-price strong,.q-stat strong{white-space:nowrap;overflow-wrap:normal}.q-stat{gap:12px;min-width:0}.q-stat>span{min-width:0}.q-stat.main strong{font-size:20px}.q-actions{display:grid;grid-template-columns:1fr;gap:9px}.q-actions .btn{width:100%;min-height:44px}.q-pricing{flex-wrap:wrap}.inventory-stat strong{white-space:nowrap}.inventory-stat strong.small{font-size:clamp(16px,4.1vw,22px);letter-spacing:-.04em}.task-right{max-width:100%;margin-left:30px}.task-right .hint{white-space:nowrap}
}
@media(max-width:430px){
 .kpi-grid:not(.prospect-desktop-stats),.kpi-grid[style]:not(.prospect-desktop-stats){grid-template-columns:minmax(0,1fr)!important;gap:10px}
 .kpi-grid:not(.prospect-desktop-stats) .kpi{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:14px;row-gap:6px;padding:16px 18px;border-radius:10px}
 .kpi-grid:not(.prospect-desktop-stats) .kpi-top{grid-column:1;grid-row:1;display:block;font-size:12px;line-height:1.6;color:#5b6e59;font-weight:500;min-width:0}
 .kpi-grid:not(.prospect-desktop-stats) .kpi-ico{display:none}
 .kpi-grid:not(.prospect-desktop-stats) .kpi-value{grid-column:2;grid-row:1;margin:0;font-size:clamp(20px,5.8vw,24px);line-height:1.25;white-space:nowrap;color:#28653e;letter-spacing:-.05em}
 .kpi-grid:not(.prospect-desktop-stats) .kpi-foot{grid-column:1 / -1;grid-row:2;font-size:11px;line-height:1.6;color:#6b7b64;margin:0}
 .kpi-grid:not(.prospect-desktop-stats) .kpi:not(:has(.kpi-foot)){min-height:76px;grid-template-rows:auto}
 .surface-head{gap:10px}.surface-head .btn{min-height:40px}.surface-title{font-size:14px}.prospect-cell:first-child{grid-column:1 / -1}.prospect-mobile-phone-group{flex-wrap:nowrap;justify-content:space-between;gap:10px}.prospect-phone{min-height:40px}.prospect-wa-button{width:44px;min-width:44px;min-height:40px}.prospect-cell:nth-child(2){grid-column:1 / -1}.prospect-details{gap:12px}
}
@media(max-width:359px){.kpi-grid:not(.prospect-desktop-stats) .kpi{padding:15px;column-gap:10px}.kpi-grid:not(.prospect-desktop-stats) .kpi-value{font-size:20px}.prospects-mobile-tools{padding:13px}.prospects-mobile-filters{gap:8px}.prospects-mobile-filters .select{font-size:11px;padding-left:8px}.prospect-row{padding:15px}.prospect-name{font-size:14px}.q-stat{font-size:11px}.q-stat strong{font-size:12px}.q-stat.main strong{font-size:18px}}
@media(max-width:430px){.prospects-mobile-filters{grid-template-columns:minmax(0,1fr);gap:10px}.prospects-mobile-filters .prospects-filter{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px}.prospects-mobile-filters .select,.prospects-mobile-filters .prospects-filter .select{font-size:12px}.prospect-wa-button{min-height:44px}}
@media(max-width:767px){.data-table td.reservation-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px;padding-block:12px}.data-table td.reservation-actions::before{flex:0 0 100%;margin-bottom:2px}.reservation-actions .btn{flex:1 1 90px;min-width:0;min-height:44px;margin:0;white-space:normal;line-height:1.4}}

/* Sidebar user account popover menu */
.sidebar-footer{position:relative}
.user-block{cursor:pointer;transition:background .15s ease,border-color .15s ease}
.user-block:hover,.user-block.active{background:#f3f8f1;border-color:#b9d2be}
.user-menu-btn{border:0;background:transparent;display:grid;place-items:center;width:30px;height:30px;border-radius:6px;color:#75856e;cursor:pointer;padding:0;flex-shrink:0;margin-left:auto;transition:.15s}
.user-menu-btn:hover{background:#e7f2e4;color:#00764c}
.user-menu-popover{position:absolute;bottom:calc(100% + 8px);left:12px;right:12px;background:#ffffff;border:1px solid #d5e2d3;border-radius:12px;box-shadow:0 12px 30px rgba(18,38,25,.14);padding:8px;z-index:90;animation:popoverIn .14s cubic-bezier(0.16,1,0.3,1)}
@keyframes popoverIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.user-menu-head{display:flex;align-items:center;gap:10px;padding:8px 10px 10px}
.user-menu-head .avatar{width:32px;height:32px;font-size:11px}
.user-menu-name{display:block;font-size:12.8px;color:#192c25;font-weight:600;line-height:1.3}
.user-menu-meta{display:block;font-size:11px;color:#6d7d6b;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-menu-divider{height:1px;background:#eef4ec;margin:6px 0}
.user-menu-item{width:100%;border:0;background:transparent;color:#2c3e32;padding:9px 11px;border-radius:8px;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:550;text-align:left;cursor:pointer;transition:background .12s,color .12s}
.user-menu-item svg{color:#5c715e;flex-shrink:0}
.user-menu-item:hover{background:#f1f8ee;color:#00764c}
.user-menu-item:hover svg{color:#00764c}
.user-menu-item.text-danger{color:#c93b3b}
.user-menu-item.text-danger svg{color:#c93b3b}
.user-menu-item.text-danger:hover{background:#fdf2f2;color:#b91c1c}
/* Auditoría local: controles táctiles y acciones de prioridad accesibles. */
@media(max-width:767px){.topbar .icon-btn,.topbar .top-account,main button,.demo-banner button{min-height:44px}.topbar .icon-btn,.topbar .top-account,main .icon-btn,.demo-banner button{min-width:44px}.demo-banner{align-items:center}.demo-banner button{flex-shrink:0}}

/* Readable mobile operations: full-width details and stable action placement. */
@media(max-width:767px){
 .more-modal-grid{grid-template-columns:minmax(0,1fr)}
 .more-modal-item{display:flex;gap:12px;padding:12px 14px;min-height:56px}
 .more-modal-item>span:not(.more-modal-icon){flex:1;word-break:normal;overflow-wrap:normal;white-space:normal}
 .more-modal-icon{flex:0 0 32px}
 .more-modal-item>svg{flex-shrink:0}
 .activity{display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:8px 10px;padding:16px}
 .activity .activity-i{grid-column:1;grid-row:1;width:32px;height:32px}
 .activity .activity-body{grid-column:2 / -1;grid-row:2;min-width:0;width:auto}
 .activity .activity-body p{margin:8px 0 0;overflow-wrap:anywhere;line-height:1.65}
 .activity>time{grid-column:2;grid-row:1;align-self:center;text-align:left;white-space:normal;margin:0;font-size:11px}
 .activity>.icon-btn{grid-column:3;grid-row:1;min-height:44px;min-width:44px}
 .rule-row{display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:10px;padding:16px}
 .rule-row .rule-main{grid-column:2 / -1;grid-row:1;min-width:0}
 .rule-row .rule-main p{overflow-wrap:anywhere}
 .rule-row .switch{grid-column:2;justify-self:end}
 .contacts-table,.contacts-table tbody{display:block;width:100%;min-width:0}
 .contacts-table thead{display:none}
 .contacts-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;border-bottom:1px solid #e0e7e2}
 .contacts-table tbody td{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:8px 0;border:0;white-space:normal;overflow-wrap:anywhere;text-align:right}
 .contacts-table tbody td::before{content:attr(data-label);flex:0 0 72px;text-align:left;color:#64766b;font-size:11px}
 .contacts-table tbody td:first-child{font-size:15px;font-weight:600;text-align:left}
 .contacts-table tbody td:first-child::before{display:none}
 .contacts-table tbody td:last-child{justify-content:flex-end}
 .contacts-table tbody td:last-child::before{margin-right:auto}
 .contacts-table a,.contacts-table .linkish{min-width:0;overflow-wrap:anywhere}
}

/* A compact switch track within a 44px touch target. */
.rule-row .switch{position:relative;isolation:isolate;width:52px;min-width:52px;height:44px;min-height:44px;padding:0;flex-shrink:0;border:0;border-radius:8px;background:transparent;align-self:center}
.rule-row .switch::after{content:'';position:absolute;z-index:-1;left:4px;top:10px;width:44px;height:24px;border-radius:999px;background:#bdc9c1;transition:background-color .15s}
.rule-row .switch::before{position:absolute;left:7px;top:13px;width:18px;height:18px;background:#fff;box-shadow:none;transform:none;transition:transform .15s}
.rule-row .switch.on{background:transparent}
.rule-row .switch.on::after{background:#366772}
.rule-row .switch.on::before{transform:translateX(20px)}
.rule-row .switch:hover::after{background:#9daea3}
.rule-row .switch.on:hover::after{background:#006e49}
@media(prefers-reduced-motion:reduce){.rule-row .switch::before,.rule-row .switch::after{transition:none}}

.lot-measurements{margin:12px 0;font-size:12px;color:#52695b}.lot-measurements summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#00764e;font-weight:600}.lot-measurements dl{margin:0}.lot-measurements dl>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}.lot-measurements dd{margin:0}.lot-measurements p{line-height:1.6;overflow-wrap:anywhere}
