:root{--text:#37423a;--text-muted:#68766c;--text-h:#101d14;--bg:#f2f5f2;--surface:#fff;--border:#dde4dd;--accent:#1b5e20;--accent-hover:#144a19;--maroon:#6e1f33;--maroon-hover:#581827;--header-bg:#16341e;--header-ink:#e6efe7;--header-accent:#d8a44a;--danger-bg:#f6e4e8;--danger-text:#6e1f33;--shadow:#101d141a 0 4px 12px -2px, #101d140d 0 2px 4px -1px;--viz-series-1:#2e7d32;--viz-cat-1:#2e7d32;--viz-cat-2:#3273d4;--viz-cat-3:#c0392b;--viz-cat-4:#7e57c2;--viz-cat-5:#cf7a00;--viz-cat-6:#0097a7;--viz-grid:#e0e5e0;--viz-axis:#c2ccc3;--viz-hover:#1b5e200f;--surface-sunk:#f4f7f4;--surface-hover:#eef3ef;--border-strong:#c8d3c9;--focus-ring:0 0 0 3px #1b5e2052;--radius-sm:6px;--radius:10px;--radius-lg:14px;--shadow-sm:#101d140d 0 1px 2px, #101d140a 0 2px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;font:16px/150% var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--text:#c2ccc4;--text-muted:#93a096;--text-h:#eef4ef;--bg:#0f1410;--surface:#171f18;--border:#2a352c;--accent:#4e9d54;--accent-hover:#67b56d;--maroon:#a04a5e;--maroon-hover:#b56276;--header-bg:#122718;--header-ink:#dbe7dc;--danger-bg:#3a1d24;--danger-text:#e59aa9;--shadow:#00000073 0 4px 12px -2px, #0000004d 0 2px 4px -1px;--viz-series-1:#5da862;--viz-grid:#27302a;--viz-axis:#37453a;--viz-hover:#5da8621a;--surface-sunk:#1d271f;--surface-hover:#212c23;--border-strong:#3b4a3d;--focus-ring:0 0 0 3px #67b56d66;--shadow-sm:#00000052 0 1px 2px, #0000003d 0 2px 6px -2px}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{min-height:100svh;margin:0}h1,h2,h3{color:var(--text-h);line-height:1.25}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{font:inherit}input{font:inherit;color:inherit}.muted{color:var(--text-muted)}[hidden]{display:none!important}.auth-page{isolation:isolate;justify-content:center;align-items:center;min-height:100svh;padding:1.5rem;display:flex;position:relative}.auth-page:before{content:"";z-index:-1;opacity:.13;filter:grayscale(.4);pointer-events:none;background-image:url(/assets/artisans-DtSzpWTF.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}@media (prefers-color-scheme:dark){.auth-page:before{opacity:.1;filter:grayscale(.65)}}.auth-card{background:var(--surface);border:1px solid var(--border);width:100%;max-width:24rem;box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:1rem;padding:2rem;display:flex}.auth-card h1{text-align:center;color:var(--accent);margin:0;font-size:1.4rem}.auth-logo{background:#fff;border-radius:10px;width:11rem;max-width:70%;height:auto;margin:0 auto;padding:.5rem .75rem;display:block}.public-success .auth-logo{margin-bottom:1rem}.qr-logo{background:#fff;border-radius:8px;width:9rem;height:auto;margin:0 0 .75rem;padding:.35rem .55rem;display:block}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.auth-subtitle{text-align:center;color:var(--text-muted);margin:-.5rem 0 0;font-size:.95rem}.auth-card label{color:var(--text-h);flex-direction:column;gap:.3rem;font-size:.9rem;font-weight:500;display:flex}.auth-card input{border:1px solid var(--border);background:var(--bg);border-radius:8px;padding:.55rem .7rem}.auth-card input:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:#0000}.auth-card button[type=submit]{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;margin-top:.25rem;padding:.6rem;font-weight:600}.auth-card button[type=submit]:hover:not(:disabled){background:var(--accent-hover)}.auth-card button[type=submit]:disabled{opacity:.6;cursor:default}.auth-switch{text-align:center;color:var(--text-muted);margin:0;font-size:.9rem}.form-error{background:var(--danger-bg);color:var(--danger-text);border-radius:8px;padding:.6rem .8rem;font-size:.9rem}.form-notice{background:var(--accent);color:#fff;border-radius:8px;margin-bottom:1rem;padding:.6rem .8rem;font-size:.9rem}.app-shell{flex-direction:column;min-height:100svh;display:flex}.app-header{z-index:20;background:var(--header-bg);border-bottom:1px solid #ffffff14;align-items:center;gap:1.5rem;min-height:60px;padding:0 1.5rem;display:flex;position:sticky;top:0;box-shadow:0 1px 3px #101d142e}.app-brand{color:#fff;border-radius:10px;flex-shrink:0;align-items:center;gap:.65rem;padding:.35rem .5rem .35rem 0;text-decoration:none;display:flex}.app-brand:hover{text-decoration:none}.app-brand-mark{object-fit:contain;background:#fff;border-radius:50%;flex-shrink:0;width:36px;height:36px;padding:2px}.app-brand-text{flex-direction:column;line-height:1.15;display:flex}.app-brand-name{letter-spacing:.01em;font-size:1.05rem;font-weight:700}.app-brand-sub{letter-spacing:.04em;text-transform:uppercase;color:#ffffffb8;white-space:nowrap;font-size:.72rem;font-weight:500}.app-nav{flex:1;align-items:center;gap:.15rem;height:60px;display:flex}.app-nav a{color:#ffffffd1;border-radius:0;align-items:center;height:100%;padding:0 .9rem;font-size:.94rem;font-weight:500;display:flex;position:relative}.app-nav a:hover{color:#fff;background:#ffffff14;text-decoration:none}.app-nav a.active{color:#fff;background:0 0;font-weight:600}.app-nav a.active:after{content:"";background:var(--header-accent);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:.7rem;right:.7rem}.app-nav a:focus-visible{outline:2px solid var(--header-accent);outline-offset:-2px}.app-user{flex-shrink:0;align-items:center;gap:.7rem;font-size:.9rem;display:flex}.app-user-name{color:var(--header-ink);align-items:center;gap:.5rem;display:flex}.app-user-label{text-overflow:ellipsis;white-space:nowrap;max-width:14rem;font-weight:500;overflow:hidden}.role-badge{background:var(--bg);border:1px solid var(--border);text-transform:capitalize;color:var(--text-muted);border-radius:999px;padding:.1rem .55rem;font-size:.75rem}.app-user-name .role-badge{color:#ffffffeb;letter-spacing:.02em;background:#ffffff24;border-color:#ffffff38}.account-btn{color:var(--header-ink);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff38;border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .4rem .25rem .25rem;line-height:1;display:flex}.account-btn:hover,.account-btn.open{background:#ffffff29;border-color:#ffffff59}.account-avatar{width:1.9rem;height:1.9rem;color:var(--header-bg);letter-spacing:.02em;background:#fff;border-radius:50%;place-items:center;font-size:.78rem;font-weight:700;display:grid}.account-avatar-lg{background:var(--accent);color:#fff;width:2.4rem;height:2.4rem;font-size:.9rem}.account-caret{color:#ffffffd9;font-size:.75rem}.app-user button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:.35rem .8rem}.app-user button:hover{background:var(--bg)}.burger-wrap{position:relative}.burger-btn{width:2.4rem;height:2.2rem;color:var(--header-ink);cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:8px;font-size:1.1rem;line-height:1}.burger-btn:hover{background:#ffffff1f}.menu-backdrop{z-index:10;position:fixed;inset:0}.burger-menu{z-index:11;background:var(--surface);border:1px solid var(--border);min-width:16rem;box-shadow:var(--shadow);opacity:0;pointer-events:none;border-radius:12px;flex-direction:column;padding:.4rem;transition:opacity .15s,transform .15s;display:flex;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-6px)}.burger-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}.burger-section{flex-direction:column;padding:.4rem .3rem;display:flex}.burger-section+.burger-section{border-top:1px solid var(--border)}.burger-nav-links{display:none}@media (width<=900px){.burger-nav-links{display:flex}}.burger-user-detail{flex-direction:column;gap:.2rem;min-width:0;display:flex}.burger-user-email{color:var(--text-muted);text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.burger-user-detail .role-badge{align-self:flex-start}.burger-user{color:var(--text-muted);flex-direction:row;align-items:center;gap:.7rem;font-size:.85rem;display:flex}.burger-heading{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:.2rem .7rem;font-size:.75rem;font-weight:700}.burger-menu a{color:var(--text);white-space:nowrap;border-radius:6px;padding:.5rem .7rem;font-size:.92rem}.burger-menu a:hover{background:var(--bg);text-decoration:none}.burger-menu a.active{background:var(--maroon);color:#fff}.burger-signout{color:var(--danger-text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem .7rem;font-size:.92rem}.burger-signout:hover{background:var(--danger-bg)}@media (width<=1100px){.app-user-name{display:none}}@media (width<=900px){.app-nav{display:none}}.app-main{flex:1;width:100%;max-width:64rem;margin:0 auto;padding:2rem 1.5rem}.app-main--wide{max-width:100rem;padding:2rem 2rem 3rem}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:1.5rem;padding:1.35rem 1.5rem}.panel h2{letter-spacing:-.01em;margin-top:0;font-size:1.05rem}.panel h2+.muted{margin-top:-.35rem}.form-grid{flex-direction:column;gap:.9rem;display:flex}.form-row{flex-wrap:wrap;align-items:flex-end;gap:1rem;display:flex}.form-grid label{color:var(--text-h);flex-direction:column;flex:1;gap:.3rem;min-width:12rem;font-size:.9rem;font-weight:500;display:flex}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:inherit;font:inherit;padding:.55rem .7rem;transition:border-color .15s,box-shadow .15s}.form-grid input:hover:not(:disabled),.form-grid select:hover:not(:disabled),.form-grid textarea:hover:not(:disabled){border-color:var(--accent)}.form-grid input::placeholder,.form-grid textarea::placeholder{color:var(--text-muted)}.form-grid input:disabled,.form-grid select:disabled,.form-grid textarea:disabled{background:var(--surface-sunk);color:var(--text-muted);cursor:not-allowed}.form-grid textarea{resize:vertical}button.primary{border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;border:1px solid #0000;padding:.55rem 1.1rem;font-weight:600;transition:background-color .15s,box-shadow .15s,transform 50ms}button.primary:hover:not(:disabled){background:var(--accent-hover)}button.primary:active:not(:disabled){transform:translateY(1px)}button.primary:disabled{opacity:.6;cursor:default}table{border-collapse:collapse;width:100%;font-size:.95rem}th{text-align:left;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;background:var(--surface-sunk);white-space:nowrap;font-size:.78rem;font-weight:600}th:first-child{border-top-left-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}th:last-child{border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}th,td{border-bottom:1px solid var(--border);padding:.6rem .75rem}th{border-bottom-color:#0000}tbody tr:last-child td{border-bottom:none}tbody tr{transition:background-color .12s}tbody tr:hover td{background:var(--surface-hover)}td select{border:1px solid var(--border);background:var(--bg);color:inherit;font:inherit;border-radius:6px;padding:.3rem .5rem;font-size:.9rem}.module-list{grid-template-columns:repeat(auto-fill,minmax(34rem,1fr));align-items:start;gap:1rem;display:grid}.module-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.1rem 1.4rem}.module-card-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.module-card h2{margin:.15rem 0 0;font-size:1.15rem}.module-code{letter-spacing:.05em;color:var(--accent);font-size:.8rem;font-weight:700}.module-card p{margin:.6rem 0 0}.module-meta{font-size:.85rem}.module-card button{border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;padding:.45rem .9rem}.module-card button.primary{background:var(--accent);color:#fff;border:none}.module-card button:hover:not(:disabled){background:var(--bg)}.module-card button.primary:hover:not(:disabled){background:var(--accent-hover)}.status-badge{color:#2e7d32;text-transform:capitalize;white-space:nowrap;background:#e8f5e9;border:1px solid #cfe6d1;border-radius:999px;padding:.2rem .7rem;font-size:.8rem;font-weight:600}.roster{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.module-picker{max-width:28rem;color:var(--text-h);flex-direction:column;gap:.3rem;margin-bottom:1.25rem;font-size:.9rem;font-weight:500;display:flex}.module-picker select{border:1px solid var(--border);background:var(--surface);color:inherit;font:inherit;border-radius:8px;padding:.5rem .7rem}.row-actions{justify-content:flex-end;gap:.5rem;display:flex}.row-actions button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:.3rem .7rem;font-size:.85rem}.row-actions button:hover{background:var(--bg)}.row-actions button.primary{background:var(--accent);color:#fff;border:none}.row-actions button.primary:hover:not(:disabled){background:var(--accent-hover)}.row-actions button.primary:disabled{opacity:.45;cursor:default}.row-actions button.danger{color:var(--danger-text);border-color:var(--danger-text)}.row-actions button.danger:hover{background:var(--danger-bg)}.form-grid input[type=file]{padding:.35rem}.button-link{border:1px solid var(--border);color:var(--text);white-space:nowrap;border-radius:8px;padding:.45rem .9rem;font-size:.9rem;display:inline-block}.button-link:hover{background:var(--bg);text-decoration:none}.button-link.primary{background:var(--accent);color:#fff;border:none}.button-link.primary:hover{background:var(--accent-hover)}.mcq-options{flex-direction:column;gap:.5rem;font-size:.9rem;display:flex}.mcq-option-row{align-items:center;gap:.5rem;display:flex}.mcq-option-row input[type=text],.mcq-option-row input:not([type]){border:1px solid var(--border);background:var(--bg);border-radius:8px;flex:1;padding:.45rem .7rem}.mcq-option-row button{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;padding:.25rem .55rem}.add-option{border:1px dashed var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;align-self:flex-start;padding:.35rem .8rem}.question-list{flex-direction:column;gap:.75rem;padding-left:1.25rem;display:flex}.question-list>li{padding-left:.25rem}.question-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.question-head button.danger{border:1px solid var(--danger-text);color:var(--danger-text);cursor:pointer;background:0 0;border-radius:6px;padding:.25rem .7rem;font-size:.85rem}.question-head button.danger:hover{background:var(--danger-bg)}.take-question{margin-bottom:0}.question-text{color:var(--text-h);margin-top:0;font-weight:600}.mcq-answers{flex-direction:column;gap:.4rem;display:flex}.mcq-answer{cursor:pointer;align-items:center;gap:.5rem;display:flex}.take-question textarea{border:1px solid var(--border);background:var(--bg);width:100%;color:inherit;font:inherit;resize:vertical;border-radius:8px;padding:.55rem .7rem}.mark-input{color:var(--text-h);align-items:center;gap:.6rem;font-size:.9rem;font-weight:500;display:flex}.mark-input input{border:1px solid var(--border);background:var(--bg);border-radius:8px;width:5rem;padding:.4rem .6rem}.report-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.report-head h2{margin:0}.report-head button{border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;padding:.4rem .9rem;font-size:.85rem}.report-head button:hover{background:var(--bg)}.table-scroll{max-height:24rem;overflow-y:auto}.trade-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem;display:flex}.trade-head h2{margin:0}.trade-reqs{margin:.25rem 0 0;font-size:.85rem}.trade-head button.danger{border:1px solid var(--danger-text);color:var(--danger-text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;padding:.35rem .8rem;font-size:.85rem}.trade-head button.danger:hover{background:var(--danger-bg)}.add-module-slot{margin-top:.9rem}.module-edit{padding:.5rem .25rem .75rem}.module-edit .form-row:last-child{justify-content:flex-start}.module-edit button:not(.primary){border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:.55rem 1.1rem}.module-edit button:not(.primary):hover:not(:disabled){background:var(--bg)}.public-page{justify-content:center;min-height:100svh;padding:1.5rem;display:flex}.public-card{background:var(--surface);border:1px solid var(--border);width:100%;max-width:44rem;height:fit-content;box-shadow:var(--shadow);border-radius:12px;padding:2rem}.public-card h1{text-align:center;color:var(--accent);margin:0;font-size:1.4rem}.public-card h2{border-top:1px solid var(--border);color:var(--text-h);margin:.75rem 0 0;padding-top:.75rem;font-size:1.05rem}.public-success{text-align:center;margin-top:3rem}.public-reference{letter-spacing:.06em;color:var(--accent);margin:.5rem 0;font-size:2rem;font-weight:700}.qr-panel{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.qr-info{flex:1;min-width:16rem}.qr-url{word-break:break-all;font-size:.85rem}.qr-actions{justify-content:flex-start;margin-top:.75rem}.qr-actions button.primary{border:none;padding:.3rem .7rem;font-size:.85rem}.qr-image{border:1px solid var(--border);background:#fff;border-radius:12px;width:13rem;max-width:100%}.registrations-layout{align-items:flex-start;gap:1.5rem;display:flex}.reg-sidebar{flex:0 0 23rem;min-width:0;max-height:calc(100vh - 2rem);position:sticky;top:1rem;overflow-y:auto}.reg-main{flex:1;min-width:0}.reg-list{min-width:0}.table-scroll-x{overflow-x:auto}.table-scroll-x>table{min-width:42rem}.reg-sidebar-hint{margin:-.25rem 0 .75rem;font-size:.82rem}.reg-filter-list{flex-direction:column;gap:.25rem;display:flex}.reg-filter-row{align-items:center;gap:.25rem;display:flex}.reg-filter-list>button,.reg-filter-row>button:first-child{min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;justify-content:space-between;align-items:flex-start;gap:.5rem;padding:.5rem .7rem;font-size:.92rem;display:flex}.reg-filter-list>button:hover,.reg-filter-row>button:first-child:hover{background:var(--bg)}.reg-filter-list>button.active,.reg-filter-row>button.active{background:var(--maroon);color:#fff}.reg-filter-label{text-align:left;flex:1;min-width:0}.reg-trade-label{grid-template-columns:auto 1fr;align-items:start;column-gap:.45rem;display:grid}.reg-trade-label .trade-code{margin-right:0}.reg-count{text-align:center;font-variant-numeric:tabular-nums;background:var(--bg);min-width:1.6rem;color:var(--text-muted);border-radius:999px;flex:none;padding:.1rem .5rem;font-size:.78rem}.reg-list-heading{letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:.9rem 0 .35rem;font-size:.72rem;font-weight:700}.reg-filter-list button.active .trade-code{color:#fff;background:#ffffff2e;border-color:#fff6}.reg-filter-list button.active .reg-count{color:#fff;background:#fff3}.reg-type-delete{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:none;padding:.4rem .5rem;font-size:.85rem;line-height:1}.reg-type-delete:hover{background:var(--danger-bg);color:var(--danger-text)}.reg-add-type{border-top:1px solid var(--border);flex-direction:column;gap:.5rem;margin-top:1rem;padding-top:.9rem;display:flex}.reg-add-type label{color:var(--text-h);flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:600;display:flex}.reg-add-type .reg-list-heading{margin-top:0}.reg-add-type input{border:1px solid var(--border);background:var(--bg);color:inherit;font:inherit;border-radius:8px;padding:.5rem .7rem;font-weight:400}.reg-add-type button.primary{font-size:.9rem}.req-panel{border-left:4px solid var(--maroon)}.req-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.req-head h2{margin:0}.req-head button{border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;padding:.35rem .8rem;font-size:.85rem}.req-head button:hover{background:var(--bg)}.req-list{flex-direction:column;gap:.3rem;margin:.75rem 0 0;padding-left:1.25rem;display:flex}.req-doc-heading{text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);margin:.9rem 0 .3rem;font-size:.85rem}.doc-check{border:1px solid var(--border);border-radius:8px;padding:.6rem .8rem .8rem}.doc-check legend{color:var(--text-h);padding:0 .3rem;font-size:.85rem;font-weight:600}.doc-check-grid{grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.35rem 1rem;display:grid}.doc-check-item{cursor:pointer;align-items:center;gap:.45rem;font-size:.88rem;display:flex;flex-direction:row!important;min-width:0!important;font-weight:400!important}.doc-check-item input[type=checkbox]{accent-color:var(--accent);width:1rem;height:1rem;padding:0}.req-edit-actions{justify-content:flex-start}.req-edit-actions button:not(.primary){border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:.55rem 1.1rem}.req-edit-actions button:not(.primary):hover:not(:disabled){background:var(--bg)}@media (width<=860px){.registrations-layout{flex-direction:column;align-items:stretch}.reg-sidebar{flex:none;width:100%;max-height:none;position:static;overflow-y:visible}}.registration-detail{padding:.5rem .25rem .75rem}.decision-bar{background:var(--bg);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.5rem;padding:.75rem 1rem;display:flex}.decision-bar label{min-width:18rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;flex-direction:column;flex:18rem;gap:.3rem;margin:0;font-size:.82rem;font-weight:600;display:flex}.decision-bar select{text-transform:none;letter-spacing:0;color:var(--text);margin:0;font-size:.95rem;font-weight:400}.registration-detail h3{text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);margin:1rem 0 .4rem;font-size:.85rem}.registration-detail h3:first-child{margin-top:0}.detail-grid{grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.5rem 1.25rem;display:grid}.detail-field{flex-direction:column;font-size:.92rem;display:flex}.detail-label{color:var(--text-muted);font-size:.78rem}.doc-actions{flex-wrap:wrap;justify-content:flex-start}.stat-row{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.stat-tile{--stat-accent:var(--accent);background:color-mix(in srgb, var(--stat-accent) 5%, var(--surface));border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:.25rem;padding:1.1rem 1.25rem;display:flex;position:relative;overflow:hidden}.stat-tile:before{content:"";background:var(--stat-accent);height:3px;position:absolute;inset:0 0 auto}.stat-row .stat-tile:first-child{--stat-accent:var(--viz-cat-1)}.stat-row .stat-tile:nth-child(2){--stat-accent:var(--viz-cat-2)}.stat-row .stat-tile:nth-child(3){--stat-accent:var(--viz-cat-4)}.stat-row .stat-tile:nth-child(4){--stat-accent:var(--viz-cat-6)}.stat-row .stat-tile:nth-child(5){--stat-accent:var(--viz-cat-5)}.stat-value{color:var(--text-h);font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:2rem;font-weight:700;line-height:1.1}.stat-label{color:var(--text-muted);font-size:.85rem}.dashboard{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;column-gap:1.5rem;display:grid}.dashboard>.panel--half{flex-direction:column;display:flex}.dashboard>.panel--half>.muted:last-child{margin-top:auto;padding-top:.75rem}.dashboard>h1,.dashboard>.stat-row,.dashboard>.panel{grid-column:1/-1}.dashboard>.panel--half{grid-column:span 1}@media (width<=1100px){.dashboard{grid-template-columns:1fr}.dashboard>.panel--half{grid-column:1/-1}}@media (width<=900px){.app-header{flex-wrap:nowrap;justify-content:space-between;gap:.75rem;min-height:56px;padding:0 1rem}.app-brand-name{font-size:1rem}.app-brand-sub{display:none}.registrations-layout{flex-direction:column;align-items:stretch}.reg-sidebar{flex:none;width:100%;max-height:none;position:static;overflow-y:visible}}@media (width<=768px){.app-main{padding:1rem .85rem}.panel{margin-bottom:1rem;padding:1rem}.app-main table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto}.app-main input,.app-main select,.app-main textarea,.auth-card input,.public-card input,.public-card select,.public-card textarea{font-size:16px}.row-actions button,.module-tabs button,.reg-filter-list button{padding:.5rem .8rem}.row-actions{flex-wrap:wrap;justify-content:flex-start}.form-row{flex-direction:column;align-items:stretch}.form-grid label{min-width:0}}@media (width<=640px){.auth-page,.public-page{align-items:flex-start;padding:.75rem}.auth-card,.public-card{padding:1.25rem 1rem}.module-card-head{flex-direction:column;align-items:stretch}.module-card-head .row-actions{justify-content:flex-start}.qr-panel{text-align:left;flex-direction:column;align-items:stretch}.qr-image{align-self:center;width:100%;max-width:15rem}.take-nav{flex-wrap:wrap}.take-nav button{flex:45%;padding:.7rem .5rem}.mcq-answer{padding:.45rem 0}.burger-menu{min-width:0;max-height:calc(100svh - 4.5rem);position:fixed;top:3.4rem;left:.5rem;right:.5rem;overflow-y:auto}.detail-grid{grid-template-columns:1fr;gap:.6rem}.trade-head{flex-direction:column;align-items:stretch;gap:.5rem}}tr.clickable-row{cursor:pointer}tr.clickable-row:hover td{background:var(--bg)}.take-progress{color:var(--text-h);justify-content:space-between;align-items:baseline;margin-bottom:.4rem;font-weight:600;display:flex}.take-progress-bar{background:var(--border);border-radius:3px;height:6px;margin-bottom:1rem;overflow:hidden}.take-progress-fill{background:var(--accent);height:100%;transition:width .25s}.take-nav{justify-content:space-between;margin-top:1rem}.module-tabs{border-bottom:2px solid var(--border);flex-wrap:wrap;gap:.4rem;margin-bottom:1rem;padding-bottom:0;display:flex}.module-tabs button{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;border-radius:6px 6px 0 0;padding:.5rem .9rem;font-weight:600}.module-tabs button:hover{color:var(--text-h);background:var(--bg)}.module-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.module-notes{border-top:1px solid var(--border);margin-top:.75rem;padding-top:.75rem}.note-folder{border:1px solid var(--border);background:var(--bg);border-radius:8px;margin-bottom:.6rem;padding:.5rem .75rem}.note-folder summary{cursor:pointer;color:var(--text-h);font-weight:600}.note-folder table{margin-top:.5rem}.note-folder .note-folder{margin-top:.5rem;margin-left:1.25rem}.note-folder .add-option,.note-folder form{margin-top:.5rem}.note-new-folder-head{color:var(--text-h);margin:.25rem 0 0;font-size:.95rem}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.page-head h1{margin:0}.page-sub{margin:.15rem 0 0;font-size:.9rem}.page-head button{border:1px solid var(--border);color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:8px;padding:.55rem 1.1rem}.page-head button.primary{background:var(--accent);color:#fff;border:none;font-weight:600}.page-head button.primary:hover{background:var(--accent-hover)}.trade-official{margin:.1rem 0 0;font-size:.82rem}.quiet-danger{border:1px solid var(--border);color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border-radius:8px;padding:.4rem .8rem;font-size:.85rem}.quiet-danger:hover{border-color:var(--danger-text);background:var(--danger-bg);color:var(--danger-text)}.list-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.9rem;display:flex}.list-search{border:1px solid var(--border);background:var(--bg);min-width:12rem;max-width:26rem;color:inherit;font:inherit;border-radius:8px;flex:1;padding:.5rem .75rem}.list-filter{margin:0}.list-filter select{border-radius:8px;margin:0;padding:.5rem .6rem}.list-count{color:var(--text-muted);font-size:.85rem}.cell-nowrap{white-space:nowrap}td.row-actions{vertical-align:top;text-align:right;white-space:nowrap;width:1%;display:table-cell}td.row-actions button+button{margin-left:.5rem}.app-main table td{vertical-align:top}.trade-code{background:var(--bg);border:1px solid var(--border);font-variant-numeric:tabular-nums;color:var(--text-muted);vertical-align:middle;border-radius:5px;margin-right:.45rem;padding:.05rem .4rem;font-size:.78em;font-weight:700;display:inline-block}.reg-filter-list button{white-space:normal;text-align:left;line-height:1.3}.status-chip{text-transform:capitalize;border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:700}.status-chip.status-pending{color:#b45309;background:#fff3e0}.status-chip.status-approved{color:#2e7d32;background:#e8f5e9}.status-chip.status-rejected{color:#c62828;background:#ffebee}.status-chip.status-submitted{color:#b45309;background:#fff3e0}.status-chip.status-in_progress{color:#44536b;text-transform:none;background:#eef2f7}.status-chip.status-marked{color:#2e7d32;background:#e8f5e9}.validation-card{border:1px solid var(--border);border-left:4px solid var(--border);background:var(--bg);border-radius:8px;margin-top:.6rem;padding:.6rem .9rem}.validation-card.verdict-pass{border-left-color:#2e7d32}.validation-card.verdict-review{border-left-color:#ed6c02}.validation-card.verdict-fail{border-left-color:#c62828}.validation-head{flex-wrap:wrap;align-items:baseline;gap:.6rem;display:flex}.validation-card p{margin:.35rem 0 0}.validation-card ul{margin:.35rem 0 0;padding-left:1.2rem}.verdict-badge{letter-spacing:.05em;color:#fff;border-radius:999px;padding:.1rem .5rem;font-size:.72rem;font-weight:700}.verdict-badge.verdict-pass{background:#2e7d32}.verdict-badge.verdict-review{background:#ed6c02}.verdict-badge.verdict-fail{background:#c62828}.popia-notice{background:var(--bg);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:8px;padding:1rem 1.25rem}.popia-notice h2{margin-top:0;font-size:1rem}.popia-notice p{color:var(--text-muted);font-size:.85rem;line-height:1.5}.form-grid label.popia-consent{flex-direction:row;align-items:flex-start;gap:.6rem;font-weight:600}.popia-consent input[type=checkbox]{flex-shrink:0;margin-top:.2rem}.recharts-legend-wrapper .recharts-legend-item-text,.recharts-legend-wrapper li span,.recharts-legend-wrapper text{color:var(--text-muted)!important;fill:var(--text-muted)!important}.chart-grid{grid-template-columns:1fr;gap:1rem;display:grid}@media (width>=1100px){.chart-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start}}.chart-grid>.panel{margin:0}.size-chart-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem 1.5rem;margin-top:.5rem;display:grid}.size-chart h3{margin:0 0 .25rem;font-size:.95rem}.size-chart-total{margin:.25rem 0 0;font-size:.8rem}.viz-key{gap:.35rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.viz-key li{grid-template-columns:.7rem 1fr auto auto;align-items:center;gap:.6rem;font-size:.9rem;display:grid}.viz-key-inline{grid-auto-flow:column;justify-content:flex-end;gap:1.1rem;margin:0 0 .4rem}.viz-key-inline li{grid-template-columns:.7rem auto}.viz-key-swatch{border-radius:50%;width:.7rem;height:.7rem}.viz-key-name{color:var(--text)}.viz-key-value{color:var(--text-h);font-variant-numeric:tabular-nums;font-weight:600}.viz-key-pct{color:var(--text-muted);font-variant-numeric:tabular-nums;text-align:right;min-width:2.6rem}.ai-panel{border-left:3px solid var(--accent)}.ai-panel h2{margin-top:0}.ai-bar{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1.1rem;display:flex}.ai-bar p{max-width:46rem;margin:.2rem 0 0;font-size:.88rem}.ai-suggestion{background:var(--bg);border:1px dashed var(--border);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.6rem;margin:.6rem 0;padding:.6rem .8rem;font-size:.9rem;display:flex}.ai-feedback{color:var(--text-muted);flex:20rem}.ai-chip{background:var(--bg);border:1px solid var(--border);letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;border-radius:999px;padding:.1rem .5rem;font-size:.72rem;font-weight:600;display:inline-block}td .ai-chip{margin-left:.4rem}.marking-guide{background:var(--bg);color:var(--text-muted);border-radius:8px;margin:.5rem 0;padding:.5rem .75rem;font-size:.88rem}.marking-guide-label{letter-spacing:.03em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.15rem;font-size:.72rem;font-weight:600;display:block}.link-button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.result-mark{font-variant-numeric:tabular-nums;font-weight:600}.result-pass{color:var(--accent)}.result-fail{color:var(--danger-text)}.enrolled-since{font-size:.78rem}.exam-clock{font-variant-numeric:tabular-nums;background:var(--bg);border:1px solid var(--border);color:var(--text-h);border-radius:999px;padding:.15rem .6rem;font-weight:700}.exam-clock-low{color:#b45309;background:#fff3e0;border-color:#f0c894}.exam-clock-warning{margin-top:.5rem}.result-link{font-variant-numeric:tabular-nums;font-weight:600}.exam-state{white-space:nowrap;font-size:.85rem}.video-lesson{padding:.75rem 0 .5rem}.video-lesson-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.6rem;display:flex}.video-lesson-head h4{margin:0;font-size:1rem}.video-lesson-player{background:#000;border-radius:10px;width:100%;max-width:60rem;max-height:70vh;display:block}.video-lesson-note{margin:.5rem 0 0;font-size:.85rem}.note-kind{background:var(--bg);border:1px solid var(--border);letter-spacing:.03em;text-transform:uppercase;color:var(--text-muted);border-radius:999px;margin-right:.5rem;padding:.1rem .45rem;font-size:.7rem;font-weight:700;display:inline-block}.field-hint{margin-top:.3rem;font-size:.8rem;font-weight:400;display:block}.field-label{display:block}.required-mark{color:var(--danger-text);margin-left:.1rem;font-weight:700}.field-note{color:var(--text-muted);margin-top:.3rem;font-size:.82rem;font-weight:400;display:block}.field-note-good{color:var(--accent)}.field-note-bad{color:var(--danger-text)}.public-card input[aria-invalid=true]{border-color:var(--danger-text)}.conditional-field{border:1px solid var(--border);border-left:3px solid var(--accent);background:var(--bg);border-radius:10px;margin:.25rem 0 .5rem;padding:.9rem 1rem;animation:.14s ease-out conditional-in}.conditional-field h3{color:var(--text-h);margin:0 0 .3rem;font-size:.95rem}.conditional-field p{margin:0 0 .7rem;font-size:.85rem}.conditional-field label{font-size:.9rem;font-weight:500}@keyframes conditional-in{0%{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.conditional-field{animation:none}}.section-intro{color:var(--text-muted);margin:-.3rem 0 .2rem;font-size:.85rem}:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:var(--focus-ring)}.app-header :where(a,button):focus-visible{outline-color:var(--header-accent);box-shadow:0 0 0 3px #d8a44a59}.app-main button:not([class]),.app-main .row-actions button:not(.primary):not(.danger){border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-h);cursor:pointer;padding:.4rem .8rem;font-size:.85rem;font-weight:500;transition:background-color .15s,border-color .15s}.app-main button:not([class]):hover:not(:disabled),.app-main .row-actions button:not(.primary):not(.danger):hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent)}.app-main .row-actions button.danger,.app-main button.danger{border:1px solid var(--danger-text);border-radius:var(--radius-sm);background:var(--surface);color:var(--danger-text);cursor:pointer;padding:.4rem .8rem;font-size:.85rem;font-weight:500;transition:background-color .15s,border-color .15s}.app-main .row-actions button.danger:hover:not(:disabled),.app-main button.danger:hover:not(:disabled){background:var(--danger-bg)}.app-main button:not([class]):disabled{opacity:.55;cursor:not-allowed}a:focus-visible{text-decoration:underline}tbody tr.clickable-row:hover td{background:var(--surface-hover);cursor:pointer}::selection{background:color-mix(in srgb, var(--accent) 22%, transparent);color:var(--text-h)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.empty-state{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-sunk);color:var(--text-muted);text-align:center;margin:0;padding:3rem 1.5rem}.table-scroll thead th{z-index:1;position:sticky;top:0}:is(.module-list>.module-card:has(.roster),.module-list>.module-card:has(.module-notes)){grid-column:1/-1}
