Each group label (Dashboard, Settings) toggles its items; a group starts closed unless it holds the current route, and a manual toggle resets on the next navigation. Mobile keeps every item visible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
398 lines
28 KiB
CSS
398 lines
28 KiB
CSS
/* Modern theme from the "Learning Lab Express Redesign" canvas: light sidebar, bright blue
|
|
accent, Plus Jakarta Sans, softer radii and layered shadows. Loaded last, so it only overrides. */
|
|
:root{
|
|
--blue:#1570ef;--blue-dark:#175cd3;--navy:#101828;--ink:#101828;--muted:#667085;--line:#e4e7ec;--bg:#f5f8ff;--light:#eff8ff;--green:#067647;--radius:18px;
|
|
--glow:#2e90fa;--soft:#d1e9ff;--deep:#194185;
|
|
--shadow-card:0 1px 2px rgba(16,24,40,.04),0 10px 30px -14px rgba(21,94,239,.16);
|
|
--shadow-btn:inset 0 1px 0 rgba(255,255,255,.22),0 8px 18px -8px rgba(21,112,239,.7);
|
|
font-family:'Plus Jakarta Sans',system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;
|
|
-webkit-font-smoothing:antialiased;
|
|
}
|
|
button:focus-visible,a:focus-visible{outline:2px solid var(--glow);outline-offset:2px}
|
|
p{color:var(--muted)}
|
|
h1,h2,h3,h4{letter-spacing:-.03em}
|
|
small{color:var(--muted)}
|
|
|
|
/* Brand */
|
|
.brand-mark{background:linear-gradient(140deg,#53b1fd,#2e90fa 45%,#1570ef);border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 20px -6px rgba(46,144,250,.6)}
|
|
.brand{font-weight:800;letter-spacing:-.02em}
|
|
|
|
/* Buttons and controls */
|
|
.btn{min-height:40px;padding:9px 16px;border-radius:12px;border-color:var(--line);font-size:13.5px;font-weight:600;transition:background .15s,transform .15s,box-shadow .15s}
|
|
.btn:hover{background:#f5f8ff;border-color:#d0d5dd}
|
|
.btn.primary{background:var(--blue);border-color:var(--blue);box-shadow:var(--shadow-btn)}
|
|
.btn.primary:hover{background:var(--blue-dark);transform:translateY(-1px)}
|
|
.btn.primary:disabled{transform:none;box-shadow:none}
|
|
.btn.light{background:var(--light);border-color:var(--soft);color:var(--blue-dark)}
|
|
.btn.small{min-height:34px;padding:7px 12px;font-size:12.5px;border-radius:10px}
|
|
.btn.danger{color:#b91c1c}
|
|
.icon-btn{border-radius:10px;color:var(--muted)}
|
|
.icon-btn:hover{background:var(--light);color:var(--blue)}
|
|
.text-btn{color:var(--blue-dark);font-size:13px}
|
|
.badge,.status,.type-badge{border-radius:999px;padding:5px 10px;font-size:11.5px;font-weight:600}
|
|
.badge.blue{color:var(--blue-dark);background:var(--light)}
|
|
.badge.neutral{background:#f2f4f7;color:#475467}
|
|
.status.ready{color:#047857;background:#ecfdf5}
|
|
.status.draft{color:#b45309;background:#fffbeb}
|
|
.status.failed{color:#b91c1c;background:#fef2f2}
|
|
.type-badge{background:var(--light);color:var(--blue-dark)}
|
|
|
|
label{font-size:13px;font-weight:600}
|
|
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{border-color:#d0d5dd;border-radius:12px;font-size:14px;outline-color:var(--blue);transition:border-color .15s,box-shadow .15s}
|
|
input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(21,112,239,.14)}
|
|
input::placeholder,textarea::placeholder{color:#98a2b3}
|
|
.inline-note,.preview-notice{background:#f5faff;border:1px solid var(--soft);border-radius:14px;color:#475467;font-size:12.5px}
|
|
.inline-note svg,.preview-notice svg{color:var(--blue)}
|
|
.error{color:#b91c1c}
|
|
|
|
/* Sidebar: light, bright blue active state */
|
|
.sidebar{width:264px;background:#fff;border-right:1px solid var(--line);padding:24px 16px 16px;color:var(--ink);overflow:hidden}
|
|
.sidebar::before{content:"";position:absolute;left:-120px;top:-140px;width:360px;height:360px;border-radius:50%;background:radial-gradient(closest-side,rgba(46,144,250,.16),rgba(46,144,250,0));pointer-events:none}
|
|
.sidebar>*{position:relative}
|
|
.sidebar>a:first-child{display:block}
|
|
.sidebar>a>.brand{margin:0 4px 24px;font-size:16px}
|
|
.sidebar .brand-mark{width:38px;height:38px;border-radius:12px}
|
|
.workspace{border:1px solid var(--line);background:#f8faff;border-radius:14px;padding:10px;margin-bottom:26px;font-size:13.5px}
|
|
.workspace small{font-size:12px}
|
|
.workspace-switch{position:relative;margin-bottom:26px}
|
|
button.workspace{width:100%;margin:0;text-align:left;font:inherit;font-size:13.5px;color:inherit;cursor:pointer;transition:border-color .15s,background .15s}
|
|
button.workspace:hover,button.workspace[aria-expanded=true]{border-color:var(--soft);background:#f2f7ff}
|
|
.workspace-menu{position:absolute;z-index:6;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 32px -12px rgba(16,24,40,.22)}
|
|
.workspace-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:10px;background:none;font:inherit;font-size:13.5px;font-weight:550;color:var(--ink);text-align:left;cursor:pointer}
|
|
.workspace-menu button:hover{background:#f2f7ff}
|
|
.workspace-menu button>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
.workspace-menu .workspace-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}
|
|
.workspace-menu svg{width:16px;height:16px;color:var(--blue)}
|
|
.workspace-icon{background:var(--light);color:var(--blue-dark);border-radius:9px;width:30px;height:30px;font-weight:800}
|
|
.nav-label{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin:0 12px 10px}
|
|
.sidebar nav{gap:4px}
|
|
.sidebar nav :is(button,a){position:relative;padding:11px 12px;border-radius:12px;color:#475467;font-size:14px;font-weight:550;transition:background .15s,color .15s}
|
|
.sidebar nav :is(button,a) svg{color:#98a2b3}
|
|
.sidebar nav :is(button,a):hover{background:#f2f7ff;color:var(--ink)}
|
|
.sidebar nav :is(button,a).active{background:linear-gradient(90deg,#1570ef,#2e90fa);color:#fff;font-weight:650;box-shadow:0 8px 18px -10px rgba(21,112,239,.8)}
|
|
.sidebar nav :is(button,a).active svg{color:#fff}
|
|
.sidebar-help{border:1px solid var(--soft);background:linear-gradient(160deg,#eff8ff,#fff);border-radius:16px;padding:16px 14px}
|
|
.sidebar-help>svg{color:var(--blue)}
|
|
.sidebar-help b{font-size:13px}
|
|
.sidebar-help p{font-size:12px}
|
|
.sidebar-help button{color:var(--blue-dark);font-size:12.5px}
|
|
.profile{border-top:1px solid var(--line);padding:14px 4px 0}
|
|
.profile b{font-size:13px}
|
|
.profile small{font-size:11.5px}
|
|
.avatar{background:linear-gradient(140deg,#2e90fa,#1570ef);color:#fff;width:34px;height:34px;font-weight:700;box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(46,144,250,.5);flex-shrink:0}
|
|
|
|
/* Main column: glass top bar and a soft blue glow at the top */
|
|
.workspace-main{margin-left:264px;width:calc(100% - 264px);background:radial-gradient(900px 420px at 85% -120px,rgba(46,144,250,.18),rgba(124,92,255,0) 70%),radial-gradient(700px 360px at 10% -160px,rgba(125,215,255,.22),rgba(190,242,100,0) 70%) no-repeat}
|
|
.topbar{position:sticky;top:0;z-index:4;height:64px;padding:0 36px;background:rgba(255,255,255,.7);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #eaecf0}
|
|
.breadcrumb{font-size:13.5px;color:var(--muted)}
|
|
.breadcrumb span{color:#d0d5dd}
|
|
.breadcrumb b{color:var(--ink);font-weight:600}
|
|
.topbar-right{font-size:13px;color:var(--muted);gap:16px}
|
|
.demo-indicator{white-space:nowrap;height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;font-weight:550;color:#344054}
|
|
.credit-pill{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;background:var(--light);color:var(--blue-dark);font-size:12.5px;font-weight:700;white-space:nowrap}
|
|
.credit-pill svg{width:15px;height:15px}
|
|
.studio-link{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#344054;font-size:12.5px;font-weight:600;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s}
|
|
.studio-link:hover{background:#f5f8ff;border-color:#d0d5dd;color:var(--blue-dark)}
|
|
.studio-link svg{width:14px;height:14px}
|
|
.demo-indicator i{width:7px;height:7px;background:#059669;box-shadow:0 0 0 3px #d1fae5}
|
|
.lang-switch{border:0;border-radius:999px;background:#f2f4f7;padding:3px}
|
|
.lang-switch button{border-radius:999px;padding:5px 11px;font-size:12px;color:#475467}
|
|
.lang-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(16,24,40,.12)}
|
|
.demo-strip{margin:24px 36px 0;padding:8px 10px 8px 16px;border:1px solid rgba(46,144,250,.25);border-radius:999px;background:rgba(255,255,255,.75);box-shadow:0 6px 20px -12px rgba(21,112,239,.35);color:var(--deep);font-size:13px}
|
|
.demo-strip svg{color:var(--blue)}
|
|
.demo-strip-tag{font-size:11px;letter-spacing:.06em;font-weight:700;color:#fff;background:var(--blue);border-radius:999px;padding:4px 10px}
|
|
.app main{padding:28px 36px 32px}
|
|
.page-head{margin-bottom:28px}
|
|
.page-head h1{font-size:38px;line-height:1.08;font-weight:800;letter-spacing:-.04em}
|
|
.page-head p{font-size:15px;margin-top:8px;max-width:720px}
|
|
.page-eyebrow{display:block;margin-bottom:10px;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#667085}
|
|
.welcome-spark{font-size:.7em;vertical-align:.12em}
|
|
.app-footer{margin:auto 36px 0;padding:20px 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
|
|
.app-footer>span:first-child{color:var(--blue-dark)}
|
|
.app-footer>span:last-child{font-size:12.5px}
|
|
|
|
/* Cards and sections */
|
|
.card{border-color:var(--line);border-radius:var(--radius);box-shadow:var(--shadow-card)}
|
|
.card-head{padding:18px 22px}
|
|
.card-head h3{font-size:16px;font-weight:700}
|
|
.card-head p{font-size:13px}
|
|
.card-body{padding:22px}
|
|
.section-heading h3,.toolbar h3{font-size:16px;font-weight:700}
|
|
.section-heading p{font-size:13px}
|
|
|
|
/* Metrics: bento tiles, the first one dark */
|
|
.metrics{gap:16px;margin-bottom:24px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
|
|
.metric{border-color:var(--line);border-radius:18px;padding:20px 22px;box-shadow:var(--shadow-card);overflow:hidden}
|
|
.metric>span{font-size:13px;font-weight:600;color:#475467}
|
|
.metric strong{font-size:38px;font-weight:800;letter-spacing:-.045em;line-height:1.05;margin:10px 0 6px;font-variant-numeric:tabular-nums}
|
|
.metric small{font-size:12.5px}
|
|
.metric:first-child{background:linear-gradient(140deg,#175cd3,#1570ef);border-color:#1570ef;color:#fff;box-shadow:0 18px 40px -18px rgba(21,112,239,.7)}
|
|
.metric:first-child::after{content:"";position:absolute;right:-60px;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.35),rgba(255,255,255,0));pointer-events:none}
|
|
.metric:first-child>span{color:#eff8ff}
|
|
.metric:first-child small{color:#eff8ff}
|
|
.metric i{border-radius:12px;background:var(--light);color:var(--blue)}
|
|
|
|
/* Upload */
|
|
.upload-box{border:1.5px dashed #84caff;border-radius:20px;background:linear-gradient(135deg,#f5faff,#fff 60%);padding:32px 24px}
|
|
.upload-box.drag{background:var(--soft);border-color:var(--blue);box-shadow:0 0 0 4px rgba(21,112,239,.12)}
|
|
.upload-symbol{background:#fff;border:1px solid #b2ddff;color:var(--blue);border-radius:14px}
|
|
.upload-box h3{font-size:17px;font-weight:700}
|
|
.upload-box p{font-size:14px;color:#475467}
|
|
.upload-box .upload-limit{font-size:12px;color:var(--muted)}
|
|
.drop-overlay{background:rgba(16,24,40,.4);backdrop-filter:blur(4px)}
|
|
.drop-overlay>div{border-radius:20px;border-color:var(--blue);color:var(--blue-dark)}
|
|
|
|
/* Tables and lists */
|
|
.toolbar{padding:16px 22px}
|
|
.search>svg{color:var(--muted);top:12px}
|
|
.search input{font-size:13px;min-height:38px!important;border-radius:12px}
|
|
th{font-size:12px;font-weight:600;color:var(--muted);background:#f9fafb;padding:12px 22px}
|
|
td{font-size:13px;color:#475467;padding:16px 22px;border-bottom-color:#eaecf0}
|
|
tbody tr{transition:background .12s}
|
|
tbody tr:hover{background:#f9fafb}
|
|
.file-name b{font-size:14px;color:var(--ink)}
|
|
.file-name small{font-size:12px}
|
|
.file-icon{border-radius:10px}
|
|
.table-note{font-size:12px;color:var(--muted)}
|
|
.notice-row{background:var(--light);border-color:var(--soft);border-radius:14px;color:var(--deep);font-size:13px}
|
|
.result-row{padding:18px 0}
|
|
.result-title{font-size:14.5px;color:var(--ink);font-weight:700}
|
|
.result-meta{font-size:12px;color:var(--muted)}
|
|
.result-cover,.rule-icon{background:var(--light);border-color:var(--soft);color:var(--blue);border-radius:12px}
|
|
.rule-body>b{font-size:14.5px}
|
|
.rule-note,.rule-check,.rule-approve small{font-size:12.5px;color:var(--muted)}
|
|
.rule-approve,.run-history{background:#f9fafb}
|
|
.run-history,.produce-panel,.production-progress{border-radius:14px}
|
|
.produce-panel,.production-progress{background:#f5faff;border-color:var(--soft);color:#475467}
|
|
.production-steps li.current:before{box-shadow:0 0 0 3px var(--soft)}
|
|
.production-bar,.progress-track{background:#ecebf3}
|
|
.spinner{border-color:var(--soft);border-top-color:var(--blue)}
|
|
|
|
/* Results */
|
|
.content-grid{gap:18px}
|
|
.content-card{border-radius:18px;box-shadow:var(--shadow-card);transition:transform .15s,box-shadow .15s}
|
|
.content-card:hover{transform:translateY(-2px);box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 36px -16px rgba(21,94,239,.25)}
|
|
.content-cover{background:linear-gradient(140deg,#eff8ff,#d1e9ff);color:var(--blue)}
|
|
.content-cover>span{font-size:13px}
|
|
.content-title{font-size:14.5px;font-weight:700}
|
|
.content-title:hover{color:var(--blue)}
|
|
.content-card-body>p{font-size:12px}
|
|
.content-card-foot>span{font-size:11.5px;color:var(--muted)}
|
|
.content-card-foot .text-btn{font-size:12.5px}
|
|
.preview-tabs button{font-size:13px}
|
|
.preview-tabs button.active{color:var(--blue-dark);border-color:var(--blue)}
|
|
.preview-side{background:#f9fafb;border-color:var(--line);border-radius:14px}
|
|
.prose p,.prose li{font-size:14px;color:#344054}
|
|
.quiz-item,.flashcard,.slide-preview,.chapter{border-radius:14px}
|
|
|
|
/* Empty states */
|
|
.empty{color:var(--muted)}
|
|
.empty-icon{background:var(--light);color:var(--blue);border-radius:14px}
|
|
.empty h3{font-size:16px;color:var(--ink)}
|
|
.empty p{font-size:13.5px}
|
|
|
|
/* Dialogs and toast */
|
|
dialog{border:1px solid var(--line);border-radius:22px;box-shadow:0 30px 80px -20px rgba(16,24,40,.45)}
|
|
dialog::backdrop{background:rgba(16,24,40,.45);backdrop-filter:blur(4px)}
|
|
.modal-head h2{font-size:22px;font-weight:800}
|
|
.modal-head p{font-size:13px}
|
|
.help-step>span{background:var(--light);color:var(--blue-dark);border-radius:10px;font-weight:700}
|
|
.help-step h3{font-size:14.5px}
|
|
.help-step p{font-size:13px}
|
|
.toast{background:var(--ink);border-radius:14px;font-size:13.5px;box-shadow:0 18px 40px -16px rgba(16,24,40,.6)}
|
|
.toast.error{background:#991b1b;color:#fff}
|
|
.progress-orb{background:var(--light);color:var(--blue);border-radius:20px}
|
|
|
|
/* Sign in: bright blue story panel with dot grid and light glow */
|
|
.login-story{background:linear-gradient(150deg,#175cd3,#1570ef 55%,#2e90fa);color:#fff;padding:48px 64px}
|
|
.login-story::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.2px);background-size:22px 22px;pointer-events:none}
|
|
.login-story::after{right:-260px;top:-240px;bottom:auto;width:720px;height:720px;border:0;background:radial-gradient(closest-side,rgba(255,255,255,.28),rgba(255,255,255,0))}
|
|
.login-story .brand,.login-story .brand b{color:#fff}
|
|
.login-story .brand small{color:#d1e9ff}
|
|
.login-story .brand-mark{background:#fff;color:#1570ef}
|
|
.login-story .lang-switch{background:rgba(255,255,255,.16)}
|
|
.login-story .lang-switch button{color:#fff}
|
|
.login-story .lang-switch button.active{background:#fff;color:var(--blue-dark)}
|
|
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:12px;letter-spacing:.04em}
|
|
.eyebrow::before{content:"NEW";padding:2px 8px;border-radius:999px;background:#fff;color:var(--blue-dark);font-size:10.5px;font-weight:800}
|
|
.login-copy h1{font-size:60px;line-height:1.03;font-weight:800;letter-spacing:-.04em;color:#fff}
|
|
.login-copy>p{font-size:17px;line-height:1.6;color:#eff8ff;max-width:520px}
|
|
.login-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:32px;color:#fff;font-size:14px;font-weight:600}
|
|
.login-benefits>span{flex-direction:column;align-items:flex-start;gap:14px;padding:16px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);line-height:1.35;backdrop-filter:blur(6px)}
|
|
.login-benefits i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff}
|
|
.login-benefits svg{color:#1570ef}
|
|
.login-footer{font-size:12px;letter-spacing:.06em;color:#d1e9ff}
|
|
.login-panel{background:#fff}
|
|
.login-form-wrap h2{font-size:28px;font-weight:800;letter-spacing:-.035em}
|
|
.login-form-wrap>div>p{font-size:14px;margin:8px 0 20px}
|
|
|
|
@media(max-width:1120px){
|
|
.sidebar{width:230px}
|
|
.workspace-main{margin-left:230px;width:calc(100% - 230px)}
|
|
.topbar{padding:0 24px}.demo-strip{margin-left:24px;margin-right:24px}.app main{padding-left:24px;padding-right:24px}.app-footer{margin-left:24px;margin-right:24px}
|
|
.login-copy h1{font-size:46px}.login-story{padding:40px}
|
|
}
|
|
@media(max-width:900px){
|
|
.login-benefits{grid-template-columns:1fr}
|
|
.login-copy h1{font-size:36px}
|
|
}
|
|
@media(max-width:700px){
|
|
.sidebar{width:100%;padding:16px 16px 4px}
|
|
.sidebar>a>.brand{margin:0 0 14px}
|
|
.sidebar nav :is(button,a){font-size:12.5px;padding:10px}
|
|
.sidebar nav :is(button,a).active::before{display:none}
|
|
.workspace-main{margin:0;width:100%}
|
|
.topbar{position:static;height:auto;min-height:56px;padding:10px 16px;flex-wrap:wrap}
|
|
.topbar-right{gap:8px 10px;flex-wrap:wrap}
|
|
.demo-strip{margin:16px 16px 0;border-radius:16px;font-size:12px}
|
|
.app main{padding:22px 16px}
|
|
.app-footer{margin-left:16px;margin-right:16px}
|
|
.page-head h1{font-size:30px}
|
|
.page-head p{font-size:14px}
|
|
.metric strong{font-size:32px}
|
|
/* Phone: a short story header so the sign-in form shows without scrolling past it */
|
|
/* Phone: one blue background behind both the story and the form, dot grid included */
|
|
.login-layout{background:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.2px) 0 0/22px 22px,radial-gradient(circle 360px at 100% 0,rgba(255,255,255,.28),rgba(255,255,255,0)),linear-gradient(170deg,#175cd3,#1570ef 45%,#2e90fa)}
|
|
.login-story,.login-panel{background:transparent}
|
|
.login-story::before,.login-story::after{display:none}
|
|
.login-story{padding:20px 16px 24px}
|
|
.login-copy{padding:20px 0 0}
|
|
.login-copy h1{font-size:28px;line-height:1.1;margin:14px 0 10px}
|
|
.login-copy>p{font-size:14px;line-height:1.5}
|
|
.eyebrow{font-size:10.5px;padding:5px 12px 5px 6px}
|
|
.login-benefits,.login-footer{display:none}
|
|
.login-panel{padding:24px 16px 32px}
|
|
.login-form-wrap{width:100%}
|
|
.login-form-wrap :is(.cl-rootBox,.cl-cardBox){width:100%;max-width:100%}
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.btn,.content-card,.sidebar nav :is(button,a){transition:none}
|
|
.btn.primary:hover,.content-card:hover{transform:none}
|
|
}
|
|
|
|
/* Skeletons: a soft blue shimmer in the shape of the content that is loading */
|
|
.skel{display:block;border-radius:8px;background:linear-gradient(90deg,#eaf2ff 0%,#f5f9ff 40%,#eaf2ff 80%) 0 0/300% 100%;animation:skel-shimmer 1.4s ease-in-out infinite}
|
|
.skel-stack{display:grid;gap:10px}
|
|
.skel-row{align-items:center}
|
|
.skel-row .result-main{display:grid;gap:9px}
|
|
.skel-cover{width:46px;height:52px;border-radius:12px;flex-shrink:0}
|
|
.skel-pill{width:78px;height:24px;border-radius:999px;flex-shrink:0}
|
|
.skel-block{height:122px;border-radius:0}
|
|
.skel-num{display:block;width:56px;height:38px;margin:10px 0 6px;border-radius:10px}
|
|
.metric:first-child .skel{background:linear-gradient(90deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.38) 40%,rgba(255,255,255,.18) 80%) 0 0/300% 100%}
|
|
@keyframes skel-shimmer{from{background-position:100% 0}to{background-position:-50% 0}}
|
|
|
|
/* Each route fades in instead of snapping, which hides the swap between pages */
|
|
.app main{animation:page-in .28s ease-out}
|
|
@keyframes page-in{from{opacity:0;transform:translateY(6px)}}
|
|
@media (prefers-reduced-motion:reduce){.skel,.app main{animation:none}}
|
|
|
|
/* Sidebar groups: Dashboard, then Settings, each a dropdown that opens on its active page */
|
|
.sidebar nav button.nav-label{display:flex;align-items:center;justify-content:space-between;width:auto;margin:0 0 2px;padding:6px 12px;border-radius:8px;color:var(--muted);font-size:11px;font-weight:600;box-shadow:none;background:none}
|
|
.sidebar nav button.nav-label:hover{background:#f2f7ff;color:var(--ink)}
|
|
.sidebar nav button.nav-label svg{width:14px;height:14px;color:inherit;transition:transform .15s}
|
|
.sidebar nav button.nav-label[aria-expanded=false] svg{transform:rotate(-90deg)}
|
|
.sidebar nav .nav-items~.nav-label{margin-top:12px}
|
|
.nav-items{display:contents}
|
|
@media(min-width:701px){.nav-items.closed{display:none}}
|
|
@media(max-width:700px){.sidebar nav button.nav-label{display:none}}
|
|
|
|
/* Production: the knowledge graph, then the metric row and the latest content */
|
|
.prod-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}
|
|
.prod-metrics .metric>span{display:flex;align-items:center;gap:8px}
|
|
.prod-metrics .metric strong em{font-style:normal;font-size:16px;font-weight:600;letter-spacing:0;opacity:.7}
|
|
.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.6);animation:live-pulse 1.8s ease-out infinite;flex-shrink:0}
|
|
@keyframes live-pulse{70%{box-shadow:0 0 0 8px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
|
|
|
|
.graph-stage{--g-sources:#6ce9a6;--g-made:#fde272;--g-working:#c3b5fd;--g-research:#84caff;--g-schedules:#fdb022;
|
|
position:relative;min-height:640px;border-radius:22px;overflow:hidden;color:#e4e7ec;
|
|
background:radial-gradient(ellipse at 45% 50%,#0f2a4d 0%,#0a1628 55%,#060d1a 100%);box-shadow:0 24px 60px -28px rgba(16,24,40,.6)}
|
|
.graph-svg{position:absolute;inset:0;width:calc(100% - 300px);height:100%;display:block}
|
|
.graph-loading{position:absolute;inset:0 300px 0 0;display:grid;place-items:center;color:#98a2b3;font-size:13px}
|
|
.graph-stars circle{fill:#fff;opacity:.25;animation:twinkle 4s ease-in-out infinite}
|
|
@keyframes twinkle{50%{opacity:.04}}
|
|
.graph-glow{transform-origin:500px 320px;animation:glow-breathe 7s ease-in-out infinite}
|
|
@keyframes glow-breathe{50%{transform:scale(1.08);opacity:.75}}
|
|
.graph-orbit{fill:none;stroke:rgba(132,202,255,.12);stroke-dasharray:2 7;transform-origin:500px 320px;animation:orbit-spin 90s linear infinite}
|
|
.graph-orbit.slow{stroke:rgba(132,202,255,.07);animation-duration:160s;animation-direction:reverse}
|
|
@keyframes orbit-spin{to{transform:rotate(360deg)}}
|
|
.graph-links path{fill:none;transition:opacity .3s,stroke .3s,stroke-width .3s}
|
|
.graph-links path.hub{stroke:var(--c);stroke-opacity:.16;stroke-width:.8}
|
|
.graph-links path.cross{stroke:rgba(132,202,255,.22);stroke-width:.9;stroke-dasharray:4 5;animation:dash-flow 3s linear infinite}
|
|
@keyframes dash-flow{to{stroke-dashoffset:-18}}
|
|
.graph-links path.lit{stroke:var(--c);stroke-opacity:.9;stroke-width:1.6}
|
|
.graph-links path.dim{opacity:.12}
|
|
.graph-particles circle{fill:var(--c);filter:drop-shadow(0 0 3px var(--c));opacity:0;transition:opacity .3s}
|
|
.graph-particles circle.dim{visibility:hidden}
|
|
.graph-node{cursor:pointer;transition:opacity .3s}
|
|
.graph-node.dim{opacity:.2!important}
|
|
.graph-node .hit{fill:transparent}
|
|
.graph-node .core{fill:var(--c);transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
|
|
.graph-node:is(.hover,.sel) .core{transform:scale(1.7)}
|
|
.graph-node.hub .core{fill:var(--c);opacity:.9}
|
|
.graph-node.hub:is(.hover,.sel) .core{transform:scale(1.25)}
|
|
.graph-node .dot{fill:url(#graph-core);pointer-events:none}
|
|
.graph-node .halo{fill:var(--c);opacity:.1;animation:halo-breathe 4s ease-in-out infinite}
|
|
@keyframes halo-breathe{50%{opacity:.2;transform:scale(1.15)}}
|
|
.graph-node .ring{fill:none;stroke:var(--c);stroke-width:1.2;opacity:0;animation:ring-out 3.2s ease-out infinite}
|
|
.graph-node .ring.late{animation-delay:1.6s}
|
|
@keyframes ring-out{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(3.2)}}
|
|
.graph-node :is(.core,.halo,.ring){transform-box:fill-box;transform-origin:center}
|
|
.graph-node text{fill:#fff;font-size:13px;font-weight:700;letter-spacing:.01em;text-anchor:middle;paint-order:stroke;stroke:#08142a;stroke-width:4px;stroke-linejoin:round;pointer-events:none}
|
|
.graph-node:not(.hub) text{font-size:11.5px;font-weight:600;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s}
|
|
.graph-node:not(.hub):is(.hover,.sel) text{opacity:1;transform:none}
|
|
.graph-node.c-working:not(.hub) .core{animation:node-pulse 1.6s ease-in-out infinite}
|
|
@keyframes node-pulse{50%{opacity:.4}}
|
|
.c-sources{--c:var(--g-sources)}.c-made{--c:var(--g-made)}.c-working{--c:var(--g-working)}.c-research{--c:var(--g-research)}.c-schedules{--c:var(--g-schedules)}
|
|
|
|
.graph-note{position:absolute;top:16px;left:16px;z-index:2;display:flex;align-items:center;gap:8px;max-width:min(460px,calc(100% - 340px));
|
|
padding:8px 14px;border-radius:999px;background:rgba(10,22,40,.8);border:1px solid rgba(255,255,255,.12);font-size:12.5px;backdrop-filter:blur(8px)}
|
|
.graph-note b{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
.graph-note span{color:#98a2b3;white-space:nowrap}
|
|
.graph-note button{display:grid;place-items:center;border:0;background:none;color:#98a2b3;padding:0;cursor:pointer}
|
|
.graph-note svg{width:14px;height:14px}
|
|
.graph-legend{position:absolute;left:16px;bottom:16px;z-index:2;display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;margin:0;padding:0;font-size:11.5px;color:#98a2b3}
|
|
.graph-legend li{display:flex;align-items:center;gap:6px}
|
|
.node-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 6px var(--c);flex-shrink:0}
|
|
.node-dot.sources{--c:var(--g-sources)}.node-dot.made{--c:var(--g-made)}.node-dot.working{--c:var(--g-working)}.node-dot.research{--c:var(--g-research)}.node-dot.schedules{--c:var(--g-schedules)}
|
|
|
|
.graph-panel{position:absolute;top:16px;right:16px;bottom:16px;width:284px;z-index:2;overflow:auto;padding:14px;border-radius:18px;
|
|
background:rgba(10,22,40,.72);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px)}
|
|
.graph-panel h3{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#98a2b3;margin:18px 4px 8px;font-weight:650}
|
|
.graph-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
|
|
.graph-stats>div{padding:12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
|
|
.graph-stats small{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#98a2b3}
|
|
.graph-stats b{display:block;font-size:28px;font-weight:650;color:#fff;margin:6px 0 2px;font-variant-numeric:tabular-nums}
|
|
.graph-stats span{font-size:11px;color:#98a2b3}
|
|
.graph-list{list-style:none;margin:0;padding:0;display:grid}
|
|
.graph-list li{display:grid;grid-template-columns:auto 1fr auto;gap:4px 10px;align-items:start;padding:9px 4px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12.5px;line-height:1.45}
|
|
.graph-list li:last-child{border-bottom:0}
|
|
.graph-list time{font:600 11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:#84caff;white-space:nowrap}
|
|
.graph-list span{color:#e4e7ec;min-width:0;overflow-wrap:anywhere}
|
|
.graph-list em{font-style:normal;font-size:10.5px;color:#98a2b3;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:1px 8px;white-space:nowrap}
|
|
.graph-list em.on{color:#6ce9a6;border-color:rgba(108,233,166,.4)}
|
|
.graph-list.now li{align-items:center}
|
|
.graph-list.now em{border:0;padding:0}
|
|
.graph-empty{font-size:12.5px;color:#98a2b3;margin:0 4px}
|
|
.graph-empty a,.graph-more{color:#84caff}
|
|
.graph-more{display:block;font-size:12px;margin:8px 4px 0}
|
|
|
|
@media(max-width:900px){
|
|
.graph-stage{min-height:0;display:flex;flex-direction:column}
|
|
.graph-svg{position:relative;width:100%;height:auto;aspect-ratio:1000/640}
|
|
.graph-loading{position:relative;inset:auto;min-height:280px}
|
|
.graph-note{position:relative;top:auto;left:auto;margin:16px 16px 0;max-width:none;align-self:flex-start}
|
|
.graph-legend{position:relative;left:auto;bottom:auto;margin:0 16px 12px}
|
|
.graph-panel{position:relative;inset:auto;width:auto;margin:0 16px 16px}
|
|
}
|
|
@media(max-width:700px){.prod-metrics{grid-template-columns:1fr}}
|
|
@media (prefers-reduced-motion:reduce){.live-dot,.graph-stars circle,.graph-glow,.graph-orbit,.graph-links path,.graph-node *{animation:none!important}}
|
|
|
|
/* Production: content activity */
|
|
.prod-activity .section-heading{margin-top:8px}
|
|
.prod-activity .result-tabs button{display:inline-flex;align-items:center;gap:8px}
|
|
.prod-activity .result-tabs svg{width:16px;height:16px}
|
|
.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
|
|
.activity-empty{padding:28px 0;text-align:center}
|
|
@media(max-width:1000px){.activity-grid{grid-template-columns:1fr}}
|