sidepanel.css 43 KB

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