:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eef3ff;
  --bg: #eef0f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d6dae2;
  --text: #1f2937;
  --muted: #8a93a3;
  --muted-2: #6b7280;
  --red: #ef4444;
  --green: #16a34a;
  --amber: #d97706;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 14px; color: var(--text); background: var(--bg);
}
a { color: var(--blue); text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- layout ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: 56px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: #fff; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { font-size: 19px; font-weight: 800; color: var(--blue); letter-spacing: -.3px; }
.brand-sub { padding-left: 12px; border-left: 1px solid var(--border-strong); color: var(--muted); font-size: 12.5px; }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang-btn { background: none; border: 0; font-weight: 600; color: var(--text); font-size: 13px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; border: 0;
  display: grid; place-items: center; overflow: hidden; font-weight: 700; padding: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu { position: relative; }
.dropdown {
  position: absolute; right: 0; top: 42px; min-width: 180px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); padding: 6px; z-index: 30;
}
.dropdown .who { padding: 8px 10px; color: var(--muted-2); font-size: 12.5px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dropdown button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 6px; }
.dropdown button:hover { background: var(--blue-soft); }

.sidebar {
  position: fixed; top: 56px; bottom: 0; left: 0; width: 218px; background: #fff;
  border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 18px 8px 0;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; margin-bottom: 1px;
  border-radius: 8px; color: var(--text); border-left: 3px solid transparent;
}
.nav-item:hover { background: #f5f7fb; }
.nav-item.active { background: var(--blue-soft); color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.nav-item svg { width: 16px; height: 16px; flex: none; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--border); padding: 14px 8px; }
.main { margin: 56px 0 0 218px; padding: 26px 32px 40px; min-height: calc(100vh - 56px); }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  max-width: 1236px; margin: 0 auto; padding: 32px;
}
.card + .card { margin-top: 20px; }
.page-title { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.page-desc { color: var(--muted); font-size: 12.5px; margin: 0 0 22px; }
.section-label { font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted-2); margin-bottom: 14px; text-transform: uppercase; }

/* ---------- new task ---------- */
.task-grid { display: grid; grid-template-columns: minmax(0, 1fr) 433px; gap: 30px; }
.editor { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fbfcfe; }
.editor-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f1f3f8; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ef4444; } .dot.y { background: #f5b80b; } .dot.g { background: #22c55e; }
.editor-file { margin-left: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }
.editor textarea, .code-view {
  display: block; width: 100%; border: 0; outline: none; resize: vertical; background: transparent;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: #4b5563; padding: 16px 26px; tab-size: 4;
  white-space: pre; overflow: auto;
}
.editor textarea { height: 560px; }
.code-view { margin: 0; max-height: 520px; }
.op-file + .op-file { margin-top: 12px; }
.code-view.short { max-height: 280px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 10px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 13.5px; }
.req { color: var(--red); margin-right: 4px; }
.input, .select {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #f7f8fb; outline: none; transition: border-color .15s, background .15s;
}
.input:focus, .select:focus { border-color: var(--blue); background: #fff; }
.input::placeholder { color: #b5bcc8; }
.input.small { width: 110px; font-weight: 600; color: var(--blue); background: #fff; border-color: var(--blue); }
.input.invalid { border-color: var(--red); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa3b2 50%), linear-gradient(135deg, #9aa3b2 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field .hint { margin-top: 6px; font-size: 11.5px; }
.field .hint div::before { content: "· "; }
.err-text { color: var(--red); font-size: 12px; margin-top: 6px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 22px; padding-top: 18px; }
.powered { color: var(--muted); font-size: 12.5px; }
.powered b { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  height: 38px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--border-strong); background: #fff;
  font-weight: 600; letter-spacing: 1px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.btn.primary:hover { background: var(--blue-dark); color: #fff; }
.btn.danger { color: var(--red); }
.btn.danger:hover { border-color: var(--red); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; letter-spacing: 0; font-weight: 500; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; }
.link-btn { background: none; border: 0; color: var(--blue); padding: 0 4px; white-space: nowrap; text-decoration: none; }
.link-btn.danger { color: var(--red); }

/* ---------- tables / badges ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .input, .toolbar .select { width: auto; min-width: 180px; height: 36px; }
table.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 500; color: var(--muted-2); font-size: 12.5px; background: #f7f8fb; padding: 10px 12px; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:hover td { background: #fafbfd; }
.table .num { font-variant-numeric: tabular-nums; }
/* Short cells stay on one line; a long task name wraps instead of squeezing them. */
.table td.actions, .table td.num, .table .badge, .table .tag { white-space: nowrap; }
.table td.task-name { word-break: break-all; min-width: 160px; }
.table input.input { height: 32px; width: 90px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #f1f3f8; color: var(--muted-2); }
.badge.queued { background: #fff7e6; color: var(--amber); }
.badge.running { background: var(--blue-soft); color: var(--blue); }
.badge.succeeded { background: #e9f9ef; color: var(--green); }
.badge.failed { background: #fdecec; color: var(--red); }
.badge.cancelled { background: #f1f3f8; color: var(--muted-2); }
.badge.cancelling { background: #fff7e6; color: var(--amber); }
.speed-good { color: var(--green); font-weight: 600; }
.speed-bad { color: var(--muted-2); }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted-2); }

/* ---------- ops gallery ---------- */
.tabs { display: flex; gap: 4px; background: #f1f3f8; padding: 4px; border-radius: 9px; }
.tab { border: 0; background: none; padding: 6px 14px; border-radius: 6px; color: var(--muted-2); }
.tab.active { background: #fff; color: var(--blue); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.op-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.op-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; cursor: pointer; transition: all .15s; background: #fff; }
.op-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(37, 99, 235, .1); transform: translateY(-1px); }
.op-name { font-weight: 600; word-break: break-all; margin: 8px 0 6px; }
.op-meta { color: var(--muted); font-size: 12px; }
.op-best { margin-top: 6px; font-size: 12px; color: var(--green); }
.op-best-panel { margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; background: #f3faf6; font-size: 13px; color: var(--text); line-height: 1.7; }
.level { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; background: var(--blue-soft); color: var(--blue); }

/* ---------- detail ---------- */
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kv-item { background: #f7f8fb; border-radius: 10px; padding: 14px 16px; }
.kv-item .k { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.kv-item .v { font-size: 18px; font-weight: 600; }
.progress { height: 8px; border-radius: 99px; background: #e9edf5; overflow: hidden; margin: 6px 0 22px; }
.progress > div { height: 100%; background: var(--blue); transition: width .4s; }
.alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
.alert.error { background: #fdecec; color: #b91c1c; }
.alert.success { background: #ecfdf3; color: #047857; }
.alert.info { background: var(--blue-soft); color: var(--blue-dark); }
.alert.warn { background: #fff7e6; color: #92400e; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 16px; }
.sub-title { font-weight: 600; margin: 26px 0 12px; display: flex; align-items: center; justify-content: space-between; }
.log-view { background: #0f172a; color: #cbd5e1; border-radius: 8px; padding: 14px; font-family: var(--mono); font-size: 12px; max-height: 520px; overflow: auto; white-space: pre-wrap; margin: 0; }

/* ---------- admin / forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.form-grid .field { margin-bottom: 0; }
.form-grid .input { background: #fff; }
textarea.input { height: 90px; padding: 10px 12px; resize: vertical; }
.infra-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin-bottom: 12px; font-size: 13px; }
.infra-item { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.health-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; background: var(--muted); }
.health-dot.good { background: var(--green); }
.health-dot.bad { background: var(--red); }
.health-dot.warn { background: var(--amber); }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 24px; }
.switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; }

/* ---------- modal / toast / login ---------- */
.mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: grid; place-items: center; z-index: 50; padding: 30px; }
.modal { background: #fff; border-radius: 14px; width: min(860px, 100%); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.modal-body { padding: 18px 22px; overflow: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }
.close { background: none; border: 0; font-size: 20px; color: var(--muted); line-height: 1; }
.qr-modal { width: min(380px, 100%); }
.qr-body { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-body img { width: 100%; max-width: 320px; border-radius: 8px; }
.qr-admin { display: flex; gap: 16px; align-items: flex-start; }
.qr-admin img { width: 96px; border: 1px solid var(--border); border-radius: 6px; }
.toast-wrap { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #fff; border-radius: 8px; padding: 10px 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, .15); border-left: 4px solid var(--blue); max-width: 520px; }
.toast.error { border-left-color: var(--red); }
.toast.success { border-left-color: var(--green); }
/* Star prompt: fixed card in the top-right corner, no overlay, so the page stays usable. */
.star-prompt { position: fixed; top: 70px; right: 24px; z-index: 55; width: 320px; background: #fff; border-radius: 10px;
  border-left: 4px solid var(--blue); box-shadow: 0 10px 30px rgba(15, 23, 42, .16); padding: 14px 16px 12px; }
.star-title { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); padding-right: 18px; }
.star-icon { display: inline-flex; color: #f5b301; }
.star-body { margin: 8px 0 12px; color: var(--muted-2); line-height: 1.6; font-size: 13px; }
.star-actions { display: flex; align-items: center; justify-content: space-between; }
.star-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.star-btn .star-icon { color: #fff; }
.star-later { background: none; border: 0; padding: 4px 2px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.star-later:hover { color: var(--muted-2); }
.star-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.star-fade-enter-from { opacity: 0; transform: translateX(24px); }
.star-fade-enter-active { transition: opacity .3s ease, transform .3s ease; }
.star-fade-leave-to { opacity: 0; }
.star-fade-leave-active { transition: opacity 1.5s ease; }
.gh-btn { width: 100%; height: 44px; border-radius: 9px; border: 0; background: #24292f; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.gh-btn:hover { background: #000; }
.gh-btn svg { width: 20px; height: 20px; fill: currentColor; }
.dev-login { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); display: flex; gap: 8px; }
.key-box { font-family: var(--mono); background: #f7f8fb; border: 1px dashed var(--border-strong); border-radius: 8px; padding: 12px; word-break: break-all; margin: 10px 0; }
.manual h3 { margin: 24px 0 8px; font-size: 15px; }
.manual p, .manual li { color: #4b5563; line-height: 1.8; }
.manual code, .inline-code { font-family: var(--mono); background: #f1f3f8; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
pre.snippet { background: #f7f8fb; border-radius: 8px; padding: 14px; font-family: var(--mono); font-size: 12.5px; overflow: auto; }

@media (max-width: 1100px) {
  .task-grid { grid-template-columns: 1fr; }
  .kv, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.guest-notice { text-align: center; padding: 48px 24px; }
.guest-notice .gh-btn { margin: 16px auto 0; width: 280px; }
.guest-browse { display: block; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.landing .community-links { flex-wrap: wrap; justify-content: center; }
.guest-modal { width: min(460px, 100%); }
.guest-modal p { margin: 0; line-height: 1.7; }
.seed-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; background: #eef2ff; color: #4338ca; vertical-align: 1px; }
.community-links { display: flex; align-items: center; gap: 8px; }
.community-link { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 15px; border: 1px solid #c7d7fe;
  background: var(--blue-soft); color: var(--blue-dark); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.community-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 900px) {
  .brand-sub { display: none; }
  .community-link { padding: 0 9px; font-size: 12px; }
}
.community-link { gap: 6px; }
.community-icon { display: inline-flex; width: 16px; height: 16px; flex: none; }
.community-icon svg { width: 16px; height: 16px; }

/* ---- sign-in / landing page ---- */
.landing { position: relative; min-height: 100vh; overflow: hidden; color: #e5e9f5;
  background: linear-gradient(rgba(148,163,255,.06) 1px, transparent 1px) 0 0 / 44px 44px,
              linear-gradient(90deg, rgba(148,163,255,.06) 1px, transparent 1px) 0 0 / 44px 44px,
              radial-gradient(ellipse at 30% 0%, #1e2a5a 0%, #0b1022 55%, #070a16 100%); }
.landing-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.landing-glow.a { width: 520px; height: 520px; background: #3b5bff; top: -160px; left: -120px; }
.landing-glow.b { width: 460px; height: 460px; background: #12c2a0; bottom: -200px; right: -80px; opacity: .35; }
.login-top { position: relative; z-index: 2; display: flex; justify-content: center; padding-top: 22px; }
.landing .community-link { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e5e9f5; backdrop-filter: blur(6px); }
.landing .community-link:hover { background: #fff; border-color: #fff; color: #111827; }
.landing-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 56px 32px 48px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; min-height: calc(100vh - 80px); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #b9f5e6; background: rgba(18,194,160,.14); border: 1px solid rgba(18,194,160,.4); }
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #2ee6b8; box-shadow: 0 0 0 0 rgba(46,230,184,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,230,184,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,184,0); } }
.hero-title { margin: 22px 0 18px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.hero-title .grad { background: linear-gradient(90deg, #7aa2ff, #5ef0c8 60%, #ffd76a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 560px; font-size: 16px; line-height: 1.85; color: #b4bdd6; margin: 0; }
.hero-stats { display: flex; gap: 36px; margin: 28px 0 26px; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats b { font-size: 30px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: #8f9abb; }
.hero-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 13.5px; color: #dbe2f5;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hero-steps i { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700;
  color: #0b1022; background: linear-gradient(135deg, #7aa2ff, #5ef0c8); }
.landing-side { display: flex; flex-direction: column; gap: 18px; }
.login-card { background: #fff; color: var(--text); border-radius: 18px; padding: 34px 32px 26px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.login-card .brand-logo { font-size: 26px; }
.login-title { margin: 10px 0 6px; font-size: 22px; font-weight: 800; }
.login-card p { color: var(--muted-2); margin: 0 0 22px; line-height: 1.7; }
.showcase { border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.showcase-head { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.showcase-row { display: grid; grid-template-columns: 150px 1fr 56px; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; }
.showcase-name { color: #c9d1ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.showcase-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #5b7cff, #5ef0c8); }
.showcase-row b { text-align: right; color: #5ef0c8; font-variant-numeric: tabular-nums; }
.showcase-foot { margin-top: 10px; font-size: 11.5px; color: #7d88a8; line-height: 1.6; }
@media (max-width: 960px) {
  .landing-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .hero-stats { gap: 24px; }
  .login-top { flex-wrap: wrap; }
}
.optimization-card { display: flex; align-items: center; gap: 18px; max-width: 560px; margin-top: 26px; padding: 16px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,215,106,.16), rgba(94,240,200,.10)); border: 1px solid rgba(255,215,106,.55);
  box-shadow: 0 0 40px rgba(255,215,106,.12) inset; }
.optimization-label { font-size: 46px; font-weight: 900; line-height: 1; color: #ffd76a; text-shadow: 0 0 24px rgba(255,215,106,.45); }
.optimization-title { font-size: 18px; font-weight: 800; color: #fff; }
.optimization-desc { margin-top: 4px; font-size: 13.5px; color: #e9dcb4; line-height: 1.6; }
.login-card { position: relative; overflow: hidden; }
.optimization-ribbon { position: absolute; top: 18px; right: -38px; transform: rotate(45deg); width: 150px; padding: 5px 0; text-align: center;
  font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #3b2a00; background: linear-gradient(90deg, #ffd76a, #ffb547);
  box-shadow: 0 4px 12px rgba(0,0,0,.18); }
