Repository navigation
Expand file tree
/
Copy pathcard.css
More file actions
98 lines (98 loc) · 8.78 KB
/
Copy pathcard.css
File metadata and controls
98 lines (98 loc) · 8.78 KB
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
/* The card page inside Messages (/c/<token>): one helper reply as cards, nothing else. Small viewports (iMessage
extension, ~320–430 wide, short when collapsed), so everything is a notch more compact than in the app. */
@import "./genui-cards.css";
@import "./interview.css";
@import "./interview-card.css";
:root{
--page:#fff;--sheet:#fff;--chip:#fff;--hover:#efeee9;--line:#e7e5e0;--line2:#d9d6cf;
--ink:#1c1b19;--ink2:#44423d;--mute:#77746c;--faint:#a8a49b;
--abub:#f1f0ec;--accent:#2563eb;--warn:#d97706;--live:#16a34a;
--shadow:0 1px 2px rgba(28,27,25,.04),0 4px 16px rgba(28,27,25,.06);--lift:0 2px 6px rgba(28,27,25,.06),0 10px 28px rgba(28,27,25,.12);
font:15px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;
-webkit-text-size-adjust:100%;color-scheme:light dark
}
@media (prefers-color-scheme:dark){:root{
--page:#000;--sheet:#1c1c1e;--chip:#262628;--hover:#2a2a2d;--line:#2c2c2e;--line2:#3a3a3d;
--ink:#f1f0ee;--ink2:#cfcdc8;--mute:#98958e;--faint:#67655f;
--abub:#262628;--accent:#60a5fa;--warn:#f59e0b;--live:#22c55e;
--shadow:0 1px 2px rgba(0,0,0,.3),0 4px 16px rgba(0,0,0,.25);--lift:0 2px 6px rgba(0,0,0,.4),0 10px 28px rgba(0,0,0,.5)}}
*{box-sizing:border-box}
html,body{margin:0;background:var(--page)}
body{overflow-x:hidden}
button,input{font:inherit;color:inherit}button{background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cpage{max-width:560px;margin:0 auto;padding:10px 12px calc(14px + env(safe-area-inset-bottom))}
.chead{display:flex;align-items:center;gap:8px;min-height:28px;margin:0 2px 8px;font-size:13.5px}
.chead:empty{display:none}.chead b{font-weight:600}.chead span{color:var(--faint);font-size:12px}
.cav{width:24px;height:24px;object-fit:contain;flex:none}
.creply .gu-reply{max-width:none}
.creply .gu-stack{gap:8px;animation:cin .2s ease both}@keyframes cin{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
/* compact card sizes */
.creply .gu-say{max-width:100%;padding:10px 14px;border-radius:18px;font-size:15px}
.creply .gu-tip{font-size:13px;padding:0 4px}
.creply .gu-opts{gap:6px}
.creply .gu-opt{gap:11px;padding:10px 12px;border-radius:15px}
.creply .gu-rad{width:18px;height:18px}.creply .gu-opt.on .gu-rad{box-shadow:inset 0 0 0 5.5px var(--ink)}
.creply .gu-ot{gap:2px 6px}.creply .gu-ot b{font-size:14.5px}.creply .gu-ot>span{font-size:12.5px;line-height:1.35}
.creply .gu-pr{font-size:16px}
.creply .gu-btns{gap:6px}
.creply .gu-b{min-height:40px;padding:0 16px;font-size:14.5px}
.creply .gu-form{border-radius:16px;padding:2px 14px 12px}
.creply .gu-row{min-height:48px;font-size:14.5px}
.creply .gu-step button{width:32px;height:32px;font-size:17px}.creply .gu-step b{min-width:24px;font-size:16px}
.creply .gu-field{gap:6px;padding:10px 0;font-size:14.5px}
.creply .gu-field input{height:40px;border-radius:12px;padding:0 12px}
.creply .gu-chips{gap:6px}.creply .gu-chip{height:34px;padding:0 12px;font-size:13.5px}
.creply .gu-big{border-radius:16px;padding:12px 14px}.creply .gu-big b{font-size:28px}.creply .gu-big em{font-size:13px}
.creply .gu-bars{height:118px;gap:6px;padding:10px 10px 8px;border-radius:16px}.creply .gu-bar em{font-size:10.5px}.creply .gu-bar span{font-size:11px}
.creply .gu-rows{border-radius:16px;padding:2px 14px}.creply .gu-rows div{padding:9px 0;font-size:14px}
.creply .gu-mail{border-radius:16px}.creply .gu-mh{padding:8px 14px;font-size:13.5px}.creply .gu-mh span{width:52px}.creply .gu-mb{padding:10px 14px 12px;font-size:14.5px}
.creply .gu-file{gap:12px;padding:10px;border-radius:16px}.creply .gu-thumb{width:64px;border-radius:8px}.creply .gu-thumb .aico{width:36px;height:36px;border-radius:10px}
.creply .gu-meter{border-radius:16px;padding:12px 14px}.creply .gu-track{height:10px}
.creply .gu-sys{border-radius:16px;padding:12px 14px;gap:5px}.creply .gu-si{width:28px;height:28px}.creply .gu-si svg{width:15px;height:15px}
.creply .gu-sh b{font-size:15px}.creply .gu-sl{font-size:14.5px}.creply .gu-sys .gu-btns{gap:6px}
.creply .gu-sys>.gu-btns,.creply .gu-sys>.gu-pdone,.creply .gu-sys>.gu-pconf,.creply .gu-sys>.gu-pgone{margin-top:6px}
.creply .gu-pconf{padding:10px 12px;border-radius:14px;font-size:14.5px}.creply .gu-pconf p{margin-bottom:8px}
.creply .pl-list{gap:5px}.creply .pl-item{padding:9px 12px;gap:10px;border-radius:14px;min-height:46px}.creply .pl-box{width:20px;height:20px;border-radius:6px}
.creply .pl-t b{font-size:14.5px}.creply .pl-l{font-size:12.5px}.creply .pl-h{font-size:11.5px}.creply .gu-plan .gu-b{padding-left:10px;padding-right:10px}
@media (max-width:340px){.cpage{padding-left:10px;padding-right:10px}.creply .gu-opt{padding:9px 10px;gap:9px}.creply .gu-pr{font-size:15px}.creply .gu-b{padding:0 14px}}
/* loading / gone / sent */
.cload{display:inline-flex;gap:4px;padding:13px 16px;border-radius:18px;background:var(--abub)}
.cload i{width:7px;height:7px;border-radius:50%;background:var(--faint);animation:cb 1s infinite}.cload i:nth-child(2){animation-delay:.15s}.cload i:nth-child(3){animation-delay:.3s}
@keyframes cb{0%,60%,100%{opacity:.3}30%{opacity:1}}
.cgone{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:18px;background:var(--abub)}.cgone span{color:var(--mute);font-size:14px}
.cnote{display:none;align-items:center;justify-content:flex-start;gap:6px;margin:12px 2px 0;padding:0;color:var(--mute);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.cnote.on{display:flex}.cnote b{color:var(--live);font-weight:600;white-space:nowrap}.cnote.error{color:var(--warn)}
.cpager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:44px;border-top:1px solid var(--line);padding-top:4px}
.cpager[hidden]{display:none}.cpager button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:76px;min-height:40px;padding:0 10px;border-radius:10px;font-size:14px;font-weight:550;background:var(--hover)}
.cpager button:disabled{background:transparent;color:var(--faint);cursor:default}.cpager button:not(:disabled):active{background:var(--line2)}.cpager button>span[aria-hidden]{font:24px/1 system-ui;font-weight:300}.cpager-center>[data-cposition]{color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:4px;min-width:64px}
/* One natural document scroll in a full page. Long approval text must not
introduce a second scroll container inside it. */
.creply .gu-cfbody{max-height:none;overflow:visible}
/* Short inline Messages view: explicit tap navigation owns the viewport.
The original renderer DOM and form values stay intact on every page. */
html:has(body.compact){height:100%;overflow:hidden}
body.compact{position:fixed;inset:0;width:100%;height:100%;overflow:hidden}
.compact .cpage{height:100vh;height:100dvh;max-width:560px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.compact .chead{display:none}
.compact .creply{flex:1;min-height:0;overflow:hidden;overflow-anchor:none;scroll-behavior:auto;touch-action:pan-y}
.compact .creply[data-more=true]{-webkit-mask-image:linear-gradient(#000 0%,#000 calc(100% - 12px),transparent);mask-image:linear-gradient(#000 0%,#000 calc(100% - 12px),transparent)}
.cpager-center{min-width:0;flex:1;text-align:center;display:flex;align-items:center;justify-content:center;min-height:40px}
.compact .cpager .cnote{margin:0;justify-content:center;text-align:center;font-size:11px;line-height:1.25;gap:3px;flex-wrap:wrap}
.compact .cpager-center:has(.cnote.on)>[data-cposition]{display:none}
.compact [data-cpage-hidden]{display:none!important}
.compact .gu-tip{font-size:12px;line-height:1.35}
.compact .cnote{flex:none;margin:0 2px;font-size:12px}
.compact .cpage>.cnote.sent{display:none}
.compact .gu-stack{gap:10px;animation:none}
.compact .gu-say{background:none;padding:0 2px 2px;border-radius:0;font-size:13px;line-height:1.35}
.compact .gu-rows{border-radius:12px;padding:0 12px;box-shadow:inset 0 0 0 1px var(--line)}
.compact .gu-rows div{padding:8px 0;font-size:13px;line-height:1.35}
.compact .gu-rows span{flex:1;max-width:none}.compact .gu-rows b{flex:0 0 auto;max-width:35%}
.compact .gu-b{padding-left:12px;padding-right:12px;font-size:13.5px}
.compact .gu-big{border-radius:12px;padding:10px 12px;box-shadow:inset 0 0 0 1px var(--line)}
.compact .gu-big b{font-size:25px}.compact .gu-big span,.compact .gu-big em{font-size:12px}
.compact .gu-form,.compact .gu-opt,.compact .gu-sys{border-radius:12px}
.compact .gu-field input{font-size:16px} /* do not zoom the iPhone while editing */
.cspin{width:14px;height:14px;border-radius:50%;border:2px solid var(--line2);border-top-color:var(--ink2);animation:cs .8s linear infinite}@keyframes cs{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.creply .gu-stack,.cspin{animation:none}}