:root {
  color-scheme: light;
  --paper: #f2f4f0;
  --white: #fff;
  --ink: #152b23;
  --muted: #53665e;
  --line: #dce7e0;
  --green: #086147;
  --deep: #07372d;
  --mint: #dcefe2;
  --radius: 18px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid #1c9977; outline-offset: 3px; }
h1, h2, p { margin: 0; }
p { color: var(--muted); line-height: 1.7; }
button, input, select, textarea { font: inherit; }
.bar { background: #fbfcfa; border-bottom: 1px solid #e0e7df; }
.bar-inner, main, .site-footer { width: min(1180px, calc(100% - 72px)); margin: 0 auto; }
.bar-inner { min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand strong { display: block; font-size: 18px; letter-spacing: .05em; }
.brand small { display: block; margin-top: 2px; font-size: 8px; color: var(--muted); font-weight: 650; letter-spacing: .13em; white-space: nowrap; }
.brand-mark { display: block; flex: 0 0 40px; height: 36px; background: #fff url("/lochu-mark.png") -20.8px -5px / 74.3px auto no-repeat; }
.bar-title { padding-left: 20px; border-left: 1px solid #d9e2db; color: #4f6359; font-size: 14px; font-weight: 600; white-space: nowrap; }
.account-area { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.access-card button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.account-area span { max-width: min(26vw, 235px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { padding: 44px 0 24px; }
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  overflow: hidden;
  border: 1px solid #dbe4db;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 15px 46px #10271b0c, 0 2px 5px #142a1e08;
}
.access-card { display: grid; align-content: center; padding: 45px clamp(34px, 5.2vw, 77px) 51px; min-width: 0; }
.access-tabs { display: flex; justify-self: start; align-items: center; gap: 3px; margin-bottom: 25px; padding: 3px; border: 1px solid #e6ebe5; border-radius: 10px; background: #f3f5f2; }
.access-tabs a { color: #4b6055; text-decoration: none; font-size: 13px; font-weight: 650; border: 1px solid transparent; border-radius: 7px; padding: 7px 13px; white-space: nowrap; }
.access-tabs a[aria-current="page"] { color: #084c38; background: #fff; border-color: #e0e8df; box-shadow: 0 1px 3px #18352113; }
.access-tabs a:hover { color: #084c38; }
.access-heading h1 { font-size: clamp(28px, 3.25vw, 42px); line-height: 1.22; letter-spacing: -.035em; font-weight: 760; margin-bottom: 9px; }
.access-heading > p { font-size: 14px; }
.access-heading form { margin-top: 24px; }
.access-heading input { background: #fbfcfb; border-color: #d4ded5; min-height: 47px; }
.access-heading input:hover { border-color: #aabfb0; }
.access-heading input:focus { background: #fff; }
.hero {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 570px;
  padding: 42px clamp(28px, 4.1vw, 60px);
  background: radial-gradient(ellipse at 51% 51%, #1b4b3a 0, #102f26 49%, #0e2a22 88%);
  color: #f0fbf1;
}
.hero-kicker, .eyebrow { font-size: 10px; letter-spacing: .19em; font-weight: 750; }
.eyebrow { color: var(--green); }
.hero-kicker { color: #a2cbb1; }
.hero h2 { font-size: clamp(26px, 3vw, 39px); letter-spacing: .01em; line-height: 1.24; margin: 10px 0 8px; }
.hero-heading > p:last-child { color: #c1d7c9; font-size: 14px; }
.signal-art { display: block; width: calc(100% + 16px); max-width: 550px; margin: 9px -8px 5px; justify-self: center; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; border-top: 1px solid #9cc6aa42; }
.journey li { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; min-width: 0; padding: 14px 6px 0 0; }
.journey li + li { padding-left: 9px; border-left: 1px solid #9cc6aa2c; }
.journey span { align-self: center; color: #add4b7; font-size: 10px; font-variant-numeric: tabular-nums; }
.journey strong { color: #f1fbf1; font-size: 13px; font-weight: 670; white-space: nowrap; }
.journey small { grid-column: 2; color: #bbd4c3; font-size: 11px; line-height: 1.6; }
form { display: grid; gap: 15px; margin-top: 20px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 640; }
input:not([type="checkbox"]), select, textarea {
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  border: 1px solid #bfcfc5;
  border-radius: 9px;
  background: var(--white);
  font-weight: 450;
}
input:not([type="checkbox"]), select { min-height: 44px; }
input::placeholder { color: #62786e; }
input[type="checkbox"] { accent-color: var(--green); width: 16px; height: 16px; }
.form-help { font-size: 12px; color: var(--muted); font-weight: 450; }
#registrationForm > .form-help { margin-top: -10px; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #bfcfc5;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button:hover:not(:disabled), .button:hover { background: #edf5f0; }
button:disabled { opacity: .52; cursor: default; }
.primary { background: var(--green); border-color: var(--green); color: #fff; }
.primary:hover:not(:disabled) { background: var(--deep); color: #fff; }
.access-card button.primary { width: 100%; min-height: 46px; gap: 8px; margin-top: 3px; background: #07513b; border-color: #07513b; }
.access-card button.primary:hover:not(:disabled) { background: #063a2d; border-color: #063a2d; }
.workspace-header { margin-bottom: 20px; padding: 23px 28px; border: 1px solid #d2e7d9; border-radius: var(--radius); background: #e9f4ed; }
.workspace-header h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 5px 0; }
.card { margin-bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.card h2, dialog h2 { font-size: 21px; margin-bottom: 5px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.upload { border: 1px dashed #a5bdb1; background: #f7fbf8; padding: 15px; border-radius: 12px; }
.upload input { width: 100%; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px 12px; margin: 0; }
legend { padding: 0 6px; font-size: 14px; font-weight: 650; }
.features, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.features label { display: flex; align-items: center; padding: 5px 8px; border-radius: 7px; background: #eff5f1; }
.record { border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; margin-bottom: 9px; overflow-wrap: anywhere; }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.record p { font-size: 14px; }
.company-name { color: var(--ink); font-size: 18px; font-weight: 720; line-height: 1.5; overflow-wrap: anywhere; }
.record .form-help { font-size: 12px; margin: 2px 0 8px; }
#deliveryView summary { cursor: pointer; font-size: 18px; font-weight: 680; }
#deliveryView summary + p { margin-top: 8px; }
#deliveryView .choice { display: flex; align-items: center; gap: 8px; }
#deliveryDevices { margin-top: 12px; }
.record-head { align-items: flex-start; }
#profileForm { max-width: 620px; }
#profileFeedback { margin: 14px 0 0; }
#reviewCompanySource { margin: 0; }
.record .actions { margin-top: 8px; }
.badge { padding: 3px 9px; border-radius: 20px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.pending { background: #fbefcd; color: #6d5006; }
.approved { background: var(--mint); color: var(--green); }
.rejected { background: #fce7e5; color: #8d2926; }
#notice, #reviewError, #applyFeedback, .feedback { border: 1px solid #c0dec9; border-radius: 9px; background: #e5f3e9; color: var(--deep); padding: 10px 14px; margin-bottom: 14px; }
#notice.error, #reviewError.error, #applyFeedback.error, .feedback.error { border-color: #edc6c0; background: #fceae7; color: #8a2924; }
#applyFeedback { margin: 0; scroll-margin-block: 20px; }
#applyFeedback:focus-visible { outline: 2px solid #8a2924; outline-offset: 3px; }
.transfer-details { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 10px 16px; padding: 16px; background: #f4f8f5; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.transfer-details dt { color: var(--muted); }
.transfer-details dd { margin: 0; overflow-wrap: anywhere; }
.transfer-note { padding: 12px 14px; background: #fff4dd; color: #76520a; border-radius: 9px; font-size: 14px; }
dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
.danger { color: #8a2924; }
dialog { padding: 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); width: min(640px, calc(100% - 32px)); }
dialog::backdrop { background: #122c27a0; }
dialog form { margin-top: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 16px 0 24px; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) {
  .bar-inner, main, .site-footer { width: calc(100% - 48px); }
  main { padding-top: 30px; }
  .access-card { padding-inline: 30px; }
  .hero { padding-inline: 26px; }
  .journey li + li { padding-left: 6px; }
  .journey small { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bar-inner, main, .site-footer { width: calc(100% - 30px); }
  .bar-inner { min-height: 64px; gap: 8px; }
  .bar-title { display: none; }
  .brand { gap: 6px; }
  .brand strong { font-size: 16px; }
  .brand small { letter-spacing: .08em; }
  main { padding-top: 20px; }
  .access-layout { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .access-card { padding: 22px 22px 24px; }
  .access-tabs { margin-bottom: 17px; }
  .access-heading h1 { font-size: 29px; }
  .access-heading form { margin-top: 16px; gap: 12px; }
  .access-heading input { font-size: 16px; min-height: 45px; }
  .hero { min-height: 0; padding: 17px 22px 19px; }
  .hero h2 { margin: 3px 0 2px; font-size: 19px; }
  .hero-heading > p:last-child { font-size: 12px; }
  .hero-kicker, .signal-art { display: none; }
  .journey { margin-top: 12px; }
  .journey li { padding-top: 8px; }
  .journey small { display: none; }
  .card, .workspace-header, dialog { padding: 16px; }
  .fields { grid-template-columns: 1fr; }
  .transfer-details { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .transfer-details dd { margin-bottom: 8px; }
}
