/* Compact split editor and shared alignment, scoped to v0.35 UI changes. */
#howDialog>#howTitle{margin-left:36px;margin-right:36px;text-align:center}
#howDialog .info-sections{align-items:stretch}
#howDialog .hubspree-backup-card{align-self:center;text-align:left}
#editDialog>#editName{margin-left:28px;margin-right:28px;text-align:center}
#editDialog .editor-columns{gap:28px}
#editDialog .editor-preview-column{padding:12px 0;margin:0 0 14px;background:#ffffff03;border-radius:12px}
#editDialog .tile-preview{width:180px;height:112px;border-radius:14px}
#editDialog .tile-preview .mark{width:64px;height:64px}
#editDialog .editor-section{margin-bottom:14px}
#editDialog .editor-section h3{margin-bottom:12px}
#editDialog .compact-color{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#editDialog .compact-color .color-controls{margin:0;gap:6px;flex:0 0 auto}
#editDialog .compact-color input[type=color]{width:34px;height:34px;flex-basis:34px}
#editDialog .compact-color #editHex{width:96px;height:34px;padding:6px 8px;font-size:12px}
#editDialog fieldset{margin-bottom:12px}
#editDialog fieldset legend{margin-bottom:8px}
#editDialog .logo-color-options{gap:9px 14px}
#editDialog label{margin-bottom:12px}
#editDialog input:not([type=radio]):not([type=file]):not([type=color]){height:38px}
#editDialog .shortcut-row{display:flex;align-items:center;gap:12px;margin-top:6px}
#editDialog .shortcut-row #editKey{flex:0 0 60px;width:60px;margin:0;text-align:center}
#editDialog #shortcutHelp{margin:0;font-size:11px;line-height:1.5}
#editDialog .advanced-search{margin:16px 0 0;padding:0;grid-column:1/-1}
#editDialog .advanced-search summary{padding:11px 12px}
#editDialog .advanced-search label{margin-top:12px}
#editDialog .advanced-search #customSearch{width:100%}
#editDialog .dialog-actions :is(.primary,.destructive){height:40px;border-radius:10px}
#editDialog .editor-body{padding-bottom:18px}
.search-layer .search-hint{gap:12px;color:#b8c7db;font-size:11px;align-items:center}
.search-layer .search-hint kbd{font-size:10px;min-width:0;padding:1px 4px;background:#ffffff09;border-color:#ffffff20;box-shadow:none;color:#cedbef;line-height:1.6}
.shortcut-indicator{position:fixed;top:28px;left:50%;transform:translateX(-50%);z-index:45;padding:11px 18px;background:#102039;border:1px solid #b4c9e52d;border-radius:12px;color:#e3ecf9;font-size:12px;pointer-events:none;box-shadow:0 8px 24px #0002}
#settingsDialog .title-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer}
.title-toggle strong{display:block;font-size:13px;color:#e3ecf9;font-weight:500}.title-toggle small{display:block;font-size:12px;color:#aabbd1;margin-top:5px;line-height:1.5}
#showTileTitles{appearance:none;flex:0 0 36px;width:36px;height:21px;padding:0;margin:0;background:#40516b;border:1px solid #8297b84d;border-radius:12px;cursor:pointer;position:relative;transition:background 180ms ease}
#showTileTitles:before{content:'';position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#e5edf9;transition:transform 180ms ease}
#showTileTitles:checked{background:#3977bb}#showTileTitles:checked:before{transform:translateX(15px)}#showTileTitles:focus-visible{outline:2px solid #8ab4ff;outline-offset:3px}
#preferenceStatus{font-size:12px;line-height:1.5;color:#f0b3bd;margin-top:10px}#preferenceStatus:empty{display:none}
.hide-tile-titles .tile:not(.add)>.name{visibility:hidden}
@media(max-width:760px){#editDialog .editor-columns{gap:18px}#editDialog .tile-preview{width:168px;height:106px}#editDialog .compact-color{max-width:100%}#howDialog .hubspree-backup-card{align-self:auto}#editDialog .editor-preview-column{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){#showTileTitles,#showTileTitles:before{transition:none}}

#editDialog .editor-left .advanced-search{margin-top:16px}
#editDialog .compact-color{justify-content:flex-start;gap:12px}
#editDialog .tile-preview{width:164px;height:102px}
#editDialog .tile-preview .mark{width:58px;height:58px}
#editDialog .editor-preview-column{padding:10px 0}
@media(max-width:760px){#editDialog .tile-preview{width:156px;height:98px}}
