/* Tikitago — rediseño de las páginas restantes, fase 4.
   Reglas intencionalmente aisladas; NO afectan overlays, cámara virtual ni paneles ajenos. */

/* Inventario: información en primer plano, preview de apoyo y controles de uso frecuente. */
body.tk-inventory-production .wrap {
  max-width:1190px;grid-template-columns:minmax(0,1fr) minmax(280px,326px);
  gap:clamp(18px,3vw,34px);padding:clamp(16px,3vw,34px) clamp(16px,3vw,30px) 64px;
}
body.tk-inventory-production .wrap>div {min-width:0}
body.tk-inventory-production .hero {gap:12px;padding-bottom:10px}
body.tk-inventory-production .hero h1 {font-size:clamp(19px,2.3vw,25px);letter-spacing:-.025em}
body.tk-inventory-production .hero p {font-size:12px;line-height:1.45;color:#aeb5c5}
body.tk-inventory-production .brand-mark {width:42px;height:42px;box-shadow:none;background:#282535;border:1px solid #292E35}
body.tk-inventory-production .copy {background:#ddba62;color:#19160e;border-color:#ddba62;box-shadow:none;border-radius:9px;min-width:44px;min-height:44px;padding:10px}
body.tk-inventory-production .pane {border-color:#292b34;padding-top:22px;padding-bottom:24px}
body.tk-inventory-production .pane h2 {font-size:14px;letter-spacing:-.01em;color:#e9e7e2}
body.tk-inventory-production .search {margin-bottom:16px;background:#17191f;border-color:#3b3d45;min-height:46px}
body.tk-inventory-production .search:focus-within {border-color:#ddba62;box-shadow:0 0 0 2px rgba(221,186,98,.13)}
body.tk-inventory-production .search input {min-width:0;font-size:14px;font-weight:500}
body.tk-inventory-production .search input::placeholder {color:#9299a8}
body.tk-inventory-production .viewer {padding:15px 5px}
body.tk-inventory-production .v-nm {font-size:14px}
body.tk-inventory-production .v-key,body.tk-inventory-production .v-last {font-size:11px}
body.tk-inventory-production .chip:not(.hot) {opacity:.84}
body.tk-inventory-production .chip button {min-width:40px;min-height:44px}
body.tk-inventory-production .chip button:focus-visible,body.tk-inventory-production .v-blk:focus-visible,
body.tk-inventory-production .copy:focus-visible,body.tk-inventory-production .posgrid button:focus-visible,
body.tk-inventory-production .showopts button:focus-visible {outline:2px solid #e9c875;outline-offset:3px}
body.tk-inventory-production .prev {aspect-ratio:9/10;border:1px solid #30343c;border-radius:12px}
body.tk-inventory-production .cfg {gap:12px}
body.tk-inventory-production .cfg label {font-size:12px;color:#c2c6d0}
body.tk-inventory-production .posgrid,body.tk-inventory-production .showopts {gap:8px}
body.tk-inventory-production .posgrid button,body.tk-inventory-production .showopts button {
  min-height:44px;border-radius:9px;color:#c3c6cf;font-size:11px;white-space:normal;line-height:1.35;
  border-color:#353843;background:#191b24;
}
body.tk-inventory-production .posgrid button.on,body.tk-inventory-production .showopts button.on {
  color:#f2d88e;border-color:#c4a454;background:#2b261c;
}
body.tk-inventory-production .cfg input[type=range] {accent-color:#dbb65f;min-height:28px}
body.tk-inventory-production .toast {max-width:calc(100vw - 32px);text-align:center}
@media(max-width:900px) {
  body.tk-inventory-production .wrap {grid-template-columns:1fr;max-width:690px;gap:6px}
  body.tk-inventory-production .wrap>div:nth-child(2) {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
  body.tk-inventory-production .wrap>div:nth-child(2) .pane {border-top:1px solid #292b34}
  body.tk-inventory-production .prev {max-height:300px}
}
@media(max-width:580px) {
  body.tk-inventory-production .wrap>div:nth-child(2) {display:flex;flex-direction:column;gap:0}
  body.tk-inventory-production .wrap>div:nth-child(2)>.pane {width:100%}
  body.tk-inventory-production .prev {max-width:300px;max-height:none;margin:auto}
  body.tk-inventory-production .hero {display:grid;grid-template-columns:42px minmax(0,1fr) 44px}
  body.tk-inventory-production .hero .copy {margin-left:0}
  body.tk-inventory-production .v-top {flex-wrap:wrap}
  body.tk-inventory-production .v-last {margin-left:0}
}

/* Descargas: la acción de instalación manda; la maqueta vacía no simula un producto en ejecución. */
body.tg-resto-download {background:#090A0C}
body.tg-resto-download .wrap {max-width:1060px;padding-top:24px}
body.tg-resto-download .top {margin-bottom:24px}
body.tg-resto-download .hero {text-align:left;margin:0 0 20px}
body.tg-resto-download .hero .tag {padding:0;margin:0 0 12px;background:none;border:0;border-radius:0;color:#dfbd65;letter-spacing:.12em}
body.tg-resto-download .hero h1 {font-size:clamp(28px,4.2vw,40px);margin:0 0 10px;max-width:750px}
body.tg-resto-download .hero h1 .g {color:#e3bf68}
body.tg-resto-download .hero p {margin:0;max-width:680px;font-size:14px;line-height:1.55}
body.tg-resto-download .product-page-head {display:none}
body.tg-resto-download .live-plugin {margin:0;background:#13161A;border-color:#292E35;border-radius:9px;box-shadow:none}
body.tg-resto-download .live-plugin-head {background:transparent;padding:18px 24px;border-color:#292E35}
body.tg-resto-download .live-plugin-logo {background:#28251d;border:1px solid #5b4b2b;box-shadow:none}
body.tg-resto-download .live-plugin-kicker {color:#d8b765}
body.tg-resto-download .live-plugin-title {font-size:19px}
body.tg-resto-download .live-plugin-badge {color:#e3c77c;border-color:#5b4b2b;background:#29251c}
body.tg-resto-download .live-plugin-body {display:flex;flex-direction:column;padding:20px 24px}
body.tg-resto-download .plugin-download {order:1;max-width:430px;margin-bottom:8px;background:#E5BD59;background-image:none;color:#171206;border:1px solid #E5BD59;box-shadow:none;min-height:50px;font-weight:750}
body.tg-resto-download .plugin-download:hover {background:#F2D98C;filter:none}
body.tg-resto-download .plugin-download:focus-visible {outline:3px solid #eed085;outline-offset:4px}
body.tg-resto-download .plugin-meta {order:2;text-align:left;max-width:500px;color:#b9c0cc}
body.tg-resto-download .plugin-console-preview {order:3;margin:17px 0 0;background:transparent;border:0;border-top:1px solid #292E35;padding:14px 0 0;border-radius:0;box-shadow:none}
body.tg-resto-download .plugin-console-stage {display:none}
body.tg-resto-download .plugin-console-copy {margin:0;max-width:750px}
body.tg-resto-download .release-box {order:4;margin-top:18px}
body.tg-resto-download .tg-install-details {order:5;border-top:1px solid #353941;margin-top:18px;padding-top:18px}
body.tg-resto-download .tg-install-details>summary {cursor:pointer;list-style:none;font-weight:700;font-size:14px;color:#ebd090;display:flex;align-items:center;gap:9px;padding:9px 0}
body.tg-resto-download .tg-install-details>summary::-webkit-details-marker {display:none}
body.tg-resto-download .tg-install-details>summary:after {content:'+';margin-left:auto;font-size:20px;font-weight:400}
body.tg-resto-download .tg-install-details[open]>summary:after {content:'−'}
body.tg-resto-download .tg-install-details>summary:focus-visible {outline:2px solid #e0b95c;outline-offset:4px}
body.tg-resto-download .plugin-steps {margin-top:12px}
body.tg-resto-download .plugin-foot {margin-top:16px}
@media(max-width:600px) {
  body.tg-resto-download .wrap {padding:16px 16px 55px}
  body.tg-resto-download .top {margin-bottom:22px;flex-wrap:wrap}
  body.tg-resto-download .hero {margin-bottom:18px}
  body.tg-resto-download .live-plugin-head {padding:18px;gap:12px}
  body.tg-resto-download .live-plugin-body {padding:18px}
  body.tg-resto-download .plugin-download {max-width:100%}
  body.tg-resto-download .live-plugin-badge {white-space:normal}
}

/* Guía: navegación editorial sobria y lectura escaneable; contenido legal intacto. */
body.tg-resto-guide .lg-hero {padding-top:30px;padding-bottom:14px}
body.tg-resto-guide .lg-hero h1 {font-size:clamp(27px,4vw,37px);letter-spacing:-.03em}
body.tg-resto-guide .lg-kicker {border-radius:3px;background:#2a2519;border:1px solid #5f4f30;color:#e5bf62;padding:6px 9px}
body.tg-resto-guide .lg-wrap {grid-template-columns:196px minmax(0,1fr);gap:28px;padding-top:15px}
body.tg-resto-guide .lg-toc {border-top:1px solid #33363c;padding-top:16px}
body.tg-resto-guide .accordion-item {background:#13161A;border:1px solid #292E35!important;border-radius:9px!important;margin-bottom:9px!important;overflow:hidden}
body.tg-resto-guide .accordion-button {min-height:55px;font-weight:650}
body.tg-resto-guide .accordion-button .num {background:#2a261e;color:#e1bd64;border-radius:5px}
body.tg-resto-guide .accordion-body {max-width:740px;line-height:1.75;color:#c2c5ce}
body.tg-resto-guide :is(.accordion-button,.lg-back,.lg-toc a):focus-visible {outline:2px solid #e5bf62;outline-offset:3px}
@media(max-width:860px) {body.tg-resto-guide .lg-wrap {grid-template-columns:minmax(0,1fr);gap:12px}body.tg-resto-guide .lg-toc {display:none}}

/* Publicación: pasos auténticos, controles táctiles y mensajes legibles. */
html.tg-design-surface body.tg-page-index #cr-modal .cr-wizard-step {min-height:50px}
html.tg-design-surface body.tg-page-index #cr-modal .cr-modal-actions button,
html.tg-design-surface body.tg-page-index #cr-modal .cr-publish-actions button {min-height:44px}
html.tg-design-surface body.tg-page-index #cr-modal :is(.cr-wizard-step,.cr-cancel,.cr-save,.cr-upload-btn):focus-visible {outline:2px solid #e3be6a;outline-offset:3px}
html.tg-design-surface body.tg-page-index #cr-modal .cr-file-stage {overflow-wrap:anywhere}
html.tg-design-surface body.tg-page-index #cr-modal .cr-file-selected {overflow-wrap:anywhere}
@media(max-width:580px) {
  html.tg-design-surface body.tg-page-index #cr-modal .cr-wizard-nav {gap:4px}
  html.tg-design-surface body.tg-page-index #cr-modal .cr-wizard-step {min-width:0;min-height:48px;padding-inline:4px}
  html.tg-design-surface body.tg-page-index #cr-modal .cr-modal-actions {gap:7px}
  html.tg-design-surface body.tg-page-index #cr-modal .cr-modal-actions button {white-space:normal;min-width:0}
}
@media(prefers-reduced-motion:reduce) {
  body.tk-inventory-production .chip .q,body.tg-resto-download .plugin-download {transition:none}
}
