/* Homework list only. Native detail, claiming and submission remain in Hydro. */
.page--homework_main #panel{background:#f4f7fb;}
.page--homework_main #panel>.main{width:100%;max-width:none;padding:0;}
.hc-contests{box-sizing:border-box;width:100%;max-width:1264px;margin:0 auto;padding:33px 30px 70px;color:#17243b;font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif;}
.hc-contests *{box-sizing:border-box;}
.hc-contests [hidden]{display:none!important;}
.hc-contests .hc-select{display:flex;flex-flow:row nowrap;}
.hc-contests .hc-select>span{width:auto;flex:0 0 auto;}
.hc-contests .hc-select select{flex:1 1 0;}
.hc-contests .pager__item.current{color:#1d4ed8!important;border-color:#2563eb!important;}
.hc-contests .pager.pager-bottom,.hc-contests .pager.pager-bottom .pager__item{border-top-width:1px;border-top-color:#e1e9f5;}
.hc-contests .pager.pager-bottom .pager__item.current{border-top-width:2px;}
.hc-contests a{text-decoration:none;}.hc-contests a:focus-visible,.hc-contests button:focus-visible,.hc-contests input:focus-visible,.hc-contests select:focus-visible{outline:2px solid #2563eb;outline-offset:3px;}
.hc-contests h1,.hc-contests h2,.hc-contests h3,.hc-contests p,.hc-contests dl,.hc-contests dd{margin:0;}
.hc-heading{margin:0 0 26px;}.hc-heading .hydro-page-eyebrow{margin:0 0 13px;display:flex;align-items:center;gap:9px;color:#4175cc;font-size:12px;font-weight:700;line-height:1.5;}
.hc-heading .hydro-page-eyebrow::before{content:"";display:block;flex:0 0 23px;height:2px;border-radius:2px;background:#5592fa;}
.hc-heading h1{color:#17243b;font-size:28px;line-height:1.35;font-weight:760;letter-spacing:-.025em;}.hc-heading>p:last-child{margin-top:8px;color:#5c6a80;font-size:14px;}
.hc-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;}.hc-main,.hc-sidebar{min-width:0;display:grid;gap:24px;align-content:start;}
.hc-card,.hc-focus-card{min-width:0;background:#fff;border:1px solid #e7edf6;border-radius:20px;box-shadow:0 10px 35px rgba(26,46,84,.035);}
.hc-card{padding:25px 26px;}.hc-contests h2{color:#17243b;font-size:18px;line-height:1.5;font-weight:735;}
.hc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}.hc-section-heading>span{flex-shrink:0;font-size:12px;color:#5d6d83;}.hc-heading-rule{font-size:14px;font-weight:500;color:#52647e;}
.hc-focus-stack{display:grid;gap:15px;}.hc-focus-card{padding:22px 25px;background:linear-gradient(115deg,#fff 35%,#f4f8ff);border-color:#dfe8f7;}
.hc-item-top{display:flex;align-items:center;justify-content:space-between;gap:16px;}.hc-focus-card h3{margin-top:14px;color:#17243b;font-size:20px;font-weight:730;line-height:1.5;overflow-wrap:anywhere;}.hc-focus-card h3 a{color:#17243b;}.hc-focus-card h3 a:hover{color:#1d4ed8;}
.hc-status,.hc-rule,.hc-rated{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;border-radius:7px;padding:3px 9px;font-size:11px;font-weight:650;line-height:1.6;}
.hc-status--live{color:#17694f;background:#e7f5ee;}.hc-status--live::before{content:"";width:5px;height:5px;border-radius:50%;background:#238b68;}.hc-status--ready{color:#2555aa;background:#eaf1ff;}.hc-status--done{color:#52647d;background:#f0f3f8;}
.hc-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.hc-rule{background:#f0f4fa;color:#465e7d;}.hc-rule:hover{color:#1d4ed8;background:#e7efff;}.hc-rated{color:#805710;background:#fff4d9;}
.hc-focus-meta{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,.7fr);gap:18px;margin-top:18px!important;}.hc-focus-meta dt{color:#5d6d83;font-size:11px;margin-bottom:5px;}.hc-focus-meta dd{color:#354a66;font-size:13px;}.hc-focus-meta .time{color:inherit;}.hc-flexible{display:block;margin-top:2px;color:#5d6d83;font-size:11px;}
.hc-focus-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:16px;border-top:1px solid #e3ebf7;}.hc-attendance{font-size:12px;color:#5d6d83;}.hc-attendance--yes{color:#17694f;}
.hc-contests .hc-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;margin:0;padding:9px 15px;border:1px solid #2563eb;border-radius:10px;background:#2563eb;color:#fff;font:650 12px/1.6 system-ui,"Microsoft YaHei",sans-serif;cursor:pointer;white-space:nowrap;box-shadow:none;}.hc-contests .hc-button:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8;}
.hc-filter{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,.65fr) minmax(100px,.65fr) auto;gap:9px;padding-bottom:20px;border-bottom:1px solid #e7edf7;align-items:end;}
.hc-search{position:relative;min-width:0;}.hc-search svg{position:absolute;left:11px;top:12px;fill:none;stroke:#6c7c95;stroke-width:1.7;pointer-events:none;}.hc-contests .hc-search input{box-sizing:border-box;display:block;width:100%;height:42px;margin:0;padding:0 10px 0 35px;border:1px solid #dce6f6;border-radius:9px;background:#fafcff;color:#263c5b;font:inherit;font-size:12px;box-shadow:none;}.hc-search input::placeholder{color:#63738b;opacity:1;}
.hc-select{display:flex;align-items:center;min-width:0;gap:7px;height:42px;padding:0 8px 0 10px;border:1px solid #dce6f6;border-radius:9px;background:#fafcff;}.hc-select>span{flex-shrink:0;color:#5d6d83;font-size:11px;}.hc-contests .hc-select select{width:100%;min-width:0;height:36px;margin:0;padding:0 20px 0 0;border:0;background-color:transparent;color:#354a66;font:inherit;font-size:12px;box-shadow:none;}.hc-contests .hc-search-submit{min-height:42px;}
.hc-active-filters{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:14px;color:#52647e;font-size:12px;}.hc-active-filters>span{min-width:0;overflow-wrap:anywhere;}.hc-active-filters>a{flex-shrink:0;color:#1d4ed8;}
.hc-contest-list{list-style:none;padding:0;margin:0;}.hc-contest-row{display:flex;gap:18px;padding:23px 0;border-bottom:1px solid #e7edf7;}.hc-contest-row:last-child{border-bottom:0;padding-bottom:4px;}.hc-date{flex:0 0 55px;align-self:flex-start;display:flex;flex-direction:column;align-items:center;gap:0;padding:9px 3px;border:1px solid #e9eff8;border-radius:11px;background:#f6f8fc;font-variant-numeric:tabular-nums;}.hc-date strong{color:#3f5a7f;font-size:24px;line-height:1.3;font-weight:650;}.hc-date>span{font-size:10px;color:#61738d;line-height:1.9;}.hc-date .time{color:inherit;}
.hc-row-content{min-width:0;flex:1;}.hc-row-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.hc-row-heading h3{font-size:15px;line-height:1.65;font-weight:680;overflow-wrap:anywhere;}.hc-row-heading h3 a{color:#17243b;}.hc-row-heading h3 a:hover{color:#1d4ed8;}.hc-row-heading>.hc-status{flex-shrink:0;margin-top:1px;}.hc-row-meta{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-top:8px;color:#52647e;font-size:11px;}.hc-row-meta .hc-tags{gap:6px;}.hc-row-meta .hc-attendance{font-size:11px;}.hc-row-bottom{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-top:10px;}.hc-row-bottom>span{font-size:11px;color:#5d6d83;}.hc-details-link{color:#1d4ed8;font-size:12px;font-weight:650;white-space:nowrap;}.hc-details-link:hover{color:#1745a5;text-decoration:underline;}
.hc-sidebar .hc-card{padding:24px;}.hc-sidebar p{color:#52647e;font-size:12px;line-height:1.95;margin-top:12px;}.hc-create-mark{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:#edf3ff;color:#2563eb;border:1px solid #e0eaff;border-radius:11px;margin-bottom:14px;font-size:23px;line-height:1;}.hc-create .hc-button{width:100%;margin-top:20px;}.hc-rated-note{background:linear-gradient(145deg,#fff,#f6f9ff);}.hc-sidebar-eyebrow{display:block;margin-bottom:8px;font-size:11px;font-weight:650;color:#4171b9;}.hc-rated-note .hc-rated{font-size:10px;padding:1px 6px;vertical-align:baseline;}.hc-rated-note>.hc-details-link{display:inline-flex;gap:8px;margin-top:17px;}.hc-tips h2{font-size:15px;}
.hc-empty{text-align:center;padding:36px 10px 27px;}.hc-empty-mark{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;margin-bottom:13px;background:#f1f5fc;border-radius:13px;color:#617b9e;}.hc-empty h3{font-size:16px;font-weight:650;}.hc-empty p{margin:8px 0 16px;color:#5d6d83;font-size:12px;}.hc-empty a{font-size:12px;color:#1d4ed8;}.hc-contests .pager{margin:24px 0 0;}.hc-contests .pager__item{color:#52647e;}.hc-contests .pager__item.current{color:#1d4ed8;}
.hc-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(min-width:601px){.page--homework_main #menu.hydro-redesign-nav{position:fixed!important;inset:0 0 auto;width:100%;}.page--homework_main #menu.hydro-redesign-nav+.nav--shadow+#panel{padding-top:70px;}}
@media(max-width:1130px){.hc-contests{padding-inline:22px;}.hc-layout{grid-template-columns:minmax(0,1fr) 275px;gap:20px;}.hc-card{padding:23px;}.hc-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;}.hc-search{grid-column:1/-1;}.hc-focus-meta{gap:12px;}}
@media(max-width:900px){.hc-layout{grid-template-columns:minmax(0,1fr);}.hc-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));}.hc-sidebar .hc-tips{grid-column:1/-1;}.hc-filter{grid-template-columns:minmax(130px,1fr) minmax(100px,.65fr) minmax(100px,.65fr) auto;}.hc-search{grid-column:auto;}}
@media(min-width:601px) and (max-width:850px){.page--homework_main #menu.hydro-redesign-nav+.nav--shadow+#panel{padding-top:62px;}}
@media(max-width:850px){.hc-contests{padding-top:22px;}}
@media(min-width:701px){
 .hc-focus-stack{grid-template-columns:repeat(2,minmax(0,1fr));}
 .hc-focus-card:last-child:nth-child(odd){grid-column:1/-1;}
 .hc-focus-card:not(:last-child:nth-child(odd)) .hc-focus-meta{grid-template-columns:repeat(2,minmax(0,1fr));}
 .hc-focus-card:not(:last-child:nth-child(odd)) .hc-focus-meta>div:first-child{grid-column:1/-1;}
}
@media(max-width:600px){.hc-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;}.hc-search{grid-column:1/-1;}.hc-row-heading{flex-direction:column;gap:7px;}.hc-row-bottom{flex-wrap:wrap;gap:7px;}.hc-focus-meta{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);}.hc-sidebar{grid-template-columns:minmax(0,1fr);}.hc-sidebar .hc-tips{grid-column:auto;}}
@media(max-width:530px){.hc-contests{padding:16px 14px 50px;}.hc-heading h1{font-size:25px;}.hc-heading>p:last-child{font-size:13px;}.hc-card,.hc-sidebar .hc-card{padding:20px 17px;border-radius:18px;}.hc-focus-card{padding:19px 18px;border-radius:18px;}.hc-focus-card h3{font-size:18px;}.hc-contest-row{gap:12px;}.hc-date{flex-basis:49px;}.hc-section-heading{gap:10px;}.hc-section-heading>span{font-size:11px;}.hc-focus-meta{gap:15px 12px;}.hc-focus-meta>div:first-child{grid-column:1/-1;}.hc-focus-meta>div:last-child{grid-column:auto;}.hc-focus-meta>div:first-child dd{font-size:13px;}.hc-focus-meta>div:first-child dt{font-size:11px;}.hc-focus-meta>div:nth-child(n+2){grid-row:2;}.hc-item-top{gap:9px;}.hc-filter{gap:8px;}.hc-select{padding-left:8px;gap:5px;}.hc-select>span{font-size:10px;}.hc-select select{font-size:11px;}.hc-search-submit{padding-inline:12px!important;}.hc-heading-rule{font-size:12px;}}

.hw-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 24px}.hw-stat{padding:17px 21px;border:1px solid #e4ecf9;border-radius:15px;background:#fff}.hw-stat span{display:block;font-size:11px;color:#5d6d83}.hw-stat strong{display:block;font-size:25px;line-height:1.45;margin-top:4px;font-weight:730}.hw-stat.emphasis{background:#eef4ff;border-color:#dbe7ff}.hw-stat.emphasis strong{color:#2563eb}.hw-stat small{font-size:11px;font-weight:450;margin-left:5px;color:#64748b}.hw-tools{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:20px}.hw-views{display:flex;gap:3px;background:#f1f5fb;padding:3px;border-radius:9px}.hw-views button{border:0;background:transparent;color:#52647e;padding:6px 11px;border-radius:7px;font-size:11px}.hw-views .active{background:white;color:#1d4ed8;box-shadow:0 1px 4px #2034500c}.hw-filters{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:9px;margin-bottom:17px}.hw-filters input,.hw-filters select{width:100%;min-width:0;margin:0;height:41px;border:1px solid #dce6f6;background:#fafcff;border-radius:9px;padding:0 12px;font-size:12px;color:#354a66;box-sizing:border-box}.hw-tabs{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:18px;border-bottom:1px solid #e7edf7}.hw-tabs button{border:1px solid #e1e9f6;background:#fff;color:#52647e;border-radius:8px;padding:6px 12px;font-size:11px}.hw-tabs button.active{color:#1d4ed8;border-color:#c8d9ff;background:#eef4ff}.hw-list{display:grid;gap:14px;margin-top:20px}.hw-assignment{padding:20px;border:1px solid #e0e8f5;border-radius:14px;background:#fff;min-width:0}.hw-assignment.urgent{border-color:#ccdcff;background:linear-gradient(110deg,#fff,#f9fbff)}.hw-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.hw-top h3{font-size:16px;line-height:1.6;font-weight:680;margin:0;overflow-wrap:anywhere}.hw-top h3 button{font:inherit;text-align:left;border:0;background:transparent;color:#17243b;padding:0}.hw-top h3 button:hover{color:#1d4ed8}.hw-badges{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0;justify-content:flex-end}.hw-meta{display:flex;gap:7px 14px;flex-wrap:wrap;color:#5d6d83;font-size:11px;margin-top:7px}.hw-meta .deadline{color:#354f75;font-weight:550}.hw-meta .urgent-text{color:#1d4ed8;font-weight:600}.hw-label{display:inline-flex;align-items:center;padding:2px 7px;border-radius:6px;background:#f1f5fb;color:#536b8b;font-size:10px}.hw-progress-title{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-top:19px;color:#52647e}.hw-progress-title strong{color:#1e3556;font-weight:650}.hw-progress{height:6px;border-radius:99px;background:#edf2fa;overflow:hidden;margin-top:8px}.hw-progress>span{display:block;height:100%;border-radius:99px;background:#3974f5}.hw-progress.complete>span{background:#2d9676}.hw-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #e8eef8}.hw-foot>span{font-size:11px;color:#5d6d83}.hw-foot .hc-button{min-height:36px;padding:7px 13px;font-size:11px}.hw-foot a{font-size:11px;font-weight:600;color:#1d4ed8}.hw-unclaimed{font-size:12px;color:#62728a;padding-top:19px}.hw-next-label{color:#3e70bb;font-size:11px;font-weight:650}.hw-next-title{margin-top:12px!important;font-size:17px!important}.hw-next-time{font-size:26px;font-weight:740;color:#245fe4;margin-top:17px}.hw-next-time small{font-size:12px;font-weight:450;margin-left:5px}.hw-next>p{margin-top:3px}.hw-next .hc-details-link{display:inline-flex;margin-top:17px}.hw-note{color:#5d6d83;font-size:11px;line-height:1.9;margin-top:19px}.hw-calendar{margin-top:20px}.hw-calendar-title{display:flex;justify-content:space-between;margin-bottom:18px;font-size:13px}.hw-calendar-title>span{color:#62728a;font-size:11px}.hw-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #e6edf8;border-left:1px solid #e6edf8}.hw-day{min-height:86px;border-right:1px solid #e6edf8;border-bottom:1px solid #e6edf8;padding:7px 5px;font-size:11px;color:#52647e;min-width:0}.hw-day.muted{color:#a4afbd;background:#fafcff}.hw-day.today{background:#f4f8ff}.hw-week{padding:7px 2px;text-align:center;background:#fafcff;min-height:0}.hw-calendar-event{display:block;width:100%;margin-top:5px;border:0;border-radius:4px;background:#edf3ff;padding:4px;color:#2559b1;text-align:left;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hw-calendar-event.ended{background:#eff2f7;color:#607089}.hw-calendar-event.extended{background:#fff4dd;color:#805710}.hw-empty{padding:35px 0;text-align:center;color:#5d6d83;font-size:13px}.hw-pager{display:flex;justify-content:center;gap:8px;padding-top:23px}.hw-pager button{background:#fff;border:1px solid #dfe8f6;border-radius:7px;padding:5px 10px;color:#52647e;font-size:11px}.hw-pager .active{background:#eef4ff;border-color:#c8d9ff;color:#1d4ed8}.hw-dialog{width:min(620px,calc(100% - 32px));padding:26px;border:1px solid #e0e8f5;border-radius:20px;color:#17243b;box-sizing:border-box;max-height:90vh;overflow:auto}.hw-dialog::backdrop{background:#17243b45}.hw-dialog h2{font-size:20px;margin:0 0 8px}.hw-dialog p{color:#52647e;font-size:12px;line-height:1.9}.hw-dialog .close{float:right;border:0;background:#f0f4fa;color:#53647e;border-radius:7px;padding:5px 10px}.hw-dialog-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e8eef8;font-size:12px}.hw-dialog-row:last-child{border:0}.hw-dialog-note{background:#f4f8ff;border-radius:10px;padding:12px;margin-top:18px}.hc-contests .hw-hidden,.hc-contests [hidden]{display:none!important}
@media(max-width:1130px){.hw-filters{grid-template-columns:minmax(0,1fr) 130px auto}}
@media(max-width:700px){.hw-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hw-stat{padding:14px 16px}.hw-stat strong{font-size:23px}.hw-filters{grid-template-columns:minmax(0,1fr) auto}.hw-filters input{grid-column:1/-1}.hw-top{flex-direction:column;gap:8px}.hw-badges{justify-content:flex-start}.hw-assignment{padding:17px}.hw-foot{align-items:flex-start}.hw-foot>span{max-width:62%}.hw-calendar-grid{min-width:560px}.hw-calendar{overflow:auto}.hw-dialog{padding:21px}.hc-sidebar{grid-template-columns:1fr}}

.hw-list.homework__list{list-style:none;padding:0;margin:20px 0 0}.hw-list>.hw-assignment{margin-bottom:14px}.hw-calendar-native{max-width:100%;overflow:auto;margin-top:20px}.hw-native-select{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.hw-note{display:block}.hw-meta .time{color:inherit}
.hc-contests .hw-filters{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:9px}.hc-contests .hw-filters input[type=hidden]{display:none}.hc-contests .hw-filters>input,.hc-contests .hw-filters>select{max-width:none}
@media(max-width:1130px){.hc-contests .hw-filters{grid-template-columns:minmax(0,1fr) 130px auto}}
@media(max-width:700px){.hc-contests .hw-filters{grid-template-columns:minmax(0,1fr) auto}.hc-contests .hw-filters input[type=search]{grid-column:1/-1}}

.hw-top h3 a{color:#17243b;text-decoration:none}.hw-top h3 a:hover{color:#1d4ed8}.hw-tabs .hw-status-link{border:1px solid #e1e9f6;background:#fff;color:#52647e;border-radius:8px;padding:6px 12px;font-size:11px}.hw-tabs .hw-status-link.active{color:#1d4ed8;border-color:#c8d9ff;background:#eef4ff}.hw-foot>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hw-foot>span{max-width:60%}
