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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
color-scheme: dark;
|
| 3 |
+
--ink: #eef3ff;
|
| 4 |
+
--muted: #9caac5;
|
| 5 |
+
--surface: #11172a;
|
| 6 |
+
--surface-2: #171f36;
|
| 7 |
+
--surface-3: #202a45;
|
| 8 |
+
--line: #2b3655;
|
| 9 |
+
--violet: #a99bff;
|
| 10 |
+
--cyan: #62d9ef;
|
| 11 |
+
--green: #75e5b1;
|
| 12 |
+
--amber: #f7c873;
|
| 13 |
+
--danger: #ff9baf;
|
| 14 |
+
--max: 1180px;
|
| 15 |
+
--radius: 20px;
|
| 16 |
+
--shadow: 0 24px 70px rgba(2, 5, 18, 0.35);
|
| 17 |
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 18 |
+
background: #080c19;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
* { box-sizing: border-box; }
|
| 22 |
+
html { scroll-behavior: smooth; }
|
| 23 |
+
body {
|
| 24 |
+
margin: 0;
|
| 25 |
+
color: var(--ink);
|
| 26 |
+
background:
|
| 27 |
+
radial-gradient(circle at 15% 0%, rgba(99, 78, 205, .26), transparent 32rem),
|
| 28 |
+
radial-gradient(circle at 90% 18%, rgba(34, 161, 193, .15), transparent 30rem),
|
| 29 |
+
#080c19;
|
| 30 |
+
line-height: 1.55;
|
| 31 |
+
}
|
| 32 |
+
a { color: inherit; }
|
| 33 |
+
button, input, select { font: inherit; }
|
| 34 |
+
button, select { cursor: pointer; }
|
| 35 |
+
|
| 36 |
+
.skip-link {
|
| 37 |
+
position: fixed;
|
| 38 |
+
left: 1rem;
|
| 39 |
+
top: -5rem;
|
| 40 |
+
z-index: 100;
|
| 41 |
+
background: var(--ink);
|
| 42 |
+
color: #080c19;
|
| 43 |
+
padding: .75rem 1rem;
|
| 44 |
+
border-radius: .5rem;
|
| 45 |
+
}
|
| 46 |
+
.skip-link:focus { top: 1rem; }
|
| 47 |
+
|
| 48 |
+
.site-header {
|
| 49 |
+
width: min(calc(100% - 2rem), var(--max));
|
| 50 |
+
margin: 0 auto;
|
| 51 |
+
min-height: 76px;
|
| 52 |
+
display: flex;
|
| 53 |
+
align-items: center;
|
| 54 |
+
justify-content: space-between;
|
| 55 |
+
gap: 1rem;
|
| 56 |
+
border-bottom: 1px solid rgba(255,255,255,.09);
|
| 57 |
+
}
|
| 58 |
+
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 730; }
|
| 59 |
+
.brand-mark {
|
| 60 |
+
display: inline-grid;
|
| 61 |
+
place-items: center;
|
| 62 |
+
width: 34px;
|
| 63 |
+
height: 34px;
|
| 64 |
+
border-radius: 10px;
|
| 65 |
+
color: #080c19;
|
| 66 |
+
background: linear-gradient(135deg, var(--violet), var(--cyan));
|
| 67 |
+
}
|
| 68 |
+
nav { display: flex; gap: 1.4rem; }
|
| 69 |
+
nav a { color: var(--muted):{ color: vaz--muted*N�^YX�ܘ][ێ��ۙN��\�^�N��'&V�; }
|
| 70 |
+
nav a:��ٕȰ����陽��̵٥ͥ����쁍�����مȠ��������()���������ж�FW"Ȱ��.�er �8v�GF��֖�6�2�R�'&VҒ�f"���������&v��֖�Ɩ�S�WF��Т�W&���-height: 580px; display: g]; gq���ѕ���u�����չ�HK�Y�������\��[^�'&V��ggr�g&Vғ�Ɩ�w�][\Έ�[�\��Y[�Έ
|
| 71 |
+
\�[Hܙ[N�B��]�ܛ���X\��[����VӲFW�B�G%��͙�ɴ�����ɍ�͔쁱��ѕȵ�������耸�5em; font-size: .72rem; font-weight: 800; color: var(--cyan); }
|
| 72 |
+
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
|
| 73 |
+
h1 { max-width: 760px; margin-bottom: 1.4rem; font-size: clamp(3rem, 7vw, 6.2rem); }
|
| 74 |
+
h2 { margin-bottom: .6rem; font-size: clamp(2rem, 4vw, 3.3rem); }
|
| 75 |
+
h3 { font-size: 1.35rem; }
|
| 76 |
+
.hero-lede { max-width: 670px; color: #bac5db; font-size: clamp(1.05rem, 2vw, 1.25rem); }
|
| 77 |
+
.hero-actions, .export-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
|
| 78 |
+
.button {
|
| 79 |
+
display: inline-flex;
|
| 80 |
+
align-items: center;
|
| 81 |
+
justify-content: center;
|
| 82 |
+
min-height: 44px;
|
| 83 |
+
padding: .75rem 1rem;
|
| 84 |
+
border: 1px solid var(--line);
|
| 85 |
+
border-radius: 999px;
|
| 86 |
+
color: var(--ink);
|
| 87 |
+
background: transparent;
|
| 88 |
+
text-decoration: none;
|
| 89 |
+
font-weight: 720;
|
| 90 |
+
}
|
| 91 |
+
.button.primary { border-color: transparent; color: #07101c; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
|
| 92 |
+
.button:hover { transform: translateY(-1px); border-color: var(--cyan); }
|
| 93 |
+
.button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(98,217,239,.46); outline-offset: 3px; }
|
| 94 |
+
.principle-card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(32,42,69,.9), rgba(17,23,42,.82)); box-shadow: var(--shadow); }
|
| 95 |
+
.principle-card::after { content: ""; position: absolute; inset: auto -15% -45% 25%; height: 220px; background: radial-gradient(circle, rgba(169,155,255,.25), transparent 65%); }
|
| 96 |
+
.signal { display: block; width: 12px; height: 12px; margin-bottom: 4.5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(117,229,177,.1); }
|
| 97 |
+
.principle-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
|
| 98 |
+
.principle { position: relative; z-index: 1; margin: 1rem 0; font-size: 1.7rem; font-weight: 750; line-height: 1.25; }
|
| 99 |
+
.principle-note { position: relative; z-index: 1; color: var(--muted); }
|
| 100 |
+
|
| 101 |
+
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
|
| 102 |
+
.metrics div { display: grid; gap: .2rem; padding: 1.6rem; border-left: 1px solid var(--line); }
|
| 103 |
+
.metrics div:first-child { border-left: 0; }
|
| 104 |
+
.metrics strong { font-size: 1.65rem; }
|
| 105 |
+
.metrics span { color: var(--muted); font-size: .84rem; }
|
| 106 |
+
|
| 107 |
+
.workspace, .compare-section, .recipe-section { padding: 7rem 0 1rem; }
|
| 108 |
+
.workspace:focus { outline: none; }
|
| 109 |
+
.section-heading { display: grid; grid-template-columns: 1.4fr .75fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
|
| 110 |
+
.section-heading > p { color: var(--muted); margin: 0 0 .65rem; }
|
| 111 |
+
.controls { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,23,42,.8); }
|
| 112 |
+
label { display: grid; gap: .45rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
|
| 113 |
+
input, select { min-height: 46px; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; color: var(--ink); background: #0c1121; }
|
| 114 |
+
.reset { align-self: end; border-radius: 10px; }
|
| 115 |
+
.result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; color: var(--muted); }
|
| 116 |
+
.result-toolbar p { margin: 0; }
|
| 117 |
+
.view-switch { display: inline-flex; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; }
|
| 118 |
+
.view-button { border: 0; border-radius: 999px; color: var(--muted); background: transparent; padding: .45rem .8rem; }
|
| 119 |
+
.view-button.active { color: var(--ink); background: var(--surface-3); }
|
| 120 |
+
|
| 121 |
+
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
|
| 122 |
+
.evidence-card { display: flex; flex-direction: column; min-height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(23,31,54,.94), rgba(13,18,34,.94)); }
|
| 123 |
+
.card-topline { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
|
| 124 |
+
.type-badge, .author-badge, .status-badge { display: inline-flex; width: fit-content; padding: .28rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
|
| 125 |
+
.type-badge { color: var(--cyan); background: rgba(98,217,239,.1); }
|
| 126 |
+
.author-badge { color: var(--violet); background: rgba(169,155,255,.1); }
|
| 127 |
+
.status-badge.unknown { color: var(--amber); background: rgba(247,200,115,.1); }
|
| 128 |
+
.evidence-card h3 { margin: 1rem 0 .6rem; }
|
| 129 |
+
.evidence-card h3 a { text-decoration-color: rgba(98,217,239,.45); text-underline-offset: .25rem; }
|
| 130 |
+
.artifact-summary { color: #b8c3d9; margin: 0 0 1rem; }
|
| 131 |
+
.target-list { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .3rem 0 1.2rem; list-style: none; }
|
| 132 |
+
.target-list li { padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 7px; color: #c9d2e5; font-size: .75rem; }
|
| 133 |
+
.evidence-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 0 0 1.2rem; }
|
| 134 |
+
.evidence-facts div { min-width: 0; }
|
| 135 |
+
.evidence-facts dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
|
| 136 |
+
.evidence-facts dd { margin: .2rem 0 0; font-size: .86rem; overflow-wrap: anywhere; }
|
| 137 |
+
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
|
| 138 |
+
.source-links { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .82rem; }
|
| 139 |
+
.source-links a { color: var(--cyan); }
|
| 140 |
+
.compare-toggle { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font-size: .78rem; }
|
| 141 |
+
.compare-toggle input { width: 18px; min-height: 18px; accent-color: var(--cyan); }
|
| 142 |
+
|
| 143 |
+
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
|
| 144 |
+
table { width: 100%; min-width: 1120px; border-collapse: collapse; background: rgba(17,23,42,.86); }
|
| 145 |
+
caption { padding: .8rem; color: var(--muted); text-align: left; }
|
| 146 |
+
th, td { padding: 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
|
| 147 |
+
th { color: var(--cyan); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
|
| 148 |
+
td { color: #c4cee2; font-size: .86rem; }
|
| 149 |
+
.empty-state { padding: 4rem 1rem; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
|
| 150 |
+
|
| 151 |
+
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
|
| 152 |
+
.compare-placeholder { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
|
| 153 |
+
.compare-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
|
| 154 |
+
.compare-card dl { margin: 1.4rem 0 0; }
|
| 155 |
+
.compare-card dl div { padding: .85rem 0; border-top: 1px solid var(--line); }
|
| 156 |
+
.compare-card dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
|
| 157 |
+
.compare-card dd { margin: .3rem 0 0; }
|
| 158 |
+
|
| 159 |
+
.recipe-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
|
| 160 |
+
.recipe-builder, .recipe-output { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
|
| 161 |
+
fieldset { padding: 0; margin: 0 0 1.5rem; border: 0; }
|
| 162 |
+
legend { font-size: 1.1rem; font-weight: 760; }
|
| 163 |
+
.field-help { margin: .3rem 0 1rem; color: var(--muted); font-size: .86rem; }
|
| 164 |
+
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
|
| 165 |
+
.check-option { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: .82rem; }
|
| 166 |
+
.check-option input { width: 18px; min-height: 18px; accent-color: var(--violet); }
|
| 167 |
+
.field-help + .check-grid { margin-bottom: .5rem; }
|
| 168 |
+
small { color: var(--muted); }
|
| 169 |
+
.recipe-output-header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-weight: 720; }
|
| 170 |
+
.recipe-output-header span:last-child { color: var(--cyan); font-size: .82rem; }
|
| 171 |
+
.recipe-output ol { margin: 1rem 0 0; padding-left: 1.35rem; }
|
| 172 |
+
.recipe-output li { padding: .55rem 0 .7rem .3rem; color: #c8d1e4; border-bottom: 1px solid rgba(43,54,85,.55); }
|
| 173 |
+
.method-note { margin: 7rem 0 3rem; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(169,155,255,.38); border-radius: var(--radius); background: linear-gradient(135deg, rgba(82,62,160,.16), rgba(20,110,132,.12)); }
|
| 174 |
+
.method-note h2 { max-width: 850px; }
|
| 175 |
+
.method-note > p:last-child { max-width: 760px; color: var(--muted); }
|
| 176 |
+
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
|
| 177 |
+
footer a { color: var(--cyan); }
|
| 178 |
+
noscript { display: block; padding: 1rem; color: #18070c; background: var(--danger); text-align: center; }
|
| 179 |
+
|
| 180 |
+
@media (max-width: 820px) {
|
| 181 |
+
nav { display: none; }
|
| 182 |
+
.hero { min-height: auto; grid-template-columns: 1fr; padding-top: 3.5rem; }
|
| 183 |
+
.metrics { grid-template-columns: repeat(2, 1fr); }
|
| 184 |
+
.metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
|
| 185 |
+
.metrics div:nth-child(4) { border-top: 1px solid var(--line); }
|
| 186 |
+
.section-heading, .recipe-layout { grid-template-columns: 1fr; }
|
| 187 |
+
.controls { grid-template-columns: 1fr 1fr; }
|
| 188 |
+
.search-control { grid-column: 1 / -1; }
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
@media (max-width: 620px) {
|
| 192 |
+
main, footer, .site-header { width: min(calc(100% - 1.2rem), var(--max)); }
|
| 193 |
+
.site-header { min-height: 68px; }
|
| 194 |
+
.hero { padding: 3rem 0 2.5rem; }
|
| 195 |
+
h1 { font-size: clamp(2.4rem, 12vw, 4.2rem); }
|
| 196 |
+
.metrics { grid-template-columns: 1fr; }
|
| 197 |
+
.metrics div { border-left: 0; border-top: 1px solid var(--line); }
|
| 198 |
+
.controls { grid-template-columns: 1fr; }
|
| 199 |
+
.search-control { grid-column: auto; }
|
| 200 |
+
.result-toolbar, .card-footer, footer { align-items: flex-start; flex-direction: column; }
|
| 201 |
+
.evidence-grid, .compare-grid, .check-grid { grid-template-columns: 1fr; }
|
| 202 |
+
.evidence-facts { grid-template-columns: 1fr; }
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
@prefers-reduced-motion: reduce) {
|
| 206 |
+
html { scroll-behavior: auto; }
|
| 207 |
+
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
|
| 208 |
+
}
|