/* Corporate portal phase 1: the catalog and dashboard opt in explicitly.
   No lesson page, learning text or progress key is changed by this stylesheet. */
@font-face{font-family:Fraunces;src:url(fonts/fraunces-italic.ttf) format('truetype');font-weight:100 900;font-style:italic;font-display:swap}
.course-portal [hidden]{display:none!important}.course-portal .section,.course-catalog .catalog-collection{scroll-margin-top:0}
.course-portal .brand-lockup,.course-portal .session-card{color:var(--site-text);text-decoration:none}.course-portal .stat span{color:var(--site-muted)}.course-catalog .catalog-bridge h2{color:var(--site-text)}
.course-locale-notice{margin:24px 0 0;padding:14px 18px;border:1px solid var(--site-line);border-left:3px solid var(--site-brand);border-radius:10px;background:var(--site-surface);font-size:13px;line-height:1.65;color:var(--site-muted)}.course-locale-notice[hidden]{display:none!important}.course-portal .course-locale-notice{margin:0 0 24px}.course-portal .language-buttons button{min-width:35px}.course-portal .top-actions .language-buttons{flex:none}
@media(max-width:620px){.course-portal .top-actions .help-link{display:none}.course-portal .language-buttons button{min-width:30px;padding:0 5px;font-size:10px}.course-portal .topbar{gap:8px}.course-portal .topbar>.crumb{overflow-wrap:anywhere}.course-catalog .catalog-settings{gap:6px}.course-catalog .language-buttons button{min-width:30px;padding:0 5px}}
.course-language{font:600 12px Inter,Arial,sans-serif;color:var(--site-muted);border:1px solid var(--site-line);border-radius:8px;padding:8px 11px}
.course-catalog [data-theme-toggle],.course-portal [data-theme-toggle]{font-size:0!important;border:1px solid var(--site-line);color:var(--site-text);border-radius:12px;background:var(--site-surface);width:42px;height:42px;min-width:42px}
.course-catalog [data-theme-toggle]:before,.course-portal [data-theme-toggle]:before{content:'';width:19px;height:19px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5'/%3E%3C/svg%3E")}
.course-catalog [data-theme-toggle],.course-portal [data-theme-toggle]{display:inline-grid;place-items:center}
.course-catalog .catalog-hero .site-title{max-width:14ch}.course-catalog .catalog-hero-inner{gap:68px}.course-demo{color:var(--site-text);background:var(--site-surface);border:1px solid var(--site-line);border-radius:24px;overflow:hidden;box-shadow:var(--site-shadow)}.course-demo-toolbar{display:flex;gap:10px;align-items:center;padding:20px;border-bottom:1px solid var(--site-line);font-size:12px;font-weight:600;color:var(--site-muted)}.course-demo-mark{width:17px;height:17px;border-radius:5px;background:linear-gradient(125deg,#4513bd,#8e0aa6,#e5008e);flex:none}.course-demo-tag{margin-left:auto;font-size:10px;letter-spacing:.03em}.course-demo-body{padding:30px}.course-demo-intro svg{width:37px;height:37px;fill:none;stroke:var(--site-brand);stroke-width:1.5;margin-bottom:16px}.course-demo-intro h2{margin:0;font:750 27px/1.12 Inter,Arial,sans-serif;letter-spacing:-.03em}.course-demo-intro p{font-size:14px;line-height:1.6;color:var(--site-muted);margin:12px 0 24px}.course-demo-body label{display:block;font-size:12px;font-weight:600;margin-bottom:9px;color:var(--site-muted)}.course-demo-body input{width:100%;font:400 16px Inter,Arial,sans-serif;color:var(--site-text);background:var(--site-bg);border:1px solid var(--site-line);border-radius:10px;padding:15px 16px;min-width:0}.course-demo-state{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 24px;font-size:13px;color:var(--site-muted)}.course-demo-state strong{font-size:12px;padding:7px 10px;background:var(--site-soft);border:1px solid var(--site-line);border-radius:6px;color:var(--site-text)}.course-demo.is-done .course-demo-state strong{border-color:var(--site-brand);color:var(--site-brand)}.course-demo-feedback{min-height:35px;margin:16px 0 0;font-size:12px;line-height:1.5;color:var(--site-muted)}.course-demo-foot{display:flex;justify-content:center;gap:20px;border-top:1px solid var(--site-line);background:var(--site-bg);padding:18px 20px;font-size:12px;color:var(--site-muted)}.course-preview{width:100%;height:auto;display:block;border:1px solid var(--site-line);border-radius:10px}.course-coming{margin-top:50px}.course-coming-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.course-coming-grid article{border:1px solid var(--site-line);border-radius:20px;padding:28px;background:var(--site-surface)}.course-coming-grid h3{font-size:20px;font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}.course-coming-grid p{font-size:14px;line-height:1.7;color:var(--site-muted);margin:0 0 20px}.course-coming-grid article>span{font-size:11px;color:var(--site-muted);border:1px solid var(--site-line);border-radius:6px;padding:5px 8px}.course-company-actions{display:flex;flex-direction:column;align-items:start;gap:14px;flex:none}.course-company-actions .site-text-link{color:var(--site-link)}
/* Dashboard: reuse the new brand without changing its functional HTML IDs. */
:root{--accent-brand:262 65% 49%}html.dark{--accent-brand:262 73% 68%}
.course-portal{--font-display:Inter,Arial,sans-serif;--shadow-lg:0 12px 32px -22px #0006;background:var(--site-bg);color:var(--site-text)}
.course-portal .course-sidebar{width:248px;border-radius:18px;overflow-y:auto;border-color:var(--site-line);background:var(--site-surface);padding:22px 14px}.course-portal .brand-lockup strong{letter-spacing:.06em;font-size:13px}.course-portal .course-name span{font-family:Inter,Arial,sans-serif;font-size:23px;font-weight:750;letter-spacing:-.03em;line-height:1.15}.course-portal .course-name small{color:var(--site-brand)}.course-portal .nav-link{min-height:44px;border-radius:10px;font-size:12px;gap:10px}.course-portal .nav-link[aria-current=page]{background:var(--site-soft)}.course-portal .nav-link[aria-current=page]:before{box-shadow:none;background:var(--site-brand)}.course-portal .nav-mark{color:var(--site-brand)}.course-portal .sidebar-progress{margin-top:25px}.course-sidebar-bottom{border-top:1px solid var(--site-line);padding:18px 10px 0;margin-top:20px;display:grid;gap:8px}.course-sidebar-bottom a{color:var(--site-muted);font-size:12px;min-height:28px;display:flex;align-items:center;text-decoration:none}.course-sidebar-bottom a:hover{color:var(--site-link)}
.course-portal .app-main{margin-left:280px}.course-portal .topbar{padding:16px 30px;gap:15px;min-height:74px;border-color:var(--site-line);background:color-mix(in srgb,var(--site-bg) 94%,transparent)}.course-portal .crumb{font-size:12px;min-width:0}.course-portal .top-actions{gap:10px;flex:none}.course-portal .help-link{border-radius:10px;min-height:42px}.course-menu-button{display:none}
.course-portal .main-content{max-width:1450px;padding:36px 30px 64px}.course-portal .hero{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:35px;align-items:center;padding:35px;border:1px solid var(--site-line);border-radius:24px;background:var(--hero-bg)}.course-portal .hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 100% 0,var(--hero-light),transparent 70%),radial-gradient(ellipse at 55% 100%,var(--hero-pink),transparent 70%)}.course-portal .hero h1{font-family:Inter,Arial,sans-serif;font-size:clamp(38px,3.8vw,55px);font-weight:800;letter-spacing:-.04em;line-height:1.05;color:var(--hero-text);max-width:16ch;margin:17px 0 24px}.course-portal .hero h1 em{font-family:Fraunces,Georgia,serif;font-weight:500;font-style:italic;color:var(--site-brand)}.course-portal .hero .lede{font-size:16px;line-height:1.7;color:var(--hero-muted)}.course-portal .eyebrow{color:var(--site-brand);letter-spacing:.1em;font-weight:700}.course-portal .online-note{background:var(--site-surface);color:var(--site-muted);border-color:var(--site-line);border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.65}.course-portal .online-note span{color:var(--site-brand)}.course-portal .hero-card{background:var(--site-surface);border:1px solid var(--site-line);border-radius:20px;padding:25px;box-shadow:var(--site-shadow)}.course-portal .hero-card h2{font:750 25px/1.15 Inter,Arial,sans-serif;letter-spacing:-.03em;margin:17px 0}.course-portal .hero-card p{font-size:14px;line-height:1.7;margin-bottom:24px}.course-portal .hero-card-label{color:var(--site-brand);font-size:11px;letter-spacing:.1em}.course-portal .primary-btn,.course-portal .secondary-btn{font:600 13px/1.5 Inter,Arial,sans-serif;border-radius:10px;min-height:46px;box-shadow:none;letter-spacing:0}.course-portal .primary-btn{background:#5b2fc0;color:#fff}.course-portal .secondary-btn{background:var(--site-surface);color:var(--site-link);border-color:var(--site-line)}.course-portal .primary-btn:hover{background:#4f27ad;transform:translateY(-2px)}.course-portal .section{scroll-margin-top:100px}.course-portal .section-heading h2{font-family:Inter,Arial,sans-serif;font-weight:750;letter-spacing:-.035em;font-size:30px;line-height:1.15}.course-portal .section-heading p{font-size:14px;line-height:1.7;color:var(--site-muted)}.course-portal .stat,.course-portal .session-card,.course-portal .progress-card,.course-portal .share-panel{background:var(--site-surface);border-color:var(--site-line);border-radius:18px}.course-portal .stat strong{font-family:Inter,Arial,sans-serif;font-weight:650;letter-spacing:-.03em}.course-portal .session-card{padding:24px;box-shadow:none;transition:transform .18s,border-color .18s}.course-portal .session-card:hover{transform:translateY(-3px);border-color:var(--site-brand)}.course-portal .session-card[data-next=true]{border-color:var(--site-brand);box-shadow:none}.course-portal .session-card h3{font-family:Inter,Arial,sans-serif;font-weight:700;font-size:19px;line-height:1.2;letter-spacing:-.025em}.course-portal .session-number{font-family:Inter,Arial,sans-serif;font-weight:750;color:var(--site-brand);border-radius:10px}.course-portal .session-status{border-radius:6px}.course-portal .resource-card{display:flex;flex-direction:row;align-items:start;gap:14px;padding:22px;border-radius:18px;min-height:0;background:var(--site-surface);border-color:var(--site-line);box-shadow:none}.course-portal .resource-card strong{font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.25;letter-spacing:-.02em}.course-portal .resource-icon{border-radius:10px;color:var(--site-brand);background:var(--site-soft);border:1px solid var(--site-line);width:40px;height:40px;min-width:40px}.course-portal .resource-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.course-portal .teacher-callout{border-radius:18px;background:var(--site-surface);border-color:var(--site-line);padding:24px}.course-portal footer{text-align:left;color:var(--site-muted)}
@media(max-width:1200px){.course-portal .hero{grid-template-columns:1fr}.course-portal .hero h1{max-width:20ch}.course-portal .hero-card{max-width:100%}.course-portal .hero-card h2{max-width:30ch}.course-portal .hero-card .primary-btn{align-self:start}.course-portal .hero .lede,.course-portal .online-note{max-width:70ch}}
@media(max-width:980px){.course-portal .course-sidebar{display:none;position:fixed;inset:85px 14px auto;margin:0;width:auto;max-height:calc(100dvh - 100px);padding:18px;z-index:30;box-shadow:var(--site-shadow)}.course-portal .course-sidebar.is-open{display:flex}.course-portal .brand-lockup,.course-portal .course-name{display:none}.course-portal .side-nav{display:grid;overflow:visible;padding:0}.course-portal .sidebar-progress{display:block;margin-top:16px}.course-portal .app-main{margin-left:0}.course-menu-button{display:inline-flex}.course-portal .topbar{padding:14px 20px}.course-portal .topbar>.crumb{flex:1}.course-portal .main-content{padding:28px 24px 52px}.course-portal .hero{grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:28px;padding:30px}.course-portal .hero h1{font-size:44px}.course-portal .side-percent strong{font-size:24px}}
@media(max-width:760px){.course-catalog .catalog-hero-inner{gap:38px}.course-portal .hero{grid-template-columns:1fr}.course-portal .resource-grid{grid-template-columns:1fr 1fr}.course-portal .top-actions #saveHint{display:none}.course-portal .hero h1{font-size:clamp(38px,8vw,48px)}.course-portal .hero-card{padding:25px}.course-portal .stats{grid-template-columns:1fr}.course-portal .section-heading h2{font-size:28px}}
@media(max-width:620px){.course-catalog .catalog-hero-inner{padding-top:42px}.course-catalog .catalog-hero .site-title{font-size:43px}.course-demo-toolbar{padding:16px;font-size:11px}.course-demo-tag{font-size:9px}.course-demo-body{padding:24px}.course-demo-intro h2{font-size:25px}.course-demo-feedback{min-height:35px}.course-coming-grid{grid-template-columns:1fr}.course-coming-grid article{padding:25px}.course-company-actions{margin-top:24px}.course-company-actions .site-button{margin-top:0}.course-catalog .catalog-settings{gap:8px}.course-language{font-size:11px;padding:8px}.course-portal .topbar{padding:12px 14px;gap:10px}.course-portal .topbar .crumb{font-size:11px;line-height:1.4}.course-portal .top-actions{gap:6px}.course-portal .help-link{font-size:11px;padding:0 10px;min-height:40px}.course-portal .help-link:before{display:none}.course-portal .icon-btn,.course-menu-button{width:38px;min-width:38px;height:40px}.course-portal .main-content{padding:22px 16px 42px}.course-portal .hero{padding:26px 22px;border-radius:20px;gap:26px}.course-portal .hero h1{font-size:41px}.course-portal .hero .lede{font-size:15px}.course-portal .hero-card{padding:22px}.course-portal .hero-card h2{font-size:24px}.course-portal .hero-card .primary-btn{width:100%}.course-portal .resource-grid{grid-template-columns:1fr}.course-portal .session-card{padding:20px}.course-portal .resource-card{padding:20px}.course-portal .session-card h3{font-size:18px}.course-portal .resource-card strong{font-size:17px}.course-portal .course-sidebar{inset:81px 12px auto}.course-portal .teacher-callout{padding:22px 18px}.course-portal .progress-card{padding:22px}.course-portal footer{font-size:11px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.course-demo-figure{transform:none}.course-portal .session-card:hover,.course-portal .primary-btn:hover{transform:none}}
@media print{.course-portal .course-sidebar,.course-portal .topbar,.course-catalog .catalog-header,.course-demo{display:none!important}.course-portal .app-main{margin:0}.course-portal .hero{background:none;box-shadow:none}}

/* Millores d'entrada: ponència relacionada, trams del recorregut i botó d'inici en mòbil */
.course-portal .talk-strip{display:flex;align-items:flex-start;gap:.75rem;margin:1rem 0 0;padding:.85rem 1rem;border:1px solid hsl(var(--border));border-radius:.6rem;background:hsl(var(--card))}
.course-portal .talk-strip svg{flex:0 0 22px;width:22px;height:22px;margin-top:.1rem;fill:none;stroke:hsl(var(--accent-brand));stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.course-portal .talk-strip p{margin:0;font-size:.86rem;line-height:1.55;color:hsl(var(--muted-foreground))}
.course-portal .talk-strip strong{color:hsl(var(--foreground))}
.course-portal .talk-strip a{color:hsl(var(--primary));font-weight:700;white-space:nowrap}
.course-portal .track+.track{margin-top:1.5rem}
.course-portal .track-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem;margin:0 0 .65rem;padding-left:.7rem;border-left:3px solid hsl(var(--accent-brand))}
.course-portal .track-head strong{font-size:.95rem}
.course-portal .track-head span{font-size:.8rem;color:hsl(var(--muted-foreground))}
.course-portal .track-advanced .track-head{border-left-color:hsl(var(--primary))}
.course-portal .track-open .track-head{border-left-color:hsl(var(--border))}
.course-portal .session-status:empty{display:none}
.course-portal .teacher-callout .resource-icon svg{width:20px;height:20px}
@media(max-width:760px){.course-portal .hero .online-note{display:none}.course-portal .hero{gap:18px}.course-portal .hero .lede{margin-bottom:0}.course-portal .talk-strip a{white-space:normal}}
.course-portal footer .contact-line{margin:0 0 .8rem;font-size:.86rem;color:hsl(var(--foreground))}.course-portal footer .contact-line a{color:hsl(var(--primary));font-weight:700}
@media(min-width:1180px){.course-portal .track .session-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Les set sessions dins del menú, com a la resta de pàgines del curs. */
.course-portal .side-sessions{display:grid;gap:1px;margin:0 0 .35rem .95rem;padding-left:.55rem;border-left:1px solid var(--site-line)}
.course-portal .side-session{display:grid;grid-template-columns:18px minmax(0,1fr) 14px;align-items:center;gap:8px;min-height:34px;padding:.3rem .5rem;border-radius:8px;color:var(--site-muted);font-size:12px;font-weight:550;text-decoration:none}
.course-portal .side-session:hover{background:var(--site-soft);color:var(--site-text)}
.course-portal .side-session-num{font-size:11px;font-weight:700;color:var(--site-brand);text-align:center}
.course-portal .side-session-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.course-portal .side-session-state{width:10px;height:10px;border-radius:50%;border:1.5px solid var(--site-line);justify-self:end}
.course-portal .side-session.is-started .side-session-state{border-color:var(--site-brand);background:linear-gradient(90deg,var(--site-brand) 50%,transparent 50%)}
.course-portal .side-session.is-done .side-session-state{border-color:var(--site-brand);background:var(--site-brand)}
/* Botons com els del web principal. */
:is(.course-portal,.course-catalog) :is(.primary-btn,.secondary-btn,.site-button,.course-company-actions a){border-radius:999px!important;font-weight:700}

/* Peu comú (el mateix que a la resta del curs). */
.ct-footer{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin:56px 0 0;padding:26px 30px 34px;border-top:1px solid var(--site-line,#dfe4ec);font:500 13px/1.5 Inter,Arial,sans-serif;color:var(--site-muted,#59616f);text-align:left;font-style:normal}
.ct-footer .ct-footer-brand{display:inline-flex;align-items:center;gap:10px;color:var(--site-text,#15161a)!important;text-decoration:none!important;font-weight:700;letter-spacing:.08em;font-size:13px;border:0!important}
.ct-footer p{margin:0;flex:1 1 260px;max-width:none}
.ct-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.ct-footer nav a{color:var(--site-muted,#59616f)!important;text-decoration:none!important;font-weight:600;border:0!important}
.ct-footer nav a:hover{color:var(--site-text,#15161a)!important}
@media(max-width:980px){.ct-footer{padding:22px 16px 30px}}
@media print{.ct-footer{display:none!important}}

/* === Marca comuna (assets/norkarym-brand.css) ===
   El botó principal, els rètols, la cursiva i el fil del tauler del curs, com a la web principal. */
.course-portal .primary-btn{background:var(--nk-cta-bg);border-color:var(--nk-cta-bg);color:var(--nk-cta-fg)}
.course-portal .primary-btn:hover{background:var(--nk-cta-bg);filter:brightness(1.08)}
.course-portal :is(.eyebrow,.hero-card-label){font-family:var(--nk-mono);font-weight:600}
.course-portal .hero h1 em{color:var(--nk-ink-flat)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){.course-portal .hero h1 em{padding-inline-end:.12em;margin-inline-end:-.12em;background:var(--nk-ink);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}}
.course-portal .topbar{position:sticky}
.course-portal .topbar::after{content:"";position:absolute;inset:auto 0 -3px;height:3px;background:linear-gradient(90deg,var(--nk-rail));pointer-events:none}
@media(forced-colors:active){.course-portal .topbar::after{background:CanvasText}.course-portal .hero h1 em{background:none;-webkit-text-fill-color:CanvasText}}
/* «Parlem-ne» a la capçalera, com a la web principal */
.catalog-talk{min-height:44px;padding-block:0;font-size:13px;white-space:nowrap}
@media(max-width:760px){.catalog-talk{display:none}}
