Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -891,42 +891,44 @@ CUSTOM_CSS = """
|
|
| 891 |
:root{
|
| 892 |
--sgs-blue:#0B3D91;
|
| 893 |
--sgs-green:#00A651;
|
| 894 |
-
|
| 895 |
-
|
|
|
|
|
|
|
| 896 |
|
| 897 |
/* extras */
|
| 898 |
-
--muted: rgba(
|
| 899 |
-
--card1: rgba(
|
| 900 |
-
--card2: rgba(
|
| 901 |
}
|
| 902 |
|
| 903 |
/* Layout */
|
| 904 |
.gradio-container{max-width:1180px !important;}
|
| 905 |
|
| 906 |
-
/* Background */
|
| 907 |
body, .gradio-container{
|
| 908 |
background:
|
| 909 |
-
radial-gradient(1200px 700px at 10% 10%, rgba(11,61,145,.
|
| 910 |
-
radial-gradient(900px 600px at 90% 20%, rgba(0,166,81,.
|
| 911 |
-
radial-gradient(800px 520px at 55% 90%, rgba(79,178,255,.
|
| 912 |
-
linear-gradient(180deg, #
|
| 913 |
}
|
| 914 |
|
| 915 |
-
/* Moving gradient veil */
|
| 916 |
body:before{
|
| 917 |
content:"";
|
| 918 |
position: fixed;
|
| 919 |
inset: 0;
|
| 920 |
pointer-events:none;
|
| 921 |
background: linear-gradient(120deg,
|
| 922 |
-
rgba(11,61,145,.
|
| 923 |
-
rgba(0,166,81,.
|
| 924 |
-
rgba(79,178,255,.
|
| 925 |
-
rgba(11,61,145,.
|
| 926 |
);
|
| 927 |
background-size: 320% 320%;
|
| 928 |
-
mix-blend-mode:
|
| 929 |
-
opacity: .
|
| 930 |
animation: bgShift 10s ease-in-out infinite;
|
| 931 |
}
|
| 932 |
@keyframes bgShift{
|
|
@@ -940,14 +942,14 @@ body:before{
|
|
| 940 |
/* Hero */
|
| 941 |
.hero{
|
| 942 |
border:1px solid var(--line);
|
| 943 |
-
background: linear-gradient(135deg, rgba(
|
| 944 |
border-radius: 22px;
|
| 945 |
padding: 20px 20px 18px;
|
| 946 |
display:flex;
|
| 947 |
align-items:flex-end;
|
| 948 |
justify-content:space-between;
|
| 949 |
gap:16px;
|
| 950 |
-
box-shadow: 0 18px 40px rgba(
|
| 951 |
margin: 12px 0 16px;
|
| 952 |
position: relative;
|
| 953 |
overflow: hidden;
|
|
@@ -962,26 +964,26 @@ body:before{
|
|
| 962 |
.hero-left{max-width: 740px;}
|
| 963 |
.hero *{ position: relative; z-index: 1; }
|
| 964 |
|
| 965 |
-
/* Glow blobs */
|
| 966 |
.hero:before, .hero:after{
|
| 967 |
content:"";
|
| 968 |
position:absolute;
|
| 969 |
width: 360px;
|
| 970 |
height: 360px;
|
| 971 |
border-radius: 999px;
|
| 972 |
-
filter: blur(
|
| 973 |
-
opacity: .
|
| 974 |
pointer-events:none;
|
| 975 |
animation: floaty 7s ease-in-out infinite;
|
| 976 |
}
|
| 977 |
.hero:before{
|
| 978 |
-
background: radial-gradient(circle at 35% 35%, rgba(
|
| 979 |
-
radial-gradient(circle at 35% 35%, rgba(
|
| 980 |
top:-190px; left:-170px;
|
| 981 |
}
|
| 982 |
.hero:after{
|
| 983 |
-
background: radial-gradient(circle at 60% 40%, rgba(
|
| 984 |
-
radial-gradient(circle at 60% 40%, rgba(
|
| 985 |
bottom:-220px; right:-190px;
|
| 986 |
animation-delay: -2.8s;
|
| 987 |
}
|
|
@@ -1009,20 +1011,20 @@ body:before{
|
|
| 1009 |
bottom: -7px;
|
| 1010 |
background: linear-gradient(90deg,
|
| 1011 |
rgba(11,61,145,0),
|
| 1012 |
-
rgba(11,61,145,.
|
| 1013 |
-
rgba(79,178,255,.
|
| 1014 |
-
rgba(0,166,81,.
|
| 1015 |
rgba(0,166,81,0)
|
| 1016 |
);
|
| 1017 |
filter: blur(1px);
|
| 1018 |
-
opacity: .
|
| 1019 |
transform: scaleX(0);
|
| 1020 |
transform-origin: left;
|
| 1021 |
animation: underlineIn .9s ease-out .25s both;
|
| 1022 |
}
|
| 1023 |
@keyframes underlineIn{
|
| 1024 |
from{ transform: scaleX(0); opacity: 0; }
|
| 1025 |
-
to{ transform: scaleX(1); opacity: .
|
| 1026 |
}
|
| 1027 |
.hero-sub{
|
| 1028 |
color: var(--muted) !important;
|
|
@@ -1038,10 +1040,10 @@ body:before{
|
|
| 1038 |
justify-content:flex-end;
|
| 1039 |
}
|
| 1040 |
|
| 1041 |
-
/* KPI cards */
|
| 1042 |
.kpi{
|
| 1043 |
-
background: rgba(255,255,255,.
|
| 1044 |
-
border:1px solid rgba(
|
| 1045 |
border-radius: 16px;
|
| 1046 |
padding: 10px 12px;
|
| 1047 |
min-width: 150px;
|
|
@@ -1051,24 +1053,24 @@ body:before{
|
|
| 1051 |
}
|
| 1052 |
.kpi:hover{
|
| 1053 |
transform: translateY(-2px);
|
| 1054 |
-
box-shadow: 0 18px 38px rgba(
|
| 1055 |
-
border-color: rgba(
|
| 1056 |
}
|
| 1057 |
-
.kpi-label{color:rgba(
|
| 1058 |
.kpi-val{font-size:18px;font-weight:1000;margin-top:2px;}
|
| 1059 |
|
| 1060 |
-
/* Gradio component polish */
|
| 1061 |
.gradio-container .block{
|
| 1062 |
border-radius: 18px !important;
|
| 1063 |
-
border: 1px solid rgba(
|
| 1064 |
-
background: rgba(255,255,255,.
|
| 1065 |
-
box-shadow: 0 14px 28px rgba(
|
| 1066 |
}
|
| 1067 |
|
| 1068 |
-
/* Inputs */
|
| 1069 |
textarea, input[type="text"]{
|
| 1070 |
-
background: rgba(255,255,255,.
|
| 1071 |
-
border: 1px solid rgba(
|
| 1072 |
border-radius: 14px !important;
|
| 1073 |
}
|
| 1074 |
textarea:focus, input[type="text"]:focus{
|
|
@@ -1079,54 +1081,54 @@ textarea:focus, input[type="text"]:focus{
|
|
| 1079 |
/* Buttons */
|
| 1080 |
button.primary, .gradio-container button{
|
| 1081 |
border-radius: 14px !important;
|
| 1082 |
-
border: 1px solid rgba(
|
| 1083 |
-
background: linear-gradient(90deg, rgba(11,61,145,.
|
| 1084 |
color: #fff !important;
|
| 1085 |
transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
|
| 1086 |
}
|
| 1087 |
button.primary:hover, .gradio-container button:hover{
|
| 1088 |
transform: translateY(-1px);
|
| 1089 |
-
box-shadow: 0 14px 35px rgba(11,61,145,.
|
| 1090 |
filter: brightness(1.05);
|
| 1091 |
}
|
| 1092 |
button.primary:active, .gradio-container button:active{
|
| 1093 |
transform: translateY(0) scale(.99);
|
| 1094 |
}
|
| 1095 |
|
| 1096 |
-
/* Tabs */
|
| 1097 |
.gradio-container .tabs{
|
| 1098 |
-
border: 1px solid rgba(
|
| 1099 |
border-radius: 18px !important;
|
| 1100 |
overflow: hidden;
|
| 1101 |
}
|
| 1102 |
.gradio-container .tabitem{
|
| 1103 |
-
background: rgba(255,255,255,.
|
| 1104 |
}
|
| 1105 |
.gradio-container .tab-nav{
|
| 1106 |
-
background: rgba(255,255,255,.
|
| 1107 |
-
border-bottom: 1px solid rgba(
|
| 1108 |
}
|
| 1109 |
|
| 1110 |
-
/* Cards */
|
| 1111 |
.cards{display:grid;grid-template-columns: 1fr; gap: 12px;}
|
| 1112 |
.card{
|
| 1113 |
background: linear-gradient(180deg, var(--card1), var(--card2));
|
| 1114 |
-
border:1px solid rgba(
|
| 1115 |
border-radius: 18px;
|
| 1116 |
padding: 14px;
|
| 1117 |
-
box-shadow: 0 14px 28px rgba(
|
| 1118 |
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
|
| 1119 |
}
|
| 1120 |
.card:hover{
|
| 1121 |
transform: translateY(-2px);
|
| 1122 |
-
box-shadow: 0 20px 40px rgba(
|
| 1123 |
-
border-color: rgba(
|
| 1124 |
}
|
| 1125 |
.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
|
| 1126 |
.card-title{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;}
|
| 1127 |
.rank{
|
| 1128 |
-
background: rgba(11,61,145,.
|
| 1129 |
-
border:1px solid rgba(11,61,145,.
|
| 1130 |
font-weight: 1000;
|
| 1131 |
border-radius: 999px;
|
| 1132 |
padding: 6px 10px;
|
|
@@ -1135,33 +1137,35 @@ button.primary:active, .gradio-container button:active{
|
|
| 1135 |
.file{font-weight:1000;font-size:16px;}
|
| 1136 |
.card-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
|
| 1137 |
|
| 1138 |
-
/* Badges / Pills */
|
| 1139 |
.badge{
|
| 1140 |
display:inline-flex;align-items:center;
|
| 1141 |
padding: 6px 10px;border-radius: 999px;font-size:12px;font-weight:1000;
|
| 1142 |
-
border:1px solid rgba(
|
|
|
|
| 1143 |
}
|
| 1144 |
-
.b-exc{ background: rgba(0,166,81,.
|
| 1145 |
-
.b-good{ background: rgba(11,61,145,.
|
| 1146 |
-
.b-maybe{ background: rgba(245,158,11,.
|
| 1147 |
-
.b-weak{ background: rgba(239,68,68,.
|
| 1148 |
|
| 1149 |
.pill{
|
| 1150 |
display:inline-flex;align-items:center;justify-content:center;
|
| 1151 |
min-width:60px;padding: 6px 10px;border-radius: 999px;font-weight: 1000;
|
| 1152 |
-
border:1px solid rgba(
|
| 1153 |
-
background: rgba(255,255,255,.
|
|
|
|
| 1154 |
}
|
| 1155 |
-
.p-high{ background: rgba(0,166,81,.
|
| 1156 |
-
.p-mid{ background: rgba(11,61,145,.
|
| 1157 |
-
.p-low{ background: rgba(245,158,11,.
|
| 1158 |
-
.p-bad{ background: rgba(239,68,68,.
|
| 1159 |
|
| 1160 |
/* Score bar */
|
| 1161 |
.bar{
|
| 1162 |
width: 100%; height: 10px; border-radius: 999px;
|
| 1163 |
-
background: rgba(
|
| 1164 |
-
border:1px solid rgba(
|
| 1165 |
margin: 10px 0 10px;
|
| 1166 |
}
|
| 1167 |
.fill{
|
|
@@ -1169,8 +1173,8 @@ button.primary:active, .gradio-container button:active{
|
|
| 1169 |
background: linear-gradient(90deg, var(--sgs-green), #4fb2ff, var(--sgs-blue));
|
| 1170 |
}
|
| 1171 |
|
| 1172 |
-
.summary{font-size:13px;line-height:1.55rem;margin: 6px 0 10px;color:
|
| 1173 |
-
.section-title{font-size:13px;font-weight:1000;margin:10px 0 6px;color:
|
| 1174 |
|
| 1175 |
.grid{display:grid;grid-template-columns: 1fr 1fr; gap: 14px;}
|
| 1176 |
@media(max-width:860px){
|
|
@@ -1181,29 +1185,29 @@ button.primary:active, .gradio-container button:active{
|
|
| 1181 |
.hero-title{font-size: 24px;}
|
| 1182 |
}
|
| 1183 |
|
| 1184 |
-
.list{margin:0;padding-left:18px;color:
|
| 1185 |
-
.list li{margin:6px 0;line-height:1.30rem;color:
|
| 1186 |
|
| 1187 |
-
/* Quotes / Evidence */
|
| 1188 |
.quotes{display:grid;gap:10px;margin-top:6px;}
|
| 1189 |
.quote{
|
| 1190 |
-
background: rgba(255,255,255,.
|
| 1191 |
-
border:1px solid rgba(
|
| 1192 |
border-radius: 14px;
|
| 1193 |
padding: 10px 12px;
|
| 1194 |
-
color:
|
| 1195 |
font-size: 13px;
|
| 1196 |
line-height: 1.45rem;
|
| 1197 |
}
|
| 1198 |
.quote.muted{opacity:.85;}
|
| 1199 |
|
| 1200 |
-
/* Checklist */
|
| 1201 |
.checklist{display:grid;gap:8px;margin-top:6px;}
|
| 1202 |
.checkrow{
|
| 1203 |
display:grid; grid-template-columns: 1.1fr .4fr 1.5fr; gap:10px;
|
| 1204 |
padding:10px 12px; border-radius:14px;
|
| 1205 |
-
border:1px solid rgba(
|
| 1206 |
-
background: rgba(255,255,255,.
|
| 1207 |
font-size:13px;
|
| 1208 |
position: relative;
|
| 1209 |
overflow: hidden;
|
|
@@ -1213,10 +1217,10 @@ button.primary:active, .gradio-container button:active{
|
|
| 1213 |
position:absolute;
|
| 1214 |
left:0; top:0; bottom:0;
|
| 1215 |
width:4px;
|
| 1216 |
-
background: rgba(
|
| 1217 |
}
|
| 1218 |
-
.checkrow .req{font-weight:1000;color:
|
| 1219 |
-
.checkrow .ev{color:rgba(
|
| 1220 |
.checkrow .st{font-weight:1000;text-align:center;letter-spacing:.4px;}
|
| 1221 |
|
| 1222 |
/* Status colors */
|
|
@@ -1224,9 +1228,9 @@ button.primary:active, .gradio-container button:active{
|
|
| 1224 |
.checkrow.partial:before{ background: rgba(245,158,11,.95); }
|
| 1225 |
.checkrow.miss:before{ background: rgba(239,68,68,.95); }
|
| 1226 |
|
| 1227 |
-
.checkrow.ok .st{ color:
|
| 1228 |
-
.checkrow.partial .st{ color:
|
| 1229 |
-
.checkrow.miss .st{ color:
|
| 1230 |
|
| 1231 |
/* Respect reduced motion */
|
| 1232 |
@media (prefers-reduced-motion: reduce){
|
|
|
|
| 891 |
:root{
|
| 892 |
--sgs-blue:#0B3D91;
|
| 893 |
--sgs-green:#00A651;
|
| 894 |
+
|
| 895 |
+
/* LIGHT THEME (updated) */
|
| 896 |
+
--text:#0b1220;
|
| 897 |
+
--line:rgba(15,23,42,.14);
|
| 898 |
|
| 899 |
/* extras */
|
| 900 |
+
--muted: rgba(11,18,32,.72);
|
| 901 |
+
--card1: rgba(255,255,255,.96);
|
| 902 |
+
--card2: rgba(248,250,252,.92);
|
| 903 |
}
|
| 904 |
|
| 905 |
/* Layout */
|
| 906 |
.gradio-container{max-width:1180px !important;}
|
| 907 |
|
| 908 |
+
/* Background (LIGHT THEME updated) */
|
| 909 |
body, .gradio-container{
|
| 910 |
background:
|
| 911 |
+
radial-gradient(1200px 700px at 10% 10%, rgba(11,61,145,.10), transparent 55%),
|
| 912 |
+
radial-gradient(900px 600px at 90% 20%, rgba(0,166,81,.10), transparent 60%),
|
| 913 |
+
radial-gradient(800px 520px at 55% 90%, rgba(79,178,255,.10), transparent 60%),
|
| 914 |
+
linear-gradient(180deg, #f7f9fc, #eef2f7) !important;
|
| 915 |
}
|
| 916 |
|
| 917 |
+
/* Moving gradient veil (LIGHT THEME updated) */
|
| 918 |
body:before{
|
| 919 |
content:"";
|
| 920 |
position: fixed;
|
| 921 |
inset: 0;
|
| 922 |
pointer-events:none;
|
| 923 |
background: linear-gradient(120deg,
|
| 924 |
+
rgba(11,61,145,.08),
|
| 925 |
+
rgba(0,166,81,.07),
|
| 926 |
+
rgba(79,178,255,.07),
|
| 927 |
+
rgba(11,61,145,.08)
|
| 928 |
);
|
| 929 |
background-size: 320% 320%;
|
| 930 |
+
mix-blend-mode: multiply;
|
| 931 |
+
opacity: .45;
|
| 932 |
animation: bgShift 10s ease-in-out infinite;
|
| 933 |
}
|
| 934 |
@keyframes bgShift{
|
|
|
|
| 942 |
/* Hero */
|
| 943 |
.hero{
|
| 944 |
border:1px solid var(--line);
|
| 945 |
+
background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.74));
|
| 946 |
border-radius: 22px;
|
| 947 |
padding: 20px 20px 18px;
|
| 948 |
display:flex;
|
| 949 |
align-items:flex-end;
|
| 950 |
justify-content:space-between;
|
| 951 |
gap:16px;
|
| 952 |
+
box-shadow: 0 18px 40px rgba(2,6,23,.10);
|
| 953 |
margin: 12px 0 16px;
|
| 954 |
position: relative;
|
| 955 |
overflow: hidden;
|
|
|
|
| 964 |
.hero-left{max-width: 740px;}
|
| 965 |
.hero *{ position: relative; z-index: 1; }
|
| 966 |
|
| 967 |
+
/* Glow blobs (LIGHT THEME updated) */
|
| 968 |
.hero:before, .hero:after{
|
| 969 |
content:"";
|
| 970 |
position:absolute;
|
| 971 |
width: 360px;
|
| 972 |
height: 360px;
|
| 973 |
border-radius: 999px;
|
| 974 |
+
filter: blur(44px);
|
| 975 |
+
opacity: .30;
|
| 976 |
pointer-events:none;
|
| 977 |
animation: floaty 7s ease-in-out infinite;
|
| 978 |
}
|
| 979 |
.hero:before{
|
| 980 |
+
background: radial-gradient(circle at 35% 35%, rgba(11,61,145,.26), transparent 62%),
|
| 981 |
+
radial-gradient(circle at 35% 35%, rgba(79,178,255,.20), transparent 70%);
|
| 982 |
top:-190px; left:-170px;
|
| 983 |
}
|
| 984 |
.hero:after{
|
| 985 |
+
background: radial-gradient(circle at 60% 40%, rgba(0,166,81,.22), transparent 64%),
|
| 986 |
+
radial-gradient(circle at 60% 40%, rgba(11,61,145,.10), transparent 72%);
|
| 987 |
bottom:-220px; right:-190px;
|
| 988 |
animation-delay: -2.8s;
|
| 989 |
}
|
|
|
|
| 1011 |
bottom: -7px;
|
| 1012 |
background: linear-gradient(90deg,
|
| 1013 |
rgba(11,61,145,0),
|
| 1014 |
+
rgba(11,61,145,.35),
|
| 1015 |
+
rgba(79,178,255,.35),
|
| 1016 |
+
rgba(0,166,81,.28),
|
| 1017 |
rgba(0,166,81,0)
|
| 1018 |
);
|
| 1019 |
filter: blur(1px);
|
| 1020 |
+
opacity: .90;
|
| 1021 |
transform: scaleX(0);
|
| 1022 |
transform-origin: left;
|
| 1023 |
animation: underlineIn .9s ease-out .25s both;
|
| 1024 |
}
|
| 1025 |
@keyframes underlineIn{
|
| 1026 |
from{ transform: scaleX(0); opacity: 0; }
|
| 1027 |
+
to{ transform: scaleX(1); opacity: .90; }
|
| 1028 |
}
|
| 1029 |
.hero-sub{
|
| 1030 |
color: var(--muted) !important;
|
|
|
|
| 1040 |
justify-content:flex-end;
|
| 1041 |
}
|
| 1042 |
|
| 1043 |
+
/* KPI cards (LIGHT THEME updated) */
|
| 1044 |
.kpi{
|
| 1045 |
+
background: rgba(255,255,255,.78);
|
| 1046 |
+
border:1px solid rgba(15,23,42,.12);
|
| 1047 |
border-radius: 16px;
|
| 1048 |
padding: 10px 12px;
|
| 1049 |
min-width: 150px;
|
|
|
|
| 1053 |
}
|
| 1054 |
.kpi:hover{
|
| 1055 |
transform: translateY(-2px);
|
| 1056 |
+
box-shadow: 0 18px 38px rgba(2,6,23,.10);
|
| 1057 |
+
border-color: rgba(15,23,42,.18);
|
| 1058 |
}
|
| 1059 |
+
.kpi-label{color:rgba(11,18,32,.80) !important;font-size:12px;font-weight:800;}
|
| 1060 |
.kpi-val{font-size:18px;font-weight:1000;margin-top:2px;}
|
| 1061 |
|
| 1062 |
+
/* Gradio component polish (LIGHT THEME updated) */
|
| 1063 |
.gradio-container .block{
|
| 1064 |
border-radius: 18px !important;
|
| 1065 |
+
border: 1px solid rgba(15,23,42,.12) !important;
|
| 1066 |
+
background: rgba(255,255,255,.70) !important;
|
| 1067 |
+
box-shadow: 0 14px 28px rgba(2,6,23,.08);
|
| 1068 |
}
|
| 1069 |
|
| 1070 |
+
/* Inputs (LIGHT THEME updated) */
|
| 1071 |
textarea, input[type="text"]{
|
| 1072 |
+
background: rgba(255,255,255,.85) !important;
|
| 1073 |
+
border: 1px solid rgba(15,23,42,.14) !important;
|
| 1074 |
border-radius: 14px !important;
|
| 1075 |
}
|
| 1076 |
textarea:focus, input[type="text"]:focus{
|
|
|
|
| 1081 |
/* Buttons */
|
| 1082 |
button.primary, .gradio-container button{
|
| 1083 |
border-radius: 14px !important;
|
| 1084 |
+
border: 1px solid rgba(15,23,42,.10) !important;
|
| 1085 |
+
background: linear-gradient(90deg, rgba(11,61,145,.92), rgba(0,166,81,.78)) !important;
|
| 1086 |
color: #fff !important;
|
| 1087 |
transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
|
| 1088 |
}
|
| 1089 |
button.primary:hover, .gradio-container button:hover{
|
| 1090 |
transform: translateY(-1px);
|
| 1091 |
+
box-shadow: 0 14px 35px rgba(11,61,145,.16);
|
| 1092 |
filter: brightness(1.05);
|
| 1093 |
}
|
| 1094 |
button.primary:active, .gradio-container button:active{
|
| 1095 |
transform: translateY(0) scale(.99);
|
| 1096 |
}
|
| 1097 |
|
| 1098 |
+
/* Tabs (LIGHT THEME updated) */
|
| 1099 |
.gradio-container .tabs{
|
| 1100 |
+
border: 1px solid rgba(15,23,42,.12) !important;
|
| 1101 |
border-radius: 18px !important;
|
| 1102 |
overflow: hidden;
|
| 1103 |
}
|
| 1104 |
.gradio-container .tabitem{
|
| 1105 |
+
background: rgba(255,255,255,.65) !important;
|
| 1106 |
}
|
| 1107 |
.gradio-container .tab-nav{
|
| 1108 |
+
background: rgba(255,255,255,.65) !important;
|
| 1109 |
+
border-bottom: 1px solid rgba(15,23,42,.10) !important;
|
| 1110 |
}
|
| 1111 |
|
| 1112 |
+
/* Cards (LIGHT THEME updated) */
|
| 1113 |
.cards{display:grid;grid-template-columns: 1fr; gap: 12px;}
|
| 1114 |
.card{
|
| 1115 |
background: linear-gradient(180deg, var(--card1), var(--card2));
|
| 1116 |
+
border:1px solid rgba(15,23,42,.12);
|
| 1117 |
border-radius: 18px;
|
| 1118 |
padding: 14px;
|
| 1119 |
+
box-shadow: 0 14px 28px rgba(2,6,23,.08);
|
| 1120 |
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
|
| 1121 |
}
|
| 1122 |
.card:hover{
|
| 1123 |
transform: translateY(-2px);
|
| 1124 |
+
box-shadow: 0 20px 40px rgba(2,6,23,.10);
|
| 1125 |
+
border-color: rgba(15,23,42,.16);
|
| 1126 |
}
|
| 1127 |
.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
|
| 1128 |
.card-title{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;}
|
| 1129 |
.rank{
|
| 1130 |
+
background: rgba(11,61,145,.10);
|
| 1131 |
+
border:1px solid rgba(11,61,145,.18);
|
| 1132 |
font-weight: 1000;
|
| 1133 |
border-radius: 999px;
|
| 1134 |
padding: 6px 10px;
|
|
|
|
| 1137 |
.file{font-weight:1000;font-size:16px;}
|
| 1138 |
.card-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
|
| 1139 |
|
| 1140 |
+
/* Badges / Pills (LIGHT THEME updated) */
|
| 1141 |
.badge{
|
| 1142 |
display:inline-flex;align-items:center;
|
| 1143 |
padding: 6px 10px;border-radius: 999px;font-size:12px;font-weight:1000;
|
| 1144 |
+
border:1px solid rgba(15,23,42,.12);
|
| 1145 |
+
color: var(--text) !important;
|
| 1146 |
}
|
| 1147 |
+
.b-exc{ background: rgba(0,166,81,.12); border-color: rgba(0,166,81,.22); }
|
| 1148 |
+
.b-good{ background: rgba(11,61,145,.10); border-color: rgba(11,61,145,.22); }
|
| 1149 |
+
.b-maybe{ background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.26); }
|
| 1150 |
+
.b-weak{ background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.22); }
|
| 1151 |
|
| 1152 |
.pill{
|
| 1153 |
display:inline-flex;align-items:center;justify-content:center;
|
| 1154 |
min-width:60px;padding: 6px 10px;border-radius: 999px;font-weight: 1000;
|
| 1155 |
+
border:1px solid rgba(15,23,42,.12);
|
| 1156 |
+
background: rgba(255,255,255,.70);
|
| 1157 |
+
color: var(--text) !important;
|
| 1158 |
}
|
| 1159 |
+
.p-high{ background: rgba(0,166,81,.12); border-color: rgba(0,166,81,.22); }
|
| 1160 |
+
.p-mid{ background: rgba(11,61,145,.10); border-color: rgba(11,61,145,.22); }
|
| 1161 |
+
.p-low{ background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.26); }
|
| 1162 |
+
.p-bad{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.22); }
|
| 1163 |
|
| 1164 |
/* Score bar */
|
| 1165 |
.bar{
|
| 1166 |
width: 100%; height: 10px; border-radius: 999px;
|
| 1167 |
+
background: rgba(15,23,42,.08); overflow: hidden;
|
| 1168 |
+
border:1px solid rgba(15,23,42,.10);
|
| 1169 |
margin: 10px 0 10px;
|
| 1170 |
}
|
| 1171 |
.fill{
|
|
|
|
| 1173 |
background: linear-gradient(90deg, var(--sgs-green), #4fb2ff, var(--sgs-blue));
|
| 1174 |
}
|
| 1175 |
|
| 1176 |
+
.summary{font-size:13px;line-height:1.55rem;margin: 6px 0 10px;color:var(--text) !important;}
|
| 1177 |
+
.section-title{font-size:13px;font-weight:1000;margin:10px 0 6px;color:var(--text) !important;}
|
| 1178 |
|
| 1179 |
.grid{display:grid;grid-template-columns: 1fr 1fr; gap: 14px;}
|
| 1180 |
@media(max-width:860px){
|
|
|
|
| 1185 |
.hero-title{font-size: 24px;}
|
| 1186 |
}
|
| 1187 |
|
| 1188 |
+
.list{margin:0;padding-left:18px;color:var(--text) !important;}
|
| 1189 |
+
.list li{margin:6px 0;line-height:1.30rem;color:var(--text) !important;}
|
| 1190 |
|
| 1191 |
+
/* Quotes / Evidence (LIGHT THEME updated) */
|
| 1192 |
.quotes{display:grid;gap:10px;margin-top:6px;}
|
| 1193 |
.quote{
|
| 1194 |
+
background: rgba(255,255,255,.78);
|
| 1195 |
+
border:1px solid rgba(15,23,42,.12);
|
| 1196 |
border-radius: 14px;
|
| 1197 |
padding: 10px 12px;
|
| 1198 |
+
color: var(--text) !important;
|
| 1199 |
font-size: 13px;
|
| 1200 |
line-height: 1.45rem;
|
| 1201 |
}
|
| 1202 |
.quote.muted{opacity:.85;}
|
| 1203 |
|
| 1204 |
+
/* Checklist (LIGHT THEME updated) */
|
| 1205 |
.checklist{display:grid;gap:8px;margin-top:6px;}
|
| 1206 |
.checkrow{
|
| 1207 |
display:grid; grid-template-columns: 1.1fr .4fr 1.5fr; gap:10px;
|
| 1208 |
padding:10px 12px; border-radius:14px;
|
| 1209 |
+
border:1px solid rgba(15,23,42,.14);
|
| 1210 |
+
background: rgba(255,255,255,.78);
|
| 1211 |
font-size:13px;
|
| 1212 |
position: relative;
|
| 1213 |
overflow: hidden;
|
|
|
|
| 1217 |
position:absolute;
|
| 1218 |
left:0; top:0; bottom:0;
|
| 1219 |
width:4px;
|
| 1220 |
+
background: rgba(15,23,42,.18);
|
| 1221 |
}
|
| 1222 |
+
.checkrow .req{font-weight:1000;color:var(--text) !important;}
|
| 1223 |
+
.checkrow .ev{color:rgba(11,18,32,0.90) !important;}
|
| 1224 |
.checkrow .st{font-weight:1000;text-align:center;letter-spacing:.4px;}
|
| 1225 |
|
| 1226 |
/* Status colors */
|
|
|
|
| 1228 |
.checkrow.partial:before{ background: rgba(245,158,11,.95); }
|
| 1229 |
.checkrow.miss:before{ background: rgba(239,68,68,.95); }
|
| 1230 |
|
| 1231 |
+
.checkrow.ok .st{ color: rgba(0,120,70,1) !important; text-shadow: none; }
|
| 1232 |
+
.checkrow.partial .st{ color: rgba(150,95,10,1) !important; }
|
| 1233 |
+
.checkrow.miss .st{ color: rgba(160,20,20,1) !important; }
|
| 1234 |
|
| 1235 |
/* Respect reduced motion */
|
| 1236 |
@media (prefers-reduced-motion: reduce){
|