/* Design tool only. Remove this file and tweakbar.js to ship the site. */
.tb { position: sticky; top: 0; z-index: 100; background: #16181D; color: #E8EAEE; font: 13px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; border-bottom: 1px solid #000; }
.tb * { box-sizing: border-box; font-family: inherit; }
.tb-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 9px; padding: 6px 12px 8px; }
.tb-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tb-field > label, .tb-field > span { font-size: 11px; color: #A4AAB6; }
.tb select, .tb button, .tb input[type=color] { font-size: 13px; color: #E8EAEE; background: #272A32; border: 1px solid #434853; border-radius: 5px; height: 30px; }
.tb select { padding: 0 4px; max-width: 118px; }
.tb input[type=color] { width: 38px; padding: 2px; cursor: pointer; }
.tb input[type=range] { width: 66px; height: 30px; accent-color: #8EA2FF; margin: 0; }
.tb button { padding: 0 11px; cursor: pointer; white-space: nowrap; }
.tb button:hover, .tb select:hover { border-color: #7A8192; }
.tb :focus-visible { outline: 2px solid #8EA2FF; outline-offset: 1px; }
.tb-actions { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.tb-msg { color: #9FE0B4; font-size: 12px; min-width: 52px; text-align: right; }
.tb-collapsed { display: flex; justify-content: flex-end; padding: 4px 14px; }
.tb-swatches { display: flex; height: 30px; align-items: center; gap: 3px; }
.tb-logo { position: relative; }
.tb-logo-row { display: flex; gap: 3px; }
.tb-logo-row button { padding: 0 9px; font-size: 15px; }
.tb-logo-row .tb-logo-open { font-size: 13px; width: 178px; text-align: left; overflow: hidden; text-overflow: ellipsis; }
.tb-pop { position: absolute; top: 100%; left: 0; margin-top: 6px; z-index: 110; width: min(620px, calc(100vw - 24px)); max-height: min(70vh, 620px); overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #1F2229; border: 1px solid #434853; border-radius: 8px; box-shadow: 0 14px 34px rgb(0 0 0 / .45); }
.tb-pop[hidden] { display: none; }
.tb .tb-tile { display: flex; flex-direction: column; gap: 5px; height: auto; padding: 6px; text-align: left; white-space: normal; background: #272A32; }
.tb .tb-tile[aria-pressed="true"] { border-color: #8EA2FF; box-shadow: inset 0 0 0 1px #8EA2FF; }
.tb-thumb { display: flex; align-items: center; justify-content: center; height: 86px; padding: 8px; background: var(--c-primary); color: var(--c-on-primary); border-radius: 4px; }
.tb-thumb svg, .tb-thumb img { display: block; max-height: 100%; max-width: 100%; width: auto; height: 70px; }
.tb-name { font-size: 12px; color: #C9CED8; }
@media (max-width: 700px) {
  .tb { position: static; }
  .tb-actions { margin-left: 0; }
}
