/* Forms (Update 14). Same navy-and-gold look as the rest of the site; each form can change its accent colour, font and light/dark. */

/* ================= shared ================= */
.fm-root, .fme, .fmx { --fm: #ffc20e; --fm-ink: #111322; --fm-font: var(--font-body); }
.fm-dark, .fmx, .fm-root:not(.fm-light), .fme:not(.fm-light) {
  --c-card: rgba(12, 18, 76, .86); --c-card2: rgba(255, 255, 255, .06); --c-text: #eef0ff; --c-muted: #a8afe0; --c-line: rgba(255, 255, 255, .15);
  --c-input: rgba(255, 255, 255, .07); --c-err: #ff8585; --c-ok: #3ddc84; color-scheme: dark;
}
.fm-light {
  --c-card: #ffffff; --c-card2: #f2f3fb; --c-text: #1b1f45; --c-muted: #5d6491; --c-line: #d6daee; --c-input: #f2f3fb; --c-err: #cf2b2b; --c-ok: #178a4c; color-scheme: light;
  color: var(--c-text); background: color-mix(in srgb, var(--fm) 14%, #f6f7fd);
}
.fm-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fm-i.sm { width: 16px; height: 16px; }
.fm-spacer, .fmx-spacer { flex: 1; }
.fm-hint { color: var(--c-muted, var(--muted)); font-size: .88rem; margin: .4rem 0; }
.fm-muted { color: var(--c-muted); }

.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--c-line, var(--line)); background: transparent; color: var(--c-text, var(--text)); font: 600 .92rem var(--font-body); cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, transform .1s; }
.fm-btn:hover { background: rgba(255, 255, 255, .1); }
.fm-light .fm-btn:hover { background: rgba(0, 0, 0, .06); }
.fm-btn.primary { background: var(--fm, #ffc20e); color: var(--fm-ink, #111322); border-color: var(--fm, #ffc20e); }
.fm-btn.primary:hover { filter: brightness(1.08); background: var(--fm, #ffc20e); }
.fm-btn.danger { background: #ff5a5a; color: #fff; border-color: #ff5a5a; }
.fm-btn.big { padding: .75rem 1.6rem; font-size: 1rem; }
.fm-btn:disabled { opacity: .55; cursor: not-allowed; }
.fm-btn:active { transform: scale(.98); }
.fm-btn:focus-visible, .fm-ib:focus-visible, .fm-link:focus-visible, .fme-tb:focus-visible { outline: 2px solid var(--fm, #ffc20e); outline-offset: 2px; }
.fm-ib { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none; padding: 0; }
.fm-ib:hover { background: rgba(255, 255, 255, .12); }
.fm-light .fm-ib:hover { background: rgba(0, 0, 0, .07); }
.fm-ib:disabled { opacity: .35; cursor: default; }
.fm-ib.ph { visibility: hidden; pointer-events: none; }
.fm-link { background: none; border: 0; color: var(--fm, #ffc20e); font: 600 .9rem var(--font-body); cursor: pointer; padding: .4rem .2rem; }
.fm-light .fm-link { color: color-mix(in srgb, var(--fm) 70%, #000); }
.fm-link:hover { text-decoration: underline; }

.fm-in, .fm-area, .fm-select { width: 100%; padding: .65rem .85rem; border-radius: 10px; border: 1px solid var(--c-line, var(--line)); background: var(--c-input, rgba(255, 255, 255, .07)); color: var(--c-text, var(--text)); font: 400 .95rem var(--font-body); }
.fm-in:focus, .fm-area:focus, .fm-select:focus { outline: 2px solid var(--fm, #ffc20e); outline-offset: 0; border-color: transparent; }
.fm-in.s { width: 110px; } .fm-select.s { width: auto; min-width: 74px; }
.fm-area { resize: vertical; min-height: 44px; }
.fm-area.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; }
.fm-select { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8afe0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; background-size: 18px; cursor: pointer; width: auto; max-width: 100%; }
.fm-select option { background: #0d1250; color: #eef0ff; }
.fm-light .fm-select option { background: #fff; color: #1b1f45; }

.fm-sw { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .22); position: relative; cursor: pointer; flex: none; transition: background .15s; border: 0; margin: 0; }
.fm-light .fm-sw { background: #b9bfdc; }
.fm-sw::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.fm-sw:checked { background: var(--fm, #ffc20e); }
.fm-sw:checked::before { transform: translateX(18px); background: var(--fm-ink, #111); }
.fm-sw:focus-visible { outline: 2px solid var(--fm, #ffc20e); outline-offset: 2px; }

/* radio / checkbox look */
.fm-mark { display: inline-block; position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--c-muted, #a8afe0); transition: border-color .12s; }
.box > .fm-mark, .fme-chk .fm-mark, .fm-gc.box .fm-mark { border-radius: 6px; }
input:checked + .fm-mark { border-color: var(--fm, #ffc20e); }
input[type=radio]:checked + .fm-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--fm, #ffc20e); }
input[type=checkbox]:checked + .fm-mark { background: var(--fm, #ffc20e); }
input[type=checkbox]:checked + .fm-mark::after { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border: solid var(--fm-ink, #111); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
input:focus-visible + .fm-mark { outline: 2px solid var(--fm, #ffc20e); outline-offset: 3px; }
.fm-opt input, .fm-sc input, .fm-gc input, .fme-chk input, .fme-keyopt input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
input:disabled + .fm-mark { opacity: .6; }

/* dialogs and menus (they live on <body>, so they use the site colours directly) */
dialog.fm-modal { border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; background: #0b1048; color: #eef0ff; padding: 0; width: min(560px, 94vw); max-height: 90vh; box-shadow: 0 30px 80px rgba(0, 0, 0, .65); overflow: hidden; color-scheme: dark; font-family: var(--font-body); --c-text: #eef0ff; --c-muted: #a8afe0; --c-line: rgba(255, 255, 255, .15); --c-input: rgba(255, 255, 255, .07); --fm: #ffc20e; --fm-ink: #111322; }
dialog.fm-modal[open] { display: flex; flex-direction: column; }
dialog.fm-modal.wide { width: min(760px, 96vw); }
dialog.fm-modal::backdrop { background: rgba(3, 5, 25, .72); backdrop-filter: blur(3px); }
.fm-modal-h { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem .5rem 1.5rem; }
.fm-modal-h h2 { font: 700 1.3rem var(--font-display); margin: 0; }
.fm-modal-b { padding: .4rem 1.5rem 1rem; overflow: auto; flex: 1; }
.fm-modal-f { display: flex; justify-content: flex-end; gap: .6rem; padding: .8rem 1.5rem 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.fm-menu { position: fixed; z-index: 500; min-width: 230px; max-width: 92vw; padding: .4rem; border-radius: 14px; background: #0d1250; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); max-height: 80vh; overflow: auto; color: #eef0ff; }
.fm-menu button { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .6rem .8rem; border: 0; border-radius: 9px; background: none; color: inherit; font: 500 .93rem var(--font-body); cursor: pointer; }
.fm-menu button:hover, .fm-menu button:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.fm-menu button.danger { color: #ff9b9b; }
.fm-menu button span { flex: 1; }
.fm-menu .tick { color: #ffc20e; }
.fm-menu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: .3rem 0; }
.fm-modal-b .fm-in { margin-top: .2rem; }

/* ================= filling in a form ================= */
.fmx-fillpage { padding: 0; }
.fm-root { min-height: 70vh; padding: 1.4rem .9rem 4rem; font-family: var(--fm-font); }
.fm-root.fm-light { min-height: 90vh; }
.fm-wrap { width: min(770px, 100%); margin: 0 auto; display: grid; gap: .85rem; }
.fm-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; padding: 1.35rem 1.5rem; color: var(--c-text); font-family: var(--fm-font); position: relative; }
.fm-dark .fm-card, .fm-root:not(.fm-light) .fm-card, .fme:not(.fm-light) .fm-card { backdrop-filter: blur(10px); }
.fm-banner { height: 170px; border-radius: 14px; background: color-mix(in srgb, var(--fm) 40%, #0b1048) center / cover; border: 1px solid var(--c-line); }
.fm-banner.small { height: 110px; margin: -1.35rem -1.5rem 1rem; border-radius: 13px 13px 0 0; border: 0; }
.fm-head { border-top: 10px solid var(--fm); padding-top: 1.2rem; }
.fm-head.sec { border-top-width: 6px; }
.fm-title { font: 700 clamp(1.7rem, 4.5vw, 2.3rem) var(--fm-font); margin: 0 0 .5rem; line-height: 1.2; overflow-wrap: anywhere; color: var(--c-text); }
.fm-title.sm { font-size: 1.45rem; }
.fm-desc { color: var(--c-muted); white-space: pre-wrap; margin: .25rem 0 .6rem; overflow-wrap: anywhere; }
.fm-sep { border-top: 1px solid var(--c-line); margin: 1rem -1.5rem .8rem; }
.fm-reqnote { color: var(--c-err); font-size: .85rem; margin: 0; }
.fm-big { font-size: 1.1rem; margin: .5rem 0 1rem; white-space: pre-wrap; }
.fm-sectag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .7rem; border-radius: 999px; background: var(--fm); color: var(--fm-ink); margin-bottom: .6rem; }
.fm-note { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--fm) 18%, transparent); border: 1px solid color-mix(in srgb, var(--fm) 55%, transparent); font-size: .92rem; color: var(--c-text); }
.fm-note.inline { display: block; margin: 0 0 .6rem; }

.fm-qhead { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.fm-qtitle { font-size: 1.05rem; font-weight: 600; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.fm-req { color: var(--c-err); }
.fm-pts { font-size: .8rem; color: var(--c-muted); white-space: nowrap; }
.fm-q.bad { border-color: var(--c-err); }
.fm-err { display: flex; align-items: center; gap: .4rem; margin-top: .7rem; color: var(--c-err); font-size: .88rem; }
.fm-err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--c-err); color: #fff; font-weight: 800; font-size: .72rem; flex: none; }
.fm-qbody { margin-top: .5rem; }

.fm-line { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; color: var(--c-text); font: 400 1rem var(--fm-font); padding: .55rem 0; transition: border-color .15s; }
.fm-line:focus { outline: none; border-bottom: 2px solid var(--fm); padding-bottom: calc(.55rem - 1px); }
.fm-line::placeholder, .fme-qin::placeholder { color: var(--c-muted); opacity: .8; }
input.fm-line:not(.fm-other):not(.fm-date):not(.fm-time):not(.fm-dur) { max-width: 100%; }
.fm-area.fm-line { resize: none; overflow: hidden; min-height: 0; border-radius: 0; padding: .55rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--c-line); }
.fm-date, .fm-time { width: auto; min-width: 190px; }
.fm-datewrap { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.fm-durwrap { display: flex; gap: .4rem; align-items: flex-end; }
.fm-dur { width: 5.2rem; text-align: center; }

.fm-opts { display: grid; gap: .1rem; }
.fm-opt { position: relative; display: flex; align-items: center; gap: .8rem; padding: .5rem .2rem; cursor: pointer; min-height: 44px; overflow-wrap: anywhere; }
.fm-opt input { left: 2px; }
.fm-other { flex: 1; margin-left: .2rem; }
.fm-opt:hover .fm-mark { border-color: var(--fm); }
.fm-scale { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.4rem, 2.4vw, 1.4rem); flex-wrap: wrap; padding: .4rem 0; }
.fm-sl { align-self: center; font-size: .9rem; color: var(--c-muted); max-width: 8rem; text-align: right; }
.fm-sl.r { text-align: left; }
.fm-sc { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; cursor: pointer; min-width: 32px; font-size: .95rem; }
.fm-sc input { bottom: 0; left: 50%; transform: translateX(-50%); }
.fm-rating { display: flex; gap: .3rem; flex-wrap: wrap; }
.fm-rate { background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--c-muted); border-radius: 10px; }
.fm-rate .fm-i { width: 34px; height: 34px; }
.fm-rate.on { color: var(--fm); }
.fm-rate.star.on .fm-i, .fm-rate.heart.on .fm-i, .fm-rate.thumb.on .fm-i { fill: var(--fm); }
.fm-rate.number { width: 44px; height: 44px; border: 2px solid var(--c-line); font: 700 1rem var(--fm-font); }
.fm-rate.number.on { background: var(--fm); color: var(--fm-ink); border-color: var(--fm); }
.fm-rate:disabled { cursor: default; }
.fm-gridwrap { overflow-x: auto; margin: 0 -.4rem; padding: 0 .4rem; }
.fm-grid { border-collapse: collapse; width: 100%; min-width: 420px; }
.fm-grid th, .fm-grid td { padding: .55rem .6rem; text-align: center; font-weight: 500; font-size: .92rem; border-bottom: 1px solid var(--c-line); }
.fm-grid th[scope=row] { text-align: left; min-width: 120px; font-weight: 600; }
.fm-gc { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; cursor: pointer; }
.fm-gc input { left: 5px; }
.fm-select { max-width: 100%; }
.fm-q .fm-select { min-width: 200px; background-color: var(--c-input); }
.fm-filebox { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.fm-files { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.fm-files li { display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem; border-radius: 10px; background: var(--c-card2); }
.fm-fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-files small { color: var(--c-muted); }
.fm-media .fm-img { display: block; height: auto; border-radius: 8px; max-width: 100%; }
.fm-media .fm-img.a-center, .fm-media .fm-video.a-center { margin: .4rem auto; }
.fm-media .fm-img.a-right, .fm-media .fm-video.a-right { margin: .4rem 0 .4rem auto; }
.fm-media .fm-img.a-left, .fm-media .fm-video.a-left { margin: .4rem auto .4rem 0; }
.fm-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.fm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.fm-titleblock h3 { font: 700 1.25rem var(--fm-font); margin: 0 0 .3rem; }
.fm-progress { position: relative; height: 26px; border-radius: 999px; background: var(--c-card2); border: 1px solid var(--c-line); overflow: hidden; }
.fm-progress i { position: absolute; inset: 0 auto 0 0; background: var(--fm); transition: width .3s; opacity: .85; }
.fm-progress span { position: relative; z-index: 1; display: block; text-align: center; font-size: .78rem; font-weight: 700; line-height: 24px; color: var(--c-text); mix-blend-mode: normal; }
.fm-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.fm-navl { display: flex; gap: .6rem; }
.fm-foot { text-align: center; color: var(--c-muted); font-size: .8rem; margin: 1rem 0 0; }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fm-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.fm-score { text-align: center; }
.fm-bigscore { font: 800 3rem var(--fm-font); margin: 0; color: var(--fm); } .fm-bigscore small { font-size: 1.3rem; color: var(--c-muted); }
.fm-res.ok { border-left: 6px solid var(--c-ok); } .fm-res.no { border-left: 6px solid var(--c-err); }
.fm-yours, .fm-key, .fm-fb { margin: .3rem 0; overflow-wrap: anywhere; }
.fm-mk { display: flex; align-items: center; gap: .3rem; font-weight: 700; margin: .3rem 0; } .fm-mk.ok { color: var(--c-ok); } .fm-mk.no { color: var(--c-err); }
.fm-fb { padding: .6rem .8rem; border-radius: 10px; background: var(--c-card2); }

@media (max-width: 560px) {
  .fm-card { padding: 1.1rem 1rem; }
  .fm-sep { margin-inline: -1rem; }
  .fm-banner.small { margin: -1.1rem -1rem 1rem; }
  .fm-nav { flex-direction: column-reverse; align-items: stretch; }
  .fm-navl { justify-content: stretch; } .fm-navl .fm-btn { flex: 1; }
  .fm-nav .fm-link { align-self: center; }
  .fm-sl { max-width: none; width: 100%; text-align: center !important; order: -1; } .fm-sl.r { order: 9; }
}

/* ================= list page ================= */
.fmx { padding-bottom: 4rem; }
.fmx-wrap { width: min(1200px, 100% - 2rem); margin: 0 auto; }
.fmx-start { padding: 2rem 0 1.2rem; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.fmx-row { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fmx-row h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0; }
.fmx-sub { color: var(--muted); }
.fmx-h2 { font: 600 1rem var(--font-body); color: var(--muted); margin: 1.2rem 0 .8rem; }
.fmx-templates { display: flex; gap: .9rem; overflow-x: auto; padding: .3rem .1rem 1rem; scroll-snap-type: x proximity; }
.fmx-tpl { flex: none; width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: .8rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; font-family: var(--font-body); transition: transform .15s, border-color .15s; }
.fmx-tpl:hover { transform: translateY(-3px); border-color: var(--fm); }
.fmx-tpl strong { font-size: .92rem; } .fmx-tpl small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.fmx-tplpic { display: grid; place-items: center; width: 100%; height: 86px; border-radius: 10px; background: color-mix(in srgb, var(--fm) 20%, #0b1048); color: var(--fm); border-top: 5px solid var(--fm); margin-bottom: .3rem; }
.fmx-tplpic .fm-i { width: 34px; height: 34px; }
.fmx-recent { padding-top: 1.4rem; }
.fmx-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.fmx-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.fmx-tabs button { border: 0; background: none; color: var(--muted); font: 600 .9rem var(--font-body); padding: .45rem 1rem; border-radius: 999px; cursor: pointer; }
.fmx-tabs button.on { background: #ffc20e; color: #111322; }
.fmx-search { display: flex; align-items: center; gap: .4rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.fmx-search input { background: none; border: 0; color: var(--text); padding: .6rem 0; width: 180px; font: 400 .92rem var(--font-body); outline: none; }
.fmx-sel { padding: .55rem 2rem .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background-color: var(--surface); color: var(--text); font: 500 .88rem var(--font-body); cursor: pointer; }
.fmx-sel option { background: #0d1250; }
.fmx-ib { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; }
.fmx-ib:hover { background: var(--surface-2); }
.fmx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.fmx-forms.list .fmx-grid { grid-template-columns: 1fr; gap: .5rem; }
.fmx-card { position: relative; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.fmx-card:hover { transform: translateY(-3px); border-color: var(--fm); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.fmx-thumb { position: relative; height: 120px; background: color-mix(in srgb, var(--fm) 22%, #0b1048) center / cover; display: block; }
.fmx-thumb i { position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--fm); }
.fmx-quiz { position: absolute; right: 10px; bottom: 10px; font: 700 .7rem var(--font-body); padding: .15rem .55rem; border-radius: 999px; background: #0b1048; color: var(--fm); border: 1px solid var(--fm); letter-spacing: .05em; text-transform: uppercase; }
.fmx-meta { display: flex; flex-direction: column; gap: .2rem; padding: .8rem 3rem .9rem 1rem; }
.fmx-meta strong { font-size: 1rem; overflow-wrap: anywhere; }
.fmx-meta small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.fmx-card > .fmx-ib { position: absolute; right: 8px; bottom: 8px; border: 0; background: transparent; }
.fmx-forms.list .fmx-card { flex-direction: row; align-items: center; border-radius: 12px; }
.fmx-forms.list .fmx-thumb { width: 74px; height: 64px; flex: none; }
.fmx-forms.list .fmx-meta { flex: 1; padding: .5rem 3.4rem .5rem 1rem; }
.fmx-forms.list .fmx-quiz { display: none; }
.fmx-chip { font-style: normal; font-size: .72rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; border: 1px solid var(--line); }
.fmx-chip.open { color: #3ddc84; border-color: rgba(61, 220, 132, .5); } .fmx-chip.closed { color: #ff9b9b; border-color: rgba(255, 90, 90, .5); }
.fmx-empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }
.fmx-hint { color: var(--muted); font-size: .92rem; }
.fmx-hint a { color: #ffc20e; }
.fmx-card.pubcard .fmx-meta { padding-right: 1rem; }

/* ================= builder ================= */
.fme { min-height: 80vh; padding-bottom: 6rem; font-family: var(--fm-font); color: var(--c-text); }
.fme.fm-light { background: color-mix(in srgb, var(--fm) 14%, #f6f7fd); }
.fme-top { position: sticky; top: 64px; z-index: 40; background: var(--c-card); border-bottom: 1px solid var(--c-line); backdrop-filter: blur(14px); }
.fme-top > * { width: min(1100px, 100% - 1rem); margin-inline: auto; }
.fme-r1 { display: flex; align-items: center; gap: .3rem; padding: .4rem 0; }
.fme-name { flex: 1 1 140px; min-width: 0; max-width: 360px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--c-text); font: 600 1.15rem var(--font-body); padding: .35rem .3rem; text-overflow: ellipsis; }
.fme-name:hover { border-bottom-color: var(--c-line); } .fme-name:focus { outline: none; border-bottom-color: var(--fm); }
.fme-status { font-size: .78rem; color: var(--c-muted); white-space: nowrap; padding: 0 .4rem; }
.fme-status.error { color: var(--c-err); } .fme-status.saving, .fme-status.dirty { color: var(--c-muted); }
.fme-tabs { display: flex; justify-content: center; gap: .4rem; }
.fme-tabs button { position: relative; background: none; border: 0; color: var(--c-muted); font: 600 .95rem var(--font-body); padding: .65rem 1.3rem; cursor: pointer; border-bottom: 3px solid transparent; }
.fme-tabs button:hover { color: var(--c-text); }
.fme-tabs button.on { color: var(--c-text); border-bottom-color: var(--fm); }
.fme-tabs.sub { width: min(900px, 100% - 1rem); margin: 0 auto .6rem; border-bottom: 1px solid var(--c-line); justify-content: flex-start; }
.fme-tabs.sub button { padding: .55rem 1.1rem; font-size: .9rem; }
.fme-badge { display: inline-block; min-width: 22px; padding: 0 .4rem; border-radius: 999px; background: var(--fm); color: var(--fm-ink); font-size: .74rem; font-weight: 800; text-align: center; margin-left: .25rem; }
.fme-body { padding-top: 1rem; }
.fme-col { width: min(770px, 100% - 1rem); margin: 0 auto; display: grid; gap: .85rem; }
.fme-col.wide { width: min(900px, 100% - 1rem); }
.fme-conflict { position: sticky; top: 64px; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; background: #ff5a5a; color: #fff; font-weight: 600; }
.fme-card { transition: box-shadow .15s; }
.fme-card:not(.active) { cursor: pointer; }
.fme-card:not(.active):hover { box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.fme-card:focus-visible { outline: 2px solid var(--fm); outline-offset: 2px; }
.fme-card.active { border-left: 6px solid var(--fm); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); }
.fme-card.sec { border-top: 6px solid var(--fm); }
.fme-card.dragging { opacity: .4; }
.fme-card.drop-before { box-shadow: 0 -4px 0 var(--fm); } .fme-card.drop-after { box-shadow: 0 4px 0 var(--fm); }
.fme-grip { position: absolute; top: 2px; left: 50%; transform: translateX(-50%) rotate(90deg); cursor: grab; opacity: 0; color: var(--c-muted); transition: opacity .15s; padding: 2px; }
.fme-card:hover .fme-grip, .fme-card.active .fme-grip { opacity: .8; }
.fme-grip .fm-i { width: 20px; height: 20px; }
.fme-card .fme-view.bare, .fme-card > .bare { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; margin: 0; backdrop-filter: none; }
.fme-card > .bare.fm-q, .fme-card > .bare { pointer-events: none; }
.fme-card > .fm-card.bare::before { display: none; }
.fme-head .fme-htitle { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--c-text); font: 700 clamp(1.5rem, 4vw, 2rem) var(--fm-font); padding: .2rem 0; }
.fme-head .fme-htitle:not(:disabled) { border-bottom-color: var(--c-line); }
.fme-head .fme-htitle:focus, .fme-hdesc:focus { outline: none; border-bottom-color: var(--fm); }
.fme-hdesc { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--c-muted); font: 400 .95rem var(--fm-font); resize: none; overflow: hidden; padding: .4rem 0; margin-top: .3rem; }
.fme-hdesc:not(:disabled) { border-bottom-color: var(--c-line); }
.fme-head { border-top: 10px solid var(--fm); }
.fme-trow { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.fme-qin { width: 100%; background: var(--c-input); border: 0; border-bottom: 2px solid var(--c-line); color: var(--c-text); font: 500 1.02rem var(--fm-font); padding: .8rem .8rem .6rem; border-radius: 8px 8px 0 0; resize: none; overflow: hidden; }
.fme-qin:focus { outline: none; border-bottom-color: var(--fm); }
.fme-qtitle-in { flex: 1 1 280px; width: auto; min-width: 0; }
.fme-qdesc-in { margin-top: .5rem; font-size: .92rem; font-weight: 400; }
.fme-type { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-card); color: var(--c-text); font: 500 .93rem var(--font-body); cursor: pointer; min-width: 215px; justify-content: space-between; }
.fme-type span { flex: 1; text-align: left; }
.fme-type:hover { background: var(--c-card2); }
.fme-edit { display: grid; gap: .5rem; }
.fme-ghost { color: var(--c-muted); border-bottom: 1px dotted var(--c-line); padding: .6rem 0; width: min(60%, 360px); margin-top: .4rem; }
.fme-ghost.inline { border: 0; padding: 0; width: auto; margin: 0; flex: 1; }
.fme-options, .fme-gcol { display: grid; gap: .1rem; margin-top: .4rem; }
.fme-opt { display: flex; align-items: center; gap: .6rem; min-height: 46px; }
.fme-ico { width: 20px; height: 20px; border: 2px solid var(--c-muted); border-radius: 50%; flex: none; opacity: .7; }
.fme-ico.box { border-radius: 5px; }
.fme-num { width: 26px; text-align: right; color: var(--c-muted); flex: none; font-size: .93rem; }
.fme-optin { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--c-text); font: 400 1rem var(--fm-font); padding: .5rem .2rem; }
.fme-opt:hover .fme-optin { border-bottom-color: var(--c-line); } .fme-optin:focus { outline: none; border-bottom: 2px solid var(--fm); }
.fme-goto { max-width: 230px; }
.fme-addopt { background: none; border: 0; color: var(--c-muted); font: 400 1rem var(--fm-font); padding: .5rem .2rem; cursor: pointer; border-bottom: 1px solid transparent; }
.fme-opt.add:hover .fme-addopt { border-bottom-color: var(--c-line); } .fme-addopt.other { color: var(--fm); font-weight: 600; padding: 0 .1rem; }
.fme-light .fme-addopt.other, .fm-light .fme-addopt.other { color: color-mix(in srgb, var(--fm) 65%, #000); }
.fme-or { color: var(--c-muted); }
.fme-line2 { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: .3rem 0; }
.fme-line2.lab span { width: 20px; text-align: right; color: var(--c-muted); }
.fme-line2.lab .fm-line { max-width: 360px; }
.fme-scale { display: grid; gap: .2rem; margin-top: .3rem; }
.fme-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: .4rem; }
.fme-gcol h4 { font: 600 .92rem var(--font-body); color: var(--c-muted); margin: 0 0 .3rem; }
.fme-checks { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; margin-top: .3rem; }
.fme-chk { position: relative; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; min-height: 38px; }
.fme-chk input { left: 0; }
.fme-swrow, .fme-req { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.fme-swrow { justify-content: space-between; padding: .3rem 0; }
.fme-media { display: grid; gap: .6rem; margin-top: .4rem; }
.fme-prev { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.fme-prev.a-center { margin-inline: auto; } .fme-prev.a-right { margin-left: auto; }
.fme-vprev { position: relative; aspect-ratio: 16 / 9; max-width: 480px; } .fme-vprev:empty { display: none; }
.fme-vprev iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.fme-after { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .5rem; }
.fme-valid { display: grid; gap: .4rem; margin-top: .6rem; padding: .8rem; border-radius: 10px; background: var(--c-card2); }
.fme-valid .fm-line { padding: .4rem 0; }
.fme-foot { display: flex; align-items: center; gap: .3rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--c-line); flex-wrap: wrap; }
.fme-vsep { width: 1px; height: 28px; background: var(--c-line); margin: 0 .7rem; }
.fme-req { font-size: .93rem; margin-right: .3rem; }
.fme-key { display: grid; gap: .3rem; padding: .8rem 1rem; border-radius: 10px; background: var(--c-card2); margin-top: .4rem; }
.fme-keyh { display: flex; align-items: center; gap: .6rem; }
.fme-pts input { width: 70px; padding: .4rem .5rem; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-input); color: var(--c-text); font: 600 1rem var(--font-body); text-align: center; }
.fme-keyopt { position: relative; display: flex; align-items: center; gap: .7rem; padding: .4rem 0; cursor: pointer; }
.fme-keyopt input { left: 0; }
.fme-fb { display: grid; gap: .3rem; margin-top: .6rem; }
.fme-keyf { text-align: right; margin-top: .4rem; }
.fme-tools { position: absolute; right: -64px; top: 0; display: flex; flex-direction: column; gap: 2px; padding: .35rem; border-radius: 14px; background: var(--c-card); border: 1px solid var(--c-line); box-shadow: 0 8px 26px rgba(0, 0, 0, .35); z-index: 5; }
.fme-tb { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; border-radius: 10px; color: var(--c-text); cursor: pointer; }
.fme-tb:hover { background: var(--c-card2); }
.fme-emptyq { text-align: center; }
.fme-import-grid { display: grid; grid-template-columns: 210px 1fr; gap: 1rem; min-height: 260px; }
.fme-import { display: grid; align-content: start; gap: .2rem; border-right: 1px solid rgba(255, 255, 255, .12); padding-right: .6rem; max-height: 50vh; overflow: auto; }
.fme-import-f { text-align: left; background: none; border: 0; color: inherit; padding: .55rem .6rem; border-radius: 8px; cursor: pointer; font: 500 .9rem var(--font-body); }
.fme-import-f:hover { background: rgba(255, 255, 255, .1); }
.fme-import-q { display: grid; align-content: start; gap: .4rem; max-height: 50vh; overflow: auto; }
.fme-import-i { display: flex; gap: .7rem; align-items: flex-start; padding: .4rem; border-radius: 8px; cursor: pointer; } .fme-import-i:hover { background: rgba(255, 255, 255, .06); }
.fme-import-i span { display: grid; } .fme-import-i small { color: #a8afe0; }

@media (max-width: 960px) {
  .fme-tools { position: static; flex-direction: row; justify-content: center; margin: 1rem -1rem -1.1rem; border-radius: 0 0 13px 13px; border-width: 1px 0 0; box-shadow: none; background: var(--c-card2); }
  .fme-grid2, .fme-import-grid { grid-template-columns: 1fr; }
  .fme-import { border: 0; max-height: 18vh; }
}
@media (max-width: 700px) {
  .fme-top { top: 58px; }
  .fme-name { font-size: 1rem; } .fme-status { display: none; }
  .fme-r1 .fm-btn span { display: none; }
  .fme-tabs button { padding: .6rem .8rem; }
  .fme-type { min-width: 0; width: 100%; }
  .fme-goto { max-width: 150px; }
}

/* ================= settings, share, theme ================= */
.fms-card { padding: 0; overflow: hidden; }
.fms-h { padding: 1.2rem 1.5rem .8rem; border-bottom: 1px solid var(--c-line); }
.fms-h h2 { font: 700 1.2rem var(--fm-font); margin: 0; } .fms-h p { color: var(--c-muted); margin: .15rem 0 0; font-size: .9rem; }
.fms-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .95rem 1.5rem; border-bottom: 1px solid var(--c-line); }
.fms-row:last-child { border-bottom: 0; }
.fms-row.col { flex-direction: column; align-items: stretch; gap: .5rem; }
.fms-txt { display: grid; gap: .1rem; min-width: 0; } .fms-txt strong { font-weight: 600; } .fms-txt small { color: var(--c-muted); font-size: .84rem; }
.fms-ctl { flex: none; max-width: 55%; } .fms-ctl .fm-in { min-width: 200px; }
.fms-access { padding: .4rem 1.5rem; }
.fms-who { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--c-line); }
.fms-who .fms-txt { flex: 1; }
.fms-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--fm) 22%, transparent); color: var(--fm); }
.fm-light .fms-ic { color: color-mix(in srgb, var(--fm) 60%, #000); }
.fms-invited { display: grid; gap: .4rem; padding: .8rem 0; border-bottom: 1px solid var(--c-line); } .fms-invited label { font-weight: 600; }
.fms-access .fms-row { padding-inline: 0; }
.fms-collab { padding: 1rem 1.5rem 1.2rem; } .fms-collab h3 { font: 600 1rem var(--font-body); margin: 0 0 .5rem; }
.fms-people { list-style: none; margin: 0 0 .7rem; padding: 0; display: grid; gap: .2rem; }
.fms-people li { display: flex; align-items: center; gap: .8rem; padding: .35rem 0; } .fms-people li span:nth-child(2) { flex: 1; } .fms-people small { color: var(--c-muted); }
.fms-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fm); color: var(--fm-ink); font-weight: 800; }
.fms-share .fms-access, .fms-share .fms-collab { padding-inline: 0; }
.fms-tabs { display: flex; gap: .3rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fms-tabs button { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; border-bottom: 3px solid transparent; color: #a8afe0; font: 600 .92rem var(--font-body); padding: .6rem 1rem; cursor: pointer; }
.fms-tabs button.on { color: #eef0ff; border-bottom-color: #ffc20e; }
.fms-panel { display: grid; gap: .5rem; }
.fms-lab { font-weight: 600; font-size: .88rem; color: #a8afe0; margin-top: .3rem; }
.fms-copyrow { display: flex; gap: .6rem; } .fms-copyrow .fm-in { flex: 1; }
.fms-embedrow { display: flex; align-items: center; gap: .6rem; }
.fms-below hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 1.2rem 0 .4rem; }
.fms-below .fms-who { border-color: rgba(255, 255, 255, .1); }
.fmt h3 { font: 600 .95rem var(--font-body); margin: 1.1rem 0 .5rem; color: #a8afe0; } .fmt h3:first-child { margin-top: 0; }
.fmt-hdr { display: grid; gap: .6rem; }
.fmt-sw { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.fmt-dot { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.fmt-dot.on { border-color: #fff; }
.fmt-sw input[type=color] { width: 40px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
.fmt-seg, .fmt-fonts { display: flex; gap: .5rem; flex-wrap: wrap; }
.fmt-seg button, .fmt-fonts button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #eef0ff; cursor: pointer; font: 600 .9rem var(--font-body); }
.fmt-seg button.on, .fmt-fonts button.on { background: #ffc20e; color: #111322; border-color: #ffc20e; }
.fmt-fonts [data-font=decorative] { font-family: var(--font-display); } .fmt-fonts [data-font=formal] { font-family: Georgia, serif; } .fmt-fonts [data-font=playful] { font-family: 'Comic Sans MS', 'Chalkboard SE', cursive; }
@media (max-width: 640px) {
  .fms-row { flex-direction: column; align-items: stretch; gap: .6rem; } .fms-row .fm-toggle, .fms-ctl { max-width: none; }
  .fms-row:has(.fm-sw) { flex-direction: row; align-items: center; }
  .fms-ctl .fm-in { min-width: 0; width: 100%; }
  .fms-who { flex-wrap: wrap; } .fms-who .fm-select { width: 100%; }
}

/* ================= responses ================= */
.fmr-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.fmr-count b { font: 800 2rem var(--fm-font); } .fmr-count span { color: var(--c-muted); }
.fmr-acc { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; }
.fmr-empty { text-align: center; padding: 3rem 1rem; display: grid; justify-items: center; gap: .3rem; color: var(--c-muted); }
.fmr-empty .fm-i { width: 56px; height: 56px; opacity: .6; } .fmr-empty .fm-btn { margin-top: .7rem; }
.fmr-card h3 { font: 600 1.08rem var(--fm-font); margin: 0; overflow-wrap: anywhere; }
.fmr-meta { color: var(--c-muted); font-size: .85rem; margin: .15rem 0 .9rem; }
.fmr-quiz { font-weight: 600; color: var(--c-ok); margin: -.4rem 0 .8rem; }
.fmr-pie { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.fmr-piesvg { width: 190px; height: 190px; flex: none; }
.fmr-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; flex: 1; min-width: 180px; }
.fmr-leg li { display: flex; align-items: center; gap: .6rem; } .fmr-leg i { width: 14px; height: 14px; border-radius: 3px; flex: none; } .fmr-leg span { flex: 1; overflow-wrap: anywhere; } .fmr-leg small { color: var(--c-muted); white-space: nowrap; }
.fmr-hbars { display: grid; gap: .6rem; }
.fmr-hb { display: grid; grid-template-columns: minmax(80px, 30%) 1fr auto; gap: .8rem; align-items: center; }
.fmr-hb .lab { overflow-wrap: anywhere; font-size: .92rem; } .fmr-hb small { color: var(--c-muted); white-space: nowrap; }
.fmr-hb .track { height: 22px; border-radius: 6px; background: var(--c-card2); overflow: hidden; } .fmr-hb .track i { display: block; height: 100%; border-radius: 6px; min-width: 2px; }
.fmr-vbars { display: flex; align-items: flex-end; gap: clamp(.3rem, 1.6vw, .9rem); height: 190px; padding-top: .5rem; }
.fmr-vb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .3rem; min-width: 0; }
.fmr-vb i { display: block; width: min(100%, 56px); background: var(--fm); border-radius: 6px 6px 0 0; }
.fmr-vb small { color: var(--c-muted); font-size: .8rem; } .fmr-vb span { font-size: .85rem; font-weight: 600; }
.fmr-avg { margin: .8rem 0 0; color: var(--c-muted); font-weight: 600; }
.fmr-cell { background: color-mix(in srgb, var(--fm) calc(var(--k, 0) * 70%), transparent); }
.fmr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.fmr-list.text li { padding: .6rem .8rem; border-radius: 8px; background: var(--c-card2); overflow-wrap: anywhere; white-space: pre-wrap; }
.fmr-list li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; } .fmr-list.text li { display: block; }
.fmr-list a { color: var(--fm); } .fm-light .fmr-list a { color: color-mix(in srgb, var(--fm) 55%, #000); }
.fmr-list .when { color: var(--c-muted); display: block; margin-top: .2rem; }
.fmr-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: .3rem 0 1rem; } .fmr-stats div { display: grid; } .fmr-stats small { color: var(--c-muted); } .fmr-stats b { font: 700 1.4rem var(--fm-font); }
.fmr-pick { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .6rem 1rem; }
.fmr-pick .fm-select { max-width: 100%; flex: 1 1 200px; }
.fmr-total { font-size: 1.1rem; } .fmr-total b { font: 800 1.6rem var(--fm-font); color: var(--fm); }
.fm-light .fmr-total b { color: color-mix(in srgb, var(--fm) 60%, #000); }
.fmr-ans { margin: .5rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; } .fmr-ans.none { color: var(--c-muted); font-style: italic; }
.fmr-grade { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--c-line); font-weight: 600; } .fmr-grade.ok { color: var(--c-ok); } .fmr-grade.no { color: var(--c-err); }
.fmr-grade .fmr-pts { margin-left: auto; color: var(--c-text); font-weight: 500; }

/* ================= print ================= */
@media print {
  .nav-wrap, .footer, .live-bar, .fme-top, .fme-tools, .fm-nav, .toasts, .fme-grip, .fmr-pick .fm-ib, .fmr-head, .fme-tabs { display: none !important; }
  body, .fme, .fm-root { background: #fff !important; color: #000 !important; }
  .fm-card { background: #fff !important; color: #000 !important; border: 1px solid #bbb !important; box-shadow: none !important; break-inside: avoid; backdrop-filter: none !important; }
  .fm-card * { color: #000 !important; }
  .fm-dark, .fme:not(.fm-light), .fm-root:not(.fm-light) { --c-text: #000; --c-muted: #444; --c-line: #bbb; }
}

/* fixes after first look */
.fmx .fmx-sel { width: auto; flex: none; }
.fmx .fmx-search { flex: 0 1 260px; } .fmx-search input { width: 100%; min-width: 0; }
.fmx-tplpic, .fmx-thumb { background-color: color-mix(in srgb, var(--fm) 13%, #0b1048); }
.fme-head .fme-htitle:disabled, .fme-hdesc:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
.fme-head .fme-htitle:disabled { color: var(--c-text); } .fme-hdesc:disabled { color: var(--c-muted); }
