.netlify-login{background:#080e13;color:#e8f1ed;min-height:100svh;display:grid;place-items:center;padding:28px}.netlify-login main{width:min(100%,460px)}.netlify-login .brand{display:block;color:#1ce783;font:800 34px/1.2 sans-serif;letter-spacing:-2px;margin-bottom:55px}.netlify-login .eyebrow{font-size:12px;letter-spacing:2px;color:#8cc9a7}.netlify-login h1{font-size:34px;letter-spacing:-1.5px}.netlify-login p{font-size:16px;color:#b5c9c1;line-height:1.8}.netlify-login form label{font-size:14px;margin-bottom:22px;color:#d0dfd8}.netlify-login input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #455f54;background:#14272a;color:white;border-radius:3px;font-size:16px}.netlify-login .dark-btn{width:100%;background:#1ce783;color:#09261a;font-size:16px;font-weight:700;padding:13px}.netlify-login .setup-notice{border:1px solid #5c7867;padding:22px;margin-top:30px}.netlify-login [role=status]{min-height:28px;font-size:14px}.netlify-login :focus-visible{outline:2px solid #1ce783;outline-offset:4px}.netlify-logout{background:none;border:1px solid #8e9c8a;border-radius:3px;font-size:14px;padding:8px 12px}

/* Readable student identities and an explicit entry to editing the homepage. */
.teacher-page .student-card-top{align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.teacher-page .student-identity{font:700 clamp(24px,2.5vw,32px)/1.35 'Noto Sans KR',sans-serif;color:#293d37;letter-spacing:-1px;overflow-wrap:anywhere}
.teacher-page .mode-badge{font-size:12px;white-space:nowrap;padding:6px 10px}
.teacher-page .student-design-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:22px 0 14px;align-items:stretch}
.teacher-page .student-design-button{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;background:#244d3c;color:#fffdf2;border:1px solid #244d3c;border-radius:8px;padding:17px 20px;text-align:left;min-height:84px}
.teacher-page .student-design-button span{font-size:20px;font-weight:700;line-height:1.4;color:#fffdf2}
.teacher-page .student-design-button small{font-size:13px;line-height:1.6;color:#e0eade}
.teacher-page .student-preview-button{background:#fffdf4;color:#244d3c;border:1px solid #91a28a;border-radius:8px;padding:14px 16px;font-size:14px;font-weight:600}
.teacher-page .student-design-button:hover{background:#173b2c}
.teacher-page .student-save-actions{margin-top:0;justify-content:flex-start}
.teacher-page .student-save-actions .dark-btn{padding:9px 14px;background:transparent;border:1px solid #9caa94;border-radius:5px;color:#344637;font-size:14px}
.teacher-page .student-admin .admin-actions.secondary{gap:12px 20px}
.teacher-page .student-admin .admin-actions.secondary button{font-size:14px;line-height:1.6;color:#425343}
@media(max-width:600px){.teacher-page .student-design-actions{grid-template-columns:1fr}.teacher-page .student-preview-button{min-height:44px}.teacher-page .student-identity{font-size:25px}.teacher-page .student-design-button{min-height:80px}}
.teacher-page .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.teacher-page .student-design-button span,.teacher-page .student-design-button small,.teacher-page .student-preview-button{word-break:keep-all}
@media(max-width:760px){.teacher-page .admin-grid{grid-template-columns:minmax(0,1fr)}}

.teacher-page .student-admin .admin-actions.secondary button[data-action=rotate]:disabled{color:#8a9286;opacity:.65;border:1px dashed #bfc7b8;padding:3px 8px;border-radius:4px;background:#e6e9df66;text-decoration:none;cursor:not-allowed}
.admin-top .admin-actions{flex-wrap:wrap;justify-content:flex-end}
.admin-share-hub-button{background:#244d3c;color:#fffdf2;border:0;border-radius:7px;padding:13px 18px;font-size:15px;font-weight:600;min-height:46px;word-break:keep-all}
.share-overview{margin:30px 0;padding:26px;background:#fffdf5;border:1px solid #bbc6ae;border-radius:12px;scroll-margin-top:20px}
.share-overview[hidden]{display:none}
.share-overview-heading h3{margin:0 0 6px;font-size:24px;line-height:1.5;color:#253e34}
.share-overview-heading p{margin:0 0 22px;font-size:15px;color:#56634f}
.share-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.share-overview-card{min-width:0;background:#f6f3e9;border:1px solid #dedaca;border-radius:8px;overflow:hidden}
.share-overview-image{display:block;padding:0;border:0;background:#e8e9dc;width:100%;aspect-ratio:1200/630}
.share-overview-image img{width:100%;height:100%;object-fit:cover;display:block}
.share-overview-card h4{font-size:17px;font-weight:650;color:#263d34;margin:14px 14px 10px;line-height:1.5;overflow-wrap:anywhere}
.share-overview-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 14px 15px}
.share-overview-actions button{font-size:13px;line-height:1.4;border:1px solid #9caa91;border-radius:5px;background:#fffdf4;color:#244d3c;padding:10px 5px;min-height:42px}
.share-overview-actions button:last-child{background:#244d3c;color:#fffdf2;border-color:#244d3c}
.share-overview-card>small{display:block;padding:0 14px 14px;color:#6b705f;font-size:13px}
.student-share-dialog{max-width:800px;width:calc(100% - 32px);max-height:92svh;padding:34px;background:#f7f4eb;color:#293e34;border-radius:12px}
.student-share-dialog>h2{font-size:28px;line-height:1.5;margin:12px 0 5px}
.student-share-dialog>p{font-size:15px;line-height:1.7;margin:0 0 20px;color:#566650}
.share-preview-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;background:#fffdf8;border:1px solid #d3d6c5;border-radius:9px;overflow:hidden;margin-bottom:25px}
.share-preview-card>img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}
.share-preview-card>span{padding:20px;min-width:0}
.share-preview-card b{display:block;font-size:21px;line-height:1.5;letter-spacing:-.6px;color:#263c32;overflow-wrap:anywhere}
.share-preview-card small{display:block;font-size:13px;color:#68715f;margin-top:8px}
.share-delivery-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px;align-items:start}
.share-delivery-grid h3{font-size:15px;font-weight:600;margin:0 0 10px;text-align:center;color:#324535}
.student-share-dialog .share-qr{width:100%;max-width:220px;margin:0 auto;border:1px solid #dee0d4;border-radius:7px;overflow:hidden}
.student-share-dialog .share-qr img{display:block;width:100%;height:auto}
.share-delivery-link label{display:block;font-size:15px;font-weight:600;margin:0 0 8px}
.student-share-dialog #shareUrl{border-radius:5px;color:#344c3d;background:#fffdf8;border-color:#b7c1a9;padding:10px;font-size:13px;min-height:44px}
.student-share-dialog .share-howto{font-size:14px;line-height:1.8;color:#57664f;margin:12px 0}
.student-share-dialog .share-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}
.student-share-dialog .share-actions button,.student-share-dialog .share-actions a{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #8fa382;border-radius:6px;background:#fffdf8;color:#2d4837;font-size:14px;line-height:1.5;padding:11px 8px;min-height:46px;text-decoration:none;cursor:pointer}
.student-share-dialog .share-actions .dark-btn{background:#244d3c;color:#fffdf2;border-color:#244d3c}
.student-share-dialog .share-actions [hidden]{display:none}
.share-image-download{display:inline-block;font-size:13px;color:#536e54;border-bottom:1px solid #8fa382;margin-top:17px;padding-bottom:3px}
.student-share-dialog #shareNotice{font-size:13px;line-height:1.8;color:#68715f;margin:24px 0 0;padding-top:17px;border-top:1px solid #d6d9ca}
@media(max-width:1000px){.share-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.admin-top .admin-actions{justify-content:flex-start}.admin-share-hub-button{width:100%}.share-overview{padding:18px 13px}.share-overview-grid{gap:13px}.share-overview-card h4{font-size:15px;margin:12px 10px 9px}.share-overview-actions{padding:0 10px 12px;grid-template-columns:1fr}.share-overview-heading h3{font-size:22px}.share-overview-heading p{font-size:14px}.student-share-dialog{padding:28px 20px}.student-share-dialog>h2{font-size:23px}.share-preview-card{grid-template-columns:1fr}.share-preview-card>span{padding:14px 17px}.share-preview-card b{font-size:20px}.share-delivery-grid{grid-template-columns:1fr;gap:22px}.student-share-dialog .share-qr{max-width:210px}}
