/* YeojuDrone UI refinement · typography and spacing only · 2026-11-05 */
/* Scoped to the three work centers. No functional elements or home-page styling changed. */
html.yd-refined {
  --yd-ink: #1c3047;
  --yd-secondary: #54677e;
  --yd-line: #dfe7ef;
  --yd-focus: #2563eb;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.yd-refined body {
  color: var(--yd-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html.yd-refined :is(h1,h2,h3,h4) {
  letter-spacing: -0.045em;
  line-height: 1.4;
  word-break: keep-all;
  text-wrap: pretty;
}
html.yd-refined h1 { font-weight: 780; }
html.yd-refined h2 { font-weight: 740; }
html.yd-refined h3 { font-weight: 700; }
html.yd-refined :is(.sub,.hint,.eyebrow,small) { line-height: 1.65; }
html.yd-refined .eyebrow { letter-spacing: .075em; font-weight: 720; }
html.yd-refined :is(.sub,.hint) { color: var(--yd-secondary); }
html.yd-refined :is(button,input,select,textarea) {
  font-family: inherit;
  letter-spacing: -0.02em;
}
html.yd-refined :is(input,select,textarea) {
  border-color: #cfdbe7;
  background-color: #fff;
  line-height: 1.5;
  transition: border-color .16s ease,box-shadow .16s ease;
}
html.yd-refined :is(input,select,textarea):focus-visible {
  outline: 2px solid rgba(37,99,235,.32);
  outline-offset: 1px;
  border-color: var(--yd-focus);
}
html.yd-refined :is(button,.btn,.step) {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.45;
}
html.yd-refined :is(button,.btn,a):focus-visible {
  outline: 3px solid rgba(37,99,235,.55);
  outline-offset: 2px;
}
html.yd-refined :is(.panel,.card) {
  border-color: var(--yd-line);
  box-shadow: 0 3px 15px rgba(21,45,75,.045);
}
html.yd-refined :is(.side,.sidebar) :is(.menu a,.menu button,.nav a) {
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.5;
}
html.yd-refined :is(.side,.sidebar) :is(.brand,.logo) { letter-spacing: -0.045em; }
html.yd-refined :is(.side,.sidebar) :is(.brand small,.logo small) { letter-spacing: .10em; }
/* Workspace: keep its dense data table and established layout intact. */
html.yd-admin .panel { border-radius: 15px; }
html.yd-admin .main { line-height: 1.6; }
html.yd-admin :is(.sub,.hint) { font-size: 12.5px; }
html.yd-admin :is(.menu a,.menu button) { border-radius: 10px; }
html.yd-admin .btn { border-radius: 10px; }
html.yd-admin :is(input,select,textarea) { border-radius: 10px; }
/* Pilot: clearer hierarchy without hiding actions or financial detail. */
html.yd-pilot .main { line-height: 1.6; }
html.yd-pilot :is(.card,.panel) { border-radius: 15px; }
html.yd-pilot .sub { font-size: 13px; }
html.yd-pilot .hint { color: #53677b; }
html.yd-pilot .btn { border-radius: 10px; }
html.yd-pilot label { color: #314960; font-weight: 700; }
/* Farmer: soften field density while preserving input widths and validation. */
html.yd-farmer .main { line-height: 1.65; }
html.yd-farmer .card { border-radius: 17px; }
html.yd-farmer .card h2 { font-weight: 740; letter-spacing: -.04em; }
html.yd-farmer label { color: #2d465f; font-weight: 700; font-size: 14px; }
html.yd-farmer .step { border-radius: 10px; }
html.yd-farmer .btn { border-radius: 11px; }
html.yd-farmer :is(input,select,textarea) { font-size: 16px; }
html.yd-farmer .hint { color: #506a83; }
/* Mobile tuning: keep controls tappable, prevent iOS zoom, protect content edges. */
@media (max-width: 760px) {
  html.yd-refined body { font-size: 14px; line-height: 1.6; }
  html.yd-refined h1 { font-size: clamp(22px, 5.6vw, 27px); letter-spacing: -.045em; }
  html.yd-refined h2 { font-size: 16px; }
  html.yd-refined h3 { font-size: 14px; }
  html.yd-refined :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
    font-size: 16px;
    max-width: 100%;
  }
  html.yd-refined :is(.btn,button) { min-height: 42px; }
  html.yd-admin :is(.panel) { padding: clamp(13px, 3.8vw, 18px); }
  html.yd-pilot .panel { padding: clamp(13px, 3.8vw, 18px); }
  html.yd-farmer .card { padding: clamp(15px, 4vw, 21px); }
  html.yd-farmer :is(input,select,textarea) { min-height: 48px; }
  html.yd-farmer .fields { row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html.yd-refined :is(input,select,textarea) { transition: none; }
}


/* 2026-11-05: Consistent premium monochrome navigation. No application logic touched. */
html.yd-refined .yd-menu-icon {
  display:block; width:19px; height:19px; min-width:19px; flex:none;
  color:currentColor; opacity:.95; overflow:visible;
}
html.yd-refined .yd-menu-label {
  display:block; flex:1; min-width:0; text-align:left; line-height:1.45;
  letter-spacing:-.027em; word-break:keep-all;
}
html.yd-admin .menu :is(a,button),
html.yd-farmer .side .nav a,
html.yd-pilot .sidebar .nav a {
  display:flex; align-items:center; justify-content:flex-start;
  gap:12px; text-align:left; font-family:inherit;
  font-size:14px; font-weight:700;
}
html.yd-admin .menu :is(a,button) .yd-menu-icon,
html.yd-farmer .side .nav a .yd-menu-icon,
html.yd-pilot .sidebar .nav a .yd-menu-icon {margin:0;}
html.yd-admin .menu :is(a,button) {cursor:pointer;}
html.yd-refined .nav-mobile a,
html.yd-refined .mobilebar a {display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; text-align:left;}
html.yd-refined .nav-mobile .yd-menu-icon,
html.yd-refined .mobilebar .yd-menu-icon {width:17px;height:17px;min-width:17px;}
@media(max-width:760px) {
 html.yd-admin .menu :is(a,button) {padding:10px 13px; gap:9px; font-size:13px; white-space:nowrap;}
 html.yd-admin .menu .yd-menu-label {white-space:nowrap;}
}
@media(max-width:720px) {
 html.yd-farmer .nav-mobile {align-items:stretch;}
 html.yd-farmer .nav-mobile a {min-height:42px; gap:7px; padding:10px 12px;}
}
@media(max-width:690px) {
 html.yd-pilot .mobilebar {align-items:center;}
 html.yd-pilot .mobilebar a {gap:7px;}
}
