:root { color-scheme: light; }
html { width: 100vw; min-width: 100vw; min-height: 100%; margin: 0; overflow-x: hidden; background: #eee9fb; }
html body.jlpt180-sd-page { display: block !important; width: 100vw !important; min-width: 100vw; max-width: 100vw !important; min-height: 100%; margin: 0 !important; padding: 0 !important; overflow-x: hidden; background: #eee9fb; }
body.jlpt180-sd-page #wpadminbar { position: fixed; }
#jlpt180-study-director, #jlpt180-study-director * { box-sizing: border-box; }
#jlpt180-study-director {
  --sd-ink: #28215f;
  --sd-muted: #756e92;
  --sd-purple: #7854df;
  --sd-purple-2: #9c7be8;
  --sd-cream: #fffaf5;
  --sd-panel: rgba(255, 252, 248, .94);
  --sd-lilac: #ede6ff;
  --sd-mint: #e8f8ef;
  --sd-peach: #fff0e4;
  --sd-blue: #e8f2ff;
  --sd-shadow: 0 20px 42px rgba(80,58,136,.16), 0 6px 14px rgba(80,58,136,.09);
  --sd-shadow-deep: 0 22px 46px rgba(75,48,139,.20), 0 8px 16px rgba(75,48,139,.10);
  --sd-inner: inset 0 3px 0 rgba(255,255,255,.98), inset 0 -5px 0 rgba(112,83,177,.07);
  --sd-clay-border: 2px solid rgba(255,255,255,.88);
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  overflow: visible;
  color: var(--sd-ink);
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  font-synthesis: none;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 9% 4%, rgba(179, 151, 247, .35), transparent 28%),
    radial-gradient(circle at 96% 8%, rgba(255, 207, 230, .45), transparent 26%),
    linear-gradient(145deg, #eee7ff 0%, #fbf7ff 46%, #f7eef8 100%);
}
#jlpt180-study-director a { color: inherit; text-decoration: none; }
#jlpt180-study-director *, #jlpt180-study-director button, #jlpt180-study-director input { font-family: inherit; }
#jlpt180-study-director button, #jlpt180-study-director input { font-size: inherit; line-height: inherit; }
#jlpt180-study-director img { display: block; max-width: 100%; }
#jlpt180-study-director h1, #jlpt180-study-director h2, #jlpt180-study-director h3, #jlpt180-study-director p { margin: 0; }
.sd-shell {
  --sd-page-pad: clamp(13px, 1vw, 18px);
  --sd-sidebar-width: clamp(250px, 14.2vw, 270px);
  --sd-shell-gap: clamp(18px, 1.25vw, 24px);
  --sd-widget-safe: 0px;
  width: 100vw; min-width: 100vw; min-height: 100vh; margin: 0;
  padding: var(--sd-page-pad) calc(var(--sd-page-pad) + var(--sd-widget-safe)) var(--sd-page-pad) calc(var(--sd-sidebar-width) + var(--sd-shell-gap));
}
.sd-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30;
  width: var(--sd-sidebar-width); height: 100dvh; max-height: none; padding: 17px 14px 14px;
  display:flex; flex-direction:column; overflow:hidden; border-radius:0 34px 34px 0; color:#fff;
  background:
    radial-gradient(circle at 12% 4%,rgba(255,255,255,.42),transparent 20%),
    radial-gradient(circle at 88% 24%,rgba(255,211,238,.28),transparent 24%),
    radial-gradient(circle at 48% 98%,rgba(102,224,255,.20),transparent 31%),
    linear-gradient(165deg,#b99ef5 0%,#9673e7 42%,#7450cd 74%,#6240bb 100%);
  box-shadow:24px 0 56px rgba(68,39,140,.26),inset 0 2px 0 rgba(255,255,255,.56),inset -4px 0 0 rgba(54,28,120,.12);
}
.sd-sidebar::before { content:""; position:absolute; inset:9px 9px 9px 7px; z-index:-1; border:1px solid rgba(255,255,255,.30); border-radius:0 29px 29px 0; pointer-events:none; }
.sd-sidebar::after { content:""; position:absolute; left:-34px; bottom:58px; width:145px; height:145px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,0) 68%); pointer-events:none; }
body.admin-bar .sd-sidebar { top:32px; height:calc(100dvh - 32px); }
.sd-brand { position:relative; display:grid; justify-items:center; gap:1px; padding:5px 8px 8px; text-align:center; }
.sd-brand::before { content:""; position:absolute; left:50%; bottom:2px; width:76%; height:8px; transform:translateX(-50%); border-radius:999px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent); filter:blur(3px); }
.sd-brand-mark { position:relative; color:#fff; font-size:30px; font-weight:1000; letter-spacing:-.035em; text-shadow:0 4px 0 rgba(74,43,155,.18),0 8px 18px rgba(50,23,113,.30); }
.sd-brand small { color:rgba(255,255,255,.80); font-size:8px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.sd-brand-home { position:relative; min-height:28px; margin-top:5px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.92); border-radius:999px; color:#6841bb; background:linear-gradient(145deg,#fff,#eee5ff); box-shadow:0 7px 14px rgba(52,27,119,.18),inset 0 2px 0 #fff; font-size:10px; font-weight:900; }
.sd-mobile-home { display:none; }
.sd-user-card { position:relative; margin-top:7px; padding:12px; display:grid; grid-template-columns:60px minmax(0,1fr); align-items:center; gap:12px; border:2px solid rgba(255,255,255,.86); border-radius:22px; color:#39295f; background:linear-gradient(145deg,#fffaf7 0%,#f2eaff 58%,#e3ddff 100%); box-shadow:0 15px 26px rgba(50,27,112,.24),0 5px 10px rgba(50,27,112,.10),inset 0 3px 0 rgba(255,255,255,.98),inset 0 -5px 0 rgba(90,58,151,.08); }
.sd-user-card::after { content:""; position:absolute; right:10px; top:9px; width:8px; height:8px; border-radius:50%; background:#72dd9f; border:2px solid #fff; box-shadow:0 0 0 3px rgba(114,221,159,.18); }
.sd-user-avatar { width:60px; height:60px; object-fit:cover; border-radius:50%; border:4px solid rgba(255,255,255,.97); box-shadow:0 9px 18px rgba(48,26,103,.25),inset 0 1px 0 #fff; }
.sd-user-copy { min-width:0; display:grid; gap:2px; padding-right:8px; }
.sd-user-card strong { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; overflow-wrap:anywhere; font-size:15px; line-height:1.22; }
.sd-user-card span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:#786a91; }
.sd-trial-badge { display:inline-flex; width:max-content; max-width:100%; align-items:center; gap:5px; padding:6px 10px; border:1px solid rgba(255,255,255,.92); border-radius:999px; color:#6841bb; background:linear-gradient(145deg,#fff,#efe5ff); box-shadow:0 6px 13px rgba(70,40,143,.14),inset 0 2px 0 #fff; font-size:11px; line-height:1.2; font-weight:850; white-space:normal; }
.sd-trial-badge b { color:#e8a343; }
.sd-user-card .sd-trial-sidebar { display:inline-flex; margin-top:4px; padding:4px 7px; color:#6841bb; font-size:9px; white-space:normal; }
.sd-user-card .sd-trial-sidebar span { color:inherit; font-size:inherit; white-space:inherit; }
.sd-trial-mobile { display:none; }
.sd-trial-setup { margin-bottom:14px; }
.sd-nav { display:grid; gap:10px; margin-top:14px; }
.sd-nav .sd-nav-item { --nav-a:#fff8f5; --nav-b:#eadfff; --nav-ink:#493970; --nav-accent:#8b63e5; width:100%; min-height:64px; padding:9px 10px; border:2px solid rgba(255,255,255,.87); border-radius:20px; display:grid; grid-template-columns:46px minmax(0,1fr) 22px; align-items:center; gap:10px; color:var(--nav-ink); background:linear-gradient(145deg,var(--nav-a),var(--nav-b)); box-shadow:0 13px 22px rgba(46,25,105,.21),0 4px 8px rgba(46,25,105,.08),inset 0 3px 0 rgba(255,255,255,.98),inset 0 -6px 0 color-mix(in srgb,var(--nav-accent) 10%,transparent); cursor:pointer; font-weight:900; text-align:left; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.sd-nav .sd-nav-today { --nav-a:#fff4f6; --nav-b:#ffdce8; --nav-ink:#9b315d; --nav-accent:#ed6d9d; }
.sd-nav .sd-nav-schedule { --nav-a:#f8f2ff; --nav-b:#dfd2ff; --nav-ink:#5a389f; --nav-accent:#8b61e8; }
.sd-nav .sd-nav-results { --nav-a:#eef7ff; --nav-b:#cfddff; --nav-ink:#315c9b; --nav-accent:#5f91e7; }
.sd-nav .sd-nav-exam { --nav-a:#fff5f4; --nav-b:#ffd7d1; --nav-ink:#9a4038; --nav-accent:#e86f62; }
.sd-nav .sd-nav-profile { --nav-a:#fff8ed; --nav-b:#ffe0b4; --nav-ink:#925a23; --nav-accent:#eda755; }
.sd-nav-icon { width:46px; height:46px; display:grid; place-items:center; flex:0 0 auto; border:2px solid rgba(255,255,255,.92); border-radius:15px; background:linear-gradient(145deg,#fff,#f7f1ff); box-shadow:0 8px 14px color-mix(in srgb,var(--nav-accent) 22%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--nav-accent) 10%,transparent); }
.sd-nav-icon img { width:36px; height:36px; object-fit:contain; filter:drop-shadow(0 4px 6px rgba(57,36,111,.17)); }
.sd-nav-label { min-width:0; display:block; font-size:16px; line-height:1.2; }
.sd-nav-arrow { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:var(--nav-accent); background:rgba(255,255,255,.68); box-shadow:inset 0 1px 0 #fff,0 4px 8px color-mix(in srgb,var(--nav-accent) 16%,transparent); font-size:17px; line-height:1; }
.sd-nav .sd-nav-item:hover { transform:translateX(3px) translateY(-2px); filter:brightness(1.035) saturate(1.04); box-shadow:0 17px 29px rgba(46,25,105,.26),0 6px 10px rgba(46,25,105,.09),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--nav-accent) 12%,transparent); }
.sd-nav .sd-nav-item:active { transform:translateX(2px) translateY(2px); box-shadow:0 7px 12px rgba(46,25,105,.16),inset 0 2px 0 #fff,inset 0 -3px 0 color-mix(in srgb,var(--nav-accent) 13%,transparent); }
.sd-nav .sd-nav-item.is-active { color:#fff; border-color:rgba(255,255,255,.96); background:linear-gradient(145deg,color-mix(in srgb,var(--nav-accent) 76%,#fff),var(--nav-accent)); box-shadow:0 18px 31px color-mix(in srgb,var(--nav-accent) 42%,transparent),0 7px 11px rgba(43,21,97,.15),inset 0 3px 0 rgba(255,255,255,.46),inset 0 -7px 0 rgba(56,24,125,.16); transform:translateX(5px) translateY(-1px); }
.sd-nav .sd-nav-item.is-active .sd-nav-icon { background:linear-gradient(145deg,#fff,#f6f0ff); box-shadow:0 9px 16px rgba(49,25,105,.18),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--nav-accent) 12%,transparent); }
.sd-nav .sd-nav-item.is-active .sd-nav-arrow { color:var(--nav-accent); background:#fff; box-shadow:0 5px 10px rgba(44,21,99,.18),inset 0 1px 0 #fff; }
.sd-encourage { position:relative; margin-top:auto; min-height:90px; padding:10px 11px; border:2px solid rgba(255,255,255,.78); border-radius:22px; display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; gap:7px; color:#403064; background:linear-gradient(145deg,#fff8f4,#e8e0ff 58%,#dcecff); box-shadow:0 14px 25px rgba(51,27,112,.19),inset 0 3px 0 rgba(255,255,255,.96),inset 0 -5px 0 rgba(91,61,151,.07); overflow:hidden; }
.sd-encourage::before { content:""; position:absolute; right:-12px; top:-16px; width:56px; height:56px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.74),rgba(255,255,255,0) 70%); }
.sd-encourage img { width:70px; height:70px; object-fit:contain; filter:drop-shadow(0 9px 13px rgba(38,55,133,.26)); }
.sd-encourage p { font-size:11px; line-height:1.38; text-align:left; }
.sd-encourage strong { display:block; color:#6848bd; font-size:13px; }
.sd-content { width: 100%; min-width: 0; padding: 1px 0 28px; }
.sd-view { display: none; }
.sd-view.is-active { display: block; animation: sdFade .22s ease; }
@keyframes sdFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sd-card, .sd-page-head, .sd-setup-card { border: 0; box-shadow: 0 22px 50px rgba(77,51,136,.14), 0 5px 14px rgba(77,51,136,.08), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -2px 0 rgba(112,83,177,.06); }
.sd-kicker { display: inline-block; margin-bottom: 8px; color: #7654d2; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.sd-chips span { padding: 8px 13px; border-radius: 13px; color: #4d4376; background: rgba(255,255,255,.8); box-shadow: 0 7px 16px rgba(80,57,136,.1), inset 0 1px 0 #fff; font-weight: 750; font-size: 13px; }
#jlpt180-study-director .sd-primary { display:inline-flex; min-height:52px; align-items:center; justify-content:center; padding:0 24px; border:2px solid rgba(255,255,255,.92); border-radius:18px; color:#fff !important; background:linear-gradient(145deg,#a180f3 0%,#8058df 56%,#6840c5 100%); box-shadow:0 16px 28px rgba(84,48,177,.34),0 6px 10px rgba(84,48,177,.15),inset 0 3px 0 rgba(255,255,255,.42),inset 0 -6px 0 rgba(57,27,137,.22); font-weight:950; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
#jlpt180-study-director .sd-primary:hover { transform:translateY(-3px); filter:saturate(1.05); box-shadow:0 21px 34px rgba(84,48,177,.38),0 8px 13px rgba(84,48,177,.17),inset 0 3px 0 rgba(255,255,255,.44),inset 0 -6px 0 rgba(57,27,137,.22); }
#jlpt180-study-director .sd-primary:active { transform:translateY(2px); box-shadow:0 8px 14px rgba(84,48,177,.22),inset 0 2px 0 rgba(255,255,255,.32),inset 0 -3px 0 rgba(57,27,137,.20); }
.sd-primary:disabled { opacity: .55; cursor: wait; }
.sd-primary.sd-large { min-height: 56px; padding-inline: 28px; font-size: 17px; }
.sd-card { position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg,rgba(255,253,249,.98),rgba(244,237,255,.95)); }
.sd-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.98), inset 0 -2px 0 rgba(102,73,165,.05); }

.sd-today-command {
  position:relative; isolation:isolate; overflow:hidden;
  min-height:0; display:grid; grid-template-columns:minmax(0,1fr) clamp(300px,25vw,370px); align-items:center; gap:clamp(14px,2vw,24px);
  padding:clamp(16px,1.35vw,21px); border:2px solid rgba(255,255,255,.90); border-radius:29px;
  background:
    radial-gradient(circle at 86% 22%,rgba(255,190,220,.58),transparent 22%),
    radial-gradient(circle at 72% 75%,rgba(174,220,255,.28),transparent 25%),
    radial-gradient(circle at 8% 115%,rgba(166,133,242,.28),transparent 37%),
    linear-gradient(132deg,#fff8ef 0%,#f8ecff 44%,#e8e5ff 72%,#e5f4ff 100%);
  box-shadow:0 24px 50px rgba(73,46,137,.20),0 8px 16px rgba(73,46,137,.10),inset 0 3px 0 rgba(255,255,255,.98),inset 0 -6px 0 rgba(105,74,171,.07);
}
.sd-today-command::before { content:""; position:absolute; inset:7px; z-index:-1; border-radius:18px; border:1px solid rgba(255,255,255,.64); pointer-events:none; }
.sd-today-command::after { content:""; position:absolute; right:clamp(22px,4vw,64px); top:50%; width:clamp(60px,5.5vw,88px); aspect-ratio:1; transform:translateY(-50%); border-radius:36% 64% 58% 42% / 48% 42% 58% 52%; background:linear-gradient(145deg,rgba(255,255,255,.54),rgba(202,179,250,.28)); box-shadow:0 15px 29px rgba(93,57,164,.10),inset 0 2px 0 rgba(255,255,255,.76),inset 0 -4px 8px rgba(105,73,168,.07); opacity:.66; pointer-events:none; }
.sd-command-copy { position:relative; z-index:1; width:100%; min-width:0; }
.sd-command-art { position:relative; z-index:1; align-self:center; width:100%; height:clamp(250px,17vw,295px); min-height:0; border:2px solid rgba(255,255,255,.88); border-radius:25px; overflow:hidden; background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(231,222,255,.78)); box-shadow:0 17px 30px rgba(89,62,153,.16),inset 0 3px 0 rgba(255,255,255,.98),inset 0 -5px 0 rgba(88,60,145,.06); }
.sd-command-art::before { content:""; position:absolute; inset:7px; border-radius:18px; border:1px solid rgba(255,255,255,.62); pointer-events:none; }
.sd-command-art img { width:100%; height:100%; object-fit:cover; }
.sd-command-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.sd-command-badges span { padding: 6px 10px; border-radius: 999px; color: #6949c2; background: rgba(255,255,255,.74); box-shadow: 0 6px 13px rgba(83,56,141,.08), inset 0 1px 0 #fff; font-size: 10px; font-weight: 900; }
.sd-command-eyebrow { color: #7b58d3; font-size: 9px; font-weight: 950; letter-spacing: .11em; }
.sd-today-command h1 { max-width: 680px; margin-top: 1px !important; font-size: clamp(24px,2vw,32px); line-height: 1.07; letter-spacing: -.022em; }
.sd-command-summary { margin-top: 5px !important; color: #665d7c; font-size: 13px; font-weight: 750; }
.sd-command-route { margin-top: 4px; color: #887e9d; font-size: 11px; font-weight: 700; }
.sd-command-cta { min-width: 168px; min-height: 42px; margin-top: 9px; font-size: 14px; }
.sd-command-progress { max-width: 540px; margin-top: 8px; }
.sd-command-progress > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #716786; font-size: 11px; font-weight: 800; }
.sd-command-progress strong { color: #6945c9; }
.sd-session-progress { height: 7px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: rgba(128,101,177,.16); box-shadow: inset 0 2px 4px rgba(83,58,130,.10), 0 1px 0 rgba(255,255,255,.84); }
.sd-session-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8f6ae5,#c2a0f4); transition: width .25s ease; box-shadow: 0 0 12px rgba(139,96,227,.24); }

.sd-today-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,340px); gap:16px; align-items:start; margin-top:12px; }
.sd-quest-board { min-width:0; padding:0; background:transparent; box-shadow:none; overflow:visible; }
.sd-quest-board::before { display:none; }
.sd-quest-board-head { display:flex; align-items:end; justify-content:space-between; gap:16px; margin:0 2px 11px; }
.sd-quest-title-wrap { display:flex; align-items:center; gap:12px; }
.sd-quest-head-icon { width:52px; height:52px; object-fit:contain; filter: drop-shadow(0 10px 16px rgba(80,57,136,.16)); }
.sd-quest-board-head span { display:block; color:#7a56d1; font-size:9px; font-weight:950; letter-spacing:.10em; }
.sd-quest-board-head h2 { margin-top:2px !important; font-size:clamp(23px,2vw,29px); letter-spacing:-.02em; }
.sd-quest-board-head p { color:#8c829e; font-size:11px; }
.sd-task-list { position:relative; display:grid; gap:11px; margin:0; padding:0; list-style:none; }
.sd-task-list::before { content:""; position:absolute; top:44px; bottom:44px; left:27px; width:6px; border-radius:99px; background:linear-gradient(180deg,#8c63df 0 32%,#72bf93 32% 66%,#e8a267 66% 100%); box-shadow:0 0 0 4px rgba(255,255,255,.52),0 8px 18px rgba(89,57,153,.10); opacity:.9; }
.sd-task { position:relative; min-height:92px; display:grid; grid-template-columns:54px 52px minmax(0,1fr) auto; gap:13px; align-items:center; padding:14px 16px; overflow:hidden; border:2px solid rgba(255,255,255,.88); border-radius:26px; background:linear-gradient(145deg,#fffaf4,#e9ddff); box-shadow:0 18px 34px rgba(72,47,132,.17),0 6px 12px rgba(72,47,132,.08),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(88,60,145,.065); transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.sd-task::before { content:""; position:absolute; inset:7px; border-radius:19px; border:1px solid rgba(255,255,255,.62); pointer-events:none; }
.sd-task:hover { transform:translateY(-3px); filter:saturate(1.04); box-shadow:0 24px 42px rgba(72,47,132,.21),0 8px 14px rgba(72,47,132,.09),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(88,60,145,.065); }
.sd-task:nth-child(2) { background:linear-gradient(145deg,#fbfff9,#d8f3e4); }
.sd-task:nth-child(3) { background:linear-gradient(145deg,#fff9f2,#ffd9bd); }
.sd-task:nth-child(4) { background:linear-gradient(145deg,#f8fcff,#d7eaff); }
.sd-task-index { position:relative; z-index:2; width:54px; height:54px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.88); border-radius:20px; color:#6d4bc7; background:linear-gradient(145deg,#f7f1ff,#cdbbff); box-shadow:0 13px 23px rgba(83,55,151,.23),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(91,64,155,.10); font-weight:950; font-size:18px; }
.sd-task:nth-child(2) .sd-task-index { color:#25855a; background:linear-gradient(145deg,#effcf4,#ccebd9); }
.sd-task:nth-child(3) .sd-task-index { color:#c96c2f; background:linear-gradient(145deg,#fff4e9,#ffd5b4); }
.sd-task:nth-child(4) .sd-task-index { color:#3775c2; background:linear-gradient(145deg,#f1f7ff,#cee2ff); }
.sd-task-icon { width:48px; height:48px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.86); border-radius:17px; background:linear-gradient(145deg,#fff,#eee7ff); box-shadow:0 10px 18px rgba(75,52,128,.14),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(91,64,155,.06); }
.sd-task-icon img { width:38px; height:38px; object-fit:contain; filter: drop-shadow(0 5px 8px rgba(75,52,128,.12)); }
.sd-task-main { position:relative; z-index:1; min-width:0; }
a.sd-task-main { cursor:pointer; }
.sd-task-main[aria-disabled="true"] { cursor:default; }
.sd-task-main strong { display:block; color:#302454; font-size:16px; line-height:1.3; }
.sd-task-main small { display:block; margin-top:3px; color:#887e9b; font-size:11px; }
.sd-task-meta { position:relative; z-index:1; display:grid; justify-items:end; gap:6px; }
.sd-task-state { padding:5px 9px; border-radius:999px; color:#766b89; background:rgba(255,255,255,.74); box-shadow:inset 0 1px 0 #fff,0 5px 10px rgba(75,52,128,.07); font-size:9px; font-weight:900; white-space:nowrap; }
.sd-task-time { color:#635879; font-size:11px; font-weight:850; white-space:nowrap; }
.sd-task.is-done { opacity:.67; filter:saturate(.72); }
.sd-task.is-done .sd-task-state { color:#277f55; background:#e5f7ec; }
.sd-task.is-done .sd-task-index::after { content:"✓"; position:absolute; right:-5px; bottom:-5px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#42a974; box-shadow:0 4px 9px rgba(38,124,83,.24),0 0 0 3px rgba(255,255,255,.88); font-size:11px; }
.sd-task.is-error-review { background:linear-gradient(145deg,#fffaf0,#ffe5c6); box-shadow:0 15px 30px rgba(175,98,36,.13),0 4px 10px rgba(175,98,36,.055),inset 0 2px 0 #fff; }
.sd-task.is-error-review .sd-task-index { color:#b55d23; background:linear-gradient(145deg,#fff2e0,#ffc98f); }
.sd-task.is-scheduled-practice { background:linear-gradient(145deg,#f7fbff,#d9eaff 52%,#eadcff); box-shadow:0 17px 34px rgba(62,100,170,.16),0 5px 11px rgba(83,55,151,.07),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(66,104,175,.06); }
.sd-task.is-scheduled-practice .sd-task-index { color:#356fb7; background:linear-gradient(145deg,#f2f8ff,#c8ddff); }
.sd-task.is-scheduled-practice .sd-task-state { color:#356fb7; background:#edf5ff; }
.sd-task.is-active-step { transform:translateY(-2px); background:linear-gradient(145deg,#fff,#dfd0ff); box-shadow:0 22px 40px rgba(77,45,153,.22),0 6px 13px rgba(77,45,153,.09),inset 0 2px 0 #fff,inset 6px 0 0 #8a60e0; }
.sd-task.is-active-step .sd-task-index { color:#fff; background:linear-gradient(145deg,#a17ef0,#7047d2); box-shadow:0 12px 22px rgba(78,48,157,.28),inset 0 2px 0 rgba(255,255,255,.35); }
.sd-task.is-active-step .sd-task-state { color:#fff; background:linear-gradient(145deg,#9875ea,#7149d4); box-shadow:0 7px 14px rgba(78,48,157,.19); }
.sd-task.is-active-step .sd-task-main small { color:#7357c4; font-weight:800; }
.sd-session-note { margin-top:10px; padding:10px 12px; border-radius:15px; color:#746a89; background:rgba(244,238,255,.76); box-shadow:inset 0 1px 0 #fff; font-size:11px; line-height:1.5; }
.sd-today-aside { display:block; align-self:start; }
.sd-clay-mini-card { position:relative; overflow:hidden; padding:17px; border:2px solid rgba(255,255,255,.88); border-radius:24px; background:linear-gradient(145deg,#fffaf3,#e7ddff); box-shadow:0 20px 38px rgba(72,47,132,.18),0 7px 13px rgba(72,47,132,.08),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(88,60,145,.065); }
.sd-clay-mini-card::before { content:""; position:absolute; inset:8px; border-radius:18px; border:1px solid rgba(255,255,255,.62); pointer-events:none; }
.sd-clay-mini-card > * { position:relative; z-index:1; }
.sd-clay-mini-card > span { display:block; color:#7b57d2; font-size:10px; font-weight:950; letter-spacing:.08em; }
.sd-tomorrow-preview { display:block; margin:0; background:radial-gradient(circle at 92% 12%,rgba(255,255,255,.72),transparent 24%),linear-gradient(145deg,#fbfff8,#d5f1e1); }
.sd-tomorrow-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.sd-tomorrow-icon { width:54px; height:54px; object-fit:contain; flex:0 0 auto; filter: drop-shadow(0 7px 10px rgba(80,57,136,.12)); }
.sd-tomorrow-preview strong { display:block; margin-top:7px; font-size:15px; line-height:1.42; overflow-wrap:normal; word-break:normal; }
.sd-tomorrow-preview small { display:block; margin-top:7px; color:#81778f; font-size:11px; }
.sd-tomorrow-preview .sd-secondary { width:100%; margin-top:16px; }

.sd-schedule-hero {
  position:relative; overflow:hidden; min-height:220px; display:grid;
  grid-template-columns:minmax(0,1fr) clamp(190px,18vw,270px); align-items:center; gap:24px;
  padding:clamp(24px,2.7vw,38px); border:2px solid rgba(255,255,255,.90); border-radius:31px;
  background:
    radial-gradient(circle at 91% 18%,rgba(191,166,252,.52),transparent 28%),
    radial-gradient(circle at 76% 100%,rgba(255,197,225,.38),transparent 34%),
    radial-gradient(circle at 5% 110%,rgba(167,217,255,.24),transparent 32%),
    linear-gradient(135deg,#fff8ef 0%,#f4ebff 52%,#e7ddff 76%,#e8f4ff 100%);
  box-shadow:0 24px 52px rgba(77,51,136,.19),0 8px 16px rgba(77,51,136,.09),inset 0 3px 0 rgba(255,255,255,.99),inset 0 -6px 0 rgba(106,75,168,.06);
}
.sd-schedule-hero::before { content:""; position:absolute; inset:7px; border:1px solid rgba(255,255,255,.68); border-radius:24px; pointer-events:none; }
.sd-schedule-hero-copy { position:relative; z-index:1; min-width:0; }
.sd-schedule-hero h1 { max-width:900px; font-size:clamp(30px,3.3vw,50px); line-height:1.08; letter-spacing:-.028em; }
.sd-schedule-hero p { margin-top:8px !important; color:#746b89; font-size:15px; }
.sd-schedule-progress { max-width:650px; margin-top:22px; }
.sd-schedule-progress > div:first-child { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; color:#746a8b; font-size:12px; font-weight:850; }
.sd-schedule-progress strong { color:#6744c7; }
.sd-schedule-hero-art { position:relative; z-index:1; display:grid; place-items:center; min-height:165px; }
.sd-schedule-hero-art img { width:min(260px,100%); max-height:230px; object-fit:contain; filter:drop-shadow(0 18px 24px rgba(78,48,151,.18)); }

.sd-route-overview {
  margin-top:16px; padding:clamp(19px,2vw,27px); overflow:hidden;
  border:2px solid rgba(255,255,255,.90); border-radius:30px;
  background:radial-gradient(circle at 12% 88%,rgba(255,212,229,.36),transparent 30%),linear-gradient(145deg,#fffaf3,#eee4ff 66%,#e7f2ff);
  box-shadow:0 22px 46px rgba(75,50,132,.17),0 7px 14px rgba(75,50,132,.08),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(103,74,164,.06);
}
.sd-route-overview-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.sd-route-overview-head > div { min-width:0; }
.sd-route-overview-head span { display:block; color:#7854d1; font-size:10px; font-weight:950; letter-spacing:.09em; }
.sd-route-overview-head h2 { margin-top:3px !important; font-size:clamp(23px,2vw,31px); line-height:1.14; }
#jlpt180-study-director .sd-route-change-link { flex:0 0 auto; min-height:40px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 14px 0 10px; border:1px solid rgba(255,255,255,.78); border-radius:15px; color:#6545bf; background:linear-gradient(145deg,#fffdf9,#eee6ff); box-shadow:0 9px 18px rgba(80,57,136,.12),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(93,64,151,.08); font-weight:900; font-size:11px; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease; }
#jlpt180-study-director .sd-route-change-link:hover { transform:translateY(-2px); box-shadow:0 13px 23px rgba(80,57,136,.16),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(93,64,151,.08); }
#jlpt180-study-director .sd-route-change-link img { width:28px; height:28px; object-fit:contain; filter:drop-shadow(0 4px 6px rgba(76,51,132,.13)); }
#jlpt180-study-director .sd-route-change-link span { display:inline; color:inherit; font-size:inherit; letter-spacing:0; }
.sd-route-overview-body { display:grid; grid-template-columns:minmax(180px,220px) minmax(0,1fr); gap:18px; align-items:stretch; margin-top:16px; }
.sd-route-overview-art { min-height:188px; padding:14px; display:grid; align-content:center; justify-items:center; gap:8px; border:2px solid rgba(255,255,255,.86); border-radius:24px; background:linear-gradient(145deg,rgba(228,214,255,.90),rgba(255,232,244,.82)); box-shadow:0 15px 28px rgba(78,51,137,.13),inset 0 3px 0 rgba(255,255,255,.96),inset 0 -5px 0 rgba(97,68,157,.05); }
.sd-route-overview-art img { width:100%; max-width:170px; max-height:145px; object-fit:contain; filter:drop-shadow(0 14px 22px rgba(81,55,140,.14)); }
.sd-route-overview-art div { display:grid; justify-items:center; gap:1px; text-align:center; }
.sd-route-overview-art strong { color:#392b68; font-size:15px; }
.sd-route-overview-art span { color:#685f7b; font-size:11px; font-weight:750; }
#jlpt180-study-director .sd-route-milestones { display:grid; grid-template-columns:repeat(3,minmax(210px,1fr)); gap:12px; align-content:center; }
#jlpt180-study-director .sd-route-milestone { position:relative; min-width:0; height:auto; min-height:116px; display:flex; align-items:center; gap:13px; padding:14px 16px; overflow:hidden; border:2px solid rgba(255,255,255,.88); border-radius:23px; box-shadow:0 17px 31px rgba(72,49,126,.16),0 5px 10px rgba(72,49,126,.07),inset 0 3px 0 rgba(255,255,255,.96),inset 0 -5px 0 rgba(97,68,157,.06); }
#jlpt180-study-director .sd-route-milestone::after { content:""; position:absolute; inset:7px; border-radius:16px; border:1px solid rgba(255,255,255,.56); pointer-events:none; }
#jlpt180-study-director .sd-route-milestone.is-current { background:linear-gradient(145deg,#fffaf8,#dfd0ff); }
#jlpt180-study-director .sd-route-milestone.is-skills { background:linear-gradient(145deg,#fafffc,#d7f0e2); }
#jlpt180-study-director .sd-route-milestone.is-exam { background:linear-gradient(145deg,#fffaf6,#ffd9bd); }
#jlpt180-study-director .sd-route-milestone-icon { position:relative; z-index:1; flex:0 0 66px; width:66px; height:66px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.82); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(243,237,255,.82)); box-shadow:0 10px 20px rgba(72,49,126,.12),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(91,64,155,.07); }
#jlpt180-study-director .sd-route-milestone-icon img { width:56px; height:56px; object-fit:contain; filter:drop-shadow(0 8px 12px rgba(76,51,132,.14)); }
#jlpt180-study-director .sd-route-milestone-copy { position:relative; z-index:1; min-width:0; }
#jlpt180-study-director .sd-route-milestone-copy span { display:block; color:#665c78; font-size:11px; font-weight:900; }
#jlpt180-study-director .sd-route-milestone-copy strong { display:block; margin-top:2px; color:#312650; font-size:16px; line-height:1.25; white-space:normal; overflow-wrap:normal; word-break:normal; }
#jlpt180-study-director .sd-route-milestone-copy small { display:block; margin-top:5px; color:#6f667f; font-size:11px; font-weight:650; line-height:1.4; }

.sd-schedule-week-card,
.sd-journey-card { position:relative; isolation:isolate; margin-top:18px; padding:clamp(20px,2.2vw,30px); overflow:hidden; border:2px solid rgba(255,255,255,.92); border-radius:32px; box-shadow:0 25px 52px rgba(75,50,132,.18),0 8px 16px rgba(75,50,132,.09),inset 0 4px 0 #fff,inset 0 -7px 0 rgba(103,74,164,.06); }
.sd-schedule-week-card { background:radial-gradient(circle at 82% 10%,rgba(255,205,232,.44),transparent 22%),radial-gradient(circle at 96% 42%,rgba(190,227,255,.48),transparent 25%),linear-gradient(135deg,#fff9f0 0%,#f3e9ff 54%,#e8f4ff 100%); }
.sd-schedule-week-card::after { content:""; position:absolute; z-index:-1; right:24px; top:9px; width:120px; height:105px; background:url('images/sidebar_water_slime.webp') center/contain no-repeat; opacity:.22; filter:drop-shadow(0 12px 18px rgba(76,53,136,.12)); pointer-events:none; }
.sd-journey-card { background:radial-gradient(circle at 5% 88%,rgba(255,211,185,.38),transparent 25%),radial-gradient(circle at 94% 12%,rgba(200,230,255,.36),transparent 26%),linear-gradient(135deg,#fffaf1 0%,#f2e7ff 54%,#e7f5ee 100%); }
.sd-journey-card::after { content:""; position:absolute; z-index:-1; right:18px; top:9px; width:150px; height:120px; background:url('images/route_hero.webp') center/contain no-repeat; opacity:.16; filter:drop-shadow(0 14px 22px rgba(76,53,136,.13)); pointer-events:none; }
.sd-schedule-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.sd-schedule-section-title { display:flex; align-items:center; gap:13px; min-width:0; }
.sd-schedule-section-title img { width:58px; height:58px; object-fit:contain; filter:drop-shadow(0 9px 14px rgba(76,51,132,.15)); }
.sd-schedule-section-title span { display:block; color:#7854d1; font-size:10px; font-weight:950; letter-spacing:.09em; }
.sd-schedule-section-title h2 { margin-top:2px !important; font-size:clamp(24px,2.3vw,34px); }
.sd-schedule-section-head > p { color:#71677f; font-size:12px; font-weight:650; text-align:right; }
.sd-schedule-week-card .sd-week-list.is-large { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sd-schedule-week-card .sd-week-row { --week-accent:#8561df; --week-soft:#e7dcff; min-height:100px; grid-template-columns:70px minmax(0,1fr); gap:14px; padding:13px 16px; border:2px solid rgba(255,255,255,.92); border-radius:25px; background:linear-gradient(145deg,#fffdf9,var(--week-soft)); box-shadow:0 17px 31px color-mix(in srgb,var(--week-accent) 18%,transparent),0 5px 10px rgba(73,49,129,.07),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--week-accent) 8%,transparent); }
.sd-schedule-week-card .sd-week-row.tone-2 { --week-accent:#4fa77a; --week-soft:#ddf2e7; }
.sd-schedule-week-card .sd-week-row.tone-3 { --week-accent:#d58c37; --week-soft:#ffe8c9; }
.sd-schedule-week-card .sd-week-row.tone-4 { --week-accent:#568fd5; --week-soft:#dfeeff; }
.sd-schedule-week-card .sd-week-row.tone-5 { --week-accent:#d875a8; --week-soft:#f7dfea; }
.sd-schedule-week-card .sd-week-row.is-today { --week-accent:#7a4fda; --week-soft:#ddceff; transform:translateY(-2px); box-shadow:0 22px 38px rgba(91,55,170,.22),0 7px 12px rgba(73,49,129,.08),inset 0 3px 0 #fff,inset 6px 0 0 #865bdd; }
.sd-schedule-week-card .sd-week-row strong { font-size:17px; }
.sd-schedule-week-card .sd-week-row p { font-size:12px; }

#jlpt180-study-director .sd-journey-stages { display:grid; grid-template-columns:repeat(3,minmax(230px,1fr)); gap:14px; }
#jlpt180-study-director .sd-journey-stage { --stage-accent:#855fde; position:relative; min-width:0; height:auto; min-height:166px; display:flex; align-items:center; gap:14px; padding:18px; overflow:hidden; border:2px solid rgba(255,255,255,.92); border-radius:27px; background:radial-gradient(circle at 92% 8%,rgba(255,255,255,.72),transparent 22%),linear-gradient(145deg,#fff9f1,#e6d9ff); box-shadow:0 20px 38px color-mix(in srgb,var(--stage-accent) 18%,transparent),0 6px 12px rgba(73,49,129,.07),inset 0 4px 0 #fff,inset 0 -7px 0 color-mix(in srgb,var(--stage-accent) 8%,transparent); }
#jlpt180-study-director .sd-journey-stage::after { content:""; position:absolute; inset:7px; border:1px solid rgba(255,255,255,.62); border-radius:19px; pointer-events:none; }
#jlpt180-study-director .sd-journey-stage:nth-child(2) { --stage-accent:#48a878; background:radial-gradient(circle at 92% 8%,rgba(255,255,255,.72),transparent 22%),linear-gradient(145deg,#fafffc,#d9f1e4); }
#jlpt180-study-director .sd-journey-stage:nth-child(3) { --stage-accent:#e0883f; background:radial-gradient(circle at 92% 8%,rgba(255,255,255,.72),transparent 22%),linear-gradient(145deg,#fffaf6,#ffdec6); }
#jlpt180-study-director .sd-journey-stage-icon { position:relative; z-index:1; flex:0 0 72px; width:72px; height:72px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.82); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(243,237,255,.84)); box-shadow:0 11px 21px rgba(73,49,129,.12),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(101,72,162,.07); }
#jlpt180-study-director .sd-journey-stage-icon img { width:62px; height:62px; object-fit:contain; filter:drop-shadow(0 9px 13px rgba(76,51,132,.14)); }
#jlpt180-study-director .sd-journey-stage-copy { position:relative; z-index:1; min-width:0; padding-right:52px; }
#jlpt180-study-director .sd-journey-stage-copy > span { color:#6849bd; font-size:11px; font-weight:950; letter-spacing:.04em; }
#jlpt180-study-director .sd-journey-stage h3 { margin-top:3px !important; font-size:19px; line-height:1.2; }
#jlpt180-study-director .sd-journey-stage p { margin-top:6px !important; color:#61586f; font-size:12px; font-weight:620; line-height:1.45; }
#jlpt180-study-director .sd-stage-progress { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:9px; margin-top:12px; }
#jlpt180-study-director .sd-stage-progress > div { display:flex; align-items:center; gap:5px; color:var(--stage-accent); font-size:10px; font-weight:950; }
#jlpt180-study-director .sd-stage-progress i { color:#f3b735; font-size:12px; font-style:normal; filter:drop-shadow(0 3px 5px rgba(214,145,37,.20)); }
#jlpt180-study-director .sd-stage-progress > b { height:8px; overflow:hidden; border-radius:999px; background:rgba(86,62,137,.11); box-shadow:inset 0 2px 3px rgba(74,49,129,.10),0 1px 0 rgba(255,255,255,.84); }
#jlpt180-study-director .sd-stage-progress > b span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,color-mix(in srgb,var(--stage-accent) 78%,white),var(--stage-accent)); box-shadow:0 0 12px color-mix(in srgb,var(--stage-accent) 26%,transparent); }
#jlpt180-study-director .sd-stage-status { position:absolute; z-index:2; top:14px; right:14px; padding:6px 9px; border:1px solid rgba(255,255,255,.78); border-radius:999px; color:#756b87; background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(243,238,252,.84)); box-shadow:inset 0 1px 0 #fff,0 6px 13px rgba(73,49,129,.08); font-size:9px; }
#jlpt180-study-director .sd-journey-stage.is-current { transform:translateY(-3px); box-shadow:0 20px 36px rgba(75,48,143,.18),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(101,72,162,.05); }
#jlpt180-study-director .sd-journey-stage.is-current .sd-stage-status { color:#fff; background:linear-gradient(145deg,#9571e7,#7048d1); }
#jlpt180-study-director .sd-journey-stage.is-done { opacity:.74; filter:saturate(.8); }
#jlpt180-study-director .sd-journey-stage.is-done .sd-stage-status { color:#2a7d55; background:#e4f6eb; }

.sd-week-list { display:grid; gap:8px; }
.sd-week-row { --week-accent:#8561df; --week-soft:#eee7ff; min-height:72px; display:grid; grid-template-columns:54px minmax(0,1fr); align-items:center; gap:11px; padding:10px 12px; border:2px solid rgba(255,255,255,.86); border-radius:20px; background:linear-gradient(145deg,#fffdf9,var(--week-soft)); box-shadow:0 10px 21px color-mix(in srgb,var(--week-accent) 13%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--week-accent) 6%,transparent); }
.sd-week-calendar { position:relative; width:52px; height:55px; display:grid; place-items:center; padding-top:8px; border:2px solid rgba(255,255,255,.94); border-radius:17px; color:var(--week-accent); background:linear-gradient(145deg,#fff,#f7f1ff); box-shadow:0 9px 17px color-mix(in srgb,var(--week-accent) 17%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--week-accent) 8%,transparent); }
.sd-week-calendar::before,.sd-week-calendar::after { content:""; position:absolute; top:-4px; width:7px; height:13px; border-radius:5px; background:linear-gradient(#fff,var(--week-accent)); box-shadow:0 2px 4px rgba(76,51,132,.12); }
.sd-week-calendar::before { left:11px; }.sd-week-calendar::after { right:11px; }
.sd-week-calendar i { position:absolute; left:5px; right:5px; top:10px; height:5px; border-radius:999px; background:color-mix(in srgb,var(--week-accent) 45%,white); }
.sd-week-calendar b { font-size:21px; line-height:1; }
.sd-week-main { min-width:0; }
.sd-week-title-line { display:flex; align-items:center; gap:8px; min-width:0; }
.sd-week-title-line strong { color:#312551; font-size:15px; line-height:1.25; }
.sd-week-title-line em { flex:0 0 auto; padding:4px 7px; border-radius:999px; color:#fff; background:linear-gradient(145deg,#a583ef,#764bd4); box-shadow:0 6px 11px rgba(85,49,167,.18),inset 0 1px 0 rgba(255,255,255,.35); font-size:8px; font-style:normal; font-weight:950; }
.sd-week-title-line span { margin-left:auto; flex:0 0 auto; color:#766d86; font-size:10px; font-weight:750; }
.sd-week-row p { margin-top:5px !important; color:#5d5575; text-align:left; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.sd-phase-card { padding: 24px; }
.sd-profile-card { padding: clamp(18px,2vw,28px); background: linear-gradient(145deg,rgba(255,250,247,.98),rgba(239,230,255,.96)); }
.sd-profile-hero {
  position:relative; isolation:isolate; min-height:250px; display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,420px); align-items:center; gap:24px;
  padding:clamp(24px,2.6vw,38px); overflow:hidden; border:2px solid rgba(255,255,255,.86); border-radius:34px;
  background:linear-gradient(112deg,rgba(255,253,248,.98) 0%,rgba(255,248,244,.94) 42%,rgba(244,232,250,.88) 72%,rgba(229,220,255,.94) 100%);
  box-shadow:0 24px 52px rgba(72,47,132,.17),0 8px 18px rgba(72,47,132,.09),inset 0 3px 0 rgba(255,255,255,1),inset 0 -6px 0 rgba(105,73,168,.055);
}
.sd-profile-hero::before { content:""; position:absolute; inset:8px; z-index:-1; border:1px solid rgba(255,255,255,.94); border-radius:25px; box-shadow:inset 0 1px 0 rgba(255,255,255,.92); }
.sd-profile-hero::after { content:""; position:absolute; z-index:-1; left:0; bottom:-6px; width:72%; height:70%; background:linear-gradient(90deg,rgba(255,252,248,.96) 0%,rgba(255,252,248,.72) 38%,rgba(255,252,248,.04) 100%),url('images/setup_study_scene.webp') left bottom/contain no-repeat; opacity:.44; pointer-events:none; }
.sd-profile-hero-copy { position:relative; z-index:1; min-width:0; }
.sd-profile-hero-copy h1 { margin-top:5px !important; font-size:clamp(39px,4vw,60px); line-height:1.02; letter-spacing:-.042em; }
.sd-profile-hero-copy p { max-width:730px; margin-top:10px !important; color:#665d72; font-size:15px; line-height:1.58; }
.sd-profile-hero-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.sd-profile-hero-tags span { padding:7px 11px; border:1px solid rgba(255,255,255,.88); border-radius:999px; color:#694fb2; background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(239,231,255,.82)); box-shadow:0 8px 16px rgba(73,48,132,.09),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(101,72,161,.06); font-size:10px; font-weight:900; }
.sd-current-route-card { position:relative; z-index:2; min-height:145px; display:grid; grid-template-columns:108px minmax(0,1fr); align-items:center; gap:17px; padding:18px; overflow:hidden; border:2px solid rgba(155,121,230,.30); border-radius:29px; background:linear-gradient(145deg,rgba(252,248,255,.98),rgba(232,222,255,.96)); box-shadow:0 20px 38px rgba(74,45,139,.18),0 7px 14px rgba(74,45,139,.08),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(103,73,165,.07); }
.sd-current-route-card::after { content:""; position:absolute; width:150px; height:150px; right:-42px; top:-55px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.75),rgba(255,255,255,0) 72%); }
.sd-current-route-art { position:relative; z-index:1; width:104px; height:104px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.86); border-radius:27px; background:linear-gradient(145deg,#fff,#eee6ff); box-shadow:0 13px 24px rgba(56,32,126,.16),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(88,60,150,.06); }
.sd-current-route-art img { width:93px; height:93px; object-fit:contain; filter:drop-shadow(0 10px 15px rgba(58,35,129,.16)); }
.sd-current-route-copy { position:relative; z-index:1; min-width:0; }
.sd-current-route-card small { display:inline-flex; padding:6px 10px; border-radius:999px; color:#a34d72; background:linear-gradient(145deg,#fff7df,#ffe4ee); box-shadow:0 6px 12px rgba(91,54,124,.08),inset 0 1px 0 #fff; font-size:9px; font-weight:950; letter-spacing:.09em; }
.sd-current-route-card strong { display:block; margin-top:8px; color:#3d2c69; font-size:22px; line-height:1.25; }
.sd-current-route-card span { display:block; margin-top:5px; color:#796e8d; font-size:12px; line-height:1.45; }
.sd-results-hero {
  position:relative; isolation:isolate; min-height:220px; display:grid; grid-template-columns:minmax(0,1fr) 210px; align-items:center; gap:22px;
  padding:clamp(24px,2.8vw,40px); overflow:hidden; border:2px solid rgba(255,255,255,.90); border-radius:31px;
  background:radial-gradient(circle at 85% 22%,rgba(255,188,220,.52),transparent 25%),radial-gradient(circle at 68% 100%,rgba(175,225,255,.26),transparent 30%),linear-gradient(132deg,#fff8ef 0%,#f5e9ff 58%,#e8ddff 79%,#e8f4ff 100%);
  box-shadow:0 24px 52px rgba(73,48,132,.19),0 8px 16px rgba(73,48,132,.09),inset 0 3px 0 rgba(255,255,255,.99),inset 0 -6px 0 rgba(94,63,156,.06);
}
.sd-results-hero::before { content:""; position:absolute; inset:7px; z-index:-1; border-radius:23px; border:1px solid rgba(255,255,255,.68); pointer-events:none; }
.sd-results-hero-copy { position:relative; z-index:1; min-width:0; }
.sd-results-hero h1 { max-width:980px; font-size:clamp(31px,3.2vw,48px); line-height:1.08; letter-spacing:-.025em; }
.sd-results-title-mobile,.sd-results-subtitle-mobile { display:none; }
.sd-results-hero p { max-width:820px; margin-top:9px !important; color:#625971; font-size:14px; line-height:1.55; }
.sd-results-hero-art { position:relative; z-index:1; display:grid; place-items:center; }
.sd-results-hero-art img { width:180px; height:180px; object-fit:contain; filter:drop-shadow(0 18px 25px rgba(74,49,129,.16)); }
.sd-results-category-nav { position:sticky; top:10px; z-index:16; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:14px; padding:10px; border:2px solid rgba(255,255,255,.90); border-radius:26px; background:linear-gradient(145deg,rgba(255,252,249,.95),rgba(238,229,255,.94)); box-shadow:0 18px 36px rgba(73,48,132,.16),0 5px 11px rgba(73,48,132,.07),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(94,63,156,.05); backdrop-filter:blur(14px); }
.sd-results-category-nav button { --result-tab:#7650d4; min-width:0; min-height:72px; display:grid; grid-template-columns:48px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:10px; padding:10px 12px; border:2px solid rgba(255,255,255,.86); border-radius:20px; color:#3e315f; background:linear-gradient(145deg,#fffdfb,#eee6ff); box-shadow:0 9px 18px rgba(73,48,132,.10),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(94,63,156,.05); text-align:left; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
.sd-results-category-nav button:nth-child(2) { --result-tab:#8a5fd8; background:linear-gradient(145deg,#fffaff,#eadfff); }
.sd-results-category-nav button:nth-child(3) { --result-tab:#d48a32; background:linear-gradient(145deg,#fffaf1,#ffe6c9); }
.sd-results-category-nav button:nth-child(4) { --result-tab:#4d91cf; background:linear-gradient(145deg,#f8fcff,#dceeff); }
.sd-results-category-nav button:nth-child(5) { --result-tab:#db6d64; background:linear-gradient(145deg,#fff9f7,#ffddd8); }
.sd-results-category-nav button:hover { transform:translateY(-2px); filter:saturate(1.05); box-shadow:0 14px 24px color-mix(in srgb,var(--result-tab) 18%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--result-tab) 8%,transparent); }
.sd-results-category-nav button.is-active { color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--result-tab) 68%,white),var(--result-tab)); box-shadow:0 15px 28px color-mix(in srgb,var(--result-tab) 34%,transparent),inset 0 3px 0 rgba(255,255,255,.42),inset 0 -6px 0 rgba(56,27,124,.14); transform:translateY(-2px); }
.sd-results-category-nav button > span { grid-row:1/3; width:46px; height:46px; display:grid; place-items:center; border-radius:15px; background:rgba(255,255,255,.78); box-shadow:inset 0 1px 0 #fff,0 7px 13px rgba(75,52,128,.09); }
.sd-results-category-nav button > span img { width:39px; height:39px; object-fit:contain; }
.sd-results-category-nav button strong { min-width:0; font-size:12px; line-height:1.25; overflow-wrap:anywhere; }
.sd-results-category-nav button small { color:#7c7188; font-size:9px; font-weight:800; line-height:1.25; }
.sd-results-category-nav button.is-active small { color:rgba(255,255,255,.82); }
.sd-results-category-nav + [data-sd-results-category-panel] { margin-top:14px; }
.sd-source-result-panel.source-aurora { background:radial-gradient(circle at 9% 8%,rgba(204,190,255,.46),transparent 24%),linear-gradient(145deg,#fffaf5,#eee5ff 62%,#e7f3ff); }
.sd-source-result-panel.source-tkc { background:radial-gradient(circle at 92% 7%,rgba(255,217,167,.42),transparent 24%),linear-gradient(145deg,#fffaf3,#f7ebdc 60%,#eee5ff); }
.sd-source-result-panel.source-listening { background:radial-gradient(circle at 8% 8%,rgba(180,224,255,.42),transparent 24%),linear-gradient(145deg,#f8fcff,#e2efff 60%,#f1e7ff); }
.sd-source-result-summary { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.sd-source-result-summary > div { --source-accent:#7650d4; min-height:92px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center; gap:3px 8px; padding:14px; border:2px solid rgba(255,255,255,.90); border-radius:21px; background:linear-gradient(145deg,#fffdf9,#eee7ff); box-shadow:0 13px 25px color-mix(in srgb,var(--source-accent) 16%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 color-mix(in srgb,var(--source-accent) 7%,transparent); }
.sd-source-result-summary .is-day,.sd-source-result-summary .is-evidence { --source-accent:#4e8fd0; background:linear-gradient(145deg,#f8fcff,#ddeeff); }
.sd-source-result-summary .is-review,.sd-source-result-summary .is-due { --source-accent:#d58b31; background:linear-gradient(145deg,#fffaf2,#ffe4c6); }
.sd-source-result-summary .is-repeat { --source-accent:#d66469; background:linear-gradient(145deg,#fff8f8,#ffdcdf); }
.sd-source-result-summary .is-stable { --source-accent:#49a177; background:linear-gradient(145deg,#fbfffc,#dff3e8); }
.sd-source-result-summary .is-listening { --source-accent:#7c61d2; background:linear-gradient(145deg,#fffaff,#e8deff); }
.sd-source-result-summary span { color:#655b73; font-size:10px; font-weight:900; }
.sd-source-result-summary strong { justify-self:end; color:var(--source-accent); font-size:25px; line-height:1; }
.sd-source-result-summary small { grid-column:1/3; color:#776d82; font-size:9px; font-weight:750; }
.sd-source-review-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sd-source-review-card { --source-card:#7650d4; min-width:0; display:grid; gap:12px; padding:17px; border:2px solid rgba(255,255,255,.92); border-radius:26px; background:linear-gradient(145deg,#fffdf9,#eee6ff); box-shadow:0 18px 34px color-mix(in srgb,var(--source-card) 17%,transparent),0 6px 12px rgba(73,48,132,.06),inset 0 4px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--source-card) 7%,transparent); }
.sd-source-review-card.skill-grammar { --source-card:#49a177; background:linear-gradient(145deg,#fbfffc,#def3e8); }
.sd-source-review-card.skill-kanji { --source-card:#d58b31; background:linear-gradient(145deg,#fffaf2,#ffe4c7); }
.sd-source-review-card.skill-reading { --source-card:#4e8fd0; background:linear-gradient(145deg,#f8fcff,#ddeeff); }
.sd-source-review-card.skill-listening { --source-card:#b763ae; background:linear-gradient(145deg,#fff9fd,#f3dff0); }
.sd-source-review-card header { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:11px; }
.sd-source-review-icon { width:56px; height:56px; display:grid; place-items:center; border-radius:18px; background:rgba(255,255,255,.78); box-shadow:inset 0 1px 0 #fff,0 8px 15px rgba(75,52,128,.09); }
.sd-source-review-icon img { width:47px; height:47px; object-fit:contain; }
.sd-source-review-card header > div { min-width:0; }
.sd-source-review-card header small { display:block; color:#7c7186; font-size:9px; font-weight:850; }
.sd-source-review-card h3 { margin-top:4px !important; color:#30254f; font-size:15px; line-height:1.35; overflow-wrap:anywhere; }
.sd-source-review-card header > b { align-self:start; padding:5px 8px; border-radius:999px; color:var(--source-card); background:rgba(255,255,255,.72); font-size:8px; font-weight:950; white-space:nowrap; }
.sd-source-review-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.sd-source-review-metrics > div { min-height:61px; display:grid; align-content:center; justify-items:center; padding:8px 5px; border-radius:16px; background:rgba(255,255,255,.67); box-shadow:inset 0 1px 0 #fff; text-align:center; }
.sd-source-review-metrics strong { color:var(--source-card); font-size:18px; line-height:1.1; }
.sd-source-review-metrics span { margin-top:4px; color:#756b7e; font-size:8px; }
.sd-source-review-answer { display:grid; gap:6px; }
.sd-source-review-answer p { display:grid; grid-template-columns:66px minmax(0,1fr); gap:7px; padding:8px 10px; border-radius:14px; color:#5f566e; background:rgba(255,255,255,.62); font-size:10px; line-height:1.4; }
.sd-source-review-answer span { color:var(--source-card); font-weight:900; }
.sd-source-review-card footer { display:flex; align-items:end; justify-content:space-between; gap:12px; padding-top:10px; border-top:1px solid rgba(96,69,151,.10); }
.sd-source-review-card footer > div { min-width:0; }
.sd-source-review-card footer strong { display:block; color:#615677; font-size:10px; }
.sd-source-review-card footer small { display:block; margin-top:3px; color:#8a8193; font-size:9px; }
.sd-source-review-card footer a { flex:0 0 auto; min-height:39px; display:inline-flex; align-items:center; gap:7px; padding:8px 10px 8px 13px; border:2px solid rgba(255,255,255,.86); border-radius:14px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--source-card) 72%,white),var(--source-card)); box-shadow:0 10px 18px color-mix(in srgb,var(--source-card) 27%,transparent),inset 0 2px 0 rgba(255,255,255,.38),inset 0 -3px 0 rgba(57,27,137,.15); font-size:9px; font-weight:950; }
.sd-source-review-card footer a b { width:20px; height:20px; display:grid; place-items:center; border-radius:7px; background:rgba(255,255,255,.18); font-size:16px; }
.sd-source-result-empty { margin-top:0; }
.sd-result-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.sd-result-stat-grid.is-four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sd-result-stat { position:relative; min-height:122px; display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:13px; padding:16px 17px; overflow:hidden; border:2px solid rgba(255,255,255,.88); border-radius:23px; box-shadow:0 18px 34px rgba(73,48,132,.16),0 6px 11px rgba(73,48,132,.07),inset 0 3px 0 rgba(255,255,255,.98),inset 0 -6px 0 rgba(94,63,156,.065); }
.sd-result-stat::before { content:""; position:absolute; inset:7px; border-radius:16px; border:1px solid rgba(255,255,255,.68); pointer-events:none; }
.sd-result-stat.is-progress { background:linear-gradient(145deg,#fffdf9,#e7dcff); }
.sd-result-stat.is-review { background:linear-gradient(145deg,#fffaf3,#ffe0c6); }
.sd-result-stat.is-repeat { background:linear-gradient(145deg,#fff8f9,#ffdce6); }
.sd-result-stat.is-stable { background:linear-gradient(145deg,#fbfffc,#d9f3e5); }
.sd-result-stat-icon { position:relative; z-index:1; width:60px; height:60px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.88); border-radius:19px; background:linear-gradient(145deg,#fff,#eee7ff); box-shadow:0 11px 20px rgba(75,52,128,.14),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(91,64,155,.06); }
.sd-result-stat-icon img { width:48px; height:48px; object-fit:contain; filter:drop-shadow(0 6px 9px rgba(75,52,128,.12)); }
.sd-result-stat-copy { position:relative; z-index:1; min-width:0; }
.sd-result-stat-copy small { display:block; color:#655c74; font-size:10px; font-weight:900; }
.sd-result-stat-copy strong { display:block; margin-top:1px; color:#6541c5; font-size:31px; line-height:1.08; }
.sd-result-stat-copy p { margin-top:3px !important; color:#716779; font-size:10px; line-height:1.4; }
.sd-result-stat-bar { position:absolute; left:16px; right:16px; bottom:10px; height:5px; overflow:hidden; border-radius:999px; background:rgba(92,64,150,.10); box-shadow:inset 0 1px 2px rgba(75,50,132,.12); }
.sd-result-stat-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8760df,#b994f1); }
.sd-results-insight { position:relative; margin-top:14px; min-height:98px; display:grid; grid-template-columns:70px minmax(0,1fr); align-items:center; gap:14px; padding:15px 18px; border:2px solid rgba(255,255,255,.90); border-radius:24px; background:linear-gradient(145deg,#f7fcff,#d7eaff); box-shadow:0 18px 34px rgba(73,48,132,.14),0 5px 10px rgba(73,48,132,.06),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(94,63,156,.05); }
.sd-results-insight::before { content:""; position:absolute; inset:7px; border-radius:17px; border:1px solid rgba(255,255,255,.70); pointer-events:none; }
.sd-results-insight-icon { position:relative; z-index:1; width:64px; height:64px; display:grid; place-items:center; }
.sd-results-insight-icon img { width:62px; height:62px; object-fit:contain; filter:drop-shadow(0 8px 13px rgba(65,86,159,.16)); }
.sd-results-insight > div { position:relative; z-index:1; min-width:0; }
.sd-results-insight small { display:block; color:#5572b7; font-size:9px; font-weight:950; letter-spacing:.09em; }
.sd-results-insight strong { display:block; margin-top:2px; color:#2f3f72; font-size:15px; line-height:1.4; }
.sd-results-insight p { margin-top:3px !important; color:#5f6b87; font-size:11px; line-height:1.45; }
.sd-radar-panel { padding:20px; overflow:visible; background:radial-gradient(circle at 15% 12%,rgba(212,197,255,.42),transparent 24%),linear-gradient(145deg,#fff9f2,#eee5ff 58%,#e3f1ff); }
.sd-game-stats-layout { position:relative; z-index:1; display:grid; grid-template-columns:minmax(520px,1.02fr) minmax(440px,.98fr); gap:18px; align-items:stretch; }
.sd-game-radar { min-width:0; display:grid; gap:10px; }
.sd-game-radar-stage { position:relative; min-height:510px; overflow:hidden; border:2px solid rgba(255,255,255,.90); border-radius:31px; background:radial-gradient(circle at 50% 46%,rgba(255,255,255,.96),rgba(243,232,255,.86) 44%,rgba(224,240,255,.80) 100%); box-shadow:0 20px 40px rgba(73,48,132,.17),inset 0 3px 0 rgba(255,255,255,.99),inset 0 -6px 0 rgba(85,60,148,.06); }
.sd-game-radar-stage::before { content:""; position:absolute; inset:10px; border:1px solid rgba(255,255,255,.76); border-radius:23px; pointer-events:none; }
.sd-game-radar-stage::after { content:""; position:absolute; width:300px; height:300px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; background:radial-gradient(circle,rgba(142,105,232,.13),transparent 68%); filter:blur(4px); pointer-events:none; }
.sd-game-radar-svg { position:absolute; width:420px; height:420px; left:50%; top:50%; transform:translate(-50%,-50%); overflow:visible; z-index:1; }
.sd-game-radar-plate { fill:url(#sdRadarPlate); stroke:rgba(255,255,255,.95); stroke-width:7; filter:drop-shadow(0 18px 28px rgba(79,54,137,.18)); }
.sd-game-radar-ring { fill:none; stroke:rgba(118,96,174,.17); stroke-width:2; stroke-linejoin:round; filter:drop-shadow(0 2px 4px rgba(112,84,168,.06)); }
.sd-game-radar-axis { stroke:rgba(118,96,174,.12); stroke-width:1.4; stroke-linecap:round; }
.sd-game-radar-evidence-aura { fill:none; stroke:url(#sdRadarEvidence); stroke-width:12; stroke-linejoin:round; stroke-linecap:round; opacity:.16; filter:url(#sdRadarEvidenceGlow); }
.sd-game-radar-evidence-line { fill:rgba(242,177,132,.035); stroke:url(#sdRadarEvidence); stroke-width:3.2; stroke-linejoin:round; stroke-linecap:round; opacity:.86; filter:drop-shadow(0 4px 8px rgba(232,156,177,.18)); }
.sd-game-radar-score { fill:url(#sdRadarScore); stroke:#7d58db; stroke-width:3.2; stroke-linejoin:round; stroke-linecap:round; filter:url(#sdRadarGlow); transition:opacity .2s ease; }
.sd-game-radar-stage.is-collecting .sd-game-radar-score { opacity:.42; filter:none; }
.sd-game-radar-stage.is-assessed .sd-game-radar-score { opacity:1; }
.sd-game-radar-evidence-dot { fill:#f2b184; stroke:#fffaf5; stroke-width:2.5; filter:drop-shadow(0 4px 7px rgba(232,156,177,.28)); }
.sd-game-radar-dot { stroke-width:3; }
.sd-game-radar-dot.is-reliable { fill:var(--sd-skill-color,#8d67ea); stroke:#fff; filter:drop-shadow(0 5px 8px rgba(75,52,128,.24)); }
.sd-game-radar-dot.is-pending { fill:#fff; stroke:#a798bd; }
.sd-game-radar-core { position:absolute; z-index:3; left:50%; top:50%; transform:translate(-50%,-50%); width:82px; height:82px; display:grid; place-items:center; align-content:center; border-radius:50%; background:linear-gradient(145deg,#fffaf8,#dfd1ff); box-shadow:0 13px 24px rgba(76,49,141,.20),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(96,67,158,.07); text-align:center; }
.sd-game-radar-core::before { content:""; position:absolute; inset:6px; border-radius:50%; border:1px solid rgba(255,255,255,.85); }
.sd-game-radar-core img { position:relative; z-index:1; width:24px; height:24px; object-fit:contain; }
.sd-game-radar-core span,.sd-game-radar-core small { position:relative; z-index:1; display:block; max-width:68px; color:#7658c6; font-size:6.5px; font-weight:950; line-height:1.18; letter-spacing:.05em; }
.sd-game-radar-core strong { position:relative; z-index:1; display:block; color:#38275f; font-size:19px; line-height:1; }
.sd-game-skill-node { position:absolute; z-index:4; width:118px; display:grid; justify-items:center; gap:3px; text-align:center; }
.sd-game-skill-node.node-1 { left:50%; top:17px; transform:translateX(-50%); }
.sd-game-skill-node.node-2 { right:16px; top:140px; }
.sd-game-skill-node.node-3 { right:76px; bottom:18px; }
.sd-game-skill-node.node-4 { left:76px; bottom:18px; }
.sd-game-skill-node.node-5 { left:16px; top:140px; }
.sd-game-skill-orb { width:66px; height:66px; display:grid; place-items:center; border-radius:21px; background:linear-gradient(145deg,#fff,#eee7ff); border:2px solid rgba(255,255,255,.8); box-shadow:0 12px 22px rgba(73,48,132,.15),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(95,64,156,.06); }
.sd-game-skill-orb img { width:53px; height:53px; object-fit:contain; }
.sd-game-skill-node strong { color:#302454; font-size:13px; line-height:1.2; }
.sd-game-skill-node small { max-width:116px; padding:3px 8px; border-radius:999px; color:var(--sd-skill-color,#8d67ea); background:rgba(255,255,255,.82); box-shadow:inset 0 1px 0 #fff; font-size:8px; font-weight:950; line-height:1.25; white-space:normal; }
.sd-game-skill-node.is-pending { opacity:.68; filter:saturate(.62); }
.sd-game-skill-node.is-pending small { color:#766d82; }
.sd-game-radar-footnote { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; color:#5f566b; font-size:10px; font-weight:800; }
.sd-game-radar-footnote span { display:flex; align-items:center; gap:6px; }
.sd-game-radar-footnote i { width:18px; height:8px; border-radius:999px; }
.sd-game-radar-footnote i.is-score { background:linear-gradient(90deg,#8d67ea,#5fc7a3); }
.sd-game-radar-footnote i.is-evidence-soft { background:linear-gradient(90deg,#f2b184,#e89cb1); box-shadow:0 0 8px rgba(232,156,177,.28); opacity:.86; }
.sd-game-stat-panel { min-width:0; padding:17px; border-radius:28px; background:linear-gradient(145deg,#fffdfb,#eee7ff); box-shadow:0 16px 32px rgba(73,48,132,.10),inset 0 2px 0 rgba(255,255,255,.98),inset 0 -3px 0 rgba(94,63,156,.05); }
.sd-game-stat-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; }
.sd-game-stat-head span { display:block; color:#7958cc; font-size:9px; font-weight:950; letter-spacing:.08em; }
.sd-game-stat-head h3 { margin-top:2px !important; color:#2e214f; font-size:22px; }
.sd-game-stat-head em { padding:6px 10px; border-radius:999px; color:#6544bf; background:#eee5ff; font-size:10px; font-style:normal; font-weight:950; white-space:nowrap; }
.sd-game-stat-list { display:grid; gap:8px; }
.sd-game-stat-row { min-height:76px; display:grid; grid-template-columns:52px minmax(0,1fr) auto; gap:11px; align-items:center; padding:10px 11px; border-radius:20px; background:linear-gradient(145deg,#fff,#f1ebfb); box-shadow:0 8px 17px rgba(73,48,132,.07),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(94,63,156,.04); }
.sd-game-stat-row.is-reliable { box-shadow:0 10px 20px rgba(73,48,132,.10),inset 4px 0 0 var(--sd-skill-color),inset 0 1px 0 #fff; }
.sd-game-stat-row.is-pending { opacity:.83; }
.sd-game-stat-icon { width:50px; height:50px; display:grid; place-items:center; border-radius:16px; background:rgba(255,255,255,.82); box-shadow:inset 0 1px 0 #fff,0 7px 13px rgba(73,48,132,.08); }
.sd-game-stat-icon img { width:41px; height:41px; object-fit:contain; }
.sd-game-stat-copy { min-width:0; }
.sd-game-stat-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sd-game-stat-title strong { color:#312451; font-size:14px; }
.sd-game-stat-title span { color:var(--sd-skill-color,#8d67ea); font-size:11px; font-weight:950; white-space:nowrap; }
.sd-game-stat-row.is-pending .sd-game-stat-title span { color:#7d7489; }
.sd-game-stat-bar { height:7px; margin-top:6px; overflow:hidden; border-radius:999px; background:rgba(93,64,151,.11); box-shadow:inset 0 1px 2px rgba(72,48,128,.11); }
.sd-game-stat-bar span { display:block; height:100%; border-radius:inherit; }
.sd-game-stat-bar.is-score span { background:linear-gradient(90deg,var(--sd-skill-color),#c6b0f5); }
.sd-game-stat-bar.is-evidence span { background:linear-gradient(90deg,var(--sd-skill-color),rgba(255,255,255,.78)); opacity:.72; }
.sd-game-stat-copy p { margin-top:5px !important; color:#70667c; font-size:9px; line-height:1.4; }
.sd-game-stat-status { min-width:70px; padding:6px 9px; border-radius:999px; text-align:center; font-size:9px; font-weight:950; white-space:nowrap; box-shadow:inset 0 1px 0 #fff; }
.sd-game-stat-status.is-confirmed { color:#fff; background:var(--sd-skill-color,#8d67ea); box-shadow:0 7px 12px rgba(74,48,135,.14),inset 0 1px 0 rgba(255,255,255,.35); }
.sd-game-stat-status.is-missing { color:#786d86; background:#eee9f4; }
.sd-game-stat-rule { display:grid; grid-template-columns:58px minmax(0,1fr); gap:12px; align-items:center; margin-top:12px; padding:11px 12px; border-radius:20px; background:linear-gradient(145deg,#eef7ff,#dcecff); box-shadow:inset 0 1px 0 #fff; }
.sd-game-stat-rule img { width:56px; height:56px; object-fit:contain; }
.sd-game-stat-rule strong { display:block; color:#334a81; font-size:14px; }
.sd-game-stat-rule p { margin-top:3px !important; color:#5f6c8a; font-size:10px; line-height:1.45; }
.sd-exam-center-hero { min-height:142px; grid-template-columns:minmax(0,1fr) 132px; gap:16px; padding:18px 26px; border-radius:27px; background:radial-gradient(circle at 82% 18%,rgba(255,190,179,.46),transparent 27%),radial-gradient(circle at 18% 88%,rgba(182,218,255,.36),transparent 30%),linear-gradient(145deg,#fff9f5,#f0e6ff 55%,#e5f2ff); }
.sd-exam-center-hero .sd-kicker { color:#c85b50; font-size:11px; }
.sd-exam-center-hero .sd-results-hero-copy h1 { font-size:clamp(33px,3vw,45px); }
.sd-exam-center-hero .sd-results-hero-copy p { max-width:920px; margin-top:6px !important; font-size:14px; line-height:1.5; }
.sd-exam-center-hero .sd-results-hero-art { width:126px; height:106px; justify-self:end; overflow:hidden; border:2px solid rgba(255,255,255,.92); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,221,214,.82)); box-shadow:0 14px 25px rgba(217,104,91,.16),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(217,104,91,.08); }
.sd-exam-center-hero .sd-results-hero-art img { width:112px; height:112px; }
.sd-exam-level-workspace { margin-top:14px; padding:18px 20px 20px; border:3px solid rgba(255,255,255,.94); border-radius:29px; background:linear-gradient(145deg,rgba(255,252,248,.97),rgba(240,233,255,.95)); box-shadow:0 20px 40px rgba(76,53,137,.12),inset 0 4px 0 #fff,inset 0 -7px 0 rgba(108,78,174,.05); }
.sd-exam-level-head { margin-bottom:14px; }
.sd-exam-level-switch { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.sd-exam-level-tab { --level-accent:#7552d5; --level-soft:#eee7ff; position:relative; min-width:0; min-height:68px; display:grid; align-content:center; gap:3px; padding:10px 12px; border:3px solid rgba(255,255,255,.94); border-radius:20px; color:#4f4560; background:linear-gradient(145deg,#fff,var(--level-soft)); box-shadow:0 12px 22px color-mix(in srgb,var(--level-accent) 13%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 color-mix(in srgb,var(--level-accent) 7%,transparent); font:inherit; text-align:left; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.sd-exam-level-tab[data-route-level="N5"] { --level-accent:#5e9369; --level-soft:#eaf6ec; }
.sd-exam-level-tab[data-route-level="N4"] { --level-accent:#3d9f87; --level-soft:#e6f6f1; }
.sd-exam-level-tab[data-route-level="N3"] { --level-accent:#7552d5; --level-soft:#eee7ff; }
.sd-exam-level-tab[data-route-level="N2"] { --level-accent:#b97a20; --level-soft:#fff0d6; }
.sd-exam-level-tab[data-route-level="N1"] { --level-accent:#b84f68; --level-soft:#ffe7ec; }
.sd-exam-level-tab:hover { transform:translateY(-2px); box-shadow:0 16px 28px color-mix(in srgb,var(--level-accent) 20%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 color-mix(in srgb,var(--level-accent) 7%,transparent); }
.sd-exam-level-tab strong { color:var(--level-accent); font-size:20px; line-height:1; }
.sd-exam-level-tab small { color:#72687d; font-size:10px; font-weight:850; white-space:nowrap; }
.sd-exam-level-tab em { position:absolute; right:7px; top:7px; padding:4px 7px; border:2px solid #fff; border-radius:999px; color:#fff; background:var(--level-accent); box-shadow:0 6px 12px color-mix(in srgb,var(--level-accent) 24%,transparent); font-size:8px; font-style:normal; font-weight:950; }
.sd-exam-level-tab.is-active { border-color:color-mix(in srgb,var(--level-accent) 55%,white); outline:2px solid rgba(255,255,255,.82); transform:translateY(-2px); box-shadow:0 17px 30px color-mix(in srgb,var(--level-accent) 24%,transparent),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--level-accent) 11%,transparent); }
.sd-exam-level-tab.is-current-route::after { content:"✓"; position:absolute; right:-7px; bottom:-9px; width:27px; height:27px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:var(--level-accent); box-shadow:0 7px 14px rgba(69,44,126,.22); font-size:12px; font-weight:950; }
.sd-exam-unknown-note { display:flex; align-items:center; gap:10px; margin-top:12px; padding:10px 12px; border:2px solid rgba(255,255,255,.9); border-radius:16px; background:linear-gradient(145deg,#fffaf4,#f4edff); box-shadow:inset 0 2px 0 #fff,inset 0 -4px 0 rgba(91,65,148,.04); }
.sd-exam-unknown-note strong { color:#9a5f36; font-size:11px; white-space:nowrap; }
.sd-exam-unknown-note span { color:#72687d; font-size:10px; line-height:1.4; }
.sd-exam-level-panel[hidden] { display:none !important; }
.sd-exam-level-panel.is-active { display:block; animation:sdFade .18s ease; }
.sd-exam-catalog-panel { position:relative; margin-top:14px; padding:22px 23px 24px; overflow:hidden; border:3px solid rgba(118,83,211,.28); border-radius:34px; background:radial-gradient(circle at 92% 5%,rgba(255,170,205,.34),transparent 24%),radial-gradient(circle at 5% 94%,rgba(93,170,255,.30),transparent 28%),linear-gradient(145deg,#efe6ff 0%,#f5ebff 45%,#e4f2ff 100%); box-shadow:0 26px 52px rgba(67,47,129,.18),0 9px 20px rgba(67,47,129,.09),inset 0 4px 0 rgba(255,255,255,.82),inset 0 -10px 0 rgba(108,78,179,.10); }
.sd-exam-catalog-panel::before { content:""; position:absolute; inset:9px; border:2px solid rgba(255,255,255,.66); border-radius:25px; pointer-events:none; }
.sd-exam-catalog-head { position:relative; z-index:1; margin-bottom:13px; }
.sd-exam-catalog-head > p { max-width:560px; color:#463857; font-size:13px; line-height:1.5; font-weight:800; }
.sd-exam-catalog-priority { position:relative; z-index:2; display:flex; align-items:center; gap:8px; margin-bottom:12px; padding:10px 12px; border:2px solid rgba(118,83,211,.24); border-radius:19px; background:linear-gradient(145deg,#ddd0f7,#ede4ff); box-shadow:inset 0 2px 0 rgba(255,255,255,.74),0 8px 18px rgba(73,50,134,.11); overflow-x:auto; scrollbar-width:none; }
.sd-exam-catalog-priority::-webkit-scrollbar { display:none; }
.sd-exam-catalog-priority > strong { flex:0 0 auto; margin-right:2px; color:#3f3151; font-size:10px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.sd-exam-catalog-priority > span { --step:#7653d3; flex:0 0 auto; min-height:34px; display:inline-flex; align-items:center; gap:7px; padding:5px 12px 5px 6px; border:2px solid color-mix(in srgb,var(--step) 28%,#b8a5d8); border-radius:999px; color:color-mix(in srgb,var(--step) 92%,#22182c); background:linear-gradient(145deg,color-mix(in srgb,var(--step) 24%,#fff),color-mix(in srgb,var(--step) 15%,#f3ecff)); box-shadow:0 4px 0 color-mix(in srgb,var(--step) 18%,#cfc2df),0 7px 12px color-mix(in srgb,var(--step) 14%,transparent),inset 0 2px 0 rgba(255,255,255,.72); font-size:10px; font-weight:950; white-space:nowrap; }
.sd-exam-catalog-priority > span b { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--step); box-shadow:0 3px 0 color-mix(in srgb,var(--step) 70%,#3f3151); font-size:10px; }
.sd-exam-catalog-priority .is-recommended { --step:#7451d4; }
.sd-exam-catalog-priority .is-redo { --step:#d94f45; }
.sd-exam-catalog-priority .is-new { --step:#267fca; }
.sd-exam-catalog-priority .is-stable { --step:#258d5e; }
.sd-exam-catalog-filterbar { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px; }
.sd-exam-filter-row { min-width:0; display:flex; align-items:center; gap:8px; padding:9px; border:2px solid rgba(101,73,164,.22); border-radius:19px; background:linear-gradient(145deg,#dcd1f0,#eee6fb); box-shadow:inset 0 2px 0 rgba(255,255,255,.68),0 8px 18px rgba(73,50,134,.10); overflow-x:auto; scrollbar-width:none; }
.sd-exam-filter-row--state { background:linear-gradient(145deg,#d5e6f5,#e6f0fb); }
.sd-exam-filter-row::-webkit-scrollbar { display:none; }
.sd-exam-filter-label { flex:0 0 auto; min-width:64px; color:#3e3150; font-size:9px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.sd-exam-catalog-filter { --filter:#7653d3; flex:0 0 auto; min-height:40px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:7px 8px 7px 12px; border:2px solid color-mix(in srgb,var(--filter) 34%,#a99bbd); border-radius:14px; color:color-mix(in srgb,var(--filter) 92%,#221a2d); background:linear-gradient(145deg,color-mix(in srgb,var(--filter) 27%,#fff),color-mix(in srgb,var(--filter) 17%,#f4efff)); box-shadow:0 5px 0 color-mix(in srgb,var(--filter) 20%,#c9bdd8),0 9px 14px color-mix(in srgb,var(--filter) 14%,transparent),inset 0 2px 0 rgba(255,255,255,.68); font:inherit; font-size:11px; font-weight:950; white-space:nowrap; cursor:pointer; transition:transform .15s ease,box-shadow .15s ease,filter .15s ease; }
.sd-exam-catalog-filter:hover { transform:translateY(-1px); filter:saturate(1.08); }
.sd-exam-catalog-filter:active { transform:translateY(3px); box-shadow:0 2px 0 color-mix(in srgb,var(--filter) 28%,#a99bbd),0 4px 8px color-mix(in srgb,var(--filter) 12%,transparent),inset 0 2px 0 rgba(255,255,255,.6); }
.sd-exam-catalog-filter strong { min-width:25px; height:25px; display:grid; place-items:center; padding:0 6px; border:2px solid color-mix(in srgb,var(--filter) 28%,#fff); border-radius:9px; color:#fff; background:var(--filter); box-shadow:0 3px 0 color-mix(in srgb,var(--filter) 70%,#4a3b5b),inset 0 1px 0 rgba(255,255,255,.35); font-size:10px; }
.sd-exam-catalog-filter.is-active { color:#fff; border-color:color-mix(in srgb,var(--filter) 74%,#443355); background:linear-gradient(145deg,color-mix(in srgb,var(--filter) 72%,white),var(--filter)); box-shadow:0 6px 0 color-mix(in srgb,var(--filter) 72%,#3e2f50),0 12px 19px color-mix(in srgb,var(--filter) 28%,transparent),inset 0 2px 0 rgba(255,255,255,.35); }
.sd-exam-catalog-filter.is-active strong { color:var(--filter); border-color:#fff; background:#fff; box-shadow:0 2px 0 rgba(58,42,79,.16); }
.sd-exam-type-filter.type-all,.sd-exam-state-filter.state-all { --filter:#7653d3; }
.sd-exam-type-filter.type-grammar { --filter:#238b4d; }
.sd-exam-type-filter.type-vocab { --filter:#247bc5; }
.sd-exam-type-filter.type-reading { --filter:#ca7318; }
.sd-exam-type-filter.type-tonghop { --filter:#cf3d68; }
.sd-exam-state-filter.state-recommended { --filter:#7049cf; }
.sd-exam-state-filter.state-redo { --filter:#d74d43; }
.sd-exam-state-filter.state-new { --filter:#287fc7; }
.sd-exam-state-filter.state-stable { --filter:#258b5d; }
#jlpt180-study-director .sd-exam-catalog-grid {
  position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:auto; align-items:start; gap:18px;
}
#jlpt180-study-director .sd-exam-catalog-card {
  --type:#7653d3; --state:#287fc7; --surface-1:#eee6ff; --surface-2:#d8c8ff;
  position:relative; isolation:isolate; width:100%; min-width:0; max-width:none; height:auto; min-height:0;
  margin:0; padding:18px; display:grid; grid-template-rows:auto auto auto; gap:14px; align-self:start;
  overflow:hidden; float:none; clear:none;
  border:3px solid color-mix(in srgb,var(--type) 48%,#ffffff); border-radius:30px;
  background:
    radial-gradient(circle at 92% 4%,rgba(255,255,255,.68),transparent 24%),
    linear-gradient(145deg,var(--surface-1) 0%,var(--surface-2) 100%);
  box-shadow:0 9px 0 color-mix(in srgb,var(--type) 34%,#a99db8),0 22px 36px color-mix(in srgb,var(--type) 25%,transparent),inset 0 4px 0 rgba(255,255,255,.76),inset 0 -7px 0 color-mix(in srgb,var(--type) 12%,transparent);
  transition:transform .18s ease,box-shadow .18s ease;
}
#jlpt180-study-director .sd-exam-catalog-card:hover {
  transform:translateY(-2px);
  box-shadow:0 11px 0 color-mix(in srgb,var(--type) 36%,#a99db8),0 27px 42px color-mix(in srgb,var(--type) 29%,transparent),inset 0 4px 0 rgba(255,255,255,.79),inset 0 -7px 0 color-mix(in srgb,var(--type) 12%,transparent);
}
#jlpt180-study-director .sd-exam-catalog-card::before {
  content:""; position:absolute; inset:8px; z-index:-1; pointer-events:none;
  border:2px solid rgba(255,255,255,.58); border-radius:21px;
}
#jlpt180-study-director .sd-exam-catalog-card::after {
  content:""; position:absolute; left:28px; right:28px; top:0; height:8px; z-index:2;
  border-radius:0 0 999px 999px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--type) 58%,white),var(--type),color-mix(in srgb,var(--type) 58%,white));
  box-shadow:0 5px 14px color-mix(in srgb,var(--type) 30%,transparent);
}
#jlpt180-study-director .sd-exam-catalog-card.type-vocab { --type:#247bc5; --surface-1:#e4f2ff; --surface-2:#b9dcff; }
#jlpt180-study-director .sd-exam-catalog-card.type-grammar { --type:#238b4d; --surface-1:#e5f7eb; --surface-2:#bde8cd; }
#jlpt180-study-director .sd-exam-catalog-card.type-reading { --type:#ca7318; --surface-1:#fff0dc; --surface-2:#ffd4a4; }
#jlpt180-study-director .sd-exam-catalog-card.type-tonghop { --type:#cf3d68; --surface-1:#ffe6ed; --surface-2:#ffc0d2; }
#jlpt180-study-director .sd-exam-catalog-card.state-redo { --state:#d74d43; }
#jlpt180-study-director .sd-exam-catalog-card.state-new { --state:#287fc7; }
#jlpt180-study-director .sd-exam-catalog-card.state-stable { --state:#258b5d; }
#jlpt180-study-director .sd-exam-catalog-card.is-recommended {
  outline:3px solid rgba(112,73,207,.42); outline-offset:2px;
  box-shadow:0 10px 0 rgba(94,64,177,.34),0 25px 42px rgba(94,64,177,.28),inset 0 4px 0 rgba(255,255,255,.80),inset 0 -7px 0 rgba(112,73,207,.11);
}
#jlpt180-study-director .sd-exam-catalog-card-head {
  position:relative; z-index:3; min-width:0; display:grid;
  grid-template-columns:50px 68px minmax(0,1fr) auto; align-items:center; gap:12px;
}
#jlpt180-study-director .sd-exam-order {
  width:50px; height:58px; display:grid; place-items:center; align-content:center; gap:2px;
  border:2px solid color-mix(in srgb,var(--type) 45%,#fff); border-radius:16px 16px 21px 21px;
  color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--type) 72%,white),var(--type));
  box-shadow:0 6px 0 color-mix(in srgb,var(--type) 72%,#463653),0 10px 16px color-mix(in srgb,var(--type) 24%,transparent),inset 0 2px 0 rgba(255,255,255,.34);
}
#jlpt180-study-director .sd-exam-order small { color:rgba(255,255,255,.90); font-size:7px; line-height:1; font-weight:950; letter-spacing:.07em; text-transform:uppercase; }
#jlpt180-study-director .sd-exam-order strong { font-size:19px; line-height:1; font-weight:950; }
#jlpt180-study-director .sd-exam-catalog-icon {
  width:66px; height:66px; display:grid; place-items:center;
  border:3px solid color-mix(in srgb,var(--type) 35%,#fff); border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.92),color-mix(in srgb,var(--type) 24%,#edf1ff));
  box-shadow:0 7px 0 color-mix(in srgb,var(--type) 24%,#b9adc6),0 12px 18px color-mix(in srgb,var(--type) 20%,transparent),inset 0 2px 0 rgba(255,255,255,.72);
}
#jlpt180-study-director .sd-exam-catalog-icon img { width:56px; height:56px; object-fit:contain; filter:drop-shadow(0 5px 6px color-mix(in srgb,var(--type) 23%,transparent)); }
#jlpt180-study-director .sd-exam-card-heading { min-width:0; width:auto; padding:0; }
#jlpt180-study-director .sd-exam-type-badge {
  display:inline-flex; align-items:center; min-height:25px; max-width:100%; padding:4px 10px;
  border:2px solid color-mix(in srgb,var(--type) 38%,#fff); border-radius:999px;
  color:color-mix(in srgb,var(--type) 94%,#21172b); background:rgba(255,255,255,.56);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.74),0 3px 7px color-mix(in srgb,var(--type) 14%,transparent);
  font-size:10px; font-weight:950; letter-spacing:.02em; white-space:nowrap;
}
#jlpt180-study-director .sd-exam-catalog-card-head h3 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  width:100%; min-width:0; max-width:none; margin:7px 0 0 !important;
  color:#15223a; font-size:19px; line-height:1.25; font-weight:950;
  overflow-wrap:break-word; word-break:normal; hyphens:none;
}
#jlpt180-study-director .sd-exam-state-badge {
  position:static; align-self:start; justify-self:end; padding:7px 11px;
  border:2px solid color-mix(in srgb,var(--state) 58%,#fff); border-radius:999px;
  color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--state) 72%,white),var(--state));
  box-shadow:0 5px 0 color-mix(in srgb,var(--state) 70%,#4b3b56),0 8px 13px color-mix(in srgb,var(--state) 22%,transparent),inset 0 1px 0 rgba(255,255,255,.34);
  font-size:10px; font-weight:950; white-space:nowrap;
}
#jlpt180-study-director .sd-exam-catalog-card-body { position:relative; z-index:3; min-width:0; display:grid; gap:12px; }
#jlpt180-study-director .sd-exam-catalog-card-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
#jlpt180-study-director .sd-exam-catalog-card-meta span {
  min-width:0; min-height:58px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; padding:10px 12px;
  border:2px solid color-mix(in srgb,var(--type) 28%,#fff); border-radius:18px;
  background:rgba(255,255,255,.58);
  box-shadow:0 4px 0 color-mix(in srgb,var(--type) 15%,#c7bccf),inset 0 2px 0 rgba(255,255,255,.76);
}
#jlpt180-study-director .sd-exam-catalog-card-meta small { color:#463b54; font-size:9px; font-weight:900; }
#jlpt180-study-director .sd-exam-catalog-card-meta strong { min-width:0; color:color-mix(in srgb,var(--type) 95%,#1e1726); font-size:14px; line-height:1.1; font-weight:950; text-align:right; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#jlpt180-study-director .sd-exam-catalog-note { margin:0 !important; color:#3e3347; font-size:11px; line-height:1.45; font-weight:850; }
#jlpt180-study-director .sd-exam-catalog-card-foot {
  position:relative; z-index:3; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding-top:13px; border-top:2px solid color-mix(in srgb,var(--type) 24%,rgba(255,255,255,.65));
}
#jlpt180-study-director .sd-exam-card-context { min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#jlpt180-study-director .sd-exam-recommended-flag {
  flex:0 0 auto; padding:6px 10px; border:2px solid rgba(255,255,255,.52); border-radius:999px;
  color:#fff; background:linear-gradient(145deg,#8a64e4,#6344bd);
  box-shadow:0 5px 0 #4e3597,0 9px 14px rgba(88,58,171,.26),inset 0 1px 0 rgba(255,255,255,.33);
  font-size:9px; font-weight:950; white-space:nowrap;
}
#jlpt180-study-director .sd-exam-card-context small { color:#3d3247; font-size:10px; line-height:1.35; font-weight:850; }
#jlpt180-study-director .sd-exam-card-context small strong { color:color-mix(in srgb,var(--type) 94%,#21172a); }
#jlpt180-study-director .sd-exam-catalog-action {
  flex:0 0 auto; min-width:148px; min-height:50px; display:flex; align-items:center; justify-content:center; gap:9px;
  padding:9px 9px 9px 15px; border:2px solid color-mix(in srgb,var(--type) 74%,#453451); border-radius:17px;
  color:#fff !important; background:linear-gradient(145deg,color-mix(in srgb,var(--type) 68%,white),var(--type));
  box-shadow:0 7px 0 color-mix(in srgb,var(--type) 74%,#3d2d4a),0 13px 20px color-mix(in srgb,var(--type) 34%,transparent),inset 0 2px 0 rgba(255,255,255,.34);
  font-size:13px; font-weight:950; white-space:nowrap;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
#jlpt180-study-director .sd-exam-catalog-action:hover { transform:translateY(-1px); color:#fff !important; filter:saturate(1.08); }
#jlpt180-study-director .sd-exam-catalog-action:active { transform:translateY(4px); box-shadow:0 3px 0 color-mix(in srgb,var(--type) 74%,#3d2d4a),0 6px 11px color-mix(in srgb,var(--type) 24%,transparent),inset 0 2px 0 rgba(255,255,255,.28); }
#jlpt180-study-director .sd-exam-catalog-action b { width:27px; height:27px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.30); border-radius:9px; background:rgba(255,255,255,.18); font-size:19px; }
.sd-exam-catalog-more { position:relative; z-index:1; min-height:48px; display:flex; align-items:center; justify-content:center; gap:9px; margin:19px auto 0; padding:9px 18px; border:2px solid #4e3699; border-radius:18px; color:#fff; background:linear-gradient(145deg,#9a78ea,#6844c8); box-shadow:0 7px 0 #4a3293,0 13px 21px rgba(85,55,164,.28),inset 0 2px 0 rgba(255,255,255,.33); font:inherit; font-size:12px; font-weight:950; cursor:pointer; }
.sd-exam-catalog-no-match { position:relative; z-index:1; padding:20px; border:3px dashed rgba(105,73,191,.44); border-radius:22px; color:#4d3f5d; background:linear-gradient(145deg,#e7dcf8,#d8eaff); text-align:center; font-size:13px; font-weight:900; }
.sd-exam-catalog-empty { position:relative; z-index:1; }
.sd-vip-exam-panel { position:relative; margin-top:14px; padding:20px 21px 22px; overflow:hidden; border:3px solid rgba(255,255,255,.94); border-radius:31px; background:radial-gradient(circle at 92% 4%,rgba(255,217,184,.58),transparent 25%),radial-gradient(circle at 8% 10%,rgba(194,226,255,.42),transparent 24%),linear-gradient(145deg,#fffaf4,#eee6ff 58%,#e7f3ff); box-shadow:0 24px 46px rgba(77,56,137,.13),0 7px 16px rgba(77,56,137,.07),inset 0 4px 0 #fff,inset 0 -8px 0 rgba(115,85,182,.06); }
.sd-vip-exam-panel::before { content:""; position:absolute; inset:9px; border:1px solid rgba(255,255,255,.72); border-radius:23px; pointer-events:none; }
.sd-vip-exam-head { position:relative; z-index:1; margin-bottom:14px; }
.sd-vip-exam-head .sd-results-section-title { gap:12px; }
.sd-vip-exam-head .sd-results-section-icon { width:52px; height:52px; border:2px solid rgba(255,255,255,.94); border-radius:17px; background:linear-gradient(145deg,#fff,#f1e6ff); box-shadow:0 10px 18px rgba(112,72,187,.13),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(112,72,187,.07); }
.sd-vip-exam-head .sd-results-section-icon img { width:43px; height:43px; }
.sd-vip-exam-head .sd-results-section-title > div > span { color:#a06120; font-size:10px; letter-spacing:.09em; }
.sd-vip-exam-head .sd-results-section-title h2 { margin-top:2px !important; font-size:clamp(24px,2vw,31px); line-height:1.18; }
.sd-vip-exam-head > p { max-width:520px; color:#685c72; font-size:12px; line-height:1.5; }
.sd-vip-exam-summary { position:relative; z-index:1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; margin-bottom:17px; }
.sd-vip-exam-summary > div { --vip-accent:#7d5bd6; position:relative; min-height:82px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 9px; padding:12px 14px; overflow:hidden; border:3px solid rgba(255,255,255,.94); border-radius:21px; background:linear-gradient(145deg,#fffdf9,#eee7ff); box-shadow:0 12px 24px color-mix(in srgb,var(--vip-accent) 18%,transparent),0 4px 8px rgba(73,48,132,.05),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--vip-accent) 8%,transparent); }
.sd-vip-exam-summary > div::after { content:""; position:absolute; right:-16px; bottom:-22px; width:66px; height:66px; border-radius:50%; background:color-mix(in srgb,var(--vip-accent) 10%,transparent); }
.sd-vip-exam-summary .is-attempt { --vip-accent:#805bd4; background:linear-gradient(145deg,#fffaff,#eadfff); }
.sd-vip-exam-summary .is-exam { --vip-accent:#4f8fd1; background:linear-gradient(145deg,#f9fcff,#deedff); }
.sd-vip-exam-summary .is-average { --vip-accent:#db8b32; background:linear-gradient(145deg,#fffaf3,#ffe4c7); }
.sd-vip-exam-summary .is-improve { --vip-accent:#48a177; background:linear-gradient(145deg,#fbfffc,#dff3e8); }
.sd-vip-exam-summary .is-redo { --vip-accent:#d85f70; background:linear-gradient(145deg,#fff9fb,#ffe1e6); }
.sd-vip-exam-summary span { position:relative; z-index:1; color:#544862; font-size:11px; font-weight:950; }
.sd-vip-exam-summary strong { position:relative; z-index:1; color:var(--vip-accent); font-size:30px; line-height:1; text-shadow:0 2px 0 rgba(255,255,255,.68); }
.sd-vip-exam-summary small { position:relative; z-index:1; grid-column:1/-1; color:#766b81; font-size:10px; font-weight:850; }
.sd-vip-exam-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.sd-vip-exam-card { --vip-card:#7d58d3; position:relative; min-height:304px; display:grid; grid-template-rows:auto auto auto auto; gap:13px; padding:18px 18px 16px; overflow:hidden; border:3px solid rgba(255,255,255,.96); border-radius:29px; background:radial-gradient(circle at 90% 0,rgba(255,255,255,.92),transparent 24%),radial-gradient(circle at 6% 94%,color-mix(in srgb,var(--vip-card) 12%,transparent),transparent 28%),linear-gradient(145deg,#fffaff,#e9dcff); box-shadow:0 22px 42px color-mix(in srgb,var(--vip-card) 20%,transparent),0 7px 14px rgba(73,48,132,.08),inset 0 4px 0 #fff,inset 0 -8px 0 color-mix(in srgb,var(--vip-card) 9%,transparent); transition:transform .18s ease,box-shadow .18s ease; }
.sd-vip-exam-card:hover { transform:translateY(-2px); box-shadow:0 26px 48px color-mix(in srgb,var(--vip-card) 24%,transparent),0 9px 17px rgba(73,48,132,.09),inset 0 4px 0 #fff,inset 0 -8px 0 color-mix(in srgb,var(--vip-card) 9%,transparent); }
.sd-vip-exam-card::before { content:""; position:absolute; inset:8px; border:2px solid rgba(255,255,255,.70); border-radius:21px; pointer-events:none; }
.sd-vip-exam-card::after { content:""; position:absolute; left:34px; right:34px; top:0; height:7px; border-radius:0 0 999px 999px; background:linear-gradient(90deg,color-mix(in srgb,var(--vip-card) 45%,white),var(--vip-card),color-mix(in srgb,var(--vip-card) 45%,white)); box-shadow:0 5px 13px color-mix(in srgb,var(--vip-card) 28%,transparent); }
.sd-vip-exam-card.status-priority { --vip-card:#df6858; background:radial-gradient(circle at 90% 0,rgba(255,255,255,.94),transparent 24%),radial-gradient(circle at 7% 96%,rgba(255,150,126,.18),transparent 28%),linear-gradient(145deg,#fffaf5,#ffdccc); }
.sd-vip-exam-card.status-repair { --vip-card:#d49436; background:radial-gradient(circle at 90% 0,rgba(255,255,255,.94),transparent 24%),radial-gradient(circle at 7% 96%,rgba(255,190,95,.18),transparent 28%),linear-gradient(145deg,#fffaf2,#ffe8c9); }
.sd-vip-exam-card.status-stable { --vip-card:#48a178; background:radial-gradient(circle at 90% 0,rgba(255,255,255,.94),transparent 24%),radial-gradient(circle at 7% 96%,rgba(88,190,136,.16),transparent 28%),linear-gradient(145deg,#fbfffc,#dcf2e6); }
.sd-vip-exam-card-head { position:relative; z-index:1; display:grid; grid-template-columns:42px 54px minmax(0,1fr) auto; align-items:center; gap:10px; }
.sd-vip-exam-rank { width:40px; height:40px; display:grid; place-items:center; border:3px solid rgba(255,255,255,.90); border-radius:14px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--vip-card) 68%,white),var(--vip-card)); box-shadow:0 9px 17px color-mix(in srgb,var(--vip-card) 28%,transparent),inset 0 3px 0 rgba(255,255,255,.42),inset 0 -4px 0 rgba(60,34,125,.17); font-size:16px; font-weight:950; }
.sd-vip-exam-card-icon { width:52px; height:52px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.92); border-radius:17px; background:rgba(255,255,255,.76); box-shadow:0 8px 16px color-mix(in srgb,var(--vip-card) 14%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--vip-card) 6%,transparent); }
.sd-vip-exam-card-icon img { width:46px; height:46px; object-fit:contain; }
.sd-vip-exam-card-head > div { min-width:0; }
.sd-vip-exam-card-head > div > span { color:#6d6079; font-size:11px; font-weight:900; }
.sd-vip-exam-card-head h3 { margin-top:3px !important; color:#2b2049; font-size:clamp(18px,1.35vw,21px); line-height:1.24; overflow-wrap:anywhere; }
.sd-vip-exam-card-head > b { padding:7px 10px; border:2px solid rgba(255,255,255,.88); border-radius:999px; color:var(--vip-card); background:rgba(255,255,255,.80); box-shadow:0 6px 12px color-mix(in srgb,var(--vip-card) 10%,transparent),inset 0 2px 0 #fff; font-size:10px; white-space:nowrap; }
.sd-vip-exam-score-row { position:relative; z-index:1; display:grid; grid-template-columns:170px minmax(0,1fr); gap:11px; }
.sd-vip-exam-main-score { display:grid; align-content:center; justify-items:center; min-height:112px; padding:11px; border:2px solid rgba(255,255,255,.88); border-radius:21px; background:rgba(255,255,255,.74); box-shadow:0 8px 16px color-mix(in srgb,var(--vip-card) 9%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 color-mix(in srgb,var(--vip-card) 8%,transparent); text-align:center; }
.sd-vip-exam-main-score small { color:#665a72; font-size:11px; font-weight:950; }
.sd-vip-exam-main-score strong { margin-top:2px; color:var(--vip-card); font-size:44px; line-height:1; text-shadow:0 2px 0 rgba(255,255,255,.76); }
.sd-vip-exam-main-score > span:not(.sd-vip-exam-score-track) { margin-top:5px; color:#61566d; font-size:10px; line-height:1.35; }
.sd-vip-exam-score-track { width:100%; height:8px; margin-top:8px; overflow:hidden; border:1px solid rgba(100,76,145,.09); border-radius:999px; background:rgba(118,96,150,.11); box-shadow:inset 0 2px 3px rgba(65,42,108,.07); }
.sd-vip-exam-score-track i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,color-mix(in srgb,var(--vip-card) 52%,white),var(--vip-card)); box-shadow:0 2px 5px color-mix(in srgb,var(--vip-card) 28%,transparent); }
.sd-vip-exam-mini-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.sd-vip-exam-mini-metrics > div { display:grid; align-content:center; justify-items:center; min-width:0; padding:10px 7px; border:2px solid rgba(255,255,255,.84); border-radius:18px; background:rgba(255,255,255,.67); box-shadow:0 7px 14px color-mix(in srgb,var(--vip-card) 8%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--vip-card) 5%,transparent); text-align:center; }
.sd-vip-exam-mini-metrics small { color:#6c6077; font-size:10px; font-weight:900; }
.sd-vip-exam-mini-metrics strong { margin-top:6px; color:#4c3b65; font-size:21px; line-height:1.1; }
.sd-vip-exam-mini-metrics .is-up strong { color:#348c65; }
.sd-vip-exam-mini-metrics .is-down strong { color:#ca5260; }
.sd-vip-exam-diagnosis { position:relative; z-index:1; padding:11px 13px; border:2px solid rgba(255,255,255,.82); border-radius:18px; background:rgba(255,255,255,.66); box-shadow:0 7px 14px color-mix(in srgb,var(--vip-card) 7%,transparent),inset 0 2px 0 #fff,inset 0 -4px 0 color-mix(in srgb,var(--vip-card) 5%,transparent); }
.sd-vip-exam-diagnosis span { display:block; color:var(--vip-card); font-size:10px; font-weight:950; letter-spacing:.08em; }
.sd-vip-exam-diagnosis p { display:-webkit-box; margin-top:4px !important; overflow:hidden; color:#584d64; font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.sd-vip-exam-card-foot { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:11px; border-top:2px solid color-mix(in srgb,var(--vip-card) 10%,transparent); }
.sd-vip-exam-card-foot > div span { display:block; color:#4f445d; font-size:12px; font-weight:900; }
.sd-vip-exam-card-foot > div small { display:block; margin-top:4px; color:#7b7086; font-size:10px; }
.sd-vip-exam-action { min-height:44px; display:inline-flex; align-items:center; gap:9px; padding:8px 10px 8px 15px; border:3px solid rgba(255,255,255,.88); border-radius:15px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--vip-card) 68%,white),var(--vip-card)); box-shadow:0 10px 19px color-mix(in srgb,var(--vip-card) 30%,transparent),inset 0 3px 0 rgba(255,255,255,.40),inset 0 -4px 0 rgba(55,28,120,.18); font-size:12px; font-weight:950; white-space:nowrap; transition:transform .16s ease,filter .16s ease; }
.sd-vip-exam-action:hover { transform:translateY(-1px); filter:saturate(1.04); }
.sd-vip-exam-action:active { transform:translateY(2px); }
.sd-vip-exam-action b { width:25px; height:25px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.20); font-size:19px; }
.sd-vip-attempt-history { position:relative; z-index:1; margin-top:14px; padding:14px; border:2px solid rgba(255,255,255,.88); border-radius:23px; background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(236,229,255,.70)); box-shadow:inset 0 2px 0 #fff,inset 0 -4px 0 rgba(94,63,156,.05); }
.sd-vip-attempt-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:9px; }
.sd-vip-attempt-head strong { color:#3c2d60; font-size:14px; }
.sd-vip-attempt-head span { color:#7c6f8e; font-size:9px; font-weight:850; }
.sd-vip-attempt-list { display:grid; gap:7px; }
.sd-vip-attempt-row { display:grid; grid-template-columns:12px minmax(0,1fr) 62px 54px; align-items:center; gap:9px; min-height:52px; padding:8px 10px; border-radius:16px; color:inherit; background:rgba(255,255,255,.70); box-shadow:inset 0 1px 0 #fff,0 5px 10px rgba(73,48,132,.05); }
.sd-vip-attempt-dot { width:9px; height:9px; border-radius:50%; background:#8a66df; box-shadow:0 0 0 4px rgba(138,102,223,.12); }
.sd-vip-attempt-row > div { min-width:0; }
.sd-vip-attempt-row > div strong { display:block; overflow:hidden; color:#493961; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.sd-vip-attempt-row > div small { display:block; margin-top:3px; color:#877d90; font-size:8px; }
.sd-vip-attempt-row > b { color:#704dc8; font-size:16px; text-align:right; }
.sd-vip-attempt-row > em { color:#766b82; font-size:9px; font-style:normal; text-align:right; }

.sd-results-panel { position:relative; margin-top:14px; padding:20px; overflow:hidden; border:2px solid rgba(255,255,255,.90); border-radius:29px; background:linear-gradient(145deg,rgba(255,250,243,.98),rgba(241,232,255,.96) 68%,rgba(231,244,255,.91)); box-shadow:0 22px 46px rgba(73,48,132,.17),0 7px 14px rgba(73,48,132,.08),inset 0 3px 0 rgba(255,255,255,.99),inset 0 -6px 0 rgba(94,63,156,.06); }
.sd-results-panel::before { content:""; position:absolute; inset:7px; border-radius:20px; border:1px solid rgba(255,255,255,.68); pointer-events:none; }
.sd-review-panel { background:radial-gradient(circle at 92% 5%,rgba(255,213,186,.42),transparent 24%),linear-gradient(145deg,#fff9f1,#f2e7ff 72%,#fff0df); }
.sd-skill-panel { background:radial-gradient(circle at 10% 8%,rgba(190,235,215,.38),transparent 25%),linear-gradient(145deg,#fbfff9,#e7f4ff 55%,#eee5ff); }
.sd-results-section-head { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:14px; }
.sd-results-section-title { display:flex; align-items:center; gap:12px; min-width:0; }
.sd-results-section-icon { width:52px; height:52px; display:grid; place-items:center; flex:0 0 auto; border-radius:17px; background:linear-gradient(145deg,#fff,#ece3ff); box-shadow:0 9px 18px rgba(75,52,128,.11),inset 0 1px 0 #fff; }
.sd-results-section-icon img { width:43px; height:43px; object-fit:contain; }
.sd-results-section-title > div > span { display:block; color:#7854d0; font-size:9px; font-weight:950; letter-spacing:.09em; }
.sd-results-section-title h2 { margin-top:2px !important; font-size:clamp(22px,2vw,28px); line-height:1.15; }
.sd-results-section-head > p { max-width:470px; color:#6f657c; font-size:11px; text-align:right; line-height:1.45; }
.sd-exam-review-dashboard { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.sd-exam-review-dashboard > div { --dash-accent:#835fdc; min-height:84px; display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; column-gap:5px; padding:12px 14px; border:2px solid rgba(255,255,255,.90); border-radius:21px; background:linear-gradient(145deg,#fffdf9,#eee7ff); box-shadow:0 13px 25px color-mix(in srgb,var(--dash-accent) 16%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 color-mix(in srgb,var(--dash-accent) 7%,transparent); }
.sd-exam-review-dashboard .is-top { --dash-accent:#e58b3b; background:linear-gradient(145deg,#fffaf2,#ffe1c3); }
.sd-exam-review-dashboard .is-redo { --dash-accent:#8a5bde; background:linear-gradient(145deg,#fffaff,#eadcff); }
.sd-exam-review-dashboard .is-track { --dash-accent:#5d90d2; background:linear-gradient(145deg,#f8fcff,#dfeeff); }
.sd-exam-review-dashboard .is-total { --dash-accent:#4ca47a; background:linear-gradient(145deg,#fbfffc,#dff3e8); }
.sd-exam-review-dashboard span { color:#5f5570; font-size:10px; font-weight:900; }
.sd-exam-review-dashboard strong { color:var(--dash-accent); font-size:28px; line-height:1; }
.sd-exam-review-dashboard small { align-self:end; padding-bottom:2px; color:#716879; font-size:9px; font-weight:800; }
.sd-exam-review-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sd-exam-review-card { --exam-accent:#855fde; position:relative; min-height:228px; display:grid; grid-template-rows:auto auto 1fr; gap:13px; padding:17px; overflow:hidden; border:2px solid rgba(255,255,255,.92); border-radius:27px; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.80),transparent 20%),linear-gradient(145deg,#fff9f1,#efe5ff); box-shadow:0 20px 38px color-mix(in srgb,var(--exam-accent) 18%,transparent),0 6px 12px rgba(73,48,132,.07),inset 0 4px 0 #fff,inset 0 -7px 0 color-mix(in srgb,var(--exam-accent) 8%,transparent); }
.sd-exam-review-card::before { content:""; position:absolute; inset:7px; border-radius:19px; border:1px solid rgba(255,255,255,.72); pointer-events:none; }
.sd-exam-review-card.tone-2 { --exam-accent:#8057d6; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.78),transparent 20%),linear-gradient(145deg,#fffaff,#eadcff); }
.sd-exam-review-card.tone-3 { --exam-accent:#d8942e; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.78),transparent 20%),linear-gradient(145deg,#fffaf2,#ffe6c9); }
.sd-exam-review-card.tone-4 { --exam-accent:#46a37a; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.78),transparent 20%),linear-gradient(145deg,#fbfffc,#dcf1e6); }
.sd-exam-review-card.tone-5 { --exam-accent:#538fd6; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.78),transparent 20%),linear-gradient(145deg,#f8fcff,#ddeeff); }
.sd-exam-review-card.is-top-priority { --exam-accent:#e87735; background:radial-gradient(circle at 94% 5%,rgba(255,255,255,.82),transparent 20%),linear-gradient(145deg,#fff9f2,#ffd9bd); box-shadow:0 23px 42px rgba(190,93,45,.20),0 7px 13px rgba(169,83,52,.08),inset 0 4px 0 #fff,inset 7px 0 0 #ea8d61,inset 0 -7px 0 rgba(175,82,39,.08); }
.sd-exam-review-head { position:relative; z-index:1; display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:13px; }
.sd-exam-review-icon { width:62px; height:62px; display:grid; place-items:center; border-radius:19px; background:rgba(255,255,255,.78); box-shadow:inset 0 1px 0 #fff,0 9px 17px rgba(75,52,128,.09); }
.sd-exam-review-icon img { width:52px; height:52px; object-fit:contain; }
.sd-exam-review-title { min-width:0; }
.sd-exam-review-title > span { display:inline-flex; padding:4px 8px; border-radius:999px; color:#7a52cb; background:rgba(255,255,255,.74); font-size:9px; font-weight:900; }
.sd-exam-review-title h3 { margin-top:6px !important; color:#2e234e; font-size:17px; line-height:1.35; overflow-wrap:anywhere; }
.sd-exam-review-title p { margin-top:3px !important; color:#746a80; font-size:10px; line-height:1.4; }
.sd-exam-review-metrics { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.sd-exam-review-metrics > div { min-height:66px; display:grid; align-content:center; justify-items:center; padding:9px 6px; border-radius:17px; background:rgba(255,255,255,.70); box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(94,63,156,.04); text-align:center; }
.sd-exam-review-metrics strong { color:#6541c5; font-size:24px; line-height:1; }
.sd-exam-review-metrics span { margin-top:4px; color:#70667a; font-size:9px; line-height:1.25; }
.sd-exam-review-profile-line { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:6px; margin-top:-4px; }
.sd-exam-review-profile-line span { padding:5px 7px; border-radius:10px; color:#6d6279; background:rgba(255,255,255,.66); box-shadow:inset 0 1px 0 #fff; font-size:8px; font-weight:800; }
.sd-exam-review-profile-line strong { color:var(--exam-accent); font-size:10px; }

.sd-exam-review-foot { position:relative; z-index:1; display:flex; align-items:end; justify-content:space-between; gap:12px; padding-top:11px; border-top:1px solid rgba(110,83,164,.10); }
.sd-exam-review-foot > div { min-width:0; }
.sd-exam-review-foot > div > span { display:block; color:#635878; font-size:10px; font-weight:800; }
.sd-exam-review-foot small { display:block; margin-top:3px; color:#8a8194; font-size:9px; }
.sd-exam-review-action { flex:0 0 auto; min-height:42px; display:inline-flex; align-items:center; gap:8px; padding:8px 11px 8px 14px; border:2px solid rgba(255,255,255,.86); border-radius:15px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--exam-accent) 72%,white),var(--exam-accent)); box-shadow:0 12px 21px color-mix(in srgb,var(--exam-accent) 30%,transparent),inset 0 2px 0 rgba(255,255,255,.42),inset 0 -4px 0 rgba(57,27,137,.18); font-size:10px; font-weight:950; }
.sd-exam-review-action b { width:22px; height:22px; display:grid; place-items:center; border-radius:8px; background:rgba(255,255,255,.18); font-size:18px; line-height:1; }
.sd-exam-review-note { position:relative; z-index:1; margin-top:11px !important; color:#786e84; font-size:10px; line-height:1.45; text-align:center; }
.sd-exam-review-more { display:none; width:100%; min-height:44px; margin-top:10px; border:0; border-radius:16px; color:#6847c2; background:linear-gradient(145deg,#fff,#ece4ff); box-shadow:0 8px 16px rgba(73,48,132,.09),inset 0 1px 0 #fff; font-weight:900; }
.sd-exam-review-more b { margin-left:6px; font-size:16px; }
.sd-results-empty { position:relative; z-index:1; min-height:116px; display:flex; align-items:center; justify-content:center; gap:16px; padding:18px; border-radius:21px; background:linear-gradient(145deg,#fafffc,#e2f5e9); box-shadow:inset 0 1px 0 #fff; text-align:left; }
.sd-results-empty img { width:78px; height:78px; object-fit:contain; }
.sd-results-empty h3 { font-size:18px; }
.sd-results-empty p { margin-top:4px !important; color:#756b84; font-size:12px; }
.sd-results-skill-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.sd-results-skill-card { min-height:132px; display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:13px; padding:15px; border-radius:22px; background:linear-gradient(145deg,#fffdf9,#eee6ff); box-shadow:0 11px 22px rgba(73,48,132,.09),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(94,63,156,.05); }
.sd-results-skill-card.skill-grammar { background:linear-gradient(145deg,#fbfffc,#dff4e8); }
.sd-results-skill-card.skill-kanji { background:linear-gradient(145deg,#fffaf5,#ffe6d2); }
.sd-results-skill-card.skill-reading { background:linear-gradient(145deg,#f8fcff,#dfeeff); }
.sd-results-skill-card.skill-listening { background:linear-gradient(145deg,#fff8fc,#f4dff0); }
.sd-results-skill-icon { width:60px; height:60px; display:grid; place-items:center; border-radius:19px; background:rgba(255,255,255,.74); box-shadow:inset 0 1px 0 #fff,0 8px 16px rgba(75,52,128,.08); }
.sd-results-skill-icon img { width:50px; height:50px; object-fit:contain; }
.sd-results-skill-copy { min-width:0; }
.sd-results-skill-copy small { display:block; color:#71677f; font-size:10px; font-weight:900; }
.sd-results-skill-copy > strong { display:block; margin-top:2px; color:#6040bc; font-size:28px; line-height:1.12; }
.sd-results-skill-copy .sd-results-no-data { color:#655b72; font-size:16px; }
.sd-results-skill-copy p { margin-top:4px !important; color:#6f657a; font-size:10px; line-height:1.4; }
.sd-results-skill-bar { height:6px; margin-top:8px; overflow:hidden; border-radius:999px; background:rgba(88,60,145,.12); box-shadow:inset 0 1px 2px rgba(75,50,132,.11); }
.sd-results-skill-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8962e0,#b692ef); }
.sd-full-week, .sd-phase-card, .sd-profile-card { margin-top:20px; }
.sd-full-week { padding:22px; }
.sd-week-list.is-large { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sd-week-list.is-large .sd-week-row { min-height:78px; padding:15px; }
.sd-profile-workspace { margin-top:18px; padding:16px; border:2px solid rgba(255,255,255,.90); border-radius:32px; background:linear-gradient(145deg,rgba(255,252,248,.96),rgba(246,239,255,.94)); box-shadow:0 22px 48px rgba(73,48,132,.14),0 7px 15px rgba(73,48,132,.07),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(103,74,164,.05); }
.sd-profile-form { display:block; }
.sd-setup-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,390px); gap:18px; align-items:start; }
.sd-configurator { display:grid; gap:14px; min-width:0; }
.sd-config-block { position:relative; overflow:visible; padding:17px; border:2px solid rgba(255,255,255,.88); border-radius:26px; box-shadow:0 15px 30px rgba(73,49,129,.11),0 5px 11px rgba(73,49,129,.06),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(104,75,166,.055); }
.sd-config-block::after { content:""; position:absolute; width:94px; height:94px; right:-30px; top:-34px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.60),rgba(255,255,255,0) 70%); pointer-events:none; }
.sd-config-level { background:linear-gradient(135deg,#fffdf8,#f1eaff 74%,#e6dbff); }
.sd-config-textbook { background:linear-gradient(135deg,#fffdf7,#fff0e6 48%,#f3e9ff); }
.sd-config-minutes { background:linear-gradient(135deg,#f8fcff,#e7f3ff 45%,#f1e8ff); }
.sd-config-head { position:relative; z-index:2; display:flex; align-items:center; gap:11px; margin-bottom:14px; }
.sd-config-head-inline { align-items:center; }
.sd-config-head-inline > p { margin-left:auto !important; max-width:390px; color:#776e85; font-size:10px; text-align:right; line-height:1.45; }
.sd-config-step { width:38px; height:38px; display:grid; place-items:center; flex:0 0 auto; border:2px solid rgba(255,255,255,.82); border-radius:14px; color:#fff; background:linear-gradient(145deg,#a181f0,#7049cf); box-shadow:0 10px 18px rgba(82,52,164,.24),inset 0 2px 0 rgba(255,255,255,.42),inset 0 -4px 0 rgba(64,35,137,.18); font-size:11px; font-weight:950; letter-spacing:.04em; }
.sd-config-head small { display:block; color:#7a58ca; font-size:8px; font-weight:950; letter-spacing:.11em; }
.sd-config-head h2 { margin-top:1px !important; color:#2d224c; font-size:20px; line-height:1.2; }
.sd-route-groups { display:block; }
.sd-level-tabs { position:relative; z-index:2; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.sd-level-tab { --level-accent:#7552d5; --level-bg:#eee7ff; position:relative; min-width:0; min-height:58px; padding:0 10px; border:2px solid rgba(255,255,255,.92); border-radius:20px; color:var(--level-accent); background:linear-gradient(145deg,#fff,var(--level-bg)); box-shadow:0 12px 22px rgba(72,49,126,.12),0 4px 8px rgba(72,49,126,.06),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.07); font:inherit; font-weight:950; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.sd-level-tab[data-route-level="N5"] { --level-accent:#5e9369; --level-bg:#edf7ee; }
.sd-level-tab[data-route-level="N4"] { --level-accent:#3d9f87; --level-bg:#e8f7f2; }
.sd-level-tab[data-route-level="N3"] { --level-accent:#7552d5; --level-bg:#eee7ff; }
.sd-level-tab[data-route-level="N2"] { --level-accent:#b97a20; --level-bg:#fff1d7; }
.sd-level-tab[data-route-level="N1"] { --level-accent:#b84f68; --level-bg:#ffe8ed; }
.sd-level-tab[data-route-level="MN"] { --level-accent:#4e79b8; --level-bg:#e8f1ff; }
.sd-level-tab:hover { transform:translateY(-3px); box-shadow:0 16px 28px color-mix(in srgb,var(--level-accent) 18%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.07); }
.sd-level-tab:active { transform:translateY(2px); box-shadow:0 6px 12px rgba(72,49,126,.10),inset 0 2px 0 #fff,inset 0 -2px 0 rgba(79,53,137,.08); }
.sd-level-tab.is-active { color:var(--level-accent); border-color:color-mix(in srgb,var(--level-accent) 52%,white); outline:2px solid rgba(255,255,255,.78); box-shadow:0 17px 30px color-mix(in srgb,var(--level-accent) 23%,transparent),0 5px 10px rgba(72,49,126,.07),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--level-accent) 10%,transparent); transform:translateY(-2px); }
.sd-level-tab.is-active::after { content:"✓"; position:absolute; right:-7px; top:-10px; width:29px; height:29px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:var(--level-accent); box-shadow:0 8px 16px rgba(67,42,123,.22),inset 0 1px 0 rgba(255,255,255,.45); font-size:14px; }
.sd-route-group { display:none; }
.sd-route-group.is-active { display:grid; gap:14px; animation:sdFade .18s ease; }
.sd-textbook-tabs { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.sd-textbook-tab { --book-accent:#7652d5; --book-bg:#eee7ff; position:relative; min-width:0; min-height:98px; display:grid; grid-template-columns:58px minmax(0,1fr); align-items:center; gap:12px; padding:13px; border:2px solid rgba(255,255,255,.92); border-radius:23px; color:#544b66; background:linear-gradient(145deg,#fff,var(--book-bg)); box-shadow:0 13px 25px rgba(72,49,126,.12),0 4px 9px rgba(72,49,126,.06),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.06); font:inherit; text-align:left; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.sd-textbook-tab.book-tone-1 { --book-accent:#6f9b63; --book-bg:#edf6e9; }
.sd-textbook-tab.book-tone-2 { --book-accent:#4d87c7; --book-bg:#e8f1ff; }
.sd-textbook-tab.book-tone-3 { --book-accent:#d05b73; --book-bg:#ffe8ed; }
.sd-textbook-tab:hover { transform:translateY(-3px); box-shadow:0 17px 30px color-mix(in srgb,var(--book-accent) 18%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.06); }
.sd-textbook-tab:active { transform:translateY(2px); box-shadow:0 6px 12px rgba(72,49,126,.10),inset 0 2px 0 #fff; }
.sd-textbook-tab.is-active { color:var(--book-accent); border-color:color-mix(in srgb,var(--book-accent) 54%,white); outline:2px solid rgba(255,255,255,.78); box-shadow:0 18px 32px color-mix(in srgb,var(--book-accent) 22%,transparent),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--book-accent) 10%,transparent); transform:translateY(-2px); }
.sd-textbook-tab.is-active::after { content:"✓"; position:absolute; right:9px; top:9px; width:25px; height:25px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:var(--book-accent); box-shadow:0 7px 14px rgba(67,42,123,.20); font-size:12px; }
.sd-textbook-icon { width:56px; height:56px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.88); border-radius:18px; background:rgba(255,255,255,.82); box-shadow:inset 0 2px 0 #fff,inset 0 -3px 0 rgba(92,65,153,.05),0 8px 15px rgba(75,52,128,.10); }
.sd-textbook-icon img { width:48px; height:48px; object-fit:contain; }
.sd-textbook-copy { min-width:0; padding-right:20px; }
.sd-textbook-copy strong { display:block; color:var(--book-accent); font-size:15px; line-height:1.25; overflow-wrap:anywhere; }
.sd-textbook-copy small { display:block; margin-top:4px; color:#746c7f; font-size:9px; line-height:1.38; }
.sd-textbook-tab.is-active .sd-textbook-copy small { color:#665c74; }
.sd-textbook-panels { min-width:0; }
.sd-textbook-panel { display:none; padding:17px; overflow:visible; border:2px solid rgba(255,255,255,.90); border-radius:27px; background:linear-gradient(135deg,#fffdf9,#f3ecff); box-shadow:0 15px 30px rgba(75,50,132,.10),0 5px 11px rgba(75,50,132,.05),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(94,63,156,.045); }
.sd-textbook-panel.is-active { display:block; animation:sdFade .18s ease; }
.sd-route-duration-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.sd-route-option { position:relative; min-width:0; cursor:pointer; }
.sd-route-option input { position:absolute; opacity:0; pointer-events:none; }
.sd-route-option-surface { --duration-accent:#7652d5; --duration-bg:#eee7ff; position:relative; min-height:118px; display:grid; grid-template-columns:58px minmax(0,1fr); align-items:center; gap:12px; padding:14px; overflow:visible; border:2px solid rgba(255,255,255,.92); border-radius:23px; color:#574d70; background:linear-gradient(145deg,#fff,var(--duration-bg)); box-shadow:0 13px 24px rgba(75,50,132,.12),0 4px 8px rgba(75,50,132,.06),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(94,63,156,.055); transition:transform .16s ease,box-shadow .16s ease; }
.sd-route-option.is-sprint .sd-route-option-surface { --duration-accent:#7c55dc; --duration-bg:#eee6ff; }
.sd-route-option.is-balanced .sd-route-option-surface { --duration-accent:#d58c28; --duration-bg:#fff0d7; }
.sd-route-option.is-steady .sd-route-option-surface { --duration-accent:#5b8fc8; --duration-bg:#e8f2ff; }
.sd-route-option-surface::after { content:""; position:absolute; width:82px; height:82px; right:-25px; bottom:-35px; border-radius:50%; background:rgba(255,255,255,.36); }
.sd-duration-orb { position:relative; z-index:1; width:56px; height:60px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.90); border-radius:17px; color:var(--duration-accent); background:rgba(255,255,255,.82); box-shadow:0 9px 17px rgba(83,52,165,.12),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(86,59,145,.05); font-size:18px; font-weight:950; }
.sd-duration-copy { position:relative; z-index:1; min-width:0; }
.sd-route-option-surface strong { display:block; color:var(--duration-accent); font-size:18px; line-height:1.2; }
.sd-route-option-surface small { display:block; margin-top:4px; color:#776e84; font-size:10px; line-height:1.4; }
.sd-route-option-surface em { position:absolute; z-index:3; right:9px; top:8px; padding:5px 8px; border-radius:999px; color:var(--duration-accent); background:rgba(255,255,255,.92); box-shadow:0 5px 10px rgba(73,48,132,.08),inset 0 1px 0 #fff; font-size:8px; font-style:normal; font-weight:950; }
.sd-route-option:hover .sd-route-option-surface { transform:translateY(-3px); box-shadow:0 18px 30px color-mix(in srgb,var(--duration-accent) 19%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(94,63,156,.055); }
.sd-route-option input:focus-visible + .sd-route-option-surface { outline:3px solid color-mix(in srgb,var(--duration-accent) 30%,transparent); outline-offset:2px; }
.sd-route-option input:checked + .sd-route-option-surface { border-color:color-mix(in srgb,var(--duration-accent) 56%,white); outline:2px solid rgba(255,255,255,.80); box-shadow:0 18px 33px color-mix(in srgb,var(--duration-accent) 24%,transparent),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--duration-accent) 10%,transparent); transform:translateY(-2px); }
.sd-route-option input:checked + .sd-route-option-surface::before { content:"✓"; position:absolute; z-index:4; right:-7px; top:-10px; width:28px; height:28px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:var(--duration-accent); box-shadow:0 8px 16px rgba(67,42,123,.20); font-size:13px; }
.sd-choice-grid { display:grid; gap:10px; }
.sd-minute-grid { position:relative; z-index:2; grid-template-columns:repeat(5,minmax(0,1fr)); }
.sd-choice-grid input { position:absolute; opacity:0; pointer-events:none; }
.sd-choice-grid span { --minute-accent:#7552d5; --minute-bg:#eee7ff; position:relative; min-height:88px; display:grid; place-items:center; align-content:center; gap:2px; padding:10px 6px; border:2px solid rgba(255,255,255,.92); border-radius:21px; background:linear-gradient(145deg,#fff,var(--minute-bg)); box-shadow:0 12px 22px rgba(72,49,126,.11),0 4px 8px rgba(72,49,126,.05),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.06); color:var(--minute-accent); cursor:pointer; transition:transform .16s ease,box-shadow .16s ease; }
.sd-choice-grid .minute-15 span { --minute-accent:#4c9b85; --minute-bg:#eaf7ef; }
.sd-choice-grid .minute-30 span { --minute-accent:#659b67; --minute-bg:#eef8eb; }
.sd-choice-grid .minute-45 span { --minute-accent:#d18a29; --minute-bg:#fff0d9; }
.sd-choice-grid .minute-60 span { --minute-accent:#d2694c; --minute-bg:#ffe8df; }
.sd-choice-grid .minute-90 span { --minute-accent:#7552d5; --minute-bg:#eee6ff; }
.sd-choice-grid label:hover span { transform:translateY(-3px); box-shadow:0 16px 28px color-mix(in srgb,var(--minute-accent) 18%,transparent),inset 0 3px 0 #fff,inset 0 -5px 0 rgba(79,53,137,.06); }
.sd-choice-grid label:active span { transform:translateY(2px); box-shadow:0 6px 12px rgba(72,49,126,.10),inset 0 2px 0 #fff; }
.sd-choice-grid span strong { font-size:23px; line-height:1; }
.sd-choice-grid span small { margin-top:3px; color:#7f758c; font-size:10px; }
.sd-choice-grid input:checked + span { border-color:color-mix(in srgb,var(--minute-accent) 56%,white); outline:2px solid rgba(255,255,255,.82); box-shadow:0 18px 32px color-mix(in srgb,var(--minute-accent) 24%,transparent),inset 0 3px 0 #fff,inset 0 -6px 0 color-mix(in srgb,var(--minute-accent) 12%,transparent); transform:translateY(-2px); }
.sd-choice-grid input:checked + span::after { content:"✓"; position:absolute; right:-7px; top:-10px; width:27px; height:27px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:var(--minute-accent); box-shadow:0 8px 15px rgba(67,42,123,.20); font-size:12px; }
.sd-selection-preview { position:sticky; top:18px; min-height:540px; display:flex; flex-direction:column; padding:19px; overflow:hidden; border:2px solid rgba(255,255,255,.88); border-radius:30px; color:#3c2c68; background:radial-gradient(circle at 86% 10%,rgba(255,205,229,.52),transparent 26%),linear-gradient(145deg,#fffaf5,#f7e8f1 52%,#e8ddff); box-shadow:0 22px 42px rgba(65,39,126,.19),0 7px 15px rgba(65,39,126,.08),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(91,61,151,.07); }
.sd-selection-preview::after { content:""; position:absolute; width:180px; height:180px; right:-60px; bottom:-62px; border-radius:50%; background:rgba(255,255,255,.36); }
.sd-preview-art { position:relative; z-index:1; height:185px; display:grid; place-items:center; margin:-5px -2px 12px; border:2px solid rgba(255,255,255,.86); border-radius:24px; background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(231,220,255,.82)); box-shadow:0 13px 25px rgba(75,50,132,.11),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(94,63,156,.05); }
.sd-preview-art img { width:176px; height:176px; object-fit:contain; filter:drop-shadow(0 16px 23px rgba(54,34,106,.20)); }
.sd-preview-kicker { position:relative; z-index:1; color:#7a54cf; font-size:9px; font-weight:950; letter-spacing:.12em; }
.sd-preview-title { position:relative; z-index:1; display:block; margin-top:5px; color:#3d2d68; font-size:25px; line-height:1.18; }
.sd-preview-chips { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }
.sd-preview-chips span { padding:7px 9px; border:1px solid rgba(255,255,255,.90); border-radius:13px; color:#6547ba; background:linear-gradient(145deg,#fff,#efe6ff); box-shadow:0 7px 13px rgba(73,48,132,.08),inset 0 2px 0 #fff,inset 0 -3px 0 rgba(95,66,153,.05); font-size:9px; font-weight:900; }
.sd-preview-impact { position:relative; z-index:1; display:grid; gap:8px; margin-top:17px; }
.sd-preview-impact > div { display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; gap:9px; color:#665b78; font-size:10px; }
.sd-preview-impact b { width:30px; height:30px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.90); border-radius:11px; color:#fff; background:linear-gradient(145deg,#9a75e9,#7047cd); box-shadow:0 8px 14px rgba(83,52,165,.18),inset 0 2px 0 rgba(255,255,255,.38),inset 0 -3px 0 rgba(57,27,137,.15); font-size:8px; }
.sd-profile-submit { position:relative; z-index:2; width:100%; min-width:0; min-height:62px; margin-top:auto; padding:0 18px; border:2px solid rgba(255,255,255,.82); border-radius:21px; color:#fff !important; background:linear-gradient(145deg,#a176ef,#6d43ce); box-shadow:0 18px 32px rgba(80,47,172,.30),0 6px 12px rgba(80,47,172,.14),inset 0 3px 0 rgba(255,255,255,.42),inset 0 -6px 0 rgba(57,27,137,.20); font-size:16px; font-weight:950; transition:transform .16s ease,box-shadow .16s ease; }
.sd-profile-submit:hover { transform:translateY(-3px); box-shadow:0 23px 38px rgba(80,47,172,.34),0 7px 14px rgba(80,47,172,.15),inset 0 3px 0 rgba(255,255,255,.44),inset 0 -6px 0 rgba(57,27,137,.20); }
.sd-profile-submit:active { transform:translateY(3px); box-shadow:0 8px 15px rgba(80,47,172,.20),inset 0 2px 0 rgba(255,255,255,.36),inset 0 -2px 0 rgba(57,27,137,.18); }
.sd-form-status { position:relative; z-index:1; min-height:18px; margin-top:8px; color:#6b4bc4; font-size:10px; font-weight:800; text-align:center; }
.sd-profile-form.is-initial-setup .sd-setup-layout { grid-template-columns:1fr; }
.sd-profile-form.is-initial-setup .sd-selection-preview { position:relative; top:auto; min-height:0; }
.sd-bridge-error { padding:18px; border:2px solid rgba(255,255,255,.84); border-radius:20px; background:linear-gradient(145deg,#fff6f7,#ffe7ec); color:#8b3042; box-shadow:0 12px 24px rgba(139,48,66,.10),inset 0 2px 0 #fff,inset 0 -4px 0 rgba(139,48,66,.05); }
.sd-bridge-error p { margin-top:6px !important; color:#7b6470; }
.sd-form-status { min-height:20px; color:#6b4bc4; font-weight:700; text-align:center; }
.sd-setup-screen { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.sd-setup-card { width: min(1180px,100%); overflow: hidden; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); border-radius: 38px; background: linear-gradient(145deg,#fffaf7,#eee6ff); }
.sd-setup-copy { padding: 48px; }
.sd-setup-copy h1 { max-width: 700px; font-size: clamp(38px,5vw,62px); line-height: 1.06; letter-spacing: -.025em; }
.sd-setup-copy > p { margin: 14px 0 28px; color: var(--sd-muted); font-size: 17px; }
.sd-setup-art { position: relative; min-height: 600px; background: #e9dfff; }
.sd-setup-art > img { width: 100%; height: 100%; object-fit: cover; }
.sd-mini-user { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: var(--sd-shadow); font-weight: 800; }
.sd-mini-user img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.sd-bottom-nav { display: none; }
.sd-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.sd-login-card { width: min(520px,100%); padding: 40px; text-align: center; border-radius: 30px; background: var(--sd-panel); box-shadow: var(--sd-shadow); }
.sd-login-card p { margin: 10px 0 24px; color: var(--sd-muted); }
.sd-trial-expired { min-height:100vh; display:grid; place-items:center; padding:24px; }
.sd-trial-lock-card { width:min(620px,100%); padding:clamp(28px,6vw,52px); text-align:center; border:2px solid rgba(255,255,255,.92); border-radius:34px; background:linear-gradient(145deg,#fffaf5,#efe6ff); box-shadow:var(--sd-shadow-deep),inset 0 3px 0 #fff,inset 0 -6px 0 rgba(105,73,171,.07); }
.sd-trial-lock-mark { width:82px; height:82px; margin:0 auto 18px; display:grid; place-items:center; border-radius:25px; color:#fff; background:linear-gradient(145deg,#a37cf0,#6e43ca); box-shadow:0 18px 30px rgba(76,42,158,.28),inset 0 3px 0 rgba(255,255,255,.42); font-family:serif; font-size:42px; font-weight:900; }
.sd-trial-lock-card h1 { font-size:clamp(30px,6vw,46px); line-height:1.08; }
.sd-trial-lock-card p { max-width:500px; margin:14px auto 26px !important; color:var(--sd-muted); }
.sd-trial-lock-actions { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:14px; }
.sd-trial-home { min-height:52px; display:inline-flex; align-items:center; justify-content:center; padding:0 22px; border:1px solid #d5c5ed; border-radius:18px; color:#6747b2 !important; background:rgba(255,255,255,.74); font-weight:850; }

@media (min-width: 761px) and (max-width: 1180px) {
  .sd-setup-layout { grid-template-columns:1fr; }
  .sd-selection-preview { position:relative; top:auto; min-height:0; display:grid; grid-template-columns:150px minmax(0,1fr); column-gap:16px; align-items:center; }
  .sd-preview-art { grid-row:1 / span 5; height:150px; margin:0; }
  .sd-preview-art img { width:142px; height:142px; }
  .sd-profile-submit { margin-top:12px; }
}

@media (min-width: 761px) and (max-height: 760px) {
  .sd-sidebar { padding-top: 17px; }
  .sd-user-card { margin-top: 12px; padding: 9px; }
  .sd-user-avatar { width: 44px; height: 44px; }
  .sd-nav { margin-top: 10px; gap: 4px; }
  .sd-nav-item { min-height: 41px; }
  .sd-encourage { display: none; }
}

@media (max-width: 1100px) {
  .sd-shell { --sd-page-pad: 11px; --sd-sidebar-width: 228px; --sd-shell-gap: 15px; }
  .sd-today-grid { grid-template-columns:minmax(0,1fr) 258px; }
  .sd-result-stat-grid.is-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sd-results-skill-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sd-exam-review-grid { grid-template-columns:1fr; }
  .sd-exam-review-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sd-exam-catalog-grid { grid-template-columns:1fr; }
  .sd-vip-exam-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .sd-vip-exam-grid { grid-template-columns:1fr; }
  .sd-game-stats-layout { grid-template-columns:1fr; }
  .sd-game-radar-stage { min-height:500px; }
  .sd-today-command { grid-template-columns: minmax(0,1fr) 252px; }
  .sd-command-art { height: 230px; min-height: 0; }
  .sd-route-overview-body { grid-template-columns:170px minmax(0,1fr); }
  .sd-route-overview-art img { max-width:145px; max-height:125px; }
  #jlpt180-study-director .sd-route-milestones { grid-template-columns:1fr; }
  #jlpt180-study-director .sd-route-milestone { min-height:84px; }
  #jlpt180-study-director .sd-journey-stages { grid-template-columns:1fr; }
  #jlpt180-study-director .sd-journey-stage { min-height:124px; }
}

@media (min-width: 761px) and (max-width: 1220px) {
  .sd-route-duration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body.jlpt180-sd-page { padding-bottom: env(safe-area-inset-bottom); }
  #jlpt180-study-director { font-size:15px; padding-bottom:calc(112px + env(safe-area-inset-bottom)); scroll-padding-bottom:112px; }
  .sd-shell { --sd-widget-safe: 0px; display: block; width: 100%; min-height: auto; padding: 10px; }
  .sd-sidebar { display: none; }
  .sd-content { padding: 0; }
  .sd-mobile-home { min-height:44px; margin:0 4px 10px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #d5c5ed; border-radius:15px; color:#6747b2 !important; background:linear-gradient(145deg,#fff,#eee6ff); box-shadow:0 8px 16px rgba(73,48,132,.11),inset 0 1px 0 #fff; font-size:11px; font-weight:900; }
  .sd-trial-mobile { display:inline-flex; margin:0 4px 10px; font-size:10px; }
  .sd-trial-lock-actions { display:grid; grid-template-columns:1fr; }
  .sd-trial-lock-actions > * { width:100%; }
  .sd-today-command { min-height:0; grid-template-columns:1fr; padding:16px 14px; border-radius:23px; }
  .sd-command-badges { margin-bottom: 11px; }
  .sd-command-badges span { padding: 6px 9px; font-size: 10px; }
  .sd-command-eyebrow { font-size: 9px; }
  .sd-today-command h1 { margin-top:3px !important; font-size:28px; line-height:1.12; }
  .sd-command-summary { margin-top: 7px !important; font-size: 14px; }
  .sd-command-route { font-size: 11px; }
  .sd-command-copy { width:100%; }
  .sd-command-art { height:190px; min-height:190px; order:-1; }
  .sd-today-command::after { display:none; }
  .sd-command-cta { width: 100%; min-height: 50px; margin-top: 13px; }
  .sd-command-progress { margin-top: 14px; }
  .sd-today-grid { display:block; margin-top:12px; }
  .sd-quest-board { padding:0; }
  .sd-quest-board-head { align-items: start; margin-bottom: 12px; }
  .sd-quest-title-wrap { gap: 10px; }
  .sd-quest-head-icon { width: 42px; height: 42px; }
  .sd-quest-board-head h2 { font-size: 23px; }
  .sd-quest-board-head p { display: none; }
  .sd-today-aside { display:none; }
  .sd-chips { gap: 7px; margin: 15px 0; }
  .sd-chips span { padding: 7px 10px; font-size: 12px; }
  .sd-primary.sd-large { width: 100%; min-height: 52px; font-size: 16px; }
  .sd-today-card { padding: 16px; border-radius: 24px; }
  .sd-card-head { margin-bottom: 12px; }
  .sd-card-head img { width: 42px; height: 42px; }
  .sd-card-head h2 { font-size: 21px; }
  .sd-task-list { gap: 8px; }
  .sd-task { min-height:84px; grid-template-columns:42px 40px minmax(0,1fr) auto; gap:10px; padding:12px; border-radius:21px; }
  .sd-task-index { width:42px; height:42px; border-radius:15px; font-size:15px; }
  .sd-task-icon { width: 38px; height: 38px; border-radius: 13px; }
  .sd-task-icon img { width: 30px; height: 30px; }
  .sd-task-main strong { font-size:15px; }
  .sd-task-main small { font-size:10px; line-height:1.4; }
  .sd-task-meta { gap: 3px; }
  .sd-task-state { display: none; }
  .sd-task-time { font-size: 10px; }

  .sd-page-head { padding: 24px 20px; border-radius: 24px; }
  .sd-page-head h1 { font-size: 32px; }
  .sd-profile-hero { min-height:0; grid-template-columns:1fr; gap:12px; padding:16px 14px; border-radius:23px; }
  .sd-profile-hero::after { display:none; }
  .sd-profile-hero-copy h1 { font-size:28px; }
  .sd-profile-hero-copy p { font-size:11px; line-height:1.48; }
  .sd-profile-hero-tags { gap:5px; margin-top:10px; }
  .sd-profile-hero-tags span { padding:5px 7px; font-size:8px; }
  .sd-current-route-card { min-height:78px; grid-template-columns:58px minmax(0,1fr); gap:9px; padding:9px 11px; border-radius:19px; }
  .sd-current-route-art { width:55px; height:55px; border-radius:17px; }
  .sd-current-route-art img { width:50px; height:50px; }
  .sd-current-route-card strong { font-size:14px; }
  .sd-current-route-card span { font-size:9px; }
  .sd-schedule-hero { min-height:0; grid-template-columns:1fr; padding:20px 17px; border-radius:24px; }
  .sd-schedule-hero h1 { font-size:30px; }
  .sd-schedule-hero-art { min-height:130px; order:-1; }
  .sd-schedule-hero-art img { max-height:150px; }
  .sd-route-overview { margin-top:10px; padding:15px; border-radius:24px; }
  .sd-route-overview-head { align-items:flex-start; }
  .sd-route-overview-head h2 { font-size:23px; }
  .sd-route-change-link { min-height:38px; padding:0 10px 0 8px; font-size:10px; }
  .sd-route-change-link img { width:25px; height:25px; }
  .sd-route-overview-body { grid-template-columns:1fr; gap:12px; margin-top:13px; }
  .sd-route-overview-art { min-height:145px; padding:10px; }
  .sd-route-overview-art img { max-width:150px; max-height:110px; }
  #jlpt180-study-director .sd-route-milestones { grid-template-columns:1fr; }
  #jlpt180-study-director .sd-route-milestone { min-height:78px; padding:10px 11px; border-radius:18px; }
  #jlpt180-study-director .sd-route-milestone-icon { flex-basis:52px; width:52px; height:52px; border-radius:16px; }
  #jlpt180-study-director .sd-route-milestone-icon img { width:44px; height:44px; }
  .sd-schedule-week-card, .sd-journey-card { margin-top:10px; padding:15px; border-radius:24px; }
  .sd-schedule-section-head { align-items:flex-start; margin-bottom:13px; }
  .sd-schedule-section-title img { width:46px; height:46px; }
  .sd-schedule-section-title h2 { font-size:23px; }
  .sd-schedule-section-head > p { display:none; }
  .sd-schedule-week-card .sd-week-list.is-large { grid-template-columns:1fr; }
  .sd-schedule-week-card .sd-week-row { min-height:82px; grid-template-columns:54px minmax(0,1fr); gap:10px; padding:10px 11px; border-radius:20px; }
  .sd-schedule-week-card .sd-week-calendar { width:50px; height:52px; }
  #jlpt180-study-director .sd-journey-stages { grid-template-columns:1fr; gap:9px; }
  #jlpt180-study-director .sd-journey-stage { min-height:132px; gap:11px; padding:13px; border-radius:21px; }
  #jlpt180-study-director .sd-journey-stage-icon { flex-basis:56px; width:56px; height:56px; border-radius:17px; }
  #jlpt180-study-director .sd-journey-stage-icon img { width:49px; height:49px; }
  #jlpt180-study-director .sd-journey-stage-copy { padding-right:52px; }
  #jlpt180-study-director .sd-journey-stage h3 { font-size:18px; }
  #jlpt180-study-director .sd-stage-progress { margin-top:8px; gap:7px; }
  #jlpt180-study-director .sd-stage-progress > div { font-size:8px; }
  #jlpt180-study-director .sd-stage-progress > b { height:6px; }
  .sd-full-week, .sd-phase-card, .sd-profile-card { margin-top: 10px; }
  .sd-full-week, .sd-phase-card, .sd-profile-card { padding: 15px; border-radius: 22px; }
  .sd-week-list.is-large { grid-template-columns:1fr; }
  .sd-week-row { min-height:68px; grid-template-columns:48px minmax(0,1fr); gap:9px; padding:9px 10px; }
  .sd-week-calendar { width:46px; height:49px; border-radius:15px; }
  .sd-week-calendar b { font-size:18px; }
  .sd-week-title-line { gap:5px; }
  .sd-week-title-line strong { font-size:13px; }
  .sd-week-title-line span { font-size:8px; }
  .sd-week-title-line em { padding:3px 5px; font-size:7px; }
  .sd-week-row p { margin-top:3px !important; font-size:10px; line-height:1.35; }
  .sd-results-hero { min-height:0; grid-template-columns:1fr; padding:18px 16px; border-radius:22px; }
  .sd-results-title-desktop,.sd-results-subtitle-desktop { display:none; }
  .sd-results-title-mobile,.sd-results-subtitle-mobile { display:inline; }
  .sd-results-hero h1 { font-size:28px; line-height:1.08; }
  .sd-results-hero p { margin-top:7px !important; font-size:12px; line-height:1.45; }
  .sd-results-hero-art { display:none; }
  .sd-results-category-nav { position:relative; top:auto; display:flex; gap:7px; margin-top:9px; padding:7px; overflow-x:auto; border-radius:20px; scrollbar-width:none; }
  .sd-results-category-nav::-webkit-scrollbar { display:none; }
  .sd-results-category-nav button { flex:0 0 132px; min-height:58px; grid-template-columns:38px minmax(0,1fr); column-gap:7px; padding:7px 8px; border-radius:16px; }
  .sd-results-category-nav button > span { width:36px; height:36px; border-radius:12px; }
  .sd-results-category-nav button > span img { width:31px; height:31px; }
  .sd-results-category-nav button strong { font-size:10px; }
  .sd-results-category-nav button small { font-size:7px; }
  .sd-source-result-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-bottom:10px; }
  .sd-source-result-summary > div { min-height:70px; padding:10px; border-radius:17px; }
  .sd-source-result-summary strong { font-size:20px; }
  .sd-source-review-grid { grid-template-columns:1fr; gap:9px; }
  .sd-source-review-card { gap:9px; padding:12px; border-radius:20px; }
  .sd-source-review-card header { grid-template-columns:44px minmax(0,1fr); gap:8px; }
  .sd-source-review-card header > b { grid-column:2; justify-self:start; margin-top:-3px; white-space:normal; }
  .sd-source-review-icon { width:42px; height:42px; border-radius:14px; }
  .sd-source-review-icon img { width:35px; height:35px; }
  .sd-source-review-card h3 { font-size:13px; }
  .sd-source-review-metrics > div { min-height:52px; }
  .sd-source-review-metrics strong { font-size:15px; }
  .sd-source-review-answer p { grid-template-columns:54px minmax(0,1fr); font-size:9px; }
  .sd-source-review-card footer a { min-height:36px; }
  .sd-result-stat-grid,.sd-result-stat-grid.is-four { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:9px; }
  .sd-result-stat { min-height:94px; grid-template-columns:38px minmax(0,1fr); gap:7px; padding:10px; border-radius:18px; }
  .sd-result-stat::before { inset:5px; border-radius:13px; }
  .sd-result-stat-icon { width:38px; height:38px; border-radius:13px; }
  .sd-result-stat-icon img { width:32px; height:32px; }
  .sd-result-stat-copy small { font-size:8px; line-height:1.25; }
  .sd-result-stat-copy strong { font-size:24px; }
  .sd-result-stat-copy p { font-size:8px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
  .sd-result-stat-bar { left:10px; right:10px; bottom:8px; height:4px; }
  .sd-results-insight { min-height:0; grid-template-columns:42px minmax(0,1fr); gap:8px; padding:10px; border-radius:18px; }
  .sd-results-insight-icon { width:40px; height:40px; }
  .sd-results-insight-icon img { width:39px; height:39px; }
  .sd-results-insight small { font-size:8px; }
  .sd-results-insight strong { font-size:12px; line-height:1.35; }
  .sd-results-insight p { display:none; }
  .sd-radar-panel { padding:11px; }
  .sd-game-stats-layout { grid-template-columns:1fr; gap:10px; }
  .sd-game-radar-stage { min-height:0; aspect-ratio:1 / 1; border-radius:24px; }
  .sd-game-radar-stage::after { width:210px; height:210px; }
  .sd-game-radar-svg { width:250px; height:250px; }
  .sd-game-radar-core { width:60px; height:60px; }
  .sd-game-radar-core img { width:18px; height:18px; }
  .sd-game-radar-core span,.sd-game-radar-core small { max-width:50px; font-size:5.5px; }
  .sd-game-radar-core strong { font-size:16px; }
  .sd-game-skill-node { width:72px; gap:2px; }
  .sd-game-skill-orb { width:42px; height:42px; border-radius:14px; }
  .sd-game-skill-orb img { width:34px; height:34px; }
  .sd-game-skill-node strong { font-size:10px; }
  .sd-game-skill-node small { max-width:72px; padding:2px 5px; font-size:6.5px; }
  .sd-game-skill-node.node-1 { top:4px; }
  .sd-game-skill-node.node-2 { right:0; top:86px; }
  .sd-game-skill-node.node-3 { right:28px; bottom:3px; }
  .sd-game-skill-node.node-4 { left:28px; bottom:3px; }
  .sd-game-skill-node.node-5 { left:0; top:86px; }
  .sd-game-radar-footnote { gap:7px; justify-content:flex-start; font-size:8px; }
  .sd-game-radar-footnote span { width:100%; }
  .sd-game-stat-panel { padding:11px; border-radius:23px; }
  .sd-game-stat-head { margin-bottom:9px; }
  .sd-game-stat-head h3 { font-size:20px; }
  .sd-game-stat-row { min-height:70px; grid-template-columns:40px minmax(0,1fr) auto; gap:8px; padding:8px; border-radius:17px; }
  .sd-game-stat-icon { width:38px; height:38px; border-radius:13px; }
  .sd-game-stat-icon img { width:32px; height:32px; }
  .sd-game-stat-title strong { font-size:12px; }
  .sd-game-stat-title span { font-size:9px; }
  .sd-game-stat-row.is-pending .sd-game-stat-title span { display:none; }
  .sd-game-stat-bar { height:5px; margin-top:4px; }
  .sd-game-stat-copy p { margin-top:3px !important; font-size:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sd-game-stat-status { min-width:54px; padding:5px 7px; font-size:8px; }
  .sd-game-stat-rule { display:none; }
  .sd-results-panel { margin-top:10px; padding:14px; border-radius:22px; }
  .sd-exam-level-workspace { margin-top:10px; padding:13px; border-radius:22px; }
  .sd-exam-level-switch { grid-template-columns:repeat(5,minmax(78px,1fr)); gap:7px; overflow-x:auto; padding:2px 2px 8px; scrollbar-width:none; }
  .sd-exam-level-switch::-webkit-scrollbar { display:none; }
  .sd-exam-level-tab { min-height:62px; padding:9px 10px; border-radius:17px; }
  .sd-exam-level-tab strong { font-size:18px; }
  .sd-exam-level-tab small { font-size:8px; }
  .sd-exam-level-tab em { display:none; }
  .sd-exam-unknown-note { align-items:flex-start; flex-direction:column; gap:3px; padding:9px 10px; }
  .sd-exam-unknown-note strong { font-size:10px; white-space:normal; }
  .sd-exam-unknown-note span { font-size:9px; }
  .sd-results-section-head { align-items:flex-start; margin-bottom:11px; }
  .sd-exam-catalog-panel { margin-top:10px; padding:13px; border-radius:24px; }
  .sd-exam-catalog-priority { margin-bottom:9px; padding:7px; }
  .sd-exam-catalog-priority > strong { display:none; }
  .sd-exam-catalog-filterbar { grid-template-columns:1fr; gap:7px; margin-bottom:12px; }
  .sd-exam-filter-row { flex-wrap:nowrap; overflow-x:auto; padding:7px; scroll-snap-type:x proximity; }
  .sd-exam-filter-label { position:sticky; left:0; z-index:2; min-width:62px; padding:8px 7px; border:2px solid rgba(101,73,164,.22); border-radius:10px; background:linear-gradient(145deg,#d3c6e8,#e7def5); box-shadow:0 3px 0 rgba(94,72,139,.12); }
  .sd-exam-catalog-filter { flex:0 0 auto; min-height:38px; scroll-snap-align:start; }
  .sd-exam-catalog-grid { grid-template-columns:1fr; gap:12px; }
  #jlpt180-study-director .sd-exam-catalog-card { min-height:0; padding:15px; gap:12px; border-radius:25px; }
  #jlpt180-study-director .sd-exam-catalog-card-head { grid-template-columns:40px 52px minmax(0,1fr); gap:9px; align-items:center; }
  #jlpt180-study-director .sd-exam-order { width:38px; height:46px; border-radius:12px; }
  #jlpt180-study-director .sd-exam-order strong { font-size:15px; }
  #jlpt180-study-director .sd-exam-catalog-icon { width:50px; height:50px; border-radius:16px; }
  #jlpt180-study-director .sd-exam-catalog-icon img { width:43px; height:43px; }
  #jlpt180-study-director .sd-exam-catalog-card-head h3 { font-size:15px; }
  #jlpt180-study-director .sd-exam-state-badge { grid-column:3; justify-self:start; margin-top:4px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #jlpt180-study-director .sd-exam-catalog-card-meta span { min-height:44px; padding:7px 8px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta small { font-size:7px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta strong { font-size:11px; }
  #jlpt180-study-director .sd-exam-catalog-card-foot { align-items:stretch; flex-direction:column; gap:10px; }
  #jlpt180-study-director .sd-exam-recommended-flag { display:none; }
  #jlpt180-study-director .sd-exam-catalog-action { width:100%; min-width:0; }
  .sd-vip-exam-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .sd-vip-exam-summary > div { min-height:76px; padding:10px 11px; border-radius:18px; }
  .sd-vip-exam-summary span { font-size:10px; }
  .sd-vip-exam-summary strong { font-size:25px; }
  .sd-vip-exam-summary small { font-size:9px; }
  .sd-vip-exam-grid { grid-template-columns:1fr; gap:13px; }
  .sd-vip-exam-card { min-height:0; padding:15px; border-radius:24px; }
  .sd-vip-exam-card-head { grid-template-columns:38px 46px minmax(0,1fr); gap:8px; }
  .sd-vip-exam-card-head > b { grid-column:3; justify-self:start; }
  .sd-vip-exam-rank { width:36px; height:36px; border-radius:12px; font-size:14px; }
  .sd-vip-exam-card-icon { width:44px; height:44px; border-radius:15px; }
  .sd-vip-exam-card-icon img { width:39px; height:39px; }
  .sd-vip-exam-card-head h3 { font-size:17px; }
  .sd-vip-exam-score-row { grid-template-columns:1fr; }
  .sd-vip-exam-main-score { min-height:104px; }
  .sd-vip-exam-main-score strong { font-size:40px; }
  .sd-vip-exam-mini-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .sd-vip-exam-card-foot { align-items:stretch; flex-direction:column; }
  .sd-vip-exam-action { width:100%; justify-content:center; }
  .sd-vip-attempt-history { padding:10px; border-radius:19px; }
  .sd-vip-attempt-row { grid-template-columns:10px minmax(0,1fr) 50px; }
  .sd-vip-attempt-row > em { display:none; }
  .sd-results-section-icon { width:45px; height:45px; border-radius:15px; }
  .sd-results-section-icon img { width:37px; height:37px; }
  .sd-results-section-head > p { display:none; }
  .sd-exam-review-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .sd-exam-review-dashboard > div { min-height:68px; padding:9px 10px; border-radius:17px; }
  .sd-exam-review-dashboard span { font-size:8px; }
  .sd-exam-review-dashboard strong { font-size:22px; }
  .sd-exam-review-dashboard small { font-size:7px; }
  .sd-exam-review-grid { grid-template-columns:1fr; gap:9px; }
  .sd-exam-review-grid:not(.is-mobile-expanded) .sd-exam-review-card.is-mobile-extra { display:none; }
  .sd-exam-review-more { display:flex; align-items:center; justify-content:center; }
  .sd-exam-review-card { min-height:0; padding:13px; border-radius:20px; }
  .sd-exam-review-head { grid-template-columns:52px minmax(0,1fr); gap:10px; }
  .sd-exam-review-icon { width:50px; height:50px; border-radius:16px; }
  .sd-exam-review-icon img { width:42px; height:42px; }
  .sd-exam-review-title h3 { font-size:15px; }
  .sd-exam-review-metrics { gap:6px; }
  .sd-exam-review-metrics > div { min-height:58px; padding:7px 4px; }
  .sd-exam-review-metrics strong { font-size:21px; }
  .sd-exam-review-foot { align-items:stretch; flex-direction:column; }
  .sd-exam-review-action { width:100%; justify-content:center; }
  .sd-skill-panel { display:none; }
  .sd-results-skill-grid { grid-template-columns:1fr; gap:8px; }
  .sd-results-skill-card { min-height:108px; grid-template-columns:52px minmax(0,1fr); padding:12px; border-radius:19px; }
  .sd-results-skill-icon { width:50px; height:50px; border-radius:16px; }
  .sd-results-skill-icon img { width:42px; height:42px; }
  .sd-results-skill-copy > strong { font-size:24px; }
  .sd-results-skill-copy .sd-results-no-data { font-size:15px; }
  .sd-phase-card-simple { display:block; }
  .sd-phase-card-simple p { margin-top:10px !important; text-align:left; }
  .sd-profile-workspace { margin-top:10px; padding:9px; border-radius:25px; }
  .sd-setup-layout { grid-template-columns:1fr; gap:10px; }
  .sd-configurator { gap:10px; }
  .sd-config-block { padding:13px; border-radius:22px; box-shadow:0 13px 24px rgba(73,49,129,.12),inset 0 3px 0 #fff,inset 0 -4px 0 rgba(104,75,166,.055); }
  .sd-config-head { gap:9px; margin-bottom:11px; }
  .sd-config-head-inline { align-items:flex-start; flex-wrap:wrap; }
  .sd-config-head-inline > p { width:100%; margin-left:45px !important; margin-top:-5px !important; text-align:left; font-size:9px; }
  .sd-config-step { width:32px; height:32px; border-radius:11px; font-size:9px; }
  .sd-config-head h2 { font-size:16px; }
  .sd-level-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  .sd-level-tab { min-height:48px; border-radius:16px; }
  .sd-route-group.is-active { gap:10px; }
  .sd-textbook-tabs { grid-template-columns:1fr; gap:7px; }
  .sd-textbook-tab { min-height:72px; grid-template-columns:46px minmax(0,1fr); padding:9px; border-radius:18px; }
  .sd-textbook-icon { width:44px; height:44px; border-radius:14px; }
  .sd-textbook-icon img { width:37px; height:37px; }
  .sd-textbook-copy strong { font-size:13px; }
  .sd-textbook-panel { padding:13px; border-radius:22px; }
  .sd-route-duration-grid { grid-template-columns:1fr; gap:7px; }
  .sd-route-option-surface { min-height:84px; grid-template-columns:46px minmax(0,1fr); gap:10px; padding:10px 11px; border-radius:18px; }
  .sd-duration-orb { width:44px; height:48px; border-radius:14px; font-size:15px; }
  .sd-route-option-surface strong { font-size:15px; }
  .sd-route-option-surface small { font-size:8px; }
  .sd-minute-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
  .sd-choice-grid span { min-height:64px; padding:7px 2px; border-radius:16px; }
  .sd-choice-grid span strong { font-size:16px; }
  .sd-choice-grid span small { font-size:8px; }
  .sd-selection-preview { position:relative; top:auto; min-height:0; padding:14px; border-radius:23px; }
  .sd-preview-art { height:112px; margin:-2px -1px 8px; border-radius:18px; }
  .sd-preview-art img { width:108px; height:108px; }
  .sd-preview-title { font-size:19px; }
  .sd-preview-chips { gap:5px; margin-top:9px; }
  .sd-preview-chips span { padding:5px 7px; font-size:8px; }
  .sd-preview-impact { gap:6px; margin-top:12px; }
  .sd-preview-impact > div { grid-template-columns:25px minmax(0,1fr); gap:7px; font-size:9px; }
  .sd-preview-impact b { width:25px; height:25px; border-radius:9px; }
  .sd-profile-submit { width:100%; min-height:56px; margin-top:14px; }
  .sd-setup-screen { padding: 10px; }
  .sd-setup-card { display: block; border-radius: 28px; }
  .sd-setup-copy { padding: 26px 18px; }
  .sd-setup-copy h1 { font-size: 36px; letter-spacing: -1px; }
  .sd-setup-art { display: none; }

  /* v0.6.45: real mobile layout for the VIP exam catalog. The desktop rule uses
     an ID selector, so the old class-only mobile override could not collapse the
     grid and left two squeezed cards side by side. */
  #jlpt180-study-director .sd-exam-center-hero { min-height:0; padding:14px 13px; border-radius:21px; }
  #jlpt180-study-director .sd-exam-center-hero .sd-results-hero-copy h1 { font-size:27px; line-height:1.08; }
  #jlpt180-study-director .sd-exam-center-hero .sd-results-hero-copy p { font-size:11px; }
  #jlpt180-study-director .sd-exam-level-workspace { padding:11px; overflow:hidden; }
  #jlpt180-study-director .sd-exam-level-head { margin-bottom:10px; }
  #jlpt180-study-director .sd-exam-level-head .sd-results-section-title { align-items:flex-start; }
  #jlpt180-study-director .sd-exam-level-head .sd-results-section-title h2 { font-size:23px; line-height:1.12; }
  #jlpt180-study-director .sd-exam-level-head .sd-results-section-icon { width:42px; height:42px; }
  #jlpt180-study-director .sd-exam-level-head .sd-results-section-icon img { width:36px; height:36px; }
  #jlpt180-study-director .sd-exam-level-switch {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px;
    width:100%; overflow:visible; padding:0;
  }
  #jlpt180-study-director .sd-exam-level-tab { min-width:0; min-height:56px; padding:8px 9px; border-radius:16px; }
  #jlpt180-study-director .sd-exam-level-tab strong { font-size:17px; }
  #jlpt180-study-director .sd-exam-level-tab small { font-size:7px; white-space:nowrap; }

  #jlpt180-study-director .sd-exam-catalog-panel { width:100%; max-width:100%; padding:11px; overflow:hidden; border-radius:22px; }
  #jlpt180-study-director .sd-exam-catalog-head { margin-bottom:9px; }
  #jlpt180-study-director .sd-exam-catalog-head .sd-results-section-title { align-items:flex-start; gap:8px; }
  #jlpt180-study-director .sd-exam-catalog-head .sd-results-section-icon { width:42px; height:42px; }
  #jlpt180-study-director .sd-exam-catalog-head .sd-results-section-icon img { width:36px; height:36px; }
  #jlpt180-study-director .sd-exam-catalog-head h2 { font-size:23px; line-height:1.12; }
  #jlpt180-study-director .sd-exam-catalog-priority { width:100%; max-width:100%; gap:6px; padding:7px; border-radius:16px; }
  #jlpt180-study-director .sd-exam-catalog-priority > span { flex:0 0 auto; padding:6px 8px; font-size:8px; }
  #jlpt180-study-director .sd-exam-catalog-filterbar { display:grid; grid-template-columns:minmax(0,1fr); width:100%; gap:7px; }
  #jlpt180-study-director .sd-exam-filter-row {
    display:flex; width:100%; max-width:100%; min-width:0; flex-wrap:nowrap;
    gap:6px; padding:7px; overflow-x:auto; overflow-y:hidden; border-radius:16px;
    scroll-snap-type:x proximity; overscroll-behavior-inline:contain;
  }
  #jlpt180-study-director .sd-exam-filter-label {
    position:static; left:auto; z-index:auto; flex:0 0 auto; min-width:auto;
    padding:8px 9px; border-radius:11px; font-size:8px; white-space:nowrap;
  }
  #jlpt180-study-director .sd-exam-catalog-filter { flex:0 0 auto; min-height:38px; padding:7px 9px; border-radius:13px; }
  #jlpt180-study-director .sd-exam-catalog-filter span { font-size:10px; }

  #jlpt180-study-director .sd-exam-catalog-grid {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-auto-flow:row !important; width:100% !important; max-width:100% !important;
    min-width:0 !important; gap:12px !important;
  }
  #jlpt180-study-director .sd-exam-catalog-card {
    width:100% !important; max-width:100% !important; min-width:0 !important;
    padding:13px !important; gap:10px !important; border-radius:23px !important;
  }
  #jlpt180-study-director .sd-exam-catalog-card::before { inset:6px; border-radius:16px; }
  #jlpt180-study-director .sd-exam-catalog-card::after { left:22px; right:22px; height:6px; }
  #jlpt180-study-director .sd-exam-catalog-card-head {
    display:grid !important; grid-template-columns:42px 52px minmax(0,1fr) !important;
    grid-template-rows:auto auto; align-items:start; gap:8px !important; min-width:0;
  }
  #jlpt180-study-director .sd-exam-order { grid-column:1; grid-row:1 / span 2; width:40px; height:49px; border-radius:12px; }
  #jlpt180-study-director .sd-exam-order small { font-size:6px; }
  #jlpt180-study-director .sd-exam-order strong { font-size:16px; }
  #jlpt180-study-director .sd-exam-catalog-icon { grid-column:2; grid-row:1 / span 2; width:50px; height:50px; border-radius:15px; }
  #jlpt180-study-director .sd-exam-catalog-icon img { width:43px; height:43px; }
  #jlpt180-study-director .sd-exam-card-heading { grid-column:3; grid-row:1; min-width:0; }
  #jlpt180-study-director .sd-exam-type-badge { min-height:22px; padding:3px 8px; font-size:8px; }
  #jlpt180-study-director .sd-exam-catalog-card-head h3 {
    margin-top:5px !important; font-size:16px; line-height:1.22;
    overflow-wrap:normal; word-break:normal;
  }
  #jlpt180-study-director .sd-exam-state-badge {
    grid-column:3; grid-row:2; justify-self:start; align-self:start; margin:0;
    padding:5px 8px; font-size:8px;
  }
  #jlpt180-study-director .sd-exam-catalog-card-meta { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta span { min-height:48px; padding:7px; border-radius:14px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta small { font-size:7px; }
  #jlpt180-study-director .sd-exam-catalog-card-meta strong { font-size:12px; }
  #jlpt180-study-director .sd-exam-catalog-note { font-size:10px; line-height:1.4; }
  #jlpt180-study-director .sd-exam-catalog-card-foot { align-items:stretch; flex-direction:column; gap:9px; padding-top:10px; }
  #jlpt180-study-director .sd-exam-card-context { min-height:20px; }
  #jlpt180-study-director .sd-exam-card-context small { font-size:9px; }
  #jlpt180-study-director .sd-exam-catalog-action { width:100%; min-width:0; min-height:47px; border-radius:15px; font-size:12px; }

  .sd-bottom-nav {
    position: fixed; z-index: 9999; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(9px, env(safe-area-inset-bottom));
    height: 68px; display: grid; grid-template-columns: repeat(5,1fr); padding: 7px; border-radius: 23px;
    background: rgba(248,243,255,.94); backdrop-filter: blur(18px); box-shadow: 0 18px 40px rgba(58,39,113,.26), inset 0 1px 0 #fff;
  }
  .sd-bottom-nav .sd-nav-item { min-height: 54px; padding: 4px 2px; border-radius: 16px; display: grid; justify-items: center; align-content: center; gap: 1px; color: #786f8e; background: transparent; text-align: center; }
  .sd-bottom-nav .sd-nav-arrow { display:none; }
  .sd-bottom-nav .sd-nav-icon { width:31px; height:31px; border-radius:11px; background:transparent; box-shadow:none; }
  .sd-bottom-nav .sd-nav-icon img { width:27px; height:27px; }
  .sd-bottom-nav .sd-nav-label { font-size:9px; font-weight:850; line-height:1.05; }
  .sd-bottom-nav .sd-nav-item.is-active { color:#6444c4; border:0; background:linear-gradient(145deg,#fff,#ede4ff); box-shadow:0 7px 14px rgba(83,55,158,.14),inset 0 1px 0 #fff; transform:none; }
  .sd-bottom-nav .sd-nav-item.is-active .sd-nav-icon { background:transparent; box-shadow:none; }
}

@media (max-width: 380px) {
  .sd-shell { padding: 7px; }
  .sd-quest-board { padding:0; }
  .sd-task { grid-template-columns:38px 34px minmax(0,1fr) auto; }
  .sd-task-index { width:38px; height:38px; }
}

/* v0.3.0: closed daily learning loop */
.sd-flow-notice {
  margin-bottom: 14px;
  transition: opacity .24s ease, transform .24s ease, max-height .28s ease, margin .28s ease, padding .28s ease;
  max-height: 120px;
  padding: 13px 17px;
  border-radius: 18px;
  color: #4f4770;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(237,230,255,.88));
  box-shadow: 0 9px 20px rgba(74,51,128,.09), inset 0 1px 0 #fff;
}
.sd-flow-notice.is-leaving { opacity: 0; transform: translateY(-5px); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.sd-flow-notice.is-success { color: #236f4a; background: linear-gradient(145deg,#e9faef,#f7fff9); }
.sd-flow-notice.is-carryover { color: #8a5424; background: linear-gradient(145deg,#fff2df,#fffaf1); }
.sd-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  color: #6547c0;
  background: linear-gradient(145deg,#fffefa,#eee6ff);
  box-shadow: 0 9px 18px rgba(80,57,136,.11), inset 0 1px 0 #fff;
  font-weight: 850;
  cursor: pointer;
}
.sd-complete-hero,
.sd-route-complete {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr);
  align-items: stretch;
  overflow: hidden;
  padding-left: clamp(28px,3.4vw,52px);
}
.sd-complete-hero > div,
.sd-route-complete-copy { align-self: center; padding: 38px 28px 38px 0; }
.sd-complete-hero h1,
.sd-route-complete h1 { font-size: clamp(36px,4.2vw,58px); line-height: 1.08; letter-spacing: -1.4px; }
.sd-complete-hero p,
.sd-route-complete p { max-width: 680px; margin-top: 14px; color: var(--sd-muted); font-size: 17px; }
.sd-complete-hero small { display: block; margin-top: 13px; color: #8a80a4; font-weight: 750; }
.sd-complete-hero > img,
.sd-route-complete > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.sd-completion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.sd-day-summary-card,
.sd-next-day-card,
.sd-next-route-card,
.sd-remain-card { padding: 26px; }
.sd-summary-counts { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-summary-counts span { padding: 10px 13px; border-radius: 15px; color: #625879; background: linear-gradient(145deg,#fffefa,#f1eaff); box-shadow: 0 7px 15px rgba(74,51,128,.08), inset 0 1px 0 #fff; }
.sd-summary-counts strong { color: #6e48d4; font-size: 19px; }
.sd-summary-lessons,
.sd-quiz-result,
.sd-next-day-card p,
.sd-next-route-card p,
.sd-remain-card p { margin-top: 14px !important; color: var(--sd-muted); }
.sd-quiz-result strong { color: #2c8a5e; font-size: 20px; }
.sd-next-day-card > strong { display: block; font-size: 24px; }
.sd-next-day-card .sd-secondary,
.sd-next-route-card .sd-primary,
.sd-next-route-card .sd-secondary,
.sd-remain-card .sd-secondary { margin-top: 18px; }
.sd-next-route-card h2,
.sd-remain-card h2 { margin-top: 5px !important; font-size: 27px; line-height: 1.2; }
.sd-route-action-status { min-height: 22px; margin-top: 10px !important; color: #6b4bc4 !important; font-weight: 750; }

@media (max-width: 900px) {
  .sd-complete-hero,
  .sd-route-complete { grid-template-columns: 1fr 38%; padding-left: 28px; }
  .sd-completion-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sd-flow-notice { margin-bottom: 10px; padding: 11px 13px; border-radius: 15px; font-size: 13px; }
  .sd-complete-hero,
  .sd-route-complete { min-height: 0; display: block; padding: 0; border-radius: 25px; }
  .sd-complete-hero > div,
  .sd-route-complete-copy { padding: 25px 20px; }
  .sd-complete-hero h1,
  .sd-route-complete h1 { font-size: 31px; letter-spacing: -.8px; }
  .sd-complete-hero p,
  .sd-route-complete p { font-size: 14px; }
  .sd-complete-hero > img,
  .sd-route-complete > img { display: none; }
  .sd-completion-grid { display: block; margin-top: 10px; }
  .sd-day-summary-card,
  .sd-next-day-card,
  .sd-next-route-card,
  .sd-remain-card { margin-top: 10px; padding: 18px; border-radius: 23px; }
  .sd-summary-counts { gap: 7px; }
  .sd-summary-counts span { padding: 8px 10px; font-size: 12px; }
  .sd-summary-counts strong { font-size: 16px; }
  .sd-secondary,
  .sd-next-route-card .sd-primary { width: 100%; }
}

/* v0.5.0 guided daily session */
.sd-session-transition {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 18px;
  border-radius: 19px;
  color: #4f4770;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,226,255,.94));
  box-shadow: 0 12px 28px rgba(70,45,130,.12), inset 0 1px 0 #fff;
}
.sd-session-transition.is-moving strong { color: #2f8a5c; }
.sd-session-transition.is-waiting strong { color: #b3652d; }
.sd-session-transition span { color: #7a718f; font-size: 13px; }
@media (max-width: 760px) {
  .sd-session-transition { display: block; min-height: 0; margin: 0 0 9px; padding: 10px 12px; border-radius: 16px; }
  .sd-session-transition strong, .sd-session-transition span { display: block; }
  .sd-session-transition span { margin-top: 2px; font-size: 11px; }
  }

/* v0.6.50: admin print room */
.sd-nav .sd-nav-print { --nav-a:#f4fff9; --nav-b:#d9f3e6; --nav-ink:#326d55; --nav-accent:#58a97f; }
.sd-print-room { width:100%; }
.sd-print-hero {
  min-height:230px; display:grid; grid-template-columns:minmax(0,1fr) 260px; align-items:center; gap:24px;
  padding:28px 34px; overflow:hidden; border:2px solid rgba(255,255,255,.92); border-radius:32px;
  background:
    radial-gradient(circle at 76% 18%,rgba(255,255,255,.92),rgba(255,255,255,0) 25%),
    linear-gradient(135deg,#fff8f3 0%,#f5ecff 56%,#e7f4ff 100%);
  box-shadow:0 22px 50px rgba(79,52,139,.15),inset 0 3px 0 rgba(255,255,255,.96),inset 0 -7px 0 rgba(113,82,177,.06);
}
.sd-print-hero-copy { position:relative; z-index:1; }
.sd-print-hero h1 { margin:6px 0 8px; color:#3e285c; font-size:clamp(38px,4vw,62px); line-height:1.04; letter-spacing:-1.4px; }
.sd-print-hero p { max-width:720px; margin:0; color:#716680; font-size:16px; line-height:1.6; }
.sd-print-hero-art { width:240px; height:190px; justify-self:end; object-fit:contain; filter:drop-shadow(0 16px 18px rgba(75,48,126,.18)); }
.sd-print-layout { display:grid; grid-template-columns:minmax(320px,.72fr) minmax(500px,1.28fr); gap:18px; margin-top:18px; align-items:start; }
.sd-print-controls,
.sd-print-preview {
  min-width:0; border:2px solid rgba(255,255,255,.94); border-radius:29px;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(247,241,255,.94));
  box-shadow:0 18px 38px rgba(72,46,130,.13),inset 0 2px 0 #fff;
}
.sd-print-controls { padding:24px; }
.sd-print-section-head { display:flex; align-items:center; gap:11px; margin-bottom:12px; }
.sd-print-section-head:not(:first-child) { margin-top:25px; }
.sd-print-section-head > span {
  width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:12px; color:#fff;
  background:linear-gradient(145deg,#9b75ec,#6843ca); box-shadow:0 8px 15px rgba(94,62,175,.25),inset 0 2px 0 rgba(255,255,255,.4); font-weight:950;
}
.sd-print-section-head small { display:block; color:#8c7da5; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.sd-print-section-head h2 { margin:1px 0 0; color:#403158; font-size:19px; line-height:1.2; }
.sd-print-levels { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.sd-print-level {
  min-width:0; min-height:50px; padding:0 6px; border:2px solid #fff; border-radius:16px; color:#594d69;
  background:linear-gradient(145deg,#fffdf8,#ece8f2); box-shadow:0 8px 15px rgba(78,57,119,.1),inset 0 2px 0 #fff;
  font:900 15px/1 inherit; cursor:pointer;
}
.sd-print-level.is-active { color:#fff; border-color:#e9ddff; background:linear-gradient(145deg,#9a72ed,#6843c8); box-shadow:0 10px 19px rgba(93,57,181,.3),inset 0 2px 0 rgba(255,255,255,.38); }
.sd-print-categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.sd-print-category {
  min-width:0; min-height:56px; display:grid; grid-template-columns:minmax(0,1fr) 25px; align-items:center; gap:7px; padding:8px 10px;
  border:2px solid #fff; border-radius:16px; color:#554767; background:linear-gradient(145deg,#fffdf9,#ede8f4);
  box-shadow:0 8px 15px rgba(78,57,119,.1),inset 0 2px 0 #fff; font:850 12px/1.25 inherit; text-align:left; cursor:pointer;
}
.sd-print-category b { width:25px; height:25px; display:grid; place-items:center; border-radius:9px; color:#7658b9; background:#eee5ff; font-size:10px; }
.sd-print-category.is-active { color:#fff; border-color:#e9ddff; background:linear-gradient(145deg,#9a72ed,#6843c8); box-shadow:0 10px 19px rgba(93,57,181,.26),inset 0 2px 0 rgba(255,255,255,.36); }
.sd-print-category.is-active b { color:#6843c8; background:#fff; }
.sd-print-select-wrap { display:block; }
.sd-print-select-wrap > span { display:block; margin-bottom:7px; color:#756986; font-size:12px; font-weight:850; }
.sd-print-select-wrap select {
  width:100%; min-height:54px; padding:0 42px 0 15px; border:2px solid #e7daf7; border-radius:17px; color:#403158; background:#fff;
  font:800 14px/1.3 inherit; box-shadow:inset 0 2px 5px rgba(76,49,124,.06),0 8px 16px rgba(82,57,130,.08);
}
.sd-print-select-wrap select:disabled { color:#9c94a7; background:#f2eff5; }
.sd-print-selected-meta { min-height:22px; margin-top:9px; color:#776a88; font-size:12px; font-weight:750; }
.sd-print-modes { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.sd-print-mode {
  min-height:52px; padding:7px 10px; border:2px solid #fff; border-radius:16px; color:#615471;
  background:linear-gradient(145deg,#fff,#eee9f5); box-shadow:0 8px 15px rgba(78,57,119,.1),inset 0 2px 0 #fff;
  font:850 12px/1.3 inherit; cursor:pointer;
}
.sd-print-mode.is-active { color:#fff; border-color:#dff5e9; background:linear-gradient(145deg,#72bd96,#3f9369); box-shadow:0 10px 19px rgba(45,130,88,.24),inset 0 2px 0 rgba(255,255,255,.38); }
.sd-print-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:24px; }
.sd-print-preview-button,
.sd-print-button {
  min-height:54px; padding:0 14px; border:2px solid rgba(255,255,255,.92); border-radius:18px; font:900 15px/1 inherit; cursor:pointer;
  box-shadow:0 11px 20px rgba(73,48,127,.16),inset 0 2px 0 rgba(255,255,255,.6);
}
.sd-print-preview-button { color:#6847bd; background:linear-gradient(145deg,#fff,#eee6ff); }
.sd-print-button { color:#fff; background:linear-gradient(145deg,#966cea,#6540c5); }
.sd-print-preview-button:disabled,
.sd-print-button:disabled { color:#9d95a9; background:#eeeaf1; box-shadow:none; cursor:not-allowed; }
.sd-print-status { min-height:22px; margin:9px 0 0; color:#5e4e77; font-size:12px; font-weight:750; text-align:center; }
.sd-print-preview { padding:18px; }
.sd-print-preview-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:3px 4px 14px; }
.sd-print-preview-head small { display:block; color:#8a78a4; font-size:10px; font-weight:900; letter-spacing:.08em; }
.sd-print-preview-head h2 { margin:2px 0 0; color:#403158; font-size:21px; }
.sd-print-preview-head > span { padding:7px 11px; border-radius:999px; color:#6847bd; background:#eee5ff; font-size:11px; font-weight:850; }
.sd-print-preview-stage {
  min-height:620px; padding:18px; overflow:hidden; border-radius:21px; background:linear-gradient(145deg,#e5ddef,#f8f4fb);
  box-shadow:inset 0 3px 10px rgba(71,49,111,.12),inset 0 -1px 0 #fff;
}
.sd-print-empty { min-height:580px; display:grid; place-items:center; align-content:center; gap:9px; padding:24px; color:#655777; text-align:center; }
.sd-print-empty img { width:88px; height:88px; object-fit:contain; filter:drop-shadow(0 9px 12px rgba(79,53,130,.16)); }
.sd-print-empty strong { font-size:18px; }
.sd-print-empty p { max-width:430px; margin:0; color:#8b8197; font-size:13px; }
.sd-print-sheet {
  position:relative; isolation:isolate; width:100%; max-width:794px; min-height:1123px; margin:0 auto; padding:7.5%; color:#17131c; background:#fff;
  box-shadow:0 17px 35px rgba(41,29,67,.22); font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Arial,sans-serif; font-size:12px; line-height:1.55;
}
.sd-print-sheet > :not(.sd-print-watermark) { position:relative; z-index:3; }
.sd-print-watermark {
  position:absolute; z-index:2; left:50%; top:47%; width:82%; transform:translate(-50%,-50%) rotate(-28deg);
  color:#5f4c83; opacity:.13; font-size:clamp(22px,4vw,48px); font-weight:950; letter-spacing:8px; text-align:center; white-space:nowrap; pointer-events:none;
}
.sd-print-paper-head { display:flex; justify-content:space-between; gap:18px; padding-bottom:20px; border-bottom:2px solid #28222e; }
.sd-print-paper-head > div:first-child { min-width:0; }
.sd-print-paper-head span { display:block; font-size:10px; }
.sd-print-paper-head h1 { margin:3px 0 0; color:#17131c; font-size:22px; line-height:1.25; overflow-wrap:anywhere; }
.sd-print-student-fields { min-width:210px; display:grid; align-content:end; gap:7px; }
.sd-print-answer-label { text-align:right; }
.sd-print-answer-label strong { color:#276646; font-size:12px; letter-spacing:.08em; }
.sd-print-mondai { display:flow-root; clear:both; margin-top:28px; }
.sd-print-mondai + .sd-print-mondai { margin-top:34px; }
.sd-print-mondai h2 { margin:0 0 7px; padding-bottom:6px; border-bottom:1px solid #3b3440; color:#17131c; font-size:17px; break-after:avoid-page; }
.sd-print-embedded-mondai { clear:both; margin:30px 0 12px; break-after:avoid-page; }
.sd-print-embedded-mondai h2 { margin:0 0 7px; padding-bottom:6px; border-bottom:1px solid #3b3440; color:#17131c; font-size:17px; break-after:avoid-page; }
.sd-print-instruction { display:block; margin:0 0 12px; white-space:normal; break-after:avoid-page; }
.sd-print-passage { margin:13px 0; padding:15px; border:1px solid #746b79; white-space:normal; }
.sd-print-question { clear:both; margin:20px 0; break-inside:avoid; }
.sd-print-question-text { display:grid; grid-template-columns:25px minmax(0,1fr); gap:3px; font-weight:650; }
.sd-print-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 20px; margin:9px 0 0; padding-left:28px; }
.sd-print-options li { padding-left:2px; overflow-wrap:anywhere; break-inside:avoid; }
.sd-print-question-text u,
.sd-print-options u { font-weight:850; text-decoration-line:underline; text-decoration-thickness:1.5px; text-underline-offset:2px; }
.sd-print-question-text strong,
.sd-print-options strong { font-weight:900; }
.sd-print-question-text mark,
.sd-print-options mark { padding:0 2px; color:inherit; background:#e7e7e7; }
.sd-print-options li.is-correct-answer { padding:5px 7px; border:1px solid #4d956c; border-radius:7px; color:#174f35; background:#edf8f1; font-weight:900; }
.sd-print-answer-block { margin:12px 0 0 25px; padding:12px; border:1px solid #a5bcae; border-radius:10px; background:rgba(246,251,247,.94); break-inside:avoid; }
.sd-print-correct,
.sd-print-explanation { display:grid; grid-template-columns:105px minmax(0,1fr); gap:10px; }
.sd-print-explanation { margin-top:9px; padding-top:9px; border-top:1px solid #c7d2cb; }
.sd-print-correct > span,
.sd-print-explanation > span { color:#566d5e; font-size:10px; font-weight:900; }
.sd-print-correct > strong { color:#174f35; }
.sd-print-paper-foot { margin-top:28px; padding-top:9px; border-top:1px solid #aaa; color:#666; text-align:center; font-size:9px; }
.sd-print-frame { pointer-events:none; }

@media (max-width: 1180px) {
  .sd-print-layout { grid-template-columns:1fr; }
  .sd-print-controls { display:block; }
}

@media (max-width: 760px) {
  .sd-bottom-nav { grid-template-columns:repeat(7,minmax(0,1fr)); }
  .sd-bottom-nav .sd-nav-label { font-size:8px; }
  .sd-bottom-nav .sd-nav-icon { width:29px; height:29px; }
  .sd-bottom-nav .sd-nav-icon img { width:25px; height:25px; }
  .sd-print-hero { min-height:0; grid-template-columns:minmax(0,1fr) 88px; gap:8px; padding:20px 16px; border-radius:24px; }
  .sd-print-hero h1 { margin-top:4px; font-size:29px; letter-spacing:-.7px; }
  .sd-print-hero p { font-size:13px; line-height:1.45; }
  .sd-print-hero-art { width:88px; height:100px; }
  .sd-print-layout { display:block; margin-top:10px; }
  .sd-print-controls, .sd-print-preview { padding:15px; border-radius:23px; }
  .sd-print-controls { display:block; }
  .sd-print-preview { margin-top:10px; }
  .sd-print-section-head:not(:first-child) { margin-top:20px; }
  .sd-print-levels { gap:5px; }
  .sd-print-level { min-height:46px; padding:0 2px; border-radius:14px; font-size:13px; }
  .sd-print-category { min-height:52px; padding:7px 8px; border-radius:14px; font-size:11px; }
  .sd-print-mode { min-height:49px; padding:6px; border-radius:14px; font-size:11px; }
  .sd-print-select-wrap select { min-height:51px; font-size:13px; }
  .sd-print-actions { gap:7px; margin-top:18px; }
  .sd-print-preview-button, .sd-print-button { min-height:50px; padding:0 8px; border-radius:16px; font-size:13px; }
  .sd-print-preview-head h2 { font-size:18px; }
  .sd-print-preview-head > span { padding:6px 8px; font-size:9px; }
  .sd-print-preview-stage { min-height:420px; padding:8px; border-radius:17px; overflow:hidden; }
  .sd-print-empty { min-height:400px; padding:16px; }
  .sd-print-sheet { min-height:0; padding:6%; box-shadow:0 10px 22px rgba(41,29,67,.18); font-size:9px; }
  .sd-print-paper-head { display:block; padding-bottom:12px; }
  .sd-print-paper-head h1 { font-size:16px; }
  .sd-print-student-fields { min-width:0; margin-top:9px; gap:3px; }
  .sd-print-mondai { margin-top:18px; }
  .sd-print-mondai h2 { font-size:13px; }
  .sd-print-passage { margin:9px 0; padding:9px; }
  .sd-print-question { margin:13px 0; }
  .sd-print-question-text { grid-template-columns:18px minmax(0,1fr); }
  .sd-print-options { gap:4px 10px; margin-top:6px; padding-left:20px; }
  .sd-print-answer-block { margin-left:18px; padding:8px; }
  .sd-print-correct, .sd-print-explanation { display:block; }
  .sd-print-correct > span, .sd-print-explanation > span { display:block; margin-bottom:3px; }
}

/* Phòng Luyện Viết: một phòng riêng, không dùng chung bố cục Phòng In Đề. */
@font-face {
  font-family:"JLPT180 Yuji Boku Radicals";
  src:url("fonts/yuji-boku-radicals.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:block;
}
@font-face {
  font-family:"JLPT180 Yuji Boku Radical Rare";
  src:url("fonts/yuji-boku-radicals-rare.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:block;
}
@font-face {
  font-family:"JLPT180 Shippori Radicals";
  src:url("fonts/shippori-mincho-radicals.woff") format("woff");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
@font-face {
  font-family:"JLPT180 Shippori Radical Rare";
  src:url("fonts/shippori-mincho-radicals-rare.woff") format("woff");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
@font-face {
  font-family:"JLPT180 Klee Radicals";
  src:url("fonts/klee-one-radicals.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:"JLPT180 Klee Radical Rare";
  src:url("fonts/klee-one-radicals-rare.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
.sd-writing-room { color:#302342; }
.sd-writing-hero {
  min-height:210px; display:grid; grid-template-columns:minmax(0,1fr) 170px; align-items:center; gap:24px; padding:32px 38px;
  overflow:hidden; border:1px solid rgba(255,255,255,.9); border-radius:32px;
  background:
    radial-gradient(circle at 78% 16%,rgba(255,190,213,.4),transparent 29%),
    linear-gradient(130deg,#fffaf5 0%,#f5edff 52%,#e9f7f1 100%);
  box-shadow:0 17px 35px rgba(76,51,122,.13),inset 0 1px 0 #fff;
}
.sd-writing-hero h1 { margin:5px 0 8px; color:#38234e; font-size:clamp(34px,4vw,54px); line-height:1; letter-spacing:-1.4px; }
.sd-writing-hero p { max-width:680px; margin:0; color:#78698a; font-size:15px; line-height:1.65; }
.sd-writing-hero-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sd-writing-home-link {
  min-height:38px; display:inline-flex; align-items:center; gap:6px; padding:0 13px; border:1px solid rgba(132,95,211,.25); border-radius:999px;
  color:#6846b9; background:rgba(255,255,255,.76); box-shadow:0 6px 13px rgba(76,51,114,.11); font-size:12px; font-weight:900; text-decoration:none;
}
.sd-writing-home-link:hover { color:#fff; background:linear-gradient(145deg,#9d76ed,#6941c6); }
.sd-writing-hero-art { width:160px; height:160px; object-fit:contain; justify-self:end; filter:drop-shadow(0 14px 18px rgba(88,56,142,.22)); }
.sd-writing-tabs {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; max-width:820px; margin:14px auto 0; padding:8px;
  border:1px solid rgba(255,255,255,.86); border-radius:23px; background:rgba(250,247,255,.82);
  box-shadow:0 12px 24px rgba(82,58,122,.1),inset 0 1px 0 #fff;
}
.sd-writing-tab {
  min-height:52px; border:1px solid rgba(139,109,190,.18); border-radius:16px; color:#6d5a80; background:linear-gradient(145deg,#fff,#f1ebf7);
  box-shadow:0 5px 10px rgba(77,55,112,.09); font:850 14px/1 inherit; cursor:pointer;
}
.sd-writing-tab.is-active { border-color:#8560d5; color:#fff; background:linear-gradient(145deg,#9d76ed,#6941c6); box-shadow:0 9px 17px rgba(103,66,190,.27),inset 0 1px 0 rgba(255,255,255,.45); }
.sd-writing-layout { display:grid; grid-template-columns:minmax(300px,360px) minmax(0,1fr); gap:14px; margin-top:14px; }
.sd-writing-controls,
.sd-writing-preview {
  padding:22px; border:1px solid rgba(255,255,255,.9); border-radius:28px; background:rgba(255,252,249,.84);
  box-shadow:0 15px 29px rgba(73,50,107,.12),inset 0 1px 0 #fff;
}
.sd-writing-section-head { display:flex; align-items:center; gap:11px; margin-bottom:13px; }
.sd-writing-section-head:not(:first-child) { margin-top:25px; }
.sd-writing-section-head > span { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:13px; color:#fff; background:linear-gradient(145deg,#a076ee,#7048c9); box-shadow:0 6px 11px rgba(92,58,165,.23); font-weight:900; }
.sd-writing-section-head small { display:block; color:#9586a5; font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.sd-writing-section-head h2 { margin:1px 0 0; color:#443157; font-size:19px; }
.sd-writing-label { display:block; margin:0 0 8px; color:#776786; font-size:11px; font-weight:900; }
.sd-writing-choice-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.sd-writing-choice,
.sd-writing-level {
  min-height:48px; border:1px solid #ded1ec; border-radius:15px; color:#5f4a75; background:linear-gradient(145deg,#fff,#f2edf6);
  box-shadow:0 5px 10px rgba(69,49,99,.08); font-weight:850; cursor:pointer;
}
.sd-writing-choice.is-active,
.sd-writing-level.is-active { border-color:#845fd3; color:#fff; background:linear-gradient(145deg,#9f78ec,#6d45c7); box-shadow:0 8px 14px rgba(102,66,184,.25); }
.sd-writing-levels { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
.sd-writing-level { min-width:0; min-height:45px; padding:0; }
.sd-writing-select { display:grid; gap:7px; margin-top:15px; color:#756680; font-size:11px; font-weight:900; }
.sd-writing-select select { width:100%; min-height:50px; padding:0 13px; border:1px solid #d8cbe5; border-radius:15px; color:#4b3a5c; background:#fff; font:750 13px/1 inherit; }
.sd-writing-note { margin:0; padding:12px 13px; border-radius:14px; color:#746680; background:#f3edf8; font-size:12px; line-height:1.55; }
.sd-writing-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:17px; }
.sd-writing-preview-button,
.sd-writing-print-button { min-height:51px; padding:0 10px; border:0; border-radius:16px; font-weight:900; cursor:pointer; }
.sd-writing-preview-button { color:#6846b9; background:linear-gradient(145deg,#fff,#eee6f8); box-shadow:0 7px 14px rgba(76,51,114,.13); }
.sd-writing-print-button { color:#fff; background:linear-gradient(145deg,#9e75ed,#6941c5); box-shadow:0 9px 16px rgba(103,65,188,.27); }
.sd-writing-preview-button:disabled,
.sd-writing-print-button:disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.sd-writing-next-button { width:100%; min-height:47px; margin-top:8px; border:1px solid #d4c4e7; border-radius:15px; color:#6846b9; background:#f7f1fc; font-weight:900; cursor:pointer; }
.sd-writing-status { min-height:18px; margin:9px 2px 0; color:#6c5780; font-size:11px; font-weight:750; }
.sd-writing-preview { min-width:0; background:rgba(248,244,252,.84); }
.sd-writing-preview-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:3px 4px 14px; }
.sd-writing-preview-head small { display:block; color:#8a78a4; font-size:10px; font-weight:900; letter-spacing:.08em; }
.sd-writing-preview-head h2 { margin:2px 0 0; color:#403158; font-size:21px; }
.sd-writing-preview-head > span { padding:7px 11px; border-radius:999px; color:#6847bd; background:#eee5ff; font-size:11px; font-weight:850; white-space:nowrap; }
.sd-writing-preview-stage { min-height:620px; padding:18px; overflow:hidden; border-radius:21px; background:linear-gradient(145deg,#e4dced,#f8f4fb); box-shadow:inset 0 3px 10px rgba(71,49,111,.12),inset 0 -1px 0 #fff; }
.sd-writing-mobile-more { display:none; }
.sd-writing-empty { min-height:580px; display:grid; place-items:center; align-content:center; gap:9px; padding:24px; color:#655777; text-align:center; }
.sd-writing-empty img { width:88px; height:88px; object-fit:contain; filter:drop-shadow(0 9px 12px rgba(79,53,130,.16)); }
.sd-writing-empty strong { font-size:18px; }
.sd-writing-empty p { max-width:420px; margin:0; color:#8b8197; font-size:13px; }
.sd-writing-sheet {
  position:relative; isolation:isolate; width:100%; max-width:794px; min-height:1123px; margin:0 auto; padding:7.2%; color:#17131c; background:#fff;
  box-shadow:0 17px 35px rgba(41,29,67,.22); font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Arial,sans-serif; font-size:11px; line-height:1.5;
}
.sd-writing-sheet > :not(.sd-writing-watermark) { position:relative; z-index:3; }
.sd-writing-watermark { position:absolute; z-index:2; left:50%; top:48%; width:86%; transform:translate(-50%,-50%) rotate(-28deg); color:#604887; opacity:.12; font-size:clamp(22px,4vw,48px); font-weight:950; letter-spacing:7px; text-align:center; white-space:nowrap; pointer-events:none; }
.sd-writing-paper-head { display:flex; justify-content:space-between; gap:16px; padding-bottom:18px; border-bottom:2px solid #28222e; }
.sd-writing-paper-head span { display:block; font-size:9px; }
.sd-writing-paper-head h1 { margin:3px 0 0; font-size:21px; line-height:1.25; }
.sd-writing-student-fields { min-width:200px; display:grid; align-content:end; gap:6px; }
.sd-writing-paper-content { margin-top:20px; }
.sd-writing-kana-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px 18px; }
.sd-writing-kana-item { display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:7px; break-inside:avoid; }
.sd-writing-kana-item > strong { font-size:21px; text-align:center; }
.sd-writing-boxes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
.sd-writing-kana-item .sd-writing-boxes { grid-template-columns:repeat(5,minmax(0,1fr)); }
.sd-writing-boxes span { position:relative; aspect-ratio:1; border:1px solid #9a949e; }
.sd-writing-boxes span::before,
.sd-writing-boxes span::after { content:""; position:absolute; z-index:0; background:#dedade; }
.sd-writing-boxes span::before { left:50%; top:0; width:1px; height:100%; }
.sd-writing-boxes span::after { left:0; top:50%; width:100%; height:1px; }
.sd-writing-boxes i { position:relative; z-index:1; display:grid; place-items:center; height:100%; color:#aaa4ac; font-size:24px; font-style:normal; }
.sd-writing-kanji-item { display:grid; grid-template-columns:82px minmax(0,1fr); gap:16px; margin-bottom:17px; padding-bottom:17px; border-bottom:1px solid #bbb5bf; break-inside:avoid; }
.sd-writing-kanji-model { display:grid; place-items:center; aspect-ratio:1; border:2px solid #5d5662; font-size:39px; }
.sd-writing-kanji-copy p { display:inline; margin:0 16px 7px 0; }
.sd-writing-kanji-copy .sd-writing-boxes { margin-top:10px; }
.sd-writing-radical-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sd-writing-radical-card {
  min-width:0; padding:12px; overflow:hidden; border:1px solid #d8cee1; border-radius:14px;
  background:linear-gradient(145deg,rgba(255,252,249,.98),rgba(247,242,252,.94)); break-inside:avoid;
}
.sd-writing-radical-head { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:10px; margin-bottom:10px; }
.sd-writing-radical-seal {
  width:48px; height:48px; display:grid; place-items:center; border:1px solid #bdaed0; border-radius:13px; color:#38294b;
  background:linear-gradient(145deg,#fff,#f0e7f7); font-family:"JLPT180 Yuji Boku Radicals","JLPT180 Yuji Boku Radical Rare","JLPT180 Shippori Radicals","JLPT180 Shippori Radical Rare","Yu Mincho",serif; font-size:31px; font-weight:400;
}
.sd-writing-radical-info { min-width:0; display:grid; align-content:center; }
.sd-writing-radical-info small { width:max-content; padding:2px 6px; border-radius:999px; color:#7957a7; background:#eee4f7; font-size:8px; font-weight:900; letter-spacing:.1em; }
.sd-writing-radical-info strong { color:#3e2d50; font-size:15px; line-height:1.2; }
.sd-writing-radical-info span { margin-top:2px; overflow:hidden; color:#74687d; font-size:9px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.sd-writing-radical-boxes { grid-template-columns:repeat(8,minmax(0,1fr)); }
.sd-writing-radical-boxes span { border-color:#b8aebd; background:rgba(255,255,255,.6); }
.sd-writing-radical-boxes span::before,
.sd-writing-radical-boxes span::after { background:repeating-linear-gradient(to bottom,#d8d0dc 0 2px,transparent 2px 4px); }
.sd-writing-radical-boxes span::after { background:repeating-linear-gradient(to right,#d8d0dc 0 2px,transparent 2px 4px); }
.sd-writing-radical-boxes i { font-family:"JLPT180 Yuji Boku Radicals","JLPT180 Yuji Boku Radical Rare","JLPT180 Shippori Radicals","JLPT180 Shippori Radical Rare","Yu Mincho",serif; font-weight:400; }
.sd-writing-radical-boxes i.is-trace-strong { color:rgba(70,54,82,.32); }
.sd-writing-radical-boxes i.is-trace-soft { color:rgba(70,54,82,.16); }
.sd-writing-word-item { margin-bottom:22px; break-inside:avoid; }
.sd-writing-word-head { display:flex; align-items:baseline; gap:13px; }
.sd-writing-word-head b { font-size:16px; }
.sd-writing-word-head em { margin-left:auto; font-style:normal; }
.sd-writing-copy-line { height:33px; border-bottom:1px solid #777; }
.sd-writing-copy-line span { color:#aaa4ac; font-size:16px; }
.sd-writing-sentence { margin-top:9px; }
.sd-writing-sentence small { display:block; color:#666; }
.sd-writing-paper-foot { margin-top:26px; padding-top:8px; border-top:1px solid #aaa; color:#666; text-align:center; font-size:9px; }

@media (max-width:1180px) {
  .sd-writing-layout { grid-template-columns:1fr; }
}

@media (max-width:760px) {
  .sd-writing-hero { min-height:0; grid-template-columns:minmax(0,1fr) 84px; gap:8px; padding:20px 16px; border-radius:24px; }
  .sd-writing-hero h1 { margin-top:4px; font-size:29px; letter-spacing:-.7px; }
  .sd-writing-hero p { font-size:13px; line-height:1.45; }
  .sd-writing-hero-top { display:grid; justify-items:start; gap:7px; }
  .sd-writing-home-link { min-height:34px; padding:0 11px; font-size:10px; }
  .sd-writing-hero-art { width:82px; height:92px; }
  .sd-writing-tabs { gap:5px; margin-top:10px; padding:6px; border-radius:19px; }
  .sd-writing-tab { min-width:0; min-height:45px; padding:0 2px; border-radius:13px; font-size:11px; overflow-wrap:anywhere; }
  .sd-writing-layout { display:block; margin-top:10px; }
  .sd-writing-controls,
  .sd-writing-preview { padding:15px; border-radius:23px; }
  .sd-writing-preview { margin-top:10px; }
  .sd-writing-actions { gap:7px; }
  .sd-writing-preview-button,
  .sd-writing-print-button { min-height:49px; padding:0 7px; border-radius:15px; font-size:12px; }
  .sd-writing-preview-head h2 { font-size:17px; }
  .sd-writing-preview-head > span { padding:6px 8px; font-size:9px; }
  .sd-writing-preview-stage { min-height:420px; padding:8px; border-radius:17px; }
  .sd-writing-preview-stage.is-mobile-preview-collapsed .sd-writing-kana-item:nth-child(n+9),
  .sd-writing-preview-stage.is-mobile-preview-collapsed .sd-writing-radical-card:nth-child(n+5),
  .sd-writing-preview-stage.is-mobile-preview-collapsed .sd-writing-kanji-item:nth-child(n+5),
  .sd-writing-preview-stage.is-mobile-preview-collapsed .sd-writing-word-item:nth-child(n+5) { display:none; }
  .sd-writing-mobile-more {
    width:100%; min-height:46px; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:9px; border:1px solid #d2c1e5; border-radius:15px;
    color:#6846b9; background:linear-gradient(145deg,#fff,#eee6f8); box-shadow:0 7px 14px rgba(76,51,114,.12); font:900 12px/1 inherit; cursor:pointer;
  }
  .sd-writing-empty { min-height:400px; padding:16px; }
  .sd-writing-sheet { min-height:0; padding:6%; font-size:8px; box-shadow:0 10px 22px rgba(41,29,67,.18); }
  .sd-writing-paper-head { display:block; padding-bottom:11px; }
  .sd-writing-paper-head h1 { font-size:15px; }
  .sd-writing-student-fields { min-width:0; margin-top:7px; gap:2px; }
  .sd-writing-paper-content { margin-top:12px; }
  .sd-writing-kana-grid { gap:6px 8px; }
  .sd-writing-kana-item { grid-template-columns:21px minmax(0,1fr); gap:3px; }
  .sd-writing-kana-item > strong { font-size:13px; }
  .sd-writing-boxes i { font-size:15px; }
  .sd-writing-kanji-item { grid-template-columns:50px minmax(0,1fr); gap:8px; margin-bottom:10px; padding-bottom:10px; }
  .sd-writing-kanji-model { font-size:24px; }
  .sd-writing-radical-grid { grid-template-columns:1fr; gap:7px; }
  .sd-writing-radical-card { padding:7px; border-radius:9px; }
  .sd-writing-radical-head { grid-template-columns:31px minmax(0,1fr); gap:6px; margin-bottom:6px; }
  .sd-writing-radical-seal { width:31px; height:31px; border-radius:8px; font-size:20px; }
  .sd-writing-radical-info small { font-size:6px; }
  .sd-writing-radical-info strong { font-size:11px; }
  .sd-writing-radical-info span { font-size:7px; }
  .sd-writing-radical-boxes i { font-size:13px; }
  .sd-writing-word-head { gap:6px; }
  .sd-writing-word-head b { font-size:11px; }
  .sd-writing-copy-line { height:21px; }
}
