/* R7 02 selected rules, unchanged declarations/order from approved private reference. */
:root{--bg:#edf1f6;--panel:#eff3f8;--panel-high:#f3f6fa;--ink:#263443;--ink-strong:#1b2938;--muted:#7d8c9e;--quiet:#9ba6b4;--line:#dce4ed;--blue:#58778d;--blueDark:#385b73;--green:#548b7d;--amber:#af926a;--red:#ab7470;--white:#fff;--raise:10px 11px 25px rgba(151,167,184,.18),-10px -10px 24px rgba(255,255,255,.92);--raise-small:4px 5px 11px rgba(150,167,187,.15),-4px -4px 11px rgba(255,255,255,.87);--pressed:inset 4px 4px 8px rgba(160,175,192,.20), inset -4px -4px 8px rgba(255,255,255,.95);--font:'Microsoft YaHei','Microsoft YaHei UI','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:340px;background:var(--bg);color:var(--ink);font:400 13px/1.7 var(--font);letter-spacing:.04px}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.46;cursor:not-allowed}
button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #6c92ae;outline-offset:3px}
button{border:0;color:inherit;background:none}
h1,h2,h3,p{margin:0}
h1{font-size:27px;line-height:1.43;color:var(--ink-strong);letter-spacing:-.5px;font-weight:700}
h2{font-size:16px;line-height:1.5;font-weight:700;color:#27394a}
h3{font-size:14px;line-height:1.6;font-weight:700;color:#354559}
strong{font-weight:700}
.appbar{height:68px;box-shadow:0 2px 14px rgba(135,155,177,.055);border-bottom:1px solid #dce4ec;background:#f0f4f9}
.appinner{width:min(calc(100% - 100px),1400px);height:100%;margin:auto;display:flex;align-items:center;gap:54px}
main{width:min(calc(100% - 100px),1400px);margin:0 auto;padding:34px 0 100px}
.btn{min-height:35px;padding:7px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;line-height:1.5;border-radius:10px;font-weight:600;font-size:12px;background:linear-gradient(150deg,#f9fbfd,#ebf0f6);box-shadow:var(--raise-small);border:1px solid #edf3f9;color:#4b6278;transition:transform .14s, box-shadow .14s}
.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:5px 7px 13px rgba(145,164,187,.18),-4px -4px 11px #fff}
.btn.main{color:#fff;background:linear-gradient(140deg,#6c889e,#4c6b84);border-color:#69859b;box-shadow:4px 5px 12px rgba(76,106,134,.23)}
.btn.main:hover:not(:disabled){box-shadow:5px 7px 15px rgba(65,103,131,.28)}
@media(max-width:1180px) {
.appinner,main{width:calc(100% - 68px)}
}
@media(max-width:950px) {
.appinner,main{width:calc(100% - 38px)}
}
@media(max-width:620px) {
.appbar{height:58px}
.appinner{gap:27px}
.appinner,main{width:calc(100% - 30px)}
main{padding-top:20px}
h1{font-size:24px}
}
:root{--shadow-soft: 9px 11px 23px rgba(155,169,186,.16), -9px -9px 23px rgba(255,255,255,.90);}
.appbar{height:65px}
.appinner{gap:50px}
main{padding-top:32px}
@media(max-width:640px) {
.appinner,main{width:calc(100% - 30px)}
.appbar{height:58px}
}
html[data-tone=cloud]{--bg:#f4f7fb;--panel:#ffffff;--panel-high:#fff;--ink:#2c3d50;--ink-strong:#162b3d;--muted:#667d90;--quiet:#7f92a3;--line:#dce6ef;--blue:#4e708c;--blueDark:#31546e;--green:#367d68;--amber:#9e7c43;--red:#a95a5a;--raise:9px 13px 30px rgba(98,129,159,.13),-7px -8px 24px rgba(255,255,255,.9);--raise-small:3px 5px 12px rgba(94,127,155,.15),-3px -3px 8px rgba(255,255,255,.86);--pressed:inset 3px 3px 7px rgba(144,166,191,.19),inset -3px -3px 7px #fff;--vtop:#fff;--voutline:rgba(201,219,234,.7);--vseg:#e9f1f8;--vhover:#f3f8fc;--vbtn1:#597e9b;--vbtn2:#375f7c;--vacc:#496f8c;--vquote:#f2f7fb;--vshadow:rgba(99,133,163,.18)}
html[data-tone=silver]{--bg:#eaf1f9;--panel:#f2f7fc;--panel-high:#f9fcff;--ink:#2b4055;--ink-strong:#142b41;--muted:#688094;--quiet:#8197ab;--line:#d1e0ec;--blue:#557a98;--blueDark:#305c7b;--green:#367d6c;--amber:#9f7e4a;--red:#aa6064;--raise:10px 14px 30px rgba(113,147,180,.23),-9px -10px 25px rgba(255,255,255,.98);--raise-small:4px 6px 12px rgba(111,144,177,.22),-4px -4px 10px #fff;--pressed:inset 4px 4px 9px rgba(118,151,183,.26), inset -4px -4px 9px #fff;--vtop:#edf5fc;--voutline:rgba(255,255,255,.96);--vseg:#e3edf7;--vhover:#fff;--vbtn1:#6789a7;--vbtn2:#436987;--vacc:#4a7393;--vquote:#e6f0f8;--vshadow:rgba(90,130,167,.28)}
html[data-tone=porcelain]{--bg:#f6f2ec;--panel:#fffefa;--panel-high:#fffefa;--ink:#393c42;--ink-strong:#242a30;--muted:#83776c;--quiet:#9d9086;--line:#e8dfd2;--blue:#8c7767;--blueDark:#715d50;--green:#688776;--amber:#a98a5d;--red:#a9706a;--raise:10px 14px 27px rgba(149,124,100,.13),-7px -9px 23px rgba(255,255,255,.95);--raise-small:3px 5px 10px rgba(146,122,104,.17),-3px -3px 9px #fff;--pressed:inset 4px 4px 9px rgba(165,148,129,.20),inset -4px -4px 9px #fff;--vtop:#fffdf9;--voutline:rgba(220,209,194,.68);--vseg:#f1ebe3;--vhover:#fbf6ef;--vbtn1:#967a67;--vbtn2:#745f50;--vacc:#816b5b;--vquote:#f8f1e7;--vshadow:rgba(153,119,85,.18)}
html[data-tone=frost]{--bg:#e9f2f2;--panel:#fcfefe;--panel-high:#fff;--ink:#263c3e;--ink-strong:#153237;--muted:#637e81;--quiet:#829b9d;--line:#d2e2e2;--blue:#4c7b80;--blueDark:#315f66;--green:#3e826c;--amber:#ae8861;--red:#aa6669;--raise:10px 14px 28px rgba(92,138,142,.18),-7px -9px 26px rgba(255,255,255,.99);--raise-small:4px 5px 11px rgba(100,145,149,.18),-4px -4px 10px #fff;--pressed:inset 4px 4px 8px rgba(131,167,172,.22),inset -4px -4px 9px #fff;--vtop:#f2faf9;--voutline:rgba(194,221,222,.68);--vseg:#e4eeee;--vhover:#f2fafa;--vbtn1:#5e8f91;--vbtn2:#386a70;--vacc:#41767b;--vquote:#edf7f6;--vshadow:rgba(80,131,135,.19)}
html[data-tone] body{background:var(--bg);color:var(--ink);font-size:13px;}
html[data-tone] .appbar{background:var(--vtop);border-bottom:1px solid var(--line);box-shadow:0 4px 20px rgba(57,88,116,.045)}
html[data-tone] h1{color:var(--ink-strong)}
html[data-tone] h2,html[data-tone] h3{color:var(--ink)}
html[data-tone] .btn{background:linear-gradient(140deg,var(--panel-high),var(--vseg));color:var(--vbtn2);border:1px solid var(--voutline);box-shadow:var(--raise-small)}
html[data-tone] .btn.main{background:linear-gradient(145deg,var(--vbtn1),var(--vbtn2));color:#fff;border-color:transparent;box-shadow:3px 6px 14px var(--vshadow)}
html[data-tone] button:focus-visible{outline-color:var(--vbtn1)}
.appinner{gap:42px}
.theme-choice{position:relative;display:grid;place-items:center;width:35px;height:34px;border-radius:10px;border:1px solid transparent;transition:transform .12s ease,background .12s ease,box-shadow .12s ease}
.theme-choice:hover{background:var(--vhover);transform:translateY(-1px)}
.theme-choice.active{background:var(--panel-high);border-color:var(--voutline,var(--line));box-shadow:var(--raise-small)}
.theme-swatch{position:relative;display:block;width:21px;height:21px;border-radius:50%;border:1px solid rgba(48,64,81,.13);box-shadow:1px 2px 4px rgba(60,73,87,.14),inset 0 1px 2px rgba(255,255,255,.6)}
.theme-choice.active .theme-swatch{outline:2px solid var(--vacc);outline-offset:2px}
.theme-choice[data-tone="cloud"] .theme-swatch{background:linear-gradient(140deg,#fff 0 49%,#cbd9e6 50% 100%)}
.theme-choice[data-tone="silver"] .theme-swatch{background:linear-gradient(140deg,#f3f9ff 0 49%,#94b4d1 50% 100%)}
.theme-choice[data-tone="porcelain"] .theme-swatch{background:linear-gradient(140deg,#fffcf5 0 49%,#d1b69c 50% 100%)}
.theme-choice[data-tone="frost"] .theme-swatch{background:linear-gradient(140deg,#f4ffff 0 49%,#91c7bf 50% 100%)}
.theme-choice:focus-visible{outline:2px solid var(--vacc);outline-offset:2px}
@media(max-width:700px) {
.appinner{gap:12px}
.theme-choice{width:31px;height:32px}
.theme-swatch{width:18px;height:18px}
}
@media(max-width:430px) {
.appinner{width:calc(100% - 22px)}
}
@media(prefers-reduced-motion:reduce) {
.theme-choice{transition:none}
}
.btn.main:disabled{opacity:.56;filter:saturate(.67);transform:none;box-shadow:inset 1px 1px 3px rgba(74,100,124,.18)}
html{scroll-behavior:auto}
html,body{min-height:100%;margin:0}
body.r7-page{min-width:0;overflow-x:hidden;color-scheme:light}
[hidden]{display:none!important}
.r7-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;width:100%;position:relative}
.r7-page button{font-family:var(--font)}
.r7-page button:focus-visible{outline:2px solid var(--vacc);outline-offset:3px}
.r7-bar{flex:none}
.r7-bar .appinner{gap:25px}
.r7-bar-spacer{flex:1;min-width:0}
.r7-bar--brandless{height:76px!important;background:transparent!important;box-shadow:none!important;border:0!important}
.r7-bar--brandless .appinner{width:min(calc(100% - 10.2vw),1400px);gap:10px}
.r7-theme-simple{display:flex;align-items:center;gap:8px}
.r7-theme-simple .theme-choice{display:grid;width:18px;height:18px;padding:0;background:transparent;box-shadow:none;border:0;place-items:center}
.r7-theme-simple .theme-choice.active{background:transparent;box-shadow:none;border:0}
.r7-theme-simple .theme-swatch{width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:var(--sw)!important}
.r7-theme-simple .theme-choice.active .theme-swatch{outline:1px solid var(--vacc);outline-offset:2px}
.r7-cta{min-width:174px;min-height:43px!important;border-radius:11px!important;padding:10px 21px!important;font-size:13px!important}
.r7-footer{margin-top:auto;padding:15px 22px 20px;color:var(--muted);font-size:11px;line-height:1.55;text-align:center;flex:none}
.r7-main{flex:1;width:min(calc(100% - 100px),1340px);margin:0 auto;padding:30px 0 36px;min-width:0}
.r7-main.r7-center{width:100%;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:27px 26px 47px;gap:31px}
.r7-center-zone{width:min(100%,630px);min-width:0}
.r7-center-zone.narrow{width:min(100%,608px)}
.r7-centered-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 9px;color:var(--ink-strong);font-size:27px;line-height:1.3;font-weight:700;letter-spacing:-.4px}
.r7-centered-brand img{display:block;width:34px;height:34px}
.r7-stage{position:relative;display:grid;align-items:start;width:100%;min-width:0;isolation:isolate}
.r7-stage>.r7-frame{grid-area:1/1;position:relative;min-width:0;width:100%;z-index:2;transform-origin:center center}
.r7-stage[data-depth="true"]::before,.r7-stage[data-depth="true"]::after{content:"";position:absolute;inset:0 14px 5px;border-radius:17px;background:var(--panel);border:1px solid var(--line);z-index:0;pointer-events:none;transform:translateY(-13px);box-shadow:0 1px 9px rgba(137,156,178,.045)}
.r7-stage[data-depth="true"]::after{inset:0 25px 6px;transform:translateY(-23px);z-index:-1;opacity:.8}
.r7-stage.r7-moving{clip-path:inset(-32px -40px -42px -40px)}
.r7-stage.r7-moving[data-depth="true"]::before,.r7-stage.r7-moving[data-depth="true"]::after{opacity:.55}
.r7-frame[aria-hidden="true"]{pointer-events:none}
html[data-family="c"][data-tone="silver"]{--bg:#eaf0f5;--panel:#f2f6fa;--panel-high:#f7f9fc;--ink:#283849;--ink-strong:#283849;--muted:#647687;
 --line:#d5dfe8;--vbtn1:#5f7e93;--vbtn2:#57758d;--vacc:#57758d;--vseg:#e4ebf2;
 --raise:12px 14px 31px rgba(128,147,170,.14),-10px -10px 26px rgba(255,255,255,.86);
 --raise-small:5px 6px 13px rgba(128,147,170,.14),-4px -4px 12px rgba(255,255,255,.78)}
.r7-mini-card{background:var(--panel);border:1px solid var(--line);border-top-color:rgba(255,255,255,.85);border-radius:17px;box-shadow:var(--raise);min-width:0;min-height:164px;display:grid;grid-template-columns:145px minmax(0,1fr);gap:22px;padding:20px 24px;align-items:stretch}
.r7-mini-source{display:flex;flex-direction:column;justify-content:center;padding-right:16px;border-right:1px solid var(--line);gap:7px;min-width:0}
.r7-course-name{font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;color:var(--ink)}
.r7-meta{font-size:11.5px;color:var(--muted);line-height:1.55;font-variant-numeric:tabular-nums;font-weight:400;overflow-wrap:anywhere}
.r7-mini-source .r7-meta{display:flex;flex-direction:column;gap:3px}
.r7-mini-content{display:flex;flex-direction:column;justify-content:center;min-width:0}
.r7-mini-content .r7-claim{font-size:16px;line-height:1.8;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.r7-mini-content .r7-meta{margin-bottom:7px}
.r7-mini-source .r7-course-name{font-size:14.5px}
.r7-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow:auto;border:1px solid var(--line);border-radius:18px;box-shadow:var(--raise);background:var(--panel);color:var(--ink);padding:24px;margin:auto}
.r7-dialog::backdrop{background:#20394b40}
.r7-dialog h2{font-size:19px;margin:0 0 10px}
.r7-dialog p{line-height:1.75}
.r7-dialog .r7-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:22px}
.r7-reader-control{position:absolute;clip-path:inset(50%);overflow:hidden;width:1px;height:1px;padding:0;white-space:nowrap;border:0}
.r7-reader-control:focus-visible{clip-path:none;position:fixed;top:8px;left:50%;transform:translateX(-50%);width:auto;height:auto;background:var(--panel-high);border:1px solid var(--line);padding:7px 13px;z-index:99;border-radius:8px}
@media(max-width:1000px) {
.r7-main{width:calc(100% - 68px)}
.r7-main.r7-center{width:100%}
}
@media(max-width:780px) {
.r7-main{width:calc(100% - 38px);padding:25px 0 28px}
}
@media(max-width:600px) {
.r7-bar .appinner{width:calc(100% - 30px);gap:8px!important}
.r7-bar--brandless{height:62px!important}
.r7-bar .r7-bar-spacer{min-width:0}
.r7-bar .r7-theme-simple{gap:8px}
.r7-theme-simple .theme-choice{width:16px;height:16px}
.r7-theme-simple .theme-swatch{width:15px;height:15px}
.r7-main.r7-center{width:100%;padding:30px 21px 40px;gap:27px}
.r7-center-zone,.r7-center-zone.narrow{width:100%}
.r7-centered-brand{font-size:24px}
.r7-centered-brand img{width:30px;height:30px}
.r7-mini-card{min-height:180px;padding:14px 16px;border-radius:14px;display:flex;flex-direction:column;gap:9px}
.r7-mini-source{padding:0 0 9px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
.r7-mini-source .r7-course-name{font-size:13px;flex:1}
.r7-mini-source .r7-meta{align-items:flex-end;flex:none;font-size:10px;gap:1px}
.r7-mini-content{flex:1}
.r7-mini-content .r7-meta{font-size:10.5px;margin-bottom:3px}
.r7-mini-content .r7-claim{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.r7-cta{min-height:41px!important;min-width:160px;font-size:13px!important}
.r7-stage[data-depth="true"]::before{inset:0 10px 4px;transform:translateY(-10px)}
.r7-stage[data-depth="true"]::after{inset:0 21px 4px;transform:translateY(-19px)}
.r7-stage.r7-moving{clip-path:inset(-22px -16px -27px -16px)}
.r7-footer{font-size:10.5px;padding:10px 18px 17px}
}
@media(max-width:360px) {
.r7-bar .appinner{width:calc(100% - 24px)}
.r7-main.r7-center{padding-left:16px;padding-right:16px}
.r7-mini-card{padding-left:13px;padding-right:13px}
.r7-mini-content .r7-claim{font-size:13.5px}
}
@media(max-height:610px) and (min-width:781px) {
.r7-main.r7-center{padding-top:25px;padding-bottom:24px;gap:22px}
.r7-bar--brandless{height:61px!important}
.r7-footer{padding-top:7px;padding-bottom:11px}
}
@media(prefers-reduced-motion:reduce) {
*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
.r7-measurer{position:absolute;left:0;top:0;width:100%;height:auto;visibility:hidden;pointer-events:none;z-index:-10}
.r7-measurer>.r7-frame{width:100%;min-width:0}
.r7-stage[data-stable="true"]{min-height:var(--r7-stable-height,0px)}
.r7-stage[data-stable="true"]>.r7-frame>.r7-mini-card{min-height:var(--r7-stable-height,0px)}

/* Actual login uses the existing link; it has the same appearance as the review button. */
a.r7-cta{text-decoration:none;cursor:pointer}
a.r7-cta:focus-visible{outline:2px solid var(--vacc);outline-offset:3px}
.lr-previewbar{padding:10px 22px;text-align:center;color:var(--muted);border-bottom:1px solid var(--line);background:var(--panel-high)}
.lr-previewbar:not([hidden])+div .r7-shell{min-height:calc(100dvh - 43px)}

/* R8 final / native text. Keep idle frames out of transformed/composited layers.
   Only the two transient whole-card frames are transformed while moving. */
.r7-stage:not(.r7-moving)>.r7-frame{
  transform:none;filter:none;opacity:1;will-change:auto;backface-visibility:visible;
}
