.mc-panel{width:100%;background:#fff;border:1px solid #E5E7EB;border-radius:28px;overflow:hidden;box-shadow:0 18px 46px rgba(17,24,39,.06)}
.mc-section-head{padding:22px 24px;border-bottom:1px solid #E5E7EB}
.mc-section-heading{display:flex;align-items:center;gap:10px}
.mc-section-title{margin:0;font-size:28px;line-height:1.1;letter-spacing:-.5px;font-weight:900}
.mc-section-description{margin:7px 0 0;color:#6B7280;font-size:14px;line-height:1.45}
.mc-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#F3F4F6;color:#374151;font-size:13px;font-weight:900}
.mc-notice{margin:14px 24px 0;padding:10px 12px;border-radius:11px;background:#ECFDF3;color:#14804A;font-size:13px;font-weight:800}.mc-notice.is-error{background:#FEF2F2;color:#B91C1C}
.mc-list{margin:0;padding:0;list-style:none}.mc-item{display:grid;grid-template-columns:minmax(190px,1fr) minmax(220px,1.2fr) minmax(170px,.9fr) auto;gap:20px;align-items:center;padding:15px 24px;border-bottom:1px solid #E5E7EB}.mc-item:last-child{border-bottom:0}
.mc-primary{min-width:0}.mc-number{font-size:15px;line-height:1.2;font-weight:950;color:#111827}.mc-route{display:-webkit-box;margin-top:4px;overflow:hidden;color:#6B7280;font-size:12px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.mc-label{margin-bottom:3px;color:#9CA3AF;font-size:10px;line-height:1.2;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.mc-event,.mc-note-cell,.mc-note-block{min-width:0}.mc-event-title{color:#374151;font-size:13px;line-height:1.35;font-weight:850;overflow-wrap:anywhere}.mc-event-meta{margin-top:4px;color:#9CA3AF;font-size:11px;line-height:1.3;font-weight:700}.mc-note-block{padding:8px 10px;border-radius:10px;background:#F8FAFC}.mc-note{display:-webkit-box;overflow:hidden;color:#4B5563;font-size:12px;line-height:1.35;font-weight:700;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mc-note-edit{margin-top:6px;border:0;background:transparent;padding:0;color:#D85F00;font-size:11px;font-weight:850;cursor:pointer}.mc-note-block[hidden],.mc-note-form[hidden],.mc-note-edit[hidden]{display:none}.mc-note-form{display:grid;gap:8px}.mc-note-form-label{display:grid;gap:5px;color:#6B7280;font-size:11px;font-weight:850}.mc-note-form textarea{box-sizing:border-box;width:100%;min-height:72px;max-height:140px;resize:vertical;border:1px solid #D1D5DB;border-radius:10px;padding:8px 9px;background:#fff;color:#111827;font:inherit;line-height:1.35}.mc-note-form textarea:focus{outline:2px solid rgba(216,95,0,.18);border-color:#D85F00}.mc-note-form-actions{display:flex;gap:7px}.mc-note-save,.mc-note-cancel{min-height:30px;border-radius:9px;padding:0 10px;font-size:11px;font-weight:900;cursor:pointer}.mc-note-save{border:1px solid #111827;background:#111827;color:#fff}.mc-note-cancel{border:1px solid #E5E7EB;background:#fff;color:#6B7280}.mc-note-save:disabled{cursor:wait;opacity:.55}
.mc-actions{display:flex;grid-column:4;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.mc-actions form{flex:0 0 auto}
.mc-open,.mc-remove{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:34px;border-radius:10px;padding:0 11px;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}
.mc-open{border:1px solid #111827;background:#111827;color:#fff}.mc-remove{border:1px solid #E5E7EB;background:#fff;color:#6B7280}.mc-remove:hover{border-color:#FECACA;color:#B91C1C;background:#FFF7F7}.mc-remove:disabled{cursor:wait;opacity:.55}
.mc-empty{padding:64px 12px;text-align:center}.mc-empty-title{font-size:18px;font-weight:900}.mc-empty-hint{margin-top:9px;color:#6B7280;font-size:14px;line-height:1.45}
@media(max-width:1000px){.mc-item{grid-template-columns:minmax(180px,.9fr) minmax(220px,1.1fr) auto}.mc-note-cell{grid-column:1/3}.mc-actions{grid-column:3;grid-row:1}}
@media(max-width:680px){.mc-panel{border-radius:20px}.mc-section-head{padding:19px 16px}.mc-section-title{font-size:24px}.mc-item{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.mc-note-cell,.mc-actions{grid-column:1;grid-row:auto}.mc-actions{justify-content:flex-start;overflow-x:auto}.mc-open,.mc-remove{min-height:40px}}
.mc-note.is-expanded{display:block;overflow:visible;-webkit-line-clamp:unset}
.mc-note-edit,.mc-note-expand{margin-top:5px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;padding:3px 6px!important;color:#B45309!important;font-size:11px;font-weight:850;line-height:1.3;cursor:pointer}
.mc-note-edit:hover,.mc-note-expand:hover{border-color:#FED7AA!important;background:#FFF7ED!important;color:#9A3412!important}
.mc-note-edit:focus-visible,.mc-note-expand:focus-visible{outline:2px solid rgba(216,95,0,.28);outline-offset:1px}
.mc-note-expand[hidden]{display:none}
.mc-note-block{padding:0!important;border-radius:0!important;background:transparent!important}
.mc-note{line-height:1.3}
.mc-note-inline-actions{display:flex;align-items:center;gap:10px;margin-top:2px;min-height:0}
.mc-note-edit,.mc-note-expand{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;color:#D85F00!important;font-size:11px;line-height:1.3;font-weight:850;cursor:pointer;text-decoration:none!important}
.mc-note-cell>.mc-note-edit{margin-top:2px!important}
.mc-note-edit:hover,.mc-note-expand:hover{border:0!important;background:transparent!important;color:#C2410C!important;text-decoration:none!important}
