/* CONQUISTEI 0.25.9 — Instant Start + Floating Tools + Salmon Complete + Mobile Sheet 2.0 */

/* SALMON COMPLETE: final student-facing contract. No legacy blue structural surfaces or blue ink. */
.cq-app.cq-theme-salmon .cq-app-main{background:linear-gradient(180deg,#fff8f5 0%,#fffdfc 56%,#f9ece8 100%)!important;color:#4a3038!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell,
.cq-app.cq-theme-salmon .cq-app-main :is(.cq-journeys,.cq-journey-card,.cq-new-journey,.cq-focus,.cq-study-sheet,.cq-memo-panel,.cq-review-card,.cq-recovery-row,.cq-evo-panel,.cq-evo-stat){background:#fffdfc!important;color:#4a3038!important;border-color:#e8c7c0!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,summary){color:#4a3038!important;-webkit-text-fill-color:#4a3038!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell :is(p,li,small,.cq-help,.cq-focus-choice-note){color:#765e66!important;-webkit-text-fill-color:#765e66!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell .cq-eyebrow{color:#a94f5b!important;-webkit-text-fill-color:#a94f5b!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell :is(.cq-note,.cq-schedule-ok){background:#fae8e4!important;color:#633844!important;-webkit-text-fill-color:#633844!important;border-color:#dca8a0!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-shell :is(.cq-note,.cq-schedule-ok) :is(p,strong,small,span,a){color:#633844!important;-webkit-text-fill-color:#633844!important}
.cq-app.cq-theme-salmon .cq-app-main :is(.cq-today-hero,.cq-memo-hero,.cq-study-intelligence,.cq-schedule-hero){background:linear-gradient(145deg,#fffdfc 0%,#fdf0ec 64%,#f3d5cf 100%)!important;color:#4a3038!important;border-color:#e5bdb6!important}
.cq-app.cq-theme-salmon .cq-app-main :is(.cq-today-hero,.cq-memo-hero,.cq-study-intelligence,.cq-schedule-hero) :is(h1,h2,h3,strong,p,small,span:not(.dashicons)){color:#4a3038!important;-webkit-text-fill-color:#4a3038!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-journeys-head p,
.cq-app.cq-theme-salmon .cq-app-main .cq-journey-card p{color:#765e66!important;-webkit-text-fill-color:#765e66!important;opacity:1!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-journey-metrics span{background:#fff6f3!important;color:#765e66!important;border:1px solid #ead1cb!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-journey-card.is-active{outline-color:#c86f68!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus-quick-links a{background:#fff7f4!important;color:#7d3f49!important;-webkit-text-fill-color:#7d3f49!important;border-color:#dba9a1!important;box-shadow:none!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus-quick-links a:hover{background:#f7ded8!important;color:#633844!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus .cq-action,
.cq-app.cq-theme-salmon .cq-app-main .cq-study-sheet .cq-action{background:#7a3f4c!important;color:#fffaf8!important;-webkit-text-fill-color:#fffaf8!important;border-color:#8f5866!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus #cq-focus-running{background:#633844!important;color:#fffaf8!important;border-color:#9d6571!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus #cq-focus-running :is(button,#cq-focus-clock,#cq-focus-clock-note){color:#fffaf8!important;-webkit-text-fill-color:#fffaf8!important}
.cq-app.cq-theme-salmon .cq-app-main .cq-focus #cq-focus-running button{background:#7d4855!important;border-color:#b97a84!important}

/* Quick links become a clean responsive strip instead of legacy blue block links. */
.cq-focus-quick-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.cq-focus-quick-links a{min-height:42px!important;padding:9px 14px!important;border-radius:12px!important;text-decoration:none!important}

/* FLOATING STUDY TOOLS — same authoritative focus session, never a second timer. */
.cq-study-tools{position:fixed;right:18px;bottom:22px;z-index:1200;display:flex;flex-direction:column;align-items:flex-end;gap:9px;pointer-events:none}
.cq-study-tools>*{pointer-events:auto}.cq-study-tool-buttons{display:flex;flex-direction:column;gap:9px}
.cq-study-tool-button{position:relative;width:52px;height:52px;border:1px solid var(--cq-ui-line)!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important;min-height:0!important;background:var(--cq-ui-surface)!important;color:var(--cq-ui-text)!important;box-shadow:0 10px 28px rgba(15,23,42,.16)!important}
.cq-study-tool-button .dashicons{font-size:24px;width:24px;height:24px;color:var(--cq-ui-accent)!important}.cq-study-tool-button:hover{transform:translateY(-1px)}
.cq-study-tool-badge{position:absolute;right:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#2abf8d;border:2px solid var(--cq-ui-surface)}
.cq-study-tool-panel{width:min(340px,calc(100vw - 28px));padding:15px;border:1px solid var(--cq-ui-line);border-radius:18px;background:var(--cq-ui-surface);color:var(--cq-ui-text);box-shadow:0 18px 48px rgba(15,23,42,.22)}
.cq-study-tool-panel[hidden]{display:none!important}.cq-study-tool-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.cq-study-tool-head strong{color:var(--cq-ui-text)}
.cq-study-tool-close{width:34px;height:34px;min-height:0!important;padding:0!important;border-radius:10px!important;background:var(--cq-ui-surface-2)!important;color:var(--cq-ui-text)!important;border:1px solid var(--cq-ui-line)!important}
.cq-study-tool-clock{display:block;font-variant-numeric:tabular-nums;font-size:2.4rem;line-height:1.05;color:var(--cq-ui-text);margin:8px 0}.cq-study-tool-state{margin:0 0 12px;color:var(--cq-ui-muted);font-size:.9rem}
.cq-study-tool-panel textarea{width:100%;min-height:160px;resize:vertical;background:var(--cq-ui-input)!important;color:var(--cq-ui-input-ink)!important;border:1px solid var(--cq-ui-line)!important;border-radius:12px;padding:11px;font:inherit}
.cq-study-tool-panel .cq-tool-save,.cq-study-tool-panel .cq-tool-open{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:9px 12px;border-radius:11px;background:var(--cq-ui-strong)!important;color:var(--cq-ui-on-strong)!important;border:1px solid var(--cq-ui-line)!important;text-decoration:none!important;font-weight:800}
.cq-study-tool-note-status{display:block;min-height:1.2em;margin:8px 0;color:var(--cq-ui-muted);font-size:.78rem}
.cq-app.cq-theme-salmon .cq-study-tool-panel,.cq-app.cq-theme-salmon .cq-study-tool-button{background:#fffdfc!important;color:#4a3038!important;border-color:#e8c7c0!important}.cq-app.cq-theme-salmon .cq-study-tool-panel .cq-tool-save,.cq-app.cq-theme-salmon .cq-study-tool-panel .cq-tool-open{background:#7a3f4c!important;color:#fffaf8!important;border-color:#9c6570!important}

/* SMART SHEET 2.0 */
.cq-sheet-value-compact,.cq-sheet-mobile-total,.cq-sheet-mobile-start,.cq-sheet-orientation-tip{display:none}
.cq-sheet-subject-line{display:flex;gap:8px;align-items:flex-start}.cq-sheet-subject-title{min-width:0;overflow-wrap:anywhere}.cq-sheet-mobile-start{flex:0 0 auto;text-decoration:none!important}

@media(max-width:700px){
  .cq-study-tools{right:12px;bottom:calc(88px + env(safe-area-inset-bottom));gap:7px}.cq-study-tool-button{width:48px;height:48px}.cq-study-tool-buttons{gap:7px}
  .cq-sheet-orientation-tip{display:block;margin:8px 0 10px!important;padding:8px 10px;border-radius:10px;background:var(--cq-ui-surface-2);border:1px solid var(--cq-ui-line);color:var(--cq-ui-muted)!important;font-size:.78rem!important}
  .cq-sheet-scroll{overflow-x:hidden!important;border-radius:12px}.cq-sheet-table{width:100%!important;min-width:0!important;table-layout:fixed;font-size:10.5px}
  .cq-sheet-table thead th,.cq-sheet-table tbody th,.cq-sheet-table td{position:static!important;min-width:0!important;padding:7px 2px!important}
  .cq-sheet-table thead th:first-child,.cq-sheet-table tbody th{width:28%!important;text-align:left!important;padding-left:6px!important;padding-right:4px!important}
  .cq-sheet-table thead th:not(:first-child):not(.cq-sheet-total-head):not(.cq-sheet-action-head),.cq-sheet-table td:not(.cq-sheet-total):not(.cq-sheet-action){width:10.285%!important}
  .cq-sheet-total-head,.cq-sheet-action-head,.cq-sheet-total,.cq-sheet-action{display:none!important}
  .cq-sheet-table thead small,.cq-sheet-table td small,.cq-sheet-cellbar,.cq-sheet-subject-meta{display:none!important}
  .cq-sheet-value-full{display:none!important}.cq-sheet-value-compact{display:inline!important;font-size:10px;letter-spacing:-.02em;white-space:nowrap}
  .cq-sheet-table td>strong{font-size:10px!important;white-space:nowrap}.cq-sheet-table thead th span{font-size:9.5px!important}
  .cq-sheet-subject-title{font-size:10.5px!important;line-height:1.15;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cq-sheet-mobile-total{display:block!important;margin-top:3px!important;color:var(--cq-ui-muted)!important;font-size:9px!important}.cq-sheet-mobile-start{display:inline-grid!important;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cq-ui-strong)!important;color:var(--cq-ui-on-strong)!important;padding:0!important;border:0!important;min-height:0!important;font-size:9px;margin-left:auto}
  .cq-sheet-subject-line{gap:3px;align-items:center}.cq-sheet-kpis{grid-template-columns:1fr 1fr}.cq-sheet-head{gap:10px}
}
@media(max-width:380px){.cq-sheet-table thead th:first-child,.cq-sheet-table tbody th{width:25%!important}.cq-sheet-table thead th:not(:first-child):not(.cq-sheet-total-head):not(.cq-sheet-action-head),.cq-sheet-table td:not(.cq-sheet-total):not(.cq-sheet-action){width:10.714%!important}.cq-sheet-subject-title{font-size:9.5px!important}.cq-sheet-value-compact{font-size:9px!important}}
@media(max-width:900px) and (orientation:landscape){
  .cq-sheet-orientation-tip{display:none}.cq-sheet-scroll{overflow-x:auto!important}.cq-sheet-table{min-width:760px!important;table-layout:auto;font-size:12px}.cq-sheet-table thead th,.cq-sheet-table tbody th,.cq-sheet-table td{padding:8px 7px!important}.cq-sheet-table thead th:first-child,.cq-sheet-table tbody th{width:auto!important;min-width:145px!important;position:sticky!important;left:0!important;z-index:2}.cq-sheet-table td{min-width:70px!important}.cq-sheet-total-head,.cq-sheet-action-head,.cq-sheet-total,.cq-sheet-action{display:table-cell!important}.cq-sheet-table thead small,.cq-sheet-table td small,.cq-sheet-cellbar,.cq-sheet-subject-meta{display:block!important}.cq-sheet-value-full{display:inline!important}.cq-sheet-value-compact,.cq-sheet-mobile-total,.cq-sheet-mobile-start{display:none!important}
}
