:root {
  --orange: #F47200;
  --orange-soft: #fff4ea;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e8ecef;
  --bg: #f5f6fa;
  --card: #fff;
  --red: #dc2626;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; }
[hidden] { display: none !important; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: #fff; border-bottom: 2px solid var(--orange);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { height: 26px; }
.brand-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #b0b8c4; }
.who { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--muted); min-width: 0; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { max-width: 860px; margin: 0 auto; padding: 40px 16px 60px; }
h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 22px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.login { max-width: 400px; margin: 30px auto 0; }
label { display: block; font-weight: 600; font-size: 12.5px; color: #374151; margin-bottom: 14px; }
input {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit;
  border: 1px solid #d1d5db; border-radius: 8px; outline: none;
}
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 114, 0, .15); }
.hint { display: block; font-weight: 400; color: #9ca3af; font-size: 12px; margin-top: 5px; }
.btn {
  width: 100%; padding: 11px; border: 0; border-radius: 8px; background: var(--orange);
  color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 4px;
}
.btn:disabled { opacity: .6; cursor: default; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: none; font-weight: 600; }
.link:hover { color: var(--orange); }
.small { display: inline-block; margin-top: 16px; font-size: 13px; }
.error { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px; margin-bottom: 14px; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.module {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.module:hover { border-color: var(--orange); box-shadow: 0 6px 18px rgba(0,0,0,.06); transform: translateY(-1px); }
.module .ico {
  flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--orange-soft);
  color: var(--orange); display: flex; align-items: center; justify-content: center;
}
.module .t { display: block; margin: 2px 0 4px; font-size: 17px; font-weight: 700; }
.module .d { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.note { margin-top: 18px; color: var(--muted); font-size: 12.5px; }

@media (max-width: 480px) {
  main { padding-top: 24px; }
  .card { padding: 22px 18px; }
  .who #who-name { display: none; }
}
