:root {
  --blue: #0058a3;
  --blue-dark: #003d73;
  --blue-soft: #e8f1f8;
  --yellow: #ffdb00;
  --ink: #121417;
  --muted: #5c6570;
  --line: #e4e8ee;
  --bg: #f4f6f8;
  --card: #fff;
  --warn: #c60c30;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(18, 20, 23, .06);
  --sky: #0058a3;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Helvetica, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--blue); }
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  background: #fff;
  border-top: 3px solid var(--sky);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  letter-spacing: -.02em;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}
.vine { width: 28px; height: 28px; display: block; }
.dots { color: var(--yellow); letter-spacing: 1px; font-size: 12px; }
.gimmick-meta { font-size: 12px; white-space: nowrap; }
body.invert { filter: invert(1) hue-rotate(180deg); }
.nav {
  display: flex;
  gap: 2px;
  flex: 1;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  padding: 8px 11px;
  border-radius: 10px;
}
.nav a:hover, .nav a.active { background: var(--blue-soft); color: var(--blue); }
.header-search {
  width: min(280px, 32vw);
  position: relative;
}
.header-search input {
  padding-left: 34px;
  background: var(--bg);
  border-color: transparent;
}
.header-search::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-60%);
}
.userbox { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.quota {
  width: 88px;
  height: 6px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.quota > span { display: block; height: 100%; background: var(--blue); }
main { max-width: 1180px; margin: 0 auto; padding: 22px 20px 72px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-hero {
  background: var(--sky);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background .6s;
}
.login-hero .mark { margin-bottom: 18px; }
.login-hero h1 { font-size: 42px; margin: 0 0 10px; letter-spacing: -.04em; }
.login-hero p { margin: 0; color: rgba(255,255,255,.82); max-width: 360px; }
.login-pane { display: grid; place-items: center; padding: 40px 36px; background: var(--bg); }
.login-card { width: min(400px, 100%); box-shadow: var(--shadow); }
.login-card h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
.login-actions { display: grid; gap: 10px; margin-top: 18px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }
select, input, textarea {
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  border-radius: 10px;
  width: 100%;
}
select:focus, input:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--blue) 30%, white);
  border-color: var(--blue);
}
button, .btn {
  background: var(--yellow);
  color: var(--ink);
  border: 0;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
}
button.ghost, a.btn.ghost { background: var(--blue-soft); color: var(--blue); }
button.danger { background: var(--warn); color: #fff; }
button.linkish, a.linkish {
  background: none; border: 0; padding: 0; font-weight: 600;
  color: inherit; cursor: pointer; text-decoration: none;
}
a.btn { display: inline-block; text-decoration: none; color: inherit; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.err { color: var(--warn); font-weight: 700; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.gimmick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.seg { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button, .seg a {
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
}
.seg button.on { background: var(--blue); color: #fff; }
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}
.thumb-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.thumb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.thumb-card img, .thumb {
  width: 100%;
  height: 118px;
  object-fit: cover;
  background: var(--blue-soft);
  display: block;
}
.thumb.folder, .folder-mark {
  display: grid;
  place-items: center;
  height: 118px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}
.thumb.sm { width: 44px; height: 44px !important; border-radius: 8px; }
.thumb-link { display: block; color: inherit; text-decoration: none; }
.thumb-card .meta { padding: 10px 12px 12px; }
.card-acts {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  gap: 4px;
}
.thumb-card:hover .card-acts, .thumb-card:focus-within .card-acts { display: flex; }
.card-acts button { padding: 6px 8px; font-size: 12px; box-shadow: var(--shadow); }
.page-title { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.dialog-title { text-transform: none !important; letter-spacing: 0 !important; color: inherit !important; font-size: 18px !important; }
.dialog-actions { margin-top: 12px; justify-content: flex-end; }
body[data-page="password"] main {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
}
.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--yellow);
  color: var(--blue-dark);
}
.drop {
  border: 1px dashed #c5d3e0;
  background: #fff;
  padding: 16px;
  text-align: center;
  margin: 0 0 16px;
  border-radius: var(--radius);
  color: var(--muted);
}
.drop.over, .drop.busy { background: #fff8cc; border-color: var(--yellow); color: var(--ink); }
table.cat { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.cat th {
  text-align: left;
  background: #f7f9fb;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 12px;
}
table.cat td { border-top: 1px solid var(--line); padding: 10px 12px; vertical-align: middle; }
table.cat tr:hover td { background: #fafbfd; }
.name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs { margin: 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; font-weight: 650; }
.crumbs a:hover { color: var(--blue); }
.price { color: var(--blue); font-weight: 800; }
.card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.preview {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #eef3f8;
  border-radius: 12px;
}
aside .card + .card { margin-top: 12px; }
footer { color: var(--muted); padding: 0 20px 28px; font-size: 12px; text-align: center; }
progress { width: 100%; accent-color: var(--blue); }
.bar { height: 6px; background: var(--line); overflow: hidden; border-radius: 99px; }
.bar > span, .score { display: block; height: 100%; background: var(--blue); }
.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.empty p { margin: 8px 0 0; }
button:disabled { opacity: .55; cursor: default; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 23, .4);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 16px;
}
.overlay .card { width: min(420px, 100%); }
.similar a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; margin: 8px 0; }
.similar .thumb { width: 48px; height: 48px; border-radius: 8px; }
.pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 219, 0, .7);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(255, 219, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 219, 0, 0); }
}
.stamps { display: flex; gap: 6px; flex-wrap: wrap; }
.stamp {
  width: 28px; height: 28px; border: 2px solid var(--blue);
  border-radius: 8px;
  display: grid; place-items: center; font-weight: 800; color: var(--blue);
}
.stamp.on { background: var(--yellow); }
.energy { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.energy > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); width: 0; transition: width .4s; }
.stat { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.search-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-box input { font-size: 16px; padding: 14px 16px; }
.dragmask {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--yellow) 55%, white);
  z-index: 35;
  display: none;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}
.dragmask.on { display: grid; }
.nav a { position: relative; }
.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--warn);
  color: #fff;
  font-size: 11px;
  vertical-align: middle;
}
.eyebrow { margin: 0 0 6px; letter-spacing: .12em; font-size: 11px; font-weight: 800; color: var(--blue); }
.page-title { margin: 0; letter-spacing: -.03em; }
.meeting-shell { max-width: 1180px; margin: 0 auto; padding: 22px 20px 72px; }
.meeting-gate { max-width: 420px; margin: 40px auto; }
.preview-video { width: 100%; border-radius: 12px; background: #111; aspect-ratio: 16/10; margin: 14px 0; object-fit: cover; }
.meeting-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.meeting-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; min-height: 280px; }
.video-tile { position: relative; background: #111; border-radius: 14px; overflow: hidden; min-height: 180px; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; }
.video-tile.camera-off video { opacity: .15; }
.video-tile.speaking { outline: 3px solid var(--yellow); }
.tile-name { position: absolute; left: 10px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 4px #000; }
.meeting-chat { display: flex; flex-direction: column; min-height: 280px; }
.chat-log, .message-log { flex: 1; overflow: auto; min-height: 180px; display: grid; gap: 8px; align-content: start; }
.chat-line { font-size: 14px; }
.chat-form, .composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.composer { grid-template-columns: auto 1fr auto; }
.meeting-controls { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.chat-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr) 240px; gap: 14px; align-items: stretch; min-height: calc(100vh - 140px); }
.conversation-list { display: grid; gap: 6px; margin-top: 14px; }
.conversation { display: grid; gap: 2px; text-align: left; background: var(--bg); padding: 10px 12px; }
.conversation.on { background: var(--blue-soft); color: var(--blue); }
.conversation em { font-style: normal; background: var(--warn); color: #fff; border-radius: 99px; padding: 0 6px; justify-self: start; font-size: 12px; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.message-log { padding: 8px 0; }
.bubble { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.bubble.mine { background: var(--blue-soft); justify-self: end; }
.bubble p { margin: 6px 0; white-space: pre-wrap; }
.who { font-size: 12px; color: var(--muted); }
.reacts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.react, .attach-chip { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 8px; font-size: 12px; }
.react.on { background: var(--yellow); }
.reply-preview { font-size: 12px; border-left: 3px solid var(--blue); padding-left: 8px; }
.reply-bar { background: var(--blue-soft); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.member-list { padding-left: 18px; }
.user-pick { display: grid; gap: 8px; margin: 12px 0; max-height: 240px; overflow: auto; }
.image-stage { overflow: auto; background: #111; border-radius: 12px; min-height: 280px; display: grid; place-items: center; }
.image-stage img { max-width: 100%; transform-origin: center center; transition: transform .12s; }
.media-player, .pdf-frame, .archive-frame { width: 100%; min-height: 420px; border: 0; background: #111; border-radius: 12px; }
.preview-overlay .preview-card { width: min(920px, 100%); max-height: 90vh; overflow: auto; }
.mobile-only { display: none; }
@media (max-width: 860px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-hero { min-height: 180px; padding: 28px 22px; }
  .login-hero h1 { font-size: 28px; }
  .header { flex-wrap: wrap; }
  .header-search { width: 100%; order: 5; }
  .grid { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr; }
  .card-acts { position: static; display: flex; padding: 0 12px 12px; }
  .meeting-layout, .chat-shell { grid-template-columns: 1fr; }
  .mobile-only { display: inline-flex; }
  body:not(.chat-open) .chat-main, body:not(.chat-open) .chat-info { display: none; }
  body.chat-open .chat-nav { display: none; }
}
body[data-page="map"] {
  background: #031428;
  color: #cfe0f4;
}
body[data-page="map"] .header { display: none; }
body[data-page="map"] main { max-width: none; padding: 0; }
.map-shell { min-height: 100vh; }
.map-hud {
  position: fixed;
  inset: 0 0 auto 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #02101f;
  border-bottom: 1px solid #0a2c55;
  z-index: 20;
  font-size: 12px;
  letter-spacing: .08em;
}
.map-brand { display: flex; align-items: baseline; gap: 14px; }
.map-brand strong { font-size: 18px; letter-spacing: .18em; color: #e8f1ff; }
.map-brand span, .map-brand em { font-style: normal; color: #7fa3c9; font-size: 11px; }
.map-tools { display: flex; gap: 8px; }
.map-tools .btn, .map-tools button { padding: 4px 10px; font-size: 11px; letter-spacing: .08em; background: transparent; color: #9ec0e0; border: 1px solid #1a4a7a; }
.map-stage {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  bottom: 22px;
  width: 100vw;
  height: calc(100vh - 64px);
  background: #041830;
  z-index: 1;
  overflow: hidden;
}
.map-canvas {
  position: absolute;
  left: 0;
  top: 0;
}
.map-cell {
  position: absolute;
  border: 1px solid #7ec8ff;
  color: #f3f8ff;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: #1a73c4;
  cursor: pointer;
  appearance: none;
  box-shadow: inset 0 0 0 1px rgba(8, 24, 48, .45);
  font: inherit;
  text-align: left;
}
.map-cell:hover { border-color: #ffdb00; z-index: 3; }
.map-cell.folder { background: #0b4a86; }
.map-cell.file { background: #2b8fe0; }
.map-code {
  position: absolute;
  left: 6px;
  top: 5px;
  font-size: 10px;
  letter-spacing: .12em;
  color: #5f8db8;
}
.map-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  pointer-events: none;
}
.map-dots { position: absolute; inset: 0; pointer-events: none; }
.map-dots i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #4ea0e8;
  display: block;
}
.map-tip {
  position: fixed;
  z-index: 8;
  background: #02101f;
  border: 1px solid #1a4a7a;
  color: #e8f1ff;
  font-size: 12px;
  padding: 4px 8px;
  pointer-events: none;
  letter-spacing: .04em;
}
.map-foot {
  position: fixed;
  inset: auto 0 0 0;
  height: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  background: #010b16;
  color: #6f91b3;
  font-size: 10px;
  letter-spacing: .1em;
}
.map-empty { margin: 48px; color: #9ec0e0; font-size: 16px; }
.seg a.btn { display: inline-grid; place-items: center; border-radius: 0; }
.queue {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}
.photo-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #d9e4ee;
  border-radius: 8px;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.month-row, .chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  font-weight: 650;
  color: var(--muted);
}
.chip-btn.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.activity-list { display: grid; gap: 0; }
.activity-list article {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.dupe-group { margin-bottom: 16px; }
.home-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 860px) {
  .home-grid, .activity-list article { grid-template-columns: 1fr; }
}

/* IvyCloud visual system — dense editorial workspace */
:root {
  --blue: #315ee8;
  --blue-dark: #182f81;
  --blue-soft: #edf1ff;
  --yellow: #c7f36b;
  --ink: #161920;
  --muted: #69707f;
  --line: #dde1e8;
  --bg: #f6f7fa;
  --card: #fff;
  --radius: 10px;
  --shadow: 0 12px 36px rgba(22, 25, 32, .07);
  --sky: #315ee8;
}
body:not([data-page="map"]) {
  background:
    radial-gradient(circle at 5% -10%, rgba(255,219,0,.22), transparent 24rem),
    radial-gradient(circle at 100% 5%, rgba(49,94,232,.10), transparent 30rem),
    var(--bg);
  letter-spacing: -.012em;
}
.header {
  min-height: 70px;
  padding: 9px clamp(14px, 2.6vw, 40px);
  gap: clamp(10px, 1.5vw, 22px);
  border-top: 0;
  border-bottom: 1px solid #e7e9ee;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.brand { gap: 10px; min-width: 170px; }
.brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex: 0 0 auto;
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(10,11,14,.17);
}
.brand-word { display: grid; line-height: .95; font-size: 16px; letter-spacing: -.075em; font-weight: 850; }
.brand-word b { color: var(--blue); }
.brand-word small { color: var(--muted); font-size: 7px; letter-spacing: .12em; margin-top: 5px; font-weight: 750; }
.nav { gap: 3px; }
.nav a { font-size: 13px; padding: 8px 9px; border-radius: 7px; }
.nav a:hover, .nav a.active { background: var(--ink); color: #fff; }
.header-search { max-width: 245px; }
.header-search input { background: #f2f4f7; border: 1px solid transparent; border-radius: 7px; font-size: 13px; }
.userbox { font-size: 12px; gap: 8px; }
.quota { height: 5px; width: 68px; }
.quota > span { background: var(--blue); }
main { max-width: 1360px; padding: 30px clamp(16px, 3vw, 48px) 84px; }
.page-title { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.065em; margin: 0; }
.toolbar { margin-bottom: 20px; }
.card {
  border: 1px solid rgba(22,25,32,.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 1px rgba(22,25,32,.02), 0 10px 28px rgba(22,25,32,.035);
}
.card h2, .card h3 { letter-spacing: -.045em; margin-top: 0; }
button, .btn { border-radius: 7px; padding: 9px 13px; font-size: 13px; transition: transform .16s, background .16s, box-shadow .16s; }
button:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(22,25,32,.1); }
button.ghost, a.btn.ghost { background: #f0f2f6; color: #323846; }
button.danger { background: #e94551; }
input, select, textarea { border-radius: 7px; border-color: #dfe3eb; background: #fcfcfd; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(49,94,232,.13); box-shadow: none; }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 12px; }
.thumb-card { border-radius: 10px; border-color: #e4e7ed; box-shadow: none; }
.thumb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(18,24,40,.11); }
.thumb-card img, .thumb { height: 132px; background: #edf1ff; }
.thumb.folder, .folder-mark { height: 132px; background: linear-gradient(135deg, #e5edff, #f1f4fa); }
.thumb-card .meta { padding: 11px 12px 13px; }
.thumb-card .name { font-weight: 760; font-size: 13px; }
.card-acts { background: linear-gradient(transparent, rgba(255,255,255,.98) 28%); }
.cat { border: 1px solid #e2e5eb; border-radius: 10px; overflow: hidden; background: #fff; }
.cat th { background: #f7f8fb; color: #727988; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.cat td, .cat th { padding: 11px 12px; }
.drop { border: 1px dashed #aab7d6; border-radius: 10px; background: linear-gradient(105deg, #f0f4ff, #fbfcff); padding: 22px; }
.chip-btn { border-radius: 999px; font-size: 12px; padding: 7px 12px; }
.home-grid { grid-template-columns: minmax(0, 2fr) minmax(300px, .9fr); }
.home-grid > aside { display: grid; gap: 12px; align-content: start; }
.home-grid > aside .card { padding: 17px; }
.stat { font-size: 26px; font-weight: 800; letter-spacing: -.06em; }
.activity-list article { grid-template-columns: 125px 110px minmax(0, 1fr); font-size: 13px; }
.login-hero {
  position: relative;
  overflow: hidden;
  background: #0058a3 !important;
  padding: clamp(36px, 7vw, 100px);
}
.login-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
  background-size: 20px 20px;
  opacity: .55;
}
.login-hero::after {
  content: ""; position: absolute; width: 45vw; height: 45vw; min-width: 440px; min-height: 440px;
  right: -19vw; bottom: -23vw; background: #ffdb00; border-radius: 46% 54% 40% 60%;
  filter: blur(1px); opacity: .95;
}
.login-hero > * { position: relative; z-index: 1; }
.hero-symbol {
  width: 58px;
  height: 58px;
  align-self: flex-start;
  flex: 0 0 auto;
  margin-bottom: 20px;
  border-radius: 17px;
  box-shadow: 0 14px 28px rgba(0,0,0,.34);
}
.eyebrow { font-size: 10px; color: #ffdb00; letter-spacing: .17em; font-weight: 800; margin-bottom: 13px; }
.login-hero h1 { font-size: clamp(42px, 5vw, 70px); letter-spacing: -.075em; }
.login-pane { background: #f7f8fb; }
.login-card { width: min(430px, 100%); padding: 30px; border-radius: 14px; }
body[data-page="map"] .brand-symbol { display: none; }
@media (max-width: 1080px) {
  .header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; }
  .header-search { margin-left: auto; }
}
@media (max-width: 620px) {
  .header { min-height: 62px; }
  .brand { min-width: auto; }
  .brand-word small, .gimmick-meta, .quota { display: none; }
  .nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .header-search { width: 100%; max-width: none; order: 4; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .thumb-card img, .thumb, .thumb.folder { height: 104px; }
  .card { padding: 16px; }
  .login-hero { min-height: 330px; }
  .hero-symbol { width: 52px; height: 52px; }
}

/* Windows 8 Aero-like, but in the IKEA blue/yellow palette. */
.login-pane {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.76), rgba(231,240,255,.92)),
    #edf3fb;
}
.login-pane::before, .login-pane::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.login-pane::before {
  width: 22rem; height: 22rem; right: -10rem; top: -9rem;
  background: radial-gradient(circle at 30% 30%, rgba(0,88,163,.2), rgba(0,88,163,0) 68%);
}
.login-pane::after {
  width: 14rem; height: 14rem; left: -8rem; bottom: -6rem;
  background: radial-gradient(circle at 60% 40%, rgba(255,219,0,.35), rgba(255,219,0,0) 68%);
}
.login-orb { position:absolute; border-radius:50%; pointer-events:none; filter:blur(1px); opacity:.7; animation: float-orb 9s ease-in-out infinite; }
.orb-one { width:130px; height:130px; top:13%; right:13%; border:1px solid rgba(49,94,232,.22); box-shadow:inset 0 0 44px rgba(49,94,232,.1); }
.orb-two { width:52px; height:52px; bottom:16%; left:13%; background:rgba(255,219,0,.45); animation-delay:-4s; }
@keyframes float-orb { 50% { transform:translate3d(12px,-16px,0) scale(1.08); } }
.login-card {
  position:relative;
  z-index:2;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.66);
  box-shadow: 0 26px 55px rgba(0,55,103,.14), inset 0 1px rgba(255,255,255,.92);
  backdrop-filter: blur(22px) saturate(125%);
}
.login-tabs { display:flex; gap:3px; margin:-10px -10px 18px; padding:4px; border-radius:9px; background:rgba(16,50,89,.08); }
.login-tab { flex:1; padding:8px 10px; color:#526274; background:transparent; box-shadow:none; }
.login-tab:hover { box-shadow:none; transform:none; }
.login-tab.on { color:#fff; background:#0058a3; box-shadow:0 4px 10px rgba(0,58,111,.22); }
.login-tip { margin:15px 2px 0; font-size:12px; color:#667486; }
.login-actions button { background:#ffdb00; color:#182033; }
.login-actions button:hover { background:#ffe45a; }

