/* Rainbow Carpet - "Try on your floor" (2026-11). Colours: the published Website Design's accent and ink (--rcd-accent,
   --rcd-ink; set on <body> by the chosen palette), with the original site blue as fallback. */
body { --rct-acc: var(--rcd-accent, #2B518F); --rct-ink: var(--rcd-ink, #001745); }
.rct { max-width: 1100px; margin: 0 auto 30px; font-family: inherit; color: #222; }
.rct [hidden] { display: none !important; }
.rct h2 { font-size: 24px; margin: 6px 0 8px; }
.rct-start { text-align: center; padding: 10px 6px 4px; }
.rct-intro { max-width: 640px; margin: 0 auto 16px; line-height: 1.5; }
/* start screen: text, buttons, sample rooms and tips, with the "How it works" animation beside them on computers and
   below the buttons on phones */
.rct-startgrid { display: flex; flex-direction: column; align-items: center; }
.rct-left { display: contents; }
.rct-intro { order: 1; } .rct-pick { order: 2; } .rct-guide { order: 3; } .rct-samples { order: 4; } .rct-tips { order: 5; }
.rct-guide { width: 100%; max-width: 340px; margin: 22px auto 4px; }
.rct-guide.rct-guide-phone { max-width: 360px; }
.rct-guide figcaption { font-size: 14px; font-weight: 600; color: #555; letter-spacing: .3px; margin: 0 0 8px; }
.rct-guide img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.14); background: #fff; }
@media (min-width: 800px) {
	.rct:not(.rct-zoom) .rct-startgrid { flex-direction: row; justify-content: center; align-items: flex-start; gap: 32px; }
	.rct:not(.rct-zoom) .rct-left { display: block; flex: 0 1 430px; }
	.rct:not(.rct-zoom) .rct-guide { flex: 0 1 640px; max-width: 640px; margin: 0; }
	.rct:not(.rct-zoom) .rct-guide.rct-guide-phone { flex: 0 0 340px; }
}
.rct-pick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rct-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #b9b9b9; background: #fff; color: #222; font-size: 15px; cursor: pointer; text-decoration: none; }
.rct-btn:hover { border-color: #666; text-decoration: none; }
.rct-btn input[type=file] { display: none; }
.rct-primary { background: var(--rct-acc); border-color: var(--rct-acc); color: #fff; }
.rct-primary:hover { background: var(--rct-ink); border-color: var(--rct-ink); color: #fff; }
.rct-samples { margin: 18px 0 6px; }
.rct-samples p { margin: 0 0 8px; color: #555; }
.rct-sample { width: 120px; height: 84px; margin: 4px; border: 2px solid #fff; border-radius: 8px; background: #ddd center/cover no-repeat; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.rct-sample:hover { border-color: var(--rct-acc); }
.rct-tips { display: inline-block; text-align: left; margin: 14px auto 0; padding-left: 20px; color: #555; font-size: 13px; line-height: 1.6; }

.rct-stage { position: relative; display: flex; justify-content: center; background: #f2f2f2; border-radius: 8px; padding: 0; min-height: 200px; touch-action: none; }
.rct-canvas { display: block; max-width: 100%; border-radius: 6px; touch-action: none; }
.rct-handles { position: absolute; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none; }
.rct-handles svg { position: absolute; left: 0; top: 0; overflow: visible; }
.rct-handles polygon { fill: rgba(255,255,255,.12); stroke: #fff; stroke-width: 2; stroke-dasharray: 6 4; filter: drop-shadow(0 0 2px rgba(0,0,0,.7)); }
.rct-handle { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--rct-acc); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); pointer-events: auto; cursor: grab; touch-action: none; }
.rct-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.55); font-size: 16px; font-weight: 600; border-radius: 8px; }
.rct-spin { width: 22px; height: 22px; border: 3px solid var(--rct-acc); border-right-color: transparent; border-radius: 50%; animation: rct-spin .8s linear infinite; }
@keyframes rct-spin { to { transform: rotate(360deg); } }
.rct-compare { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 12px; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #fff; font-size: 11px; line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,.6); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; opacity: .85; }
.rct-compare:hover, .rct-compare:active { opacity: 1; background: rgba(0,0,0,.4); }
.rct-msg { margin: 10px 0 0; padding: 9px 12px; border-radius: 6px; background: #eef4fb; font-size: 14px; line-height: 1.4; }
.rct-msg.rct-ok { background: #edf7ee; }
.rct-msg.rct-warn { background: #fff5e0; }

.rct-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.rct-tools button { min-height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid #bbb; background: #fff; cursor: pointer; font-size: 14px; }
.rct-tools button.rct-on { background: #222; border-color: #222; color: #fff; }
.rct-tools .rct-done { background: var(--rct-acc); border-color: var(--rct-acc); color: #fff; }
.rct-brush { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.rct-new { margin-left: auto; }
.rct-tools .rct-clear { display: inline-flex; align-items: center; gap: 5px; color: #9b2c2c; border-color: #e6bcbc; }
.rct-tools .rct-clear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rct-tools .rct-clear:hover { background: #fdf2f2; border-color: #c98080; }

.rct-panel { border-top: 1px solid #e3e3e3; padding-top: 10px; }
.rct-ranges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rct-range { min-height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid #bbb; background: #fff; cursor: pointer; font-size: 14px; }
.rct-range.rct-on { background: var(--rct-acc); border-color: var(--rct-acc); color: #fff; }
.rct-quality { min-height: 38px; padding: 0 10px; margin-bottom: 10px; font-size: 15px; border-radius: 6px; border: 1px solid #bbb; max-width: 100%; }
.rct-colours { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; }
.rct-colour { border: 0; background: none; padding: 0; cursor: pointer; text-align: center; font-size: 12px; color: #333; }
.rct-sw { display: block; width: 100%; aspect-ratio: 1; border-radius: 8px; background: #ccc center/cover no-repeat; border: 3px solid #fff; box-shadow: 0 0 0 1px #ccc; }
.rct-colour.rct-on .rct-sw { box-shadow: 0 0 0 3px var(--rct-acc); }
.rct-cn { display: block; margin-top: 3px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rct-sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 18px; margin: 14px 0 6px; font-size: 14px; }
.rct-sliders label { display: flex; align-items: center; gap: 8px; }
.rct-sliders input[type=range] { flex: 1; }
/* carpet tiles: laying and mixed colours */
.rct-tileopts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 4px; font-size: 14px; }
.rct-tileopts select { min-height: 32px; font-size: 14px; }
.rct-mixbtn { min-height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid #bbb; background: #fff; cursor: pointer; font-size: 14px; }
.rct-mixbtn.rct-on { background: #222; border-color: #222; color: #fff; }
.rct-mixhint { flex-basis: 100%; margin: 0; color: #555; font-size: 13px; }
.rct-mixchips { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.rct-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 3px; border: 1px solid #ddd; border-radius: 16px; background: #fafafa; font-size: 12px; }
.rct-chip i { width: 24px; height: 24px; border-radius: 50%; background: #ccc center/cover no-repeat; }
.rct-chip button { border: 0; background: none; font-size: 16px; line-height: 1; cursor: pointer; color: #777; padding: 0 2px; }
.rct-colour { position: relative; }
.rct-mixno { position: absolute; top: 4px; left: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rct-acc); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; display: none; }
.rct-colour.rct-on .rct-mixno, .rct-colour.rct-inmix .rct-mixno { display: block; }
.rct-colour.rct-inmix .rct-sw { box-shadow: 0 0 0 3px #222; }
.rct-mixno:empty { display: none !important; }
.rct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.rct-note { font-size: 12px; color: #777; margin: 10px 0 0; }
@media (max-width: 600px) {
	.rct h2 { font-size: 20px; }
	.rct-sample { width: 96px; height: 68px; }
	.rct-new { margin-left: 0; }
	.rct-colours { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}
/* while the try-on picture is on screen the floating chat button would cover it; the page has its own "Ask for a quote" */
body:has(.rct-work:not([hidden])) .whatsapp-floating-button { display: none !important; }
/* phones with the site's "fit" setting: controls drawn larger by the page's shrink factor (--k, set by rc-tryon.js) */
.rct.rct-zoom .rct-start, .rct.rct-zoom .rct-tools, .rct.rct-zoom .rct-msg, .rct.rct-zoom .rct-panel { zoom: var(--k); }
.rct.rct-zoom .rct-busy > * { zoom: var(--k); }
.rct.rct-zoom .rct-compare { zoom: calc(var(--k) * .8); }
.rct.rct-zoom .rct-handle { width: calc(26px * var(--k)); height: calc(26px * var(--k)); margin: calc(-13px * var(--k)) 0 0 calc(-13px * var(--k)); border-width: calc(3px * var(--k)); }
.rct.rct-zoom .rct-handles polygon { stroke-width: calc(2px * var(--k)); }
/* ---- product pages: the "Try on your floor" switch on the virtual room photo (modul/tryon/vr.php, rc-tryon-vr.js) */
.rct-vr-hidden { display: none !important; }
.rct-chooser { position: absolute; inset: 0; z-index: 25; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 50px 24px 20px; background: rgba(255,255,255,.93); text-align: center; color: #222; font-family: Arial, Helvetica, sans-serif; }
.rct-chooser[hidden] { display: none !important; }
.rct-chooser-h { margin: 0; font-size: 20px; font-weight: 700; }
.rct-chooser-p { margin: 0 0 6px; max-width: 420px; font-size: 14px; line-height: 1.45; }
.rct-chooser-s { margin: 4px 0 0; font-size: 12px; color: #666; }
.rct-chooser-b { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.rct-chooser-x { position: absolute; top: 8px; left: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eee; font-size: 22px; line-height: 1; cursor: pointer; }
.rct-embed { margin: 0 0 14px; max-width: 100%; }
.rct-embed .rct-stage { background: #eee; }
.rct-embed .rct-file { display: none; }
.rct-embed .rct-tools { margin: 8px 0; }
.rct-embed .rct-tools button { min-height: 34px; padding: 0 12px; font-size: 13px; }
.rct-embed .rct-panel { padding-top: 6px; }
.rct-embed .rct-colours, .rct-embed .rct-quality { display: none; }
.rct-embed .rct-sliders { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); font-size: 13px; margin-top: 6px; }
.rct-embed .rct-actions .rct-btn { min-height: 38px; font-size: 14px; }
.rct-embed .rct-note { font-size: 11.5px; }
.rct-vr-open { height: auto !important; }
.rct-vr-open > .rct-embed { width: 100%; }

/* ---- v3 (2026-11-14): compact controls, laying and mixing as pictures, the switch in the title line ---- */
.rct-tools { gap: 6px; margin: 8px 0; }
.rct-tools button { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 16px; }
.rct-msg { margin: 8px 0 0; padding: 7px 11px; font-size: 13px; transition: opacity .6s; }
.rct-msg.rct-fade { opacity: 0; }
.rct-panel { padding-top: 6px; }
.rct-sliders { gap: 4px 16px; margin: 6px 0 4px; font-size: 13px; }
.rct-actions { gap: 8px; margin-top: 10px; }
.rct-actions .rct-btn { min-height: 32px; padding: 0 14px; font-size: 13px; border-radius: 16px; }
.rct-note { font-size: 11.5px; margin-top: 8px; }
/* laying / mixing pictures */
.rct-tileopts { display: block; margin: 8px 0 2px; }
.rct-optrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 4px 0; }
.rct-optlabel { width: 58px; font-size: 13px; font-weight: 600; color: #333; }
.rct-lays, .rct-mixes { display: flex; flex-wrap: wrap; gap: 6px; }
.rct-mixes[hidden] { display: none; }
.rct-pickbtn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 4px 3px; border: 2px solid #d5d5d5; border-radius: 9px; background: #fff; cursor: pointer; color: #333; }
.rct-pickbtn:hover { border-color: #888; }
.rct-pickbtn.rct-on { border-color: var(--rct-acc); box-shadow: 0 0 0 2px rgba(0,23,69,.12); }
.rct-pickimg { display: block; width: 44px; height: 44px; border-radius: 4px; overflow: hidden; background: #f3f3f3; }
.rct-pickimg svg { display: block; }
.rct-picktxt { font-size: 10.5px; line-height: 1.1; white-space: nowrap; }
.rct-lt { fill: #e9e2d6; stroke: #b9ae9c; stroke-width: .8; }
.rct-pickbtn.rct-on .rct-lt { fill: #e6eef8; stroke: var(--rct-acc); }
.rct-la { fill: none; stroke: #6b5b47; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(var(--a)); transform-box: fill-box; transform-origin: center; }
.rct-pickbtn.rct-on .rct-la { stroke: var(--rct-acc); animation: rct-turn .7s cubic-bezier(.3, 1.35, .5, 1); }
.rct-pickbtn:hover .rct-la { animation: rct-turn .7s cubic-bezier(.3, 1.35, .5, 1); }
@keyframes rct-turn { from { transform: rotate(calc(var(--a) - 180deg)); } to { transform: rotate(var(--a)); } }
.rct-mixgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #999; }
.rct-mixgrid i { display: block; background: #ccc center/cover no-repeat; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); }
.rct-mixbtn { min-height: 32px; padding: 0 13px; font-size: 13px; border-radius: 16px; }
.rct-mixhint { margin: 2px 0 4px 66px; font-size: 12.5px; color: #555; }
.rct-mixchips { margin-left: 66px; }
.rct-chip { font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .rct-pickbtn .rct-la { animation: none !important; } }
/* colour swatches in the try-on page's own grid: sharp catalogue photos */
.rct-colours { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
/* product pages: colours mixed on the floor are numbered in the table; while mixing the table picks colours */
.colour-list li[data-rct-n] { position: relative; }
.colour-list li[data-rct-n]::after { content: attr(data-rct-n); position: absolute; top: 2px; left: 2px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: var(--rct-acc); color: #fff; font: 700 12px/20px Arial, sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.4); pointer-events: none; }
.colour-list li.rct-mixpick { cursor: copy; }
.colour-list li.rct-mixpick:not([data-rct-n]) img { opacity: .78; }
/* the switch: text and a clear on/off switch, no box behind (title line, left of the product name) */
.rct-switch { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: none; color: #001745; font: 700 14px/1 Arial, Helvetica, sans-serif; letter-spacing: .2px; text-transform: none; cursor: pointer; white-space: nowrap; }
.rct-switch-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.rct-switch-k { position: relative; display: inline-block; width: 58px; height: 26px; border-radius: 13px; background: #9aa1a9; box-shadow: inset 0 1px 3px rgba(0,0,0,.35); transition: background .25s; }
.rct-switch-k b { position: absolute; top: 0; font: 700 10px/26px Arial, sans-serif; color: #fff; letter-spacing: .5px; transition: opacity .2s; }
.rct-switch-k b:first-child { right: 8px; }
.rct-switch-k b:last-child { left: 9px; opacity: 0; }
.rct-switch-k::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: left .25s cubic-bezier(.3, 1.3, .5, 1); }
.rct-switch-on .rct-switch-k { background: #1e9e4a; }
.rct-switch-on .rct-switch-k b:first-child { opacity: 0; }
.rct-switch-on .rct-switch-k b:last-child { opacity: 1; }
.rct-switch-on .rct-switch-k::after { left: 35px; }
.rct-switch:hover .rct-switch-k { filter: brightness(1.08); }
.rct-switch:focus-visible { outline: 2px solid #1e9e4a; outline-offset: 3px; border-radius: 4px; }
.rct-switch-below { position: static; display: flex; margin: 6px 0 0 auto; width: max-content; }
.rct-switch-inbox { top: 10px; right: 10px; padding: 6px 8px 6px 12px; border-radius: 18px; background: rgba(255,255,255,.85); }

/* ---- v4: buttons like the site's e-catalogue buttons (Website Design colours), "How to" popup on the product pages ---- */
.rct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.rct-act { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 0; border-radius: 16px; background: #eef3f9; color: var(--rct-ink); box-shadow: inset 0 0 0 1px #c3d0e2; font: bold 12px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.rct-act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rct-act:hover, .rct-act:focus-visible { transform: translateY(-1px); background: #dfe8f3; text-decoration: none; color: var(--rct-ink); }
.rct-act-main { background: var(--rct-acc); color: #fff; box-shadow: 0 3px 10px -6px rgba(0, 23, 69, .8); }
.rct-act-main:hover, .rct-act-main:focus-visible { background: var(--rct-ink); color: #fff; }
.rct-act-wa svg { stroke: none; }
.rct-act-wa .rct-wa { fill: #25d366; }
.rct-act[hidden] { display: none; }
.rct-primary, .rct-done { color: #fff; }
@media (prefers-reduced-motion: reduce) { .rct-act { transition: none; } }
/* the switch bar in the title line: "How to" and the switch */
.rct-swbar { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 14px; }
.rct-swbar .rct-switch { position: static; }
.rct-swbar.rct-switch-below { position: static; display: flex; margin: 6px 0 0 auto; width: max-content; }
.rct-howto { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--rct-acc); font: bold 12.5px/1 Arial, Helvetica, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rct-howto-i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--rct-acc); color: #fff; font-size: 11px; text-decoration: none; animation: rct-nudge 2.4s ease-in-out 1s 3; }
@keyframes rct-nudge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.25); } 90% { transform: scale(.95); } }
.rct-howto:hover, .rct-howto:focus-visible { color: var(--rct-ink); }
/* the "How to" popup */
.rct-howpop { position: fixed; z-index: 100000; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 80px 12px 20px; background: rgba(0, 23, 69, .28); opacity: 0; transition: opacity .25s; }
.rct-howpop[hidden] { display: none; }
.rct-howpop.rct-open { opacity: 1; }
.rct-howcard { position: relative; display: flex; gap: 18px; width: 640px; max-width: 100%; padding: 18px 18px 22px; border-radius: 14px; background: #fff; color: #222; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 18px 50px -12px rgba(0, 23, 69, .55); transform: translateY(-14px) scale(.96); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); overflow: hidden; }
.rct-howpop.rct-open .rct-howcard { transform: none; }
.rct-howcard img { flex: 0 0 260px; width: 260px; height: auto; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); background: #f2f2f2; }
.rct-howtext { flex: 1; min-width: 0; }
.rct-howtext h3 { margin: 2px 30px 10px 0; padding: 0; font-size: 18px; text-align: left; color: var(--rct-ink); }
.rct-howsteps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.rct-howsteps li { position: relative; margin: 0 0 8px; padding: 7px 8px 7px 38px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; color: #333; transition: background .3s, color .3s; counter-increment: s; }
.rct-howsteps li::before { content: counter(s); position: absolute; left: 8px; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #dfe6ef; color: var(--rct-ink); font: bold 12px/22px Arial, sans-serif; text-align: center; transition: background .3s, color .3s; }
.rct-howsteps li.rct-now { background: #eef3f9; color: var(--rct-ink); }
.rct-howsteps li.rct-now::before { background: var(--rct-acc); color: #fff; }
.rct-howx { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef1f5; color: #333; font-size: 20px; line-height: 1; cursor: pointer; }
.rct-howx:hover { background: #dfe6ef; }
.rct-howbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #eef1f5; }
.rct-howbar i { display: block; height: 100%; width: 100%; background: var(--rct-acc); transform-origin: left; }
.rct-hownote { margin: 10px 0 0; font-size: 11.5px; color: #777; }
.rct-howpop { overflow-y: auto; }
.rct-howcard-narrow { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 14px 18px; }
.rct-howcard-narrow img { flex: none; align-self: center; width: 100%; max-width: 300px; }
.rct-howcard-narrow .rct-howtext h3 { font-size: 17px; }
/* the computer recording: large, title above, the steps in a row under it */
.rct-howpop-wide { align-items: center; padding: 16px 12px; }
.rct-howcard-wide { flex-direction: column; align-items: center; gap: 8px; width: auto; max-width: min(1010px, 96vw); padding: 12px 16px 16px; }
.rct-howcard-wide .rct-howtext { display: contents; }
.rct-howcard-wide .rct-howtext h3 { order: -1; align-self: stretch; margin: 2px 44px 0 2px; font-size: 18px; }
.rct-howcard-wide img { order: 0; flex: none; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 170px); box-shadow: none; background: none; border-radius: 6px; }
.rct-howcard-wide .rct-howsteps { order: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.rct-howcard-wide .rct-howsteps li { margin: 0; padding: 4px 9px 4px 30px; font-size: 12px; }
.rct-howcard-wide .rct-howsteps li::before { top: 4px; left: 6px; width: 18px; height: 18px; font-size: 11px; line-height: 18px; }
.rct-howcard-wide .rct-hownote { order: 2; margin: 0; }
/* the phone recording: it shows the steps itself, so the list is only read out (screen readers) */
.rct-howcard-phone img { max-width: 360px; box-shadow: none; background: none; }
.rct-howcard-phone .rct-howsteps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .rct-howpop, .rct-howcard, .rct-howsteps li { transition: none; } .rct-howto-i { animation: none; } }

/* v5: Paint floor / Erase / Undo only when the floor is marked by hand (floor finder offline or no floor found) */
.rct:not(.rct-manual) .rct-tool[data-tool="paint"], .rct:not(.rct-manual) .rct-tool[data-tool="erase"], .rct:not(.rct-manual) .rct-undo { display: none; }
/* fix57: a photo dropped anywhere on the page (computers); the start note (.rct-startnote; .rct-note is the page's own small print); the drop hint (only where a mouse is used) */
.rct-drop { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 28, 44, .55); pointer-events: none; }
.rct-drop.rct-drop-on { display: flex; }
.rct-drop-in { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(560px, 86vw); padding: 34px 40px; border: 3px dashed rgba(255,255,255,.9); border-radius: 18px; background: rgba(0,0,0,.25); color: #fff; font-weight: 600; font-size: 21px; line-height: 1.35; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.rct-drop-ic { width: 54px; height: 54px; border: 3px solid #fff; border-radius: 10px; position: relative; }
.rct-drop-ic::before { content: ''; position: absolute; left: 50%; top: 9px; width: 3px; height: 24px; margin-left: -1.5px; background: #fff; }
.rct-drop-ic::after { content: ''; position: absolute; left: 50%; top: 22px; width: 13px; height: 13px; margin-left: -8px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rct-startnote { margin: 10px 0 0; padding: 9px 12px; border-radius: 6px; background: #eef4fb; font-size: 14px; line-height: 1.4; transition: opacity .6s; }
.rct-startnote.rct-warn { background: #fff5e0; }
.rct-startnote.rct-fade { opacity: 0; }
.rct-embed > .rct-startnote { margin: 0 0 8px; }
.rct-drophint { display: none; margin: 6px 0 0; font-size: 13px; color: #666; }
.rct-chooser-w { margin: 8px 0 0; max-width: 420px; padding: 7px 10px; border-radius: 6px; background: #fff5e0; color: #333; font-size: 13px; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .rct-drophint { display: block; } }
/* fix60: How to - the still picture while the animation is downloaded */
.rct-howloading .rct-howcard img { opacity: .82; }
.rct-howloading .rct-howbar i { opacity: .35; }
