:root {
  color-scheme: dark;
  font-family: "Malgun Gothic", "Segoe UI", sans-serif;
  background: #0b1117;
  color: #f4f7fa;
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #0b1117;
}

.login-panel {
  width: min(380px, 100%);
  border: 1px solid #33414d;
  border-radius: 8px;
  padding: 24px;
  background: #121b23;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand strong { display: block; font-size: 24px; }
.brand small { display: block; margin-top: 3px; color: #8fb4d0; }
.brand.compact { margin: 0; }
.brand.compact strong { font-size: 17px; }
.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ff6a1a;
  color: white;
  font-weight: 700;
}

.login-form { display: grid; gap: 10px; }
.login-form label { color: #d5e6f2; font-size: 14px; }
.login-form input:not([type="checkbox"]) {
  width: 100%;
  height: 44px;
  border: 1px solid #3a4a58;
  border-radius: 5px;
  padding: 0 12px;
  background: #0d151c;
  color: white;
  outline: none;
}
.login-form input:focus { border-color: #ff6a1a; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 7px 0 2px; }
.form-error { min-height: 20px; margin: 0; color: #ff716b; font-size: 13px; }
.primary-button {
  height: 46px;
  border: 0;
  border-radius: 5px;
  background: #ff6a1a;
  color: white;
  font-weight: 700;
}
.primary-button:disabled { opacity: .55; cursor: wait; }

.dashboard { min-height: 100vh; background: #0b1117; }
.topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #283641;
  background: #101820;
}
.account { display: flex; align-items: center; gap: 9px; color: #b9c9d5; }
.account button {
  height: 32px;
  border: 1px solid #3a4a58;
  border-radius: 4px;
  padding: 0 10px;
  background: #18232d;
  color: #eaf1f6;
}
.workspace { min-height: calc(100vh - 58px); display: grid; grid-template-columns: 220px 1fr; }
.manager-rail { padding: 18px 12px; border-right: 1px solid #283641; background: #0f171e; }
.manager-rail h2 { margin: 0 8px 14px; font-size: 14px; color: #8ea2b2; }
.manager-list { display: grid; gap: 6px; }
.manager-item { height: 40px; border: 0; border-radius: 4px; padding: 0 10px; text-align: left; background: #18232d; color: white; }
.content { padding: 24px; }
.content-heading { border-bottom: 1px solid #283641; padding-bottom: 16px; }
.content-heading h1 { margin: 0 0 6px; font-size: 22px; }
.content-heading p { margin: 0; color: #91a4b3; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 18px; }
.empty-state { margin-top: 64px; text-align: center; color: #9fb0bd; }
.empty-state strong { display: block; color: #e7eef3; font-size: 17px; }
.empty-state p { margin: 8px 0 0; }

@media (max-width: 720px) {
  .topbar { padding: 0 12px; }
  .brand.compact strong { display: none; }
  .account > span { display: none; }
  .workspace { display: block; min-height: calc(100vh - 58px); }
  .manager-rail { min-height: 0; padding: 12px; border-right: 0; border-bottom: 1px solid #283641; }
  .manager-rail h2 { margin-bottom: 0; }
  .content { padding: 18px 14px; }
}
