:root {
  --ink: #1f3b4d;
  --ink-soft: #4d6474;
  --paper: #ffffff;
  --page: #eef3f6;
  --line: #c9d5de;
  --brush: #cfe3f2;
  --legend: #fbf5d6;
  --green: #7cc35a;  --green-d: #4b9a33;
  --yellow: #ffd43b; --yellow-d: #d8a106;
  --orange: #f7a24e; --orange-d: #cf7421;
  --red: #ef5f5f;    --red-d: #c23b3b;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --round: "Fredoka", "Trebuchet MS", sans-serif;
  --sign: "Caveat", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  background-image: radial-gradient(#d7e2ea 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  min-height: 100vh;
}
button, select, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Titre "pinceau" ---------- */
.title-block {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.title-brush {
  background: var(--brush);
  border-radius: 46% 54% 40% 60% / 60% 45% 55% 40%;
  padding: 10px 24px 14px;
  text-align: center;
  position: relative;
}
.title-brush .sub {
  font-family: var(--round);
  font-weight: 600;
  font-size: clamp(18px, 3.2vw, 30px);
  line-height: 1.1;
}
.title-brush .main {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(34px, 7vw, 66px);
  line-height: 1;
  letter-spacing: -.5px;
}
.title-brush .main .dash { color: var(--ink); opacity: .9; font-weight: 600; }
.deco { width: 64px; height: 64px; justify-self: center; }

/* ---------- Barre du haut ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed var(--line);
}
.brand { font-family: var(--round); font-weight: 600; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.tabs { display: flex; gap: 8px; margin-right: auto; }
.tab {
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 18px;
}
.tab:hover { background: #f1f6fa; }
.tab.active { background: var(--brush); border-color: #a9c8e0; }
.who { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.who .avatar {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; font-size: 20px;
}
.btn-ghost {
  background: none; border: 2px solid var(--line); border-radius: 999px;
  padding: 3px 12px; cursor: pointer; font-size: 15px;
}
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- Feuille ---------- */
.sheet {
  max-width: 1120px;
  margin: 24px auto 48px;
  background: var(--paper);
  border-radius: 18px;
  padding: 26px 28px 30px;
  box-shadow: 0 2px 0 #dfe7ed, 0 12px 30px rgba(31,59,77,.08);
}
.box-soft {
  border: 2px solid #dbe4ea;
  border-radius: 14px;
  background: #f7fafc;
}

.info-row {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0;
  margin-bottom: 14px; overflow: hidden;
}
.info-row .field {
  padding: 12px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--round); font-weight: 600; font-size: 20px;
}
.info-row .field + .field { border-left: 2px solid #dbe4ea; }
.info-row .value {
  font-family: var(--hand); font-weight: 400; font-size: 24px;
  border-bottom: 2px dotted var(--line); padding: 0 6px; flex: 1; min-width: 160px;
}
.week-nav { display: flex; align-items: center; gap: 6px; flex: 1; flex-wrap: wrap; }
.week-nav select {
  font-family: var(--hand); font-size: 20px;
  border: none; border-bottom: 2px dotted var(--line); background: transparent;
  padding: 2px 4px; cursor: pointer; max-width: 100%;
}
.arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14px; display: grid; place-items: center;
}
.arrow:hover:not(:disabled) { background: var(--brush); }
.arrow:disabled { opacity: .35; cursor: default; }

.status {
  font-family: var(--hand); font-weight: 400; font-size: 16px;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.status.encours { background: #e2f3dc; color: #2f6b1d; }
.status.terminee { background: #eceff3; color: #4d6474; }
.status.avenir { background: #fff2cc; color: #8a6400; }

.banner {
  margin: 0 0 14px; padding: 10px 16px; border-radius: 12px;
  background: #eef2f6; border: 2px dashed #c3ced8; font-size: 17px;
}
.banner.warn { background: #fff8e1; border-color: #f0d68a; }

/* ---------- Légende ---------- */
.legend {
  background: var(--legend); border: 2px solid #efe4ae; border-radius: 14px;
  display: grid; grid-template-columns: auto repeat(4, 1fr);
  align-items: center; padding: 10px 14px; gap: 6px; margin-bottom: 18px;
}
.legend-title { font-family: var(--round); font-weight: 600; font-size: 24px; padding-right: 10px; transform: rotate(-4deg); }
.legend-item { display: flex; align-items: center; gap: 10px; padding: 0 10px; border-left: 2px solid #efe4ae; }
.legend-item b { font-family: var(--round); font-weight: 600; display: block; font-size: 19px; }
.legend-item small { color: var(--ink-soft); font-size: 15px; line-height: 1.1; display: block; }

/* ---------- Grille ---------- */
.grid-wrap { overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; }
.grid {
  display: grid;
  grid-template-columns: minmax(165px, 1.1fr) repeat(4, minmax(168px, 1fr));
  gap: 10px;
  min-width: 860px;
}
.day-head {
  font-family: var(--round); font-weight: 600; font-size: 22px;
  text-align: center; padding: 8px 4px; border-radius: 10px 10px 4px 4px;
  border: 2px solid rgba(0,0,0,.06);
}
.day-head small { display: block; font-family: var(--hand); font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.day-head.today { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #7cc35a; }

.cat {
  border-radius: 12px; padding: 10px 8px; text-align: center;
  border: 2px solid rgba(0,0,0,.05);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cat .icon { font-size: 34px; line-height: 1; }
.cat .name { font-family: var(--round); font-weight: 600; font-size: 21px; margin-top: 4px; }
.cat .detail { font-size: 15px; color: var(--ink-soft); line-height: 1.15; }

.cell {
  border-radius: 12px; border: 2px solid rgba(0,0,0,.04);
  display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: center; padding: 14px 6px;
}
.pick {
  background: none; border: none; padding: 4px 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border-radius: 10px; transition: transform .12s;
}
.pick:hover:not(:disabled) { transform: translateY(-2px); }
.pick:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 1px; }
.pick:disabled { cursor: default; }
.pick .face { transition: transform .15s, opacity .15s, filter .15s; }
.cell.has-value .pick:not(.selected) .face { opacity: .45; filter: saturate(.6); }
.pick.selected .face { transform: scale(1.18); }

.box {
  width: 26px; height: 26px; border: 2.5px solid var(--ink); border-radius: 5px;
  background: #fff; display: grid; place-items: center;
}
.pick.selected .box { background: #fff; }
.box svg { width: 22px; height: 22px; }

/* ---------- Observations ---------- */
.section-title {
  font-family: var(--round); font-weight: 600; font-size: 24px;
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
}
.section-title .ico { font-size: 26px; }
.obs, .bilan { padding: 14px 16px 16px; margin-bottom: 18px; }
.obs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.obs-col { border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid #e3eaef; }
.obs-col .head { text-align: center; font-family: var(--round); font-weight: 600; padding: 4px; }

textarea.lined {
  width: 100%; border: none; resize: vertical;
  background-color: #fff;
  background-image: linear-gradient(to bottom, transparent 27px, #c7d3dc 27px, #c7d3dc 28px);
  background-size: 100% 28px;
  background-attachment: local;
  line-height: 28px; font-size: 19px; padding: 0 10px; min-height: 112px;
  font-family: var(--hand);
}
textarea.lined:focus { outline: none; background-color: #fffef3; }
textarea.lined:disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; }

.bilan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bilan-col { background: #fff; border-radius: 10px; border: 2px solid #e3eaef; padding: 6px 8px 4px; }
.bilan-col .label { font-family: var(--round); font-weight: 600; font-size: 17px; display: flex; gap: 8px; align-items: center; padding: 2px 4px 4px; }

/* ---------- Signatures ---------- */
.signatures {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end;
  padding: 4px 6px;
}
.sig { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.sig .label { font-size: 17px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sig .line { flex: 1; min-width: 150px; border-bottom: 2px dotted var(--line); min-height: 40px; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; padding-bottom: 2px; }
.signed { font-family: var(--sign); font-size: 28px; line-height: 1; color: #1d4f91; }
.signed small { font-family: var(--hand); font-size: 13px; color: var(--ink-soft); margin-left: 4px; }
.btn-sign {
  font-family: var(--round); font-weight: 600; font-size: 15px;
  border: 2px solid #1d4f91; color: #1d4f91; background: #eef4fc;
  border-radius: 999px; padding: 4px 12px; cursor: pointer; margin-bottom: 4px;
}
.btn-sign:hover { background: #dce9fa; }
.unsign { border: none; background: none; cursor: pointer; color: var(--ink-soft); font-size: 13px; text-decoration: underline; padding: 0; margin-bottom: 6px; }
.motto { font-family: var(--sign); font-size: 24px; transform: rotate(-8deg); text-align: center; color: var(--ink); }
.motto .heart { color: #e05a6a; }

.saved {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  background: #2f6b1d; color: #fff; padding: 6px 14px; border-radius: 999px;
  font-size: 16px; opacity: 0; transform: translateY(8px); transition: .2s; pointer-events: none;
}
.saved.show { opacity: 1; transform: none; }

/* ---------- Connexion ---------- */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; position: relative; overflow: hidden;
}
.floaty { position: absolute; font-size: 44px; opacity: .85; user-select: none; pointer-events: none; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(6deg); } }
.login-card { width: min(640px, 100%); margin: 0; position: relative; z-index: 1; }
.login-card .hello { text-align: center; font-family: var(--round); font-weight: 600; font-size: 26px; margin: 4px 0 4px; }
.login-card .hint { text-align: center; color: var(--ink-soft); margin: 0 0 18px; }
.accounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.account {
  border: 3px solid transparent; border-radius: 16px; padding: 14px 8px 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; background: #f7fafc;
  transition: transform .12s, border-color .12s;
}
.account:hover { transform: translateY(-3px); }
.account.active { border-color: var(--ink); background: #fff; }
.account .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; }
.account .lib { font-family: var(--round); font-weight: 600; font-size: 19px; }
.login-form { display: grid; gap: 12px; }
.login-form label { display: grid; gap: 4px; font-family: var(--round); font-weight: 500; font-size: 17px; }
.login-form input {
  border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; font-family: var(--hand); font-size: 20px; background: #fff;
}
.login-form input:focus { outline: none; border-color: #6aa7d6; box-shadow: 0 0 0 4px #dbeaf6; }
.btn-main {
  margin-top: 6px; font-family: var(--round); font-weight: 600; font-size: 21px;
  background: var(--green); color: #fff; border: none; border-radius: 14px; padding: 12px;
  box-shadow: 0 4px 0 var(--green-d); cursor: pointer;
}
.btn-main:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-d); }
.error { color: var(--red-d); text-align: center; min-height: 24px; margin: 0; }
.legend-strip { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }

/* ---------- Progression ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.tile { padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.tile .k { color: var(--ink-soft); font-size: 16px; }
.tile .v { font-family: var(--round); font-weight: 600; font-size: 22px; line-height: 1.15; }
.tile .big { font-size: 38px; line-height: 1; }
.chart-card { padding: 14px 16px 10px; margin-bottom: 18px; }
.chart-card .sub { color: var(--ink-soft); margin: -6px 0 6px; font-size: 16px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--hand); fill: var(--ink-soft); }
.chart a { cursor: pointer; }
.chart a:hover .face-g { transform-box: fill-box; transform-origin: center; transform: scale(1.2); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-card { padding: 12px 14px 8px; border-radius: 14px; border: 2px solid rgba(0,0,0,.05); }
.cat-card .top { display: flex; align-items: center; gap: 10px; }
.cat-card .top .icon { font-size: 28px; }
.cat-card .top .name { font-family: var(--round); font-weight: 600; font-size: 21px; margin-right: auto; }
.trend { font-size: 15px; padding: 2px 10px; border-radius: 999px; background: #fff; white-space: nowrap; }
.trend.up { color: #2f6b1d; } .trend.down { color: var(--red-d); } .trend.flat { color: var(--ink-soft); }
.stack-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.stack-legend span { display: inline-flex; align-items: center; gap: 6px; }
.stack-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); font-size: 20px; }
.demo-note { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Formulaires d'accès / compte ---------- */
.pwd { position: relative; display: block; }
.pwd input { width: 100%; padding-right: 48px; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none; background: none; cursor: pointer; font-size: 20px; padding: 6px; }
.small-link { text-align: center; color: #1d4f91; font-size: 17px; }
.as-btn { background: none; border: none; cursor: pointer; text-decoration: underline; }
.btn-main.as-link { display: inline-block; text-decoration: none; padding: 10px 22px; }
.ok-box { text-align: center; background: #eef8e9; border: 2px dashed #a8d68f; border-radius: 14px; padding: 18px; font-size: 18px; }
.info-mail { background: #eef4fc; border: 2px dashed #b9d0ec; border-radius: 12px; padding: 8px 12px; font-size: 16px; }
.rule { color: var(--ink-soft); font-size: 15px; margin-top: -6px; }
.hint.left { text-align: left; margin: -4px 0 4px; }
.bot { display: flex; justify-content: center; min-height: 0; }
.bot:empty { display: none; }
.account-form { padding: 16px 18px 20px; }
.account-form .section-title { margin: 10px 0 0; font-size: 21px; }
.sheet.narrow { max-width: 640px; }
.loading { min-height: 100vh; display: grid; place-items: center; animation: bob 1.2s ease-in-out infinite; }
.saved.err { background: var(--red-d); }
.lined.readonly { white-space: pre-wrap; word-break: break-word; min-height: 112px; }
.btn-main:disabled { opacity: .6; cursor: wait; }

/* ---------- Bouton PDF ---------- */
.btn-pdf {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 14px 4px 10px; font-family: var(--round); font-weight: 600; font-size: 16px; color: var(--ink);
}
.btn-pdf svg { width: 22px; height: 22px; }
.btn-pdf:hover:not(:disabled) { background: #fdeef0; border-color: #e7a3ac; }
.btn-pdf:disabled { opacity: .5; cursor: wait; }

/* Pendant l'export PDF : on retire les boutons */
.pdf-export .arrow, .pdf-export .btn-sign, .pdf-export .unsign, .pdf-export .day-switch { display: none !important; }
.pdf-export .week-nav select { appearance: none; -webkit-appearance: none; border: none; }
.pdf-export .sheet { box-shadow: none; }

/* ---------- Choix du jour (téléphone) ---------- */
.day-switch { display: none; }

/* ---------- Tablette / téléphone ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .sheet { padding: 18px 14px 22px; margin: 14px 10px 30px; border-radius: 14px; }
  .title-block { grid-template-columns: 40px 1fr 40px; gap: 4px; }
  .deco { width: 38px; height: 38px; }
  .title-brush { padding: 8px 12px 10px; }
  .info-row { grid-template-columns: 1fr; }
  .info-row .field + .field { border-left: none; border-top: 2px solid #dbe4ea; }
  .week-nav select { flex: 1; min-width: 0; font-size: 17px; }
  .legend { grid-template-columns: 1fr 1fr; }
  .legend-title { grid-column: 1 / -1; }
  .legend-item { border-left: none; padding: 4px 0; }
  .obs-grid { grid-template-columns: 1fr 1fr; }
  .bilan-grid, .tiles, .cat-grid { grid-template-columns: 1fr; }
  .signatures { grid-template-columns: 1fr; }
  .accounts { gap: 8px; }
  .account .avatar { width: 52px; height: 52px; font-size: 30px; }

  .topbar { padding: 8px 12px; gap: 8px; }
  .brand { margin-right: auto; }
  .tabs { order: 3; width: 100%; overflow-x: auto; }
  .tab { white-space: nowrap; padding: 6px 12px; font-size: 17px; }
  .btn-pdf { order: 2; }
  .who { order: 2; }

  /* Fiche : un jour à la fois */
  .day-switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
  .day-switch button {
    font-family: var(--round); font-weight: 600; font-size: 15px; padding: 8px 2px; cursor: pointer;
    border-radius: 10px; border: 2px solid var(--c); background: #fff;
  }
  .day-switch button.active { background: var(--c); border-color: var(--ink); }
  .grid { min-width: 0; grid-template-columns: minmax(96px, 0.75fr) minmax(0, 2fr); gap: 8px; }
  .grid .corner { display: none; }
  .grid > [data-day] { display: none; }
  .grid[data-mday="jeu"] > .day-head[data-day="jeu"], .grid[data-mday="ven"] > .day-head[data-day="ven"],
  .grid[data-mday="lun"] > .day-head[data-day="lun"], .grid[data-mday="mar"] > .day-head[data-day="mar"] { display: block; grid-column: 1 / -1; }
  .grid[data-mday="jeu"] > .cell[data-day="jeu"], .grid[data-mday="ven"] > .cell[data-day="ven"],
  .grid[data-mday="lun"] > .cell[data-day="lun"], .grid[data-mday="mar"] > .cell[data-day="mar"] { display: grid; }
  .cat { padding: 8px 4px; }
  .cat .icon { font-size: 26px; }
  .cat .name { font-size: 17px; }
  .cat .detail { font-size: 13px; }
  .cell { padding: 10px 2px; }
  .pick .face { width: 34px; height: 34px; }
  .box { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .obs-grid { grid-template-columns: 1fr; }
  .who .name, .btn-ghost .lbl { display: none; }
  .btn-pdf span { display: none; }
  .btn-pdf { padding: 4px 8px; }
  .legend { gap: 2px 6px; }
  .legend-item .face { width: 32px; height: 32px; }
  .legend-item b { font-size: 16px; }
  .legend-item small { font-size: 13px; }
  .accounts .lib { font-size: 16px; }
  .tile { padding: 10px 12px; }
}
.btn-ghost .ico { display: none; }
@media (max-width: 480px) { .btn-ghost .ico { display: inline; } }

@media print {
  .topbar, .arrow, .btn-sign, .unsign, .status, .banner, .saved, .day-switch { display: none !important; }
  body { background: #fff; }
  .sheet { box-shadow: none; margin: 0; max-width: none; }
}
.title-brush .main { white-space: nowrap; }
.login-card .title-brush .main { font-size: clamp(28px, 6.5vw, 52px); }
@media (max-width: 480px) { .title-brush .main .dash { display: none; } }

/* ---------- Mail facultatif, signatures auto, gestion des comptes ---------- */
.opt { font-weight: 400; color: var(--ink-soft); font-size: 15px; }
.sig-wait { color: var(--ink-soft); font-size: 15px; font-style: italic; }
.signed + .signed { margin-left: 14px; }
.admin-box { margin-top: 18px; }
.admin-users { display: grid; gap: 10px; }
.admin-user { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid #e3eaef; border-radius: 12px; padding: 8px 12px; flex-wrap: wrap; }
.admin-user .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.admin-user .who-lib { flex: 1; min-width: 150px; display: grid; }
.admin-user .who-lib b { font-family: var(--round); font-weight: 600; }
.admin-user .who-lib small { color: var(--ink-soft); font-size: 14px; }
.btn-reset { font-family: var(--round); font-weight: 600; font-size: 15px; border: 2px solid var(--orange-d); color: #8a4a0f; background: #fff3e6; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.btn-reset:hover { background: #ffe6cc; }
.admin-confirm { background: #fff8e1; border: 2px dashed #f0d68a; border-radius: 12px; padding: 12px; display: grid; gap: 10px; }
.admin-confirm .confirm-txt { margin: 0; }
.row-btns { display: flex; gap: 10px; align-items: center; }
.row-btns .btn-main { margin: 0; flex: 1; }
.btn-main.danger { background: var(--orange); box-shadow: 0 4px 0 var(--orange-d); }
@media (max-width: 480px) {
  .tabs { gap: 4px; }
  .tab { flex: 1; text-align: center; padding: 6px 4px; font-size: 15px; }
}

/* ---------- Envoi aux parents (enseignant) ---------- */
.notify-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 18px; background: #eef8e9; border-color: #b9dfa6; flex-wrap: wrap; }
.notify-bar .ico { font-size: 30px; }
.notify-bar .txt { flex: 1; min-width: 200px; font-size: 17px; }
.notify-bar .txt small { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.btn-send {
  font-family: var(--round); font-weight: 600; font-size: 17px; cursor: pointer;
  background: var(--green); color: #fff; border: none; border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 3px 0 var(--green-d); white-space: nowrap;
}
.btn-send:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-d); }
.btn-send:disabled { opacity: .6; cursor: wait; }
.pdf-export .notify-bar { display: none !important; }
@media (max-width: 480px) { .btn-send { width: 100%; } }
