/* Private operator console. Inherits the studio's locally hosted Korean face. */
.bo-body {
  --bo-text: #263d35;
  --bo-muted: #5d7066;
  --bo-border: #d9e1d8;
  --bo-accent: #155e56;
  margin: 0;
  background: #f5f7f2;
  color: var(--bo-text);
  min-height: 100svh;
}
.bo-body .bo-header,
.bo-body #ops-navigation,
.bo-body #ops-main { width: min(1040px, calc(100% - 60px)); margin-inline: auto; }
.bo-body .bo-header { display: flex; align-items: center; gap: 13px; min-height: 65px; }
.bo-body .bo-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 690; letter-spacing: -.5px; }
.bo-body .bo-role { font-size: 11px; color: var(--bo-muted); padding-left: 13px; border-left: 1px solid var(--bo-border); }
.bo-body #ops-actions { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.bo-body .bo-access-level { font-size: 11px; background: #e5eee0; color: #3f6849; padding: 4px 7px; border-radius: 5px; }
.bo-body .bo-inline-link { padding: 7px 0; font-size: 12px; color: var(--bo-accent); border: 0; background: transparent; }
.bo-body .bo-inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bo-body #ops-navigation { display: flex; gap: 22px; border-bottom: 1px solid var(--bo-border); }
.bo-body #ops-navigation[hidden] { display: none; }
.bo-body #ops-navigation a { padding: 12px 0 11px; border-bottom: 2px solid transparent; font-size: 13px; color: var(--bo-muted); }
.bo-body #ops-navigation a[aria-current="page"] { color: var(--bo-accent); font-weight: 650; border-color: var(--bo-accent); }
.bo-body #ops-main { padding-block: 28px 55px; }
.bo-body h1,
.bo-body h2,
.bo-body p,
.bo-body ul,
.bo-body dl { margin: 0; }
.bo-body ul { padding: 0; list-style: none; }
.bo-body .bo-heading { margin-bottom: 21px; }
.bo-body h1 { color: var(--bo-text); font-size: 23px; line-height: 1.5; font-weight: 710; letter-spacing: -.045em; }
.bo-body h2 { color: var(--bo-text); font-size: 16px; line-height: 1.55; font-weight: 670; letter-spacing: -.025em; }
.bo-body h2 small { color: var(--bo-muted); font-size: 11px; font-weight: 500; margin-left: 4px; }
.bo-body .bo-heading p,.bo-body .bo-hint { margin-top: 6px; font-size: 13px; color: var(--bo-muted); line-height: 1.8; }
.bo-body .bo-heading-row,.bo-body .bo-panel-title,.bo-body .bo-service-link,.bo-body .bo-detail-heading {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.bo-body .bo-heading-row { margin-bottom: 20px; }
.bo-body .bo-heading-row .bo-heading { margin-bottom: 0; }
.bo-body .bo-panel,.bo-body .bo-service-link,.bo-body .bo-login {
  padding: 22px; margin-bottom: 15px; border: 1px solid var(--bo-border);
  border-radius: 12px; background: #fffefb;
}
.bo-body .bo-panel-title { margin-bottom: 12px; }
.bo-body .bo-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 19px; }
.bo-body .bo-metrics a { padding: 17px 18px; border: 1px solid var(--bo-border); background: #fffefb; border-radius: 10px; }
.bo-body .bo-metrics span { display: block; font-size: 12px; color: var(--bo-muted); }
.bo-body .bo-metrics b { display: block; font-size: 25px; font-variant-numeric: tabular-nums; line-height: 1.4; color: var(--bo-accent); margin-top: 5px; }
.bo-body .bo-metrics small { padding-left: 4px; font-size: 11px; font-weight: 450; }
.bo-body .bo-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 12px;
  background: #fffefb; border: 1px solid #c6d6cc; color: #3a6251;
  border-radius: 7px; font: inherit; font-size: 12px; font-weight: 620; line-height: 1.5;
}
.bo-body .bo-button:hover { background: #edf4eb; }
.bo-body .bo-button.solid { background: var(--bo-accent); border-color: var(--bo-accent); color: white; }
.bo-body .bo-button.solid:hover { background: #114b43; }
.bo-body .bo-button:disabled { opacity: .55; cursor: default; }
.bo-body .bo-statuses { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 17px; }
.bo-body .bo-statuses span { border: 1px solid #dfe6d9; background: #f3f6ed; padding: 4px 8px; border-radius: 6px; font-size: 11px; color: #546e55; }
.bo-body .bo-statuses b { margin-left: 3px; }
.bo-body .bo-tenants li + li,.bo-body .bo-member-list li + li,.bo-body .bo-plain-list li + li { border-top: 1px solid #e4e9df; }
.bo-body .bo-tenants a { display: flex; align-items: center; gap: 13px; min-height: 61px; padding: 9px 3px; }
.bo-body .bo-tenants a:hover { background: #f6f8f0; }
.bo-body .bo-institution-icon { display: grid; place-items: center; width: 34px; height: 35px; flex-shrink: 0; color: #547957; background: #eaf1df; border-radius: 7px; font-size: 18px; }
.bo-body .bo-tenant-name,.bo-body .bo-member-name { display: grid; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bo-body .bo-tenant-name b,.bo-body .bo-member-name b,.bo-body .bo-plain-list b { font-size: 14px; font-weight: 620; }
.bo-body .bo-tenant-name small,.bo-body .bo-member-name small,.bo-body .bo-member-name span,.bo-body .bo-tenant-count,.bo-body .bo-member-state small,.bo-body .bo-plain-list small,.bo-body .bo-contact-summary small { color: var(--bo-muted); font-size: 11px; line-height: 1.7; }
.bo-body .bo-tag { display: inline-block; padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 610; color: #586b5c; background: #edf0e8; white-space: nowrap; }
.bo-body .bo-tag.positive { color: #456c45; background: #e4efd9; }
.bo-body .bo-tenant-count { min-width: 76px; text-align: right; }
.bo-body .bo-service-link { background: #eef4e9; }
.bo-body .bo-service-link p { font-size: 12px; color: var(--bo-muted); margin-top: 3px; }
.bo-body .bo-empty,.bo-body .bo-loading { text-align: center; padding: 23px 13px; color: var(--bo-muted); font-size: 13px; }
.bo-body .bo-empty strong { color: #445f49; font-size: 14px; }
.bo-body .bo-empty p { margin: 6px 0 13px; line-height: 1.75; }
.bo-body .bo-empty .bo-button { margin-top: 10px; }
.bo-body .bo-filter { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.bo-body .bo-field { display: grid; min-width: 0; gap: 6px; padding: 0; font-size: 12px; font-weight: 580; color: #44604b; }
.bo-body .bo-field input,.bo-body .bo-field select,.bo-body .bo-field textarea {
  width: 100%; min-width: 0; min-height: 41px; border: 1px solid #cbd9c8; border-radius: 6px;
  background: #fff; padding: 8px 11px; font: inherit; font-size: 13px; font-weight: 450; color: #283e31;
}
.bo-body .bo-field input:focus,.bo-body .bo-field select:focus,.bo-body .bo-field textarea:focus { outline: 3px solid #d8e8d1; border-color: #82a882; }
.bo-body .bo-field textarea { resize: vertical; }
.bo-body .bo-field[hidden] { display: none; }
.bo-body .bo-filter .bo-field:first-child { flex: 1 1 210px; max-width: 400px; }
.bo-body .bo-filter .bo-button { min-height: 41px; }
.bo-body .bo-form { display: grid; gap: 17px; }
.bo-body .bo-form > .bo-button { justify-self: start; }
.bo-body .bo-form-panel { max-width: 780px; }
.bo-body .bo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bo-body .bo-back { display: inline-block; color: #567b56; font-size: 12px; margin: 0 0 13px; }
.bo-body .bo-detail-heading { justify-content: flex-start; margin-bottom: 14px; }
.bo-body .bo-detail-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 0 16px; }
.bo-body .bo-detail-tabs a { border: 1px solid #dce5d7; border-radius: 6px; padding: 7px 10px; color: #5f7560; background: white; font-size: 12px; }
.bo-body .bo-detail-tabs a[aria-current="page"] { border-color: #9cba98; background: #eaf2e3; color: #3a653d; }
.bo-body .bo-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.bo-body .bo-facts dt { color: var(--bo-muted); font-size: 11px; margin-bottom: 3px; }
.bo-body .bo-facts dd { font-size: 14px; font-weight: 610; margin: 0; overflow-wrap: anywhere; }
.bo-body .bo-plain-list li { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 10px; padding: 12px 0; }
.bo-body .bo-plain-list li > span { font-size: 11px; color: var(--bo-muted); }
.bo-body .bo-disclosure { border-top: 1px solid #dde7d7; margin-top: 16px; }
.bo-body .bo-disclosure summary,.bo-body .bo-promote summary { cursor: pointer; padding: 12px 0; font-size: 13px; font-weight: 600; color: #466f49; }
.bo-body .bo-disclosure .bo-form { margin-top: 13px; }
.bo-body .bo-disclosure .bo-form + .bo-form { border-top: 1px solid #e1e8db; padding-top: 18px; margin-top: 19px; }
.bo-body .bo-check { display: flex; align-items: flex-start; gap: 9px; color: #526a55; font-size: 12px; line-height: 1.8; }
.bo-body .bo-check input { margin-top: 4px; accent-color: var(--bo-accent); }
.bo-body .bo-contact-summary { display: grid; gap: 3px; margin-top: 17px; overflow-wrap: anywhere; }
.bo-body .bo-contact-summary strong { font-size: 16px; }
.bo-body .bo-contact-summary span { font-size: 13px; }
.bo-body .bo-contact-summary span:empty { display: none; }
.bo-body .bo-member-list li { display: flex; align-items: center; gap: 13px; padding-block: 13px; }
.bo-body .bo-member-state { display: grid; gap: 3px; min-width: 200px; }
.bo-body .bo-member-state > span { font-size: 12px; font-weight: 600; }
.bo-body .bo-promote { width: 155px; flex-shrink: 0; }
.bo-body .bo-promote summary { font-size: 11px; }
.bo-body .bo-promote form p { font-size: 11px; color: var(--bo-muted); line-height: 1.7; }
.bo-body .bo-promote .bo-button { font-size: 11px; margin-top: 7px; }
.bo-body .bo-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 16px; color: var(--bo-muted); font-size: 12px; }
.bo-body .bo-error { padding: 9px 11px; border: 1px solid #ecd4c0; border-radius: 5px; background: #fff4ea; color: #874b31; font-size: 12px; }
.bo-body .bo-error:empty { display: none; }
.bo-body .bo-login { max-width: 365px; margin: 7vh auto 0; padding: 28px 24px; }
.bo-body .bo-login > img { display: block; margin: 0 auto 10px; }
.bo-body .bo-login h1,.bo-body .bo-login > p { text-align: center; }
.bo-body .bo-login > p { font-size: 12px; color: var(--bo-muted); margin-top: 7px; }
.bo-body .bo-login form { display: grid; gap: 13px; margin: 23px 0 12px; }
.bo-body .bo-message:not(:empty) { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #245345; color: #fff; border-radius: 8px; padding: 11px 15px; font-size: 12px; z-index: 10; max-width: calc(100% - 28px); }
@media(max-width:700px) {
  .bo-body .bo-header,.bo-body #ops-navigation,.bo-body #ops-main { width: calc(100% - 32px); }
  .bo-body .bo-header { min-height: 60px; gap: 9px; }
  .bo-body .bo-brand { font-size: 15px; gap: 6px; }
  .bo-body .bo-role { font-size: 10px; padding-left: 8px; }
  .bo-body #ops-actions { gap: 7px; }
  .bo-body .bo-access-level { display: none; }
  .bo-body #ops-navigation { gap: 18px; }
  .bo-body #ops-navigation a { font-size: 12px; }
  .bo-body #ops-main { padding-block: 21px 36px; }
  .bo-body h1 { font-size: 20px; }
  .bo-body h2 { font-size: 15px; }
  .bo-body .bo-panel,.bo-body .bo-service-link { padding: 17px 15px; }
  .bo-body .bo-metrics { gap: 6px; }
  .bo-body .bo-metrics a { padding: 12px 9px; }
  .bo-body .bo-metrics span { font-size: 10px; }
  .bo-body .bo-metrics b { font-size: 21px; }
  .bo-body .bo-metrics small { font-size: 10px; }
  .bo-body .bo-tenant-count { display: none; }
  .bo-body .bo-tenants a { gap: 9px; }
  .bo-body .bo-institution-icon { width: 27px; height: 30px; font-size: 15px; }
  .bo-body .bo-button { font-size: 11px; padding: 8px 10px; min-height: 40px; }
  .bo-body .bo-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bo-body .bo-pair { grid-template-columns: 1fr; }
  .bo-body .bo-field input,.bo-body .bo-field textarea,.bo-body .bo-field select { font-size: 16px; }
  .bo-body .bo-member-list li { flex-wrap: wrap; gap: 8px; }
  .bo-body .bo-member-name { flex: 1 1 46%; }
  .bo-body .bo-member-state { min-width: 0; flex: 1 1 49%; }
  .bo-body .bo-promote { width: 100%; }
  .bo-body .bo-plain-list li { grid-template-columns: 1fr auto; }
  .bo-body .bo-plain-list small { grid-column: 1 / -1; grid-row: 2; }
  .bo-body .bo-detail-tabs { gap: 5px; }
  .bo-body .bo-detail-tabs a { padding: 7px 8px; font-size: 11px; }
  .bo-body .bo-service-link { flex-wrap: wrap; }
  .bo-body .bo-login { margin-top: 3vh; }
}

