:root{--navy:#102a43;--navy2:#183e5c;--teal:#0f766e;--gold:#c9952e;--ink:#243b53;--muted:#627d98;--line:#d9e2ec;--bg:#eef3f7;--white:#fff;--radius:14px;--shadow:0 12px 32px rgba(16,42,67,.10)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,Segoe UI,Arial,sans-serif}.topbar{height:78px;background:linear-gradient(110deg,var(--navy),var(--navy2));color:white;display:flex;align-items:center;padding:0 28px;gap:14px;box-shadow:0 4px 16px rgba(16,42,67,.2)}.brand-mark{width:46px;height:46px;border:1px solid rgba(255,255,255,.55);border-radius:12px;display:grid;place-items:center;font-weight:800;letter-spacing:.06em;color:#f7d68a}.topbar h1{font-size:1.2rem;margin:0}.topbar p{margin:2px 0 0;font-size:.8rem;color:#cbd9e5}.top-actions{margin-left:auto;display:flex;gap:8px}.workspace{display:grid;grid-template-columns:250px minmax(450px,1fr) 390px;gap:18px;padding:18px;min-height:calc(100vh - 78px)}.steps,.form-panel,.preview-panel{background:var(--white);border:1px solid #dbe5ed;border-radius:var(--radius);box-shadow:var(--shadow)}.steps{padding:18px 12px;align-self:start;position:sticky;top:18px}.progress-head{display:flex;justify-content:space-between;font-size:.82rem;padding:0 8px}.progress-head span{font-weight:700}.progress-head strong{color:var(--teal)}.progress-track{height:5px;background:#e3ebf1;border-radius:9px;margin:10px 8px 18px;overflow:hidden}.progress-track span{display:block;height:100%;width:14.28%;background:linear-gradient(90deg,var(--teal),#2cb1a6);transition:.3s}.step{width:100%;display:flex;text-align:left;gap:11px;padding:10px;border:0;background:transparent;border-radius:10px;color:var(--muted);cursor:pointer;margin:3px 0}.step:hover{background:#f2f7fa}.step.active{background:#eaf6f4;color:var(--navy)}.step b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e5edf3;font-size:.78rem;flex:none}.step.active b{background:var(--teal);color:white}.step span{font-weight:700;font-size:.88rem}.step small{display:block;font-weight:400;color:#829ab1;font-size:.72rem}.local-note{margin:18px 8px 0;padding:12px;background:#f6f1e6;border-left:3px solid var(--gold);font-size:.72rem}.local-note strong,.local-note span{display:block}.form-panel{display:flex;flex-direction:column;min-height:730px}.panel-head,.preview-head{padding:20px 24px 15px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:.68rem;letter-spacing:.12em;color:var(--teal);font-weight:800}.panel-head h2,.preview-head h2{font-size:1.12rem;margin:3px 0}.icon-button{border:1px solid var(--line);background:white;border-radius:9px;width:38px;height:38px;font-size:1.2rem;cursor:pointer}form{padding:22px 24px;flex:1}.page{display:none;border:0;padding:0;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.page.active{display:grid}.field{display:flex;flex-direction:column;gap:6px}.field.full,.dropzone,.choice-row,.signature-card{grid-column:1/-1}.field label{font-size:.78rem;font-weight:700;color:#486581}.field input,.field select,.field textarea{width:100%;border:1px solid #bcccdc;border-radius:8px;padding:10px 11px;font:inherit;font-size:.9rem;color:var(--ink);background:#fff}.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid rgba(15,118,110,.12);border-color:var(--teal)}textarea{resize:vertical}.choice-row{display:flex;gap:10px;flex-wrap:wrap}.choice-row label{border:1px solid var(--line);border-radius:9px;padding:9px 12px;font-size:.82rem;cursor:pointer}.dropzone{position:relative;min-height:190px;border:1.5px dashed #9fb3c8;border-radius:12px;background:#f7fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted)}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-icon{font-size:2rem;color:var(--teal)}.dropzone small{font-size:.75rem}.ai-field{position:relative}.mini{align-self:flex-end;margin-top:4px;border:0;background:#eaf6f4;color:var(--teal);padding:6px 10px;border-radius:7px;font-weight:700;cursor:pointer}.signature-card{background:#f7fafc;border:1px solid var(--line);padding:15px;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.signature-card h3{grid-column:1/-1;margin:0;font-size:.9rem}.file-list{grid-column:1/-1}.file-chip{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid var(--line);border-radius:8px;margin-top:7px;font-size:.8rem}.form-actions{border-top:1px solid var(--line);padding:14px 24px;display:flex;align-items:center;justify-content:space-between}.form-actions span{font-size:.72rem;color:var(--muted)}button{font:inherit}.ghost,.primary,.dark{border-radius:8px;padding:9px 14px;font-weight:700;cursor:pointer}.ghost{border:1px solid #9fb3c8;color:var(--navy);background:white}.topbar .ghost{border-color:rgba(255,255,255,.35);color:white;background:rgba(255,255,255,.08)}.primary{border:1px solid var(--teal);background:var(--teal);color:white}.dark{border:1px solid var(--navy);background:var(--navy);color:white}.ghost:disabled{opacity:.45;cursor:not-allowed}.preview-panel{align-self:start;position:sticky;top:18px;padding-bottom:16px}.status{font-size:.68rem;background:#eaf6f4;color:var(--teal);padding:4px 8px;border-radius:20px;font-weight:800}.paper{width:330px;min-height:466px;margin:20px auto;background:white;border:1px solid #cbd5df;box-shadow:0 5px 16px rgba(16,42,67,.12);padding:28px 22px;text-align:center;overflow:hidden}.paper-logo{width:48px;height:48px;border:2px solid var(--navy);border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;color:var(--navy);font-weight:800}.paper .college{font:700 .66rem/1.35 Georgia,serif;text-transform:uppercase}.paper .affiliation{font-size:.44rem;color:#627d98;margin:4px auto 24px}.paper .cell{font-size:.5rem;letter-spacing:.12em;font-weight:800;color:var(--teal)}.paper h3{font:700 1.05rem/1.25 Georgia,serif;color:var(--navy);margin:20px 0 6px}.paper .topic{font:italic .72rem/1.4 Georgia,serif;color:#334e68}.paper .rule{height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:20px}.paper dl{display:grid;grid-template-columns:1fr 1.6fr;text-align:left;font-size:.49rem;gap:7px;margin-top:20px}.paper dt{font-weight:700;color:#627d98}.paper dd{margin:0;font-weight:700}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 20px}.wide{font-size:.78rem}.export-actions .ghost{grid-column:1/-1}dialog{width:min(900px,94vw);height:90vh;border:0;border-radius:14px;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.3)}dialog::backdrop{background:rgba(16,42,67,.72)}.dialog-head{position:sticky;top:0;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;padding:14px 20px;z-index:2}.dialog-head h2{margin:0;font-size:1rem}.dialog-head button{border:0;background:none;font-size:1.6rem;cursor:pointer}.report-document{background:white;color:#111;font-family:Arial,sans-serif;padding:40px;max-width:800px;margin:auto}.report-page{min-height:1000px;padding:35px 40px;page-break-after:always;border-bottom:1px dashed #aaa}.report-page:last-child{page-break-after:auto}.report-cover{text-align:center;display:flex;flex-direction:column;justify-content:center}.report-cover h1{font:700 25px/1.3 Georgia,serif;color:#102a43}.report-cover h2{font:700 30px/1.25 Georgia,serif;margin:60px 0 15px}.report-document table{width:100%;border-collapse:collapse}.report-document th,.report-document td{border:1px solid #333;padding:8px;text-align:left;font-size:13px}.report-document h2{color:#102a43;border-bottom:2px solid #c9952e;padding-bottom:8px}.report-document p,.report-document li{font-size:14px;line-height:1.7;text-align:justify}.report-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-photo-grid img{width:100%;height:220px;object-fit:contain;border:1px solid #ccc}.signatures{display:flex;justify-content:space-between;margin-top:90px;text-align:center}.evidence-file{max-width:100%;max-height:780px;object-fit:contain;display:block;margin:20px auto}#toast{position:fixed;right:22px;bottom:22px;background:var(--navy);color:#fff;padding:11px 15px;border-radius:8px;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);transition:.25s;pointer-events:none;font-size:.82rem}#toast.show{opacity:1;transform:none}@media(max-width:1150px){.workspace{grid-template-columns:220px 1fr}.preview-panel{grid-column:1/-1;position:static}.paper{width:340px}.export-actions{max-width:500px;margin:auto}}@media(max-width:720px){.topbar{padding:0 14px}.topbar h1{font-size:1rem}.top-actions{display:none}.workspace{display:block;padding:10px}.steps{position:static;margin-bottom:10px}.steps nav{display:flex;overflow:auto}.step{min-width:130px}.local-note{display:none}.form-panel{min-height:auto}.preview-panel{margin-top:10px}.page.active{grid-template-columns:1fr}.field{grid-column:1/-1}.paper{width:90%;max-width:340px}.signature-card{grid-template-columns:1fr}.form-actions{padding:12px}.form-actions span{display:none}}
@media print{body>*:not(#previewDialog){display:none!important}#previewDialog{display:block;position:static;width:auto;height:auto;box-shadow:none}.dialog-head{display:none}.report-document{padding:0}.report-page{border:0}}
body,input,select,textarea,button{font-family:"Times New Roman",Times,serif}.paper .college{text-transform:none;font-size:.72rem}.logo-upload-grid{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}.logo-upload{border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;grid-template-columns:1fr 82px;align-items:center;gap:8px}.logo-upload label{font-weight:700}.logo-upload input{font-size:.78rem}.logo-thumb{width:76px;height:62px;border:1px dashed #9fb3c8;border-radius:7px;display:grid;place-items:center;text-align:center;font-size:.7rem;color:var(--muted);overflow:hidden}.logo-thumb img{width:100%;height:100%;object-fit:contain}.prompt-box{background:#f2f7fa;border:1px solid #bfd7df;padding:14px;border-radius:10px}.prompt-action{align-self:flex-end;margin-top:5px}.flyer-draft{grid-column:1/-1}.generated-flyer{background:linear-gradient(145deg,#102a43,#1d5b6d);color:white;border:5px solid #c9952e;padding:30px 22px;text-align:center;min-height:340px;display:flex;flex-direction:column;justify-content:center}.generated-flyer-logos,.preview-logos,.report-logos{display:flex;justify-content:space-between;align-items:flex-start}.doc-logo{max-width:64px;max-height:58px;object-fit:contain}.doc-logo-placeholder{width:62px;height:48px;border:1px dashed currentColor;display:grid;place-items:center;font-size:.58rem}.generated-flyer h2{font-size:1.7rem;margin:8px}.generated-flyer h3{color:#f7d68a;margin:8px}.flyer-cell{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}.flyer-guest{font-size:1.05rem;font-weight:700;margin:18px}.flyer-guest span{display:block;font-size:.8rem;font-weight:400}.flyer-info{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.preview-arrows{display:flex;justify-content:space-between;align-items:center;padding:0 20px 12px}.preview-arrows span{font-size:.72rem;color:var(--muted)}.preview-empty{padding:45px 10px;color:var(--muted);font-size:.72rem}.mini-doc-title{font-weight:700;font-size:1rem;border-bottom:2px solid var(--gold);padding-bottom:8px;margin-bottom:12px}.mini-body{text-align:left;font-size:.58rem;line-height:1.45;max-height:310px;overflow:hidden}.mini-table{font-size:.55rem;margin-bottom:10px}.mini-table th,.mini-table td{padding:4px}.mini-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.mini-photo-grid img{width:100%;height:110px;object-fit:cover}.mini-file{text-align:left;border-bottom:1px solid var(--line);padding:7px;font-size:.62rem}.rating-large{font-size:3rem;color:var(--teal);margin:35px}.rating-large small{font-size:1rem}.official-border{border:1px solid #222!important}.report-cover h1{text-transform:none}.report-logos{margin-bottom:30px}.report-logos .doc-logo{max-width:90px;max-height:75px}.flyer-page{padding:35px!important}
@media print{.report-page.official-border{border:1px solid #111!important}}
.fixed-header-preview,.official-header{display:grid;grid-template-columns:90px 1fr 110px;align-items:start;gap:12px;text-align:center;color:#000}.fixed-header-preview{border:1px solid var(--line);padding:14px;border-radius:9px;background:#fff}.fixed-header-preview img,.official-header>img{width:100%;height:86px;object-fit:contain}.fixed-header-preview strong,.official-header strong{display:block;font:bold 1.08rem/1.12 "Times New Roman",serif}.fixed-header-preview span,.official-header span{display:block;font:.68rem/1.25 "Times New Roman",serif;margin-top:3px}.official-header{margin:0 0 18px;padding-bottom:8px;border-bottom:2px dashed #222}.official-header b{display:block;font:bold .95rem "Times New Roman",serif;margin-top:13px}.paper .official-header{grid-template-columns:52px 1fr 60px;gap:5px;margin:-12px -12px 12px}.paper .official-header>img{height:52px}.paper .official-header strong{font-size:.55rem}.paper .official-header span{font-size:.34rem}.paper .official-header b{font-size:.52rem;margin-top:7px}@media(max-width:720px){.fixed-header-preview{grid-template-columns:55px 1fr 65px;padding:8px}.fixed-header-preview img{height:58px}.fixed-header-preview strong{font-size:.72rem}.fixed-header-preview span{font-size:.48rem}}
.report-cover{justify-content:flex-start!important;height:1040px;min-height:1040px;overflow:hidden}.report-cover .official-header{flex:none}.cover-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 28px 18px}.cover-activity{font:bold 32px/1.2 "Times New Roman",serif;color:#102a43;border-bottom:2px solid #c9952e;padding:0 34px 10px}.cover-event-name{font:bold 24px/1.3 "Times New Roman",serif;margin-top:34px;max-width:620px}.cover-organizer{flex:none;text-align:center;margin:0 auto 45px;width:86%}.cover-organized-label{font:bold 18px/1.3 "Times New Roman",serif}.cover-department{font:18px/1.3 "Times New Roman",serif;margin-top:4px}.cover-meta{margin-top:34px;display:grid;gap:7px;font:16px/1.3 "Times New Roman",serif;text-align:center}.paper{display:flex;flex-direction:column;aspect-ratio:210/297;min-height:0}.paper>.official-header{flex:none}.paper .cover-main{padding:8px 8px 5px}.paper .cover-activity{font-size:1.18rem;padding:0 16px 5px}.paper .cover-event-name{font-size:.82rem;margin-top:14px}.paper .cover-organizer{width:100%;margin:0 auto 8px}.paper .cover-organized-label,.paper .cover-department{font-size:.61rem}.paper .cover-meta{font-size:.52rem;gap:2px;margin-top:9px}
@media print{@page{size:A4;margin:10mm}html,body{background:#fff!important;overflow:visible!important}#previewDialog{position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important}.report-document{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}.report-page{width:190mm;min-height:277mm;height:277mm;margin:0;padding:10mm;overflow:hidden;break-after:page;page-break-after:always}.report-page:last-child{break-after:auto;page-break-after:auto}.report-cover{height:277mm;min-height:277mm}.report-cover .official-header{margin-top:0}}
.report-document{font-family:"Times New Roman",Times,serif}.document-title{text-align:center!important;color:#000!important;font:bold 18px/1.25 "Times New Roman",serif!important;border:0!important;text-decoration:underline;margin:12px 0 16px!important;padding:0!important}.event-report-page{padding:32px 40px}.event-report-page .official-header{margin-bottom:10px}.event-details{table-layout:fixed;margin:0 0 18px}.event-details th{width:29%;font-weight:bold;background:#f4f4f4;vertical-align:top}.event-details td{width:71%;vertical-align:top}.event-report-page h3,.photo-conclusion-page h3{font:bold 15px/1.25 "Times New Roman",serif;margin:14px 0 5px;text-decoration:underline;color:#000}.event-report-page p,.photo-conclusion-page p{font:14px/1.55 "Times New Roman",serif;text-align:justify;margin:0 0 10px;orphans:3;widows:3}.event-report-page .report-points{line-height:1.6}.event-report-continuation h3:first-of-type{margin-top:16px}.notice-page h2{color:#000!important;border:0!important;text-align:center;text-decoration:underline;font:bold 16px/1.3 "Times New Roman",serif;padding:0!important;margin:14px 0 18px!important}.notice-page p{font:14px/1.6 "Times New Roman",serif;text-align:justify}.notice-page .signatures{margin-top:70px}.photo-conclusion-page h2{text-align:center;font:bold 18px/1.25 "Times New Roman",serif;color:#000;border:0;text-decoration:underline}.report-photo-grid figure{margin:0;text-align:center;break-inside:avoid}.report-photo-grid figcaption{font:12px/1.3 "Times New Roman",serif;margin-top:4px}.photo-conclusion-page .signatures{margin-top:65px;align-items:flex-end}
.notice-preview-title{border-bottom:0!important;color:#000;text-decoration:underline}
.brand-mark{background:#fff;padding:3px;overflow:hidden}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.include-toggle{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;border:1px solid #9fb3c8;border-radius:10px;background:#f7fafc;padding:12px 14px;cursor:pointer}.include-toggle input{width:18px;height:18px;margin-top:2px;accent-color:var(--teal)}.include-toggle span{display:flex;flex-direction:column}.include-toggle strong{font-size:.9rem;color:var(--navy)}.include-toggle small{font-size:.74rem;color:var(--muted)}.cover-date-time{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:22px;font:16px/1.3 "Times New Roman",serif}.signatures{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:18px;align-items:end}.signatures>div{min-width:0;font:13px/1.35 "Times New Roman",serif}.signature-space{display:block;height:52px;border-bottom:1px solid #555;margin:0 10px 7px}.preview-excluded{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:8px;padding:30px}.preview-excluded strong{color:var(--navy);font-size:.9rem}.preview-excluded span{font-size:.65rem}.print-like-preview{width:100%;height:100%;overflow:hidden}.paper .print-like-preview.report-cover{height:100%;min-height:0;border:0!important;padding:0}.paper .print-like-preview.event-report-page,.paper .print-like-preview.notice-page,.paper .print-like-preview.photo-conclusion-page,.paper .print-like-preview.attendance-page,.paper .print-like-preview.feedback-page,.paper .print-like-preview.flyer-page{padding:0;border:0!important}.paper .document-title,.paper .notice-page h2,.paper .photo-conclusion-page h2{font-size:.66rem!important;margin:5px 0 7px!important}.paper .event-details{margin-bottom:6px}.paper .event-details th,.paper .event-details td{font-size:.38rem;padding:2px}.paper .event-report-page h3,.paper .photo-conclusion-page h3{font-size:.5rem;margin:5px 0 2px}.paper .event-report-page p,.paper .notice-page p,.paper .photo-conclusion-page p{font-size:.4rem;line-height:1.35;margin-bottom:4px}.paper .report-photo-grid{gap:5px}.paper .report-photo-grid img{height:90px}.paper .signatures{gap:4px;margin-top:12px}.paper .signatures>div{font-size:.34rem}.paper .signature-space{height:18px;margin:0 2px 3px}.paper .cover-date-time{font-size:.52rem;margin-top:8px;gap:4px}
@media print{.event-report-page,.notice-page,.photo-conclusion-page{padding:9mm 10mm}.event-report-page p,.notice-page p,.photo-conclusion-page p{text-align:justify!important}.notice-page h2{border:0!important}.event-details tr,.report-photo-grid figure{break-inside:avoid;page-break-inside:avoid}}
.cover-date-time{display:grid;justify-items:center;gap:7px}.cover-date-time>div{white-space:nowrap}
.progress-track span{width:16.67%}.evidence-subsection{display:grid;grid-template-columns:1fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfdff}.evidence-subsection>h3{margin:0;color:var(--navy);font-size:1rem}.compact-upload{min-height:130px}.signature-card{grid-template-columns:1fr}.authority-row{grid-column:1/-1;display:grid;grid-template-columns:150px minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}.authority-toggle{align-self:center;font-weight:700;color:var(--navy);cursor:pointer}.authority-toggle input{width:17px;height:17px;vertical-align:middle;margin-right:6px;accent-color:var(--teal)}@media(max-width:720px){.authority-row{grid-template-columns:1fr}.compact-upload{min-height:120px}}
