/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.relative {
  position: relative;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.hidden {
  display: none;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\/4 {
  width: 25%;
}
.w-24 {
  width: 6rem;
}
.w-full {
  width: 100%;
}
.min-w-\[560px\] {
  min-width: 560px;
}
.max-w-\[1200px\] {
  max-width: 1200px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-\[480px\] {
  max-width: 480px;
}
.max-w-\[760px\] {
  max-width: 760px;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer {
  cursor: pointer;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-none {
  border-style: none;
}
.border-sand-line {
  --tw-border-opacity: 1;
  border-color: rgb(229 220 204 / var(--tw-border-opacity, 1));
}
.border-slate-100 {
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
}
.bg-\[\#7A5CC7\] {
  --tw-bg-opacity: 1;
  background-color: rgb(122 92 199 / var(--tw-bg-opacity, 1));
}
.bg-\[\#E9E3D6\] {
  --tw-bg-opacity: 1;
  background-color: rgb(233 227 214 / var(--tw-bg-opacity, 1));
}
.bg-\[\#FBF7F1\] {
  --tw-bg-opacity: 1;
  background-color: rgb(251 247 241 / var(--tw-bg-opacity, 1));
}
.bg-cream {
  --tw-bg-opacity: 1;
  background-color: rgb(251 247 241 / var(--tw-bg-opacity, 1));
}
.bg-fit {
  --tw-bg-opacity: 1;
  background-color: rgb(206 154 46 / var(--tw-bg-opacity, 1));
}
.bg-navy {
  --tw-bg-opacity: 1;
  background-color: rgb(27 58 92 / var(--tw-bg-opacity, 1));
}
.bg-reach {
  --tw-bg-opacity: 1;
  background-color: rgb(224 101 74 / var(--tw-bg-opacity, 1));
}
.bg-stable {
  --tw-bg-opacity: 1;
  background-color: rgb(63 143 109 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.p-3 {
  padding: 0.75rem;
}
.p-5 {
  padding: 1.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[9px\] {
  font-size: 9px;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-black {
  font-weight: 900;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-semibold {
  font-weight: 600;
}
.leading-normal {
  line-height: 1.5;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-ink {
  --tw-text-opacity: 1;
  color: rgb(43 43 43 / var(--tw-text-opacity, 1));
}
.text-muted {
  --tw-text-opacity: 1;
  color: rgb(138 132 119 / var(--tw-text-opacity, 1));
}
.text-navy {
  --tw-text-opacity: 1;
  color: rgb(27 58 92 / var(--tw-text-opacity, 1));
}
.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}


  :root{
    --navy:#1B3A5C;
    --navy-deep:#12263C;
    --teal:#2E8B8B;
    --coral:#E8734F;
    --cream:#FBF7F1;
    --sand:#F1EAE0;
    --sand-line:#E5DCCC;
    --ink:#2B2B2B;
    --muted:#8A8477;
    --stable:#3F8F6D;
    --fit:#CE9A2E;
    --reach:#E0654A;
    --white:#FFFFFF;
  }
  *{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
  html,body{margin:0;padding:0;}
  body{
    background:#E9E3D6;
    min-height:100vh;
    font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Malgun Gothic","맑은 고딕",sans-serif;
  }

  /* ===== APP SHELL (responsive web, not a device mockup) ===== */
  .app-shell{
    max-width:480px; margin:0 auto; min-height:100vh;
    background:var(--cream);
    box-shadow:0 0 40px rgba(27,58,92,.06);
    display:flex; flex-direction:column;
  }

  /* top bar */
  .topbar{
    position:sticky; top:0; z-index:10;
    background:var(--cream); border-bottom:1px solid transparent;
  }
  .topbar-inner{
    padding:16px 20px 12px; display:flex; align-items:center; justify-content:space-between;
  }
  .brand{ display:flex; align-items:center; cursor:pointer; }
  .logo-mark{
    display:flex; align-items:center; gap:4px; font-family:'IBM Plex Sans KR',sans-serif;
  }
  .logo-mark .lm-navy{ color:var(--navy); font-weight:500; font-size:16px; letter-spacing:-.03em; }
  .logo-mark .lm-chip{
    color:#fff; background:var(--coral); border-radius:6px; padding:2px 7px 3px; line-height:1;
    font-weight:600; font-size:14px; letter-spacing:-.03em;
  }

  .topbar-right{ display:flex; align-items:center; gap:10px; }
  .menu-wrap{ position:relative; }

  .auth-login{
    font-size:12px; font-weight:800; color:var(--navy); padding:8px 13px; border-radius:20px;
    background:var(--sand); cursor:pointer; white-space:nowrap;
  }
  .auth-user{ display:flex; align-items:center; gap:6px; cursor:pointer; }
  .auth-avatar{
    width:28px; height:28px; border-radius:50%; background:var(--navy); color:var(--cream);
    display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; flex:none;
  }
  .auth-name{ font-size:12px; font-weight:700; color:var(--navy); white-space:nowrap; }
  .menu-btn{
    width:36px; height:36px; border-radius:10px; background:var(--sand);
    display:flex; align-items:center; justify-content:center; position:relative; cursor:pointer;
  }
  .menu-btn .bar{
    position:absolute; width:16px; height:2px; border-radius:2px; background:var(--navy);
    transition:transform .2s ease, opacity .2s ease;
  }
  .menu-btn .bar:nth-child(1){ transform:translateY(-5px); }
  .menu-btn .bar:nth-child(3){ transform:translateY(5px); }
  .menu-btn.open .bar:nth-child(1){ transform:rotate(45deg); }
  .menu-btn.open .bar:nth-child(2){ opacity:0; }
  .menu-btn.open .bar:nth-child(3){ transform:rotate(-45deg); }

  .nav-menu{
    position:absolute; top:46px; right:0; min-width:150px; background:var(--white);
    border-radius:14px; box-shadow:0 10px 30px -8px rgba(27,58,92,.22); padding:6px;
    opacity:0; pointer-events:none; transform:translateY(-6px);
    transition:opacity .15s ease, transform .15s ease; z-index:30;
  }
  .nav-menu.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .nav-menu-item{
    padding:11px 13px; border-radius:9px; font-size:13.5px; font-weight:700; color:var(--ink); cursor:pointer;
  }
  .nav-menu-item.active{ color:var(--coral); }
  .nav-menu-divider{ height:1px; background:var(--sand); margin:5px 4px; }

  .content{ flex:1; padding-bottom:24px; }

  .site-footer{
    padding:20px 20px 28px; text-align:center; font-size:11px; color:var(--muted);
    border-top:1px solid var(--sand);
  }

  /* ===== HOME SCREEN ===== */
  .hero-top-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
  .hero-dday{
    font-size:11px; font-weight:800; color:#FFD9A0; background:rgba(255,255,255,.14);
    padding:3px 9px; border-radius:20px;
  }
  .hero-trust{ margin-top:12px; font-size:10.5px; color:#B9CBDD; }

  .today-cards{ display:flex; gap:10px; overflow-x:auto; padding:0 20px; -ms-overflow-style:none; scrollbar-width:none; }
  .today-cards::-webkit-scrollbar{ display:none; }
  .tc-card{
    flex:1 1 150px; min-width:150px; background:var(--white); border-radius:16px; padding:14px;
    box-shadow:0 2px 8px rgba(27,58,92,.05); cursor:pointer; position:relative;
  }
  .tc-icon{ font-size:16px; margin-bottom:8px; }
  .tc-label{ font-size:11px; font-weight:800; color:var(--navy); margin-bottom:4px; }
  .tc-text{ font-size:11px; color:var(--muted); line-height:1.5; }
  #tcQuestion .tc-text{ color:#6E4A1E; font-weight:600; }
  #tcQuestion{ background:#FBF1E6; }
  #tcQuestion .tc-label{ color:#6E4A1E; }
  .tc-refresh{ position:absolute; top:10px; right:10px; font-size:13px; color:#B67A1E; padding:2px; }

  .weekly-brief{
    margin:0 20px; padding:14px 16px; background:var(--white); border-radius:16px;
    box-shadow:0 2px 10px rgba(27,58,92,.05); cursor:pointer;
  }
  .wb-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
  .wb-week{ font-size:11px; font-weight:800; color:var(--navy); }
  .wb-badge{ font-size:9.5px; font-weight:700; color:var(--teal); background:#EAF3F1; padding:2px 8px; border-radius:10px; }
  .wb-text{ font-size:12px; color:#5B5646; line-height:1.65; }
  .wb-list{ display:flex; flex-direction:column; gap:9px; }
  .wb-item{ font-size:12px; color:#5B5646; line-height:1.6; }
  .wb-item .wb-school{ font-weight:800; color:var(--navy); margin-right:2px; }

  .today-question{
    margin:0 20px; padding:14px 16px; background:#FBF1E6; border-radius:16px;
    display:flex; align-items:center; gap:10px; cursor:pointer;
  }
  .tq-icon{ font-size:16px; flex:none; }
  .tq-text{ flex:1; font-size:12.5px; font-weight:700; color:#6E4A1E; line-height:1.5; }
  .tq-refresh{ font-size:15px; color:#B67A1E; flex:none; padding:4px; cursor:pointer; }

  .coming-soon-list{ margin:0 20px; display:flex; flex-direction:column; gap:8px; }
  .cs-row{
    display:flex; align-items:center; gap:12px; padding:12px 14px; background:var(--white);
    border-radius:14px; opacity:.7;
  }
  .cs-icon{ font-size:17px; flex:none; }
  .cs-txt{ flex:1; }
  .cs-t1{ font-size:12.5px; font-weight:700; color:var(--ink); }
  .cs-t2{ font-size:10.5px; color:var(--muted); margin-top:2px; }
  .cs-badge{ font-size:9.5px; font-weight:700; color:#9A9384; background:var(--sand); padding:3px 8px; border-radius:10px; flex:none; }

  .hero-card{
    margin:14px 20px 0; padding:22px 20px 24px;
    background:linear-gradient(155deg, var(--navy) 0%, #234A6E 100%);
    border-radius:22px; color:var(--cream);
    position:relative; overflow:hidden;
  }
  .hero-card::after{
    content:""; position:absolute; right:-30px; top:-30px; width:140px; height:140px;
    border-radius:50%; background:rgba(255,255,255,.06);
  }
  .hero-eyebrow{ font-size:12px; color:#B9CBDD; font-weight:600; margin-bottom:6px; }
  .hero-title{ font-size:20px; font-weight:800; line-height:1.4; margin:0 0 14px; letter-spacing:-.01em; }
  .hero-title b{ color:#FFD9A0; }
  .hero-badges{ display:flex; gap:8px; margin-bottom:16px; }
  .hero-badge{
    font-size:11px; font-weight:700; padding:6px 10px; border-radius:20px;
    background:rgba(255,255,255,.12); color:#EAF1F7;
  }
  .hero-cta{
    display:flex; align-items:center; justify-content:center; gap:6px;
    background:var(--coral); color:#fff; font-weight:800; font-size:14px;
    padding:13px; border-radius:14px; margin-top:4px;
  }

  .section-label{
    margin:22px 20px 10px; font-size:13px; font-weight:800; color:var(--navy);
    display:flex; align-items:center; gap:6px;
  }
  .section-label::before{ content:""; width:4px; height:14px; background:var(--coral); border-radius:2px; }

  /* update ticker */
  .update-ticker{
    display:flex; gap:8px; overflow-x:auto; padding:12px 20px 2px;
    -ms-overflow-style:none; scrollbar-width:none; white-space:nowrap;
  }
  .update-ticker::-webkit-scrollbar{ display:none; }
  .ticker-pill{
    flex:0 0 auto; display:flex; align-items:center; gap:7px;
    background:var(--white); border-radius:20px; padding:7px 12px 7px 8px;
    box-shadow:0 2px 8px rgba(27,58,92,.06); cursor:pointer;
  }
  .ticker-pill .tag{
    font-size:10px; font-weight:800; padding:3px 7px; border-radius:10px; white-space:nowrap;
  }
  .ticker-pill .tag.policy{ background:#E7EEF4; color:var(--navy); }
  .ticker-pill .tag.univ{ background:#E5F1EF; color:var(--teal); }
  .ticker-pill .tag.shared{ background:#FBEAE2; color:var(--coral); }
  .ticker-pill .tag.saved{ background:var(--coral); color:#fff; }
  .ticker-pill.saved-pill{ border:1.4px solid var(--coral); }
  .ticker-note{ margin:12px 20px 0; font-size:11px; color:var(--coral); font-weight:700; }
  .ticker-pill .txt{ font-size:11.5px; font-weight:700; color:var(--ink); white-space:nowrap; }
  .ticker-pill .time{ font-size:10.5px; color:var(--muted); font-weight:600; white-space:nowrap; }
  .ticker-pill .src-badge{
    font-size:9px; font-weight:700; color:#B7AF9C; white-space:nowrap; margin-left:2px;
  }

  .info-row{
    margin:0 20px 10px; padding:14px 16px; background:var(--white); border-radius:16px;
    display:flex; align-items:center; gap:12px; box-shadow:0 2px 10px rgba(27,58,92,.05);
  }
  .info-row .emoji{ font-size:20px; }
  .info-row .txt{ flex:1; }
  .info-row .t1{ font-size:13px; font-weight:700; color:var(--ink); }
  .info-row .t2{ font-size:12px; color:var(--muted); margin-top:2px; }
  .info-row .chev{ color:#C8C0AF; font-size:14px; }

  .trust-strip{
    margin:18px 20px 24px; padding:14px 16px; border-radius:16px;
    background:var(--sand); border:1px solid var(--sand-line);
    display:flex; gap:10px; align-items:flex-start;
  }
  .trust-strip .dot{ width:8px;height:8px;border-radius:50%; background:var(--teal); margin-top:5px; flex:none;}
  .trust-strip p{ margin:0; font-size:12.5px; line-height:1.6; color:#5B5646; }

  /* ===== INPUT SCREEN ===== */
  .input-wrap{ padding:6px 20px 28px; }
  .step-dots{ display:flex; gap:6px; margin:10px 0 20px; }
  .step-dot{ height:4px; flex:1; border-radius:4px; background:var(--sand-line); }
  .step-dot.active{ background:var(--coral); }
  .field-label{ font-size:13px; font-weight:700; color:var(--navy); margin:20px 0 10px; }
  .field-label .opt{ font-weight:500; color:var(--muted); font-size:11.5px; margin-left:6px;}
  .chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
  .chip{
    padding:10px 14px; border-radius:20px; background:var(--white); border:1.5px solid var(--sand-line);
    font-size:13px; color:var(--ink); font-weight:600;
  }
  .chip.selected{ background:var(--navy); border-color:var(--navy); color:#fff; }
  .slider-card{ background:var(--white); border-radius:16px; padding:16px; box-shadow:0 2px 10px rgba(27,58,92,.05); }
  .slider-val{ display:flex; align-items:baseline; gap:4px; margin-bottom:10px; }
  .slider-val .num{ font-size:26px; font-weight:800; color:var(--navy); }
  .slider-val .unit{ font-size:12px; color:var(--muted); font-weight:600; }
  input[type=range]{ width:100%; accent-color:var(--coral); }
  .textarea-card{
    background:var(--white); border-radius:16px; padding:14px 16px; box-shadow:0 2px 10px rgba(27,58,92,.05);
    font-size:12.5px; color:var(--muted); line-height:1.7; border:1.5px dashed var(--sand-line);
  }

  /* range chip grid (replaces precise sliders) */
  .tier-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .tier-chip{
    padding:13px 10px; border-radius:14px; background:var(--white); border:1.5px solid var(--sand-line);
    text-align:center; font-size:13px; font-weight:700; color:var(--ink);
  }
  .tier-chip .sub{ display:block; font-size:10.5px; font-weight:500; color:var(--muted); margin-top:2px; }
  .tier-chip.selected{ background:var(--navy); border-color:var(--navy); color:#fff; }
  .tier-chip.selected .sub{ color:#B9CBDD; }
  .tier-chip.unsure{ grid-column:1 / -1; background:var(--sand); border-style:dashed; color:#7A7461; }
  .tier-chip.unsure.selected{ background:var(--teal); border-color:var(--teal); border-style:solid; color:#fff; }

  /* activity multi-select chips */
  .activity-grid{ display:flex; flex-wrap:wrap; gap:8px; }
  .activity-chip{
    display:flex; align-items:center; gap:6px; padding:10px 13px; border-radius:20px;
    background:var(--white); border:1.5px solid var(--sand-line); font-size:12.5px; font-weight:600; color:var(--ink);
  }
  .activity-chip .box{ width:14px; height:14px; border-radius:4px; border:1.5px solid var(--sand-line); flex:none; }
  .activity-chip.selected{ background:#EAF3F1; border-color:var(--teal); color:#245C5C; }
  .activity-chip.selected .box{ background:var(--teal); border-color:var(--teal); }

  .upload-card{
    margin-top:12px; padding:16px; border-radius:16px; background:var(--sand);
    border:1.5px dashed var(--sand-line); display:flex; align-items:center; gap:12px;
  }
  .upload-card .ic{
    width:38px; height:38px; border-radius:10px; background:var(--white); display:flex; align-items:center;
    justify-content:center; font-size:17px; flex:none;
  }
  .upload-card .t1{ font-size:12.5px; font-weight:700; color:var(--ink); }
  .upload-card .t2{ font-size:11px; color:var(--muted); margin-top:2px; }

  .sponsor-tip{
    margin-top:12px; padding:14px 16px; border-radius:16px; background:var(--white);
    box-shadow:0 2px 8px rgba(27,58,92,.05); display:flex; align-items:center; gap:12px; position:relative;
  }
  .sponsor-tip .st-icon{
    width:36px; height:36px; border-radius:10px; background:var(--sand); display:flex; align-items:center;
    justify-content:center; font-size:16px; flex:none;
  }
  .sponsor-tip .st-txt{ flex:1; }
  .sponsor-tip .st-t1{ font-size:12.5px; font-weight:700; color:var(--ink); }
  .sponsor-tip .st-t2{ font-size:11px; color:var(--muted); margin-top:2px; }
  .sponsor-tip .st-badge{
    position:absolute; top:8px; right:10px; font-size:9px; font-weight:700; color:#B7AF9C;
  }

  .related-recs{ margin:0 20px; display:flex; flex-direction:column; gap:8px; }
  .rec-card{
    display:flex; align-items:center; gap:12px; padding:13px 15px; background:var(--white);
    border-radius:14px; box-shadow:0 2px 8px rgba(27,58,92,.05); position:relative;
  }
  .rec-icon{
    width:36px; height:36px; border-radius:10px; background:var(--sand); display:flex; align-items:center;
    justify-content:center; font-size:16px; flex:none;
  }
  .rec-txt{ flex:1; }
  .rec-t1{ font-size:12.5px; font-weight:700; color:var(--ink); }
  .rec-t2{ font-size:11px; color:var(--muted); margin-top:2px; }
  .rec-badge{ position:absolute; top:8px; right:10px; font-size:9px; font-weight:700; color:#B7AF9C; }

  .skip-link{ text-align:center; margin-top:16px; font-size:12px; color:var(--muted); font-weight:700; text-decoration:underline; text-underline-offset:3px; }

  /* ===== INTRO SCREEN ===== */
  .intro-wrap{ padding:8px 20px 30px; }
  .intro-hero{ text-align:center; padding:34px 6px 20px; }
  .intro-logo{
    display:flex; align-items:center; justify-content:center; gap:5px;
    margin:0 auto 18px; font-family:'IBM Plex Sans KR',sans-serif;
  }
  .intro-logo .lm-navy{ color:var(--navy); font-weight:500; font-size:23px; letter-spacing:-.03em; }
  .intro-logo .lm-chip{
    color:#fff; background:var(--coral); border-radius:9px; padding:4px 12px 6px; line-height:1;
    font-weight:600; font-size:21px; letter-spacing:-.03em;
  }
  .intro-title{ font-size:20px; font-weight:800; color:var(--navy); line-height:1.5; letter-spacing:-.01em; margin-bottom:10px; }
  .intro-sub{ font-size:13px; color:var(--muted); line-height:1.6; padding:0 8px; }

  .intro-steps{ margin:22px 0 30px; display:flex; flex-direction:column; gap:10px; }
  .step-item{
    display:flex; align-items:center; gap:14px; background:var(--white); border-radius:16px;
    padding:14px 16px; box-shadow:0 2px 10px rgba(27,58,92,.05);
  }
  .step-num{
    width:30px; height:30px; border-radius:50%; background:var(--sand); color:var(--navy);
    display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; flex:none;
  }
  .step-item .txt .t1{ font-size:13px; font-weight:700; color:var(--ink); }
  .step-item .txt .t2{ font-size:11.5px; color:var(--muted); margin-top:2px; line-height:1.5; }

  .intro-trust{
    margin:20px 0 24px; padding:14px 16px; border-radius:16px;
    background:var(--sand); border:1px solid var(--sand-line);
    display:flex; gap:10px; align-items:flex-start;
  }
  .intro-trust .dot{ width:8px;height:8px;border-radius:50%; background:var(--teal); margin-top:5px; flex:none;}
  .intro-trust p{ margin:0; font-size:12.5px; line-height:1.6; color:#5B5646; }

  .intro-wrap .hero-cta{
    background:var(--coral); color:#fff; font-weight:800; font-size:14.5px;
    padding:15px; border-radius:15px; text-align:center;
  }
  .intro-value{
    display:flex; align-items:center; justify-content:center; gap:7px;
    margin:0 0 12px; font-size:11.5px; color:var(--teal); font-weight:700;
  }
  .intro-value .iv-dot{ width:5px; height:5px; border-radius:50%; background:var(--teal); }
  .primary-btn{
    margin-top:26px; background:var(--navy); color:#fff; text-align:center; font-weight:800; font-size:14.5px;
    padding:15px; border-radius:15px;
  }

  /* ===== RESULTS SCREEN ===== */
  .swipe-hint-touch{ margin:12px 20px 0; font-size:11.5px; color:var(--muted); text-align:center; font-weight:600; display:none; }
  @media (pointer:coarse){ .swipe-hint-touch{ display:block; } }
  .card-controls{ display:flex; align-items:center; justify-content:center; gap:14px; margin:14px 0 4px; }
  .swipe-arrow{
    width:32px; height:32px; border-radius:50%; background:var(--white); box-shadow:0 2px 8px rgba(27,58,92,.08);
    display:flex; align-items:center; justify-content:center; color:var(--navy); font-size:16px; font-weight:700;
    cursor:pointer;
  }
  .cards-track{
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px;
    padding:12px 20px 6px; -ms-overflow-style:none; scrollbar-width:none;
  }
  .cards-track::-webkit-scrollbar{display:none;}
  .rcard{
    scroll-snap-align:center; flex:0 0 calc(100% - 40px); background:var(--white);
    border-radius:22px; padding:18px 18px 20px; box-shadow:0 4px 18px rgba(27,58,92,.08);
    min-height:520px; display:flex; flex-direction:column;
  }
  .rcard-tag{ font-size:11px; font-weight:800; letter-spacing:.06em; color:var(--teal); text-transform:uppercase; margin-bottom:6px;}
  .rcard-title{ font-size:17px; font-weight:800; color:var(--navy); margin:0 0 14px; line-height:1.4;}

  .tier{ display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--sand); cursor:pointer; }
  .tier:last-child{ border-bottom:none; }
  .tier-badge{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:12px; flex:none; }
  .tier-badge.stable{ background:var(--stable); }
  .tier-badge.fit{ background:var(--fit); }
  .tier-badge.reach{ background:var(--reach); }
  .tier-info{ flex:1; }
  .tier-info .school{ font-size:14px; font-weight:800; color:var(--ink); }
  .tier-info .dept{ font-size:12px; color:var(--muted); margin-top:2px; }
  .tier-info .type{ font-size:10.5px; color:var(--teal); font-weight:700; margin-top:3px; }
  .round-tag{
    display:inline-block; font-size:9.5px; font-weight:800; color:#fff; background:var(--navy);
    padding:2px 7px; border-radius:8px; margin-right:5px; vertical-align:1px;
  }
  .round-tag.round-jeongsi{ background:#7A5CC7; }
  .round-note{
    margin-top:10px; padding:9px 12px; background:var(--sand); border-radius:10px;
    font-size:10.5px; color:#6B6552; line-height:1.5;
  }
  .round-note b{ color:var(--navy); }
  .tier-chev{ color:#C8C0AF; font-size:16px; flex:none; }

  .js-timeline{ display:flex; flex-direction:column; gap:9px; margin-top:6px; }
  .jst-item{ display:flex; align-items:center; gap:9px; }
  .jst-dot{ width:7px; height:7px; border-radius:50%; background:var(--teal); flex:none; }
  .jst-txt{ font-size:11.5px; color:#4A4636; }
  .jst-txt b{ color:var(--navy); font-weight:800; margin-right:2px; }

  .jeongsi-list{ display:flex; flex-direction:column; gap:10px; margin-top:14px; }
  .jeongsi-row{ display:flex; gap:10px; padding:12px 13px; background:var(--white); border-radius:14px; box-shadow:0 2px 8px rgba(27,58,92,.05); }
  .gun-badge{
    width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center;
    font-size:11px; font-weight:800; color:#fff; flex:none;
  }
  .gun-badge.ga{ background:#E0654A; }
  .gun-badge.na{ background:#CE9A2E; }
  .gun-badge.da{ background:#3F8F6D; }
  .jeongsi-info{ flex:1; }
  .jeongsi-school{ font-size:12.5px; font-weight:800; color:var(--ink); }
  .jeongsi-meta{ font-size:10.5px; color:var(--teal); font-weight:700; margin-top:3px; }
  .jeongsi-note{ font-size:10.5px; color:var(--muted); margin-top:5px; line-height:1.5; }

  /* ===== DETAIL SCREEN ===== */
  .detail-wrap{ padding:0 0 26px; }
  .detail-back{
    display:flex; align-items:center; gap:6px; padding:14px 20px 4px;
    font-size:12.5px; font-weight:700; color:var(--muted);
  }
  .detail-back .arrow{ font-size:15px; }
  .detail-head{ padding:10px 20px 18px; }
  .detail-tierbadge{
    display:inline-block; font-size:11px; font-weight:800; padding:5px 11px; border-radius:20px; color:#fff; margin-bottom:10px;
  }
  .detail-tierbadge.stable{ background:var(--stable); }
  .detail-tierbadge.fit{ background:var(--fit); }
  .detail-tierbadge.reach{ background:var(--reach); }
  .detail-school{ font-size:20px; font-weight:800; color:var(--navy); }
  .detail-dept{ font-size:13.5px; color:var(--muted); margin-top:3px; font-weight:600; }
  .detail-type{ font-size:11px; color:var(--teal); font-weight:700; margin-top:6px; cursor:pointer; display:inline-flex; align-items:center; gap:5px; }
  .detail-type .type-q{ font-size:10px; color:#B7AF9C; font-weight:700; text-decoration:underline; text-underline-offset:2px; }
  .type-explain{
    max-height:0; overflow:hidden; opacity:0; transition:max-height .22s ease, opacity .18s ease;
    font-size:11.5px; color:var(--muted); line-height:1.6; background:var(--sand); border-radius:10px;
  }
  .type-explain.open{ max-height:80px; opacity:1; margin-top:8px; padding:9px 11px; }

  .meta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 20px 18px; }
  .meta-card{ background:var(--white); border-radius:14px; padding:12px 14px; box-shadow:0 2px 8px rgba(27,58,92,.05); }
  .meta-card .m-label{ font-size:10.5px; color:var(--muted); font-weight:700; margin-bottom:4px; }
  .meta-card .m-val{ font-size:15px; font-weight:800; color:var(--navy); }
  .meta-card .m-note{ font-size:10.5px; color:var(--muted); margin-top:4px; line-height:1.4; }

  .detail-section-title{ margin:20px 20px 10px; font-size:12.5px; font-weight:800; color:var(--navy); }
  .detail-evidence{ margin:0 20px; }
  .detail-actions{ margin:0 20px; background:var(--white); border-radius:16px; padding:4px 14px; box-shadow:0 2px 8px rgba(27,58,92,.05); }

  .social-proof{
    display:flex; align-items:center; gap:6px; margin-top:12px; font-size:11.5px; color:var(--muted);
  }
  .social-proof .sp-icon{ font-size:12px; }
  .social-proof b{ color:var(--navy); }

  .action-item.talk{ background:#EAF3F1; margin:0 -14px; padding:12px 14px; border-radius:12px; border-bottom:none; }
  .action-item.talk .action-check{ display:flex; align-items:center; justify-content:center; border:none; background:transparent; width:20px; height:20px; }
  .action-item.talk .a1{ color:#245C5C; }

  .detail-cta-row{ display:flex; gap:10px; margin:24px 20px 0; }

  .evidence-box{
    margin-top:auto; padding-top:14px;
  }
  .evidence-quote{
    background:var(--sand); border-left:3px solid var(--teal); border-radius:0 12px 12px 0;
    padding:14px 14px; font-size:12.5px; line-height:1.75; color:#4A4636;
  }
  .evidence-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
  .evidence-chip{
    font-size:10.5px; font-weight:700; padding:5px 9px; border-radius:20px;
    background:#EAF3F1; color:var(--teal);
  }
  .badge-row{ display:flex; align-items:center; gap:6px; margin-top:12px; }
  .badge-row .shield{ font-size:13px; }
  .badge-row span{ font-size:11px; color:var(--muted); font-weight:600; }

  .compare-btn{
    margin-top:14px; padding:12px; text-align:center; border-radius:12px;
    background:var(--sand); color:var(--navy); font-size:12.5px; font-weight:800; cursor:pointer;
  }
  .compare-btn .arrow-r{ color:var(--coral); }

  /* ===== COMPARE SCREEN ===== */
  .compare-wrap{ padding:0 0 30px; }
  .compare-title{ margin:6px 20px 14px; font-size:17px; font-weight:800; color:var(--navy); }
  .compare-scroll{ overflow-x:auto; padding:0 20px 4px; -ms-overflow-style:none; scrollbar-width:none; }
  .compare-scroll::-webkit-scrollbar{ display:none; }
  .compare-table{ border-collapse:collapse; min-width:560px; width:100%; }
  .compare-table th, .compare-table td{
    padding:10px 12px; font-size:11.5px; text-align:center; border-bottom:1px solid var(--sand);
    white-space:normal;
  }
  .compare-table thead th{ vertical-align:bottom; padding-bottom:12px; }
  .cmp-corner{ background:transparent; }
  .cmp-school{ font-size:13px; font-weight:800; color:var(--navy); cursor:pointer; }
  .cmp-tier{
    display:inline-block; font-size:10px; font-weight:800; color:#fff; padding:3px 9px;
    border-radius:20px; margin-bottom:5px;
  }
  .cmp-tier.stable{ background:var(--stable); }
  .cmp-tier.fit{ background:var(--fit); }
  .cmp-tier.reach{ background:var(--reach); }
  .cmp-label{
    text-align:left; font-weight:700; color:var(--muted); font-size:11px;
    position:sticky; left:0; background:var(--cream); white-space:nowrap;
  }
  .compare-table td:not(.cmp-label){ color:var(--ink); }
  .compare-hint{ margin:16px 20px 0; font-size:11.5px; color:var(--muted); text-align:center; }

  /* ===== INVITE SCREEN ===== */
  .invite-wrap{ padding:0 0 30px; }
  .invite-card{
    margin:12px 20px 20px; padding:20px; border-radius:18px;
    background:linear-gradient(155deg, var(--navy) 0%, #234A6E 100%); color:var(--cream);
  }
  .ic-badge{
    display:inline-block; font-size:10.5px; font-weight:800; background:rgba(255,255,255,.14);
    color:#EAF1F7; padding:4px 10px; border-radius:20px; margin-bottom:12px;
  }
  .ic-title{ font-size:15px; font-weight:800; line-height:1.5; margin-bottom:8px; }
  .ic-sub{ font-size:12px; color:#B9CBDD; line-height:1.6; }
  .invite-note{ margin:16px 20px 0; font-size:11.5px; color:var(--muted); line-height:1.6; text-align:center; }

  .referral-progress{
    margin:18px 20px 0; padding:14px 16px; background:var(--white); border-radius:16px;
    box-shadow:0 2px 10px rgba(27,58,92,.05);
  }
  .rp-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; }
  .rp-label{ font-size:11px; font-weight:800; color:var(--navy); }
  .rp-count{ font-size:11.5px; color:var(--muted); }
  .rp-count b{ color:var(--coral); }
  .rp-bar{ height:6px; border-radius:4px; background:var(--sand); overflow:hidden; }
  .rp-fill{ height:100%; background:var(--coral); border-radius:4px; transition:width .3s ease; }
  .rp-hint{ margin-top:8px; font-size:10.5px; color:var(--muted); font-weight:600; }

  /* ===== MY PAGE ===== */
  .mypage-wrap{ padding:0 20px 30px; }
  .mypage-profile{ display:flex; align-items:center; gap:14px; margin:14px 0 26px; }
  .mypage-avatar{
    width:52px; height:52px; border-radius:50%; background:var(--navy); color:var(--cream);
    display:flex; align-items:center; justify-content:center; font-weight:800; font-size:19px; flex:none;
  }
  .mypage-name{ font-size:15px; font-weight:800; color:var(--navy); }
  .mypage-sub{ font-size:11.5px; color:var(--muted); margin-top:3px; }
  .mypage-empty{
    padding:16px; background:var(--white); border-radius:14px; font-size:12px; color:var(--muted);
    text-align:center; line-height:1.6;
  }
  .mypage-login-prompt{
    margin-top:40px; padding:30px 20px; background:var(--white); border-radius:18px; text-align:center;
    box-shadow:0 2px 10px rgba(27,58,92,.05);
  }
  .mlp-icon{ font-size:26px; margin-bottom:10px; }
  .mlp-title{ font-size:14px; font-weight:800; color:var(--navy); margin-bottom:6px; }
  .mlp-sub{ font-size:12px; color:var(--muted); margin-bottom:18px; line-height:1.6; }

  /* ===== LOGIN SCREEN ===== */
  .login-wrap{ padding:0 20px 30px; }
  .login-hero{ text-align:center; padding:36px 6px 30px; }
  .login-mark{ display:flex; align-items:center; justify-content:center; gap:5px; margin-bottom:20px; font-family:'IBM Plex Sans KR',sans-serif; }
  .login-mark .lm-navy{ color:var(--navy); font-weight:500; font-size:20px; letter-spacing:-.03em; }
  .login-mark .lm-chip{ color:#fff; background:var(--coral); border-radius:9px; padding:4px 11px 5px; line-height:1; font-weight:600; font-size:18px; letter-spacing:-.03em; }
  .login-title{ font-size:16px; font-weight:800; color:var(--navy); line-height:1.5; margin-bottom:8px; }
  .login-sub{ font-size:12.5px; color:var(--muted); line-height:1.6; }
  .login-btn{
    padding:14px; text-align:center; border-radius:14px; font-weight:800; font-size:13.5px;
    margin-bottom:10px; cursor:pointer;
  }
  .login-btn.kakao{ background:#FEE500; color:#3C1E1E; }
  .login-btn.outline{ background:var(--white); color:var(--navy); border:1.5px solid var(--sand-line); }
  .login-switch{
    margin-top:16px; font-size:12px; color:var(--teal); text-align:center; font-weight:700;
    text-decoration:underline; text-underline-offset:3px; cursor:pointer;
  }

  /* ===== HOME CARD DETAIL SCREENS (ticker/brief/question) ===== */
  .tdetail-wrap{ padding:0 0 30px; }
  .tdetail-title{ margin:10px 20px 4px; font-size:17px; font-weight:800; color:var(--navy); line-height:1.4; }
  .tdetail-source{ margin:0 20px 16px; font-size:11px; color:var(--muted); font-weight:600; }
  .tdetail-body{ margin:0 20px 18px; font-size:13px; color:#4A4636; line-height:1.75; }
  .tdetail-subtitle{ margin:4px 20px 10px; font-size:12.5px; font-weight:800; color:var(--navy); }
  .tdetail-note{ margin:16px 20px 0; font-size:11px; color:var(--muted); text-align:center; }

  .brief-item{ margin:0 20px 14px; padding:14px 16px; background:var(--white); border-radius:14px; box-shadow:0 2px 8px rgba(27,58,92,.05); }
  .brief-school{ font-size:12.5px; font-weight:800; color:var(--navy); margin-bottom:5px; }
  .brief-text{ font-size:12px; color:#5B5646; line-height:1.65; }

  .tq-list{ margin:0 20px; display:flex; flex-direction:column; gap:8px; }
  .tq-list-item{
    padding:12px 14px; background:#FBF1E6; border-radius:12px; font-size:12.5px; color:#6E4A1E; font-weight:600;
  }

  /* ===== SENIORS SCREEN ===== */
  .seniors-wrap{ padding:0 0 30px; }
  .seniors-title{ margin:6px 20px 4px; font-size:17px; font-weight:800; color:var(--navy); }
  .seniors-sub{ margin:0 20px 18px; font-size:12.5px; color:var(--muted); line-height:1.6; }
  .senior-card{
    margin:0 20px 12px; background:var(--white); border-radius:16px; padding:15px 16px;
    box-shadow:0 2px 10px rgba(27,58,92,.05);
  }
  .senior-head{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
  .senior-emoji{ font-size:16px; }
  .senior-school{ font-size:13px; font-weight:800; color:var(--navy); }
  .senior-dept{ font-size:11px; color:var(--muted); font-weight:600; }
  .senior-quote{ font-size:12.5px; color:#4A4636; line-height:1.7; }
  .senior-foot{ margin-top:8px; font-size:10.5px; color:#B7AF9C; font-weight:700; }
  .seniors-closing{
    margin:18px 20px 0; padding:14px 16px; background:var(--sand); border-radius:16px;
    display:flex; gap:10px; align-items:flex-start;
  }
  .seniors-closing .dot{ width:8px;height:8px;border-radius:50%; background:var(--coral); margin-top:5px; flex:none;}
  .seniors-closing p{ margin:0; font-size:12.5px; line-height:1.6; color:#5B5646; }

  .action-item{
    display:flex; align-items:flex-start; gap:10px; padding:12px 0; border-bottom:1px solid var(--sand);
  }
  .action-item:last-child{ border-bottom:none; }
  .action-check{
    width:20px; height:20px; border-radius:6px; border:2px solid var(--sand-line); flex:none; margin-top:1px;
  }
  .action-txt .a1{ font-size:13px; font-weight:700; color:var(--ink); }
  .action-txt .a2{ font-size:11.5px; color:var(--muted); margin-top:3px; line-height:1.5;}

  .dots{ display:flex; justify-content:center; gap:6px; }
  .dot{ width:6px; height:6px; border-radius:50%; background:var(--sand-line); }
  .dot.on{ background:var(--coral); width:16px; border-radius:4px; }

  .share-card-cta{
    margin-top:4px; padding:10px 12px; text-align:center; border-radius:11px;
    background:var(--coral); color:#fff; font-size:12px; font-weight:800; cursor:pointer;
  }

  .share-bar{
    margin:14px 20px 26px; display:flex; gap:10px;
  }
  .share-btn{
    flex:1; text-align:center; padding:13px; border-radius:14px; font-weight:800; font-size:13px;
  }
  .share-btn.kakao{ background:#FEE500; color:#3C1E1E; }
  .share-btn.pdf{ background:var(--white); color:var(--navy); border:1.5px solid var(--sand-line); }
  .share-btn.pdf.saved{ background:#EAF3F1; border-color:var(--teal); color:#245C5C; }

  /* ===== SAVED SCHOOLS (관심 대학) ===== */
  .saved-list{ margin:0 20px; display:flex; flex-direction:column; gap:8px; }
  .saved-chip{
    display:flex; align-items:center; gap:10px; padding:12px 14px; background:var(--white);
    border-radius:14px; box-shadow:0 2px 8px rgba(27,58,92,.05); cursor:pointer;
  }
  .saved-badge{ width:auto; height:auto; padding:5px 10px; border-radius:10px; font-size:10.5px; }
  .saved-info{ flex:1; }
  .saved-school{ font-size:13px; font-weight:800; color:var(--ink); }
  .saved-dept{ font-size:11px; color:var(--muted); margin-top:2px; }
  .saved-share-btn{ margin-top:2px; }
  .save-risk-note{
    padding:10px 13px; background:#FBF1E6; border-radius:12px; font-size:11px; color:#8A5A1E;
    font-weight:600; cursor:pointer; line-height:1.6;
  }
  .save-risk-link{ text-decoration:underline; text-underline-offset:2px; font-weight:800; }

  .toast{
    position:fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(20px);
    background:var(--navy); color:#fff; padding:13px 18px; border-radius:14px;
    font-size:12.5px; font-weight:700; line-height:1.55; text-align:center; max-width:320px;
    box-shadow:0 14px 34px -10px rgba(27,58,92,.45);
    opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease; z-index:100;
  }
  .toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

  .fade{ animation:fadeIn .28s ease both; }
  @keyframes fadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

  /* ===== INTERACTION STATES (hover + keyboard focus, all breakpoints) ===== */
  [tabindex]:focus-visible, button:focus-visible{
    outline:2px solid var(--coral); outline-offset:2px; border-radius:6px;
  }
  @media (hover:hover){
    .ticker-pill:hover{ box-shadow:0 2px 14px rgba(27,58,92,.12); }
    .weekly-brief:hover, .today-question:hover{ box-shadow:0 2px 14px rgba(27,58,92,.12); }
    .auth-login:hover{ background:var(--sand-line); }
    .auth-user:hover .auth-name{ color:var(--coral); }
    .saved-chip:hover{ box-shadow:0 2px 14px rgba(27,58,92,.1); }
    .swipe-arrow:hover{ background:var(--sand); }
    .nav-menu-item:hover{ background:var(--sand); }
    .brand:hover .lm-navy{ color:var(--coral); }
    .info-row:hover{ box-shadow:0 2px 14px rgba(27,58,92,.1); }
    .tier:hover{ background:var(--sand); margin:0 -8px; padding:12px 8px; border-radius:10px; }
    .hero-cta:hover{ filter:brightness(1.06); }
    .compare-btn:hover{ background:var(--sand-line); }
    .share-btn:hover{ filter:brightness(.97); }
    .chip:hover, .activity-chip:hover, .tier-chip:hover{ border-color:var(--teal); }
    .cs-row{ cursor:default; }
    .detail-back:hover{ color:var(--navy); }
    .cmp-school:hover{ color:var(--coral); }
  }

  /* ===== DESKTOP LAYOUT (>=900px) ===== */
  @media (min-width:900px){
    body{ background:var(--cream); }
    .app-shell{ max-width:none; min-height:100vh; }
    .topbar{ border-bottom:1px solid var(--sand); }
    .topbar-inner{
      max-width:1200px; margin:0 auto; padding:22px 40px;
    }
    .logo-mark .lm-navy{ font-size:18px; }
    .logo-mark .lm-chip{ font-size:15px; padding:3px 8px 4px; }
    .menu-btn{ width:40px; height:40px; }
    .nav-menu{ top:50px; min-width:170px; }
    .nav-menu-item{ font-size:14px; }
    .content{ padding-bottom:56px; max-width:1200px; margin:0 auto; }

    .site-footer{ font-size:12px; padding:24px 40px 32px; }

    /* Typography scale-up for desktop viewing distance */
    .hero-title{ font-size:24px; }
    .hero-eyebrow{ font-size:13px; }
    .section-label{ font-size:14px; }
    .info-row .t1, .rd-school, .senior-school, .cs-t1{ font-size:14px; }
    .info-row .t2, .cs-t2{ font-size:12.5px; }
    .rcard-title, .detail-school, .compare-title, .seniors-title{ font-size:20px; }
    .evidence-quote, .senior-quote{ font-size:13.5px; line-height:1.8; }
    .action-txt .a1{ font-size:14px; }
    .wb-text, .tq-text{ font-size:13.5px; }

    /* Home (desktop): consolidated content needs only a centered single column now */
    .home-screen{ max-width:640px; margin:0 auto; padding:8px 40px 0; }
    .home-screen .hero-card{ padding:28px 32px 30px; }
    .home-screen .update-ticker{ flex-wrap:wrap; padding-left:0; padding-right:0; }
    .home-screen .ticker-pill{ white-space:normal; }
    .home-screen .ticker-pill .txt{ white-space:normal; }
    .home-screen .ticker-note, .home-screen .section-label, .home-screen .info-row,
    .home-screen .saved-list, .home-screen .today-cards{
      margin-left:0; margin-right:0;
    }
    .home-screen .info-row{ padding:16px 18px; }

    /* Results: master-detail (built directly by JS as .results-desktop, not .cards-track) */
    .results-desktop{ display:flex; gap:28px; padding:20px 40px 40px; align-items:flex-start; }
    .rd-list{
      width:300px; flex:none; display:flex; flex-direction:column; gap:8px;
      position:sticky; top:100px;
    }
    .rd-list-title{ font-size:13px; font-weight:800; color:var(--navy); margin-bottom:4px; }
    .rd-row{
      display:flex; align-items:center; gap:10px; padding:13px 14px; border-radius:12px;
      background:var(--white); border:1.5px solid transparent; cursor:pointer;
      box-shadow:0 2px 8px rgba(27,58,92,.04);
    }
    .rd-row:hover{ border-color:var(--sand-line); }
    .rd-row.active{ border-color:var(--coral); background:#FBF1EA; }
    .rd-info{ flex:1; }
    .rd-school{ font-weight:800; color:var(--ink); }
    .rd-dept{ font-size:11.5px; color:var(--muted); margin-top:2px; }
    .rd-detail{
      flex:1; min-width:0; background:var(--white); border-radius:18px; padding:30px 34px;
      box-shadow:0 2px 14px rgba(27,58,92,.06);
    }
    .rd-detail .detail-head{ padding:0 0 18px; }
    .rd-detail .meta-grid{ margin:0 0 20px; grid-template-columns:repeat(4,1fr); }
    .rd-detail .detail-section-title{ margin:24px 0 12px; }
    .rd-detail .detail-evidence{ margin:0; }
    .rd-detail .detail-actions{ margin:0; }
    .rd-detail .related-recs{ margin:0; }
    .rd-detail .detail-cta-row{ margin:26px 0 0; max-width:420px; }

    /* Input: give the form some breathing room */
    .input-wrap{ padding:6px 40px 32px; max-width:640px; margin:0 auto; }

    /* Intro: center and cap width for readability */
    .intro-wrap{ max-width:520px; margin:0 auto; padding:8px 20px 40px; }
    .detail-wrap{ max-width:640px; margin:0 auto; }
    .compare-wrap{ max-width:760px; margin:0 auto; }
    .invite-wrap{ max-width:520px; margin:0 auto; }
    .mypage-wrap{ max-width:560px; margin:0 auto; }
    .tdetail-wrap{ max-width:560px; margin:0 auto; }

    /* Share screen */
    .fade > div[style]{ max-width:520px; margin-left:auto; margin-right:auto; }
  }

  /* ===== TABLET LAYOUT (600–899px) ===== */
  @media (min-width:600px) and (max-width:899px){
    .content{ max-width:680px; margin:0 auto; }
    .topbar-inner{ max-width:680px; margin:0 auto; padding:18px 28px 14px; }
    .hero-card{ padding:26px 28px 28px; }
    .hero-title{ font-size:21px; }
    .cards-track{ padding-left:28px; padding-right:28px; }
    .rcard{ flex-basis:420px; }
  }
  .hover\:bg-slate-50\/50:hover {
  background-color: rgb(248 250 252 / 0.5);
}
  .hover\:text-navy:hover {
  --tw-text-opacity: 1;
  color: rgb(27 58 92 / var(--tw-text-opacity, 1));
}
  @media (min-width: 768px) {

  .md\:max-w-none {
    max-width: none;
  }

  .md\:bg-transparent {
    background-color: transparent;
  }

  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

