/* Student interface foundations. All rules are scoped; staff pages retain their own styles. */
#pd-student-layout[data-student-page]{--sc-space:24px;--sc-width:1440px;--sc-input:var(--sh-soft);--faint:var(--muted);--tile:var(--sh-panel);--line:var(--sh-edge);--line-hi:var(--sh-hero-edge);--tile-hi:var(--sh-hover);--cyan-soft:var(--sh-soft);--lav:var(--cyan);--lav-soft:var(--sh-soft);--green-soft:var(--sh-soft);--amber-soft:var(--sh-soft);--red-soft:var(--sh-soft)}
#pd-student-layout[data-student-page] :is(*,*::before,*::after){box-sizing:border-box}
#pd-student-layout[data-student-page] [hidden]{display:none!important}
#pd-student-layout[data-student-page] :is(h1,h2,h3,h4,p,li,dt,dd,label){word-break:normal;overflow-wrap:normal;hyphens:manual}
#pd-student-layout[data-student-page] .sc-emergency-hyphenation{hyphens:manual;hyphenate-limit-chars:8 3 2}
#pd-student-layout[data-student-page] :is(input,textarea,select,button){font-family:'Exo 2',sans-serif;max-width:100%;min-width:0}
#pd-student-layout[data-student-page] :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
#pd-student-layout[data-student-page] :is(button,a){-webkit-tap-highlight-color:transparent}
#pd-student-layout[data-student-page] h1{font:600 clamp(26px,2.5vw,32px)/1.3 'Tektur',sans-serif;color:var(--text);background:none;letter-spacing:0;margin:0 0 14px;-webkit-text-fill-color:currentColor}
#pd-student-layout[data-student-page] h2{font:600 22px/1.4 'Exo 2',sans-serif;color:var(--text);letter-spacing:0}
#pd-student-layout[data-student-page] h3{font:600 18px/1.45 'Exo 2',sans-serif;color:var(--text);letter-spacing:0}
#pd-student-layout[data-student-page] h4{font:600 16px/1.5 'Exo 2',sans-serif;color:var(--text)}
#pd-student-layout :is(#pd-profile,#pd-student-events,#pd-lib-root,#pd-news,#pd-test,#pd-cp) h2{font:600 22px/1.4 'Exo 2',sans-serif;color:var(--text);letter-spacing:0}
#pd-student-layout :is(#pd-profile,#pd-student-events,#pd-lib-root,#pd-news,#pd-test,#pd-cp) h3{font:600 18px/1.45 'Exo 2',sans-serif;color:var(--text);letter-spacing:0}
#pd-student-layout[data-student-page] :is(.sc-shell,.pd-profile-shell,.se-shell,.pd-lib-shell,#pd-news>.pd-shell,#pd-cp>.pd-shell){width:100%;max-width:var(--sc-width);padding:36px 32px 64px;margin:auto}
#pd-student-layout[data-student-page] :is(.pd-profile-top,.se-top,.pd-lib-top,#pd-news>.pd-top,#pd-test>.pd-top,#pd-cp>.pd-top){display:none!important}
#pd-student-layout[data-student-page] :is(.pd-profile-shell>.pd-profile-kicker,.se-shell>.se-kicker,#pd-cp .pd-back-link){display:none}
#pd-student-layout[data-student-page] :is(#pd-profile,#pd-student-events,#pd-lib-root,#pd-news,#pd-test,#pd-cp){--bg:inherit;--text:inherit;--muted:inherit;--faint:inherit;--cyan:inherit;--green:inherit;--amber:inherit;--red:inherit;background:none;min-height:0;overflow:visible;color:var(--text);font:400 16px/1.6 'Exo 2',sans-serif}
#pd-student-layout[data-student-page] :is(#pd-profile,#pd-student-events,#pd-lib-root,#pd-news,#pd-test,#pd-cp)::before{display:none}
#pd-student-layout[data-student-page] :is(.pd-profile-intro,.se-heading p,.pd-lib-lead,.sc-page-head>p){font-size:15px;line-height:1.65;color:var(--muted);margin:0 0 28px;max-width:78ch}
#pd-student-layout[data-student-page] :is(.pd-profile-card,.se-event,.se-side-panel,.se-options>section,.se-proposal,.pd-lib-panel,.pd-lib-tile,.pd-lib-empty,.pd-lib-state,#pd-news .pd-tile,#pd-news .pd-card,#pd-test .pd-tile,#pd-cp .pd-tile){background:var(--sh-panel);border:1px solid var(--sh-edge);border-radius:24px;padding:24px;box-shadow:none}
#pd-student-layout[data-student-page] :is(.pd-profile-nav,.se-nav){background:none;border-radius:0;border-bottom:1px solid var(--sh-edge);padding:0 0 18px;gap:8px;margin-bottom:28px}
#pd-student-layout[data-student-page] :is(.pd-profile-nav a,.se-nav button){border-radius:12px;min-height:44px;font-size:14px;font-weight:500;color:var(--muted);padding:10px 14px}
#pd-student-layout[data-student-page] :is(.pd-profile-nav a,.se-nav button)[aria-current=page]{background:var(--sh-soft);border:1px solid var(--sh-hero-edge);color:var(--cyan)}
#pd-student-layout[data-student-page] :is(.pd-profile-btn,.se-btn,.pd-lib-btn,#pd-test .pd-btn,#pd-news .pd-btn,#pd-cp .pd-btn){min-height:44px;padding:11px 17px;border:1px solid var(--sh-edge);border-radius:12px;background:var(--sh-soft);color:var(--text);font:500 14px/1.4 'Exo 2',sans-serif;box-shadow:none;text-decoration:none;cursor:pointer}
#pd-student-layout[data-student-page] :is(.pd-profile-btn.primary,.se-btn.primary,.pd-lib-btn--primary,#pd-test .pd-btn.primary,#pd-news .pd-btn.primary,#pd-cp .pd-btn.primary){background:linear-gradient(105deg,#98dcff,#ccc3ff);color:#112641;border:1px solid transparent;font-weight:600;box-shadow:none}
#pd-student-layout[data-student-page] :is(.pd-profile-btn,.se-btn,.pd-lib-btn,#pd-test .pd-btn,#pd-news .pd-btn):not(:disabled):hover{filter:brightness(1.04);border-color:var(--sh-hero-edge);transform:none;box-shadow:none}
#pd-student-layout[data-student-page] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background:var(--sc-input);border:1px solid var(--sh-edge);border-radius:12px;color:var(--text);padding:12px 14px;min-height:46px;font-size:16px;color-scheme:inherit;box-shadow:none}
#pd-student-layout[data-student-page] :is(input,textarea)::placeholder{color:var(--faint);opacity:1}
#pd-student-layout[data-student-page] select option{background:var(--sh-panel);color:var(--text)}
#pd-student-layout[data-student-page] :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--cyan)}
#pd-student-layout[data-student-page] :is(.pd-profile-kicker,.pd-lib-kicker,#pd-news .pd-kicker,#pd-test .pd-kicker){font-size:12px;font-weight:500;line-height:1.5;text-transform:none;letter-spacing:.02em;color:var(--muted)}
#pd-student-layout[data-student-page] :is(.pd-profile-meta,.se-meta,.pd-lib-meta,.pd-lib-hint,#pd-news .pd-note,#pd-test .pd-hint){font-size:13px;line-height:1.6;color:var(--muted)}
#pd-student-layout[data-student-page] :is(.sc-back,.sc-link){display:inline-block;color:var(--cyan);text-decoration:none;font-size:14px;margin-bottom:22px;min-height:32px}
#pd-student-layout[data-student-page] .sc-back:hover{text-decoration:underline}
#pd-student-layout[data-student-page] :is(.sc-disclosure,.sc-filter-details){border:1px solid var(--sh-edge);border-radius:16px;padding:16px 20px;background:var(--sh-panel);margin-bottom:24px;min-width:0}
#pd-student-layout[data-student-page] :is(.sc-disclosure,.sc-filter-details)>summary{cursor:pointer;font-size:14px;color:var(--cyan);font-weight:500;min-height:24px}
#pd-student-layout[data-student-page] :is(.sc-disclosure,.sc-filter-details)[open]>summary{margin-bottom:20px}
#pd-student-layout[data-student-page] .sc-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#pd-student-layout[data-student-page] .sc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin:0}
#pd-student-layout[data-student-page] .sc-facts dt{font-size:13px;color:var(--muted);margin-bottom:6px}
#pd-student-layout[data-student-page] .sc-facts dd{font-size:16px;color:var(--text);margin:0;overflow-wrap:anywhere}
/* Profile and its embedded results. */
#pd-student-layout #pd-profile{--pp-text:var(--text);--pp-muted:var(--muted);--pp-line:var(--sh-edge)}
#pd-student-layout #pd-profile .pd-profile-identity{background:linear-gradient(115deg,var(--sh-hero-a),var(--sh-hero-b));border-color:var(--sh-hero-edge);padding:28px}
#pd-student-layout #pd-profile .pd-profile-person h2{font-size:22px;font-weight:600}
#pd-student-layout #pd-profile :is(.pd-profile-source,.pd-profile-notice){color:var(--green);background:var(--sh-soft)}
#pd-student-layout #pd-profile .pd-profile-status{color:var(--amber);background:var(--sh-soft)}
#pd-student-layout #pd-profile :is(.pd-profile-notice.is-error,.pd-profile-error,.pd-photo-remove){color:var(--red)}
#pd-student-layout #pd-profile :is(.pd-profile-project-period,.pd-profile-proof){color:var(--cyan)}
#pd-student-layout #pd-profile :is(.pd-photo-dialog,#pd-photo-device){background:var(--sh-panel);color:var(--text)}
#pd-student-layout #pd-profile #pd-results{--bg:inherit;--text:inherit;--muted:inherit;--faint:inherit;--cyan:inherit;--green:inherit;--amber:inherit;--red:inherit;--lav:var(--cyan);--lav-soft:var(--sh-soft);--tile:var(--sh-panel);--line:var(--sh-edge);--cyan-soft:var(--sh-soft);--green-soft:var(--sh-soft);--amber-soft:var(--sh-soft);--red-soft:var(--sh-soft)}
#pd-student-layout #pd-profile #pd-results :is(h1,h2){font:600 22px/1.4 'Exo 2',sans-serif;color:var(--text);background:none;-webkit-text-fill-color:currentColor}
#pd-student-layout #pd-profile #pd-results :is(h3,.pd-person-name){font:600 18px/1.45 'Exo 2',sans-serif;color:var(--text)}
#pd-student-layout #pd-profile #pd-results :is(.pd-tile,.pd-kpi,.pd-dim,.pd-card){background:var(--sh-panel);border:1px solid var(--sh-edge);box-shadow:none;border-radius:20px}
#pd-student-layout #pd-profile #pd-results .pd-shell{padding:0;max-width:none}
#pd-student-layout #pd-profile #pd-results .pd-lead{font-size:16px;line-height:1.65}
#pd-student-layout #pd-profile #pd-results .pd-kicker{color:var(--muted);letter-spacing:.02em;font-weight:500;text-transform:none}
#pd-student-layout #pd-profile #pd-results svg text{fill:var(--muted);font-family:'Exo 2',sans-serif}
#pd-student-layout #pd-profile #pd-results svg [stroke="rgba(255,255,255,.1)"]{stroke:var(--sh-edge)}
#pd-student-layout #pd-profile #pd-results svg [stroke-dasharray]{stroke:var(--faint)}
#pd-student-layout #pd-profile #pd-results svg [stroke="#92D5FF"]{stroke:var(--cyan)}
#pd-student-layout #pd-profile #pd-results svg [fill="#92D5FF"]{fill:var(--cyan)}
#pd-student-layout #pd-profile #pd-results svg [stroke="#ffb703"]{stroke:var(--amber)}
#pd-student-layout #pd-profile #pd-results :is(.pd-tag.good,.lbl.g){color:var(--green);background:var(--sh-soft)}
#pd-student-layout #pd-profile #pd-results :is(.pd-tag.warn,.lbl.a){color:var(--amber);background:var(--sh-soft)}
#pd-student-layout #pd-profile #pd-results :is(.pd-meter,.pd-dim .pd-meter){background:var(--sh-edge)}
#pd-student-layout #pd-profile .pd-award-proof{color:var(--muted);font-size:13px}
#pd-student-layout #pd-profile .sc-result-details{margin:24px 0 0;padding:20px 24px}
#pd-student-layout #pd-profile #pd-results .sc-result-details>.pd-tile{padding:0;margin:0;border:0;border-radius:0;background:transparent}
#pd-student-layout #pd-profile .sc-result-details summary{font-size:16px;color:var(--text);font-weight:500}
/* Calendar. */
#pd-student-layout #pd-student-events{--se-text:var(--text);--se-muted:var(--muted);--se-line:var(--sh-edge);--se-panel:var(--sh-panel);--se-soft:var(--sh-panel);--se-accent:var(--cyan)}
#pd-student-layout #pd-student-events .se-heading{align-items:flex-start;margin-bottom:26px}
#pd-student-layout #pd-student-events .se-heading p{margin:12px 0 0}
#pd-student-layout #pd-student-events .se-nav{overflow-x:auto;flex-wrap:nowrap;max-width:100%;scrollbar-width:thin}
#pd-student-layout #pd-student-events .se-nav button{flex:none;white-space:nowrap;width:auto}
#pd-student-layout #pd-student-events :is(.se-filters,.se-calendar,.se-options>section){background:var(--sh-panel)}
#pd-student-layout #pd-student-events .se-filters{border-radius:20px}
#pd-student-layout #pd-student-events .se-filter-toggle{display:flex;max-width:340px;margin-bottom:20px}
#pd-student-layout #pd-student-events .se-filters.collapsed{display:none}
#pd-student-layout #pd-student-events .se-filter-row{grid-template-columns:2fr 1fr 1fr}
#pd-student-layout #pd-student-events .se-filter-row>button{align-self:end}
#pd-student-layout #pd-student-events :is(.se-day,.se-side-event){border-color:var(--sh-edge)}
#pd-student-layout #pd-student-events .se-day.outside{color:var(--faint)}
#pd-student-layout #pd-student-events :is(.se-day.selected,.se-category[aria-pressed=true],.se-view button[aria-pressed=true]){background:var(--sh-soft);color:var(--cyan);box-shadow:inset 0 0 0 1px var(--sh-hero-edge)}
#pd-student-layout #pd-student-events .se-badge{background:var(--sh-soft)}
#pd-student-layout #pd-student-events :is(.se-badge.good,.se-notice.success){color:var(--green)}
#pd-student-layout #pd-student-events :is(.se-badge.warn,.se-favorite[aria-pressed=true],.se-meta[style*="ffd08b"]){color:var(--amber)!important;background:var(--sh-soft)}
#pd-student-layout #pd-student-events .se-notice.error{color:var(--red);border-color:var(--red)}
#pd-student-layout #pd-student-events .se-favorite{min-width:44px;min-height:44px}
/* Library: quieter covers, compact reading surfaces, optional detailed filters. */
#pd-student-layout #pd-lib-root{--lib-bg:var(--bg);--lib-panel:var(--sh-panel);--lib-text:var(--text);--lib-muted:var(--muted);--lib-line:var(--sh-edge);--lib-tile:var(--sh-panel);--lib-blue:var(--cyan);--lib-lilac:var(--cyan);--lib-green:var(--green);--lib-amber:var(--amber);--lib-red:var(--red)}
#pd-student-layout #pd-lib-root .pd-lib-head{margin-bottom:28px}
#pd-student-layout #pd-lib-root .pd-lib-title{display:block}
#pd-student-layout #pd-lib-root .pd-lib-lead{margin:12px 0 0}
#pd-student-layout #pd-lib-root .pd-lib-crumbs{letter-spacing:0;text-transform:none;font-size:13px;margin-bottom:14px}
#pd-student-layout #pd-lib-root .pd-lib-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:18px;background:transparent;padding:0;box-shadow:none;margin:0 0 20px}
#pd-student-layout #pd-lib-root .sc-filter-details{grid-column:1/-1;margin:0}
#pd-student-layout #pd-lib-root .pd-lib-field>span{font-size:13px;letter-spacing:0;text-transform:none;font-weight:500}
#pd-student-layout #pd-lib-root .pd-lib-grid{gap:22px}
#pd-student-layout #pd-lib-root .pd-lib-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#pd-student-layout #pd-lib-root .pd-lib-head-main>.pd-lib-crumbs:has(>span:last-child:nth-child(2)){display:none}
#pd-student-layout #pd-lib-root .pd-lib-crumbs:not(:has([data-lib-link])){display:none}
#pd-student-layout #pd-lib-root .pd-lib-tile{padding:0;overflow:hidden;transition:none}
#pd-student-layout #pd-lib-root .pd-lib-cover{aspect-ratio:2.6;background:var(--sh-soft)}
#pd-student-layout #pd-lib-root .pd-lib-cover-letter{font-size:32px;color:var(--cyan);text-shadow:none;font-weight:600}
#pd-student-layout #pd-lib-root .pd-lib-tile-title{font:600 18px/1.45 'Exo 2',sans-serif}
#pd-student-layout #pd-lib-root :is(.pd-lib-chip,.pd-lib-tags li,.pd-lib-banner){background:var(--sh-soft);color:var(--text);box-shadow:none;font-weight:500}
#pd-student-layout #pd-lib-root .pd-lib-bar i{background:var(--cyan)}
#pd-student-layout #pd-lib-root .pd-lib-bar{background:var(--sh-edge)}
#pd-student-layout #pd-lib-root .pd-lib-toast{background:var(--sh-panel);border:1px solid var(--sh-hero-edge);color:var(--text);box-shadow:0 8px 30px #0002}
#pd-student-layout #pd-lib-root .pd-lib-read{max-width:86ch}
/* News overview and readable articles. */
#pd-student-layout #pd-news>.pd-shell{max-width:1200px}
#pd-student-layout #pd-news .pd-lead{font-size:17px;max-width:75ch;line-height:1.65}
#pd-student-layout #pd-news .pd-hero::after{display:none}
#pd-student-layout #pd-news :is(.pd-tile,.pd-card){animation:none;opacity:1;transform:none}
#pd-student-layout #pd-news .pd-hero{background:linear-gradient(115deg,var(--sh-hero-a),var(--sh-hero-b));border-color:var(--sh-hero-edge);padding:30px}
#pd-student-layout #pd-news :is(.pd-chip,.pd-fact,.pd-role){background:var(--sh-soft);color:var(--cyan);box-shadow:none}
#pd-student-layout #pd-news .pd-fact b{color:var(--text);font:600 24px/1.3 'Exo 2',sans-serif}
#pd-student-layout #pd-news .pd-fact span{font-size:13px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:400}
#pd-student-layout #pd-news .pd-chip{white-space:normal;font-weight:500}
#pd-student-layout #pd-news .pd-tl li{border-color:var(--sh-edge)}
#pd-student-layout #pd-news .pd-text{padding:28px 32px}
#pd-student-layout #pd-news .pd-text p{max-width:84ch;line-height:1.75}
#pd-student-layout #pd-news .pd-text .pd-sub{font:600 20px/1.5 'Exo 2',sans-serif}
#pd-student-layout #pd-news .sc-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#pd-student-layout #pd-news .sc-news-card{display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid var(--sh-edge);border-radius:24px;background:var(--sh-panel);color:var(--text);text-decoration:none;min-width:0}
#pd-student-layout #pd-news .sc-news-card:hover{border-color:var(--sh-hero-edge)}
#pd-student-layout #pd-news .sc-news-featured{grid-column:1/-1;background:linear-gradient(115deg,var(--sh-hero-a),var(--sh-hero-b));border-color:var(--sh-hero-edge)}
#pd-student-layout #pd-news .sc-news-card h2{margin:0;font-size:22px}
#pd-student-layout #pd-news .sc-news-card p{font-size:15px;line-height:1.65;margin:0;max-width:85ch}
#pd-student-layout #pd-news .sc-news-meta{font-size:13px;color:var(--muted)}
#pd-student-layout #pd-news .sc-news-open{display:flex;justify-content:space-between;margin-top:auto;color:var(--cyan);font-size:14px;padding-top:8px}
/* Test timers and answers retain their original state and submission logic. */
#pd-student-layout #pd-test .pd-shell{width:100%;max-width:860px;padding:36px 32px 150px}
#pd-student-layout #pd-test .pd-bar{top:var(--sc-header-height,88px);background:var(--sh-nav);border-color:var(--sh-edge)}
#pd-student-layout #pd-test .pd-bar-in{max-width:860px;padding:14px 32px}
#pd-student-layout #pd-test .pd-foot{background:var(--sh-nav);border-top:1px solid var(--sh-edge);padding:16px 24px calc(16px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}
#pd-student-layout #pd-test .pd-foot-inner{max-width:796px}
#pd-student-layout #pd-test :is(.pd-opt,.pd-sjt,.pd-pair,.pd-list li){background:var(--sh-panel);border:1px solid var(--sh-edge);border-radius:16px}
#pd-student-layout #pd-test :is(.pd-opt.sel,.pd-sjt.best,.pd-list li.pick){border-color:var(--cyan);background:var(--sh-soft)}
#pd-student-layout #pd-test .pd-sjt.worst{border-color:var(--red);background:var(--sh-soft)}
#pd-student-layout #pd-test :is(.pd-state,.pd-how li i){background:var(--sh-soft);color:var(--muted)}
#pd-student-layout #pd-test .pd-steps li{background:var(--sh-edge)}
#pd-student-layout #pd-test .pd-steps li.now{background:var(--amber);box-shadow:none}
/* Project catalogue, covers and the team's priority list. */
body:has(#pd-student-layout[data-student-page=projects]) #rec3254164101{display:none}
#pd-student-layout #projects-showcase{max-width:1440px;padding:36px 32px 64px;margin:auto;color:var(--text);font:400 16px/1.6 'Exo 2',sans-serif;background:none}
#pd-student-layout #projects-showcase .ps-title{font:600 clamp(26px,2.5vw,32px)/1.3 'Tektur',sans-serif;color:var(--text);margin:0 0 14px}
#pd-student-layout #projects-showcase .ps-subtitle{font-size:15px;color:var(--muted);max-width:78ch}
#pd-student-layout #projects-showcase .sc-project-search{display:grid;gap:8px;max-width:580px;margin:24px 0 20px;font-size:13px;color:var(--muted)}
#pd-student-layout #projects-showcase .sc-project-search input{width:100%}
#pd-student-layout #projects-showcase :is(.ps-filters,.ps-filter-row){gap:8px;flex-wrap:wrap}
#pd-student-layout #projects-showcase :is(.ps-filter,.ps-clear-selection){border:1px solid var(--sh-edge);background:var(--sh-panel);color:var(--muted);border-radius:12px;font:500 14px/1.4 'Exo 2',sans-serif;min-height:44px;padding:10px 14px}
#pd-student-layout #projects-showcase .ps-filter.is-active{color:var(--cyan);background:var(--sh-soft);border-color:var(--sh-hero-edge)}
#pd-student-layout #projects-showcase :is(.ps-count,.ps-selection-note,.ps-hint,.ps-selection-empty,.ps-caption){color:var(--muted);font-size:14px}
#pd-student-layout #projects-showcase .ps-selection{background:linear-gradient(115deg,var(--sh-hero-a),var(--sh-hero-b));border:1px solid var(--sh-hero-edge);border-radius:24px;padding:24px;margin:24px 0}
#pd-student-layout #projects-showcase .ps-selection-title{color:var(--text);font-size:20px;font-weight:600}
#pd-student-layout #projects-showcase .ps-selection-item{background:var(--sh-panel);border:1px solid var(--sh-edge);border-radius:14px;padding:14px;gap:12px}
#pd-student-layout #projects-showcase :is(.ps-selection-project,.ps-priority){color:var(--text)}
#pd-student-layout #projects-showcase .ps-priority{background:var(--sh-soft);border:1px solid var(--sh-edge)}
#pd-student-layout #projects-showcase :is(.ps-mini-btn,.ps-btn){background:var(--sh-soft);border:1px solid var(--sh-edge);border-radius:10px;color:var(--text);min-height:44px;min-width:40px;font-size:14px}
#pd-student-layout #projects-showcase :is(.ps-submit-selection,.ps-choose-btn){background:linear-gradient(105deg,#98dcff,#ccc3ff);border:1px solid transparent;color:#112641;border-radius:12px;font:600 14px/1.4 'Exo 2',sans-serif;min-height:44px;padding:11px 17px}
#pd-student-layout #projects-showcase .ps-carousel{display:block;padding:0;position:relative}
#pd-student-layout #projects-showcase .ps-arrow{display:none}
#pd-student-layout #projects-showcase .ps-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;overflow:visible;padding:0;margin:28px 0}
#pd-student-layout #projects-showcase .ps-card{width:auto;min-width:0;max-width:none;flex:none;background:var(--sh-panel);border:1px solid var(--sh-edge);border-radius:20px;box-shadow:none;transform:none;overflow:hidden;display:flex;flex-direction:column}
#pd-student-layout #projects-showcase .ps-card img{display:block;width:100%;height:auto;aspect-ratio:948/1860;object-fit:contain;background:var(--sh-panel);border-radius:0}
#pd-student-layout #projects-showcase .ps-card-actions{display:flex;gap:10px;padding:14px;flex-wrap:wrap;background:var(--sh-panel);margin-top:auto}
#pd-student-layout #projects-showcase .ps-favorite-btn{color:var(--text);background:var(--sh-soft);border-color:var(--sh-edge);min-height:44px}
#pd-student-layout #projects-showcase .ps-add-choice{background:linear-gradient(105deg,#98dcff,#ccc3ff);border:1px solid transparent;border-radius:12px;color:#112641;font:600 14px/1.4 'Exo 2',sans-serif;min-height:44px;padding:10px 12px}
#pd-student-layout #projects-showcase .ps-add-choice.is-added{background:var(--sh-soft);color:var(--green);border-color:var(--sh-edge)}
#pd-student-layout #projects-showcase .ps-add-choice:disabled{opacity:.55;cursor:default}
#pd-student-layout #projects-showcase :is(.ps-readonly-label,.ps-clear){color:var(--muted);background:var(--sh-soft);border-color:var(--sh-edge);font-size:14px;border-radius:12px}
#pd-student-layout #projects-showcase .sc-project-title{font:600 17px/1.5 'Exo 2',sans-serif;padding:18px 18px 14px;margin:0}
#pd-student-layout #projects-showcase .ps-card img[role=button]{cursor:zoom-in}
#pd-student-layout .sc-poster-dialog{max-width:min(96vw,850px);max-height:94dvh;border:1px solid var(--sh-edge);border-radius:20px;padding:16px;background:var(--sh-panel);color:var(--text)}
#pd-student-layout .sc-poster-dialog::backdrop{background:#03060dd9;backdrop-filter:blur(6px)}
#pd-student-layout .sc-poster-dialog img{display:block;max-width:100%;max-height:80dvh;height:auto;object-fit:contain;margin:auto}
#pd-student-layout .sc-poster-close{display:block;margin:0 0 12px auto;border:1px solid var(--sh-edge);border-radius:10px;background:var(--sh-soft);color:var(--text);min-height:44px;padding:8px 16px;cursor:pointer}
/* Auth: the same brand and theme, focused forms instead of the animated map. */
#pd-student-layout .sh-guest-link{font-size:14px;color:var(--text);min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;border:1px solid var(--sh-edge);border-radius:12px;text-decoration:none}
#pd-student-layout[data-shell-guest] :is(.sh-bell,.sh-profile,#pd-logout){display:none}
#pd-student-layout .sc-auth{padding:48px 24px 64px;max-width:820px;margin:auto}
#pd-student-layout[data-student-page=login] .sc-auth{max-width:580px}
#pd-student-layout .sc-auth-panel{border:1px solid var(--sh-edge);border-radius:28px;background:var(--sh-panel);padding:32px;min-width:0}
#pd-student-layout .sc-auth .pd-sub{font-size:15px;color:var(--muted);margin:0 0 28px;line-height:1.65}
#pd-student-layout .sc-auth :is(form,.pd-g){display:grid;gap:20px}
#pd-student-layout .sc-auth .pd-g{padding-bottom:24px;border-bottom:1px solid var(--sh-edge)}
#pd-student-layout .sc-auth .pd-g-head{margin:0;font-size:18px;line-height:1.5}
#pd-student-layout .sc-auth .pd-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#pd-student-layout .sc-auth .pd-f{display:grid;gap:8px;position:relative}
#pd-student-layout .sc-auth .pd-f label{font-size:14px;font-weight:500}
#pd-student-layout .sc-auth :is(input:not([type=checkbox]),select){width:100%}
#pd-student-layout .sc-auth :is(.pd-actions,.pd-links){display:flex;flex-wrap:wrap;align-items:center;gap:16px;justify-content:space-between}
#pd-student-layout .sc-auth .pd-auth-links{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:24px}
#pd-student-layout .sc-auth :is(a,.pd-login){font-size:14px;color:var(--cyan);text-decoration:none}
#pd-student-layout .sc-auth :is(a,.pd-login):hover{text-decoration:underline}
#pd-student-layout .sc-auth button[type=submit]{border:0;border-radius:12px;padding:13px 20px;background:linear-gradient(105deg,#98dcff,#ccc3ff);color:#112641;font:600 15px/1.5 'Exo 2',sans-serif;min-height:48px;cursor:pointer}
#pd-student-layout .sc-auth button:disabled{opacity:.6;cursor:wait}
#pd-student-layout .sc-auth .pd-auth-message{font-size:14px;color:var(--red);line-height:1.65}
#pd-student-layout .sc-auth .pd-auth-message:empty{display:none}
#pd-student-layout .sc-auth .pd-auth-message.is-success{color:var(--green)}
#pd-student-layout .sc-auth .wish-consent{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.65;color:var(--muted)}
#pd-student-layout .sc-auth .wish-consent input{width:18px;height:18px;flex:none;margin:3px 0 0}
#pd-student-layout .sc-auth .pd-eye{position:absolute;right:8px;bottom:3px;width:42px;height:40px;background:transparent;border:0;color:var(--cyan);cursor:pointer;border-radius:8px;font-size:18px}
#pd-student-layout .sc-auth .pd-f--pass input{padding-right:52px}
/* Existing continuation gate and form. No new entry point is enabled. */
#pd-student-layout #pd-cp .pd-bento{gap:24px}
#pd-student-layout #pd-cp .pd-field-hint{color:var(--muted);font-size:13px}
#pd-student-layout #pd-cp .pd-section-description{font-size:15px;line-height:1.65;color:var(--muted)}
#pd-student-layout #pd-cp .pd-state{background:var(--sh-panel);border:1px solid var(--sh-edge);color:var(--muted);box-shadow:none}
#pd-student-layout #pd-cp .pd-form{gap:24px}
#pd-student-layout #pd-cp{--blue:var(--cyan);--lilac:var(--cyan)}
#pd-student-layout #pd-cp .pd-crumbs h1{font:600 clamp(26px,2.5vw,32px)/1.3 'Tektur',sans-serif;color:var(--text);text-transform:none;letter-spacing:0}
#pd-student-layout #pd-cp .pd-crumbs h1::before{display:none}
#pd-student-layout #pd-cp :is(.pd-primary-button,.pd-outline-button,.pd-outline-link){min-height:44px;border:1px solid var(--sh-edge);border-radius:12px;background:var(--sh-soft);color:var(--text);font:500 14px/1.5 'Exo 2',sans-serif}
#pd-student-layout #pd-cp .pd-primary-button{background:linear-gradient(105deg,#98dcff,#ccc3ff);color:#112641;font-weight:600}
#pd-student-layout #pd-cp .pd-section-kicker{color:var(--muted);text-transform:none;letter-spacing:0;font-weight:500}
@media(max-width:1100px){#pd-student-layout #projects-showcase .ps-track{grid-template-columns:repeat(3,minmax(0,1fr))}#pd-student-layout[data-student-page] .sc-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){#pd-student-layout #pd-lib-root .pd-lib-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){#pd-student-layout #pd-lib-root .pd-lib-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#pd-student-layout #pd-lib-root .pd-lib-grid{grid-template-columns:1fr}}
@media(max-width:540px){#pd-student-layout #projects-showcase .ps-card{display:grid;grid-template-columns:96px minmax(0,1fr);padding:16px;gap:12px 16px;align-content:start;align-items:start}#pd-student-layout #projects-showcase .sc-project-title{grid-column:2;grid-row:1;padding:0;font-size:16px}#pd-student-layout #projects-showcase .ps-card img{grid-column:1;grid-row:1/3;width:96px;max-width:100%;height:auto;border-radius:10px}#pd-student-layout #projects-showcase .ps-card-actions{grid-column:2;grid-row:2;padding:0;align-items:start;margin:0;flex-wrap:wrap}#pd-student-layout #projects-showcase .ps-favorite-btn{width:44px;flex:none}#pd-student-layout #projects-showcase .ps-add-choice{flex-basis:100%;font-size:13px;padding:9px 10px}#pd-student-layout #projects-showcase .ps-readonly-label{padding:10px;min-width:0;white-space:normal;text-align:left}#pd-student-layout #projects-showcase .ps-track{max-width:none}}
@media(max-width:780px){#pd-student-layout[data-student-page] :is(.sc-shell,.pd-profile-shell,.se-shell,.pd-lib-shell,#pd-news>.pd-shell,#pd-cp>.pd-shell),#pd-student-layout #projects-showcase{padding:28px 22px 48px}#pd-student-layout #pd-test .pd-shell{padding:28px 22px 150px}#pd-student-layout #pd-profile .pd-profile-identity{padding:24px}#pd-student-layout #projects-showcase .ps-track{grid-template-columns:repeat(2,minmax(0,1fr))}#pd-student-layout #pd-news .sc-news-grid{grid-template-columns:1fr}#pd-student-layout #pd-student-events .se-filter-row{grid-template-columns:1fr 1fr}#pd-student-layout #pd-student-events .se-filter-row>label:first-child{grid-column:1/-1}}
@media(max-width:540px){#pd-student-layout[data-student-page] :is(.sc-shell,.pd-profile-shell,.se-shell,.pd-lib-shell,#pd-news>.pd-shell,#pd-cp>.pd-shell),#pd-student-layout #projects-showcase{padding:24px 16px 40px}#pd-student-layout[data-student-page] :is(.pd-profile-card,.se-event,.se-side-panel,.pd-lib-panel,#pd-news .pd-tile,#pd-news .pd-card,#pd-test .pd-tile){padding:20px;border-radius:20px}#pd-student-layout[data-student-page] :is(.sc-filter-grid,.sc-facts){grid-template-columns:1fr}#pd-student-layout #pd-lib-root .pd-lib-filters{grid-template-columns:1fr}#pd-student-layout #pd-news .sc-news-card{padding:22px}#pd-student-layout #pd-test .pd-shell{padding:24px 16px 150px}#pd-student-layout #pd-test .pd-bar-in{padding:12px 16px}#pd-student-layout .sc-auth{padding:28px 16px 40px}#pd-student-layout .sc-auth-panel{padding:24px 20px;border-radius:22px}#pd-student-layout .sc-auth .pd-row{grid-template-columns:1fr}#pd-student-layout #projects-showcase .ps-track{grid-template-columns:1fr;max-width:420px;margin-inline:auto}#pd-student-layout #projects-showcase .ps-selection{padding:20px}#pd-student-layout #projects-showcase .ps-selection-item{flex-wrap:wrap}#pd-student-layout #projects-showcase .ps-selection-project{flex:1;min-width:120px}#pd-student-layout #projects-showcase .ps-selection-actions{margin-left:auto}#pd-student-layout #pd-lib-root .pd-lib-tile{padding:0}}
@media(max-width:900px){#pd-student-layout[data-shell-guest] .sh-top{display:flex;flex-wrap:wrap}#pd-student-layout[data-shell-guest] .sh-top-actions{display:flex;gap:12px}}
@media(prefers-reduced-motion:reduce){#pd-student-layout[data-student-page] *,#pd-student-layout[data-student-page] *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media print{#pd-student-layout[data-student-page] [data-student-header]{display:none}#pd-student-layout[data-student-page]{background:#fff;color:#172942}#pd-student-layout[data-student-page] :is(.sc-auth-panel,.pd-profile-card){break-inside:avoid}}
@media print{#pd-student-layout[data-student-page]{--text:#172942;--muted:#53657f;--faint:#53657f;--bg:#fff;--sh-panel:#fff;--sh-soft:#e5eef8;--sh-edge:#cbd6e4;--cyan:#155497;--green:#17694d;--amber:#7c5311;--red:#aa293f;color-scheme:light}#pd-student-layout #pd-profile .sc-result-details{break-inside:avoid}}
