.coach-notebook{max-width:900px;margin:auto}.coach-notebook label{display:block;font-weight:700;margin-top:20px}.coach-notebook :is(select,textarea){display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:44px;background:#0e1b2d;color:#eef4ff;border:1px solid #526887;border-radius:9px;padding:12px;font:inherit}.coach-notebook textarea{resize:vertical;line-height:1.6}.coach-notebook .cn-hint,.coach-notebook .cn-intro{color:#b9c9dc;line-height:1.6}.coach-notebook .cn-hint{margin:8px 0;font-size:.92rem}.cn-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.coach-notebook .cn-buttons button{min-height:44px;margin:0}.coach-notebook #cn-heading{outline-offset:5px}.coach-notebook :is(textarea,select,button):focus-visible{outline:3px solid #93c5fd;outline-offset:3px}.coach-notebook #cn-message{line-height:1.6;white-space:pre-wrap}


/* Personal scouting workspace in red, graphite and silver. */
.coach-notebook{max-width:1180px;color:#e4e4ef;font:400 13px/1.7 Inter,system-ui,sans-serif;display:grid;gap:17px}
.coach-notebook .cn-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#25252c,#131316);border:1px solid #3c3c48;border-top:3px solid #c7304a;border-radius:12px;padding:26px}
.coach-notebook .cn-hero small,.cn-editor-heading small,.cn-writing-card>small{font-size:9px;letter-spacing:1.3px;font-weight:750;color:#aaaac2}
body .coach-notebook .cn-hero h1{font:800 34px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.8px!important;text-transform:none!important;color:#ededf6;margin:12px 0!important}
.coach-notebook .cn-intro{font-size:12px;line-height:1.8;color:#a9a9c0;max-width:670px;margin:0}
.cn-scope{white-space:nowrap;flex-shrink:0;border:1px solid #545462;background:#292932;border-radius:5px;padding:8px 10px;color:#c9c9df;font-size:8px;letter-spacing:1px;font-weight:750}
.cn-opponent-picker{display:flex;align-items:end;justify-content:space-between;gap:22px;padding:18px 20px;border:1px solid #3b3b49;border-radius:9px;background:#1a1a21}
.cn-opponent-picker>div{flex:1;max-width:500px;min-width:0}
.coach-notebook .cn-opponent-picker label{font-size:10px;letter-spacing:.5px;color:#a9a9c2;margin:0 0 8px}
.coach-notebook #cn-summary{font-size:11px;color:#9999b3;margin:0 0 10px}
.coach-notebook select{background:#101014;border-color:#4b4b59;border-radius:6px;color:#e5e5f2;font-size:13px;min-height:42px;padding:10px 12px}
.cn-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #3c3c49;padding:3px 0 17px;margin-bottom:16px}
body .coach-notebook #cn-heading{font:800 26px/1.3 Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:-.5px!important;color:#e6e6f4;margin:9px 0 8px!important}
.coach-notebook #cn-saved{font-size:10px;color:#8787a3;margin:0}
.cn-sections{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.cn-sections a{background:#23232b;border:1px solid #414150;border-radius:6px;padding:9px 12px;color:#c6c6dc;font-size:10px;text-decoration:none;font-weight:700}
.cn-sections a:hover{background:#30303b;border-color:#765064}
.cn-savebar{position:sticky;top:10px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;background:#25242c;border:1px solid #68404e;border-left:3px solid #c2324c;border-radius:8px;box-shadow:0 6px 22px #0005;margin-bottom:17px}
.coach-notebook #cn-dirty{font-size:11px;color:#b7b7cf;margin:0}
.coach-notebook .cn-buttons{gap:9px;margin:0;flex-shrink:0}
body .coach-notebook button{font:700 11px/1.5 Inter,system-ui,sans-serif!important;min-height:39px;background:#c52c45!important;border:1px solid #dd455e!important;color:#fff!important;border-radius:6px;padding:10px 13px;margin:0;box-shadow:none!important;cursor:pointer}
body .coach-notebook button.cn-secondary{background:#2b2b35!important;border-color:#50505e!important;color:#d0d0e5!important}
.coach-notebook button:hover:enabled{filter:brightness(1.12)}
.coach-notebook button:disabled{opacity:.45;cursor:default}
.cn-writing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cn-writing-card{padding:21px;background:#19191f;border:1px solid #3d3d4b;border-radius:10px;min-width:0;scroll-margin-top:90px}
.cn-writing-card:last-child{grid-column:1/-1}
.coach-notebook .cn-writing-card label{font-size:18px;letter-spacing:-.3px;font-weight:750;color:#ddddef;margin:9px 0 10px;line-height:1.4}
.coach-notebook .cn-hint{font-size:11px;color:#9494af;line-height:1.8;margin:0 0 13px}
.coach-notebook .cn-writing-card .cn-hint{min-height:40px}
.coach-notebook textarea{background:#101014;color:#e4e4f2;border:1px solid #4c4c5c;border-radius:7px;padding:13px;font:400 13px/1.8 Inter,system-ui,sans-serif;min-height:180px;resize:vertical}
.coach-notebook .cn-writing-card:last-child textarea{min-height:140px}
.cn-maintenance{border:1px solid #3d3d4b;border-radius:8px;padding:16px 20px;background:#1d1d25;margin-top:17px}
.cn-maintenance summary{cursor:pointer;font-size:11px;font-weight:700;line-height:1.8;color:#bdbdd6;min-height:25px}
.cn-maintenance p{font-size:11px;color:#9090ac;margin:13px 0}
.coach-notebook .cn-privacy{border-top:1px solid #383846;padding-top:17px;margin:18px 0 13px;font-size:10px;line-height:1.9;color:#8b8ba7}
.coach-notebook .cn-back{color:#d4afc3;font-size:11px;text-underline-offset:4px}
.coach-notebook #cn-message:empty{display:none}
.coach-notebook #cn-message:not(:empty){margin:0;padding:12px 14px;border:1px solid #4b4b59;border-radius:7px;background:#272731;color:#d1d1e5;font-size:12px}
.coach-notebook :is(textarea,select,button,a,summary):focus-visible{outline:2px solid #ff748f;outline-offset:3px}
@media(max-width:760px){.coach-notebook .cn-hero{padding:21px}.cn-hero>.cn-scope{display:none}body .coach-notebook .cn-hero h1{font-size:28px!important}.cn-opponent-picker{display:block;padding:17px}.coach-notebook #cn-summary{margin:13px 0 0}.cn-savebar{align-items:flex-start;flex-direction:column;gap:12px;top:6px}.cn-writing-grid{grid-template-columns:minmax(0,1fr)}.cn-writing-card{padding:18px;scroll-margin-top:150px}.cn-writing-card:last-child{grid-column:auto}.coach-notebook .cn-writing-card .cn-hint{min-height:0}.coach-notebook .cn-buttons{flex-shrink:1;flex-wrap:wrap}.cn-editor-heading>.cn-scope{display:none}}
