:root{color-scheme:light;--bg: #edf3f4;--surface: #ffffff;--surface-inset: #f3f8f8;--border: #e1eaec;--border-strong: #cfdde0;--ink: #16262e;--muted: #6c838f;--accent: #3d8f82;--accent-hover: #327468;--accent-soft: #e6f2ef;--danger: #b4544a;--danger-soft: #fbeceb;--brand: #ef5b9c;--radius-lg: 20px;--radius: 14px;--radius-pill: 999px;--shadow: 0 14px 34px rgba(28, 62, 74, .07);--shadow-lifted: 0 22px 48px rgba(28, 62, 74, .12);--font: "Manrope", system-ui, -apple-system, "Helvetica Neue", sans-serif;--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;--step-0: 15px;--step-1: 17px;--step-2: 21px;--step-3: 25px;--step-4: 32px;--space-1: 6px;--space-2: 10px;--space-3: 16px;--space-4: 22px;--space-5: 32px;--space-6: 48px;--control-h: 52px}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:var(--step-0);line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}button{font:inherit;color:inherit;cursor:pointer;border:none;background:none}:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.page{min-height:100%;display:flex;flex-direction:column;align-items:center;padding:var(--space-6) var(--space-4)}.stack{display:flex;flex-direction:column;gap:var(--space-3)}.row{display:flex;align-items:center;gap:var(--space-3)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:var(--space-5)}.label{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.muted{color:var(--muted)}.btn{min-height:var(--control-h);padding:0 28px;border-radius:var(--radius);font-size:var(--step-0);font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .14s ease,color .14s ease,border-color .14s ease}.btn--primary{background:var(--ink);color:#fff}.btn--primary:hover:not(:disabled){background:#0d1a20}.btn--accent{background:var(--accent);color:#fff}.btn--accent:hover:not(:disabled){background:var(--accent-hover)}.btn--quiet{background:var(--surface-inset);color:var(--ink);border:1px solid var(--border)}.btn--quiet:hover:not(:disabled){border-color:var(--border-strong)}.btn:disabled{opacity:.45;cursor:not-allowed}.spinner{width:22px;height:22px;border-radius:50%;border:2px solid var(--border);border-top-color:var(--accent);animation:spin .72s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}.shell{min-height:100%;display:flex;flex-direction:column}.shell__bar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);background:#ffffffb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10}.shell__brand{font-weight:700;letter-spacing:-.01em;white-space:nowrap;color:var(--ink);text-decoration:none}.shell__brand:hover,.shell__brand-accent{color:var(--accent)}.shell__user{gap:var(--space-3)}.shell__email{font-size:13px;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell__signout{min-height:44px;padding:0 14px;border-radius:var(--radius-pill);font-size:14px;font-weight:600;color:var(--muted)}.shell__signout:hover{color:var(--ink);background:var(--surface-inset)}.shell__main{flex:1;display:flex;justify-content:center;padding:var(--space-6) var(--space-4)}.login{min-height:100%;display:grid;place-items:center;padding:var(--space-5);background:radial-gradient(120% 80% at 50% -10%,#fff,#fff0 60%),var(--bg)}.login__card{width:min(420px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lifted);padding:var(--space-6) var(--space-5) var(--space-5);display:flex;flex-direction:column;gap:var(--space-4);text-align:center}.login__brand{font-weight:700;letter-spacing:-.01em}.login__lede{display:flex;flex-direction:column;gap:var(--space-1)}.login__title{margin:0;font-size:var(--step-3);font-weight:600;letter-spacing:-.02em}.login__sub{margin:0;font-size:14px;text-wrap:pretty}.login__google{width:100%}.login__note{margin:0;font-size:13px;line-height:1.5;border-radius:var(--radius);padding:12px 14px;text-align:left}.login__note--warn{background:var(--surface-inset);color:var(--muted)}.login__note--error{background:var(--danger-soft);color:var(--danger)}.login__note code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.list{width:min(880px,100%);display:flex;flex-direction:column;gap:var(--space-5)}.list__head{display:flex;flex-direction:column;gap:var(--space-1)}.list__title{margin:0;font-size:var(--step-4);font-weight:600;letter-spacing:-.02em}.list__sub{margin:0;max-width:52ch;text-wrap:pretty}.list__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-3)}.quiz-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);color:var(--ink);transition:box-shadow .16s ease,transform .16s ease}.quiz-card:hover{color:var(--ink);box-shadow:var(--shadow-lifted);transform:translateY(-2px)}.quiz-card__title{font-size:var(--step-2);font-weight:600;letter-spacing:-.01em}.quiz-card__desc{margin:0;font-size:14px;text-wrap:pretty}.quiz-card__meta{display:flex;align-items:center;gap:var(--space-3);margin-top:auto;padding-top:var(--space-2);font-size:13px;color:var(--muted)}.quiz-card__time{gap:6px}.notice{border-radius:var(--radius);padding:14px 16px;font-size:14px;background:var(--surface-inset);color:var(--muted)}.notice--error{background:var(--danger-soft);color:var(--danger)}.empty{display:flex;flex-direction:column;gap:var(--space-2)}.empty__title{margin:0;font-size:var(--step-1);font-weight:600}.quiz{width:min(720px,100%);display:flex;flex-direction:column;gap:var(--space-3)}.brief{display:flex;flex-direction:column;gap:var(--space-3)}.brief__title{margin:0;font-size:var(--step-3);font-weight:600;letter-spacing:-.02em}.brief__desc{margin:0;text-wrap:pretty}.rules{list-style:none;margin:var(--space-2) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}.rules__item{display:flex;gap:var(--space-3);align-items:center;font-size:14px;line-height:1.55;text-wrap:pretty}.rules__icon{flex:none;width:40px;height:40px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.brief__actions{display:flex;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-2)}.runner{display:flex;flex-direction:column;gap:var(--space-4);user-select:none;-webkit-user-select:none}.runner--hidden{filter:blur(10px)}.runner__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.runner__head-left{gap:var(--space-1)}.runner__counter{font-size:var(--step-0);font-weight:600}.runner__head-right{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-1)}.runner__clock{gap:8px;color:var(--muted);font-variant-numeric:tabular-nums}.runner__clock--low{color:var(--danger);font-weight:600}.runner__warnings{font-size:12px;color:var(--muted)}.progress{height:3px;border-radius:var(--radius-pill);background:var(--border);overflow:hidden}.progress__bar{width:100%;height:100%;border-radius:var(--radius-pill);background:var(--accent);transform-origin:left center;transition:transform .24s ease}.runner__question{margin:0;font-size:var(--step-3);font-weight:600;line-height:1.4;letter-spacing:-.01em;text-wrap:pretty}.options{display:flex;flex-direction:column;gap:var(--space-3)}.option{display:flex;align-items:center;gap:16px;text-align:left;min-height:60px;padding:15px 18px;border-radius:var(--radius);background:var(--surface-inset);box-shadow:inset 0 0 0 1px var(--border);transition:box-shadow .14s ease,background .14s ease}.option:hover{box-shadow:inset 0 0 0 1px var(--border-strong)}.option--picked{background:var(--accent-soft);box-shadow:inset 0 0 0 1.5px var(--accent)}.option__mark{flex:none;width:30px;height:30px;border-radius:var(--radius-pill);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--border-strong)}.option--picked .option__mark{background:var(--accent);color:#fff;box-shadow:none}.option__text{font-size:16px;line-height:1.4;text-wrap:pretty}.option--picked .option__text{font-weight:500}.runner__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);font-size:14px}.veil{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:var(--space-4);background:#edf3f4db;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.veil__box{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);text-align:center;max-width:380px}.veil__icon{width:56px;height:56px;border-radius:var(--radius-pill);background:var(--surface);color:var(--accent);display:grid;place-items:center;box-shadow:var(--shadow)}.veil__title{font-size:var(--step-2);font-weight:600}.veil__sub{font-size:14px;text-wrap:pretty}.result{display:flex;flex-direction:column;gap:var(--space-3)}.result__score{margin:0;font-size:44px;font-weight:700;letter-spacing:-.03em}.result__score .muted{font-size:var(--step-2);font-weight:500}.review{display:flex;flex-direction:column;gap:var(--space-2);border-top:1px solid var(--border);padding-top:var(--space-3)}.review__row{display:flex;gap:var(--space-3);align-items:flex-start}.review__mark{flex:none;width:26px;height:26px;border-radius:var(--radius-pill);display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--danger);background:var(--danger-soft)}.review__mark--ok{color:var(--accent);background:var(--accent-soft)}.review__body{display:flex;flex-direction:column;gap:3px}.review__question{font-size:15px;line-height:1.45;text-wrap:pretty}.review__answer{font-size:13px}.result__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);border-top:1px solid var(--border);padding-top:var(--space-3);font-size:13px}@media(max-width:560px){.shell__main{padding:var(--space-4) var(--space-3)}.shell__email{display:none}.runner__head{align-items:center}.runner__warnings{font-size:11px;text-align:right}.card{padding:var(--space-4)}.runner__question{font-size:var(--step-2)}.result__score{font-size:36px}.brief__actions,.runner__foot,.result__foot{flex-direction:column;align-items:stretch}.brief__actions .btn,.runner__foot .btn,.result__foot .btn{width:100%}}.shell__link{font-size:14px;font-weight:600;color:var(--muted);padding:10px 12px;border-radius:var(--radius-pill);min-height:44px;display:inline-flex;align-items:center}.shell__link:hover{color:var(--ink);background:var(--surface-inset)}.shell__link--on{color:var(--accent);background:var(--accent-soft)}.admin{width:min(1320px,100%);display:flex;flex-direction:column;gap:var(--space-4)}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-3)}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-1)}.stat__value{font-size:30px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.stat__value--bad{color:var(--danger)}.stat__of{font-size:15px;font-weight:500;color:var(--muted)}.stat__note{font-size:12px;margin-top:var(--space-1)}.filters{display:flex;flex-wrap:wrap;gap:var(--space-2)}.chip{min-height:44px;padding:0 16px;border-radius:var(--radius-pill);font-size:14px;font-weight:600;color:var(--muted);background:var(--surface);border:1px solid var(--border)}.chip:hover{color:var(--ink);border-color:var(--border-strong)}.chip--on{color:#fff;background:var(--accent);border-color:var(--accent)}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}.table th{text-align:left;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:14px var(--space-3);border-bottom:1px solid var(--border)}.table td{padding:14px var(--space-3);border-bottom:1px solid var(--border);vertical-align:middle}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover{background:var(--surface-inset)}.table__num{text-align:right;font-variant-numeric:tabular-nums}.table__num--bad{color:var(--danger);font-weight:600}.table__name{font-weight:600}.table__mail{font-size:12px}.table__where{white-space:nowrap}.table__ip{font-family:var(--font-mono);font-size:12px;letter-spacing:-.01em;max-width:22ch;word-break:break-all}.tag{display:inline-flex;align-items:center;padding:5px 12px;border-radius:var(--radius-pill);font-size:12px;font-weight:600;background:var(--surface-inset);color:var(--muted)}.tag--ok{background:var(--accent-soft);color:var(--accent)}.tag--bad{background:var(--danger-soft);color:var(--danger)}.table__reset{min-height:44px;padding:0 14px;border-radius:var(--radius);font-size:13px;font-weight:600;color:var(--muted)}.table__reset:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.table__reset:disabled{opacity:.45;cursor:not-allowed}@media(max-width:560px){.stat__value{font-size:24px}.shell__link{padding:10px}}.no-access{max-width:520px;margin:var(--space-6) auto}.no-access__icon{width:48px;height:48px;margin:0 auto var(--space-3);display:grid;place-items:center;border-radius:var(--radius-pill);background:var(--surface-inset);color:var(--muted)}.no-access__lede{margin:var(--space-2) 0 var(--space-4)}.no-access__mail{font-size:var(--step-2);font-weight:700;padding:var(--space-3);border-radius:var(--radius);background:var(--surface-inset);word-break:break-all}.no-access__out{margin-top:var(--space-4)}.person{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}.person__avatar{width:64px;height:64px;border-radius:var(--radius-pill);object-fit:cover;background:var(--surface-inset);flex:none}.person__avatar--letters{display:grid;place-items:center;font-size:var(--step-2);font-weight:700;color:var(--accent);background:var(--accent-soft)}.person__who{flex:1 1 200px;min-width:0}.person__name{font-size:var(--step-2);font-weight:700}.person__mail{word-break:break-all}.person__side{text-align:right;display:grid;gap:var(--space-1);justify-items:end}.person__since{font-size:13px}.person__name-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.person__name-input{font:inherit;font-size:var(--step-1);font-weight:700;color:var(--ink);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:6px 12px;min-width:0;width:min(100%,320px)}.person__name-input:focus{outline:2px solid var(--accent);outline-offset:1px}.person__actions{display:flex;gap:12px;margin-top:6px;font-size:13px;flex-wrap:wrap}.person__actions button{padding:0;background:none;color:var(--accent);font-weight:600}.person__actions button:hover{color:var(--accent-hover)}.person__actions button:disabled{color:var(--muted);cursor:default}.person__actions-muted{color:var(--muted)!important}.person__actions-muted:hover{color:var(--danger)!important}.person__error{margin-top:4px;font-size:13px;color:var(--danger)}.credits{display:grid;gap:var(--space-4)}.credits__head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.credits__big{font-size:var(--step-4);font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.credits__of{font-size:var(--step-0);font-weight:600;color:var(--muted);margin-left:var(--space-2)}.credits__bar{height:10px;border-radius:var(--radius-pill);background:var(--surface-inset);overflow:hidden}.credits__bar-fill{height:100%;border-radius:var(--radius-pill);background:var(--accent);transition:width .24s ease}.credits__stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.credits__stats .stat{box-shadow:none;background:var(--surface-inset);border-color:transparent;padding:var(--space-3)}.credits__over{margin:0}.credits__note{font-size:13px;margin:0}.role-select{min-height:44px;padding:0 var(--space-2);border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-weight:600}.role-select:disabled{color:var(--muted);background:var(--surface-inset)}.limits{gap:var(--space-2);align-items:center;flex-wrap:nowrap}.limits__total{min-width:56px;font-size:14px;font-variant-numeric:tabular-nums;text-align:right}.limits__field{display:grid;gap:2px}.limits__input{width:82px;min-height:44px;padding:0 var(--space-2);border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-variant-numeric:tabular-nums}.limits__input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.limits__save{min-height:44px;padding:0 14px;border-radius:var(--radius);font-size:13px;font-weight:600;color:#fff;background:var(--accent)}.limits__save:hover:not(:disabled){background:var(--accent-hover)}.limits__save:disabled{color:var(--muted);background:var(--surface-inset)}.gens{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--space-3)}.gen{padding:0;overflow:hidden;display:flex;flex-direction:column}.gen__frame{aspect-ratio:4 / 3;background:var(--surface-inset);display:grid;place-items:center;overflow:hidden}.gen__media{width:100%;height:100%;object-fit:cover;display:block}.gen__media--none{display:grid;place-items:center;color:var(--muted);font-size:13px}.gen__audio{width:90%}.gen__body{padding:var(--space-3);display:grid;gap:var(--space-2)}.gen__top{justify-content:space-between}.gen__when,.gen__author{font-size:12px}.gen__prompt{margin:0;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.gen__error{margin:0;font-size:13px;color:var(--danger)}.gen__foot{justify-content:space-between;gap:var(--space-2)}.gen__model{font-family:var(--font-mono);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gen__credits{font-size:12px;font-weight:600;white-space:nowrap}.gen__files{display:grid;gap:4px}.gen__dl{font-size:13px;font-weight:600;color:var(--accent)}.gen__dl:hover{color:var(--accent-hover)}.list__title--sub{font-size:var(--step-2)}.gallery__head{margin-top:var(--space-4)}.spend{margin-bottom:var(--space-3)}.quizcell{display:flex;flex-wrap:wrap;gap:4px;max-width:160px}.quizcell__item{font-variant-numeric:tabular-nums}.connector{display:grid;gap:var(--space-2)}.connector__lede{margin:0}.connector__row{gap:var(--space-2);flex-wrap:wrap}.connector__url{flex:1 1 260px;padding:12px var(--space-3);border-radius:var(--radius);background:var(--surface-inset);font-family:var(--font-mono);font-size:13px;word-break:break-all}.connector__copy{min-height:44px;padding:0 16px;border-radius:var(--radius);font-size:13px;font-weight:600;color:#fff;background:var(--accent)}.connector__copy:hover{background:var(--accent-hover)}.connector__note{margin:0;font-size:12px}.connector__note code{font-size:11px;word-break:break-all}.connect{max-width:520px;margin:var(--space-6) auto}.connect__lede{margin:var(--space-2) 0 var(--space-3)}.connect__error{margin-bottom:var(--space-3)}.connect__who{font-weight:700;padding:var(--space-2) var(--space-3);border-radius:var(--radius);background:var(--surface-inset);word-break:break-all}.connect__go{width:100%;min-height:var(--control-h);margin-top:var(--space-4);border-radius:var(--radius);font-size:var(--step-0);font-weight:700;color:#fff;background:var(--accent)}.connect__go:hover:not(:disabled){background:var(--accent-hover)}.connect__go:disabled{color:var(--muted);background:var(--surface-inset)}.connect__note{margin:var(--space-3) 0 0;font-size:12px}.book{width:min(760px,100%);display:flex;flex-direction:column;gap:var(--space-5)}.book__head{display:flex;flex-direction:column;gap:var(--space-2)}.book__original{margin:0;font-size:14px}.book__desc{margin:0;max-width:62ch;line-height:1.55;text-wrap:pretty}.book__actions{gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-2)}.book__notice{display:flex;flex-direction:column;gap:var(--space-2)}.book__notice p{margin:0;line-height:1.5}.book__part{display:flex;flex-direction:column;gap:var(--space-2)}.book__part-title{margin:0;font-size:var(--step-3);font-weight:600;letter-spacing:-.01em}.book__part-note{margin:0;max-width:62ch;text-wrap:pretty}.book__chapters{list-style:none;margin:var(--space-2) 0 0;padding:var(--space-2) var(--space-4)}.book__chapter{padding:var(--space-3) 0;display:flex;flex-direction:column;gap:4px}.book__chapter+.book__chapter{border-top:1px solid var(--border)}.book__chapter-title{font-weight:600;font-size:var(--step-1)}.book__chapter-note{margin:0;max-width:62ch;line-height:1.5;color:var(--muted);text-wrap:pretty}.shell__cta{min-height:40px;padding:0 16px;border-radius:var(--radius-pill);font-size:14px;font-weight:700;color:#fff;background:var(--accent);display:inline-flex;align-items:center;white-space:nowrap}.shell__cta:hover{color:#fff;background:var(--accent-hover)}.avatar{border-radius:var(--radius-pill);object-fit:cover;background:var(--surface-inset);flex:none;display:inline-grid;place-items:center;font-weight:700;color:var(--accent)}.avatar--letters{background:var(--accent-soft)}.btn--ghost{background:var(--surface);color:var(--ink);border:1px solid var(--border);padding:0 18px}.btn--ghost:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-inset)}.btn--danger{color:var(--danger)}.btn--sm{min-height:36px;font-size:13px;padding:0 12px}.bar{height:8px;border-radius:var(--radius-pill);background:var(--surface-inset);overflow:hidden}.bar__fill{height:100%;border-radius:var(--radius-pill);background:var(--accent);transition:width .24s ease}.chip--sm{min-height:36px;padding:0 12px;font-size:13px}.chip--soft{color:var(--accent);background:var(--accent-soft);border-color:transparent}.field{display:flex;flex-direction:column;gap:6px}.field__label{font-size:13px;font-weight:600;color:var(--muted)}.field input,.field textarea,.comment__form input,.tagpicker__new,.tags-admin__merge,.review input,.review-row__verdict input{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;min-height:48px}.field textarea{resize:vertical}.field--inline{flex-direction:row;align-items:center;gap:10px}.field--inline input{width:110px;min-height:40px;padding:8px 10px}.notice--warn{background:#fbf3e4;color:var(--ink);border:1px solid #ecd9ae}.feed{width:100%;display:flex;gap:var(--space-5);flex-wrap:wrap;align-items:flex-start}.feed__main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:var(--space-4)}.feed__filters{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-3)}.filters--scroll{width:100%}.feed__person{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.feed__person-name{font-size:var(--step-3)}.feed__back{margin-left:auto}.feed__day{display:flex;flex-direction:column;gap:var(--space-3)}.feed__day-head{display:flex;align-items:center;gap:var(--space-3);font-size:13px;font-weight:600;color:var(--muted)}.feed__day-line{flex:1;height:1px;background:var(--border-strong)}.feed__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:var(--space-3)}.feed__columns{display:grid;gap:var(--space-3);align-items:start}.feed__column{display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.feed__more{display:flex;justify-content:center;min-height:48px}.feed__empty-cta{align-self:flex-start}.ref-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .16s ease,transform .16s ease}.ref-card:hover{box-shadow:var(--shadow-lifted);transform:translateY(-2px)}.ref-card--dup{opacity:.72}.ref-card__media{position:relative;display:block;aspect-ratio:16 / 10;background:var(--surface-inset)}.ref-card__media img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.ref-card__fade{position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(#fff0,#ffffffeb);pointer-events:none}.ref-card__more{position:absolute;left:50%;bottom:10px;transform:translate(-50%);padding:4px 10px;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--border);color:var(--ink);font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;box-shadow:0 4px 12px #1c3e4a1a}.ref-card__badge{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:var(--radius-pill);background:#16262ebf;color:#fff;font-size:11px;font-weight:700}.ref-card__badge--dup{left:auto;right:10px;background:var(--danger)}.ref-card__body{padding:12px 14px;display:flex;flex-direction:column;gap:6px;font-size:13px}.ref-card__who{display:flex;align-items:center;gap:6px;min-width:0}.ref-card__author{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:700}.ref-card__host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-card__stars{margin-left:auto;color:#c98a1b;font-weight:700;white-space:nowrap}.ref-card__note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-card__meta{display:flex;gap:8px;color:var(--muted)}.side{flex:1 1 360px;max-width:360px;display:flex;flex-direction:column;gap:var(--space-3);position:sticky;top:84px}.side__card{padding:var(--space-4);display:flex;flex-direction:column;gap:10px}.side__big{font-size:32px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.side__of{font-size:var(--step-1);font-weight:600;color:var(--muted)}.side__note{font-size:13px}.side__head{display:flex;align-items:baseline;gap:10px}.side__switch{margin-left:auto;display:flex;gap:2px;background:var(--surface-inset);border-radius:var(--radius-pill);padding:3px}.side__switch button{padding:5px 12px;border-radius:var(--radius-pill);font-size:13px;font-weight:600;color:var(--muted)}.side__switch button.on{color:#fff;background:var(--accent)}.lb{width:100%;border-collapse:collapse;font-size:14px}.lb th{padding:0 0 4px 10px;font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}.lb td{padding:4px 0 4px 10px;vertical-align:middle}.lb th:first-child,.lb td:first-child{padding-left:0}.lb__row--me{font-weight:700}.lb__n{width:18px;color:var(--muted);font-weight:700}.lb__cell-who{width:100%;max-width:0}.lb__who{display:flex;align-items:center;gap:8px;color:var(--ink);min-width:0}.lb__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb__num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}td.lb__num{font-size:13px}.lb__score{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.team{display:flex;flex-direction:column;gap:8px;font-size:14px}.team__row{display:flex;align-items:center;gap:10px;color:var(--ink)}.team__name{flex:1}.dot{width:10px;height:10px;border-radius:var(--radius-pill);flex:none}.dot--met{background:var(--accent)}.dot--under{background:#e2b45a}.dot--zero{background:var(--danger)}.modal{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:var(--space-4)}.modal__veil{position:absolute;inset:0;background:#16262e8c;cursor:default}.modal__box{position:relative;background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lifted);width:min(1180px,100%);max-height:calc(100vh - 2 * var(--space-4));display:flex;flex-wrap:wrap;overflow:hidden}.modal__media{flex:999 1 520px;min-width:0;background:var(--ink);display:flex;align-items:center;justify-content:center;min-height:320px;position:relative}.modal__media img,.modal__media video{max-width:100%;max-height:calc(100vh - 2 * var(--space-4));object-fit:contain;display:block}.modal__arrow{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:var(--radius-pill);background:#ffffff29;color:#fff;font-size:22px}.modal__arrow:hover{background:#ffffff4d}.modal__arrow--prev{left:14px}.modal__arrow--next{right:14px}.modal__aside{flex:1 1 340px;max-width:420px;padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);overflow-y:auto;max-height:calc(100vh - 2 * var(--space-4))}.modal__close{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:var(--radius-pill);background:var(--surface-inset);color:var(--muted);font-size:20px}.modal__who{display:flex;align-items:center;gap:10px;padding-right:40px}.modal__name{color:var(--ink);font-weight:700}.modal__time{font-size:13px}.modal__note{font-size:var(--step-1);font-weight:600;line-height:1.4}.modal__source{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:var(--surface-inset);font-size:13px;color:var(--ink);min-width:0}.modal__host{font-weight:700;white-space:nowrap}.modal__path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.modal__open{color:var(--accent);font-weight:700;white-space:nowrap}.modal__tags{display:flex;flex-wrap:wrap;gap:6px}.modal__hint{font-size:12px;margin-top:-8px}.modal__rate{padding:12px 14px;border-radius:var(--radius);border:1px dashed var(--border-strong);display:flex;flex-direction:column;gap:6px}.modal__edit{display:flex;flex-direction:column;gap:10px}.modal__edit textarea{font:inherit;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);resize:vertical}.modal__actions{flex-wrap:wrap;gap:8px}.modal__actions--foot{margin-top:auto;padding-top:var(--space-2);border-top:1px solid var(--border)}.modal__actions .btn{min-height:40px;font-size:14px}.reactions{display:flex;gap:6px;flex-wrap:wrap}.reaction{min-height:40px;padding:0 12px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface);font-size:15px;display:inline-flex;align-items:center;gap:6px}.reaction:hover:not(:disabled){border-color:var(--border-strong)}.reaction:disabled{cursor:default;opacity:.7}.reaction--on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-hover)}.reaction__n{font-size:13px;font-weight:700}.stars{display:flex;align-items:center;gap:2px;font-size:24px;color:var(--border-strong)}.stars__star{line-height:1;padding:2px;color:inherit}button.stars__star:hover{color:#e2b45a}.stars__star--on{color:#c98a1b}.stars__label{margin-left:8px;font-size:13px;color:var(--muted)}.modal__comments{display:flex;flex-direction:column;gap:10px;font-size:14px}.comment{display:flex;flex-direction:column;gap:2px}.comment__head{display:flex;align-items:center;gap:8px;font-size:12px}.comment__name{font-weight:700;font-size:13px;color:var(--ink)}.comment__del{margin-left:auto;color:var(--muted);font-size:16px;padding:0 6px}.comment__form input{width:100%;min-height:44px}.tagpicker{display:flex;flex-direction:column;gap:8px}.tagpicker__chips{display:flex;flex-wrap:wrap;gap:6px}.tagpicker__new{min-height:40px;padding:8px 12px;border-style:dashed;border-radius:var(--radius-pill);max-width:180px;font-size:13px}.newref{padding:var(--space-4);gap:var(--space-4);width:min(960px,100%)}.newref__left,.newref__right{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:var(--space-3)}.newref__title{margin:0;font-size:var(--step-2);font-weight:800}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-inset);min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:var(--space-4);font-size:13px}.dropzone--over{border-color:var(--accent);background:var(--accent-soft)}.dropzone__title{font-size:var(--step-0);font-weight:700}.dropzone .btn{margin-top:8px;min-height:44px;font-size:14px}.newref__preview{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--surface-inset)}.newref__preview img,.newref__preview video{width:100%;max-height:360px;object-fit:contain;display:block}.newref__replace{position:absolute;right:10px;top:10px;min-height:36px;font-size:13px}.newref__hint{margin:0;font-size:13px;line-height:1.5}.newref__dup{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45}.newref__dup img{width:56px;height:40px;object-fit:cover;border-radius:6px;flex:none}.newref__nudge{font-size:13px}.newref__foot{margin-top:auto;flex-wrap:wrap;gap:10px}.newref__count{margin-left:auto;font-size:13px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%);z-index:60;padding:12px 18px;border-radius:var(--radius-pill);background:var(--ink);color:#fff;font-size:14px;font-weight:600;box-shadow:var(--shadow-lifted)}.report{gap:var(--space-4)}.report__head{display:flex;align-items:baseline;gap:var(--space-3);flex-wrap:wrap}.report__norm{margin-left:auto;font-size:13px}.report__card{padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.heat-wrap{overflow-x:auto}.heat{display:grid;gap:5px;align-items:center;font-size:12px;min-width:700px}.heat__day{text-align:center;color:var(--muted);white-space:nowrap}.heat__day--today{color:var(--ink);font-weight:700}.heat__day--sum{text-align:right}.heat__who{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:700;font-size:13px;min-width:0}.heat__who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heat__cell{height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}.heat__cell--met{background:var(--accent)}.heat__cell--under{background:#e2b45a;color:var(--ink)}.heat__cell--zero{background:var(--border);color:var(--muted)}.heat__sum{text-align:right;font-weight:800}.heat__legend{display:flex;gap:16px;font-size:12px;align-items:center;flex-wrap:wrap}.heat__legend span{display:inline-flex;align-items:center;gap:6px}.heat__swatch{width:14px;height:14px;border-radius:4px;display:inline-block}.heat__legend-note{margin-left:auto}.report__formula{margin:0;padding:10px 16px;font-size:13px}.report__settings{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.report__settings .btn{min-height:40px;font-size:14px}.tags-admin{display:flex;flex-direction:column;gap:6px}.tags-admin__row{display:flex;align-items:center;gap:12px;font-size:14px;padding:6px 0;border-bottom:1px solid var(--border)}.tags-admin__name{flex:1;font-weight:600}.tags-admin__merge{min-height:36px;padding:4px 10px;font-size:13px}.refs-block{display:grid;gap:var(--space-3)}.refs-block__row{display:flex;gap:var(--space-4);flex-wrap:wrap;font-size:14px}.training__head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.training__title{font-size:var(--step-3);margin-top:4px;text-wrap:balance}.training__nav{gap:8px;flex-wrap:wrap}.training__all{font-size:13px;font-weight:600}.training__works,.training__recent{display:flex;flex-direction:column;gap:var(--space-3)}.task{padding:var(--space-5);display:flex;gap:var(--space-5);flex-wrap:wrap}.task__main{flex:999 1 380px;min-width:0;display:flex;flex-direction:column;gap:var(--space-3)}.task__side{flex:1 1 220px;max-width:280px;display:flex;flex-direction:column;gap:10px;align-self:flex-start;padding:var(--space-3);border-radius:var(--radius);background:var(--surface-inset)}.task__side .btn{width:100%}.task__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.task__tag{min-height:28px;padding:0 10px;font-size:12px}.task__p{margin:0;font-size:var(--step-1);line-height:1.55;text-wrap:pretty}.task__check{margin:0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:6px;font-size:14px}.task__check li::marker{color:var(--accent)}.task__status{align-self:flex-start}.task__deadline,.task__formula{font-size:13px;line-height:1.45}.work__chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;background:var(--surface-inset);color:var(--muted);white-space:nowrap}.work__chip--accepted{background:var(--accent-soft);color:var(--accent-hover)}.work__chip--submitted{background:#fbf3e4;color:#8a6414}.work__chip--returned{background:var(--danger-soft);color:var(--danger)}.work__chip--small{background:var(--accent-soft);color:var(--accent-hover)}.work__chip--medium{background:#ece6f7;color:#5c4a8f}.modal__who .work__chip{margin-left:auto}.work{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .16s ease,transform .16s ease}.work:hover{box-shadow:var(--shadow-lifted);transform:translateY(-2px)}.work--returned{opacity:.8}.work__media{position:relative;display:block;aspect-ratio:16 / 10;background:var(--surface-inset)}.work__media img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.work__blank{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:13px;color:var(--muted);background:repeating-linear-gradient(135deg,var(--surface-inset) 0 12px,#eaf1f2 12px 24px)}.work__blank--big{min-height:320px;color:#fff;background:none;font-size:var(--step-0)}.work__blank--big .work__host{color:#fff;font-size:var(--step-2)}.work__host{font-weight:700;color:var(--ink)}.work__badge{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:var(--radius-pill);font-size:11px;font-weight:700;background:#16262ebf;color:#fff}.work__badge--accepted{background:var(--accent)}.work__badge--returned{background:var(--danger)}.work__badge--late{left:auto;right:10px;background:#16262e99}.work__body{padding:10px 14px;display:flex;align-items:center;gap:6px;font-size:13px}.work__open{align-self:flex-start;min-height:44px;font-size:14px}.work__note{font-weight:500;font-size:var(--step-0);white-space:pre-wrap}.review input{width:100%;min-height:44px}.submit__task{font-size:13px}.submit__cover-actions{position:absolute;right:10px;top:10px;gap:6px}.field__hint{font-size:12px}.taskedit__warn{color:var(--danger)}.taskedit__nums{gap:var(--space-3)}.taskedit__nums .field{flex:1}.taskedit textarea{font:inherit;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);resize:vertical}.recent{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-2)}.recent__card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:4px;color:var(--ink);font-size:13px;transition:box-shadow .16s ease}.recent__card:hover{box-shadow:var(--shadow);color:var(--ink)}.recent__card--weekend{background:var(--surface-inset)}.recent__top{justify-content:space-between;font-size:12px}.recent__title{font-weight:700;line-height:1.35}.recent__meta{font-size:12px}.recent__review{margin-top:4px;font-size:12px}.review-progress{gap:8px}.side__more{font-size:13px;font-weight:600}.tasks-table td{padding:10px var(--space-3)}.tasks-table__day{white-space:nowrap;width:150px}.tasks-table__title a{color:var(--ink);font-weight:600}.tasks-table__today{margin-left:8px}.tasks-table__future td{color:var(--muted)}.tasks-table__mine{gap:8px;font-size:13px}.training-all__month,.review-list{display:flex;flex-direction:column;gap:var(--space-3)}.review-row{padding:var(--space-3);display:grid;grid-template-columns:220px minmax(0,1fr) 300px;gap:var(--space-4);align-items:start}.review-row__cover{display:block;aspect-ratio:16 / 10;border-radius:10px;overflow:hidden;background:var(--surface-inset)}.review-row__cover img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.review-row__body{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px}.review-row__who{gap:8px;flex-wrap:wrap}.review-row__task a{font-weight:700;color:var(--ink)}.review-row__note{white-space:pre-wrap}.review-row__links{gap:8px;flex-wrap:wrap}.review-row__verdict{display:flex;flex-direction:column;gap:10px}.review-row__verdict input{width:100%;min-height:44px}@media(max-width:960px){.review-row{grid-template-columns:1fr}}@media(max-width:720px){.side{position:static;max-width:none}.modal{padding:0}.modal__box{max-height:100vh;border-radius:0}.modal__aside{max-width:none}}.ext__hero{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}.ext__icon{width:64px;height:64px;flex:none}.ext__icon img{width:100%;height:100%;display:block}.ext__hero-text{flex:1 1 240px;min-width:0}.ext__name{font-size:var(--step-2);font-weight:700}.ext__download{white-space:nowrap}.ext__steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3);counter-reset:none}.ext__step{display:flex;gap:var(--space-3);padding:var(--space-4);align-items:flex-start}.ext__n{width:32px;height:32px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-weight:800;display:grid;place-items:center;flex:none}.ext__step-title{font-weight:700;margin-bottom:4px}.ext__step code,.ext__faq code{font-family:var(--font-mono);font-size:13px;background:var(--surface-inset);padding:1px 6px;border-radius:6px}.ext__faq{display:flex;flex-direction:column;gap:var(--space-2)}.ext__list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:14px}.ext__actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.ext__alt{font-size:13px}
