.eduitit-cloud { width: 38px; height: 38px; flex: 0 0 auto; }
.brand { align-items: center; }
.eduitit-wordmark { display: flex; flex-direction: column; gap: 1px; }
.eduitit-wordmark strong { color: #6d28d9; font-size: 15px; font-weight: 900; }
.eduitit-wordmark span { color: var(--text-dim); font-size: 12px; font-weight: 700; }
.brand-separator { width: 1px; height: 32px; background: var(--border); margin: 0 2px; }
.brand h1 { font-size: 20px; }
.dash-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; color: #6d28d9; font-size: 12px; }
.dash-brand .eduitit-cloud { width: 24px; height: 24px; }
.dash-brand span { color: var(--text-dim); padding-left: 7px; border-left: 1px solid var(--border); }

.shell-overlay[hidden], .shell-dialog [hidden] { display: none !important; }
.shell-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(2, 6, 23, .82); backdrop-filter: blur(8px); }
.shell-dialog { width: min(720px, 94vw); max-height: 92vh; overflow-y: auto; padding: 28px; border: 1px solid rgba(196, 181, 253, .2); border-radius: 22px; background: #ffffff; color: var(--text); box-shadow: 0 28px 80px rgba(0, 0, 0, .48); animation: shell-in 160ms ease-out; }
.shell-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.shell-brand { display: flex; align-items: center; gap: 8px; color: #6d28d9; font-size: 14px; }
.shell-brand img { width: 31px; height: 31px; }
.shell-brand span { color: var(--text-dim); padding-left: 8px; border-left: 1px solid var(--border); }
.shell-dialog h2 { margin: 10px 0 0; font-size: 27px; letter-spacing: -.04em; outline: none; }
.shell-version { margin: 5px 0 0; color: var(--text-dim); font-size: 13px; }
.shell-close { flex: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 999px; background: rgba(148, 163, 184, .08); color: #20372f; cursor: pointer; font: inherit; font-size: 26px; line-height: 1; }
.shell-close:hover { background: rgba(148, 163, 184, .18); }
.shell-guide-cta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(93, 214, 184, .38); border-radius: 16px; background: rgba(93, 214, 184, .12); color: #20372f; cursor: pointer; font: inherit; text-align: left; }
.shell-guide-cta span { display: flex; flex-direction: column; gap: 4px; }
.shell-guide-cta b { font-size: 17px; }
.shell-guide-cta small { color: #596a62; font-size: 13px; }
.shell-guide-cta > strong { flex: none; color: #167351; font-size: 15px; }
.shell-help-section { margin-top: 22px; }
.shell-help-section h3 { margin: 0 0 10px; color: #20372f; font-size: 14px; }
.shell-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shell-shortcuts > div { min-width: 0; padding: 12px 13px; border: 1px solid var(--border); border-radius: 12px; background: #f3f6f4; }
.shell-shortcuts b, .shell-shortcuts span { display: block; }
.shell-shortcuts b { color: #6d28d9; font-size: 12px; }
.shell-shortcuts span { margin-top: 4px; color: #20372f; font-size: 13px; line-height: 1.4; }
.shell-help-details { border-top: 1px solid var(--border); }
.shell-help-details:last-child { border-bottom: 1px solid var(--border); }
.shell-help-details summary { padding: 13px 2px; color: #20372f; cursor: pointer; font-size: 13px; font-weight: 800; }
.shell-help-details p { margin: -3px 0 14px; color: #596a62; font-size: 12px; line-height: 1.65; word-break: keep-all; }
.shell-app-info { padding-top: 2px; }
.shell-update { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0; padding: 13px 14px; border-radius: 12px; background: rgba(148, 163, 184, .08); color: var(--text-dim); font-size: 12px; line-height: 1.45; }
.shell-update [data-state="ready"] { color: #167351; }
.shell-update [data-state="error"] { color: #b63a36; }
.shell-info-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.shell-text-link { padding: 0; border: 0; background: transparent; color: #6d28d9; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.shell-note { margin: 12px 0 0; color: var(--text-dim); font-size: 12px; line-height: 1.55; }
.shell-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.shell-progress { display: flex; gap: 6px; margin: 24px 0 17px; }
.shell-progress span { height: 5px; flex: 1; border-radius: 99px; background: rgba(148, 163, 184, .2); }
.shell-progress span.active { background: #8b5cf6; }
.shell-kicker { margin: 29px 0 0; color: #6d28d9; font-size: 13px; font-weight: 900; }
.shell-guide-body { margin: 0; color: #20372f; font-size: 14px; line-height: 1.7; word-break: keep-all; }
.shell-visual { min-height: 230px; display: flex; align-items: stretch; justify-content: center; margin: 22px 0 18px; padding: 18px; border: 1px solid rgba(148, 163, 184, .14); border-radius: 18px; background: #f3f6f4; }
.guide-window { position: relative; width: 100%; overflow: hidden; border: 1px solid #334155; border-radius: 13px; background: #edf3ef; box-shadow: 0 16px 36px rgba(0, 0, 0, .3); }
.guide-window-title { padding: 11px 13px; border-bottom: 1px solid #334155; color: #20372f; font-size: 13px; font-weight: 900; }
.guide-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 34px 20px; }
.guide-field { min-width: 0; padding: 10px 12px; border: 2px solid #167351; border-radius: 9px; background: #ffffff; }
.guide-field span, .guide-field strong { display: block; }
.guide-field span { color: #596a62; font-size: 10px; }
.guide-field strong { overflow: hidden; margin-top: 4px; color: #20372f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.guide-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border: 1px solid #475569; border-radius: 9px; color: #20372f; font-size: 12px; font-style: normal; font-weight: 900; }
.guide-button.primary { border-color: #167351; background: #167351; color: #ffffff; }
.guide-pointer { position: absolute; right: 14px; bottom: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: #8b5cf6; color: white; font-size: 12px; font-weight: 900; }
.guide-gemini-preview { padding-bottom: 12px; }
.guide-action-line { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 14px 0; }
.guide-action-line > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: #8b5cf6; color: #fff; font-size: 12px; }
.guide-action-line .guide-button { justify-self: start; }
.guide-answer-box { min-height: 48px; padding: 10px 12px; border: 1px dashed #64748b; border-radius: 9px; color: #596a62; font-size: 12px; }
.guide-classroom-preview { display: grid; grid-template-columns: 1.7fr 1fr; min-height: 210px; }
.guide-video-pane { position: relative; display: grid; place-items: center; background: #000; color: #64748b; font-size: 14px; font-weight: 900; }
.guide-video-pane b { position: absolute; bottom: 10px; left: 10px; padding: 7px 9px; border-radius: 8px; background: #7c3aed; color: #fff; font-size: 10px; }
.guide-dashboard-pane { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #20372f; color: #20372f; }
.guide-dashboard-pane > span { color: #047857; font-size: 9px; font-weight: 900; }
.guide-dashboard-pane > strong { flex: 1; font-size: 14px; line-height: 1.35; }
.guide-stage-buttons, .guide-timer { display: grid; align-items: center; gap: 4px; }
.guide-stage-buttons { grid-template-columns: repeat(3, 1fr); }
.guide-stage-buttons i, .guide-timer i { padding: 5px 2px; border: 1px solid #596a62; border-radius: 5px; background: #fff; font-size: 7px; font-style: normal; font-weight: 900; text-align: center; }
.guide-timer { grid-template-columns: 30px minmax(0, 1fr) 30px; }
.guide-timer b { font-family: ui-monospace, monospace; font-size: 24px; text-align: center; }
button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid rgba(196, 181, 253, .48); outline-offset: 3px; }

@keyframes shell-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 620px) {
  .shell-overlay { padding: 12px; }
  .shell-dialog { width: 96vw; padding: 20px; }
  .shell-shortcuts { grid-template-columns: 1fr; }
  .guide-classroom-preview { grid-template-columns: 1.35fr 1fr; }
  .guide-url-row { grid-template-columns: 1fr; padding: 24px 14px; }
  .guide-button.primary { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
