Spaces:
Sleeping
Sleeping
malteos
Add per-step form validation; allow language-only filter; drop "mockup" wording
fdce60b unverified Download server/static/app.css from malteos/cc-repackage: direct link, hf CLI and curl.
- Browser
- Download file 24.7 kB
-
https://huggingface.co/spaces/malteos/cc-repackage/resolve/main/server/static/app.css
- Command line
-
hf download hf://spaces/malteos/cc-repackage/server/static/app.css
-
curl -L -o app.css https://huggingface.co/spaces/malteos/cc-repackage/resolve/main/server/static/app.css
24.7 kB
| /* ---- CC fonts (inlined as data URIs so the page is self-contained) ---- */ | |
| @font-face { | |
| font-family: 'Libre Franklin'; font-weight: 100 900; font-display: swap; | |
| src: url('/static/assets/fonts/LibreFranklin_wght.woff2') format('woff2'); | |
| } | |
| @font-face { | |
| font-family: 'IBM Plex Mono'; font-weight: 400 700; font-display: swap; | |
| src: url('/static/assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'); | |
| } | |
| /* ---- CC design tokens (from cc-web-tools STYLE-GUIDE.md) ---- */ | |
| :root { | |
| --cc-text: #152a47; --cc-text-secondary: #64748b; --cc-text-muted: #94a3b8; --cc-text-subtle: #475569; | |
| --cc-accent: #2e5f8a; --cc-accent-hover: #1e4a6e; | |
| --cc-bg-page: #f5f7fa; --cc-bg-card: #fff; --cc-bg-inset: #f8fafb; --cc-bg-hover: #f8fafc; | |
| --cc-bg-active: #eef4fa; --cc-bg-code: #f1f5f9; | |
| --cc-border: #e2e8f0; --cc-border-input: #dde2e9; --cc-border-hover: #cbd5e1; | |
| --cc-border-subtle: #f1f5f9; --cc-border-accent: #b8c9e0; | |
| --cc-danger-text: #7a3a42; --cc-danger-bg: #f5eced; --cc-danger-border: #dfc2c6; | |
| --cc-link-underline: #c0c8d4; | |
| --cc-radius: 10px; --cc-radius-sm: 6px; --cc-radius-xs: 4px; | |
| --cc-max: 900px; | |
| --cc-font-body: 'Libre Franklin','Segoe UI',system-ui,-apple-system,sans-serif; | |
| --cc-font-mono: 'IBM Plex Mono',ui-monospace,'SFMono-Regular',monospace; | |
| --cc-shadow-sm: 0 1px 3px rgba(21,42,71,0.06); | |
| /* accents */ | |
| --cc-sapphire-text:#375e87; --cc-sapphire-bg:#e9eff6; --cc-sapphire-border:#b6cbe1; | |
| --cc-emerald-text:#2b674f; --cc-emerald-bg:#e7f0ed; --cc-emerald-border:#b0d0c3; | |
| --cc-amethyst-text:#5b437f; --cc-amethyst-bg:#efebf4; --cc-amethyst-border:#c9bddd; | |
| --cc-topaz-text:#846730; --cc-topaz-bg:#f5f0e8; --cc-topaz-border:#dfd0b2; | |
| } | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| min-height: 100vh; display: flex; flex-direction: column; | |
| font-family: var(--cc-font-body); color: var(--cc-text); background: var(--cc-bg-page); | |
| -webkit-text-size-adjust: 100%; text-size-adjust: 100%; | |
| line-height: 1.5; | |
| } | |
| /* ---- Header ---- */ | |
| .cc-header-wrap { border-bottom: 1px solid var(--cc-border); background: var(--cc-bg-card); } | |
| .cc-header { | |
| max-width: var(--cc-max); margin: 0 auto; padding: 22px 20px 18px; width: 100%; | |
| display: flex; align-items: center; gap: 16px; flex-wrap: wrap; | |
| } | |
| .cc-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; } | |
| .cc-brand:hover { text-decoration: none; } | |
| .cc-brand:hover .cc-h1 { color: var(--cc-accent); } | |
| .cc-logo { display: inline-flex; height: 30px; } | |
| .cc-logo svg, .cc-logo img { height: 30px; width: auto; display: block; } | |
| .cc-htxt { display: block; border-left: 1px solid var(--cc-border); padding-left: 16px; } | |
| .cc-h1 { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--cc-text); transition: color 0.15s; } | |
| .cc-hp { display: block; font-size: 14px; color: var(--cc-text-secondary); margin-top: 2px; } | |
| .cc-header-right { margin-left: auto; } | |
| /* ---- Main wrap ---- */ | |
| .cc-twrap { max-width: var(--cc-max); margin: 0 auto; padding: 24px 20px 40px; width: 100%; flex: 1; } | |
| /* ---- Buttons (CC ghost style) ---- */ | |
| .cc-btn { | |
| display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--cc-radius-sm); | |
| border: 1px solid var(--cc-border-input); background: var(--cc-bg-card); color: var(--cc-text-secondary); | |
| font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; white-space: nowrap; | |
| } | |
| .cc-btn:hover { border-color: var(--cc-border-hover); background: var(--cc-bg-hover); color: var(--cc-text); } | |
| .cc-btn:disabled { opacity: 0.45; cursor: default; } | |
| .cc-btn-accent { border-color: var(--cc-accent); background: var(--cc-accent); color: #fff; } | |
| .cc-btn-accent:hover { border-color: var(--cc-accent-hover); background: var(--cc-accent-hover); color: #fff; } | |
| .cc-btn-danger { border-color: var(--cc-danger-border); background: var(--cc-danger-bg); color: var(--cc-danger-text); } | |
| .cc-btn-danger:hover { background: #eedce0; border-color: #d4adb4; } | |
| .cc-btn-lg { padding: 10px 20px; font-size: 14px; } | |
| /* ---- Stepper ---- */ | |
| .stepper { display: flex; align-items: flex-start; gap: 0; margin-bottom: 28px; } | |
| .step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; position: relative; cursor: pointer; } | |
| .step:not(:last-child)::after { | |
| content: ''; position: absolute; top: 15px; left: calc(50% + 18px); right: calc(-50% + 18px); | |
| height: 2px; background: var(--cc-border); z-index: 0; | |
| } | |
| .step.done:not(:last-child)::after { background: var(--cc-border-accent); } | |
| .step-dot { | |
| width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; | |
| background: var(--cc-bg-card); border: 2px solid var(--cc-border); color: var(--cc-text-muted); | |
| font-size: 13px; font-weight: 700; z-index: 1; transition: all 0.15s; | |
| } | |
| .step.active .step-dot { border-color: var(--cc-accent); background: var(--cc-accent); color: #fff; box-shadow: 0 0 0 4px rgba(46,95,138,0.10); } | |
| .step.done .step-dot { border-color: var(--cc-border-accent); background: var(--cc-bg-active); color: var(--cc-accent); } | |
| .step-label { font-size: 12px; font-weight: 600; color: var(--cc-text-muted); text-align: center; } | |
| .step.active .step-label { color: var(--cc-text); } | |
| .step.done .step-label { color: var(--cc-accent); } | |
| .step:not(.done):not(.active) { cursor: default; } | |
| /* ---- Panels / cards ---- */ | |
| .panel { display: none; animation: fade 0.2s ease; } | |
| .panel.active { display: block; } | |
| @keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } | |
| .card { | |
| background: var(--cc-bg-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius); | |
| box-shadow: var(--cc-shadow-sm); padding: 22px; margin-bottom: 16px; | |
| } | |
| .card h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; } | |
| .card .sub { font-size: 14px; color: var(--cc-text-subtle); margin-bottom: 18px; line-height: 1.6; } | |
| /* ---- Form fields ---- */ | |
| .field { margin-bottom: 16px; } | |
| .field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; } | |
| .field .hint { font-size: 12px; color: var(--cc-text-muted); margin-top: 5px; line-height: 1.5; } | |
| .cc-input, .cc-select, textarea.cc-input { | |
| width: 100%; padding: 9px 12px; border-radius: var(--cc-radius-sm); border: 1px solid var(--cc-border-input); | |
| background: var(--cc-bg-card); color: var(--cc-text); font-family: inherit; font-size: 14px; outline: none; | |
| transition: border-color 0.15s, box-shadow 0.15s; | |
| } | |
| textarea.cc-input { font-family: var(--cc-font-mono); font-size: 13px; line-height: 1.6; resize: vertical; min-height: 68px; } | |
| .cc-input:focus, .cc-select:focus, textarea.cc-input:focus { border-color: var(--cc-border-accent); box-shadow: 0 0 0 3px rgba(46,95,138,0.08); } | |
| .cc-input::placeholder { color: var(--cc-text-muted); } | |
| .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } | |
| .field-num { max-width: 220px; } | |
| /* ---- Segmented toggle ---- */ | |
| .seg { display: inline-flex; background: var(--cc-bg-inset); border: 1px solid var(--cc-border-input); border-radius: var(--cc-radius-sm); padding: 3px; gap: 3px; margin-bottom: 18px; } | |
| .seg button { | |
| border: none; background: none; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--cc-text-secondary); | |
| padding: 6px 16px; border-radius: 4px; cursor: pointer; transition: all 0.15s; | |
| } | |
| .seg button.on { background: var(--cc-bg-card); color: var(--cc-accent); box-shadow: var(--cc-shadow-sm); } | |
| /* ---- Chips / multiselect ---- */ | |
| .chips { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .chip { | |
| display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: var(--cc-radius-sm); | |
| border: 1px solid var(--cc-border-input); background: var(--cc-bg-card); color: var(--cc-text-secondary); | |
| font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.15s; user-select: none; | |
| } | |
| .chip:hover { border-color: var(--cc-border-hover); background: var(--cc-bg-hover); } | |
| .chip.on { border-color: var(--cc-border-accent); background: var(--cc-bg-active); color: var(--cc-accent); } | |
| .chip .code { font-family: var(--cc-font-mono); font-size: 11px; opacity: 0.7; } | |
| .quick-label { font-size: 12px; color: var(--cc-text-muted); margin-bottom: 6px; font-weight: 600; } | |
| /* All-languages searchable multi-select (CC .cc-ms/.cc-dd pattern) */ | |
| .lang-ms { position: relative; margin-top: 12px; max-width: 340px; } | |
| .lang-ms-btn { | |
| width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--cc-radius-sm); | |
| border: 1px solid var(--cc-border-input); background: var(--cc-bg-card); color: var(--cc-text-secondary); | |
| font-family: inherit; font-size: 14px; cursor: pointer; text-align: left; transition: border-color 0.15s; | |
| } | |
| .lang-ms-btn:hover { border-color: var(--cc-border-hover); } | |
| .lang-ms-btn .caret { margin-left: auto; color: var(--cc-text-muted); font-size: 12px; } | |
| .lang-ms-btn .ms-count { font-family: var(--cc-font-mono); font-size: 11px; color: var(--cc-accent); background: var(--cc-bg-active); border: 1px solid var(--cc-border-accent); border-radius: 999px; padding: 1px 8px; } | |
| .lang-dd { | |
| position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 260px; background: var(--cc-bg-card); | |
| border: 1px solid var(--cc-border); border-radius: var(--cc-radius); z-index: 50; | |
| box-shadow: 0 10px 40px rgba(21,42,71,0.12); display: none; flex-direction: column; overflow: hidden; | |
| } | |
| .lang-dd.open { display: flex; } | |
| .lang-dd-i { | |
| margin: 8px 8px 6px; padding: 8px 10px; border-radius: var(--cc-radius-sm); border: 1px solid var(--cc-border); | |
| background: var(--cc-bg-inset); color: var(--cc-text); font-size: 13px; font-family: inherit; outline: none; | |
| } | |
| .lang-dd-i:focus { border-color: var(--cc-border-accent); } | |
| .lang-dd-list { overflow-y: auto; max-height: 240px; padding: 0 4px 6px; } | |
| .lang-dd-o { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 5px; cursor: pointer; color: var(--cc-text-subtle); font-size: 13px; } | |
| .lang-dd-o:hover { background: var(--cc-bg-hover); } | |
| .lang-dd-o input { width: 15px; height: 15px; accent-color: var(--cc-accent); } | |
| .lang-dd-o .code { margin-left: auto; font-family: var(--cc-font-mono); font-size: 11px; color: var(--cc-text-muted); } | |
| .lang-dd-empty { padding: 12px; color: var(--cc-text-muted); font-size: 13px; display: none; } | |
| /* selected pills */ | |
| .lang-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } | |
| .lang-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: var(--cc-radius-sm); background: var(--cc-bg-active); border: 1px solid var(--cc-border-accent); color: var(--cc-accent); font-size: 12px; font-weight: 500; } | |
| .lang-pill .x { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px; background: transparent; border: none; color: var(--cc-accent); cursor: pointer; font-size: 13px; line-height: 1; } | |
| .lang-pill .x:hover { background: #dbe7f4; } | |
| /* ---- Crawl checklist ---- */ | |
| .crawl-list { display: flex; flex-direction: column; gap: 8px; } | |
| .crawl-item { | |
| display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--cc-radius-sm); | |
| border: 1px solid var(--cc-border-input); background: var(--cc-bg-card); cursor: pointer; transition: all 0.15s; | |
| } | |
| .crawl-item:hover { border-color: var(--cc-border-hover); background: var(--cc-bg-hover); } | |
| .crawl-item.on { border-color: var(--cc-border-accent); background: var(--cc-bg-active); } | |
| .crawl-item input { width: 16px; height: 16px; accent-color: var(--cc-accent); } | |
| .crawl-item .cid { font-family: var(--cc-font-mono); font-size: 13px; font-weight: 600; color: var(--cc-text); } | |
| .crawl-item .cmeta { margin-left: auto; font-size: 11px; color: var(--cc-text-muted); } | |
| .warn { margin-top: 12px; font-size: 13px; color: var(--cc-topaz-text); background: var(--cc-topaz-bg); border: 1px solid var(--cc-topaz-border); border-radius: var(--cc-radius-sm); padding: 8px 12px; display: none; } | |
| .warn.show { display: block; } | |
| /* ---- Advanced disclosure ---- */ | |
| .disclose { border-top: 1px solid var(--cc-border-subtle); margin-top: 6px; padding-top: 14px; } | |
| .disclose > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--cc-accent); list-style: none; display: inline-flex; align-items: center; gap: 6px; } | |
| .disclose > summary::-webkit-details-marker { display: none; } | |
| .disclose > summary::before { content: '▸'; transition: transform 0.15s; } | |
| .disclose[open] > summary::before { transform: rotate(90deg); } | |
| .disclose[open] > summary { margin-bottom: 14px; } | |
| /* ---- Examples ---- */ | |
| .ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } | |
| .ex-card { | |
| border: 1px solid var(--cc-border); border-radius: var(--cc-radius); background: var(--cc-bg-card); | |
| padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: all 0.15s; | |
| } | |
| .ex-card:hover { border-color: var(--cc-border-hover); box-shadow: 0 2px 10px rgba(21,42,71,0.06); } | |
| .ex-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } | |
| .ex-title { font-size: 14px; font-weight: 700; line-height: 1.3; } | |
| .ex-desc { font-size: 12.5px; color: var(--cc-text-subtle); line-height: 1.55; flex: 1; } | |
| .ex-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } | |
| .cc-badge { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 10.5px; font-weight: 600; border: 1px solid; line-height: 1.4; white-space: nowrap; } | |
| .badge-sql { color: var(--cc-amethyst-text); background: var(--cc-amethyst-bg); border-color: var(--cc-amethyst-border); } | |
| .badge-form { color: var(--cc-emerald-text); background: var(--cc-emerald-bg); border-color: var(--cc-emerald-border); } | |
| .badge-mono { font-family: var(--cc-font-mono); color: var(--cc-text-secondary); background: var(--cc-bg-inset); border-color: var(--cc-border); } | |
| /* ---- Sign-in split ---- */ | |
| .start-split { display: grid; grid-template-columns: 1fr; gap: 14px; } | |
| .signin-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; } | |
| .signin-card .txt { font-size: 14px; color: var(--cc-text-subtle); } | |
| .or-line { text-align: center; font-size: 12px; color: var(--cc-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; position: relative; margin: 4px 0; } | |
| /* ---- Review summary ---- */ | |
| .summary { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--cc-border); border-radius: var(--cc-radius); overflow: hidden; } | |
| .summary-row { display: flex; gap: 14px; padding: 11px 16px; font-size: 13.5px; border-bottom: 1px solid var(--cc-border-subtle); } | |
| .summary-row:last-child { border-bottom: none; } | |
| .summary-row:nth-child(odd) { background: var(--cc-bg-inset); } | |
| .summary-row .k { width: 150px; flex-shrink: 0; color: var(--cc-text-secondary); font-weight: 600; } | |
| .summary-row .v { color: var(--cc-text); word-break: break-word; } | |
| .summary-row .v .mono { font-family: var(--cc-font-mono); font-size: 12.5px; } | |
| /* ---- Cost card / stat tiles ---- */ | |
| .cost-card { border: 1px solid var(--cc-border-accent); background: linear-gradient(180deg,#fbfdff,#f4f8fc); border-radius: var(--cc-radius); padding: 18px; margin-top: 16px; } | |
| .cost-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cc-accent); margin-bottom: 14px; } | |
| .tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; } | |
| .tile { background: var(--cc-bg-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius-sm); padding: 12px 14px; } | |
| .tile .tl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cc-text-muted); margin-bottom: 5px; } | |
| .tile .tv { font-size: 19px; font-weight: 700; color: var(--cc-text); font-family: var(--cc-font-mono); } | |
| .tile .tv.accent { color: var(--cc-accent); } | |
| .tile .tu { font-size: 12px; color: var(--cc-text-muted); font-family: var(--cc-font-body); font-weight: 500; } | |
| .cost-note { font-size: 11.5px; color: var(--cc-text-muted); margin-top: 12px; line-height: 1.5; } | |
| /* ---- Log console ---- */ | |
| .console-wrap { margin-top: 16px; display: none; } | |
| .console-wrap.show { display: block; } | |
| .console-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cc-text-secondary); margin-bottom: 6px; } | |
| .console { | |
| background: var(--cc-bg-inset); border: 1px solid var(--cc-border); border-radius: var(--cc-radius-sm); | |
| font-family: var(--cc-font-mono); font-size: 12px; line-height: 1.7; color: var(--cc-text-subtle); | |
| padding: 12px 14px; height: 210px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; | |
| } | |
| .console .ln-cmd { color: var(--cc-accent); } | |
| .console .ln-idx { color: var(--cc-text-secondary); } | |
| .console .ln-ok { color: var(--cc-emerald-text); font-weight: 600; } | |
| .console .ln-info { color: var(--cc-text-muted); } | |
| /* ---- Progress ---- */ | |
| .progress { height: 8px; background: var(--cc-bg-code); border-radius: 999px; overflow: hidden; margin: 14px 0 6px; display: none; } | |
| .progress.show { display: block; } | |
| .progress .bar { height: 100%; width: 0%; background: var(--cc-accent); border-radius: 999px; transition: width 0.3s ease; } | |
| /* ---- Result ---- */ | |
| .result { border: 1px solid var(--cc-emerald-border); background: var(--cc-emerald-bg); border-radius: var(--cc-radius); padding: 18px; margin-top: 16px; display: none; } | |
| .result.show { display: block; } | |
| .result h3 { font-size: 15px; font-weight: 700; color: var(--cc-emerald-text); margin-bottom: 6px; } | |
| .result .demo-note { font-size: 12.5px; color: var(--cc-text-subtle); font-style: italic; margin-bottom: 12px; } | |
| .dl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } | |
| .dl-btn { | |
| display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: var(--cc-radius-sm); | |
| background: var(--cc-bg-card); border: 1px solid var(--cc-emerald-border); color: var(--cc-emerald-text); | |
| font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.15s; | |
| } | |
| .dl-btn:hover { background: #fff; border-color: #98c4b2; } | |
| .dl-btn .sz { font-family: var(--cc-font-mono); font-size: 11px; opacity: 0.7; } | |
| .link-plain { font-size: 13px; color: var(--cc-accent); text-decoration: none; font-weight: 600; } | |
| .link-plain:hover { color: var(--cc-accent-hover); } | |
| /* ---- Nav ---- */ | |
| .nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; } | |
| .nav .spacer { flex: 1; } | |
| /* ---- Sign-in pill / status ---- */ | |
| .hf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--cc-radius-sm); background: #ffd21e; border: 1px solid #eac400; color: #2a2000; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; } | |
| .hf-btn:hover { background: #ffdb47; } | |
| .hf-user { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--cc-text-secondary); } | |
| .hf-user.show { display: inline-flex; } | |
| .hf-user .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-emerald-text); } | |
| .gate { display: none; font-size: 13px; color: var(--cc-text-muted); background: var(--cc-bg-inset); border: 1px dashed var(--cc-border-input); border-radius: var(--cc-radius-sm); padding: 10px 14px; margin-bottom: 14px; } | |
| .gate.show { display: block; } | |
| /* ---- Footer ---- */ | |
| .cc-footer { border-top: 1px solid var(--cc-border); background: var(--cc-bg-card); margin-top: 8px; } | |
| .cc-footer-inner { max-width: var(--cc-max); margin: 0 auto; padding: 16px 20px; } | |
| .cc-footer-info { font-size: 10px; color: var(--cc-text-muted); line-height: 1.5; } | |
| .cc-footer-links { display: inline-flex; gap: 12px; margin-top: 6px; } | |
| .cc-footer-links a { font-size: 10px; color: var(--cc-text-secondary); text-decoration: none; } | |
| .cc-footer-links a:hover { color: var(--cc-accent); } | |
| .mock-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cc-topaz-text); background: var(--cc-topaz-bg); border: 1px solid var(--cc-topaz-border); border-radius: 999px; padding: 3px 10px; } | |
| @media (max-width: 720px) { | |
| .ex-grid, .row2, .tiles { grid-template-columns: 1fr; } | |
| .tiles { grid-template-columns: 1fr 1fr; } | |
| .step-label { display: none; } | |
| .cc-htxt { border-left: none; padding-left: 0; } | |
| } | |
| .cc-logo img { height: 30px; width: auto; display: block; } | |
| /* ---- tutorial coach marks (demo mode) ---- */ | |
| #coachTip { | |
| position: absolute; z-index: 300; background: var(--cc-accent); color: #fff; | |
| font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 6px; | |
| box-shadow: 0 4px 14px rgba(21,42,71,0.28); pointer-events: none; white-space: nowrap; display: none; | |
| } | |
| #coachTip.show { display: block; animation: coachBob 1s ease-in-out infinite; } | |
| #coachTip::after { content: ""; position: absolute; bottom: -5px; left: 16px; border: 5px solid transparent; border-top-color: var(--cc-accent); border-bottom: 0; } | |
| @keyframes coachBob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-3px); } } | |
| .coach-pulse { animation: coachPulse 1.3s ease-in-out infinite; border-radius: var(--cc-radius-sm); } | |
| @keyframes coachPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(46,95,138,0.55); } 50%{ box-shadow: 0 0 0 7px rgba(46,95,138,0); } } | |
| #demoBanner[hidden] { display: none; } | |
| #demoBanner { | |
| display: flex; align-items: center; gap: 10px; flex-wrap: wrap; | |
| background: var(--cc-bg-active); border: 1px solid var(--cc-border-accent); color: var(--cc-accent); | |
| border-radius: var(--cc-radius-sm); padding: 9px 14px; margin-bottom: 18px; font-size: 13px; font-weight: 500; | |
| } | |
| #demoBanner .grow { flex: 1; } | |
| #demoBanner button { background: none; border: 1px solid var(--cc-border-accent); color: var(--cc-accent); font-family: inherit; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--cc-radius-sm); cursor: pointer; } | |
| #demoBanner button:hover { background: #fff; } | |
| /* ---- job status spinner (estimate/run consoles + buttons) ---- */ | |
| .console-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } | |
| .job-status { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; } | |
| .job-stage { font-size: 11px; font-weight: 600; color: var(--cc-accent); font-family: var(--cc-font-mono); } | |
| .spinner { | |
| width: 13px; height: 13px; border-radius: 50%; display: inline-block; | |
| border: 2px solid var(--cc-border-accent); border-top-color: var(--cc-accent); | |
| animation: spin 0.7s linear infinite; | |
| } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* small white spinner inside a primary button while it works */ | |
| .cc-btn .spinner { width: 13px; height: 13px; border-color: rgba(255,255,255,0.45); border-top-color: #fff; margin-right: 2px; } | |
| .cc-btn[disabled] { opacity: 0.7; } | |
| /* hidden attribute must always win over element display rules */ | |
| [hidden] { display: none ; } | |
| /* ---- auth gate (signed-out estimate) ---- */ | |
| .auth-gate { | |
| margin-top: 16px; border: 1px solid var(--cc-border-accent); background: var(--cc-bg-active); | |
| border-radius: var(--cc-radius); padding: 18px; | |
| } | |
| .ag-head { font-size: 15px; font-weight: 700; color: var(--cc-accent); margin-bottom: 6px; } | |
| .ag-text { font-size: 13.5px; color: var(--cc-text-subtle); line-height: 1.6; margin-bottom: 14px; } | |
| .ag-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } | |
| .ag-local { margin-top: 14px; } | |
| .ag-local-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cc-text-secondary); margin-bottom: 6px; } | |
| .code-block { | |
| background: #0f1b2d; color: #e6edf5; border-radius: var(--cc-radius-sm); border: 1px solid #0b1524; | |
| font-family: var(--cc-font-mono); font-size: 12px; line-height: 1.65; padding: 12px 14px; | |
| overflow-x: auto; white-space: pre; margin-bottom: 8px; | |
| } | |
| /* estimate action row + standalone run-locally block */ | |
| .est-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; } | |
| #agLocal { margin-top: 12px; } | |
| /* form validation */ | |
| .step-error { | |
| margin: 12px 0 0; padding: 9px 13px; border-radius: var(--cc-radius-sm); | |
| background: var(--cc-danger-bg); border: 1px solid var(--cc-danger-border); color: var(--cc-danger-text); | |
| font-size: 13px; font-weight: 600; | |
| } | |
| .group-note { font-size: 13px; color: var(--cc-text-subtle); margin-bottom: 14px; } | |
| .cc-input.invalid, .cc-select.invalid { border-color: var(--cc-danger-border); box-shadow: 0 0 0 3px rgba(122,58,66,0.08); } | |
| .mono { font-family: var(--cc-font-mono); font-size: 0.92em; } | |