/* EduGo campaign site — mobile first, logical properties for both directions */
:root {
  --teal-900: #0b2f33;
  --teal-800: #0f3d42;
  --teal-700: #145257;
  --brand: #63dee3;
  --brand-ink: #063235;
  --ink: #12282b;
  --muted: #4f6668;
  --line: #d6e4e5;
  --bg: #f6fbfb;
  --card: #ffffff;
  --wa: #1f8f4e;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
[dir="rtl"] body, body[dir="rtl"] { line-height: 1.8; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-700); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: 1.25rem; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* Header */
.top { background: var(--teal-900); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.brand span { color: var(--brand); }
.nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: #e5f6f7; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.lang { border: 1px solid var(--brand); border-radius: 999px; padding: .15rem .7rem; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--teal-900), var(--teal-700)); color: #fff; padding-block: 3rem 3.5rem; }
.hero h1 { font-size: clamp(1.8rem, 6vw, 2.9rem); line-height: 1.2; margin: 0 0 1rem; }
.hero p { font-size: 1.1rem; max-width: 40rem; margin: 0 0 1.5rem; color: #e3f4f5; }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-block-end: .6rem; }
[dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-dark { background: var(--teal-800); color: #fff; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Sections */
section { padding-block: 2.75rem; }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); line-height: 1.25; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.lead { color: var(--muted); max-width: 44rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; padding-inline-start: 3.5rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; }
.note { background: #eef8f8; border-inline-start: 4px solid var(--brand); padding: 1rem 1.25rem; border-radius: 8px; color: var(--ink); }
.band { background: var(--teal-800); color: #fff; }
.band .lead { color: #d3eced; }

/* Guide form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; max-width: 34rem; }
.field { margin-block-end: 1rem; }
.field label { display: block; font-weight: 600; margin-block-end: .35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid #a9bfc1; border-radius: 10px; font: inherit; background: #fff; }
.field.check { display: flex; gap: .7rem; align-items: flex-start; }
.field.check input { width: 1.35rem; height: 1.35rem; margin-block-start: .2rem; flex: none; }
.field.check label { font-weight: 400; font-size: .95rem; margin: 0; }
.err { color: #a3261b; font-size: .9rem; margin: .3rem 0 0; }
[aria-invalid="true"] { border-color: #a3261b !important; }
.small { font-size: .88rem; color: var(--muted); }
.success { background: #eef8f1; border: 1px solid #b9dcc5; border-radius: var(--radius); padding: 1.25rem; }

/* Pop-up */
.popup[hidden] { display: none; }
.popup { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; background: rgba(5, 25, 27, .55); padding: 0; }
@media (min-width: 640px) { .popup { place-items: center; padding: 1rem; } }
.popup-box { background: #fff; width: 100%; max-width: 30rem; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 1.5rem 1.5rem 4.5rem; position: relative; }
@media (min-width: 640px) { .popup-box { border-radius: 18px; padding-bottom: 1.5rem; } }
.popup-close { position: absolute; inset-inline-end: .6rem; top: .6rem; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--muted); }
.popup h2 { font-size: 1.35rem; padding-inline-end: 2.5rem; }

/* WhatsApp button, every page */
.wa { position: fixed; inset-inline-end: 1rem; bottom: 4.5rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.2); min-height: 48px; }
.wa svg { width: 22px; height: 22px; fill: currentColor; }

/* Footer */
.foot { background: var(--teal-900); color: #cfe3e4; font-size: .9rem; padding-block: 2rem 8rem; }
.foot a { color: var(--brand); }
.foot p { margin: .3rem 0; }

/* Tables (privacy) */
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: start; vertical-align: top; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.uni-name { font-weight: 700; }
/* Media (27 Nov 2026) */
.hero.has-media { position: relative; overflow: hidden; padding-block: 4.5rem 5rem; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .8s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,47,51,.9), rgba(20,82,87,.6)); }
.hero.has-media .wrap { position: relative; z-index: 1; }
.media-label { position: absolute; inset-inline-end: .75rem; bottom: .6rem; z-index: 2; font-size: .75rem; color: #e3f4f5; background: rgba(0,0,0,.35); padding: .15rem .55rem; border-radius: 999px; }
figure.photo { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
figure.photo img { display: block; width: 100%; height: auto; aspect-ratio: 700 / 465; object-fit: cover; }
figure.photo figcaption { padding: .55rem .8rem; font-size: .85rem; color: var(--muted); }
.media-tag { display: inline-block; font-size: .72rem; background: #eef8f8; color: var(--teal-700); border-radius: 999px; padding: 0 .5rem; margin-inline-start: .25rem; }
.photo-row { margin-block-start: 1.5rem; }
.band figure.photo figcaption { color: var(--muted); }
.song audio { width: 100%; max-width: 34rem; margin-block: .5rem; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
/* University pages (27 Nov 2026) */
.hero .src { font-size: .85rem; color: #cfe6e7; margin: 1.25rem 0 0; max-width: 46rem; }
.hero .src a { color: var(--brand); }
.uni-sec { padding-block: 2rem; }
.uni-sec + .uni-sec { border-top: 1px solid var(--line); }
.facts { padding-inline-start: 1.2rem; margin: 0; max-width: 52rem; }
.facts li { margin-block-end: .55rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-width: 52rem; }
.table-wrap th, .table-wrap td { border: 0; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: #eef8f8; }
.table-wrap tbody th { width: 34%; font-weight: 600; background: #f8fcfc; }
@media (max-width: 600px) { .table-wrap th, .table-wrap td { padding: .4rem .3rem; font-size: .86rem; } }
.uni-link { display: block; text-decoration: none; color: inherit; }
.uni-more { display: block; font-size: .85rem; color: var(--teal-700); margin-block-start: .35rem; }
.card:hover .uni-more, .uni-link:focus-visible .uni-more { text-decoration: underline; }
/* Round 3 (27 Nov 2026): FAQ, check, can/can't page */
.faq { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-block-end: .6rem; max-width: 52rem; }
.faq summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; }
.faq p { margin: 0; padding: 0 1rem .9rem; color: var(--muted); }
.fit fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.fit legend { font-weight: 700; margin-block-end: .5rem; }
.opt { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; margin-block-end: .4rem; cursor: pointer; min-height: 44px; }
.opt input { width: 1.15rem; height: 1.15rem; }
.fit-result { margin-block-start: 1.5rem; max-width: 52rem; }
.hero .actions .btn-ghost + .btn-ghost { border-style: dashed; }

/* Round 4 (27 Nov 2026): register records, compare/costs tables */
.hero .regname { font-size: .95rem; color: #cfe6e7; margin: -.5rem 0 1rem; }
.reg-sec .table-wrap tbody th { width: 38%; }
.table-wrap thead th:first-child:empty { background: #eef8f8; }
.table-wrap:has(th:nth-child(5)) { max-width: none; }

/* Round 6 (27 Nov 2026): WhatsApp as a round floating icon (owner request) */
.wa { width: 58px; height: 58px; min-height: 0; padding: 0; gap: 0; justify-content: center; border-radius: 50%; bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
.wa span { display: none; }
.wa svg { width: 30px; height: 30px; }
.wa:focus-visible { outline: 3px solid var(--wa); outline-offset: 3px; }

/* Round 9 (27 Nov 2026): source note after each recognition fact */
.facts .src { font-size: .85rem; color: var(--muted); }

/* Round 10 (28 Nov 2026): student area */
.field input[type="password"] { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid #a9bfc1; border-radius: 10px; font: inherit; background: #fff; }
.stu form, .stu #stu-approval { max-width: 28rem; }
.stu-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-dark, #0b5f63); text-decoration: underline; cursor: pointer; min-height: 44px; }
.lib { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.lib li { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; }
.lib .lib-meta { display: block; font-size: .85rem; color: var(--muted); margin-block-start: .2rem; }

/* Round 12 (28 Nov 2026): library sections */
.lib-jump { font-size: .95rem; }
.lib-sec { margin-block-start: 2rem; }
.lib-sec h3 { margin-block-end: .4rem; }
.lib-sec h4 { margin: 1.4rem 0 .2rem; font-size: 1.02rem; }
.lib-sec ol { padding-inline-start: 1.3rem; }

/* Round 14 (28 Nov 2026): referral partner page */
.steps-list { padding-inline-start: 1.3rem; display: grid; gap: .6rem; }
.partner-form { max-width: 34rem; }
.field textarea { width: 100%; padding: .6rem .8rem; border: 1px solid #a9bfc1; border-radius: 10px; font: inherit; background: #fff; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Round 18 (29 Nov 2026): recognition summary, American-connection band, offer pop-up */
.verdict { background: #e8f7ee; color: #0f3d2a; border-inline-start: 5px solid #1f9d55; border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
.verdict strong { display: block; font-size: 1.15rem; margin-bottom: .3rem; color: #0f3d2a; }
.usa-band { background: linear-gradient(135deg, #0b2f33 0%, #16365f 100%); color: #fff; padding-block: 2.5rem; }
.usa-band h2 { color: #fff; }
.usa-band .kicker { color: #ffd166; }
.usa-cards { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.usa-cards li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 1rem 1.1rem; line-height: 1.55; }
.usa-cards strong { display: block; color: #ffd166; font-size: 1.05rem; margin-bottom: .35rem; }
.offer-tag { display: inline-block; background: #ffd166; color: #0b2f33; font-weight: 700; border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; }
.offer-list { padding-inline-start: 1.2rem; display: grid; gap: .45rem; margin: .8rem 0 1rem; }

/* Round 19 (29 Nov 2026): universities directory and programme finder */
.finder-bar { display: grid; gap: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--teal-700); background: #fff; color: var(--teal-800); border-radius: 999px; padding: .45rem .95rem; font: inherit; font-size: .92rem; cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--teal-800); color: #fff; }
.finder-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.finder-row label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.finder-row select, .finder-row input { padding: .6rem .75rem; border: 1px solid #a9bfc1; border-radius: 10px; font: inherit; background: #fff; min-width: 12rem; }
.uni-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.uni-city { display: block; color: var(--muted); font-size: .9rem; margin-block-start: .2rem; }
.uni-meta { display: block; font-size: .9rem; margin-block-start: .4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-block-start: .5rem; }
.tag { background: #e6f4f4; color: #0f3d42; border-radius: 999px; padding: .15rem .6rem; font-size: .8rem; font-weight: 600; }
[data-item][hidden], [data-group][hidden] { display: none; }
.nav-dd { position: relative; }
.nav-dd-menu { display: none; position: absolute; top: calc(100% + .6rem); inset-inline-start: -.75rem; z-index: 60; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(5, 25, 27, .22); padding: .4rem; min-width: 12rem; }
.nav-dd-menu::before { content: ""; position: absolute; inset-inline: 0; top: -.7rem; height: .7rem; }
.nav-dd:hover > .nav-dd-menu, .nav-dd:focus-within > .nav-dd-menu, .nav-dd.open > .nav-dd-menu { display: block; }
.nav-dd-col { position: relative; }
.nav .nav-dd-menu a { display: flex; justify-content: space-between; gap: .8rem; color: #0f3d42; padding: .6rem .8rem; border-radius: 9px; font-size: .93rem; }
.nav .nav-dd-menu a:hover, .nav .nav-dd-menu a:focus-visible { background: #e6f4f4; color: #0b2f33; }
.nav .nav-dd-country { font-weight: 700; }
.nav-dd-sub { display: none; position: absolute; top: -.4rem; inset-inline-start: calc(100% + .3rem); background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(5, 25, 27, .22); padding: .4rem; min-width: 19rem; max-height: 72vh; overflow: auto; }
.nav-dd-col:hover > .nav-dd-sub, .nav-dd-col:focus-within > .nav-dd-sub, .nav-dd-col.open > .nav-dd-sub { display: block; }
@media (max-width: 760px) {
  .nav-dd-menu { position: fixed; top: 4.5rem; inset-inline: .75rem; max-height: 78vh; overflow: auto; }
  .nav-dd-sub { position: static; box-shadow: none; min-width: 0; max-height: none; padding: 0 0 .3rem; padding-inline-start: .6rem; }
}
.country-panels { display: grid; gap: 1.25rem; margin-block: 1.5rem; }
@media (min-width: 860px) { .country-panels { grid-template-columns: 1fr 1fr; align-items: start; } }
.country-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 8px 28px rgba(11, 47, 51, .08); }
.cp-head { padding: 1.5rem 1.6rem 1.3rem; color: #fff; background: linear-gradient(135deg, #0b2f33 0%, #1d6b70 100%); }
.cp-turkey .cp-head { background: linear-gradient(135deg, #3a1622 0%, #9b3348 100%); }
.cp-head h3 { margin: .15rem 0 .2rem; font-size: 1.7rem; color: #fff; }
.cp-kicker { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; opacity: .85; }
.cp-meta { margin: 0; font-size: .93rem; opacity: .92; }
.cp-list { list-style: none; margin: 0; padding: .5rem; display: grid; gap: .1rem; }
.cp-list a { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border-radius: 12px; text-decoration: none; color: inherit; transition: background .15s; }
.cp-list a:hover, .cp-list a:focus-visible { background: #eef7f7; }
.cp-turkey .cp-list a:hover, .cp-turkey .cp-list a:focus-visible { background: #fbeff2; }
.cp-name { flex: 1; font-weight: 600; }
.cp-tags { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; }
.cp-arrow { color: var(--teal-700); font-weight: 700; }
.cp-turkey .cp-arrow { color: #9b3348; }
.cp-foot { margin: 0; padding: .9rem 1.6rem 1.1rem; border-top: 1px solid var(--line); font-weight: 600; }
/* Round 21: East-West style on every university page */
.acc-list li { margin-bottom: .45rem; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.steps li { counter-increment: st; position: relative; background: #fff; border: 1px solid #d7e6e6; border-radius: 14px; padding: 2.6rem 1.1rem 1rem; line-height: 1.55; }
.steps li::before { content: counter(st); position: absolute; inset-block-start: .9rem; inset-inline-start: 1.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #0b2f33; color: #ffd166; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps strong { display: block; color: #0b2f33; margin-bottom: .3rem; }
/* Round 22: university logos and photos */
.uni-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: .55rem .9rem; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.uni-logo.dark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }
.uni-logo img { height: 64px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.uni-photos { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 1rem; }
.uni-photos figure { margin: 0; }
.uni-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; display: block; }
.uni-photos.n1 img { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .uni-logo img { height: 48px; max-width: 180px; } }
/* Round 23: recognition flag cards */
.flag-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: 1rem 0; }
.flag-card { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid #d7e6e6; border-radius: 14px; padding: 1rem 1.1rem; text-decoration: none; color: #1d3a3c; line-height: 1.5; transition: box-shadow .2s, transform .2s; }
.flag-card:hover { box-shadow: 0 8px 22px rgba(11, 47, 51, .12); transform: translateY(-2px); }
.flag-card > img { border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); flex: none; margin-top: .2rem; }
.flag-card strong { display: block; color: #0b2f33; font-size: 1.05rem; margin-bottom: .2rem; }
.flag-card em { display: block; font-style: normal; color: #0b8a8f; font-weight: 600; margin-top: .35rem; font-size: .92rem; }
.flag-card.wide { grid-column: 1 / -1; }
.eu-strip { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.eu-strip img { border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.flags-sec .kicker { color: #0b8a8f; }
/* Round 24: guide pages */
.flag-row { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: .8rem 0; }
.flag-row a { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid #d7e6e6; border-radius: 999px; padding: .35rem .8rem; text-decoration: none; color: #0b2f33; font-weight: 600; }
.flag-row img { border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.guide-links { margin-top: .6rem; font-weight: 600; }
.guide-links a { color: inherit; }
/* Round 27: Apply now, documents box, EduGo Assistant */
.nav a.nav-cta { background: var(--brand); color: #0b2f33; border-radius: 999px; padding-inline: .9rem; font-weight: 700; }
.docs-box { margin-top: 1rem; padding: 1rem 1.1rem; border: 1px dashed #a9bfc1; border-radius: 14px; background: #f6fbfb; }
.docs-box h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.docs-box ul { margin: 0 0 .5rem; padding-inline-start: 1.2rem; }
.ast-btn { position: fixed; inset-inline-end: 1rem; bottom: calc(9rem + env(safe-area-inset-bottom, 0px)); z-index: 41; display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .7rem 1rem; border: 0; border-radius: 999px; background: #0b2f33; color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ast-btn svg { width: 22px; height: 22px; fill: var(--brand); }
.ast-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.ast-panel { position: fixed; inset-inline-end: 1rem; bottom: calc(13rem + env(safe-area-inset-bottom, 0px)); z-index: 42; width: min(24rem, calc(100vw - 2rem)); max-height: min(34rem, calc(100vh - 15rem)); display: flex; flex-direction: column; background: #fff; color: #0b2f33; border-radius: 18px; box-shadow: 0 12px 36px rgba(0, 0, 0, .3); overflow: hidden; }
.ast-panel[hidden] { display: none; }
.ast-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; background: #0b2f33; color: #fff; }
.ast-x { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; }
.ast-log { flex: 1; overflow-y: auto; padding: .8rem 1rem; }
.ast-msg { margin: 0 0 .6rem; padding: .55rem .8rem; border-radius: 12px; max-width: 90%; line-height: 1.45; }
.ast-msg.bot { background: #eef6f6; }
.ast-msg.me { background: #0b2f33; color: #fff; margin-inline-start: auto; }
.ast-msg a { color: inherit; font-weight: 700; }
.ast-log { min-height: 8rem; }
.ast-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .4rem; padding: .2rem 1rem .6rem; flex-shrink: 0; scrollbar-width: thin; }
.ast-chips button, .ast-chips a { flex: 0 0 auto; white-space: nowrap; border: 1px solid #a9bfc1; background: #fff; color: #0b2f33; border-radius: 999px; padding: .35rem .7rem; font: inherit; font-size: .88rem; cursor: pointer; text-decoration: none; min-height: 36px; }
.ast-wa { color: #0b6b3a !important; font-weight: 700; }
.ast-form { display: flex; gap: .4rem; padding: .6rem 1rem; border-top: 1px solid #e1ecec; }
.ast-form input { flex: 1; min-width: 0; min-height: 44px; padding: .5rem .7rem; border: 1px solid #a9bfc1; border-radius: 10px; font: inherit; }
.ast-form button { min-height: 44px; padding: 0 .9rem; border: 0; border-radius: 10px; background: var(--brand); color: #0b2f33; font: inherit; font-weight: 700; cursor: pointer; }
.ast-note { margin: 0; padding: 0 1rem .7rem; font-size: .78rem; color: #50686a; }
@media (max-width: 640px) { .ast-btn span { display: none; } .ast-btn { width: 58px; height: 58px; padding: 0; justify-content: center; border-radius: 50%; } .ast-btn svg { width: 28px; height: 28px; } }
