/* Original font source: RETURN_V2_APP.src.html:21, Pretendard v1.3.9.
   Full variable WOFF2 from the same upstream release; SIL OFL 1.1, see
   assets/Pretendard-LICENSE.txt. The alias isolates its 500/600 app weights. */
@font-face {
  font-family:'RETURN App Pretendard';
  src:url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-style:normal;font-weight:100 900;font-display:swap;
}

/* Origin: actual RETURN V9 src/RETURN_V2_APP.src.html:24–43, :136;
   src/weekly-word.css:11,21–22,26,30,34–44,55. Only .native-app scoping and
   inert element replacements are new. Later native-app rules preserve the
   original final cascade rather than the older rules at the top of that file. */
.native-app {
  --ink:#1A1A1A;--mist:#626262;--muted:var(--mist);--white:#FFFFFF;
  --bg:#FFFFFF;--bg2:#F5F5F5;--surface:#FAFAFA;--border:#E5E5E5;
  --accent:#8255BA;--accent-soft:rgba(130,85,186,.08);
  --line:rgba(0,0,0,.08);--line2:rgba(0,0,0,.16);--ww-on-accent:#fff;
  --f:'RETURN App Pretendard',Pretendard,-apple-system,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;
  color-scheme:light;isolation:isolate;min-width:0;width:100%;
  color:var(--ink);font-family:var(--f);font-weight:400;font-size:14px;
  line-height:1.5;letter-spacing:normal;text-align:left;word-break:keep-all;
  -webkit-font-smoothing:antialiased;
}
.native-app,.native-app *,.native-app *::before,.native-app *::after {
  box-sizing:border-box;-webkit-tap-highlight-color:transparent;
}
.native-app :is(div,span,section,h3,p,strong,small,time,table,thead,tbody,tr,th,td,caption) {
  margin:0;padding:0;text-transform:none;text-shadow:none;letter-spacing:normal;
}
.native-app :is(h3,p) {text-wrap:wrap}
.native-app .sr-only {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* renderMjHome(): native .ww-today. The inner action is a span, not an app button. */
.native-app .ww-today {
  padding:20px;margin:0 0 22px;border:1px solid var(--accent);border-radius:20px;
  background:var(--accent-soft);
}
.native-app .ww-today-meta {display:flex;align-items:center;gap:12px;color:var(--accent)}
.native-app .ww-day-badge {
  display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:14px;
  background:var(--accent);color:var(--ww-on-accent);font-size:14px;font-weight:600;
}
.native-app .ww-today-meta>div {flex:1;min-width:0}
.native-app .ww-today-meta strong {display:block;font-size:12px;font-weight:600;line-height:1.5}
.native-app .ww-today-meta small {display:block;color:var(--mist);font-size:11px;line-height:1.6;margin-top:3px}
.native-app .ww-today h3 {
  font-size:24px;font-weight:600;line-height:1.4;letter-spacing:-.04em;
  margin:22px 0 10px;color:var(--ink);
}
.native-app .ww-today>p {
  margin:0 0 22px;color:var(--ink);font-size:14px;font-weight:400;line-height:1.8;
  word-break:keep-all;
}
.native-app .ww-today .ww-primary {
  display:flex;align-items:center;justify-content:space-between;width:100%;
  height:auto;min-height:50px;padding:0 20px;border:0;border-radius:12px;
  background:var(--accent);color:var(--ww-on-accent);font-size:15px;
  font-weight:600;line-height:1.5;gap:12px;
}

/* weekRows(): retain each complete row, including natural text height. */
.native-app .ww-week-row {
  display:flex;align-items:center;gap:12px;min-height:78px;width:100%;padding:17px 0;
  text-align:left;border-top:1px solid var(--line);color:var(--ink);background:none;
  font:inherit;
}
.native-app .ww-weekday {
  width:36px;height:36px;display:grid;place-items:center;font-size:12px;
  font-weight:500;border-radius:12px;background:var(--bg2);flex:none;
}
.native-app .ww-week-label {flex:1;min-width:0}
.native-app .ww-week-label strong {display:block;font-size:14px;font-weight:500;line-height:1.5}
.native-app .ww-week-label small {display:block;font-size:11px;line-height:1.6;color:var(--mist);margin-top:4px}
.native-app .ww-state {display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:11px;color:var(--mist)}

/* reader(): the app's complete 13-word table and intentional horizontal scroll. */
.native-app .ww-scroll-hint {
  margin:24px 0 0;font-size:12px;line-height:1.5;color:var(--accent);
  text-align:left;font-weight:500;
}
.native-app .ww-reader {
  max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-x:contain;
  margin:12px 0 0;border:1px solid var(--line);border-radius:10px;
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;scroll-padding-left:78px;
}
.native-app .ww-reader table {
  border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;
  text-align:left;font-size:12px;
}
.native-app .ww-reader th,.native-app .ww-reader td {
  padding:14px 12px;width:116px;min-width:116px;max-width:116px;vertical-align:top;
  white-space:normal;overflow-wrap:anywhere;border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);font-weight:400;line-height:1.7;
}
.native-app .ww-reader th:first-child {
  position:sticky;left:0;width:78px;min-width:78px;max-width:78px;
  background:var(--bg2);z-index:1;font-weight:500;font-size:11px;
}
.native-app .ww-reader thead th {background:var(--bg2);font-size:21px;font-family:Georgia,serif;color:var(--ink)}
.native-app .ww-reader thead th:first-child {font-family:inherit}
.native-app .ww-reader thead th:not(:first-child) {scroll-snap-align:start}
.native-app .ww-reader tr:last-child>* {border-bottom:0}
.native-app .ww-reader tr>*:last-child {border-right:0}

/* Same viewport breakpoint and values as weekly-word.css:51. */
@media(max-width:360px) {
  .native-app .ww-today {padding:17px}
  .native-app .ww-today h3 {font-size:22px}
  .native-app .ww-week-row {gap:8px}
  .native-app .ww-state {font-size:10px}
}
