:root {
  --md45-ink: #16231f;
  --md45-green: #0f5c46;
  --md45-green-2: #168361;
  --md45-blue: #265d8c;
  --md45-red: #a43d2d;
  --md45-yellow: #f2c34f;
  --md45-paper: #ffffff;
  --md45-soft: #f4f7f5;
  --md45-line: #d9e1dd;
  --md45-muted: #68766f;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.md45-page {
  color: var(--md45-ink);
  background: #eef2f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.md45-boot { min-height: 100dvh; display: grid; place-items: center; color: var(--md45-muted); font-weight: 700; }
.md45-shell { min-height: 100dvh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.md45-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px 12px;
  background: #14231f;
  color: #fff;
}
.md45-logo { min-height: 54px; display: flex; align-items: center; gap: 11px; padding: 0 10px 20px; color: #fff; text-decoration: none; }
.md45-logo > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: #f4f1e8; color: #15231f; font-weight: 900; }
.md45-logo strong { font: 800 15px/1.05 Georgia, serif; }
.md45-sidebar nav { display: grid; align-content: start; gap: 6px; padding-top: 20px; }
.md45-sidebar nav button, .md45-back {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b8c8c2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.md45-sidebar nav button span, .md45-back span { color: #80a89a; font-size: 11px; font-weight: 900; }
.md45-sidebar nav button b, .md45-back b { font-size: 14px; }
.md45-sidebar nav button:hover, .md45-sidebar nav button.active, .md45-back:hover { background: #2a3b35; color: #fff; }
.md45-sidebar nav button.active span { color: var(--md45-yellow); }
.md45-back { border-top: 1px solid #2c3e38; border-radius: 0; }

.md45-workspace { min-width: 0; height: 100dvh; display: grid; grid-template-rows: 68px auto auto minmax(0, 1fr); }
.md45-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--md45-line); background: #fff; }
.md45-topbar h1 { margin: 0; font-size: 20px; line-height: 1.15; }
.md45-topbar p { margin: 3px 0 0; color: var(--md45-muted); font-size: 12px; }
.md45-top-actions { display: flex; align-items: center; gap: 8px; }
.md45-btn, .md45-icon {
  min-height: 38px;
  border: 1px solid #cdd8d3;
  border-radius: 6px;
  background: #fff;
  color: var(--md45-ink);
  font-weight: 800;
  cursor: pointer;
}
.md45-btn { padding: 0 13px; }
.md45-icon { width: 38px; padding: 0; }
.md45-btn:hover:not(:disabled), .md45-icon:hover:not(:disabled) { border-color: #9eb4aa; background: var(--md45-soft); }
.md45-btn:disabled, .md45-icon:disabled, button:disabled { opacity: .46; cursor: not-allowed; }
.md45-primary { border-color: var(--md45-green); background: var(--md45-green); color: #fff; }
.md45-primary:hover:not(:disabled) { border-color: #0a4d3a; background: #0a4d3a; }

.md45-toolbar { display: flex; align-items: end; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--md45-line); background: #fff; }
.md45-toolbar label, .md45-picker-tools label, .md45-quick label { display: grid; gap: 4px; min-width: 138px; }
.md45-toolbar label > span, .md45-picker-tools label > span, .md45-quick label > span { color: var(--md45-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.md45-toolbar input, .md45-toolbar select, .md45-picker-tools input, .md45-picker-tools select, .md45-quick input, .md45-quick select, .md45-quick textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd6d1;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  color: var(--md45-ink);
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 600;
}
.md45-toolbar input:focus, .md45-toolbar select:focus, .md45-picker-tools input:focus, .md45-picker-tools select:focus, .md45-quick input:focus, .md45-quick select:focus, .md45-quick textarea:focus { border-color: var(--md45-green-2); box-shadow: 0 0 0 3px rgba(22, 131, 97, .11); }
.md45-search { flex: 1; max-width: 520px; }
.md45-sync { margin-left: auto; min-height: 38px; display: flex; align-items: center; gap: 7px; color: var(--md45-muted); font-size: 11px; white-space: nowrap; }
.md45-sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--md45-green-2); }
.md45-sync.busy i { background: var(--md45-yellow); animation: md45-pulse 1s infinite; }
@keyframes md45-pulse { 50% { opacity: .3; } }

.md45-summary { display: grid; grid-template-columns: repeat(4, minmax(135px, 1fr)); gap: 1px; border-bottom: 1px solid var(--md45-line); background: var(--md45-line); }
.md45-summary > div { min-height: 53px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--md45-soft); }
.md45-summary span { color: var(--md45-muted); font-size: 11px; }
.md45-summary strong { font-size: 15px; }
.md45-content { min-width: 0; min-height: 0; overflow: auto; padding: 14px 16px 28px; }
.md45-empty { min-height: 150px; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 18px; color: var(--md45-muted); text-align: center; }
.md45-empty strong { color: var(--md45-ink); }

.md45-table-scroll { min-width: 1000px; border: 1px solid var(--md45-line); border-radius: 6px; overflow: hidden; background: #fff; }
.md45-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.md45-grid th { position: sticky; top: 0; z-index: 2; height: 38px; padding: 0 8px; border-bottom: 1px solid #cbd6d1; background: #e8eeeb; color: #4f5f57; text-align: left; font-size: 10px; text-transform: uppercase; }
.md45-grid th.payment { width: 95px; }
.md45-grid th.seller { width: 90px; }
.md45-grid th.name { width: 105px; }
.md45-grid th.telegram { width: 185px; }
.md45-grid th.brief { width: 240px; }
.md45-grid th.style { width: 85px; }
.md45-grid th.state { width: 95px; }
.md45-grid th.action { width: 130px; }
.md45-grid td { height: 70px; overflow: hidden; padding: 4px; border-right: 1px solid #edf1ef; border-bottom: 1px solid #e2e8e5; vertical-align: middle; background: #fff; }
.md45-grid tr:hover td { background: #fbfdfc; }
.md45-grid tr:last-child td { border-bottom: 0; }
.md45-payment { display: grid; align-content: center; gap: 2px; }
.md45-payment strong { font-size: 14px; }
.md45-payment span, .md45-payment small { color: var(--md45-muted); font-size: 10px; }
.md45-fixed-seller { min-width: 0; display: grid; gap: 2px; }
.md45-fixed-seller strong, .md45-fixed-seller small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md45-fixed-seller strong { font-size: 12px; }
.md45-fixed-seller small { color: var(--md45-muted); font-size: 9px; }
.md45-link { width: max-content; padding: 2px 0; border: 0; background: none; color: var(--md45-blue); font-size: 12px; font-weight: 900; cursor: pointer; }
.md45-cell {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: 0;
  background: transparent;
  color: var(--md45-ink);
  padding: 7px;
  font-size: 13px;
  font-weight: 650;
}
.md45-cell:hover:not(:disabled) { border-color: #d0dad5; background: #fff; }
.md45-cell:focus { border-color: var(--md45-green-2); background: #fff; box-shadow: inset 0 0 0 1px var(--md45-green-2); }
.md45-cell:disabled { color: #56635d; opacity: .72; }
.md45-brief { height: 58px; resize: none; overflow: auto; }
.md45-cell.dirty { border-color: #dfb23e; background: #fffdf3; }
.md45-cell.saving { border-color: var(--md45-blue); }
.md45-cell.saved { border-color: var(--md45-green-2); background: #f3fbf7; }
.md45-cell.error { border-color: var(--md45-red); }
.md45-grid tr.md55-remote-update td,
.md45-grid tr.md55-remote-update .md45-cell,
.md45-grid tr.md55-remote-update .md45-customer { animation: md55-remote-flash 1.45s ease-out; }
@keyframes md55-remote-flash { 0% { background-color: #d9f4e7; } 100% { background-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .md45-grid tr.md55-remote-update td,
  .md45-grid tr.md55-remote-update .md45-cell,
  .md45-grid tr.md55-remote-update .md45-customer { animation: none; }
}
.md45-row-save { display: block; min-height: 13px; padding: 2px 6px 0; color: var(--md45-muted); font-size: 9px; }
.md45-row-save.saving { color: var(--md45-blue); }
.md45-row-save.saved { color: var(--md45-green-2); }
.md45-row-save.error { color: var(--md45-red); }
.md45-customer-cell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; align-items: stretch; }
.md45-customer { min-width: 0; min-height: 52px; display: grid; align-content: center; gap: 3px; padding: 6px 8px; border: 1px dashed #b6c5be; border-radius: 5px; background: #f8faf9; color: var(--md45-blue); text-align: left; cursor: pointer; }
.md45-customer.linked { border-style: solid; border-color: #b4d8c9; background: #f1faf6; color: var(--md45-ink); }
.md45-customer strong, .md45-customer small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md45-customer strong { font-size: 11px; }
.md45-customer small { color: var(--md45-muted); font-size: 9px; }
.md45-chat { width: 43px; border: 1px solid #cbd6d1; border-radius: 5px; background: #fff; color: var(--md45-blue); font-size: 10px; font-weight: 900; cursor: pointer; }
.md45-song { min-width: 0; max-width: 100%; display: grid; align-content: center; gap: 3px; }
.md45-song-actions { min-width: 0; display: flex; align-items: stretch; gap: 4px; }
.md45-song-actions .md45-btn { width: auto; min-width: 0; min-height: 27px; flex: 1 1 0; overflow: hidden; padding: 0 3px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.md45-song > small { overflow: hidden; color: var(--md45-red); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.md45-generate { width: 100%; min-height: 32px; padding: 0 4px; background: var(--md45-green); color: #fff; }
.md45-status { width: max-content; max-width: 100%; min-height: 20px; overflow: hidden; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 999px; background: #edf1ef; color: #53615b; font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.md45-status.good { background: #dff3e9; color: #087052; }
.md45-status.live { background: #e2eef8; color: #245d88; }
.md45-status.warn { background: #fff0c4; color: #775806; }
.md45-status.bad { background: #fbe5e1; color: var(--md45-red); }

.md45-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 3px 9px; color: var(--md45-muted); font-size: 11px; }
.md45-directory-head strong { color: var(--md45-ink); font-size: 13px; }
.md45-directory, .md45-jobs { border: 1px solid var(--md45-line); border-radius: 6px; overflow: hidden; background: #fff; }
.md45-customer-row { width: 100%; min-height: 68px; display: grid; grid-template-columns: 38px minmax(190px, 1.4fr) minmax(180px, 1.2fr) 100px 150px 16px; align-items: center; gap: 12px; padding: 9px 13px; border: 0; border-bottom: 1px solid #e4eae7; background: #fff; color: var(--md45-ink); text-align: left; cursor: pointer; }
.md45-customer-row:hover { background: #f7faf8; }
.md45-customer-row:last-child { border-bottom: 0; }
.md45-customer-row > span:not(.md45-avatar) { min-width: 0; display: grid; gap: 2px; }
.md45-customer-row strong, .md45-customer-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md45-customer-row small { color: var(--md45-muted); }
.md45-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #dfe9e4; color: var(--md45-green); font-weight: 900; }
.md45-jobs article { min-height: 72px; display: grid; grid-template-columns: 45px minmax(220px, 1.5fr) minmax(130px, 1fr) 125px auto; align-items: center; gap: 13px; padding: 10px 13px; border-bottom: 1px solid #e4eae7; }
.md45-jobs article:last-child { border-bottom: 0; }
.md45-jobs article > div { min-width: 0; display: grid; gap: 3px; }
.md45-jobs small { color: var(--md45-muted); }
.md45-jobs p { grid-column: 2 / -1; margin: -4px 0 4px; color: var(--md45-red); font-size: 11px; }
.md45-job-id { color: var(--md45-muted); font-weight: 900; }
.md45-progress > span { height: 6px; overflow: hidden; border-radius: 4px; background: #e1e9e5; }
.md45-progress i { display: block; height: 100%; background: var(--md45-green-2); }
.md45-job-actions { display: flex !important; grid-auto-flow: column; gap: 5px !important; }

.md45-drawer-backdrop { position: fixed; inset: 0; z-index: 2147483000; display: flex; justify-content: flex-end; background: rgba(18, 31, 26, .36); }
.md45-drawer { width: min(720px, 100%); height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; background: #fff; box-shadow: -16px 0 50px rgba(18, 34, 28, .2); }
.md45-drawer > header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--md45-line); }
.md45-drawer > header div { min-width: 0; }
.md45-drawer > header small { color: var(--md45-green); font-weight: 900; }
.md45-drawer > header h2 { margin: 2px 0 0; font-size: 20px; }
.md45-drawer > header p { margin: 3px 0 0; overflow: hidden; color: var(--md45-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.md45-picker-drawer { grid-template-rows: auto auto auto minmax(0, 1fr); }
.md45-picker-tools { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--md45-line); }
.md45-picker-owner { min-width: 0; min-height: 46px; display: grid; align-content: center; gap: 4px; padding: 5px 10px; border: 1px solid var(--md45-line); border-radius: 5px; background: var(--md45-soft); }
.md45-picker-owner span { color: var(--md45-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.md45-picker-owner strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.md45-picker-count { min-height: 32px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--md45-line); color: var(--md45-muted); font-size: 11px; }
.md45-picker-list { overflow: auto; }
.md45-picker-row { width: 100%; min-height: 72px; display: grid; grid-template-columns: 38px minmax(155px, 1.2fr) minmax(145px, 1fr) 108px; align-items: center; gap: 11px; padding: 8px 14px; border: 0; border-bottom: 1px solid #e6ebe9; background: #fff; color: var(--md45-ink); text-align: left; cursor: pointer; }
.md45-picker-row:hover, .md45-picker-row.selected { background: #f2f8f5; }
.md45-picker-row.selected { box-shadow: inset 3px 0 var(--md45-green-2); }
.md45-picker-row > span:not(.md45-avatar) { min-width: 0; display: grid; gap: 2px; }
.md45-picker-row strong, .md45-picker-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md45-picker-row small { color: var(--md45-muted); font-size: 10px; }
.md45-picker-row b { width: max-content; font-size: 9px; }
.md45-ready { color: var(--md45-green-2); }
.md45-muted { color: var(--md45-muted); }

.md45-chat-drawer { grid-template-rows: auto minmax(0, 1fr) auto; }
.md45-conversation, .md45-quick-conversation { overflow: auto; padding: 16px; background: #edf2ef; }
.md45-conversation article, .md45-quick-conversation article { width: min(86%, 480px); margin: 0 0 9px; padding: 9px 11px; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(20, 40, 31, .08); }
.md45-conversation article.seller, .md45-quick-conversation article.seller { margin-left: auto; background: #dff2e9; }
.md45-conversation article > span, .md45-quick-conversation article > span { color: var(--md45-green); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.md45-conversation article p, .md45-quick-conversation article p { margin: 4px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.md45-conversation article small, .md45-quick-conversation article small { display: block; color: var(--md45-muted); text-align: right; }
.md45-chat-drawer > footer { display: flex; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--md45-line); }

.md45-quick-drawer { grid-template-rows: auto minmax(0, 1fr); }
.md45-quick { position: relative; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 13px; padding: 16px; }
.md45-quick .wide, .md45-quick-find, .md45-selected-customer, .md45-quick-actions, .md45-quick-conversation { grid-column: 1 / -1; }
.md45-quick-find { position: relative; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding-bottom: 4px; }
.md45-quick-results { position: absolute; top: 62px; right: 0; z-index: 4; width: min(470px, 100%); max-height: 330px; overflow: auto; border: 1px solid var(--md45-line); border-radius: 6px; background: #fff; box-shadow: 0 14px 34px rgba(15, 40, 31, .16); }
.md45-quick-results .md45-picker-row { grid-template-columns: 34px minmax(130px, 1fr) minmax(120px, .8fr); }
.md45-quick-results .md45-picker-row > span:last-child { display: none; }
.md45-selected-customer { min-height: 56px; display: grid; align-content: center; gap: 3px; padding: 8px 11px; border-left: 3px solid var(--md45-green-2); background: var(--md45-soft); }
.md45-selected-customer span { color: var(--md45-muted); font-size: 11px; }
.md45-quick textarea { resize: vertical; }
.md45-quick-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.md45-quick-conversation { max-height: 320px; border: 1px solid var(--md45-line); border-radius: 6px; }
.md45-toast { position: fixed; right: 20px; bottom: 20px; z-index: 2147484000; max-width: min(440px, calc(100% - 40px)); padding: 11px 14px; border-radius: 6px; background: var(--md45-green); color: #fff; box-shadow: 0 10px 30px rgba(12, 44, 34, .22); font-size: 13px; font-weight: 800; }
.md45-toast.error { background: var(--md45-red); }

.md45-nav-mark { width: 22px; height: 22px; display: inline-grid !important; place-items: center; border-radius: 5px; background: #dceae4; color: #0f5c46 !important; font-size: 11px !important; font-weight: 900; }

@media (max-width: 980px) {
  .md45-shell { grid-template-columns: 72px minmax(0, 1fr); }
  .md45-sidebar { padding: 14px 8px; }
  .md45-logo { justify-content: center; padding: 0 0 18px; }
  .md45-logo strong, .md45-sidebar nav button b, .md45-back b { display: none; }
  .md45-sidebar nav button, .md45-back { grid-template-columns: 1fr; justify-items: center; padding: 0; }
  .md45-sidebar nav button span, .md45-back span { font-size: 12px; }
  .md45-toolbar { flex-wrap: wrap; }
  .md45-search { max-width: none; min-width: 100% !important; }
  .md45-toolbar label { flex: 1; min-width: 160px; }
  .md45-sync { width: 100%; min-height: 22px; margin-left: 0; }
  .md45-customer-row { grid-template-columns: 38px minmax(150px, 1fr) minmax(150px, 1fr) 90px 16px; }
  .md45-customer-row > span:nth-of-type(5) { display: none; }
}

@media (max-width: 680px) {
  .md45-shell { display: block; padding-bottom: 62px; }
  .md45-sidebar { position: fixed; inset: auto 0 0; z-index: 20; width: 100%; height: 62px; display: block; padding: 0; border-top: 1px solid #31433c; }
  .md45-logo, .md45-back { display: none; }
  .md45-sidebar nav { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; gap: 0; }
  .md45-sidebar nav button { min-height: 62px; grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 3px; border-radius: 0; text-align: center; }
  .md45-sidebar nav button b { display: block; font-size: 10px; }
  .md45-workspace { height: calc(100dvh - 62px); grid-template-rows: auto auto auto minmax(0, 1fr); }
  .md45-topbar { min-height: 62px; padding: 9px 11px; }
  .md45-topbar h1 { font-size: 17px; }
  .md45-top-actions .md45-primary { width: 40px; overflow: hidden; padding: 0; white-space: nowrap; font-size: 0; }
  .md45-top-actions .md45-primary::before { content: "+"; font-size: 20px; }
  .md45-toolbar { padding: 8px 10px; }
  .md45-toolbar label { min-width: calc(50% - 5px); }
  .md45-summary { grid-template-columns: 1fr 1fr; }
  .md45-summary > div { min-height: 48px; display: grid; align-content: center; gap: 2px; padding: 7px 10px; }
  .md45-summary > div:first-child { grid-column: 1 / -1; }
  .md45-content { padding: 9px 0 20px; }
  .md45-table-scroll { margin: 0 9px; }
  .md45-directory-head { padding: 0 10px 8px; }
  .md45-directory, .md45-jobs { margin: 0 9px; }
  .md45-customer-row { grid-template-columns: 36px minmax(140px, 1fr) 80px 14px; gap: 8px; padding: 8px 10px; }
  .md45-customer-row > span:nth-of-type(3), .md45-customer-row > span:nth-of-type(5) { display: none; }
  .md45-jobs article { grid-template-columns: 38px minmax(130px, 1fr) auto; gap: 8px; }
  .md45-progress { display: none !important; }
  .md45-jobs article > .md45-status { grid-column: 2; }
  .md45-job-actions { grid-column: 3; grid-row: 1 / span 2; }
  .md45-jobs p { grid-column: 2 / -1; }
  .md45-picker-tools { grid-template-columns: 1fr; }
  .md45-picker-row { grid-template-columns: 36px minmax(130px, 1fr) 100px; }
  .md45-picker-row > span:last-child { display: none; }
  .md45-quick { grid-template-columns: 1fr; }
  .md45-quick .wide, .md45-quick-find, .md45-selected-customer, .md45-quick-actions, .md45-quick-conversation { grid-column: 1; }
  .md45-quick-find { grid-template-columns: 1fr; }
  .md45-quick-results { top: 126px; width: 100%; }
  .md45-quick-actions .md45-btn { width: 100%; }
  .md45-toast { right: 10px; bottom: 72px; max-width: calc(100% - 20px); }
}






.staff-profile .md45-staff-music-nav {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-color: #5c7068;
  color: #fff;
  white-space: nowrap;
}
.staff-profile .md45-staff-music-nav:hover {
  border-color: #8eb5a6;
  background: #26362f;
}
.md45-staff-music-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #dceae4;
  color: #0f5c46;
  font-size: 11px;
  font-weight: 900;
}
.md45-staff-music-label { font-size: 13px; font-weight: 850; }

.md45-classify { width: 100%; min-height: 29px; padding: 0 4px; border-color: #d5b46d; background: #fffaf0; color: #765718; }
.md45-classify:hover:not(:disabled) { border-color: #b98b32; background: #fff3d7; }
.md45-classify-drawer { grid-template-rows: auto minmax(0, 1fr); }
.md45-classify-card { display: grid; align-content: center; gap: 4px; margin: 16px; padding: 13px 14px; border: 1px solid var(--md45-line); border-left: 3px solid #d5b46d; border-radius: 6px; background: #fffaf0; }
.md45-classify-card span { color: var(--md45-muted); font-size: 11px; }
.md45-classify-options { display: grid; align-content: start; gap: 9px; padding: 0 16px 20px; }
.md45-classify-option { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--md45-line); border-radius: 6px; background: #fff; color: var(--md45-ink); text-align: left; cursor: pointer; }
.md45-classify-option:hover { border-color: var(--md45-green-2); background: var(--md45-soft); }
.md45-classify-option span { color: var(--md45-muted); font-size: 11px; line-height: 1.4; }

@media (max-width: 760px) {
  .staff-profile .md45-staff-music-nav {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }
  .md45-staff-music-label { display: none; }
  .md45-classify-card { margin: 12px; }
  .md45-classify-options { padding: 0 12px 16px; }
}
