/* Écran d'accueil ProAppli Tabler */
body.tabler-welcome-on #editorHtml,
body.tabler-welcome-on #editorMarkdown { display: none; }
.tabler-welcome[hidden] { display: none; }
.tabler-welcome {
    max-width: 880px; margin: 24px auto; padding: 36px 24px 28px;
    text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.tw-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 12px; font: 900 32px 'Segoe UI', Arial, sans-serif;
    color: #fff; background: linear-gradient(135deg, #1a7f37 0%, #2ea043 100%); margin-bottom: 12px;
}
.tw-title { font-size: 28px; font-weight: 700; color: #1f2328; margin: 0 0 6px; }
.tw-slogan { font-size: 16px; color: #57606a; margin: 0 0 6px; }
.tw-compare { display: inline-block; font-size: 14px; color: #1a7f37; background: none; border: none;
    cursor: pointer; text-decoration: underline; padding: 4px; margin-bottom: 24px; }
.tw-compare:hover { color: #116329; }
.tw-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
}
.tw-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 140px; padding: 18px 12px; border: 1px solid #d0d7de; border-radius: 12px;
    background: #f6f8fa; color: #1f2328; cursor: pointer; font: inherit;
    transition: transform .12s, box-shadow .12s, border-color .12s, background .12s;
}
.tw-btn:hover, .tw-btn:focus-visible {
    transform: translateY(-2px); border-color: #2ea043; background: #fff;
    box-shadow: 0 6px 18px rgba(26,127,55,.15); outline: none;
}
.tw-ico { font-size: 34px; line-height: 1; }
.tw-lbl { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tw-sub { line-height: 1.3; }
.tw-sub { font-size: 12px; color: #6e7781; }
.tw-btn.tw-primary { background: linear-gradient(135deg, #1a7f37 0%, #2ea043 100%); color: #fff; border-color: #1a7f37; }
.tw-btn.tw-primary .tw-sub { color: rgba(255,255,255,.85); }
.tw-btn.tw-primary:hover { background: linear-gradient(135deg, #116329 0%, #1a7f37 100%); }
@media (prefers-color-scheme: dark) {
    .tabler-welcome { background: #1e1e1e; border-color: #333; }
    .tw-title { color: #eee; }
    .tw-slogan, .tw-sub { color: #aaa; }
    .tw-btn { background: #2a2a2a; border-color: #444; color: #eee; }
    .tw-btn:hover { background: #333; }
    .tw-compare { color: #3fb950; }
}
@media (max-width: 768px) {
    .tabler-welcome { margin: 8px; padding: 22px 12px; border-radius: 10px; }
    .tw-title { font-size: 21px; }
    .tw-slogan { font-size: 14px; }
    .tw-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tw-btn { min-height: 110px; padding: 12px 8px; }
    .tw-ico { font-size: 28px; }
}

.tw-origin { margin: 22px 0 0; font-size: 12.5px; color: #6a7a96; line-height: 1.5; }
