#root .qr-studio{width:100%;min-width:0;--head:76px;font:400 17px/1.55 Onest,sans-serif}#root .qr-studio *{box-sizing:border-box}#root .qr-studio :is(h2,h3,h4,p){margin:0}#root .qr-studio :is(button,input,textarea,select){font:inherit;color:inherit;letter-spacing:inherit}#root .qr-studio button{cursor:pointer}#root .qr-studio a{color:inherit}#root .qr-studio .icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#root .qr-studio :is(img,svg,canvas){max-width:100%;display:block}#root .qr-studio [hidden]{display:none!important}
#root .qr-studio{
  --bg:#fff;
  --tint:#f4f7ff;
  --surface:#f4f6fb;
  --ink:#111933;
  --cobalt:#2548bd;
  --cobalt-2:#3d66ea;
  --cobalt-soft:#e8eeff;
  --mandarin:#f45f1c;
  --mandarin-2:#ff8a4a;
  --lime:#cfe86f;
  --lime-2:#a9cf3f;
  --lime-soft:#f0f8d6;
  --sky:#d3e0ff;
  --sky-soft:#edf2ff;
  --muted:#566079;
  --line:#e4e8f1;
  --pad:clamp(16px,4vw,64px);
  --head:76px;
  --px:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Crect width='8' height='8' y='1' rx='2' fill='%232548bd'/%3E%3Crect x='11' width='8' height='8' y='1' rx='2' fill='%23f45f1c'/%3E%3Crect x='22' width='8' height='8' y='1' rx='2' fill='%23a9cf3f'/%3E%3C/svg%3E");
  margin:0;background:var(--bg);color:var(--ink);
  font:400 17px/1.55 Onest,sans-serif;-webkit-font-smoothing:antialiased;
}
#root .qr-studio :focus-visible{outline:3px solid var(--cobalt);outline-offset:3px;border-radius:8px}
#root .qr-studio .b-wrap{width:min(1312px,100% - 2*var(--pad));margin-inline:auto}
#root .qr-studio .b-blue{color:var(--cobalt)}
#root .qr-studio h2{font:600 clamp(30px,3.3vw,48px)/1.06 Unbounded,sans-serif;letter-spacing:-.045em;text-wrap:balance}
#root .qr-studio .b-copy{color:var(--muted);font-size:18px;line-height:1.6}
#root .qr-studio .b-fine{margin-top:16px;color:var(--muted);font-size:14px;line-height:1.55}
#root .qr-studio .b-fine--center{text-align:center}
#root .qr-studio .b-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;color:var(--cobalt);font:600 13px/1.2 Onest,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#root .qr-studio .b-eyebrow::before{content:"";width:30px;height:10px;background:var(--px) center/contain no-repeat}
#root .qr-studio .b-eyebrow--lime{color:var(--lime)}
#root .qr-studio .b-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border:0;border-radius:16px;background:linear-gradient(180deg,var(--mandarin-2) -50%,var(--mandarin) 60%);color:#fff;font:700 19px/1 Onest,sans-serif;letter-spacing:-.01em;white-space:nowrap;box-shadow:0 14px 28px -16px rgba(244,95,28,.9),inset 0 1px 0 rgba(255,255,255,.25);transition:translate .2s,box-shadow .2s}
#root .qr-studio .b-btn:hover{translate:0 -2px;box-shadow:0 20px 34px -16px rgba(244,95,28,.95),inset 0 1px 0 rgba(255,255,255,.25)}
#root .qr-studio .b-btn .icon{width:20px;height:20px;stroke-width:2.2}
#root .qr-studio .b-btn--lg{min-height:60px;padding:0 28px}
#root .qr-studio .b-btn--sm{min-height:44px;padding:0 18px;border-radius:12px;background:var(--cobalt);font-size:15px;box-shadow:0 10px 22px -14px rgba(37,72,189,.9)}
#root .qr-studio .b-btn--sm:hover{box-shadow:0 14px 26px -14px rgba(37,72,189,.95)}
#root .qr-studio :is([data-camera-entry],a[href^="/qr-kody/skaner-qr-onlayn/"])::before{content:none!important;display:none!important}
#root .qr-studio #living-pages{font:inherit;color:inherit}
#root .qr-studio #living-pages .living-home-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;margin:0 0 16px;padding:5px;border:0;border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line)}
#root .qr-studio #living-pages [data-living-home-scene]{flex-direction:column;justify-content:center;gap:4px;min-height:76px;padding:8px;border:0;border-radius:14px;background:none;color:var(--muted);font:400 14px/1.3 Onest,sans-serif;text-align:center;transition:background .2s,color .2s}
#root .qr-studio #living-pages [data-living-home-scene] svg{width:30px;height:30px;flex-basis:30px;color:currentColor}
#root .qr-studio #living-pages [data-living-home-scene] b{font-size:15px;font-weight:650}
#root .qr-studio #living-pages [data-living-home-scene] small{display:none}
#root .qr-studio #living-pages [data-living-home-scene][aria-pressed=true]{background:var(--cobalt);color:#fff;border:0}
#root .qr-studio #living-pages [data-living-home-note]{flex:none;margin:0 0 20px;color:var(--muted);font-size:15px;line-height:1.55}
#root .qr-studio #living-pages .living-home-create{min-height:60px;padding:0 28px;border-radius:16px;background:linear-gradient(180deg,var(--mandarin-2) -50%,var(--mandarin) 60%);font:700 19px/1 Onest,sans-serif;box-shadow:0 14px 28px -16px rgba(244,95,28,.9)}
#root .qr-studio #living-pages .living-home-create::after{content:none}
#root .qr-studio #living-pages :is(.lc-save,.ls-open){background:var(--mandarin);box-shadow:none}
#root .qr-studio #living-pages .ls-categories button[aria-pressed=true]{background:var(--cobalt)}
#root .qr-studio #living-pages .living-home-stage,#root .qr-studio #living-home-stage{display:grid;place-items:center;min-height:560px;padding:28px;border:0;border-radius:28px;background:#fff;box-shadow:0 0 0 1px var(--line),0 40px 80px -50px rgba(37,72,189,.55)}
#root .qr-studio #living-home-stage>p{max-width:22em;color:var(--muted);text-align:center}
#root .qr-studio .btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;align-self:flex-start;min-height:58px;margin-top:24px;padding:0 26px;border:0;border-radius:16px;background:linear-gradient(180deg,var(--mandarin-2) -50%,var(--mandarin) 60%);color:#fff;font:700 19px/1 Onest,sans-serif;box-shadow:0 14px 28px -16px rgba(244,95,28,.9)}
#root .qr-studio .btn-primary:disabled{opacity:.45;cursor:not-allowed}
#root .qr-studio .btn-primary .icon{width:20px;height:20px;stroke-width:2.2}

/* Генератор QR-кодов — студия в языке «Живого кода».
   Белая основа, кобальт для выбора, мандарин для главного действия, лайм для «готово».
   Квадратик-модуль — сквозной мотив: ручки переключателей, метки статусов, точки этапов. */
#root .qr-studio{
  --ok:#2c7a3f;--ok-soft:#eef8dc;--warn:#a84a0d;--warn-soft:#f4f6fb;--bad:#c22a2a;--bad-soft:#fdeeee;
  --field:#d9dfeb;--panel-shadow:0 0 0 1px var(--line),0 30px 60px -48px rgba(37,72,189,.45);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#root .qr-studio button{font-family:inherit}
#root .qr-studio button:disabled{cursor:not-allowed}
#root .qr-studio .g-main{padding-bottom:8px}

/* ——— Первый экран ——— */
#root .qr-studio .g-hero{padding:clamp(12px,1.6vw,20px) 0 clamp(16px,1.8vw,22px)}
#root .qr-studio .g-crumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;color:var(--muted);font-size:14px}
#root .qr-studio .g-crumbs a:hover{color:var(--cobalt)}
#root .qr-studio .g-hero__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:end}
#root .qr-studio .g-hero .b-eyebrow{margin-bottom:12px}
#root .qr-studio .g-hero h1{font:600 clamp(32px,3.7vw,54px)/1 Unbounded,sans-serif;letter-spacing:-.055em;text-wrap:balance}
#root .qr-studio .g-lead{max-width:34em;padding-bottom:4px;color:var(--muted);font-size:17px;line-height:1.55}
#root .qr-studio .g-trust{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0;padding:0;list-style:none}
#root .qr-studio .g-trust li{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:var(--surface);font:600 13px/1 Onest,sans-serif}
#root .qr-studio .g-trust li::before{content:"";width:8px;height:8px;border-radius:2.5px;background:var(--lime-2)}
#root .qr-studio .g-trust li:nth-child(2)::before{background:var(--cobalt)}
#root .qr-studio .g-trust li:nth-child(4)::before{background:var(--mandarin)}

/* ——— Девять продуктов ——— */
#root .qr-studio .g-products{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;padding:6px;border-radius:26px;background:var(--surface)}
#root .qr-studio .g-product{display:grid;justify-items:center;align-content:start;gap:6px;min-width:0;padding:10px 6px 12px;border:0;border-radius:20px;background:transparent;color:var(--ink);text-align:center;transition:background .2s,box-shadow .2s}
#root .qr-studio .g-product__art img{width:78px;height:58px;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
#root .qr-studio .g-product__text{display:grid;gap:3px;min-width:0}
#root .qr-studio .g-product b{font:650 15px/1.15 Onest,sans-serif}
#root .qr-studio .g-product small{color:var(--muted);font-size:12.5px;line-height:1.25}
#root .qr-studio .g-product:hover{background:rgba(255,255,255,.75)}
#root .qr-studio .g-product:hover img{transform:translateY(-2px) rotate(-4deg)}
#root .qr-studio .g-product[aria-checked=true]{background:#fff;box-shadow:0 0 0 2px var(--cobalt),0 18px 30px -22px rgba(37,72,189,.75)}
#root .qr-studio .g-product[aria-checked=true] b{color:var(--cobalt)}
#root .qr-studio .g-product[aria-checked=true] img{transform:scale(1.06)}

/* ——— Рабочая область: этапы · панель · результат ——— */
#root .qr-studio .g-work{display:grid;grid-template-columns:232px minmax(0,1fr) 372px;gap:20px;align-items:start;margin-top:18px}
#root .qr-studio .g-rail{position:sticky;top:calc(var(--head) + 16px);display:grid;gap:14px;min-width:0}
#root .qr-studio .g-stages{display:grid;gap:3px;padding:6px;border-radius:22px;background:var(--surface)}
#root .qr-studio .g-stage{display:grid;grid-template-columns:28px minmax(0,1fr) 9px;gap:10px;align-items:center;width:100%;padding:10px 12px 10px 10px;border:0;border-radius:16px;background:none;color:var(--ink);text-align:left;transition:background .2s,box-shadow .2s}
#root .qr-studio .g-stage__num{font:600 12.5px/1 Unbounded,sans-serif;color:#8a93aa}
#root .qr-studio .g-stage__text{display:grid;gap:2px;min-width:0}
#root .qr-studio .g-stage b{font:650 15px/1.2 Onest,sans-serif}
#root .qr-studio .g-stage small{overflow:hidden;color:var(--muted);font-size:12.5px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
#root .qr-studio .g-stage__mark{width:9px;height:9px;border-radius:3px}
#root .qr-studio .g-stage__mark[data-level=ok]{background:var(--lime-2)}
#root .qr-studio .g-stage__mark[data-level=warn]{background:var(--mandarin)}
#root .qr-studio .g-stage__mark[data-level=bad]{background:var(--bad)}
#root .qr-studio .g-stage:hover{background:rgba(255,255,255,.8)}
#root .qr-studio .g-stage[aria-selected=true]{background:#fff;box-shadow:0 0 0 1px var(--line),0 12px 24px -18px rgba(17,25,51,.5)}
#root .qr-studio .g-stage[aria-selected=true] .g-stage__num{color:var(--cobalt)}
#root .qr-studio .g-tools{display:grid;gap:2px}
#root .qr-studio .g-tool{display:flex;align-items:center;gap:10px;min-height:38px;padding:0 12px;border:0;border-radius:12px;background:none;color:var(--muted);font:500 14px/1 Onest,sans-serif;text-align:left}
#root .qr-studio .g-tool .icon{width:18px;height:18px}
#root .qr-studio .g-tool:hover:not(:disabled){background:var(--surface);color:var(--ink)}
#root .qr-studio .g-tool:disabled{opacity:.38}
#root .qr-studio .g-tool b{margin-left:auto;min-width:24px;padding:4px 7px;border-radius:999px;background:var(--cobalt-soft);color:var(--cobalt);font-size:12px;text-align:center}
#root .qr-studio .g-tool b[data-zero]{display:none}

/* ——— Панель этапа ——— */
#root .qr-studio .g-panels{min-width:0}
#root .qr-studio .g-panel{padding:clamp(18px,2.2vw,30px);border-radius:28px;background:#fff;box-shadow:var(--panel-shadow)}
#root .qr-studio .g-panel__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
#root .qr-studio .g-panel__num{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:var(--cobalt);font:600 12.5px/1 Onest,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#root .qr-studio .g-panel__num b{padding:5px 7px;border-radius:7px;background:var(--cobalt-soft);font:600 11.5px/1 Unbounded,sans-serif;letter-spacing:0}
#root .qr-studio .g-panel h2{font:600 clamp(24px,2.2vw,32px)/1.08 Unbounded,sans-serif;letter-spacing:-.045em;outline:none}
#root .qr-studio .g-panel__lead{max-width:44em;margin-top:8px;color:var(--muted);font-size:15.5px;line-height:1.55}
#root .qr-studio .g-panel__art{flex:none;width:112px;height:84px}
#root .qr-studio .g-panel__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
#root .qr-studio .g-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 6px;border:0;background:none;color:var(--muted);font:600 15px/1 Onest,sans-serif}
#root .qr-studio .g-back:hover{color:var(--cobalt)}
#root .qr-studio .g-next .icon{width:18px;height:18px}

#root .qr-studio .g-group{min-width:0;margin:0;padding:18px 0 6px;border:0;border-top:1px solid var(--line)}
#root .qr-studio .g-group legend{float:left;width:100%;margin:0 0 12px;padding:0;font:650 16.5px/1.3 Onest,sans-serif}
#root .qr-studio .g-group legend + *{clear:both}
/* Свёрнутые группы редких полей */
#root .qr-studio .g-fold{padding-bottom:6px}
#root .qr-studio .g-fold > summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:2px 30px 12px 0;position:relative;cursor:pointer;list-style:none}
#root .qr-studio .g-fold > summary::-webkit-details-marker{display:none}
#root .qr-studio .g-fold > summary b{font:650 16.5px/1.3 Onest,sans-serif}
#root .qr-studio .g-fold > summary small{color:var(--muted);font-size:13.5px}
#root .qr-studio .g-fold > summary::after{content:"";position:absolute;top:5px;right:6px;width:9px;height:9px;border-right:2px solid var(--cobalt);border-bottom:2px solid var(--cobalt);rotate:45deg;transition:rotate .2s,translate .2s}
#root .qr-studio .g-fold[open] > summary::after{rotate:225deg;translate:0 5px}
#root .qr-studio .g-fold > summary:hover b{color:var(--cobalt)}
#root .qr-studio .g-fold[open] > summary small{display:none}
#root .qr-studio .g-fold:not([open]){padding-bottom:4px}
#root .qr-studio .g-panel__head + .g-group,#root .qr-studio .g-quick + .g-group{border-top:0;padding-top:8px}
#root .qr-studio .g-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;min-width:0}
#root .qr-studio .g-grid > .is-wide{grid-column:1/-1}
#root .qr-studio .g-grid + .g-grid,#root .qr-studio .g-group > .g-field + .g-field,#root .qr-studio .g-group > div + .g-toggle,#root .qr-studio .g-group > .g-toggle + div,#root .qr-studio .g-group > .g-seg + .g-grid,#root .qr-studio .g-group > div + .g-actions{margin-top:12px}
#root .qr-studio .g-quick{display:grid;gap:8px;margin:0 0 6px;padding:14px;border-radius:18px;background:var(--sky-soft)}
#root .qr-studio .g-label{display:block;margin-bottom:6px;color:#353d55;font:600 13.5px/1.3 Onest,sans-serif}
#root .qr-studio .g-note{color:var(--muted);font-size:13.5px;line-height:1.5}
#root .qr-studio .g-note b{color:var(--ink)}
#root .qr-studio .g-group > .g-note,#root .qr-studio .g-group > [data-when] > .g-note{margin-top:8px}

/* Поля */
#root .qr-studio .g-field{display:grid;align-content:start;gap:6px;min-width:0}
#root .qr-studio .g-field > label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;color:#353d55;font:600 13.5px/1.3 Onest,sans-serif}
#root .qr-studio :is(.g-field,.g-list,.g-inline,.g-format) :is(input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),select,textarea){width:100%;min-height:46px;padding:10px 14px;border:1.5px solid var(--field);border-radius:13px;background:#fff;color:var(--ink);font:500 16px/1.35 Onest,sans-serif;transition:border-color .2s,box-shadow .2s}
#root .qr-studio :is(.g-field,.g-list,.g-inline,.g-format) :is(input,select,textarea):focus{border-color:var(--cobalt);outline:none;box-shadow:0 0 0 4px rgba(37,72,189,.13)}
#root .qr-studio .g-field textarea{min-height:96px;resize:vertical}
#root .qr-studio :is(.g-field,.g-list,.g-format) select{appearance:none;-webkit-appearance:none;padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 8 4.5 4.5L14.5 8' fill='none' stroke='%23566079' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat}
#root .qr-studio input::placeholder,#root .qr-studio textarea::placeholder{color:#9aa3b8}
#root .qr-studio .g-hint{display:block;color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}
#root .qr-studio .g-count{color:var(--muted);font-size:12.5px;font-style:normal;font-weight:500;white-space:nowrap}

/* Переключатель: ручка — квадратный модуль */
#root .qr-studio .g-toggle{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:6px 0;cursor:pointer}
#root .qr-studio .g-toggle input{position:absolute;width:1px;height:1px;opacity:0}
#root .qr-studio .g-toggle__ui{position:relative;width:42px;height:24px;margin-top:1px;border-radius:999px;background:#d5dbe8;transition:background .2s}
#root .qr-studio .g-toggle__ui::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:6px;background:#fff;box-shadow:0 2px 5px rgba(17,25,51,.22);transition:transform .22s cubic-bezier(.2,.8,.2,1)}
#root .qr-studio .g-toggle input:checked + .g-toggle__ui{background:var(--cobalt)}
#root .qr-studio .g-toggle input:checked + .g-toggle__ui::after{transform:translateX(18px)}
#root .qr-studio .g-toggle input:focus-visible + .g-toggle__ui{outline:3px solid var(--cobalt);outline-offset:2px}
#root .qr-studio .g-toggle__text{display:grid;gap:3px;font:500 15px/1.4 Onest,sans-serif}
#root .qr-studio .g-toggle__ui--box{width:24px;height:24px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--field)}
#root .qr-studio .g-toggle__ui--box::after{content:none}
#root .qr-studio .g-toggle input:checked + .g-toggle__ui--box{background:var(--lime-2) var(--check) center/18px no-repeat;box-shadow:none}

/* Чипы, кнопки второго плана */
#root .qr-studio .g-chips{display:flex;flex-wrap:wrap;gap:6px}
#root .qr-studio .g-chip{min-height:34px;padding:0 13px;border:0;border-radius:999px;background:#fff;color:var(--ink);font:500 14px/1 Onest,sans-serif;box-shadow:inset 0 0 0 1px var(--line);transition:background .2s,color .2s,box-shadow .2s}
#root .qr-studio .g-chip:hover{background:var(--cobalt-soft);color:var(--cobalt);box-shadow:inset 0 0 0 1px transparent}
#root .qr-studio .g-group .g-chips{margin-top:8px}
#root .qr-studio .g-actions{display:flex;flex-wrap:wrap;gap:8px}
#root .qr-studio .g-actions--tools{margin-top:14px}
#root .qr-studio .g-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1.5px solid var(--field);border-radius:13px;background:#fff;color:var(--ink);font:600 14.5px/1.1 Onest,sans-serif;text-align:left;transition:border-color .2s,color .2s,background .2s}
#root .qr-studio .g-ghost:hover:not(:disabled){border-color:var(--cobalt);color:var(--cobalt)}
#root .qr-studio .g-ghost .icon{width:18px;height:18px}
#root .qr-studio .g-ghost--sm{min-height:34px;padding:0 11px;font-size:13.5px}
#root .qr-studio .g-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:11px;background:none;color:var(--muted)}
#root .qr-studio .g-icon:hover{background:var(--surface);color:var(--ink)}
#root .qr-studio .g-icon .icon{width:18px;height:18px}
#root .qr-studio .g-file{position:relative;cursor:pointer}
#root .qr-studio .g-file input{position:absolute;width:1px;height:1px;opacity:0}
#root .qr-studio .g-file:focus-within{outline:3px solid var(--cobalt);outline-offset:2px}

/* Списки: телефоны, почта, сайты */
#root .qr-studio .g-list{display:grid;gap:8px;min-width:0}
#root .qr-studio .g-list .g-label{margin:0}
#root .qr-studio .g-list__rows{display:grid;gap:8px}
#root .qr-studio .g-list__row{display:grid;grid-template-columns:minmax(118px,.4fr) minmax(0,1fr) 42px;gap:8px;align-items:center}
#root .qr-studio .g-list__row:not(:has(select)){grid-template-columns:minmax(0,1fr) 42px}
#root .qr-studio .g-remove{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:var(--surface);color:var(--muted)}
#root .qr-studio .g-remove:hover{background:var(--bad-soft);color:var(--bad)}
#root .qr-studio .g-remove .icon{width:16px;height:16px}
#root .qr-studio .g-add{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 13px;border:1.5px dashed #c5cee0;border-radius:12px;background:none;color:var(--cobalt);font:600 14px/1 Onest,sans-serif}
#root .qr-studio .g-add:hover{border-color:var(--cobalt);background:var(--cobalt-soft)}
#root .qr-studio .g-add .icon{width:16px;height:16px}

/* Пароль и его стойкость */
#root .qr-studio .g-pass{position:relative}
#root .qr-studio .g-pass input{padding-right:50px}
#root .qr-studio .g-pass__eye{position:absolute;top:50%;right:5px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:none;color:var(--muted);translate:0 -50%}
#root .qr-studio .g-pass__eye[aria-pressed=true]{background:var(--cobalt-soft);color:var(--cobalt)}
#root .qr-studio .g-meter{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;height:6px;margin-top:2px}
#root .qr-studio .g-meter i{border-radius:3px;background:#e4e8f1;transition:background .3s}
#root .qr-studio .g-meter[data-level="1"] i:nth-child(1){background:var(--bad)}
#root .qr-studio .g-meter[data-level="2"] i:nth-child(-n+2){background:var(--mandarin)}
#root .qr-studio .g-meter[data-level="3"] i{background:var(--lime-2)}
#root .qr-studio .g-meter__text{color:var(--muted);font-size:13px}

/* Подсказки по содержимому */
#root .qr-studio .g-messages ul{display:grid;gap:6px;margin:16px 0 0;padding:0;list-style:none}
#root .qr-studio .g-messages li,#root .qr-studio .g-checks li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 10px;align-items:start;padding:10px 12px;border-radius:13px;font-size:14.5px;line-height:1.45}
#root .qr-studio .g-messages li i,#root .qr-studio .g-checks li i{position:relative;display:block;width:22px;height:22px;border-radius:7px;background:var(--cobalt)}
#root .qr-studio .g-messages li i::after,#root .qr-studio .g-checks li i::after{content:"i";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:700 13px/1 Onest,sans-serif}
#root .qr-studio .g-messages li[data-level=info]{background:var(--sky-soft);color:#2a3350}
#root .qr-studio .g-messages li[data-level=warn]{background:var(--warn-soft);box-shadow:inset 3px 0 0 var(--mandarin);color:#3a2a1e}
#root .qr-studio .g-messages li[data-level=bad]{background:var(--bad-soft);color:#7d1717}
#root .qr-studio :is(.g-messages,.g-checks) li[data-level=warn] i{background:var(--mandarin)}
#root .qr-studio :is(.g-messages,.g-checks) li[data-level=warn] i::after{content:"!"}
#root .qr-studio :is(.g-messages,.g-checks) li[data-level=bad] i{background:var(--bad)}
#root .qr-studio :is(.g-messages,.g-checks) li[data-level=bad] i::after{content:"×";font-size:16px}
#root .qr-studio .g-checks li[data-level=ok] i{background:var(--lime-2) var(--check) center/16px no-repeat}
#root .qr-studio .g-checks li[data-level=ok] i::after{content:none}

/* Что записано в коде */
#root .qr-studio .g-payload{margin-top:14px;border-radius:16px;background:var(--surface)}
#root .qr-studio .g-payload summary{display:flex;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;font:600 14.5px/1.3 Onest,sans-serif;list-style:none}
#root .qr-studio .g-payload summary::-webkit-details-marker{display:none}
#root .qr-studio .g-payload summary::after{content:"";width:9px;height:9px;margin-left:auto;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);rotate:45deg;translate:0 -2px;transition:rotate .2s}
#root .qr-studio .g-payload[open] summary::after{rotate:225deg;translate:0 2px}
#root .qr-studio .g-payload em{color:var(--muted);font-size:13px;font-style:normal;font-weight:500}
#root .qr-studio .g-payload pre{max-height:190px;margin:0 16px 10px;padding:12px 14px;overflow:auto;border-radius:12px;background:#fff;color:#2a3350;font:500 13.5px/1.55 Onest,sans-serif;white-space:pre-wrap;word-break:break-all}
#root .qr-studio .g-payload > button{margin:0 16px 16px}

/* Сегменты */
#root .qr-studio .g-seg{display:inline-flex;flex-wrap:wrap;gap:4px;max-width:100%;padding:4px;border-radius:14px;background:var(--surface)}
#root .qr-studio .g-seg button{min-height:38px;padding:0 14px;border:0;border-radius:10px;background:none;color:var(--muted);font:600 14px/1.1 Onest,sans-serif;transition:background .2s,color .2s}
#root .qr-studio .g-seg button:hover{color:var(--ink)}
#root .qr-studio .g-seg button[aria-pressed=true]{background:#fff;color:var(--cobalt);box-shadow:0 1px 0 rgba(17,25,51,.05),0 6px 14px -8px rgba(17,25,51,.35)}
#root .qr-studio .g-group > .g-seg{margin-bottom:4px}
#root .qr-studio .g-group > .g-label{margin-top:14px}
#root .qr-studio .g-group > .g-label:first-of-type{margin-top:0}

/* Визуальный выбор форм */
#root .qr-studio .g-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
#root .qr-studio .g-swatch{display:grid;justify-items:center;gap:7px;min-width:0;padding:12px 6px 10px;border:0;border-radius:16px;background:var(--surface);color:var(--ink);font:500 12.5px/1.2 Onest,sans-serif;transition:background .2s,box-shadow .2s,transform .2s}
#root .qr-studio .g-swatch__art{display:grid;place-items:center;width:44px;height:44px}
#root .qr-studio .g-swatch__art svg{width:100%;height:100%}
#root .qr-studio .g-swatch__label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#root .qr-studio .g-swatch:hover{background:var(--cobalt-soft)}
#root .qr-studio .g-swatch[aria-pressed=true]{background:#fff;box-shadow:0 0 0 2px var(--cobalt),0 12px 22px -16px rgba(37,72,189,.8)}
#root .qr-studio .g-swatches--eye{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
#root .qr-studio .g-swatches--eye .g-swatch__art{width:36px;height:36px}
#root .qr-studio .g-swatch--file .g-swatch__art{color:var(--cobalt)}
#root .qr-studio .g-swatch--file .g-swatch__art .icon{width:26px;height:26px}
#root .qr-studio #panel-logo.is-over{box-shadow:0 0 0 3px var(--cobalt),var(--panel-shadow)}
#root .qr-studio .g-swatches--frames{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
#root .qr-studio .g-swatches--frames .g-swatch__art{width:62px;height:66px}
#root .qr-studio .g-swatches--marks{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));margin-bottom:12px}
#root .qr-studio .g-swatches--marks .g-swatch__art{width:34px;height:34px}
#root .qr-studio .g-group .g-swatches + .g-label{margin-top:16px}
#root .qr-studio .g-group [data-when=scalable]{margin-top:12px}

/* Готовые и свои стили */
#root .qr-studio .g-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#root .qr-studio .g-preset{display:grid;justify-items:center;gap:7px;min-width:0;padding:10px 6px;border:0;border-radius:18px;background:var(--surface);color:var(--ink);font:600 13px/1.2 Onest,sans-serif;transition:background .2s,box-shadow .2s}
#root .qr-studio .g-preset__art{display:block;width:100%;max-width:76px;aspect-ratio:1}
#root .qr-studio .g-preset__art svg{width:100%;height:100%;border-radius:10px}
#root .qr-studio .g-preset:hover{background:var(--cobalt-soft)}
#root .qr-studio .g-preset[aria-pressed=true]{background:#fff;box-shadow:0 0 0 2px var(--cobalt)}
#root .qr-studio .g-inline{display:flex;gap:8px}
#root .qr-studio .g-inline input{flex:1}
#root .qr-studio .g-inline .g-ghost{flex:none;min-height:46px}
#root .qr-studio .g-mystyles__list{display:grid;gap:6px;margin-top:10px}
#root .qr-studio .g-mystyle{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:6px 6px 6px 8px;border-radius:14px;background:var(--surface)}
#root .qr-studio .g-mystyle__art svg{width:40px;height:40px;border-radius:7px}
#root .qr-studio .g-mystyle b{overflow:hidden;font-size:14.5px;white-space:nowrap;text-overflow:ellipsis}

/* Цвет */
#root .qr-studio .g-color{display:grid;gap:6px;min-width:0}
#root .qr-studio .g-color .g-label{margin:0}
#root .qr-studio .g-color__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#root .qr-studio .g-color__well{position:relative;display:block;flex:none;width:46px;height:46px;overflow:hidden;border-radius:13px;box-shadow:inset 0 0 0 1.5px var(--field);cursor:pointer}
#root .qr-studio .g-color__well input{position:absolute;inset:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding:0;border:0;cursor:pointer}
#root .qr-studio .g-color__well span{position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px rgba(17,25,51,.16);pointer-events:none}
#root .qr-studio .g-color__well:focus-within{outline:3px solid var(--cobalt);outline-offset:2px}
#root .qr-studio .g-color__hex{width:108px;min-height:46px;padding:0 12px;border:1.5px solid var(--field);border-radius:13px;color:var(--ink);font:600 14.5px/1 Onest,sans-serif;text-transform:uppercase}
#root .qr-studio .g-color__hex:focus{border-color:var(--cobalt);outline:none;box-shadow:0 0 0 4px rgba(37,72,189,.13)}
#root .qr-studio .g-dots{display:flex;flex-wrap:wrap;gap:6px}
#root .qr-studio .g-dots button{width:28px;height:28px;padding:0;border:0;border-radius:9px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(17,25,51,.16);transition:transform .15s}
#root .qr-studio .g-dots button:hover{transform:scale(1.1)}
#root .qr-studio .g-dots button[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--cobalt)}
#root .qr-studio .g-dots button[data-value=""]{background:repeating-linear-gradient(45deg,#fff 0 4px,#e4e8f1 4px 8px)}

/* Ползунки: бегунок — квадратный модуль */
#root .qr-studio .g-range output{color:var(--cobalt);font-weight:700}
#root .qr-studio .g-range input[type=range]{width:100%;height:30px;margin:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer}
#root .qr-studio .g-range input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:#dfe4ee}
#root .qr-studio .g-range input[type=range]::-webkit-slider-thumb{width:22px;height:22px;margin-top:-8px;border-radius:7px;background:#fff;box-shadow:0 0 0 2.5px var(--cobalt),0 4px 10px -2px rgba(37,72,189,.55);-webkit-appearance:none;appearance:none}
#root .qr-studio .g-range input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:#dfe4ee}
#root .qr-studio .g-range input[type=range]::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:7px;background:#fff;box-shadow:0 0 0 2.5px var(--cobalt)}
#root .qr-studio .g-range input[type=range]:focus-visible{outline:none}
#root .qr-studio .g-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2.5px var(--cobalt),0 0 0 7px rgba(37,72,189,.2)}

/* Логотип */
#root .qr-studio .g-drop{position:relative;display:flex;align-items:center;gap:14px;margin-bottom:10px;padding:14px;border:2px dashed #c5cee0;border-radius:18px;background:var(--surface);cursor:pointer;transition:border-color .2s,background .2s}
#root .qr-studio .g-drop:hover,#root .qr-studio .g-drop.is-over{border-color:var(--cobalt);background:var(--cobalt-soft)}
#root .qr-studio .g-drop:focus-within{outline:3px solid var(--cobalt);outline-offset:2px}
#root .qr-studio .g-drop input{position:absolute;width:1px;height:1px;opacity:0}
#root .qr-studio .g-drop__art{display:grid;place-items:center;flex:none;width:64px;height:64px;overflow:hidden;border-radius:15px;background:#fff;color:var(--cobalt)}
#root .qr-studio .g-drop__art img{max-width:54px;max-height:54px}
#root .qr-studio .g-drop__text{display:grid;gap:4px}
#root .qr-studio .g-drop__text b{font-size:15.5px}
#root .qr-studio .g-drop__text small{color:var(--muted);font-size:13px;line-height:1.45}

/* ——— Результат ——— */
#root .qr-studio .g-result{position:sticky;top:calc(var(--head) + 16px);display:grid;gap:12px;min-width:0;padding:16px;border-radius:28px;background:#fff;box-shadow:var(--panel-shadow)}
#root .qr-studio .g-result__head{display:flex;justify-content:space-between;align-items:center;gap:8px}
#root .qr-studio .g-viewtabs{display:inline-flex;gap:3px;padding:4px;border-radius:14px;background:var(--surface)}
#root .qr-studio .g-viewtabs button{min-height:34px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--muted);font:600 13.5px/1 Onest,sans-serif}
#root .qr-studio .g-viewtabs button[aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 6px 14px -8px rgba(17,25,51,.35)}
#root .qr-studio .g-result__close{display:none}
#root .qr-studio .g-stagebox{display:grid;place-items:center;min-height:352px;padding:20px;border-radius:22px;background:var(--surface) radial-gradient(circle at 1px 1px,#d6dcea 1px,transparent 1.4px) 0 0/16px 16px}
#root .qr-studio .g-preview{display:grid;place-items:center;width:100%}
#root .qr-studio .g-preview svg{display:block;width:min(100%,312px);height:auto;max-height:430px;filter:drop-shadow(0 18px 24px rgba(17,25,51,.12))}
#root .qr-studio .g-preview[data-transparent=true] svg{border-radius:6px;background:var(--check-surface,#fff)}
#root .qr-studio .g-preview__empty{display:grid;justify-items:center;gap:8px;max-width:250px;color:var(--muted);font-size:14px;line-height:1.45;text-align:center}
#root .qr-studio .g-preview__empty b{color:var(--ink);font:600 17px/1.2 Onest,sans-serif}
#root .qr-studio .g-preview__px{display:block;width:60px;height:20px;background:var(--px) center/contain no-repeat;opacity:.7}
#root .qr-studio .g-phonebox{display:grid;place-items:center;width:100%}
#root .qr-studio .g-score{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:0 14px;border:0;border-radius:15px;background:var(--surface);color:var(--ink);font:600 15px/1.2 Onest,sans-serif;text-align:left;transition:background .3s}
#root .qr-studio .g-score__dot{flex:none;width:12px;height:12px;border-radius:4px;background:#c5cddd}
#root .qr-studio .g-score b{margin-left:auto;font:600 16px/1 Unbounded,sans-serif}
#root .qr-studio .g-score .icon{flex:none;width:16px;height:16px;color:var(--muted)}
#root .qr-studio .g-score[data-level=ok]{background:var(--ok-soft)}
#root .qr-studio .g-score[data-level=ok] .g-score__dot{background:var(--lime-2)}
#root .qr-studio .g-score[data-level=warn]{background:var(--warn-soft)}
#root .qr-studio .g-score[data-level=warn] .g-score__dot{background:var(--mandarin)}
#root .qr-studio .g-score[data-level=bad]{background:var(--bad-soft)}
#root .qr-studio .g-score[data-level=bad] .g-score__dot{background:var(--bad)}
#root .qr-studio .g-score[data-level=pending] .g-score__dot{animation:g-pulse 1s ease-in-out infinite alternate;background:var(--cobalt)}
@keyframes g-pulse{to{opacity:.25;transform:scale(.7)}}
#root .qr-studio .g-meta{display:flex;flex-wrap:wrap;gap:4px 0;color:var(--muted);font-size:13px;line-height:1.4}
#root .qr-studio .g-meta span:not(:last-child)::after{content:"·";margin:0 8px;color:#b5bdd0}
#root .qr-studio .g-dl{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
#root .qr-studio .g-dl__main{min-height:54px;padding:0 18px;font-size:17px}
#root .qr-studio .g-dl__alt{min-width:64px;min-height:54px;padding:0 12px;border:1.5px solid var(--field);border-radius:16px;background:#fff;color:var(--ink);font:700 15px/1 Onest,sans-serif;transition:border-color .2s,color .2s}
#root .qr-studio .g-dl__alt:hover:not(:disabled){border-color:var(--cobalt);color:var(--cobalt)}
#root .qr-studio :is(.g-dl,.g-dock,.g-minis,.g-format,.g-panel) button:disabled{opacity:.45;translate:none;box-shadow:none}
#root .qr-studio .g-minis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#root .qr-studio .g-minis button{display:grid;justify-items:center;gap:5px;padding:10px 4px;border:0;border-radius:14px;background:var(--surface);color:var(--ink);font:500 12.5px/1.2 Onest,sans-serif;transition:background .2s,color .2s}
#root .qr-studio .g-minis button:hover:not(:disabled){background:var(--cobalt-soft);color:var(--cobalt)}
#root .qr-studio .g-minis .icon{width:19px;height:19px}
#root .qr-studio .g-private{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:12.5px;line-height:1.45}
#root .qr-studio .g-private .icon{flex:none;width:16px;height:16px;margin-top:1px;color:var(--ok)}

/* «Что увидит человек» — экран телефона */
#root .qr-studio .ph{position:relative;width:228px;height:424px;padding:9px;border-radius:38px;background:#111933;box-shadow:0 30px 50px -30px rgba(17,25,51,.65),inset 0 0 0 1.5px #2a3458;text-align:left}
#root .qr-studio .ph__bar{position:absolute;top:9px;left:9px;right:9px;z-index:2;display:flex;justify-content:space-between;align-items:center;height:30px;padding:0 20px;color:#111933;font:600 11px/1 Onest,sans-serif}
#root .qr-studio .ph__bar i{position:absolute;top:8px;left:50%;width:62px;height:17px;border-radius:999px;background:#111933;translate:-50% 0}
#root .qr-studio .ph__bar::after{content:"";width:18px;height:9px;border-radius:3px;background:#111933}
#root .qr-studio .ph__screen{position:relative;display:flex;flex-direction:column;height:100%;padding:44px 13px 13px;overflow:hidden;border-radius:30px;background:#fff;color:var(--ink);font:400 12.5px/1.45 Onest,sans-serif}
#root .qr-studio .ph-empty{margin:auto;color:var(--muted);text-align:center}
#root .qr-studio .ph-cta{display:grid;place-items:center;width:100%;min-height:38px;margin-top:auto;border-radius:12px;background:var(--cobalt);color:#fff;font:600 12.5px/1 Onest,sans-serif}
#root .qr-studio .ph-avatar{display:grid;place-items:center;flex:none;width:62px;height:62px;border-radius:21px;background:var(--cobalt);color:#fff;font:600 21px/1 Unbounded,sans-serif}
#root .qr-studio .ph-browser{display:flex;flex-direction:column;gap:12px;height:100%}
#root .qr-studio .ph-addr{display:flex;align-items:center;gap:7px;padding:9px 11px;border-radius:12px;background:var(--surface);font:600 12px/1 Onest,sans-serif}
#root .qr-studio .ph-addr span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#root .qr-studio .ph-lock{flex:none;width:9px;height:11px;border-radius:2.5px;background:var(--lime-2)}
#root .qr-studio .ph-lock.is-open{background:var(--mandarin)}
#root .qr-studio .ph-page{display:grid;gap:8px}
#root .qr-studio .ph-page b{font:600 16px/1.2 Unbounded,sans-serif;letter-spacing:-.03em;word-break:break-all}
#root .qr-studio .ph-page small{color:var(--muted);font-size:11px;word-break:break-all}
#root .qr-studio .ph-line{height:8px;border-radius:4px;background:#e9edf5}
#root .qr-studio .ph-line.short{width:62%}
#root .qr-studio .ph-img{height:104px;margin-top:4px;border-radius:14px;background:linear-gradient(135deg,var(--sky),var(--cobalt-soft) 60%,var(--lime-soft))}
#root .qr-studio .ph-note{display:grid;gap:12px;margin:auto 0}
#root .qr-studio .ph-kicker{color:var(--cobalt);font:700 10.5px/1 Onest,sans-serif;letter-spacing:.07em;text-transform:uppercase}
#root .qr-studio .ph-note p{max-height:230px;overflow:hidden;font-size:13.5px;line-height:1.5;overflow-wrap:anywhere}
#root .qr-studio .ph-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#root .qr-studio .ph-btns span{display:grid;place-items:center;min-height:36px;border-radius:11px;background:var(--surface);font:600 12px/1 Onest,sans-serif}
#root .qr-studio .ph-btns .is-main{background:var(--cobalt);color:#fff}
#root .qr-studio .ph-sheet{display:grid;justify-items:center;gap:8px;margin-top:auto;padding:18px 12px 12px;border-radius:22px;background:var(--surface);text-align:center}
#root .qr-studio .ph-sheet b{font:600 14px/1.3 Onest,sans-serif;overflow-wrap:anywhere}
#root .qr-studio .ph-sheet small{color:var(--muted);font-size:11.5px}
#root .qr-studio .ph-sheet .ph-btns{width:100%;margin-top:6px}
#root .qr-studio .ph-sheet .ph-btns span:not(.is-main){background:#fff}
#root .qr-studio .ph-wifi{width:50px;height:50px;border-radius:16px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9.6a13 13 0 0 1 18 0M6.2 13a8.4 8.4 0 0 1 11.6 0M9.4 16.4a3.8 3.8 0 0 1 5.2 0' fill='none' stroke='%232548bd' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='19.8' r='1.8' fill='%23f45f1c'/%3E%3C/svg%3E") center/30px no-repeat}
#root .qr-studio .ph-contact{display:flex;flex-direction:column;align-items:center;gap:5px;height:100%;text-align:center}
#root .qr-studio .ph-contact > b{margin-top:4px;font:600 15px/1.25 Onest,sans-serif;overflow-wrap:anywhere}
#root .qr-studio .ph-contact > small{color:var(--muted);font-size:11.5px;line-height:1.35}
#root .qr-studio .ph-rows{display:grid;gap:4px;width:100%;margin:8px 0;text-align:left}
#root .qr-studio .ph-rows div{padding:7px 10px;border-radius:10px;background:var(--surface)}
#root .qr-studio .ph-rows span{display:block;color:var(--muted);font-size:10px}
#root .qr-studio .ph-rows b{display:block;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
#root .qr-studio .ph-call{display:grid;justify-items:center;gap:6px;margin:auto 0;text-align:center}
#root .qr-studio .ph-avatar svg{width:56%;height:56%}
#root .qr-studio .ph-avatar.is-call{width:72px;height:72px;border-radius:50%;background:var(--lime-soft);color:var(--ink)}
#root .qr-studio .ph-call small{color:var(--muted);font-size:12px}
#root .qr-studio .ph-call b{font:600 15px/1.2 Unbounded,sans-serif;letter-spacing:-.04em;white-space:nowrap}
#root .qr-studio .ph-compose i svg,#root .qr-studio .ph-mail__head .is-send svg{width:15px;height:15px}
#root .qr-studio .ph-callbtn{display:grid;place-items:center;min-height:44px;margin-top:20px;padding:0 26px;border-radius:999px;background:#2f9e5a;color:#fff;font:600 13px/1 Onest,sans-serif}
#root .qr-studio .ph-chat{display:flex;flex-direction:column;height:100%;margin:-4px -2px 0}
#root .qr-studio .ph-chat__head{display:flex;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid var(--line)}
#root .qr-studio .ph-chat__head .ph-avatar{width:32px;height:32px;border-radius:11px;font-size:14px}
#root .qr-studio .ph-chat__head b{overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
#root .qr-studio .ph-chat__body{flex:1;margin:0 -13px;background:radial-gradient(circle at 1px 1px,#e3e8f2 1px,transparent 1.4px) 0 0/14px 14px}
#root .qr-studio .ph-compose{display:flex;align-items:flex-end;gap:6px;margin-top:8px;padding:8px 8px 8px 11px;border-radius:16px;background:var(--surface)}
#root .qr-studio .ph-compose span{flex:1;max-height:150px;overflow:hidden;font-size:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
#root .qr-studio .ph-compose i{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--cobalt);color:#fff;font:700 13px/1 Onest,sans-serif;font-style:normal}
#root .qr-studio .ph-chat.is-wa .ph-compose i,#root .qr-studio .ph-chat.is-wa .ph-avatar{background:#2f9e5a}
#root .qr-studio .ph-cat{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:12px}
#root .qr-studio .ph-cat i{aspect-ratio:1;border-radius:12px;background:var(--sky-soft)}
#root .qr-studio .ph-map{position:relative;flex:1;margin:-44px -13px -13px}
#root .qr-studio .ph-map__grid{position:absolute;inset:0;background:linear-gradient(90deg,transparent 47%,#fff 47% 52%,transparent 52%) 0 0/120px 100%,linear-gradient(0deg,transparent 46%,#fff 46% 51%,transparent 51%) 0 0/100% 140px,linear-gradient(32deg,transparent 48%,#f6d36b 48% 53%,transparent 53%),#e6efd9}
#root .qr-studio .ph-pin{position:absolute;top:34%;left:50%;width:30px;height:30px;border-radius:50% 50% 50% 4px;background:var(--mandarin);box-shadow:0 8px 14px -6px rgba(17,25,51,.5);rotate:-45deg;translate:-50% 0}
#root .qr-studio .ph-pin::after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
#root .qr-studio .ph-map__card{position:absolute;right:10px;bottom:10px;left:10px;display:grid;gap:4px;padding:12px;border-radius:18px;background:#fff;box-shadow:0 14px 26px -16px rgba(17,25,51,.55)}
#root .qr-studio .ph-map__card small{color:var(--cobalt);font-size:10.5px;font-weight:600}
#root .qr-studio .ph-map__card b{font:600 14px/1.25 Onest,sans-serif;overflow-wrap:anywhere}
#root .qr-studio .ph-map__card > span:not(.ph-cta){color:var(--muted);font-size:11px}
#root .qr-studio .ph-map__card .ph-cta{margin-top:6px}
#root .qr-studio .ph-mail{display:flex;flex-direction:column;height:100%;font-size:12px}
#root .qr-studio .ph-mail__head{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;color:var(--cobalt)}
#root .qr-studio .ph-mail__head b{color:var(--ink);font-size:13px}
#root .qr-studio .ph-mail__head .is-send{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--cobalt);color:#fff;font-weight:700}
#root .qr-studio .ph-mail__row{padding:7px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
#root .qr-studio .ph-mail__row small{color:var(--muted)}
#root .qr-studio .ph-mail p{max-height:170px;padding-top:10px;overflow:hidden;border-top:1px solid var(--line);line-height:1.45;overflow-wrap:anywhere}

/* ——— Проверка ——— */
#root .qr-studio .g-verdict{display:flex;align-items:center;gap:18px;margin-bottom:12px;padding:16px 18px;border-radius:22px;background:var(--surface)}
#root .qr-studio .g-verdict[data-level=ok]{background:var(--ok-soft)}
#root .qr-studio .g-verdict[data-level=warn]{background:var(--warn-soft);box-shadow:inset 4px 0 0 var(--mandarin)}
#root .qr-studio .g-verdict[data-level=bad]{background:var(--bad-soft)}
#root .qr-studio .g-verdict__text{display:grid;gap:4px}
#root .qr-studio .g-verdict__text b{font:600 19px/1.25 Onest,sans-serif}
#root .qr-studio .g-verdict__text span{color:var(--muted);font-size:14.5px;line-height:1.45}
#root .qr-studio .g-ring{position:relative;display:grid;place-content:center;justify-items:center;flex:none;width:96px;height:96px}
#root .qr-studio .g-ring svg{position:absolute;inset:0;width:100%;height:100%;rotate:-90deg}
#root .qr-studio .g-ring__track{fill:none;stroke:rgba(17,25,51,.08);stroke-width:10}
#root .qr-studio .g-ring__bar{fill:none;stroke:var(--cobalt);stroke-width:10;stroke-linecap:round;transition:stroke-dasharray .7s cubic-bezier(.2,.8,.2,1)}
#root .qr-studio .g-ring[data-level=ok] .g-ring__bar{stroke:var(--lime-2)}
#root .qr-studio .g-ring[data-level=warn] .g-ring__bar{stroke:var(--mandarin)}
#root .qr-studio .g-ring[data-level=bad] .g-ring__bar{stroke:var(--bad)}
#root .qr-studio .g-ring[data-level=pending] .g-ring__track{stroke-dasharray:6 8;animation:g-spin 2.4s linear infinite;transform-origin:center}
@keyframes g-spin{to{rotate:360deg}}
#root .qr-studio .g-ring b{font:600 27px/1 Unbounded,sans-serif;letter-spacing:-.04em}
#root .qr-studio .g-ring small{color:var(--muted);font-size:11px}
#root .qr-studio .g-checks{display:grid;gap:6px;margin:0 0 14px;padding:0;list-style:none}
#root .qr-studio .g-checks li{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
#root .qr-studio .g-checks b{font:600 14.5px/1.4 Onest,sans-serif}
#root .qr-studio .g-checks span{grid-column:2;color:var(--muted);font-size:13.5px;line-height:1.45}
#root .qr-studio .g-checks li i{grid-row:span 2}
#root .qr-studio .g-plan{margin-top:12px}
#root .qr-studio .g-plan:empty{display:none}
#root .qr-studio .g-plan__big{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:10px}
#root .qr-studio .g-plan__big b{font:600 34px/1 Unbounded,sans-serif;letter-spacing:-.05em;color:var(--cobalt)}
#root .qr-studio .g-plan__big span{color:var(--muted);font-size:14px}
#root .qr-studio .g-plan dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 10px}
#root .qr-studio .g-plan dl div{padding:10px 12px;border-radius:13px;background:var(--surface)}
#root .qr-studio .g-plan dt{color:var(--muted);font-size:12px}
#root .qr-studio .g-plan dd{margin:3px 0 0;font:600 14px/1.35 Onest,sans-serif}
#root .qr-studio .g-plan__line{padding:10px 12px;border-radius:13px;background:var(--ok-soft);font-size:14.5px;line-height:1.45}
#root .qr-studio .g-plan__line[data-level=warn]{background:var(--warn-soft)}
#root .qr-studio .g-group > .g-field{margin-top:12px}
#root .qr-studio .g-todo{display:grid;gap:2px;margin:0;padding:0;list-style:none}

/* ——— Скачать и печать ——— */
#root .qr-studio .g-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 0 8px}
#root .qr-studio .g-format{display:grid;align-content:start;gap:12px;min-width:0;padding:16px;border-radius:22px;background:var(--surface)}
#root .qr-studio .g-format header{display:grid;gap:4px}
#root .qr-studio .g-format header b{font:600 19px/1.1 Unbounded,sans-serif;letter-spacing:-.03em}
#root .qr-studio .g-format header span{color:var(--muted);font-size:13.5px;line-height:1.4}
#root .qr-studio .g-format .b-btn{justify-self:start}
#root .qr-studio .g-format .b-btn .icon{width:18px;height:18px}
#root .qr-studio .g-format .g-seg{background:#fff}
#root .qr-studio .g-format .g-seg button[aria-pressed=true]{background:var(--cobalt-soft);box-shadow:none}
#root .qr-studio .g-snippet{width:100%;min-height:96px;padding:10px 12px;border:1.5px solid var(--field);border-radius:13px;background:#fff;color:#2a3350;font:500 12.5px/1.45 Onest,sans-serif;resize:vertical;word-break:break-all}

/* ——— Серия ——— */
#root .qr-studio .g-batch-sum{margin-bottom:10px;font-size:15px}
#root .qr-studio .g-batch-sum b{font:600 22px/1 Unbounded,sans-serif;color:var(--cobalt)}
#root .qr-studio .g-batch-sum [data-level=bad]{color:var(--bad);font-weight:600}
#root .qr-studio .g-table-wrap{max-width:100%;overflow:auto;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line)}
#root .qr-studio .g-table{width:100%;border-collapse:collapse;font-size:13.5px}
#root .qr-studio .g-table th,#root .qr-studio .g-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
#root .qr-studio .g-table th{background:var(--surface);color:var(--muted);font-size:12.5px;font-weight:600}
#root .qr-studio .g-table td{overflow-wrap:anywhere}
#root .qr-studio .g-table tr:last-child td{border-bottom:0}
#root .qr-studio .g-table__code svg{display:block;width:40px;height:40px}
#root .qr-studio .g-table tr[data-level=bad] td{background:var(--bad-soft);color:#7d1717}
#root .qr-studio .g-progress{min-height:1.4em;margin-top:10px;color:var(--cobalt);font-weight:600;font-size:14.5px}

/* ——— Окна ——— */
#root .qr-studio .g-dialog{width:min(560px,calc(100% - 24px));max-height:min(84vh,760px);padding:0;border:0;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 40px 90px -30px rgba(17,25,51,.55)}
#root .qr-studio .g-dialog::backdrop{background:rgba(17,25,51,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
#root .qr-studio .g-dialog__in{display:grid;gap:12px;padding:22px}
#root .qr-studio .g-dialog__head{display:flex;justify-content:space-between;align-items:center;gap:12px}
#root .qr-studio .g-dialog h2{font:600 22px/1.1 Unbounded,sans-serif;letter-spacing:-.04em}
#root .qr-studio .g-dialog__foot{display:flex;justify-content:flex-end}
#root .qr-studio .g-hists{display:grid;gap:6px;max-height:54vh;overflow:auto}
#root .qr-studio .g-hist{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:6px;border-radius:15px;background:var(--surface)}
#root .qr-studio .g-hist__art svg{display:block;width:56px;height:56px;border-radius:8px}
#root .qr-studio .g-hist__text{display:grid;gap:2px;min-width:0}
#root .qr-studio .g-hist__text b{overflow:hidden;font-size:14.5px;white-space:nowrap;text-overflow:ellipsis}
#root .qr-studio .g-hist__text small{color:var(--muted);font-size:12.5px}
#root .qr-studio .g-full{width:min(760px,calc(100% - 24px))}
#root .qr-studio .g-full__in{display:grid;justify-items:center;gap:14px;padding:24px}
#root .qr-studio .g-full__code svg{display:block;width:min(560px,82vw,64vh);height:auto}
#root .qr-studio .g-full__in p{font:600 16px/1.3 Onest,sans-serif;text-align:center}
#root .qr-studio .g-keys{display:grid;margin:0}
#root .qr-studio .g-keys div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
#root .qr-studio .g-keys dd{margin:0;color:var(--muted)}
#root .qr-studio .g-keys kbd{display:inline-grid;place-items:center;min-width:28px;padding:4px 7px;border-radius:8px;background:var(--surface);box-shadow:inset 0 -2px 0 var(--field);font:600 12.5px/1 Onest,sans-serif}

/* ——— Мобильная панель результата ——— */
#root .qr-studio .g-dock{display:none}
#root .qr-studio .g-backdrop{position:fixed;inset:0;z-index:65;background:rgba(17,25,51,.42)}

/* ——— Ниже студии ——— */
#root .qr-studio .g-how .b-head{margin-bottom:22px}
#root .qr-studio .g-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
#root .qr-studio .g-steps li{display:grid;align-content:start;gap:10px;padding:22px;border-radius:24px;background:var(--surface)}
#root .qr-studio .g-steps b{display:inline-flex;align-items:center;gap:10px;color:var(--cobalt);font:600 14px/1 Unbounded,sans-serif}
#root .qr-studio .g-steps b::after{content:"";width:30px;height:10px;background:var(--px) center/contain no-repeat}
#root .qr-studio .g-steps h3{font:650 18px/1.25 Onest,sans-serif}
#root .qr-studio .g-steps p{color:var(--muted);font-size:15px;line-height:1.55}
#root .qr-studio .g-faqgrid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:start}
#root .qr-studio .g-faqgrid header .b-copy{margin-top:14px}
#root .qr-studio .g-more__title{margin-bottom:18px;font-size:clamp(24px,2.4vw,32px)}
#root .qr-studio .g-more__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#root .qr-studio .g-more__links a{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;padding:12px 16px 12px 12px;border-radius:18px;background:var(--surface);font:600 15px/1.35 Onest,sans-serif;transition:background .2s,color .2s}
#root .qr-studio .g-more__links a:hover{background:var(--cobalt-soft);color:var(--cobalt)}
#root .qr-studio .g-more__links img{width:64px;height:48px}

/* ——— Планшет: этапы строкой над панелью ——— */
@media (max-width:1239px){
  #root .qr-studio .g-work{grid-template-columns:minmax(0,1fr) 336px;gap:16px}
  #root .qr-studio .g-rail{position:sticky;top:var(--head);z-index:30;grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0 calc(-1 * var(--pad));padding:8px var(--pad);background:rgba(255,255,255,.93);-webkit-backdrop-filter:saturate(1.5) blur(14px);backdrop-filter:saturate(1.5) blur(14px)}
  #root .qr-studio .g-stages{display:flex;flex:1;gap:3px;min-width:0;padding:4px;overflow-x:auto;border-radius:16px;scrollbar-width:none}
  #root .qr-studio .g-stages::-webkit-scrollbar{display:none}
  #root .qr-studio .g-stage{flex:none;grid-template-columns:auto auto 7px;gap:8px;width:auto;padding:9px 12px;border-radius:12px}
  #root .qr-studio .g-stage__text small{display:none}
  #root .qr-studio .g-stage b{font-size:14px;white-space:nowrap}
  #root .qr-studio .g-stage__mark{width:7px;height:7px;border-radius:2px}
  #root .qr-studio .g-tools{display:flex;flex:none;gap:2px}
  #root .qr-studio .g-tool{width:40px;padding:0;justify-content:center}
  #root .qr-studio .g-tool span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  #root .qr-studio .g-tool b{position:absolute;margin:0 0 22px 26px;min-width:18px;padding:2px 5px;font-size:10px}
  #root .qr-studio .g-tool b:is(:empty,[data-zero]){display:none}
  #root .qr-studio .g-tool[data-keys]{display:none}
  #root .qr-studio .g-result{top:calc(var(--head) + 76px)}
  #root .qr-studio .g-stagebox{min-height:300px}
  #root .qr-studio .g-presets{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:1100px){
  #root .qr-studio .g-hero__grid{grid-template-columns:minmax(0,1fr);gap:0}
  #root .qr-studio .g-hero__grid > div{display:contents}
  #root .qr-studio .g-hero__grid .g-lead{order:1;margin-top:12px}
  #root .qr-studio .g-trust{order:2}
  #root .qr-studio .g-products{grid-template-columns:repeat(9,minmax(104px,1fr));overflow-x:auto;scrollbar-width:none}
  #root .qr-studio .g-products::-webkit-scrollbar{display:none}
  #root .qr-studio .g-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  #root .qr-studio .g-faqgrid{grid-template-columns:minmax(0,1fr);gap:18px}
  #root .qr-studio .g-more__links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ——— Телефон: результат в нижней панели ——— */
@media (max-width:899px){
  #root .qr-studio .g-main{padding-bottom:96px}
  #root .qr-studio .g-products{display:flex;gap:8px;margin-inline:calc(-1 * var(--pad));padding:4px var(--pad) 8px;overflow-x:auto;border-radius:0;background:none;scroll-snap-type:x proximity;scroll-padding-inline:var(--pad)}
  #root .qr-studio .g-product{flex:0 0 108px;padding:10px 6px 11px;background:var(--surface);scroll-snap-align:start}
  #root .qr-studio .g-product__art img{width:64px;height:48px}
  #root .qr-studio .g-product b{font-size:14px}
  #root .qr-studio .g-product small{font-size:11.5px}
  #root .qr-studio .g-work{grid-template-columns:minmax(0,1fr);margin-top:8px}
  #root .qr-studio .g-panel{padding:18px 16px 16px;border-radius:24px}
  #root .qr-studio .g-panel__art{width:76px;height:57px}
  #root .qr-studio .g-result{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:70;max-height:90svh;overflow:auto;padding:14px 16px calc(16px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;box-shadow:0 -20px 50px -20px rgba(17,25,51,.45);transform:translateY(105%);visibility:hidden;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s .38s}
  #root .qr-studio.g-sheet-open .g-result{transform:none;visibility:visible;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s}
  #root .qr-studio .g-result::before{content:"";justify-self:center;width:44px;height:5px;margin:-4px 0 2px;border-radius:3px;background:#d5dbe8}
  #root .qr-studio .g-result__close{display:grid}
  #root .qr-studio .g-stagebox{min-height:0;padding:16px}
  #root .qr-studio .g-preview svg{width:min(100%,260px);max-height:46svh}
  #root .qr-studio .g-dock{position:fixed;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));left:10px;z-index:60;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 0 0 1px var(--line),0 22px 44px -18px rgba(17,25,51,.5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  #root .qr-studio.g-sheet-open .g-dock{visibility:hidden}
  #root .qr-studio .g-dock__code{display:grid;place-items:center;width:62px;height:62px;padding:5px;border:0;border-radius:15px;background:var(--surface)}
  #root .qr-studio .g-dock__code > span,#root .qr-studio .g-dock__code svg{display:block;width:100%;height:100%}
  #root .qr-studio .g-dock__info{display:grid;gap:3px;min-width:0;padding:0;border:0;background:none;color:var(--ink);text-align:left}
  #root .qr-studio .g-dock__info b{overflow:hidden;font:650 15px/1.2 Onest,sans-serif;white-space:nowrap;text-overflow:ellipsis}
  #root .qr-studio .g-dock__info small{display:flex;align-items:center;gap:6px;overflow:hidden;color:var(--muted);font-size:12.5px;white-space:nowrap;text-overflow:ellipsis}
  #root .qr-studio .g-dock__info small::before{content:"";flex:none;width:8px;height:8px;border-radius:2.5px;background:#c5cddd}
  #root .qr-studio .g-dock__info small[data-level=ok]::before{background:var(--lime-2)}
  #root .qr-studio .g-dock__info small[data-level=warn]::before{background:var(--mandarin)}
  #root .qr-studio .g-dock__info small[data-level=bad]::before{background:var(--bad)}
  #root .qr-studio .g-dock__info small[data-level=pending]::before{background:var(--cobalt);animation:g-pulse 1s ease-in-out infinite alternate}
  #root .qr-studio .g-dock__dl{min-height:52px;padding:0 18px;border-radius:16px;font-size:16px}
  #root .qr-studio .g-dock__dl .icon{width:18px;height:18px}
  #root .qr-studio .g-formats{grid-template-columns:minmax(0,1fr)}
  #root .qr-studio .g-plan dl{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  #root .qr-studio .g-hero{padding-bottom:12px}
  #root .qr-studio .g-hero .b-eyebrow{margin-bottom:8px;font-size:12px}
  #root .qr-studio .g-hero h1{font-size:clamp(29px,8.8vw,40px)}
  #root .qr-studio .g-hero__grid .g-lead{margin-top:10px;font-size:15px;line-height:1.5}
  #root .qr-studio .g-trust{flex-wrap:nowrap;margin:12px calc(-1 * var(--pad)) 0;padding:0 var(--pad);overflow-x:auto;scrollbar-width:none}
  #root .qr-studio .g-trust::-webkit-scrollbar{display:none}
  #root .qr-studio .g-trust li{flex:none;padding:7px 10px;font-size:12.5px}
  #root .qr-studio .g-crumbs{margin-bottom:8px;font-size:13px}
  #root .qr-studio .g-grid{grid-template-columns:minmax(0,1fr)}
  #root .qr-studio .g-panel__head{gap:12px}
  #root .qr-studio .g-panel__lead{font-size:14.5px}
  #root .qr-studio .g-quick{margin-inline:-4px;padding:12px}
  #root .qr-studio .g-list__row:has(select){grid-template-columns:minmax(0,1fr) 42px}
  #root .qr-studio .g-list__row:has(select) input{grid-column:1/-1;grid-row:2}
  #root .qr-studio .g-presets{display:flex;gap:8px;margin-inline:-16px;padding:2px 16px 6px;overflow-x:auto;scrollbar-width:none}
  #root .qr-studio .g-presets::-webkit-scrollbar{display:none}
  #root .qr-studio .g-preset{flex:0 0 86px}
  #root .qr-studio .g-swatches{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:6px}
  #root .qr-studio .g-swatches--frames{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}
  #root .qr-studio .g-mystyle{grid-template-columns:40px minmax(0,1fr) auto}
  #root .qr-studio .g-mystyle .g-icon{grid-column:3}
  #root .qr-studio .g-inline{flex-wrap:wrap}
  #root .qr-studio .g-inline .g-ghost{width:100%}
  #root .qr-studio .g-verdict{gap:14px;padding:14px}
  #root .qr-studio .g-ring{width:80px;height:80px}
  #root .qr-studio .g-ring b{font-size:22px}
  #root .qr-studio .g-verdict__text b{font-size:17px}
  #root .qr-studio .g-steps{grid-template-columns:minmax(0,1fr)}
  #root .qr-studio .g-more__links{grid-template-columns:minmax(0,1fr)}
  #root .qr-studio .g-hist{grid-template-columns:48px minmax(0,1fr) auto}
  #root .qr-studio .g-hist__art svg{width:48px;height:48px}
  #root .qr-studio .g-hist .g-icon{grid-column:3}
  #root .qr-studio .g-panel__foot .g-back span{display:none}
}
@media (max-width:360px){
  #root .qr-studio .g-dock{grid-template-columns:54px minmax(0,1fr) auto;gap:8px}
  #root .qr-studio .g-dock__code{width:54px;height:54px}
  #root .qr-studio .g-dock__dl{padding:0 14px}
  #root .qr-studio .g-dock__dl .icon{display:none}
  #root .qr-studio .g-minis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  #root .qr-studio .g-score[data-level=pending] .g-score__dot,#root .qr-studio .g-ring[data-level=pending] .g-ring__track{animation:none}
}

#root .qr-studio .b-wrap{width:100%;max-width:none;margin:0;padding:0}#root .qr-studio .g-toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:#111933;color:#fff;padding:12px 18px;border-radius:14px;z-index:160;max-width:calc(100vw - 32px)}#root .qr-studio:not(.is-visible) .g-dock{display:none}body:has(.qr-studio.is-visible) .vn-mobile-dock{display:none}
#root .qr-studio-shell{min-width:0;max-width:100%}
