/* Teacher zone pages, built on ../zone/zone.css tokens. */
.t-page{padding-bottom:8px}
.t-subtitle{font-size:15px;line-height:1.95;color:var(--z-text-2);max-width:520px}

/* AI能做什么: hero with a request typed out and its real result */
.t-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center;min-height:440px;padding:24px 0 20px}
.t-hero h1{font-size:clamp(32px,3.4vw,50px);letter-spacing:-1.2px;line-height:1.25;margin-bottom:16px}
.t-hero-actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-top:26px}
.t-hero-art{position:relative;display:grid;justify-items:end;gap:0;min-width:0}
.t-ask-slip{position:relative;z-index:2;justify-self:start;width:min(84%,420px);margin-bottom:-26px;padding:14px 18px 16px;border-radius:16px;background:var(--z-surface);border:1px solid var(--z-line);box-shadow:var(--z-shadow-lift)}
.t-slip-label{font-size:12px;font-weight:600;color:var(--z-accent)}
.t-ask-slip p{margin-top:4px;font-size:15px;line-height:1.85;min-height:3.7em}
.t-caret{display:inline-block;width:2px;height:1.05em;background:var(--z-accent);vertical-align:-2px;margin-left:2px;animation:t-blink 1s steps(1) infinite}
@keyframes t-blink{50%{opacity:0}}
.t-result-window{margin:0;width:min(92%,520px);border-radius:18px;overflow:hidden;background:var(--z-surface);border:1px solid var(--z-line);box-shadow:var(--z-shadow-lift);opacity:.25;transform:translateY(8px);transition:opacity .7s var(--z-ease),transform .7s var(--z-ease)}
.t-result-window.is-shown{opacity:1;transform:none}
.t-window-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--z-line)}
.t-window-bar i{width:8px;height:8px;border-radius:50%;background:var(--z-surface-3)}
.t-window-bar span{margin-left:auto;font-size:12px;color:var(--z-text-3)}
.t-result-window img{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;object-position:top}
.t-result-window figcaption{padding:9px 14px;font-size:12px;color:var(--z-text-3);border-top:1px solid var(--z-line)}

.t-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 28px}
.t-area{display:grid;gap:2px;padding:14px 0;border-top:1px solid var(--z-line);color:inherit}
.t-area strong{font-size:15px}
.t-area strong span{font-weight:400;color:var(--z-text-3);transition:color .2s}
.t-area>span{font-size:13px;color:var(--z-text-2);line-height:1.8}
.t-area:hover strong span{color:var(--z-accent)}

#t-scene-panel.is-switching{animation:z-enter .4s var(--z-ease)}
.t-case{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:36px;align-items:start}
.t-case.is-live{grid-template-columns:1fr}
.t-case.is-live .t-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.t-case-result h3{font-size:20px;margin-bottom:6px}
.t-case-intro{font-size:14px;color:var(--z-text-2);line-height:1.9;margin-bottom:16px}
.t-draft{border-radius:18px;background:var(--z-surface);border:1px solid var(--z-line);box-shadow:var(--z-shadow)}
.t-draft-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 18px;border-bottom:1px solid var(--z-line);font-size:12px;color:var(--z-text-3)}
.t-draft pre{margin:0;padding:20px 24px 24px;white-space:pre-wrap;font:14px/2 "Microsoft YaHei","PingFang SC",system-ui,sans-serif;max-height:460px;overflow:auto}
.t-steps{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.t-steps>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px}
.t-steps h4{font-size:15px;margin:3px 0 8px}
.t-steps p{font-size:13.5px;color:var(--z-text-2);line-height:1.9}
.t-ask{padding:12px 14px;border-radius:12px;background:var(--z-surface-2);color:var(--z-text)!important}
.t-step-actions{display:flex;align-items:center;gap:12px;margin-top:4px}
.t-step-actions small{font-size:12px;color:var(--z-text-3)}
.t-checks{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.t-checks li{position:relative;padding-left:22px;font-size:13.5px;color:var(--z-text-2);line-height:1.8}
.t-checks li::before{content:"";position:absolute;left:3px;top:.55em;width:10px;height:5px;border-left:1.7px solid var(--z-good);border-bottom:1.7px solid var(--z-good);transform:rotate(-45deg)}
.t-policy{grid-column:1/-1;padding:12px 16px;border-radius:12px;background:var(--z-accent-soft);font-size:13px;line-height:1.9;color:var(--z-text-2)}
.t-policy b{color:var(--z-text);margin-right:12px}

.t-starter{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:stretch}
.t-starter-form{padding:6px 0}
.t-starter-form .field-label:first-child{margin-top:0}
.t-starter-output{display:flex;flex-direction:column;padding:20px 22px;border-radius:18px;background:var(--z-surface);border:1px solid var(--z-line);min-width:0}
.t-output-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:700}
.t-output-head .button{height:34px;padding:0 16px;font-size:13px}
.t-starter-output pre{flex:1;margin:14px 0 8px;white-space:pre-wrap;font:14px/2 "Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--z-text)}
.t-starter-output .fine-print{display:flex;align-items:center;gap:4px;flex-wrap:wrap}

/* 带学生用AI */
.t-students-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:28px 0 22px}
.t-students-head h1{font-size:clamp(28px,2.6vw,38px);letter-spacing:-.5px;margin-bottom:8px}
.t-stage-seg button{height:36px;padding:0 20px;font-size:14px}
#t-st-panel{animation:z-enter .35s var(--z-ease);min-height:320px}
.t-bring{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.t-bring-lead{font-size:18px;line-height:1.85;font-weight:600;margin-bottom:16px}
.t-bring .t-checks li{font-size:14.5px}
.t-rule{margin-top:18px;font-size:13px;color:var(--z-text-2)}
.t-rule summary{cursor:pointer;font-weight:600;color:var(--z-text-2)}
.t-rule blockquote{margin:10px 0 0;padding:10px 14px;border-radius:10px;background:var(--z-surface-2);color:var(--z-text-2);line-height:1.9}
.t-entries-label{font-size:13px;font-weight:700;margin-bottom:10px}
.t-bring-entries{display:grid;gap:10px}
.t-entry{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:14px;align-items:center;padding:8px;border-radius:14px;background:var(--z-surface);border:1px solid var(--z-line);transition:box-shadow .25s,border-color .25s}
.t-entry:hover{box-shadow:var(--z-shadow-lift);border-color:transparent}
.t-entry img{width:96px;aspect-ratio:16/10;object-fit:cover;border-radius:9px}
.t-entry strong{display:block;font-size:14.5px}.t-entry small{display:block;font-size:12.5px;color:var(--z-text-2)}
.t-entry>span:last-child{padding-right:8px;color:var(--z-text-3)}
.t-panel-note{font-size:13px;color:var(--z-text-3);margin-bottom:12px}
.t-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--z-line)}
.t-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--z-line)}
.t-row strong{display:block;font-size:16px}
.t-row small{display:block;font-size:13px;color:var(--z-text-2);margin-top:2px;line-height:1.8}
.t-row-actions{display:flex;gap:8px}
.t-row-actions .button{height:36px;padding:0 16px;font-size:13px}
.t-task-rows .t-row{grid-template-columns:132px minmax(0,1fr) auto}
.t-task-rows img{width:132px;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.t-source{margin-top:36px;font-size:12px;color:var(--z-text-3);display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.t-source a{color:var(--z-text-2);font-weight:600}
.t-sheet-steps{margin:6px 0;padding-left:20px;display:grid;gap:6px;font-size:14px;color:var(--z-text-2);line-height:1.85}
.t-sheet-ask{font-size:14px;color:var(--z-text-2)}.t-sheet-ask b{color:var(--z-text);margin-right:10px}
.t-sheet-sub{font-size:15px;margin-top:4px}
.t-sheet-ref{font-size:14px;color:var(--z-text-2);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.t-sheet-actions{display:flex;gap:10px;margin-top:8px}

/* Detail previews */

@media (max-width:1180px){
  .t-case{grid-template-columns:1fr}
  .t-case.is-live .t-steps{grid-template-columns:1fr}
  .t-bring{gap:32px}
}
@media (max-width:900px){
  .t-hero{grid-template-columns:1fr;min-height:0;gap:36px}
  .t-hero-art{max-width:560px;justify-self:center;width:100%}
  .t-areas{grid-template-columns:1fr 1fr}
  .t-starter,.t-bring{grid-template-columns:1fr}
}
@media (max-width:650px){
  .t-hero h1{font-size:30px}
  .t-ask-slip{width:94%}.t-result-window{width:96%}
  .t-areas{grid-template-columns:1fr}
  .t-row,.t-task-rows .t-row{grid-template-columns:1fr;gap:10px}
  .t-task-rows img{width:100%}
  .t-entry{grid-template-columns:80px minmax(0,1fr) auto}.t-entry img{width:80px}
}
@media (prefers-reduced-motion:reduce){.t-caret{animation:none}}
.motion-off .t-caret{opacity:0}
