:root{color-scheme:light;--ink:#252931;--muted:#657080;--yellow:#ffc400;--line:#dce2e9}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f2f4f7;color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}header{height:74px;background:white;border-bottom:1px solid var(--line);padding:0 max(22px,calc((100% - 1016px)/2));display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:21px;font-weight:750;letter-spacing:-.6px}.brand b{display:grid;place-items:center;width:38px;height:38px;background:var(--yellow);border-radius:10px;font-size:17px}header small,.intro small,.sheet>small{font-size:11px;font-weight:750;letter-spacing:1.6px;color:#877020}header small{color:var(--muted)}main{max-width:1060px;margin:40px auto;padding:0 22px}.intro{max-width:710px}h1{font-size:clamp(30px,4vw,44px);line-height:1.17;letter-spacing:-1.5px;margin:13px 0 17px}h1 span{color:#727c89}.intro p{font-size:16px;color:var(--muted);max-width:550px}.steps{display:flex;gap:30px;padding:0;margin:29px 0;list-style:none}.steps li{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted);font-weight:650}.steps b{display:grid;place-items:center;width:30px;height:30px;background:white;border:1px solid #ced5df;border-radius:50%}.steps [aria-current]{color:var(--ink)}.steps [aria-current] b{background:var(--yellow);border-color:var(--yellow)}.steps .done b{background:#e2f3eb;border-color:#c2ded0;color:#17664e}.sheet{padding:30px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 8px 28px #25304106}h2{font-size:25px;letter-spacing:-.5px;margin:6px 0 9px}.muted{color:var(--muted);margin:0 0 24px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}article{border:1px solid var(--line);border-radius:13px;padding:18px;min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}h3{font-size:16px;margin:0}.badge{font-size:11px;padding:4px 9px;border-radius:20px;background:#f0f2f5;color:var(--muted)}.badge.saved{background:#e2f3eb;color:#17664e}.preview{height:174px;padding:10px;background:#f5f7fa;border:1px dashed #cbd4df;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:auto}.preview>span{font-size:40px;color:#99a4b3}.preview p{font-size:13px;color:var(--muted);margin:4px 0}.preview img{max-width:100%;max-height:150px;object-fit:contain}.preview a{color:#365575;font-weight:600}.file-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere;min-height:18px;margin:9px 0}.upload-button{position:relative;display:block;border:1px solid #c9d2de;border-radius:8px;padding:10px 14px;text-align:center;font-size:13px;font-weight:650;cursor:pointer}.upload-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-button:focus-within{outline:3px solid #ffe38c}.upload-status{font-size:12px;color:var(--muted);min-height:36px;margin:10px 0 0}progress{width:100%;height:10px;accent-color:var(--yellow);margin-top:13px}.hint{font-size:13px;background:#f6f7f9;border-radius:9px;padding:14px 16px;color:#626c7b;margin:20px 0}footer{border-top:1px solid #e8ebf0;padding-top:22px;margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}footer p{margin:0;max-width:330px;font-size:13px;color:var(--muted)}button,input{font:inherit}button{cursor:pointer;border:1px solid #cbd3de;border-radius:8px;padding:10px 14px;background:white}.primary{border:0;background:var(--yellow);color:#272727;padding:13px 19px;font-weight:700;font-size:14px}.primary:hover{background:#edb800}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b68d00;outline-offset:3px}.saved-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#edf7f2;color:#17664e;border-radius:9px;padding:13px 15px;margin-bottom:25px;font-size:13px}.saved-strip button{border:0;background:transparent;padding:4px;color:#365575;font-size:13px;text-decoration:underline}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 22px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.wide{grid-column:1/-1}.form-grid input{width:100%;min-width:0;height:46px;border:1px solid #cbd3dd;border-radius:8px;padding:10px 12px;background:white;color:var(--ink)}.form-grid input:focus{outline:3px solid #ffeb9c;border-color:#b69422}.form-grid input[readonly]{background:#f3f5f7;color:var(--muted)}.form-grid small{font-weight:400;color:var(--muted)}#notice{padding:14px 18px;margin-bottom:18px;border:1px solid #e7c2b9;background:#fff3ef;color:#803d32;border-radius:10px}#load-error{margin-bottom:20px}#load-error a{margin-left:12px;color:#365575}.bottom-note{font-size:12px;color:var(--muted);text-align:center;margin:24px 10px 40px}@media(max-width:620px){header{height:62px;padding:0 18px}header small{font-size:9px}main{margin:27px auto;padding:0 14px}h1{font-size:31px}.intro p{font-size:14px}.steps{gap:8px;justify-content:space-between}.steps li{font-size:11px;gap:5px}.steps b{width:25px;height:25px}.sheet{padding:20px 16px;border-radius:13px}h2{font-size:22px}.upload-grid,.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}article{padding:14px}.preview{height:155px}footer{flex-direction:column;align-items:stretch}footer p{max-width:none}.primary{width:100%}.saved-strip{align-items:flex-start;flex-direction:column}.bottom-note{margin-bottom:max(30px,env(safe-area-inset-bottom))}}

/* TE_LICENSE_DEFERRAL_V1 */
#license-choice{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;border:0;border-top:4px solid #ffc107;border-radius:20px;background:#fff;color:#252525;box-shadow:0 24px 80px #0005;font:inherit;overflow:auto}
#license-choice::backdrop{background:rgba(20,24,30,.58);backdrop-filter:blur(4px)}
.choice-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 0}
.choice-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff3cc;color:#a32925;font-size:28px}
#choice-close{border:0;background:#f3f4f5;border-radius:50%;width:36px;height:36px;padding:0;font-size:25px;color:#555}
.choice-body{padding:20px 24px}
.choice-body small{color:#a32925;font-size:11px;font-weight:750;letter-spacing:1px}
.choice-body h2{font-size:25px;line-height:1.25;margin:10px 0 14px}
.choice-body p{font-size:15px;line-height:1.65;color:#667080;margin:0}
.choice-actions{display:flex;gap:12px;justify-content:flex-end;padding:18px 24px 24px;border-top:1px solid #eee}
.choice-actions button{min-height:46px;border-radius:10px;font:inherit;font-size:14px;font-weight:650}
#choice-later,#license-later-button{background:white;border:1px solid #d6dbe1;color:#8d2927}
#choice-error{margin-top:14px;color:#a32925}
#license-choice button:focus-visible{outline:3px solid #bb3028;outline-offset:3px}
@media(max-width:420px){.choice-actions{flex-direction:column-reverse}.choice-actions button{width:100%}}
