.manage-shell {
  --mo-paper: #f7f8f3;
  --mo-panel: #ffffff;
  --mo-ink: #192622;
  --mo-muted: #4f5e55;
  --mo-border: #dbe4db;
  --mo-green: #1e503a;
  --mo-wash: #edf4ec;
  --mo-gold: #fff1d4;
  --mo-gold-ink: #69410e;
  width: min(1320px, calc(100% - 56px));
  margin: 36px auto 84px;
  color: var(--mo-ink);
}
.manage-shell *, .manage-shell *::before, .manage-shell *::after { box-sizing: border-box; }
.manage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  min-height: 176px;
  padding: 30px 34px;
  background: #183226;
  border-radius: 15px;
  color: #f5f9f1;
}
.manage-head h1 { margin: 5px 0 7px; font-size: clamp(27px, 4vw, 46px); line-height: 1.18; }
.manage-head p { margin: 0; color: #d4e2d6; }
.manage-head .mo-kicker { color: #c1d99c; font-weight: 650; font-size: 13px; }
.manage-head .mo-user { text-align: right; font-size: 13px; }
.manage-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.manage-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--mo-border);
  border-radius: 7px;
  background: #fff;
  color: var(--mo-ink);
  font-weight: 650;
  text-decoration: none;
}
.manage-nav a:is([aria-current="page"], :hover) { border-color: #a8c3ac; background: var(--mo-wash); color: var(--mo-green); }
.mo-content { display: grid; gap: 20px; }
.mo-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.mo-heading h2, .mo-box h3 { margin: 0; line-height: 1.3; }
.mo-heading p { margin: 0; color: var(--mo-muted); }
.mo-box {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--mo-border);
  border-radius: 12px;
  background: var(--mo-panel);
}
.mo-box p { margin: 0; }
.mo-box h3 { font-size: 20px; }
.mo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 15px; }
.mo-number { display: block; color: var(--mo-green); font-size: clamp(26px, 5vw, 44px); line-height: 1.1; }
.mo-muted, .manage-shell small { color: var(--mo-muted); }
.mo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--mo-green);
  border-radius: 7px;
  background: var(--mo-green);
  color: #fff;
  font: inherit;
  font-weight: 660;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.mo-btn:hover { background: #296342; }
.mo-btn.mo-soft { border-color: #bdd0c0; background: #fff; color: var(--mo-green); }
.mo-btn.mo-soft:hover { background: var(--mo-wash); }
.mo-btn:disabled { cursor: wait; opacity: .66; }
.manage-shell :is(button, a, summary, input, textarea, select):focus-visible { outline: 2px solid #1d6850; outline-offset: 3px; }
.mo-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef1ed;
  color: #394b3f;
  font-size: 13px;
  font-weight: 680;
}
.mo-badge.mo-on { background: var(--mo-wash); color: #13482d; }
.mo-badge.mo-wait { background: var(--mo-gold); color: var(--mo-gold-ink); }
.mo-notice { padding: 13px 16px; border: 1px solid #bfd3bf; border-radius: 7px; background: var(--mo-wash); color: #163d27; }
.mo-notice:empty { display: none; }
.mo-notice.mo-error { border-color: #e5beb8; background: #fae9e5; color: #6c2118; }
.mo-table-wrap { overflow-x: auto; }
.mo-table { width: 100%; min-width: max-content; border-spacing: 0; border-collapse: collapse; text-align: left; }
.mo-table :is(td, th) { padding: 11px 14px; border-bottom: 1px solid var(--mo-border); vertical-align: middle; }
.mo-table th { background: var(--mo-paper); color: var(--mo-muted); font-size: 13px; font-weight: 670; }
.mo-table tbody tr:last-child td { border-bottom: 0; }
.mo-table tr small { display: block; }
.mo-inline-link { color: var(--mo-green); text-decoration: underline; text-underline-offset: 3px; }
.mo-form, .mo-field { display: grid; gap: 12px; }
.mo-field { gap: 5px; min-width: 0; font-weight: 650; }
.mo-field input, .mo-field select, .mo-field textarea, .mo-search {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px;
  border: 1px solid #bfcbbb; border-radius: 6px; background: #fff;
  color: var(--mo-ink); font: inherit; font-weight: 450;
}
.mo-field textarea { resize: vertical; }
.mo-check { display: flex; align-items: baseline; gap: 9px; }
.mo-form small { font-weight: normal; }
.mo-description { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: 8px 16px; margin: 0; }
.mo-description dt { color: var(--mo-muted); }
.mo-description dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.mo-pre { overflow-wrap: anywhere; white-space: pre-wrap; }
.mo-box video { max-width: min(100%, 640px); max-height: 360px; border-radius: 8px; background: #16271e; }
.mo-box details { border-top: 1px solid var(--mo-border); padding-top: 12px; }
.mo-box summary { cursor: pointer; color: var(--mo-green); font-weight: 650; }
.mo-box details[open] > summary { margin-bottom: 11px; }
.mo-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 15px; }
.mo-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mo-filter .mo-search { flex: 1 1 210px; max-width: 34rem; }
.mo-cover { width: 60px; height: 60px; object-fit: cover; border: 1px solid var(--mo-border); border-radius: 6px; background: var(--mo-paper); }
.mo-id { max-width: 65vw; overflow-wrap: anywhere; font-family: "IBM Plex Mono", Consolas, monospace; font-size: .88em; }
.mo-list { display: grid; gap: 10px; margin: 0; padding-left: 1.3em; }
@media (max-width: 720px) {
  .manage-shell { width: calc(100% - 28px); margin-top: 20px; }
  .manage-head { align-items: flex-start; flex-direction: column; min-height: 0; gap: 10px; padding: 23px; }
  .manage-head .mo-user { text-align: left; }
  .mo-box { padding: 16px; }
  .mo-split { grid-template-columns: 1fr; }
  .mo-description { grid-template-columns: 1fr; gap: 3px; }
  .mo-description dd { margin-bottom: 6px; }
}
