Files
felhom.eu/website/preview/mockup.css
T
admin 3129d99b04
gates / gates (push) Failing after 7m7s
website: M2's top-bar button no longer wraps on a phone
It broke to two lines at 390px. Hidden below 900px; the hero carries the same
call to action three lines lower, so nothing is lost.
2026-10-11 12:22:46 +02:00

1310 lines
29 KiB
CSS

/* ---------------------------------------------------------------------------
mockup.css - throwaway stylesheet for the /preview/m1 and /preview/m2 studies.
Delete it with the mockup directories once a direction is chosen.
THREE BLOCKS, kept apart on purpose so the shared-design report can count them:
1. BASE - adapted: the controller's base, with the font paths repointed
from /static/fonts/ to /assets/fonts/ (the website's copies).
2. CONTROLLER- verbatim from felhom-controller style.css @ dcd89364a4.
3. MOCKUP - new: only what the studies need and the product has no answer for.
--------------------------------------------------------------------------- */
/* ===== 1. BASE (adapted from the controller: font URLs repointed) ===== */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;
src:url('/assets/fonts/pjs-latin.woff2') format('woff2');
unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;
src:url('/assets/fonts/pjs-latin-ext.woff2') format('woff2');
unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
/* The 18 tokens are IDENTICAL in website/assets/site.css and the controller's style.css
(verified 2026-10-11, zero differences). Copied here so the mockup stands alone. */
:root {
--bg-0: #0A1220; --bg-1: #0F1B2E; --bg-2: #16263F;
--line: #22344F; --line-soft: #1A2A42;
--text-1: #EDF2F9; --text-2: #94A6BF; --text-3: #5E7392;
--blue: #0083D8; --blue-bright: #2EA8F5; --blue-dim: rgba(0,131,216,.13);
--warn: #E0A93E; --warn-dim: rgba(224,169,62,.12);
--crit: #E5534B; --crit-dim: rgba(229,83,75,.12);
--radius: 2px;
--font-ui: 'Plus Jakarta Sans', -apple-system, sans-serif;
--font-data: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body.mockup {
font-family: var(--font-ui);
background: var(--bg-0);
color: var(--text-1);
display: flex;
min-height: 100vh;
line-height: 1.6;
}
body.mockup.m2 { display: block; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
a { color: var(--blue-bright); }
/* ===== 2. CONTROLLER (verbatim) ===== */
/* EXTRACTED VERBATIM from felhom-controller style.css @ dcd89364a4 - do not hand-edit
this section; adaptations go in the ADAPTED block the mockup appends after it. */
.ico {
width: 16px;
height: 16px;
flex-shrink: 0;
vertical-align: -0.18em;
}
.ico-sm {
width: 14px; height: 14px;
}
.sidebar {
width: 240px;
background: var(--bg-2);
color: var(--text-1);
display: flex;
flex-direction: column;
position: fixed;
height: 100vh;
overflow-y: auto;
border-right: 1px solid var(--line);
}
.sidebar-header {
padding: 1.5rem;
border-bottom: 1px solid var(--line);
}
.sidebar-logo {
width: 140px;
height: auto;
display: block;
margin: 0 auto 0.25rem;
}
.nav-links {
list-style: none;
padding: 1rem 0;
flex: 1;
}
.nav-links a {
display: flex;
align-items: center;
gap: .6rem;
padding: .75rem 1.5rem;
color: var(--text-2);
text-decoration: none;
font-size: .95rem;
font-weight: 500;
transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
color: var(--blue-bright);
background: var(--blue-dim);
}
.nav-links a.active {
color: var(--blue-bright);
background: var(--blue-dim);
border-left: 3px solid var(--blue);
}
.sidebar-footer {
padding: 1rem 1.5rem;
border-top: 1px solid var(--line);
display: flex;
justify-content: space-between;
align-items: center;
font-size: .8rem;
}
.version {
color: var(--text-3);
}
.logout-link {
color: var(--text-3); text-decoration: none; transition: color 0.2s ease;
}
.logout-link:hover {
color: var(--blue-bright);
}
.mobile-topbar {
display: none;
}
.nav-backdrop {
display: none;
}
.nav-burger {
display: flex;
align-items: center;
padding: .375rem;
background: none;
border: none;
color: var(--text-2);
cursor: pointer;
transition: color 0.2s ease;
}
.nav-burger:hover {
color: var(--blue-bright);
}
.nav-burger:focus-visible {
outline: 2px solid var(--blue-bright);
outline-offset: -2px;
}
.nav-burger .ico {
width: 24px; height: 24px;
}
.content {
margin-left: 240px;
padding: 2rem;
flex: 1;
max-width: 1200px;
}
.page-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.page-header h2 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-1);
}
.domain-badge {
border: 1px solid var(--line);
color: var(--text-2);
padding: .2rem .6rem;
border-radius: var(--radius);
font-size: .8rem;
font-weight: 500;
font-family: var(--font-data);
}
.stack-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 1rem;
}
.stack-detail-card {
background: var(--bg-1);
border-radius: var(--radius);
padding: 1.25rem;
border: 1px solid var(--line);
transition: border-color 0.3s ease, transform 0.3s ease;
display: flex;
flex-direction: column;
}
.stack-detail-card:hover {
border-color: var(--blue);
transform: translateY(-2px);
}
.stack-detail-card {
position: relative;
}
.stack-detail-card::before {
content: '';
position: absolute;
left: 0; top: 0; bottom: 0;
width: 2px;
background: transparent;
}
.stack-detail-card.stack-state-run::before,
.stack-detail-card.stack-state-progress::before {
background: var(--blue);
}
.stack-detail-card.stack-state-warn::before {
background: var(--warn);
}
.stack-detail-header {
display: flex;
flex-direction: column;
gap: .6rem;
margin-bottom: .75rem;
}
.stack-title-row {
display: flex;
align-items: flex-start;
gap: .75rem;
min-width: 0;
}
.stack-title-text {
flex: 1;
min-width: 0;
}
.stack-title-text h3 {
margin-bottom: .25rem; overflow-wrap: anywhere;
}
.stack-tags {
display: flex;
flex-wrap: wrap;
gap: .4rem;
}
.tag {
display: inline-flex;
align-items: center;
gap: .45rem;
padding: .15rem .55rem;
border: 1px solid var(--line);
border-radius: var(--radius);
font-size: .75rem;
font-weight: 600;
color: var(--text-2);
white-space: nowrap;
flex-shrink: 0;
}
.tag .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--text-3);
flex-shrink: 0;
}
.tag-run {
border-color: rgba(0,131,216,.45); color: var(--blue-bright);
}
.tag-run .dot {
background: var(--blue);
}
.tag-progress {
border-color: rgba(0,131,216,.45); color: var(--blue-bright);
}
.tag-progress .dot {
background: var(--blue); animation: tag-pulse 1.2s ease-in-out infinite;
}
.tag-warn {
border-color: var(--warn); color: var(--warn); background: var(--warn-dim);
}
.tag-warn .dot {
background: var(--warn);
}
.tag-crit {
border-color: var(--crit); color: var(--crit); background: var(--crit-dim);
}
.tag-crit .dot {
background: var(--crit);
}
.tag-neutral .dot, .tag-off .dot {
background: transparent; border: 1px solid var(--text-3);
}
.stack-detail-desc {
color: var(--text-2);
font-size: .85rem;
margin-bottom: .75rem;
}
.meta-badge {
color: var(--text-2);
padding: .1rem 0;
font-size: .78rem;
}
.meta-badge-ok {
color: var(--text-2);
}
.stack-detail-actions {
display: flex;
gap: .5rem;
margin-top: auto;
padding-top: 1rem;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
gap: .3rem;
padding: .5rem 1rem;
border: 1px solid var(--line);
border-radius: var(--radius);
font-size: .85rem;
font-weight: 600;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
text-decoration: none;
color: var(--text-1);
font-family: inherit;
background: var(--bg-2);
}
.btn:hover {
border-color: var(--blue);
}
.btn:active {
opacity: .85;
}
.btn:disabled {
opacity: .5; cursor: not-allowed; transform: none;
}
.btn.loading {
opacity: .6;
}
.btn-sm {
padding: .3rem .6rem; font-size: .8rem;
}
.btn-lg {
padding: .65rem 1.5rem; font-size: 1rem;
}
.btn-full {
width: 100%; justify-content: center;
}
.btn-primary {
background: var(--blue);
border-color: var(--blue);
color: #fff;
}
.btn-primary:hover {
background: var(--blue-bright); border-color: var(--blue-bright);
}
.btn-danger {
background: transparent;
border: 1px solid var(--crit);
color: var(--crit);
}
.btn-danger:hover {
background: var(--crit-dim);
}
.btn-outline {
background: transparent;
border: 1px solid var(--line);
color: var(--text-2);
}
.btn-outline:hover {
border-color: var(--blue);
color: var(--blue-bright);
background: var(--blue-dim);
}
.badge {
display: inline-flex;
align-items: center;
gap: .25rem;
padding: .2rem .6rem;
border-radius: var(--radius);
font-size: .75rem;
font-weight: 500;
}
.form-section {
margin-bottom: 1.5rem;
}
.form-section h4 {
font-size: 1rem; margin-bottom: .5rem; color: var(--text-1);
}
.form-section-desc {
color: var(--text-2); font-size: .85rem; margin-bottom: .75rem;
}
.form-group {
margin-bottom: 1rem;
}
.form-group label {
display: block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; color: var(--text-1);
}
.form-group-auto {
padding: .5rem .75rem;
background: var(--bg-2);
border: 1px solid var(--line);
border-radius: var(--radius);
}
.form-group-auto label {
display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem;
}
.form-group-auto .form-control[readonly] {
background: var(--bg-0);
}
.checkbox-group {
display: flex;
flex-direction: column;
gap: .5rem;
margin-top: .25rem;
}
.form-control-narrow {
width: 80px;
}
.form-hint {
font-size: .85rem;
color: var(--text-3);
}
.form-actions {
display: flex;
gap: .75rem;
margin-top: 1rem;
}
.form-control {
width: 100%;
padding: .55rem .75rem;
border: 1px solid var(--line);
border-radius: var(--radius);
font-size: .9rem;
background: var(--bg-2);
color: var(--text-1);
font-family: inherit;
transition: border-color 0.2s ease;
}
.form-control:focus {
outline: none;
border-color: var(--blue);
}
.form-control:disabled {
background: var(--bg-0);
color: var(--text-3);
cursor: not-allowed;
}
select.form-control {
appearance: auto;
}
select.form-control option {
background: var(--bg-2); color: var(--text-1);
}
.form-row {
margin-bottom: .75rem;
}
.form-row > label {
display: block; font-size: .85rem; color: var(--text-2); margin-bottom: .3rem;
}
.input-with-button .form-control {
flex: 1;
}
.form-hint {
display: block; font-size: .8rem; color: var(--text-3); margin-top: .25rem;
}
.required {
color: var(--crit);
}
.locked-hint {
font-size: .75rem; color: var(--text-3); font-weight: 400; margin-left: .5rem;
}
.toggle {
cursor: pointer; display: flex; align-items: center; gap: .5rem;
}
.toggle input[type="checkbox"] {
accent-color: var(--blue);
}
.toggle-label {
font-size: .9rem; color: var(--text-2);
}
.alert {
padding: .75rem 1rem;
border-radius: var(--radius);
margin-bottom: 1rem;
font-size: .85rem;
border: 1px solid;
}
.alert-error {
background: var(--crit-dim);
color: var(--crit);
border-color: var(--crit-dim);
}
.alert-info {
background: var(--blue-dim);
color: var(--blue-bright);
border-color: rgba(0,131,216,.35);
}
.alert-warning {
background: var(--warn-dim);
color: var(--warn);
border-color: var(--warn-dim);
}
.alerts-container {
margin-bottom: 1rem;
}
.alert-banner {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
border-radius: var(--radius);
margin-bottom: 0.5rem;
font-size: 0.9rem;
border: 1px solid;
}
.alert-banner-error {
background: var(--crit-dim);
border-color: var(--crit-dim);
color: var(--crit);
}
.alert-banner-warning {
background: var(--warn-dim);
border-color: var(--warn-dim);
color: var(--warn);
}
.alert-banner-info {
background: var(--blue-dim);
border-color: var(--blue-dim);
color: var(--blue-bright);
}
.alert-icon {
flex-shrink: 0;
}
.alert-message {
flex: 1;
}
.alert-link {
margin-left: auto; white-space: nowrap; color: inherit; text-decoration: none;
}
.alert-link:hover {
text-decoration: underline;
}
.empty-state {
text-align: center; padding: 3rem; color: var(--text-3);
}
.empty-state-link {
color: var(--blue-bright);
}
.launch-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
gap: 1.25rem;
margin-top: .5rem;
}
.launch-cell {
display: flex;
flex-direction: column;
align-items: center;
gap: .5rem;
text-decoration: none;
color: var(--text-1);
}
.launch-tile {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
border-radius: var(--radius);
border: 1px solid var(--line);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
transition: transform .12s ease, border-color .12s ease;
}
.launch-cell:hover .launch-tile {
transform: translateY(-2px);
border-color: var(--blue);
}
.launch-mono {
display: none;
position: absolute;
inset: 0;
align-items: center;
justify-content: center;
color: #fff;
font-family: var(--font-ui);
font-size: 2.4rem;
font-weight: 600;
line-height: 1;
user-select: none;
}
.launch-tile--noimg .launch-mono {
display: flex;
}
.launch-logo {
position: relative;
width: 58%;
height: 58%;
object-fit: contain;
}
.launch-name {
max-width: 100%;
font-size: .85rem;
color: var(--text-1);
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.launch-cell--off {
cursor: default;
}
.launch-tile--off {
opacity: .4;
}
.launch-cell--off .launch-name {
color: var(--text-3);
}
.app-info-hero {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1.5rem;
background: var(--bg-1);
border-radius: var(--radius);
border: 1px solid var(--line);
margin-bottom: 1.5rem;
}
.app-info-logo {
width: 80px;
height: 80px;
min-width: 80px;
min-height: 80px;
max-width: 80px;
max-height: 80px;
border-radius: var(--radius);
object-fit: contain;
background: var(--bg-2);
padding: 10px;
flex-shrink: 0;
overflow: hidden;
}
.app-info-tagline {
font-size: 1.1rem;
color: var(--text-1);
margin: 0 0 .75rem 0;
}
.app-screenshots {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
overflow-x: auto;
padding-bottom: .5rem;
}
.app-screenshot {
max-height: 220px;
border-radius: var(--radius);
border: 1px solid var(--line);
object-fit: cover;
}
.app-info-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.app-info-card {
background: var(--bg-1);
border-radius: var(--radius);
padding: 1.25rem;
border: 1px solid var(--line);
}
.app-info-card h3 {
margin: 0 0 .75rem 0;
font-size: .95rem;
color: var(--text-1);
}
.app-info-list {
margin: 0;
padding-left: 1.25rem;
color: var(--text-2);
font-size: .9rem;
line-height: 1.6;
}
.app-info-link {
color: var(--blue-bright);
text-decoration: none;
}
.app-info-link:hover {
text-decoration: underline;
}
.meta-badge-warn {
background: var(--warn-dim) !important;
color: var(--warn) !important;
}
.meta-badge-ok {
background: var(--blue-dim) !important;
color: var(--blue) !important;
}
.modal-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-card {
background: var(--bg-1);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 1.5rem;
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
}
.modal-card h3 {
margin-bottom: .75rem;
}
.modal-actions {
display: flex;
gap: .75rem;
margin-top: 1rem;
justify-content: flex-end;
}
.sidebar-bottom {
margin-top: auto;
border-top: 1px solid var(--line);
}
.btn-xs {
padding: .2rem .5rem;
font-size: .75rem;
border-radius: var(--radius);
}
.btn-ghost {
background: transparent;
border: none;
color: var(--text-3);
padding: .1rem .3rem;
}
.btn-ghost:hover {
color: var(--blue-bright);
}
.btn-danger-outline {
background: transparent;
border: 1px solid var(--crit-dim);
color: var(--crit);
}
.btn-danger-outline:hover {
background: var(--crit-dim);
border-color: var(--crit);
}
.badge-warn {
background: var(--warn-dim);
color: var(--warn);
}
.badge-error {
background: var(--crit-dim);
color: var(--crit);
}
.modal-actions .btn-danger {
background: var(--crit);
color: white;
border-color: var(--crit);
}
.modal-actions .btn-danger:hover {
opacity: 0.85;
background: var(--crit);
color: white;
}
.meta-badge-fail {
background: var(--crit-dim);
color: var(--crit);
}
.btn-xs {
padding: .15rem .5rem;
font-size: .75rem;
border-radius: var(--radius);
}
.text-muted {
color: var(--text-3);
}
.btn-danger-outline {
background: transparent; color: var(--crit); border: 1px solid var(--crit);
border-radius: var(--radius); padding: 0.2rem 0.5rem; cursor: pointer; font-size: 0.8rem;
}
.btn-danger-outline:hover {
background: var(--crit-dim);
}
.badge-ok {
background: var(--blue-dim); color: var(--blue);
}
.badge-neutral {
background: var(--bg-2); color: var(--text-2);
}
.badge-muted {
background: var(--bg-2); color: var(--text-3);
}
.badge-info {
background: var(--blue-dim); color: var(--blue-bright);
}
.confirm-box .form-actions {
display: flex; gap: .6rem; margin-top: 1rem;
}
.nav-group-label {
padding: .75rem 1.5rem .25rem;
font-size: .68rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
color: var(--text-3);
}
.nav-links-sub {
padding: 0 0 .5rem;
flex: none;
}
.nav-links-sub a {
padding: .5rem 1.5rem .5rem 1.75rem;
font-size: .88rem;
}
.nav-links-nested {
padding: 0;
list-style: none;
}
.nav-links-nested a {
padding: .4rem 1.5rem .4rem 3.1rem;
font-size: .85rem;
}
.nav-links-nested a.active {
border-left: 3px solid var(--blue);
}
.sidebar {
scrollbar-color: var(--line) var(--bg-2);
}
.sidebar::-webkit-scrollbar-track {
background: var(--bg-2);
}
.nav-group {
display: grid;
grid-template-rows: auto 0fr;
transition: grid-template-rows .18s ease;
}
.nav-group.is-open {
grid-template-rows: auto 1fr;
}
.nav-group > .nav-links-nested {
overflow: hidden;
min-height: 0;
}
.nav-group-toggle {
display: flex;
align-items: center;
gap: .6rem;
width: 100%;
padding: .75rem 1.5rem;
background: none;
border: none;
border-left: 3px solid transparent;
color: var(--text-2);
font-family: inherit;
font-size: .95rem;
font-weight: 500;
text-align: left;
cursor: pointer;
transition: color 0.2s ease, background 0.2s ease;
}
.nav-group-toggle:hover {
color: var(--blue-bright);
background: var(--blue-dim);
}
.nav-group-toggle.active {
color: var(--blue-bright);
background: var(--blue-dim);
border-left-color: var(--blue);
}
.nav-group-toggle:focus-visible {
outline: 2px solid var(--blue-bright);
outline-offset: -2px;
}
.nav-chevron {
margin-left: auto;
width: 14px;
height: 14px;
color: var(--text-3);
transition: transform .18s ease;
}
.nav-group.is-open .nav-chevron {
transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
.tag-progress .dot {
animation: none;
}
.js .sidebar {
transition: none;
}
.nav-group {
transition: none;
}
.nav-chevron {
transition: none;
}
}
@media(max-width: 768px) {
.mobile-topbar {
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 800;
background: var(--bg-2);
border-bottom: 1px solid var(--line);
padding: .5rem 1rem;
}
.mobile-topbar-logo img {
height: 36px; width: auto; display: block;
}
.js .sidebar {
position: fixed;
top: 0;
left: 0;
height: 100vh;
height: 100dvh;
width: min(280px, 85vw);
transform: translateX(-100%);
transition: transform .2s ease;
z-index: 950;
border-right: 1px solid var(--line);
border-bottom: none;
}
.js .sidebar.is-open {
transform: none;
}
.js .nav-backdrop:not([hidden]) {
display: block;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, .5);
z-index: 900;
}
.no-js .sidebar {
position: static;
height: auto;
width: 100%;
border-right: none;
border-bottom: 1px solid var(--line);
}
.no-js .nav-burger {
display: none;
}
.content {
margin-left: 0; padding: 1rem;
}
.stack-grid {
grid-template-columns: 1fr;
}
.page-header {
flex-wrap: wrap; row-gap: .6rem;
}
.alert-banner {
flex-wrap: wrap;
}
.alert-message {
min-width: 0; overflow-wrap: anywhere;
}
.alert-link {
flex-basis: 100%; text-align: right;
}
}
/* ===== 3. MOCKUP-ONLY (new rules, nothing in either product to copy) ===== */
/* the burger: the WEBSITE's three-span control, copied from site.css rather than
hand-rolling an SVG the shared sprite does not carry (it has no i-menu). */
.hamburger {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
z-index: 200;
-webkit-tap-highlight-color: transparent;
}
.hamburger-box {
width: 28px;
height: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.hamburger-line {
display: block;
width: 100%;
height: 2px;
background: var(--text-1);
border-radius: var(--radius);
transition: transform 0.3s ease, opacity 0.3s ease;
transform-origin: center;
}
.hamburger.is-active .hamburger-line:nth-child(1) {
transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
opacity: 0;
}
.hamburger.is-active .hamburger-line:nth-child(3) {
transform: translateY(-9px) rotate(-45deg);
}
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
@media (max-width: 768px) { .nav-burger { display: inline-flex; } }
/* a disabled sidebar entry: a real controller page this study does not simulate.
Never a dead link (mockup rule 1) - it states where the thing works. */
.nav-off {
display: flex; align-items: center; gap: .625rem; padding: .55rem .9rem;
color: var(--text-3); font-size: .9rem; cursor: not-allowed; position: relative;
}
.nav-off .ico { opacity: .5; }
.nav-off-hint {
display: none; font-size: .7rem; color: var(--text-3);
border: 1px solid var(--line); background: var(--bg-2);
padding: .15rem .4rem; border-radius: var(--radius); margin-left: auto;
}
.nav-off:hover .nav-off-hint { display: inline-block; }
.nav-off-hint.is-inline { display: inline-block; margin-left: .75rem; }
/* every invented value on the page wears this */
.sample {
font-family: var(--font-data); font-size: .68rem; text-transform: uppercase;
letter-spacing: .04em; color: var(--warn);
border: 1px solid var(--warn); background: var(--warn-dim);
padding: .05rem .3rem; border-radius: var(--radius); white-space: nowrap;
}
.welcome-card {
display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
justify-content: space-between;
border: 1px solid var(--blue); background: var(--blue-dim);
border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 2rem;
}
.welcome-text h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; letter-spacing: -.02em; }
.welcome-text p { color: var(--text-2); font-size: .95rem; max-width: 46ch; }
/* app panel: opened by :target so it works with JavaScript switched off */
.app-panel {
display: none; position: fixed; inset: 0; z-index: 300;
background: rgba(5,9,16,.72); padding: 2rem 1rem; overflow-y: auto;
}
.app-panel:target { display: block; }
.app-panel-card {
position: relative; max-width: 760px; margin: 0 auto;
background: var(--bg-1); border: 1px solid var(--line);
border-radius: var(--radius); padding: 1.75rem;
}
.app-panel-close {
position: absolute; top: .75rem; right: .75rem; color: var(--text-2);
display: inline-flex; padding: .35rem; border: 1px solid var(--line);
border-radius: var(--radius); background: var(--bg-2);
}
.app-panel-close:hover { color: var(--text-1); border-color: var(--blue); }
.app-panel .app-screenshot { margin: 1rem 0; max-width: 100%; height: auto; border: 1px solid var(--line); }
.bucket-head { font-size: 1.05rem; font-weight: 700; margin: 2rem 0 .85rem; }
.bucket-count { color: var(--text-3); font-weight: 400; font-size: .85rem; }
.app-search { margin-bottom: 1rem; max-width: 30rem; }
.stack-detail-card.is-static { cursor: default; }
.backup-sample { font-size: .85rem; color: var(--text-2); margin-top: .5rem; }
.how-grid .app-info-card h3 { color: var(--blue-bright); }
/* ---- M2 only ---- */
.m2-top {
display: flex; align-items: center; justify-content: space-between;
padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg-1);
}
.m2-logo { display: flex; align-items: center; gap: .75rem; }
.m2-logo img { height: 40px; width: auto; }
.m2-logo .m2-word { height: 20px; }
.m2-hero {
display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center;
max-width: 1180px; margin: 0 auto; padding: 4rem 1.5rem 3rem;
}
.m2-hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.m2-hero-text h1 span { color: var(--blue-bright); }
.m2-hero-text p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 34ch; }
.m2-window { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); overflow: hidden; }
.m2-window-bar {
display: flex; align-items: center; gap: .4rem;
padding: .6rem .85rem; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.m2-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.m2-window-title { margin-left: .75rem; font-size: .8rem; color: var(--text-3); display: flex; align-items: center; gap: .5rem; }
.m2-window-body { padding: 1.25rem; }
.m2-window-lede { font-size: .9rem; color: var(--text-2); margin-bottom: 1rem; }
.launch-grid--mini { grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.m2-section { max-width: 1180px; margin: 0 auto; padding: 3rem 1.5rem; }
.m2-section--alt { background: var(--bg-1); max-width: none; }
.m2-section--alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.m2-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -.02em; }
.m2-section > p { color: var(--text-2); margin-bottom: 1.25rem; max-width: 70ch; }
.m2-who { display: flex; gap: 1.5rem; align-items: flex-start; }
.m2-who img { border: 1px solid var(--line); border-radius: var(--radius); flex: 0 0 auto; }
.m2-who p { color: var(--text-2); max-width: 55ch; }
.m2-foot { border-top: 1px solid var(--line); padding: 2rem 1.5rem; text-align: center; }
.m2-foot p { color: var(--text-2); font-size: .85rem; display: inline-flex; gap: .6rem; align-items: center; flex-wrap: wrap; justify-content: center; }
@media (max-width: 900px) {
/* the top-bar CTA wrapped to two lines at 390px; the hero carries the same one */
.m2-top .btn { display: none; }
.m2-hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
.launch-grid--mini { grid-template-columns: repeat(3, 1fr); }
.m2-who { flex-direction: column; }
}
@media (max-width: 768px) {
/* ADAPTED from the controller, which carries it as a bare `body` rule - the kind an
extractor keyed on class names does not see. Without it the sticky mobile topbar
stays a ROW flex item, pushes .content 135px to the right, and the launcher grid
collapses to one column. Measured, then fixed. */
body.mockup { flex-direction: column; }
body.mockup.nav-open { overflow: hidden; }
.welcome-card { flex-direction: column; align-items: flex-start; }
.nav-off-hint { display: inline-block; margin-left: .5rem; }
.app-panel { padding: 1rem .5rem; }
.app-panel-card { padding: 1.25rem; }
}