.public-home{background:var(--surface);color:var(--ink)}
.home-header{position:static;gap:32px;backdrop-filter:none;padding:15px max(24px,calc((100vw - 1152px)/2));background:var(--surface)}
.home-header .marketing-brand{flex-shrink:0;padding:0;gap:10px}.home-header .brand-edition{font-size:10px;letter-spacing:.06em;white-space:nowrap}
.home-nav{display:flex;align-items:center;gap:23px;flex:1;justify-content:center}.home-nav a{padding:11px 0;color:var(--muted);font-size:13px;white-space:nowrap;text-decoration:none;border-bottom:2px solid transparent}.home-nav a:hover,.home-nav a[aria-current=page]{color:var(--strong);border-bottom-color:var(--brand)}
.home-header .marketing-actions{gap:12px;flex-shrink:0}.home-header .marketing-actions>button,.home-header .marketing-actions>a{font-size:12px}.home-header #marketing-session-status{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.home-container{max-width:1200px;margin:0 auto;padding:0 24px}.home-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:39px 0 30px;border-bottom:1px solid var(--border)}
.home-eyebrow{margin:0 0 9px!important;color:var(--brand);font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.12em}.home-intro h1{font-family:var(--font-serif);font-weight:550;font-size:36px;line-height:1.16;letter-spacing:-.035em;color:var(--strong);margin:0}.home-lede{font-size:14px;line-height:1.6;color:var(--muted);margin:10px 0 0}.home-explore{font-size:12px;white-space:nowrap;text-decoration:none;color:var(--brand);padding:10px 0}.home-explore span{margin-left:13px}
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 274px;gap:36px;padding:30px 0 34px;align-items:start}.home-main,.home-section{min-width:0}.home-section+.home-section{margin-top:35px}.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:17px}.home-section-heading h2{margin:0;color:var(--strong);font-size:19px;font-weight:650;letter-spacing:-.025em}.home-section-heading p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.home-section-heading>a{font-size:11px;color:var(--brand);white-space:nowrap;text-decoration:none}.home-section-heading>a span{margin-left:7px}
.home-table-wrap{width:100%;min-width:0}.home-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.home-table th{padding:10px 10px;background:color-mix(in srgb,var(--border) 26%,var(--surface));font-weight:500;font-size:10px;letter-spacing:.035em;color:var(--muted);text-align:left;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.home-table td{padding:15px 10px;border-bottom:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere}.home-table th:first-child,.home-table td:first-child{padding-left:12px}.home-table .home-number{text-align:right;font-variant-numeric:tabular-nums;width:83px}.home-table .home-actions-heading{width:124px;text-align:right}.home-table tbody tr:hover{background:color-mix(in srgb,var(--brand) 3%,var(--surface))}
.home-title-link{display:inline-block;color:var(--strong);font-weight:550;line-height:1.45;text-decoration:none}.home-title-link:hover{color:var(--brand);text-decoration:underline;text-underline-offset:3px}.home-row-meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:7px;font-size:10px;color:var(--muted);line-height:1.5}.home-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:var(--muted)}.home-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.home-status.is-practice{color:var(--brand)}.home-status.is-live{color:var(--success,#456b47)}.home-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 13px;font-size:11px}.home-row-actions a{color:var(--brand);text-decoration:none}.home-row-actions a:hover{text-decoration:underline}.home-row-actions a:last-child:not(:first-child){color:var(--muted)}
.home-access-note{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 0}.home-problem-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.home-filters{display:flex;flex-wrap:wrap;gap:4px}.home-filters button{background:transparent;color:var(--muted);border:1px solid transparent;padding:6px 10px;border-radius:5px;font-size:11px;font-weight:500;box-shadow:none}.home-filters button:hover{background:color-mix(in srgb,var(--border) 30%,var(--surface))}.home-filters button[aria-pressed=true]{background:var(--brand);color:var(--surface)}.home-search{flex:0 1 190px;margin:0}.home-search input{width:100%;min-width:0;border:1px solid var(--border);border-radius:6px;background:var(--panel);font-size:11px;color:var(--ink);padding:8px 11px;box-shadow:none}.home-problem-table th:nth-child(2){width:104px}.home-problem-table .home-number{width:54px}.home-problem-source{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}.home-type{display:inline-block;max-width:100%;font-size:10px;padding:3px 6px;border:1px solid var(--border);border-radius:4px;white-space:nowrap;color:var(--muted)}
.home-sidebar{display:grid;gap:18px;min-width:0}.home-side-panel{background:var(--panel);padding:20px;border:1px solid var(--border);border-radius:10px;min-width:0}.home-side-panel h2{font-size:15px;font-weight:650;line-height:1.4;margin:0;color:var(--strong);letter-spacing:-.015em}.home-side-panel p{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0 0}.home-featured{background:color-mix(in srgb,var(--brand) 5%,var(--panel));border-color:color-mix(in srgb,var(--brand) 24%,var(--border))}.home-featured h2{font-size:17px;font-family:var(--font-serif);font-weight:550;letter-spacing:-.02em}.home-featured .home-featured-name{font-size:15px;font-family:var(--font-serif);font-weight:500;line-height:1.45;color:var(--strong);margin:11px 0 0}.home-featured .home-featured-facts{font-size:11px;margin-top:10px}.home-featured .home-featured-action{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:14px;border-top:1px solid var(--border);font-size:12px;text-decoration:none;color:var(--brand);font-weight:550}
.home-side-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-side-heading>a{font-size:10px;white-space:nowrap;color:var(--brand);text-decoration:none}.home-ranking-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:18px;padding-bottom:9px;border-bottom:1px solid var(--border)}.home-rankings{list-style:none;margin:0;padding:0}.home-rankings>li{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px 0;border-bottom:1px solid color-mix(in srgb,var(--border) 55%,transparent);font-size:11px}.home-rankings>li:last-child{border-bottom:0;padding-bottom:0}.home-rankings .home-rank-number{color:var(--muted);font-size:10px}.home-rankings a{font-weight:550;color:var(--strong);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.home-rankings a:hover{color:var(--brand)}.home-rating{font-variant-numeric:tabular-nums;font-size:11px;font-weight:550;color:var(--brand)}.home-rankings>.home-empty,.home-rankings>.home-loading{display:block}
.home-start h2{font-family:var(--font-serif);font-size:20px;font-weight:500;letter-spacing:-.025em}.home-start>button{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:17px}.home-start .home-signin{font-size:10px;margin-top:12px}.home-start .home-signin button{font-size:10px;padding:0 3px}.home-lab-link{display:flex;gap:12px;align-items:flex-start;padding:0 4px}.home-lab-mark{font-family:monospace;font-size:16px;color:var(--brand);padding-top:3px}.home-lab-link a{font-size:11px;color:var(--ink);text-decoration:none}.home-lab-link p{font-size:10px;color:var(--muted);margin:5px 0 0}
.home-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;padding:23px 0 28px;border-top:1px solid var(--border);font-size:10px;color:var(--muted)}.home-footer strong{font-size:13px;letter-spacing:-.03em;color:var(--ink)}.home-footer nav{display:flex;gap:18px}.home-footer a{color:var(--muted);text-decoration:none}.home-footer a:hover{color:var(--brand)}
.home-loading,.home-empty{font-size:12px!important;line-height:1.7;color:var(--muted);padding:20px 12px!important}.home-retry{font-size:11px;background:transparent;color:var(--brand);border:1px solid var(--border);padding:5px 10px;margin:8px 0 0;box-shadow:none}.home-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#public-site-header{display:none}body.guest-browse #public-site-header{display:flex}body.guest-browse .shell{display:block}body.guest-browse .rail,body.guest-browse .mobilebar{display:none}body.guest-browse .content{max-width:1200px;margin:0 auto;padding:32px 24px}body.guest-browse .auth-page{min-height:calc(100vh - 145px)}.public-home [hidden],#public-site-header [hidden]{display:none!important}
@media(min-width:1600px){.home-container{max-width:1260px}.home-header{padding-left:calc((100vw - 1212px)/2);padding-right:calc((100vw - 1212px)/2)}}
@media(max-width:1100px){.home-header{gap:20px}.home-nav{gap:15px}.home-header .brand-edition{display:none}.home-header .marketing-actions{gap:9px}.home-layout{gap:24px;grid-template-columns:minmax(0,1fr) 250px}.home-side-panel{padding:17px}.home-problem-tools{align-items:stretch;flex-direction:column}.home-search{flex:auto}.home-search input{max-width:none}.home-intro h1{font-size:32px}.home-explore{font-size:11px}}
@media(max-width:800px){.home-header{flex-wrap:wrap;justify-content:space-between;gap:8px 18px}.home-nav{order:3;flex-basis:100%;justify-content:flex-start;gap:27px}.home-nav a{padding:9px 0}.home-layout{grid-template-columns:1fr;gap:30px}.home-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.home-lab-link{align-self:center}.home-problem-tools{flex-direction:row;align-items:center}.home-search{flex:0 1 200px}.home-intro{padding:28px 0;align-items:flex-start}.home-intro h1{font-size:31px}.home-explore{padding-top:26px;white-space:normal;max-width:140px}.home-intro .home-eyebrow{font-size:9px}}
@media(max-width:520px){.home-header{padding:13px 18px 0}.home-header .brand-name{font-size:19px}.home-header .brand svg{width:27px;height:27px}.home-header .marketing-actions>button,.home-header .marketing-actions>a{font-size:11px;padding:8px 9px}.home-header #marketing-session-status{display:none}.home-nav{display:flex;justify-content:space-between;gap:10px}.home-nav a{font-size:11px;padding:13px 0}.home-container{padding:0 18px}.home-intro{display:block;padding:28px 0 22px}.home-intro h1{font-size:30px}.home-lede{font-size:12px;max-width:29ch}.home-explore{display:inline-block;max-width:none;padding:16px 0 0}.home-layout{padding-top:24px}.home-section-heading{align-items:flex-start;gap:10px}.home-section-heading h2{font-size:17px}.home-section-heading p{font-size:11px;max-width:30ch}.home-section-heading>a{font-size:10px;padding-top:4px}.home-table th,.home-type{font-size:9px}.home-table td{padding:13px 7px}.home-title-link{font-size:12px}.home-table .home-number{width:50px}.home-contest-table .home-number{display:none}.home-table .home-actions-heading{width:85px}.home-row-actions{gap:10px;flex-direction:column;align-items:flex-end;font-size:10px}.home-row-meta{font-size:9px;gap:5px 7px}.home-problem-tools{align-items:stretch;flex-direction:column;gap:12px}.home-filters{gap:3px}.home-filters button{font-size:11px;padding:7px 10px}.home-search{flex:auto}.home-search input{font-size:16px;padding:9px 11px}.home-problem-table th:nth-child(2){width:78px}.home-problem-table .home-number{width:40px}.home-type{padding:3px 5px}.home-sidebar{grid-template-columns:1fr}.home-side-panel{padding:21px}.home-footer{gap:16px;font-size:10px}.home-footer>span:last-child{flex-basis:100%}body.guest-browse .content{padding:24px 18px}}
@media(pointer:coarse){.home-nav a,.home-filters button,.home-row-actions a,.home-explore{min-height:44px;display:inline-flex;align-items:center}.home-row-actions{gap:0}.home-filters button{padding-left:11px;padding-right:11px}}

/* Wide archive tables scroll within the public content column. */
body.guest-browse .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}

/* Submission history is available only after signing in. */
body.guest-browse .contest-task-solutions,body.signed-out .contest-task-solutions,body.guest-browse .public-submissions,body.signed-out .public-submissions,body.guest-browse #problem-solutions-card,body.signed-out #problem-solutions-card,body.guest-browse [data-private-submissions],body.signed-out [data-private-submissions]{display:none!important}
