.mha-tr,.mha-tr *{box-sizing:border-box}
.mha-tr{max-width:1180px;margin:0 auto;padding:12px 0 36px;font-family:Arial,Helvetica,sans-serif;color:#242635}
.mha-tr-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.mha-tr-top h2{margin:0;color:#26243d;font-size:28px}.mha-tr-sub{color:#6b7080;margin-top:4px}
.mha-tr-btn{border:0;border-radius:9px;background:#b5121b;color:#fff;padding:10px 15px;font-weight:800;cursor:pointer;font-size:14px}
.mha-tr-btn.secondary{background:#fff;color:#26243d;border:1px solid #d0d4dd}.mha-tr-btn.dark{background:#26243d}.mha-tr-btn:disabled{opacity:.55;cursor:not-allowed}
.mha-tr-attention{padding:12px 14px;margin-bottom:16px;border:1px solid #f0c8cb;background:#fff3f4;border-radius:10px;color:#7d151c}
.mha-tr-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
.mha-tr-card{width:100%;min-height:150px;display:flex;gap:16px;align-items:center;text-align:left;padding:20px;background:#26243d;color:#fff;border:0;border-radius:15px;cursor:pointer}
.mha-tr-card:hover{filter:brightness(1.06)}.mha-tr-card.is-disabled{opacity:.58;cursor:default}
.mha-tr-card-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;background:#b5121b;border-radius:14px;font-size:24px;font-weight:900}
.mha-tr-card h3{margin:0 0 7px;font-size:20px}.mha-tr-card p{margin:0 0 8px;color:#d9d9e0;line-height:1.4}.mha-tr-card span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.mha-tr-list-section{border:1px solid #e1e4eb;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:20px}
.mha-tr-list-head{padding:16px 18px;background:#f7f8fa;display:flex;justify-content:space-between;align-items:center;gap:12px}
.mha-tr-list-head h3{margin:0 0 3px;color:#26243d}.mha-tr-list-head p{margin:0;color:#777d8b;font-size:13px}
.mha-tr-count{min-width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:#26243d;color:#fff;font-weight:800}
.mha-tr-list{display:flex;flex-direction:column}.mha-tr-row{appearance:none;width:100%;border:0;border-top:1px solid #eceef2;background:#fff;padding:13px 16px;text-align:left;cursor:pointer}
.mha-tr-row:hover{background:#fafbfc}.mha-tr-row.needs-attention{border-left:4px solid #b5121b}
.mha-tr-line1{display:flex;align-items:center;gap:12px}.mha-tr-line1>strong{color:#b5121b;min-width:125px}.mha-tr-player{font-weight:800;flex:1}
.mha-tr-line2{font-size:12px;color:#767b89;margin-top:5px;padding-left:137px}.mha-tr-line2 span{padding:0 4px}
.mha-tr-badge{display:inline-block;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;white-space:nowrap;background:#eef0f5;color:#4d5260}
.mha-tr-badge.ok{background:#e9f6ec;color:#1d6c32}.mha-tr-badge.bad{background:#fdebed;color:#8d1118}.mha-tr-badge.warn{background:#fff2db;color:#8a5a00}.mha-tr-badge.wait{background:#eaf1fb;color:#2a588f}.mha-tr-badge.active{background:#f3e9ea;color:#8d1118}
.mha-tr-empty,.mha-tr-loading,.mha-tr-error{padding:28px;text-align:center}.mha-tr-error{background:#fff0f1;color:#8d1118;border:1px solid #f0c2c6;border-radius:10px}
.mha-tr-spinner{width:18px;height:18px;display:inline-block;border:2px solid #ddd;border-top-color:#b5121b;border-radius:50%;margin-right:8px;vertical-align:-4px;animation:mhaTrSpin .8s linear infinite}@keyframes mhaTrSpin{to{transform:rotate(360deg)}}
.mha-tr-backdrop{position:fixed;z-index:999990;inset:0;background:rgba(20,22,30,.68);display:flex;align-items:flex-start;justify-content:center;padding:28px 14px;overflow:auto}
.mha-tr-modal{width:min(930px,100%);background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.mha-tr-modal-head{padding:15px 19px;background:#26243d;color:#fff;display:flex;align-items:center;justify-content:space-between}.mha-tr-modal-head h3{margin:0;font-size:20px;color:#fff!important;font-weight:800;letter-spacing:.2px}
.mha-tr-close{border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}.mha-tr-modal-body{padding:19px}
.mha-tr-note{padding:11px 13px;background:#f7f8fa;border:1px solid #e2e5eb;border-radius:9px;margin-bottom:15px;color:#555b6a;font-size:13px}
.mha-tr-note.danger{background:#fff3f4;border-color:#f0c8cb;color:#7d151c}.mha-tr-note.good{background:#eef9f1;border-color:#c8e7cf;color:#246737}
.mha-tr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mha-tr-field.full{grid-column:1/-1}
.mha-tr-field label,.mha-tr-label{display:block;margin-bottom:5px;font-size:12px;font-weight:800;color:#4f5462}.mha-tr-input{width:100%;padding:9px 10px;border:1px solid #cfd3dc;border-radius:8px;background:#fff;color:#242635;font:inherit}.mha-tr-field .mha-tr-inline-check{display:flex;align-items:center;gap:7px;margin:7px 0 0;font-size:12px;font-weight:700;color:#4f5462}.mha-tr-inline-check input{margin:0}
.mha-tr-textarea{min-height:105px;resize:vertical}.mha-tr-static{padding:10px;border:1px solid #dfe2e8;background:#f8f9fb;border-radius:8px;font-weight:700}.mha-tr-muted{color:#777d8b;font-size:12px;font-weight:400}
.mha-tr-formmsg{min-height:20px;margin:10px 0;color:#8d1118;font-size:13px;font-weight:700}.mha-tr-modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}
.mha-tr-detail-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.mha-tr-detail-head>div>strong{color:#b5121b;font-size:13px}.mha-tr-detail-head h3{margin:3px 0;color:#26243d}
.mha-tr-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}.mha-tr-kv{padding:10px 11px;background:#f7f8fa;border:1px solid #e5e7ec;border-radius:8px}
.mha-tr-kv span{display:block;font-size:11px;color:#747987;text-transform:uppercase;font-weight:800;margin-bottom:4px}.mha-tr-kv strong{font-size:13px}
.mha-tr-section{border:1px solid #e1e4ea;border-radius:10px;padding:14px;margin-top:13px}.mha-tr-section h4{margin:0 0 11px;color:#26243d}.mha-tr-section.highlight{border-color:#efc1c5;background:#fff8f8}.mha-tr-section.admin{border-color:#c7c5d5;background:#faf9fd}
.mha-tr-pre{white-space:pre-wrap;font-size:13px;line-height:1.5}.mha-tr-docs{display:flex;flex-direction:column;gap:7px}.mha-tr-doc{width:100%;border:1px solid #e0e3e9;border-radius:8px;background:#f8f9fb;padding:9px 10px;display:grid;grid-template-columns:180px 1fr 50px;gap:10px;text-align:left;cursor:pointer}
.mha-tr-doc em{color:#b5121b;font-style:normal;font-weight:800;text-align:right}
.mha-tr-archive-note{margin:0 0 10px;padding:10px 11px;border:1px solid #dbe4ef;border-radius:9px;background:#f4f8fc;color:#4f5d70;font-size:12px;line-height:1.45}.mha-tr-archive-note strong{color:#26243d}.mha-tr-doc-status{display:block;margin-top:3px;color:#2f7d4a;font-size:10px;font-weight:800}.mha-tr-timeline{display:flex;flex-direction:column}.mha-tr-event{display:grid;grid-template-columns:18px 1fr;gap:9px;position:relative;padding-bottom:13px}.mha-tr-event:before{content:"";position:absolute;left:5px;top:12px;bottom:-3px;width:2px;background:#e0e2e7}.mha-tr-event:last-child:before{display:none}
.mha-tr-dot{width:12px;height:12px;border-radius:50%;background:#b5121b;margin-top:3px;z-index:1}.mha-tr-event strong{display:inline-block;margin-right:8px}.mha-tr-event span,.mha-tr-event small{font-size:11px;color:#767b88;margin-right:8px}.mha-tr-event p{margin:5px 0 0;font-size:12px;white-space:pre-wrap;color:#505564}
.mha-tr-actions{display:flex;gap:8px;flex-wrap:wrap}.mha-tr-value{font-size:28px;font-weight:900;color:#b5121b}
@media(max-width:720px){.mha-tr-cards,.mha-tr-fields,.mha-tr-detail-grid{grid-template-columns:1fr}.mha-tr-field.full{grid-column:auto}.mha-tr-line1{align-items:flex-start;flex-wrap:wrap}.mha-tr-line1>strong{min-width:0}.mha-tr-player{flex-basis:calc(100% - 130px)}.mha-tr-line2{padding-left:0}.mha-tr-doc{grid-template-columns:1fr}.mha-tr-doc em{text-align:left}}

/* V5.3 dashboard/register layout */
.mha-tr{max-width:1500px;padding:12px 0 36px}
.mha-tr-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.mha-tr-summary-card{appearance:none;width:100%;min-height:76px;border:1px solid #d8deea;border-left:4px solid var(--accent,#4f46e5);border-radius:11px;background:#fff;padding:10px 14px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(24,31,52,.03)}
.mha-tr-summary-card:hover{background:#fbfcff;box-shadow:0 4px 14px rgba(24,31,52,.07)}
.mha-tr-summary-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:var(--soft,#eef0ff);color:var(--accent,#4f46e5);font-size:18px;font-weight:900}
.mha-tr-summary-copy strong{display:block;font-size:22px;line-height:1;color:#12172c;margin-bottom:4px}.mha-tr-summary-copy span{display:block;font-size:11px;color:var(--accent,#4f46e5);font-weight:700}
.mha-tr-summary-card.local-open{--accent:#4f46e5;--soft:#eef0ff}.mha-tr-summary-card.local-archive{--accent:#059669;--soft:#dff8ee}.mha-tr-summary-card.int-open{--accent:#2563eb;--soft:#e8f0ff}.mha-tr-summary-card.int-archive{--accent:#b5121b;--soft:#fdebed}
.mha-tr-toolbar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #dce2ec;border-radius:12px;margin-bottom:14px;box-shadow:0 2px 8px rgba(24,31,52,.04);flex-wrap:wrap}
.mha-tr-search-wrap{position:relative;flex:1 1 420px;min-width:240px}.mha-tr-search-wrap:before{content:"⌕";position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:18px;color:#334155}
.mha-tr-search{width:100%;height:42px;padding:9px 38px 9px 38px;border:1px solid #cfd7e6;border-radius:9px;background:#fff;color:#202638;font:inherit;outline:none}.mha-tr-search:focus{border-color:#8e9bb5;box-shadow:0 0 0 2px rgba(38,36,61,.06)}
.mha-tr-search-clear{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:transparent;color:#687386;font-size:18px;cursor:pointer;display:none}.mha-tr-search-clear.show{display:block}
.mha-tr-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
.mha-tr-register-section{border:1px solid #dfe4ed;border-radius:12px;background:#fff;overflow:hidden;margin-bottom:14px;box-shadow:0 2px 7px rgba(24,31,52,.03)}
.mha-tr-register-head{padding:14px 16px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e8ecf2}
.mha-tr-register-head h3{margin:0 0 3px;color:#1e2438;font-size:18px}.mha-tr-register-head p{margin:0;color:#737c8d;font-size:12px}.mha-tr-head-right{display:flex;align-items:center;gap:8px}.mha-tr-count{min-width:34px;height:30px;border-radius:8px;background:#26243d}
.mha-tr-table-head,.mha-tr-table-row{display:grid;grid-template-columns:135px minmax(160px,1.25fr) minmax(220px,1.7fr) minmax(130px,.9fr) 150px 190px;align-items:center;gap:8px}
.mha-tr-table-head{padding:10px 12px;background:#1e1c32;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.mha-tr-table-row{appearance:none;width:100%;border:0;border-top:1px solid #e7ebf1;background:#fff;padding:9px 12px;text-align:left;cursor:pointer;color:#1f2535;font-size:12px}
.mha-tr-table-row:hover{background:#f8faff}.mha-tr-table-row.needs-attention{box-shadow:inset 4px 0 0 #b5121b}.mha-tr-table-row.is-search-hidden{display:none}
.mha-tr-cell-id{font-weight:900;color:#11172a}.mha-tr-cell-player{font-weight:800}.mha-tr-cell-muted{color:#5e6879}.mha-tr-cell-status{text-align:right}
.mha-tr-archive-body[hidden]{display:none!important}.mha-tr-archive-body{background:#fafbfc}.mha-tr-archive-toggle{min-width:118px}
.mha-tr-archive-group{border-top:1px solid #e4e8ef}.mha-tr-archive-group:first-child{border-top:0}.mha-tr-archive-group.is-search-hidden{display:none}
.mha-tr-archive-group-head{padding:10px 14px;background:#f5f7fa;font-size:12px;font-weight:900;color:#384154;display:flex;justify-content:space-between;align-items:center}
.mha-tr-no-results{padding:22px;text-align:center;color:#6e7787;display:none}.mha-tr-no-results.show{display:block}
.mha-tr-filter-note{font-size:11px;color:#70798b;display:none}.mha-tr-filter-note.show{display:inline}
@media(max-width:1050px){.mha-tr-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mha-tr-table-head,.mha-tr-table-row{grid-template-columns:120px minmax(150px,1.2fr) minmax(180px,1.4fr) minmax(115px,.8fr) 135px 160px}}
@media(max-width:760px){.mha-tr-summary-grid{grid-template-columns:1fr 1fr}.mha-tr-toolbar{align-items:stretch}.mha-tr-toolbar-actions{width:100%;margin-left:0}.mha-tr-toolbar-actions .mha-tr-btn{flex:1}.mha-tr-table-head{display:none}.mha-tr-table-row{display:flex;flex-wrap:wrap;gap:5px 10px;padding:12px}.mha-tr-table-row>span{display:block}.mha-tr-cell-id{width:100px}.mha-tr-cell-player{flex:1}.mha-tr-cell-route{flex-basis:100%;order:4;color:#697386}.mha-tr-cell-type{order:5}.mha-tr-cell-date{order:6;margin-left:auto;color:#697386}.mha-tr-cell-status{margin-left:auto}.mha-tr-summary-copy strong{font-size:19px}}

/* V5.4 visual polish — layout/functionality unchanged */
.mha-tr{
  max-width:1500px;
  padding:14px 2px 42px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:#1e2433
}
.mha-tr-top{margin-bottom:16px}
.mha-tr-top h2{font-size:30px;line-height:1.1;letter-spacing:-.025em;color:#171b2d}
.mha-tr-sub{font-size:13px;color:#697386;margin-top:6px}

.mha-tr-summary-grid{gap:12px;margin-bottom:16px}
.mha-tr-summary-card{
  min-height:92px;
  padding:14px 16px;
  border:1px solid #d9e0eb;
  border-left:5px solid var(--accent,#4f46e5);
  border-radius:14px;
  box-shadow:0 3px 12px rgba(26,35,58,.055);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease
}
.mha-tr-summary-card:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:#cfd7e4;
  box-shadow:0 8px 22px rgba(26,35,58,.10)
}
.mha-tr-summary-icon{
  width:48px;height:48px;flex-basis:48px;
  font-size:20px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)
}
.mha-tr-summary-copy strong{
  font-size:26px;
  letter-spacing:-.03em;
  margin-bottom:5px;
  color:#11172a
}
.mha-tr-summary-copy span{
  font-size:11.5px;
  letter-spacing:.01em
}

.mha-tr-toolbar{
  padding:12px;
  gap:9px;
  border-radius:14px;
  border-color:#d9e0ea;
  box-shadow:0 3px 12px rgba(26,35,58,.055);
  margin-bottom:16px
}
.mha-tr-search{height:44px;border-radius:10px;border-color:#cdd6e3;background:#fbfcfe}
.mha-tr-search:hover{background:#fff;border-color:#bcc8d8}
.mha-tr-search:focus{background:#fff;border-color:#8593ab;box-shadow:0 0 0 3px rgba(56,68,92,.08)}
.mha-tr-btn{
  min-height:42px;
  padding:10px 16px;
  border-radius:10px;
  font-size:13px;
  letter-spacing:.005em;
  box-shadow:0 1px 2px rgba(18,23,42,.08);
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease
}
.mha-tr-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 10px rgba(18,23,42,.12)}
.mha-tr-btn.secondary{background:#fff;border-color:#cbd4e1}
.mha-tr-btn.dark{background:#222039}

.mha-tr-register-section{
  border-color:#dce3ed;
  border-radius:14px;
  box-shadow:0 3px 12px rgba(26,35,58,.045);
  margin-bottom:16px
}
.mha-tr-register-head{
  padding:16px 18px;
  background:#fbfcfe;
  border-bottom-color:#e3e8ef
}
.mha-tr-register-head h3{
  font-size:19px;
  line-height:1.15;
  letter-spacing:-.01em;
  color:#171c30
}
.mha-tr-register-head p{font-size:12px;color:#737d8e;margin-top:4px}
.mha-tr-count{
  min-width:34px;height:30px;
  padding:0 9px;
  border-radius:9px;
  font-size:12px;
  box-shadow:0 1px 3px rgba(0,0,0,.08)
}
.mha-tr-archive-toggle{min-width:112px}

.mha-tr-table-head,.mha-tr-table-row{
  grid-template-columns:140px minmax(185px,1.15fr) minmax(230px,1.5fr) minmax(120px,.75fr) 155px 240px;
  gap:10px
}
.mha-tr-table-head{
  padding:11px 14px;
  background:#211f37;
  font-size:10.5px;
  letter-spacing:.045em
}
.mha-tr-table-row{
  min-height:52px;
  padding:11px 14px;
  font-size:12.5px;
  border-top-color:#e8edf3;
  transition:background .14s ease,box-shadow .14s ease
}
.mha-tr-table-row:hover{
  background:#f7f9fd;
  box-shadow:inset 3px 0 0 #b5121b
}
.mha-tr-table-row.needs-attention{
  background:#fffafb;
  box-shadow:inset 4px 0 0 #b5121b
}
.mha-tr-cell-id{font-weight:900;color:#11182b;letter-spacing:.005em}
.mha-tr-cell-player{font-weight:800;color:#171d30}
.mha-tr-cell-muted{color:#697386}
.mha-tr-cell-status{display:flex;justify-content:flex-end;align-items:center;min-width:0}
.mha-tr-badge{
  max-width:225px;
  white-space:normal;
  text-align:center;
  line-height:1.2;
  padding:7px 10px;
  font-size:9.5px;
  letter-spacing:.015em;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.025)
}

.mha-tr-empty{
  padding:24px 18px;
  color:#6b7485;
  background:#fcfdff;
  font-size:13px
}
.mha-tr-no-results{padding:24px 18px;background:#fcfdff}
.mha-tr-archive-body{background:#fcfdff}
.mha-tr-archive-group-head{
  padding:11px 16px;
  background:#f4f7fb;
  color:#30394d;
  border-bottom:1px solid #e4e9f1
}

.mha-tr-attention{
  border-radius:12px;
  padding:13px 15px;
  box-shadow:0 2px 8px rgba(181,18,27,.05)
}

.mha-tr-modal{
  width:min(1000px,100%);
  border-radius:18px;
  box-shadow:0 28px 80px rgba(13,18,30,.34)
}
.mha-tr-modal-head{
  padding:17px 22px;
  background:#211f37
}
.mha-tr-modal-head h3{font-size:21px;letter-spacing:-.01em}
.mha-tr-modal-body{padding:22px}
.mha-tr-note{border-radius:10px;padding:12px 14px}
.mha-tr-input{
  min-height:42px;
  border-radius:9px;
  border-color:#ccd4e1;
  background:#fbfcfe
}
.mha-tr-input:focus{outline:none;background:#fff;border-color:#8593ab;box-shadow:0 0 0 3px rgba(56,68,92,.07)}
.mha-tr-static{border-radius:9px;background:#f7f9fc}
.mha-tr-kv{
  min-height:64px;
  padding:11px 12px;
  border-radius:9px;
  background:#f8fafd;
  border-color:#e1e7ef
}
.mha-tr-kv span{font-size:10.5px;letter-spacing:.035em}
.mha-tr-kv strong{font-size:13.5px;color:#1e2433}
.mha-tr-section{
  border-radius:12px;
  padding:16px;
  border-color:#dde4ed;
  background:#fff
}
.mha-tr-section.highlight{background:#fffafb}
.mha-tr-section.admin{background:#fbfaff}
.mha-tr-doc{border-radius:9px;background:#fafbfd}
.mha-tr-event p{line-height:1.45}

@media(max-width:1180px){
  .mha-tr-table-head,.mha-tr-table-row{
    grid-template-columns:125px minmax(160px,1.1fr) minmax(190px,1.35fr) minmax(105px,.7fr) 135px 205px
  }
}
@media(max-width:760px){
  .mha-tr{padding-left:0;padding-right:0}
  .mha-tr-summary-grid{gap:9px}
  .mha-tr-summary-card{min-height:82px;padding:12px}
  .mha-tr-summary-icon{width:42px;height:42px;flex-basis:42px}
  .mha-tr-summary-copy strong{font-size:22px}
  .mha-tr-register-head{padding:14px}
  .mha-tr-table-row{min-height:auto}
  .mha-tr-cell-status{justify-content:flex-start;margin-left:0}
  .mha-tr-badge{max-width:none;text-align:left}
}
@media(max-width:500px){
  .mha-tr-summary-grid{grid-template-columns:1fr}
  .mha-tr-toolbar-actions .mha-tr-btn{flex:1 1 100%}
}

.mha-tr-register-head{
  min-height:44px;
  padding:8px 14px;
  gap:12px;
  align-items:center;
}
.mha-tr-register-head h3{
  margin:0;
  font-size:16px;
  line-height:1.15;
}
.mha-tr-head-right{
  gap:8px;
  align-items:center;
}
.mha-tr-count{
  height:26px;
  min-width:30px;
}
.mha-tr-archive-toggle{
  min-height:32px;
  padding:6px 11px;
  min-width:96px;
}
@media(max-width:760px){
  .mha-tr-register-head{
    padding:8px 11px;
    min-height:42px;
  }
  .mha-tr-register-head h3{font-size:15px}
}

.mha-tr-su-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}
.mha-tr-su-summary>div{padding:10px 11px;border:1px solid #dfe3eb;border-radius:9px;background:#f7f8fa;min-width:0}
.mha-tr-su-summary span{display:block;margin-bottom:4px;color:#747b8a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.mha-tr-su-summary strong{display:block;color:#26243d;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:760px){.mha-tr-su-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.mha-tr-su-summary{grid-template-columns:1fr}}


/* V1.0.2 - keep completed MHA review available without competing with the active workflow */
.mha-tr-review-active{border-left:4px solid #5d5a78}
.mha-tr-review-compact{margin-top:13px;border:1px solid #dfe3eb;border-radius:12px;background:#f8f9fb;overflow:hidden}
.mha-tr-review-compact>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;color:#38394b}
.mha-tr-review-compact>summary::-webkit-details-marker{display:none}
.mha-tr-review-compact>summary span{min-width:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mha-tr-review-compact>summary strong{font-size:13px;color:#26243d}
.mha-tr-review-compact>summary small{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#707789;background:#fff;border:1px solid #dfe3eb;border-radius:999px;padding:4px 7px}
.mha-tr-review-compact>summary em{font-size:11px;font-style:normal;font-weight:800;color:#61687a;white-space:nowrap}
.mha-tr-review-note-preview{font-size:11px;color:#73798a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:340px}
.mha-tr-review-compact[open]>summary{border-bottom:1px solid #dfe3eb;background:#f3f4f7}
.mha-tr-review-compact-body{padding:14px;background:#fff}
@media(max-width:620px){.mha-tr-review-compact>summary{align-items:flex-start}.mha-tr-review-compact>summary span{display:grid;gap:5px}.mha-tr-review-note-preview{max-width:230px}.mha-tr-review-compact>summary em{padding-top:2px}}


/* V1.0.10 — archived International Transfer registered-player candidate picker */
.mha-tr-player-candidates{margin:10px 0 14px;padding:12px;border:1px solid #d9e0e7;border-radius:10px;background:#fff}
.mha-tr-candidate-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:9px}
.mha-tr-candidate-head strong{font-size:14px}.mha-tr-candidate-head span{font-size:12px;color:#667085}
.mha-tr-candidate-list{display:grid;gap:7px}
.mha-tr-candidate{width:100%;border:1px solid #dfe4ea;border-radius:8px;background:#fff;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}
.mha-tr-candidate:hover{border-color:#98a2b3;background:#f8fafc}.mha-tr-candidate:disabled{opacity:.55;cursor:wait}
.mha-tr-candidate span{min-width:0}.mha-tr-candidate strong{display:block;font-size:13px;color:#17212b}.mha-tr-candidate small{display:block;margin-top:2px;font-size:11px;color:#667085;white-space:normal}
.mha-tr-candidate em{font-style:normal;font-weight:700;font-size:12px;white-space:nowrap}
.mha-tr-candidate-warning{margin-top:9px;font-size:11px;line-height:1.4;color:#667085}
@media(max-width:700px){.mha-tr-candidate-head{align-items:flex-start;flex-direction:column;gap:3px}.mha-tr-candidate{align-items:flex-start}.mha-tr-candidate em{padding-top:1px}}


/* v1.0.14 archive manual Registered Players search */
.mha-tr-all-player-search{margin-top:12px;padding-top:12px;border-top:1px solid #e6e9ee}
.mha-tr-all-player-search>strong{display:block;margin-bottom:7px;font-size:13px;color:#17212b}
.mha-tr-player-search-row{display:flex;gap:8px;align-items:center}
.mha-tr-player-search-row input{flex:1;min-width:0;height:40px;border:1px solid #cfd6df;border-radius:8px;padding:0 11px;font:inherit;background:#fff;color:#17212b}
.mha-tr-player-search-row input:focus{outline:2px solid rgba(181,18,27,.12);border-color:#b5121b}
.mha-tr-all-player-search small{display:block;margin-top:6px;font-size:11px;color:#667085;line-height:1.4}
.mha-tr-search-count{margin:9px 0 7px;font-size:11px;font-weight:700;color:#667085}
.mha-tr-player-search-empty{padding:10px 0}
@media(max-width:700px){.mha-tr-player-search-row{align-items:stretch;flex-direction:column}.mha-tr-player-search-row .mha-tr-btn{width:100%}}
