sidepanel.css 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204
  1. /* ============================================================
  2. MultiPage Automation — Side Panel
  3. Design: Swiss Modernism + Developer Tool
  4. Font: Inter (UI) + JetBrains Mono (code)
  5. Themes: Light (default) + Dark (toggle)
  6. ============================================================ */
  7. /* ---- Light Theme (default) ---- */
  8. :root {
  9. --bg-base: #ffffff;
  10. --bg-surface: #f7f8fa;
  11. --bg-elevated: #eef0f4;
  12. --bg-hover: #e4e7ec;
  13. --bg-active: #dce0e8;
  14. --border: #d8dce3;
  15. --border-subtle: #e8ecf1;
  16. --text-primary: #1a1d24;
  17. --text-secondary: #5c6370;
  18. --text-muted: #9ca3af;
  19. --blue: #2563eb;
  20. --blue-soft: rgba(37, 99, 235, 0.08);
  21. --blue-glow: rgba(37, 99, 235, 0.12);
  22. --green: #16a34a;
  23. --green-soft: rgba(22, 163, 74, 0.08);
  24. --orange: #ea580c;
  25. --orange-soft: rgba(234, 88, 12, 0.08);
  26. --red: #dc2626;
  27. --red-soft: rgba(220, 38, 38, 0.08);
  28. --cyan: #0891b2;
  29. --purple: #7c3aed;
  30. --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  31. --shadow-md: 0 2px 6px rgba(0,0,0,0.06);
  32. --radius-sm: 6px;
  33. --radius-md: 8px;
  34. --transition: 150ms ease;
  35. }
  36. /* ---- Dark Theme ---- */
  37. [data-theme="dark"] {
  38. --bg-base: #0f1117;
  39. --bg-surface: #181a21;
  40. --bg-elevated: #21242d;
  41. --bg-hover: #2a2e38;
  42. --bg-active: #323844;
  43. --border: #2a2e38;
  44. --border-subtle: #21242d;
  45. --text-primary: #e4e6eb;
  46. --text-secondary: #8b919e;
  47. --text-muted: #565c6a;
  48. --blue: #3b82f6;
  49. --blue-soft: rgba(59, 130, 246, 0.12);
  50. --blue-glow: rgba(59, 130, 246, 0.18);
  51. --green: #22c55e;
  52. --green-soft: rgba(34, 197, 94, 0.12);
  53. --orange: #f97316;
  54. --orange-soft: rgba(249, 115, 22, 0.12);
  55. --red: #ef4444;
  56. --red-soft: rgba(239, 68, 68, 0.12);
  57. --cyan: #06b6d4;
  58. --purple: #a78bfa;
  59. --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  60. --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
  61. }
  62. * { margin: 0; padding: 0; box-sizing: border-box; }
  63. [hidden] {
  64. display: none !important;
  65. }
  66. body {
  67. font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  68. font-size: 14px;
  69. color: var(--text-primary);
  70. background: var(--bg-base);
  71. padding: 12px;
  72. width: 100%;
  73. min-height: 100vh;
  74. -webkit-font-smoothing: antialiased;
  75. transition: background var(--transition), color var(--transition);
  76. }
  77. /* ============================================================
  78. Header
  79. ============================================================ */
  80. header {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. position: sticky;
  85. top: 0;
  86. z-index: 200;
  87. margin-bottom: 14px;
  88. padding-top: 4px;
  89. padding-bottom: 12px;
  90. background: color-mix(in srgb, var(--bg-base) 94%, transparent);
  91. backdrop-filter: blur(8px);
  92. border-bottom: 1px solid var(--border-subtle);
  93. }
  94. .header-left {
  95. display: flex;
  96. align-items: center;
  97. gap: 8px;
  98. min-width: 0;
  99. flex: 1;
  100. }
  101. .header-left svg { color: var(--blue); }
  102. .header-version-block {
  103. min-width: 0;
  104. display: flex;
  105. flex-direction: column;
  106. gap: 2px;
  107. }
  108. .header-version-main {
  109. min-width: 0;
  110. display: flex;
  111. align-items: baseline;
  112. gap: 8px;
  113. }
  114. .header-version-title {
  115. font-size: 15px;
  116. font-weight: 700;
  117. letter-spacing: -0.02em;
  118. color: var(--text-primary);
  119. min-width: 0;
  120. flex: 0 1 auto;
  121. white-space: nowrap;
  122. overflow: hidden;
  123. text-overflow: ellipsis;
  124. }
  125. .header-version-title.is-version-label { color: var(--blue); }
  126. .header-version-title.is-update-available { color: var(--orange); }
  127. .header-version-title.is-check-failed { color: var(--text-primary); }
  128. .header-version-meta {
  129. min-width: 0;
  130. font-size: 12px;
  131. color: var(--text-secondary);
  132. white-space: nowrap;
  133. overflow: hidden;
  134. text-overflow: ellipsis;
  135. }
  136. .header-version-meta[hidden] {
  137. display: none !important;
  138. }
  139. .header-link-btn {
  140. padding: 0;
  141. border: none;
  142. background: transparent;
  143. color: var(--blue);
  144. font: inherit;
  145. font-size: 12px;
  146. font-weight: 600;
  147. cursor: pointer;
  148. flex-shrink: 0;
  149. }
  150. .header-link-btn:hover {
  151. color: var(--text-primary);
  152. text-decoration: underline;
  153. }
  154. .header-btns {
  155. display: flex;
  156. align-items: center;
  157. gap: 4px;
  158. flex-shrink: 0;
  159. }
  160. /* ============================================================
  161. Theme Toggle
  162. ============================================================ */
  163. .theme-toggle {
  164. width: 30px;
  165. height: 30px;
  166. border: none;
  167. background: transparent;
  168. color: var(--text-muted);
  169. border-radius: var(--radius-sm);
  170. cursor: pointer;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. transition: all var(--transition);
  175. }
  176. .theme-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }
  177. .theme-toggle .icon-moon { display: block; }
  178. .theme-toggle .icon-sun { display: none; }
  179. [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
  180. [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
  181. .header-menu {
  182. position: relative;
  183. display: flex;
  184. align-items: center;
  185. }
  186. .header-config-btn {
  187. min-width: 0;
  188. padding-inline: 10px;
  189. }
  190. .header-config-btn[aria-expanded="true"] {
  191. background: var(--bg-hover);
  192. color: var(--text-primary);
  193. }
  194. .header-dropdown {
  195. position: absolute;
  196. top: calc(100% + 6px);
  197. right: 0;
  198. min-width: 120px;
  199. padding: 6px;
  200. display: flex;
  201. flex-direction: column;
  202. gap: 4px;
  203. background: var(--bg-base);
  204. border: 1px solid var(--border);
  205. border-radius: var(--radius-sm);
  206. box-shadow: var(--shadow-md);
  207. z-index: 1300;
  208. }
  209. .header-dropdown[hidden] {
  210. display: none !important;
  211. }
  212. .header-dropdown-item {
  213. width: 100%;
  214. padding: 8px 10px;
  215. border: none;
  216. border-radius: var(--radius-sm);
  217. background: transparent;
  218. color: var(--text-secondary);
  219. font: inherit;
  220. font-size: 12px;
  221. font-weight: 600;
  222. text-align: left;
  223. cursor: pointer;
  224. transition: background var(--transition), color var(--transition);
  225. }
  226. .header-dropdown-item:hover:not(:disabled) {
  227. background: var(--bg-hover);
  228. color: var(--text-primary);
  229. }
  230. .header-dropdown-item:disabled {
  231. color: var(--text-muted);
  232. cursor: not-allowed;
  233. }
  234. /* ============================================================
  235. Buttons
  236. ============================================================ */
  237. .btn {
  238. display: inline-flex;
  239. align-items: center;
  240. gap: 6px;
  241. padding: 7px 14px;
  242. font-family: inherit;
  243. font-size: 13px;
  244. font-weight: 600;
  245. border: 1px solid transparent;
  246. border-radius: var(--radius-sm);
  247. cursor: pointer;
  248. transition: all var(--transition);
  249. white-space: nowrap;
  250. }
  251. .btn-primary {
  252. background: var(--blue);
  253. color: #fff;
  254. }
  255. .btn-primary:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--blue-glow); }
  256. .btn-success {
  257. background: var(--green);
  258. color: #fff;
  259. }
  260. .btn-success:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--green-soft); }
  261. .btn-danger {
  262. background: var(--red);
  263. color: #fff;
  264. }
  265. .btn-danger:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--red-soft); }
  266. .run-group {
  267. display: flex;
  268. align-items: center;
  269. gap: 4px;
  270. }
  271. .run-count-input {
  272. width: 42px;
  273. padding: 6px 4px;
  274. text-align: center;
  275. background: var(--bg-base);
  276. border: 1px solid var(--border);
  277. border-radius: var(--radius-sm);
  278. color: var(--text-primary);
  279. font-family: 'JetBrains Mono', monospace;
  280. font-size: 13px;
  281. font-weight: 600;
  282. outline: none;
  283. }
  284. .run-count-input:focus { border-color: var(--blue); }
  285. .run-count-input::-webkit-inner-spin-button { opacity: 0.5; }
  286. .btn-success:disabled, .btn-primary:disabled, .btn-danger:disabled { background: var(--bg-elevated); color: var(--text-muted); cursor: not-allowed; box-shadow: none; }
  287. .run-count-input:disabled { opacity: 0.5; cursor: not-allowed; }
  288. .btn-ghost {
  289. background: transparent;
  290. color: var(--text-secondary);
  291. padding: 6px;
  292. border-radius: var(--radius-sm);
  293. }
  294. .btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
  295. .btn-outline {
  296. background: transparent;
  297. border: 1px solid var(--border);
  298. color: var(--text-secondary);
  299. }
  300. .btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
  301. .btn-sm { padding: 5px 12px; font-size: 12px; }
  302. .btn-xs { padding: 4px 10px; font-size: 11px; }
  303. /* ============================================================
  304. Extension Updates
  305. ============================================================ */
  306. #update-section { margin-bottom: 14px; }
  307. .update-card {
  308. background: var(--bg-surface);
  309. border: 1px solid var(--border);
  310. border-radius: var(--radius-md);
  311. padding: 12px 14px;
  312. display: flex;
  313. flex-direction: column;
  314. gap: 12px;
  315. box-shadow: var(--shadow-sm);
  316. }
  317. .update-card-header {
  318. display: flex;
  319. flex-wrap: wrap;
  320. align-items: flex-start;
  321. justify-content: space-between;
  322. gap: 12px;
  323. }
  324. .update-card-copy {
  325. min-width: 0;
  326. display: flex;
  327. flex-direction: column;
  328. gap: 4px;
  329. }
  330. .update-card-version {
  331. font-size: 14px;
  332. font-weight: 700;
  333. color: var(--orange);
  334. }
  335. .update-card-summary {
  336. font-size: 12px;
  337. color: var(--text-secondary);
  338. line-height: 1.6;
  339. }
  340. .update-release-list {
  341. display: flex;
  342. flex-direction: column;
  343. gap: 10px;
  344. }
  345. .update-release-item {
  346. padding-top: 10px;
  347. border-top: 1px solid var(--border-subtle);
  348. }
  349. .update-release-item:first-child {
  350. padding-top: 0;
  351. border-top: none;
  352. }
  353. .update-release-head {
  354. display: flex;
  355. justify-content: space-between;
  356. align-items: baseline;
  357. gap: 8px;
  358. margin-bottom: 6px;
  359. }
  360. .update-release-title-row {
  361. display: flex;
  362. align-items: baseline;
  363. gap: 8px;
  364. min-width: 0;
  365. }
  366. .update-release-version {
  367. font-size: 13px;
  368. font-weight: 700;
  369. color: var(--text-primary);
  370. }
  371. .update-release-name {
  372. min-width: 0;
  373. font-size: 12px;
  374. color: var(--text-secondary);
  375. white-space: nowrap;
  376. overflow: hidden;
  377. text-overflow: ellipsis;
  378. }
  379. .update-release-date {
  380. flex-shrink: 0;
  381. font-family: 'JetBrains Mono', 'Consolas', monospace;
  382. font-size: 11px;
  383. color: var(--text-muted);
  384. }
  385. .update-release-notes {
  386. margin: 0;
  387. padding-left: 18px;
  388. color: var(--text-secondary);
  389. font-size: 12px;
  390. line-height: 1.55;
  391. }
  392. .update-release-notes li + li { margin-top: 4px; }
  393. .update-release-empty {
  394. font-size: 12px;
  395. color: var(--text-muted);
  396. }
  397. /* ============================================================
  398. Data Card
  399. ============================================================ */
  400. #data-section { margin-bottom: 14px; }
  401. .data-card {
  402. background: var(--bg-surface);
  403. border: 1px solid var(--border);
  404. border-radius: var(--radius-md);
  405. padding: 12px 14px;
  406. display: flex;
  407. flex-direction: column;
  408. gap: 9px;
  409. box-shadow: var(--shadow-sm);
  410. }
  411. .data-card.is-locked {
  412. position: relative;
  413. overflow: hidden;
  414. }
  415. .data-card.is-locked::after {
  416. content: '';
  417. position: absolute;
  418. inset: 0;
  419. border-radius: inherit;
  420. background: color-mix(in srgb, var(--bg-base) 18%, transparent);
  421. pointer-events: none;
  422. }
  423. .section-mini-header {
  424. display: flex;
  425. align-items: center;
  426. justify-content: space-between;
  427. gap: 8px;
  428. }
  429. .section-mini-copy {
  430. min-width: 0;
  431. display: flex;
  432. flex-direction: column;
  433. gap: 2px;
  434. }
  435. .section-mini-copy .section-label {
  436. font-size: 14px;
  437. letter-spacing: 0.04em;
  438. }
  439. .section-mini-actions {
  440. display: flex;
  441. align-items: center;
  442. gap: 6px;
  443. flex-wrap: wrap;
  444. justify-content: flex-end;
  445. }
  446. .data-row {
  447. display: flex;
  448. align-items: center;
  449. gap: 8px;
  450. }
  451. .data-check-row {
  452. align-items: flex-start;
  453. }
  454. .data-inline {
  455. display: flex;
  456. align-items: center;
  457. gap: 8px;
  458. flex: 1;
  459. min-width: 0;
  460. }
  461. .data-value-actions {
  462. justify-content: space-between;
  463. }
  464. .input-with-icon {
  465. position: relative;
  466. flex: 1;
  467. min-width: 0;
  468. display: flex;
  469. align-items: center;
  470. }
  471. .data-label {
  472. width: 56px;
  473. font-size: 11px;
  474. font-weight: 700;
  475. color: var(--text-muted);
  476. text-transform: uppercase;
  477. letter-spacing: 0.06em;
  478. flex-shrink: 0;
  479. }
  480. .data-value {
  481. font-size: 13px;
  482. color: var(--text-muted);
  483. min-width: 0;
  484. }
  485. .data-value-fill {
  486. flex: 1;
  487. }
  488. .data-value.has-value { color: var(--text-primary); }
  489. .mono {
  490. font-family: 'JetBrains Mono', 'Consolas', monospace;
  491. font-size: 12px;
  492. }
  493. .truncate {
  494. overflow: hidden;
  495. text-overflow: ellipsis;
  496. white-space: nowrap;
  497. }
  498. .data-input {
  499. flex: 1;
  500. padding: 7px 10px;
  501. background: var(--bg-base);
  502. border: 1px solid var(--border);
  503. border-radius: var(--radius-sm);
  504. color: var(--text-primary);
  505. font-family: 'JetBrains Mono', monospace;
  506. font-size: 13px;
  507. outline: none;
  508. transition: border-color var(--transition), box-shadow var(--transition);
  509. min-width: 0;
  510. }
  511. .data-input::placeholder { color: var(--text-muted); }
  512. .data-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  513. .data-textarea {
  514. width: 100%;
  515. min-height: 88px;
  516. resize: vertical;
  517. padding: 8px 10px;
  518. background: var(--bg-base);
  519. border: 1px solid var(--border);
  520. border-radius: var(--radius-sm);
  521. color: var(--text-primary);
  522. font-family: 'JetBrains Mono', monospace;
  523. font-size: 12px;
  524. outline: none;
  525. transition: border-color var(--transition), box-shadow var(--transition);
  526. }
  527. .data-textarea::placeholder { color: var(--text-muted); }
  528. .data-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  529. .data-input-with-icon {
  530. padding-right: 38px;
  531. }
  532. .input-icon-btn {
  533. position: absolute;
  534. right: 8px;
  535. width: 24px;
  536. height: 24px;
  537. padding: 0;
  538. display: inline-flex;
  539. align-items: center;
  540. justify-content: center;
  541. border: none;
  542. background: transparent;
  543. color: var(--text-muted);
  544. cursor: pointer;
  545. border-radius: 999px;
  546. transition: color var(--transition), background var(--transition);
  547. }
  548. .input-icon-btn:hover {
  549. color: var(--text-primary);
  550. background: var(--bg-hover);
  551. }
  552. .choice-group {
  553. flex: 1;
  554. min-width: 0;
  555. display: inline-flex;
  556. align-items: center;
  557. gap: 6px;
  558. }
  559. .choice-btn {
  560. flex: 1;
  561. min-width: 0;
  562. padding: 7px 10px;
  563. border: 1px solid var(--border);
  564. border-radius: var(--radius-sm);
  565. background: var(--bg-base);
  566. color: var(--text-secondary);
  567. font-size: 12px;
  568. font-weight: 600;
  569. cursor: pointer;
  570. transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  571. }
  572. .choice-btn:hover {
  573. border-color: var(--blue);
  574. color: var(--blue);
  575. background: var(--blue-soft);
  576. }
  577. .choice-btn.is-active {
  578. border-color: var(--blue);
  579. color: var(--blue);
  580. background: var(--blue-soft);
  581. box-shadow: 0 0 0 1px var(--blue-glow);
  582. }
  583. .choice-btn:disabled {
  584. border-color: var(--border);
  585. background: var(--bg-elevated);
  586. color: var(--text-muted);
  587. cursor: not-allowed;
  588. box-shadow: none;
  589. }
  590. .choice-btn:disabled:hover {
  591. border-color: var(--border);
  592. background: var(--bg-elevated);
  593. color: var(--text-muted);
  594. }
  595. #btn-fetch-email,
  596. #btn-save-settings {
  597. padding-inline: 10px;
  598. flex-shrink: 0;
  599. }
  600. .data-inline-btn {
  601. flex-shrink: 0;
  602. min-width: 56px;
  603. justify-content: center;
  604. }
  605. .hotmail-card {
  606. margin-top: 10px;
  607. }
  608. .luckmail-card {
  609. margin-top: 10px;
  610. }
  611. .luckmail-manager-card {
  612. border: 1px solid var(--border-subtle);
  613. border-radius: var(--radius-sm);
  614. background: color-mix(in srgb, var(--bg-base) 84%, transparent);
  615. padding: 10px;
  616. display: flex;
  617. flex-direction: column;
  618. gap: 10px;
  619. }
  620. .luckmail-summary {
  621. color: var(--text-secondary);
  622. font-size: 12px;
  623. line-height: 1.6;
  624. }
  625. .luckmail-toolbar {
  626. display: flex;
  627. gap: 8px;
  628. align-items: center;
  629. }
  630. .luckmail-search {
  631. flex: 1;
  632. }
  633. .luckmail-filter {
  634. flex: 0 0 130px;
  635. }
  636. .luckmail-bulkbar {
  637. display: flex;
  638. gap: 8px;
  639. align-items: center;
  640. justify-content: space-between;
  641. flex-wrap: wrap;
  642. }
  643. .luckmail-select-all {
  644. flex: 0 0 auto;
  645. }
  646. .luckmail-bulk-actions {
  647. display: flex;
  648. gap: 6px;
  649. flex-wrap: wrap;
  650. }
  651. .luckmail-list {
  652. display: flex;
  653. flex-direction: column;
  654. gap: 8px;
  655. max-height: 360px;
  656. overflow: auto;
  657. padding-right: 4px;
  658. }
  659. .luckmail-item {
  660. border: 1px solid var(--border);
  661. background: var(--bg-base);
  662. border-radius: var(--radius-sm);
  663. padding: 10px;
  664. display: grid;
  665. grid-template-columns: auto minmax(0, 1fr) auto;
  666. gap: 10px;
  667. align-items: flex-start;
  668. }
  669. .luckmail-item.is-current {
  670. border-color: var(--blue);
  671. box-shadow: 0 0 0 1px var(--blue-glow);
  672. }
  673. .luckmail-item-check {
  674. margin-top: 4px;
  675. }
  676. .luckmail-item-main {
  677. min-width: 0;
  678. display: flex;
  679. flex-direction: column;
  680. gap: 6px;
  681. }
  682. .luckmail-item-email-row {
  683. display: flex;
  684. align-items: center;
  685. gap: 6px;
  686. }
  687. .luckmail-item-email {
  688. font-weight: 600;
  689. color: var(--text-primary);
  690. word-break: break-all;
  691. }
  692. .luckmail-item-meta,
  693. .luckmail-item-details {
  694. display: flex;
  695. flex-wrap: wrap;
  696. gap: 6px;
  697. }
  698. .luckmail-item-details {
  699. color: var(--text-secondary);
  700. font-size: 12px;
  701. }
  702. .luckmail-item-actions {
  703. display: flex;
  704. gap: 6px;
  705. flex-wrap: wrap;
  706. justify-content: flex-end;
  707. }
  708. .luckmail-tag {
  709. display: inline-flex;
  710. align-items: center;
  711. padding: 2px 8px;
  712. border-radius: 999px;
  713. font-size: 11px;
  714. background: var(--bg-surface);
  715. color: var(--text-secondary);
  716. }
  717. .luckmail-tag.used {
  718. background: var(--orange-soft);
  719. color: var(--orange);
  720. }
  721. .luckmail-tag.active {
  722. background: var(--green-soft);
  723. color: var(--green);
  724. }
  725. .luckmail-tag.current {
  726. background: var(--blue-soft);
  727. color: var(--blue);
  728. }
  729. .luckmail-tag.disabled {
  730. background: var(--red-soft);
  731. color: var(--red);
  732. }
  733. .luckmail-empty {
  734. color: var(--text-muted);
  735. font-size: 12px;
  736. border: 1px dashed var(--border);
  737. border-radius: var(--radius-sm);
  738. padding: 12px;
  739. text-align: center;
  740. }
  741. .hotmail-actions-row .data-label {
  742. visibility: hidden;
  743. }
  744. .hotmail-import-row {
  745. align-items: flex-start;
  746. }
  747. .hotmail-import-box {
  748. flex: 1;
  749. display: flex;
  750. flex-direction: column;
  751. gap: 8px;
  752. }
  753. .hotmail-list-shell {
  754. border: 1px solid var(--border-subtle);
  755. border-radius: var(--radius-sm);
  756. background: color-mix(in srgb, var(--bg-base) 82%, transparent);
  757. overflow-y: auto;
  758. overflow-x: hidden;
  759. padding: 2px;
  760. transition: max-height var(--transition), border-color var(--transition), box-shadow var(--transition);
  761. }
  762. .hotmail-list-shell.is-collapsed {
  763. max-height: 236px;
  764. }
  765. .hotmail-list-shell.is-expanded {
  766. max-height: 440px;
  767. }
  768. .hotmail-list-shell::-webkit-scrollbar {
  769. width: 8px;
  770. }
  771. .hotmail-list-shell::-webkit-scrollbar-track {
  772. background: transparent;
  773. }
  774. .hotmail-list-shell::-webkit-scrollbar-thumb {
  775. background: var(--border);
  776. border-radius: 999px;
  777. }
  778. .hotmail-list-shell::-webkit-scrollbar-thumb:hover {
  779. background: var(--text-muted);
  780. }
  781. .hotmail-accounts-list {
  782. display: flex;
  783. flex-direction: column;
  784. gap: 8px;
  785. padding-right: 4px;
  786. }
  787. .hotmail-account-item {
  788. border: 1px solid var(--border);
  789. background: var(--bg-base);
  790. border-radius: var(--radius-sm);
  791. padding: 10px;
  792. display: flex;
  793. flex-direction: column;
  794. gap: 8px;
  795. }
  796. .hotmail-account-item.is-current {
  797. border-color: var(--blue);
  798. box-shadow: 0 0 0 1px var(--blue-glow);
  799. }
  800. .hotmail-account-top {
  801. display: flex;
  802. align-items: center;
  803. justify-content: space-between;
  804. gap: 8px;
  805. }
  806. .hotmail-account-title-row {
  807. min-width: 0;
  808. display: flex;
  809. align-items: center;
  810. gap: 6px;
  811. }
  812. .hotmail-account-email {
  813. font-weight: 600;
  814. color: var(--text-primary);
  815. word-break: break-all;
  816. }
  817. .hotmail-copy-btn {
  818. width: 24px;
  819. height: 24px;
  820. flex: 0 0 auto;
  821. display: inline-flex;
  822. align-items: center;
  823. justify-content: center;
  824. border: none;
  825. border-radius: 999px;
  826. background: transparent;
  827. color: var(--text-muted);
  828. cursor: pointer;
  829. transition: background var(--transition), color var(--transition), transform var(--transition);
  830. }
  831. .hotmail-copy-btn:hover {
  832. background: var(--bg-hover);
  833. color: var(--text-primary);
  834. }
  835. .hotmail-copy-btn:active {
  836. transform: scale(0.96);
  837. }
  838. .hotmail-status-chip {
  839. padding: 2px 8px;
  840. border-radius: 999px;
  841. font-size: 11px;
  842. font-weight: 700;
  843. text-transform: uppercase;
  844. letter-spacing: 0.02em;
  845. }
  846. .hotmail-status-chip.status-authorized {
  847. background: var(--green-soft);
  848. color: var(--green);
  849. }
  850. .hotmail-status-chip.status-used {
  851. background: var(--orange-soft);
  852. color: var(--orange);
  853. }
  854. .hotmail-status-chip.status-disabled {
  855. background: var(--bg-surface);
  856. color: var(--text-secondary);
  857. }
  858. .hotmail-status-chip.status-pending {
  859. background: var(--orange-soft);
  860. color: var(--orange);
  861. }
  862. .hotmail-status-chip.status-error {
  863. background: var(--red-soft);
  864. color: var(--red);
  865. }
  866. .hotmail-account-meta {
  867. display: grid;
  868. grid-template-columns: repeat(2, minmax(0, 1fr));
  869. gap: 6px 10px;
  870. color: var(--text-secondary);
  871. font-size: 12px;
  872. }
  873. .hotmail-account-error {
  874. font-size: 12px;
  875. color: var(--red);
  876. word-break: break-word;
  877. }
  878. .hotmail-account-actions {
  879. display: flex;
  880. flex-wrap: wrap;
  881. gap: 6px;
  882. }
  883. .hotmail-empty {
  884. color: var(--text-muted);
  885. font-size: 12px;
  886. border: 1px dashed var(--border);
  887. border-radius: var(--radius-sm);
  888. padding: 10px;
  889. text-align: center;
  890. }
  891. .icloud-card {
  892. border: 1px solid var(--border-subtle);
  893. border-radius: var(--radius-sm);
  894. background: color-mix(in srgb, var(--bg-base) 84%, transparent);
  895. padding: 10px;
  896. display: flex;
  897. flex-direction: column;
  898. gap: 10px;
  899. }
  900. .icloud-summary {
  901. color: var(--text-secondary);
  902. font-size: 12px;
  903. line-height: 1.6;
  904. }
  905. .icloud-login-help {
  906. display: flex;
  907. align-items: center;
  908. justify-content: space-between;
  909. gap: 10px;
  910. border: 1px solid color-mix(in srgb, var(--orange) 26%, var(--border));
  911. background: color-mix(in srgb, var(--orange-soft) 62%, var(--bg-base));
  912. border-radius: var(--radius-sm);
  913. padding: 10px;
  914. }
  915. .icloud-login-help-main {
  916. min-width: 0;
  917. display: flex;
  918. flex-direction: column;
  919. gap: 4px;
  920. }
  921. .icloud-login-help-title {
  922. color: var(--text-primary);
  923. font-weight: 700;
  924. font-size: 13px;
  925. }
  926. .icloud-login-help-text {
  927. color: var(--text-secondary);
  928. font-size: 12px;
  929. line-height: 1.5;
  930. }
  931. .icloud-toolbar {
  932. display: flex;
  933. gap: 8px;
  934. align-items: center;
  935. }
  936. .icloud-search {
  937. flex: 1;
  938. }
  939. .icloud-filter {
  940. flex: 0 0 130px;
  941. }
  942. .icloud-bulkbar {
  943. display: flex;
  944. gap: 8px;
  945. align-items: center;
  946. justify-content: space-between;
  947. flex-wrap: wrap;
  948. }
  949. .icloud-select-all {
  950. flex: 0 0 auto;
  951. }
  952. .icloud-bulk-actions {
  953. display: flex;
  954. gap: 6px;
  955. flex-wrap: wrap;
  956. }
  957. .icloud-list {
  958. display: flex;
  959. flex-direction: column;
  960. gap: 8px;
  961. max-height: 360px;
  962. overflow: auto;
  963. padding-right: 4px;
  964. }
  965. .icloud-item {
  966. border: 1px solid var(--border);
  967. background: var(--bg-base);
  968. border-radius: var(--radius-sm);
  969. padding: 10px;
  970. display: grid;
  971. grid-template-columns: auto minmax(0, 1fr) auto;
  972. gap: 10px;
  973. align-items: flex-start;
  974. }
  975. .icloud-item-check {
  976. margin-top: 4px;
  977. }
  978. .icloud-item-main {
  979. min-width: 0;
  980. display: flex;
  981. flex-direction: column;
  982. gap: 6px;
  983. }
  984. .icloud-item-actions {
  985. display: flex;
  986. gap: 6px;
  987. flex-wrap: wrap;
  988. justify-content: flex-end;
  989. }
  990. .icloud-item-email {
  991. font-weight: 600;
  992. color: var(--text-primary);
  993. word-break: break-all;
  994. }
  995. .icloud-item-meta {
  996. display: flex;
  997. flex-wrap: wrap;
  998. gap: 6px;
  999. }
  1000. .icloud-tag {
  1001. display: inline-flex;
  1002. align-items: center;
  1003. padding: 2px 8px;
  1004. border-radius: 999px;
  1005. font-size: 11px;
  1006. background: var(--bg-surface);
  1007. color: var(--text-secondary);
  1008. }
  1009. .icloud-tag.used {
  1010. background: var(--orange-soft);
  1011. color: var(--orange);
  1012. }
  1013. .icloud-tag.active {
  1014. background: var(--green-soft);
  1015. color: var(--green);
  1016. }
  1017. .icloud-empty {
  1018. color: var(--text-muted);
  1019. font-size: 12px;
  1020. border: 1px dashed var(--border);
  1021. border-radius: var(--radius-sm);
  1022. padding: 12px;
  1023. text-align: center;
  1024. }
  1025. .data-select {
  1026. flex: 1;
  1027. padding: 7px 10px;
  1028. background: var(--bg-base);
  1029. border: 1px solid var(--border);
  1030. border-radius: var(--radius-sm);
  1031. color: var(--text-primary);
  1032. font-family: inherit;
  1033. font-size: 13px;
  1034. outline: none;
  1035. cursor: pointer;
  1036. transition: border-color var(--transition);
  1037. min-width: 0;
  1038. }
  1039. .data-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  1040. [data-theme="dark"] .data-select { color-scheme: dark; }
  1041. .data-check {
  1042. display: flex;
  1043. align-items: flex-start;
  1044. gap: 8px;
  1045. flex: 1;
  1046. min-width: 0;
  1047. font-size: 12px;
  1048. line-height: 1.5;
  1049. color: var(--text-secondary);
  1050. cursor: pointer;
  1051. }
  1052. .data-check input[type="checkbox"] {
  1053. margin-top: 2px;
  1054. accent-color: var(--blue);
  1055. cursor: pointer;
  1056. flex-shrink: 0;
  1057. }
  1058. .fallback-inline {
  1059. justify-content: space-between;
  1060. align-items: center;
  1061. }
  1062. .fallback-thread-interval {
  1063. margin-left: auto;
  1064. }
  1065. .timing-field {
  1066. display: flex;
  1067. align-items: center;
  1068. gap: 12px;
  1069. min-width: 0;
  1070. }
  1071. .timing-field-labeled {
  1072. min-width: 196px;
  1073. justify-content: flex-end;
  1074. }
  1075. .timing-field-right {
  1076. margin-left: auto;
  1077. }
  1078. .setting-inline-right {
  1079. min-width: 196px;
  1080. justify-content: flex-end;
  1081. }
  1082. .toggle-switch {
  1083. position: relative;
  1084. display: inline-flex;
  1085. align-items: center;
  1086. flex: 0 0 auto;
  1087. cursor: pointer;
  1088. }
  1089. .toggle-switch > span:not(.toggle-switch-track) {
  1090. display: none;
  1091. }
  1092. .toggle-switch input {
  1093. position: absolute;
  1094. opacity: 0;
  1095. inset: 0;
  1096. width: 100%;
  1097. height: 100%;
  1098. margin: 0;
  1099. cursor: pointer;
  1100. }
  1101. .toggle-switch-track {
  1102. width: 38px;
  1103. height: 22px;
  1104. border-radius: 999px;
  1105. border: 1px solid var(--border);
  1106. background: var(--bg-elevated);
  1107. display: inline-flex;
  1108. align-items: center;
  1109. padding: 2px;
  1110. transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  1111. }
  1112. .toggle-switch-thumb {
  1113. width: 16px;
  1114. height: 16px;
  1115. border-radius: 50%;
  1116. background: var(--bg-base);
  1117. box-shadow: var(--shadow-sm);
  1118. transition: transform var(--transition), background var(--transition);
  1119. }
  1120. .toggle-switch input:checked + .toggle-switch-track {
  1121. background: var(--blue-soft);
  1122. border-color: var(--blue);
  1123. }
  1124. .toggle-switch input:checked + .toggle-switch-track .toggle-switch-thumb {
  1125. transform: translateX(16px);
  1126. background: var(--blue);
  1127. }
  1128. .toggle-switch input:disabled + .toggle-switch-track {
  1129. opacity: 0.55;
  1130. }
  1131. .auto-delay-inline {
  1132. justify-content: space-between;
  1133. align-items: center;
  1134. gap: 12px;
  1135. flex-wrap: nowrap;
  1136. }
  1137. .auto-delay-side {
  1138. display: flex;
  1139. align-items: center;
  1140. gap: 12px;
  1141. flex: 0 0 auto;
  1142. min-width: 0;
  1143. }
  1144. .auto-delay-side-right {
  1145. flex: 0 0 auto;
  1146. }
  1147. .auto-delay-check {
  1148. flex: 0 0 auto;
  1149. align-items: center;
  1150. }
  1151. .auto-delay-check span {
  1152. white-space: nowrap;
  1153. }
  1154. .auto-delay-caption {
  1155. font-size: 12px;
  1156. font-weight: 600;
  1157. color: var(--text-muted);
  1158. flex: 0 0 auto;
  1159. white-space: nowrap;
  1160. min-width: 56px;
  1161. text-align: right;
  1162. }
  1163. .auto-delay-controls {
  1164. display: flex;
  1165. align-items: center;
  1166. gap: 8px;
  1167. flex-shrink: 0;
  1168. }
  1169. .auto-delay-input {
  1170. width: 72px;
  1171. flex: 0 0 auto;
  1172. text-align: center;
  1173. }
  1174. .data-unit {
  1175. font-size: 12px;
  1176. font-weight: 600;
  1177. color: var(--text-muted);
  1178. flex-shrink: 0;
  1179. min-width: 24px;
  1180. text-align: left;
  1181. }
  1182. /* Status Bar */
  1183. .status-bar {
  1184. display: flex;
  1185. align-items: center;
  1186. gap: 8px;
  1187. margin-top: 8px;
  1188. padding: 8px 12px;
  1189. background: var(--bg-surface);
  1190. border: 1px solid var(--border);
  1191. border-radius: var(--radius-sm);
  1192. font-size: 13px;
  1193. font-weight: 500;
  1194. color: var(--text-secondary);
  1195. box-shadow: var(--shadow-sm);
  1196. }
  1197. .status-dot {
  1198. width: 8px;
  1199. height: 8px;
  1200. border-radius: 50%;
  1201. background: var(--text-muted);
  1202. flex-shrink: 0;
  1203. transition: background var(--transition);
  1204. }
  1205. .status-bar.running .status-dot {
  1206. background: var(--orange);
  1207. animation: pulse 1.5s ease-in-out infinite;
  1208. }
  1209. .status-bar.running { color: var(--orange); }
  1210. .status-bar.completed .status-dot { background: var(--green); }
  1211. .status-bar.completed { color: var(--green); }
  1212. .status-bar.failed .status-dot { background: var(--red); }
  1213. .status-bar.failed { color: var(--red); }
  1214. .status-bar.stopped .status-dot { background: var(--cyan); }
  1215. .status-bar.stopped { color: var(--cyan); }
  1216. .status-bar.paused .status-dot {
  1217. background: var(--orange);
  1218. animation: pulse 1.5s ease-in-out infinite;
  1219. }
  1220. .status-bar.paused { color: var(--orange); }
  1221. .status-bar.scheduled .status-dot {
  1222. background: var(--blue);
  1223. animation: pulse 1.5s ease-in-out infinite;
  1224. }
  1225. .status-bar.scheduled { color: var(--blue); }
  1226. @keyframes pulse {
  1227. 0%, 100% { opacity: 1; transform: scale(1); }
  1228. 50% { opacity: 0.4; transform: scale(0.85); }
  1229. }
  1230. /* Auto Continue Bar */
  1231. .auto-continue-bar {
  1232. margin-top: 8px;
  1233. padding: 8px 10px;
  1234. background: var(--orange-soft);
  1235. border: 1px solid rgba(234, 88, 12, 0.2);
  1236. border-radius: var(--radius-sm);
  1237. display: flex;
  1238. align-items: center;
  1239. gap: 8px;
  1240. }
  1241. .auto-continue-bar svg { color: var(--orange); flex-shrink: 0; }
  1242. .auto-hint { font-size: 13px; color: var(--orange); flex: 1; font-weight: 500; }
  1243. .auto-schedule-bar {
  1244. margin-top: 8px;
  1245. padding: 10px;
  1246. background: var(--blue-soft);
  1247. border: 1px solid rgba(37, 99, 235, 0.2);
  1248. border-radius: var(--radius-sm);
  1249. display: flex;
  1250. align-items: center;
  1251. flex-wrap: wrap;
  1252. gap: 10px;
  1253. }
  1254. .auto-schedule-bar svg {
  1255. color: var(--blue);
  1256. flex-shrink: 0;
  1257. }
  1258. .auto-schedule-copy {
  1259. display: flex;
  1260. flex-direction: column;
  1261. gap: 2px;
  1262. flex: 1;
  1263. min-width: 0;
  1264. }
  1265. .auto-schedule-title {
  1266. font-size: 13px;
  1267. font-weight: 700;
  1268. color: var(--blue);
  1269. }
  1270. .auto-schedule-meta {
  1271. font-size: 12px;
  1272. line-height: 1.5;
  1273. color: var(--text-secondary);
  1274. }
  1275. .auto-schedule-actions {
  1276. display: flex;
  1277. align-items: center;
  1278. flex-wrap: wrap;
  1279. gap: 8px;
  1280. flex-shrink: 0;
  1281. }
  1282. /* ============================================================
  1283. Steps Section
  1284. ============================================================ */
  1285. #steps-section { margin-bottom: 14px; }
  1286. .steps-header {
  1287. display: flex;
  1288. justify-content: space-between;
  1289. align-items: center;
  1290. margin-bottom: 8px;
  1291. }
  1292. .section-label {
  1293. font-size: 11px;
  1294. font-weight: 700;
  1295. color: var(--text-muted);
  1296. text-transform: uppercase;
  1297. letter-spacing: 0.08em;
  1298. }
  1299. .steps-progress {
  1300. font-family: 'JetBrains Mono', monospace;
  1301. font-size: 11px;
  1302. font-weight: 600;
  1303. color: var(--text-muted);
  1304. background: var(--bg-surface);
  1305. padding: 2px 8px;
  1306. border-radius: 10px;
  1307. border: 1px solid var(--border);
  1308. }
  1309. .steps-list {
  1310. display: flex;
  1311. flex-direction: column;
  1312. gap: 5px;
  1313. }
  1314. .step-row {
  1315. display: flex;
  1316. align-items: center;
  1317. gap: 8px;
  1318. padding: 1px 0;
  1319. transition: opacity var(--transition);
  1320. }
  1321. /* Step Number Indicator */
  1322. .step-indicator {
  1323. width: 26px;
  1324. height: 26px;
  1325. border-radius: 50%;
  1326. background: var(--bg-surface);
  1327. border: 1.5px solid var(--border);
  1328. display: flex;
  1329. align-items: center;
  1330. justify-content: center;
  1331. flex-shrink: 0;
  1332. transition: all var(--transition);
  1333. }
  1334. .step-num {
  1335. font-size: 11px;
  1336. font-weight: 700;
  1337. color: var(--text-muted);
  1338. transition: color var(--transition);
  1339. }
  1340. .step-row.running .step-indicator { border-color: var(--orange); background: var(--orange-soft); }
  1341. .step-row.running .step-num { color: var(--orange); }
  1342. .step-row.running .step-indicator { animation: pulse 1.5s ease-in-out infinite; }
  1343. .step-row.completed .step-indicator { border-color: var(--green); background: var(--green-soft); }
  1344. .step-row.completed .step-num { color: var(--green); }
  1345. .step-row.failed .step-indicator { border-color: var(--red); background: var(--red-soft); }
  1346. .step-row.failed .step-num { color: var(--red); }
  1347. .step-row.stopped .step-indicator { border-color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1348. .step-row.stopped .step-num { color: var(--cyan); }
  1349. .step-row.manual_completed .step-indicator,
  1350. .step-row.skipped .step-indicator { border-color: var(--blue); background: var(--blue-soft); }
  1351. .step-row.manual_completed .step-num,
  1352. .step-row.skipped .step-num { color: var(--blue); }
  1353. /* Step Button */
  1354. .step-btn {
  1355. flex: 1;
  1356. padding: 8px 12px;
  1357. font-family: inherit;
  1358. font-size: 13px;
  1359. font-weight: 500;
  1360. color: var(--text-primary);
  1361. background: var(--bg-surface);
  1362. border: 1px solid var(--border);
  1363. border-radius: var(--radius-sm);
  1364. cursor: pointer;
  1365. text-align: left;
  1366. transition: all var(--transition);
  1367. box-shadow: var(--shadow-sm);
  1368. }
  1369. .step-btn:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--blue); }
  1370. .step-btn:disabled { color: var(--text-muted); background: var(--bg-base); border-color: var(--border-subtle); cursor: not-allowed; opacity: 0.45; box-shadow: none; }
  1371. .step-row.running .step-btn { border-color: var(--orange); color: var(--orange); }
  1372. .step-row.completed .step-btn { border-color: var(--border-subtle); color: var(--text-secondary); opacity: 0.7; }
  1373. .step-row.failed .step-btn { border-color: var(--red); color: var(--red); }
  1374. .step-row.stopped .step-btn { border-color: var(--cyan); color: var(--cyan); }
  1375. .step-row.manual_completed .step-btn,
  1376. .step-row.skipped .step-btn { border-color: rgba(37, 99, 235, 0.25); color: var(--blue); opacity: 0.82; }
  1377. .step-actions {
  1378. display: flex;
  1379. align-items: center;
  1380. justify-content: flex-end;
  1381. gap: 6px;
  1382. width: 48px;
  1383. flex-shrink: 0;
  1384. }
  1385. .step-manual-btn {
  1386. width: 20px;
  1387. height: 20px;
  1388. padding: 0;
  1389. display: inline-flex;
  1390. align-items: center;
  1391. justify-content: center;
  1392. border: 1px solid var(--border);
  1393. border-radius: 999px;
  1394. background: var(--bg-surface);
  1395. color: var(--text-muted);
  1396. cursor: pointer;
  1397. transition: all var(--transition);
  1398. }
  1399. .step-manual-btn:hover:not(:disabled) {
  1400. border-color: var(--blue);
  1401. color: var(--blue);
  1402. background: var(--blue-soft);
  1403. }
  1404. .step-manual-btn:disabled {
  1405. color: var(--text-muted);
  1406. border-color: var(--border-subtle);
  1407. background: var(--bg-base);
  1408. cursor: not-allowed;
  1409. opacity: 0.5;
  1410. }
  1411. .step-status {
  1412. width: 20px;
  1413. text-align: center;
  1414. font-size: 14px;
  1415. font-weight: 700;
  1416. flex-shrink: 0;
  1417. }
  1418. .step-row.completed .step-status { color: var(--green); }
  1419. .step-row.failed .step-status { color: var(--red); }
  1420. .step-row.stopped .step-status { color: var(--cyan); }
  1421. .step-row.manual_completed .step-status,
  1422. .step-row.skipped .step-status { color: var(--blue); }
  1423. /* ============================================================
  1424. Log / Console Section
  1425. ============================================================ */
  1426. .log-header {
  1427. display: flex;
  1428. justify-content: space-between;
  1429. align-items: center;
  1430. margin-bottom: 6px;
  1431. }
  1432. .log-header-actions {
  1433. display: flex;
  1434. align-items: center;
  1435. gap: 6px;
  1436. }
  1437. .account-records-overlay {
  1438. position: fixed;
  1439. inset: 0;
  1440. z-index: 1210;
  1441. display: flex;
  1442. align-items: center;
  1443. justify-content: center;
  1444. padding: 12px;
  1445. background: rgba(15, 17, 23, 0.32);
  1446. backdrop-filter: blur(2px);
  1447. }
  1448. .account-records-overlay[hidden] {
  1449. display: none !important;
  1450. }
  1451. .account-records-panel {
  1452. width: min(100%, 420px);
  1453. max-height: calc(100vh - 24px);
  1454. display: flex;
  1455. flex-direction: column;
  1456. gap: 10px;
  1457. padding: 14px;
  1458. background:
  1459. linear-gradient(180deg,
  1460. color-mix(in srgb, var(--bg-base) 82%, var(--blue-soft)),
  1461. color-mix(in srgb, var(--bg-surface) 96%, var(--bg-base))
  1462. );
  1463. border: 1px solid var(--border);
  1464. border-radius: 14px;
  1465. box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
  1466. }
  1467. .account-records-panel-header {
  1468. display: flex;
  1469. align-items: flex-start;
  1470. justify-content: space-between;
  1471. gap: 10px;
  1472. }
  1473. .account-records-panel-copy {
  1474. min-width: 0;
  1475. display: flex;
  1476. flex-direction: column;
  1477. gap: 3px;
  1478. }
  1479. .account-records-panel-title {
  1480. font-size: 13px;
  1481. font-weight: 700;
  1482. letter-spacing: -0.01em;
  1483. color: var(--text-primary);
  1484. }
  1485. .account-records-panel-meta {
  1486. font-size: 11px;
  1487. color: var(--text-secondary);
  1488. line-height: 1.45;
  1489. }
  1490. .account-records-panel-actions {
  1491. display: flex;
  1492. align-items: center;
  1493. justify-content: flex-end;
  1494. gap: 6px;
  1495. flex-shrink: 0;
  1496. }
  1497. .account-records-stats {
  1498. display: flex;
  1499. align-items: center;
  1500. gap: 6px;
  1501. flex-wrap: wrap;
  1502. }
  1503. .account-records-stat {
  1504. display: inline-flex;
  1505. align-items: center;
  1506. gap: 4px;
  1507. padding: 2px 8px;
  1508. border-radius: 999px;
  1509. border: 1px solid var(--border-subtle);
  1510. background: color-mix(in srgb, var(--bg-base) 86%, transparent);
  1511. font-size: 11px;
  1512. font-weight: 700;
  1513. color: var(--text-secondary);
  1514. }
  1515. .account-records-stat strong {
  1516. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1517. font-size: 10px;
  1518. }
  1519. .account-records-stat.is-success {
  1520. color: var(--green);
  1521. background: var(--green-soft);
  1522. border-color: color-mix(in srgb, var(--green) 16%, var(--border));
  1523. }
  1524. .account-records-stat.is-failed {
  1525. color: var(--red);
  1526. background: var(--red-soft);
  1527. border-color: color-mix(in srgb, var(--red) 16%, var(--border));
  1528. }
  1529. .account-records-stat.is-retry {
  1530. color: var(--blue);
  1531. background: var(--blue-soft);
  1532. border-color: color-mix(in srgb, var(--blue) 16%, var(--border));
  1533. }
  1534. .account-records-stat.is-stopped {
  1535. color: var(--amber);
  1536. background: var(--amber-soft);
  1537. border-color: color-mix(in srgb, var(--amber) 16%, var(--border));
  1538. }
  1539. .account-records-list {
  1540. display: flex;
  1541. flex-direction: column;
  1542. gap: 6px;
  1543. min-height: 168px;
  1544. max-height: 360px;
  1545. overflow-y: auto;
  1546. padding-right: 2px;
  1547. }
  1548. .account-records-list::-webkit-scrollbar { width: 5px; }
  1549. .account-records-list::-webkit-scrollbar-track { background: transparent; }
  1550. .account-records-list::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
  1551. .account-records-list::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  1552. .account-records-empty {
  1553. min-height: 168px;
  1554. display: flex;
  1555. align-items: center;
  1556. justify-content: center;
  1557. padding: 20px 12px;
  1558. border: 1px dashed var(--border);
  1559. border-radius: var(--radius-md);
  1560. background: color-mix(in srgb, var(--bg-base) 92%, transparent);
  1561. color: var(--text-secondary);
  1562. font-size: 12px;
  1563. text-align: center;
  1564. }
  1565. .account-record-item {
  1566. display: flex;
  1567. flex-direction: column;
  1568. gap: 10px;
  1569. padding: 10px 11px;
  1570. border: 1px solid var(--border-subtle);
  1571. border-radius: var(--radius-sm);
  1572. background: color-mix(in srgb, var(--bg-base) 90%, transparent);
  1573. box-shadow: var(--shadow-sm);
  1574. }
  1575. .account-record-item-top,
  1576. .account-record-item-bottom {
  1577. display: flex;
  1578. align-items: center;
  1579. justify-content: space-between;
  1580. gap: 10px;
  1581. }
  1582. .account-record-item-email {
  1583. min-width: 0;
  1584. flex: 1;
  1585. overflow: hidden;
  1586. text-overflow: ellipsis;
  1587. white-space: nowrap;
  1588. color: var(--text-primary);
  1589. font-size: 12px;
  1590. font-weight: 600;
  1591. }
  1592. .account-record-item-side {
  1593. display: flex;
  1594. align-items: center;
  1595. gap: 6px;
  1596. flex-shrink: 0;
  1597. }
  1598. .account-record-item-status {
  1599. display: inline-flex;
  1600. align-items: center;
  1601. padding: 2px 7px;
  1602. border-radius: 999px;
  1603. font-size: 11px;
  1604. font-weight: 700;
  1605. background: var(--bg-elevated);
  1606. color: var(--text-secondary);
  1607. }
  1608. .account-record-item-time {
  1609. color: var(--text-muted);
  1610. font-size: 11px;
  1611. }
  1612. .account-record-item-summary {
  1613. min-width: 0;
  1614. flex: 1;
  1615. overflow: hidden;
  1616. text-overflow: ellipsis;
  1617. white-space: nowrap;
  1618. color: var(--text-secondary);
  1619. font-size: 11px;
  1620. line-height: 1.4;
  1621. }
  1622. .account-record-item-retry {
  1623. display: inline-flex;
  1624. align-items: center;
  1625. padding: 2px 7px;
  1626. border-radius: 999px;
  1627. background: color-mix(in srgb, var(--bg-base) 70%, var(--blue-soft));
  1628. color: var(--blue);
  1629. font-size: 11px;
  1630. font-weight: 700;
  1631. flex-shrink: 0;
  1632. }
  1633. .account-record-item.is-success {
  1634. border-color: color-mix(in srgb, var(--green) 14%, var(--border-subtle));
  1635. }
  1636. .account-record-item.is-success .account-record-item-status {
  1637. background: var(--green-soft);
  1638. color: var(--green);
  1639. }
  1640. .account-record-item.is-failed {
  1641. border-color: color-mix(in srgb, var(--red) 14%, var(--border-subtle));
  1642. }
  1643. .account-record-item.is-failed .account-record-item-status {
  1644. background: var(--red-soft);
  1645. color: var(--red);
  1646. }
  1647. .account-record-item.is-stopped {
  1648. border-color: color-mix(in srgb, var(--amber) 14%, var(--border-subtle));
  1649. }
  1650. .account-record-item.is-stopped .account-record-item-status {
  1651. background: var(--amber-soft);
  1652. color: var(--amber);
  1653. }
  1654. .account-records-pagination {
  1655. display: flex;
  1656. align-items: center;
  1657. justify-content: space-between;
  1658. gap: 10px;
  1659. }
  1660. .account-records-page-label {
  1661. min-width: 56px;
  1662. text-align: center;
  1663. color: var(--text-secondary);
  1664. font-size: 11px;
  1665. }
  1666. #log-area {
  1667. background: var(--bg-surface);
  1668. border: 1px solid var(--border);
  1669. border-radius: var(--radius-md);
  1670. padding: 10px 12px;
  1671. height: 220px;
  1672. overflow-y: auto;
  1673. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1674. font-size: 12px;
  1675. line-height: 1.7;
  1676. color: var(--text-secondary);
  1677. box-shadow: var(--shadow-sm);
  1678. }
  1679. #log-area::-webkit-scrollbar { width: 5px; }
  1680. #log-area::-webkit-scrollbar-track { background: transparent; }
  1681. #log-area::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
  1682. #log-area::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  1683. .log-line { padding: 2.5px 0; }
  1684. .log-line + .log-line { border-top: 1px solid var(--border-subtle); }
  1685. .log-time { color: var(--text-muted); }
  1686. .log-level { font-weight: 700; margin: 0 2px; }
  1687. .log-level-info { color: var(--blue); }
  1688. .log-level-ok { color: var(--green); }
  1689. .log-level-warn { color: var(--orange); }
  1690. .log-level-error { color: var(--red); }
  1691. .log-step-tag {
  1692. display: inline-block;
  1693. padding: 1px 5px;
  1694. border-radius: 3px;
  1695. font-weight: 700;
  1696. font-size: 11px;
  1697. margin-right: 3px;
  1698. }
  1699. .log-step-tag.step-1 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1700. .log-step-tag.step-2 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1701. .log-step-tag.step-3 { color: #b45309; background: rgba(180, 83, 9, 0.06); }
  1702. [data-theme="dark"] .log-step-tag.step-3 { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
  1703. .log-step-tag.step-4 { color: var(--orange); background: var(--orange-soft); }
  1704. .log-step-tag.step-5 { color: var(--green); background: var(--green-soft); }
  1705. .log-step-tag.step-6 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1706. .log-step-tag.step-7 { color: var(--orange); background: var(--orange-soft); }
  1707. .log-step-tag.step-8 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1708. .log-step-tag.step-9 { color: var(--green); background: var(--green-soft); }
  1709. .log-msg { color: var(--text-secondary); }
  1710. .log-line.log-ok .log-msg { color: var(--green); font-weight: 500; }
  1711. .log-line.log-error .log-msg { color: var(--red); font-weight: 500; }
  1712. .log-line.log-warn .log-msg { color: var(--orange); }
  1713. /* ============================================================
  1714. Animations
  1715. ============================================================ */
  1716. @keyframes fadeIn {
  1717. from { opacity: 0; transform: translateY(3px); }
  1718. to { opacity: 1; transform: translateY(0); }
  1719. }
  1720. .log-line { animation: fadeIn 120ms ease-out; }
  1721. /* ============================================================
  1722. Modal
  1723. ============================================================ */
  1724. .modal-overlay {
  1725. position: fixed;
  1726. inset: 0;
  1727. z-index: 1200;
  1728. display: flex;
  1729. align-items: center;
  1730. justify-content: center;
  1731. padding: 16px;
  1732. background: rgba(15, 17, 23, 0.32);
  1733. backdrop-filter: blur(2px);
  1734. }
  1735. .modal-overlay[hidden] {
  1736. display: none !important;
  1737. }
  1738. .modal-card {
  1739. width: min(100%, 320px);
  1740. background: var(--bg-base);
  1741. border: 1px solid var(--border);
  1742. border-radius: 12px;
  1743. box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
  1744. padding: 14px;
  1745. }
  1746. .modal-header {
  1747. display: flex;
  1748. align-items: center;
  1749. justify-content: space-between;
  1750. gap: 10px;
  1751. margin-bottom: 10px;
  1752. }
  1753. .modal-title {
  1754. font-size: 14px;
  1755. font-weight: 700;
  1756. color: var(--text-primary);
  1757. }
  1758. .modal-close {
  1759. width: 26px;
  1760. height: 26px;
  1761. border: none;
  1762. border-radius: 999px;
  1763. background: transparent;
  1764. color: var(--text-muted);
  1765. cursor: pointer;
  1766. font-size: 18px;
  1767. line-height: 1;
  1768. transition: all var(--transition);
  1769. }
  1770. .modal-close:hover {
  1771. background: var(--bg-hover);
  1772. color: var(--text-primary);
  1773. }
  1774. .modal-message {
  1775. font-size: 13px;
  1776. line-height: 1.55;
  1777. color: var(--text-secondary);
  1778. margin-bottom: 14px;
  1779. }
  1780. .modal-alert {
  1781. font-size: 12px;
  1782. line-height: 1.5;
  1783. margin-bottom: 14px;
  1784. padding: 9px 10px;
  1785. border-radius: 10px;
  1786. border: 1px solid transparent;
  1787. }
  1788. .modal-alert.is-danger {
  1789. color: var(--red);
  1790. background: var(--red-soft);
  1791. border-color: rgba(220, 38, 38, 0.18);
  1792. }
  1793. .modal-option-row {
  1794. margin-bottom: 14px;
  1795. }
  1796. .modal-option-label {
  1797. display: flex;
  1798. align-items: center;
  1799. gap: 8px;
  1800. font-size: 12px;
  1801. color: var(--text-secondary);
  1802. cursor: pointer;
  1803. }
  1804. .modal-option-label input[type="checkbox"] {
  1805. accent-color: var(--blue);
  1806. cursor: pointer;
  1807. }
  1808. .modal-actions {
  1809. display: flex;
  1810. justify-content: flex-end;
  1811. gap: 8px;
  1812. }
  1813. /* ============================================================
  1814. Toast Notifications
  1815. ============================================================ */
  1816. #toast-container {
  1817. position: fixed;
  1818. bottom: 12px;
  1819. left: 12px;
  1820. right: 12px;
  1821. z-index: 1000;
  1822. display: flex;
  1823. flex-direction: column;
  1824. gap: 6px;
  1825. pointer-events: none;
  1826. }
  1827. .toast {
  1828. display: flex;
  1829. align-items: center;
  1830. gap: 8px;
  1831. padding: 10px 14px;
  1832. border-radius: var(--radius-md);
  1833. font-size: 13px;
  1834. font-weight: 500;
  1835. box-shadow: var(--shadow-md), 0 4px 12px rgba(0,0,0,0.1);
  1836. pointer-events: auto;
  1837. animation: toastIn 250ms ease-out;
  1838. border: 1px solid;
  1839. }
  1840. .toast.toast-exit {
  1841. animation: toastOut 200ms ease-in forwards;
  1842. }
  1843. .toast-error {
  1844. background: var(--red-soft);
  1845. border-color: var(--red);
  1846. color: var(--red);
  1847. }
  1848. .toast-warn {
  1849. background: var(--orange-soft);
  1850. border-color: var(--orange);
  1851. color: var(--orange);
  1852. }
  1853. .toast-success {
  1854. background: var(--green-soft);
  1855. border-color: var(--green);
  1856. color: var(--green);
  1857. }
  1858. .toast-info {
  1859. background: var(--blue-soft);
  1860. border-color: var(--blue);
  1861. color: var(--blue);
  1862. }
  1863. .toast svg {
  1864. flex-shrink: 0;
  1865. }
  1866. .toast-msg {
  1867. flex: 1;
  1868. }
  1869. .toast-close {
  1870. background: none;
  1871. border: none;
  1872. color: inherit;
  1873. opacity: 0.6;
  1874. cursor: pointer;
  1875. padding: 2px;
  1876. font-size: 16px;
  1877. line-height: 1;
  1878. }
  1879. .toast-close:hover { opacity: 1; }
  1880. @keyframes toastIn {
  1881. from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1882. to { opacity: 1; transform: translateY(0) scale(1); }
  1883. }
  1884. @keyframes toastOut {
  1885. from { opacity: 1; transform: translateY(0) scale(1); }
  1886. to { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1887. }
  1888. @media (prefers-reduced-motion: reduce) {
  1889. *, *::before, *::after {
  1890. animation-duration: 0.01ms !important;
  1891. transition-duration: 0.01ms !important;
  1892. }
  1893. }