:root{color-scheme:light;font-family:Segoe UI,Roboto,sans-serif;color:#1d241c;background:#eef2ea;line-height:1.45}*{box-sizing:border-box}body,h1,h2,p{margin:0}.app__bar{background:#2f4a32;color:#f4f7f2;padding:20px 28px;text-align:center}.app__logo{display:block;width:72px;height:72px;margin:0 auto 12px;border-radius:16px;box-shadow:0 2px 10px #0000002e}.app__bar h1{font-size:1.45rem;font-weight:650;line-height:1.3}.app__bar-note{margin-top:8px;font-size:.95rem;font-weight:400;line-height:1.4;opacity:.88}.app__main{max-width:980px;margin:0 auto;padding:24px 20px 48px;display:grid;gap:20px}.panel{background:#fff;border:1px solid #d5ddd2;border-radius:10px;padding:18px;display:grid;gap:16px}.dropzone{border:2px dashed #8aa183;border-radius:8px;padding:22px 16px;text-align:center;cursor:pointer;background:#f7faf5}.dropzone--over,.dropzone:hover{background:#eef6ea;border-color:#4f7a4d}.dropzone__title{font-weight:650}.dropzone__lead{margin:10px auto 0;max-width:36rem;padding:8px 12px;font-size:.92rem;font-style:italic;color:#4a5348;background:#fff6dc;border-radius:6px}.dropzone__names{margin:10px auto 0;max-width:36rem;padding:8px 12px;font-size:.95rem;font-weight:650;line-height:1.45;color:#2a3d1f;background:#ffe08a;border-radius:6px}.dropzone__names code{display:inline-block;margin-top:2px;padding:1px 7px;font-family:Consolas,Cascadia Mono,Courier New,monospace;font-size:.98em;font-weight:700;background:#fffdf3;border-radius:4px}.dropzone__hint{color:#5b6658;font-size:.92rem;margin-top:8px}.dropzone__file{margin-top:10px;font-size:.92rem;color:#2f4a32}.fields__intro{margin:0;text-align:center;font-size:.82rem;font-weight:400;line-height:1.4;color:#5b6658}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fields__wide{grid-column:1 / -1}.fields label{display:grid;gap:6px;font-size:.88rem;font-weight:650}.fields input,.fields textarea{font:inherit;font-weight:400;padding:8px 10px;border:1px solid #c4cec0;border-radius:6px}.fields textarea,.job__title-fields textarea{min-height:5.5rem;resize:vertical}.fields__fold{border:1px solid #d5ddd2;border-radius:8px;padding:8px 12px 12px;background:#f7faf5}.fields__fold summary{cursor:pointer;font-size:.88rem;font-weight:650;padding:4px 0}.fields__fold textarea{margin-top:10px;width:100%;box-sizing:border-box}.job__title-fields{display:grid;gap:10px}.job__title-fields label{display:grid;gap:6px;font-size:.88rem;font-weight:650}.job__title-fields input,.job__title-fields textarea{font:inherit;font-weight:400;padding:8px 10px;border:1px solid #c4cec0;border-radius:6px}.fields__check{grid-template-columns:auto 1fr;align-items:center;font-weight:550}.fields__check input{width:1.05rem;height:1.05rem;padding:0}.errors{margin:0;padding:10px 14px 10px 32px;background:#fdecea;color:#8a1f14;border-radius:6px}.actions__note{margin:0;text-align:center;font-size:.88rem;font-weight:650;color:#8a1f14}.actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.actions select,.actions__restore{font:inherit;font-weight:650;border:1px solid #8aa183;border-radius:6px;padding:7px 12px;background:#f7faf5;color:#2f4a32;cursor:pointer;max-width:min(22rem,100%)}.actions select:disabled,.actions__restore:disabled{opacity:.5;cursor:not-allowed}button{font:inherit;font-weight:650;border:0;border-radius:6px;padding:10px 16px;background:#2f4a32;color:#fff;cursor:pointer}.button--secondary{background:#4f7a4d}.button--ghost{background:transparent;color:#2f4a32;border:1px solid #8aa183;padding:7px 12px;justify-self:start}button:disabled{opacity:.5;cursor:not-allowed}.jobs{list-style:none;margin:0;padding:0;display:grid;gap:12px}.jobs--multi{margin-top:6px;padding:16px 14px;border-top:2px solid #8aa183;border-radius:0 0 10px 10px;background:#e4eee0}.job{border:1px solid #d5ddd2;border-radius:8px;padding:12px;display:grid;gap:8px;background:#f7faf5}.job__fields{display:grid;grid-template-columns:7.2rem 1fr 1.35fr;gap:12px}.job__fields label{display:grid;gap:6px;font-size:.88rem;font-weight:650}.job__fields input{font:inherit;font-weight:400;padding:8px 10px;border:1px solid #c4cec0;border-radius:6px}.job__teachers{display:flex;flex-wrap:wrap;align-items:end;gap:12px 20px}.job__teacher{display:grid;gap:6px}.job__teacher-label{font-size:.88rem;font-weight:650}.job__teacher-name{flex:0 0 12.5rem;width:12.5rem;max-width:12.5rem;font:inherit;font-weight:400;padding:8px 10px;border:1px solid #c4cec0;border-radius:6px}.fields label.job__duplicate-check,.job__title-fields label.job__duplicate-check,.job__duplicate-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:.88rem;font-weight:650;white-space:nowrap;flex:none;height:2.45rem}.fields .job__duplicate-check input,.job__duplicate-check input{width:1rem;height:1rem;padding:0;border:1px solid #8aa183;flex:none}.job__head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px 20px}.job__files,.job__meta{margin:0;font-size:.92rem;font-weight:650;color:#2f4a32}.job__files{min-width:0;text-align:left}.job__meta{flex:none;text-align:right;white-space:nowrap}.preview-heading{display:flex;align-items:center;gap:16px;margin:12px 0 4px}.preview-heading__line{flex:1;height:2px;background:#8aa183;border-radius:1px}.preview-heading__title{display:flex;align-items:center;gap:10px;margin:0;color:#2f4a32;font-size:1.35rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.preview-heading__icon{width:1.15em;height:1.15em;flex:none}.preview-block__title{font-size:1.05rem;margin:0 0 8px}.preview{background:#fff;border:1px solid #d5ddd2;border-radius:10px;padding:22px 24px 28px}.preview__title{margin-bottom:28px;padding-bottom:22px;border-bottom:1px dashed #c4cec0}.preview__school{text-align:center;font-weight:650;font-size:1.05rem;margin:0 0 16px}.preview__approve{width:min(48%,280px);margin-left:auto;text-align:center;font-size:.92rem}.preview__approve-label,.preview__approve-name,.preview__title-main h2,.preview__title-subject,.preview__title-klass,.preview__title-year{font-weight:650}.preview__approve-name{margin:8px 0 6px}.preview__rule{border-bottom:1px solid #333;height:1.15em;margin:4px 0}.preview__date{display:flex;align-items:flex-end;justify-content:center;gap:4px;margin-top:6px}.preview__rule--day{width:28px;flex:none}.preview__rule--month{width:88px;flex:none;margin:0 4px}.preview__rule--year{width:22px;flex:none}.preview__rule--subject{width:min(70%,280px);margin:8px auto 12px}.preview__rule--klass{width:min(40%,160px);margin:6px auto 4px}.preview__title-main{text-align:center;margin:28px 0 24px}.preview__title-main h2{font-size:1.25rem;margin-bottom:8px}.preview__title-year{margin:0 0 12px}.preview__title-subject{font-size:1.15rem;margin:6px 0 12px}.preview__title-klass{font-size:1.08rem;margin:4px 0}.preview__teacher-row{display:flex;align-items:flex-end;gap:10px;width:min(72%,360px);margin:28px auto 0}.preview__teacher-row--filled{justify-content:center;width:min(80%,420px)}.preview__rule--grow{flex:1;margin:0}.preview__teacher-name{font-weight:650;text-align:center}.preview__program-line{width:88%;margin:4px auto 0;padding-bottom:2px;border-bottom:1px solid #333;font-size:.92rem}.preview__program-block{text-align:center}.preview__program{font-size:.92rem}.preview__program-block .preview__rule{width:88%;margin-left:auto;margin-right:auto}.preview__header{display:grid;grid-template-columns:28% 1fr 28%;align-items:end;border-bottom:1px solid #333;padding-bottom:6px;font-size:.95rem}.preview__klass{font-weight:650}.preview__subject{text-align:center;font-weight:650}.preview__page{text-align:right}.preview__year{margin:12px 0 8px;font-size:1.05rem;font-weight:650;line-height:1.4}.preview__year p{display:grid;grid-template-columns:1fr 1fr 1fr}.preview__year span:nth-child(2){text-align:center}.preview__year span:nth-child(3){text-align:right}.preview__pivot{width:100%;border-collapse:collapse;margin:8px 0 18px;font-size:.82rem}.preview__pivot th,.preview__pivot td{border:1px solid #333;padding:4px 5px;text-align:center}.preview__pivot th:first-child,.preview__pivot td:first-child{text-align:left}.preview__pivot-strong{border-right-width:1.65px}.preview__pivot thead,.preview__pivot tfoot{background:#eef3ea}.preview__topic{margin-top:16px}.preview__topic-head{display:flex;align-items:center;gap:10px;margin:8px 0 6px}.preview__topic-no,.preview__topic-count,.preview__topic-sep{flex-shrink:0}.preview__topic-sep{color:#666}.preview__topic-title{flex:1;min-width:0}.preview__topic-count{margin-left:auto}.preview__topic-no,.preview__topic-count,.preview__topic-title{font-size:1rem;font-weight:650;line-height:1.25}.preview__semester{margin:18px 0 12px;text-align:center}.preview__semester h2{font-size:1.35rem;letter-spacing:.03em;margin:0}.preview__semester p{margin:4px 0 0;font-size:.98rem}.preview table{width:100%;border-collapse:collapse;font-size:.92rem}.preview th,.preview td{border:none;border-bottom:1px solid #cfcfcf;border-right:1px solid #c8c8c8;padding:5px 6px;vertical-align:top}.preview th{background:#eef3ea;font-size:.78rem;text-align:center;border-top:1px solid #333;border-bottom:1px solid #333}.preview th:last-child,.preview td:last-child{border-right:none}.col-no{width:5.5%;text-align:center}.col-date{width:9.5%}.col-note{width:12%}.col-title{white-space:pre-wrap}.preview__summary{margin-top:10px;text-align:right;font-weight:650}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:16px}.modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e281c73;cursor:pointer}.modal__box{position:relative;z-index:1;width:min(36rem,100%);max-height:min(80vh,32rem);overflow:auto;background:#f7faf5;color:#1d241c;border-radius:10px;padding:18px 20px;box-shadow:0 12px 40px #141c1238}.modal__box h2{margin:0 0 12px;font-size:1.12rem}.modal__ok{margin:0 0 16px;color:#2f4a32}.modal__lead{margin:0 0 10px}.modal__list{margin:0 0 16px;padding-left:1.2rem;display:grid;gap:8px}.modal__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}@media(max-width:640px){.fields{grid-template-columns:1fr}.preview-heading__title{white-space:normal;text-align:center;letter-spacing:.04em;font-size:1.1rem}}
