sidepanel.css 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112
  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. .toggle-switch {
  1079. position: relative;
  1080. display: inline-flex;
  1081. align-items: center;
  1082. flex: 0 0 auto;
  1083. cursor: pointer;
  1084. }
  1085. .toggle-switch > span:not(.toggle-switch-track) {
  1086. display: none;
  1087. }
  1088. .toggle-switch input {
  1089. position: absolute;
  1090. opacity: 0;
  1091. inset: 0;
  1092. width: 100%;
  1093. height: 100%;
  1094. margin: 0;
  1095. cursor: pointer;
  1096. }
  1097. .toggle-switch-track {
  1098. width: 38px;
  1099. height: 22px;
  1100. border-radius: 999px;
  1101. border: 1px solid var(--border);
  1102. background: var(--bg-elevated);
  1103. display: inline-flex;
  1104. align-items: center;
  1105. padding: 2px;
  1106. transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  1107. }
  1108. .toggle-switch-thumb {
  1109. width: 16px;
  1110. height: 16px;
  1111. border-radius: 50%;
  1112. background: var(--bg-base);
  1113. box-shadow: var(--shadow-sm);
  1114. transition: transform var(--transition), background var(--transition);
  1115. }
  1116. .toggle-switch input:checked + .toggle-switch-track {
  1117. background: var(--blue-soft);
  1118. border-color: var(--blue);
  1119. }
  1120. .toggle-switch input:checked + .toggle-switch-track .toggle-switch-thumb {
  1121. transform: translateX(16px);
  1122. background: var(--blue);
  1123. }
  1124. .toggle-switch input:disabled + .toggle-switch-track {
  1125. opacity: 0.55;
  1126. }
  1127. .auto-delay-inline {
  1128. justify-content: space-between;
  1129. align-items: center;
  1130. gap: 12px;
  1131. flex-wrap: nowrap;
  1132. }
  1133. .auto-delay-side {
  1134. display: flex;
  1135. align-items: center;
  1136. gap: 12px;
  1137. flex: 0 0 auto;
  1138. min-width: 0;
  1139. }
  1140. .auto-delay-side-right {
  1141. flex: 0 0 auto;
  1142. }
  1143. .auto-delay-check {
  1144. flex: 0 0 auto;
  1145. align-items: center;
  1146. }
  1147. .auto-delay-check span {
  1148. white-space: nowrap;
  1149. }
  1150. .auto-delay-caption {
  1151. font-size: 12px;
  1152. font-weight: 600;
  1153. color: var(--text-muted);
  1154. flex: 0 0 auto;
  1155. white-space: nowrap;
  1156. min-width: 56px;
  1157. text-align: right;
  1158. }
  1159. .auto-delay-controls {
  1160. display: flex;
  1161. align-items: center;
  1162. gap: 8px;
  1163. flex-shrink: 0;
  1164. }
  1165. .auto-delay-input {
  1166. width: 72px;
  1167. flex: 0 0 auto;
  1168. text-align: center;
  1169. }
  1170. .data-unit {
  1171. font-size: 12px;
  1172. font-weight: 600;
  1173. color: var(--text-muted);
  1174. flex-shrink: 0;
  1175. min-width: 24px;
  1176. text-align: left;
  1177. }
  1178. /* Status Bar */
  1179. .status-bar {
  1180. display: flex;
  1181. align-items: center;
  1182. gap: 8px;
  1183. margin-top: 8px;
  1184. padding: 8px 12px;
  1185. background: var(--bg-surface);
  1186. border: 1px solid var(--border);
  1187. border-radius: var(--radius-sm);
  1188. font-size: 13px;
  1189. font-weight: 500;
  1190. color: var(--text-secondary);
  1191. box-shadow: var(--shadow-sm);
  1192. }
  1193. .status-dot {
  1194. width: 8px;
  1195. height: 8px;
  1196. border-radius: 50%;
  1197. background: var(--text-muted);
  1198. flex-shrink: 0;
  1199. transition: background var(--transition);
  1200. }
  1201. .status-bar.running .status-dot {
  1202. background: var(--orange);
  1203. animation: pulse 1.5s ease-in-out infinite;
  1204. }
  1205. .status-bar.running { color: var(--orange); }
  1206. .status-bar.completed .status-dot { background: var(--green); }
  1207. .status-bar.completed { color: var(--green); }
  1208. .status-bar.failed .status-dot { background: var(--red); }
  1209. .status-bar.failed { color: var(--red); }
  1210. .status-bar.stopped .status-dot { background: var(--cyan); }
  1211. .status-bar.stopped { color: var(--cyan); }
  1212. .status-bar.paused .status-dot {
  1213. background: var(--orange);
  1214. animation: pulse 1.5s ease-in-out infinite;
  1215. }
  1216. .status-bar.paused { color: var(--orange); }
  1217. .status-bar.scheduled .status-dot {
  1218. background: var(--blue);
  1219. animation: pulse 1.5s ease-in-out infinite;
  1220. }
  1221. .status-bar.scheduled { color: var(--blue); }
  1222. @keyframes pulse {
  1223. 0%, 100% { opacity: 1; transform: scale(1); }
  1224. 50% { opacity: 0.4; transform: scale(0.85); }
  1225. }
  1226. /* Auto Continue Bar */
  1227. .auto-continue-bar {
  1228. margin-top: 8px;
  1229. padding: 8px 10px;
  1230. background: var(--orange-soft);
  1231. border: 1px solid rgba(234, 88, 12, 0.2);
  1232. border-radius: var(--radius-sm);
  1233. display: flex;
  1234. align-items: center;
  1235. gap: 8px;
  1236. }
  1237. .auto-continue-bar svg { color: var(--orange); flex-shrink: 0; }
  1238. .auto-hint { font-size: 13px; color: var(--orange); flex: 1; font-weight: 500; }
  1239. .auto-schedule-bar {
  1240. margin-top: 8px;
  1241. padding: 10px;
  1242. background: var(--blue-soft);
  1243. border: 1px solid rgba(37, 99, 235, 0.2);
  1244. border-radius: var(--radius-sm);
  1245. display: flex;
  1246. align-items: center;
  1247. flex-wrap: wrap;
  1248. gap: 10px;
  1249. }
  1250. .auto-schedule-bar svg {
  1251. color: var(--blue);
  1252. flex-shrink: 0;
  1253. }
  1254. .auto-schedule-copy {
  1255. display: flex;
  1256. flex-direction: column;
  1257. gap: 2px;
  1258. flex: 1;
  1259. min-width: 0;
  1260. }
  1261. .auto-schedule-title {
  1262. font-size: 13px;
  1263. font-weight: 700;
  1264. color: var(--blue);
  1265. }
  1266. .auto-schedule-meta {
  1267. font-size: 12px;
  1268. line-height: 1.5;
  1269. color: var(--text-secondary);
  1270. }
  1271. .auto-schedule-actions {
  1272. display: flex;
  1273. align-items: center;
  1274. flex-wrap: wrap;
  1275. gap: 8px;
  1276. flex-shrink: 0;
  1277. }
  1278. /* ============================================================
  1279. Steps Section
  1280. ============================================================ */
  1281. #steps-section { margin-bottom: 14px; }
  1282. .steps-header {
  1283. display: flex;
  1284. justify-content: space-between;
  1285. align-items: center;
  1286. margin-bottom: 8px;
  1287. }
  1288. .section-label {
  1289. font-size: 11px;
  1290. font-weight: 700;
  1291. color: var(--text-muted);
  1292. text-transform: uppercase;
  1293. letter-spacing: 0.08em;
  1294. }
  1295. .steps-progress {
  1296. font-family: 'JetBrains Mono', monospace;
  1297. font-size: 11px;
  1298. font-weight: 600;
  1299. color: var(--text-muted);
  1300. background: var(--bg-surface);
  1301. padding: 2px 8px;
  1302. border-radius: 10px;
  1303. border: 1px solid var(--border);
  1304. }
  1305. .steps-list {
  1306. display: flex;
  1307. flex-direction: column;
  1308. gap: 5px;
  1309. }
  1310. .step-row {
  1311. display: flex;
  1312. align-items: center;
  1313. gap: 8px;
  1314. padding: 1px 0;
  1315. transition: opacity var(--transition);
  1316. }
  1317. /* Step Number Indicator */
  1318. .step-indicator {
  1319. width: 26px;
  1320. height: 26px;
  1321. border-radius: 50%;
  1322. background: var(--bg-surface);
  1323. border: 1.5px solid var(--border);
  1324. display: flex;
  1325. align-items: center;
  1326. justify-content: center;
  1327. flex-shrink: 0;
  1328. transition: all var(--transition);
  1329. }
  1330. .step-num {
  1331. font-size: 11px;
  1332. font-weight: 700;
  1333. color: var(--text-muted);
  1334. transition: color var(--transition);
  1335. }
  1336. .step-row.running .step-indicator { border-color: var(--orange); background: var(--orange-soft); }
  1337. .step-row.running .step-num { color: var(--orange); }
  1338. .step-row.running .step-indicator { animation: pulse 1.5s ease-in-out infinite; }
  1339. .step-row.completed .step-indicator { border-color: var(--green); background: var(--green-soft); }
  1340. .step-row.completed .step-num { color: var(--green); }
  1341. .step-row.failed .step-indicator { border-color: var(--red); background: var(--red-soft); }
  1342. .step-row.failed .step-num { color: var(--red); }
  1343. .step-row.stopped .step-indicator { border-color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1344. .step-row.stopped .step-num { color: var(--cyan); }
  1345. .step-row.manual_completed .step-indicator,
  1346. .step-row.skipped .step-indicator { border-color: var(--blue); background: var(--blue-soft); }
  1347. .step-row.manual_completed .step-num,
  1348. .step-row.skipped .step-num { color: var(--blue); }
  1349. /* Step Button */
  1350. .step-btn {
  1351. flex: 1;
  1352. padding: 8px 12px;
  1353. font-family: inherit;
  1354. font-size: 13px;
  1355. font-weight: 500;
  1356. color: var(--text-primary);
  1357. background: var(--bg-surface);
  1358. border: 1px solid var(--border);
  1359. border-radius: var(--radius-sm);
  1360. cursor: pointer;
  1361. text-align: left;
  1362. transition: all var(--transition);
  1363. box-shadow: var(--shadow-sm);
  1364. }
  1365. .step-btn:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--blue); }
  1366. .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; }
  1367. .step-row.running .step-btn { border-color: var(--orange); color: var(--orange); }
  1368. .step-row.completed .step-btn { border-color: var(--border-subtle); color: var(--text-secondary); opacity: 0.7; }
  1369. .step-row.failed .step-btn { border-color: var(--red); color: var(--red); }
  1370. .step-row.stopped .step-btn { border-color: var(--cyan); color: var(--cyan); }
  1371. .step-row.manual_completed .step-btn,
  1372. .step-row.skipped .step-btn { border-color: rgba(37, 99, 235, 0.25); color: var(--blue); opacity: 0.82; }
  1373. .step-actions {
  1374. display: flex;
  1375. align-items: center;
  1376. justify-content: flex-end;
  1377. gap: 6px;
  1378. width: 48px;
  1379. flex-shrink: 0;
  1380. }
  1381. .step-manual-btn {
  1382. width: 20px;
  1383. height: 20px;
  1384. padding: 0;
  1385. display: inline-flex;
  1386. align-items: center;
  1387. justify-content: center;
  1388. border: 1px solid var(--border);
  1389. border-radius: 999px;
  1390. background: var(--bg-surface);
  1391. color: var(--text-muted);
  1392. cursor: pointer;
  1393. transition: all var(--transition);
  1394. }
  1395. .step-manual-btn:hover:not(:disabled) {
  1396. border-color: var(--blue);
  1397. color: var(--blue);
  1398. background: var(--blue-soft);
  1399. }
  1400. .step-manual-btn:disabled {
  1401. color: var(--text-muted);
  1402. border-color: var(--border-subtle);
  1403. background: var(--bg-base);
  1404. cursor: not-allowed;
  1405. opacity: 0.5;
  1406. }
  1407. .step-status {
  1408. width: 20px;
  1409. text-align: center;
  1410. font-size: 14px;
  1411. font-weight: 700;
  1412. flex-shrink: 0;
  1413. }
  1414. .step-row.completed .step-status { color: var(--green); }
  1415. .step-row.failed .step-status { color: var(--red); }
  1416. .step-row.stopped .step-status { color: var(--cyan); }
  1417. .step-row.manual_completed .step-status,
  1418. .step-row.skipped .step-status { color: var(--blue); }
  1419. /* ============================================================
  1420. Log / Console Section
  1421. ============================================================ */
  1422. .log-header {
  1423. display: flex;
  1424. justify-content: space-between;
  1425. align-items: center;
  1426. margin-bottom: 6px;
  1427. }
  1428. .account-run-history-strip {
  1429. margin-bottom: 8px;
  1430. padding: 10px 12px;
  1431. display: flex;
  1432. flex-direction: column;
  1433. gap: 8px;
  1434. background:
  1435. linear-gradient(180deg,
  1436. color-mix(in srgb, var(--bg-base) 72%, var(--blue-soft)),
  1437. color-mix(in srgb, var(--bg-surface) 92%, var(--bg-base))
  1438. );
  1439. border: 1px solid var(--border);
  1440. border-radius: var(--radius-md);
  1441. box-shadow: var(--shadow-sm);
  1442. }
  1443. .account-run-history-head {
  1444. display: flex;
  1445. align-items: flex-start;
  1446. justify-content: space-between;
  1447. gap: 10px;
  1448. }
  1449. .account-run-history-copy {
  1450. min-width: 0;
  1451. display: flex;
  1452. flex-direction: column;
  1453. gap: 3px;
  1454. }
  1455. .account-run-history-title {
  1456. font-size: 12px;
  1457. font-weight: 700;
  1458. letter-spacing: -0.01em;
  1459. color: var(--text-primary);
  1460. }
  1461. .account-run-history-meta {
  1462. font-size: 11px;
  1463. color: var(--text-secondary);
  1464. line-height: 1.45;
  1465. }
  1466. .account-run-history-stats {
  1467. display: flex;
  1468. align-items: center;
  1469. justify-content: flex-end;
  1470. gap: 6px;
  1471. flex-wrap: wrap;
  1472. flex-shrink: 0;
  1473. }
  1474. .account-run-history-stat {
  1475. display: inline-flex;
  1476. align-items: center;
  1477. gap: 4px;
  1478. padding: 2px 8px;
  1479. border-radius: 999px;
  1480. border: 1px solid var(--border-subtle);
  1481. background: color-mix(in srgb, var(--bg-base) 86%, transparent);
  1482. font-size: 11px;
  1483. font-weight: 700;
  1484. color: var(--text-secondary);
  1485. }
  1486. .account-run-history-stat strong {
  1487. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1488. font-size: 10px;
  1489. }
  1490. .account-run-history-stat.is-success {
  1491. color: var(--green);
  1492. background: var(--green-soft);
  1493. border-color: color-mix(in srgb, var(--green) 16%, var(--border));
  1494. }
  1495. .account-run-history-stat.is-failed {
  1496. color: var(--red);
  1497. background: var(--red-soft);
  1498. border-color: color-mix(in srgb, var(--red) 16%, var(--border));
  1499. }
  1500. .account-run-history-stat.is-stopped {
  1501. color: var(--cyan);
  1502. background: color-mix(in srgb, var(--cyan) 12%, var(--bg-base));
  1503. border-color: color-mix(in srgb, var(--cyan) 16%, var(--border));
  1504. }
  1505. .account-run-history-list {
  1506. display: flex;
  1507. flex-direction: column;
  1508. gap: 6px;
  1509. }
  1510. .account-run-history-item {
  1511. display: grid;
  1512. grid-template-columns: minmax(0, 1fr) auto;
  1513. gap: 10px;
  1514. align-items: center;
  1515. padding: 8px 9px;
  1516. border: 1px solid var(--border-subtle);
  1517. border-radius: var(--radius-sm);
  1518. background: color-mix(in srgb, var(--bg-base) 90%, transparent);
  1519. }
  1520. .account-run-history-item-main {
  1521. min-width: 0;
  1522. display: flex;
  1523. flex-direction: column;
  1524. gap: 3px;
  1525. }
  1526. .account-run-history-item-email {
  1527. min-width: 0;
  1528. overflow: hidden;
  1529. text-overflow: ellipsis;
  1530. white-space: nowrap;
  1531. color: var(--text-primary);
  1532. font-size: 12px;
  1533. font-weight: 600;
  1534. }
  1535. .account-run-history-item-detail {
  1536. min-width: 0;
  1537. overflow: hidden;
  1538. text-overflow: ellipsis;
  1539. white-space: nowrap;
  1540. color: var(--text-secondary);
  1541. font-size: 11px;
  1542. line-height: 1.4;
  1543. }
  1544. .account-run-history-item-side {
  1545. display: flex;
  1546. align-items: center;
  1547. gap: 6px;
  1548. flex-shrink: 0;
  1549. }
  1550. .account-run-history-item-status {
  1551. display: inline-flex;
  1552. align-items: center;
  1553. padding: 2px 7px;
  1554. border-radius: 999px;
  1555. font-size: 11px;
  1556. font-weight: 700;
  1557. background: var(--bg-elevated);
  1558. color: var(--text-secondary);
  1559. }
  1560. .account-run-history-item-time {
  1561. color: var(--text-muted);
  1562. font-size: 11px;
  1563. }
  1564. .account-run-history-item.is-success {
  1565. border-color: color-mix(in srgb, var(--green) 14%, var(--border-subtle));
  1566. }
  1567. .account-run-history-item.is-success .account-run-history-item-status {
  1568. background: var(--green-soft);
  1569. color: var(--green);
  1570. }
  1571. .account-run-history-item.is-failed {
  1572. border-color: color-mix(in srgb, var(--red) 14%, var(--border-subtle));
  1573. }
  1574. .account-run-history-item.is-failed .account-run-history-item-status {
  1575. background: var(--red-soft);
  1576. color: var(--red);
  1577. }
  1578. .account-run-history-item.is-stopped {
  1579. border-color: color-mix(in srgb, var(--cyan) 14%, var(--border-subtle));
  1580. }
  1581. .account-run-history-item.is-stopped .account-run-history-item-status {
  1582. background: color-mix(in srgb, var(--cyan) 12%, var(--bg-base));
  1583. color: var(--cyan);
  1584. }
  1585. #log-area {
  1586. background: var(--bg-surface);
  1587. border: 1px solid var(--border);
  1588. border-radius: var(--radius-md);
  1589. padding: 10px 12px;
  1590. height: 220px;
  1591. overflow-y: auto;
  1592. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1593. font-size: 12px;
  1594. line-height: 1.7;
  1595. color: var(--text-secondary);
  1596. box-shadow: var(--shadow-sm);
  1597. }
  1598. #log-area::-webkit-scrollbar { width: 5px; }
  1599. #log-area::-webkit-scrollbar-track { background: transparent; }
  1600. #log-area::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
  1601. #log-area::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  1602. .log-line { padding: 2.5px 0; }
  1603. .log-line + .log-line { border-top: 1px solid var(--border-subtle); }
  1604. .log-time { color: var(--text-muted); }
  1605. .log-level { font-weight: 700; margin: 0 2px; }
  1606. .log-level-info { color: var(--blue); }
  1607. .log-level-ok { color: var(--green); }
  1608. .log-level-warn { color: var(--orange); }
  1609. .log-level-error { color: var(--red); }
  1610. .log-step-tag {
  1611. display: inline-block;
  1612. padding: 1px 5px;
  1613. border-radius: 3px;
  1614. font-weight: 700;
  1615. font-size: 11px;
  1616. margin-right: 3px;
  1617. }
  1618. .log-step-tag.step-1 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1619. .log-step-tag.step-2 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1620. .log-step-tag.step-3 { color: #b45309; background: rgba(180, 83, 9, 0.06); }
  1621. [data-theme="dark"] .log-step-tag.step-3 { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
  1622. .log-step-tag.step-4 { color: var(--orange); background: var(--orange-soft); }
  1623. .log-step-tag.step-5 { color: var(--green); background: var(--green-soft); }
  1624. .log-step-tag.step-6 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1625. .log-step-tag.step-7 { color: var(--orange); background: var(--orange-soft); }
  1626. .log-step-tag.step-8 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1627. .log-step-tag.step-9 { color: var(--green); background: var(--green-soft); }
  1628. .log-msg { color: var(--text-secondary); }
  1629. .log-line.log-ok .log-msg { color: var(--green); font-weight: 500; }
  1630. .log-line.log-error .log-msg { color: var(--red); font-weight: 500; }
  1631. .log-line.log-warn .log-msg { color: var(--orange); }
  1632. /* ============================================================
  1633. Animations
  1634. ============================================================ */
  1635. @keyframes fadeIn {
  1636. from { opacity: 0; transform: translateY(3px); }
  1637. to { opacity: 1; transform: translateY(0); }
  1638. }
  1639. .log-line { animation: fadeIn 120ms ease-out; }
  1640. /* ============================================================
  1641. Modal
  1642. ============================================================ */
  1643. .modal-overlay {
  1644. position: fixed;
  1645. inset: 0;
  1646. z-index: 1200;
  1647. display: flex;
  1648. align-items: center;
  1649. justify-content: center;
  1650. padding: 16px;
  1651. background: rgba(15, 17, 23, 0.32);
  1652. backdrop-filter: blur(2px);
  1653. }
  1654. .modal-overlay[hidden] {
  1655. display: none !important;
  1656. }
  1657. .modal-card {
  1658. width: min(100%, 320px);
  1659. background: var(--bg-base);
  1660. border: 1px solid var(--border);
  1661. border-radius: 12px;
  1662. box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
  1663. padding: 14px;
  1664. }
  1665. .modal-header {
  1666. display: flex;
  1667. align-items: center;
  1668. justify-content: space-between;
  1669. gap: 10px;
  1670. margin-bottom: 10px;
  1671. }
  1672. .modal-title {
  1673. font-size: 14px;
  1674. font-weight: 700;
  1675. color: var(--text-primary);
  1676. }
  1677. .modal-close {
  1678. width: 26px;
  1679. height: 26px;
  1680. border: none;
  1681. border-radius: 999px;
  1682. background: transparent;
  1683. color: var(--text-muted);
  1684. cursor: pointer;
  1685. font-size: 18px;
  1686. line-height: 1;
  1687. transition: all var(--transition);
  1688. }
  1689. .modal-close:hover {
  1690. background: var(--bg-hover);
  1691. color: var(--text-primary);
  1692. }
  1693. .modal-message {
  1694. font-size: 13px;
  1695. line-height: 1.55;
  1696. color: var(--text-secondary);
  1697. margin-bottom: 14px;
  1698. }
  1699. .modal-alert {
  1700. font-size: 12px;
  1701. line-height: 1.5;
  1702. margin-bottom: 14px;
  1703. padding: 9px 10px;
  1704. border-radius: 10px;
  1705. border: 1px solid transparent;
  1706. }
  1707. .modal-alert.is-danger {
  1708. color: var(--red);
  1709. background: var(--red-soft);
  1710. border-color: rgba(220, 38, 38, 0.18);
  1711. }
  1712. .modal-option-row {
  1713. margin-bottom: 14px;
  1714. }
  1715. .modal-option-label {
  1716. display: flex;
  1717. align-items: center;
  1718. gap: 8px;
  1719. font-size: 12px;
  1720. color: var(--text-secondary);
  1721. cursor: pointer;
  1722. }
  1723. .modal-option-label input[type="checkbox"] {
  1724. accent-color: var(--blue);
  1725. cursor: pointer;
  1726. }
  1727. .modal-actions {
  1728. display: flex;
  1729. justify-content: flex-end;
  1730. gap: 8px;
  1731. }
  1732. /* ============================================================
  1733. Toast Notifications
  1734. ============================================================ */
  1735. #toast-container {
  1736. position: fixed;
  1737. bottom: 12px;
  1738. left: 12px;
  1739. right: 12px;
  1740. z-index: 1000;
  1741. display: flex;
  1742. flex-direction: column;
  1743. gap: 6px;
  1744. pointer-events: none;
  1745. }
  1746. .toast {
  1747. display: flex;
  1748. align-items: center;
  1749. gap: 8px;
  1750. padding: 10px 14px;
  1751. border-radius: var(--radius-md);
  1752. font-size: 13px;
  1753. font-weight: 500;
  1754. box-shadow: var(--shadow-md), 0 4px 12px rgba(0,0,0,0.1);
  1755. pointer-events: auto;
  1756. animation: toastIn 250ms ease-out;
  1757. border: 1px solid;
  1758. }
  1759. .toast.toast-exit {
  1760. animation: toastOut 200ms ease-in forwards;
  1761. }
  1762. .toast-error {
  1763. background: var(--red-soft);
  1764. border-color: var(--red);
  1765. color: var(--red);
  1766. }
  1767. .toast-warn {
  1768. background: var(--orange-soft);
  1769. border-color: var(--orange);
  1770. color: var(--orange);
  1771. }
  1772. .toast-success {
  1773. background: var(--green-soft);
  1774. border-color: var(--green);
  1775. color: var(--green);
  1776. }
  1777. .toast-info {
  1778. background: var(--blue-soft);
  1779. border-color: var(--blue);
  1780. color: var(--blue);
  1781. }
  1782. .toast svg {
  1783. flex-shrink: 0;
  1784. }
  1785. .toast-msg {
  1786. flex: 1;
  1787. }
  1788. .toast-close {
  1789. background: none;
  1790. border: none;
  1791. color: inherit;
  1792. opacity: 0.6;
  1793. cursor: pointer;
  1794. padding: 2px;
  1795. font-size: 16px;
  1796. line-height: 1;
  1797. }
  1798. .toast-close:hover { opacity: 1; }
  1799. @keyframes toastIn {
  1800. from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1801. to { opacity: 1; transform: translateY(0) scale(1); }
  1802. }
  1803. @keyframes toastOut {
  1804. from { opacity: 1; transform: translateY(0) scale(1); }
  1805. to { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1806. }
  1807. @media (prefers-reduced-motion: reduce) {
  1808. *, *::before, *::after {
  1809. animation-duration: 0.01ms !important;
  1810. transition-duration: 0.01ms !important;
  1811. }
  1812. }