/* Version locale : premier lancement, bandeau de licence, activation, filigrane démo */
.gs-setup{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:32px 16px;background:linear-gradient(160deg,#eaf2fb,#f7f9fc)}
.gs-setup-card{width:min(640px,100%);background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(15,40,80,.15);padding:28px 32px;display:grid;gap:14px}
.gs-setup-card>img{width:84px;height:84px;margin:0 auto}
.gs-setup-card h1{margin:0;text-align:center;font-size:1.5rem;color:#0f2a4a}
.gs-setup-card>p,.gs-setup-card>small{margin:0;text-align:center;color:#5b6b7f}
.gs-setup-card fieldset{border:1px solid #dbe4ef;border-radius:12px;padding:12px 16px;display:grid;gap:10px}
.gs-setup-card legend{font-weight:700;color:#1565c0;padding:0 6px}
.gs-setup-card label{display:grid;gap:4px;font-size:.9rem;font-weight:600;color:#24364d}
.gs-setup-card input,.gs-setup-card select{padding:10px 12px;border:1px solid #c9d6e5;border-radius:10px;font:inherit}
.gs-setup-error,.gs-activation-error{color:#b3261e;margin:0;min-height:1em;font-weight:600}
.gs-licence-banner{white-space:nowrap;font-weight:600;border-color:#f0c36d!important;background:#fff6e0!important;color:#7a4b00!important}
.gs-licence-banner.is-expired{border-color:#e7a19b!important;background:#fdecea!important;color:#8c1d18!important}
.gs-licence-banner.is-full{border-color:#a8d5b5!important;background:#e9f6ee!important;color:#1d6b36!important;cursor:default}
.gs-activation{max-width:560px;width:calc(100% - 32px);border:0;border-radius:16px;padding:24px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.gs-activation::backdrop{background:rgba(15,30,50,.45)}
.gs-activation h2{margin-top:0;color:#0f2a4a}
.gs-activation ol{padding-left:20px;display:grid;gap:8px}
.gs-activation textarea{width:100%;box-sizing:border-box;font:13px/1.4 Consolas,monospace;padding:10px;border:1px solid #c9d6e5;border-radius:10px}
.gs-install-id{font:700 1.05rem Consolas,monospace;letter-spacing:.06em;color:#1565c0}
.gs-activation-actions,.gs-licence-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.gs-licence-card .gs-profile-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end;margin-bottom:16px}
.gs-licence-card .gs-profile-form label{display:grid;gap:4px}
.gs-licence-info{border-top:1px solid #e3eaf3;padding-top:12px}
.gs-licence-actions{justify-content:flex-start}
@media print{html.gs-demo body::after{content:"VERSION DÉMO";position:fixed;top:45%;left:10%;transform:rotate(-30deg);font:700 72px Arial,sans-serif;color:rgba(200,0,0,.13);z-index:99999}}
.gs-download{display:block;text-align:center;text-decoration:none;padding:12px;border-radius:10px;background:#1565c0;color:#fff;font-weight:700}
.gs-mode-choice{display:grid;gap:4px;text-align:left;padding:16px;border:1px solid #c9d6e5;border-radius:12px;background:#fff;cursor:pointer;font:inherit}
.gs-mode-choice:hover{border-color:#1565c0;background:#f3f8fe}
.gs-mode-choice strong{font-size:1.05rem;color:#0f2a4a}.gs-mode-choice span{color:#5b6b7f}
.gs-register-cta{text-align:center;margin:4px 0 0;color:#5b6b7f}.gs-login-card fieldset{border:1px solid #dbe4ef;border-radius:12px;padding:10px 14px;display:grid;gap:8px}.gs-login-card legend{font-weight:700;color:#1565c0}
.gs-structures{display:flex;flex-wrap:wrap;gap:8px 18px;border:1px solid #dbe4ef;border-radius:12px;padding:10px 14px;grid-column:1/-1}.gs-structures legend{font-weight:700;color:#1565c0}.gs-check{display:inline-flex!important;gap:6px;align-items:center;font-weight:500}
/* Cases à cocher (niveaux, formule, conditions) : case collée à son texte, alignée à gauche */
.gs-structures,.gs-plans{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px 18px;border:1px solid #dbe4ef;border-radius:12px;padding:10px 14px}
.gs-plans{grid-template-columns:1fr}
.gs-plans legend,.gs-structures legend{font-weight:700;color:#1565c0;padding:0 6px}
.gs-check{display:flex!important;flex-direction:row!important;grid-template-columns:none!important;justify-content:flex-start!important;align-items:center;gap:8px;text-align:left!important;font-weight:500;line-height:1.35}
.gs-check input[type=checkbox],.gs-check input[type=radio]{width:18px!important;height:18px;min-width:18px;flex:0 0 18px;margin:0;padding:0}
.gs-consent{background:#eef5fd;border-radius:10px;padding:10px 12px}
