/* Shared presentation for the existing administration and imprint. */
.logout-form{margin:0;display:inline-flex}.top nav{flex-wrap:wrap;align-items:center}.logout-form button{background:transparent;border:0;color:inherit;font:inherit;padding:0;min-height:44px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.logout-form button:hover{color:var(--blue)}
.top{background:white;border-bottom:1px solid var(--line);padding:1.4rem 2rem}.top-inner,.foot-inner{max-width:1160px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:1rem}.wordmark{font-size:1.15rem;font-weight:750;letter-spacing:-.025em;color:var(--navy)}.wordmark span{color:var(--blue)}.top nav{display:flex;gap:1.5rem;font-size:.9rem;color:var(--muted)}.top a:hover{color:var(--blue)}.login-wrap{max-width:490px;margin:5rem auto;padding:0 1.5rem}.login-wrap h1{font-size:2.5rem}.lead{font-size:1rem;line-height:1.7;color:var(--muted)}.login-card{border:1px solid var(--line);border-radius:6px;padding:1.6rem;background:white;margin-top:1.5rem}.login-card form,.tool-form{display:flex;flex-direction:column;gap:.9rem}.wrap{max-width:1160px;margin:2.5rem auto;padding:0 1.5rem}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bar h1{font-size:2.5rem}.meta,.hint,.fmeta,.sub{font-size:.875rem;color:var(--muted)}.hint{line-height:1.7;margin:.6rem 0 1.2rem}.hero-rule{height:1px;background:var(--line);margin:1.4rem 0 1.8rem}.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}.card,.notice{border:1px solid var(--line);border-radius:6px;padding:1.6rem;background:white;min-width:0}.card h2{font-size:1.3rem;letter-spacing:-.025em;margin:0 0 .8rem}.card h3{font-size:1.1rem;margin:1.4rem 0 .8rem}.card-full{grid-column:1/-1}.files-card{margin-top:1.5rem}.tool-form input:not([type=checkbox]):not([type=hidden]),.tool-form select,.tool-form textarea,.login-card input{width:100%;padding:.8rem;border:1px solid #bdcbd4;border-radius:4px;color:var(--ink);background:white;min-height:45px}.tool-form textarea{min-height:230px;font: .875rem/1.6 ui-monospace,Consolas,monospace}.tool-form button,.login-card button,.btn{background:var(--navy);border:1px solid var(--navy);color:white;font:inherit;font-weight:600;border-radius:4px;padding:.75rem 1rem;min-height:44px}.tool-form button:hover,.login-card button:hover{background:var(--navy-deep)}.tool-form .secondary{background:white;color:var(--navy)}.checkbox{display:flex;align-items:center;gap:.7rem;font-size:.875rem;color:var(--muted)}input[type=checkbox]{height:18px;width:18px}.preview{font-size:.875rem;background:var(--surface);padding:.7rem;border-radius:3px}.alert{padding:1rem;border:1px solid var(--line);border-radius:4px;margin:1rem 0;line-height:1.6}.alert-ok{background:#edf5f1;border-color:#b3d5c6;color:#17503e}.alert-err{background:#fff1ef;border-color:#e3b6ae;color:#832f21}.files-list{padding:0;list-style:none;margin:0}.files-list>li{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;padding:.8rem 0;border-top:1px solid var(--line)}.files-list .fname{flex:1;min-width:180px;color:var(--blue);font-size:.9375rem;overflow-wrap:anywhere}.files-list .fname:hover{text-decoration:underline}.files-list .ext,.tag{font-size:.6875rem;color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:.15rem .4rem}.file-delete{margin:0}.file-delete button,.btn-del{border:1px solid #d3b4ad;background:#fff;color:#833829;border-radius:3px;padding:.4rem .6rem;font-size:.8125rem}.notice-secure,.workflow-note{background:var(--surface);border-left:3px solid var(--blue);padding:1rem 1.2rem;margin:1.5rem 0;font-size:.9rem;color:var(--muted);line-height:1.7}.workflow-note strong{color:var(--ink)}code{font-size:.9em;overflow-wrap:anywhere}.hero{max-width:1160px;margin:3rem auto 2rem;padding:0 1.5rem}.hero h1{font-size:2.7rem}.layout{max-width:1160px;margin:auto;padding:0 1.5rem;display:grid;grid-template-columns:1.1fr 1fr;gap:1.5rem}.layout .card h2:not(:first-child){margin-top:2rem}.layout address{font-style:normal;line-height:1.8}.layout .sub{display:block;margin-top:.7rem}.layout .notice{background:var(--surface);line-height:1.75}.layout .notice p{font-size:.9375rem;color:var(--muted)}.mail{overflow-wrap:anywhere}.disclaimer{max-width:1160px;margin:2rem auto;padding:0 1.5rem;font-size:.875rem;color:var(--muted);line-height:1.8}body>footer{margin:3rem auto 0;border-top:1px solid var(--line);padding:1.5rem;color:var(--muted);font-size:.8125rem}.pill{display:inline-flex;padding:.15rem .4rem;background:var(--surface);border-radius:3px;font-size:.75rem}.folder-block+.folder-block{margin-top:1.6rem}
@media(max-width:760px){.top{padding:1.1rem}.top-inner{align-items:flex-start}.top nav{gap:1rem;font-size:.8125rem}.wrap{padding:0 1rem}.bar{align-items:flex-start;flex-direction:column}.bar h1,.hero h1{font-size:2.1rem}.tools,.layout{grid-template-columns:1fr}.card-full{grid-column:auto}.card,.notice{padding:1.2rem}.login-wrap{margin:3rem auto}.foot-inner{flex-direction:column;align-items:flex-start}.files-list>li{gap:.5rem}}
/* Match the pupil portal while retaining the existing administration controls. */
.top{background:var(--paper);padding:0 2.75rem;border:0;max-width:880px;margin:auto}.top-inner{padding:2rem 0 1.75rem;border-bottom:1px solid var(--line);flex-wrap:wrap}.wordmark{font:bold 1.7rem/1.2 var(--serif);color:var(--ink)}.wordmark span{color:inherit}.top nav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.hero,.layout,.wrap,.disclaimer,.foot-inner{max-width:880px}.hero,.layout,.wrap,.disclaimer{padding-left:2.75rem;padding-right:2.75rem}.tools,.layout{display:flex;flex-direction:column}.card,.notice,.login-card{background:var(--paper);border-radius:3px}.card h2,.card h3{font-family:var(--font)}.hero h1,.bar h1,.login-wrap h1{font-family:var(--serif);color:var(--ink)}.layout .notice{background:var(--surface)}.tool-form input:not([type=checkbox]):not([type=hidden]),.tool-form select,.tool-form textarea,.login-card input{background:var(--paper);border-color:var(--input-line);color:var(--ink)}.tool-form button,.login-card button,.btn{background:var(--button-bg);border-color:var(--button-bg);color:var(--button-fg)}.tool-form button:hover,.login-card button:hover{background:var(--button-bg);filter:brightness(.93)}.tool-form .secondary{background:var(--surface);color:var(--ink)}.file-delete button,.btn-del{background:var(--paper);color:var(--ink);border-color:var(--line)}.alert-ok{background:var(--surface);color:var(--ink);border-color:var(--green)}.alert-err{background:var(--surface);color:var(--ink);border-color:var(--math-accent)}.tag,.files-list .ext{font-size:.75rem}.top nav{font-size:.875rem}.layout .notice p{font-size:1rem}
@media(max-width:600px){.top,.hero,.layout,.wrap,.disclaimer{padding-left:1.25rem;padding-right:1.25rem}.top-inner{padding:1.35rem 0;gap:1rem}.wordmark{font-size:1.6rem}.top nav{gap:1rem}.login-card{padding:1.15rem}.files-list .fname{min-width:0;flex-basis:100%}}
