@import "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap";:root{color:#1f2330;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5efe3;font-family:Space Grotesk,system-ui,sans-serif;font-weight:400;line-height:1.5}body{margin:0}a{color:inherit}:root{--bg:#0d1117;--surface:#161b22;--card:#21262d;--card-hover:#282e36;--ink:#e6edf3;--muted:#8b949e;--line:#30363d;--accent:#388bfd;--accent-hover:#58a6ff;--accent-dim:#1f3a6e;--success:#3fb950;--success-dim:#1a3a22;--warning:#d29922;--warning-dim:#3a2d10;--danger:#f85149;--danger-dim:#3a1a1a;--radius-sm:4px;--radius:8px;--radius-lg:12px;--font:"Inter", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", "Fira Code", "Cascadia Code", monospace;--shadow:0 1px 3px #0006, 0 1px 2px #0000004d;--shadow-lg:0 4px 16px #00000080}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{height:100%}body{height:100%;font-family:var(--font);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}#root{height:100%}h1{color:var(--ink);font-size:1.5rem;font-weight:600}h2{color:var(--ink);font-size:1.125rem;font-weight:600}h3{color:var(--ink);font-size:.9375rem;font-weight:600}p{color:var(--muted)}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover);text-decoration:underline}code,pre{font-family:var(--font-mono);font-size:.875em}.app-shell{flex-direction:column;height:100%;display:flex}.app-header{background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:1rem;height:52px;padding:0 1.5rem;display:flex}.app-header__logo{color:var(--ink);letter-spacing:.01em;font-size:.875rem;font-weight:600}.app-header__spacer{flex:1}.app-header__user{color:var(--muted);font-size:.8125rem}.mirror-badge{cursor:default;-webkit-user-select:none;user-select:none;border-radius:999px;align-items:center;gap:.3rem;padding:.15rem .5rem;font-size:.75rem;font-weight:500;display:inline-flex}.mirror-badge--unknown{background:var(--line);color:var(--muted)}.mirror-badge--mirror{color:#065f46;background:#d1fae5}.mirror-badge--firestore{color:#92400e;background:#fef3c7}.mirror-badge__dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.mirror-badge--unknown .mirror-badge__dot{background:var(--muted)}.mirror-badge--mirror .mirror-badge__dot{background:#10b981}.mirror-badge--firestore .mirror-badge__dot{background:#f59e0b}.app-main{flex:1;padding:2rem 1.5rem;overflow:auto}.app-main--centered{justify-content:center;align-items:center;display:flex}.screen{flex-direction:column;gap:1.5rem;max-width:900px;margin:0 auto;display:flex}.screen--wide{max-width:1200px}.screen--narrow{max-width:480px}.screen--home{width:100%;max-width:none}.home-page-heading{flex-direction:column;gap:.2rem;display:flex}.home-page-heading__row{flex-wrap:wrap;align-items:baseline;gap:.6rem;display:flex}.home-page-heading__meta{white-space:nowrap;margin-top:0}.breadcrumb{color:var(--muted);align-items:center;gap:.375rem;font-size:.8125rem;display:flex}.breadcrumb__sep{color:var(--line)}.breadcrumb__item{color:var(--muted)}.breadcrumb__item--active{color:var(--ink);font-weight:500}.breadcrumb__item--link{color:var(--accent);cursor:pointer}.breadcrumb__item--link:hover{color:var(--accent-hover)}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem}.card--clickable{cursor:pointer;transition:background .12s,border-color .12s}.card--clickable:hover{background:var(--card-hover);border-color:var(--accent)}.card--selected{border-color:var(--accent);background:var(--accent-dim)}.card__title{color:var(--ink);margin-bottom:.25rem;font-size:.9375rem;font-weight:600}.card__meta{color:var(--muted);font-size:.8125rem}.section-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.section-title{color:var(--ink);font-size:1.125rem;font-weight:600}.section-subtitle{color:var(--muted);margin-top:.25rem;font-size:.8125rem}.btn{border-radius:var(--radius-sm);font-family:var(--font);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;line-height:1;text-decoration:none;transition:background .12s,border-color .12s,opacity .12s;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn--primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn--secondary{color:var(--ink);border-color:var(--line);background:0 0}.btn--secondary:hover:not(:disabled){background:var(--card-hover);border-color:var(--muted)}.btn--ghost{color:var(--muted);background:0 0;border-color:#0000}.btn--ghost:hover:not(:disabled){color:var(--ink);background:var(--card)}.btn--danger{color:var(--danger);border-color:var(--danger);background:0 0}.btn--danger:hover:not(:disabled){background:var(--danger-dim)}.btn--sm{padding:.3125rem .625rem;font-size:.8125rem}.btn--lg{padding:.6875rem 1.5rem;font-size:1rem}.btn-row{align-items:center;gap:.5rem;display:flex}.btn-row--end{justify-content:flex-end}.btn-row--between{justify-content:space-between}.field{flex-direction:column;gap:.375rem;display:flex}.field__label{color:var(--ink);font-size:.8125rem;font-weight:500}.field__hint{color:var(--muted);font-size:.75rem}.input{background:var(--surface);width:100%;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);font-family:var(--font);outline:none;padding:.5625rem .75rem;font-size:.875rem;line-height:1.5;transition:border-color .12s}.input::placeholder{color:var(--muted)}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-dim)}.input--sm{padding:.375rem .625rem;font-size:.8125rem}.select-wrapper{position:relative}.select-trigger{background:var(--surface);width:100%;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);font-family:var(--font);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:.5rem;padding:.5625rem .75rem;font-size:.875rem;transition:border-color .12s;display:flex}.select-trigger:focus,.select-trigger[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-dim);outline:none}.select-trigger__placeholder{color:var(--muted)}.select-trigger__chevron{color:var(--muted);flex-shrink:0;transition:transform .15s}.select-trigger[aria-expanded=true] .select-trigger__chevron{transform:rotate(180deg)}.select-dropdown{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);z-index:100;max-height:220px;padding:.25rem;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.select-option{border-radius:var(--radius-sm);cursor:pointer;color:var(--ink);padding:.5rem .75rem;font-size:.875rem;transition:background 80ms}.select-option:hover,.select-option--focused{background:var(--card-hover)}.select-option--selected{color:var(--accent);font-weight:500}.checkbox-row{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:.625rem;padding:.625rem .75rem;transition:background .1s;display:flex}.checkbox-row:hover{background:var(--card)}.checkbox-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.checkbox-row__label{color:var(--ink);flex:1;font-size:.875rem}.checkbox-row__meta{color:var(--muted);font-size:.75rem}.pill{border-radius:100px;align-items:center;gap:.25rem;padding:.2rem .5rem;font-size:.75rem;font-weight:500;line-height:1;display:inline-flex}.pill--passed{background:var(--success-dim);color:var(--success)}.pill--failed{background:var(--danger-dim);color:var(--danger)}.pill--missing{background:var(--warning-dim);color:var(--warning)}.pill--running{background:var(--accent-dim);color:var(--accent)}.pill--queued,.pill--muted{background:var(--card);color:var(--muted)}.table-wrap{border-radius:var(--radius-sm);border:1px solid var(--line);overflow-x:auto}.logic-table{border-collapse:collapse;width:100%;font-family:var(--font-mono);font-size:.8125rem}.logic-table th{background:var(--surface);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);white-space:nowrap;text-align:left;padding:.4375rem .75rem;font-size:.75rem;font-weight:600}.logic-table th.output-col{color:var(--accent)}.logic-table td{color:var(--ink);border-bottom:1px solid var(--line);padding:.3125rem .75rem}.logic-table tbody tr:last-child td{border-bottom:none}.logic-table tbody tr:hover td{background:var(--card-hover)}.logic-table__row--highlight td{color:var(--danger);background:var(--danger-dim)!important}.list{flex-direction:column;gap:.5rem;display:flex}.list-item{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:.75rem;padding:.75rem 1rem;transition:border-color .12s;display:flex}.list-item:hover{border-color:var(--muted)}.grid-2{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.grid-3{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}@media (width<=680px){.grid-2,.grid-3{grid-template-columns:1fr}}.matrix-container{overflow:visible}.matrix-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.8125rem}.matrix-table th,.matrix-table td{border:1px solid var(--line);text-align:center;white-space:nowrap;padding:.5rem .75rem}.matrix-table th{background:var(--surface);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:600}.matrix-table thead th{z-index:10;background:var(--surface);box-shadow:inset 0 -1px 0 var(--line);position:sticky;top:-2.5rem}.matrix-table th:first-child,.matrix-table td:first-child{z-index:11;background:var(--surface);box-shadow:inset -1px 0 0 var(--line);text-align:left;position:sticky;left:0}.matrix-table th:first-child{z-index:12}.matrix-table td:first-child{color:var(--ink);font-weight:500}.matrix-table tbody tr:hover td,.matrix-table tbody tr:hover td:first-child{background:var(--card-hover)}.matrix-cell--passed{color:var(--success)}.matrix-cell--failed{color:var(--danger)}.matrix-cell--missing{color:var(--warning)}.matrix-cell--queued{color:var(--muted)}.login-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);width:100%;max-width:380px;box-shadow:var(--shadow-lg);flex-direction:column;gap:1.25rem;padding:2rem;display:flex}.login-card__logo{color:var(--ink);text-align:center;font-size:1.125rem;font-weight:700}.login-card__subtitle{color:var(--muted);text-align:center;font-size:.8125rem}.empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:.5rem;padding:3rem 1rem;display:flex}.empty__icon{opacity:.4;font-size:2rem}.empty__title{color:var(--muted);font-size:.9375rem;font-weight:500}.empty__hint{font-size:.8125rem}.alert{border-radius:var(--radius-sm);align-items:flex-start;gap:.5rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.alert--error{background:var(--danger-dim);color:var(--danger)}.alert--success{background:var(--success-dim);color:var(--success)}.alert--warn{background:var(--warning-dim);color:var(--warning)}.alert--info{background:var(--accent-dim);color:var(--accent)}.spinner{border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin;display:inline-block}.spinner--lg{border-width:3px;width:28px;height:28px}@keyframes spin{to{transform:rotate(360deg)}}.progress{background:var(--line);border-radius:100px;height:4px;overflow:hidden}.progress__bar{background:var(--accent);border-radius:100px;height:100%;transition:width .3s}.divider{background:var(--line);height:1px}.search-wrap{position:relative}.search-wrap .input{padding-left:2.25rem}.search-icon{color:var(--muted);pointer-events:none;font-size:.875rem;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.student-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr auto;align-items:center;gap:.5rem;padding:.5rem 0;display:grid}.student-row:last-child{border-bottom:none}.verify-table{border-collapse:collapse;width:100%;font-size:.8125rem}.verify-table th,.verify-table td{border:1px solid var(--line);text-align:center;padding:.5rem .75rem}.verify-table th{background:var(--surface);color:var(--muted);text-transform:uppercase;font-size:.75rem;font-weight:600}.verify-table th:first-child{text-align:left}.verify-table td:first-child{text-align:left;color:var(--ink)}.verify-found{color:var(--success)}.verify-missing{color:var(--danger)}.verify-unknown{color:var(--muted)}.run-row{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:.75rem;padding:.875rem 1rem;display:flex}.run-row__name{flex:1;font-weight:500}.run-row__count{color:var(--muted);font-size:.8125rem}.with-sidebar{grid-template-columns:1fr 360px;align-items:start;gap:1rem;display:grid}@media (width<=900px){.with-sidebar{grid-template-columns:1fr}}.sidebar{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;max-height:calc(100dvh - 2rem);padding:.75rem;display:flex;position:sticky;top:1rem;overflow:hidden}.sidebar__header{flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.sidebar__meta{color:var(--muted);word-break:break-all;flex-shrink:0;margin-bottom:.75rem;font-size:.75rem}.sidebar__body{scrollbar-gutter:stable;flex-direction:column;gap:.5rem;min-height:0;padding-right:.5rem;display:flex;overflow-y:auto}@media (width<=900px){.sidebar{max-height:none;position:static}.sidebar__body{padding-right:0;overflow:visible}}.circuit-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.circuit-card__header{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding:.875rem 1rem;display:flex}.circuit-card__name{font-size:.9375rem;font-weight:600}.circuit-card__meta{color:var(--muted);font-size:.75rem}.circuit-card__body{border-top:1px solid var(--line);padding:0 1rem 1rem}.scroll-list{border:1px solid var(--line);border-radius:var(--radius);max-height:400px;overflow-y:auto}.stats-bar{flex-wrap:wrap;gap:1rem;display:flex}.stat-item{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:.125rem;min-width:100px;padding:.75rem 1rem;display:flex}.stat-item__value{color:var(--ink);font-size:1.375rem;font-weight:700;line-height:1}.stat-item__label{color:var(--muted);font-size:.75rem}.home-folder-create__row{align-items:center;gap:.75rem;display:flex}.home-folder-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:1rem;display:grid}.home-layout{grid-template-columns:minmax(350px,430px) minmax(0,1.35fr);align-items:start;gap:1.25rem;display:grid}.home-activity-sidebar{max-height:calc(100dvh - 8.5rem)}.home-activity-sidebar__header{align-items:flex-start}.home-detail-area{flex-direction:column;min-width:0;display:flex}.home-detail-panel{flex-direction:column;gap:1.25rem;display:flex}.home-detail-summary__item{color:var(--muted);font-size:.875rem;line-height:1.5}.home-detail-runs{flex-direction:column;gap:.75rem;display:flex}.home-detail-runs__header{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;display:flex}.home-detail-runs__date{color:var(--ink);font-size:.875rem;font-weight:600}.home-detail-runs__list{flex-direction:column;gap:.5rem;display:flex}.home-detail-runs__row{align-items:center;gap:.5rem;font-size:.8125rem;display:flex}.home-detail-runs__chip{color:var(--ink);flex:1}.home-detail-runs__meta{color:var(--muted);font-size:.75rem}.home-detail-empty{border:1px dashed var(--line);border-radius:var(--radius);background:var(--card);min-height:420px}.home-folder-section{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:.6rem;min-height:152px;padding:.8rem;transition:border-color .12s,box-shadow .12s,background .12s;display:flex}.home-folder-section--drag-over{border-color:var(--accent);background:var(--accent-dim);box-shadow:0 0 0 3px var(--accent-dim)}.home-folder-section__header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.home-folder-section__summary{flex:1;min-width:0}.home-folder-section__actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.home-folder-section__title{color:var(--ink);word-break:break-word;font-size:1rem;font-weight:600;line-height:1.3}.home-folder-section__meta{color:var(--muted);word-break:break-word;margin-top:.2rem;font-size:.8125rem}.home-folder-section--sidebar .home-folder-section__header{grid-template-columns:minmax(0,1fr);display:grid}.home-folder-section--sidebar{gap:.35rem;min-height:168px;max-height:min(360px,100dvh - 13rem);padding:.6rem;overflow:hidden}.home-folder-section--sidebar .home-folder-section__header{gap:.3rem}.home-folder-section--sidebar .home-folder-section__actions{justify-content:flex-start;gap:.25rem}.home-folder-section--sidebar .home-folder-section__actions .btn{max-width:100%;padding:.16rem .42rem;font-size:.7rem}.home-folder-section--sidebar .home-folder-section__title{font-size:.92rem}.home-folder-section--sidebar .home-folder-section__meta{margin-top:.1rem;font-size:.74rem}.home-folder-section--sidebar .home-activity-list,.home-folder-section--sidebar .home-folder-section__empty{scrollbar-gutter:stable;flex:1;min-height:0;padding-right:.3rem;overflow-y:auto}.home-folder-section--sidebar .home-activity-list,.home-folder-section--sidebar .home-activity-list__stack{gap:.12rem}.home-folder-section--sidebar .home-activity-item__title{font-size:.8rem}.home-folder-section--sidebar .home-activity-item__meta{font-size:.68rem}.home-folder-section__empty{border:1px dashed var(--line);border-radius:var(--radius-sm);min-height:120px;color:var(--muted);text-align:center;flex:1;justify-content:center;align-items:center;padding:1rem;display:flex}.home-assignment-card{cursor:grab}.home-assignment-card--static{cursor:default}.home-assignment-card--dragging{opacity:.66}.home-assignment-stack{flex-direction:column;gap:.5rem;display:flex}.home-activity-list,.home-activity-list__stack{flex-direction:column;gap:.22rem;display:flex}.home-activity-item{border:1px solid color-mix(in srgb, var(--line) 88%, transparent);border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface) 92%, transparent);cursor:grab;transition:border-color .12s,background .12s,opacity .12s,transform .12s}.home-activity-item--selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent-dim) 76%, var(--surface));box-shadow:inset 3px 0 0 var(--accent)}.home-activity-item--dragging{opacity:.66;transform:scale(.995)}.home-activity-item--static{cursor:default}.home-activity-item__button{text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;gap:.14rem;width:100%;padding:.55rem .65rem;display:flex}.home-activity-item__row{align-items:start;gap:.35rem;display:flex}.home-activity-item__main{flex:1;min-width:0}.home-activity-item__titleRow{flex-wrap:wrap;align-items:center;gap:.28rem;display:flex}.home-activity-item__title{color:var(--ink);word-break:break-word;font-size:.875rem;font-weight:600;line-height:1.25}.home-activity-item__meta{color:var(--muted);font-size:.75rem;line-height:1.35}.home-activity-item__meta--summary{justify-content:space-between;align-items:center;gap:.35rem;display:flex}.home-activity-item__metaText{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.home-activity-item__progress{color:var(--ink);white-space:nowrap;flex-shrink:0;font-size:.71rem;font-weight:600}.home-activity-item__controls{flex-wrap:wrap;align-items:center;gap:.4rem;padding:0 .65rem .55rem;display:flex}.home-activity-item__folderSelect{width:auto;min-width:140px}.home-drop-slot{border:1px dashed #0000;border-radius:999px;height:22px;transition:background .12s,border-color .12s,height .12s}.home-drop-slot--active{background:var(--accent-dim);border-color:var(--accent);height:34px}.preview-flow{background:var(--bg);grid-template-columns:220px minmax(0,1fr);min-height:100dvh;display:grid}.preview-flow__nav{border-right:1px solid var(--line);background:var(--surface);height:100dvh;padding:1rem;position:sticky;top:0;overflow-y:auto}.preview-flow__brand{color:var(--ink);margin-bottom:.85rem;font-size:.95rem;font-weight:700}.preview-flow__navItem{border-radius:var(--radius-sm);width:100%;color:var(--muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:.55rem .7rem;font-size:.84rem;display:flex}.preview-flow__navItem:hover,.preview-flow__navItem--active{background:var(--card);color:var(--ink)}.preview-flow__main{min-width:0;padding:2rem 1.5rem;overflow:auto}.home-modal-backdrop{z-index:120;background:#0f172a85;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.home-modal{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);width:min(1100px,100%);max-height:calc(100dvh - 3rem);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;overflow:hidden}.home-modal__header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;display:flex}.home-modal__body{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;padding:1rem 1.25rem 1.25rem;display:grid;overflow:auto}@media (width<=680px){.home-folder-create__row{flex-direction:column;align-items:stretch}.home-folder-section__header{flex-direction:column}.home-folder-section__actions{justify-content:flex-start}}@media (width<=960px){.home-layout{grid-template-columns:1fr}.home-activity-sidebar{max-height:none}.home-folder-section--sidebar{max-height:min(420px,60dvh)}.home-detail-summary{grid-template-columns:1fr}}.home-dashboard-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.home-dashboard-header__title{font-size:1.35rem}.home-dashboard-header__count{color:var(--muted);white-space:nowrap;font-size:.8125rem}.home-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.home-overview{grid-template-columns:repeat(5,minmax(140px,1fr));gap:.75rem;display:grid}.home-overview__item{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 72%, var(--card));min-width:0;padding:.85rem 1rem}.home-overview__item span,.home-kpi__label,.home-context-block__label{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.72rem;font-weight:600;display:block}.home-overview__item strong{color:var(--ink);margin-top:.28rem;font-size:1.45rem;line-height:1;display:block}.home-layout{grid-template-columns:minmax(300px,370px) minmax(0,1fr);gap:1rem}.home-panel-title{color:var(--ink);font-size:.95rem;font-weight:700}.home-activity-sidebar{background:color-mix(in srgb, var(--card) 78%, var(--surface));max-height:calc(100dvh - 12rem);padding:.9rem}.home-activity-sidebar__header{border-bottom:1px solid var(--line);align-items:center;padding-bottom:.7rem}.home-folder-section--sidebar{border:0;border-top:1px solid color-mix(in srgb, var(--line) 82%, transparent);background:0 0;border-radius:0;flex:none;min-height:0;max-height:none;padding:.72rem 0 0;overflow:visible}.home-folder-section--sidebar:first-child{border-top:0;padding-top:0}.home-folder-section--sidebar .home-folder-section__header{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:.5rem;min-height:42px;padding:.35rem .45rem;transition:background .12s;display:flex}.home-folder-section--sidebar .home-folder-section__header:hover{background:color-mix(in srgb, var(--surface) 68%, transparent)}.home-folder-section--sidebar.home-folder-section--collapsed{padding-top:.38rem}.home-folder-section--sidebar.home-folder-section--collapsed .home-folder-section__header{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 78%, transparent)}.home-folder-section--sidebar .home-folder-section__actions{justify-content:flex-end}.home-folder-section--sidebar .home-folder-section__title{text-transform:uppercase;align-items:center;gap:.38rem;font-size:.82rem;display:flex}.home-folder-section__chevron{flex-shrink:0;justify-content:center;align-items:center;width:.9rem;height:.9rem;display:inline-flex}.home-folder-section__chevron:before{content:"";border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);width:.42rem;height:.42rem;transition:transform .12s;transform:rotate(45deg)translateY(-1px)}.home-folder-section--collapsed .home-folder-section__chevron:before{transform:rotate(-45deg)translateY(1px)}.home-folder-section--sidebar .home-folder-section__meta{font-size:.72rem}.home-folder-section--sidebar .home-activity-list,.home-folder-section--sidebar .home-folder-section__empty{flex:initial;min-height:auto;padding-right:0;overflow:visible}.home-activity-item{background:color-mix(in srgb, var(--surface) 90%, var(--card))}.home-activity-item--selected{background:color-mix(in srgb, var(--accent-dim) 45%, var(--surface))}.home-activity-item__button{gap:.28rem;padding:.62rem .7rem}.home-folder-section--sidebar .home-activity-item__button{gap:.18rem;padding:.52rem .58rem}.home-activity-item__row{align-items:center}.home-activity-item__titleRow{gap:.4rem}.home-activity-item__metaText{color:var(--muted)}.home-activity-item__progress{color:var(--ink)}.home-activity-item__state{border-radius:999px;flex-shrink:0;width:7px;height:7px}.home-activity-item__state--pending{background:var(--muted)}.home-activity-item__state--running{background:var(--accent)}.home-activity-item__state--completed{background:var(--success)}.home-activity-item__state--failed{background:var(--danger)}.home-detail-panel{gap:1rem}.home-detail-hero,.home-detail-context,.home-run-card,.home-empty-state{border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.home-detail-hero{justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.home-detail-hero__main{min-width:0}.home-detail-hero__eyebrow{color:var(--muted);align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.78rem;display:flex}.home-detail-hero__title{overflow-wrap:anywhere}.home-detail-hero__actions{flex-wrap:wrap;justify-content:flex-end;max-width:520px}.home-detail-summary{grid-template-columns:repeat(4,minmax(130px,1fr));gap:.75rem;display:grid}.home-kpi{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 78%, var(--card));min-width:0;padding:.9rem 1rem}.home-kpi__value{color:var(--ink);overflow-wrap:anywhere;margin-top:.3rem;font-size:1.35rem;line-height:1;display:block}.home-kpi__hint{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.35rem;font-size:.78rem;line-height:1.35;display:block;overflow:hidden}.home-detail-context{grid-template-columns:.8fr 1.2fr;gap:1rem;padding:1rem;display:grid}.home-context-block{min-width:0}.home-chip-list{flex-wrap:wrap;gap:.4rem;margin-top:.55rem;display:flex}.home-chip{border:1px solid color-mix(in srgb, var(--accent) 45%, var(--line));border-radius:var(--radius-sm);background:color-mix(in srgb, var(--accent-dim) 38%, var(--surface));max-width:100%;color:var(--ink);overflow-wrap:anywhere;padding:.24rem .5rem;font-size:.78rem;line-height:1.2}.home-chip--muted{border-color:var(--line);background:var(--surface);color:var(--muted)}.home-context-block__empty{color:var(--muted);font-size:.82rem}.home-detail-runs{gap:.75rem}.home-run-card{padding:1rem}.home-detail-runs__header{border-bottom:1px solid var(--line);margin-bottom:.9rem;padding-bottom:.75rem}.home-detail-runs__list{gap:0}.home-detail-runs__row{border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent);grid-template-columns:minmax(92px,auto) minmax(120px,1fr) minmax(170px,auto) auto;align-items:center;gap:.7rem;padding:.58rem 0;display:grid}.home-detail-runs__row:last-child{border-bottom:0}.home-empty-state{color:var(--muted);flex-direction:column;gap:.3rem;padding:1.1rem;display:flex}.home-empty-state strong{color:var(--ink);font-size:.95rem}@media (width<=1160px){.home-overview,.home-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=960px){.home-dashboard-header,.home-detail-hero{flex-direction:column}.home-layout{grid-template-columns:1fr}.home-toolbar,.home-detail-hero__actions{justify-content:flex-start}.home-activity-sidebar{max-height:none}.home-detail-context{grid-template-columns:1fr}}@media (width<=680px){.home-overview,.home-detail-summary{grid-template-columns:1fr}.home-toolbar,.home-toolbar .btn,.home-detail-hero__actions,.home-detail-hero__actions .btn{width:100%}.home-detail-runs__row{grid-template-columns:1fr;gap:.35rem}}.admin-split{border:1px solid var(--line);background:var(--bg);border-radius:.75rem;grid-template-columns:320px 1fr;gap:0;height:calc(100vh - 8rem);min-height:600px;display:grid;overflow:hidden}.admin-split__sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;min-height:0;display:flex}.admin-split__detail{min-width:0;overflow-y:auto}@media (width<=768px){.app-header{flex-wrap:wrap;gap:.375rem;padding:.5rem .75rem}.app-header__logo{flex-basis:100%;order:-1;font-size:.875rem}.app-header__user{text-overflow:ellipsis;white-space:nowrap;max-width:50%;font-size:.75rem;overflow:hidden}.app-header .btn{padding:.25rem .5rem;font-size:.75rem}.app-header .mirror-badge{font-size:.6875rem}.app-header__spacer{display:none}.app-main{padding:.75rem}.screen,.screen--wide,.screen--narrow{gap:.75rem;max-width:100%;padding:0}.section-header{flex-direction:column;align-items:flex-start;gap:.5rem}.section-title{font-size:1.125rem}.section-subtitle{font-size:.8125rem}.card{border-radius:.5rem;padding:.875rem}.stats-bar{gap:.5rem}.stats-bar .stat-item{flex:calc(33% - .5rem);min-width:0}.stat-item__value{font-size:1.125rem}.stat-item__label{font-size:.6875rem}.grid-2,.grid-3{grid-template-columns:1fr}.btn-row{flex-wrap:wrap;gap:.5rem}.btn-row .btn{flex:auto;min-width:120px}.admin-split{height:auto;min-height:unset;grid-template-rows:auto 1fr;grid-template-columns:1fr}.admin-split__sidebar{border-right:none;border-bottom:1px solid var(--line);max-height:40vh}.admin-split__detail{max-height:70vh}.field__input{font-size:.9375rem}.table-wrap,table{white-space:nowrap;display:block;overflow-x:auto}.logic-table{font-size:.75rem}.login{padding:1rem}}@media (width<=480px){.app-header{padding:.375rem .5rem}.app-header__logo{font-size:.8125rem}.app-header .btn{padding:.25rem .5rem;font-size:.6875rem}.card{padding:.625rem}.stats-bar .stat-item{flex:calc(50% - .375rem)}.section-title{font-size:1rem}}.app-header__toggle{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:0 0;border-radius:.375rem;padding:.375rem .625rem;font-size:1.125rem;line-height:1;display:none}.app-header__nav{flex-wrap:wrap;align-items:center;gap:.375rem;display:flex}@media (width<=768px){.app-header__toggle{display:inline-block}.app-header__nav{border-top:1px solid var(--line);flex-direction:column;align-items:stretch;gap:.25rem;width:100%;margin-top:.5rem;padding-top:.5rem;display:none}.app-header__nav--open{display:flex}.app-header__nav .btn{justify-content:center;width:100%;padding:.5rem .75rem;font-size:.8125rem}}.circuit-row-grid{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.75rem;display:grid}@media (width<=640px){.circuit-row-grid{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"chev name pct"".status status";gap:.375rem .5rem}.circuit-row-grid>:first-child{grid-area:chev}.circuit-row-grid>:nth-child(2){grid-area:name}.circuit-row-grid>:nth-child(3){grid-area:status;justify-self:start}.circuit-row-grid>:nth-child(4){grid-area:pct}}@media (width<=480px){.stats-bar{grid-template-columns:repeat(2,1fr);gap:.375rem}.card-inner-scroll{max-height:60vh}}
