:root{color:#1f2328;background:#f6f7f9;font-family:system-ui,sans-serif}body{margin:0}.app-shell{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#1f2328;padding:1rem}.sidebar__brand{margin-bottom:1.5rem;font-weight:700}.sidebar ul{margin:0;padding:0;list-style:none}.sidebar a{color:inherit;border-radius:6px;padding:.5rem .75rem;text-decoration:none;display:block}.sidebar a[aria-current=page]{background:#ffffff1f}.topbar{background:#fff;border-bottom:1px solid #e3e5e8;justify-content:space-between;align-items:center;height:56px;padding:0 1.5rem;display:flex}.app-shell__content{padding:1.5rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.auth-layout{grid-template-rows:auto 1fr;justify-items:center;min-height:100vh;display:grid}.auth-layout__header{justify-content:space-between;align-items:center;width:100%;max-width:480px;padding:1.5rem 1rem;display:flex}.auth-layout__brand{font-weight:700}.auth-card{box-sizing:border-box;background:#fff;border:1px solid #e3e5e8;border-radius:12px;align-self:start;width:100%;max-width:420px;margin:0 1rem 2rem;padding:2rem}.form{gap:1rem;display:grid}.form h1,.form h2{margin:0}.form label{gap:.35rem;font-weight:500;display:grid}.form input:not([type=checkbox]){font:inherit;border:1px solid #c9ccd1;border-radius:6px;padding:.55rem .7rem}button{font:inherit;color:#fff;cursor:pointer;background:#1f2328;border:1px solid #1f2328;border-radius:6px;padding:.5rem .9rem}button:disabled{opacity:.6;cursor:progress}button.link-button{color:#0b5cad;background:0 0;border:none;justify-self:start;padding:0}button.danger{color:#b42318;background:#fff;border-color:#f0c8c3}.form-error{color:#b42318;margin:0}.qr-code{width:180px;height:180px}.recovery-codes{grid-template-columns:repeat(2,1fr);gap:.25rem 1rem;padding:0;list-style:none;display:grid}.store-list{gap:.5rem;padding:0;list-style:none;display:grid}.store-list button{width:100%;color:inherit;background:#fff;border-color:#e3e5e8;justify-content:space-between;display:flex}.permission-picker{border:1px solid #e3e5e8;border-radius:6px;flex-wrap:wrap;gap:.5rem 1rem;display:flex}.form .checkbox,.checkbox{align-items:center;gap:.35rem;font-weight:400;display:flex}.page{gap:1.5rem;display:grid}.card{background:#fff;border:1px solid #e3e5e8;border-radius:12px;max-width:640px;padding:1.5rem}.data-table{border-collapse:collapse;background:#fff;border:1px solid #e3e5e8;width:100%}.data-table caption{text-align:left;padding:.5rem 0;font-weight:600}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #eef0f2;padding:.6rem .75rem}.data-table .actions{gap:.5rem;display:flex}.topbar__store,.topbar__user{align-items:center;gap:1rem;display:flex}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.page-header h1{margin:.25rem 0 0}a.button,label.button{color:#fff;cursor:pointer;background:#1f2328;border-radius:6px;padding:.5rem .9rem;text-decoration:none;display:inline-block}button.secondary,button.tab{color:#1f2328;background:#fff;border-color:#c9ccd1}button.tab[aria-pressed=true]{color:#fff;background:#1f2328}button.danger-link{color:#b42318}.toolbar{border:0;flex-wrap:wrap;align-items:end;gap:.75rem;margin:0;padding:0;display:flex}.toolbar label{gap:.25rem;display:grid}.toolbar label.checkbox{display:flex}input,select,textarea{font:inherit}.toolbar input:not([type=checkbox],[type=radio]),.toolbar select,.form select,.form textarea,.picker input{border:1px solid #c9ccd1;border-radius:6px;padding:.45rem .6rem}.bulk-bar{background:#fff;border:1px solid #e3e5e8;border-radius:8px;padding:.75rem;position:sticky;bottom:0}.form-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;display:grid}.card--wide{max-width:none}.muted{color:#6b7178}.badge{background:#eef0f2;border-radius:999px;padding:.1rem .5rem;font-size:.85em;display:inline-block}.badge--active{color:#116329;background:#dcf5e3}.badge--archived{background:#f3e8e8}.cell-input{box-sizing:border-box;border:1px solid #d5d8dc;border-radius:4px;width:100%;min-width:5rem;padding:.3rem .4rem}.cell-input--number{max-width:7rem}.pagination{align-items:center;gap:1rem;display:flex}.tabs{gap:.5rem;display:flex}.tabs a{color:inherit;background:#fff;border:1px solid #e3e5e8;border-radius:6px;padding:.4rem .8rem;text-decoration:none}.tabs a[aria-current=page]{color:#fff;background:#1f2328}.option-list,.line-list,.picker__results{gap:.4rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.line-list li,.picker__results li{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.picker{gap:.5rem;max-width:480px;display:grid}.media-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}.media-grid li{background:#fff;border:1px solid #e3e5e8;border-radius:8px;gap:.4rem;padding:.5rem;display:grid}.media-grid img,.media-placeholder{aspect-ratio:1;object-fit:contain;overflow-wrap:anywhere;background:#f6f7f9;place-items:center;width:100%;font-size:.8em;display:grid}.media-meta{display:grid;overflow:hidden}.media-meta strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.media-actions{gap:.25rem;display:flex}.media-actions button{padding:.25rem .5rem}.upload input[type=file]{margin-top:.35rem;display:block}label.button input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.rules{border:1px solid #e3e5e8;border-radius:8px;gap:.6rem;display:grid}.checkbox-list{border:0;gap:.35rem;padding:0;display:grid}.field{gap:.3rem;display:grid}.global-search{flex:1;max-width:420px;margin:0 1.5rem;position:relative}.global-search input{box-sizing:border-box;border:1px solid #c9ccd1;border-radius:6px;width:100%;padding:.45rem .7rem}.global-search__results{z-index:10;background:#fff;border:1px solid #e3e5e8;border-radius:8px;padding:.5rem;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 8px 24px #00000014}.global-search__results h3{text-transform:uppercase;color:#6b7178;margin:.5rem .25rem .25rem;font-size:.75rem}.global-search__results ul{margin:0;padding:0;list-style:none}.global-search__results a{color:inherit;border-radius:6px;align-items:center;gap:.5rem;padding:.35rem .5rem;text-decoration:none;display:flex}.global-search__results a:hover{background:#f6f7f9}.global-search__results img{object-fit:cover;border-radius:4px;width:28px;height:28px}.hint{color:#6b7178;max-width:60rem}.break{word-break:break-all}.secret-banner{border-left:4px solid #116329;max-width:none}.secret-banner code{word-break:break-all;background:#f5f6f7;margin:.5rem 0;padding:.5rem;display:block}.scope-grid{grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.75rem;display:grid}.details{grid-template-columns:max-content 1fr;gap:.25rem 1rem;display:grid}.details dt{font-weight:600}.details dd{margin:0}.badge--succeeded{color:#116329;background:#dcf5e3}.badge--failed{color:#9f1c1c;background:#fbe3e3}.stats{gap:1.5rem;padding:0;list-style:none;display:flex}.row--error td{background:#fdf3f3}button.link{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}
