/* QueTramito | Concepto 1 — diseño completo de todo el sitio.
   Se añade después de site.css; los contenidos, enlaces y lógica se mantienen. */
:root{
  --qt2-navy:#0e2a47;
  --qt2-navy-2:#163854;
  --qt2-mint:#55c2a3;
  --qt2-mint-strong:#1f8b73;
  --qt2-mint-soft:#ebf8f3;
  --qt2-mint-soft-2:#dff4eb;
  --qt2-ink:#10243e;
  --qt2-muted:#5d7288;
  --qt2-line:#dbe6ed;
  --qt2-wash:#f4f8fb;
  --qt2-shadow:0 12px 34px rgba(14,42,71,.05);
  --qt2-strong-shadow:0 18px 50px rgba(14,42,71,.09);
}
.qt-unified{background:var(--qt2-wash);color:var(--qt2-ink)}
.qt-unified .qt2-svg{display:block;flex:none}
.qt-unified .btn-primary{background:var(--qt2-navy);border-color:transparent;color:white}
.qt-unified .btn-primary:hover{background:var(--qt2-navy-2);color:white}
.qt-unified .btn-secondary{border-color:#d2e0e9;background:#fff}
.qt-unified .btn-secondary:hover{border-color:var(--qt2-mint);background:#f7fbfc;color:var(--qt2-navy)}
.qt-unified .site-header{border-bottom-color:#e4edf2;background:rgba(255,255,255,.965)}
.qt-unified .nav a{position:relative;display:inline-flex;align-items:center;min-height:42px;padding:0 2px;transition:color .18s}
.qt-unified .nav a[aria-current=page]{color:var(--qt2-navy);font-weight:760}
.qt-unified .nav a[aria-current=page]::after{content:"";position:absolute;bottom:2px;left:2px;right:2px;height:3px;border-radius:8px;background:var(--qt2-mint)}
.qt-unified .nav a:hover{color:var(--qt2-mint-strong)}
.qt-unified .nav-actions .btn-primary{background:var(--qt2-navy)}
.qt-unified .nav-actions .btn-primary:hover{background:var(--qt2-navy-2)}
.qt-unified :is(.card,.article,.source-list,.faq,.situation-list,.next-step,.planner-panel,.route-card){border-color:var(--qt2-line)}
.qt-unified :is(.card,.article,.faq,.source-list,.route-card){box-shadow:var(--qt2-shadow)}
.qt-unified .section-alt{background:#eef6f8;border-color:#e4ecef}
.qt-unified .section h2{letter-spacing:-.035em}

/* Páginas interiores: cabecera app, icono de sección y buscador real. */
.qt-unified:not(.qt-home) .page-hero{position:relative;isolation:isolate;overflow:hidden;padding:48px 0 47px;background:radial-gradient(ellipse 600px 280px at 90% 3%,rgba(85,194,163,.14),transparent 72%),linear-gradient(180deg,#fff 0%,#f4f8fb 100%);border-bottom:1px solid #e6eff3}
.qt-unified:not(.qt-home) .page-hero::after{content:"";position:absolute;right:-210px;top:-260px;z-index:-1;width:610px;height:610px;border:1px solid rgba(69,157,173,.075);border-radius:50%;box-shadow:0 0 0 40px rgba(226,247,242,.1),0 0 0 100px rgba(230,246,251,.1)}
.qt-unified:not(.qt-home) .page-hero>.container{position:relative;z-index:1;isolation:isolate}
.qt-unified .breadcrumbs{margin:0 0 20px;color:#75869b;font-size:.86rem;gap:10px}
.qt-unified .breadcrumbs a{color:#667d91;font-weight:600;text-decoration:none}
.qt-unified .breadcrumbs a:hover{color:#149778;text-decoration:underline}
.qt-unified .page-hero .eyebrow{display:inline-flex;margin:0 0 12px;padding:5px 11px;border-radius:100px;background:#eef4f7;color:#60778c;font-size:.72rem;letter-spacing:.025em;font-weight:700;text-transform:none}
.qt-unified .page-hero .qt2-eyebrow+.eyebrow{margin-top:13px}
.qt2-eyebrow{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:0 0 15px;padding:5px 11px 5px 5px;border:1px solid #dbeee7;border-radius:999px;background:rgba(239,250,246,.96);color:#137a64;font-size:.78rem;font-weight:750;line-height:1.2}
.qt2-eyebrow-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#d7f2e6;color:#188a70}
.qt2-eyebrow-icon svg{width:16px;height:16px}
.qt2-eyebrow-dot{width:4px;height:4px;border-radius:50%;background:#81bfae}
.qt2-eyebrow-sub{color:#627c85;font-weight:580}
.qt-unified:not(.qt-home) .page-hero h1{position:relative;z-index:2;max-width:980px;font-size:clamp(2.18rem,4.15vw,3.6rem);line-height:1.13;letter-spacing:-.045em;font-weight:780;overflow-wrap:anywhere;text-wrap:balance}
.qt-unified:not(.qt-home) .page-hero .lead{position:relative;z-index:2;max-width:835px;margin:16px 0 0;color:#516b83;font-size:clamp(1rem,1.23vw,1.1rem);line-height:1.6}
.qt2-hero-emblem{position:absolute;z-index:-1;right:3%;top:23px;width:200px;height:185px;opacity:.64;pointer-events:none}
.qt2-hero-emblem>span{position:absolute;right:28px;top:13px;display:grid;place-items:center;width:128px;height:128px;border:1px solid #d2e8e9;border-radius:33px;background:linear-gradient(140deg,#eff9fc,#e4f6f0);color:#39a68e;transform:rotate(-10deg);box-shadow:0 22px 38px rgba(20,60,75,.042)}
.qt2-hero-emblem svg{width:62px;height:62px;stroke-width:1.35;transform:rotate(10deg)}
.qt2-hero-emblem i{position:absolute;left:17px;bottom:14px;width:35px;height:35px;border-radius:11px;background:#e9f3fc;transform:rotate(13deg)}
.qt2-hero-emblem b{position:absolute;right:2px;bottom:17px;width:51px;height:51px;border-radius:50%;background:#d9f4ea}
.qt-directory .page-hero h1,.qt-routes .page-hero h1,.qt-info .page-hero h1{max-width:730px!important}
.qt-directory .page-hero .lead{max-width:745px!important}
.qt2-directory-tools{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:25px}
.qt2-directory-search{display:flex;align-items:center;gap:11px;min-width:270px;max-width:680px;flex:1 1 450px;min-height:59px;padding:6px 7px 6px 18px;border:1px solid #d9e6ec;border-radius:15px;background:white;box-shadow:0 6px 18px rgba(14,42,71,.065)}
.qt2-directory-search>.qt2-svg{width:21px;height:21px;color:#607891}
.qt2-directory-search input{flex:1;min-width:0;min-height:42px;border:0;outline:0;background:transparent;color:#142b45;font-size:.99rem}
.qt2-directory-search input::placeholder{color:#8797a8}
.qt2-directory-search:focus-within{border-color:#39b89d;box-shadow:0 0 0 4px rgba(85,194,163,.18)}
.qt2-directory-search button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:8px 19px;border:0;border-radius:10px;background:var(--qt2-navy);color:#fff;font-size:.92rem;font-weight:740}
.qt2-directory-search button:hover{background:var(--qt2-navy-2)}
.qt2-directory-search button svg{width:16px;height:16px}
.qt2-new-route{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:9px 18px;border:1px solid #cfe8df;border-radius:14px;background:#ebf8f3;color:var(--qt2-navy);font-size:.91rem;font-weight:750;white-space:nowrap;text-decoration:none}
.qt2-new-route:hover{border-color:var(--qt2-mint);background:#dff4eb}
.qt2-new-route svg{width:20px;height:20px}
.qt2-detail-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px 23px;position:relative;z-index:2;margin-top:21px}
.qt2-detail-tools>a{display:inline-flex;align-items:center;gap:9px;min-height:41px;padding:8px 13px;border:1px solid #d6e8eb;border-radius:11px;background:rgba(255,255,255,.9);color:var(--qt2-navy);font-size:.88rem;font-weight:740;text-decoration:none}
.qt2-detail-tools>a:hover{border-color:var(--qt2-mint);background:#f2fbf7}
.qt2-detail-tools>a svg{width:16px;height:16px;transform:rotate(180deg)}
.qt2-detail-tools>span{display:inline-flex;align-items:center;gap:8px;color:#617d8a;font-size:.82rem;font-weight:600}
.qt2-detail-tools>span svg{width:17px;height:17px;color:var(--qt2-mint-strong)}
.qt2-route-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:25px}
.qt2-route-top-actions>.btn{display:inline-flex;align-items:center;gap:10px}
.qt2-route-top-actions svg{width:18px;height:18px}
.qt2-route-top-actions>span{display:inline-flex;align-items:center;gap:7px;color:#587487;font-size:.84rem}
.qt2-route-top-actions>span svg{color:var(--qt2-mint-strong)}

/* Listados y categorías: tarjetas independientes de dos columnas */
.qt-directory .section{padding:38px 0 71px;background:var(--qt2-wash)}
.qt-directory .section>.narrow,.qt-detail .section>.narrow:has(>.situation-list){width:min(calc(100% - (var(--gutter)*2)),1160px)}
.qt-directory .section>.narrow>h2:not(.visually-hidden),.qt-detail .section>.narrow>h2:not(.visually-hidden){margin:30px 0 13px;font-size:clamp(1.25rem,1.95vw,1.65rem);letter-spacing:-.033em}
.qt-directory .section>.narrow>h2:not(.visually-hidden):first-child{margin-top:6px}
.qt-directory .section>.narrow>.small.muted{display:inline-block;margin:0 5px 17px 0;color:#708497;font-size:.86rem}
.qt-directory .section>.narrow>.small.muted:nth-of-type(1){font-weight:760;color:#267e70}
.qt-directory .situation-list,.qt-detail .section .situation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.qt-unified .situation-list>.situation-row{min-width:0;display:grid;grid-template-columns:53px minmax(0,1fr) 34px;align-items:center;column-gap:16px;min-height:132px;padding:18px 17px;border:1px solid #e1eaf0;border-radius:16px;background:#fff;color:#13243c;box-shadow:0 5px 17px rgba(14,42,71,.026);text-decoration:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.qt-directory .situation-list>.situation-row:hover,.qt-detail .situation-list>.situation-row:hover{transform:translateY(-2px);border-color:#aadfce;box-shadow:0 12px 30px rgba(14,42,71,.075);background:white}
.qt-unified .situation-list>.situation-row>div{min-width:0}
.qt-unified .situation-row h2,.qt-unified .situation-row h3{margin:0 0 5px;font-size:1.02rem;line-height:1.33;font-weight:750;letter-spacing:-.019em;overflow-wrap:anywhere}
.qt-unified .situation-row p{margin:0;color:#657b8e;font-size:.89rem;line-height:1.5}
.qt2-row-icon{display:grid;place-items:center;flex:none;width:53px;height:53px;border-radius:14px;background:#dff5ec;color:#168b76}
.qt2-row-icon svg{width:27px;height:27px;stroke-width:1.8}
.qt2-shade-0{background:#e2f6ee;color:#18866d}
.qt2-shade-1{background:#e8eff7;color:#335676}
.qt2-shade-2{background:#eef8f4;color:#1f8b73}
.qt2-shade-3{background:#f1f5fa;color:#47627a}
.qt-unified .situation-arrow{grid-column:3;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f2f7f9;color:#45627b;font-size:1.16rem;font-weight:700;line-height:1}
.qt-unified .situation-row:hover .situation-arrow{background:#dff4eb;color:var(--qt2-navy)}
.qt-unified .pagination{grid-template-columns:1fr 1fr;gap:12px;margin-top:30px;padding-top:0;border:0}
.qt-unified .pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 19px;border:1px solid #dae6ed;border-radius:12px;background:#fff;color:#2b5975;font-size:.89rem;font-weight:710;text-decoration:none;box-shadow:0 4px 14px rgba(14,42,71,.026)}
.qt-unified .pagination a:first-child{grid-column:1;justify-self:start}
.qt-unified .pagination a:last-child:not(:first-child){grid-column:2;justify-self:end}
.qt-unified .pagination a:only-child{grid-column:auto}
.qt-unified .pagination a:hover{border-color:#55c2a3;background:#edfaf5;color:#157960}
.qt-unified .source-list,.qt-unified .qt2-sources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;border-radius:0;background:transparent;box-shadow:none}
.qt-unified .source-item{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:13px;align-content:start;align-items:start;padding:18px;border:1px solid #e2ebf1;border-radius:16px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt-unified .source-item .qt2-source-symbol{width:47px;height:47px;grid-row:1/5;border-radius:13px}
.qt-unified .source-item .qt2-source-symbol svg{width:23px;height:23px}
.qt-unified .source-item .eyebrow{margin:0 0 7px;font-size:.70rem;letter-spacing:.035em;color:#1b9477;grid-column:2}
.qt-unified .source-item h2{grid-column:2;margin:0 0 8px;font-size:1.01rem;line-height:1.45;font-weight:740}
.qt-unified .source-item h2 a{text-decoration:none;color:#1b3450}
.qt-unified .source-item h2 a:hover{color:#169275;text-decoration:underline}
.qt-unified .source-item .small{grid-column:2;color:#728598;font-size:.79rem}
.qt-unified .source-item:last-child{border-bottom:1px solid #e2ebf1}

/* Fichas, artículos y situaciones: contenido legible, componentes tipo app */
.qt-detail main>.section{padding:36px 0 56px}
.qt-detail main>.section.section-alt{padding:49px 0}
.qt-detail .section>.narrow:has(.article){width:min(calc(100% - var(--gutter)*2),1040px)}
.qt-detail .article{max-width:940px;padding:clamp(27px,4vw,48px);border:1px solid #e0e9f0;border-radius:21px;background:#fff;box-shadow:var(--qt2-shadow);font-size:1.035rem;line-height:1.78}
.qt-detail .article>p:first-child{font-size:1.095rem;color:#364d62}
.qt-detail .article h2{position:relative;margin-top:1.55em;margin-bottom:.85em;padding-top:1.36em;border-top:1px solid #e9eff3;font-size:clamp(1.3rem,2vw,1.75rem);letter-spacing:-.03em;color:#0e2a47}
.qt-detail .article h2:first-child{margin-top:0;padding-top:0;border-top:0}
.qt-detail .article h2::before{content:"";position:absolute;top:-2px;left:0;width:48px;height:3px;border-radius:4px;background:#56c3a4}
.qt-detail .article h2:first-child::before{display:none}
.qt-detail .article h3{font-size:1.15rem;letter-spacing:-.015em;color:#183752}
.qt-detail .article li{padding-left:5px}
.qt-detail .article li::marker{color:#259f83;font-weight:700}
.qt-detail .article :is(p,li){overflow-wrap:break-word}
.qt-detail .article a{color:#147964;text-decoration-color:#8ed6c0;text-underline-offset:3px;font-weight:630}
.qt-detail .article a:hover{color:#0b5645;text-decoration-color:#218d75}
.qt-detail .article blockquote{margin:25px 0;padding:18px 23px;border-left:4px solid #47b89a;border-radius:0 13px 13px 0;background:#f0faf6;color:#315266}
.qt-detail .article .callout{border:1px solid #cce7de;border-left:4px solid #30a98b;background:#f5fcf9;border-radius:13px;box-shadow:none}
.qt-detail .card{padding:26px;border:1px solid var(--qt2-line);border-radius:19px;background:white;box-shadow:var(--qt2-shadow)}
.qt-detail .grid-2,.qt-detail .grid-3{gap:16px}
.qt-detail .card>h2:first-child,.qt-detail .card>h3:first-child{display:flex;align-items:center;gap:11px;margin-bottom:15px;font-size:1.16rem;line-height:1.35}
.qt2-heading-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px}
.qt2-heading-icon svg{width:21px;height:21px}
.qt-detail .step-item{padding:17px 2px}
.qt-detail .step-item::before{background:#e4f6ef;color:#178b72;border:0;font-size:.82rem}
.qt-detail .faq{overflow:hidden;border:1px solid #e1eaf0;border-radius:15px;background:#fff;box-shadow:0 5px 20px rgba(14,42,71,.035)}
.qt-detail .faq summary{font-size:1rem;color:#1a3550;line-height:1.5}
.qt-detail .faq[open]{border-color:#b9e6d7;background:#fbfefc}
.qt-detail .faq[open] summary{color:#187b67}
.qt-detail .table-wrap{border-radius:12px}
.qt-detail .table-wrap table{margin:4px 0 20px;min-width:560px}
.qt-detail .table-wrap th{background:#eaf7f2;color:#0e4e42}
.qt-detail .page-hero .hero-actions{position:relative;z-index:2;max-width:920px}
.qt-detail .hero-actions .btn-primary{background:#23a388}
.qt-detail .hero-actions .btn-primary:hover{background:#157861}

/* Mis rutas: dashboard personal real (sin registro y sin datos simulados) */
.qt-routes .section{padding-top:27px}
.qt-routes .section>[data-routes]{max-width:1130px}
.qt-routes .route-tools{padding:18px 20px;border:1px solid #e2ebf1;border-radius:16px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt-routes .route-tools .btn{min-height:44px}
.qt-routes .route-list{gap:13px}
.qt-routes .route-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:16px;align-items:center;margin:0;padding:22px;border:1px solid #e0eaf0;border-radius:17px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt-routes .route-card:first-child{border-top:1px solid #e0eaf0}
.qt-routes .route-card>div:nth-child(2){min-width:0}
.qt2-route-icon{display:grid;place-items:center;width:51px;height:51px;align-self:start;border-radius:14px;background:#e7f1f8;color:var(--qt2-navy)}
.qt2-route-icon svg{width:27px;height:27px}
.qt-routes .route-card:nth-child(4n+2) .qt2-route-icon{background:#e2f6ee;color:var(--qt2-mint-strong)}
.qt-routes .route-card:nth-child(4n+3) .qt2-route-icon{background:#eef3f8;color:#37536d}
.qt-routes .route-card:nth-child(4n+4) .qt2-route-icon{background:#dff4eb;color:var(--qt2-mint-strong)}
.qt-routes .route-card h3{margin:0 0 5px;font-size:1.15rem}
.qt-routes .route-card .eyebrow{display:inline-block;margin:0 0 6px;padding:3px 9px;border-radius:50px;background:#ebf8f3;color:var(--qt2-navy);font-size:.7rem;letter-spacing:0;font-weight:720;text-transform:none}
.qt-routes .route-card .muted{font-size:.84rem;line-height:1.5}
.qt-routes .route-card .button-row{display:grid;grid-template-columns:1fr;min-width:116px;margin:0}
.qt-routes .route-card .btn{min-height:42px;padding:7px 15px}
.qt-routes .route-card .btn-ghost{border:1px solid #e5edf1;background:#f8fafc}
.qt2-route-progress{max-width:570px;margin-top:13px}
.qt2-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#60768a;font-size:.83rem}
.qt2-progress-top strong{color:var(--qt2-navy)}
.qt2-progress-track{width:100%;height:7px;overflow:hidden;border-radius:80px;background:#e9eef3}
.qt2-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--qt2-mint-strong),var(--qt2-mint))}
.qt-routes .empty-state{padding:54px 30px;border:1px solid var(--qt2-line);border-radius:21px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt-routes .empty-state::before{content:"✓";display:grid;place-items:center;width:60px;height:60px;margin:0 auto 19px;border-radius:20px;background:#ebf8f3;color:var(--qt2-navy);font-size:1.65rem;font-weight:760}
.qt-routes .empty-state h2{font-size:1.55rem}
.qt-routes .empty-state p{max-width:460px}
.qt-routes .empty-state .btn{background:var(--qt2-navy)}

/* Planificador completo: escritorio en dos columnas, teléfono centrado en la tarea. */
.qt-planner{background:linear-gradient(180deg,#f3f8fa,#f8fbfc)}
.qt-planner .app-header{border-bottom:1px solid #e1edf0;background:rgba(255,255,255,.98)}
.qt-planner .app-header-inner{display:flex;gap:13px;max-width:1230px;width:calc(100% - 52px);height:70px}
.qt-planner .app-header .brand{flex:none}
.qt-planner .app-header .brand img{width:39px}
.qt2-app-wordmark{color:#112a48;font-size:1.04rem;font-weight:790;letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.qt-planner .app-context{margin:0 0 0 34px;color:#1e8d75;font-size:.91rem;font-weight:710}
.qt-planner .app-exit{margin-left:auto;font-size:.9rem;color:#4a657d;text-decoration:none}
.qt-planner .app-exit:hover{color:#16876d}
.qt2-app-back{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 12px;border:1px solid #e0e9ef;border-radius:10px;color:#61788b;text-decoration:none;font-size:.82rem;font-weight:700}
.qt2-app-back svg{width:16px;height:16px}
.qt2-workspace{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:22px;align-items:start;width:min(calc(100% - 52px),1230px);margin:36px auto 100px}
.qt2-workspace>.planner-shell{width:100%;max-width:none;margin:0;min-width:0}
.qt2-workspace .planner-panel{padding:clamp(24px,3vw,39px);border:1px solid #dfebf0;border-radius:21px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt2-workspace .progress-label{font-size:.85rem;font-weight:750}
.qt2-workspace .progress-track{height:7px;border-radius:99px}
.qt2-workspace .progress-bar{background:linear-gradient(90deg,#22a88b,#65cdb0)}
.qt2-workspace .question-title{font-size:clamp(1.85rem,3vw,2.63rem);letter-spacing:-.04em}
.qt2-workspace .question-help{font-size:1rem;color:#5a7185}
.qt2-workspace .option-card{min-height:72px;border-color:#dce8ee;box-shadow:none;background:#fff}
.qt2-workspace .option-card:has(input:checked){border-color:#4bc3a5;background:#ecfaf5;box-shadow:0 0 0 1px #58c4a8}
.qt2-workspace .option-card strong{font-size:1.01rem}
.qt2-workspace .planner-actions .btn-primary{background:var(--qt2-navy)}
.qt2-workspace .planner-actions .btn-primary:hover{background:var(--qt2-navy-2)}
.qt2-workspace .planner-actions .btn-ghost{border:1px solid #dce8ee;border-radius:12px}
.qt2-workspace .results-head .question-title{font-size:clamp(1.8rem,3vw,2.5rem)}
.qt2-workspace .next-step{border:1px solid #cfe8df;border-radius:16px;background:linear-gradient(120deg,#ebf8f3,#f7fcfa);box-shadow:none}
.qt2-workspace .task-list{border:1px solid #dfe9ef;border-radius:15px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt2-workspace .route-tabs{top:70px;background:#f4f9fa}
.qt2-workspace .route-tab[aria-selected=true]{color:var(--qt2-navy)}
.qt2-workspace .route-tab[aria-selected=true]::after{background:var(--qt2-mint)}
.qt2-workspace .task-check{accent-color:var(--qt2-mint-strong)}
.qt2-planner-aside{position:sticky;top:94px;overflow:hidden;border:1px solid #dce9ec;border-radius:20px;background:#fff;box-shadow:var(--qt2-shadow)}
.qt2-planner-aside-head{padding:25px 24px 24px;background:linear-gradient(150deg,#ebf8f3,#f4f8fb);border-bottom:1px solid #e0ecec}
.qt2-planner-aside-head>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:19px;border-radius:15px;background:#dff4eb;color:var(--qt2-navy)}
.qt2-planner-aside-head>span svg{width:26px;height:26px}
.qt2-planner-aside-head>p:first-of-type{margin:0 0 8px;color:var(--qt2-mint-strong);font-size:.78rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.qt2-planner-aside-head h2{margin:0 0 12px;color:#0e2a47;font-size:1.5rem;line-height:1.16;letter-spacing:-.036em}
.qt2-planner-aside-head .qt2-aside-intro{margin:0;color:#5a758a;font-size:.88rem;line-height:1.62}
.qt2-aside-features{padding:21px 23px 7px}
.qt2-aside-features>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;margin-bottom:20px}
.qt2-aside-features>div>span{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#ebf8f3;color:var(--qt2-navy)}
.qt2-aside-features svg{width:19px;height:19px}
.qt2-aside-features p{margin:0}
.qt2-aside-features strong{display:block;margin:2px 0 4px;color:#1b3851;font-size:.88rem;font-weight:750}
.qt2-aside-features small{display:block;color:#668198;font-size:.8rem;line-height:1.48}
.qt2-aside-help{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 21px 20px;padding:12px 13px;border:1px solid #dcebea;border-radius:12px;background:#f7fbfa;color:var(--qt2-navy);font-size:.8rem;font-weight:720;text-decoration:none}
.qt2-aside-help svg{width:17px;height:17px}
.qt2-aside-help:hover{background:#ebf8f3}

/* Selector de situación en el planificador: tarjetas de app, no filas rotas. */
.qt-planner .planner-panel .situation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;overflow:visible;margin-top:24px;border:0;border-radius:0;background:transparent;box-shadow:none}
.qt-planner .planner-panel .situation-list>.situation-row{display:grid;grid-template-columns:43px minmax(0,1fr) 27px;gap:12px;align-items:center;min-height:118px;padding:16px 13px;border:1px solid #dee9ef;border-radius:15px;background:white;box-shadow:0 5px 16px rgba(14,42,71,.025)}
.qt-planner .planner-panel .situation-list>.situation-row:last-child{border-bottom:1px solid #dee9ef}
.qt-planner .planner-panel .situation-list>.situation-row:hover{border-color:#81cbb6;background:#f8fefa;transform:translateY(-1px)}
.qt-planner .planner-panel .situation-list>.situation-row>div{grid-column:2;min-width:0}
.qt-planner .planner-panel .situation-list>.situation-row>.qt2-row-icon{grid-column:1;width:43px;height:43px;border-radius:12px}
.qt-planner .planner-panel .situation-list>.situation-row>.situation-arrow{grid-column:3;position:static;width:28px;height:28px}
.qt-planner .planner-panel .situation-list>.situation-row h2,.qt-planner .planner-panel .situation-list>.situation-row h3{font-size:.91rem;line-height:1.33;margin:0 0 5px}
.qt-planner .planner-panel .situation-list>.situation-row p{font-size:.79rem;line-height:1.41;margin:0}

/* Pie de página renovado para todas las páginas públicas */
.qt-unified:not(.qt-planner) .site-footer{padding:46px 0 35px;border-top:1px solid #e1eaf0;background:#fff}
.qt-unified:not(.qt-planner) .footer-min{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);gap:19px 34px;align-items:start;font-size:.87rem}
.qt-unified:not(.qt-planner) .qt2-footer-brand{grid-column:1;grid-row:1/4;padding:0;border:0}
.qt2-footer-brand img{width:161px;height:auto;margin-bottom:12px}
.qt2-footer-brand p{margin:0;color:#718498;font-size:.86rem;line-height:1.62}
.qt-unified:not(.qt-planner) .footer-min>span:first-of-type{grid-column:2;grid-row:1;margin:0;color:#1a3852;font-size:.84rem}
.qt-unified:not(.qt-planner) .footer-min>div:not(.qt2-footer-brand){grid-column:2;grid-row:2;padding:14px 0;border-top:1px solid #e8eef1;border-bottom:1px solid #e8eef1}
.qt-unified:not(.qt-planner) .footer-min>nav.footer-links{grid-column:2;grid-row:3;margin:0}
.qt-unified:not(.qt-planner) .footer-min>span:last-child{grid-column:2;grid-row:4;color:#8a9aaa;font-size:.83rem}
.qt-unified:not(.qt-planner) .footer-links a{text-decoration:none;color:#586e83}
.qt-unified:not(.qt-planner) .footer-links a:hover{color:var(--qt2-navy)}

/* Mantiene el CTA de la portada en verde menta, como en el concepto aprobado. */
.qt-home .qt-mobile-create .btn-primary{background:var(--qt2-navy)}
.qt-home .qt-mobile-create .btn-primary:hover{background:var(--qt2-navy-2)}

/* Tablet */
@media(max-width:1020px){
  .qt2-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:15px;width:calc(100% - 32px)}
  .qt2-planner-aside-head{padding:20px}
  .qt2-planner-aside-head h2{font-size:1.29rem}
  .qt2-aside-features{padding:17px 18px 4px}
  .qt2-aside-help{margin:0 15px 15px}
  .qt2-hero-emblem{right:0;opacity:.37}
  .qt-directory .situation-list,.qt-detail .section .situation-list{gap:10px}
  .qt-unified .situation-list>.situation-row{gap:10px;grid-template-columns:43px minmax(0,1fr) 28px;padding:15px 13px}
  .qt2-row-icon{width:43px;height:43px;border-radius:12px}
  .qt2-row-icon svg{width:24px;height:24px}
}
@media(max-width:767px){
  .qt-unified:not(.qt-home) .page-hero{padding:27px 0 32px}
  .qt-unified .breadcrumbs{margin-bottom:17px;gap:7px;font-size:.78rem}
  .qt2-eyebrow{margin-bottom:13px;font-size:.72rem}
  .qt2-eyebrow-icon{height:26px;width:26px}
  .qt2-eyebrow-sub{display:none}
  .qt2-eyebrow-dot{display:none}
  .qt-unified:not(.qt-home) .page-hero h1{max-width:none!important;font-size:clamp(1.93rem,7.5vw,2.55rem);line-height:1.16;letter-spacing:-.039em}
  .qt-unified:not(.qt-home) .page-hero .lead{margin-top:12px;font-size:.955rem;line-height:1.54}
  .qt-unified .page-hero .eyebrow{margin-bottom:10px;font-size:.69rem}
  .qt2-hero-emblem{display:none}
  .qt2-directory-tools{display:grid;grid-template-columns:1fr;gap:10px;margin-top:19px}
  .qt2-directory-search{width:100%;min-width:0;min-height:52px;flex:none;padding:5px 5px 5px 13px;border-radius:13px}
  .qt2-directory-search>.qt2-svg{width:19px;height:19px}
  .qt2-directory-search input{min-height:40px;font-size:.88rem}
  .qt2-directory-search button{min-height:40px;padding:7px 12px;border-radius:10px;font-size:.82rem}
  .qt2-directory-search button svg{display:none}
  .qt2-new-route{justify-content:center;min-height:45px;padding:7px 15px;font-size:.87rem}
  .qt2-new-route svg{width:17px;height:17px}
  .qt2-detail-tools{margin-top:16px;gap:8px}
  .qt2-detail-tools>a{min-height:40px;font-size:.81rem}
  .qt2-detail-tools>span{font-size:.75rem}
  .qt2-route-top-actions{display:grid;grid-template-columns:1fr;margin-top:20px;gap:9px}
  .qt2-route-top-actions .btn{width:100%}
  .qt2-route-top-actions>span{justify-content:center;font-size:.78rem}
  .qt-directory .section{padding:23px 0 50px}
  .qt-directory .section>.narrow>.small.muted{margin-bottom:9px}
  .qt-directory .situation-list,.qt-detail .section .situation-list,.qt-unified .source-list,.qt-unified .qt2-sources-grid{grid-template-columns:1fr;gap:9px;margin-top:12px}
  .qt-directory .section>.narrow>h2:not(.visually-hidden),.qt-detail .section>.narrow>h2:not(.visually-hidden){margin:23px 0 12px;font-size:1.32rem}
  .qt-unified .situation-list>.situation-row{grid-template-columns:43px minmax(0,1fr) 29px;gap:11px;min-height:94px;padding:13px 11px;border-radius:13px}
  .qt-unified .situation-row h2,.qt-unified .situation-row h3{font-size:.92rem;line-height:1.32}
  .qt-unified .situation-row p{font-size:.81rem;line-height:1.43}
  .qt-unified .situation-arrow{width:28px;height:28px;font-size:1.1rem}
  .qt-unified .source-item{padding:14px 12px;grid-template-columns:41px minmax(0,1fr);column-gap:11px;border-radius:13px}
  .qt-unified .source-item .qt2-source-symbol{width:40px;height:40px}
  .qt-unified .source-item h2{font-size:.94rem}
  .qt-unified .pagination{gap:7px;margin-top:25px}
  .qt-unified .pagination a{min-height:44px;padding:9px 12px;font-size:.79rem}
  .qt-detail main>.section,.qt-detail main>.section.section-alt{padding:26px 0 36px}
  .qt-detail .article{padding:22px 18px;border-radius:16px;font-size:1rem;line-height:1.71}
  .qt-detail .article h2{font-size:1.34rem}
  .qt-detail .article h3{font-size:1.075rem}
  .qt-detail .card{padding:19px;border-radius:15px}
  .qt-detail .card>h2:first-child,.qt-detail .card>h3:first-child{font-size:1.1rem;gap:9px}
  .qt2-heading-icon{width:35px;height:35px}
  .qt2-heading-icon svg{width:19px;height:19px}
  .qt-detail .grid-2,.qt-detail .grid-3{gap:11px}
  .qt-routes .section{padding-top:19px}
  .qt-routes .route-tools{padding:13px;border-radius:14px}
  .qt-routes .route-card{grid-template-columns:43px minmax(0,1fr);align-items:start;gap:11px;padding:16px;border-radius:14px}
  .qt-routes .route-card>div:nth-child(2){grid-column:2}
  .qt-routes .route-card>.button-row{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
  .qt-routes .route-card .btn{width:100%;min-height:44px}
  .qt-routes .route-card h3{font-size:1.045rem}
  .qt-routes .route-card .muted{font-size:.8rem}
  .qt2-route-icon{width:42px;height:42px;border-radius:12px}
  .qt2-route-icon svg{width:23px;height:23px}
  .qt-routes .empty-state{padding:35px 20px}
  .qt-unified:not(.qt-planner) .site-footer{padding:32px 0 calc(36px + env(safe-area-inset-bottom))}
  .qt-unified:not(.qt-planner) .footer-min{grid-template-columns:1fr;gap:12px}
  .qt-unified:not(.qt-planner) .qt2-footer-brand{grid-column:1;grid-row:auto;margin-bottom:8px}
  .qt-unified:not(.qt-planner) .footer-min>span:first-of-type,.qt-unified:not(.qt-planner) .footer-min>div:not(.qt2-footer-brand),.qt-unified:not(.qt-planner) .footer-min>nav.footer-links,.qt-unified:not(.qt-planner) .footer-min>span:last-child{grid-column:1;grid-row:auto}
  .qt-unified:not(.qt-planner) .footer-min>div:not(.qt2-footer-brand){padding:13px 0}
  .qt-planner .planner-panel .situation-list{grid-template-columns:1fr;gap:9px;margin-top:21px}
  .qt-planner .planner-panel .situation-list>.situation-row{grid-template-columns:43px minmax(0,1fr) 27px;min-height:94px;padding:13px 11px;border-radius:13px}
  .qt-planner .planner-panel .situation-list>.situation-row h2,.qt-planner .planner-panel .situation-list>.situation-row h3{font-size:.93rem}
  .qt-planner .planner-panel .situation-list>.situation-row p{font-size:.82rem}
  .qt2-workspace{display:block;width:calc(100% - 24px);margin:16px auto 112px}
  .qt2-workspace>.planner-shell{width:100%;min-height:calc(100dvh - 80px);margin:0}
  .qt2-workspace .planner-panel{padding:20px 17px;border-radius:17px}
  .qt2-workspace .question-title{font-size:clamp(1.72rem,6.8vw,2.1rem)}
  .qt2-planner-aside{display:none}
  .qt-planner .app-header-inner{width:calc(100% - 24px);height:58px;gap:8px}
  .qt-planner .app-header .brand img{width:36px}
  .qt2-app-wordmark{font-size:.94rem}
  .qt-planner .app-context{margin-left:auto;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem}
  .qt-planner .app-exit{font-size:0;margin-left:0}
  .qt-planner .app-exit::after{font-size:.78rem}
  .qt2-app-back{display:none}
  .qt2-workspace .route-tabs{top:58px}
  .qt-unified .toast{bottom:calc(77px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){
  .qt-unified .page-hero .qt2-eyebrow{margin-bottom:12px}
  .qt-unified .situation-list>.situation-row{grid-template-columns:38px minmax(0,1fr) 25px;gap:9px;padding:12px 9px}
  .qt2-row-icon{width:38px;height:38px;border-radius:10px}
  .qt2-row-icon svg{width:21px;height:21px}
  .qt-unified .situation-row h2,.qt-unified .situation-row h3{font-size:.875rem}
  .qt-unified .situation-row p{font-size:.78rem}
  .qt2-app-wordmark{font-size:.87rem}
  .qt-planner .app-context{max-width:90px;font-size:.74rem}
}
@media print{
  .qt2-directory-tools,.qt2-detail-tools,.qt2-hero-emblem,.qt2-new-route,.qt2-route-top-actions,.qt2-planner-aside,.qt2-app-back{display:none!important}
  .qt2-workspace{width:100%;max-width:none;display:block;margin:0}
  .qt-unified .situation-list,.qt-unified .source-list{display:block}
  .qt-unified .situation-row,.qt-unified .source-item{break-inside:avoid;box-shadow:none!important}
}
@media(prefers-reduced-motion:reduce){.qt-unified .situation-row{transition:none}}


/* 2026 palette optimization: logo-driven navy + mint theme */
.qt-unified .site-header,.qt-unified .app-header{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.qt-unified .nav a,.qt-unified .footer-links a,.qt-unified .app-exit{transition:color .18s ease,background-color .18s ease,border-color .18s ease}
.qt-unified .situation-row:focus-visible,.qt-unified .source-item:focus-visible,.qt-routes .route-card:focus-within{outline:3px solid rgba(85,194,163,.45);outline-offset:3px}
.qt-unified .route-card .btn-primary,.qt2-workspace .btn-primary{box-shadow:0 7px 18px rgba(14,42,71,.14)}
.qt-unified .route-card .btn-secondary,.qt2-workspace .btn-ghost{background:#f8fbfd}
.qt-unified .route-card .btn-secondary:hover,.qt2-workspace .btn-ghost:hover{background:#edf4f8;border-color:#c9d9e4}
.qt-unified .page-hero .lead,.qt-unified .situation-row p,.qt-unified .source-item p,.qt-routes .route-card .muted{color:var(--qt2-muted)}
.qt-unified .situation-list>.situation-row,.qt-routes .route-card,.qt-unified .source-item,.qt2-workspace .planner-panel,.qt2-planner-aside{border-color:var(--qt2-line)}
.qt-unified .qt2-row-icon,.qt-unified .qt2-heading-icon,.qt-unified .qt2-source-symbol{box-shadow:inset 0 0 0 1px rgba(14,42,71,.03)}
@media(max-width:767px){
  .qt-unified .page-hero{background:linear-gradient(180deg,#fff 0%,#f4f8fb 100%)}
  .qt-unified:not(.qt-home) .page-hero{padding-top:30px}
  .qt2-directory-search,.qt-unified .situation-list>.situation-row,.qt-routes .route-card,.qt-unified .source-item{border-radius:14px}
  .qt-routes .route-card>.button-row{gap:9px}
}
