/* ═══════════════════════════════════════════════════
   AURA · ONBOARDING INTELLIGENCE
   css/main.css — Variables, Layout, Base Styles
   ═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────── */
:root {
  /* Core palette — ISF navy */
  --ink:    #061138;
  --ink2:   #080F2C;
  --ink3:   #0D1A45;
  --line:   #1A2A6C;
  --mist:   #717CA1;
  --cloud:  #E9EDF1;
  --snow:   #FCFCFE;

  /* ISF blue palette — primary #092284 */
  --blue-deep:    #06175C;
  --blue:         #092284;
  --blue-bright:  #1283EF;
  --blue-soft:    #2292FD;
  --blue-tint:    rgba(9,34,132,.12);
  --blue-tint-2:  rgba(9,34,132,.22);
  --blue-line:    rgba(18,131,239,.35);

  /* Legacy aliases — keep --teal references rendering as ISF blue */
  --teal:   #092284;
  --teal2:  #06175C;
  --sage:   #1283EF;

  /* Status / accent colors — ISF palette */
  --gold:   #FAC740;
  --rose:   #FF4342;
  --lime:   #61C9A8;
  --amber:  #FF9A45;
  --violet: #7C8EE8;

  /* Radii */
  --r:  14px;
  --rs: 9px;
  --rx: 20px;

  /* Transitions */
  --ease: cubic-bezier(.175,.885,.32,1.15);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--ink);
  color: var(--snow);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 14px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GRAIN TEXTURE ──────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .55;
}

/* ── APP SHELL — two-column grid ────────────────── */
.app {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════
   LEFT PANEL
════════════════════════════════════════════════ */
.left-panel {
  background: linear-gradient(170deg, #0C1B55 0%, #0A1E6E 55%, #091858 72%, #071240 88%, #061138 100%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Ambient glow behind character */
.left-panel::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,131,239,.16) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

/* ── BRAND BAR ──────────────────────────────────── */
.brand-bar {
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

.brand-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  opacity: .95;
}

.brand-name {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1px;
  text-transform: uppercase;
}

.brand-name em {
  color: var(--gold);
  font-style: normal;
}

/* .brand-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--mist);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 20px;
} */

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
  transition: background .3s;
}

.status-dot.online  { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.status-dot.offline { background: var(--rose); }

.brand-ver {
  margin-left: auto;
  font-size: 10px;
  color: var(--mist);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .4px;
  flex-shrink: 0;
}

/* ── CHARACTER STAGE ────────────────────────────── */
.char-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.char-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -60%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,131,239,.20) 0%, transparent 70%);
  animation: haloBreath 4s ease-in-out infinite;
}

.character-wrap {
  position: relative;
  z-index: 2;
  animation: charFloat 6s ease-in-out infinite;
}

.char-svg {
  width: 210px;
  height: 310px;
  display: block;
  overflow: visible;
}

.avatar-canvas {
  width: 210px;
  height: 310px;
  display: block;
  position: relative;
  z-index: 2;
  animation: charFloat 6s ease-in-out infinite;
  border-radius: 12px;
  background: transparent;
  transition: opacity .5s ease;
}

/* Dim avatar when chat is active */
.char-stage.has-chat .avatar-canvas { opacity: .14; }
.char-stage.has-chat .char-halo     { opacity: .2; }

/* ── STAGE CHAT LOG ─────────────────────────────── */
.stage-chat-log {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px 10px 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(18,131,239,.45) rgba(6,17,56,.4);
  pointer-events: none;
}

/* Once chat starts: enable scroll interaction */
.char-stage.has-chat .stage-chat-log {
  pointer-events: auto;
}

.stage-chat-log::-webkit-scrollbar {
  width: 4px;
}
.stage-chat-log::-webkit-scrollbar-track {
  background: rgba(6,17,56,.4);
  border-radius: 4px;
}
.stage-chat-log::-webkit-scrollbar-thumb {
  background: rgba(18,131,239,.45);
  border-radius: 4px;
}
.stage-chat-log::-webkit-scrollbar-thumb:hover {
  background: rgba(18,131,239,.7);
}

.stage-msg {
  max-width: 84%;
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  font-family: 'Libre Franklin', sans-serif;
  word-break: break-word;
  white-space: pre-wrap;
  pointer-events: auto;
  animation: msgIn .22s ease;
}

.stage-msg.user {
  align-self: flex-end;
  background: rgba(18,131,239,.52);
  border: 1px solid rgba(18,131,239,.75);
  color: #EFF6FF;
  border-bottom-right-radius: 3px;
}

.stage-msg.max {
  align-self: flex-start;
  background: rgba(6,15,48,.90);
  border: 1px solid rgba(250,199,64,.30);
  color: #FCFCFE;
  border-bottom-left-radius: 3px;
}

/* Timestamp shown below message text */
.msg-time {
  display: block;
  font-size: 9px;
  letter-spacing: .4px;
  color: rgba(255,255,255,.30);
  margin-top: 4px;
  text-align: right;
}
.stage-msg.max .msg-time { text-align: left; }

/* Typing indicator */
.stage-msg.thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,15,48,.75);
  border-color: rgba(250,199,64,.15);
  padding: 9px 14px;
}

.typing-label {
  font-size: 11px;
  font-style: italic;
  color: var(--mist);
}

.stage-msg.recording-indicator .typing-label {
  color: #FCFCFE;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .4;
  animation: typingBounce .9s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .30s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0);   opacity: .4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* Recording indicator */
.stage-msg.recording-indicator {
  background: rgba(18, 131, 239, .52);
  border-color: rgba(18, 131, 239, .75);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E5556F;
  flex-shrink: 0;
  animation: recPulse 1.1s ease-in-out infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: .35; transform: scale(.7); }
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CHAR INFO ──────────────────────────────────── */
.char-info {
  width: 100%;
  padding: 14px 24px 20px;
  background: linear-gradient(to top, rgba(6,17,56,.82) 0%, rgba(6,17,56,.68) 38%, rgba(6,17,56,.35) 65%, rgba(6,17,56,.10) 84%, transparent 100%);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.char-name {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.char-title {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 500;
}

/* ── CHAR INFO ROW ──────────────────────────────── */
.char-info-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
}

.char-text {
  display: flex;
  flex-direction: column;
}

.char-wave-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* ── WAVEFORM ───────────────────────────────────── */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  flex-shrink: 0;
}

.wb {
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
  opacity: .25;
}

.wb:nth-child(1)  { height: 5px;  animation-delay: 0s; }
.wb:nth-child(2)  { height: 10px; animation-delay: .1s; }
.wb:nth-child(3)  { height: 16px; animation-delay: .2s; }
.wb:nth-child(4)  { height: 20px; animation-delay: .3s; }
.wb:nth-child(5)  { height: 14px; animation-delay: .4s; }
.wb:nth-child(6)  { height: 9px;  animation-delay: .5s; }
.wb:nth-child(7)  { height: 12px; animation-delay: .6s; }
.wb:nth-child(8)  { height: 18px; animation-delay: .7s; }
.wb:nth-child(9)  { height: 11px; animation-delay: .8s; }
.wb:nth-child(10) { height: 7px;  animation-delay: .9s; }

.speak-label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.speak-label.on { opacity: 1; }

/* ── INPUT ZONE ─────────────────────────────────── */
.input-zone {
  padding: 12px 18px 16px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.05);
  background: rgba(6,17,56,.7);
  transition: background .16s ease, box-shadow .16s ease;
}

.input-zone.drag-over {
  background: rgba(18,131,239,.14);
  box-shadow: inset 0 0 0 1px rgba(18,131,239,.55);
}

.chat-attachment-preview {
  margin-bottom: 8px;
}

.chat-attachment-chip,
.stage-attachment {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--snow);
  font-size: 11px;
}

.chat-attachment-icon {
  flex: none;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(18,131,239,.22);
  color: #8CC7FF;
  font-weight: 700;
  font-size: 9px;
}

.chat-attachment-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-size,
.stage-attachment span {
  flex: none;
  color: var(--mist);
}

.chat-attachment-remove {
  flex: none;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--snow);
  cursor: pointer;
}

.stage-attachment {
  margin-top: 7px;
  justify-content: space-between;
}

.input-row {
  display: flex;
  gap: 7px;
  align-items: flex-end;
}

.msg-input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 13px;
  color: var(--snow);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  outline: none;
  resize: none;
  line-height: 1.4;
  max-height: 80px;
  transition: border-color .2s;
}

.msg-input:focus { border-color: var(--blue); }
.msg-input::placeholder { color: var(--mist); }

/* ════════════════════════════════════════════════
   RIGHT PANEL
════════════════════════════════════════════════ */
.right-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* background: #080F2C; */
  background: var(--cloud);
}

.right-header {
  padding: 16px 22px 14px;
  border-bottom: 1px solid #B8BDCE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  /* background: #0A1535; */
  background: var(--cloud);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 100;
}

.rh-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #BFC5E1;
  border: 1px solid #1A2A6C;
  border-radius: 11px;
  padding: 0 13px;
  height: 38px;
  min-width: 320px;
  transition: border-color .2s;
}

.rh-search-wrap:focus-within {
  border-color: var(--blue);
}

.rh-search-icon {
  display: block;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  background-color: var(--blue);
  opacity: 0.9;
  -webkit-mask: url('../icons/board/search.svg') no-repeat center / contain;
  mask: url('../icons/board/search.svg') no-repeat center / contain;
}

.rh-search {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--blue);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.rh-search::placeholder {
  color: #394574;
  font-style: italic;
}

.rh-search::-webkit-search-cancel-button {
  cursor: pointer;
  filter: invert(.6);
}

.rh-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── KANBAN ─────────────────────────────────────── */
.kanban {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 18px 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  align-items: stretch;
}

.kanban::-webkit-scrollbar         { height: 6px; }
.kanban::-webkit-scrollbar-track   { background: transparent; }
.kanban::-webkit-scrollbar-button  { display: none; height: 0; }
.kanban::-webkit-scrollbar-thumb   {
  background: transparent;
  border-radius: 10px;
  transition: background 0.4s ease;
}
.kanban:hover::-webkit-scrollbar-thumb { background: var(--line); }

.kol {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.kol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 42px;
  border-radius: var(--rs);
  flex-shrink: 0;
}

.kh-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kh-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* Tint icons to match each column's accent color — img.kh-icon (legacy) */
.kol-ready     .kh-icon { filter: invert(72%) sepia(28%) saturate(600%) hue-rotate(118deg) brightness(95%); }
.kol-screening .kh-icon { filter: invert(42%) sepia(90%) saturate(1400%) hue-rotate(196deg) brightness(102%); }
.kol-it        .kh-icon { filter: invert(82%) sepia(55%) saturate(700%) hue-rotate(5deg) brightness(105%); }

/* div.kh-icon-wrap (new dynamic SVG icons via AURA_ICONS.icon()) */
.kh-icon-wrap {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kol-ready     .kh-icon-wrap { color: var(--lime); }
.kol-screening .kh-icon-wrap { color: var(--blue-bright); }
.kol-it        .kh-icon-wrap { color: var(--gold); }

.kh-name {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.kh-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}

/* Column themes */
.kol-ready     .kol-header { background: var(--blue-deep);  border: 1px solid rgba(97,201,168,.22); }
.kol-ready     .kh-name    { color: var(--lime); }
.kol-ready     .kh-count   { background: rgba(97,201,168,.15);  color: var(--lime); }
.kol-ready     .kh-add     { background: rgba(97,201,168,.15);  border-color: rgba(97,201,168,.45); color: var(--lime); }
.kol-ready     .kh-add:hover { background: rgba(97,201,168,.28); border-color: rgba(97,201,168,.7); }
.kol-ready     .kh-add .btn-icon { filter: invert(72%) sepia(28%) saturate(600%) hue-rotate(118deg) brightness(205%); }

.kol-screening .kol-header { background: var(--blue-deep);    border: 1px solid rgba(18,131,239,.35); }
.kol-screening .kh-name    { color: var(--blue-bright); }
.kol-screening .kh-count   { background: rgba(18,131,239,.18);  color: var(--blue-bright); }
.kol-screening .kh-add     { background: rgba(18,131,239,.18);  border-color: rgba(18,131,239,.45); color: var(--blue-bright); }
.kol-screening .kh-add:hover { background: rgba(18,131,239,.30); border-color: rgba(18,131,239,.7); }
.kol-screening .kh-add .btn-icon { filter: invert(42%) sepia(90%) saturate(1400%) hue-rotate(196deg) brightness(70%); }

.kol-it        .kol-header { background: var(--blue-deep);   border: 1px solid rgba(250,199,64,.25); }
.kol-it        .kh-name    { color: var(--gold); }
.kol-it        .kh-count   { background: rgba(250,199,64,.14);   color: var(--gold); }
.kol-it        .kh-add     { background: rgba(250,199,64,.14);   border-color: rgba(250,199,64,.45); color: var(--gold); }
.kol-it        .kh-add:hover { background: rgba(250,199,64,.26); border-color: rgba(250,199,64,.7); }
.kol-it        .kh-add .btn-icon { filter: invert(82%) sepia(55%) saturate(700%) hue-rotate(5deg) brightness(70%); }

.kol-cards {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}

.kol-cards {
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.kol-cards.hovered {
  scrollbar-width: thin;
  scrollbar-color: var(--mist) transparent;
}
.kol-cards::-webkit-scrollbar         { width: 3px; }
.kol-cards::-webkit-scrollbar-track   { background: transparent; }
.kol-cards::-webkit-scrollbar-button  { display: none; height: 0; width: 0; }
.kol-cards::-webkit-scrollbar-thumb   { background: transparent; border-radius: 3px; }
.kol-cards:hover::-webkit-scrollbar-thumb  { background: var(--line); }


/* ── GLOBAL SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar         { width: 4px; }
::-webkit-scrollbar-track   { background: transparent; }
::-webkit-scrollbar-button  { display: none; height: 0; width: 0; }
::-webkit-scrollbar-thumb   {
  background: transparent;
  border-radius: 4px;
  transition: background 0.4s ease;
}
.scrolling::-webkit-scrollbar-thumb { background: var(--line); }

/* ── TOAST ──────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: var(--ink3);
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  transform: translateY(20px);
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  max-width: 320px;
}

.toast.show { transform: none; opacity: 1; }
.toast.error { border-color: var(--rose); }

/* ── ROLE-BASED VISIBILITY ───────────────────────── */
[data-role="hr_compliance"] .kol-it {
  display: none !important;
}

[data-role="hr_compliance"] .card-actions,
[data-role="hr_compliance"] .module-section,
[data-role="hr_compliance"] .modular-body {
  display: none !important;
}

/* Ensure Completed cards in Ramona's view look like employee records */
.completed-archive {
  border-color: rgba(79,179,122,0.3) !important;
  background: rgba(79,179,122,0.04) !important;
}

/* ════════════════════════════════════════════════
   RESPONSIVE — breakpoints at 1024px and 768px
════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .app { grid-template-columns: 340px 1fr; }
  .kol { flex: 0 0 320px; }
}

@media (max-width: 1024px) {
  .app { grid-template-columns: 300px 1fr; }
  .left-panel .char-svg { width: 170px; height: 240px; }
  .left-panel::before { width: 280px; height: 280px; }
  .right-header { padding: 14px 18px 12px; }
  .rh-search-wrap { min-width: 200px; }
  .kanban { padding: 14px 16px; gap: 12px; }
  .kol { flex: 0 0 290px; }
}

@media (max-width: 860px) {
  html, body { overflow: auto; }
  .app {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }
  .left-panel {
    height: auto;
    min-height: 360px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .char-stage { min-height: 240px; }
  .right-panel { height: auto; }
  .right-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .rh-right { width: 100%; }
  .kanban {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 14px;
  }
  .kol { flex: 1 1 auto; width: 100%; min-width: 0; }
  .kol-cards { max-height: none; overflow-y: visible; }
}

@media (max-width: 480px) {
  .brand-bar { padding: 14px 16px 10px; }
  .brand-name { font-size: 15px; }
  .brand-ver { display: none; }
  .input-zone { padding: 10px 12px 14px; }
  .right-header { padding: 12px 14px; }
  .rh-search-wrap { min-width: 160px; height: 34px; }
  .modal { width: calc(100vw - 24px); border-radius: 14px; }
  .modal-header { padding: 14px 16px 12px; }
  .modal-body { padding: 14px 16px; }
}
