/* CONQUISTEI 0.25.8 — TRUE START + SMART STUDY SHEET + SALMON COMPLETE
   Final layer. Must win over legacy iOS Planning !important selectors. */

/* Salmon Complete: no navy structural surface in student-facing modules. */
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3,
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 :is(.cq-schedule-hero,.cq-schedule-panel,.cq-schedule-preview,.cq-schedule-current,.cq-upgrade-card,.cq-preview-action,.cq-risk-card,.cq-explain-box,.cq-intelligence-panel,.cq-fast-start-card,.cq-fast-plan-overview,.cq-plan-customize),
.cq-app.cq-theme-salmon .cq-focus,
.cq-app.cq-theme-salmon .cq-study-sheet{
  background:#fffdfc!important;color:#4a3038!important;border-color:#e8c7c0!important;
  -webkit-text-fill-color:currentColor;
}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-schedule-hero{
  background:linear-gradient(145deg,#fffdfc 0%,#fdf0ec 62%,#f4d4ce 100%)!important;
  color:#4a3038!important;border-color:#e5bdb6!important;box-shadow:0 12px 30px rgba(112,59,70,.08)!important;
}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 :is(.cq-schedule-panel,.cq-schedule-preview,.cq-schedule-current,.cq-upgrade-card,.cq-preview-action,.cq-explain-box,.cq-intelligence-panel){
  background:#fffdfc!important;color:#4a3038!important;border-color:#ead1cb!important;box-shadow:0 8px 24px rgba(112,59,70,.06)!important;
}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-intelligence-panel{
  background:linear-gradient(145deg,#fffaf8,#fbe9e5)!important;
}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 :is(h1,h2,h3,h4,h5,h6,strong,label,legend,summary){color:#3d2930!important;-webkit-text-fill-color:#3d2930!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 :is(p,small,span:not(.dashicons)){color:#765e66!important;-webkit-text-fill-color:#765e66!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-eyebrow{color:#b45462!important;-webkit-text-fill-color:#b45462!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-engine-pill{background:#f7ded8!important;color:#653941!important;-webkit-text-fill-color:#653941!important;border-color:#dca8a0!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-note{background:#fff0ed!important;color:#6c4650!important;-webkit-text-fill-color:#6c4650!important;border-left-color:#c86f68!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-risk-card{background:#fff!important;color:#4a3038!important;border-color:#ead1cb!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-risk-card :is(strong,p,small,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#3d2930!important;-webkit-text-fill-color:#3d2930!important;border-color:#d9b8b1!important}
.cq-app.cq-theme-salmon .cq-plan.cq-schedule3 .cq-action{background:#b85f5a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#a65250!important}

/* True Start center. */
.cq-focus{max-width:1080px!important}
.cq-focus-start-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.cq-focus-start-head h2{margin:.2rem 0 .4rem;font-size:clamp(1.8rem,4vw,3rem)}
.cq-focus-start-head p{max-width:760px;margin:0;color:var(--cq-ui-muted)}
.cq-focus-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cq-focus-subject{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px;border:1px solid var(--cq-ui-line);border-radius:18px;background:var(--cq-ui-surface-2);color:var(--cq-ui-text);box-shadow:var(--cq-ui-shadow)}
.cq-focus-subject.is-recommended{border-color:color-mix(in srgb,var(--cq-ui-accent) 62%,var(--cq-ui-line));box-shadow:0 14px 34px color-mix(in srgb,var(--cq-ui-accent) 14%,transparent)}
.cq-focus-recommended{align-self:flex-start;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--cq-ui-accent) 16%,var(--cq-ui-surface));color:var(--cq-ui-text);font-size:.76rem;font-weight:900;letter-spacing:.03em}
.cq-focus-subject h3{font-size:1.2rem;margin:0;color:var(--cq-ui-text)}
.cq-focus-subject-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cq-focus-subject-meta span{padding:9px 10px;border-radius:11px;background:var(--cq-ui-surface);border:1px solid var(--cq-ui-line);color:var(--cq-ui-muted);font-size:.84rem}
.cq-focus-subject-meta strong{display:block;color:var(--cq-ui-text);font-size:1rem}
.cq-focus-subject form{margin-top:auto}.cq-focus-subject .cq-action{width:100%;min-height:48px}
.cq-focus-choice-note{margin:14px 0 0;color:var(--cq-ui-muted)}
.cq-focus-selected{display:grid;grid-template-columns:1fr auto;gap:3px 14px;align-items:center;padding:15px 17px;border:1px solid var(--cq-ui-line);border-radius:16px;background:var(--cq-ui-surface-2);margin-bottom:14px}
.cq-focus-selected>span,.cq-focus-selected>small{color:var(--cq-ui-muted)}.cq-focus-selected>strong{font-size:1.25rem;color:var(--cq-ui-text)}.cq-focus-selected>a{grid-column:2;grid-row:1/4;align-self:center}
.cq-focus-start-empty{padding:20px;border:1px solid var(--cq-ui-line);border-radius:18px;background:var(--cq-ui-surface-2)}
.cq-focus #cq-focus-running{padding:20px;border:1px solid var(--cq-ui-line);border-radius:20px;background:var(--cq-ui-strong)}
.cq-focus #cq-focus-running #cq-focus-clock,.cq-focus #cq-focus-running #cq-focus-clock-note{color:var(--cq-ui-on-strong)!important;-webkit-text-fill-color:var(--cq-ui-on-strong)!important}
.cq-app.cq-theme-salmon .cq-focus{background:#fff8f5!important}
.cq-app.cq-theme-salmon .cq-focus-subject,.cq-app.cq-theme-salmon .cq-focus-selected,.cq-app.cq-theme-salmon .cq-focus-start-empty{background:#fffdfc!important;border-color:#e8c7c0!important;color:#4a3038!important}
.cq-app.cq-theme-salmon .cq-focus-subject.is-recommended{background:linear-gradient(145deg,#fffdfc,#fbe9e5)!important;border-color:#d7978f!important}
.cq-app.cq-theme-salmon .cq-focus-subject-meta span{background:#fff7f4!important;border-color:#ead1cb!important;color:#765e66!important}
.cq-app.cq-theme-salmon .cq-focus-subject-meta strong,.cq-app.cq-theme-salmon .cq-focus-subject h3,.cq-app.cq-theme-salmon .cq-focus-selected strong{color:#3d2930!important;-webkit-text-fill-color:#3d2930!important}
.cq-app.cq-theme-salmon .cq-focus-recommended{background:#f7ded8!important;color:#7d3f49!important}
.cq-app.cq-theme-salmon .cq-focus #cq-focus-running{background:#633844!important;border-color:#8f5866!important}

/* Smart Study Sheet. */
.cq-study-sheet{max-width:1320px!important}
.cq-sheet-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.cq-sheet-head h2{margin:.2rem 0 .4rem;font-size:clamp(1.8rem,3.3vw,2.8rem)}.cq-sheet-head p{margin:0;max-width:800px;color:var(--cq-ui-muted)}
.cq-sheet-weeknav{margin:18px 0 12px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--cq-ui-line);border-radius:14px;background:var(--cq-ui-surface-2)}
.cq-sheet-weeknav a{text-decoration:none;font-weight:800}.cq-sheet-weeknav a:last-child{text-align:right}.cq-sheet-weeknav strong{text-align:center;color:var(--cq-ui-text)}
.cq-sheet-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}.cq-sheet-kpis>div{padding:13px 14px;border:1px solid var(--cq-ui-line);border-radius:14px;background:var(--cq-ui-surface-2)}.cq-sheet-kpis span{display:block;color:var(--cq-ui-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.cq-sheet-kpis strong{display:block;margin-top:4px;color:var(--cq-ui-text);font-size:1.1rem}
.cq-sheet-scroll{overflow:auto;border:1px solid var(--cq-ui-line);border-radius:17px;background:var(--cq-ui-surface)}
.cq-sheet-table{border-collapse:separate;border-spacing:0;width:100%;min-width:980px;color:var(--cq-ui-text)}.cq-sheet-table th,.cq-sheet-table td{padding:11px 10px;border-bottom:1px solid var(--cq-ui-line);vertical-align:top}.cq-sheet-table thead th{position:sticky;top:0;z-index:2;background:var(--cq-ui-surface-2);font-size:.82rem;color:var(--cq-ui-text);text-align:center}.cq-sheet-table thead th:first-child{text-align:left;left:0;z-index:3}.cq-sheet-table tbody th{position:sticky;left:0;z-index:1;background:var(--cq-ui-surface);min-width:220px;text-align:left}.cq-sheet-table tbody th strong{display:block}.cq-sheet-table small{display:block;margin-top:3px;color:var(--cq-ui-muted);font-weight:500}.cq-sheet-table td{text-align:center;min-width:105px}.cq-sheet-table td>strong{display:block;font-variant-numeric:tabular-nums}.cq-sheet-cellbar{display:block;height:4px;margin-top:7px;background:var(--cq-ui-line);border-radius:999px;overflow:hidden}.cq-sheet-cellbar i{display:block;height:100%;background:var(--cq-ui-accent);border-radius:999px}.cq-sheet-total{background:color-mix(in srgb,var(--cq-ui-accent) 7%,var(--cq-ui-surface))}.cq-sheet-start{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--cq-ui-strong);color:var(--cq-ui-on-strong)!important;text-decoration:none!important;font-weight:900}.cq-sheet-footnote{margin:12px 2px 0;color:var(--cq-ui-muted)!important}
.cq-app.cq-theme-salmon .cq-study-sheet,.cq-app.cq-theme-salmon .cq-sheet-scroll,.cq-app.cq-theme-salmon .cq-sheet-table tbody th{background:#fffdfc!important;color:#4a3038!important}.cq-app.cq-theme-salmon .cq-sheet-weeknav,.cq-app.cq-theme-salmon .cq-sheet-kpis>div,.cq-app.cq-theme-salmon .cq-sheet-table thead th{background:#fdf0ec!important;border-color:#e8c7c0!important}.cq-app.cq-theme-salmon .cq-sheet-table th,.cq-app.cq-theme-salmon .cq-sheet-table td{border-color:#ead1cb!important}.cq-app.cq-theme-salmon .cq-sheet-total{background:#fff7f4!important}.cq-app.cq-theme-salmon .cq-sheet-start{background:#b85f5a!important;color:#fff!important}

@media(max-width:900px){
  .cq-focus-subject-grid{grid-template-columns:1fr}.cq-focus-start-head,.cq-sheet-head{align-items:stretch;flex-direction:column}.cq-focus-start-head .cq-secondary,.cq-sheet-head .cq-action{width:100%;text-align:center}
  .cq-sheet-kpis{grid-template-columns:1fr 1fr}.cq-study-sheet{padding-bottom:100px!important}
}
@media(max-width:560px){
  .cq-focus{padding:14px!important}.cq-focus-subject{padding:15px}.cq-focus-subject-meta{grid-template-columns:1fr}.cq-focus-selected{grid-template-columns:1fr}.cq-focus-selected>a{grid-column:auto;grid-row:auto;margin-top:6px}.cq-sheet-weeknav{grid-template-columns:1fr 1fr}.cq-sheet-weeknav strong{grid-column:1/-1;grid-row:1}.cq-sheet-weeknav a{grid-row:2}.cq-sheet-kpis{grid-template-columns:1fr 1fr}.cq-sheet-kpis>div{padding:11px}.cq-sheet-table{min-width:850px}
}
