/* Shared shell for both audiences; existing editor and account controls keep their IDs. */
:root { --work-ink:#192b43; --work-muted:#68788d; --work-blue:#245bcb; --work-line:#dde5ef; --work-bg:#f5f7fb; }
#site-header { height:72px; padding:0 max(24px,calc((100% - 1200px)/2)); box-shadow:none; background:#fff; }
#site-header .audience-bar { background:transparent; border:0; padding:0; }.audience-hint { display:none; }
#site-header .audience-switch { background:#f0f4f9; border-radius:9px; padding:3px; gap:3px; }
#site-header .audience-switch button { min-height:36px; border-radius:7px; padding:8px 23px; font-weight:650; }
#site-header .audience-switch button[aria-pressed="true"] { color:var(--work-blue); box-shadow:0 1px 4px #13264812; }
#site-header img { height:44px; filter:none; margin-right:3px; }#site-header h1 { font-size:23px; }#site-header h1 span:last-child { color:var(--work-blue); }#site-header h1+p { display:none; }
#btn-mobile-menu { display:none !important; }#auth-header-container { display:none !important; }#btn-mobile-profile { display:flex !important; background:var(--work-blue); box-shadow:none; border-radius:8px; min-height:36px; }
.workspace-nav { flex:none; min-height:48px; display:flex; gap:7px; align-items:center; justify-content:center; padding:5px 20px; background:#fff; border-bottom:1px solid var(--work-line); overflow-x:auto; scrollbar-width:none; }
.workspace-nav::-webkit-scrollbar { display:none; }.workspace-nav button { display:flex; align-items:center; gap:8px; flex:none; font-size:12px; font-weight:650; color:var(--work-muted); padding:9px 16px; border-radius:7px; min-height:36px; }.workspace-nav button:hover { background:#eef3fc; color:var(--work-blue); }.workspace-nav button:first-child { color:var(--work-blue); background:#edf3ff; }.workspace-nav i { font-size:12px; }
#dashboard-view { background:var(--work-bg); padding:34px 28px 22px; }#dashboard-view>div:first-child { max-width:1120px; margin:auto; }
#student-dashboard { position:relative; padding-top:0; color:var(--work-ink); }.audience-eyebrow { letter-spacing:.09em; color:var(--work-blue); font-size:10px; font-weight:700; }
#student-dashboard h1 { font-size:34px; font-weight:750; line-height:1.3; letter-spacing:-.03em; }.student-topline { min-height:128px; padding-right:390px; margin:0 0 20px; align-items:flex-start; }.student-topline .audience-lead { font-size:14px; line-height:1.8; margin-top:12px; }.student-topline [data-study-resume] { position:absolute; top:96px; left:0; padding:6px 12px; min-height:32px; font-size:11px; }
.study-overview { position:absolute; right:0; top:4px; width:350px; background:white; border:1px solid var(--work-line); border-radius:14px; padding:17px 20px; }.overview-label { display:block; color:var(--work-muted); font-size:11px; margin-bottom:12px; }.study-overview .student-stats { margin:0; gap:0; }.study-overview .student-stat { border:0; border-right:1px solid var(--work-line); padding:0 12px; border-radius:0; background:none; }.study-overview .student-stat:first-child { padding-left:0; }.study-overview .student-stat:last-child { border-right:0; }.study-overview .student-stat strong { font-size:23px; }.study-overview .student-stat span { font-size:10px; }
.student-builders { grid-template-columns:1.2fr 1fr; gap:20px; margin:0 0 16px; }.student-builder { border:1px solid var(--work-line); border-radius:18px; padding:28px; gap:17px; position:relative; overflow:hidden; min-height:300px; }.student-builder .builder-label { display:flex; align-items:center; gap:8px; font-size:10px; font-weight:700; letter-spacing:.07em; color:var(--work-muted); }.student-builder h2 { font-size:25px; line-height:1.3; font-weight:750; letter-spacing:-.025em; }.student-builder p { font-size:13px; line-height:1.8; margin:0; }.student-builder .builder-meta { display:flex; flex-wrap:wrap; gap:7px; }.builder-meta span { background:#f0f4fa; padding:5px 9px; border-radius:5px; color:var(--work-muted); font-size:10px; font-weight:550; }.student-builder .audience-cta { background:var(--work-blue); border-radius:8px; padding:11px 17px; min-height:42px; font-size:12px; margin-top:auto; }
.student-builder.featured { background:#17375e; border-color:#17375e; color:white; padding-right:175px; }.student-builder.featured .builder-label { color:#bed0e8; }.student-builder.featured p { color:#cfdaea; }.student-builder.featured .builder-meta span { background:#ffffff13; color:#e1eaf7; }.student-builder.featured .audience-cta { background:white; color:#17375e; }.paper-preview { position:absolute; width:148px; height:210px; background:#fff; border-radius:7px; right:-5px; top:65px; transform:rotate(8deg); color:#4b6384; box-shadow:0 8px 30px #06142625; padding:17px 13px; }.paper-preview>div:first-child { display:flex; justify-content:space-between; border-bottom:1px solid #cfdae8; padding-bottom:9px; font-size:7px; }.paper-preview i { display:block; height:4px; width:100%; background:#e6edf5; margin:10px 0; border-radius:2px; }.paper-preview i:nth-of-type(3n) { width:65%; }.paper-choices { font-size:7px; margin:14px 0; }
.pool-caption { display:flex; align-items:center; gap:5px; font-size:11px; color:var(--work-muted); line-height:1.8; flex-wrap:wrap; }.pool-dot { width:6px; height:6px; border-radius:50%; background:#16856e; display:inline-block; margin-right:3px; }
.topic-library { border:1px solid var(--work-line); background:white; border-radius:12px; margin:23px 0; }.topic-library summary { padding:18px 20px; font-size:13px; font-weight:650; cursor:pointer; }.topic-library summary span { float:right; font-size:11px; font-weight:500; color:var(--work-muted); }.topic-library>p { padding:0 20px 16px; font-size:11px; color:var(--work-muted); line-height:1.8; }.topic-grid { padding:0 20px 20px; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.topic-grid button { text-align:left; display:flex; justify-content:space-between; align-items:center; gap:8px; padding:11px 12px; font-size:11px; border:1px solid #e5eaf1; border-radius:7px; }.topic-grid button:hover { background:#edf3ff; border-color:#a5bfea; }.topic-grid button span { color:var(--work-blue); font-size:10px; }.topic-grid button:disabled { color:#94a3b8; }
.student-ai { margin-top:20px; padding:0; border:1px solid var(--work-line); background:white; border-radius:12px; }.student-ai>summary { cursor:pointer; padding:18px 20px; font-size:13px; font-weight:650; }.student-ai>summary i { color:var(--work-blue); margin-right:7px; }.student-ai>summary span { float:right; color:var(--work-muted); font-weight:500; font-size:11px; }.student-ai>section { padding:4px 20px 20px; }.student-ai .audience-eyebrow { display:none; }.student-ai h2 { font-size:17px; }.student-ai input { border-radius:7px; font-size:12px; }.student-ai .audience-cta { background:var(--work-blue); border-radius:7px; font-size:12px; }
.student-tools { gap:12px; margin-top:18px; }.student-tool { border-radius:12px; padding:19px 20px; }.student-tool strong { font-weight:650; font-size:13px; }.student-tool strong i { color:var(--work-blue); margin-right:5px; }.student-tool p { font-size:11px; }.student-next { margin-top:20px; font-size:11px; }
.teacher-workspace { padding-top:0; }.teacher-workspace h1 { color:var(--work-ink); font-size:34px; font-weight:750; margin:0; letter-spacing:-.03em; }.teacher-workspace>p:not(.audience-eyebrow) { font-size:14px; margin-top:12px; }.teacher-topic-form { max-width:none; background:white; border:1px solid var(--work-line); border-radius:12px; padding:7px; margin:24px 0; }.teacher-topic-form input { border:0; padding:13px 15px; font-size:13px; }.teacher-topic-form .audience-cta { background:var(--work-blue); border-radius:8px; font-size:12px; }.teacher-tools { gap:14px; }.teacher-tools button { min-height:140px; padding:22px; border-radius:12px; border-color:var(--work-line); box-shadow:none; }.teacher-tools i { font-size:19px; color:var(--work-blue); }.teacher-tools strong { font-size:14px; font-weight:650; }.teacher-tools span { font-size:11px; line-height:1.7; }.teacher-tools button:hover { border-color:#9eb9e9; background:#fbfdff; }.teacher-usage { padding-top:20px; margin-top:26px; }.teacher-usage summary { font-size:12px; }
.booklet-paper { font-family:Arial,sans-serif; }.booklet-text,.booklet-stem { font-size:15px; line-height:1.65; }.booklet-options .study-button { font-family:Arial,sans-serif; font-size:14px; }.booklet-options.is-short { grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; }.booklet-options.is-short .study-button { padding:8px 2px; font-size:12px; min-height:36px; white-space:nowrap; }.booklet-question-label { font-family:Arial,sans-serif; }
.dark { --work-ink:#e4ebf5; --work-muted:#98a8bf; --work-line:#30405a; --work-bg:#101b2d; }.dark #site-header,.dark .workspace-nav,.dark .study-overview,.dark .topic-library,.dark .student-ai,.dark .teacher-topic-form { background:#19263b; border-color:var(--work-line); }.dark #site-header .audience-switch { background:#101b2d; }.dark #site-header .audience-switch button[aria-pressed="true"] { color:#b4d0ff; background:#30405a; }.dark .workspace-nav button:first-child,.dark .workspace-nav button:hover { background:#253b60; color:#c9dcff; }.dark .student-builder { background:#19263b; border-color:var(--work-line); }.dark .student-builder.featured { background:#17375e; }.dark .student-builder:not(.featured) p { color:var(--work-muted); }.dark .topic-grid button { border-color:#30405a; }.dark .topic-grid button:hover { background:#253b60; }.dark .student-stat,.dark .builder-meta span { background:transparent; }.dark .teacher-tools button:hover { background:#23334c; }
@media(min-width:1536px){ #btn-mobile-profile { display:flex !important; } }
@media(max-width:900px){ #site-header { padding:0 20px; }.student-topline { padding-right:0; min-height:0; }.study-overview { position:static; width:auto; margin-bottom:22px; }.student-builders { grid-template-columns:1fr 1fr; }.student-builder.featured { padding-right:28px; }.paper-preview { display:none; }.workspace-nav { justify-content:flex-start; }.topic-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ #site-header { height:auto; min-height:105px; padding:12px 16px 8px; flex-wrap:wrap; row-gap:10px; }#site-header>.audience-bar { order:3; width:100%; justify-content:center; }#site-header .audience-switch { width:100%; }#site-header .audience-switch button { padding:7px 15px; min-height:32px; }.workspace-nav { padding:4px 12px; min-height:44px; gap:3px; }.workspace-nav button { font-size:11px; padding:7px 11px; min-height:32px; }.workspace-nav i { display:none; }#site-header img { height:32px; }#site-header h1 { font-size:20px; }#btn-mobile-profile { padding:7px 10px; font-size:11px; }#dashboard-view { padding:22px 17px; }#student-dashboard h1,.teacher-workspace h1 { font-size:27px; }.student-topline .audience-lead { font-size:12px; margin-top:9px; }.student-topline [data-study-resume] { position:static; margin-top:5px; }.study-overview { padding:14px 16px; margin:18px 0; }.overview-label { margin-bottom:10px; }.student-builders { grid-template-columns:1fr; gap:13px; }.student-builder { min-height:0; padding:23px; gap:14px; }.student-builder.featured { padding:23px 110px 23px 23px; }.student-builder h2 { font-size:22px; padding:0; }.student-builder p { font-size:12px; }.student-builder .builder-meta { gap:4px; }.builder-meta span { font-size:9px; padding:4px 7px; }.student-builder .audience-cta { margin-top:6px; }.paper-preview { display:block; width:88px; height:160px; right:-7px; top:65px; padding:11px 8px; }.paper-preview>div:first-child { font-size:4px; }.paper-preview .paper-choices { font-size:4px; }.topic-grid { grid-template-columns:1fr; }.topic-library summary span { display:none; }.student-tools { grid-template-columns:1fr; gap:10px; }.teacher-workspace>p:not(.audience-eyebrow) { font-size:12px; }.teacher-topic-form { margin:18px 0; padding:8px; gap:7px; }.teacher-topic-form input { padding:11px; }.teacher-tools { gap:10px; }.teacher-tools button { padding:16px; min-height:154px; }.teacher-tools strong { font-size:12px; }.teacher-tools span { font-size:10px; }.booklet-text,.booklet-stem { font-size:16px; }.booklet-options.is-short { grid-template-columns:repeat(3,minmax(0,1fr)); }.student-ai>summary { font-size:12px; }.student-ai>summary span { display:none; } }
.teacher-topic-form input:focus { outline:2px solid #245bcb; outline-offset:-2px; }
.dark .topic-grid button span,.dark .teacher-tools i { color:#a8c7ff; }
.practice-radio small { display:block; font-size:12px; color:#64748b; line-height:1.7; margin-top:5px; }
.booklet-image { width:100%; height:190px; object-fit:contain; }
.nav-short { display:none; }
@media(max-width:560px){ .nav-full { display:none; }.nav-short { display:inline; }.workspace-nav { gap:1px; justify-content:space-between; }.workspace-nav button { padding:7px 8px; font-size:10px; }.workspace-nav button:first-child i { display:block; font-size:13px; }.workspace-nav button:first-child .nav-short { display:none; }.study-overview { margin-top:20px; }.student-topline { margin-bottom:20px; } }
