/* shortcuts.css - Shortcut Lab (every rule starts with sh-) */
.sh-wrap{display:flex;gap:12px;height:100%;min-height:0;padding:10px 14px;width:100%}
.sh-side{width:300px;flex:none;display:flex;flex-direction:column;min-height:0;gap:8px}
.sh-head h3{margin:0;font-size:1.3rem;color:var(--accent,#ffd23f)}
.sh-head p{margin:2px 0 6px;font-size:.82rem;color:var(--ink-dim,#b7b8de)}
.sh-pg{height:10px;background:rgba(255,255,255,.15);border-radius:99px;overflow:hidden}
.sh-pg i{display:block;height:100%;width:0;background:linear-gradient(90deg,#22c6c6,#6bcb77);transition:width .4s}
.sh-head .n{font-weight:bold;font-size:.85rem}
.sh-list{list-style:none;margin:0;padding:0;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:6px;flex:1 1 auto}
.sh-list li{display:flex;gap:8px;align-items:flex-start;padding:6px 8px;border-radius:12px;background:var(--panel,#1f2150);border:2px solid #3a3e8a}
.sh-list li.done{background:#1b3a38;border-color:var(--good,#6bcb77)}
.sh-list .tick{flex:none;width:24px;height:24px;border-radius:50%;background:#3a3e8a;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:bold}
.sh-list li.done .tick{background:transparent;font-size:1.1rem}
.sh-list b:first-child{display:block;font-size:.92rem}
.sh-list small{display:block;font-size:.74rem;color:var(--ink-dim,#b7b8de);line-height:1.25}
.sh-list .caps{display:inline-flex;align-items:center;gap:3px;margin-top:3px}
.sh-list .caps i{font-style:normal;font-size:.7rem}
.kc{display:inline-block;min-width:1.7em;padding:.1em .45em;border-radius:6px;background:#f5f4ff;color:#1a1b3f;font-weight:900;font-size:.78rem;text-align:center;box-shadow:0 3px 0 #9aa0d8;border:1px solid #c7caef}
.sh-cheat{flex:none;background:rgba(255,255,255,.06);border-radius:12px;padding:6px 10px;font-size:.8rem}
.sh-cheat summary{cursor:pointer;font-weight:bold}
.sh-cheat ul{margin:6px 0;padding-left:14px;max-height:140px;overflow:auto}
.sh-cheat li{margin:3px 0}
.kc2{background:#f5f4ff;color:#1a1b3f;border-radius:5px;padding:0 .35em;font-size:.74rem}
.sh-cheat p{margin:4px 0 0;color:var(--ink-dim,#b7b8de)}
.sh-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:8px;min-height:0}
.sh-win{position:relative;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:#fff;color:#1a1b3f;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.sh-win .tb{display:flex;align-items:center;gap:10px;background:#dfe3f7;padding:6px 10px;font-size:.9rem}
.sh-win .dots{display:flex;gap:5px}
.sh-win .dots i{width:11px;height:11px;border-radius:50%;background:#ff5c72}
.sh-win .dots i:nth-child(2){background:#ffd23f}
.sh-win .dots i:nth-child(3){background:#6bcb77}
.sh-win .sv{margin-left:auto;font-weight:bold;color:#1f8a4a;opacity:0}
.sh-win .sv.flash{animation:shFlash 1.6s ease-out}
@keyframes shFlash{0%{opacity:1;transform:scale(1.2)}70%{opacity:1}100%{opacity:0}}
.sh-win .menu{display:flex;flex-wrap:wrap;gap:4px;padding:5px 8px;background:#f1f3fc;border-bottom:1px solid #d2d6ee}
.sh-win .mb{font:inherit;font-size:.82rem;padding:.2em .6em;border-radius:7px;border:1px solid #c3c8e6;background:#fff;color:#1a1b3f;cursor:pointer}
.sh-win .mb:hover{background:#e8ecff}
.sh-win .fb{display:flex;gap:8px;align-items:center;padding:6px 10px;background:#fff7d6;border-bottom:1px solid #e6d79a}
.sh-win .fb[hidden]{display:none}
.sh-win .fb input{font:inherit;padding:.25em .5em;border:2px solid #c9a93a;border-radius:8px;flex:1;max-width:260px}
.sh-win .doc{flex:1 1 auto;min-height:0;overflow:auto;padding:16px 20px;font-size:clamp(1.05rem,2.2vw,1.45rem);line-height:1.7;white-space:pre-wrap;word-break:break-word;user-select:text;outline:none;font-family:"Segoe UI",Arial,sans-serif}
.sh-win .doc ::selection{background:#9ec3ff}
.sh-win .doc .b{font-weight:900}
.sh-win .doc .i{font-style:italic}
.sh-win .doc .u{text-decoration:underline}
.sh-win .doc .hit{background:#ffe27a;border-radius:3px}
.sh-win .stat{display:flex;justify-content:space-between;gap:10px;padding:5px 12px;background:#eef0fb;font-size:.78rem;color:#555;border-top:1px solid #d2d6ee}
.sh-under{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;flex:none}
.sh-keys{flex:1 1 220px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--panel,#1f2150);border:3px solid #3a3e8a;border-radius:14px;padding:6px 10px;color:var(--ink-dim,#b7b8de)}
.sh-keys .kc{font-size:1.1rem;padding:.2em .7em}
.sh-keys.ok{border-color:var(--good,#6bcb77);background:#1b3a38}
.sh-keys i{font-style:normal;font-weight:bold;color:#fff}
.sh-clip{flex:1 1 220px;display:flex;align-items:center;gap:8px;background:var(--panel,#1f2150);border:3px solid #3a3e8a;border-radius:14px;padding:6px 12px;min-width:0}
.sh-clip.full{border-color:var(--accent,#ffd23f)}
.sh-clip .ct{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent,#ffd23f)}
.sh-clip.flash{animation:shClip .6s}
@keyframes shClip{40%{transform:scale(1.04);box-shadow:0 0 18px #ffd23f}}
.sh-msg{flex:none;min-height:2.6em;background:rgba(255,255,255,.08);border-radius:14px;padding:8px 14px;font-weight:bold;font-size:.95rem}
.sh-msg.good{background:#1b3a38;border:2px solid var(--good,#6bcb77)}
.sh-print{position:absolute;inset:0;background:rgba(21,22,58,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;z-index:5;padding:14px}
.sh-print .pg{background:#fff;color:#1a1b3f;width:min(420px,90%);max-height:70%;overflow:auto;padding:22px 26px;box-shadow:0 10px 30px rgba(0,0,0,.5);font-family:Georgia,serif;font-size:.95rem;line-height:1.6;border-radius:4px}
.sh-print h4{margin:0 0 8px;border-bottom:1px solid #ccc;padding-bottom:4px}
.sh-print .pg .b{font-weight:900}
.sh-print .pg .i{font-style:italic}
.sh-print .pg .u{text-decoration:underline}
@media (max-width:860px){.sh-wrap{flex-direction:column;overflow:auto}.sh-side{width:100%;max-height:220px}}
@media (max-height:700px){.sh-wrap{padding:6px 10px;gap:8px}.sh-list li{padding:4px 6px}.sh-win .doc{padding:10px 14px}}
