/* Sun Electric: a flat, accessible shell. Kept separate from the pinned Dina UI. */
@media screen {
  :root {
    --brand-950: #0c202d; --brand-900: #132b3b; --brand-800: #193c50;
    --brand-600: #27576a; --brand-500: #397286; --brand-100: #ddebee; --brand-50: #eff5f5;
    --primary: #193c50; --primary-hover: #122d3d; --primary-active: #0c202d; --primary-soft: #e8f0f1;
    --accent: #f7bc4a; --accent-strong: #b66d04; --accent-soft: #fff3d9;
    --bg: #f5f6f2; --surface-2: #f9faf7; --surface-3: #f0f2ee;
    --border: #e0e5df; --border-strong: #c7d0cc; --divider: #edf0e9;
    --text: #172f3d; --text-2: #3c535e; --muted: #607078; --faint: #77878c;
    --ring: 0 0 0 3px rgba(57,114,134,.2); --radius: 8px; --radius-lg: 12px;
    --shadow-xs: none; --shadow-sm: none; --shadow-md: 0 4px 18px rgba(19,43,59,.07);
    --sb-w: 250px; --topbar-h: 70px; --view-pad-x: 30px; --view-pad-y: 28px; --swatch: #f7bc4a;
  }
  body { letter-spacing: -.01em; }
  .sidebar { background: #132b3b; color: #d1dcd9; }
  .swatch-stripe { height: 3px; }
  .sb-brand { padding: 25px 18px 24px; }
  .sb-logo { width: 40px; height: 40px; box-shadow: none; border-radius: 8px; }
  .sb-name { font-size: 17px; letter-spacing: -.04em; }
  .sb-name b { display: block; font-size: 10px; margin-top: 4px; letter-spacing: .18em; }
  .sb-shop { display: none; }
  .sb-nav { padding: 14px 14px 20px; }
  .nav-item { height: 43px; margin: 3px 0; padding: 0 12px; color: #d1dcd9; border-radius: 6px; }
  .nav-item.active { background: #f7bc4a; color: #132b3b; box-shadow: none; }
  .nav-item.active .nav-ic { color: #132b3b; }
  .nav-item.active::before { display: none; }
  .nav-group-head { color: #a4b6be; font-size: 11px; padding: 22px 12px 8px; }
  .sb-mini-toggle, .sb-ver { color: #b0c0c5; }
  .sb-ver { padding-top: 9px; }
  .sb-foot { padding: 12px 14px 16px; }
  .topbar { background: #fff; padding-left: 22px; padding-right: 26px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tb-search input { height: 40px; background: #f5f6f2; border-radius: 6px; }
  .tb-search input::placeholder { color: #6b7b81; }
  .tb-actions { gap: 12px; }
  .tb-new { height: 40px; padding: 0 14px; background: #f7bc4a; border-color: #f7bc4a; color: #132b3b; }
  .tb-new:hover:not(:disabled) { background: #edac32; color: #132b3b; border-color: #edac32; }
  .tb-kbd { display: none; }
  .tb-user, .tb-net { border-radius: 6px; }
  .tb-user { min-height: 42px; }
  .avatar { background: #e8f0f1; color: #193c50; border-radius: 8px; }
  .btn { border-radius: 6px; box-shadow: none; }
  .btn-primary { font-weight: 600; }
  .card, .stat { box-shadow: none; border-radius: 10px; }
  .page-head h1, .page-title { letter-spacing: -.03em; }
  .input, .select, .textarea { border-radius: 6px; }
  .table th { background: #f7f8f4; color: #607078; }
  .table tbody tr:hover > td { background: #f7faf6; }
  .boot { background: #f5f6f2; }
  .boot-inner img { border-radius: 14px; }
  .boot-name { font-size: 23px; letter-spacing: -.04em; }
  .boot-name b { color: #27576a; }
  .boot-bar { background: #e4e9e3; }
  .boot-bar span { background: #d18b15; }
  .auth-root.is-login { background: #f5f6f2; color: #172f3d; }
  .lg-head .lg-shop { color: #172f3d; }
  .lg-logo { box-shadow: none; border-radius: 12px; }
  .lg-card { border: 1px solid #e0e5df; box-shadow: none; border-radius: 10px; }
  .lg-input { border-width: 1px; border-radius: 6px; background: #fff; }
  .lg-input input { font-size: 16px; }
  .lg-input input::placeholder { color: #7b878e; }
  .lg-go { background: #193c50; border-radius: 6px; box-shadow: none; }
  .lg-link { color: #526770; }
  .lg-link:hover { color: #193c50; background: #e8f0f1; }
  .lg-link:focus-visible { outline-color: #397286; }
  .lg-foot { padding-bottom: 16px; }
  .se-auth-layout { display: flex; min-height: 100vh; }
  .se-welcome { flex: 0 1 52%; background: #132b3b; color: #fff; padding: 46px 54px 28px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
  .se-wordmark { display: flex; align-items: center; gap: 13px; }
  .se-wordmark img { border-radius: 9px; }
  .se-wordmark b { display: block; font: 700 17px/1.4 var(--font-num); letter-spacing: .05em; }
  .se-wordmark span { display: block; color: #bac9cc; font: 500 10px/1.4 var(--font-num); letter-spacing: .22em; }
  .se-welcome-copy { margin-top: 55px; }
  .se-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
  .se-welcome .se-eyebrow { color: #d5bd88; }
  .se-welcome h2 { font-size: 44px; line-height: 1.38; font-weight: 600; color: #fff; letter-spacing: -.035em; margin: 18px 0 20px; }
  .se-welcome h2 span { color: #f7bc4a; }
  .se-welcome p { color: #c1ced0; font-size: 16px; line-height: 1.9; max-width: 385px; margin: 0; }
  .se-light-art { width: 100%; max-width: 440px; align-self: center; margin: 15px 0 10px; }
  .se-welcome-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #b4c5c9; font-size: 11px; border-top: 1px solid #37505f; padding-top: 22px; }
  .se-auth-main { flex: 1 1 48%; min-width: 0; min-height: 100vh; padding: 50px 40px 25px; justify-content: center; }
  .se-auth-main .lg-head { margin-top: 0; padding: 0 0 28px; max-width: 420px; text-align: left; }
  .se-auth-main .lg-logo { display: none; }
  .se-auth-main .lg-shop { font-size: 15px; font-weight: 500; margin: 0; color: #607078; }
  .se-auth-main .lg-card { max-width: 420px; padding: 0; border: 0; background: transparent; }
  .se-login-intro { margin-bottom: 34px; }
  .se-login-intro .se-eyebrow { color: #92702e; font-size: 11px; }
  .se-login-intro h2 { font-size: 29px; font-weight: 600; letter-spacing: -.035em; margin: 11px 0 12px; }
  .se-login-intro p { color: #607078; margin: 0; font-size: 14px; }
  .se-auth-main .lg-field { margin-bottom: 22px; }
  .se-auth-main .lg-field > label { font-weight: 500; color: #3c535e; }
  .se-auth-main .lg-input { height: 54px; }
  .se-auth-main .lg-keep-t { font-size: 14px; font-weight: 500; }
  .se-auth-main .lg-go { height: 54px; margin-top: 12px; }
  .se-auth-main .lg-foot { margin-top: 20px; padding: 0; }
  .se-recovery { width: 100%; max-width: 420px; color: #607078; font-size: 12px; line-height: 1.8; margin-top: 26px; border-top: 1px solid #e0e5df; padding-top: 16px; }
  .se-recovery summary { cursor: pointer; padding: 6px 0; }
  .se-recovery p { margin: 8px 0; }
  .se-recovery a { text-decoration: underline; font-weight: 600; }
  @media (min-width: 1440px) {
    .se-welcome { padding: 56px 80px 36px; }
    .se-welcome h2 { font-size: 54px; }
    .se-welcome-copy { margin-top: 70px; }
    .se-light-art { max-width: 500px; }
  }
  @media (max-width: 1100px) {
    .se-welcome { padding: 36px 30px 26px; }
    .se-welcome h2 { font-size: 34px; }
    .se-auth-main { padding: 38px 28px 25px; }
    .tb-actions { gap: 6px; }
    .topbar { padding-left: 12px; padding-right: 12px; }
  }
  @media (max-width: 767px) {
    :root { --topbar-h: calc(58px + env(safe-area-inset-top, 0px)); --view-pad-x: 16px; --view-pad-y: 18px; }
    .topbar { height: var(--topbar-h); padding-top: env(safe-area-inset-top, 0px); padding-left: 12px; padding-right: 12px; }
    .tb-logo img { box-shadow: none; border-radius: 7px; }
    .tb-lang { min-width: 44px; min-height: 44px; }
    .tb-user { min-height: 42px; }
    .tb-actions { gap: 3px; }
    .bnav { background: #fff; border-top: 1px solid #dde4dd; box-shadow: none; }
    .bn-item { color: #607078; }
    .bn-ic { border-radius: 6px; width: 48px; }
    .bn-item.active { color: #193c50; }
    .bn-item.active .bn-ic { background: #e8f0f1; }
    .bn-fab { background: #f7bc4a; color: #132b3b; box-shadow: none; border-radius: 10px; }
    .bn-new { color: #193c50; }
    .bn-new:active .bn-fab { background: #edac32; }
    .input, .select, .textarea { font-size: 16px; }
    .se-auth-layout { display: block; min-height: 100%; }
    .se-welcome { padding: calc(25px + env(safe-area-inset-top, 0px)) 25px 26px; }
    .se-wordmark { gap: 11px; }
    .se-wordmark img { width: 38px; height: 38px; }
    .se-wordmark b { font-size: 15px; }
    .se-wordmark span { font-size: 9px; }
    .se-welcome-copy { margin-top: 23px; }
    .se-welcome-copy .se-eyebrow, .se-welcome-copy p, .se-light-art, .se-welcome-foot { display: none; }
    .se-welcome h2 { margin: 0; font-size: 26px; line-height: 1.45; }
    .se-welcome h2 br { display: none; }
    .se-welcome h2 span { margin-left: 5px; }
    .se-auth-main { min-height: 0; padding: 30px 24px calc(22px + var(--safe-b)); }
    .se-auth-main .lg-head { display: none; }
    .se-login-intro { margin-bottom: 26px; }
    .se-login-intro h2 { font-size: 25px; margin: 9px 0 10px; }
    .se-login-intro p { font-size: 13px; }
    .se-auth-main .lg-field { margin-bottom: 18px; }
    .se-recovery { margin-top: 24px; }
    .lg-keep { min-height: 44px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .page-host, .lg-card, .boot-bar span { animation: none; }
    .btn, .nav-item, .sidebar, .lg-go { transition: none; }
  }
}
