/* Yestermap Admin — the operator's console, in the house style. */
* { box-sizing: border-box; }
body { margin: 0; background: #f6f1e5; color: #22303c;
  font: 15px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#ver { position: fixed; top: 10px; right: 14px; font: 12px ui-monospace, Menlo, monospace;
  color: #8a7d5c; }
header { max-width: 880px; margin: 0 auto; padding: 34px 20px 6px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600;
  color: #173753; margin: 0 0 4px; font-size: 30px; }
.sub { color: #6d6250; margin: 0 0 10px; }
main { max-width: 880px; margin: 0 auto; padding: 10px 20px 40px; }
#status { max-width: 880px; margin: 0 auto; padding: 0 20px 30px; }
#keydoor { max-width: 880px; margin: 14px auto; padding: 16px 20px;
  background: #fffdf6; border: 1px solid #d8cdb4; border-radius: 10px; }
#keydoor input { padding: 8px 10px; border: 1px solid #c9bfa5; border-radius: 6px; width: 320px; }
button { background: #173753; color: #fff; border: 0; border-radius: 6px;
  padding: 8px 14px; cursor: pointer; font-size: 14px; }
button.ghost { background: transparent; color: #173753; border: 1px solid #173753; }
button:disabled { opacity: .45; cursor: default; }
.card { background: #fffdf6; border: 1px solid #d8cdb4; border-radius: 10px;
  padding: 16px 18px; margin: 0 0 14px; }
.card h2 { font-family: Georgia, serif; color: #173753; margin: 0; font-size: 21px; }
.card .slug { color: #8a7d5c; font: 12.5px ui-monospace, Menlo, monospace; }
.card .owner { color: #6d6250; font-size: 13.5px; }
.card .counts { color: #6d6250; font-size: 13.5px; margin: 6px 0 12px; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-top: 1px dashed #e2d9c2; }
.row .lab { min-width: 110px; font-weight: 600; color: #173753; }
.row .hint { color: #8a7d5c; font-size: 13px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .tr { position: absolute; inset: 0; background: #cfc4a6; border-radius: 20px;
  pointer-events: none; transition: background .15s; }
.switch .tr::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px;
  height: 20px; background: #fffdf6; border-radius: 50%; transition: left .15s;
  box-shadow: 0 1px 3px rgba(23,40,60,.35); }
.switch input:checked + .tr { background: #1c73e8; }
.switch input:checked + .tr::after { left: 23px; }
.feat { display: flex; gap: 8px; align-items: baseline; padding: 3px 0 3px 120px; }
.feat.off { opacity: .45; }
.feat .fname { font-size: 13.5px; color: #4c4436; }
.ext { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding-left: 120px; }
.ext input { width: 92px; padding: 6px 8px; border: 1px solid #c9bfa5; border-radius: 6px;
  font: 13px ui-monospace, Menlo, monospace; }
.ext .elab { font-size: 12px; color: #8a7d5c; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 12px;
  font-weight: 700; letter-spacing: .02em; }
.badge.plus { background: #1c73e8; color: #fff; }
.badge.basic { background: #e7dfc9; color: #6d6250; }
