 
* { box-sizing: border-box; }


[hidden] { display: none !important; }






body { margin: 0; font: 15px/1.5 system-ui, sans-serif; color: #1c1c1c; background: #f4f5f7;
  height: 100vh; display: flex; flex-direction: column; }
header { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #dcdfe4; }
.spacer { flex: 1; }
.muted { color: #6b7280; }
.tag { padding: 2px 8px; border-radius: 10px; background: #e5e7eb; font-size: 13px; }
.tag.on { background: #dcfce7; color: #15803d; }
.tag.off { background: #fee2e2; color: #b91c1c; }
 
main { flex: 1; min-height: 0; padding: 0; overflow: auto; }
section#login, section#notice { max-width: 360px; margin: 48px auto; padding: 24px; background: #fff; border: 1px solid #dcdfe4; border-radius: 8px; }


body.framed section#login, body.framed section#notice { max-width: none; margin: 12px; padding: 14px; }
label { display: block; margin-bottom: 12px; }
input, select, button { font: inherit; padding: 6px 8px; }
input { width: 100%; }
button, a.button { cursor: pointer; }
a.button { display: inline-block; padding: 6px 8px; border: 1px solid #767676; border-radius: 3px; background: #efefef; color: inherit; text-decoration: none; }
.error { color: #b91c1c; }
 
.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px;
  background: transparent; color: #6b7280; cursor: pointer;
}
.ico:hover { background: #eceff3; color: #1c1c1c; }
.ico svg { width: 17px; height: 17px; }
.menu {
  position: fixed; z-index: 500; min-width: 160px; padding: 4px;
  background: #fff; border: 1px solid #dcdfe4; border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16,24,40,.18);
}
.menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 8px;
  border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer;
}
.menu button:hover { background: #f1f3f6; }
.menu .mark { flex: none; width: 14px; color: #2563eb; }
iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }



iframe.svg { border: 2px solid #fff; }
