.keys-app{padding:42px 0 48px}.keys-app button,.keys-app input{font:inherit}.keys-app button{cursor:pointer}.keys-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.keys-heading h1{letter-spacing:-.04em;margin:10px 0;font-size:clamp(26px,4vw,36px)}.keys-heading>div>p:last-child{color:var(--muted);margin:0}.keys-demo{color:var(--yellow-soft);background:#f7c81712;border:1px solid #f7c81740;border-radius:9px;padding:8px 12px;font-size:14px}.keys-layout{grid-template-columns:340px minmax(0,1fr);gap:24px;display:grid}.keys-panel{border:1px solid var(--border);background:var(--surface);border-radius:18px;min-width:0;overflow:hidden}.keys-search{border-bottom:1px solid var(--border);padding:22px}.keys-search label{margin-bottom:10px;font-size:14px;font-weight:700;display:block}.keys-search>div{border:1px solid var(--border-strong);background:var(--surface-soft);border-radius:10px;padding:11px 12px;display:flex}.keys-search input{color:var(--text);background:0 0;border:0;outline:0;width:100%;min-width:0}.keys-search>div:focus-within{outline:2px solid var(--yellow)}.keys-search button{color:var(--muted);background:0 0;border:0;padding:0 5px}.keys-list-title{color:var(--muted);justify-content:space-between;padding:18px 22px 8px;font-size:14px;display:flex}.keys-list{max-height:500px;padding:4px 12px 16px;overflow:auto}.keys-item{text-align:left;width:100%;color:var(--text);background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;margin:4px 0;padding:14px 12px;display:flex}.keys-item:hover{background:var(--surface-raised)}.keys-item.is-selected{background:#f7c81712;border-color:#f7c81760}.keys-item svg{width:24px;height:24px;color:var(--yellow-soft);flex-shrink:0}.keys-item strong,.keys-item small{display:block}.keys-item strong{font-size:16px}.keys-item small{color:var(--muted);margin-top:3px;font-size:14px}.keys-item b{white-space:nowrap;margin-left:auto;font-size:14px}.keys-board-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:24px;display:flex}.keys-board-heading h2{margin:0;font-size:18px}.keys-board-heading span{color:var(--muted);font-size:14px}.keys-board-wrap{padding:28px 22px}.keys-columns,.keys-row{grid-template-columns:22px repeat(11,minmax(0,1fr));gap:6px;display:grid}.keys-columns{text-align:center;color:var(--muted);margin-bottom:12px;font-size:14px}.keys-grid{gap:12px;display:grid}.keys-row-number{color:var(--muted);justify-content:center;align-items:center;font-size:14px;display:flex}.keys-slot{border:1px solid var(--border-strong);background:var(--surface-raised);height:67px;color:var(--muted-bright);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:0;display:flex}.keys-slot svg{width:22px;height:22px}.keys-slot small{font-size:12px}.keys-slot.is-empty{background:var(--surface-soft);color:var(--muted);cursor:default;border-style:dashed}.keys-slot.is-selected{background:var(--yellow);color:#17202a;border:2px solid var(--yellow-soft);box-shadow:0 0 20px #f7c81725}.keys-legend{color:var(--muted);justify-content:center;gap:18px;margin-top:23px;font-size:14px;display:flex}.keys-legend i{background:var(--surface-raised);border:1px solid var(--border-strong);border-radius:3px;width:10px;height:10px;margin-right:5px;display:inline-block}.keys-legend span:first-child i{background:var(--yellow)}.keys-detail{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin:0 22px 24px;padding:22px;display:flex}.keys-detail p{letter-spacing:.12em;color:var(--muted);margin:0;font-size:12px}.keys-detail h3{margin:7px 0;font-size:20px}.keys-detail>div>span{color:var(--muted-bright);font-size:14px}.keys-badge{background:var(--yellow);color:#17202a;text-align:center;white-space:nowrap;border-radius:10px;padding:10px 20px}.keys-badge b{font-size:30px;line-height:1.2;display:block}.keys-detail .keys-badge span{color:#17202a}.keys-note{color:var(--muted);margin:18px 0 0;font-size:14px}.keys-no-result{color:var(--muted);padding:16px 10px;line-height:1.6}@media (width<=960px){.keys-layout{grid-template-columns:1fr}.keys-list{max-height:260px}}@media (width<=680px){.site-header{flex-wrap:wrap;gap:12px;padding:15px 0}.site-header nav{flex-wrap:wrap}.site-header nav .keys-nav,.keys-heading{display:block}.keys-demo{margin-top:14px;display:inline-block}.keys-board-wrap{padding:22px 10px}.keys-columns,.keys-row{grid-template-columns:18px repeat(11,minmax(0,1fr));gap:4px}.keys-slot{border-radius:6px;height:58px}.keys-grid{gap:8px}.keys-slot svg{width:18px}.keys-board-heading{flex-wrap:wrap;padding:18px 14px}.keys-detail{margin:0 10px 16px;padding:15px}.keys-detail h3{font-size:17px}.keys-badge{padding:10px 13px}.keys-legend{flex-wrap:wrap;gap:10px}.keys-app{padding-top:28px}}.keys-actions,.keys-edit-actions,.keys-row-actions{flex-wrap:wrap;gap:10px;display:flex}.keys-actions button,.keys-edit-actions button,.keys-row-actions button,.keys-dialog button{border:1px solid var(--border-strong);color:var(--text);background:var(--surface-raised);border-radius:9px;padding:10px 14px;font-size:14px}.keys-actions button:first-child,.keys-dialog-buttons button:last-child{background:var(--yellow);color:#17202a;font-weight:700}.keys-app button:disabled{opacity:.5;cursor:default}.keys-item[draggable=true]{cursor:grab}.keys-slot-icons{align-items:center;gap:3px;display:flex;position:relative}.keys-slot-icons b{font-size:14px}.keys-slot.is-target{outline:1px dashed var(--yellow)}.keys-slot.is-target:hover{background:var(--yellow);color:#17202a}.keys-slot.is-empty:disabled{opacity:1}.keys-message{border:1px solid var(--border-strong);background:var(--surface-raised);border-radius:10px;margin:0 0 18px;padding:14px;font-size:16px}.keys-row-actions{margin-top:18px}.keys-at-slot{padding:0 22px 22px}.keys-at-slot h3{color:var(--muted-bright);margin:0 0 12px;font-size:16px}.keys-at-slot>button{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:8px;margin:0 8px 8px 0;padding:10px 12px;font-size:14px;display:inline-block}.keys-at-slot>button.active{border-color:var(--yellow);color:var(--yellow-soft)}.keys-edit-actions{margin-top:12px}.keys-edit-actions .danger{color:var(--danger)}.keys-overlay{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000a;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.keys-dialog{background:var(--surface);border:1px solid var(--border-strong);border-radius:20px;width:min(100%,460px);max-height:90vh;padding:26px;overflow:auto;box-shadow:0 30px 90px #0008}.keys-dialog h2{margin:0 0 22px;font-size:22px}.keys-dialog p{line-height:1.6}.keys-dialog label{margin:14px 0 8px;font-size:14px;font-weight:650;display:block}.keys-dialog input,.keys-dialog select{background:var(--surface-soft);border:1px solid var(--border-strong);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:12px;display:block}.keys-dialog input:focus,.keys-dialog select:focus{outline:2px solid var(--yellow)}.keys-form-position{grid-template-columns:1fr 1fr;gap:16px;display:grid}.keys-form-position select{margin-top:8px}.keys-dialog-buttons{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.keys-dialog .keys-message{margin-top:18px;margin-bottom:0}@media (width<=680px){.keys-pan-scroll{padding-bottom:8px;overflow-x:auto}.keys-columns,.keys-grid{min-width:530px}.keys-slot-icons b{font-size:14px}.keys-at-slot{padding:0 12px 20px}.keys-actions{margin-top:18px}.keys-detail{margin-top:4px}}.site-shell.keys-shell{width:min(100% - 64px,2000px)}.keys-shell .keys-app{padding:24px 0 30px}.keys-shell .keys-heading{margin-bottom:20px}.keys-shell .keys-heading h1{margin:8px 0;font-size:clamp(30px,2.6vw,42px)}.keys-shell .keys-heading>div>p:last-child{font-size:18px}.keys-shell .keys-layout{grid-template-columns:clamp(340px,24vw,470px) minmax(0,1fr);align-items:start;gap:22px}.keys-shell .keys-search{padding:20px}.keys-shell .keys-search label{font-size:16px}.keys-shell .keys-search input{font-size:18px}.keys-shell .keys-list-title{padding:15px 20px 6px;font-size:16px}.keys-shell .keys-list{max-height:max(470px,100vh - 350px);padding:4px 10px 12px}.keys-shell .keys-item{gap:14px;min-height:70px;margin:3px 0;padding:12px 14px}.keys-shell .keys-item strong{overflow-wrap:anywhere;font-size:20px;line-height:1.3}.keys-shell .keys-item small{margin-top:2px;font-size:16px}.keys-shell .keys-item b{color:var(--yellow-soft);font-size:18px}.keys-shell .keys-item svg{width:28px;height:28px}.keys-shell .keys-board-heading{padding:18px 24px}.keys-shell .keys-board-heading h2{font-size:22px}.keys-shell .keys-board-heading span{font-size:16px}.keys-shell .keys-board-wrap{padding:20px 22px 18px}.keys-shell .keys-columns,.keys-shell .keys-row{grid-template-columns:28px repeat(11,minmax(0,1fr));gap:10px}.keys-shell .keys-columns{margin-bottom:10px;font-size:18px}.keys-shell .keys-grid{gap:10px}.keys-shell .keys-row-number{font-size:18px;font-weight:700}.keys-shell .keys-slot{border-radius:12px;gap:8px;height:82px}.keys-shell .keys-slot svg{width:30px;height:30px}.keys-shell .keys-slot small{font-size:16px;font-weight:650}.keys-shell .keys-slot-icons b{font-size:20px}.keys-shell .keys-legend{margin-top:14px;font-size:15px}.keys-shell .keys-row-actions{margin-top:12px}.keys-shell .keys-layout>.keys-panel:last-child{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;display:grid}.keys-shell .keys-board-heading,.keys-shell .keys-board-wrap{grid-column:1/-1}.keys-shell .keys-detail{align-self:start;min-height:118px;margin:0 0 20px 22px;padding:18px}.keys-shell .keys-detail h3{font-size:23px;line-height:1.3}.keys-shell .keys-detail>div>span{font-size:16px}.keys-shell .keys-detail p{font-size:14px}.keys-shell .keys-badge b{font-size:34px}.keys-shell .keys-at-slot{align-self:start;padding:0 22px 20px 20px}.keys-shell .keys-at-slot h3{margin-bottom:8px;font-size:18px}.keys-shell .keys-at-slot>button{padding:8px 12px;font-size:16px}.keys-shell .keys-edit-actions{margin-top:6px}.keys-shell .keys-actions button,.keys-shell .keys-edit-actions button,.keys-shell .keys-row-actions button{padding:10px 14px;font-size:16px}.keys-shell .keys-note{margin-top:12px}@media (width>=1800px){.keys-shell .keys-item>span{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.keys-shell .keys-item{min-height:64px}}@media (width<=1200px){.keys-shell .keys-layout{grid-template-columns:310px minmax(0,1fr);gap:16px}.keys-shell .keys-columns,.keys-shell .keys-row{gap:6px}.keys-shell .keys-board-wrap{padding:18px 12px}.keys-shell .keys-slot{height:72px}.keys-shell .keys-slot svg{width:25px;height:25px}.keys-shell .keys-layout>.keys-panel:last-child{display:block}.keys-shell .keys-detail{margin:0 12px 16px}.keys-shell .keys-at-slot{padding:0 16px 18px}.keys-shell .keys-item strong{font-size:18px}}@media (width<=960px){.site-shell.keys-shell{width:calc(100% - 32px)}.keys-shell .keys-layout{grid-template-columns:1fr}.keys-shell .keys-list{max-height:290px}.keys-shell .keys-item{min-height:62px}.keys-shell .keys-item>span{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}}@media (width<=680px){.site-shell.keys-shell{width:calc(100% - 24px)}.keys-shell .keys-heading>div>p:last-child{font-size:16px}.keys-shell .keys-search,.keys-shell .keys-board-heading{padding:16px}.keys-shell .keys-board-heading span{font-size:14px}.keys-shell .keys-columns,.keys-shell .keys-row{grid-template-columns:20px repeat(11,minmax(0,1fr));gap:5px}.keys-shell .keys-columns{font-size:16px}.keys-shell .keys-slot{border-radius:8px;height:68px}.keys-shell .keys-slot small{font-size:14px}.keys-shell .keys-detail h3{font-size:20px}.keys-shell .keys-list{max-height:255px}.keys-shell .keys-legend,.keys-shell .keys-actions button,.keys-shell .keys-edit-actions button,.keys-shell .keys-row-actions button{font-size:14px}.keys-shell .keys-item strong{font-size:18px}}
