/* S365_PHASE3B_CSS_BUNDLE_V1 — generated from six original stylesheets. Refresh after CSS edits. */
/* BEGIN style.css */
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:#14213d;font-size:16px}.shell{width:min(1380px,92%);margin:auto}a{text-decoration:none;color:inherit}header{height:76px;background:#fff;border-bottom:1px solid #e5e9ef;display:flex;align-items:center;position:sticky;top:0;z-index:20}.nav{display:flex;align-items:center;gap:36px}.brand{font-size:27px;font-weight:900;letter-spacing:-1.2px}.brand span,.hero h1 span,small{color:#f58220}.nav nav{display:flex;gap:26px;flex:1;font-size:14px;font-weight:700}.account{display:flex;align-items:center;gap:15px;font-weight:700;font-size:14px}.account form{margin:0}.account button{border:0;background:none;font-weight:700;cursor:pointer}.pill{background:#142f59;color:#fff;padding:10px 16px;border-radius:7px}.hero{background:linear-gradient(120deg,#102b55,#1f4d86);color:#fff;padding:82px 0}.heroGrid{display:grid;grid-template-columns:1.4fr .8fr;gap:80px;align-items:center}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.6px;color:#ffb45d}.hero h1{font-size:60px;line-height:1.02;margin:14px 0 20px;letter-spacing:-2px}.hero p{font-size:19px;line-height:1.65;color:#dce6f3;max-width:760px}.heroBtns{display:flex;gap:12px;margin:28px 0}.primary,.secondary{display:inline-block;border:0;border-radius:8px;padding:14px 20px;font-weight:800;cursor:pointer;text-align:center}.primary{background:#f58220;color:#fff}.secondary{background:#fff;color:#16355f;border:1px solid #dce3ec}.full{width:100%}.trust{color:#dce6f3;margin-top:25px}.heroPanel{background:#ffffff10;border:1px solid #ffffff25;border-radius:16px;padding:28px;font-size:16px}.heroPanel h3{font-size:22px;margin-top:0}.heroPanel div{padding:10px 0;border-bottom:1px solid #ffffff15}.section{padding-top:60px;padding-bottom:60px}.sectionTitle{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.sectionTitle small,section>small{font-size:12px;font-weight:900;letter-spacing:1.5px}.sectionTitle h2{font-size:34px;margin:7px 0 0}.sectionTitle>a,.textlink{color:#d9690a;font-weight:800}.soft{background:#f5f7fa}.categoryRow{display:flex;flex-wrap:wrap;gap:10px}.categoryRow span{padding:12px 18px;background:#f5f7fa;border:1px solid #e2e7ee;border-radius:24px;font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid #e1e6ed;border-radius:14px;padding:25px;box-shadow:0 5px 20px #18325208}.card h3{font-size:20px;margin:12px 0}.muted{color:#667085}.tag{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.6px;background:#fff0dd;color:#c65f00;padding:6px 9px;border-radius:5px}.deadline{background:#fff7ed;padding:10px;border-radius:6px;margin:15px 0;font-weight:700}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0;color:#667085;font-size:13px}.facts b{display:block;color:#14213d;font-size:16px}.pagehead{background:#102b55;color:#fff;padding:55px 0}.pagehead h1{font-size:42px;margin:10px 0}.pagehead p{color:#dce6f3}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.filters a{background:#f5f7fa;border:1px solid #e0e6ed;padding:10px 14px;border-radius:7px;font-weight:700}.detailgrid{display:grid;grid-template-columns:1fr 340px;gap:22px}.details dl{display:grid;grid-template-columns:190px 1fr}.details dt,.details dd{padding:13px;border-bottom:1px solid #edf0f4;margin:0}.details dt{font-weight:800}.actionbox a{margin:10px 0}.note{font-size:13px;color:#667085;line-height:1.5}.auth{min-height:650px;display:flex;align-items:center;justify-content:center}.formbox{width:min(520px,100%);background:#fff;border:1px solid #e1e6ed;border-radius:15px;padding:32px;box-shadow:0 10px 35px #152f5510}.formbox.wide{width:min(850px,100%);margin:auto}.formbox h1{font-size:32px}.formbox label{font-weight:700}.formbox input,.formbox select,.formbox textarea{width:100%;padding:12px;border:1px solid #ccd5df;border-radius:7px;margin-top:6px}.helptext,.formbox ul{font-size:12px;color:#667085}.hint{background:#f5f7fa;padding:15px;border-radius:8px;margin-top:22px}.dashStats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.dashStats div{background:#f5f7fa;border:1px solid #e1e6ed;border-radius:12px;padding:22px}.dashStats b{display:block;font-size:30px;color:#173a68}.dashStats span{color:#667085}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:14px;border-bottom:1px solid #e6eaf0}th{background:#f5f7fa}.examBar{background:#153763;color:#fff;padding:16px 0}.examBarIn{display:flex;justify-content:space-between;align-items:center}.examBarIn span{display:block;color:#cbd8e9;font-size:13px;margin-top:4px}#timer{font-size:28px;font-weight:900}.examLayout{display:grid;grid-template-columns:1fr 310px;gap:22px;padding-top:30px;padding-bottom:45px}.question,.palette{border:1px solid #e0e5ec;border-radius:13px;padding:28px;background:#fff}.hidden{display:none}.qline{font-weight:800;color:#667085}.qline span{float:right;color:#f58220}.question h2{font-size:23px;line-height:1.45}.question label{display:flex;gap:12px;align-items:center;border:1px solid #d9e0e8;border-radius:9px;padding:15px;margin:11px 0;cursor:pointer}.question label:hover{background:#f8fafc}.question label b{background:#eef2f6;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.examActions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.examActions button{padding:12px 16px;border:1px solid #ccd5df;border-radius:7px;cursor:pointer}.palette{height:max-content}.paletteGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.paletteGrid button{height:40px;background:#fff;border:1px solid #ccd5df;border-radius:6px}.paletteGrid .done{background:#25884d;color:#fff}.submit{width:100%;margin-top:18px;padding:14px;border:0;border-radius:8px;background:#153763;color:#fff;font-weight:800}.result{text-align:center}.bigscore{font-size:60px;font-weight:900;color:#173a68}.bigscore span{font-size:22px;color:#667085}.review{text-align:left;border-left:5px solid #adb6c2;background:#f8fafc;border-radius:8px;padding:18px;margin:12px 0}.review.right{border-left-color:#25884d}.review.wrong{border-left-color:#c63c3c}.explain{background:#fff;padding:13px;border-radius:7px;line-height:1.5}.msgs div{background:#eaf7ef;padding:12px;margin:10px 0;border-radius:7px}footer{background:#0f294e;color:#dce6f3;padding:35px 0}.foot{display:flex;justify-content:space-between;align-items:center}.foot b{font-size:20px}@media(max-width:900px){.heroGrid,.detailgrid,.examLayout{grid-template-columns:1fr}.hero h1{font-size:44px}.heroPanel{display:none}.cards{grid-template-columns:1fr 1fr}.nav nav{display:none}.facts{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.shell{width:94%}.hero{padding:55px 0}.hero h1{font-size:38px}.heroBtns{flex-direction:column}.cards{grid-template-columns:1fr}.dashStats{grid-template-columns:1fr}.account>a:first-child{display:none}.details dl{grid-template-columns:1fr}.details dd{padding-top:0}.foot{display:block}.sectionTitle h2{font-size:28px}}.paletteGrid .reviewed{background:#7b4bb7!important;color:#fff}.paletteGrid .current{outline:3px solid #f58220;outline-offset:1px}.legend{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px;font-size:12px}.lg{border:1px solid #ccd5df;padding:7px 10px;border-radius:6px}.lg.answered{background:#25884d;color:#fff}.lg.reviewmark{background:#7b4bb7;color:#fff}.lg.current{border:3px solid #f58220;padding:5px 8px}.price{font-size:22px;font-weight:900;color:#173a68}

.checkoutbox{max-width:650px;margin:0 auto}.pricebig{font-size:42px;font-weight:900;margin:18px 0;color:#ff7a00}.checkoutfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 24px}.checkoutfacts div{padding:14px;border:1px solid #d9e1ea;border-radius:10px}.checkoutfacts b,.checkoutfacts span{display:block}.checkoutfacts span{margin-top:5px;color:#65758b}@media(max-width:700px){.checkoutfacts{grid-template-columns:1fr}.pricebig{font-size:34px}}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:10px 0 24px}.statgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px;box-shadow:0 5px 18px rgba(0,0,0,.04)}.stat b{display:block;font-size:27px;color:#173b78}.stat span{color:#64748b}.grid2{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #e5e7eb}.rowline{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #e5e7eb}.actions{display:flex;flex-wrap:wrap;gap:10px}@media(max-width:850px){.statgrid{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}}
/* V7 advanced exam engine */
.sectionTabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.sectionTabs button{border:1px solid #ccd5df;background:#fff;padding:9px 13px;border-radius:20px;font-weight:700;cursor:pointer}.sectionTabs button.active{background:#153763;color:#fff;border-color:#153763}.progressText{text-align:center;margin-top:14px;color:#667085;font-size:13px}.resultStats{grid-template-columns:repeat(6,1fr)}.rankNote{font-size:12px;color:#667085;margin-top:-12px}.question input[type=radio]{width:18px;height:18px}.question label:has(input:checked){border-color:#f58220;background:#fff8f1}@media(max-width:1000px){.resultStats{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.resultStats{grid-template-columns:repeat(2,1fr)}.sectionTabs{overflow-x:auto;flex-wrap:nowrap}.sectionTabs button{white-space:nowrap}}
/* V8 professional test experience */
.instructionCard{max-width:1000px;margin:auto;border:1px solid #e1e6ed;border-radius:16px;padding:34px;background:#fff;box-shadow:0 8px 28px #173a6810}.instructionCard h1{font-size:36px;margin:8px 0}.instructionStats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0}.instructionStats div{background:#f5f7fa;border:1px solid #e1e6ed;border-radius:10px;padding:18px}.instructionStats b,.instructionStats span{display:block}.instructionStats b{font-size:25px;color:#173a68}.instructionStats span{font-size:13px;color:#667085;margin-top:4px}.instructions{background:#f8fafc;border-radius:10px;padding:18px 22px;margin:22px 0}.instructions li{margin:10px 0;line-height:1.5}.resumeNotice{background:#fff7ed;border:1px solid #fed7aa;padding:14px;border-radius:8px;margin:18px 0}.patternTable{margin:10px 0 20px}.paletteGrid .unanswered{background:#e8eef5;color:#173a68}.paletteGrid .notvisited{background:#fff;color:#667085}.lg.notanswered{background:#e8eef5}.lg.notvisited{background:#fff;color:#667085}.resultStatsV8{grid-template-columns:repeat(5,1fr)}.insightRow{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0 35px;text-align:left}.insightRow>div{border:1px solid #e1e6ed;border-radius:12px;padding:20px;background:#f8fafc}.insightRow b,.insightRow span{display:block}.insightRow b{font-size:20px;margin:6px 0}.insightRow small{font-weight:900}.examBar #saveState{display:block;text-align:right;color:#cbd8e9;margin-top:3px}@media(max-width:800px){.instructionStats,.resultStatsV8{grid-template-columns:repeat(2,1fr)}.insightRow{grid-template-columns:1fr}.examActions{flex-wrap:wrap}.examActions button{flex:1}.palette{order:2}}

.examActions .reviewActive{background:#7b4bb7;color:#fff;border-color:#7b4bb7}.paletteGrid button{cursor:pointer}.paletteGrid .unanswered{background:#e8eef5!important;color:#173a68}.paletteGrid .notvisited{background:#fff!important;color:#667085}
/* V8.4 professional result & performance analysis */
.resultV84{text-align:left;max-width:1180px}.resultV84>h1{text-align:center;margin:8px 0 24px}.resultV84>small{display:block;text-align:center}.scoreHero{display:flex;justify-content:center;align-items:stretch;gap:14px;margin:0 auto 18px;max-width:650px}.scoreHero>div{border:1px solid #e1e6ed;border-radius:14px;padding:20px 28px;background:#fff;display:flex;flex-direction:column;justify-content:center}.scoreHero span,.scoreHero em{color:#667085;font-style:normal}.scoreHero strong{font-size:42px;color:#173a68;line-height:1.1}.scoreHero .scorePercent strong{color:#f58220}.resultSummaryGrid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:22px 0}.resultSummaryGrid div{background:#f7f9fc;border:1px solid #e1e6ed;border-radius:11px;padding:17px 10px;text-align:center}.resultSummaryGrid b{display:block;font-size:22px;color:#173a68}.resultSummaryGrid span{display:block;color:#667085;font-size:12px;margin-top:5px}.metricNote{text-align:center;color:#667085;font-size:12px}.analysisBlock{margin-top:38px}.analysisTitle{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.analysisTitle h2{margin:0}.analysisTitle span{font-size:13px;color:#667085}.analysisTable th{font-size:12px;text-transform:uppercase;letter-spacing:.3px}.analysisTable td{vertical-align:middle}.topicGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.topicCard{border:1px solid #e1e6ed;border-radius:11px;padding:16px;background:#fff}.topicCard>div:first-child{display:flex;justify-content:space-between;gap:15px}.topicCard strong{color:#173a68}.topicCard p{font-size:12px;color:#667085;margin:8px 0 0}.meter{height:8px;background:#edf1f5;border-radius:20px;overflow:hidden;margin-top:10px}.meter i{display:block;height:100%;background:#f58220;border-radius:20px}.reviewHead{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.reviewHead h3{margin-top:0}.statusChip{font-size:11px;font-weight:900;text-transform:uppercase;background:#eef2f6;border-radius:20px;padding:6px 10px;white-space:nowrap}.review.right .statusChip{background:#e7f6ed;color:#237442}.review.wrong .statusChip{background:#fdecec;color:#a82e2e}.review.skip .statusChip{background:#eef2f6;color:#667085}.answerCompare{display:grid;grid-template-columns:1.3fr 1.3fr .5fr;gap:10px;margin:12px 0}.answerCompare>div{background:#fff;border:1px solid #e5e9ef;border-radius:8px;padding:12px}.answerCompare small,.answerCompare b{display:block}.answerCompare b{margin-top:5px;font-size:14px}.topicLabel{font-size:12px;color:#667085}.resultActions{display:flex;justify-content:center;gap:10px;margin-top:30px}.insightV84{text-align:left}
@media(max-width:1000px){.resultSummaryGrid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.scoreHero{flex-direction:column}.resultSummaryGrid{grid-template-columns:repeat(2,1fr)}.topicGrid{grid-template-columns:1fr}.analysisTitle{display:block}.analysisTitle span{display:block;margin-top:5px}.answerCompare{grid-template-columns:1fr}.reviewHead{display:block}.statusChip{display:inline-block;margin-bottom:8px}.resultActions{flex-direction:column}.resultActions a{width:100%}}
/* END style.css */

/* BEGIN s365-professional.css */
/* S365_PROFESSIONAL_REFRESH_V1 — polished, responsive presentation layer only. */
:root {
  --s365-ink: #14233d;
  --s365-navy: #0c2b4e;
  --s365-blue: #174a7e;
  --s365-blue-strong: #205f9d;
  --s365-orange: #f58220;
  --s365-orange-dark: #d96a0b;
  --s365-bg: #f5f8fc;
  --s365-surface: #ffffff;
  --s365-line: #e2e9f2;
  --s365-muted: #607089;
  --s365-shadow: 0 8px 28px rgba(17, 43, 78, .075);
  --s365-shadow-hover: 0 15px 36px rgba(17, 43, 78, .13);
  --s365-radius: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  color: var(--s365-ink);
  background: var(--s365-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body * { box-sizing: border-box; }
main { min-height: 62vh; }
.shell { width: min(1200px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }

/* Header and navigation */
body > header, header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(218,228,240,.95);
  box-shadow: 0 4px 20px rgba(12,43,78,.045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
header .shell.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header .brand {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  color: var(--s365-navy);
  font-size: 1.27rem;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.1;
  text-decoration: none;
}
header .brand span { color: var(--s365-orange); }
header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}
header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #344761;
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
header nav a:hover, header nav a:focus-visible {
  color: var(--s365-blue);
  background: #edf4fb;
  text-decoration: none;
}
header .account { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-shrink: 0; }
header .account a:not(.pill) { color: #344761; font-size: .9rem; font-weight: 700; text-decoration: none; }
header .account form { margin: 0; }
header .account button {
  border: 1px solid var(--s365-line);
  border-radius: 9px;
  background: #fff;
  color: var(--s365-ink);
  padding: 9px 12px;
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
}

/* Consistent typography and spacing */
h1, h2, h3, h4 { color: var(--s365-ink); letter-spacing: -.025em; line-height: 1.22; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 850; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); font-weight: 820; }
h3 { font-size: 1.12rem; font-weight: 780; }
p { color: inherit; }
main a:not(.primary):not(.pill) { text-underline-offset: 3px; }
main a:not(.primary):not(.pill):hover { color: var(--s365-blue-strong); }

/* Hero area on the homepage */
body.s365-homepage main .hero,
body.s365-homepage main .home-hero,
body.s365-homepage main .hero-section,
body.s365-homepage main .hero-wrap,
body.s365-homepage main > section:first-of-type:has(h1) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(46px, 6vw, 82px);
  background: linear-gradient(120deg, #0b294a 0%, #123f6d 54%, #205e91 100%);
  color: #fff;
  border-bottom: 4px solid var(--s365-orange);
}
body.s365-homepage main .hero::after,
body.s365-homepage main .home-hero::after,
body.s365-homepage main .hero-section::after,
body.s365-homepage main .hero-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(48vw, 560px);
  aspect-ratio: 1;
  right: -9%;
  top: -42%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
  pointer-events: none;
}
body.s365-homepage main .hero h1,
body.s365-homepage main .home-hero h1,
body.s365-homepage main .hero-section h1,
body.s365-homepage main .hero-wrap h1,
body.s365-homepage main > section:first-of-type:has(h1) h1 {
  max-width: 800px;
  margin-top: 8px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 5.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.04;
}
body.s365-homepage main .hero p,
body.s365-homepage main .home-hero p,
body.s365-homepage main .hero-section p,
body.s365-homepage main .hero-wrap p,
body.s365-homepage main > section:first-of-type:has(h1) p {
  max-width: 690px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.75;
}
body.s365-homepage main .hero small,
body.s365-homepage main .home-hero small,
body.s365-homepage main .hero-section small,
body.s365-homepage main .hero-wrap small { color: #ffd6ad; font-weight: 800; letter-spacing: .11em; }

/* Section rhythm and card system */
.section { padding-top: clamp(30px, 4.5vw, 54px); padding-bottom: clamp(30px, 4.5vw, 54px); }
body.s365-homepage main .section.shell { max-width: 1200px; }
body.s365-homepage main .section h2 { margin-top: 0; margin-bottom: 12px; }
.pagehead {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(120deg, #0c2b4e, #1c568a);
  border-bottom: 4px solid var(--s365-orange);
}
.pagehead h1, .pagehead h2, .pagehead h3 { color: #fff; }
.pagehead p { max-width: 760px; color: rgba(255,255,255,.84); }
.pagehead small { color: #ffd6ad; font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.card, .cards > .card {
  min-width: 0;
  border: 1px solid var(--s365-line);
  border-radius: var(--s365-radius);
  background: var(--s365-surface);
  box-shadow: var(--s365-shadow);
  overflow-wrap: anywhere;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cards { gap: 18px; }
.cards > .card { height: 100%; }
.cards > .card:hover, .card:hover { border-color: #c6d7eb; box-shadow: var(--s365-shadow-hover); }
.cards > .card:hover { transform: translateY(-3px); }

/* Buttons and links */
a.primary, button.primary, .primary, a.pill, button, input[type="submit"] {
  border-radius: 10px;
  font-family: inherit;
  font-weight: 800;
}
a.primary, button.primary, .primary, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--s365-orange);
  background: var(--s365-orange);
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  line-height: 1.25;
  box-shadow: 0 5px 12px rgba(245,130,32,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
a.primary:hover, button.primary:hover, .primary:hover, input[type="submit"]:hover {
  background: var(--s365-orange-dark);
  border-color: var(--s365-orange-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(217,106,11,.22);
}
a.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  background: var(--s365-blue);
  color: #fff !important;
  text-decoration: none !important;
}
button { cursor: pointer; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid rgba(245,130,32,.7); outline-offset: 3px; }

/* Forms, tables, alerts and utility content */
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  max-width: 100%;
  border: 1px solid #ccd7e5;
  border-radius: 10px;
  background: #fff;
  color: var(--s365-ink);
  padding: 11px 13px;
  font: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  border-color: var(--s365-blue-strong);
  box-shadow: 0 0 0 3px rgba(32,95,157,.1);
}
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th { background: #edf3fa; color: #173654; font-weight: 800; text-align: left; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--s365-line); }
.msgs { margin-top: 18px; margin-bottom: 18px; }
.msgs > div { padding: 12px 15px; border: 1px solid #d5e4f3; border-radius: 10px; background: #eff6ff; color: #173654; }

/* Footer */
footer {
  margin-top: 28px;
  border-top: 4px solid var(--s365-orange);
  background: #0b223d;
  color: rgba(255,255,255,.8);
}
footer .foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
footer b, footer strong { color: #fff; }
footer p { color: rgba(255,255,255,.74); }
footer a { color: #ffd1a7 !important; }

/* Make common anchored sections land below the sticky header. */
#tests, #notifications, #categories, #s365-featured-series, #s365-home-materials, #s365-home-bundles { scroll-margin-top: 96px; }

@media (min-width: 761px) and (max-width: 1120px) {
  header .shell.nav { flex-wrap: wrap; gap: 10px 16px; padding-top: 13px; padding-bottom: 13px; }
  header .brand { margin-right: auto; }
  header .account { margin-left: auto; }
  header nav { order: 3; flex: 1 0 100%; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1200px); }
  header .shell.nav {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand account" "nav nav";
    gap: 9px 12px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  header .brand { grid-area: brand; font-size: 1.2rem; }
  header nav {
    grid-area: nav;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 0 5px;
    scrollbar-width: thin;
  }
  header nav a { min-height: 36px; padding: 8px 10px; font-size: .82rem; }
  header .account { grid-area: account; gap: 7px; }
  header .account a:not(.pill) { font-size: .84rem; }
  header .account .pill { min-height: 36px; padding: 8px 11px; font-size: .84rem; }
  header .account button { padding: 7px 9px; font-size: .82rem; }
  .section { padding-top: 30px; padding-bottom: 30px; }
  .cards { grid-template-columns: 1fr; }
  footer .foot { flex-direction: column; gap: 14px; }
  table { display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 24px); }
  header .brand { font-size: 1.1rem; }
  header .account { gap: 5px; }
  header .account .pill { padding: 7px 9px; }
  body.s365-homepage main .hero h1,
  body.s365-homepage main .home-hero h1,
  body.s365-homepage main .hero-section h1,
  body.s365-homepage main .hero-wrap h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* END s365-professional.css */

/* BEGIN s365-nav-overlap-fix.css */
/* S365_NAV_OVERLAP_FIX_V1 — wrap long staff navigation without overlapping links. */
@media (min-width: 761px) {
  header .shell.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  header .brand {
    order: 1;
    flex: 0 0 auto;
    margin-right: auto;
  }

  header .account {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-wrap: wrap;
    max-width: 100%;
    margin-left: auto;
    gap: 8px;
  }

  header nav {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    overflow: visible;
  }

  header nav a {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Preserve the existing compact, horizontally scrollable mobile navigation. */
@media (max-width: 760px) {
  header .shell.nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand account" "nav nav";
  }
  header .brand { grid-area: brand; margin-right: 0; }
  header .account { grid-area: account; margin-left: 0; flex-wrap: nowrap; }
  header nav {
    grid-area: nav;
    order: initial;
    flex: initial;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
  header nav a { flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; }
}
/* END s365-nav-overlap-fix.css */

/* BEGIN s365articles/articles.css */
.s365-article-wrap{background:#f7f9fd;color:#18263c;padding:32px 0 80px;min-height:60vh}
.s365-article-container{width:min(1160px,calc(100% - 32px));margin:auto}
.s365-article-hero{padding:42px 0 28px;max-width:850px}
.s365-article-eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.14em;color:#1d63c5;margin:0 0 12px}
.s365-article-hero h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.14;color:#152946;margin:0 0 16px}
.s365-article-hero p{font-size:1.12rem;color:#52637c;line-height:1.7;margin:0}
.s365-article-cats{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 30px}
.s365-article-cats a{padding:10px 15px;border-radius:99px;background:white;border:1px solid #dce4f0;color:#344861;text-decoration:none;font-weight:600;font-size:.9rem}
.s365-article-cats a.selected,.s365-article-cats a:hover{background:#163b79;color:white;border-color:#163b79}
.s365-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.s365-article-card{background:white;border:1px solid #e2e9f3;border-radius:18px;overflow:hidden;box-shadow:0 6px 22px #152f5c0b;display:flex;flex-direction:column}
.s365-article-card img{width:100%;height:180px;object-fit:cover;display:block}
.s365-article-card-body{padding:24px;display:flex;flex-direction:column;flex:1}
.s365-article-tag{display:inline-block;color:#215fb0;font-size:.78rem;letter-spacing:.05em;font-weight:800;text-transform:uppercase}
.s365-article-card h2{font-size:1.28rem;line-height:1.35;margin:12px 0}
.s365-article-card h2 a{color:#182d4d;text-decoration:none}
.s365-article-card h2 a:hover{color:#195cb3}
.s365-article-card p{color:#596981;line-height:1.7;font-size:.95rem;flex:1}
.s365-article-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:.88rem;color:#65748c}
.s365-article-card-foot a{color:#1655a8;text-decoration:none;font-weight:800}
.s365-article-pages{display:flex;justify-content:center;align-items:center;gap:22px;padding:32px}
.s365-article-pages a{color:#1754a8;font-weight:700}
.s365-article-empty{padding:45px;background:white;border:1px solid #e2e9f3;border-radius:18px}
.s365-article-empty a{color:#1754a8;font-weight:700}
.s365-article-detail-container{max-width:940px}
.s365-article-breadcrumb{font-size:.88rem;color:#5e6e82;margin:20px 0 28px}
.s365-article-breadcrumb a{color:#1d5baa;text-decoration:none}
.s365-article-detail{background:white;border:1px solid #e2e9f3;border-radius:20px;padding:clamp(22px,5vw,56px);box-shadow:0 8px 32px #152f5c0b}
.s365-article-detail h1{font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.2;color:#132744;margin:14px 0 18px}
.s365-article-lead{font-size:1.18rem;color:#4e617c;line-height:1.7}
.s365-article-byline{font-size:.88rem;color:#65758c;margin:20px 0 26px}
.s365-article-cover{display:block;width:100%;max-height:430px;object-fit:cover;border-radius:12px;margin:25px 0}
.s365-article-content{font-size:1.08rem;line-height:1.85;color:#273a52;overflow-wrap:anywhere}
.s365-article-content h2{font-size:1.65rem;line-height:1.3;margin:34px 0 14px;color:#193e72}
.s365-article-content h3{font-size:1.3rem;margin:26px 0 12px;color:#193e72}
.s365-article-content p{margin:0 0 19px}
.s365-article-content ul,.s365-article-content ol{padding-left:24px;margin:14px 0 24px}
.s365-article-content li{margin-bottom:8px}
.s365-article-content blockquote{border-left:4px solid #2b6fc2;padding:12px 18px;margin:20px 0;background:#f4f8fe}
.s365-article-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;margin:24px 0;font-size:.95rem}
.s365-article-content td,.s365-article-content th{padding:12px;border:1px solid #d9e2ef;text-align:left}
.s365-article-content th{background:#eaf1fb}
.s365-article-content a{color:#175ab0}
.s365-article-cta{background:#edf4ff;padding:24px;border-radius:14px;margin-top:36px}
.s365-article-cta h2{font-size:1.4rem;margin:0 0 8px}
.s365-article-cta p{margin:0 0 15px;line-height:1.6}
.s365-article-cta a{color:#1557aa;font-weight:800}
.s365-article-related{margin-top:36px}
.s365-article-related h2{font-size:1.5rem;margin-bottom:16px}
.s365-article-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.s365-article-related-grid a{display:flex;flex-direction:column;gap:9px;background:white;border:1px solid #e2e9f3;padding:18px;border-radius:12px;color:#182d4d;text-decoration:none}
.s365-article-related-grid span{color:#1d5baa;font-size:.78rem}
.s365-article-preview{background:#fff2c2;padding:15px 20px;border-radius:10px;margin-top:20px;color:#553d0d}
@media(max-width:850px){.s365-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s365-article-related-grid{grid-template-columns:1fr}}
@media(max-width:600px){.s365-article-grid{grid-template-columns:1fr}.s365-article-wrap{padding-top:12px}.s365-article-hero{padding:24px 0}.s365-article-detail{border-radius:12px}.s365-article-content{font-size:1.04rem}.s365-article-cats{gap:6px}.s365-article-cats a{font-size:.8rem;padding:8px 11px}}
/* END s365articles/articles.css */

/* BEGIN s365-modernization-v2.css */
/* S365_MODERNIZATION_PHASE1_V2 — isolated header and mobile UX styles. */
.s365-skip-link {position:fixed;z-index:9999;left:12px;top:-100px;padding:12px 16px;background:#0e335b;color:#fff;border-radius:8px;text-decoration:none;font-weight:700}
.s365-skip-link:focus {top:12px}
header.s365-modern-header {position:sticky!important;top:0;z-index:1100!important;background:#fff!important;border-bottom:1px solid #dce5ef;box-shadow:0 4px 18px rgba(18,45,76,.07);overflow:visible!important}
header.s365-modern-header .shell.nav {display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"brand primary account"!important;align-items:center!important;gap:12px!important;width:min(1400px,calc(100% - 32px))!important;max-width:1400px!important;min-height:70px!important;margin:0 auto!important;padding:10px 0!important;flex-wrap:nowrap!important;overflow:visible!important}
header.s365-modern-header .brand {grid-area:brand!important;margin:0!important;white-space:nowrap!important;min-width:0}
header.s365-modern-header nav.s365-modern-primary {grid-area:primary!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important}
header.s365-modern-header nav.s365-modern-primary > a {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 11px!important;border-radius:9px!important;white-space:normal!important;text-decoration:none!important;font-size:.88rem!important;font-weight:700!important;line-height:1.3!important}
header.s365-modern-header nav.s365-modern-primary > a:hover,header.s365-modern-header nav.s365-modern-primary > a:focus-visible {background:#edf4fb!important;color:#123e6b!important}
header.s365-modern-header .account {grid-area:account!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:7px!important;min-width:0!important;overflow:visible!important}
header.s365-modern-header .account a,header.s365-modern-header .account button {min-height:38px!important;display:inline-flex;align-items:center;justify-content:center}
header.s365-modern-header .s365-mobile-toggle {display:none!important;grid-area:toggle;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 13px;border:1px solid #cfdfed;border-radius:10px;background:#eef5fb;color:#123e6b;font-weight:800;cursor:pointer}
header.s365-modern-header details.s365-staff-menu {position:relative;flex:0 0 auto;min-width:0}
header.s365-modern-header details.s365-staff-menu > summary {display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border-radius:9px;background:#eaf2fa;color:#153f6d;font-size:.88rem;font-weight:800;cursor:pointer;list-style:none}
header.s365-modern-header details.s365-staff-menu > summary::-webkit-details-marker {display:none}
header.s365-modern-header details.s365-staff-menu > summary::after {content:' ▾';padding-left:5px}
header.s365-modern-header details.s365-staff-menu[open] > summary::after {content:' ▴'}
header.s365-modern-header .s365-staff-links {position:absolute;top:calc(100% + 6px);right:0;z-index:1200;display:grid;gap:3px;min-width:190px;max-width:min(300px,calc(100vw - 24px));max-height:65vh;overflow-y:auto;padding:8px;border:1px solid #dce6f1;border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(14,45,78,.17)}
header.s365-modern-header .s365-staff-links a {display:block!important;padding:10px 12px!important;border-radius:7px;color:#163e68!important;background:#fff!important;font-size:.88rem!important;text-decoration:none!important;white-space:normal!important;line-height:1.4!important}
header.s365-modern-header .s365-staff-links a:hover,header.s365-modern-header .s365-staff-links a:focus-visible {background:#eaf3fc!important}
header.s365-modern-header a:focus-visible,header.s365-modern-header button:focus-visible,header.s365-modern-header summary:focus-visible {outline:3px solid #e88926!important;outline-offset:2px!important}
main img,main video {max-width:100%;height:auto}
main iframe {max-width:100%}
main {min-width:0}
@media (min-width:901px) and (max-width:1180px) {
  header.s365-modern-header .shell.nav {grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand account" "primary primary"!important;gap:7px 14px!important}
  header.s365-modern-header nav.s365-modern-primary {justify-content:flex-start!important}
}
@media (max-width:900px) {
  header.s365-modern-header .shell.nav {grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand toggle" "account account" "primary primary"!important;gap:8px!important;min-height:0!important;padding:9px 0!important;width:calc(100% - 24px)!important}
  header.s365-modern-header .brand {justify-self:start!important;font-size:1.18rem!important}
  header.s365-modern-header .s365-mobile-toggle {display:inline-flex!important;justify-self:end!important}
  header.s365-modern-header .account {justify-self:stretch!important;justify-content:flex-start!important;width:100%!important;gap:5px!important}
  header.s365-modern-header .account a,header.s365-modern-header .account button {min-height:38px!important;padding:7px 10px!important;font-size:.83rem!important}
  header.s365-modern-header nav.s365-modern-primary {grid-area:primary!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:4px!important;width:100%!important;max-height:calc(100dvh - 165px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px!important;border:1px solid #dce6f1!important;border-radius:12px!important;background:#fff!important;overscroll-behavior:contain}
  html.s365-nav-js header.s365-modern-header:not(.s365-menu-open) nav.s365-modern-primary {display:none!important}
  header.s365-modern-header nav.s365-modern-primary > a {justify-content:flex-start!important;width:100%!important;min-height:44px!important;padding:11px 13px!important;white-space:normal!important;overflow-wrap:anywhere}
  header.s365-modern-header details.s365-staff-menu {width:100%!important}
  header.s365-modern-header details.s365-staff-menu > summary {justify-content:flex-start!important;min-height:44px!important}
  header.s365-modern-header .s365-staff-links {position:static!important;min-width:0!important;max-width:100%!important;max-height:none!important;box-shadow:none!important;margin-top:5px!important}
  body.s365-homepage main table {display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.s365-homepage main .cards {grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))!important}
  body.s365-homepage main h1,body.s365-homepage main h2 {overflow-wrap:break-word}
}
@media (max-width:420px) {header.s365-modern-header .brand {font-size:1.1rem!important}}
@media (prefers-reduced-motion:reduce) {header.s365-modern-header * {scroll-behavior:auto!important;transition:none!important}}
/* END s365-modernization-v2.css */

/* BEGIN s365-home-phase2.css */
/* Original homepage styles moved from #s365-compact-homepage-v1 */
/* Scoped to the homepage hero only: no admin/student navigation changes. */
.hero { min-height: 0 !important; height: auto !important; padding: 34px 0 !important; }
.hero .heroGrid { min-height: 0 !important; gap: 28px !important; align-items: center !important; }
.hero .eyebrow { margin: 0 0 7px !important; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.45rem) !important; line-height: 1.08 !important; margin: 7px 0 12px !important; }
.hero p { margin: 0 0 16px !important; line-height: 1.55 !important; }
.hero .heroBtns { margin: 13px 0 !important; gap: 10px !important; }
.hero .heroBtns a { padding: 12px 16px !important; }
.hero .trust { margin: 13px 0 0 !important; }
.hero .heroPanel { padding: 17px 22px !important; }
.hero .heroPanel h3 { margin: 0 0 9px !important; font-size: 1.16rem !important; }
.hero .heroPanel div { padding: 7px 0 !important; line-height: 1.35 !important; }
.hero + .shell.section { padding-top: 34px !important; padding-bottom: 34px !important; }
@media (max-width: 760px) {
  .hero { padding: 24px 0 !important; }
  .hero .heroGrid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.65rem) !important; }
  .hero .heroPanel { display: none !important; }
  .hero .heroBtns { flex-wrap: wrap !important; }
  .hero + .shell.section { padding-top: 24px !important; }
}

/* Original homepage styles moved from #s365-home-compact-final-v1 */
/* Hero card heading contrast; no other header or navigation styling changes. */
.hero .heroPanel h3 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
/* With categories removed, keep the next section close to the hero. */
.hero + .soft .section { padding-top: 30px !important; }
@media (max-width: 700px) { .hero + .soft .section { padding-top: 20px !important; } }

/* S365_MODERNIZATION_PHASE2 — homepage enhancements only; no global header changes. */
body.s365-homepage main { overflow-wrap: anywhere; }
body.s365-homepage main .s365-p2-shortcuts + .soft .section { padding-top:30px; }
body.s365-homepage main .s365-p2-shortcuts { width:min(1150px,calc(100% - 32px)); margin:30px auto 8px; }
body.s365-homepage main .s365-p2-shortcuts-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:8px 20px; margin:0 0 16px; }
body.s365-homepage main .s365-p2-shortcuts-head h2 { font-size:clamp(1.4rem,2.6vw,1.85rem); color:#173c60; line-height:1.2; letter-spacing:-.025em; margin:0 0 5px; }
body.s365-homepage main .s365-p2-shortcuts-head p { margin:0; color:#536b81; font-size:.96rem; }
body.s365-homepage main .s365-p2-shortcuts-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
body.s365-homepage main .s365-p2-shortcut { display:flex; align-items:center; gap:12px; padding:17px 14px; min-width:0; border:1px solid #dbe5ef; border-radius:14px; background:#fff; box-shadow:0 4px 14px rgba(15,47,80,.045); color:#173c60; text-decoration:none; transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease; }
body.s365-homepage main .s365-p2-shortcut:hover { border-color:#8db9df; box-shadow:0 8px 24px rgba(15,47,80,.10); transform:translateY(-2px); }
body.s365-homepage main .s365-p2-shortcut:focus-visible,body.s365-homepage main .s365-p2-test-tools input:focus-visible,body.s365-homepage main .s365-p2-series-link:focus-visible { outline:3px solid #e88926; outline-offset:3px; }
body.s365-homepage main .s365-p2-shortcut-icon { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; border-radius:12px; background:#edf5fc; font-size:1.3rem; }
body.s365-homepage main .s365-p2-shortcut-copy { min-width:0; display:grid; gap:3px; }
body.s365-homepage main .s365-p2-shortcut-copy strong { display:block; font-size:.95rem; line-height:1.3; }
body.s365-homepage main .s365-p2-shortcut-copy small { display:block; color:#587189; font-size:.77rem; line-height:1.35; }
body.s365-homepage main .s365-p2-test-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px 15px; margin:8px 0 18px; padding:14px 16px; background:#f3f8fd; border:1px solid #dce7f1; border-radius:13px; }
body.s365-homepage main .s365-p2-test-tools label { font-size:.91rem; color:#173c60; font-weight:750; }
body.s365-homepage main .s365-p2-test-tools input { flex:1 1 220px; min-width:0; max-width:480px; min-height:44px; padding:10px 13px; border:1px solid #b7cadb; border-radius:10px; background:#fff; color:#183e61; font:inherit; font-size:.92rem; }
body.s365-homepage main .s365-p2-test-tools input::placeholder { color:#647b90; }
body.s365-homepage main .s365-p2-test-count { font-size:.82rem; color:#4d657c; margin:0; }
body.s365-homepage main .s365-p2-series-link { display:inline-flex; align-items:center; gap:5px; padding:8px 10px; border-radius:8px; font-weight:750; font-size:.88rem; text-decoration:none; color:#075f9f; }
body.s365-homepage main .s365-p2-series-link:hover { background:#eaf4fd; }
body.s365-homepage main #tests { scroll-margin-top:120px; }
body.s365-homepage main .cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr)); gap:16px; }
body.s365-homepage main article.card { min-width:0; border-radius:14px; border:1px solid #e0e8f0; box-shadow:0 5px 18px rgba(15,47,80,.045); }
body.s365-homepage main article.card h3 { overflow-wrap:anywhere; line-height:1.4; }
body.s365-homepage main article.card.test { display:flex; flex-direction:column; }
body.s365-homepage main article.card.test .facts { flex-wrap:wrap; }
body.s365-homepage main article.card.test a.primary.full { margin-top:auto; text-align:center; }
body.s365-homepage main article.card.test[hidden] { display:none!important; }
body.s365-homepage main .s365-exam-hubs-home { max-width:1150px!important; width:calc(100% - 32px); margin-top:28px!important; }
@media(max-width:1050px) { body.s365-homepage main .s365-p2-shortcuts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  body.s365-homepage main .s365-p2-shortcuts { width:calc(100% - 24px); margin:20px auto 4px; }
  body.s365-homepage main .s365-p2-shortcuts + .soft .section { padding-top:20px; }
  body.s365-homepage main .s365-p2-shortcuts-grid { gap:9px; }
  body.s365-homepage main .s365-p2-shortcut { padding:13px 10px; gap:8px; align-items:flex-start; }
  body.s365-homepage main .s365-p2-shortcut-icon { flex-basis:32px; width:32px; height:32px; font-size:1rem; border-radius:9px; }
  body.s365-homepage main .s365-p2-shortcut-copy strong { font-size:.85rem; }
  body.s365-homepage main .s365-p2-shortcut-copy small { font-size:.72rem; }
  body.s365-homepage main .s365-p2-test-tools { padding:12px; }
  body.s365-homepage main .s365-p2-test-tools input { flex-basis:100%; max-width:none; }
  body.s365-homepage main .s365-p2-series-link { padding:8px 0; }
}
@media(max-width:390px) { body.s365-homepage main .s365-p2-shortcuts-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { body.s365-homepage main .s365-p2-shortcut { transition:none; } body.s365-homepage main .s365-p2-shortcut:hover { transform:none; } }
/* END s365-home-phase2.css */
