/* Ajustes · Órbita. Scoped to settings and relocated canonical editors. */
#v-ajustes{--ink:#34243e;--muted:#756178;--line:#e9d9ee;color:var(--ink)}
#v-ajustes .as-header{position:relative;min-height:150px;align-items:center;margin-bottom:22px;padding:8px 180px 8px 0}
#v-ajustes .as-header h1{font-size:clamp(36px,4vw,50px);letter-spacing:-1.8px;color:#35203f;margin:8px 0 12px}
.as-eyebrow{font-size:11px;font-weight:750;letter-spacing:2.2px;color:#91619d}
#v-ajustes .as-header .sub2{font-size:15px;line-height:1.55;max-width:640px;color:#756178}
.as-motif{position:absolute;right:18px;top:0;width:158px;height:158px;border-radius:44px;background:radial-gradient(at 25% 20%,#ffdadb99,transparent 72%),linear-gradient(140deg,#fcebf633,#cfc0fa66);transform:rotate(9deg);display:grid;place-items:center;pointer-events:none}
.as-motif svg{width:115px;height:115px;stroke:#b375be;opacity:.45;stroke-width:1.35}
#v-ajustes .settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:min-content auto;gap:20px;align-items:start}
#v-ajustes .settings-nav{grid-column:1;grid-row:1 / span 2;padding:14px;border:1px solid #ffffffed;border-radius:25px;background:linear-gradient(140deg,#ffffffdb,#f7edfcbd);position:sticky;top:20px;box-shadow:0 21px 40px -27px #764d9635;display:block;overflow:visible}
.as-nav-title{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#a17cad;padding:10px 12px 16px}
#v-ajustes .as-nav-group{width:100%;display:flex;align-items:center;gap:11px;border:1px solid transparent;border-radius:14px;padding:13px 11px;background:none;color:#765b7f;text-align:left;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer;margin-bottom:5px}
.as-nav-group svg{width:20px;height:20px;flex-shrink:0}
#v-ajustes .as-nav-group.active{color:white;background:linear-gradient(115deg,#bd3e8f,#8d4bb9 75%);border-color:#c16bb5;box-shadow:inset 0 1px #ffffff6b,0 8px 18px -12px #9048a5}
.as-nav-foot{font-size:11px;line-height:1.6;color:#927b99;padding:18px 10px 9px;border-top:1px solid #ffffffbc;margin-top:12px}
#v-ajustes .settings-content{min-width:0;grid-column:2;width:auto}
.as-subnav{grid-column:2;display:flex;gap:7px;flex-wrap:wrap;padding:8px;border:1px solid #fff;border-radius:18px;background:#ffffff8c}
.as-subnav button{font:inherit;font-size:12px;color:#785784;border:0;padding:11px 15px;background:none;border-radius:12px;cursor:pointer}
.as-subnav button.active{background:white;box-shadow:0 5px 13px -8px #764d9699;font-weight:750}
#v-ajustes [hidden],.as-relocated[hidden]{display:none!important}
#v-ajustes .settings-nav-mobile-hint{display:none}
#v-ajustes .card,.as-relocated .card{border:1px solid #ffffffed;border-radius:25px;padding:25px;background:linear-gradient(125deg,#ffffffed,#fcf6ffdf);box-shadow:inset 0 1px #fff,0 21px 40px -27px #764d9635;margin-bottom:18px;min-width:0;animation:none;opacity:1}
#v-ajustes .card h3,.as-relocated h3{font-size:19px;letter-spacing:-.5px;color:#56355f}
#v-ajustes .card .sub,.as-relocated .sub{font-size:13px;line-height:1.6;color:#756178}
#v-ajustes .btn,.as-relocated .btn{background:linear-gradient(125deg,#fff,#fcf5fd);border:1px solid #e9d9ee;color:#765082;border-radius:12px;font-size:12px;padding:11px 15px;box-shadow:0 8px 17px -15px #9854ad;cursor:pointer}
#v-ajustes .btn.prim,.as-relocated .btn.prim{background:linear-gradient(110deg,#c93672,#b53aa1 46%,#7846c9);color:#fff;border-color:#b44b9d;box-shadow:inset 0 1px #ffffff5e}
#v-ajustes input:not([type=checkbox]):not([type=radio]),#v-ajustes select,#v-ajustes textarea,.as-relocated input:not([type=checkbox]):not([type=radio]),.as-relocated select,.as-relocated textarea{border:1px solid #e9d9ee;border-radius:12px;background:#ffffffc9;color:#63466d;padding:10px;max-width:100%;font-size:13px}
#v-ajustes .field label,.as-relocated .field label{font-size:12px;color:#6c5177}
.as-context{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 20px;margin-bottom:17px;border:1px solid #fff;border-radius:18px;background:linear-gradient(125deg,#fbf7ffdc,#ede2fbad);color:#72597d;font-size:12px;line-height:1.65}
.as-context p{margin:0;flex:1}.as-context .btn{flex-shrink:0}
.as-context a.btn{text-decoration:none;display:inline-block}
#v-ajustes button:disabled,.as-relocated button:disabled{opacity:.45;cursor:not-allowed}
.as-overview{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-bottom:20px}
.as-feature{padding:30px;border:1px solid #ffffffae;border-radius:28px;color:#fff;background:radial-gradient(at 100% 0,#d89fc240,transparent 65%),linear-gradient(125deg,#382341,#4a2959 48%,#684475);box-shadow:0 21px 40px -27px #764d96}
.as-feature>span{font-size:9px;letter-spacing:1.8px;color:#dac4df;font-weight:700}
.as-feature h2{font-size:28px;letter-spacing:-1px;line-height:1.15;color:#fff;margin:17px 0}
.as-feature p{font-size:12px;line-height:1.65;color:#e5d4ec;max-width:340px}
#v-ajustes .as-feature .btn{margin-top:12px;color:white;background:#ffffff15;border-color:#ffffff48}
.as-guide{padding:27px 24px;border:1px solid #fff;border-radius:28px;background:linear-gradient(128deg,#fbfaff,#ece3fb 68%,#e5d5f8)}
.as-guide h2{font-size:21px;letter-spacing:-.6px;color:#573264;line-height:1.25;margin:14px 0 10px}
.as-guide p{font-size:12px;line-height:1.6;color:#82678d}
.as-search{display:flex;gap:8px;align-items:center;padding:6px;background:#ffffffb3;border:1px solid #fff;border-radius:15px;margin-top:22px}
.as-search svg{width:19px;height:19px;color:#aa84b2;margin-left:6px}
#v-ajustes .as-search input{border:0;background:transparent;min-width:0;width:100%;padding:10px 4px}
.as-results button{width:100%;background:#ffffffc9;border:1px solid #fff;border-radius:10px;padding:10px;text-align:left;color:#64466e;cursor:pointer;margin-top:6px}
.as-results small{display:block;color:#9678a0;margin-top:3px}
.as-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.as-category{position:relative;min-height:152px;padding:22px;text-align:left;border:1px solid #fff;border-radius:24px;background:linear-gradient(130deg,#fffdfb,#f7edfbe6);box-shadow:0 18px 35px -24px #a268a82e;cursor:pointer;color:#704878}
.as-category:nth-child(3n+2){background:linear-gradient(128deg,#fffafd,#fbe8f4 92%)}
.as-category:nth-child(3n){background:linear-gradient(128deg,#fbfaff,#ece3fb)}
.as-icon{width:35px;height:35px;display:grid;place-items:center;background:#ffffffb3;border:1px solid #fff;border-radius:12px;margin-bottom:14px;color:#a771b1}
.as-icon svg{width:20px;height:20px}
.as-category strong{display:block;font-size:15px;margin-bottom:7px}
.as-category>span:not(.as-icon){font-size:11px;line-height:1.55;color:#92779b;display:block}
.as-category b{position:absolute;top:25px;right:23px;color:#a67ab6;font-size:19px;font-weight:400}
.as-peer-title{margin:30px 0 14px}.as-peer-title h2{font-size:19px;color:#64436e;margin-bottom:5px}.as-peer-title p{font-size:12px;color:#967f9e;margin:0}
.as-peer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.as-peer{border:1px solid #fff;background:#ffffffa6;border-radius:17px;padding:16px;text-align:left;color:#795285;cursor:pointer}
.as-peer strong,.as-peer span{display:block}.as-peer span{font-size:11px;line-height:1.5;margin-top:8px;color:#9a809f}
.as-fold,.as-relocated{border:1px solid #fff;border-radius:20px;background:#ffffff94;margin:18px 0;padding:0;overflow:hidden;color:#65466f}
.as-relocated{scroll-margin-top:20px}.as-fold>summary,.as-relocated>summary{font-size:14px;font-weight:700;padding:20px 24px;cursor:pointer;background:linear-gradient(125deg,#fcf9ff,#efe3f9b3)}
.as-relocated>.as-context,.as-relocated>.card,.as-relocated-body,.as-fold>.card{margin:16px}
.as-fields{border:0;margin:0;padding:0;min-width:0}.as-fields:disabled{opacity:.7}.as-fields:disabled::before{content:"Acceso de consulta. Necesitas autorización de edición para modificar estos ajustes.";display:block;color:#8a6678;font-size:12px;margin-bottom:15px}
#v-ajustes :is(button,input,select,textarea):focus-visible,.as-relocated :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #aa68c3;outline-offset:3px}
#v-ajustes pre,#v-ajustes code{white-space:pre-wrap;overflow-wrap:anywhere}
.as-panel-header{padding:8px 4px 22px;color:#674671}
.as-panel-header h2{font-size:clamp(25px,2.5vw,32px);letter-spacing:-1px;line-height:1.15;margin:12px 0 9px;color:#493052}
.as-panel-header p{font-size:14px;line-height:1.6;margin:0 0 15px;max-width:720px;color:#795f82}
.as-used{font-size:11px;line-height:1.6;color:#785784;display:inline-block;background:#f4eafbcc;border:1px solid #fff;border-radius:10px;padding:8px 11px}
.as-used>span{font-weight:750;margin-right:7px;color:#62406e}
#v-ajustes.as-detail-view .as-header{min-height:112px;margin-bottom:18px}
#v-ajustes.as-detail-view .as-header h1{font-size:38px;margin:7px 0}
#v-ajustes.as-detail-view .as-motif{height:116px;width:125px;border-radius:33px}
#v-ajustes.as-detail-view .as-motif svg{width:88px;height:88px}
#v-ajustes .field,.as-relocated .field{min-width:0}
#v-ajustes .field>small,.as-relocated .field>small{display:block;font-size:12px;line-height:1.55;color:#886e91;margin-top:7px}
#v-ajustes .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.as-relocated .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;min-height:42px}
#v-ajustes input[readonly],.as-relocated input[readonly]{background:#efe7f3;color:#84678d;border-style:dashed}
#v-ajustes .row2,.as-relocated .row2{gap:17px}
.as-advanced-body{padding:20px}.as-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:15px}
.as-relocated [hidden]{display:none!important}
#v-embudo.funnel-builder-active:not(.aura-setter-open)>#as-setter:not([hidden]){display:block!important}
.as-relocated .wa-ai-v1-lower{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
.as-relocated .as-fold{margin:16px}
.as-relocated .as-context{overflow-wrap:anywhere}
#v-ajustes .as-subnav [data-as-reload]{margin-left:auto;border-left:1px solid #e4d3eb;border-radius:0 12px 12px 0;font-size:11px}
#v-ajustes .card a,.as-relocated a{color:#815097;text-underline-offset:3px}
#v-ajustes .card [style*="grid-template-columns"],.as-relocated [style*="grid-template-columns"]{min-width:0}
#srList img{max-width:100%;border-radius:15px}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv){backdrop-filter:blur(8px);background:#35203f80!important}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv)>:is(div,section){background:linear-gradient(135deg,#fffdfb,#f9edfd)!important;border:1px solid #ffffffed!important;border-radius:25px!important;box-shadow:0 25px 90px #35203f55!important;color:#53335e}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv) :is(input,select,textarea){border:1px solid #dfcbe8!important;border-radius:11px!important;min-width:0;color:#63446e;background:#fff;max-width:100%}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv) .btn{border:1px solid #dec9e7;border-radius:12px;background:linear-gradient(120deg,#fff,#f5eafa);color:#755081;padding:10px 14px}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv) .btn.prim{background:linear-gradient(115deg,#bd3e8f,#8d4bb9);border-color:#bc73bb;color:white}
:is(#cnOverlay,#coOverlay,#auraTreatmentEditor,#impOverlay,#fiscOv) :focus-visible{outline:3px solid #aa68c3;outline-offset:2px}
@media(max-width:1100px){#v-ajustes .settings-layout{grid-template-columns:185px minmax(0,1fr);gap:14px}.as-overview{grid-template-columns:1fr}.as-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-peer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-context{align-items:flex-start;flex-direction:column}.as-guide{padding:22px}.as-search{margin-top:14px}}
@media(max-width:760px){#v-ajustes .as-header{min-height:130px;padding-right:110px}.as-motif{width:90px;height:100px;right:0;top:15px;border-radius:28px}.as-motif svg{width:80px;height:80px}#v-ajustes .as-header h1{font-size:36px}#v-ajustes .as-header .sub2{font-size:12px}#v-ajustes .settings-layout{display:block}#v-ajustes .settings-nav{position:static;display:flex;overflow:auto;gap:6px;padding:8px;margin-bottom:14px;border-radius:17px}#v-ajustes .as-nav-group{width:auto;flex:0 0 auto;padding:11px;font-size:11px;margin:0}.as-nav-group svg{width:17px;height:17px}.as-nav-title,.as-nav-foot{display:none}.as-subnav{margin-bottom:14px}.as-grid{gap:10px}.as-category{padding:17px;min-height:148px}.as-category strong{font-size:13px}.as-category>span:not(.as-icon){font-size:10px}.as-feature{padding:25px}.as-feature h2{font-size:27px}.as-peer{padding:14px}#v-ajustes .card,.as-relocated .card{padding:18px}.as-relocated .row2,#v-ajustes .row2{grid-template-columns:1fr}.as-relocated input,.as-relocated textarea,.as-relocated select{width:100%}.as-relocated input[type=checkbox]{width:auto}#schRows>div{flex-wrap:wrap}#wa360Metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.as-relocated [style*="minmax(185px"]{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#v-ajustes *, .as-relocated *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){#v-ajustes.as-detail-view .as-header{min-height:110px}#v-ajustes.as-detail-view .as-motif{width:85px;height:88px}.as-panel-header{padding-top:8px}.as-panel-header p{font-size:13px}.as-used{font-size:10px}.as-relocated .wa-ai-v1-lower{grid-template-columns:1fr!important}#v-ajustes .as-subnav [data-as-reload]{margin-left:0}.as-relocated .as-fold{margin:10px}.as-context .btn{white-space:normal;text-align:left;max-width:100%}#v-ajustes #schRows select{max-width:100px}#v-ajustes #schRows input[type=checkbox]{width:auto}}
/* Configuration is a work surface: compact hierarchy, one page scroll, full touch targets. */
body.aura-density #v-ajustes.as-detail-view .as-header,#v-ajustes.as-detail-view .as-header{min-height:74px;padding:0 100px 4px 0;margin-bottom:14px}
body.aura-density #v-ajustes.as-detail-view .as-header h1,#v-ajustes.as-detail-view .as-header h1{font-size:30px;margin:3px 0 5px}
#v-ajustes.as-detail-view .as-header .as-eyebrow{display:none}
#v-ajustes.as-detail-view .as-motif{width:82px;height:78px;border-radius:23px;right:4px;top:0}
#v-ajustes.as-detail-view .as-motif svg{width:60px;height:60px}
#v-ajustes .settings-content .as-panel-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 14px;padding:2px 2px 14px}
#v-ajustes .settings-content .as-panel-header h2{font-size:clamp(23px,2.2vw,29px);margin:0 0 6px}
#v-ajustes .settings-content .as-panel-header p{font-size:13px;line-height:1.5;margin:0 0 8px;max-width:780px}
#v-ajustes .as-used{padding:0;border:0;border-radius:0;background:none;font-size:11px}
#v-ajustes .as-panel-actions{display:flex;align-items:center;gap:8px}
#v-ajustes .as-panel-actions .btn{white-space:nowrap;min-height:44px}
#v-ajustes .as-load-status{grid-column:1/-1;font-size:12px;line-height:1.5;padding:10px 12px;border:1px solid #e9d9ee;border-radius:12px;background:#fff9ef;color:#81551b;display:flex;gap:12px;align-items:center;justify-content:space-between}
#v-ajustes .as-load-status[data-phase=loading]{background:#f8f0fd;color:#756178}
#v-ajustes .as-load-status .btn{flex-shrink:0}
#v-ajustes .as-catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
#v-ajustes .as-catalog-tools .field{flex:1;max-width:480px;margin:0}
#v-ajustes #tcCount{font-size:12px;color:#756178;white-space:nowrap}
#v-ajustes .as-catalog-empty{padding:18px;background:linear-gradient(120deg,#faf3ff,#fff4f6);border:1px solid #f0def5;border-radius:17px;color:#624b6a}
#v-ajustes .as-catalog-empty p{font-size:13px;line-height:1.55;margin:7px 0 12px}
#v-ajustes #tcMsg:not(:empty){display:block;padding:10px 0}
#v-ajustes .as-treatment-library>summary span{display:block;font-weight:400;font-size:12px;color:#756178;margin:5px 0 0 18px}
#v-ajustes #asTreatmentLibrary .ats-list{max-height:none;overflow:visible}
#v-ajustes #asTreatmentLibrary .aura-treatment-starters{margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#v-ajustes #asTreatmentLibrary .ats-list>article{box-shadow:none}
#v-ajustes .as-fold>summary{padding:15px 18px;min-height:44px}
#v-ajustes :is(summary,a[role=button]):focus-visible{outline:3px solid #aa68c3;outline-offset:3px}
#v-ajustes .tc-catalog-row .vac-del{min-height:44px;padding:8px 10px;font-size:12px;border-radius:10px}
#v-ajustes .tc-catalog-row .vac-del:hover{background:#f3e8fa}
#v-ajustes .as-schedule-options{align-items:start;margin-top:16px!important}
#v-ajustes #schRows .sch-row{padding:10px 0;min-height:60px}
#v-ajustes #schRows :is(select,button){min-height:44px}
#v-ajustes #schRows .sch-deltramo{min-width:44px;min-height:44px}
@media(min-width:1101px){#v-ajustes .as-context{gap:12px}#v-ajustes .as-context p{line-height:1.5}}
@media(max-width:760px){body.aura-density #v-ajustes.as-detail-view .as-header,#v-ajustes.as-detail-view .as-header{min-height:70px;padding-right:75px}#v-ajustes.as-detail-view .as-motif{width:62px;height:64px}#v-ajustes.as-detail-view .as-motif svg{width:49px;height:49px}#v-ajustes .settings-content .as-panel-header{gap:8px}#v-ajustes .settings-content .as-panel-header h2{font-size:23px}#v-ajustes .as-panel-actions .btn{font-size:11px;padding:8px 10px}#v-ajustes .as-load-status{align-items:flex-start;flex-direction:column}#v-ajustes .as-catalog-tools{align-items:stretch;flex-direction:column;gap:6px}#v-ajustes .as-catalog-tools .field{max-width:none}#v-ajustes .as-used{font-size:10px}#v-ajustes .tc-catalog-row>div{min-width:0!important}#v-ajustes .tc-catalog-row>div:last-child{width:100%}#v-ajustes #schRows .sch-row{gap:8px}#v-ajustes #schRows .sch-times{flex-wrap:wrap}}
