/* InfoGenie 3.8 UI — нативный стиль Telegram. Цвета берутся из темы Telegram (--tg-theme-*),
   вне Telegram — из светлой/тёмной темы системы. */
:root{
  color-scheme:light dark;
  --fb-bg:#f2f2f7;--fb-section:#ffffff;--fb-text:#000000;--fb-hint:#8e8e93;--fb-link:#2481cc;--fb-button:#2481cc;--fb-button-text:#ffffff;--fb-sep:rgba(60,60,67,.18);--fb-header:#f2f2f7;--fb-destructive:#e53935;--fb-input:#f2f2f7;--fb-code:#f4f4f6;
}
@media (prefers-color-scheme:dark){:root{
  --fb-bg:#0f0f0f;--fb-section:#1c1c1e;--fb-text:#ffffff;--fb-hint:#98989e;--fb-link:#5eb5f7;--fb-button:#3e88f7;--fb-button-text:#ffffff;--fb-sep:rgba(84,84,88,.55);--fb-header:#1c1c1e;--fb-destructive:#ff6961;--fb-input:#2c2c2e;--fb-code:#121214;
}}
:root{
  --bg:var(--tg-theme-secondary-bg-color,var(--fb-bg));
  --section:var(--tg-theme-section-bg-color,var(--tg-theme-bg-color,var(--fb-section)));
  --text:var(--tg-theme-text-color,var(--fb-text));
  --muted:var(--tg-theme-hint-color,var(--fb-hint));
  --subtitle:var(--tg-theme-subtitle-text-color,var(--muted));
  --link:var(--tg-theme-link-color,var(--fb-link));
  --accent:var(--tg-theme-button-color,var(--fb-button));
  --accentText:var(--tg-theme-button-text-color,var(--fb-button-text));
  --accent-soft:color-mix(in srgb,var(--accent) 12%,transparent);
  --section-head:var(--tg-theme-section-header-text-color,var(--muted));
  --sep:var(--tg-theme-section-separator-color,var(--fb-sep));
  --header:var(--tg-theme-header-bg-color,var(--bg));
  --danger:var(--tg-theme-destructive-text-color,var(--fb-destructive));
  --ok:#34c759;
  --input:color-mix(in srgb,var(--text) 6%,var(--section));
  --code:color-mix(in srgb,var(--text) 4%,var(--bg));
  --border:var(--sep);
  --card:var(--section);
  --radius:14px;
  --tap:44px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;min-height:100vh;padding-bottom:env(safe-area-inset-bottom)}
button,input,textarea,select{font:inherit;color:inherit}
a{color:var(--link)}
.hidden{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- верхняя панель ---------- */
.topbar{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:52px;padding:6px 12px;background:color-mix(in srgb,var(--header) 88%,transparent);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-bottom:.5px solid var(--sep)}
.topbar h1{grid-column:2;margin:0;font-size:17px;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.back-btn{grid-column:1;border:0;background:none;color:var(--link);font-size:17px;padding:8px 4px;min-height:var(--tap);cursor:pointer;display:flex;align-items:center;gap:2px}
.back-btn span{font-size:28px;line-height:1;margin-top:-3px}
body[data-screen="home"] .back-btn{visibility:hidden}
body.in-telegram .back-btn{visibility:hidden}
.status{grid-column:3;justify-self:end;display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap}
.status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}
.status[data-state="ok"]::before{background:var(--ok)}
.status[data-state="error"]::before{background:var(--danger)}
.status[data-state="pending"]::before{animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.25}}

/* ---------- каркас ---------- */
.app-shell{max-width:760px;margin:0 auto;padding:12px 16px 40px}
body[data-screen="placeholder"] .app-shell,body[data-screen="photo"] .app-shell{max-width:1320px}
.view{display:none}
.view.active{display:block;animation:viewIn .22s ease-out}
@keyframes viewIn{from{opacity:0;transform:translateY(6px)}}
h2{font-size:22px;margin:4px 0 8px}
h3{font-size:17px;margin:14px 0 8px}
.lead{margin:4px 4px 16px;color:var(--subtitle);font-size:15px}
.hint,.muted{color:var(--muted);font-size:13px}
.hint{margin:8px 2px}
.field-label{display:block;color:var(--section-head);font-size:13px;margin:4px 0 6px}

/* ---------- главная ---------- */
.hero{text-align:center;padding:18px 12px 8px}
.hero-badge{width:64px;height:64px;margin:0 auto 10px;border-radius:20px;display:grid;place-items:center;font-size:30px;color:#fff;background:linear-gradient(135deg,#ff9500,#ff2d55 55%,#5856d6);box-shadow:0 8px 24px -8px rgba(255,45,85,.55)}
.hero h2{font-size:24px;margin:0 0 6px}
.hero p{margin:0 auto;max-width:440px;color:var(--subtitle);font-size:15px}
.list-title{margin:22px 16px 7px;font-size:13px;font-weight:400;text-transform:uppercase;letter-spacing:.02em;color:var(--section-head)}
.list{background:var(--section);border-radius:var(--radius);overflow:hidden}
.list-item{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 14px;border:0;background:none;text-align:left;cursor:pointer;position:relative;list-style:none}
.list-item::-webkit-details-marker{display:none}
.list-item+.list-item::before{content:"";position:absolute;top:0;left:58px;right:0;border-top:.5px solid var(--sep)}
.list-item:active{background:color-mix(in srgb,var(--text) 7%,transparent)}
@media (hover:hover){.list-item:hover{background:color-mix(in srgb,var(--text) 4%,transparent)}}
.ico{flex:none;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;font-size:17px;background:var(--c,#8e8e93)}
.txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.txt b{font-weight:500;font-size:16px}
.txt small{color:var(--muted);font-size:13px;line-height:1.3}
.chev{flex:none;color:var(--muted);opacity:.6;font-size:22px;line-height:1;transition:transform .2s}
.recent{margin-top:22px}
.recent[open] .chev{transform:rotate(90deg)}
.recent-body{padding:0 14px 12px 58px}
.task-history{display:flex;flex-direction:column}
.task-history button{all:unset;cursor:pointer;padding:10px 0;border-top:.5px solid var(--sep);font-size:14px;color:var(--text)}
.task-history button:first-child{border-top:0}
.footer-link{display:block;margin:26px auto 0;border:0;background:none;color:var(--link);font-size:14px;cursor:pointer;padding:10px}

/* ---------- карточки и формы ---------- */
.panel-card,.preview-card,.editor-card{background:var(--section);border-radius:var(--radius);padding:16px;margin-bottom:12px}
.panel-card>:first-child,.editor-card>:first-child{margin-top:0}
label{display:flex;flex-direction:column;gap:6px;color:var(--section-head);font-size:13px;margin-bottom:12px}
label.check{flex-direction:row;align-items:center;gap:10px;color:var(--text);font-size:15px}
label.check input{width:22px;height:22px;accent-color:var(--accent);flex:none}
input,textarea,select{width:100%;background:var(--input);color:var(--text);border:1px solid transparent;border-radius:10px;padding:11px 12px;outline:none;font-size:16px;transition:border-color .15s,background .15s}
input:focus,textarea:focus,select:focus{border-color:var(--accent);background:var(--section)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
textarea{min-height:80px;resize:vertical}
input[type=range]{accent-color:var(--accent);padding:0;background:none;border:0;height:28px}
input[type=color]{height:40px;padding:3px}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.row,.actions,.preview-actions{display:flex;gap:8px;flex-wrap:wrap}
.actions{margin:10px 0}
.wrap{flex-wrap:wrap}
.buttons>*{flex:1}
.steps{margin:0 0 14px;padding-left:22px;color:var(--subtitle);font-size:14px}
.steps li{margin:3px 0}
.choice-list{display:flex;flex-direction:column;gap:8px}
.inline-form{display:flex;gap:8px;margin-bottom:8px}
.inline-form input{flex:1}
.upload-alt{margin-bottom:14px}

/* ---------- кнопки ---------- */
button{cursor:pointer}
.primary,.secondary,.ghost,.panel-card button:not([class]),.result-card button:not([class]){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--tap);border:0;border-radius:12px;padding:10px 16px;font-size:15px;font-weight:500;cursor:pointer;transition:transform .08s,opacity .15s,background .15s;text-align:center}
.primary{background:var(--accent);color:var(--accentText);font-weight:600}
.secondary,.panel-card button:not([class]),.result-card button:not([class]){background:var(--accent-soft);color:var(--link)}
.ghost{background:none;color:var(--link)}
.danger{color:var(--danger)!important;background:color-mix(in srgb,var(--danger) 10%,transparent)!important}
.primary:active,.secondary:active,.ghost:active,.panel-card button:not([class]):active{transform:scale(.97);opacity:.85}
button:disabled{opacity:.45;cursor:default;transform:none}
.small{min-height:34px!important;padding:6px 12px!important;font-size:14px!important}
.wide{width:100%;margin-top:10px}
.big{min-height:50px;font-size:17px}
.file-button{display:inline-flex!important;flex-direction:row!important;margin:0!important;cursor:pointer;color:inherit}
label.primary.file-button{color:var(--accentText);font-size:15px}
label.secondary.file-button{color:var(--link);font-size:15px}
.loading-btn{position:relative;color:transparent!important;pointer-events:none}
.loading-btn::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;border:2.5px solid currentColor;border-color:var(--accentText) transparent var(--accentText) transparent;animation:spin .8s linear infinite}
.secondary.loading-btn::after{border-color:var(--link) transparent var(--link) transparent}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- раскрывающиеся блоки ---------- */
details{margin-top:12px}
details>summary{cursor:pointer;list-style:none;color:var(--link);font-size:15px;padding:10px 0;display:flex;align-items:center;gap:6px}
details>summary::-webkit-details-marker{display:none}
details.sub>summary::before{content:"›";display:inline-block;font-size:20px;line-height:1;transition:transform .2s;width:12px}
details.sub[open]>summary::before{transform:rotate(90deg)}
details.sub{border-top:.5px solid var(--sep);padding-top:2px}
details.tech>summary{color:var(--muted);font-size:13px}
details.panel-card>summary{margin:-4px 0}

/* ---------- уведомления (всплывают снизу) ---------- */
.notice{padding:12px 14px;border-radius:12px;margin:8px 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
#errorBox,#successBox{position:fixed;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:80;max-width:620px;margin:0 auto;box-shadow:0 10px 30px -10px rgba(0,0,0,.45);cursor:pointer;animation:toastIn .25s ease-out;max-height:40vh;overflow:auto}
@keyframes toastIn{from{opacity:0;transform:translateY(16px)}}
.notice.success{background:color-mix(in srgb,var(--ok) 16%,var(--section));color:var(--text);border:1px solid color-mix(in srgb,var(--ok) 40%,transparent)}
.notice.success::before{content:"✓  ";color:var(--ok);font-weight:700}
.notice.error{background:color-mix(in srgb,var(--danger) 14%,var(--section));color:var(--text);border:1px solid color-mix(in srgb,var(--danger) 45%,transparent)}
.notice.error::before{content:"!  ";color:var(--danger);font-weight:800}
.panel-card .notice{background:var(--accent-soft);color:var(--text)}

/* ---------- результаты ---------- */
.results{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-top:14px}
.results:empty{display:none}
.result-card{background:var(--section);border-radius:var(--radius);padding:8px;display:flex;flex-direction:column;font-size:14px;overflow-wrap:anywhere}
.panel-card .result-card{background:var(--input)}
.result-card img{width:100%;border-radius:10px;display:block;background:var(--code)}
.result-card .actions{margin:8px 0 0}
.result-card .actions>*{flex:1}
.result-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:var(--muted)}
.debug,.report{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--code);border-radius:10px;padding:12px;max-height:360px;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--subtitle);margin:8px 0 0}
.report{font:14px/1.5 inherit;font-family:inherit}
.report:empty,.debug:empty{display:none}
.progress{height:6px;background:var(--input);border-radius:6px;overflow:hidden;margin:14px 0 8px}
.progress>div{height:100%;width:0;background:var(--accent);border-radius:6px;transition:width .3s}
.status-line{color:var(--muted);font-size:14px;margin:6px 0}
.status-line:empty{display:none}

/* ---------- инфографики ---------- */
.search{margin-bottom:10px}
.filters{align-items:end}
.filters .check{margin-bottom:14px}
.catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:6px}
.catalog article.panel-card{background:var(--input);margin:0;display:flex;flex-direction:column;gap:6px}
.catalog article h3{margin:0;font-size:16px}
.catalog article p{margin:0;color:var(--subtitle);font-size:14px;flex:1}
.catalog article small{color:var(--muted);font-size:12px}
.catalog article .actions{margin:6px 0 0}
.catalog article .actions button:first-child{background:var(--accent);color:var(--accentText);flex:1}
.pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.module-title{font-size:18px;font-weight:600;margin:0 0 10px}

/* ---------- редактор фото ---------- */
.editor-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:12px;align-items:start}
.drop-zone{min-height:440px;border:2px dashed color-mix(in srgb,var(--muted) 45%,transparent);border-radius:12px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;text-align:center;padding:20px}
.drop-zone.dragover{border-color:var(--accent);background:var(--accent-soft)}
.drop-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:34px;color:var(--accent);background:var(--accent-soft)}
.photo-frame{overflow:hidden;border-radius:10px;background:var(--code)}
.photo-frame img,.photo-frame canvas{width:100%;display:block}
.preview-actions{margin-top:10px}
.effect-control{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin-bottom:12px;align-items:center}
.effect-control label{flex-direction:row;gap:10px;margin:0;font-size:15px;color:var(--text)}
.effect-control output{color:var(--muted);font-variant-numeric:tabular-nums}
.effect-control input{grid-column:1/-1}
#photoStatus{padding:8px 0;min-height:36px}

/* ---------- монтажные области (обложки) ---------- */
.canvas-wrap{width:100%}
.canvas{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#05080c;touch-action:none;user-select:none}
.canvas img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform-origin:center center;pointer-events:none}
#overlayLayer{position:absolute;pointer-events:none}
#canvasText{position:absolute;white-space:pre-wrap;font-weight:800;line-height:1.02;color:#fff;cursor:move;touch-action:none}
#canvasImage{right:auto;bottom:auto;object-fit:fill}
#exactPreview{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;transform:none;z-index:4;pointer-events:none}
#previewStatus{padding:8px 0;overflow-wrap:anywhere}
.scene-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.scene-toolbar label{margin:0;min-width:90px}
.scene-toolbar input:not([type=range]):not([type=color]){max-width:240px}
.scene-toolbar select{max-width:300px;width:auto}
.scene-toolbar>input{max-width:160px}
.scene-toolbar input[type=number]{max-width:110px}
.scene-common{margin:12px 0}
.scene-common h3{margin-top:0}
.scene-tools{padding:10px 0}
.scene-tools label{font-size:12px;color:var(--muted)}
.artboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px;align-items:start}
.artboard-workspace{min-width:0;overflow:auto;background:var(--section);border-radius:var(--radius);padding:12px}
.artboard-grid{display:flex;flex-wrap:wrap;align-items:start;gap:16px;min-height:400px;--scene-zoom:1}
.artboard-card{width:calc(460px * var(--scene-zoom));flex-shrink:0;padding:8px;border:2px solid transparent;border-radius:12px;background:var(--input)}
.artboard-card.selected{border-color:var(--accent)}
.artboard-heading{display:flex;justify-content:space-between;gap:10px;width:100%;border:0;background:none;color:var(--text);padding:4px 2px 8px;cursor:pointer;text-align:left;font-size:14px}
.artboard-stage{position:relative;overflow:hidden;touch-action:none;user-select:none;background:repeating-conic-gradient(#bbc1c8 0% 25%,#e1e5e8 0% 50%) 50%/18px 18px;border-radius:6px}
.artboard-stage canvas{display:block;width:100%;height:100%}
.artboard-stage svg,.scene-exact{position:absolute;inset:0;width:100%;height:100%}
.scene-exact{pointer-events:none;object-fit:fill}
.artboard-stage svg{cursor:move}
.artboard-stage [data-handle]{cursor:nwse-resize}
.artboard-status{padding:6px 0;overflow-wrap:anywhere;min-height:30px}
.scene-inspector{position:sticky;top:64px;max-height:calc(100vh - 76px);overflow:auto}
.scene-layer-list{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.scene-warning{color:var(--danger)}
#sceneSaveStatus{overflow-wrap:anywhere;max-width:400px}
#sceneBoardSelect{min-width:220px}
#sceneTaskStatus{margin:12px 0}
.section-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.manual-grid{margin:10px 0}
.manual-grid label:first-child{grid-column:1/-1;max-width:260px}
.recent>summary{color:var(--text)}
.recent>summary .txt b{color:var(--text)}

/* ---------- адаптив ---------- */
@media(max-width:950px){.editor-layout{grid-template-columns:1fr}.drop-zone{min-height:300px}.grid4{grid-template-columns:1fr 1fr}
  .artboard-layout{display:flex;flex-direction:column}.artboard-workspace{width:100%}.artboard-grid{min-height:0}.artboard-card{width:calc(100% * var(--scene-zoom));display:none}.artboard-card.selected{display:block}.scene-inspector{position:static;width:100%;max-height:none}.scene-common .grid3{grid-template-columns:1fr}.scene-toolbar select{max-width:100%}.scene-toolbar{align-items:stretch}.scene-toolbar button{min-height:40px}}
@media(max-width:560px){.app-shell{padding:8px 12px 40px}.grid3{grid-template-columns:1fr}.grid4{grid-template-columns:1fr 1fr}.panel-card,.editor-card,.preview-card{padding:14px}.section-head{display:block}.canvas{aspect-ratio:1/1}.status{font-size:0;gap:0}.topbar h1{font-size:16px}.catalog{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- 3.8.1: пошаговые карточки, просмотрщик, чипсы ---------- */
.step-card{position:relative}
.step-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.step-head b{display:block;font-size:17px;font-weight:600}
.step-head small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.step-num{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accentText);font-weight:700;font-size:14px}
.board-pick{flex:1;margin:0;min-width:180px}
.scene-tools{align-items:flex-end}
.scene-tools>button{min-width:44px;height:44px;font-size:18px!important}
.board-pick select{width:100%}
.size-row input{max-width:110px}
.size-row span{align-self:center;color:var(--muted)}
.scene-sets>summary{margin:0}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 6px}
.chip{border:0;border-radius:16px;padding:7px 12px;font-size:14px;background:var(--input);color:var(--text);cursor:pointer}
.chip.on{background:var(--accent);color:var(--accentText)}
.results-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:14px}
.result-card img{cursor:zoom-in}
.result-title{margin:8px 2px 0;font-size:13px;color:var(--subtitle);overflow-wrap:anywhere}
.file-icon{display:grid;place-items:center;height:110px;font-size:44px;background:var(--code);border-radius:10px}
.viewer{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.92);display:none;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:12px}
.viewer.open{display:flex;animation:viewIn .18s ease-out}
.viewer img{max-width:100%;max-height:calc(100vh - 120px);object-fit:contain;border-radius:6px;-webkit-touch-callout:default}
.viewer p{color:#ccc;font-size:13px;margin:0;text-align:center}
.viewer-close{position:absolute;top:calc(10px + env(safe-area-inset-top));right:12px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:18px;cursor:pointer}
input[type=date]{min-height:44px}

.gen-preview{margin:4px 0 14px}.gen-preview img{display:block;width:100%;max-width:420px;aspect-ratio:1;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.18);background:var(--input)}.gen-preview figcaption{margin-top:8px;color:var(--muted);font-size:13px}
.wide-field{grid-column:1/-1}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.i18n-field{display:block;margin:6px 0}.i18n-field>span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.i18n-field small{display:block;margin-top:3px;font-size:12px;overflow-wrap:anywhere}
.i18n-sample{display:inline;font-size:14px;line-height:1.35}.i18n-sample b{color:var(--accent)}
.i18n-row{background:var(--input);margin:10px 0}.i18n-row-head{display:flex;align-items:center;gap:10px}.i18n-row-head b{flex:1}
.i18n-flag{width:32px;height:24px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.i18n-footer{position:sticky;bottom:8px;z-index:2;display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:var(--section);box-shadow:0 2px 14px rgba(0,0,0,.18)}.i18n-footer button{flex:0 0 auto;width:auto}.i18n-footer span{font-size:13px}
#i18nTabs span{font-size:13px;padding:8px 2px}
@media(max-width:560px){.grid3{grid-template-columns:1fr}.i18n-row .grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.i18n-row input{padding:9px 8px;font-size:15px}}

.i18n-landmark{height:36px;width:auto;margin-left:auto}
