/* KA Guardian — langage visuel Groupe KA : papier, encre, lime, ombres décalées dures */ :root { --paper: #f5f3ee; --surface: #fff; --surface-2: #faf9f5; --ink: #141814; --ink-2: #4d5551; --ink-3: #8b928c; --line: #14181424; --line-strong: #141814d9; --green: #1c5c41; --green-soft: #e4f0e9; --amber: #e8a33d; --amber-soft: #fdf3e2; --danger: #b3423a; --danger-soft: #fbe9e7; --stale: #3a5f8a; --stale-soft: #e7edf5; --lime: #d9f26b; --lime-soft: #f0f9d2; --accent-deep: #123f2e; --agent: #22d3ee; /* remplacé au chargement par l'accent de l'agent */ --r-card: 10px; --r-ctl: 6px; --r-pill: 999px; --shadow-off: 6px 6px 0 var(--ink); --shadow-off-soft: 8px 8px 0 #14181414; --shadow-off-mid: 4px 4px 0 #1418142e; --font-display: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, monospace; --fs-h1: clamp(30px, 3.2vw + 18px, 52px); } * { box-sizing: border-box; margin: 0; } [hidden] { display: none !important; } body { background: var(--paper); color: var(--ink); font: 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; } a { color: inherit; } ::selection { background: var(--lime); color: var(--ink); } .klabel { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-size: 10px; font-weight: 700; margin-bottom: 10px; } .hint { text-transform: none; letter-spacing: 0.02em; font-weight: 400; } .hl { background: var(--lime); color: var(--ink); border-radius: 8px; padding: 0 10px 2px; display: inline-block; transform: rotate(-1deg); } .card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden; } .pad { padding: 16px; } .chip { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); align-items: center; gap: 6px; padding: 4px 11px; font-size: 11px; font-weight: 700; display: inline-flex; } .chip-accent { background: var(--lime); } /* ---------- header ---------- */ .topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px clamp(16px, 4vw, 48px); border-bottom: 1.5px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 500; } .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; } .wordmark .ka { background: var(--ink); color: var(--lime); border-radius: 6px; margin-left: 6px; padding: 0 8px 2px; display: inline-block; transform: rotate(-2deg); font-size: 0.72em; } #wm-name b, #wm-name { color: var(--ink); } .topnav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .tabs { display: flex; gap: 6px; } .tab { font: 700 13px var(--font-display); text-decoration: none; color: var(--ink-2); border: 1.5px solid transparent; border-radius: var(--r-pill); padding: 6px 14px; transition: transform 0.15s, box-shadow 0.15s; } .tab:hover { border-color: var(--ink); background: var(--surface); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); } .tab.active { background: var(--ink); color: var(--lime); border-color: var(--ink); } .gk-badge { min-height: 30px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); white-space: nowrap; align-items: center; gap: 7px; padding: 3px 10px 4px; font-size: 10px; font-weight: 700; text-decoration: none; display: inline-flex; transition: transform 0.15s, box-shadow 0.15s; } .gk-badge:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); } .gk-badge b { font-family: var(--font-display); letter-spacing: -0.02em; text-transform: none; color: var(--ink); font-size: 12px; } .gk-badge .ka { background: var(--ink); color: var(--lime); border-radius: 5px; margin-left: 3px; padding: 0 5px 1px; display: inline-block; transform: rotate(-2deg); } .gk-badge .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); } /* ---------- héros ---------- */ main { padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px); max-width: 1440px; margin: 0 auto; display: grid; gap: clamp(32px, 4vw, 56px); } .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; } @media (max-width: 900px) { .hero { grid-template-columns: 1fr; } } .hero h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.03em; margin: 6px 0 16px; } .lede { color: var(--ink-2); max-width: 56ch; font-size: 16px; } .hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; } .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); display: inline-block; } .live-dot.on { background: var(--green); animation: pulse 1.8s infinite; } @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 #1c5c4166; } 60% { box-shadow: 0 0 0 7px transparent; } } .defcard { padding: 18px 20px; box-shadow: var(--shadow-off); transform: rotate(0.4deg); } .defword { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 10px; } .phon { color: var(--ink-3); font-weight: 400; font-size: 16px; } .nat { font-style: italic; color: var(--ink-3); font-size: 14px; } .defs { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); } .defs b { color: var(--ink); } /* ---------- tuiles ---------- */ .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; } .tile { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--shadow-off-mid); } .tile .v { font: 700 30px/1.15 var(--font-mono); letter-spacing: -0.02em; } .tile .l { color: var(--ink-2); font-size: 12px; margin-top: 4px; } .tile.hot { background: var(--lime); } /* ---------- commander un effort ---------- */ .commander { background: var(--lime-soft); box-shadow: var(--shadow-off); } .cmd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(18px, 3vw, 40px); padding: clamp(18px, 3vw, 32px); } @media (max-width: 900px) { .cmd-grid { grid-template-columns: 1fr; } } .cmd-title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; margin: 4px 0 12px; } .cmd-lede { color: var(--ink-2); font-size: 14.5px; max-width: 48ch; } #effort-form { display: grid; gap: 12px; align-content: start; } .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 640px) { .frow { grid-template-columns: 1fr; } } .frow-end { align-items: end; } .flab { display: grid; gap: 5px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); } .input, .select { width: 100%; min-height: 44px; font: 400 14px var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 10px 14px; } .input:focus, .select:focus { box-shadow: 3px 3px 0 var(--lime); outline: none; } .input::placeholder { color: var(--ink-3); } .btn-primary { min-height: 44px; font: 700 14px var(--font-display); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--ink); color: var(--lime); cursor: pointer; padding: 10px 18px; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; } .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #1418142e; background: var(--accent-deep); } .btn-primary:disabled { opacity: 0.5; cursor: wait; transform: none; box-shadow: none; } .cmd-msg { font: 600 12.5px var(--font-mono); min-height: 18px; } .cmd-msg.ok { color: var(--green); } .cmd-msg.err { color: var(--danger); } /* ---------- page /commander ---------- */ .cmd-page { max-width: 980px; } .cmd-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.03em; line-height: 1.06; margin: 6px 0 14px; } .cmd-hero .lede { color: var(--ink-2); max-width: 62ch; } .cmd-form { padding: clamp(18px, 3vw, 30px); display: grid; gap: 14px; } .frow-3 { grid-template-columns: 1fr 1fr 1fr; } @media (max-width: 800px) { .frow-3 { grid-template-columns: 1fr; } } .kind-hint { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--r-ctl); padding: 9px 12px; } .cmd-note { font-size: 12px; color: var(--ink-3); max-width: 52ch; align-self: center; } /* ---------- écran (flux) + side ---------- */ .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; } @media (max-width: 980px) { .cols { grid-template-columns: 1fr; } } .side { display: grid; gap: 20px; min-width: 0; } .screen { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-off); min-width: 0; } .screen-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f5f3ee2b; } .screen-dots { display: inline-flex; gap: 5px; } .screen-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f5f3ee33; } .screen-dots i:first-child { background: var(--agent); } .screen-title { font-family: var(--font-mono); font-size: 11px; color: #f5f3ee99; text-transform: uppercase; letter-spacing: 0.08em; } .feed { font: 12.5px/1.6 var(--font-mono); padding: 14px; height: 560px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; color: #f5f3eec9; } .feed-empty { color: #f5f3ee66; } .fe { display: flex; gap: 10px; align-items: baseline; animation: fadein 0.3s; } @keyframes fadein { from { opacity: 0; transform: translateY(4px); } } .fe .t { color: #f5f3ee59; flex: none; font-size: 10.5px; } .fe .tag { flex: none; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 1px 8px; border-radius: 999px; border: 1px solid #f5f3ee38; color: #f5f3ee99; } .fe.tool .tag { color: var(--lime); border-color: #d9f26b59; } .fe.text .tag { color: #7fd6a8; border-color: #7fd6a859; } .fe.incident .tag { color: var(--amber); border-color: #e8a33d66; } .fe.rollback .tag { color: #ef9d96; border-color: #ef9d9666; } .fe .m { overflow-wrap: anywhere; white-space: pre-wrap; min-width: 0; } .fe.text .m { color: #f5f3ee; } /* ---------- incidents ---------- */ .incidents { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; } .inc { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 9px 11px; font-size: 13px; } .inc .src { font: 600 12.5px var(--font-mono); overflow-wrap: anywhere; } .inc .svc { color: var(--ink-3); font-size: 11px; font-family: var(--font-mono); } .badge { margin-left: auto; flex: none; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); } .b-open { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); } .b-fixing, .b-dispatched { background: var(--lime); color: var(--ink); } .b-watching { background: var(--stale-soft); color: var(--stale); border-color: var(--stale); } .b-cooldown { background: var(--amber-soft); color: #8a5f1e; border-color: var(--amber); } .b-resolved, .b-self_healed { background: var(--green-soft); color: var(--green); border-color: var(--green); } .b-abandoned { background: var(--surface); color: var(--ink-3); border-color: var(--ink-3); } .empty { color: var(--ink-3); font-size: 13px; } /* ---------- couverture ---------- */ .coverage { display: grid; gap: 12px; } .cov { border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 11px 13px; background: var(--surface-2); } .cov .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 8px; } .cov .app { font-family: var(--font-display); font-weight: 700; font-size: 15px; } .cov .node { color: var(--ink-3); font: 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; } .strip { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; } .strip span { min-width: 3px; } .s-ok { background: var(--green); } .s-degraded { background: var(--amber); } .s-broken { background: var(--danger); } .s-stale { background: var(--stale); } .counts { display: flex; gap: 11px; margin-top: 8px; flex-wrap: wrap; font: 600 10.5px var(--font-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.04em; } .counts i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; } /* ---------- missions ---------- */ .table-wrap { overflow-x: auto; box-shadow: var(--shadow-off-soft); } table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); } th { text-align: left; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 11px 12px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2); } td { padding: 10px 12px; border-bottom: 1px solid var(--line); } tbody tr { cursor: pointer; transition: background 0.12s; } tbody tr:hover { background: var(--lime-soft); } .mono { font-family: var(--font-mono); font-size: 12px; } .vbadge { font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: var(--r-pill); border: 1.5px solid currentColor; white-space: nowrap; } .v-repare { color: var(--green); background: var(--green-soft); } .v-echec, .v-inconnu, .v-erreur { color: var(--danger); background: var(--danger-soft); } .v-site_source_mort { color: var(--ink-3); background: var(--surface-2); } .v-rien_a_faire { color: var(--stale); background: var(--stale-soft); } .v-running { color: var(--accent-deep); background: var(--lime); } /* ---------- footer ---------- */ .ka-footer { margin-top: 24px; background: var(--ink); color: #f5f3eebf; padding: 44px 0; font-size: 13px; } .foot-in { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; gap: 16px; } .wordmark-foot, .wordmark-foot #foot-name { color: var(--paper); font-size: 30px; } .wordmark-foot .ka { background: var(--lime); color: var(--ink); } .notice { max-width: 640px; border-left: 2px solid var(--lime); padding-left: 16px; } .notice b { color: var(--paper); } .sites { display: flex; gap: 14px; flex-wrap: wrap; } .sites a, .legal a { color: #f5f3eebf; text-decoration: none; } .sites a:hover, .legal a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; } .legal { color: #f5f3ee73; } /* ---------- modal ---------- */ .modal { position: fixed; inset: 0; background: #14181480; display: grid; place-items: center; z-index: 900; padding: 16px; } .modal[hidden] { display: none; } .modal-box { width: min(880px, 94vw); max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-off); } .modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2); } .modal-head h3 { font-family: var(--font-display); font-size: 16px; } .modal-head button { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); width: 32px; height: 32px; font-size: 14px; cursor: pointer; } .modal-head button:hover { background: var(--lime); } .modal-body { padding: 16px 18px; overflow-y: auto; font: 12.5px/1.6 var(--font-mono); display: grid; gap: 8px; } .modal-body .meta { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 10px 12px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; } .modal-body .meta b { color: var(--ink); } /* ============================================================================= KA ÉDITORIAL v2 (2026-08-25) — aligné sur la refonte lou-ka / vrai-prix : typo géante, souligné « brush » SVG, tuiles et listes à filet (zéro boîte), l'écran encre du flux garde son ombre signature. Bloc volontairement en FIN de fichier : il surcharge la v1 sans toucher au markup (index/commander). ========================================================================== */ :root { --hairline: #14181424; --hairline-strong: #14181499; } /* .hl : la pastille lime tournée devient un souligné brush lime */ .hl { background: transparent; color: inherit; border-radius: 0; transform: none; position: relative; display: inline-block; padding: 0 0.06em; z-index: 0; } .hl::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.05em; height: 0.34em; z-index: -1; transform: rotate(-0.6deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M5 17 C 60 8, 118 21, 168 13 S 258 10, 295 15' fill='none' stroke='%23d9f26b' stroke-width='11' stroke-linecap='round' opacity='.9'/%3E%3C/svg%3E") no-repeat center / 100% 100%; } /* héros : typo géante, définition en colonne à filet (plus de carte tournée) */ .hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.045em; } .cmd-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; } .defcard, .defcard.card { background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; border-left: 2px solid var(--ink); padding: 6px 0 6px 24px; } /* chips du héros → ligne de données vivantes (mono + filets) */ .hero-chips { gap: 0; row-gap: 10px; align-items: baseline; } .hero-chips .chip { border: 0; border-radius: 0; background: transparent; padding: 0 14px 0 0; margin-right: 14px; border-right: 1px solid var(--hairline); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ink-2); } .hero-chips .chip:last-child { border-right: 0; margin-right: 0; padding-right: 0; } .hero-chips .chip-accent { background: transparent; color: var(--accent-deep); font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.16em; border-right-color: var(--hairline-strong); } @media (max-width: 640px) { .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; } .hero-chips::-webkit-scrollbar { display: none; } } /* piège min-content : la ligne nowrap ne doit gonfler ni la colonne ni main */ main > *, .hero > *, .cols > * { min-width: 0; } /* cartes : hairline discrète — l'écran encre du flux garde son ombre dure */ .card { border: 1px solid var(--hairline-strong); box-shadow: none; } .screen { box-shadow: var(--shadow-off); border-color: var(--ink); } .pad { padding: 18px; } /* tuiles d'état : magazine à filet, zéro boîte */ .tiles { gap: 24px 30px; } .tile { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 12px 2px 0; } .tile .v { font: 700 34px/1.1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; } .tile.hot { background: transparent; border-top: 4px solid var(--lime); } /* incidents & couverture : lignes à filet */ .inc { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 10px 0; } .cov { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 12px 0 0; } /* registre des missions : tableau éditorial */ .table-wrap { box-shadow: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; } table { background: transparent; } th { background: transparent; } tbody tr:hover { background: var(--lime-soft); } /* commander : formulaire posé sur filet, plus de panneau lime */ .commander { background: transparent; border: 0; border-radius: 0; box-shadow: none; border-top: 2.5px solid var(--ink); } .commander.card { border-top: 2.5px solid var(--ink); } .cmd-form { padding-left: 0; padding-right: 0; } .cmd-grid { padding-left: 0; padding-right: 0; } /* badges topbar : filets légers */ .gk-badge { border-width: 1px; background: transparent; } .chip { border-width: 1px; border-color: var(--hairline-strong); background: transparent; } /* bouton primaire : fond lime + texte encre (plus de fond encre peu lisible) */ .btn-primary { background: var(--lime); color: var(--ink); } .btn-primary:hover { background: var(--accent-deep); color: var(--lime); } /* territoire surveillé — provenance des emplacements (registre mld) et état des runners */ .cov-warn { color: var(--bad, #b42318); font-weight: 700; } .cov-registry { grid-column: 1 / -1; padding: 8px 0 0; border-top: 1px dashed var(--hairline, var(--line)); } .cov-registry .node { text-transform: none; letter-spacing: 0; } .cov-changes { margin-top: 4px; color: var(--ink-3); font: 10.5px var(--font-mono); }