/* YO&P CONNECT — v0.3.2 simple clarity override */
:root{
  --bg:#f6f7f3;
  --surface:#ffffff;
  --surface-soft:#f1f4ec;
  --line:#dde4d7;
  --text:#24372f;
  --muted:#66786f;
  --green:#1f4c3d;
  --green-strong:#173d31;
  --green-soft:#e7efe7;
  --danger:#8d4f45;
  --shadow:0 10px 24px rgba(25,52,40,.06);
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text)}
.wrap{width:min(1120px,calc(100% - 40px))}
.demo-strip{background:#edf2e8;border-bottom:1px solid #e0e8da;font-size:13px}
.demo-inner{min-height:42px}
.demo-more{color:var(--green);font-weight:700}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:saturate(160%) blur(10px);border-bottom:1px solid #e5ebde}
.header-inner{min-height:78px;gap:20px}
.brand{gap:12px}
.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--green-strong)}
.brand strong{font-size:15px;letter-spacing:.01em}
.brand small{font-size:12px;color:var(--muted);margin-top:2px}
.nav{gap:8px}
.nav button{padding:11px 14px;border-radius:999px;font-weight:700;color:var(--muted)}
.nav button:hover{background:#f2f5ef;color:var(--text)}
.nav button.active{background:var(--green-soft);color:var(--green)}
.nav button.active:after{display:none}
.auth-header{gap:10px}
.auth-header .outline-btn,.auth-header .text-btn{min-height:42px;border-radius:12px}
#account-chip{font-size:12px;color:var(--muted)}
#connection-banner{top:78px;background:#fff3cd;color:#5b4b17;border-bottom:1px solid #f2df9a;padding:11px 18px}
.clarity-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);align-items:start;gap:36px;padding:42px 0 26px}
.hero-text{padding:10px 0 0}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--green);font-weight:700;margin-bottom:18px}
.hero-eyebrow span{display:inline-block;width:20px;height:2px;background:var(--green)}
.clarity-hero h1{font-size:56px;line-height:1.12;letter-spacing:-.04em;margin:0 0 18px;max-width:580px}
.clarity-hero h1 em{font-style:normal;color:var(--green)}
.hero-copy{font-size:19px;line-height:1.7;color:#51625a;max-width:560px;margin:0}
.hero-actions{display:flex;align-items:center;gap:16px;margin-top:26px}
.hero-search{min-height:54px;padding:0 22px;border-radius:14px;font-size:16px;background:var(--green);box-shadow:none}
.hero-how{font-size:15px;font-weight:700;color:var(--green)}
.hero-note{font-size:13px;color:var(--muted);margin-top:14px}
.start-panel{background:transparent;border:0;display:grid;gap:14px;box-shadow:none}
.institution-start,.instructor-start{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.institution-start{padding:26px 28px;display:flex;flex-direction:column;align-items:flex-start}
.start-kicker{font-size:12px;font-weight:800;color:var(--green);margin-bottom:12px}
.institution-start h2{font-size:34px;line-height:1.25;letter-spacing:-.03em;margin:0 0 14px}
.institution-start p{font-size:15px;line-height:1.75;color:#53655d;margin:0 0 20px}
.institution-start .light-btn{min-height:50px;border-radius:14px;background:var(--green-soft);color:var(--green);font-weight:800;padding:0 18px;border:0;box-shadow:none}
.instructor-start{display:flex;align-items:center;justify-content:space-between;padding:18px 22px}
.instructor-start small{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.instructor-start strong{font-size:18px;color:var(--text)}
.round-arrow{display:grid;place-items:center;width:36px;height:36px;border-radius:999px;border:1px solid var(--line);color:var(--green)}
.purpose-section{padding:8px 0 20px}
.compact-section-head{display:flex;align-items:flex-end;gap:16px;margin-bottom:12px}
.compact-section-head h2{font-size:28px;letter-spacing:-.03em;margin:0}
.compact-section-head p{font-size:14px;color:var(--muted);margin:0 0 3px}
.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.program-card{display:flex;align-items:center;gap:14px;min-height:92px;padding:18px 18px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:none}
.program-card .mini-icon{width:40px;height:40px;border-radius:12px;background:var(--surface-soft)}
.program-card strong{font-size:20px;display:block;line-height:1.3}
.program-card small{display:block;margin-top:4px;font-size:13px;color:var(--muted);line-height:1.5}
.program-arrow{margin-left:auto;color:var(--green);font-size:21px}
.catalog-section,.how-section{padding:28px 0 20px;border-top:1px solid #e1e8dd}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.section-kicker{display:block;font-size:12px;color:var(--green);font-weight:800;letter-spacing:.02em;margin-bottom:6px}
.section-head h2{font-size:40px;line-height:1.14;letter-spacing:-.04em;margin:0}
.section-head p{margin:8px 0 0;color:var(--muted);font-size:15px}
.catalog-label{font-size:12px;padding:8px 11px;background:var(--green-soft);color:var(--green);border-radius:999px}
.quick-fields{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.quick-fields button{min-height:42px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-weight:700;color:#50625a}
.quick-fields button.active,.quick-fields button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}
.filters{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px 18px 14px;box-shadow:var(--shadow)}
.filter-grid{display:grid;grid-template-columns:1.3fr repeat(3,minmax(0,1fr));gap:14px}
.field label{display:block;margin-bottom:7px;font-size:13px;font-weight:800;color:#4c5e56}
.field input,.field select,.field textarea{min-height:46px;border-radius:12px;border:1px solid var(--line);background:#fbfcfa;padding:11px 13px;font-size:15px}
.filter-extra{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}
.check-label{font-size:13px;color:#54675e}
.reset-btn{font-size:13px;font-weight:700;color:var(--green)}
.results-bar{display:flex;align-items:center;justify-content:space-between;margin:16px 0 12px}
.results-bar strong{font-size:16px}
.instructor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.instructor-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px}
.card-name{font-size:20px}
.card-title{font-size:15px;line-height:1.55;color:var(--muted);min-height:auto;margin:10px 0 12px}
.card-location,.card-sample{font-size:12px;color:var(--muted)}
.card-identity{min-width:0}.card-sample{padding:4px 8px;border-radius:8px;background:var(--soft);color:var(--green)}
.tags .tag-more{background:#e6ede2;color:var(--deep);font-weight:700}
.expert-facts{display:grid;gap:8px;margin:0;padding:14px 0;border-top:1px solid #edf1e8}
.expert-facts div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start}
.expert-facts dt{font-size:13px;color:var(--muted);font-weight:600}
.expert-facts dd{margin:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.expert-fee{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:7px 0}
.expert-fee>span{font-size:13px;color:var(--muted);white-space:nowrap}
.expert-fee strong{font-size:19px;line-height:1.35;color:var(--green);text-align:right;white-space:nowrap;letter-spacing:-.5px}
.expert-fee small{font-size:12px;font-weight:600;margin-left:5px;color:var(--muted);letter-spacing:0}

.card-actions{margin-top:16px}
.card-actions .outline-btn,.card-actions .check-label{min-height:42px;border-radius:12px}
.how-section{padding-top:26px;padding-bottom:24px}
.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.how-grid article{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;position:relative}
.step-number{display:inline-block;font-size:12px;font-weight:800;color:var(--green);margin-bottom:10px}
.how-grid h3{font-size:18px;margin:0 0 8px}
.how-grid p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.open-banner{margin:8px 0 40px;padding:24px 28px;background:var(--surface);border:1px solid var(--line);border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:none}
.open-banner h2{font-size:30px;letter-spacing:-.03em;margin:6px 0}
.open-banner p{margin:0;color:var(--muted)}
.page-head{padding:28px 0 16px;border-bottom:1px solid #e3eadf;margin-bottom:18px}
.page-head h1{font-size:34px;letter-spacing:-.04em;margin:0 0 6px}
.page-head p{font-size:15px;line-height:1.6;color:var(--muted);margin:0;max-width:720px}
.panel,.work-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.panel{padding:20px}
.panel h2,.page:not(#page-discover) h2{font-size:24px;letter-spacing:-.03em}
.panel p{color:#55675f}
.notice{background:#f7f9f5;border:1px solid #e0e6dc;border-radius:14px;color:#445851}
.actions{gap:10px}
.actions .primary-btn,.actions .outline-btn,.actions .light-btn{min-height:44px;border-radius:12px;padding:0 14px;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.actions .primary-btn{background:var(--green);border-color:var(--green)}
.actions .outline-btn{border-color:var(--line);background:#fff;color:var(--text)}
.actions .light-btn{background:var(--green-soft);color:var(--green)}
.admin-tabs{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px}
.admin-tabs button{border-radius:12px}
.admin-tabs button.active{background:var(--green-soft);color:var(--green)}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px}
.kpi span{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}
.kpi strong{font-size:32px;color:var(--green)}
.account-shell{display:grid;gap:18px}
.account-summary{padding:22px 24px}
.account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.account-eyebrow{margin:0 0 8px;font-size:12px;font-weight:800;color:var(--green)}
.account-id-box{min-width:180px;background:var(--surface-soft);border:1px solid #e3eadf;border-radius:14px;padding:12px 14px}
.account-id-box span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.account-id-box strong{font-size:15px;color:var(--text)}
.account-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:10px}
.account-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.8fr);gap:18px;align-items:start}
.compact-panel{padding:18px 20px}
.panel-headline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.panel-headline h2{margin:0;font-size:21px}
.compact-copy{margin:0 0 12px;font-size:14px;line-height:1.65;color:var(--muted)}
.compact-details summary{font-size:17px;font-weight:800;cursor:pointer}
.emphasis{border-color:#cfe0d4;background:#fbfcfa}
.footer{padding:28px 0 24px;border-top:1px solid #e3eadf;background:transparent}
.footer-main{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.footer-version,.footer p,.footer-status,.footer-details summary,.footer-details p{font-size:12px;color:var(--muted)}
.compare-tray{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.toast{border-radius:14px;background:var(--green);color:#fff}
@media (max-width:1100px){
  .clarity-hero{grid-template-columns:1fr}
  .instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .keyword-field{grid-column:1/-1}
  .section-head h2{font-size:34px}
  .account-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .wrap{width:calc(100% - 28px)}
  .header-inner{display:grid;grid-template-columns:1fr auto auto;gap:10px;min-height:72px;padding:10px 0}
  .brand strong{font-size:14px}
  .brand small{font-size:11px}
  .menu-toggle{display:flex;order:2;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;align-items:center;justify-content:center;gap:4px}
  .menu-toggle span{width:16px;height:2px;background:var(--green);border-radius:99px;display:block}
  .nav{display:none;grid-column:1/-1;order:4;border-top:1px solid #edf2e9;padding-top:10px;gap:8px;flex-wrap:wrap}
  .nav.is-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav button{min-height:44px;text-align:left;border-radius:12px;background:#f7f9f5}
  .auth-header{justify-self:end}
  .auth-header .text-btn{display:none}
  .clarity-hero{padding:26px 0 18px;gap:20px}
  .clarity-hero h1{font-size:40px;max-width:360px}
  .hero-copy{font-size:16px}
  .hero-actions{gap:14px;flex-wrap:wrap}
  .hero-search{width:100%;justify-content:space-between}
  .compact-section-head,.section-head{display:block}
  .compact-section-head p,.section-head p{margin-top:6px}
  .compact-section-head h2{font-size:24px}
  .program-grid,.instructor-grid,.how-grid{grid-template-columns:1fr}
  .program-card{min-height:80px}
  .section-head h2{font-size:30px}
  .filters{padding:14px}
  .filter-grid{grid-template-columns:1fr}
  .filter-extra{flex-direction:column;align-items:flex-start}
  .page-head h1{font-size:28px}
  .page-head p{font-size:14px}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-heading{display:block}
  .account-id-box{margin-top:10px;min-width:0}
  .account-shortcuts{grid-template-columns:1fr 1fr}
  .open-banner{display:block}
  .open-banner .outline-btn{margin-top:14px;width:100%;justify-content:center}
}
@media (max-width:460px){
  .clarity-hero h1{font-size:34px}
  .institution-start{padding:20px}
  .institution-start h2{font-size:28px}
  .program-card strong{font-size:18px}
  .panel,.account-summary,.compact-panel{padding:16px}
  .account-shortcuts{grid-template-columns:1fr}
}
@media(max-width:480px){.instructor-card{padding:18px}.card-top{align-items:flex-start}.avatar{width:56px;height:56px}.card-name{font-size:19px}.card-title{line-height:1.6}.expert-fee strong{font-size:18px}.expert-fee>span{font-size:12px}.expert-facts div{grid-template-columns:66px minmax(0,1fr)}}
