.k3-mobile-tools{display:none!important}
.k3-auto-fit{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;line-height:1.5;padding:8px 0}
.k3-auto-fit input{width:20px;height:20px;accent-color:var(--accent,#375dff)}
.k3-catalog-tools{position:static;padding:6px 0;background:transparent!important;display:grid;gap:6px}
.k3-search-fold summary,.k3-panel-controls summary{cursor:pointer;min-height:36px;padding:8px 0;font-size:14px;box-sizing:border-box}
.k3-search-fold:not([open]){border-bottom:1px solid var(--border,#d8dce4)}
.k3-panel-controls{display:grid;gap:6px;margin-bottom:8px;font-size:14px}
.k3-panel-controls label{display:grid;gap:6px}
.k3-panel-controls select{width:100%;min-height:40px;font-size:14px;padding:8px;border:1px solid var(--border,#d8dce4);border-radius:8px;background:var(--panel,#fff);color:var(--text,#26364b)}
.k3-panel-colors{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:8px 0}
.k3-panel-colors .k3-sw{width:100%;height:32px;min-width:0}
.k3-part-icon{position:absolute;right:2px;bottom:0;font:700 10px system-ui}
#k3Bar [data-a="part-mode"]{position:relative}
.k3-part-mode #k3Ctx,.k3-part-mode #k3MovePanel{display:none!important}
#k3PartEditor{position:absolute;right:14px;bottom:64px;z-index:65;width:min(300px,calc(100% - 28px));box-sizing:border-box;padding:14px;border:1px solid #73859d;border-radius:12px;box-shadow:0 8px 30px #0003;background:var(--panel,#fff);color:var(--text,#26364b);font:14px system-ui}
#k3PartEditor header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#k3PartEditor label{display:grid;gap:7px}
#k3PartEditor select{min-height:44px;font:16px system-ui;width:100%;box-sizing:border-box}
#k3PartEditor>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
#k3PartEditor button{cursor:pointer;border:1px solid var(--border,#ccd5e0);border-radius:7px;padding:9px;background:var(--panel2,#f2f5fa);color:inherit;min-height:40px}
#k3PartEditor .danger{color:#b52f30}
.k3-dlg.k3-ideas{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-height:90dvh;overflow:auto}
.k3-idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px 0}
.k3-idea-grid article{min-width:0;border:1px solid var(--border,#d5deea);border-radius:10px;overflow:hidden;padding:10px}
.k3-idea-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#383e45;border-radius:6px}
.k3-idea-grid h4{font-size:16px;margin:9px 0 4px}
.k3-idea-grid p{font-size:14px;line-height:1.5;margin:6px 0}
.k3-idea-grid button{width:100%;min-height:44px;justify-content:center}
@media(max-width:700px){.k3-panel-colors{grid-template-columns:repeat(5,minmax(0,1fr))}.k3-panel-colors .k3-sw{height:44px}.k3-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.k3-idea-grid article{padding:7px}.k3-search-fold summary,.k3-panel-controls summary{min-height:44px}}
.k3-catalog-tools label{display:grid;gap:6px;font-size:14px}
.k3-catalog-tools input,.k3-catalog-tools select,.k3-layout-select select{box-sizing:border-box;min-height:44px;width:100%;padding:10px 12px;border:1px solid var(--border,#514b40);border-radius:9px;background:var(--panel2,#26221d);color:var(--text,#f4f0e8);font:inherit;font-size:16px}
.k3-catalog-tools button{min-height:44px;font-size:14px}
.k3-search-status,.k3-template-status{font-size:14px;line-height:1.6;margin:6px 0;color:var(--muted,#c6c1b8)}
.k3-template-status[role=alert]{color:var(--warn,#e7bb77)}
.k3-layout-select{grid-column:1/-1;display:grid;gap:8px}
#k3LibBody .k3-lg[hidden],#k3LibBody [data-blk][hidden]{display:none!important}
#k3LibBody .k3-tile{min-height:44px}
.k3-catalog-tools input:focus-visible,.k3-catalog-tools button:focus-visible,.k3-layout-select select:focus-visible{outline:2px solid var(--accent,#c9a45e);outline-offset:3px}
@media(max-width:700px){
  .k3-mobile-tools{display:inline-flex!important;min-height:44px}
  .k3-top:not(.k3-expanded)>[data-a]:not([data-a="mobile-tools"]):not([data-a="live-shot"]),
  .k3-top:not(.k3-expanded)>#k3Look,.k3-top:not(.k3-expanded)>#cwLaunch,
  .k3-top:not(.k3-expanded)>#k3Cost,.k3-top:not(.k3-expanded)>[data-x]{display:none!important}
  .k3-top>.pg-ttl{flex:1;min-width:0}
  .k3-top>.pg-sp{display:none}
  .k3-top{padding:8px 12px!important}
  .k3-catalog-tools{padding:8px 0}
  .k3-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .k3-tile{min-width:0;touch-action:manipulation}
  .k3-dlg.k3-start{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
  .k3-start .k3-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .k3-start .k3-form label:first-child,.k3-layout-select{grid-column:1/-1}
  .k3-start .k3-form input{min-width:0;width:100%;font-size:16px;min-height:44px}
  .k3-start .k3-dfoot{position:sticky;bottom:0;background:var(--panel,#191713);padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .k3-top{gap:6px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.k3-tile,.k3-tabs button{transition:none!important}}
