/* 01110 · Standalone Tables Runtime. Safe for Builder Main and published pages. */
.st-table-main-mount-01110{display:flex;width:100%;height:100%;min-width:0;min-height:0}
.st-table-main-mount-01110>.st-table-runtime-01110{flex:1 1 auto}
.st-table-runtime-01110{box-sizing:border-box;display:flex;width:100%;max-width:100%;min-width:0;min-height:220px;background:transparent;color:#0f172a;border:1px solid #dbe4ec;border-radius:14px;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.st-table-runtime-01110[data-host-mode="builder"]{height:100%!important;min-height:0!important;max-height:100%!important}
.st-table-runtime-01110 *{box-sizing:border-box}
.st-table-runtime__main-01110{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;max-width:100%;background:transparent}
.st-table-runtime__toolbar-01110{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e2e8f0;background:#f8fafc;min-width:0}
.st-table-runtime__toolbar-01110>div:first-child{display:flex;flex-direction:column;min-width:0}.st-table-runtime__toolbar-01110 b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-table-runtime__toolbar-01110 small{font-size:11px;color:#64748b}
.st-table-runtime__toolbar-actions-01110{display:flex;align-items:center;gap:7px;flex:0 0 auto}.st-table-runtime__toolbar-actions-01110 button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:7px 9px;cursor:pointer}.st-table-runtime__toolbar-actions-01110 button[aria-pressed="true"]{background:#e0f2fe;border-color:#38bdf8}
.st-table-runtime__search-01110{display:flex;align-items:center;gap:5px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:0 8px}.st-table-runtime__search-01110 input{width:150px;min-width:0;border:0;outline:0;padding:7px 0;background:transparent}
.st-table-runtime__viewport-01110{display:block;flex:1 1 auto;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-x:var(--sttr-overflow-x,auto);overflow-y:auto;overflow-y:var(--sttr-overflow-y,auto);overscroll-behavior-x:contain;overscroll-behavior-y:auto}
.st-table-runtime__grid-01110{display:block;width:max-content;min-width:100%;background:var(--st-table-visual-body-bg-01116,#fff);color:var(--st-table-visual-body-text-01116,#334155);font-size:var(--st-table-visual-body-size-01116,14px);font-weight:var(--st-table-visual-body-weight-01116,500);font-style:var(--st-table-visual-body-style-01116,normal)}
.st-table-runtime__head-row-01110,.st-table-runtime__row-01110{display:grid;grid-template-columns:var(--stt-cols,var(--sttr-cols));min-width:max-content}.st-table-runtime__head-row-01110{position:sticky;top:0;z-index:2}
.st-table-runtime__corner-01110,.st-table-runtime__head-cell-01110{display:flex;align-items:center;min-height:42px;padding:8px 10px;background:var(--st-table-visual-column-head-bg-01116,var(--st-table-visual-head-bg-01116,#fff));color:var(--st-table-visual-column-head-text-01116,var(--st-table-visual-head-text-01116,#334155));font-size:var(--st-table-visual-column-head-size-01116,var(--st-table-visual-head-size-01116,14px));font-style:var(--st-table-visual-column-head-style-01116,var(--st-table-visual-head-style-01116,normal));font-weight:var(--st-table-visual-head-weight-01116,700);border-right:var(--st-table-visual-head-border-01116,1px solid #dbe4ec);border-bottom:var(--st-table-visual-head-border-01116,1px solid #dbe4ec);box-shadow:var(--st-table-visual-head-shadow-01116,none);border-radius:var(--st-table-visual-head-radius-01116,8px)}
.st-table-runtime__corner-01110{justify-content:center;background:var(--st-table-visual-column-head-bg-01116,var(--st-table-visual-head-bg-01116,#fff));color:var(--st-table-visual-column-head-text-01116,var(--st-table-visual-head-text-01116,#334155))}
.st-table-runtime__row-index-01110,.st-table-runtime__cell-01110{display:flex;align-items:center;min-height:var(--stt-row-height,var(--st-table-visual-row-height-01116,42px));padding:8px 10px;background:var(--st-table-visual-body-bg-01116,#fff);color:var(--st-table-visual-body-text-01116,#334155);font-size:var(--st-table-visual-body-size-01116,14px);font-weight:var(--st-table-visual-body-weight-01116,500);font-style:var(--st-table-visual-body-style-01116,normal);border-right:var(--st-table-visual-body-border-01116,1px solid #e5e7eb);border-bottom:var(--st-table-visual-body-border-01116,1px solid #e5e7eb);box-shadow:var(--st-table-visual-body-shadow-01116,none);overflow:hidden;text-overflow:ellipsis}
.st-table-runtime__row-index-01110{justify-content:center;color:#94a3b8;font-size:11px}.st-table-runtime__cell-01110 a{color:inherit;text-decoration:underline;text-underline-offset:2px}.st-table-runtime__media-01110{display:flex;gap:4px;align-items:center}.st-table-runtime__media-01110 img{width:38px;height:30px;object-fit:cover;border-radius:5px;border:1px solid #dbe4ec}.st-table-runtime__muted-01110{color:#94a3b8}
.st-table-runtime__empty-01110{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:150px;padding:24px;color:#64748b}.st-table-runtime__empty-01110 b{color:#334155}
.st-table-runtime__footer-01110{display:flex;justify-content:space-between;gap:14px;padding:7px 12px;border-top:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:11px}
.st-table-runtime__sidebar-01110,.st-table-runtime__inspector-01110{display:none;flex:0 0 250px;width:250px;min-width:0;overflow:auto;background:#f8fafc;color:#334155}.st-table-runtime__sidebar-01110.is-open,.st-table-runtime__inspector-01110.is-open{display:block}.st-table-runtime__sidebar-01110{border-right:1px solid #e2e8f0}.st-table-runtime__inspector-01110{border-left:1px solid #e2e8f0}
.st-table-runtime__sidebar-01110 header,.st-table-runtime__inspector-01110 header{display:flex;flex-direction:column;gap:2px;padding:14px;border-bottom:1px solid #e2e8f0}.st-table-runtime__sidebar-01110 header small,.st-table-runtime__inspector-01110 header small{color:#64748b}.st-table-runtime__sidebar-01110 section{padding:12px;border-bottom:1px solid #e2e8f0}.st-table-runtime__sidebar-01110 section>span{display:block;margin-bottom:7px;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.st-table-runtime__sidebar-01110 button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:7px 8px;border-radius:7px;cursor:pointer}.st-table-runtime__sidebar-01110 button.is-active{background:#e0f2fe;color:#0369a1}.st-table-runtime__sidebar-01110 section>div{display:flex;justify-content:space-between;gap:8px;padding:6px 4px}.st-table-runtime__sidebar-01110 section>div small{color:#94a3b8}
.st-table-runtime__inspector-01110 dl{margin:0;padding:12px}.st-table-runtime__inspector-01110 dl>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #e2e8f0}.st-table-runtime__inspector-01110 dt{color:#64748b}.st-table-runtime__inspector-01110 dd{margin:0;font-weight:700;text-align:right}.st-table-runtime__inspector-01110 p{margin:0;padding:12px;color:#64748b;font-size:12px;line-height:1.45}
.st-table-runtime__status-01110{display:flex;flex:1 1 auto;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;text-align:center}.st-table-runtime__status-01110 b{font-size:15px}.st-table-runtime__status-01110 small{max-width:520px;color:#64748b;word-break:break-word}
@media (max-width:780px){.st-table-runtime__sidebar-01110,.st-table-runtime__inspector-01110{position:absolute;z-index:6;top:0;bottom:0;height:100%;box-shadow:0 12px 30px rgba(15,23,42,.18)}.st-table-runtime__sidebar-01110{left:0}.st-table-runtime__inspector-01110{right:0}.st-table-runtime-01110{position:relative}.st-table-runtime__search-01110 input{width:100px}.st-table-runtime__toolbar-actions-01110 button span{display:none}.st-table-runtime__footer-01110{flex-wrap:wrap}}
/* 01130 · Site Table App scalar edit states */
.st-table-runtime__cell-01110[data-st-table-runtime-cell]{outline:none;position:relative}
.st-table-runtime__cell-01110[data-cell-editable="1"]{cursor:text}
.st-table-runtime__cell-01110.is-selected-01130{box-shadow:inset 0 0 0 2px rgba(14,165,233,.72);z-index:1}
.st-table-runtime__cell-01110.is-editing-01130{padding:3px 5px;overflow:visible}
.st-table-runtime__cell-01110 input[data-st-table-runtime-cell-editor]{width:100%;min-width:0;height:calc(var(--stt-row-height,var(--st-table-visual-row-height-01116,42px)) - 8px);border:1px solid #0ea5e9;border-radius:6px;outline:2px solid rgba(14,165,233,.16);background:var(--st-table-visual-body-bg-01116,#fff);color:var(--st-table-visual-body-text-01116,#334155);font:inherit;padding:5px 7px}
.st-table-runtime__save-state-01130{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.st-table-runtime__save-state-01130.is-saving{background:#e0f2fe;color:#0369a1}.st-table-runtime__save-state-01130.is-saved{background:#dcfce7;color:#166534}.st-table-runtime__save-state-01130.is-error{max-width:300px;overflow:hidden;text-overflow:ellipsis;background:#fee2e2;color:#991b1b}

/* 01131 · Site Runtime Table Template Gallery */
.st-table-runtime__create-table-01131{margin-top:8px;border:1px dashed #38bdf8!important;background:#f0f9ff!important;color:#0369a1!important;font-weight:800}
.st-table-runtime__template-layer-01131{position:absolute;z-index:40;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.44);backdrop-filter:blur(8px)}
.st-table-runtime__template-dialog-01131{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1180px,96vw);height:min(820px,92vh);overflow:hidden;border:1px solid #dbe4ec;border-radius:18px;background:#f8fafc;color:#0f172a;box-shadow:0 28px 70px rgba(15,23,42,.28)}
.st-table-runtime__template-dialog-01131>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid #e2e8f0;background:#fff}.st-table-runtime__template-dialog-01131>header small{color:#0284c7;font-size:10px;font-weight:900;letter-spacing:.08em}.st-table-runtime__template-dialog-01131>header h2{margin:3px 0 2px;font-size:22px}.st-table-runtime__template-dialog-01131>header p{margin:0;color:#64748b;font-size:12px}.st-table-runtime__template-dialog-01131>header button{width:34px;height:34px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-size:20px;cursor:pointer}
.st-table-runtime__template-tools-01131{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#fff}.st-table-runtime__template-tools-01131>label{display:flex;align-items:center;gap:7px;min-width:240px;padding:0 9px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.st-table-runtime__template-tools-01131 input{width:100%;border:0;outline:0;padding:8px 0;background:transparent}.st-table-runtime__template-tools-01131 nav{display:flex;gap:6px;overflow:auto}.st-table-runtime__template-tools-01131 nav button{white-space:nowrap;border:1px solid #dbe4ec;border-radius:999px;background:#fff;padding:7px 10px;cursor:pointer}.st-table-runtime__template-tools-01131 nav button.is-active{border-color:#38bdf8;background:#e0f2fe;color:#0369a1}
.st-table-runtime__template-grid-01131{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;min-height:0;overflow:auto;padding:16px}.st-table-runtime__template-card-01131{display:flex;flex-direction:column;align-items:flex-start;min-height:190px;border:1px solid #dbe4ec;border-radius:14px;background:#fff;padding:14px;text-align:left;cursor:pointer;transition:.16s ease}.st-table-runtime__template-card-01131:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent,#0ea5e9) 55%,#cbd5e1);box-shadow:0 12px 28px rgba(15,23,42,.09)}.st-table-runtime__template-card-01131.is-selected{border-color:var(--accent,#0ea5e9);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#0ea5e9) 24%,transparent)}.st-table-runtime__template-icon-01131{display:grid;place-items:center;width:38px;height:38px;margin-bottom:9px;border-radius:10px;background:color-mix(in srgb,var(--accent,#0ea5e9) 14%,#fff);color:var(--accent,#0ea5e9);font-size:20px}.st-table-runtime__template-card-01131 small{color:#64748b}.st-table-runtime__template-card-01131 h3{margin:4px 0 5px;font-size:15px}.st-table-runtime__template-card-01131 p{display:-webkit-box;overflow:hidden;margin:0;color:#64748b;font-size:12px;line-height:1.4;-webkit-line-clamp:3;-webkit-box-orient:vertical}.st-table-runtime__template-card-01131 footer{display:flex;justify-content:space-between;gap:10px;width:100%;margin-top:auto;padding-top:12px;color:#64748b;font-size:11px}.st-table-runtime__template-card-01131 footer b{color:var(--accent,#0284c7)}
.st-table-runtime__template-form-01131{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(170px,.7fr) auto auto;align-items:end;gap:10px;padding:14px 16px;border-top:1px solid #e2e8f0;background:#fff}.st-table-runtime__template-form-01131 label{display:flex;flex-direction:column;gap:5px;color:#475569;font-size:11px;font-weight:800}.st-table-runtime__template-form-01131 label>input,.st-table-runtime__template-form-01131 select{height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 9px}.st-table-runtime__template-form-01131 label.is-check{flex-direction:row;align-items:center;min-height:36px;white-space:nowrap}.st-table-runtime__template-form-01131>button{height:36px;border:0;border-radius:9px;background:#0284c7;color:#fff;padding:0 16px;font-weight:900;cursor:pointer}
@media (max-width:900px){.st-table-runtime__template-dialog-01131{height:96vh}.st-table-runtime__template-tools-01131{align-items:stretch;flex-direction:column}.st-table-runtime__template-tools-01131>label{min-width:0}.st-table-runtime__template-form-01131{grid-template-columns:1fr 1fr}.st-table-runtime__template-form-01131>button{width:100%}}
@media (max-width:620px){.st-table-runtime__template-layer-01131{padding:8px}.st-table-runtime__template-dialog-01131{width:100%;height:98vh;border-radius:12px}.st-table-runtime__template-grid-01131{grid-template-columns:1fr}.st-table-runtime__template-form-01131{grid-template-columns:1fr}}

/* 01132 · Browser Preview mounts the canonical Tables Studio only as an editor host.
   The actual editor DOM/CSS/controller remain owned by tables-studio-01092.js + tables-studio-01092.css. */
#tablesStudioView[data-st-runtime-editor-host="1"]{position:fixed;inset:0;z-index:2147482000;width:100%;height:100%;min-height:0;overflow:visible;background:transparent;pointer-events:none}
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio{position:absolute;inset:0;display:block!important;width:100%;height:100%;min-height:0;background:transparent!important;overflow:visible!important;pointer-events:none}
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-library,
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-workarea,
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-create-overlay,
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-column-settings-backdrop,
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-image-context-menu-01108{display:none!important}
#tablesStudioView[data-st-runtime-editor-host="1"] .stt-rich-editor-layer-01108,
#tablesStudioView[data-st-runtime-editor-host="1"] .stt-rich-group-style-layer-01108{pointer-events:none}
#tablesStudioView[data-st-runtime-editor-host="1"] .stt-rich-editor-dialog-01108,
#tablesStudioView[data-st-runtime-editor-host="1"] [data-table-rich-group-style-editor]{pointer-events:auto}
#tables-panel-root[data-st-runtime-editor-panel-host="1"]{display:none!important}


/* 01138 · Site Runtime reuses canonical Tables Studio chrome 1:1. */
.st-table-runtime__canonical-toolbar-host-01138{position:relative;z-index:5;display:block;width:100%;min-width:0;flex:0 0 auto;background:#fff}
.st-table-runtime__canonical-toolbar-host-01138>.stt-toolbar{width:100%;min-width:0;margin:0}
.st-table-runtime__head-cell-01110{position:relative;gap:6px}
.st-table-runtime__field-menu-01138{flex:0 0 auto;margin-left:auto;opacity:.74}
.st-table-runtime__head-cell-01110:hover>.st-table-runtime__field-menu-01138,.st-table-runtime__field-menu-01138:focus-visible{opacity:1}
#tablesStudioView[data-st-runtime-editor-host="1"][data-st-runtime-column-settings-open="1"]>.stt-studio>.stt-column-settings-backdrop{display:flex!important;pointer-events:auto}
#tablesStudioView[data-st-runtime-editor-host="1"]>.stt-studio>.stt-column-delete-confirm-backdrop{pointer-events:auto}

/* 01139 · Browser Preview reuses the canonical Tables Studio column/row resize engine. */
.st-table-runtime__grid-01110.stt-grid{display:block;width:max-content;min-width:100%;align-content:normal}
.st-table-runtime__row-index-01110.stt-row-index{position:relative;height:auto;align-self:stretch;min-height:var(--stt-row-height,var(--st-table-visual-row-height-01116,42px))}
.st-table-runtime__tail-01139{display:block;min-width:54px;min-height:var(--stt-row-height,var(--st-table-visual-row-height-01116,42px));border-bottom:var(--st-table-visual-body-border-01116,1px solid #e5e7eb);background:var(--st-table-visual-body-bg-01116,#fff)}
.st-table-runtime__head-row-01110>.st-table-runtime__tail-01139{min-height:42px;border-right:var(--st-table-visual-head-border-01116,1px solid #dbe4ec);border-bottom:var(--st-table-visual-head-border-01116,1px solid #dbe4ec);background:var(--st-table-visual-column-head-bg-01116,var(--st-table-visual-head-bg-01116,#fff))}


/* 01142 · Browser Preview reuses the canonical Tables inspector, opening at the left edge but floating after drag/resize. */
#tables-panel-root[data-st-runtime-editor-panel-host="1"][data-st-runtime-inspector-open="1"]{display:block!important;position:fixed;left:8px;top:8px;z-index:2147483000;width:360px;height:calc(100vh - 16px);min-width:280px;min-height:220px;max-width:calc(100% - 16px);max-height:calc(100vh - 16px);overflow:auto;background:#f8fbfd;box-shadow:14px 18px 38px rgba(15,23,42,.22);pointer-events:auto;resize:none}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-inspector{position:relative;min-height:100%}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-inspector>header[data-table-runtime-inspector-drag]{cursor:move;user-select:none;touch-action:none;padding-right:48px}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-close-01141{position:absolute;top:10px;right:10px;z-index:8;width:30px;height:30px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:20px;line-height:1;cursor:pointer}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142{position:absolute;z-index:9;display:block;touch-action:none}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-n{left:12px;right:12px;top:0;height:8px;cursor:ns-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-ne{right:0;top:0;width:12px;height:12px;cursor:nesw-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-e{right:0;top:12px;bottom:12px;width:8px;cursor:ew-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-se{right:0;bottom:0;width:12px;height:12px;cursor:nwse-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-s{left:12px;right:12px;bottom:0;height:8px;cursor:ns-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-sw{left:0;bottom:0;width:12px;height:12px;cursor:nesw-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-w{left:0;top:12px;bottom:12px;width:8px;cursor:ew-resize}
#tables-panel-root[data-st-runtime-editor-panel-host="1"] .stt-runtime-inspector-resize-01142.is-nw{left:0;top:0;width:12px;height:12px;cursor:nwse-resize}
.stt-toolbar__runtime-table-name-01141{display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.stt-toolbar__runtime-table-name-01141 h1{margin:0}
.st-table-runtime__head-row-01110>.st-table-runtime__tail-01139.stt-add-column{display:grid;place-items:center;padding:0}
.st-table-runtime__head-row-01110>.st-table-runtime__tail-01139.stt-add-column .stt-add-column-main{width:100%;height:100%;min-height:42px}
