:root{--bg:#f4f4f5;--bg-elevated:#ffffff;--bg-soft:#e4e4e7;--surface:#ffffff;--surface-alt:#f4f4f5;--border:rgba(9,9,11,0.07);--border-strong:rgba(9,9,11,0.13);--text:#52525b;--heading:#09090b;--muted:#71717a;--accent:#6366f1;--accent-dark:#4f46e5;--accent-2:#10b981;--danger:#ef4444;--warning:#f59e0b;--success:#10b981;--accent-rgb:99,102,241;--accent-2-rgb:16,185,129;--problem-unrated-color:#09090b;--shadow:0 1px 2px rgba(9,9,11,0.04),0 2px 8px rgba(9,9,11,0.04);--shadow-md:0 2px 8px rgba(9,9,11,0.06),0 8px 28px rgba(9,9,11,0.07);--shadow-lg:0 8px 24px rgba(9,9,11,0.08),0 20px 60px rgba(9,9,11,0.10);--radius:8px;--radius-sm:5px;--radius-lg:12px;--radius-xl:16px;--radius-pill:999px;--max-width:1200px;--site-header-height:60px;--font-sans:"Pretendard","Noto Sans KR",sans-serif;--font-mono:"JetBrains Mono","Cascadia Code","Fira Code","D2Coding","SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;--lh-body:1.6;--lh-reading:1.8}html[data-theme=dark]{--bg:#0b0b12;--bg-elevated:#181821;--bg-soft:#2a2a36;--surface:#181821;--surface-alt:#1f1f2a;--border:rgba(255,255,255,0.10);--border-strong:rgba(255,255,255,0.16);--text:#ededf0;--heading:#ffffff;--muted:#c4c4cc;--accent:#a5b4fc;--accent-dark:#818cf8;--accent-2:#5eead4;--danger:#fb7185;--warning:#fbbf24;--success:#5eead4;--accent-rgb:165,180,252;--accent-2-rgb:94,234,212;--problem-unrated-color:#ffffff;--shadow:0 1px 3px rgba(0,0,0,0.50),0 2px 10px rgba(0,0,0,0.40);--shadow-md:0 2px 12px rgba(0,0,0,0.60),0 12px 36px rgba(0,0,0,0.50);--shadow-lg:0 8px 32px rgba(0,0,0,0.70),0 28px 72px rgba(0,0,0,0.60);color-scheme:dark}*{box-sizing:border-box}html{color-scheme:light}body,html{max-width:100%;overflow-x:auto}body{margin:0;min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg);background-image:radial-gradient(ellipse 90% 60% at 60% -20%,rgba(99,102,241,.05) 0,transparent 60%),radial-gradient(ellipse 50% 50% at 100% 80%,rgba(99,102,241,.03) 0,transparent 60%);color:var(--text);font-family:var(--font-sans);font-size:15px;line-height:var(--lh-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body:has(.hp-root),html:has(.hp-root){overflow-x:hidden;overflow-x:clip}code,kbd,pre,samp{font-family:var(--font-mono)}html[data-theme=dark] body{background-image:radial-gradient(ellipse 80% 50% at 70% -10%,rgba(129,140,248,.07) 0,transparent 55%),radial-gradient(ellipse 40% 40% at 0 90%,rgba(129,140,248,.04) 0,transparent 60%)}a{color:inherit;text-decoration:none}img{max-width:100%}button,input,select,textarea{font:inherit}.page-shell{width:min(var(--max-width),calc(100% - 32px));margin:0 auto;flex:1 1 auto;padding-bottom:48px}.problem-feedback-row{display:inline-flex;align-items:center;gap:10px;margin-top:10px}.problem-feedback-button{width:28px;height:28px;border:none;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;line-height:1;cursor:pointer;padding:0;transition:transform .12s ease,color .12s ease,filter .12s ease,opacity .12s ease}.problem-feedback-button:hover{transform:translateY(-1px);color:var(--fg)}.problem-feedback-button:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:none}.problem-feedback-button.is-active{transform:translateY(-1px)}.problem-feedback-button.is-positive.is-active{color:#16a34a;filter:drop-shadow(0 0 6px rgba(22,163,74,.45))}.problem-feedback-button.is-negative.is-active{color:#dc2626;filter:drop-shadow(0 0 6px rgba(220,38,38,.42))}.problem-feedback-score{font-weight:800;font-size:1.05rem}.problem-feedback-score.is-positive{color:#16a34a}.problem-feedback-score.is-negative{color:#dc2626}.problem-feedback-score.is-neutral{color:var(--muted)}.doj-category-page{gap:20px}.doj-category-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}.doj-category-page-head-compact{align-items:center}.doj-category-page-head .page-title{margin:0}.doj-category-alert{padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text)}.doj-category-alert-danger{border-color:color-mix(in srgb,var(--danger) 42%,var(--border));background:color-mix(in srgb,var(--danger) 7%,var(--surface))}.doj-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:14px;gap:14px;align-items:stretch}.doj-category-browser-card{--category-card-accent-rgb:var(--accent-rgb);--category-card-border:var(--border);display:flex;min-height:146px;flex-direction:column;gap:12px;padding:18px;color:var(--text);background:var(--surface);border:1px solid var(--category-card-border);border-radius:var(--radius);text-decoration:none;transition:background .15s ease,border-color .15s ease,transform .15s ease}.doj-category-browser-card:hover{background:color-mix(in srgb,rgb(var(--category-card-accent-rgb)) 5%,var(--surface));border-color:rgba(var(--category-card-accent-rgb),.48);transform:translateY(-1px)}.doj-category-browser-card-compact{min-height:120px}.doj-category-card-title{color:var(--heading);font-size:1.05rem;font-weight:800;line-height:1.35}.doj-category-browser-card .doj-rich-snippet{display:-webkit-box;min-height:2.8em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.doj-category-progress-label{margin-top:auto;color:var(--muted);font-weight:700}.doj-category-progress-track{width:100%;height:8px;overflow:hidden;background:color-mix(in srgb,var(--fg) 11%,transparent);border-radius:var(--radius-pill)}.doj-category-progress-fill{width:var(--category-progress-width,0);height:100%;background:var(--category-progress-color,var(--accent));border-radius:inherit}.doj-category-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.doj-category-breadcrumb-item{display:inline-flex;align-items:center;gap:6px}.doj-category-breadcrumb-separator{color:var(--muted)}.doj-category-breadcrumb-link{display:inline-flex;min-height:32px;align-items:center;padding:5px 9px;color:var(--text);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);text-decoration:none}.doj-category-breadcrumb-link:hover{color:var(--heading);border-color:var(--border-strong);background:var(--surface-alt)}.doj-category-hero,.doj-category-section-panel{--category-card-accent-rgb:var(--accent-rgb);--category-card-border:var(--border);display:grid;grid-gap:16px;gap:16px;padding:20px 22px;background:var(--surface);border:1px solid var(--category-card-border);border-radius:var(--radius)}.doj-category-hero{background:linear-gradient(90deg,rgba(var(--category-card-accent-rgb),.08),transparent 34%),var(--surface)}.doj-category-hero-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.doj-category-title-group{display:grid;min-width:0;grid-gap:10px;gap:10px}.doj-category-kicker{color:var(--muted);font-weight:800}.doj-category-hero-progress{flex:0 0 auto;color:var(--heading);font-size:1.05rem;white-space:nowrap}.doj-category-section-panel{border-color:var(--border)}.doj-category-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.doj-category-section-head .section-title{margin:0}.doj-category-tag-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.doj-category-tag{display:inline-flex;min-height:30px;align-items:center;padding:5px 9px;color:var(--text);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-alt);font-size:.9rem;font-weight:700}html[data-theme=dark] .doj-category-alert,html[data-theme=dark] .doj-category-breadcrumb-link,html[data-theme=dark] .doj-category-browser-card,html[data-theme=dark] .doj-category-hero,html[data-theme=dark] .doj-category-section-panel{background-color:var(--surface);border-color:var(--border)}html[data-theme=dark] .doj-category-browser-card,html[data-theme=dark] .doj-category-hero{border-color:rgba(var(--category-card-accent-rgb),.3)}html[data-theme=dark] .doj-category-browser-card:hover{background:color-mix(in srgb,rgb(var(--category-card-accent-rgb)) 12%,var(--surface))}html[data-theme=dark] .doj-category-hero{background:linear-gradient(90deg,rgba(var(--category-card-accent-rgb),.14),transparent 36%),var(--surface)}@media (max-width:700px){.doj-category-hero-main,.doj-category-page-head{align-items:stretch;flex-direction:column}.doj-category-tag-row{justify-content:flex-start}.doj-category-grid{grid-template-columns:1fr}}.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:20;backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);background:rgba(244,244,245,.85);border-bottom:1px solid var(--border)}html[data-theme=dark] .site-header{background:rgba(9,9,11,.85);border-bottom-color:rgba(255,255,255,.06)}.site-footer-inner,.site-header-inner{width:min(var(--max-width),calc(100% - 32px));margin:0 auto}.site-header-inner{gap:20px;min-height:60px}.brand,.site-header-inner{display:flex;align-items:center}.brand{gap:9px;flex-shrink:0;text-decoration:none}.brand-mark{font-size:.6rem;letter-spacing:.18em;color:var(--accent);text-transform:uppercase;font-weight:700}.brand-logo{width:28px;height:28px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.brand-logo img,.brand-logo svg{width:100%;height:100%}.brand-name{font-size:1.2rem;font-weight:800;color:var(--heading);letter-spacing:-.05em;line-height:1}.nav-row{display:flex;gap:1px;align-items:center;flex:1 1 auto;justify-content:center;min-width:0}.nav-menu{position:relative;display:inline-flex;align-items:center}.nav-menu-popover{--nav-menu-popover-shift-x:0px;position:absolute;top:calc(100% + 9px);left:50%;z-index:1000;width:260px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 18px 48px rgba(15,23,42,.16);opacity:0;visibility:hidden;transform:translate(calc(-50% + var(--nav-menu-popover-shift-x)),-5px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.nav-menu-popover:before{content:"";position:absolute;right:0;bottom:100%;left:0;height:10px}.nav-menu-popover:focus-within,.nav-menu:hover .nav-menu-popover,.nav-menu>.nav-link:focus-visible+.nav-menu-popover{opacity:1;visibility:visible;transform:translate(calc(-50% + var(--nav-menu-popover-shift-x)))}.nav-menu-item{display:grid;grid-gap:4px;gap:4px;padding:7px 10px;border-radius:6px;color:var(--heading);text-decoration:none}.nav-menu-item:focus-visible,.nav-menu-item:hover{background:rgba(var(--accent-rgb),.08);outline:none}.nav-menu-item span{color:var(--muted);font-size:.8rem;line-height:1.45}.actions-row{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-shrink:0}.nav-link{color:var(--muted);padding:5px 11px;border-radius:var(--radius-pill);transition:color .12s ease,background .12s ease;font-weight:500;font-size:.875rem;white-space:nowrap;letter-spacing:-.01em}.nav-link-label{display:inline-flex;align-items:center;gap:6px}.nav-link-alert-dot{width:8px;height:8px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.14);flex:0 0 auto}.nav-link:hover{color:var(--heading);background:rgba(var(--accent-rgb),.06)}.nav-link.active{color:var(--accent);background:rgba(var(--accent-rgb),.1);font-weight:600}.nav-link-call-for-tasks{color:#fff3c2;background:linear-gradient(135deg,#d97706,#ea580c);box-shadow:0 10px 24px rgba(234,88,12,.22);font-weight:700}.nav-link-call-for-tasks:hover{color:#fffdf6;background:linear-gradient(135deg,#f59e0b,#f97316)}.nav-link-call-for-tasks.active{color:#fffdf6;background:linear-gradient(135deg,#f59e0b,#ea580c);box-shadow:0 12px 28px rgba(249,115,22,.28)}.actions-row .button,.actions-row .button-ghost{min-height:34px;padding-inline:14px;font-size:.84rem}.header-user-menu{position:relative;display:inline-flex;align-items:center}.header-user-trigger{font-weight:800}.header-user-dropdown{position:absolute;top:calc(100% + 9px);right:0;z-index:1000;min-width:132px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 18px 48px rgba(15,23,42,.16);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.header-user-dropdown:before{content:"";position:absolute;right:0;bottom:100%;left:0;height:10px}.header-token-balance{display:flex;gap:9px;align-items:center;min-width:154px;padding:9px 10px 10px;border-bottom:1px solid var(--border)}.header-token-mark{display:inline-grid;flex:0 0 26px;width:26px;height:26px;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 48%,var(--border));border-radius:50%;background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent);font-size:.75rem;font-weight:900}.header-token-copy{display:grid;grid-gap:1px;gap:1px;min-width:0}.header-token-copy span{color:var(--muted);font-size:.68rem;font-weight:700;line-height:1.1}.header-token-copy strong{color:var(--heading);font-size:.9rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.2}.header-user-dropdown:focus-within,.header-user-menu:hover .header-user-dropdown,.header-user-trigger:focus-visible+.header-user-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.header-user-dropdown-item{width:100%;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--heading);font:inherit;font-size:.84rem;font-weight:700;text-align:left;cursor:pointer}.header-user-dropdown-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:184px}.header-user-dropdown-actions form{min-width:0}.header-user-dropdown-actions .header-user-dropdown-item{display:flex;align-items:center;justify-content:center;height:100%;white-space:nowrap;text-align:center}.header-user-dropdown-item:focus-visible,.header-user-dropdown-item:hover{background:rgba(var(--accent-rgb),.08);outline:none}.notification-inbox-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:1rem;line-height:1}.notification-inbox-link:hover{background:rgba(var(--accent-rgb),.08)}.notification-inbox-badge{position:absolute;top:-4px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:white;font-size:.68rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.grid-2,.grid-3,.grid-4,.hero-grid{display:grid;grid-gap:16px;gap:16px;align-items:start}.hero-grid{grid-template-columns:2fr 1fr}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.form-card,.hero-card,.metric-card,.notice-card,.panel,.profile-header,.table-card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.hero-card{padding:24px 28px;display:grid;grid-gap:12px;gap:12px}.form-card,.panel,.profile-header,.table-card{padding:24px 26px}.doj-contest-rules-panel{border-color:rgba(220,38,38,.42)}.metric-card{padding:20px 22px}.notice-card{padding:18px 20px;display:grid;grid-gap:8px;gap:8px}.eyebrow{display:inline-block;color:var(--accent);font-size:.68rem;text-transform:uppercase;letter-spacing:.18em;font-weight:700}.doj-page-title,.page-title{font-size:clamp(2rem,4vw,2.6rem);line-height:1.08;letter-spacing:-.045em}.doj-page-title,.page-title,.problem-title{margin:0;color:var(--heading);font-weight:800}.problem-title{font-size:1.65rem;letter-spacing:-.03em;line-height:1.2;max-width:min(720px,100%);overflow-wrap:break-word;word-break:keep-all}.problem-title-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem;margin-top:4px}.problem-title-shortname{display:inline-block;color:var(--muted);font-size:.88rem;font-weight:700;letter-spacing:0;vertical-align:baseline}.problem-tier-reveal{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:0 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font:inherit;font-size:.78rem;font-weight:750;letter-spacing:0;line-height:1;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}.problem-tier-reveal:hover{border-color:rgba(var(--accent-rgb),.36);background:rgba(var(--accent-rgb),.055);color:var(--heading)}.problem-tier-reveal:focus-visible{outline:2px solid rgba(var(--accent-rgb),.38);outline-offset:2px}.problem-tier-reveal.is-revealed{border-color:rgba(var(--accent-rgb),.22);background:var(--surface);color:var(--heading)}.problem-tier-reveal-kicker{color:var(--muted);font-size:.72rem;text-transform:uppercase}.problem-tier-reveal-hidden{color:var(--muted)}.problem-tier-reveal-value{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.problem-tier-reveal-dot{width:7px;height:7px;border-radius:999px;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 16%,transparent)}.muted,.page-description{color:var(--muted)}.pre-line{white-space:pre-line}.doj-material-symbol{display:inline-block;flex:none;overflow:hidden;font-family:Material Symbols Rounded;font-style:normal;font-weight:400;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;font-feature-settings:"liga";-webkit-font-smoothing:antialiased;-webkit-user-select:none;-moz-user-select:none;user-select:none}.page-description{max-width:760px;font-size:1rem;line-height:1.7}.doj-difficulty-pill{display:inline-flex;align-items:center;gap:12px;font-weight:700;letter-spacing:-.02em}.doj-difficulty-bars{display:inline-flex;align-items:center;gap:3px}.doj-difficulty-bar{width:4px;height:14px;border-radius:999px;background:#d4dbe5}.section-title{margin:0 0 14px;font-size:1rem;font-weight:700;color:var(--heading);letter-spacing:-.01em}.panel-heading{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:0 0 12px}.small{font-size:.84rem;color:var(--muted)}.doj-inline-spinner{display:inline-flex;align-items:center;gap:.55rem;line-height:1}.doj-inline-spinner.is-sm{gap:.45rem;font-size:.84rem}.doj-inline-spinner.is-muted{color:var(--muted)}.doj-spinner{width:1rem;height:1rem;border-radius:999px;border:2px solid rgba(var(--accent-rgb),.18);border-top-color:var(--accent);animation:doj-spin .75s linear infinite;flex:none}.doj-inline-spinner.is-sm .doj-spinner{width:.88rem;height:.88rem}.doj-loading-panel{min-height:220px;display:grid;grid-gap:.75rem;gap:.75rem;place-content:center;justify-items:center;text-align:center}@keyframes doj-spin{to{transform:rotate(1turn)}}.section{padding:28px 0}.stack{display:grid;grid-gap:16px;gap:16px}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.doj-worker-command{padding:18px}.doj-worker-command-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer;list-style-position:outside}.doj-worker-command-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);font-size:12px;font-weight:800}.doj-worker-command-status.status-succeeded{color:#087f5b;background:#e6fcf5;border-color:#96f2d7}.doj-worker-command-status.status-assigned,.doj-worker-command-status.status-batch_completed,.doj-worker-command-status.status-claimed,.doj-worker-command-status.status-result_received,.doj-worker-command-status.status-upload_started{color:#1c4ed8;background:#edf2ff;border-color:#bac8ff}.doj-worker-command-status.status-lock_only,.doj-worker-command-status.status-queued,.doj-worker-command-status.status-retry_queued{color:#946200;background:#fff9db;border-color:#ffe066}.doj-worker-command-status.status-lease_released,.doj-worker-command-status.status-queue_completed,.doj-worker-command-status.status-testcase_stored{color:#087f5b;background:#e6fcf5;border-color:#96f2d7}.doj-worker-command-status.status-cancelled,.doj-worker-command-status.status-failed,.doj-worker-command-status.status-lease_expired,.doj-worker-command-status.status-timed_out{color:#c92a2a;background:#fff5f5;border-color:#ffc9c9}.doj-worker-command-output{max-height:360px;margin:6px 0 0;padding:14px;border:1px solid var(--border);border-radius:6px;background:#111318;color:#f1f3f5}.doj-worker-command-output,.judge-worker-terminal{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55}.judge-worker-terminal{min-height:220px;max-height:520px;padding:16px;border:1px solid #2b303b;border-radius:6px;background:#0f1115;color:#e9ecef;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Consolas,monospace)}.judge-worker-log-line{display:grid;grid-template-columns:92px 54px minmax(0,1fr);grid-gap:10px;gap:10px;padding:2px 0}.judge-worker-log-line.level-warn{color:#ffd43b}.judge-worker-log-line.level-error{color:#ff8787}.judge-worker-log-line.level-debug,.judge-worker-terminal-muted{color:#868e96}.judge-worker-console-entry{display:grid;grid-gap:5px;gap:5px;margin-bottom:16px}.judge-worker-console-entry pre{margin:0;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.judge-worker-console-entry pre.danger{color:#ff8787}.judge-worker-terminal-prompt{color:#69db7c;font-weight:800}.judge-worker-console-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;padding:10px 12px;border:1px solid #2b303b;border-radius:6px;background:#0f1115}.judge-worker-console-form input{width:100%;border:0;outline:0;background:transparent;color:#f8f9fa;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Consolas,monospace)}@media (max-width:700px){.judge-worker-log-line{grid-template-columns:72px 48px minmax(0,1fr)}.judge-worker-console-form{grid-template-columns:auto minmax(0,1fr)}.judge-worker-console-form .button{grid-column:1/-1}}.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.section-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.button,.button-danger,.button-ghost{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:var(--radius);padding:8px 16px;cursor:pointer;font-weight:600;font-size:.875rem;text-decoration:none;transition:opacity .1s ease,transform .1s ease,box-shadow .12s ease,background .12s ease,border-color .12s ease;white-space:nowrap;letter-spacing:-.01em}.button-danger:hover,.button-ghost:hover,.button:hover{transform:translateY(-1px)}.button-danger:active,.button-ghost:active,.button:active{transform:translateY(0)}.button{background:var(--accent);color:#fff;box-shadow:0 1px 2px rgba(var(--accent-rgb),.25),0 3px 10px rgba(var(--accent-rgb),.18)}.button:hover{background:var(--accent-dark);box-shadow:0 2px 6px rgba(var(--accent-rgb),.3),0 6px 18px rgba(var(--accent-rgb),.22)}html[data-theme=dark] .button{background:var(--accent);box-shadow:0 1px 3px rgba(var(--accent-rgb),.2),0 3px 12px rgba(var(--accent-rgb),.12)}.button-ghost{background:var(--bg-elevated);color:var(--text);border:1px solid var(--border-strong)}.button-ghost:hover{background:var(--bg-soft);color:var(--heading)}.button-ghost.active-filter{background:rgba(var(--accent-rgb),.08);color:var(--accent);border-color:rgba(var(--accent-rgb),.2);font-weight:700}.button-danger{background:transparent;color:var(--danger);border:1px solid rgba(239,68,68,.22)}.button-danger:hover{background:rgba(239,68,68,.06)}.button-danger:disabled,.button-ghost:disabled,.button:disabled{opacity:.78;cursor:progress;transform:none}.button-danger[aria-disabled=true],.button-ghost[aria-disabled=true],.button[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none;transform:none;filter:grayscale(.15)}.chip,.status-chip,.tier-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:var(--radius-pill);background:var(--surface-alt);border:1px solid var(--border);color:var(--muted);font-size:.75rem;font-weight:600;white-space:nowrap;line-height:1.5;letter-spacing:.01em}html[data-theme=dark] .chip{background:rgba(255,255,255,.04);border-color:var(--border)}.status-chip.success{color:#065f46;background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.2)}.status-chip.warning{color:#78350f;background:rgba(245,158,11,.08);border-color:rgba(245,158,11,.18)}.status-chip.danger{color:#7f1d1d;background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.18)}html[data-theme=dark] .status-chip.success{color:#6ee7b7;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.2)}html[data-theme=dark] .status-chip.warning{color:#fcd34d;background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.2)}html[data-theme=dark] .status-chip.danger{color:#fca5a5;background:rgba(248,113,113,.1);border-color:rgba(248,113,113,.2)}.table{width:100%;border-collapse:collapse}.table td,.table th{text-align:left;padding:11px 14px;border-bottom:1px solid var(--border)}.doj-submission-status-table{min-width:900px;table-layout:fixed;isolation:isolate;overflow:visible}.doj-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.doj-submission-status-scroll{position:relative}.doj-submission-status-shell{overflow:visible;position:relative;z-index:80}.doj-submission-status-table tbody,.doj-submission-status-table td,.doj-submission-status-table tr{overflow:visible}.doj-submission-status-table tbody tr{position:relative;z-index:1}.doj-submission-status-table tbody tr:focus-within,.doj-submission-status-table tbody tr:hover{z-index:20000}.doj-submission-status-table td:has(.doj-score-anchor:focus-within),.doj-submission-status-table td:has(.doj-score-anchor:hover),.doj-submission-status-table td:has(.doj-status-problem-anchor:focus-within),.doj-submission-status-table td:has(.doj-status-problem-anchor:hover){position:relative;z-index:20001}.doj-submission-status-table .doj-col-participant{width:14%}.doj-submission-status-table .doj-col-problem{width:18%}.doj-submission-status-table .doj-col-score{width:20%}.doj-submission-status-table .doj-col-usage{width:14%}.doj-submission-status-table .doj-col-language{width:8%}.doj-submission-status-table .doj-col-length,.doj-submission-status-table .doj-col-time{width:9%}.doj-submission-status-table .doj-col-details{width:8%}.doj-submission-status-table td:nth-child(3){min-width:0}.doj-archive-table td:first-child,.doj-archive-table td:nth-child(4),.doj-archive-table td:nth-child(5),.doj-archive-table td:nth-child(6),.doj-archive-table th:first-child,.doj-archive-table th:nth-child(4),.doj-archive-table th:nth-child(5),.doj-archive-table th:nth-child(6),.doj-history-table td:nth-child(2),.doj-history-table td:nth-child(3),.doj-history-table td:nth-child(5),.doj-history-table td:nth-child(6),.doj-history-table th:nth-child(2),.doj-history-table th:nth-child(3),.doj-history-table th:nth-child(5),.doj-history-table th:nth-child(6),.doj-ranking-table td:first-child,.doj-ranking-table td:nth-child(4),.doj-ranking-table td:nth-child(5),.doj-ranking-table td:nth-child(6),.doj-ranking-table td:nth-child(7),.doj-ranking-table th:first-child,.doj-ranking-table th:nth-child(4),.doj-ranking-table th:nth-child(5),.doj-ranking-table th:nth-child(6),.doj-ranking-table th:nth-child(7),.doj-submission-status-table td:nth-child(3),.doj-submission-status-table td:nth-child(4),.doj-submission-status-table td:nth-child(6),.doj-submission-status-table th:nth-child(3),.doj-submission-status-table th:nth-child(4),.doj-submission-status-table th:nth-child(6){font-family:var(--font-sans)}.doj-archive-table .doj-archive-col-solved{min-width:52px}.doj-archive-table .doj-archive-col-status{min-width:80px}.doj-submission-status-table td:nth-child(5),.doj-submission-status-table td:nth-child(6),.doj-submission-status-table td:nth-child(7),.doj-submission-status-table td:nth-child(8){white-space:nowrap}@media (max-width:700px){.doj-submission-status-shell{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.doj-submission-status-scroll{width:max-content;min-width:100%;overflow:visible}.doj-submission-status-table{width:980px;min-width:980px}}.doj-archive-table td:first-child,.doj-archive-table th:first-child{padding-left:24px}.doj-archive-table td:last-child,.doj-archive-table th:last-child,.doj-history-table td:last-child,.doj-history-table th:last-child,.doj-ranking-table td:last-child,.doj-ranking-table th:last-child{padding-right:24px}.doj-difficulty-badge{min-width:80px}.doj-archive-col-difficulty{min-width:64px}.doj-archive-score-compact{display:none}@media (max-width:600px){.doj-archive-score-full,.doj-archive-table .doj-archive-col-acceptance,.doj-archive-table .doj-archive-col-solved,.doj-archive-table .doj-score-bar-label:not(.doj-archive-score-label){display:none}.doj-archive-score-compact{display:inline}.doj-archive-table td:first-child,.doj-archive-table th:first-child{padding-left:0;padding-right:4px}}@media (max-width:450px){.doj-archive-table .doj-archive-col-status,.doj-archive-table .doj-archive-col-status-cell,.doj-archive-table .doj-difficulty-bars{display:none}}.table th{color:var(--muted);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;background:var(--surface-alt);font-family:var(--font-sans)}.table tbody tr{transition:background .1s}.table tbody tr:hover{background:rgba(var(--accent-rgb),.03)}.table tr:last-child td{border-bottom:0}.form-grid{display:grid;grid-gap:16px;gap:16px}.contribution-tag-grid{display:flex;gap:10px;flex-wrap:wrap}.contribution-tag-option{display:inline-flex;align-items:center;gap:8px}.contribution-tag-option input{width:16px;height:16px}.label{display:grid;grid-gap:6px;gap:6px;color:var(--text);font-size:.82rem;font-weight:600}.input,.select,.textarea{width:100%;border:1px solid var(--border-strong);background:var(--bg-elevated);border-radius:var(--radius);padding:9px 12px;color:var(--text);outline:none;transition:border-color .12s ease,box-shadow .12s ease}html[data-theme=dark] .input,html[data-theme=dark] .select,html[data-theme=dark] .textarea{background:var(--bg-soft)}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.textarea{min-height:120px;resize:vertical}.code-block{font-family:var(--font-mono);font-size:.86rem;line-height:1.6;white-space:pre-wrap;background:var(--surface-alt);border-radius:var(--radius);padding:12px 14px;color:var(--heading);border:1px solid var(--border);min-height:52px}html[data-theme=dark] .code-block{background:#111113;color:#c8dcf0;border-color:rgba(255,255,255,.06)}.copyable-code-block{display:flex;flex-direction:column}.copyable-code-header{display:flex;align-items:center;justify-content:space-between;padding:5px 10px 5px 12px;background:var(--bg-soft);border:1px solid var(--border);border-bottom:0;border-radius:var(--radius) var(--radius) 0 0}.code-label{font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.copyable-code-block .code-block{border-radius:0 0 var(--radius) var(--radius)}.doj-submission-code-viewer{display:grid;grid-gap:0;gap:0;overflow:hidden;border-radius:18px;border:1px solid rgba(var(--accent-rgb),.14);background:#232733;box-shadow:var(--shadow-md)}.doj-submission-code-header{border-radius:0;padding:10px 14px 10px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02))}.doj-submission-code-header .chip{background:rgba(var(--accent-rgb),.14);border-color:rgba(var(--accent-rgb),.3);color:#f6f7fb}.doj-readonly-code-shell{border:0;border-radius:0;box-shadow:none}.doj-readonly-code-shell .cm-editor{font-size:.92rem;border-radius:0}.doj-readonly-code-shell .cm-content,.doj-readonly-code-shell .cm-line,.doj-readonly-code-shell .cm-scroller{font-family:var(--font-mono)}.copy-button{background:transparent;border:0;color:var(--muted);font-size:.73rem;font-weight:600;cursor:pointer;padding:3px 7px;border-radius:var(--radius-sm);transition:color .12s ease,background .12s ease;font-family:var(--font-sans)}.copy-button:hover{color:var(--accent);background:rgba(var(--accent-rgb),.08)}.sample-pair{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.sample-block{display:grid;grid-gap:6px;gap:6px}.sample-number{font-size:.73rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.problem-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,296px);grid-gap:20px;gap:20px;align-items:start}.problem-layout>*{min-width:0}.problem-header-top{display:grid;grid-template-columns:minmax(min(100%,22rem),1fr) auto;align-items:flex-start;grid-gap:16px;gap:16px}.problem-header-top>*,.problem-header-top>:first-child{min-width:0}.problem-header-actions,.problem-header-top>.inline{max-width:100%}[data-problem-hero-card]{padding:18px 22px;gap:10px}.problem-header-actions{align-self:flex-start;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.problem-header-actions .problem-feedback-row{margin-top:0}.problem-score-panel{margin-top:6px;padding:14px 18px}.problem-score-panel .doj-score-bar.is-large{min-height:34px}.problem-tags-section{margin-top:8px}.problem-meta-tag-disclosure{display:grid;justify-items:start;grid-gap:8px;gap:8px}.problem-meta-tag-toggle{border:0;background:transparent;color:var(--accent);cursor:pointer;padding:0;font-weight:750;text-decoration:none}.problem-meta-tag-toggle:hover{color:var(--accent-strong)}.problem-meta-tag-list{list-style:none;display:grid;grid-gap:5px;gap:5px;margin:0;padding:0;color:var(--text);font-weight:650}.problem-meta-tag-scroll{min-width:0;max-width:min(56vw,920px);overflow-x:auto;overflow-y:hidden;padding-bottom:4px;scrollbar-width:thin;overscroll-behavior-inline:contain}.problem-meta-tag-track{display:flex;width:max-content;min-width:100%;gap:6px;white-space:nowrap}.problem-meta-tag-track .chip{flex:0 0 auto}.problem-article{padding:32px 38px;min-width:0}.problem-sidebar{min-width:0;align-self:stretch;align-content:start}.doj-problem-submit-dock{position:-webkit-sticky;position:sticky;top:68px;align-self:start;z-index:15}.doj-problem-submit-dock .form-card{transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease;border-color:rgba(var(--accent-rgb),.18);box-shadow:0 18px 36px rgba(15,23,42,.12),0 8px 18px rgba(var(--accent-rgb),.14)}.article-section{padding-top:24px;margin-top:20px;border-top:1px solid var(--border)}.article-section:first-child{padding-top:0;margin-top:0;border-top:0}.article-heading{font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:0 0 12px}.judge-list{margin:0;display:grid}.judge-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:7px 0;border-bottom:1px solid var(--border);font-size:.82rem}.judge-row:last-child{border-bottom:0;padding-bottom:0}.judge-row dt{color:var(--muted);font-weight:500}.judge-row dd{margin:0;color:var(--heading);font-weight:600;font-family:var(--font-sans);font-size:.79rem;text-align:right}.submission-list{display:grid;margin-top:2px}.submission-row{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-areas:"status score action" "time time action";align-items:start;grid-gap:6px;gap:6px;padding:8px 0;border-bottom:1px solid var(--border)}.submission-row>.status-chip{grid-area:status}.submission-row:last-child{border-bottom:0;padding-bottom:0}.sub-score,.submission-mini-score{grid-area:score;min-width:0}.submission-mini-score{min-height:30px}.submission-mini-score .doj-score-bar-label{font-size:.76rem}.doj-subtask-summary-header{gap:12px;align-items:center}.doj-subtask-title-group{gap:14px;flex:1 1 auto}.doj-subtask-resource-list,.doj-subtask-title-group{display:inline-flex;align-items:center;min-width:0;flex-wrap:wrap}.doj-subtask-resource-list{justify-content:flex-end;gap:8px;flex:0 1 auto}.doj-subtask-resource-chip{display:inline-flex;align-items:baseline;gap:6px;min-height:30px;padding:5px 10px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.035);color:var(--muted);font-size:.78rem;white-space:nowrap}.doj-subtask-resource-chip strong{color:var(--fg);font-weight:800}.doj-subtask-summary-meta{gap:12px;flex:1 1 auto}.doj-subtask-summary-meta,.doj-subtask-summary-score{display:inline-flex;align-items:center;justify-content:flex-end}.doj-subtask-summary-score{gap:10px;min-width:min(420px,100%)}.doj-subtask-summary-score .submission-mini-score{flex:1 1 280px}.doj-subtask-summary-chevron{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;color:var(--muted);transition:transform .16s ease,color .16s ease}.doj-subtask-summary-chevron svg{width:18px;height:18px;display:block;stroke:currentColor;stroke-width:2.25;fill:none;stroke-linecap:round;stroke-linejoin:round}details[open]>.doj-subtask-summary-toggle .doj-subtask-summary-chevron{transform:rotate(180deg);color:var(--fg)}.sub-time{grid-area:time;font-size:.76rem;color:var(--muted);min-width:0;overflow-wrap:anywhere}.submission-action{grid-area:action;align-self:center}.problem-pdf-frame{border:1px solid var(--border);overflow:hidden;min-height:90.72vh;background:var(--surface-alt)}.problem-pdf-frame iframe{display:block;width:100%;min-height:90.72vh;border:0}.doj-custom-problem-frame{display:block;width:100%;min-height:420px;border:0;border-radius:0;background:transparent;overflow:hidden}.custom-problem-interaction{width:min(100%,920px);margin-inline:auto}.custom-problem-statement-interaction{margin-top:24px}.custom-subtask-tabs{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.custom-subtask-tab{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:7px 12px;font-size:.82rem;font-weight:700;cursor:pointer;min-height:34px}.custom-subtask-tab.is-active{border-color:rgba(var(--accent-rgb),.42);background:rgba(var(--accent-rgb),.12);color:var(--accent)}.doj-custom-submit-button{width:100%;display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:46px}.monospace{font-family:var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}.legal-policy-page{max-width:980px;margin:0 auto}.legal-policy{display:block;padding:34px 38px;line-height:1.72}.legal-policy-intro{display:grid;grid-gap:10px;gap:10px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--border)}.legal-policy-intro .page-title{margin:0}.legal-policy-section{display:grid;grid-gap:10px;gap:10px;margin-top:30px}.legal-policy-section h2{margin:0 0 4px;font-size:clamp(1.28rem,2vw,1.7rem);line-height:1.35}.legal-policy p,.legal-policy ul{margin:0}.legal-policy ul{padding-left:1.25rem}.legal-policy li+li{margin-top:2px}.legal-policy-table{min-width:680px;margin:2px 0 6px;border:1px solid var(--border);border-collapse:collapse}.legal-policy-table td,.legal-policy-table th{padding:12px 14px;border:1px solid var(--border);vertical-align:top}.legal-policy-table th{color:var(--foreground);background:var(--surface-alt);font-size:.9rem;letter-spacing:0;text-transform:none}.legal-policy-table td:first-child{width:34%;font-weight:700;white-space:nowrap}@media (max-width:700px){.legal-policy{padding:24px 18px}.legal-policy-section{margin-top:24px}}