:root {
  color-scheme: light;
  --web-ink: #2b2133;
  --web-purple: #493657;
  --web-paper: #f8efe3;
  --web-panel: #fffbf4;
  --web-apricot: #f4ad7d;
  --web-lilac: #d7c7ec;
  --web-line: #c9bac8;
  --web-muted: #62536a;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--web-paper);
  color: var(--web-ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
input, select, textarea, button { font: inherit; }
button, input, select, textarea { color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid #87517e; outline-offset: 3px; }
.web-frame { width: min(100% - 32px, 1120px); margin-inline: auto; }
.web-skip { position: absolute; left: 16px; top: -100px; background: white; z-index: 10; padding: 12px; }
.web-skip:focus { top: 8px; }
.web-mast { background: var(--web-ink); color: var(--web-paper); }
.web-mast .web-frame { min-height: 64px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.web-mast img { max-width: min(174px, 42vw); height: auto; display: block; }
.web-mast nav { display: flex; gap: 14px; }
.web-mast nav a { font-size: .84rem; text-decoration-thickness: 1px; text-underline-offset: 3px; padding-block: 10px; }
#workspace { margin-block: clamp(20px, 5vw, 50px); min-height: 68vh; }
.web-status { margin-bottom: 14px; padding: 9px 12px; border-left: 4px solid #866099; background: #ede2f1; border-radius: 3px; overflow-wrap: anywhere; }
.web-status[data-type="error"] { border-color: #922b37; background: #fce3e4; color: #6b1d2a; }
.web-status[data-type="success"] { border-color: #32664d; background: #e1f0e3; color: #234633; }
.web-login-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; align-items: stretch; }
.web-welcome {
  min-height: 315px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  background: var(--web-ink); color: var(--web-paper); border-radius: 10px; padding: clamp(22px, 5vw, 56px);
}
.web-eyebrow { font-size: .72rem; font-weight: 850; letter-spacing: .13em; color: #6d4876; }
.web-welcome .web-eyebrow { color: var(--web-apricot); }
.web-welcome h1 { margin: 10px 0 13px; font-size: clamp(2.5rem, 7.4vw, 5rem); line-height: 1; letter-spacing: -.075em; }
.web-welcome > p:not(.web-eyebrow) { color: #e2d5e6; }
.web-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.web-links a { color: var(--web-apricot); font-size: .9rem; text-underline-offset: 4px; }
.web-card { border: 1px solid var(--web-line); border-radius: 9px; background: var(--web-panel); }
.web-auth { padding: clamp(19px, 3vw, 34px); }
.web-auth h2 { margin: 5px 0; font-size: clamp(1.6rem, 5vw, 2.35rem); letter-spacing: -.04em; }
.web-auth p:not(.web-eyebrow), .web-auth small { color: var(--web-muted); }
.web-auth-form { display: grid; gap: 8px; margin-block: 18px 10px; }
.web-auth-form label { font-weight: 750; }
.web-auth-form input { min-width: 0; min-height: 48px; border: 1px solid #9f8fa1; border-radius: 5px; padding: 8px 12px; background: #fff; }
.web-primary, .web-desk-nav button, .web-profile button {
  min-height: 44px; padding: 7px 13px; border: 1px solid var(--web-line); border-radius: 6px; background: var(--web-panel); font-weight: 750;
}
.web-primary, .web-desk-nav button[aria-pressed="true"] { background: var(--web-purple); color: #fff; border-color: var(--web-purple); }
.web-desk-head, .web-desk-nav, .web-profile { display: flex; gap: 8px 15px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.web-desk-head h1 { font-size: clamp(1.9rem, 6vw, 3.6rem); line-height: 1.15; letter-spacing: -.04em; }
.web-desk-nav { margin-block: 16px 12px; }
.web-desk-nav nav { display: flex; gap: 6px; }
.web-role { background: var(--web-lilac); border-radius: 999px; padding: 5px 9px; font-size: .75rem; font-weight: 780; }
.web-profile strong { overflow-wrap: anywhere; }
.web-footer { padding-block: 15px 24px; border-top: 1px solid var(--web-line); color: var(--web-muted); font-size: .83rem; }
.web-loading { color: var(--web-muted); }
@media (max-width: 650px) {
  .web-login-layout { grid-template-columns: 1fr; }
  .web-welcome { min-height: auto; }
  .web-mast nav { gap: 8px; }
}
.web-trial-bar {
  margin-bottom: 17px; padding: 14px 16px; display: grid; align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px;
  background: #eee4f2; border: 1px solid var(--web-line); border-radius: 9px;
}
.web-trial-bar h2 { margin: 3px 0 4px; font-size: 1.35rem; }
.web-trial-note { color: var(--web-muted); font-size: .83rem; }
.web-trial-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 7px; }
.web-trial-controls label { display: grid; min-width: 0; gap: 3px; font-size: .81rem; font-weight: 700; }
.web-trial-controls select, .web-trial-controls button {
  min-height: 42px; width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #9f8fa1; border-radius: 5px; background: var(--web-panel);
}
.web-trial-controls button { grid-column: 2; font-weight: 750; }
@media (max-width: 720px) { .web-trial-bar { grid-template-columns: 1fr; } }
