:root { color-scheme:light; --ink:#14213a; --muted:#54637b; --paper:#fff; --page:#f3f6fc; --line:#dce4f1; --blue:#244fcd; --soft:#eef3ff; font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:var(--page); }
button,input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; }
button:focus-visible, .format-option:focus-within { outline:2px solid #2855da; outline-offset:3px; }
.top { background:#0d1830; color:white; }
.top-inner,.workspace { width:min(1136px,100%); margin:auto; padding-inline:28px; }
.top-inner { display:flex; align-items:center; min-height:71px; gap:12px; font-size:1.04rem; font-weight:690; }
.top-inner img { flex:none; }
h1,h2,p { margin:0; }
.heading { padding:44px 0 25px; }
h1 { font-size:clamp(2rem,4.7vw,3rem); line-height:1.12; letter-spacing:-.045em; }
.heading p { margin-top:8px; color:var(--muted); }
.layout { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(256px,1fr); gap:16px; align-items:start; }
.panel { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:24px; min-width:0; }
h2 { font-size:1.16rem; line-height:1.3; letter-spacing:-.015em; }
.drop-zone { display:grid; width:100%; min-height:154px; padding:18px 12px; margin:14px 0 19px; place-content:center; justify-items:center; gap:5px; background:#f7f9ff; border:1px dashed #9bb0dc; border-radius:10px; color:var(--blue); }
.drop-zone:enabled:hover,.drop-zone.dragging { background:#edf3ff; border-color:#4b6bd3; }
.drop-zone:disabled { opacity:.76; }
.drop-zone strong { overflow-wrap:anywhere; }
.drop-zone span { color:var(--muted); font-size:.875rem; overflow-wrap:anywhere; text-align:center; }
fieldset { border:0; padding:0; margin:0; }
legend { padding:0; font-size:.94rem; font-weight:690; margin-bottom:8px; }
.format-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.format-option { display:flex; align-items:center; padding:9px 12px; gap:9px; min-height:59px; border:1px solid var(--line); border-radius:8px; cursor:pointer; }
.format-option:has(input:checked) { border-color:#85a2f5; background:var(--soft); }
.format-option:has(input:disabled) { cursor:default; }
.format-option input { margin:0; accent-color:var(--blue); }
.format-option strong,.format-option small { display:block; }
.format-option small { font-size:.76rem; color:var(--muted); }
.actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:19px; }
.button { min-height:42px; padding:8px 14px; border:1px solid var(--line); border-radius:8px; color:var(--ink); font-size:.9rem; font-weight:700; background:var(--paper); }
.primary { min-width:152px; color:white; background:var(--blue); border-color:var(--blue); }
.primary:enabled:hover { background:#183ea9; }
.secondary:enabled:hover { background:var(--soft); }
.primary:disabled { color:#576783; background:#edf1f8; border-color:#edf1f8; }
.task-status { margin-top:18px; padding:11px 12px; background:#f4f7fc; border:1px solid var(--line); border-radius:9px; }
.status-line { display:flex; justify-content:space-between; gap:8px; align-items:center; font-size:.9rem; }
#status-value { color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
progress { display:block; width:100%; height:.58rem; margin-top:7px; accent-color:var(--blue); }
#status-note { margin-top:5px; color:var(--muted); font-size:.82rem; overflow-wrap:anywhere; }
#status-note:empty { display:none; }
.error { padding:8px 10px; margin-top:12px; color:#85292f; background:#fff1f1; border-radius:7px; font-size:.87rem; }
.profile dl { margin:9px 0 0; }
.profile dl div { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:baseline; padding:8px 0; border-bottom:1px solid #e8edf5; font-size:.91rem; }
.profile dt { color:var(--muted); }
.profile dd { margin:0; text-align:right; font-weight:680; }
.profile-note { font-size:.8rem; color:var(--muted); margin-top:13px; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 16px; margin:14px 0 23px; color:var(--muted); font-size:.8rem; }
@media (max-width:760px) { .layout { grid-template-columns:1fr; } .heading { padding-top:29px; } }
@media (max-width:450px) { .top-inner,.workspace { padding-inline:14px; } .top-inner { min-height:61px; } .panel { padding:16px; } .profile dl div { font-size:.875rem; } }
