/* portal_teacher_paste.html — extracted page CSS (Session 18, Phase A) */

/* --- block 1 of 1 --- */
:root{--bg:#f3f4f6;--card:#fff;--text:#1f2937;--muted:#6b7280;--border:#e5e7eb;--blue:#1e40af;--good:#15803d;--goodbg:#dcfce7;--low:#b91c1c;--lowbg:#fee2e2}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5;padding:1rem 1rem 4rem}
.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:.5rem 1rem;z-index:100}
.skip:focus{left:0}

.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:.5rem;flex-wrap:wrap}
.topbar strong{color:var(--blue);font-size:1.05rem}
.topbar a{color:var(--blue);font-weight:600;text-decoration:none;padding:.5rem .6rem;border-radius:4px}
.topbar a:focus{outline:3px solid var(--blue);outline-offset:2px}
.headline{background:var(--card);border-radius:12px;padding:1.5rem;border-left:8px solid var(--blue);box-shadow:0 2px 6px rgba(0,0,0,.06);margin-bottom:1rem}
.headline h1{font-size:1.35rem;margin:0 0 .4rem}
.headline p{margin:0;color:var(--muted)}
form.paste{background:var(--card);border-radius:12px;padding:1.5rem;box-shadow:0 1px 4px rgba(0,0,0,.05);margin-bottom:1rem}
label{display:block;font-weight:600;font-size:.9rem;margin:.8rem 0 .3rem}
textarea{width:100%;min-height:280px;padding:.7rem;border:1px solid var(--border);border-radius:6px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.9rem;line-height:1.4;background:#fff;resize:vertical}
textarea:focus{outline:3px solid var(--blue);outline-offset:2px;border-color:var(--blue)}
.help{display:block;font-size:.8rem;color:var(--muted);margin-top:.2rem}
.row{display:flex;align-items:center;gap:.6rem;margin-top:.8rem}
.row input[type=checkbox]{width:20px;height:20px}
button{min-height:44px;margin-top:1rem;padding:.7rem 1.4rem;background:var(--blue);color:#fff;border:none;border-radius:8px;font-weight:700;font-size:.95rem;cursor:pointer}
button:hover{background:#1e3a8a}
button:focus{outline:3px solid #1e3a8a;outline-offset:2px}
.err{background:var(--lowbg);color:var(--low);padding:.8rem 1rem;border-radius:8px;margin-bottom:1rem;font-weight:600}
.msg{background:var(--goodbg);color:var(--good);padding:.8rem 1rem;border-radius:8px;margin-bottom:1rem;font-weight:600}
.out{background:var(--card);border-radius:10px;padding:1rem 1.2rem;box-shadow:0 1px 4px rgba(0,0,0,.05);border-left:5px solid var(--good);margin-bottom:1rem}
.out pre{background:#0f172a;color:#e2e8f0;padding:1rem;border-radius:8px;overflow:auto;max-height:60vh;white-space:pre-wrap;word-wrap:break-word;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.45;margin:0}
.files{background:var(--goodbg);border-left:5px solid var(--good);border-radius:10px;padding:1rem 1.2rem;margin-bottom:1rem}
.files h3{margin:0 0 .5rem;font-size:.95rem;color:var(--good)}
.files ul{margin:0;padding-left:1.2rem}
.files li{margin:.2rem 0;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem}
::placeholder{color:#9ca3af;opacity:1;font-style:italic}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
