.cpm-uct{--uct-primary:#5B4FE9;--uct-primary-dark:#473ACB;--uct-accent:#F1EFFF;--uct-bg:#F8F8FB;--uct-card:#fff;--uct-text:#17171F;--uct-muted:#686876;--uct-border:#E3E3EA;--uct-success:#177D55;--uct-error:#B42318;max-width:1050px;margin:0 auto;padding:24px;color:var(--uct-text);background:var(--uct-bg);border:1px solid var(--uct-border);border-radius:24px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}.cpm-uct *{box-sizing:border-box}.cpm-uct__header{text-align:center;padding:12px 12px 24px}.cpm-uct__eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--uct-primary);margin-bottom:8px}.cpm-uct h2{font-size:clamp(28px,4vw,42px);line-height:1.12;margin:0 0 10px}.cpm-uct h3{font-size:20px;line-height:1.25;margin:0}.cpm-uct__header p,.cpm-uct__section-head span,.cpm-uct__notes,.cpm-uct__detected{color:var(--uct-muted)}.cpm-uct__header p{max-width:760px;margin:0 auto;font-size:16px;line-height:1.7}.cpm-uct__workspace{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.cpm-uct__panel{background:var(--uct-card);border:1px solid var(--uct-border);border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(23,23,31,.05)}.cpm-uct__section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.cpm-uct__section-head span{display:block;margin-top:4px;font-size:13px}.cpm-uct__section-head--spaced{margin-top:26px}.cpm-uct__field{display:flex;flex-direction:column;gap:7px}.cpm-uct__field>span{font-size:14px;font-weight:700}.cpm-uct textarea,.cpm-uct input,.cpm-uct select,.cpm-uct button{font:inherit}.cpm-uct textarea,.cpm-uct input,.cpm-uct select{width:100%;min-height:48px;border:1px solid var(--uct-border);border-radius:12px;background:#fff;color:var(--uct-text);padding:12px 14px;font-size:16px;outline:none;transition:border-color .2s,box-shadow .2s}.cpm-uct textarea{resize:vertical;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.cpm-uct textarea:focus,.cpm-uct input:focus,.cpm-uct select:focus,.cpm-uct button:focus-visible{border-color:var(--uct-primary);box-shadow:0 0 0 3px rgba(91,79,233,.15);outline:none}.cpm-uct__form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cpm-uct__quick-row,.cpm-uct__result-actions,.cpm-uct__play-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.cpm-uct__btn{min-height:48px;border:1px solid var(--uct-border);border-radius:12px;background:#fff;color:var(--uct-text);padding:10px 16px;font-weight:750;cursor:pointer;transition:transform .15s,background .15s,border-color .15s}.cpm-uct__btn:hover{border-color:#c8c6d6;background:#fafafe}.cpm-uct__btn:active{transform:translateY(1px)}.cpm-uct__btn--primary{background:var(--uct-primary);border-color:var(--uct-primary);color:#fff}.cpm-uct__btn--primary:hover{background:var(--uct-primary-dark);border-color:var(--uct-primary-dark)}.cpm-uct__detected{margin-top:12px;font-size:13px;line-height:1.5}.cpm-uct__status{min-height:22px;margin:12px 0 0;font-size:14px;color:var(--uct-success)}.cpm-uct__status.is-error{color:var(--uct-error)}.cpm-uct__result-panel{margin-top:18px}.cpm-uct__result-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.cpm-uct__result-actions{margin-top:0}.cpm-uct__summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.cpm-uct__summary-card{background:var(--uct-bg);border:1px solid var(--uct-border);border-radius:14px;padding:12px}.cpm-uct__summary-card span{display:block;color:var(--uct-muted);font-size:12px;margin-bottom:4px}.cpm-uct__summary-card strong{font-size:15px}.cpm-uct__compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cpm-uct__compare>div{min-width:0}.cpm-uct__compare-label{font-size:13px;font-weight:800;margin:0 0 7px}.cpm-uct pre{margin:0;min-height:220px;max-height:440px;overflow:auto;padding:16px;border:1px solid var(--uct-border);border-radius:14px;background:#11131a;color:#f6f7fb;white-space:pre;line-height:1.7;font-size:14px}.cpm-uct__capo-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cpm-uct__capo-card{border:1px solid var(--uct-border);border-radius:14px;padding:14px;background:#fff}.cpm-uct__capo-card.is-best{border-color:var(--uct-primary);box-shadow:0 0 0 2px rgba(91,79,233,.09)}.cpm-uct__capo-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.cpm-uct__score{font-size:12px;font-weight:800;color:var(--uct-primary);background:var(--uct-accent);padding:5px 8px;border-radius:999px}.cpm-uct__capo-shapes{font-size:13px;line-height:1.5;color:var(--uct-muted);margin-top:8px}.cpm-uct__diagrams{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cpm-uct__diagram{border:1px solid var(--uct-border);border-radius:14px;padding:12px;background:#fff}.cpm-uct__diagram-title{font-weight:850;text-align:center;margin-bottom:9px}.cpm-uct__uke-svg{display:block;width:100%;height:auto}.cpm-uct__history-panel{margin-top:18px}.cpm-uct__link-btn{border:0;background:transparent;color:var(--uct-primary);font-weight:800;cursor:pointer;padding:6px}.cpm-uct__history{display:grid;gap:8px}.cpm-uct__history-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--uct-border);border-radius:12px;padding:11px 13px}.cpm-uct__history-item button{border:0;background:transparent;color:var(--uct-primary);font-weight:800;cursor:pointer}.cpm-uct__notes{margin-top:18px;padding:18px 20px;border:1px solid var(--uct-border);border-radius:18px;background:#fff;font-size:14px;line-height:1.65}.cpm-uct__notes p{margin:0 0 9px}.cpm-uct__notes p:last-child{margin-bottom:0}@media(max-width:820px){.cpm-uct{padding:14px;border-radius:18px}.cpm-uct__workspace,.cpm-uct__compare{grid-template-columns:1fr}.cpm-uct__summary{grid-template-columns:repeat(2,1fr)}.cpm-uct__capo-options{grid-template-columns:1fr}.cpm-uct__diagrams{grid-template-columns:repeat(2,1fr)}.cpm-uct__result-top{display:block}.cpm-uct__result-actions{margin-top:12px}}@media(max-width:520px){.cpm-uct__form-grid{grid-template-columns:1fr}.cpm-uct__summary{grid-template-columns:1fr}.cpm-uct__diagrams{grid-template-columns:1fr}.cpm-uct__btn{width:100%}.cpm-uct__quick-row .cpm-uct__btn:first-child,.cpm-uct__quick-row .cpm-uct__btn:nth-child(2){width:calc(50% - 5px)}}
