File size: 10,141 Bytes
84f9a15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | /* Identity: airlock chamber. Charcoal steel, amber hazard accents. Loaded after styles.css. */
:root:root:root, html:root[data-theme="light"], html:root[data-theme="dark"] {
--bg: #0d0e10;
--bg-elev: #16181b;
--bg-soft: #1d2024;
--ink: #ecebe6;
--muted: #a7a9a6;
--faint: #7f837f;
--line: rgba(236, 235, 230, 0.1);
--line-strong: rgba(236, 235, 230, 0.2);
--accent: #ffae1a;
--accent-strong: #ffc85a;
--allow: #4fd18b;
--allow-bg: rgba(79, 209, 139, 0.1);
--allow-line: rgba(79, 209, 139, 0.4);
--block: #ff5d3a;
--block-bg: rgba(255, 93, 58, 0.1);
--block-line: rgba(255, 93, 58, 0.42);
--ask: #ffae1a;
--ask-bg: rgba(255, 174, 26, 0.12);
--ask-line: rgba(255, 174, 26, 0.45);
--shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
--radius: 6px;
--sans: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
--hazard: repeating-linear-gradient(-45deg, #ffae1a 0, #ffae1a 10px, #15161a 10px, #15161a 20px);
color-scheme: dark;
}
html, body { background: #0d0e10; }
body {
background-image:
radial-gradient(ellipse at 50% -10%, rgba(255, 174, 26, 0.13), transparent 55%),
linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
background-size: 100% 100%, 32px 32px, 32px 32px;
}
body::before { display: none; }
.topbar { display: none; }
.hero.chamber {
position: relative;
border: 1px solid var(--line-strong);
background: linear-gradient(180deg, #17191d, #111215);
border-radius: 8px;
padding: 2rem 1.5rem 1.2rem;
margin-bottom: 1.6rem;
overflow: hidden;
}
.hero.chamber::before {
content: "";
position: absolute; left: 0; right: 0; top: 0; height: 10px;
background: var(--hazard);
}
.hatch-label {
font-family: var(--mono);
font-size: 0.72rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--accent);
margin: 0 0 0.5rem;
}
.hero h1 {
font-family: var(--sans);
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 800;
color: #fff;
}
.hero h1 span { color: var(--accent); }
.promise { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.badge, .chip, .filter {
border-radius: 3px;
background: #1b1d21;
border-color: var(--line-strong);
font-family: var(--mono);
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.links a { color: var(--accent); }
.progress > span { background: var(--accent); }
h2 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; font-size: 1.15rem; }
.card { border-radius: 6px; background: #15171a; border-color: var(--line-strong); }
.label { color: var(--accent); font-family: var(--mono); letter-spacing: 0.18em; }
button { border-radius: 4px; background: #1e2125; border-color: var(--line-strong); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }
button.primary { background: var(--accent); color: #15161a; border-color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #15161a; }
.scen { border-radius: 4px; background: #15171a; }
.scen[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cell { border-radius: 2px; }
details.advanced { border-radius: 6px; background: #15171a; }
.verdict-word { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
/* Decision object styled as a slip; it is explicitly unsigned */
#decision-json {
background: #f1ede2;
color: #22221f;
border: 0;
border-radius: 0;
position: relative;
padding: 1rem 1rem 1.2rem;
-webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
}
.slip-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; background: #f1ede2; color: #22221f; padding: 0.6rem 1rem 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px dashed #9b968a; padding-bottom: 0.5rem; }
.slip-head b { color: #b5420f; }
/* Chamber flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 1.4rem 0 0.4rem; position: relative; }
.ch {
position: relative;
background: #101114;
border: 1px solid var(--line-strong);
padding: 0.85rem 0.85rem 0.9rem;
min-height: 12.5rem;
}
.ch + .ch { border-left: 0; }
.ch-no { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); letter-spacing: 0.16em; }
.ch-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin: 0.15rem 0 0.35rem; font-size: 0.98rem; }
.ch-where { display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.1rem 0.35rem; border: 1px solid var(--line-strong); color: var(--muted); margin-bottom: 0.5rem; }
.ch.here { background: linear-gradient(180deg, rgba(255, 174, 26, 0.12), #101114 70%); border-color: var(--accent); z-index: 1; }
.ch.here .ch-where { border-color: var(--accent); color: var(--accent); }
.ch.remote { opacity: 0.86; }
.ch.remote .ch-body { color: var(--muted); }
.ch-body { font-size: 0.82rem; line-height: 1.45; }
.ch-body code, .ch-code { font-family: var(--mono); font-size: 0.72rem; }
.ch-code { display: block; background: #0a0b0c; border: 1px solid var(--line); padding: 0.4rem 0.5rem; max-height: 4.6rem; overflow: hidden; white-space: pre-wrap; word-break: break-all; color: #d7d4c8; }
.gate-verdict { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; margin: 0.2rem 0 0.45rem; }
.gate-verdict[data-v="allow"] { color: var(--allow); }
.gate-verdict[data-v="deny"] { color: var(--block); }
.gate-verdict[data-v="require_approval"] { color: var(--ask); }
.gate-rules { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.35rem; }
.gate-rules span { font-family: var(--mono); font-size: 0.66rem; border: 1px solid var(--block-line); color: var(--block); padding: 0.05rem 0.3rem; }
.door {
position: absolute; top: 50%; right: -15px; width: 30px; height: 30px; margin-top: -15px;
border-radius: 50%; background: #0d0e10; border: 2px solid var(--line-strong); z-index: 2;
display: flex; align-items: center; justify-content: center; font: 800 0.75rem/1 var(--mono);
}
.door[data-state="open"] { border-color: var(--allow); color: var(--allow); }
.door[data-state="sealed"] { border-color: var(--block); color: var(--block); }
.door[data-state="held"] { border-color: var(--ask); color: var(--ask); }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.6rem; font-family: var(--mono); font-size: 0.7rem; margin-top: 0.35rem; }
.caps b { color: var(--ink); }
.flow-note { color: var(--faint); font-size: 0.78rem; margin: 0.4rem 0 0; }
@media (max-width: 860px) {
.flow { grid-template-columns: 1fr; }
.ch { min-height: 0; }
.ch + .ch { border-left: 1px solid var(--line-strong); border-top: 0; }
.door { top: auto; bottom: -15px; right: 50%; margin: 0 -15px 0 0; }
}
/* Insights */
.insights { margin: 0 0 1.8rem; }
.insights-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.7rem; }
.prov { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px dashed var(--line-strong); padding: 0.12rem 0.45rem; color: var(--muted); }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ins-grid .wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .ins-grid { grid-template-columns: 1fr; } }
.panel h3 { margin: 0 0 0.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.panel .hint { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.84rem; }
.readout { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0.2rem 0 0.8rem; }
.readout div { min-width: 6rem; }
.readout b { display: block; font-size: 2rem; line-height: 1; font-weight: 800; font-family: var(--sans); }
.readout span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stack { display: flex; height: 26px; width: 100%; border: 1px solid var(--line-strong); background: #0a0b0c; }
.stack i { display: block; height: 100%; }
.stack i + i { border-left: 1px solid #0d0e10; }
.legend2 { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-top: 0.55rem; font-size: 0.76rem; color: var(--muted); }
.legend2 span::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.3rem; vertical-align: -1px; background: var(--c); }
.hatch { background: repeating-linear-gradient(-45deg, #ffae1a 0, #ffae1a 4px, #6b4a0b 4px, #6b4a0b 8px) !important; }
.bars { display: grid; gap: 0.32rem; }
.brow { display: grid; grid-template-columns: minmax(0, 12rem) 1fr 2rem; gap: 0.5rem; align-items: center; font-size: 0.78rem; }
.brow .nm { font-family: var(--mono); font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow .tr { height: 9px; background: #0a0b0c; border: 1px solid var(--line); }
.brow .tr i { display: block; height: 100%; background: var(--c, var(--block)); }
.brow b { font-family: var(--mono); font-size: 0.74rem; text-align: right; }
.disclose { border-left: 3px solid var(--accent); padding: 0.45rem 0.7rem; background: rgba(255, 174, 26, 0.07); font-size: 0.82rem; color: var(--ink); margin: 0.8rem 0 0; }
/* Keep long code and hashes inside the phone viewport */
pre { overflow-x: auto; max-width: 100%; }
.scen { overflow: hidden; min-width: 0; }
.scen-desc, .scen-title, .scen-id, .sub code, footer code, .details, .reason { overflow-wrap: anywhere; word-break: break-word; }
#decision-json { white-space: pre-wrap; word-break: break-word; }
select { max-width: 100%; }
.ch-body a { color: var(--accent); }
.ins-grid > * { min-width: 0; }
|