.ticket{--ticket-accent:#f19a38;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;align-items:center;gap:.35mm;border:1px solid #bfd0e3;border-right:3px solid var(--ticket-accent);border-radius:5px;padding:1.2mm;overflow:hidden;text-align:left;color:#17456f;background:#fff;font:8px/1.2 "Segoe UI",Arial,sans-serif;break-inside:avoid;overflow-wrap:anywhere}.ticket:before{content:'TICKET WI-FI';grid-column:2;grid-row:1;text-align:right;font-size:6px;letter-spacing:.04em;color:#55789e}.ticket.accent-gold{--ticket-accent:#c19a46}.ticket.accent-orange{--ticket-accent:#ef9335}.ticket.accent-green{--ticket-accent:#269572}.ticket.accent-purple{--ticket-accent:#8d69bb}
.ticket .ticket-logo{grid-column:1;grid-row:1;width:100%;max-width:18mm;height:5mm;object-fit:contain;object-position:left center;padding:0;flex-shrink:0;background:transparent}.ticket .code{box-sizing:border-box;grid-column:1/-1;grid-row:2;width:100%;border:0;border-left:2px solid var(--ticket-accent);border-radius:2px;padding:1.2mm .5mm;background:#edf5fc;color:#06477b;text-align:center;font:800 8px/1.2 Consolas,monospace;letter-spacing:.05em;overflow-wrap:anywhere;white-space:normal}.ticket .ticket-meta{grid-row:3;grid-column:1;font-size:7px;max-width:100%}.ticket .ticket-meta:first-of-type{grid-column:2;text-align:right;font-weight:700;color:var(--ticket-accent)}.ticket .ticket-name{grid-column:1/-1;grid-row:4;max-width:100%;font-size:8px;color:#17456f;line-height:1.2}.ticket .ticket-name:before{content:'Réseau · ';font-weight:400;color:#577591}.ticket .ticket-contact{grid-column:1/-1;grid-row:5;font-size:6px;color:#577591}.ticket .ticket-message{grid-column:1/-1;grid-row:6;font-size:6px;color:#577591}.ticket .ticket-state{grid-column:1/-1;grid-row:8;font-size:5.5px;font-weight:600;color:#6a7e91;border-top:1px solid #e2eaf2;margin:0;padding-top:.5mm}.ticket .qr,.ticket .qr-placeholder{grid-column:1/-1;grid-row:7;justify-self:center;width:7mm;height:7mm;margin:.25mm;flex-shrink:0}.qr-placeholder{display:grid;place-items:center;border:1px dashed #aab5c3;border-radius:3px;font-size:6px;color:#64748b;background:#fff}.ticket:has(.code+.code) .code+.code{grid-row:3}.ticket:has(.code+.code) .ticket-meta{grid-row:4}.ticket:has(.code+.code) .ticket-name{grid-row:5}.ticket:has(.code+.code) .ticket-contact{grid-row:6}.ticket:has(.code+.code) .ticket-message{grid-row:7}.ticket:has(.code+.code) .qr,.ticket:has(.code+.code) .qr-placeholder{grid-row:8}.ticket:has(.code+.code) .ticket-state{grid-row:9}
.layout-12 .ticket{padding:1mm;gap:.25mm}.layout-12 .ticket-logo{width:28mm;height:6mm}.layout-12 .code{font-size:12px;padding:1.5mm}.layout-12 .ticket-meta,.layout-12 .ticket-name{font-size:9px}.layout-12 .ticket-contact,.layout-12 .ticket-message{font-size:8px}.layout-12 .ticket-state{font-size:6px}
.ticket-grid.layout-42 .ticket{padding:.3mm 1mm;gap:0;align-content:center}.ticket-grid.layout-42 .ticket-logo{height:2.5mm}.ticket-grid.layout-42 .code{font-size:11.5px;line-height:1.1;padding:0 .3mm}.ticket-grid.layout-42 .ticket-meta,.ticket-grid.layout-42 .ticket-name{font-size:6.5px}.ticket-grid.layout-42 .ticket-contact,.ticket-grid.layout-42 .ticket-message{font-size:5.5px}.ticket-grid.layout-42 .ticket-state{font-size:5px;padding-top:.2mm}.ticket-grid.layout-42 .ticket:has(.code+.code){gap:0;padding:.3mm 1mm}.ticket-grid.layout-42 .ticket:has(.code+.code) .code{font-size:7px;line-height:1.05;padding:0 .3mm}.ticket-grid.layout-42 .ticket:has(.code+.code) .ticket-logo{height:2.5mm}
.ticket .ticket-whatsapp{grid-column:1/-1;grid-row:7;font-size:6px;color:#187345;line-height:1.2}.ticket .ticket-whatsapp:before{content:'☎';display:inline-block;margin-right:3px;color:#fff;background:#238d51;border-radius:50%;width:9px;height:9px;text-align:center;font-size:7px;line-height:9px}.ticket:has(.code+.code) .ticket-whatsapp{grid-row:8}.ticket-grid.layout-42 .ticket-whatsapp{font-size:5.5px}.ticket-grid.layout-42 .ticket-whatsapp:before{width:7px;height:7px;line-height:7px;font-size:6px}.pz-ticket-area .ticket .ticket-whatsapp{font-size:9px}.pz-ticket-area .ticket .ticket-whatsapp:before{width:12px;height:12px;line-height:12px;font-size:9px}
.ticket-grid.layout-42 .ticket-contact{grid-row:5;grid-column:1}.ticket-grid.layout-42 .ticket-message{grid-row:5;grid-column:2;text-align:right}.ticket-grid.layout-42 .ticket-whatsapp{grid-row:6}.ticket-grid.layout-42 .ticket-state{grid-row:7}.ticket-grid.layout-42 .ticket:has(.code+.code) .ticket-contact{grid-row:6}.ticket-grid.layout-42 .ticket:has(.code+.code) .ticket-message{grid-row:6}.ticket-grid.layout-42 .ticket:has(.code+.code) .ticket-whatsapp{grid-row:7}.ticket-grid.layout-42 .ticket:has(.code+.code) .ticket-state{grid-row:8}
.ticket-editor{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ticket-preview{background:var(--bg,#eef2f7);border-radius:12px;padding:16px}.ticket-preview-paper{display:flex;justify-content:center;padding:16px 0}.ticket-preview-paper .ticket{box-sizing:border-box;width:31.5mm;height:39mm;flex-shrink:0}.ticket-preview-paper.layout-12 .ticket{width:96.5mm;height:45mm}.ticket-preview{min-width:0;overflow:auto}.ticket-editor input[type=file]{max-width:100%;font-size:12px}.ticket-check-label{display:flex;gap:10px;align-items:center}.ticket-check-label input{width:auto}
#modal:has(.ticket-editor){width:min(1050px,95vw);max-width:1050px}
@media(max-width:750px){.ticket-editor{grid-template-columns:1fr}}

/* Same ticket dimensions; larger logo and secondary text. */
.ticket-grid.layout-42 .ticket-logo{height:4.5mm;max-width:26mm}
.ticket-grid.layout-42 .code{font-size:12px}
.ticket-grid.layout-42 .ticket-meta{font-size:8px;line-height:1.1}
.ticket-grid.layout-42 .ticket-name{font-size:8.5px;line-height:1.1}
.ticket-grid.layout-42 .ticket-contact,.ticket-grid.layout-42 .ticket-message,.ticket-grid.layout-42 .ticket-whatsapp{font-size:7.5px;line-height:1.1}
.ticket-grid.layout-42 .ticket-state{font-size:5.5px}
.pz-ticket-area .ticket{gap:2px;padding:6px}
.pz-ticket-area .ticket .ticket-logo{width:130px;max-width:130px;height:32px;min-height:32px}
.pz-ticket-area .ticket .ticket-meta{font-size:11px}
.pz-ticket-area .ticket .ticket-name{font-size:12px}
.pz-ticket-area .ticket .ticket-contact,.pz-ticket-area .ticket .ticket-message,.pz-ticket-area .ticket .ticket-whatsapp{font-size:10.5px}

/* Shared ticket relief renderer, photo placement lives in ticket-template. */
.ticket.ticket-relief{display:grid!important;grid-template-columns:42% minmax(0,1fr)!important;grid-template-rows:1fr!important;gap:3%!important;padding:3%!important;border:1px solid #c9c9c5!important;border-left:1px solid #c9c9c5!important;border-radius:8px!important;color:#17364b!important;background:linear-gradient(140deg,#fff,#eeefea)!important;box-shadow:0 3px 7px #0002;align-items:stretch!important;text-align:left;overflow:hidden;font-family:Arial,sans-serif!important}.ticket.ticket-relief:before,.ticket.ticket-relief:after{content:none!important}.rt-brand{min-width:0;border-radius:12px;background:linear-gradient(135deg,#fff,#d5d6d1);box-shadow:inset 0 1px 2px #fff,2px 3px 4px #0003;padding:8%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.rt-wifi{font-size:24px;line-height:1;color:#9b9d98;transform:rotate(-30deg);font-weight:bold}.rt-logo{display:block;width:100%;height:auto;max-height:26px;object-fit:contain}.rt-tagline{font-size:7px;text-align:center;line-height:1.2;color:#5e6870}.rt-body{min-width:0;display:flex;flex-direction:column;gap:3px;justify-content:center}.rt-banner{font-size:10px;font-weight:800;background:linear-gradient(120deg,#289fb1,#28628c);color:#fff;border-radius:4px;padding:4px 6px;box-shadow:0 2px 0 #c4a653;letter-spacing:.02em}.rt-code{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:2px 4px;border:1px solid #c7d0cf;background:linear-gradient(#f9faf8,#e0e5e1);border-radius:3px}.rt-code small{font-size:6px}.rt-code strong{font-size:20px;line-height:1.05;letter-spacing:.04em;overflow-wrap:anywhere}.rt-manual{font-size:6px;line-height:1.15}.rt-network{font-size:9px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}.rt-duration{border-top:1px solid #bdc5c5;padding-top:2px;font-size:8px;font-weight:bold}.rt-contact,.rt-password{font-size:7px;line-height:1.15;overflow-wrap:anywhere}.rt-state{font-size:5px;color:#54616b;line-height:1.1}.ticket-grid.layout-42 .ticket.ticket-relief{padding:1.2mm!important;gap:1.5mm!important}.ticket-grid.layout-42 .rt-brand{padding:1.5mm;gap:1mm}.ticket-grid.layout-42 .rt-wifi{font-size:18px}.ticket-grid.layout-42 .rt-logo{max-height:8mm}.ticket-grid.layout-42 .rt-banner{font-size:8px;padding:2px 3px}.ticket-grid.layout-42 .rt-code strong{font-size:17px}.ticket-grid.layout-42 .rt-body{gap:1px}.ticket-grid.layout-42 .rt-tagline{font-size:6px}.ticket-grid.layout-42 .rt-network{font-size:8px}.ticket-grid.layout-42 .rt-duration{font-size:7px}.ticket-grid.layout-42 .rt-contact,.ticket-grid.layout-42 .rt-password{font-size:6px}.ticket-grid.layout-12 .rt-code strong{font-size:27px}.ticket-grid.layout-12 .rt-banner{font-size:13px}.ticket-grid.layout-12 .rt-network{font-size:12px}.ticket-grid.layout-12 .rt-duration{font-size:11px}

.ticket.ticket-relief{position:relative;container-type:inline-size;display:block!important;background:var(--rt-bg,#f3f3ee)!important;color:var(--rt-ink,#17364b)!important;border-radius:var(--rt-radius,8px)!important;box-shadow:0 calc(var(--rt-depth,8px)*.4) var(--rt-depth,8px) #0003!important}.ticket-relief .rt-body{display:contents}.ticket-relief .rt-brand{position:absolute;left:3%;top:6%;width:39%;height:82%;padding:0;display:block;box-shadow:inset 1px 1px 3px #fff,calc(var(--rt-depth,8px)*.4) calc(var(--rt-depth,8px)*.5) var(--rt-depth,8px) #0004}.ticket-relief .rt-brand>*{position:fixed}.ticket-relief .rt-brand{position:static;background:none;box-shadow:none}.ticket-relief .rt-brand:before{content:'';position:absolute;inset:6% 58% 8% 3%;border-radius:var(--rt-radius,8px);background:linear-gradient(135deg,#fff,#d6d8d4);box-shadow:inset 1px 1px 3px #fff,calc(var(--rt-depth,8px)*.4) calc(var(--rt-depth,8px)*.5) var(--rt-depth,8px) #0004}.ticket-relief .rt-brand>*,.ticket-relief .rt-body>*{position:absolute;box-sizing:border-box;left:var(--rt-x);top:var(--rt-y);width:var(--rt-w);font-size:var(--rt-size)!important;margin:0;max-height:none;min-height:0;line-height:1.1;color:inherit;overflow-wrap:anywhere}.ticket-relief .rt-wifi{--rt-x:13%;--rt-y:15%;--rt-w:18%;--rt-size:9cqw;text-align:center;color:#989d98}.ticket-relief .rt-logo{--rt-x:7%;--rt-y:47%;--rt-w:31%;height:18%;object-fit:contain}.ticket-relief .rt-tagline{--rt-x:7%;--rt-y:71%;--rt-w:31%;--rt-size:2cqw}.ticket-relief .rt-banner{--rt-x:46%;--rt-y:7%;--rt-w:50%;--rt-size:4.1cqw;background:var(--rt-blue,#287596);color:white;padding:1.5% 2%;box-shadow:0 2px 0 #b69e64}.ticket-relief .rt-code{--rt-x:46%;--rt-y:27%;--rt-w:50%;--rt-size:6cqw;display:block;padding:1% 2%}.ticket-relief .rt-code small{font-size:1.8cqw;display:block;letter-spacing:.05em}.ticket-relief .rt-code strong{font-size:inherit!important;display:block;line-height:1;letter-spacing:0;white-space:normal}.ticket-relief .rt-manual{--rt-x:46%;--rt-y:51%;--rt-w:50%;--rt-size:1.9cqw}.ticket-relief .rt-network{--rt-x:46%;--rt-y:59%;--rt-w:50%;--rt-size:3.1cqw}.ticket-relief .rt-duration{--rt-x:46%;--rt-y:71%;--rt-w:50%;--rt-size:2.8cqw;padding-top:1%}.ticket-relief .rt-contact{--rt-x:46%;--rt-y:82%;--rt-w:50%;--rt-size:2cqw}.ticket-relief .rt-state{--rt-x:46%;--rt-y:91%;--rt-w:50%;--rt-size:1.4cqw}.ticket-relief .rt-password{--rt-x:46%;--rt-y:45%;--rt-w:50%;--rt-size:2.3cqw;background:var(--rt-bg,#fff)}.ticket-relief:has(.rt-password) .rt-manual{--rt-y:54%;--rt-size:1.5cqw}.tl-preview{position:sticky;top:90px}.tl-preview .ticket{min-height:0!important;aspect-ratio:2.5}.tl-block-editor{border:1px solid var(--line);padding:12px;border-radius:12px}.tl-range-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tl-range-grid label{font-size:12px}.tl-range-grid input{width:100%}@media(max-width:800px){.tl-preview{position:static}.tl-preview .ticket{aspect-ratio:2.2}}
.ticket-relief .rt-wifi{font-size:0!important;height:19%;border:4px solid currentColor;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:none!important}.ticket-relief .rt-wifi:before{content:'';position:absolute;left:18%;right:18%;top:22%;height:55%;border:3px solid currentColor;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%}.ticket-relief .rt-wifi:after{content:'';position:absolute;left:43%;top:65%;width:13%;aspect-ratio:1;background:currentColor;border-radius:50%}

.ticket-relief .rt-brand{--rt-x:3%;--rt-y:6%;--rt-w:39%}.ticket-relief .rt-brand:before{inset:auto;left:var(--rt-x);top:var(--rt-y);width:var(--rt-w);height:82%;transform:rotate(var(--rt-rotation,0deg))}.ticket-relief .rt-wifi{transform:rotate(var(--rt-rotation,0deg))!important}.ticket-relief:has(.rt-password) .rt-code{--rt-size:4.5cqw}.ticket-relief:has(.rt-password) .rt-password{--rt-y:44%;--rt-size:2cqw}.tl-preview .tl-note{color:#526068}.tl-preview select{width:100%;min-height:44px;margin:6px 0;background:white;color:#17364b}
/* Default composition prioritises the printable code, network and duration. */
.ticket-grid.layout-42 .ticket.ticket-relief{border-left:1px solid #c9c9c5!important}.ticket-relief .rt-logo{--rt-x:5%;--rt-y:42%;--rt-w:35%;height:24%}.ticket-relief .rt-tagline{--rt-y:75%;--rt-size:2.1cqw}.ticket-relief .rt-code{--rt-y:26%;--rt-size:7.2cqw;padding:2%}.ticket-relief .rt-manual{--rt-y:55%;--rt-size:2.1cqw}.ticket-relief .rt-network{--rt-y:65%;--rt-size:3.8cqw}.ticket-relief .rt-duration{--rt-y:77%;--rt-size:3.6cqw}.ticket-relief .rt-contact{--rt-y:88%;--rt-size:2.2cqw}.ticket-relief .rt-state{--rt-y:96%;--rt-size:1.5cqw}.ticket-relief:has(.rt-password) .rt-code{--rt-size:5cqw}.ticket-relief:has(.rt-password) .rt-password{--rt-y:46%;--rt-size:2.5cqw}.ticket-relief:has(.rt-password) .rt-manual{--rt-y:56%;--rt-size:1.8cqw}
.ticket-relief .rt-logo{filter:drop-shadow(0 1px 1px #284760)}.ticket-relief .rt-state{--rt-y:94%;--rt-size:1.7cqw}.ticket-relief .rt-contact{--rt-y:87%;--rt-size:2.3cqw}

.ticket-relief .rt-code{padding:1% 2%}.ticket-relief .rt-manual{--rt-y:56%;--rt-size:2.3cqw}.ticket-relief .rt-network{--rt-y:66%;--rt-size:3.9cqw}.ticket-relief .rt-duration{--rt-y:79%;--rt-size:3.7cqw}.ticket-relief .rt-state{--rt-y:95%;--rt-size:1.6cqw}
.tl-preview .ticket.ticket-relief{aspect-ratio:1.75!important}.pz-ticket-area .ticket.ticket-relief{aspect-ratio:1.75!important;min-height:0!important;height:auto!important}.ticket-relief .rt-brand[style*="display: none"]:before{display:none}
.tl-form input,.tl-form select,.tl-block-editor input{min-height:44px!important}.tl-form input[type=checkbox]{min-height:24px!important;width:24px!important}.tl-form summary{min-height:44px;cursor:pointer}.tl-preview select{font:inherit}

.ticket .ticket-logo,.ticket .rt-logo{filter:none!important;object-fit:contain!important}
/* Dedicated photo zone, scoped so existing photo-free native prints are unchanged. */
.ticket-grid .ticket-with-photo:not(.ticket-relief){position:relative;display:block!important}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-logo{position:absolute;left:3%;top:3%;width:28%;height:12%;max-width:none}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .code{position:absolute;box-sizing:border-box;left:3%;top:23%;width:94%;height:30%;padding:1%;font-size:4.3cqw!important;line-height:1.1;overflow:hidden}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .code-label{display:inline;font-size:2.3cqw}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .code-value{display:inline;font:inherit}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-meta{position:absolute;left:3%;top:57%;width:70%;font-size:2.8cqw;text-align:left}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-meta~.ticket-meta{left:auto;right:3%;width:23%;text-align:right}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-name{position:absolute;left:3%;top:69%;font-size:2.7cqw!important}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-contact,.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-whatsapp{position:absolute;left:3%;top:81%;font-size:2.4cqw!important}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-message{position:absolute;left:3%;top:88%;font-size:2cqw!important}
.ticket-grid .ticket-with-photo:not(.ticket-relief) .ticket-state{position:absolute;left:3%;bottom:1%;font-size:1.8cqw!important}
.ticket-grid .ticket-with-photo .rt-contact{font-size:1.5cqw!important;white-space:nowrap;overflow:hidden}
.ticket-grid .ticket-with-photo .ticket-print-number{z-index:4}
.ticket-grid .ticket-with-photo:not(.ticket-relief):before{position:absolute;right:3%;top:8%;font-size:1.8cqw}
.ticket-grid .ticket-with-photo:not(.ticket-relief):has(.code+.code) .code{top:23%;height:15%;font-size:3cqw!important}
.ticket-grid .ticket-with-photo:not(.ticket-relief):has(.code+.code) .code+.code{top:40%}
/* Relief: independent text rows, including native MikhMon limits. */
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-body{position:absolute;left:46%;right:4%;top:7%;bottom:9%;width:auto;display:flex;flex-direction:column;gap:1.5%;min-width:0;justify-content:flex-start}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-body>*{position:static!important;left:auto;top:auto;width:100%;flex:none;max-width:100%;margin:0;box-sizing:border-box;overflow-wrap:anywhere}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-banner{font-size:4.1cqw!important;line-height:1.05;padding:1% 2%;white-space:nowrap}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-code{padding:1% 2%;line-height:1;min-height:0}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-manual{font-size:2.5cqw!important;line-height:1.1}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-network{font-size:3.4cqw!important;line-height:1.05}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-duration{font-size:3.2cqw!important;line-height:1.05;padding-top:1%}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-password,.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-contact{font-size:2.3cqw!important;line-height:1.05}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-state{margin-top:auto;font-size:2.1cqw!important;line-height:1.05;padding-bottom:1%}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"]))>.ticket-meta{position:absolute;left:46%;right:4%;bottom:3%;width:39%;font-size:2.3cqw!important;line-height:1.05;text-align:left;white-space:normal;overflow-wrap:anywhere}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])):has(>.ticket-meta) .rt-body{bottom:15%}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-tagline{top:73%;font-size:2cqw!important;line-height:1.05;max-height:13%;overflow-wrap:anywhere}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-price{top:auto!important;bottom:6%;font-size:2.7cqw!important;line-height:1}
/* Sober default Relief: credentials and real commercial limits only. */
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-banner,
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-tagline,
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-manual,
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-state{display:none!important}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-body{top:12%;bottom:18%;justify-content:center;gap:7%}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-code{font-size:calc(var(--rt-size)*1.5)!important;padding:3% 2%}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])):not(:has(.rt-password)) .rt-code small{display:none}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-network{font-size:3.8cqw!important;line-height:1.1}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-duration{font-size:3.2cqw!important;line-height:1.1}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-logo{--rt-y:43%;height:28%}

/* Editor and print use identical Relief values. */
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-network{font-size:calc(3.8cqw * var(--rt-font-scale,1))!important}
.ticket.ticket-relief:not(.ticket-with-photo):not(:has([style*="--rt-x"])) .rt-duration{font-size:calc(3.2cqw * var(--rt-font-scale,1))!important}
.ticket.ticket-relief .rt-custom-message{display:block!important}
.pz-ticket-area .ticket.ticket-relief{aspect-ratio:1.75!important;min-height:0!important;height:auto!important}
/* Icône gravée : arcs épais, bord supérieur ombré et lèvre inférieure claire. DJASSO uniquement. */
.ticket-relief .rt-wifi{border-top-width:7px;border-left-width:7px;border-right-width:7px;border-bottom-width:7px;filter:drop-shadow(0 -1.5px 1px #0009) drop-shadow(0 2px 1px #fff);height:22%;--rt-x:11%;--rt-y:13%;--rt-w:23%}
.ticket-relief .rt-wifi:before{border-width:6px;top:26%;left:17%;right:17%;height:54%;filter:drop-shadow(0 -1px .7px #0008) drop-shadow(0 1.5px .7px #fff)}
.ticket-relief .rt-wifi:after{width:16%;left:42%;top:77%;box-shadow:inset 0 2px 2px #0009,inset 0 -1px 1px #ffffffa0,0 1.5px 1px #fff}
/* Wi-Fi engraved into the ticket: only the symbol, never a rectangular border. */
.ticket.ticket-relief .rt-wifi{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;outline:0!important;filter:none!important;font-size:0!important;height:25%;overflow:visible}
.ticket.ticket-relief .rt-wifi:before{content:'';position:absolute;inset:0;border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(180deg,color-mix(in srgb,currentColor 28%,#000) 0%,color-mix(in srgb,currentColor 66%,#000) 23%,currentColor 65%,color-mix(in srgb,currentColor 68%,#fff) 100%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 65'%3E%3Cpath d='M9 19Q50 -8 91 19M24 37Q50 19 76 37' fill='none' stroke='black' stroke-width='11'/%3E%3Ccircle cx='50' cy='55' r='7'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 65'%3E%3Cpath d='M9 19Q50 -8 91 19M24 37Q50 19 76 37' fill='none' stroke='black' stroke-width='11'/%3E%3Ccircle cx='50' cy='55' r='7'/%3E%3C/svg%3E") center/100% 100% no-repeat;filter:drop-shadow(0 1px .35px #fff)!important}
.ticket.ticket-relief .rt-wifi:after{content:none!important}
