.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.voca-onboarding-popover{--driver-popover-font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--driver-popover-bg: var(--surface);--driver-popover-text-color: var(--text);--driver-popover-title-color: var(--text-strong);max-width:380px;border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-modal)}.voca-onboarding-popover .driver-popover-title{color:var(--text-strong);font-size:18px;font-weight:720;letter-spacing:-.025em}.voca-onboarding-popover .driver-popover-description{color:var(--muted);font-size:14px;line-height:1.55}.voca-onboarding-popover .driver-popover-progress-text{color:var(--quiet);font-size:12px}.voca-onboarding-popover .driver-popover-footer-btn{min-height:36px;border-radius:var(--radius-sm);font-size:13px;font-weight:650}.voca-onboarding-popover .driver-popover-next-btn{border-color:var(--accent);background:var(--accent);color:#fff}.voca-onboarding-popover .driver-popover-next-btn:hover{border-color:var(--accent-hover);background:var(--accent-hover)}.voca-onboarding-popover .driver-popover-prev-btn{border-color:var(--border-strong);background:var(--surface);color:var(--text)}.voca-onboarding-popover .driver-popover-close-btn{color:var(--muted)}.header-help{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);cursor:pointer;font-size:13px;font-weight:650}.header-help-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.header-help-dot{fill:currentColor;stroke:none}.header-help:hover{border-color:var(--border-strong);background:var(--surface-subtle);color:var(--text-strong)}@media (max-width: 620px){.header-help{width:36px;overflow:hidden;padding:0;font-size:0}.voca-onboarding-popover{max-width:calc(100vw - 32px)}}@media (prefers-reduced-motion: reduce){.voca-onboarding-popover,.voca-onboarding-popover *{transition:none!important;animation:none!important}}:root{--canvas: #f7f6f4;--surface: #ffffff;--surface-subtle: #fbfaf9;--text: #241f23;--text-strong: #171316;--muted: #6f686d;--quiet: #918a8f;--border: #e4e0e2;--border-strong: #cbc5c8;--accent: #f42f57;--accent-hover: #dc2148;--accent-soft: #fff0f3;--focus: #4b1545;--danger: #b4233c;--danger-soft: #fff1f3;--success: #276749;--success-soft: #eef8f2;--warning: #815c16;--warning-soft: #fff8e8;--radius-sm: 6px;--radius-md: 10px;--control-height: 40px;--shadow-modal: 0 24px 64px rgba(35, 23, 31, .16);color-scheme:light;font-synthesis:none}*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}a{color:var(--accent-hover);text-decoration:none;text-underline-offset:3px}a:hover{text-decoration:underline}:focus-visible{outline:3px solid rgba(75,21,69,.2);outline-offset:2px}::selection{background:#ffd7df}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--text-strong);letter-spacing:-.025em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quiet,.muted{color:var(--muted)}.supporting-text{color:var(--muted);font-size:13px}.optional{color:var(--quiet);font-size:12px;font-weight:500;margin-left:4px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.field-label-with-info{display:flex;align-items:center;gap:6px;margin-bottom:6px}.field-label-with-info label{margin-bottom:0}.info-tooltip{position:relative;display:inline-flex}.info-tooltip-trigger{display:inline-grid;width:17px;min-height:17px;padding:0;place-items:center;border:1px solid var(--quiet);border-radius:50%;background:var(--surface);color:var(--muted);cursor:help;font-family:Georgia,serif;font-size:12px;font-weight:700;line-height:1}.info-tooltip-trigger:hover,.info-tooltip-trigger:focus-visible{border-color:var(--accent);color:var(--accent-hover)}.info-tooltip-content{position:absolute;z-index:30;bottom:calc(100% + 8px);left:50%;width:min(310px,75vw);padding:10px 12px;transform:translate(-50%);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--text-strong);color:#fff;box-shadow:0 8px 24px #23171f2e;font-size:12px;font-weight:400;line-height:1.45;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .12s ease,visibility .12s ease}.info-tooltip:hover .info-tooltip-content,.info-tooltip:focus-within .info-tooltip-content{opacity:1;visibility:visible}.info-tooltip-content strong{font-weight:700}.app-shell{min-height:100vh}.app-header{position:sticky;top:0;z-index:20;background:#fffffff5;border-bottom:1px solid var(--border)}.app-header-inner{max-width:1180px;height:64px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text-strong);font-size:16px;font-weight:720;letter-spacing:-.02em}.brand:hover{text-decoration:none}.brand img{width:30px;height:30px;border-radius:8px;object-fit:cover}.primary-nav{align-self:stretch;display:flex;align-items:stretch;gap:24px}.primary-nav a{display:flex;align-items:center;padding:0 2px;color:var(--muted);font-size:14px;font-weight:600;border-bottom:2px solid transparent}.primary-nav a:hover{color:var(--text);text-decoration:none}.primary-nav a.active{color:var(--text-strong);border-bottom-color:var(--accent)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:16px}.header-create{color:var(--accent-hover);font-size:14px;font-weight:650}.account-name{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px}.account-menu{position:relative}.account-menu-trigger{min-height:40px;padding:4px 8px 4px 5px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text);cursor:pointer}.account-menu-trigger:hover,.account-menu:focus-within .account-menu-trigger{border-color:var(--border);background:var(--surface-subtle)}.account-menu-trigger img{width:28px;height:28px;border-radius:50%;object-fit:cover}.account-menu-chevron{color:var(--quiet);font-size:16px;line-height:1}.account-menu-list{position:absolute;top:calc(100% - 1px);right:0;z-index:30;min-width:170px;display:none;padding:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:0 10px 28px #23171f1f}.account-menu:hover .account-menu-list,.account-menu:focus-within .account-menu-list{display:grid}.account-menu-list a,.account-menu-list button{width:100%;min-height:36px;display:flex;align-items:center;padding:8px 10px;border:0;border-radius:4px;background:transparent;color:var(--text);font-size:13px;font-weight:600;text-align:left;text-decoration:none}.account-menu-list a:hover,.account-menu-list button:hover{background:var(--surface-subtle);color:var(--text-strong);text-decoration:none}.app-content{width:min(1120px,calc(100% - 48px));margin:0 auto;padding:48px 0 80px}.narrow-page{width:min(620px,100%);margin:0 auto}.composition-page{width:min(780px,100%);margin:0 auto}.document-page,.editor-page{width:min(860px,100%);margin:0 auto}.breadcrumbs{display:flex;flex-wrap:wrap;gap:0;margin-bottom:20px;color:var(--quiet);font-size:13px}.breadcrumbs a{color:var(--muted)}.breadcrumb-separator{display:inline-block;margin:0 9px;color:var(--border-strong)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:32px}.page-header-copy{min-width:0}.page-header h1{margin:0;font-size:clamp(28px,3vw,36px);line-height:1.16;font-weight:720}.page-description{margin-top:7px;color:var(--muted);font-size:14px}.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:14px}.section-heading h2{margin:0;font-size:18px;font-weight:680}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.assignment-panel{margin:-8px 0 32px;padding:22px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.assignment-panel .section-heading{margin-bottom:18px}.assignment-selection-count{color:var(--muted);font-size:13px;white-space:nowrap}.assignment-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.checkbox-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.checkbox-row input{width:17px;height:17px;flex:0 0 auto;margin:2px 0 0;accent-color:var(--accent)}.assignment-select-all{font-weight:650}.student-picker{max-height:280px;overflow-y:auto}.student-picker-row{align-items:center;min-height:58px;padding:9px 4px;border-bottom:1px solid var(--border)}.student-picker-row:last-child{border-bottom:0}.student-picker-row.is-assigned{background:var(--surface-subtle);cursor:default}.student-picker-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:1px}.student-picker-copy strong{overflow:hidden;color:var(--text-strong);font-weight:620;text-overflow:ellipsis;white-space:nowrap}.student-picker-copy small,.assignment-publish-toggle small{color:var(--muted);font-size:12px}.publication-note{display:flex;align-items:flex-start;gap:8px 20px;margin-bottom:10px;padding:12px 14px;border-left:3px solid var(--warning);background:var(--warning-soft)}.publication-note strong{flex:0 0 auto;color:var(--text-strong);font-size:13px}.publication-note span{color:var(--muted);font-size:13px}.assignment-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.assignment-publish-button{min-height:32px;padding-inline:12px;font-size:12px}.assignment-status{flex:0 0 auto;color:var(--muted);font-size:12px;font-weight:650}.assignment-status-published,.assignment-status-assigned{color:var(--success)}.assignment-status-draft{color:var(--warning)}.assignment-status-overdue{color:var(--danger)}.assignment-panel-options{display:flex;align-items:end;gap:18px;padding-top:18px}.assignment-remove-button{min-height:30px;padding:0 4px;color:var(--danger);font-size:12px}button,.button{min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent);color:#fff;cursor:pointer;font-size:14px;font-weight:650;line-height:1;text-decoration:none;transition:background-color .12s ease,border-color .12s ease,color .12s ease}button:hover,.button:hover{background:var(--accent-hover);border-color:var(--accent-hover);text-decoration:none}button:active,.button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:not-allowed;transform:none}button.secondary,.button.secondary{border-color:var(--border-strong);background:var(--surface);color:var(--text)}button.secondary:hover,.button.secondary:hover{border-color:var(--text);background:var(--surface-subtle)}button.text-button,.text-button{min-height:auto;padding:2px 0;border:0;border-radius:0;background:transparent;color:var(--accent-hover);font-weight:620}button.text-button:hover,.text-button:hover{background:transparent;color:var(--accent-hover);text-decoration:underline}.danger-text{color:var(--danger)!important}label{display:block;margin-bottom:7px;color:var(--text);font-size:13px;font-weight:650}input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],textarea,select{width:100%;min-height:var(--control-height);padding:9px 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:14px;line-height:1.45;transition:border-color .12s ease,box-shadow .12s ease}textarea{min-height:88px;resize:vertical}input::placeholder,textarea::placeholder{color:#aaa3a7}input:hover,textarea:hover,select:hover{border-color:#aaa3a7}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px #4b15451c}input[readonly]{background:var(--surface-subtle);color:var(--muted)}.field+.field{margin-top:18px}.form-actions,.modal-form-actions,.editor-actions,.editor-footer{display:flex;justify-content:flex-end;gap:10px}.form-actions{margin-top:24px}.modal-form-actions{margin-top:28px}.notice,.msg,.generation-status{margin:0 0 24px;padding:12px 14px;border-left:3px solid var(--border-strong);background:var(--surface);color:var(--text);font-size:14px}.notice.error,.msg.error{border-left-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.notice.success,.msg.ok{border-left-color:var(--success);background:var(--success-soft);color:var(--success)}.msg.warn{border-left-color:var(--warning);background:var(--warning-soft);color:var(--warning)}.generation-status{display:flex;flex-direction:column;gap:2px;border-left-color:var(--accent);background:var(--accent-soft)}.generation-status span{color:var(--muted);font-size:13px}.page-loading,.center{padding:80px 0;color:var(--muted);text-align:center}.center{min-height:100vh;display:grid;place-items:center;padding:24px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.search-field{width:min(360px,100%);margin:0}.search-field input{background:var(--surface)}.data-table-wrap{overflow:visible;border-top:1px solid var(--border-strong);border-bottom:1px solid var(--border-strong);background:var(--surface)}table{width:100%;border-collapse:collapse}th,td{padding:14px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;font-size:14px}th{height:44px;color:var(--muted);background:var(--surface-subtle);font-size:12px;font-weight:650;letter-spacing:.015em}tbody tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background-color .1s ease}.data-table tbody tr:hover{background:#fdfafb}.student-row{cursor:pointer}.student-row:focus-visible{outline:3px solid rgba(75,21,69,.2);outline-offset:-3px}.student-link,.work-summary{display:flex;flex-direction:column;color:var(--text)}.student-link strong{color:var(--text-strong);font-weight:670}.student-link span,.work-summary small{margin-top:2px;color:var(--muted);font-size:12px}.student-link:hover,.work-summary:hover{text-decoration:none}.student-link:hover strong,.work-summary:hover span:first-child{color:var(--accent-hover)}.status-text{color:var(--muted);font-size:13px}.status-text.overdue{color:var(--danger)}.table-actions{width:1%;text-align:right}.danger-button{color:var(--danger)!important}.student-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.icon-action{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);cursor:pointer;text-decoration:none;font-size:21px;line-height:1}.icon-action:hover{border-color:var(--text);background:var(--surface-subtle);color:var(--text);text-decoration:none}.icon-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.danger-icon{color:var(--danger)}.danger-icon:hover{border-color:var(--danger);color:var(--danger);background:var(--danger-soft)}.table-state,.empty-state{padding:32px 16px;color:var(--muted);text-align:center}.action-menu{position:relative;display:inline-block}.action-menu summary{list-style:none;color:var(--muted);cursor:pointer;font-size:13px;font-weight:620}.action-menu summary::-webkit-details-marker{display:none}.action-menu[open] summary{color:var(--text)}.action-menu-list{position:absolute;right:0;z-index:12;width:180px;margin-top:8px;padding:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:0 10px 28px #23171f1a;text-align:left}.action-menu-list a,.action-menu-list button{width:100%;min-height:34px;display:flex;justify-content:flex-start;padding:8px 10px;border:0;background:transparent;color:var(--text);font-size:13px;font-weight:520}.action-menu-list a:hover,.action-menu-list button:hover{background:var(--surface-subtle);text-decoration:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#1a131861}.modal{width:min(480px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-modal)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--border)}.modal-header h2{margin:0;font-size:20px}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;padding:18px 24px;border-top:1px solid var(--border)}.copy-field{display:flex;gap:8px;align-items:center}.copy-field input{min-width:0}.invite-result p:first-child{margin-bottom:22px}.invite-result .supporting-text{margin:8px 0 0}.account-notice,.invite-inline{margin-bottom:28px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.account-notice{display:flex;align-items:center;justify-content:space-between;gap:20px}.account-notice div{display:flex;flex-direction:column;gap:2px}.account-notice span,.invite-inline>span{color:var(--muted);font-size:13px}.invite-inline label{margin-bottom:8px}.invite-inline>span{display:block;margin-top:7px}.workspace-profile,.workspace-section{padding-top:8px;margin-bottom:40px}.definition-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:32px;padding:18px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.definition-grid>div{display:flex;flex-direction:column;gap:5px}.definition-label{margin:0;color:var(--muted);font-size:12px;font-weight:620}.inline-edit{display:flex;gap:8px;align-items:center}.inline-edit input,.inline-edit select{width:150px}.workspace-list,.activity-list{border-top:1px solid var(--border-strong)}.workspace-row,.activity-row{min-height:64px;display:flex;align-items:center;gap:24px;padding:12px 4px;border-bottom:1px solid var(--border);color:var(--text)}.workspace-row:hover,.activity-row:hover{color:var(--text);text-decoration:none;background:#ffffff8c}.workspace-row-main,.activity-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.workspace-row-main strong,.activity-copy strong{overflow:hidden;color:var(--text-strong);font-weight:650;text-overflow:ellipsis;white-space:nowrap}.workspace-row-main small,.activity-copy small{color:var(--muted);font-size:12px}.workspace-row-meta,.activity-date,.activity-score{color:var(--muted);font-size:13px}.activity-date{width:90px;flex:0 0 auto}.activity-score{text-align:right}.composition-context{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-12px 0 24px;padding-bottom:18px;border-bottom:1px solid var(--border);color:var(--muted);font-size:13px}.composition-context strong{color:var(--text);font-weight:650}.composition-form>label{margin-bottom:10px;font-size:17px;letter-spacing:-.015em}.writing-area{min-height:360px;padding:20px;border-color:var(--border);background:var(--surface);font-size:17px;line-height:1.7;resize:none;overflow:hidden}.auto-grow-textarea{resize:none;overflow:hidden}.composition-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.field-count{color:var(--quiet);font-size:12px}.composition-form .generation-status{margin-top:24px}.student-picker{padding-top:8px}.published-state{color:var(--success);font-size:13px;font-weight:650}.scenario-document{margin-top:12px;padding:42px 50px;border:1px solid var(--border);background:var(--surface)}.scenario-document-editable{cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease}.scenario-document-editable:hover,.scenario-document-editable:focus-visible{border-color:var(--border-strong);box-shadow:0 8px 24px #23171f0f}.document-section+.document-section{margin-top:42px;padding-top:38px;border-top:1px solid var(--border)}.editable-document-section{cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease}.editable-document-section:hover,.editable-document-section:focus-visible{border-radius:var(--radius-sm);box-shadow:0 0 0 1px var(--border-strong),0 8px 24px #23171f0f}.editable-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.editable-section-heading .document-kicker{margin-bottom:14px}.section-edit-button{min-height:32px;padding:0 9px;border-color:var(--border-strong);background:var(--surface);color:var(--muted);cursor:pointer;font-size:12px;font-weight:650}.section-edit-button:hover{border-color:var(--border-strong);background:var(--surface);color:var(--text)}.document-kicker{margin:0 0 14px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.document-lead{max-width:68ch;margin:0;color:var(--text);font-family:Georgia,Times New Roman,serif;font-size:19px;line-height:1.65}.objective-preview-list{margin:0;padding:0;list-style:none}.objective-preview-list>li{padding:20px 0;border-bottom:1px solid var(--border)}.objective-preview-list>li:first-child{padding-top:0}.objective-preview-list>li:last-child{padding-bottom:0;border-bottom:0}.objective-preview-main{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}.objective-number{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:50%;color:var(--muted);font-size:12px;font-weight:700}.objective-preview-main p{margin:1px 0 0;font-size:16px;line-height:1.55}.objective-preview-details{margin:10px 0 0 42px}.objective-preview-details summary,.editor-disclosure summary,.provenance-section summary{color:var(--muted);cursor:pointer;font-size:13px;font-weight:620}.objective-preview-details>div{margin-top:12px;padding-left:14px;border-left:2px solid var(--border)}.objective-preview-details p{display:grid;grid-template-columns:140px 1fr;gap:16px;margin:8px 0;font-size:13px}.objective-preview-details strong{color:var(--muted);font-weight:620}.student-briefing{margin-top:48px!important;padding:38px 40px!important;border:1px solid var(--border)!important;background:var(--surface-subtle)}.briefing-document{max-width:68ch;font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.65}.briefing-block+.briefing-block{margin-top:28px}.briefing-block h3{margin:0 0 8px;font-family:Inter,ui-sans-serif,sans-serif;font-size:14px;font-weight:700}.briefing-block ul{margin:0;padding-left:21px}.briefing-block p{margin:5px 0}.briefing-block p strong{display:inline-block;width:92px;font-family:Inter,ui-sans-serif,sans-serif;color:var(--muted);font-size:12px}.document-footnote{margin:28px 0 0;color:var(--muted);font-size:12px}.prompt-card{position:relative;margin:0 0 28px;padding:24px 26px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);cursor:pointer;transition:box-shadow .12s ease}.prompt-card:hover,.prompt-card:focus-visible,.prompt-card.is-editing{border-color:var(--border-strong);box-shadow:0 8px 24px #23171f0f}.prompt-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.prompt-card-header .document-kicker{margin-bottom:4px}.prompt-card-description{margin:0;color:var(--muted);font-size:13px}.prompt-card-text{max-width:76ch;margin:18px 0 12px;color:var(--text);white-space:pre-wrap}.prompt-card-meta{color:var(--quiet);font-size:12px}.prompt-edit-button{opacity:1;cursor:pointer}.prompt-editor{min-height:150px;margin-top:18px;padding:14px;line-height:1.55;resize:none;overflow:hidden}.prompt-card-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.prompt-card-actions>div{display:flex;gap:10px}.icon-button{width:32px;min-height:32px;padding:0;border-color:var(--border-strong);background:var(--surface);color:var(--muted);cursor:pointer;font-size:20px}.icon-button:hover{border-color:var(--border);background:var(--surface-subtle);color:var(--text)}.provenance-section{margin-top:28px;border-top:1px solid var(--border-strong)}.provenance-section>details{padding:18px 0;border-bottom:1px solid var(--border)}.provenance-content{margin-top:14px;max-width:72ch}.provenance-content p{margin-bottom:8px;color:var(--text);white-space:pre-wrap}.provenance-content span{color:var(--muted);font-size:12px}.regenerate-action{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}.regenerate-action div{display:flex;flex-direction:column;gap:3px}.regenerate-action span{color:var(--muted);font-size:13px}.scenario-editor{margin-top:8px}.editor-actions{position:sticky;top:64px;z-index:10;align-items:center;justify-content:space-between;margin:0 -18px 28px;padding:14px 18px;border-bottom:1px solid var(--border);background:#f7f6f4f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.editor-actions-heading{display:flex;flex-direction:column;gap:2px;min-width:0}.editor-actions-heading strong{color:var(--text-strong);font-size:16px}.editor-actions-heading span{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.editor-actions-buttons{display:flex;gap:10px;flex:0 0 auto}.editor-tabs{display:flex;gap:24px;margin-bottom:4px;border-bottom:1px solid var(--border-strong)}.editor-tabs button{min-height:42px;padding:0 2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted)}.editor-tabs button:hover{border-bottom-color:var(--border-strong);background:transparent;color:var(--text)}.editor-tabs button.is-active{border-bottom-color:var(--accent);color:var(--text-strong)}.briefing-language-tabs{gap:16px;margin-bottom:12px}.briefing-language-tabs button{min-height:34px}.editor-section{padding:32px 0;border-top:1px solid var(--border-strong)}.editor-section:first-of-type{padding-top:0;border-top:0}.title-input{min-height:48px!important;font-size:20px!important;font-weight:650}.objective-editor-list{margin:0;padding:0;list-style:none}.objective-editor-list>li{padding:22px 0;border-top:1px solid var(--border)}.objective-editor-list>li:last-child{border-bottom:1px solid var(--border)}.objective-editor-main{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}.objective-editor-main textarea{min-height:68px;font-size:15px}.objective-item-actions{display:flex;gap:14px;margin:7px 0 0 42px}.objective-item-actions button{color:var(--muted);font-size:12px;font-weight:560}.editor-disclosure{margin:14px 0 0 42px}.disclosure-content{margin-top:16px;padding:20px;border-left:2px solid var(--border);background:var(--surface-subtle)}.advanced-grid{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);gap:18px}.advanced-grid .field+.field{margin-top:0}.briefing-editor{max-width:740px}.document-field{padding:18px 0;border-top:1px solid var(--border)}.document-field label{font-size:15px}.document-field textarea{min-height:112px;padding:14px;border-color:transparent;background:var(--surface);font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.6}.document-field textarea:hover{border-color:var(--border)}.document-field textarea:focus{border-color:var(--focus)}.briefing-language-disclosure{padding-top:18px;border-top:1px solid var(--border)}.editor-footer{padding-top:28px;border-top:1px solid var(--border-strong)}.card{margin-bottom:20px;padding:20px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h2{margin:0;font-size:28px}.assignment-scenario-link{color:var(--text-strong)}.assignment-scenario-link:hover{color:var(--accent-hover);text-decoration:none}.assignment-section{margin-top:28px}.assignment-section h3{margin-bottom:12px;font-size:20px}.transcript-content{display:flex;flex-direction:column;gap:18px}.transcript-player{padding-bottom:2px}.transcript-list{display:flex;flex-direction:column;gap:10px}.transcript-turn{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start;padding-top:10px;border-top:1px solid var(--border)}.transcript-turn .badge{margin-top:2px}.assignment-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px}.assignment-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:13px}.assignment-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.row{display:flex;gap:16px}.row>*{flex:1}.badge{display:inline-block;color:var(--muted);font-size:12px;font-weight:650}.badge.deleted{color:var(--danger)}.pagination{display:flex;align-items:center;gap:12px;margin-top:18px}.btn-full{width:100%;margin-top:20px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(380px,100%);padding:30px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.auth-card h1{margin-bottom:5px;font-size:24px}.auth-card .sub{margin:0 0 22px;color:var(--muted);font-size:13px}@media (max-width: 820px){.app-header-inner{padding:0 18px;gap:20px}.app-content{width:min(100% - 32px,1120px);padding-top:32px}.account-name{display:none}.account-menu .account-name{display:inline;max-width:160px}.data-table-wrap{overflow-x:auto}.data-table{min-width:760px}.scenario-document{padding:32px 28px}.student-briefing{padding:28px!important}.editor-actions{margin:0 0 28px}.assignment-panel-options{align-items:stretch;flex-direction:column}.assignment-due-field{width:100%}.assignment-panel-options button{align-self:flex-start}}@media (max-width: 620px){.brand span,.primary-nav{display:none}.header-actions{gap:12px}.account-menu .account-name{max-width:120px}.page-header{flex-direction:column;align-items:stretch;gap:18px}.page-actions{justify-content:flex-start}.page-header h1{font-size:28px}.definition-grid,.advanced-grid{grid-template-columns:1fr}.workspace-row,.activity-row{align-items:flex-start;flex-wrap:wrap;gap:8px 16px}.activity-date{width:100%}.activity-score{margin-left:auto}.composition-context,.regenerate-action,.account-notice{align-items:flex-start;flex-direction:column}.writing-area{min-height:300px;padding:16px}.scenario-document{margin-inline:-16px;padding:28px 20px;border-inline:0}.student-briefing{margin-inline:-4px;padding:24px 20px!important}.objective-preview-details p{grid-template-columns:1fr;gap:3px}.copy-field{align-items:stretch;flex-direction:column}.assignment-panel{margin-inline:-16px;padding:20px 16px;border-inline:0;border-radius:0}.assignment-panel-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.assignment-panel .section-heading{align-items:flex-start;flex-direction:column;gap:6px}.assignment-selection-count{white-space:normal}.publication-note{flex-direction:column;gap:2px}.student-picker-row{padding-inline:0}.assignment-row-actions{align-items:flex-end;flex-direction:column;gap:6px}.assignment-status{font-size:11px}.row{flex-direction:column}.editor-actions{align-items:stretch;flex-direction:column;gap:12px}.editor-actions-buttons{justify-content:flex-end}.prompt-card{padding:20px}.prompt-card-actions{align-items:stretch;flex-direction:column}.prompt-card-actions>div{justify-content:flex-end}.page-head{align-items:flex-start;flex-direction:column}.assignment-summary{align-items:stretch;flex-direction:column}.assignment-actions{justify-content:flex-end}.transcript-turn{grid-template-columns:1fr;gap:4px}}
