@import "https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css";
.contest-question-workspace-page{gap:20px}.contest-question-workspace-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.contest-question-workspace-back{width:fit-content;color:var(--muted);font-size:.875rem;font-weight:600;text-decoration:none}.contest-question-workspace-back:hover{color:var(--accent)}.contest-question-workspace-subtitle{margin:0}.contest-question-workspace{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--bg-elevated);grid-template-columns:minmax(280px,360px) minmax(0,1fr);min-height:min(720px,100vh - 190px);display:grid;overflow:hidden}.contest-question-workspace-list-pane{background:var(--surface-alt);border-right:1px solid var(--border-strong);grid-template-rows:auto minmax(0,1fr);min-width:0;display:grid}.contest-question-workspace-list-header{border-bottom:1px solid var(--border);padding:14px}.contest-question-workspace-filter{border-radius:var(--radius);background:var(--bg-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.contest-question-workspace-filter button{border-radius:var(--radius-sm);min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:5px;padding:5px 7px;font-size:.8rem;font-weight:600;display:inline-flex}.contest-question-workspace-filter button:hover{color:var(--heading)}.contest-question-workspace-filter button.is-active{background:var(--bg-elevated);color:var(--heading);box-shadow:0 1px 2px #09090b14}.contest-question-workspace-filter button span{color:var(--accent);font-variant-numeric:tabular-nums}.contest-question-workspace-list{min-height:0;overflow-y:auto}.contest-question-workspace-list-item{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;gap:6px;padding:15px 16px;transition:background .14s,color .14s;display:grid;position:relative}.contest-question-workspace-list-item:hover{background:rgba(var(--accent-rgb), .05)}.contest-question-workspace-list-item.is-selected{background:rgba(var(--accent-rgb), .11);color:var(--heading)}.contest-question-workspace-list-item:focus-visible,.contest-question-workspace-filter button:focus-visible,.contest-question-workspace-presets button:focus-visible{z-index:1;outline:2px solid var(--accent);outline-offset:-2px;position:relative}.contest-question-workspace-list-item-topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.contest-question-workspace-state{color:var(--warning);font-size:.75rem;font-weight:700}.contest-question-workspace-state.is-answered{color:var(--success)}.contest-question-workspace-list-date,.contest-question-workspace-list-problem,.contest-question-workspace-list-preview{color:var(--muted);font-size:.78rem}.contest-question-workspace-list-date{white-space:nowrap}.contest-question-workspace-list-item strong,.contest-question-workspace-list-problem,.contest-question-workspace-list-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contest-question-workspace-list-item strong{color:inherit;font-size:.94rem}.contest-question-workspace-unsaved{width:fit-content;color:var(--accent);font-size:.75rem;font-weight:700}.contest-question-workspace-list-empty{color:var(--muted);text-align:center;padding:36px 20px;font-size:.875rem;line-height:1.6}.contest-question-workspace-answer-pane{background:var(--bg-elevated);flex-direction:column;min-width:0;display:flex}.contest-question-workspace-question-header{border-bottom:1px solid var(--border);padding:24px 28px 20px}.contest-question-workspace-question-header h2{color:var(--heading);text-wrap:balance;overflow-wrap:anywhere;margin:0;font-size:1.25rem;line-height:1.35}.contest-question-workspace-question-meta{flex-wrap:wrap;gap:6px}.contest-question-workspace-question-body{border-bottom:1px solid var(--border);min-height:130px;color:var(--heading);overflow-wrap:anywhere;padding:24px 28px;font-size:.98rem;line-height:1.75}.contest-question-workspace-form{gap:20px;min-width:0;padding:24px 28px 28px;display:grid}.contest-question-workspace-presets{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.contest-question-workspace-presets legend{color:var(--text);margin-bottom:8px;font-size:.82rem;font-weight:600}.contest-question-workspace-presets>div{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.contest-question-workspace-presets button{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-alt);max-width:100%;color:var(--text);cursor:pointer;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:7px 10px;font-size:.8rem;line-height:1.4;transition:background .12s,border-color .12s,color .12s}.contest-question-workspace-presets button:hover{border-color:rgba(var(--accent-rgb), .35);background:rgba(var(--accent-rgb), .08);color:var(--heading)}.contest-question-workspace-response-label .textarea{min-height:150px;line-height:1.7}.contest-question-workspace-form-footer{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.contest-question-workspace-form-footer>.label{width:min(100%,280px)}.contest-question-workspace-save-area{justify-content:flex-end;align-items:center;gap:12px;min-height:40px;display:flex}.contest-question-workspace-answer-empty{min-height:320px;color:var(--muted);text-align:center;flex:1;place-content:center;gap:8px;padding:32px;display:grid}.contest-question-workspace-answer-empty strong{color:var(--heading)}@media (max-width:800px){.contest-question-workspace-heading{align-items:flex-start}.contest-question-workspace{grid-template-columns:minmax(0,1fr);min-height:0;overflow:visible}.contest-question-workspace-list-pane{border-right:0;border-bottom:1px solid var(--border-strong);max-height:340px}}@media (max-width:640px){.contest-question-workspace-heading{flex-direction:column;gap:12px}.contest-question-workspace-question-header,.contest-question-workspace-question-body,.contest-question-workspace-form{padding-left:18px;padding-right:18px}.contest-question-workspace-form-footer{flex-direction:column;align-items:stretch}.contest-question-workspace-form-footer>.label{width:100%}.contest-question-workspace-save-area{flex-direction:column;align-items:stretch}.contest-question-workspace-save-area .button{width:100%}}@media (prefers-reduced-motion:reduce){.contest-question-workspace-list-item,.contest-question-workspace-presets button{transition:none}}
.contest-balloon-console,.contest-balloon-settings{gap:16px;display:grid}.contest-balloon-header{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.contest-balloon-header .page-title,.contest-balloon-context{margin:0}.contest-balloon-context{color:var(--muted);margin-bottom:3px;font-size:.9rem;font-weight:600}.contest-balloon-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.contest-balloon-header-actions .button-ghost,.contest-balloon-header>.button-ghost{align-items:center;gap:7px;display:inline-flex}.contest-balloon-sync{color:var(--muted);align-items:center;gap:6px;font-size:.84rem;font-weight:600;display:inline-flex}.contest-balloon-sync .doj-material-symbol{color:var(--success)}.contest-balloon-summary{border-block:1px solid var(--border-strong);background:var(--surface);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.contest-balloon-summary-item{min-height:58px;color:var(--text);grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px 16px;display:grid}.contest-balloon-summary-item+.contest-balloon-summary-item{border-left:1px solid var(--border)}.contest-balloon-summary-item strong{color:var(--heading);font-variant-numeric:tabular-nums;font-size:1.28rem;line-height:1}.contest-balloon-summary-item.is-delivered .doj-material-symbol{color:var(--success)}.contest-balloon-list-heading,.contest-balloon-row{grid-template-columns:minmax(180px,.8fr) minmax(200px,1.1fr) minmax(125px,.58fr) minmax(165px,.72fr);align-items:center;gap:16px;display:grid}.contest-balloon-list-heading{color:var(--muted);padding:0 16px;font-size:.8rem;font-weight:700}.contest-balloon-cycle-hint{color:var(--muted);margin:0;font-size:.82rem}.contest-balloon-inline-message{border:1px solid color-mix(in srgb, var(--warning) 45%, var(--border));border-radius:var(--radius);background:color-mix(in srgb, var(--warning) 9%, var(--surface));color:var(--heading);margin:-4px 0 0;padding:10px 12px;font-size:.88rem}.contest-balloon-list{border-block:1px solid var(--border-strong);background:var(--surface);overflow:hidden}.contest-balloon-row{border:0;border-bottom:1px solid var(--border);background:var(--surface);width:100%;min-height:60px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:0;padding:8px 16px;transition:background-color .16s ease-out,color .16s ease-out}.contest-balloon-row:last-child{border-bottom:0}.contest-balloon-row:hover{background:color-mix(in srgb, var(--accent) 6%, var(--surface))}.contest-balloon-row:active{background:color-mix(in srgb, var(--accent) 11%, var(--surface))}.contest-balloon-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;position:relative}.contest-balloon-row:disabled{cursor:progress;opacity:.72}.contest-balloon-row.is-delivered{background:var(--surface-alt);color:var(--muted)}.contest-balloon-problem{align-items:center;gap:12px;min-width:0;display:flex}.contest-balloon-icon{flex:0 0 36px;place-items:center;width:36px;height:40px;display:inline-grid}.contest-balloon-phosphor-icon{flex:none;display:block}.contest-balloon-problem-copy{min-width:0;display:grid}.contest-balloon-problem-copy strong,.contest-balloon-user{color:var(--heading);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contest-balloon-problem-copy strong{font-size:.94rem;line-height:1.35}.contest-balloon-problem-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:.75rem;line-height:1.3;overflow:hidden}.contest-balloon-user{font-size:.94rem}.contest-balloon-status{align-items:center;gap:7px;font-size:.9rem;font-weight:700;display:inline-flex}.contest-balloon-row.is-delivered .contest-balloon-status{color:var(--success)}.contest-balloon-time{color:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:left}.contest-balloon-empty{color:var(--muted);text-align:center;justify-items:center;gap:6px;padding:48px 20px;display:grid}.contest-balloon-empty strong{color:var(--heading)}.contest-balloon-empty span{font-size:.88rem}.contest-balloon-settings-list{border-block:1px solid var(--border-strong);background:var(--surface);display:grid}.contest-balloon-settings-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(240px,1fr) 92px minmax(130px,160px) minmax(180px,.75fr) auto;align-items:end;gap:12px;padding:12px 16px;display:grid}.contest-balloon-settings-row:last-child{border-bottom:0}.contest-balloon-settings-problem{align-items:center;gap:11px;min-width:0;min-height:40px;display:flex}.contest-balloon-settings-problem>span{min-width:0;display:grid}.contest-balloon-settings-problem strong,.contest-balloon-settings-problem small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contest-balloon-settings-problem strong{color:var(--heading);font-size:.92rem}.contest-balloon-settings-problem small{color:var(--muted);font-size:.75rem}.contest-balloon-color-picker input[type=color]{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);cursor:pointer;width:100%;min-height:40px;padding:4px}.contest-balloon-settings-row .input.is-invalid{border-color:var(--danger)}.contest-balloon-color-clear{min-height:40px}.contest-balloon-settings-footer{align-items:center;gap:12px;min-height:44px;display:flex}.contest-balloon-settings-success{color:var(--success);font-size:.88rem;font-weight:600}.contest-balloon-settings-error{color:var(--danger);font-size:.88rem;font-weight:600}@media (max-width:860px){.contest-balloon-header{flex-direction:column;align-items:flex-start}.contest-balloon-header-actions{justify-content:flex-start}.contest-balloon-list-heading{display:none}.contest-balloon-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"problem time""user status";gap:5px 12px;min-height:76px;padding-block:10px}.contest-balloon-problem{grid-area:problem}.contest-balloon-user{grid-area:user;padding-left:48px}.contest-balloon-status{grid-area:status;justify-self:right}.contest-balloon-time{grid-area:time;font-size:.76rem}.contest-balloon-settings-row{grid-template-columns:minmax(0,1fr) 100px minmax(130px,.75fr)}.contest-balloon-settings-problem{grid-column:1/-1}.contest-balloon-settings-row .label:last-of-type{grid-column:span 2}}@media (max-width:580px){.contest-balloon-summary-item{grid-template-columns:1fr auto;gap:3px 6px;padding-inline:12px}.contest-balloon-summary-item .doj-material-symbol{display:none}.contest-balloon-summary-item span{font-size:.78rem}.contest-balloon-summary-item strong{font-size:1.08rem}.contest-balloon-sync{flex-basis:100%}.contest-balloon-settings-row{grid-template-columns:78px minmax(0,1fr)}.contest-balloon-settings-row .label:last-of-type{grid-column:1/-1}.contest-balloon-color-clear{grid-column:1/-1;justify-self:start}.contest-balloon-settings-footer{flex-direction:column;align-items:flex-start}}@media (prefers-reduced-motion:reduce){.contest-balloon-row{transition:none}}
.contest-detail-hero{gap:16px}.contest-detail-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.contest-detail-admin-actions,.contest-action-links,.contest-attachment-links,.contest-participation-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.contest-detail-admin-actions{flex:none}.contest-fact-list{flex-wrap:wrap;gap:8px;display:flex}.contest-hero-meta{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(240px,.42fr);align-items:stretch;gap:24px;padding-top:16px;display:grid}.contest-hero-meta-group{min-width:0;margin:0}.contest-hero-staff{display:grid}.contest-hero-staff .contest-hero-meta-item{grid-template-columns:80px minmax(0,1fr);align-items:baseline;gap:12px;min-width:0;padding:8px 0;display:grid}.contest-hero-staff .contest-hero-meta-item:first-child{padding-top:0}.contest-hero-staff .contest-hero-meta-item:last-child{padding-bottom:0}.contest-hero-staff .contest-hero-meta-item+.contest-hero-meta-item{border-top:1px solid var(--border)}.contest-hero-schedule{border-left:1px solid var(--border);grid-template-rows:max-content max-content;align-content:center;gap:12px;padding-left:24px;display:grid}.contest-hero-schedule .contest-hero-meta-item{align-content:start;gap:4px;min-width:0;display:grid}.contest-hero-meta-label,.contest-hero-meta-value{margin:0}.contest-hero-meta-label{color:var(--muted);letter-spacing:.04em;font-size:.73rem;font-weight:700}.contest-hero-meta-value{color:var(--heading);font-size:1rem;font-weight:650;line-height:1.5}.contest-staff-links{flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0;display:flex}.contest-staff-links a{overflow-wrap:anywhere;font-weight:700}.contest-fact{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--muted);white-space:nowrap;align-items:baseline;gap:7px;padding:7px 10px;font-size:.78rem;line-height:1.35;display:inline-flex}.contest-fact strong{color:var(--heading);letter-spacing:-.01em;font-size:.82rem}.contest-fact.is-rated{border-color:rgba(var(--accent-rgb), .3);background:rgba(var(--accent-rgb), .08)}.contest-fact.is-rated strong{color:var(--accent-dark)}html[data-theme=dark] .contest-fact.is-rated strong{color:var(--accent)}.contest-action-bar,.contest-attachment-strip{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.contest-action-bar{min-height:58px}.contest-participation-control{flex:auto;min-width:0}.contest-participation-main{justify-content:space-between;align-items:center;gap:14px;display:flex}.contest-participation-copy{align-items:baseline;gap:10px;min-width:0;display:flex}.contest-participation-copy strong{color:var(--heading);flex:none;font-size:.9rem}.contest-participation-copy span,.contest-action-note{color:var(--muted);font-size:.84rem;line-height:1.55}.contest-participation-control>.notice{margin-top:12px}.contest-action-links{flex:none}.contest-action-disabled:disabled{cursor:not-allowed;opacity:.62}.contest-attachment-strip{justify-content:flex-start}.contest-attachment-strip>strong{color:var(--heading);flex:none;font-size:.9rem}.contest-attachment-links{justify-content:flex-start}.contest-detail-content{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.contest-detail-flow{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);min-width:0;box-shadow:var(--shadow);display:grid;overflow:hidden}.contest-detail-section{border-top:1px solid var(--border);min-width:0;padding:24px 26px}.contest-detail-flow>.contest-detail-section:first-child,.doj-contest-rules-panel{border-top:0;border-color:var(--border)}.contest-rules-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:44px;list-style:none;display:flex}.contest-rules-summary::-webkit-details-marker{display:none}.contest-rules-summary .section-title{margin:0}.contest-rules-summary-action{color:var(--muted);flex:none;align-items:center;gap:6px;font-size:.85rem;font-weight:700;display:inline-flex}.contest-rules-summary-action .doj-material-symbol{transition:transform .18s cubic-bezier(.22,1,.36,1)}.doj-contest-rules-panel[open] .contest-rules-summary-action .doj-material-symbol{transform:rotate(180deg)}.contest-rules-label-expand,.doj-contest-rules-panel:not([open]) .contest-rules-label-collapse{display:none}.doj-contest-rules-panel:not([open]) .contest-rules-label-expand{display:inline}.contest-rules-content{padding-top:16px}.contest-announcement-composer{background:var(--surface-alt)}.contest-announcement-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.contest-announcement-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.contest-announcement-edit-form{border-top:1px solid var(--border);margin-top:4px;padding-top:16px}@media (max-width:640px){.contest-announcement-heading{display:grid}.contest-announcement-actions{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.contest-rules-summary-action .doj-material-symbol{transition:none}}.contest-problem-section .section-header{margin-bottom:14px}.contest-problem-table-wrap{overflow-x:auto}.contest-problem-table-wrap .table{margin:0}.contest-feed-list,.contest-question-list{border-top:1px solid var(--border);gap:0;max-height:none;display:grid;overflow:visible}.contest-feed-item,.contest-discussion-item{border-bottom:1px solid var(--border);padding:18px 0}.contest-feed-item:last-child,.contest-discussion-item:last-child{border-bottom:0;padding-bottom:0}.contest-feed-item:first-child,.contest-discussion-item:first-child{padding-top:18px}.contest-question-composer{background:var(--surface-alt)}.contest-question-composer>summary{cursor:pointer;color:var(--heading);font-size:1rem;font-weight:700;list-style-position:inside}.contest-question-composer[open]>summary{margin-bottom:18px}.contest-question-form{padding-top:2px}@media (max-width:900px){.contest-hero-meta{grid-template-columns:minmax(0,1fr);gap:16px}.contest-hero-schedule{border-top:1px solid var(--border);border-left:0;grid-template-rows:max-content;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:24px;padding-top:16px;padding-left:0}.contest-detail-content{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.contest-detail-title-row,.contest-action-bar,.contest-participation-main,.contest-attachment-strip{flex-direction:column;align-items:stretch}.contest-detail-admin-actions,.contest-action-links,.contest-participation-actions,.contest-attachment-links{justify-content:flex-start}.contest-participation-copy{flex-direction:column;align-items:flex-start;gap:3px}.contest-fact{white-space:normal}.contest-detail-section{padding:20px 18px}}@media (max-width:520px){.contest-hero-staff .contest-hero-meta-item,.contest-hero-schedule{grid-template-columns:minmax(0,1fr)}.contest-hero-staff .contest-hero-meta-item{align-items:start;gap:4px}.contest-hero-schedule{gap:12px}}
:root{--bg:#f6f7f9;--bg-elevated:#fff;--bg-soft:#eef0f3;--surface:#fff;--surface-alt:#f7f8fa;--border:#18181b1a;--border-strong:#18181b2e;--text:#3f3f46;--heading:#111113;--muted:#71717a;--accent:#5658ee;--accent-dark:#4446d8;--shadow:0 1px 2px #0f172a0a;--shadow-md:0 1px 3px #0f172a0f, 0 6px 18px #0f172a0d;--shadow-lg:0 2px 4px #0f172a0f, 0 12px 30px #0f172a14;--radius-sm:3px;--radius:5px;--radius-lg:7px;--radius-xl:9px;--radius-pill:6px}html[data-theme=dark]{--bg:#0e1014;--bg-elevated:#17191f;--bg-soft:#20232b;--surface:#17191f;--surface-alt:#1d2028;--border:#ffffff1a;--border-strong:#ffffff2b;--text:#e4e4e7;--heading:#f8fafc;--muted:#a1a1aa;--shadow:0 1px 2px #0000005c;--shadow-md:0 1px 4px #0000006b;--shadow-lg:0 4px 18px #0000007a}body,html[data-theme=dark] body{background-image:none}.site-header{-webkit-backdrop-filter:blur(10px);background:color-mix(in srgb, var(--bg) 92%, transparent)}html[data-theme=dark] .site-header{background:color-mix(in srgb, var(--bg) 90%, transparent)}.site-header-inner{min-height:56px}.nav-link,.nav-menu-item,.header-auth-pill,.notification-inbox-link,.theme-toggle,.language-switcher,.profile-decoration-trigger,.profile-decoration-option{border-radius:var(--radius)}.nav-link{padding:5px 9px}.nav-link:hover,.nav-link.active{background:rgba(var(--accent-rgb), .08)}.nav-link-call-for-tasks,.nav-link-call-for-tasks:hover,.nav-link-call-for-tasks.active{box-shadow:none;background:#e85d04}.nav-menu-popover,.doj-score-tooltip,.doj-status-problem-tooltip{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.hero-card,.panel,.table-card,.profile-header,.doj-table-card,.doj-home-panel,.doj-home-stats-panel,.doj-profile-hero,.doj-summary-card,.doj-banner-card,.doj-profile-banner-card,.doj-contest-hero-card,.doj-contest-rules-panel,.doj-statement-attachment-panel,.doj-testcase-summary-card,.doj-sample-run-panel,.doj-testcase-detail-panel,.doj-category-browser-card,.warning-panel,.hp-notice-empty,.hp-join{border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);background:var(--surface)}.doj-contest-hero-card:before,.doj-home-panel:before,.hp-join:before{opacity:.25}.hero-card,.panel,.table-card,.profile-header,.doj-profile-hero,.doj-summary-card,.doj-banner-card,.doj-table-card{padding:20px 22px}.button,.button-ghost,.button-danger{border-radius:var(--radius);min-height:34px;box-shadow:none;padding:7px 13px;transition:background .12s,border-color .12s,color .12s,opacity .12s;transform:none}.button:hover,.button-ghost:hover,.button-danger:hover,.button:active,.button-ghost:active,.button-danger:active{box-shadow:none;transform:none}.button,.button:hover,html[data-theme=dark] .button{background:var(--accent);color:#fff;box-shadow:none}.button:hover{background:var(--accent-dark)}.button-ghost{background:var(--surface)}.button-ghost:hover{background:var(--surface-alt)}.button-danger{background:var(--surface)}.button-danger:hover{background:#ef444414}.chip,.status-chip,.tier-chip,.locale-chip,.doj-subtask-resource-chip,.problem-tag-picker-chip,.doj-profile-title-chip{border-radius:var(--radius);box-shadow:none;padding:3px 8px}.table th,.doj-table th,.doj-submission-status-table th{background:var(--surface-alt);color:var(--muted);letter-spacing:.045em;font-size:.78rem}.table td,.doj-table td,.doj-submission-status-table td{padding-block:10px}input,textarea,select,.input,.select,.textarea{border-radius:var(--radius);box-shadow:none}.doj-profile-avatar,.doj-profile-avatar img,.admin-sortable-preview,.profile-decoration-thumb{border-radius:var(--radius-lg)}.doj-progress-shell,.doj-progress-bar{border-radius:var(--radius)}a.panel:hover,a.hero-card:hover,a.table-card:hover,.card-interactive:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
:root{--bg:#f2f3f5;--bg-elevated:#fff;--bg-soft:#e9ebef;--surface:#fff;--surface-alt:#f7f8fa;--border:#1118271f;--border-strong:#11182738;--text:#3f3f46;--heading:#09090b;--muted:#6b7280;--accent:#5558f0;--accent-dark:#3f42ce;--shadow:none;--shadow-md:0 1px 2px #11182714;--shadow-lg:0 4px 16px #1118271a;--radius-sm:2px;--radius:3px;--radius-lg:4px;--radius-xl:5px;--radius-pill:4px}html[data-theme=dark]{--bg:#0f1117;--bg-elevated:#171a22;--bg-soft:#20242e;--surface:#171a22;--surface-alt:#1d212a;--border:#ffffff1f;--border-strong:#ffffff38;--text:#e4e4e7;--heading:#f8fafc;--muted:#a1a1aa;--shadow:none;--shadow-md:0 1px 2px #00000073;--shadow-lg:0 4px 18px #00000073}body,html[data-theme=dark] body{background-image:none}.page-shell,.site-header-inner,.site-footer-inner,.homepage-announcement-inner{width:min(1320px,100% - 40px)}.site-header{-webkit-backdrop-filter:none;background:color-mix(in srgb, var(--bg-elevated) 96%, transparent);border-bottom-color:var(--border-strong)}html[data-theme=dark] .site-header{background:color-mix(in srgb, var(--bg) 96%, transparent);border-bottom-color:var(--border-strong)}.brand-logo,.brand-logo img,.brand-logo svg,.nav-link,.nav-menu-item,.header-auth-pill,.notification-inbox-link,.theme-toggle,.language-switcher,.locale-chip,.profile-decoration-trigger{border-radius:var(--radius)}.nav-link{color:var(--text);font-weight:650}.nav-link:hover,.nav-link.active{background:var(--surface-alt);color:var(--heading)}.nav-link-call-for-tasks,.nav-link-call-for-tasks:hover,.nav-link-call-for-tasks.active{color:#fff;box-shadow:none;background:#e85d04}.nav-menu-popover{border-radius:var(--radius);box-shadow:var(--shadow-lg)}.hero-card,.panel,.table-card,.form-card,.metric-card,.notice-card,.profile-header,.doj-hero-shell,.doj-section-block,.doj-tier-guide,.doj-profile-hero,.doj-summary-card,.doj-chart-card,.doj-banner-card,.doj-toolbar-card,.doj-table-card,.doj-table-shell,.doj-empty-card,.doj-line-card,.doj-week-card,.doj-contest-hero-card,.doj-contest-rules-panel,.doj-profile-banner-card,.doj-statement-attachment-panel,.doj-statement-lang-card,.doj-statement-inspector-card,.doj-statement-embedded-card,.doj-attachment-preview-card,.doj-submit-modal-card,.doj-sample-run-panel,.doj-testcase-summary-card,.doj-testcase-detail-panel,.doj-category-browser-card,.warning-panel,.card-interactive{border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:none;background:var(--surface)}.doj-hero-shell:before,.doj-week-card:before,.doj-contest-hero-card:before,.doj-home-panel:before,.hp-join:before{display:none}.doj-hero-shell,.doj-section-block,.doj-profile-hero,.doj-banner-card,.doj-toolbar-card,.doj-table-card,.doj-table-shell,.doj-empty-card,.hero-card,.panel,.table-card,.form-card,.profile-header{padding:20px 22px}.doj-display-title span,html[data-theme=dark] .doj-display-title span{-webkit-text-fill-color:currentColor;color:var(--accent);background:0 0}.button,.button-ghost,.button-danger,.doj-button-primary,.doj-button-secondary,.hp-btn,button[type=submit],button[type=button]{border-radius:var(--radius);box-shadow:none}.button,.doj-button-primary,.hp-btn-primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.button:hover,.doj-button-primary:hover,.hp-btn-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);box-shadow:none;transform:none}.button-ghost,.doj-button-secondary,.hp-btn-ghost{background:var(--surface);color:var(--heading);border:1px solid var(--border-strong)}.button-ghost:hover,.doj-button-secondary:hover,.hp-btn-ghost:hover{background:var(--surface-alt);color:var(--heading);box-shadow:none;transform:none}.button-danger{background:var(--surface);color:var(--danger);border:1px solid color-mix(in srgb, var(--danger) 38%, transparent)}.button-danger:hover{background:color-mix(in srgb, var(--danger) 9%, var(--surface));transform:none}.input,.textarea,.select,input,textarea,select{border-radius:var(--radius);box-shadow:none}.input:focus,.textarea:focus,.select:focus,input:focus,textarea:focus,select:focus{box-shadow:0 0 0 2px rgba(var(--accent-rgb), .16)}.chip,.status-chip,.tier-chip,.problem-tag-picker-chip,.doj-subtask-resource-chip,.doj-profile-title-chip,.hp-tag{border-radius:var(--radius);background:var(--surface-alt);box-shadow:none}.table,.doj-table,.doj-submission-status-table{border-collapse:collapse}.table th,.doj-table th,.doj-submission-status-table th{color:#4b5563;border-bottom:1px solid var(--border-strong);background:#eceef2}html[data-theme=dark] .table th,html[data-theme=dark] .doj-table th,html[data-theme=dark] .doj-submission-status-table th{color:#cbd5e1;background:#20242e}.table tbody tr:hover,.doj-table tbody tr:hover,.doj-submission-status-table tbody tr:hover{background:rgba(var(--accent-rgb), .045)}.doj-score-bar,.doj-score-bar-fill,.doj-progress-shell,.doj-progress-bar,.problem-score-summary .doj-score-bar.is-large{border-radius:var(--radius)}.problem-article,.problem-sidebar .panel,[data-problem-hero-card]{border-radius:var(--radius-lg)}.doj-category-browser-card,html[data-theme=dark] .doj-category-browser-card{background:var(--surface);border-color:var(--category-card-border,var(--border))}.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)}html[data-theme=dark] .doj-category-browser-card{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))}.problem-feedback-button.is-positive.is-active,.problem-feedback-button.is-negative.is-active{filter:none}.toast-card{border-radius:var(--radius);box-shadow:var(--shadow-lg)}a.panel:hover,a.hero-card:hover,a.table-card:hover,.card-interactive:hover{box-shadow:var(--shadow-md);transform:none}@media (max-width:640px){.page-shell,.site-header-inner,.site-footer-inner,.homepage-announcement-inner{width:min(100%,100% - 24px)}.hero-card,.panel,.table-card,.form-card,.profile-header,.doj-hero-shell,.doj-profile-hero,.doj-summary-card,.doj-banner-card,.doj-table-card{padding:16px}}

