/* Skarlett Marketing Hub — composants propres à l'organisation (tâches, roadmap, récurrences, charge).
   S'appuie sur app.css (identité commune avec Skarlett Marketing Analytics : tokens, cartes, verre, boutons). */

:root {
  /* Couleurs de projet (choisies par projet) */
  --p1: #12543E; --p2: #1FA9B0; --p3: #5DA83A; --p4: #2a78d6; --p5: #7A6FC4; --p6: #E0672F; --p7: #D9578E; --p8: #A8925A;
  /* Statuts des tâches (icônes et pastilles) */
  --st-backlog: #9AA59F; --st-todo: #5E7168; --st-doing: #2a78d6; --st-review: #7A6FC4; --st-blocked: #D24E3E; --st-done: #22A05C; --st-closed: #A7B3AB;
  --late: #C23F2F; --late-wash: rgba(210, 78, 62, 0.10);
  --lvl-calm: rgba(34, 160, 92, 0.12); --lvl-busy: rgba(229, 161, 25, 0.22); --lvl-over: rgba(210, 78, 62, 0.20);
}
:root[data-theme="dark"] {
  --p1: #8EE36C; --p2: #5FD9DF; --p3: #A5E07F; --p4: #6AA9F5; --p5: #B3ACEB; --p6: #F49A6C; --p7: #F08DB6; --p8: #D6C79A;
  --st-backlog: #6F8B7F; --st-todo: #B5C6BC; --st-doing: #6AA9F5; --st-review: #B3ACEB; --st-blocked: #FF8B7B; --st-done: #6FE09E; --st-closed: #5E7A6E;
  --late: #FF9B8C; --late-wash: rgba(255, 139, 123, 0.12);
  --lvl-calm: rgba(111, 224, 158, 0.12); --lvl-busy: rgba(255, 199, 92, 0.20); --lvl-over: rgba(255, 139, 123, 0.22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --p1: #8EE36C; --p2: #5FD9DF; --p3: #A5E07F; --p4: #6AA9F5; --p5: #B3ACEB; --p6: #F49A6C; --p7: #F08DB6; --p8: #D6C79A;
    --st-backlog: #6F8B7F; --st-todo: #B5C6BC; --st-doing: #6AA9F5; --st-review: #B3ACEB; --st-blocked: #FF8B7B; --st-done: #6FE09E; --st-closed: #5E7A6E;
    --late: #FF9B8C; --late-wash: rgba(255, 139, 123, 0.12);
    --lvl-calm: rgba(111, 224, 158, 0.12); --lvl-busy: rgba(255, 199, 92, 0.20); --lvl-over: rgba(255, 139, 123, 0.22);
  }
}

/* L'attribut hidden l'emporte toujours sur les display des composants. */
[hidden] { display: none !important; }

/* ---------- Menu : recherche, nouvelle tâche, pastilles ---------- */
.nav-search, .nav-new { display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px; margin-bottom: 4px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font: 700 13px/1 var(--font); cursor: pointer; position: relative; white-space: nowrap; transition: background 0.15s, border-color 0.15s; }
.nav-search:hover { background: var(--surface-2); color: var(--ink); }
.nav-search .ico, .nav-new .ico { width: 18px; height: 18px; flex: none; }
.nav-search kbd, .nav-new kbd { margin-left: auto; }
.nav-new { background: var(--citron); color: var(--sapin); border-color: transparent; font-weight: 800; margin-bottom: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.nav-new:hover { background: #A2F27B; }
.nav-new kbd { background: rgba(25, 57, 46, 0.08); border-color: rgba(25, 57, 46, 0.18); color: var(--sapin); }
.nav-badge[hidden] { display: none; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--critical); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.nav a .ext { width: 13px; height: 13px; margin-left: auto; opacity: 0.55; }
@media (min-width: 901px) {
  .app.collapsed .nav-search, .app.collapsed .nav-new { justify-content: center; padding: 0; }
  .app.collapsed .nav-search .lbl, .app.collapsed .nav-new .lbl, .app.collapsed .nav a .ext { display: none; }
  .app.collapsed .nav-badge { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
}
kbd.on-dark { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); color: inherit; margin-left: 4px; }
[data-theme="dark"] kbd.on-dark { background: rgba(25, 57, 46, 0.12); border-color: rgba(25, 57, 46, 0.25); }
.fab { display: none; }

/* ---------- Pastilles : statut, priorité, catégorie, projet, échéance ---------- */
.st { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; }
.st svg { width: 17px; height: 17px; }
.st-backlog { color: var(--st-backlog); } .st-backlog svg circle { stroke-dasharray: 3 3; }
.st-todo { color: var(--st-todo); } .st-doing { color: var(--st-doing); } .st-review { color: var(--st-review); }
.st-blocked { color: var(--st-blocked); } .st-done { color: var(--st-done); } .st-cancelled, .st-archived { color: var(--st-closed); }
.st-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 8px; border-radius: 999px; border: 1px solid transparent; background: var(--neutral-wash); font: 800 12px/1 var(--font); color: var(--ink); white-space: nowrap; cursor: default; }
button.st-pill { cursor: pointer; transition: border-color 0.15s, background 0.15s; }
button.st-pill:hover { border-color: var(--border-strong); background: var(--surface-2); }
.st-pill svg { width: 15px; height: 15px; flex: none; }
.st-pill .cv { width: 12px; height: 12px; opacity: 0.55; margin-left: -2px; }
.st-pill.sm { height: 26px; font-size: 11.5px; padding: 0 8px 0 7px; }
.st-pill.st-backlog svg:first-child circle { stroke-dasharray: 3 3; }
.st-pill.st-todo svg:first-child { color: var(--st-todo); } .st-pill.st-backlog svg:first-child { color: var(--st-backlog); }
.st-pill.st-doing { background: color-mix(in srgb, var(--st-doing) 13%, transparent); } .st-pill.st-doing svg:first-child { color: var(--st-doing); }
.st-pill.st-review { background: color-mix(in srgb, var(--st-review) 15%, transparent); } .st-pill.st-review svg:first-child { color: var(--st-review); }
.st-pill.st-blocked { background: var(--critical-wash); } .st-pill.st-blocked svg:first-child { color: var(--st-blocked); }
.st-pill.st-done { background: var(--good-wash); } .st-pill.st-done svg:first-child { color: var(--st-done); }
.st-pill.st-cancelled, .st-pill.st-archived { color: var(--muted); } .st-pill.st-cancelled svg:first-child, .st-pill.st-archived svg:first-child { color: var(--st-closed); }
.prio { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.prio svg { width: 13px; height: 13px; }
.prio-high { color: var(--late); } .prio-high svg { fill: currentColor; }
.prio-medium { color: var(--warning-text); }
.prio-low { color: var(--muted); }
.cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cat i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.cat svg { width: 13px; height: 13px; }
.ptag { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.ptag span { overflow: hidden; text-overflow: ellipsis; }
.ptag i, .pdot, .title-dot, .ldot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
a.ptag:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.kind { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 7px; background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 800; white-space: nowrap; }
.kind svg { width: 12px; height: 12px; }
.kind.run { background: color-mix(in srgb, var(--givre) 40%, var(--surface)); color: var(--sapin-2); }
[data-theme="dark"] .kind.run { background: rgba(154, 255, 255, 0.12); color: var(--givre); }
.due { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.due svg { width: 13px; height: 13px; }
.due-late { color: var(--late); font-weight: 800; }
.due-today { color: var(--sapin-2); font-weight: 800; }
[data-theme="dark"] .due-today { color: var(--citron); }
.due-soon, .due-current { color: var(--ink); }
.hrs { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hrs svg { width: 13px; height: 13px; }
.meta-ico { display: inline-grid; place-items: center; color: var(--muted); }
.meta-ico svg { width: 13px; height: 13px; }
.late-txt { color: var(--late); font-weight: 800; }
.late-ico { color: var(--late); }
.avatar.xs { width: 20px; height: 20px; font-size: 8.5px; }
.avatar.ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.people { display: inline-flex; }
.people .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.people .avatar:first-child { margin-left: 0; }
.ps { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: var(--neutral-wash); color: var(--ink-2); white-space: nowrap; }
.ps svg { width: 12px; height: 12px; }
.ps-active { background: var(--accent-wash); color: var(--sapin-2); } [data-theme="dark"] .ps-active { color: var(--citron); }
.ps-done { background: var(--good-wash); color: var(--good-text); }
.ps-paused { background: var(--warning-wash); color: var(--warning-text); }
.ps-idea { background: color-mix(in srgb, var(--st-review) 14%, transparent); color: var(--st-review); }

/* Case « terminé » */
.tick { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color 0.15s, transform 0.15s, background 0.15s; }
.tick svg { width: 21px; height: 21px; }
.tick:hover:not(:disabled) { color: var(--st-done); background: var(--good-wash); }
.tick.on { color: var(--st-done); }
.tick.pop { animation: tickpop 0.35s ease; }
.tick:disabled { cursor: default; opacity: 0.6; }
@keyframes tickpop { 40% { transform: scale(1.25); } }

/* ---------- Barre d'outils (filtres) ---------- */
.toolbar.card { padding: 12px 14px; border-radius: 22px; position: sticky; top: 74px; z-index: 15; }
.topbar.scrolled ~ .content .toolbar.card { top: 64px; }
.tb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tb-row.more { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.tb-row .select { height: 38px; font-size: 13px; max-width: 230px; }
.tb-row .seg button { display: inline-flex; align-items: center; gap: 6px; }
.tb-row .seg button svg { width: 15px; height: 15px; }
.search-field { position: relative; display: inline-flex; align-items: center; flex: 1 1 200px; max-width: 320px; }
.search-field svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-field .input { width: 100%; height: 38px; padding-left: 36px; font-size: 13px; }
.tb-range { font-weight: 800; font-size: 13.5px; padding: 0 4px; white-space: nowrap; }
.row.tight { gap: 4px; flex-wrap: nowrap; }
.hint-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 4px 0; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.chips .chip.on .muted { color: inherit; opacity: 0.75; }
.chip .ldot { margin-right: 2px; }

/* ---------- Liste de tâches ---------- */
.tlist { padding: 6px 0; }
.tgroup + .tgroup { border-top: 1px solid var(--border); }
.tlist .tgroup { padding: 4px 14px 8px; }
.ghead { display: flex; align-items: center; gap: 10px; padding: 12px 6px 8px; font-size: 13px; font-weight: 800; color: var(--ink); }
.ghead .gl { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ghead .gc, .col-head .gc { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 800; display: inline-grid; place-items: center; }
.ghead .gh, .col-head .gh { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.trow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 14px; transition: background 0.12s, opacity 0.2s; }
.trow:hover { background: var(--accent-wash); }
.trow.saving { opacity: 0.6; }
.trow.closed .trow-main b { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.trow-main { display: grid; gap: 3px; min-width: 0; padding: 4px 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.trow-main b { font-weight: 700; font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.trow-main:focus-visible { outline: 2px solid var(--sapin-2); outline-offset: 2px; border-radius: 8px; }
.trow-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.trow-side { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.trow-side .due { min-width: 0; }
.more-rows { margin: 6px 0 4px 44px; }
.week-card .tgroup { margin: 0 -10px; padding: 0 0 6px; }
.week-card .tgroup + .tgroup { border-top: 0; margin-top: 8px; }
.g-late .ghead .gl { color: var(--late); }

/* ---------- Tableau Kanban ---------- */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr); gap: 14px; overflow-x: auto; padding: 2px 2px 16px; margin: 0 -2px; align-items: start; scrollbar-width: thin; scroll-snap-type: x proximity; }
.col { display: flex; flex-direction: column; min-height: 220px; max-height: calc(100vh - 220px); border-radius: 22px; background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid var(--border); scroll-snap-align: start; }
.col-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px 14px; font-size: 13px; position: sticky; top: 0; }
.col-head b { font-weight: 800; }
.col-head .col-add { margin-left: auto; width: 30px; height: 30px; border-radius: 10px; }
.col-body { display: flex; flex-direction: column; gap: 8px; padding: 2px 10px 12px; overflow-y: auto; min-height: 60px; flex: 1; scrollbar-width: thin; border-radius: 0 0 22px 22px; transition: background 0.15s; }
.col.drop-on .col-body { background: var(--accent-wash); }
.col-empty { padding: 18px 8px; text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 700; border: 1.5px dashed var(--border-strong); border-radius: 14px; }
.col-more { display: block; padding: 0 14px 12px; font-size: 12px; font-weight: 800; color: var(--ink-2); text-decoration: none; }
.col-more:hover { color: var(--ink); text-decoration: underline; }
.tcard { position: relative; display: grid; gap: 8px; padding: 12px 13px 11px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(25, 57, 46, 0.05), 0 8px 18px -14px rgba(25, 57, 46, 0.35); cursor: pointer; user-select: none; -webkit-user-select: none; transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s; touch-action: manipulation; }
.tcard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-pop); }
.tcard:focus-visible { outline: 2px solid var(--sapin-2); outline-offset: 2px; }
.tcard.hi::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--late); }
.tcard.saving { opacity: 0.65; }
.tcard h4 { font: 700 13.5px/1.35 var(--font); letter-spacing: 0; overflow-wrap: anywhere; }
.tcard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tcard-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.st-col-done .tcard h4 { color: var(--ink-2); }
.st-col-cancelled .tcard, .st-col-archived .tcard { opacity: 0.7; }
.inline-add { display: grid; gap: 6px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--sapin-2); box-shadow: 0 0 0 4px var(--accent-wash); }
.inline-add .input { height: 38px; border: 0; padding: 0 6px; box-shadow: none !important; }
.inline-add .ia-foot { padding: 0 6px 2px; }
.inline-add .hint { font-size: 11.5px; color: var(--muted); font-weight: 600; }
/* Glisser-déposer */
.drag-ghost { position: fixed; z-index: 200; pointer-events: none; margin: 0; box-shadow: var(--shadow-pop), 0 30px 50px -20px rgba(25, 57, 46, 0.45); opacity: 0.96; will-change: transform; }
.dragging { opacity: 0.35; }
.drag-ph { border-radius: 16px; border: 2px dashed var(--sapin-2); background: var(--accent-wash); flex: none; }
.mcal-items .drag-ph, .cal-undated .drag-ph { display: none; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; user-select: none; }

/* ---------- Calendrier ---------- */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 22px; align-items: start; }
.cal-card { padding: 20px 20px 22px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-top h3 { font-size: 24px; min-width: 190px; text-align: center; }
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mcal-dow { padding: 2px 6px 6px; font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: capitalize; }
.mcal-day { min-height: 118px; padding: 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background 0.15s, border-color 0.15s; }
.mcal-day.we { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.mcal-day.out { opacity: 0.5; }
.mcal-day.today { border-color: var(--sapin-2); box-shadow: inset 0 0 0 1px var(--sapin-2); }
[data-theme="dark"] .mcal-day.today { border-color: var(--citron); box-shadow: inset 0 0 0 1px var(--citron); }
.mcal-day.drop-on, .cal-undated.drop-on { background: var(--accent-wash); border-color: var(--sapin-2); }
.mcal-n { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--ink-2); padding: 0 2px; }
.mcal-day.today .mcal-n { color: var(--sapin-2); } [data-theme="dark"] .mcal-day.today .mcal-n { color: var(--citron); }
.mcal-add { width: 22px; height: 22px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 0.15s; }
.mcal-add svg { width: 14px; height: 14px; }
.mcal-day:hover .mcal-add, .mcal-add:focus-visible { opacity: 1; }
.mcal-add:hover { background: var(--surface); color: var(--ink); }
.mcal-items { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ci { display: flex; align-items: center; gap: 5px; width: 100%; min-width: 0; padding: 4px 6px; border-radius: 9px; border: 0; background: var(--surface); color: var(--ink); font: 700 11.5px/1.25 var(--font); text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(25, 57, 46, 0.06); user-select: none; -webkit-user-select: none; }
.ci:hover { box-shadow: 0 4px 10px -6px rgba(25, 57, 46, 0.45); }
.ci > i { width: 3px; align-self: stretch; border-radius: 2px; flex: none; }
.ci .st { width: 14px; height: 14px; } .ci .st svg { width: 13px; height: 13px; }
.ci span:last-child { overflow: hidden; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ci { align-items: flex-start; }
.ci .st { margin-top: 1px; }
.ci.closed span:last-child { color: var(--muted); text-decoration: line-through; }
.ci.late { background: var(--late-wash); }
.mcal-more { border: 0; background: none; padding: 2px 6px; font: 800 11.5px var(--font); color: var(--ink-2); cursor: pointer; text-align: left; }
.cal-side { position: sticky; top: 150px; padding: 20px; }
.cal-side .card-head { margin-bottom: 12px; }
.cal-undated { display: flex; flex-direction: column; gap: 5px; max-height: calc(100vh - 320px); overflow-y: auto; border-radius: 12px; padding: 2px; border: 1px solid transparent; }
.cal-undated .ci { padding: 7px 8px; font-size: 12.5px; }

/* ---------- Fiche de tâche ---------- */
.task-drawer { width: min(680px, calc(100vw - 24px)); }
.td-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px 24px; border-bottom: 1px solid var(--border); }
.td-crumbs { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.td-actions { display: flex; align-items: center; gap: 4px; }
.td-saved { font-size: 12px; font-weight: 700; color: var(--good-text); opacity: 0; transition: opacity 0.2s; margin-right: 6px; }
.td-saved.show { opacity: 1; }
.td-body { padding: 18px 26px 60px; display: grid; gap: 22px; align-content: start; }
.td-title, .td-title-ro { width: 100%; border: 0; padding: 4px 0; background: transparent; color: var(--ink); font: 900 30px/1.08 var(--font-title); letter-spacing: 0.005em; resize: none; overflow: hidden; border-radius: 10px; }
.td-title:hover { background: var(--neutral-wash); }
.td-title:focus { outline: none; background: var(--neutral-wash); box-shadow: 0 0 0 6px var(--neutral-wash); }
.td-props { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 12px; align-items: center; }
.prop { display: contents; }
.pk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); min-height: 38px; }
.pk svg { width: 15px; height: 15px; }
.pv { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 38px; flex-wrap: wrap; }
.pbtn { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; padding: 4px 10px; margin-left: -10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--ink); font: 700 13px/1.3 var(--font); cursor: pointer; text-align: left; text-decoration: none; }
.pbtn:hover:not(:disabled) { background: var(--neutral-wash); }
.pbtn:disabled { cursor: default; }
.pbtn > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.pbtn.link { color: var(--sapin-2); } [data-theme="dark"] .pbtn.link { color: var(--citron); }
.hours-field { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hours-field .input { width: 92px; height: 36px; text-align: right; font-variant-numeric: tabular-nums; }
.select.sm-select { height: 36px; font-size: 13px; padding-left: 10px; }
.input.sm-input { width: 70px; height: 36px; padding: 0 8px; text-align: center; }
.td-sec h3 { font: 800 12px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.td-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.td-log li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.td-log b { color: var(--ink); font-weight: 800; }
.td-log small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.rte-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 13px; padding: 12px 0; }

/* ---------- Éditeur de notes ---------- */
.rte-host { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
.rte-host:focus-within { border-color: var(--sapin-2); box-shadow: 0 0 0 4px var(--accent-wash); }
.rte-bar { display: flex; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--border); flex-wrap: wrap; position: sticky; top: -18px; background: var(--surface); border-radius: 16px 16px 0 0; z-index: 1; }
.rte-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; }
.rte-btn svg { width: 16px; height: 16px; }
.rte-btn.sm svg { width: 13px; height: 13px; }
.rte-btn:hover { background: var(--neutral-wash); color: var(--ink); }
.rte-sep { width: 1px; height: 18px; background: var(--border-strong); margin: 0 4px; }
.rte { min-height: 140px; padding: 14px 16px 18px; outline: none; font-size: 14px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.rte-host:not(:has(.rte-bar)) { border: 0; background: transparent; }
.rte-host:not(:has(.rte-bar)) .rte { padding: 0; min-height: 0; }
.rte.is-empty::before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; position: absolute; }
.rte > :first-child { margin-top: 0; }
.rte p { margin: 0 0 10px; }
.rte h2 { font: 900 22px/1.15 var(--font-title); margin: 18px 0 8px; }
.rte h3 { font: 800 16px/1.3 var(--font); margin: 16px 0 6px; letter-spacing: 0; }
.rte h4 { font: 800 14px/1.3 var(--font); margin: 14px 0 4px; letter-spacing: 0; }
.rte ul, .rte ol { margin: 0 0 10px; padding-left: 24px; }
.rte li { margin: 2px 0; }
.rte ul[data-checklist] { list-style: none; padding-left: 4px; }
.rte ul[data-checklist] > li { position: relative; padding-left: 28px; }
.rte ul[data-checklist] > li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 5px; border: 1.8px solid var(--border-strong); background: var(--surface); cursor: pointer; }
.rte ul[data-checklist] > li[data-checked="true"] { color: var(--muted); text-decoration: line-through; }
.rte ul[data-checklist] > li[data-checked="true"]::before { background: var(--st-done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--st-done); }
.rte blockquote { margin: 0 0 10px; padding: 8px 14px; border-left: 3px solid var(--citron); background: var(--surface-2); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.rte pre { margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-3); font: 600 12.5px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; }
.rte code { font: 600 12.5px ui-monospace, Menlo, monospace; padding: 1px 5px; border-radius: 6px; background: var(--surface-3); }
.rte pre code { padding: 0; background: none; }
.rte hr { border: 0; height: 1px; background: var(--border-strong); margin: 16px 0; }
.rte a { color: var(--sapin-2); font-weight: 700; text-underline-offset: 2px; }
[data-theme="dark"] .rte a { color: var(--citron); }
.rte table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: 13px; }
.rte th, .rte td { border: 1px solid var(--border-strong); padding: 6px 9px; text-align: left; vertical-align: top; }
.rte th { background: var(--surface-2); font-weight: 800; }
.rte strong { font-weight: 800; }

/* ---------- Fenêtres flottantes (sélecteurs) ---------- */
.popover { min-width: 280px; max-width: min(360px, calc(100vw - 16px)); padding: 10px; display: grid; gap: 8px; }
.pop-head { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 2px 6px; }
.pop-search { height: 38px; width: 100%; font-size: 13px; }
.pop-list { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; }
.pp-person, .pp-proj, .pop-task { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 11px; background: none; color: var(--ink); font: 700 13px/1.25 var(--font); text-align: left; cursor: pointer; }
.pp-person:hover, .pp-proj:hover, .pop-task:hover, .pp-person:focus-visible, .pp-proj:focus-visible { background: var(--neutral-wash); outline: none; }
.pp-person > span:not(.avatar) { display: grid; min-width: 0; flex: 1; }
.pp-person small, .pop-task small { color: var(--muted); font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-person .ok, .pp-proj .ok { width: 16px; height: 16px; margin-left: auto; color: var(--sapin-2); opacity: 0; flex: none; }
[data-theme="dark"] .pp-person .ok, [data-theme="dark"] .pp-proj .ok { color: var(--citron); }
.pp-person.on .ok, .pp-proj.on .ok { opacity: 1; }
.pp-person.on, .pp-proj.on { background: var(--accent-wash); }
.pp-proj i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pp-proj i.none { border: 1.5px dashed var(--border-strong); }
.pp-proj span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-task > span:not(.st) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--border); }
.pop-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.pop-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pop-dates .input { width: 100%; height: 38px; font-size: 13px; padding: 0 8px; }
.pop-dates .field > span { font-size: 11.5px; }
.cell-pop { min-width: 320px; }

/* ---------- Nouvelle tâche (saisie rapide) ---------- */
.qadd { display: grid; gap: 12px; }
.qtitle { height: 54px; font-size: 17px; font-weight: 700; width: 100%; }
.qtoks { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.qtoks:empty { display: none; }
.qtok { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 9px; border-radius: 9px; border: 0; background: var(--accent-wash); color: var(--sapin-2); font: 800 12px var(--font); cursor: pointer; }
[data-theme="dark"] .qtok { color: var(--citron); }
.qtok svg { width: 13px; height: 13px; }
.qtok .qx { width: 12px; height: 12px; opacity: 0.6; }
.qtok:hover .qx { opacity: 1; }
.qtok.priority { background: var(--late-wash); color: var(--late); }
.qtok.date { background: color-mix(in srgb, var(--givre) 35%, var(--surface)); color: var(--sapin); }
[data-theme="dark"] .qtok.date { background: rgba(154, 255, 255, 0.14); color: var(--givre); }
.qprops { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qprop { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px dashed var(--border-strong); background: transparent; color: var(--ink-2); font: 700 12.5px var(--font); cursor: pointer; max-width: 100%; }
.qprop svg { width: 15px; height: 15px; flex: none; }
.qprop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qprop:hover { border-color: var(--sapin-2); color: var(--ink); }
.qprop.set { border-style: solid; border-color: transparent; background: var(--accent-wash); color: var(--ink); }
.qprop.wide { width: 100%; justify-content: flex-start; height: 42px; }
.qhours input { width: 64px; border: 0; background: transparent; font: inherit; color: inherit; text-align: right; padding: 0; }
.qhours input:focus { outline: none; }
.modal-actions { flex-wrap: wrap; }
.modal-actions [data-open-after] { margin-right: auto; }

/* Formulaires : couleur, jours, rythme */
.color-field { border: 0; padding: 0; margin: 0; }
.color-field legend { font-size: 12.5px; color: var(--ink-2); font-weight: 800; margin-bottom: 8px; padding: 0; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { position: relative; cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw i { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); transition: transform 0.12s; }
.sw input:checked + i { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.sw input:focus-visible + i { outline: 2px solid var(--sapin-2); outline-offset: 4px; }
.sw:hover i { transform: scale(1.08); }
.seg.wrap { flex-wrap: wrap; }
.day-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.day-chips .chip[aria-pressed="true"] { background: var(--sapin); color: var(--beige); border-color: var(--sapin); }
[data-theme="dark"] .day-chips .chip[aria-pressed="true"] { background: var(--citron); color: var(--sapin); border-color: var(--citron); }
.rr-mrow { display: grid; gap: 10px; }
.rr-mrow .toggle { gap: 8px; flex-wrap: wrap; color: var(--ink); font-weight: 600; }
.rr-preview { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--accent-wash); font-size: 13px; color: var(--ink-2); font-weight: 600; }
.rr-preview b { color: var(--ink); font-weight: 800; }

/* ---------- Recherche ⌘K ---------- */
.palette { position: fixed; z-index: 90; left: 50%; top: 12vh; transform: translateX(-50%); width: min(640px, calc(100vw - 24px)); max-height: 72vh; display: flex; flex-direction: column; border-radius: 24px; background: var(--glass-solid); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-pop); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); animation: menuIn 0.16s ease; overflow: hidden; }
.pal-back { z-index: 89; }
.pal-search { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.pal-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.pal-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 17px var(--font); color: var(--ink); outline: none; }
.pal-search input::-webkit-search-cancel-button { display: none; }
.pal-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; cursor: pointer; }
.pal-item.on { background: var(--accent-wash); }
.pal-lead { width: 22px; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.pal-lead svg { width: 18px; height: 18px; }
.pal-label { display: grid; min-width: 0; flex: 1; }
.pal-label b { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-label small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.pal-hint { font-size: 11.5px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.pal-empty { padding: 26px; text-align: center; color: var(--muted); font-weight: 700; }
.pal-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.pal-foot kbd { margin-right: 3px; }

/* ---------- Accueil ---------- */
.stat-head .stat-ico { width: 20px; height: 20px; color: var(--muted); }
.card.dark .stat-ico { color: var(--citron); }
.alert-card { background: linear-gradient(160deg, var(--late-wash), var(--surface) 70%); }
.alert-card .v { color: var(--late); }
.stat-card .big .of { font-size: 16px; font-weight: 700; color: var(--muted); }
.load-bar { position: relative; height: 8px; border-radius: 999px; background: var(--surface-3); margin: 2px 0 10px; overflow: visible; }
.load-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--sapin-2), #2E8A63); }
[data-theme="dark"] .load-bar i { background: var(--citron); }
.load-card.lvl-busy .load-bar i { background: var(--warning); }
.load-card.lvl-over .load-bar i { background: var(--critical); }
.load-bar b { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.quick-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; margin: -6px 0 10px; border-radius: 16px; border: 1px dashed var(--border-strong); transition: border-color 0.15s, background 0.15s; }
.quick-row:focus-within { border-style: solid; border-color: var(--sapin-2); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-wash); }
.qr-ico { color: var(--muted); display: grid; place-items: center; }
.qr-ico svg { width: 18px; height: 18px; }
.quick-row .input { flex: 1; min-width: 0; border: 0; background: transparent; height: 38px; padding: 0 4px; box-shadow: none !important; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.feed li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 8px; margin: 0 -8px; border-radius: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2); font-weight: 500; }
.feed li.clickable { cursor: pointer; }
.feed li.clickable:hover { background: var(--accent-wash); }
.feed b { color: var(--ink); font-weight: 700; }
.feed .ev-who { color: var(--ink); font-weight: 800; }
.feed small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.wk-bars { display: grid; gap: 10px; }
.wk-bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) 54px; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-size: 12.5px; font-weight: 700; }
.wk-l { color: var(--ink-2); white-space: nowrap; }
.wk-track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.wk-track i { display: block; height: 100%; border-radius: inherit; background: var(--sapin-2); }
[data-theme="dark"] .wk-track i { background: var(--citron); }
.wk-bar.lvl-busy .wk-track i { background: var(--warning); }
.wk-bar.lvl-over .wk-track i { background: var(--critical); }
.wk-v { text-align: right; font-variant-numeric: tabular-nums; }
.mini-proj { display: grid; gap: 6px; padding: 10px 10px 12px; margin: 0 -10px; border-radius: 14px; text-decoration: none; color: inherit; }
.mini-proj:hover { background: var(--accent-wash); }
.mini-proj + .mini-proj { margin-top: 2px; }
.mp-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mp-top i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mp-top b { font-weight: 800; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.mp-pct { font-size: 12px; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mp-bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.mp-bar i { display: block; height: 100%; border-radius: inherit; }
.mp-sub { font-size: 12px; color: var(--muted); font-weight: 600; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 42px 20px; text-align: center; }
.empty-state .es-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-wash); color: var(--sapin-2); margin-bottom: 6px; }
[data-theme="dark"] .empty-state .es-ico { color: var(--citron); }
.empty-state .es-ico svg { width: 24px; height: 24px; }
.empty-state b { font-size: 16px; font-weight: 800; }
.empty-state p { color: var(--ink-2); font-size: 13.5px; max-width: 46ch; font-weight: 500; }
.empty-state .btn { margin-top: 10px; }
.person-switch select { max-width: 240px; }
.person-switch .inline-ico { color: var(--ink-2); }

/* ---------- Roadmap ---------- */
.rm { overflow: hidden; }
.rm-scroll { overflow-x: auto; scrollbar-width: thin; }
.rm-grid { min-width: 1100px; }
.rm-head, .rm-row, .rm-glabel { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.rm-head { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--border); }
.rm-corner { border-right: 1px solid var(--border); position: sticky; left: 0; z-index: 3; background: var(--surface); }
.rm-scale { position: relative; height: 58px; }
.rm-quarters, .rm-months { position: absolute; left: 0; right: 0; }
.rm-quarters { top: 8px; height: 22px; }
.rm-months { top: 32px; height: 22px; }
.rm-quarters span, .rm-months span { position: absolute; top: 0; height: 100%; display: flex; align-items: center; padding-left: 8px; white-space: nowrap; overflow: hidden; }
.rm-quarters span { font: 900 14px/1 var(--font-title); color: var(--ink); border-left: 2px solid var(--ink); }
.rm-months span { font-size: 11.5px; font-weight: 700; color: var(--muted); border-left: 1px solid var(--border); text-transform: capitalize; }
.rm-body { position: relative; padding-bottom: 14px; }
.rm-lines { position: absolute; top: 0; bottom: 0; left: 260px; right: 0; pointer-events: none; }
.rm-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid); }
.rm-today { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--critical); z-index: 1; }
.rm-today span { position: absolute; top: 4px; left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--critical); color: #fff; font: 800 10.5px var(--font); white-space: nowrap; }
.rm-group { position: relative; }
.rm-glabel { display: block; padding: 16px 0 6px 0; }
.rm-gl { position: sticky; left: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink); }
.rm-gl .cat { font-size: 13px; color: var(--ink); font-weight: 800; }
.rm-gl .gc { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 800; display: inline-grid; place-items: center; }
.rm-row { min-height: 52px; align-items: center; }
.rm-name { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 18px; min-width: 0; text-decoration: none; color: inherit; border-right: 1px solid var(--border); align-self: stretch; position: sticky; left: 0; z-index: 2; background: var(--surface); }
.rm-name:hover b { text-decoration: underline; text-underline-offset: 2px; }
.rm-name i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rm-name span { display: grid; min-width: 0; }
.rm-name b { font-size: 13.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-name small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.rm-track { position: relative; height: 52px; }
.rm-bar { position: absolute; top: 11px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--pc) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; align-items: center; transition: transform 0.15s, box-shadow 0.15s; }
.rm-bar:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--pc) 80%, transparent); }
.rm-bar.fuzzy { border-style: dashed; }
.rm-bar.ps-done { opacity: 0.6; }
.rm-bar.ps-paused { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pc) 16%, var(--surface)) 0 8px, var(--surface) 8px 14px); }
.rm-fill { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--pc); border-radius: 0 3px 3px 0; }
.rm-after { position: absolute; top: 17px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.rm-after.before { text-align: right; }
.rm-undated { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--border); font-size: 13px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.pcard { display: grid; gap: 12px; align-content: start; color: inherit; border-top: 5px solid var(--pc); }
.pcard h3 { font-size: 24px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pc-prog { display: flex; align-items: center; gap: 10px; }
.pc-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.pc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--pc, var(--sapin-2)); }
.pc-prog b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.pc-foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; padding-top: 10px; border-top: 1px dashed var(--border-strong); }
.pc-dates { margin-left: auto; color: var(--muted); font-weight: 700; white-space: nowrap; }
.pc-next { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.pc-next svg { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--muted); }
.pcard.add { display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 220px; border: 1.5px dashed var(--border-strong); background: transparent; box-shadow: none; color: var(--sapin-2); font: 800 14px var(--font); cursor: pointer; border-top-width: 1.5px; }
.pcard.add svg { width: 26px; height: 26px; }
[data-theme="dark"] .pcard.add { color: var(--citron); }

/* ---------- Projet ---------- */
.title-dot { width: 18px; height: 18px; flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 0%, transparent); }
.topbar.scrolled .title-dot { width: 13px; height: 13px; }
.sub-tags { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sub-tags .avatar.xs { margin-right: 2px; }
.proj-prog .pc-prog { margin: -2px 0 8px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mini-list button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; margin: 0 -8px; border: 0; border-radius: 11px; background: none; color: var(--ink); font: 700 13px/1.3 var(--font); text-align: left; cursor: pointer; }
.mini-list button:hover { background: var(--accent-wash); }
.mini-list button > span:not(.st) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list small { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.people-list { display: grid; gap: 2px; }
.pl-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 12px; text-decoration: none; color: inherit; font-size: 13px; font-weight: 700; }
.pl-row:hover { background: var(--accent-wash); }
.pl-row small { margin-left: auto; color: var(--muted); font-weight: 600; }

/* ---------- Récurrentes ---------- */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 22px; }
.rcard { display: grid; gap: 14px; align-content: start; padding: 22px 24px; }
.rcard.paused { opacity: 0.75; background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 20px); }
.rc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.rc-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--givre) 40%, var(--surface)); color: var(--sapin-2); }
[data-theme="dark"] .rc-ico { background: rgba(154, 255, 255, 0.12); color: var(--givre); }
.rc-ico svg { width: 19px; height: 19px; }
.rc-title h3 { font-size: 21px; line-height: 1.05; }
.rc-title p { margin-top: 5px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.rc-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px dashed var(--border-strong); }
.rc-grid > div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.rc-k { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.rc-v { font-size: 13px; font-weight: 800; }
.rc-occ { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; margin-left: -4px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: 800 12.5px var(--font); cursor: pointer; text-align: left; }
.rc-occ:hover { background: var(--accent-wash); }
.rc-dots { display: inline-flex; gap: 3px; flex-wrap: wrap; }
.rc-dots i { width: 9px; height: 9px; border-radius: 3px; background: var(--surface-3); }
.rc-dots i.ok { background: var(--st-done); } .rc-dots i.ko { background: var(--late); } .rc-dots i.na { background: var(--st-closed); }
.rc-late { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border-radius: 12px; background: var(--late-wash); color: var(--late); font-size: 12.5px; font-weight: 800; }
.rc-late svg { width: 15px; height: 15px; }
.rc-late .link-btn { color: var(--late); }

/* ---------- Charge ---------- */
.legend { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.lg { padding: 3px 9px; border-radius: 8px; }
.lg.lvl-calm { background: var(--lvl-calm); } .lg.lvl-busy { background: var(--lvl-busy); } .lg.lvl-over { background: var(--lvl-over); }
.load-wrap { margin: 0; padding: 0; }
table.load-table { border-collapse: separate; border-spacing: 0; }
table.load-table th, table.load-table td { padding: 0; }
table.load-table thead th { padding: 16px 8px 12px; vertical-align: bottom; }
table.load-table thead th.n { text-align: center; min-width: 96px; }
.wk-n { display: block; font: 900 16px/1 var(--font-title); color: var(--ink); }
.wk-d { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.wk-now { display: inline-block; margin-top: 6px; padding: 1px 7px; border-radius: 6px; background: var(--citron); color: var(--sapin); font-size: 10.5px; font-weight: 800; }
table.load-table th.now { background: color-mix(in srgb, var(--citron) 10%, transparent); }
table.load-table .who { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left; min-width: 220px; padding: 10px 14px 10px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 700; }
table.load-table thead .who { vertical-align: bottom; color: var(--muted); font-size: 11.5px; }
.who-in { display: flex; align-items: center; gap: 10px; }
.who-in > span:not(.avatar) { display: grid; min-width: 0; }
.who-in b { font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-in small, tfoot .who small { font-size: 11.5px; color: var(--muted); font-weight: 600; display: block; }
td.lc { text-align: center; border-bottom: 1px solid var(--border); padding: 5px 4px; }
td.lc > button, td.lc > span { display: grid; place-content: center; width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: transparent; font: 800 14px/1.1 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
td.lc > span { color: var(--muted); font-weight: 600; }
td.lc > button { cursor: pointer; transition: transform 0.12s, box-shadow 0.12s; }
td.lc > button:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(25, 57, 46, 0.45); }
td.lc small { font-size: 10.5px; font-weight: 800; color: var(--late); margin-top: 3px; }
td.lc.lvl-calm > button { background: var(--lvl-calm); }
td.lc.lvl-busy > button { background: var(--lvl-busy); }
td.lc.lvl-over > button { background: var(--lvl-over); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--critical) 55%, transparent); }
td.lc.lvl-none > button { background: var(--neutral-wash); }
td.lc.now { background: color-mix(in srgb, var(--citron) 7%, transparent); }
table.load-table tfoot td, table.load-table tfoot th { padding: 12px 6px; border-top: 1px solid var(--border-strong); text-align: center; }
table.load-table tfoot th.who { text-align: left; padding-left: 20px; font-size: 13px; color: var(--ink); }
table.load-table tfoot td b { display: block; font-size: 14px; }
table.load-table tfoot td small { color: var(--muted); font-size: 11px; font-weight: 700; }
.undated { display: grid; gap: 12px; }
.ud-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; align-items: start; }
.ud-who { font-weight: 800; font-size: 13px; padding-top: 6px; }
.ud-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ud-t { display: inline-flex; align-items: center; gap: 6px; max-width: 320px; padding: 5px 10px 5px 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--ink); font: 700 12.5px var(--font); cursor: pointer; }
.ud-t > span:not(.st) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-t small { color: var(--muted); font-weight: 700; }
.ud-t:hover { border-color: var(--border-strong); }

/* ---------- Paramètres ---------- */
.cap-list { display: grid; gap: 6px; margin-top: 14px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.cap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.cap-row .input { height: 36px; }
#people-form .cap-row .input { width: min(320px, 55%); }
.import-grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }
.drop { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border-radius: 20px; border: 2px dashed var(--border-strong); text-align: center; cursor: pointer; color: var(--ink-2); font-size: 13px; font-weight: 600; transition: border-color 0.15s, background 0.15s; }
.drop svg { width: 28px; height: 28px; color: var(--sapin-2); }
.drop b { color: var(--ink); font-size: 14px; }
.drop:hover, .drop.over { border-color: var(--sapin-2); background: var(--accent-wash); }
.drop:focus-within { outline: 2px solid var(--sapin-2); outline-offset: 2px; }
.import-preview { display: grid; gap: 14px; }
ul.kv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
ul.kv li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
ul.kv span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
ul.kv b { font-size: 20px; font-weight: 800; }
code { font: 700 12px ui-monospace, Menlo, monospace; padding: 1px 6px; border-radius: 6px; background: var(--surface-3); }
dl.shortcuts { display: grid; gap: 10px; margin: 0; }
dl.shortcuts div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; align-items: center; }
dl.shortcuts dt { display: flex; gap: 4px; flex-wrap: wrap; }
dl.shortcuts dd { margin: 0; font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .cal-wrap { grid-template-columns: minmax(0, 1fr); }
  .cal-side { position: static; }
  .cal-undated { max-height: none; flex-direction: row; flex-wrap: wrap; }
  .cal-undated .ci { width: auto; max-width: 260px; }
}
@media (max-width: 1100px) {
  .import-grid { grid-template-columns: 1fr; }
  .rgrid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .toolbar.card { position: static; }
  .board { grid-auto-columns: minmax(258px, 84vw); margin: 0 -14px; padding: 2px 14px 16px; scroll-padding: 0 14px; }
  .col { max-height: none; }
  .mcal-day { min-height: 82px; padding: 4px; }
  .ci { padding: 3px 4px; font-size: 10.5px; }
  .ci .st { display: none; }
  .td-props { grid-template-columns: 112px minmax(0, 1fr); }
  .td-body { padding: 16px 18px 60px; }
  .td-title, .td-title-ro { font-size: 25px; }
  .task-drawer { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; }
  .fab { display: grid; place-items: center; position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 35; width: 58px; height: 58px; border-radius: 20px; border: 0; background: var(--citron); color: var(--sapin); box-shadow: 0 16px 30px -12px rgba(25, 57, 46, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); cursor: pointer; }
  .fab svg { width: 26px; height: 26px; }
  .top-actions kbd { display: none; }
  .rm-head, .rm-row { grid-template-columns: 170px minmax(0, 1fr); }
  .rm-lines { left: 170px; }
  .rm-grid { min-width: 860px; }
  .legend { margin-left: 0; }
  .ud-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 700px) {
  /* Indicateurs en 2 × 2 sur téléphone */
  .bento.top4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bento.top4 .card { padding: 16px 16px 14px; border-radius: 20px; }
  .bento.top4 .stat-card .t { font-size: 17px; }
  .bento.top4 .stat-card .big { margin: 12px 0 6px; }
  .bento.top4 .stat-card .big .v { font-size: 30px; }
  .bento.top4 .stat-card .cap { font-size: 12px; }
  .bento.top4 .stat-ico { width: 17px; height: 17px; }
  .trow { grid-template-columns: auto minmax(0, 1fr); }
  .trow-side { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; gap: 10px; padding-bottom: 4px; }
  .tb-row .select { max-width: none; flex: 1 1 140px; }
  .search-field { max-width: none; flex-basis: 100%; }
  .mcal-dow { font-size: 10px; padding: 2px 2px 4px; }
  .mcal { gap: 2px; }
  .mcal-day { min-height: 64px; border-radius: 9px; }
  .mcal-n { font-size: 11px; }
  .ci span:last-child { display: none; }
  .ci { padding: 0; height: 8px; border-radius: 4px; background: var(--st-todo); box-shadow: none; }
  .ci > i, .ci .st { display: none; }
  .ci.st-ci-done { background: var(--st-done); } .ci.late { background: var(--late); }
  .rc-grid { grid-template-columns: 1fr 1fr; }
  .pcards { grid-template-columns: 1fr; }
  dl.shortcuts div { grid-template-columns: 1fr; gap: 4px; }
  .modal-actions [data-open-after] { margin-right: 0; }
  .wk-bar { grid-template-columns: 64px minmax(0, 1fr) 48px; }
}
@media print {
  .toolbar, .fab, .tick, .col-add, .mcal-add { display: none !important; }
}

/* Rangement des occurrences passées */
.stale-notice { align-items: flex-start; margin-bottom: 4px; }
.stale-notice svg { color: var(--sapin-2); }
[data-theme="dark"] .stale-notice svg { color: var(--citron); }
.older { font-size: 11px; font-weight: 800; color: var(--late); background: var(--late-wash); padding: 1px 7px; border-radius: 7px; white-space: nowrap; }
.rc-late .btn { margin-left: auto; color: var(--ink); }
.page-root { display: contents; }

/* ---------- Photos de profil ---------- */
.avatar.photo { background: var(--surface-3); }
.avatar.photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avatars .avatar.photo, .people .avatar.photo { box-shadow: 0 0 0 2px var(--surface); }
.ph-edit { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; }
.ph-stage { position: relative; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; background: var(--surface-3); box-shadow: 0 0 0 6px var(--accent-wash), var(--shadow); cursor: grab; touch-action: none; }
.ph-stage.grabbing { cursor: grabbing; }
.ph-stage:focus-visible { outline: 3px solid var(--sapin-2); outline-offset: 4px; }
.ph-stage canvas { width: 100%; height: 100%; display: block; }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ph-empty .avatar { width: 96px; height: 96px; font-size: 32px; }
.ph-side { display: grid; gap: 14px; justify-items: start; }
.ph-pick { cursor: pointer; }
.ph-zoom { width: 100%; }
.ph-zoom input { width: 100%; accent-color: var(--sapin-2); }
.btn.danger { color: var(--critical-text); }
@media (max-width: 560px) { .ph-edit { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- Équipe marketing ---------- */
.team-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--accent-wash); color: var(--sapin-2); font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
[data-theme="dark"] .team-badge { color: var(--citron); }
.team-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.team-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); }
.team-tile.pending { border-style: dashed; background: transparent; }
.team-tile > div { display: grid; min-width: 0; }
.team-tile b { font-size: 14.5px; font-weight: 800; }
.team-tile span { font-size: 12px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-tile small { font-size: 12px; font-weight: 700; color: var(--good-text); margin-top: 2px; }
.team-tile small.warn { color: var(--warning-text); }
.team-pick { display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; }
.team-pick .role-choice { align-items: center; }
.team-pick .role-choice input { margin: 0; }

/* ---------- Applications Skarlett (à côté du logo) ---------- */
.brand-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.brand-row .brand { flex: 1; min-width: 0; }
.apps-btn { flex: none; width: 34px; height: 34px; margin: -10px 0 0; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.apps-btn svg { width: 17px; height: 17px; }
.apps-btn:hover, .apps-btn[aria-expanded="true"] { color: var(--ink); background: var(--accent-wash); }
.apps-btn:active { transform: scale(0.96); }
@media (min-width: 901px) {
  .app.collapsed .brand-row { flex-direction: column; gap: 8px; }
  .app.collapsed .apps-btn { margin: -4px 0 4px; }
}
.apps-pop { width: min(360px, calc(100vw - 16px)); }
.apps-list { display: grid; gap: 6px; }
.app-tile { position: relative; display: grid; gap: 6px; padding: 14px 44px 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.app-tile:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.app-tile.current { background: var(--accent-wash); border-color: transparent; }
.app-tile.off { opacity: 0.6; }
.app-tile small { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.app-logo { display: flex; align-items: center; height: 36px; }
.app-logo img { height: 34px; width: auto; max-width: 100%; }
.studio-logo { display: inline-flex; align-items: center; gap: 10px; }
.studio-mark { width: 34px; height: 34px; border-radius: 10px; background: #0F100F; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(196, 255, 110, 0.18); }
.studio-mark img { width: 22px; height: 22px; }
.studio-logo b { font: 700 17px/1 'Montserrat', var(--font); letter-spacing: 0.01em; color: var(--ink); }
.app-head { display: inline-flex; align-items: center; gap: 10px; }
.app-head b { font-size: 15px; font-weight: 800; }
.app-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, var(--sapin-2), var(--sapin)); color: var(--citron); }
.app-ico svg { width: 18px; height: 18px; }
.app-tag { position: absolute; top: 14px; right: 12px; font-size: 11px; font-weight: 800; color: var(--sapin-2); background: var(--surface); padding: 2px 8px; border-radius: 7px; }
[data-theme="dark"] .app-tag { color: var(--citron); }
.app-tile .ext { position: absolute; top: 16px; right: 14px; width: 15px; height: 15px; color: var(--muted); }
.apps-edit { display: grid; gap: 12px; }
.app-row { display: grid; grid-template-columns: 44px minmax(140px, 1fr) minmax(200px, 1.6fr) minmax(180px, 1.6fr) 150px 34px; gap: 12px; align-items: end; padding: 12px; border-radius: 16px; background: var(--surface-2); }
.app-row .input, .app-row .select { width: 100%; height: 38px; font-size: 13px; }
.app-row .app-ico { align-self: center; }
@media (max-width: 1100px) { .app-row { grid-template-columns: 44px 1fr 34px; } .app-row .field { grid-column: 2; } .app-row [data-del-app] { grid-column: 3; grid-row: 1; } }

/* ---------- Frise : étirer et déplacer ---------- */
.rm-bar.editable { cursor: grab; touch-action: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.rm-bar.moving { cursor: grabbing; transform: none !important; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--pc) 90%, transparent); z-index: 3; transition: none; }
.rm-h { position: absolute; top: 0; bottom: 0; width: 10px; cursor: ew-resize; z-index: 2; touch-action: none; }
.rm-h.l { left: -2px; } .rm-h.r { right: -2px; }
.rm-h::after { content: ""; position: absolute; top: 7px; bottom: 7px; left: 4px; width: 2px; border-radius: 2px; background: var(--pc); opacity: 0; transition: opacity 0.15s; }
.rm-bar.editable:hover .rm-h::after, .rm-bar.moving .rm-h::after { opacity: 0.9; }
.rm-drag-label { position: absolute; top: -12px; transform: translateY(-50%); z-index: 4; padding: 4px 9px; border-radius: 8px; background: var(--sapin); color: var(--beige); font: 800 11.5px var(--font); white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-pop); }
[data-theme="dark"] .rm-drag-label { background: var(--citron); color: var(--sapin); }
.rm-track { overflow: visible; }
.rm-row { position: relative; }
body.is-resizing, body.is-resizing * { cursor: grabbing !important; user-select: none; }
body.is-resizing .tooltip { display: none; }
.ptag.placeable { cursor: grab; padding: 4px 9px; border-radius: 9px; border: 1px dashed var(--border-strong); touch-action: none; -webkit-user-drag: none; }
.ptag.placeable:hover { border-color: var(--sapin-2); background: var(--accent-wash); text-decoration: none; }
.rm-ghost { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; background: var(--surface); box-shadow: var(--shadow-pop); padding: 6px 10px; border-radius: 10px; }
.rm-ghost[data-when]::after { content: attr(data-when); margin-left: 8px; font-weight: 800; color: var(--sapin-2); }
.rm-body.drop-on { background: var(--accent-wash); }
.app-logo.mini { height: 30px; align-self: center; }
.app-logo.mini img { height: 26px; }
.app-logo.mini .studio-mark { width: 28px; height: 28px; border-radius: 8px; }
.app-logo.mini .studio-mark img { width: 18px; height: 18px; }
.app-logo.mini .studio-logo b { font-size: 13px; }
.app-row { grid-template-columns: 170px minmax(140px, 1fr) minmax(200px, 1.6fr) minmax(180px, 1.6fr) 150px 34px; }
@media (max-width: 1100px) { .app-row { grid-template-columns: 1fr 34px; } .app-row .field, .app-row .app-logo, .app-row .app-ico { grid-column: 1; } .app-row [data-del-app] { grid-column: 2; grid-row: 1; } }
