:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: #172523;
  background: #f4f7f5;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 14% 7%, rgba(112, 186, 156, .17), transparent 36%),
    radial-gradient(ellipse at 91% 91%, rgba(219, 189, 117, .14), transparent 31%),
    #f4f7f5;
}

.shell { width: min(100% - 40px, 560px); margin: 0 auto; padding: 76px 0 34px; }
.card {
  padding: 46px 48px 34px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #e6ece8;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(35, 63, 51, .08), 0 2px 7px rgba(35, 63, 51, .035);
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: #497361; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #53a780; box-shadow: 0 0 0 4px #e8f4ed; }
h1 { margin: 21px 0 9px; font-size: clamp(31px, 7vw, 39px); line-height: 1.14; letter-spacing: -.055em; }
.intro { margin: 0 0 34px; color: #71807a; font-size: 14px; line-height: 1.75; }
label { display: block; margin: 0 0 10px; color: #34443e; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.input-wrap { position: relative; }
input {
  display: block; width: 100%; height: 54px; padding: 0 72px 0 16px;
  color: #20342c; background: #f9fbfa; border: 1px solid #dce6df; border-radius: 11px;
  outline: none; font: 14px ui-monospace, SFMono-Regular, Menlo, monospace;
  transition: border-color .16s, box-shadow .16s;
}
input::placeholder { color: #a8b3ad; font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
input:focus { border-color: #62a17e; box-shadow: 0 0 0 4px rgba(88, 158, 119, .12); }
.visibility-button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); padding: 7px 8px; color: #6e8177; background: transparent; border: 0; cursor: pointer; font-family: inherit; font-size: 11px; font-weight: 600; }
.save-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; margin-top: 13px; padding: 0 17px; color: white; background: #216c4b; border: 0; border-radius: 11px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; transition: background .16s, transform .16s; }
.save-button:hover { background: #185d3d; transform: translateY(-1px); }
.save-button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-arrow { font-size: 18px; font-weight: 400; }
.message { min-height: 25px; padding-top: 10px; color: #26734e; font-size: 12px; }
.message.error { color: #b0443f; }
.meta-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 0; color: #7b8982; border-top: 1px solid #edf1ee; font-size: 11px; }
.meta-row time { color: #465b50; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.api-note { display: flex; align-items: center; gap: 12px; margin-top: 5px; padding: 15px; background: #f3f7f4; border: 1px solid #e8efea; border-radius: 12px; }
.api-icon { display: grid; width: 32px; height: 32px; place-items: center; color: #3d785b; background: #e3efe7; border-radius: 9px; font-size: 15px; }
.api-note strong { display: block; margin-bottom: 4px; color: #728078; font-size: 10px; font-weight: 600; }
.api-note code { color: #24593e; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.warning { margin: 15px 1px 0; color: #947344; font-size: 11px; line-height: 1.7; }
footer { padding: 19px 12px 0; color: #96a29b; font-size: 10px; text-align: center; }

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 560px); padding-top: 34px; }
  .card { padding: 34px 23px 27px; border-radius: 19px; }
}
