styles.css 139 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062
  1. :root {
  2. --brand: #fa8c16;
  3. --brand-dark: #d46b08;
  4. --brand-bg: #fff7e6;
  5. --border: #e8e8e8;
  6. --page-bg: #f0f2f5;
  7. --panel-bg: #ffffff;
  8. --sidebar-bg: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  9. --text-primary: #1f1f1f;
  10. --text-secondary: #5a5a5a;
  11. --text-muted: #8c8c8c;
  12. --success: #52c41a;
  13. --success-bg: #f6ffed;
  14. --success-border: #b7eb8f;
  15. --error: #ff4d4f;
  16. --error-bg: #fff2f0;
  17. --error-border: #ffccc7;
  18. --warning: #faad14;
  19. --warning-bg: #fffbe6;
  20. --info: #1890ff;
  21. --info-bg: #e6f7ff;
  22. --radius-sm: 10px;
  23. --radius-md: 14px;
  24. --radius-lg: 18px;
  25. --shadow: 0 4px 20px rgba(0,0,0,0.06);
  26. --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
  27. }
  28. /* Unified task center */
  29. .customer-master-shell { display: grid; gap: 16px; margin-bottom: 22px; }
  30. .customer-master-hero { min-height: 148px; border-radius: 20px; padding: 28px 30px; background: linear-gradient(125deg, #123f36, #287b58); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 16px 34px rgba(20, 77, 59, .16); }
  31. .customer-master-hero > div { display: grid; gap: 6px; }
  32. .customer-master-hero span { color: #b9dfd0; font-size: 10px; font-weight: 750; letter-spacing: 1.4px; }
  33. .customer-master-hero h2 { margin: 0; font-size: 30px; }
  34. .customer-master-hero p { margin: 0; color: #d8ece4; font-size: 13px; }
  35. .customer-master-hero .btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
  36. .customer-master-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  37. .customer-master-stats > div { display: grid; gap: 4px; padding: 15px 17px; background: #fff; border: 1px solid #e3e8e6; border-radius: 13px; }
  38. .customer-master-stats strong { color: #18342b; font-size: 23px; }
  39. .customer-master-stats span { color: #78847f; font-size: 11px; }
  40. .customer-master-policy { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; padding: 13px 16px; border-radius: 12px; border: 1px solid #cfe5d8; background: #f2faf5; }
  41. .customer-master-policy strong { color: #237348; font-size: 13px; }
  42. .customer-master-policy span { color: #4f695d; font-size: 12px; }
  43. .customer-master-policy small { grid-column: 2; color: #809087; }
  44. .customer-master-policy.fallback { border-color: #f1d6a5; background: #fffaf0; }
  45. .customer-master-policy.fallback strong { color: #b07d1a; }
  46. .customer-fallback-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; color: #b07d1a; background: #fff3d6; font-size: 10px; font-weight: 650; vertical-align: middle; }
  47. .customer-master-list-item .customer-fallback-badge { margin-left: 6px; }
  48. .customer-master-fallback-note { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid #f1d6a5; background: #fffaf0; color: #8a6a2f; }
  49. .customer-master-fallback-note strong { font-size: 12px; }
  50. .customer-master-fallback-note span { font-size: 11px; line-height: 1.6; }
  51. .customer-master-layout { min-height: 620px; display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid #e2e7e5; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(30, 57, 46, .05); }
  52. .customer-master-layout > aside { border-right: 1px solid #e6ebe8; background: #fafcfb; }
  53. .customer-master-layout > aside > header { display: grid; gap: 10px; padding: 16px; border-bottom: 1px solid #e6ebe8; }
  54. .customer-master-layout > aside > header strong { color: #24352e; font-size: 14px; }
  55. .customer-master-layout > aside input { width: 100%; min-height: 36px; border: 1px solid #dce4e0; border-radius: 9px; padding: 0 10px; background: #fff; }
  56. .customer-master-layout > aside > div { display: grid; padding: 8px; gap: 7px; }
  57. .customer-master-list-item { width: 100%; display: grid; gap: 7px; padding: 13px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
  58. .customer-master-list-item:hover { background: #f1f7f4; }
  59. .customer-master-list-item.active { background: #e8f5ee; border-color: #b9dfcc; }
  60. .customer-master-list-item > div, .customer-master-list-item footer { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
  61. .customer-master-list-item strong { color: #20332a; font-size: 13px; }
  62. .customer-master-list-item p { margin: 0; color: #68766f; font-size: 11px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  63. .customer-master-list-item footer { color: #849089; font-size: 10px; }
  64. .customer-stage { display: inline-flex; align-items: center; min-height: 22px; border-radius: 999px; padding: 0 8px; color: #5c6b64; background: #edf1ef; font-size: 10px; white-space: nowrap; }
  65. .customer-stage.priority { color: #a34436; background: #fff0ed; }
  66. .customer-stage.qualified { color: #217349; background: #e5f6eb; }
  67. .customer-stage.profiling { color: #486c91; background: #edf5fc; }
  68. .customer-master-layout > main { min-width: 0; }
  69. .customer-master-detail { display: grid; gap: 16px; padding: 22px; }
  70. .customer-next-action-section, .customer-recommendation-section, .customer-timeline-section { display: grid; gap: 11px; padding: 15px; border: 1px solid #e0e7e3; border-radius: 13px; }
  71. .customer-next-action-section > header, .customer-recommendation-section > header, .customer-timeline-section > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  72. .customer-next-action-section > header > div, .customer-recommendation-section > header > div, .customer-timeline-section > header > div { display: grid; gap: 2px; }
  73. .customer-next-action-section > header strong, .customer-recommendation-section > header strong, .customer-timeline-section > header strong { color: #2b3c34; font-size: 13px; }
  74. .customer-next-action-section > header span, .customer-recommendation-section > header span, .customer-timeline-section > header span { color: #87938d; font-size: 10px; }
  75. .customer-next-action-section > header em, .customer-recommendation-section > header em, .customer-timeline-section > header em { color: #52705f; font-size: 10px; font-style: normal; }
  76. .customer-next-action-section > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  77. .customer-next-action-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .75fr); gap: 9px 13px; align-items: start; padding: 12px; border-radius: 10px; background: #f7f9f8; border-left: 3px solid #8eaa9b; }
  78. .customer-next-action-card.high { border-left-color: #e89545; background: #fffbf5; }
  79. .customer-next-action-card > div { display: grid; gap: 4px; }
  80. .customer-next-action-card > div span { color: #488064; font-size: 9px; font-weight: 700; }
  81. .customer-next-action-card strong { color: #2a3b33; font-size: 12px; }
  82. .customer-next-action-card p { margin: 0; color: #647169; font-size: 10px; line-height: 1.5; }
  83. .customer-next-action-card ul { margin: 0; padding-left: 16px; color: #77827c; font-size: 9px; line-height: 1.55; }
  84. .customer-next-action-card .btn { grid-column: 1 / -1; justify-self: start; }
  85. .customer-recommendation-section > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  86. .customer-recommendation-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #e2e7e4; border-radius: 10px; background: #fcfdfd; }
  87. .customer-recommendation-card > header, .customer-recommendation-card > div, .customer-recommendation-card > footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 7px; }
  88. .customer-recommendation-card > header > div { display: grid; gap: 2px; }
  89. .customer-recommendation-card > header span { color: #8a958f; font-size: 8px; }
  90. .customer-recommendation-card > header strong { color: #283b32; font-size: 12px; }
  91. .customer-recommendation-card > header em { border-radius: 999px; padding: 4px 8px; color: #5d6d65; background: #eef2f0; font-size: 9px; font-style: normal; }
  92. .customer-recommendation-card > header em.interested { color: #217147; background: #e7f7ed; }
  93. .customer-recommendation-card > header em.rejected { color: #a15246; background: #fff0ed; }
  94. .customer-recommendation-card > header em.viewing, .customer-recommendation-card > header em.viewed { color: #3a6594; background: #edf5ff; }
  95. .customer-recommendation-card > p { margin: 0; color: #727e78; font-size: 10px; }
  96. .customer-recommendation-card > div strong { color: #e77e22; font-size: 18px; }
  97. .customer-recommendation-card > div strong small { font-size: 9px; }
  98. .customer-recommendation-card > div span { color: #8a948f; font-size: 9px; }
  99. .customer-recommendation-card blockquote { margin: 0; padding: 7px 9px; color: #6a756f; background: #f5f7f6; border-left: 2px solid #98b0a3; font-size: 9px; }
  100. .customer-recommendation-card > footer { justify-content: flex-start; }
  101. .customer-timeline-section > div { position: relative; display: grid; gap: 0; }
  102. .customer-timeline-item { display: grid; grid-template-columns: 10px 78px minmax(0, 1fr); gap: 9px; align-items: start; min-height: 60px; padding: 5px 0 12px; }
  103. .customer-timeline-item > i { position: relative; width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #77a28c; box-shadow: 0 0 0 3px #edf5f1; }
  104. .customer-timeline-item:not(:last-child) > i::after { content: ''; position: absolute; top: 11px; left: 4px; width: 1px; height: 47px; background: #dce6e1; }
  105. .customer-timeline-item.inbound-message > i { background: #4e8ee1; }
  106. .customer-timeline-item.outbound-message > i { background: #65a67e; }
  107. .customer-timeline-item.alert > i { background: #e47a61; }
  108. .customer-timeline-item.property > i { background: #e89a45; }
  109. .customer-timeline-item > time { color: #8b958f; font-size: 9px; line-height: 1.6; }
  110. .customer-timeline-item > div { display: grid; gap: 3px; }
  111. .customer-timeline-item strong { color: #33433b; font-size: 11px; }
  112. .customer-timeline-item p { margin: 0; color: #6f7b75; font-size: 10px; line-height: 1.5; }
  113. .customer-timeline-item small { color: #929b96; font-size: 8px; }
  114. .customer-master-detail-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
  115. .customer-master-detail-head > div:first-child { display: grid; gap: 4px; }
  116. .customer-master-detail-head > div:last-child { display: flex; align-items: center; gap: 8px; }
  117. .customer-master-detail-head span:first-child { color: #33805e; font-size: 9px; letter-spacing: 1px; font-weight: 750; }
  118. .customer-master-detail-head h3 { margin: 0; color: #1f3028; font-size: 22px; }
  119. .customer-master-detail-head p { margin: 0; color: #7d8983; font-size: 11px; }
  120. .customer-master-score-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  121. .customer-master-score-row > div { display: grid; gap: 3px; padding: 11px 13px; border-radius: 10px; background: #f6f8f7; }
  122. .customer-master-score-row strong { color: #244236; font-size: 17px; }
  123. .customer-master-score-row span { color: #839089; font-size: 10px; }
  124. .customer-profile-fields { display: grid; gap: 11px; padding: 15px; border: 1px solid #e0e7e3; border-radius: 13px; }
  125. .customer-profile-fields > header, .customer-master-intelligence-grid section > header, .customer-master-edit-form > header { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
  126. .customer-profile-fields > header strong, .customer-master-intelligence-grid section > header strong, .customer-master-edit-form > header strong { color: #2b3c34; font-size: 13px; }
  127. .customer-profile-fields > header span, .customer-master-intelligence-grid section > header span, .customer-master-edit-form > header span { color: #89948f; font-size: 10px; }
  128. .customer-profile-fields > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  129. .customer-profile-fields > div > div { display: grid; gap: 3px; min-height: 76px; padding: 10px; background: #f7f9f8; border-radius: 9px; }
  130. .customer-profile-fields small { color: #87928d; font-size: 9px; }
  131. .customer-profile-fields strong { color: #25372f; font-size: 13px; }
  132. .customer-profile-fields em { color: #5a8b73; font-size: 9px; font-style: normal; }
  133. .customer-profile-fields > footer { display: flex; flex-wrap: wrap; gap: 6px; }
  134. .customer-profile-fields > footer span { color: #2d7251; background: #e8f5ed; border-radius: 999px; padding: 4px 9px; font-size: 10px; }
  135. .customer-master-intelligence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  136. .customer-master-intelligence-grid > section { display: grid; align-content: start; gap: 9px; padding: 14px; border: 1px solid #e2e7e4; border-radius: 12px; }
  137. .customer-evidence-item, .customer-master-action-item { display: grid; gap: 3px; padding: 10px; border-radius: 9px; background: #f7f9f8; }
  138. .customer-master-action-item.alert { background: #fff7f3; }
  139. .customer-evidence-item strong, .customer-master-action-item strong { color: #34443c; font-size: 11px; }
  140. .customer-evidence-item p, .customer-master-action-item p { margin: 0; color: #69766f; font-size: 10px; line-height: 1.5; }
  141. .customer-evidence-item small, .customer-master-action-item small { color: #909994; font-size: 9px; }
  142. .customer-latest-message { display: grid; gap: 5px; padding: 13px 15px; border-left: 3px solid #6aaf8b; background: #f4f9f6; border-radius: 0 10px 10px 0; }
  143. .customer-latest-message strong { color: #315343; font-size: 11px; }
  144. .customer-latest-message p { margin: 0; color: #51635a; font-size: 11px; line-height: 1.55; }
  145. .customer-latest-message small { color: #87948e; font-size: 9px; }
  146. .customer-master-edit-form { display: grid; gap: 11px; padding: 15px; border-radius: 13px; border: 1px solid #dce7e1; background: #fbfdfc; }
  147. .customer-master-edit-form > header > div { display: grid; gap: 2px; }
  148. .customer-master-edit-form > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  149. .customer-master-edit-form label { display: grid; gap: 5px; }
  150. .customer-master-edit-form label > span { color: #69776f; font-size: 10px; }
  151. .customer-master-edit-form input { width: 100%; min-height: 35px; border: 1px solid #dbe3df; border-radius: 8px; padding: 0 9px; background: #fff; }
  152. .customer-master-reason { grid-column: 1 / -1; }
  153. .customer-operations-hint { margin-top: 4px; }
  154. @media (max-width: 1100px) {
  155. .customer-master-layout { grid-template-columns: 240px minmax(0, 1fr); }
  156. .customer-profile-fields > div, .customer-master-edit-form > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  157. .customer-next-action-section > div, .customer-recommendation-section > div { grid-template-columns: 1fr; }
  158. }
  159. @media (max-width: 760px) {
  160. .customer-master-stats, .customer-master-score-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  161. .customer-master-layout { grid-template-columns: 1fr; }
  162. .customer-master-layout > aside { border-right: 0; border-bottom: 1px solid #e6ebe8; }
  163. .customer-master-intelligence-grid, .customer-profile-fields > div, .customer-master-edit-form > div { grid-template-columns: 1fr; }
  164. .customer-next-action-section > div, .customer-recommendation-section > div { grid-template-columns: 1fr; }
  165. .customer-master-policy { grid-template-columns: 1fr; }
  166. .customer-master-policy small { grid-column: 1; }
  167. .customer-master-detail-head, .customer-master-hero { align-items: flex-start; flex-direction: column; }
  168. }
  169. .unified-task-workbench { display: grid; gap: 18px; }
  170. .task-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  171. .task-stat-row > div { background: #fff; border: 1px solid #e6e9ef; border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
  172. .task-stat-row strong { color: #18212f; font-size: 26px; line-height: 1; }
  173. .task-stat-row span { color: #7a8493; font-size: 12px; }
  174. .task-policy-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  175. .task-policy-banner > div { border: 1px solid #dbe8df; background: #f4fbf6; border-radius: 14px; padding: 14px 16px; display: grid; gap: 5px; }
  176. .task-policy-banner strong { color: #237344; font-size: 13px; }
  177. .task-policy-banner span { color: #607067; font-size: 12px; line-height: 1.65; }
  178. .task-create-form { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1.2fr) minmax(130px, .8fr) 175px 110px auto; gap: 10px; align-items: end; padding: 16px; background: #fff; border: 1px solid #e5e8ed; border-radius: 14px; }
  179. .task-create-form > div { display: grid; gap: 4px; align-self: center; }
  180. .task-create-form > div strong { color: #202a37; font-size: 14px; }
  181. .task-create-form > div span { color: #838c99; font-size: 11px; }
  182. .task-create-form input, .task-create-form select, .task-filterbar input, .task-filterbar select { width: 100%; min-height: 38px; border: 1px solid #dfe3e9; border-radius: 9px; padding: 0 11px; background: #fff; color: #26313f; }
  183. .task-filterbar { display: grid; grid-template-columns: minmax(240px, 1fr) 210px 140px auto auto; gap: 10px; align-items: center; }
  184. .task-filterbar > span { color: #7b8592; font-size: 12px; justify-self: end; }
  185. .unified-task-list { display: grid; gap: 10px; }
  186. .unified-task-card { position: relative; display: grid; grid-template-columns: 5px minmax(0, 1fr) auto; gap: 15px; align-items: stretch; padding: 17px 18px; background: #fff; border: 1px solid #e5e8ed; border-radius: 14px; box-shadow: 0 7px 22px rgba(32, 42, 55, .035); }
  187. .unified-task-card.overdue { border-color: #f0c5c2; background: #fffafa; }
  188. .unified-task-card.candidate { border-style: dashed; background: #fbfbfe; }
  189. .task-priority { width: 4px; border-radius: 999px; background: #91a0af; }
  190. .task-priority.low { background: #a9b7c4; }
  191. .task-priority.medium { background: #4c8bea; }
  192. .task-priority.high { background: #f0993c; }
  193. .task-priority.urgent { background: #d7524d; }
  194. .unified-task-main { min-width: 0; display: grid; gap: 8px; }
  195. .unified-task-main > header { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  196. .unified-task-main > header > div { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
  197. .unified-task-main > header small { color: #89919d; white-space: nowrap; }
  198. .unified-task-main h4 { margin: 0; color: #1e2937; font-size: 15px; line-height: 1.45; }
  199. .unified-task-main p { margin: 0; color: #67717f; font-size: 12px; line-height: 1.6; }
  200. .unified-task-main footer { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #8a929d; font-size: 11px; }
  201. .task-source, .task-status, .task-audience { display: inline-flex; align-items: center; min-height: 22px; border-radius: 999px; padding: 0 9px; font-size: 10px; font-weight: 650; }
  202. .task-source { color: #40546c; background: #edf2f8; }
  203. .task-status { color: #3565a4; background: #edf5ff; }
  204. .task-status.done { color: #2d7a4d; background: #edf8f1; }
  205. .task-status.blocked, .task-status.dismissed { color: #8a5c22; background: #fff5e8; }
  206. .task-status.suggested { color: #6953a5; background: #f1edfb; }
  207. .task-audience { color: #237344; background: #eaf7ee; }
  208. .unified-task-actions { min-width: 135px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: center; gap: 7px; }
  209. .unified-task-actions > span, .task-promoted { color: #76808d; font-size: 11px; align-self: center; }
  210. @media (max-width: 1180px) {
  211. .task-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  212. .task-create-form > div { grid-column: 1 / -1; }
  213. .task-filterbar { grid-template-columns: minmax(200px, 1fr) 180px 130px auto; }
  214. .task-filterbar > span { display: none; }
  215. }
  216. @media (max-width: 760px) {
  217. .task-stat-row, .task-policy-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  218. .task-create-form, .task-filterbar { grid-template-columns: 1fr; }
  219. .unified-task-card { grid-template-columns: 4px minmax(0, 1fr); }
  220. .unified-task-actions { grid-column: 2; justify-content: flex-start; }
  221. .unified-task-main > header { align-items: flex-start; flex-direction: column; gap: 6px; }
  222. }
  223. * { box-sizing: border-box; }
  224. html, body {
  225. margin: 0;
  226. padding: 0;
  227. height: 100%;
  228. font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  229. background: var(--page-bg);
  230. color: var(--text-primary);
  231. }
  232. .app {
  233. display: flex;
  234. min-height: 100vh;
  235. }
  236. .sidebar {
  237. width: 220px;
  238. background: var(--sidebar-bg);
  239. display: flex;
  240. flex-direction: column;
  241. position: fixed;
  242. top: 0;
  243. left: 0;
  244. bottom: 0;
  245. z-index: 100;
  246. transition: transform 0.25s ease;
  247. color: #fff;
  248. }
  249. .sidebar.hidden {
  250. transform: translateX(-100%);
  251. }
  252. .brand {
  253. display: flex;
  254. align-items: center;
  255. gap: 10px;
  256. padding: 22px 18px;
  257. border-bottom: 1px solid rgba(255,255,255,0.08);
  258. }
  259. .brand-icon {
  260. width: 36px;
  261. height: 36px;
  262. background: rgba(250, 140, 22, 0.18);
  263. color: var(--brand);
  264. border-radius: var(--radius-sm);
  265. display: flex;
  266. align-items: center;
  267. justify-content: center;
  268. }
  269. .brand-icon svg { width: 22px; height: 22px; }
  270. .brand-text {
  271. font-size: 17px;
  272. font-weight: 700;
  273. letter-spacing: 0.5px;
  274. }
  275. .nav {
  276. padding: 16px 12px;
  277. overflow-y: auto;
  278. flex: 1;
  279. }
  280. .nav-group { margin-bottom: 24px; }
  281. .nav-label {
  282. font-size: 11px;
  283. color: rgba(255,255,255,0.45);
  284. text-transform: uppercase;
  285. letter-spacing: 1px;
  286. padding: 0 12px;
  287. margin-bottom: 8px;
  288. }
  289. .nav-item {
  290. display: flex;
  291. align-items: center;
  292. gap: 10px;
  293. padding: 11px 12px;
  294. border-radius: var(--radius-sm);
  295. color: rgba(255,255,255,0.75);
  296. text-decoration: none;
  297. font-size: 14px;
  298. transition: all 0.2s;
  299. margin-bottom: 4px;
  300. }
  301. .nav-item svg {
  302. width: 20px;
  303. height: 20px;
  304. fill: currentColor;
  305. flex-shrink: 0;
  306. }
  307. .nav-item:hover {
  308. color: #fff;
  309. background: rgba(255,255,255,0.08);
  310. }
  311. .nav-item.active {
  312. color: #fff;
  313. background: var(--brand);
  314. box-shadow: 0 4px 14px rgba(250, 140, 22, 0.35);
  315. }
  316. .main {
  317. flex: 1;
  318. margin-left: 220px;
  319. display: flex;
  320. flex-direction: column;
  321. min-height: 100vh;
  322. }
  323. .topbar {
  324. height: 68px;
  325. background: var(--panel-bg);
  326. border-bottom: 1px solid var(--border);
  327. display: flex;
  328. align-items: center;
  329. gap: 16px;
  330. padding: 0 32px;
  331. position: sticky;
  332. top: 0;
  333. z-index: 50;
  334. box-shadow: var(--shadow);
  335. }
  336. .menu-btn {
  337. display: none;
  338. background: none;
  339. border: none;
  340. padding: 6px;
  341. cursor: pointer;
  342. color: var(--text-secondary);
  343. border-radius: var(--radius-sm);
  344. }
  345. .menu-btn:hover { background: var(--brand-bg); color: var(--brand); }
  346. .menu-btn svg { width: 22px; height: 22px; fill: currentColor; }
  347. .page-title {
  348. font-size: 20px;
  349. font-weight: 700;
  350. margin: 0;
  351. flex: 1;
  352. }
  353. .account-switcher {
  354. position: relative;
  355. }
  356. .account-btn {
  357. display: flex;
  358. align-items: center;
  359. gap: 8px;
  360. background: var(--page-bg);
  361. border: 1px solid var(--border);
  362. border-radius: var(--radius-sm);
  363. padding: 8px 12px;
  364. cursor: pointer;
  365. font-size: 14px;
  366. color: var(--text-primary);
  367. transition: all 0.15s;
  368. }
  369. .account-btn:hover { border-color: var(--brand); background: var(--brand-bg); }
  370. .account-dot {
  371. width: 8px;
  372. height: 8px;
  373. border-radius: 50%;
  374. }
  375. .account-dot.online { background: var(--success); box-shadow: 0 0 0 3px rgba(82,196,26,0.15); }
  376. .account-dot.offline { background: var(--text-muted); }
  377. .account-chevron { width: 16px; height: 16px; fill: var(--text-muted); }
  378. .account-dropdown {
  379. position: absolute;
  380. top: calc(100% + 8px);
  381. right: 0;
  382. min-width: 220px;
  383. background: var(--panel-bg);
  384. border: 1px solid var(--border);
  385. border-radius: var(--radius-md);
  386. box-shadow: var(--shadow-hover);
  387. padding: 8px 0;
  388. display: none;
  389. z-index: 60;
  390. animation: scaleIn 0.2s ease;
  391. }
  392. .account-dropdown.open { display: block; }
  393. .dropdown-header {
  394. padding: 8px 16px;
  395. font-size: 12px;
  396. color: var(--text-muted);
  397. text-transform: uppercase;
  398. letter-spacing: 0.5px;
  399. }
  400. .account-list { max-height: 240px; overflow-y: auto; }
  401. .account-option {
  402. display: flex;
  403. align-items: center;
  404. gap: 10px;
  405. width: 100%;
  406. padding: 10px 16px;
  407. border: none;
  408. background: none;
  409. cursor: pointer;
  410. text-align: left;
  411. font-size: 14px;
  412. color: var(--text-primary);
  413. transition: background 0.15s;
  414. }
  415. .account-option:hover { background: var(--brand-bg); }
  416. .account-option.active { color: var(--brand); font-weight: 600; }
  417. .account-option .account-info {
  418. display: flex;
  419. flex-direction: column;
  420. flex: 1;
  421. min-width: 0;
  422. }
  423. .account-option .account-info strong {
  424. font-weight: 600;
  425. white-space: nowrap;
  426. overflow: hidden;
  427. text-overflow: ellipsis;
  428. }
  429. .account-option .account-info span {
  430. font-size: 12px;
  431. color: var(--text-muted);
  432. }
  433. .dropdown-divider {
  434. height: 1px;
  435. background: var(--border);
  436. margin: 8px 0;
  437. }
  438. .dropdown-item {
  439. display: flex;
  440. align-items: center;
  441. gap: 10px;
  442. width: 100%;
  443. padding: 10px 16px;
  444. border: none;
  445. background: none;
  446. cursor: pointer;
  447. font-size: 14px;
  448. color: var(--text-primary);
  449. transition: background 0.15s;
  450. }
  451. .dropdown-item:hover { background: var(--brand-bg); }
  452. .dropdown-item svg { width: 18px; height: 18px; fill: currentColor; }
  453. .content {
  454. flex: 1;
  455. padding: 28px 32px 48px;
  456. max-width: 1480px;
  457. width: 100%;
  458. margin: 0 auto;
  459. }
  460. /* ==================== Intelligent Conversations ==================== */
  461. .agent-page {
  462. --agent-ink: #182126;
  463. --agent-soft: #f5f7f6;
  464. --agent-line: #e5e9e7;
  465. --agent-green: #137a5b;
  466. --agent-green-soft: #eaf6f1;
  467. --agent-orange: #fa8c16;
  468. }
  469. .agent-loading {
  470. min-height: 420px;
  471. display: grid;
  472. place-items: center;
  473. color: var(--text-muted);
  474. }
  475. .agent-hero {
  476. position: relative;
  477. overflow: hidden;
  478. display: flex;
  479. align-items: center;
  480. justify-content: space-between;
  481. gap: 32px;
  482. padding: 30px 34px;
  483. margin-bottom: 16px;
  484. color: #fff;
  485. border-radius: 18px;
  486. background:
  487. radial-gradient(circle at 80% -20%, rgba(250,140,22,.35), transparent 38%),
  488. linear-gradient(125deg, #152622 0%, #164c3e 58%, #1a6e55 100%);
  489. box-shadow: 0 20px 44px rgba(20, 67, 54, .18);
  490. }
  491. .agent-hero::after {
  492. content: '';
  493. position: absolute;
  494. width: 220px;
  495. height: 220px;
  496. border: 1px solid rgba(255,255,255,.14);
  497. border-radius: 50%;
  498. right: 32%;
  499. top: -150px;
  500. }
  501. .agent-eyebrow {
  502. margin-bottom: 8px;
  503. color: #a9dec9;
  504. font-size: 11px;
  505. font-weight: 800;
  506. letter-spacing: 1.8px;
  507. }
  508. .agent-hero h2 {
  509. margin: 0 0 8px;
  510. font-size: 27px;
  511. line-height: 1.3;
  512. letter-spacing: .2px;
  513. }
  514. .agent-hero p {
  515. margin: 0;
  516. color: rgba(255,255,255,.72);
  517. font-size: 14px;
  518. }
  519. .agent-safety-card {
  520. position: relative;
  521. z-index: 1;
  522. min-width: 330px;
  523. display: grid;
  524. grid-template-columns: auto 1fr auto;
  525. align-items: center;
  526. gap: 12px;
  527. padding: 14px 16px;
  528. border: 1px solid rgba(255,255,255,.14);
  529. border-radius: 14px;
  530. background: rgba(255,255,255,.09);
  531. backdrop-filter: blur(14px);
  532. }
  533. .agent-safety-card .btn {
  534. padding: 8px 12px;
  535. white-space: nowrap;
  536. }
  537. .agent-safety-actions {
  538. display: flex;
  539. flex-direction: column;
  540. align-items: stretch;
  541. gap: 6px;
  542. }
  543. .agent-safety-card .btn-secondary {
  544. color: #fff;
  545. background: transparent;
  546. border-color: rgba(255,255,255,.28);
  547. }
  548. .agent-safety-card strong,
  549. .agent-safety-card small {
  550. display: block;
  551. }
  552. .agent-safety-card strong { font-size: 14px; }
  553. .agent-safety-card small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 11px; }
  554. .agent-live-dot {
  555. width: 10px;
  556. height: 10px;
  557. border-radius: 50%;
  558. background: #8d9b96;
  559. box-shadow: 0 0 0 5px rgba(141,155,150,.14);
  560. }
  561. .agent-live-dot.online {
  562. background: #5de0a4;
  563. box-shadow: 0 0 0 5px rgba(93,224,164,.14), 0 0 16px rgba(93,224,164,.4);
  564. }
  565. .agent-modebar {
  566. display: grid;
  567. grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr);
  568. align-items: center;
  569. gap: 20px;
  570. padding: 14px 18px;
  571. margin-bottom: 16px;
  572. border: 1px solid var(--agent-line);
  573. border-radius: 14px;
  574. background: #fff;
  575. box-shadow: 0 4px 16px rgba(27,49,42,.05);
  576. }
  577. .agent-mode-copy strong,
  578. .agent-mode-copy span { display: block; }
  579. .agent-mode-copy strong { font-size: 14px; }
  580. .agent-mode-copy span { margin-top: 2px; color: var(--text-muted); font-size: 11px; }
  581. .agent-mode-switch {
  582. display: flex;
  583. gap: 4px;
  584. padding: 4px;
  585. border-radius: 10px;
  586. background: #f1f3f2;
  587. }
  588. .agent-mode-btn {
  589. padding: 8px 15px;
  590. border: 0;
  591. border-radius: 8px;
  592. background: transparent;
  593. color: #6d7773;
  594. font: inherit;
  595. font-size: 12px;
  596. cursor: pointer;
  597. }
  598. .agent-mode-btn:hover { color: var(--agent-green); }
  599. .agent-mode-btn.active { color: var(--agent-green); background: #fff; box-shadow: 0 2px 8px rgba(20,60,48,.1); font-weight: 700; }
  600. .agent-mode-btn.danger.active { color: #b44b26; background: #fff1eb; }
  601. .agent-guard {
  602. justify-self: end;
  603. color: #78827e;
  604. font-size: 11px;
  605. }
  606. .agent-guard span {
  607. margin-right: 7px;
  608. padding: 4px 7px;
  609. color: var(--agent-green);
  610. border-radius: 5px;
  611. background: var(--agent-green-soft);
  612. font-weight: 700;
  613. }
  614. .agent-runtime-alert {
  615. display: flex;
  616. align-items: center;
  617. gap: 12px;
  618. margin: 0 0 16px;
  619. padding: 12px 16px;
  620. border: 1px solid #f2c7b4;
  621. border-radius: 12px;
  622. color: #8b4429;
  623. background: #fff5f0;
  624. font-size: 11px;
  625. }
  626. .agent-runtime-alert strong { flex: 0 0 auto; }
  627. .agent-runtime-alert span { line-height: 1.5; }
  628. .agent-workspace {
  629. min-height: 650px;
  630. display: grid;
  631. grid-template-columns: 245px minmax(420px, 1fr) 330px;
  632. border: 1px solid var(--agent-line);
  633. border-radius: 18px;
  634. overflow: hidden;
  635. background: #fff;
  636. box-shadow: 0 12px 38px rgba(24,54,45,.08);
  637. }
  638. .agent-conversation-list,
  639. .agent-insight-panel {
  640. min-width: 0;
  641. background: #fbfcfb;
  642. }
  643. .agent-conversation-list { border-right: 1px solid var(--agent-line); }
  644. .agent-insight-panel { border-left: 1px solid var(--agent-line); overflow-y: auto; max-height: 760px; }
  645. .agent-panel-heading {
  646. min-height: 72px;
  647. display: flex;
  648. align-items: center;
  649. justify-content: space-between;
  650. padding: 16px 18px;
  651. border-bottom: 1px solid var(--agent-line);
  652. }
  653. .agent-panel-heading strong,
  654. .agent-panel-heading small { display: block; }
  655. .agent-panel-heading strong { color: var(--agent-ink); font-size: 14px; }
  656. .agent-panel-heading small { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  657. .agent-count { min-width: 24px; padding: 4px 7px; border-radius: 12px; text-align: center; color: var(--agent-green); background: var(--agent-green-soft); font-size: 11px; font-weight: 800; }
  658. .agent-list-scroll { padding: 8px; }
  659. .agent-conversation-item {
  660. width: 100%;
  661. display: grid;
  662. grid-template-columns: auto minmax(0, 1fr) auto;
  663. align-items: start;
  664. gap: 10px;
  665. padding: 12px 10px;
  666. margin-bottom: 5px;
  667. border: 0;
  668. border-radius: 10px;
  669. text-align: left;
  670. color: var(--agent-ink);
  671. background: transparent;
  672. cursor: pointer;
  673. }
  674. .agent-conversation-item:hover { background: #f1f6f3; }
  675. .agent-conversation-item.active { background: var(--agent-green-soft); box-shadow: inset 3px 0 0 var(--agent-green); }
  676. .agent-avatar {
  677. width: 34px;
  678. height: 34px;
  679. display: grid;
  680. place-items: center;
  681. color: #fff;
  682. border-radius: 11px;
  683. background: linear-gradient(145deg, #2f9b78, #145d49);
  684. font-size: 13px;
  685. font-weight: 800;
  686. }
  687. .agent-conversation-copy { min-width: 0; }
  688. .agent-conversation-copy strong,
  689. .agent-conversation-copy small,
  690. .agent-conversation-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  691. .agent-conversation-copy strong { font-size: 12px; }
  692. .agent-conversation-copy small { margin-top: 4px; color: #76817d; font-size: 10px; }
  693. .agent-conversation-copy em { width: max-content; max-width: 100%; margin-top: 6px; padding: 2px 6px; border-radius: 4px; color: var(--agent-green); background: rgba(19,122,91,.08); font-size: 9px; font-style: normal; }
  694. .agent-conversation-item time { color: #9aa29f; font-size: 9px; white-space: nowrap; }
  695. .agent-chat-panel {
  696. min-width: 0;
  697. display: grid;
  698. grid-template-rows: auto auto minmax(320px, 1fr) auto;
  699. background: #fff;
  700. }
  701. .agent-chat-header {
  702. min-height: 72px;
  703. display: flex;
  704. align-items: center;
  705. justify-content: space-between;
  706. gap: 16px;
  707. padding: 13px 20px;
  708. border-bottom: 1px solid var(--agent-line);
  709. }
  710. .agent-chat-header strong,
  711. .agent-chat-header span { display: block; }
  712. .agent-chat-header strong { color: var(--agent-ink); font-size: 14px; }
  713. .agent-chat-header span { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  714. .agent-chat-header .btn { padding: 7px 11px; font-size: 11px; }
  715. .agent-conversation-modes {
  716. display: flex;
  717. flex-wrap: wrap;
  718. justify-content: flex-end;
  719. gap: 5px;
  720. }
  721. .agent-session-strip {
  722. display: grid;
  723. grid-template-columns: auto minmax(0, 1fr) auto;
  724. align-items: center;
  725. gap: 10px;
  726. padding: 9px 20px;
  727. color: #6f7874;
  728. border-bottom: 1px solid var(--agent-line);
  729. background: #f8faf9;
  730. }
  731. .agent-session-strip.ready { color: #245d4b; background: #f0f8f5; }
  732. .agent-session-strip strong,
  733. .agent-session-strip small { display: block; }
  734. .agent-session-strip strong { color: inherit; font-size: 11px; }
  735. .agent-session-strip small { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #89918e; font-size: 9px; }
  736. .agent-session-dot { width: 8px; height: 8px; border-radius: 50%; background: #b3bbb8; box-shadow: 0 0 0 4px rgba(137,145,142,.1); }
  737. .agent-session-strip.ready .agent-session-dot { background: #22b981; box-shadow: 0 0 0 4px rgba(34,185,129,.12); }
  738. .agent-message-stream {
  739. max-height: 440px;
  740. overflow-y: auto;
  741. padding: 20px;
  742. background:
  743. linear-gradient(rgba(244,247,245,.75), rgba(244,247,245,.75)),
  744. radial-gradient(circle at 1px 1px, rgba(20,87,66,.1) 1px, transparent 0);
  745. background-size: auto, 18px 18px;
  746. }
  747. .agent-message { max-width: 86%; margin-bottom: 18px; }
  748. .agent-message.customer { margin-right: auto; }
  749. .agent-message.agent,
  750. .agent-message.human { margin-left: auto; }
  751. .agent-message-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #8b9491; font-size: 9px; }
  752. .agent-message.agent .agent-message-meta,
  753. .agent-message.human .agent-message-meta { flex-direction: row-reverse; }
  754. .agent-message-body { padding: 11px 13px; border: 1px solid #e3e8e5; border-radius: 4px 14px 14px 14px; color: #34413c; background: #fff; box-shadow: 0 5px 12px rgba(24,54,45,.05); font-size: 12px; line-height: 1.7; }
  755. .agent-message.agent .agent-message-body { color: #164e3d; border-color: #cfe8de; border-radius: 14px 4px 14px 14px; background: #eef8f4; }
  756. .agent-message.human .agent-message-body { color: #6d431b; border-color: #f3d9bd; border-radius: 14px 4px 14px 14px; background: #fff6eb; }
  757. .agent-composer {
  758. padding: 14px 18px 16px;
  759. border-top: 1px solid var(--agent-line);
  760. background: #fff;
  761. }
  762. .agent-composer.manual { background: #fffaf4; }
  763. .agent-composer-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  764. .agent-composer-label strong { color: var(--agent-green); font-size: 11px; }
  765. .agent-composer.manual .agent-composer-label strong { color: #b06c2a; }
  766. .agent-composer-label span { color: var(--text-muted); font-size: 9px; }
  767. .agent-composer textarea { width: 100%; min-height: 76px; resize: vertical; padding: 10px 12px; border: 1px solid #dce5e1; border-radius: 10px; outline: 0; color: #34413c; background: #fbfdfc; font: inherit; font-size: 11px; line-height: 1.55; }
  768. .agent-composer textarea:focus { border-color: var(--agent-green); box-shadow: 0 0 0 3px rgba(19,122,91,.08); }
  769. .agent-composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
  770. .agent-composer-actions span { color: #9aa29f; font-size: 9px; }
  771. .agent-composer-actions .btn { padding: 8px 14px; background: var(--agent-green); border-color: var(--agent-green); font-size: 11px; }
  772. .agent-review-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  773. .agent-review-actions .btn-secondary { color: #5f6d68; border-color: #d7e0dc; background: #fff; }
  774. .agent-tool-trace details {
  775. margin-bottom: 6px;
  776. border: 1px solid #e2e9e6;
  777. border-radius: 8px;
  778. background: #f8faf9;
  779. }
  780. .agent-tool-trace summary {
  781. padding: 8px 9px;
  782. color: #315e50;
  783. cursor: pointer;
  784. font-size: 9px;
  785. font-weight: 700;
  786. }
  787. .agent-tool-trace pre {
  788. max-height: 120px;
  789. margin: 0;
  790. overflow: auto;
  791. padding: 0 9px 9px;
  792. color: #67736f;
  793. white-space: pre-wrap;
  794. word-break: break-all;
  795. font-size: 8px;
  796. line-height: 1.45;
  797. }
  798. .agent-audit-list { display: grid; gap: 5px; }
  799. .agent-audit-list > div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 5px; border-bottom: 1px dashed #e6ebe9; color: #66736e; font-size: 8px; }
  800. .agent-audit-list time { flex: 0 0 auto; color: #9aa39f; }
  801. .agent-insight-section { padding: 17px 18px; border-bottom: 1px solid var(--agent-line); }
  802. .agent-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
  803. .agent-section-title > span { color: #9bb7ae; font: 700 9px/1 monospace; }
  804. .agent-section-title strong,
  805. .agent-section-title small { display: block; }
  806. .agent-section-title strong { color: var(--agent-ink); font-size: 12px; }
  807. .agent-section-title small { margin-top: 2px; color: var(--text-muted); font-size: 9px; }
  808. .agent-intent-card { padding: 11px 12px; border: 1px solid #d7ebe3; border-radius: 10px; background: var(--agent-green-soft); }
  809. .agent-intent-card > strong { color: var(--agent-green); font-size: 13px; }
  810. .agent-intent-card > span { float: right; color: #60756e; font-size: 9px; }
  811. .agent-intent-card > div { clear: both; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(19,122,91,.12); }
  812. .agent-intent-card i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22a579, #73cfae); }
  813. .agent-reasoning { margin: 9px 0 0; color: #75807c; font-size: 9px; line-height: 1.55; }
  814. .agent-demand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  815. .agent-demand-grid > div { padding: 8px 9px; border: 1px solid #e8ecea; border-radius: 8px; background: #fff; }
  816. .agent-demand-grid small,
  817. .agent-demand-grid strong { display: block; }
  818. .agent-demand-grid small { color: #9aa29f; font-size: 8px; }
  819. .agent-demand-grid strong { margin-top: 3px; overflow: hidden; color: #37443f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  820. .agent-customer-task-list,
  821. .agent-customer-alert-list { display: grid; gap: 8px; }
  822. .agent-customer-task,
  823. .agent-customer-alert { padding: 10px; border: 1px solid #e3e9e6; border-radius: 9px; background: #fff; }
  824. .agent-customer-task.high,
  825. .agent-customer-task.urgent { border-left: 3px solid #ed8a2e; }
  826. .agent-customer-task.done,
  827. .agent-customer-task.dismissed,
  828. .agent-customer-alert.acknowledged,
  829. .agent-customer-alert.resolved,
  830. .agent-customer-alert.dismissed { opacity: .62; }
  831. .agent-customer-task strong,
  832. .agent-customer-task small { display: block; }
  833. .agent-customer-task strong { color: #30423b; font-size: 10px; }
  834. .agent-customer-task small { margin-top: 3px; color: #8d9692; font-size: 8px; }
  835. .agent-customer-task p,
  836. .agent-customer-alert p { margin: 6px 0 0; color: #68746f; font-size: 9px; line-height: 1.5; }
  837. .agent-task-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
  838. .agent-task-meta span { padding: 2px 5px; border-radius: 4px; color: #68746f; background: #f0f3f2; font-size: 8px; }
  839. .agent-task-meta span.synced { color: #26745e; background: #e8f5ef; }
  840. .agent-task-meta span.error { color: #a83831; background: #fff0ee; }
  841. .agent-customer-alert.high { border-left: 3px solid #ed8a2e; background: #fffaf3; }
  842. .agent-customer-alert.critical { border-left: 3px solid #d94f45; background: #fff5f4; }
  843. .agent-alert-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  844. .agent-alert-heading strong { color: #3e4844; font-size: 10px; }
  845. .agent-alert-heading em { padding: 2px 5px; border-radius: 4px; color: #966023; background: rgba(237,138,46,.12); font-size: 8px; font-style: normal; }
  846. .agent-customer-alert.critical .agent-alert-heading em { color: #a83831; background: rgba(217,79,69,.12); }
  847. .agent-customer-alert > small { display: block; margin-top: 5px; color: #929a97; font-size: 8px; line-height: 1.4; }
  848. .agent-intelligence-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 8px; }
  849. .agent-intelligence-actions .btn { padding: 4px 7px; font-size: 8px; }
  850. .agent-intelligence-actions span { color: #7d8783; font-size: 8px; }
  851. /* ==================== Dashboard Motion System ==================== */
  852. :root {
  853. --motion-fast: 160ms;
  854. --motion-base: 240ms;
  855. --motion-slow: 320ms;
  856. --motion-ease-out: cubic-bezier(.2, .72, .24, 1);
  857. --motion-ease-soft: cubic-bezier(.22, .61, .36, 1);
  858. }
  859. /* 模块切换:页面立即出现,内容以短距离错峰进入,不延长数据加载。 */
  860. .content > .page {
  861. animation: dashboardPageIn var(--motion-base) var(--motion-ease-out) both;
  862. }
  863. .content > .page > * {
  864. animation: dashboardSectionIn var(--motion-slow) var(--motion-ease-out) both;
  865. }
  866. .content > .page > *:nth-child(2) { animation-delay: 35ms; }
  867. .content > .page > *:nth-child(3) { animation-delay: 70ms; }
  868. .content > .page > *:nth-child(4) { animation-delay: 105ms; }
  869. .content > .page > *:nth-child(5) { animation-delay: 140ms; }
  870. .content > .page > *:nth-child(n+6) { animation-delay: 165ms; }
  871. @keyframes dashboardPageIn {
  872. from { opacity: 0; transform: translate3d(8px, 0, 0); }
  873. to { opacity: 1; transform: translate3d(0, 0, 0); }
  874. }
  875. @keyframes dashboardSectionIn {
  876. from { opacity: 0; transform: translate3d(0, 10px, 0); }
  877. to { opacity: 1; transform: translate3d(0, 0, 0); }
  878. }
  879. /* 侧边导航:新模块图标轻微弹入,文字与底色保持原有品牌风格。 */
  880. .nav-item { transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, box-shadow var(--motion-base) ease, transform var(--motion-fast) ease; }
  881. .nav-item:hover { transform: translate3d(2px, 0, 0); }
  882. .nav-item.active svg { animation: dashboardNavIconIn var(--motion-base) var(--motion-ease-out) both; }
  883. @keyframes dashboardNavIconIn {
  884. 0% { opacity: .55; transform: scale(.78) rotate(-5deg); }
  885. 100% { opacity: 1; transform: scale(1) rotate(0); }
  886. }
  887. /* 关键指标与状态卡:错峰进入,并提供稳定、不改变布局的悬停反馈。 */
  888. .kpi-row > .kpi-card,
  889. .status-cards > .status-card,
  890. .workspace-stat-row > div,
  891. .customer-master-stats > div,
  892. .task-stat-row > div {
  893. animation: dashboardMetricIn var(--motion-slow) var(--motion-ease-out) both;
  894. transition: transform var(--motion-base) var(--motion-ease-out), border-color var(--motion-fast) ease, box-shadow var(--motion-base) ease;
  895. }
  896. .kpi-row > :nth-child(2), .status-cards > :nth-child(2), .workspace-stat-row > :nth-child(2), .customer-master-stats > :nth-child(2), .task-stat-row > :nth-child(2) { animation-delay: 45ms; }
  897. .kpi-row > :nth-child(3), .status-cards > :nth-child(3), .workspace-stat-row > :nth-child(3), .customer-master-stats > :nth-child(3), .task-stat-row > :nth-child(3) { animation-delay: 90ms; }
  898. .kpi-row > :nth-child(4), .workspace-stat-row > :nth-child(4), .customer-master-stats > :nth-child(4), .task-stat-row > :nth-child(4) { animation-delay: 135ms; }
  899. .kpi-row > :nth-child(5), .workspace-stat-row > :nth-child(5) { animation-delay: 180ms; }
  900. .kpi-row > :nth-child(6), .workspace-stat-row > :nth-child(6) { animation-delay: 225ms; }
  901. .kpi-card:hover,
  902. .status-card:hover,
  903. .customer-master-stats > div:hover,
  904. .task-stat-row > div:hover {
  905. transform: translate3d(0, -2px, 0);
  906. border-color: #d5dde2;
  907. box-shadow: 0 10px 28px rgba(28,45,59,.075);
  908. }
  909. @keyframes dashboardMetricIn {
  910. from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.985); }
  911. to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  912. }
  913. /* 页签、筛选结果和局部工作区切换。 */
  914. [data-group-ops-panel]:not([hidden]),
  915. .agent-knowledge-view,
  916. .customer-master-detail,
  917. .meeting-detail,
  918. .doc-detail,
  919. .todo-detail {
  920. animation: dashboardPanelIn var(--motion-base) var(--motion-ease-soft) both;
  921. }
  922. @keyframes dashboardPanelIn {
  923. from { opacity: 0; transform: translate3d(6px, 0, 0); }
  924. to { opacity: 1; transform: translate3d(0, 0, 0); }
  925. }
  926. /* 常用列表与操作卡仅在悬停时轻移,避免数据密集页面持续运动。 */
  927. .skill-capability-card,
  928. .property-card,
  929. .customer-master-list-item,
  930. .meeting-list-item,
  931. .office-list-item,
  932. .unified-task-card,
  933. .group-ops-playbooks article,
  934. .group-ops-task-list article {
  935. transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, box-shadow var(--motion-base) ease;
  936. }
  937. .skill-capability-card:hover,
  938. .property-card:hover,
  939. .customer-master-list-item:hover,
  940. .meeting-list-item:hover,
  941. .office-list-item:hover,
  942. .unified-task-card:hover,
  943. .group-ops-playbooks article:hover,
  944. .group-ops-task-list article:hover {
  945. transform: translate3d(0, -1px, 0);
  946. }
  947. /* Hero 装饰只做低频漂移,主体文字与操作按钮保持稳定。 */
  948. .customer-workspace-hero::before { animation: dashboardHeroFloat 8s ease-in-out infinite alternate; }
  949. .customer-workspace-hero::after { animation: dashboardHeroFloatReverse 10s ease-in-out infinite alternate; }
  950. @keyframes dashboardHeroFloat {
  951. from { transform: translate3d(0, 0, 0); }
  952. to { transform: translate3d(-10px, 8px, 0); }
  953. }
  954. @keyframes dashboardHeroFloatReverse {
  955. from { transform: translate3d(0, 0, 0); }
  956. to { transform: translate3d(9px, -6px, 0); }
  957. }
  958. .agent-match-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px dashed #e5e9e7; }
  959. .agent-match-card:last-child { border-bottom: 0; }
  960. .agent-match-card > span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--agent-green); border-radius: 6px; background: var(--agent-green-soft); font-size: 9px; font-weight: 800; }
  961. .agent-match-card strong,
  962. .agent-match-card small,
  963. .agent-match-card em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  964. .agent-match-card strong { color: #34413c; font-size: 10px; }
  965. .agent-match-card small { margin-top: 3px; color: #6f7b76; font-size: 9px; }
  966. .agent-match-card em { margin-top: 3px; color: #9a7a51; font-size: 8px; font-style: normal; }
  967. .agent-match-card b { color: var(--agent-orange); font: 800 13px/1 monospace; }
  968. .agent-insight-section.knowledge ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
  969. .agent-insight-section.knowledge li { padding: 6px 7px; border-radius: 6px; color: #5c6c66; background: #f0f3f2; font-size: 8px; }
  970. .agent-insight-section.knowledge li::before { content: '✓'; margin-right: 4px; color: var(--agent-green); font-weight: 800; }
  971. .agent-muted { margin: 0; color: var(--text-muted); font-size: 10px; }
  972. .agent-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; color: var(--text-muted); }
  973. .agent-empty.large { min-height: 560px; }
  974. .agent-empty strong { color: #53605b; font-size: 13px; }
  975. .agent-empty span { max-width: 360px; font-size: 10px; line-height: 1.5; }
  976. @media (max-width: 1320px) {
  977. .agent-workspace { grid-template-columns: 220px minmax(390px, 1fr) 300px; }
  978. }
  979. @media (max-width: 1050px) {
  980. .agent-modebar { grid-template-columns: 1fr auto; }
  981. .agent-guard { display: none; }
  982. .agent-workspace { grid-template-columns: 210px minmax(0, 1fr); }
  983. .agent-insight-panel { grid-column: 1 / -1; max-height: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--agent-line); border-left: 0; }
  984. }
  985. @media (max-width: 760px) {
  986. .agent-hero { align-items: stretch; flex-direction: column; padding: 24px; }
  987. .agent-safety-card { min-width: 0; }
  988. .agent-modebar { grid-template-columns: 1fr; }
  989. .agent-mode-switch { justify-self: stretch; }
  990. .agent-mode-btn { flex: 1; }
  991. .agent-workspace { display: block; }
  992. .agent-conversation-list { border-right: 0; border-bottom: 1px solid var(--agent-line); }
  993. .agent-chat-panel { min-height: 620px; }
  994. .agent-insight-panel { display: block; }
  995. }
  996. .page {
  997. animation: fadeInUp 0.4s ease both;
  998. }
  999. @keyframes fadeInUp {
  1000. from { opacity: 0; transform: translateY(16px); }
  1001. to { opacity: 1; transform: translateY(0); }
  1002. }
  1003. .section-title {
  1004. font-size: 14px;
  1005. color: var(--text-secondary);
  1006. margin: 0 0 14px;
  1007. font-weight: 600;
  1008. }
  1009. .card {
  1010. background: var(--panel-bg);
  1011. border: 1px solid var(--border);
  1012. border-radius: var(--radius-lg);
  1013. padding: 24px;
  1014. margin-bottom: 24px;
  1015. box-shadow: var(--shadow);
  1016. transition: box-shadow 0.2s, transform 0.2s;
  1017. animation: fadeInUp 0.4s ease both;
  1018. }
  1019. .card:hover { box-shadow: var(--shadow-hover); }
  1020. .card-header {
  1021. display: flex;
  1022. align-items: center;
  1023. justify-content: space-between;
  1024. margin-bottom: 20px;
  1025. flex-wrap: wrap;
  1026. gap: 12px;
  1027. }
  1028. .card-title {
  1029. font-size: 16px;
  1030. font-weight: 700;
  1031. margin: 0;
  1032. display: flex;
  1033. align-items: center;
  1034. gap: 8px;
  1035. }
  1036. .card-title svg { width: 20px; height: 20px; fill: var(--brand); }
  1037. .card-subtitle {
  1038. font-size: 13px;
  1039. color: var(--text-muted);
  1040. margin-top: 4px;
  1041. }
  1042. .form-row {
  1043. display: flex;
  1044. flex-wrap: wrap;
  1045. gap: 20px;
  1046. margin-bottom: 20px;
  1047. }
  1048. .form-group {
  1049. display: flex;
  1050. flex-direction: column;
  1051. gap: 8px;
  1052. flex: 1;
  1053. min-width: 180px;
  1054. }
  1055. .form-group label {
  1056. font-size: 13px;
  1057. color: var(--text-secondary);
  1058. font-weight: 500;
  1059. }
  1060. .form-group input,
  1061. .form-group select,
  1062. .form-group textarea {
  1063. padding: 10px 12px;
  1064. border: 1px solid var(--border);
  1065. border-radius: var(--radius-sm);
  1066. font-size: 14px;
  1067. outline: none;
  1068. transition: border-color 0.15s, box-shadow 0.15s;
  1069. font-family: inherit;
  1070. background: var(--panel-bg);
  1071. }
  1072. .form-group input:focus,
  1073. .form-group select:focus,
  1074. .form-group textarea:focus {
  1075. border-color: var(--brand);
  1076. box-shadow: 0 0 0 3px rgba(250, 140, 22, 0.1);
  1077. }
  1078. .form-group input[type="checkbox"] {
  1079. width: auto;
  1080. margin: 0;
  1081. }
  1082. .checkbox-row {
  1083. display: flex;
  1084. align-items: center;
  1085. gap: 8px;
  1086. font-size: 14px;
  1087. color: var(--text-secondary);
  1088. }
  1089. .checkbox-row input { width: 16px; height: 16px; accent-color: var(--brand); }
  1090. .btn {
  1091. display: inline-flex;
  1092. align-items: center;
  1093. justify-content: center;
  1094. gap: 8px;
  1095. border: none;
  1096. background: var(--brand);
  1097. color: #fff;
  1098. font-size: 14px;
  1099. font-weight: 600;
  1100. padding: 10px 20px;
  1101. border-radius: var(--radius-sm);
  1102. cursor: pointer;
  1103. transition: all 0.15s;
  1104. font-family: inherit;
  1105. box-shadow: 0 4px 12px rgba(250, 140, 22, 0.25);
  1106. }
  1107. .btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
  1108. .btn:active { transform: translateY(0); }
  1109. .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
  1110. .btn-sm { padding: 7px 14px; font-size: 13px; }
  1111. .btn-secondary {
  1112. background: var(--panel-bg);
  1113. color: var(--text-secondary);
  1114. border: 1px solid var(--border);
  1115. box-shadow: none;
  1116. }
  1117. .btn-secondary:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); }
  1118. .btn-danger { background: var(--error); box-shadow: 0 4px 12px rgba(255,77,79,0.25); }
  1119. .btn svg { width: 16px; height: 16px; fill: currentColor; }
  1120. .spinner {
  1121. width: 16px;
  1122. height: 16px;
  1123. border: 2px solid rgba(255,255,255,0.4);
  1124. border-top-color: #fff;
  1125. border-radius: 50%;
  1126. animation: spin 0.8s linear infinite;
  1127. }
  1128. @keyframes spin { to { transform: rotate(360deg); } }
  1129. .stats-grid {
  1130. display: grid;
  1131. grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  1132. gap: 16px;
  1133. margin-bottom: 24px;
  1134. }
  1135. .stat-card {
  1136. background: var(--panel-bg);
  1137. border: 1px solid var(--border);
  1138. border-radius: var(--radius-md);
  1139. padding: 20px 16px;
  1140. text-align: center;
  1141. transition: all 0.2s;
  1142. box-shadow: var(--shadow);
  1143. }
  1144. .stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  1145. .stat-value {
  1146. font-size: 32px;
  1147. font-weight: 800;
  1148. color: var(--brand);
  1149. line-height: 1.2;
  1150. }
  1151. .stat-label {
  1152. font-size: 13px;
  1153. color: var(--text-muted);
  1154. margin-top: 6px;
  1155. }
  1156. .table-wrap {
  1157. overflow-x: auto;
  1158. border: 1px solid var(--border);
  1159. border-radius: var(--radius-md);
  1160. }
  1161. table {
  1162. width: 100%;
  1163. border-collapse: collapse;
  1164. font-size: 13px;
  1165. }
  1166. th, td {
  1167. padding: 14px 16px;
  1168. text-align: left;
  1169. border-bottom: 1px solid var(--border);
  1170. }
  1171. th {
  1172. background: var(--page-bg);
  1173. color: var(--text-secondary);
  1174. font-weight: 600;
  1175. font-size: 12px;
  1176. text-transform: uppercase;
  1177. letter-spacing: 0.5px;
  1178. }
  1179. tr:last-child td { border-bottom: none; }
  1180. tr:hover td { background: var(--brand-bg); }
  1181. .badge {
  1182. display: inline-flex;
  1183. align-items: center;
  1184. padding: 4px 10px;
  1185. border-radius: 999px;
  1186. font-size: 12px;
  1187. font-weight: 600;
  1188. }
  1189. .badge-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
  1190. .badge-error { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }
  1191. .badge-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #ffe58f; }
  1192. .badge-info { background: var(--info-bg); color: var(--info); border: 1px solid #91d5ff; }
  1193. .badge-default { background: var(--page-bg); color: var(--text-muted); border: 1px solid var(--border); }
  1194. .confidence-bar {
  1195. width: 80px;
  1196. height: 6px;
  1197. background: var(--border);
  1198. border-radius: 3px;
  1199. overflow: hidden;
  1200. }
  1201. .confidence-bar-fill {
  1202. height: 100%;
  1203. background: linear-gradient(90deg, var(--brand) 0%, #ffc53d 100%);
  1204. border-radius: 3px;
  1205. transition: width 0.5s ease;
  1206. }
  1207. .filter-bar {
  1208. display: flex;
  1209. flex-wrap: wrap;
  1210. gap: 10px;
  1211. align-items: flex-end;
  1212. }
  1213. .filter-bar input,
  1214. .filter-bar select {
  1215. padding: 8px 12px;
  1216. border: 1px solid var(--border);
  1217. border-radius: var(--radius-sm);
  1218. font-size: 13px;
  1219. outline: none;
  1220. background: var(--panel-bg);
  1221. }
  1222. .filter-bar input:focus,
  1223. .filter-bar select:focus { border-color: var(--brand); }
  1224. .empty-state {
  1225. text-align: center;
  1226. padding: 56px 20px;
  1227. color: var(--text-muted);
  1228. }
  1229. .empty-state svg {
  1230. width: 56px;
  1231. height: 56px;
  1232. fill: var(--border);
  1233. margin-bottom: 16px;
  1234. }
  1235. .empty-state-title { font-size: 15px; color: var(--text-secondary); margin-bottom: 6px; }
  1236. .empty-state-desc { font-size: 13px; }
  1237. .progress-wrap { margin: 18px 0; }
  1238. .progress-bar {
  1239. height: 8px;
  1240. background: var(--border);
  1241. border-radius: 4px;
  1242. overflow: hidden;
  1243. }
  1244. .progress-bar-fill {
  1245. height: 100%;
  1246. background: linear-gradient(90deg, var(--brand) 0%, #ffc53d 100%);
  1247. border-radius: 4px;
  1248. background-image: linear-gradient(45deg, rgba(255,255,255,0.3) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.3) 75%, transparent 75%, transparent);
  1249. background-size: 20px 20px;
  1250. animation: progressStripes 1s linear infinite;
  1251. transition: width 0.3s ease;
  1252. }
  1253. @keyframes progressStripes {
  1254. from { background-position: 0 0; }
  1255. to { background-position: 20px 0; }
  1256. }
  1257. .job-log {
  1258. background: #fafafa;
  1259. border: 1px solid var(--border);
  1260. border-radius: var(--radius-sm);
  1261. padding: 14px;
  1262. font-size: 13px;
  1263. color: var(--text-secondary);
  1264. max-height: 180px;
  1265. overflow-y: auto;
  1266. white-space: pre-wrap;
  1267. margin-top: 14px;
  1268. }
  1269. .toast-container {
  1270. position: fixed;
  1271. top: 24px;
  1272. right: 24px;
  1273. z-index: 200;
  1274. display: flex;
  1275. flex-direction: column;
  1276. gap: 12px;
  1277. }
  1278. .toast {
  1279. min-width: 280px;
  1280. max-width: 400px;
  1281. padding: 14px 18px;
  1282. border-radius: var(--radius-md);
  1283. font-size: 14px;
  1284. box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  1285. animation: slideIn 0.3s ease;
  1286. display: flex;
  1287. align-items: flex-start;
  1288. gap: 12px;
  1289. }
  1290. @keyframes slideIn {
  1291. from { opacity: 0; transform: translateX(100%); }
  1292. to { opacity: 1; transform: translateX(0); }
  1293. }
  1294. .toast.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
  1295. .toast.error { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }
  1296. .toast.warning { background: var(--warning-bg); color: #d48806; border: 1px solid #ffe58f; }
  1297. .modal-overlay {
  1298. position: fixed;
  1299. inset: 0;
  1300. background: rgba(0,0,0,0.45);
  1301. backdrop-filter: blur(2px);
  1302. display: flex;
  1303. align-items: center;
  1304. justify-content: center;
  1305. z-index: 150;
  1306. animation: fadeIn 0.2s ease;
  1307. }
  1308. @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  1309. .modal {
  1310. background: var(--panel-bg);
  1311. border-radius: var(--radius-lg);
  1312. padding: 28px;
  1313. width: 90%;
  1314. max-width: 440px;
  1315. animation: scaleIn 0.25s ease;
  1316. box-shadow: var(--shadow-hover);
  1317. }
  1318. @keyframes scaleIn {
  1319. from { opacity: 0; transform: scale(0.96); }
  1320. to { opacity: 1; transform: scale(1); }
  1321. }
  1322. .modal-title {
  1323. font-size: 18px;
  1324. font-weight: 700;
  1325. margin: 0 0 18px;
  1326. }
  1327. .modal-actions {
  1328. display: flex;
  1329. justify-content: flex-end;
  1330. gap: 12px;
  1331. margin-top: 24px;
  1332. }
  1333. body.modal-open { overflow: hidden; }
  1334. /* Customer portrait detail */
  1335. .portrait-modal-overlay {
  1336. align-items: flex-start;
  1337. padding: 24px;
  1338. overflow-x: hidden;
  1339. overflow-y: auto;
  1340. }
  1341. .portrait-modal {
  1342. width: min(100%, 960px);
  1343. max-width: 960px;
  1344. max-height: calc(100vh - 48px);
  1345. padding: 0;
  1346. overflow-x: hidden;
  1347. overflow-y: auto;
  1348. border: 1px solid rgba(255,255,255,.75);
  1349. border-radius: 20px;
  1350. box-shadow: 0 28px 80px rgba(20,34,44,.24);
  1351. }
  1352. .portrait-modal > .modal-title {
  1353. position: sticky;
  1354. top: 0;
  1355. z-index: 3;
  1356. margin: 0;
  1357. padding: 21px 26px 18px;
  1358. border-bottom: 1px solid #e9eeec;
  1359. color: #1f3029;
  1360. background: rgba(255,255,255,.96);
  1361. backdrop-filter: blur(10px);
  1362. font-size: 20px;
  1363. }
  1364. .portrait-profile { padding: 24px 26px 18px; background: linear-gradient(145deg, #f4faf7, #fff 72%); }
  1365. .portrait-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; }
  1366. .portrait-avatar { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #218263, #155b48); box-shadow: 0 8px 18px rgba(21,91,72,.2); font-size: 21px; font-weight: 800; }
  1367. .portrait-identity { min-width: 0; }
  1368. .portrait-name { color: #20342b; font-size: 20px; font-weight: 750; }
  1369. .portrait-subtitle { margin-top: 4px; overflow-wrap: anywhere; color: #75847d; font-size: 11px; line-height: 1.55; }
  1370. .portrait-chip-row, .portrait-tags, .portrait-evidence { display: flex; flex-wrap: wrap; gap: 6px; }
  1371. .portrait-chip-row { margin-top: 8px; }
  1372. .portrait-soft-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; color: #547066; background: #e8f2ed; font-size: 10px; }
  1373. .portrait-meta { min-width: 132px; padding-left: 14px; text-align: right; }
  1374. .portrait-meta div { color: #89958f; font-size: 9px; }
  1375. .portrait-meta strong { display: block; margin-top: 4px; color: #496057; font-size: 11px; }
  1376. .portrait-tags { margin-top: 16px; padding-top: 14px; border-top: 1px solid #dfeae5; }
  1377. .portrait-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
  1378. .portrait-section { margin: 0 26px 18px; padding: 17px; border: 1px solid #e1e8e4; border-radius: 14px; background: #fff; }
  1379. .portrait-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  1380. .portrait-section-head h3 { margin: 0; color: #293b33; font-size: 14px; }
  1381. .portrait-section-head span { padding: 3px 7px; border-radius: 999px; color: #6f7e77; background: #f0f4f2; font-size: 9px; }
  1382. .portrait-insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  1383. .portrait-insight-card { min-width: 0; padding: 12px 13px; border: 1px solid #e7ece9; border-radius: 10px; background: #f8faf9; }
  1384. .portrait-insight-label { margin-bottom: 5px; color: #78867f; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
  1385. .portrait-insight-value { overflow-wrap: anywhere; color: #304139; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
  1386. .portrait-insight-note { margin-top: 6px; color: #71847a; font-size: 9px; }
  1387. .portrait-evidence { margin-top: 8px; }
  1388. .portrait-evidence span { padding: 3px 7px; border-radius: 999px; color: #2f7258; background: #e7f4ed; font-size: 9px; }
  1389. .portrait-empty-panel { margin: 0 26px 18px; padding: 28px; border: 1px dashed #dbe4df; border-radius: 13px; color: #819087; background: #fafcfb; text-align: center; }
  1390. .portrait-modal .raw-toggle { display: flex; align-items: center; gap: 7px; margin: 0 26px; padding: 11px 13px; border: 1px solid #e1e7e4; border-radius: 10px; color: #65746d; background: #f7f9f8; cursor: pointer; font-size: 11px; font-weight: 650; }
  1391. .portrait-modal .raw-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; transition: transform .18s ease; }
  1392. .portrait-modal .raw-toggle.open svg { transform: rotate(180deg); }
  1393. .portrait-modal .raw-panel { display: none; max-height: 360px; margin: 10px 26px 0; padding: 14px; overflow: auto; border: 1px solid #dde5e1; border-radius: 10px; color: #4d5f56; background: #f5f8f6; font: 10px/1.65 Consolas, "SFMono-Regular", monospace; white-space: pre-wrap; word-break: break-word; }
  1394. .portrait-modal > .modal-actions { position: sticky; bottom: 0; z-index: 3; margin: 18px 0 0; padding: 14px 26px; border-top: 1px solid #e9eeec; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
  1395. .portrait-modal-loading { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 36px; color: #708078; text-align: center; }
  1396. .portrait-modal-loading .spinner { width: 30px; height: 30px; margin-bottom: 4px; }
  1397. .portrait-modal-loading strong { color: #304139; font-size: 14px; }
  1398. .portrait-modal-loading small { font-size: 10px; }
  1399. .portrait-modal-error { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 32px; color: #8b5d54; text-align: center; }
  1400. .portrait-modal-error strong { font-size: 14px; }
  1401. .portrait-modal-error span { font-size: 11px; }
  1402. /* Customer detail modal */
  1403. .customer-detail-modal-overlay { align-items: flex-start; padding: 24px; overflow-x: hidden; overflow-y: auto; }
  1404. .customer-detail-modal {
  1405. width: min(100%, 720px);
  1406. max-width: 720px;
  1407. max-height: calc(100vh - 48px);
  1408. padding: 0;
  1409. overflow-x: hidden;
  1410. overflow-y: auto;
  1411. border: 1px solid rgba(255,255,255,.75);
  1412. border-radius: 20px;
  1413. box-shadow: 0 28px 80px rgba(20,34,44,.24);
  1414. }
  1415. .customer-detail-modal > .modal-title {
  1416. position: sticky;
  1417. top: 0;
  1418. z-index: 3;
  1419. margin: 0;
  1420. padding: 21px 26px 18px;
  1421. border-bottom: 1px solid #e9eeec;
  1422. color: #1f3029;
  1423. background: rgba(255,255,255,.96);
  1424. backdrop-filter: blur(10px);
  1425. font-size: 20px;
  1426. }
  1427. .customer-detail-modal .detail-card {
  1428. margin: 18px 26px 0;
  1429. border: 1px solid #e1e8e4;
  1430. border-radius: 14px;
  1431. background: #fff;
  1432. overflow: hidden;
  1433. }
  1434. .customer-detail-modal .detail-card-header {
  1435. display: flex;
  1436. align-items: center;
  1437. gap: 10px;
  1438. padding: 13px 16px;
  1439. border-bottom: 1px solid #eef2f0;
  1440. background: #fafcfb;
  1441. color: #293b33;
  1442. font-size: 13px;
  1443. font-weight: 700;
  1444. }
  1445. .customer-detail-modal .detail-card-header svg { width: 18px; height: 18px; fill: currentColor; }
  1446. .customer-detail-modal .detail-card-body { padding: 16px; }
  1447. .customer-detail-modal .detail-section-title {
  1448. display: flex;
  1449. align-items: center;
  1450. gap: 8px;
  1451. margin: 0 0 12px;
  1452. color: #2b3c34;
  1453. font-size: 13px;
  1454. font-weight: 700;
  1455. }
  1456. .customer-detail-modal .detail-section-title svg { width: 18px; height: 18px; fill: currentColor; }
  1457. .customer-detail-modal .detail-grid {
  1458. display: grid;
  1459. grid-template-columns: repeat(2, minmax(0, 1fr));
  1460. gap: 12px;
  1461. }
  1462. .customer-detail-modal .detail-grid.compact { gap: 10px; }
  1463. .customer-detail-modal .detail-item { display: grid; gap: 4px; }
  1464. .customer-detail-modal .detail-item-label { color: #89948f; font-size: 11px; }
  1465. .customer-detail-modal .detail-item-value { color: #2b3c34; font-size: 12px; line-height: 1.5; word-break: break-word; }
  1466. .customer-detail-modal .detail-list { display: grid; gap: 8px; }
  1467. .customer-detail-modal .detail-list.compact { gap: 6px; }
  1468. .customer-detail-modal .detail-list-item {
  1469. display: grid;
  1470. grid-template-columns: auto minmax(0, 1fr);
  1471. align-items: center;
  1472. gap: 10px;
  1473. padding: 10px 12px;
  1474. border-radius: 10px;
  1475. background: #f7f9f8;
  1476. }
  1477. .customer-detail-modal .detail-list-item > div { min-width: 0; }
  1478. .customer-detail-modal .detail-list-item > div > div:first-child { color: #34443c; font-size: 12px; font-weight: 650; }
  1479. .customer-detail-modal .detail-muted { color: #8e9a93; font-size: 11px; }
  1480. .customer-detail-modal .detail-empty { padding: 20px; border-radius: 10px; color: #8e9a93; background: #f7f9f8; font-size: 12px; text-align: center; }
  1481. .customer-detail-modal .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  1482. .customer-detail-modal .detail-tags .tag { padding: 4px 10px; border-radius: 999px; color: #2f7258; background: #e7f4ed; font-size: 11px; }
  1483. .customer-detail-modal .detail-id-line { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f0; color: #9aa49d; font-size: 11px; }
  1484. .customer-detail-modal .detail-actions {
  1485. display: flex;
  1486. justify-content: flex-end;
  1487. gap: 10px;
  1488. margin: 18px 26px 0;
  1489. }
  1490. .customer-detail-modal .raw-toggle {
  1491. display: flex;
  1492. align-items: center;
  1493. gap: 7px;
  1494. margin: 18px 26px 0;
  1495. padding: 11px 13px;
  1496. border: 1px solid #e1e7e4;
  1497. border-radius: 10px;
  1498. color: #65746d;
  1499. background: #f7f9f8;
  1500. cursor: pointer;
  1501. font-size: 11px;
  1502. font-weight: 650;
  1503. }
  1504. .customer-detail-modal .raw-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; transition: transform .18s ease; }
  1505. .customer-detail-modal .raw-toggle.open svg { transform: rotate(180deg); }
  1506. .customer-detail-modal .raw-panel {
  1507. display: none;
  1508. max-height: 360px;
  1509. margin: 10px 26px 0;
  1510. padding: 14px;
  1511. overflow: auto;
  1512. border: 1px solid #dde5e1;
  1513. border-radius: 10px;
  1514. color: #4d5f56;
  1515. background: #f5f8f6;
  1516. font: 10px/1.65 Consolas, "SFMono-Regular", monospace;
  1517. white-space: pre-wrap;
  1518. word-break: break-word;
  1519. }
  1520. .customer-detail-modal > .modal-actions {
  1521. position: sticky;
  1522. bottom: 0;
  1523. z-index: 3;
  1524. margin: 18px 0 0;
  1525. padding: 14px 26px;
  1526. border-top: 1px solid #e9eeec;
  1527. background: rgba(255,255,255,.96);
  1528. backdrop-filter: blur(10px);
  1529. }
  1530. @media (max-width: 700px) {
  1531. .customer-detail-modal-overlay { align-items: flex-end; padding: 0; }
  1532. .customer-detail-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1533. .customer-detail-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1534. .customer-detail-modal .detail-card { margin: 14px 14px 0; }
  1535. .customer-detail-modal .detail-grid { grid-template-columns: 1fr; }
  1536. .customer-detail-modal .detail-actions,
  1537. .customer-detail-modal .raw-toggle,
  1538. .customer-detail-modal .raw-panel { margin: 14px 14px 0; }
  1539. .customer-detail-modal > .modal-actions { padding: 12px 14px; }
  1540. .customer-detail-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1541. }
  1542. /* Customer selector */
  1543. .customer-selector-modal-overlay { align-items: flex-start; padding: 24px; overflow-x: hidden; overflow-y: auto; }
  1544. .customer-selector-modal { width: min(100%, 760px); max-width: 760px; max-height: calc(100vh - 48px); padding: 0; overflow-x: hidden; overflow-y: auto; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; box-shadow: 0 28px 80px rgba(20,34,44,.24); }
  1545. .customer-selector-modal > .modal-title { position: sticky; top: 0; z-index: 3; margin: 0; padding: 21px 24px 18px; border-bottom: 1px solid #e8edeb; color: #26362f; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); font-size: 20px; }
  1546. .customer-selector-modal > .form-group { padding: 20px 24px 4px; }
  1547. .customer-selector-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 160px 150px; gap: 9px; }
  1548. .customer-selector-search, .customer-selector-filter { width: 100%; min-width: 0; min-height: 40px; padding: 0 11px; border: 1px solid #dbe3df; border-radius: 9px; outline: 0; color: #33433b; background: #fff; font: inherit; font-size: 12px; }
  1549. .customer-selector-search:focus, .customer-selector-filter:focus { border-color: #4e9677; box-shadow: 0 0 0 3px rgba(44,126,91,.1); }
  1550. .customer-selector-count { margin: 13px 1px 8px; color: #77857e; font-size: 10px; }
  1551. .customer-selector-list { min-height: 260px; max-height: 420px; display: grid; align-content: start; gap: 7px; overflow-y: auto; padding: 6px; border: 1px solid #e2e8e5; border-radius: 12px; background: #f8faf9; }
  1552. .customer-selector-item { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; color: #34433c; background: #fff; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
  1553. .customer-selector-item:hover { border-color: #ceddd6; background: #fbfdfc; }
  1554. .customer-selector-item.selected { border-color: #9ecdb9; background: #eef8f3; box-shadow: inset 3px 0 0 #2d8664; }
  1555. .customer-selector-item input { width: 18px; height: 18px; margin: 0; accent-color: #25815f; cursor: pointer; }
  1556. .customer-selector-info { min-width: 0; }
  1557. .customer-selector-name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #293a32; font-size: 12px; font-weight: 700; }
  1558. .customer-selector-phone { margin-top: 4px; overflow: hidden; color: #849088; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  1559. .customer-selector-empty { min-height: 240px; display: grid; place-items: center; color: #87938d; font-size: 12px; text-align: center; }
  1560. .customer-selector-empty.error { color: #a95a4c; }
  1561. .customer-selector-pagination { min-height: 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding-top: 10px; }
  1562. .customer-selector-modal > .modal-actions { position: sticky; bottom: 0; z-index: 3; margin: 16px 0 0; padding: 14px 24px; border-top: 1px solid #e8edeb; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
  1563. @media (max-width: 700px) {
  1564. .portrait-modal-overlay { align-items: flex-end; padding: 0; }
  1565. .portrait-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1566. .portrait-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1567. .portrait-profile { padding: 18px; }
  1568. .portrait-hero { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
  1569. .portrait-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
  1570. .portrait-name { font-size: 18px; }
  1571. .portrait-meta { grid-column: 1 / -1; min-width: 0; padding: 10px 0 0; border-top: 1px solid #dfe9e4; text-align: left; }
  1572. .portrait-highlight-grid, .portrait-insight-grid { grid-template-columns: 1fr; }
  1573. .portrait-section { margin: 0 14px 14px; padding: 14px; }
  1574. .portrait-empty-panel { margin: 0 14px 14px; }
  1575. .portrait-modal .raw-toggle { margin: 0 14px; }
  1576. .portrait-modal .raw-panel { margin: 8px 14px 0; }
  1577. .portrait-modal > .modal-actions { padding: 12px 14px; }
  1578. .portrait-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1579. .customer-selector-modal-overlay { align-items: flex-end; padding: 0; }
  1580. .customer-selector-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1581. .customer-selector-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1582. .customer-selector-modal > .form-group { padding: 15px 14px 2px; }
  1583. .customer-selector-filters { grid-template-columns: 1fr; }
  1584. .customer-selector-list { min-height: 240px; max-height: 46vh; }
  1585. .customer-selector-modal > .modal-actions { padding: 12px 14px; }
  1586. .customer-selector-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1587. }
  1588. body.business-modal-open { overflow: hidden; }
  1589. .business-modal-backdrop {
  1590. position: fixed;
  1591. inset: 0;
  1592. z-index: 220;
  1593. display: grid;
  1594. place-items: center;
  1595. padding: 24px;
  1596. background: rgba(20, 30, 38, .52);
  1597. backdrop-filter: blur(5px);
  1598. animation: fadeIn .18s ease;
  1599. }
  1600. .business-modal {
  1601. width: min(100%, 560px);
  1602. max-height: calc(100vh - 48px);
  1603. overflow: auto;
  1604. border: 1px solid rgba(255, 255, 255, .75);
  1605. border-radius: 20px;
  1606. background: #fff;
  1607. box-shadow: 0 28px 80px rgba(20, 34, 44, .24);
  1608. animation: businessModalIn .22s ease;
  1609. }
  1610. @keyframes businessModalIn {
  1611. from { opacity: 0; transform: translateY(10px) scale(.985); }
  1612. to { opacity: 1; transform: translateY(0) scale(1); }
  1613. }
  1614. .business-modal-header {
  1615. display: flex;
  1616. align-items: flex-start;
  1617. justify-content: space-between;
  1618. gap: 24px;
  1619. padding: 25px 27px 20px;
  1620. border-bottom: 1px solid #edf0f2;
  1621. background: linear-gradient(145deg, #f8fbfa 0%, #fff 66%);
  1622. }
  1623. .business-modal-header > div > span {
  1624. display: block;
  1625. margin-bottom: 7px;
  1626. color: #178a69;
  1627. font-size: 10px;
  1628. font-weight: 800;
  1629. letter-spacing: .12em;
  1630. }
  1631. .business-modal-header h3 { margin: 0; color: #1e2a32; font-size: 21px; line-height: 1.3; }
  1632. .business-modal-header p { margin: 7px 0 0; color: #74808a; font-size: 13px; line-height: 1.65; }
  1633. .business-modal-close {
  1634. flex: 0 0 34px;
  1635. width: 34px;
  1636. height: 34px;
  1637. border: 0;
  1638. border-radius: 10px;
  1639. color: #7d878e;
  1640. background: #f1f4f3;
  1641. font-size: 22px;
  1642. line-height: 1;
  1643. cursor: pointer;
  1644. }
  1645. .business-modal-close:hover { color: #25333b; background: #e7ecea; }
  1646. .business-modal-form { padding: 22px 27px 25px; }
  1647. .business-modal-fields { display: grid; gap: 16px; }
  1648. .business-modal-field { display: grid; gap: 7px; }
  1649. .business-modal-field > span { color: #38454d; font-size: 13px; font-weight: 650; }
  1650. .business-modal-field > span em { margin-left: 3px; color: #d9574f; font-style: normal; }
  1651. .business-modal-field input,
  1652. .business-modal-field textarea,
  1653. .business-modal-field select {
  1654. width: 100%;
  1655. min-height: 43px;
  1656. padding: 10px 12px;
  1657. border: 1px solid #d9e0e3;
  1658. border-radius: 10px;
  1659. outline: none;
  1660. color: #1f2c34;
  1661. background: #fff;
  1662. font: inherit;
  1663. transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  1664. }
  1665. .business-modal-field input:focus,
  1666. .business-modal-field textarea:focus,
  1667. .business-modal-field select:focus { border-color: #2a9a77; box-shadow: 0 0 0 3px rgba(42, 154, 119, .12); }
  1668. .business-modal-field.readonly input { color: #67737b; background: #f5f7f7; }
  1669. .business-modal-field small { color: #929ba1; font-size: 11px; line-height: 1.5; }
  1670. .business-modal-field.invalid input,
  1671. .business-modal-field.invalid textarea,
  1672. .business-modal-field.invalid select { border-color: #dd655d; box-shadow: 0 0 0 3px rgba(221, 101, 93, .1); }
  1673. .business-modal-shortcuts { margin-top: 17px; }
  1674. .business-modal-shortcuts > span { display: block; margin-bottom: 8px; color: #78848c; font-size: 11px; }
  1675. .business-modal-shortcuts > div { display: flex; flex-wrap: wrap; gap: 8px; }
  1676. .business-modal-shortcuts button {
  1677. padding: 7px 11px;
  1678. border: 1px solid #dce8e4;
  1679. border-radius: 999px;
  1680. color: #26775f;
  1681. background: #f4faf8;
  1682. font-size: 12px;
  1683. cursor: pointer;
  1684. }
  1685. .business-modal-shortcuts button:hover,
  1686. .business-modal-shortcuts button:focus { border-color: #60b79b; background: #eaf7f2; outline: none; }
  1687. .business-modal-live-warning {
  1688. display: flex;
  1689. gap: 11px;
  1690. margin-top: 19px;
  1691. padding: 13px 14px;
  1692. border: 1px solid #f1d6a5;
  1693. border-radius: 12px;
  1694. color: #815917;
  1695. background: #fffaf0;
  1696. }
  1697. .business-modal-live-warning > i { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: #d99a2b; font-size: 12px; font-style: normal; font-weight: 800; }
  1698. .business-modal-live-warning strong,
  1699. .business-modal-live-warning span { display: block; }
  1700. .business-modal-live-warning strong { font-size: 12px; }
  1701. .business-modal-live-warning span { margin-top: 3px; font-size: 11px; line-height: 1.55; }
  1702. .business-modal-error { margin: 13px 0 0; color: #c3443d; font-size: 12px; }
  1703. .business-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
  1704. .business-modal-confirm { min-width: 128px; }
  1705. @media (max-width: 600px) {
  1706. .business-modal-backdrop { align-items: end; padding: 0; }
  1707. .business-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1708. .business-modal-header { padding: 22px 20px 17px; }
  1709. .business-modal-form { padding: 19px 20px 22px; }
  1710. .business-modal-actions .btn { flex: 1; }
  1711. }
  1712. .agent-session-modal-status { padding: 12px 14px; border-radius: 10px; color: #6d7673; background: #f4f6f5; }
  1713. .agent-session-modal-status.ready { color: #146a4f; background: #eaf7f2; }
  1714. .agent-session-modal-status strong,
  1715. .agent-session-modal-status span { display: block; }
  1716. .agent-session-modal-status span { margin-top: 4px; font-size: 12px; line-height: 1.6; }
  1717. .agent-session-modal dl { margin: 16px 0; }
  1718. .agent-session-modal dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #edf0ee; }
  1719. .agent-session-modal dt { color: var(--text-muted); font-size: 12px; }
  1720. .agent-session-modal dd { margin: 0; color: var(--text-main); font-size: 12px; word-break: break-word; }
  1721. .agent-session-modal label { display: block; margin: 12px 0 6px; color: var(--text-muted); font-size: 12px; }
  1722. .agent-session-modal pre { margin: 0; padding: 12px; overflow-x: auto; border: 1px solid #dfe8e3; border-radius: 8px; color: #155b45; background: #f7fbf9; font-size: 11px; white-space: pre-wrap; word-break: break-all; }
  1723. .agent-session-modal p { margin: 12px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
  1724. .tag-list {
  1725. display: flex;
  1726. flex-wrap: wrap;
  1727. gap: 8px;
  1728. margin-top: 10px;
  1729. }
  1730. .tag {
  1731. display: inline-flex;
  1732. align-items: center;
  1733. gap: 4px;
  1734. padding: 5px 12px;
  1735. background: var(--brand-bg);
  1736. color: var(--brand-dark);
  1737. border-radius: 999px;
  1738. font-size: 13px;
  1739. font-weight: 500;
  1740. }
  1741. .tag button {
  1742. background: none;
  1743. border: none;
  1744. color: inherit;
  1745. cursor: pointer;
  1746. font-size: 14px;
  1747. line-height: 1;
  1748. padding: 0;
  1749. }
  1750. .skeleton {
  1751. background: linear-gradient(90deg, var(--border) 25%, #f5f5f5 50%, var(--border) 75%);
  1752. background-size: 200% 100%;
  1753. animation: shimmer 1.2s infinite;
  1754. border-radius: var(--radius-sm);
  1755. }
  1756. @keyframes shimmer {
  1757. 0% { background-position: 200% 0; }
  1758. 100% { background-position: -200% 0; }
  1759. }
  1760. .status-dot {
  1761. width: 8px;
  1762. height: 8px;
  1763. border-radius: 50%;
  1764. display: inline-block;
  1765. margin-right: 6px;
  1766. }
  1767. .status-dot.online { background: var(--success); box-shadow: 0 0 0 3px rgba(82,196,26,0.15); }
  1768. .status-dot.offline { background: var(--text-muted); }
  1769. .login-page {
  1770. display: flex;
  1771. align-items: center;
  1772. justify-content: center;
  1773. min-height: calc(100vh - 68px);
  1774. padding: 40px 20px;
  1775. }
  1776. .login-card {
  1777. background: var(--panel-bg);
  1778. border: 1px solid var(--border);
  1779. border-radius: var(--radius-lg);
  1780. padding: 40px;
  1781. width: 100%;
  1782. max-width: 420px;
  1783. text-align: center;
  1784. box-shadow: var(--shadow-hover);
  1785. }
  1786. .login-card h2 {
  1787. margin: 0 0 10px;
  1788. font-size: 22px;
  1789. }
  1790. .login-card p {
  1791. color: var(--text-muted);
  1792. font-size: 14px;
  1793. margin-bottom: 28px;
  1794. }
  1795. .qr-wrap {
  1796. background: var(--page-bg);
  1797. border: 1px solid var(--border);
  1798. border-radius: var(--radius-md);
  1799. padding: 20px;
  1800. margin-bottom: 20px;
  1801. }
  1802. .qr-wrap img {
  1803. width: 220px;
  1804. height: 220px;
  1805. border-radius: var(--radius-sm);
  1806. background: #fff;
  1807. padding: 8px;
  1808. }
  1809. .qr-status {
  1810. font-size: 14px;
  1811. color: var(--text-secondary);
  1812. margin-top: 14px;
  1813. }
  1814. .status-cards {
  1815. display: grid;
  1816. grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  1817. gap: 20px;
  1818. margin-bottom: 24px;
  1819. }
  1820. .status-card {
  1821. background: var(--panel-bg);
  1822. border: 1px solid var(--border);
  1823. border-radius: var(--radius-md);
  1824. padding: 22px;
  1825. display: flex;
  1826. align-items: flex-start;
  1827. gap: 16px;
  1828. box-shadow: var(--shadow);
  1829. transition: all 0.2s;
  1830. }
  1831. .status-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  1832. .status-icon {
  1833. width: 44px;
  1834. height: 44px;
  1835. border-radius: var(--radius-sm);
  1836. display: flex;
  1837. align-items: center;
  1838. justify-content: center;
  1839. flex-shrink: 0;
  1840. }
  1841. .status-icon.green { background: var(--success-bg); color: var(--success); }
  1842. .status-icon.orange { background: var(--warning-bg); color: var(--warning); }
  1843. .status-icon.red { background: var(--error-bg); color: var(--error); }
  1844. .status-icon.blue { background: var(--info-bg); color: var(--info); }
  1845. .status-icon svg { width: 24px; height: 24px; fill: currentColor; }
  1846. .status-content { flex: 1; }
  1847. .status-content h3 {
  1848. margin: 0 0 4px;
  1849. font-size: 15px;
  1850. }
  1851. .status-content p {
  1852. margin: 0;
  1853. font-size: 13px;
  1854. color: var(--text-muted);
  1855. }
  1856. .status-content .status-detail {
  1857. margin-top: 10px;
  1858. padding-top: 10px;
  1859. border-top: 1px solid var(--border);
  1860. font-size: 13px;
  1861. color: var(--text-secondary);
  1862. }
  1863. .hint-box {
  1864. background: var(--brand-bg);
  1865. border: 1px solid #ffd591;
  1866. border-radius: var(--radius-sm);
  1867. padding: 14px 16px;
  1868. font-size: 13px;
  1869. color: var(--brand-dark);
  1870. margin-bottom: 20px;
  1871. display: flex;
  1872. align-items: flex-start;
  1873. gap: 10px;
  1874. }
  1875. .hint-box svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; margin-top: 1px; }
  1876. /* ==================== Unified Skills & Knowledge Library ==================== */
  1877. .workspace-hero {
  1878. display: flex;
  1879. align-items: flex-end;
  1880. justify-content: space-between;
  1881. gap: 30px;
  1882. margin-bottom: 18px;
  1883. padding: 28px 30px;
  1884. overflow: hidden;
  1885. border-radius: 20px;
  1886. color: #fff;
  1887. background: linear-gradient(135deg, #17243d, #21365e 62%, #315985);
  1888. box-shadow: 0 16px 36px rgba(21,37,67,.16);
  1889. }
  1890. .knowledge-hero { background: linear-gradient(135deg, #113a2e, #17674f 62%, #49804f); }
  1891. .workspace-hero > div:first-child { max-width: 650px; }
  1892. .workspace-hero > div:first-child > span { color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
  1893. .workspace-hero h2 { margin: 7px 0 5px; font-size: 30px; }
  1894. .workspace-hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.65; }
  1895. .workspace-stat-row { display: flex; flex: 0 0 auto; gap: 8px; }
  1896. .workspace-stat-row > div { min-width: 88px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
  1897. .workspace-stat-row strong, .workspace-stat-row span { display: block; }
  1898. .workspace-stat-row strong { font-size: 22px; }
  1899. .workspace-stat-row span { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 9px; }
  1900. .skill-toolbar {
  1901. display: flex;
  1902. align-items: center;
  1903. justify-content: space-between;
  1904. gap: 20px;
  1905. margin-bottom: 14px;
  1906. padding: 14px 18px;
  1907. border: 1px solid var(--border);
  1908. border-radius: 14px;
  1909. background: #fff;
  1910. box-shadow: var(--shadow);
  1911. }
  1912. .skill-toolbar strong, .skill-toolbar span { display: block; }
  1913. .skill-toolbar strong { font-size: 14px; }
  1914. .skill-toolbar span { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  1915. .skill-toolbar input { width: min(360px, 42vw); padding: 10px 13px; border: 1px solid var(--border); border-radius: 9px; outline: 0; font: inherit; }
  1916. .skill-toolbar input:focus { border-color: #315985; box-shadow: 0 0 0 3px rgba(49,89,133,.08); }
  1917. .skill-hub-layout {
  1918. min-height: 680px;
  1919. display: grid;
  1920. grid-template-columns: 210px minmax(380px, 1fr) minmax(300px, .7fr);
  1921. overflow: hidden;
  1922. border: 1px solid var(--border);
  1923. border-radius: 18px;
  1924. background: #fff;
  1925. box-shadow: var(--shadow);
  1926. }
  1927. .skill-package-list { padding: 10px; border-right: 1px solid var(--border); background: #f8fafc; }
  1928. .skill-package-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; margin-bottom: 7px; padding: 13px 12px; border: 0; border-radius: 10px; text-align: left; color: #485466; background: transparent; cursor: pointer; }
  1929. .skill-package-item:hover { background: #edf2f8; }
  1930. .skill-package-item.active { color: #1c4673; background: #e8f1fb; box-shadow: inset 3px 0 #315985; }
  1931. .skill-package-item span { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  1932. .skill-package-item em { min-width: 22px; padding: 2px 5px; border-radius: 10px; text-align: center; background: rgba(49,89,133,.1); font-size: 9px; font-style: normal; }
  1933. .skill-package-item small { grid-column: 1 / -1; color: #8a95a4; font-size: 8px; }
  1934. .skill-card-panel { min-width: 0; padding: 18px; overflow-y: auto; max-height: 780px; }
  1935. .skill-card-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--border); }
  1936. .skill-card-panel > header strong, .skill-card-panel > header span { display: block; }
  1937. .skill-card-panel > header strong { font-size: 15px; }
  1938. .skill-card-panel > header span { margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.5; }
  1939. .skill-card-panel > header code { max-width: 44%; overflow: hidden; color: #8894a4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  1940. .skill-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  1941. .skill-capability-card { min-height: 145px; padding: 15px; border: 1px solid #e4e9ef; border-radius: 13px; text-align: left; color: var(--text); background: #fff; cursor: pointer; transition: .18s ease; }
  1942. .skill-capability-card:hover { transform: translateY(-2px); border-color: #aac3df; box-shadow: 0 10px 22px rgba(34,66,104,.09); }
  1943. .skill-capability-card.active { border-color: #5f8bb7; background: #f5f9fe; box-shadow: inset 0 0 0 1px #5f8bb7; }
  1944. .skill-capability-card > div { display: flex; justify-content: space-between; gap: 10px; }
  1945. .skill-capability-card > div span { font-size: 12px; font-weight: 750; }
  1946. .skill-capability-card > div em { flex: 0 0 auto; padding: 3px 6px; border-radius: 6px; color: #315985; background: #e8f1fb; font-size: 8px; font-style: normal; }
  1947. .skill-capability-card p { min-height: 47px; margin: 10px 0; overflow: hidden; color: #758091; font-size: 9px; line-height: 1.65; }
  1948. .skill-capability-card footer { display: flex; flex-wrap: wrap; gap: 4px; }
  1949. .skill-capability-card footer i { padding: 3px 6px; border-radius: 5px; color: #697687; background: #f0f3f6; font-size: 8px; font-style: normal; }
  1950. .skill-detail-panel { min-width: 0; overflow-y: auto; max-height: 780px; border-left: 1px solid var(--border); background: #fbfcfe; }
  1951. .skill-detail-heading { padding: 20px; border-bottom: 1px solid var(--border); background: #fff; }
  1952. .skill-detail-heading > span { color: #6f86a2; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
  1953. .skill-detail-heading h3 { margin: 6px 0 7px; font-size: 18px; }
  1954. .skill-detail-heading p { margin: 0 0 14px; color: var(--text-muted); font-size: 10px; line-height: 1.6; }
  1955. .skill-markdown { padding: 20px; }
  1956. .markdown-view { color: #3e4a57; font-size: 11px; line-height: 1.75; }
  1957. .markdown-view h2, .markdown-view h3, .markdown-view h4 { margin: 20px 0 8px; color: #1f2d3c; }
  1958. .markdown-view h2 { font-size: 20px; }
  1959. .markdown-view h3 { font-size: 16px; }
  1960. .markdown-view h4 { font-size: 13px; }
  1961. .markdown-view p { margin: 7px 0; }
  1962. .markdown-view ul, .markdown-view ol { margin: 8px 0 8px 20px; padding: 0; }
  1963. .markdown-view li { margin: 4px 0; }
  1964. .markdown-view code { padding: 2px 5px; border-radius: 4px; color: #b54d20; background: #fff1eb; font-family: Consolas, monospace; font-size: .92em; }
  1965. .markdown-view pre, .code-view { margin: 12px 0; overflow: auto; padding: 15px; border: 1px solid #dfe6e9; border-radius: 10px; color: #dce7e2; background: #182421; font: 10px/1.6 Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
  1966. .markdown-view pre code { padding: 0; color: inherit; background: transparent; }
  1967. .markdown-view blockquote { margin: 10px 0; padding: 9px 12px; border-left: 3px solid #4e9b7e; color: #5f736b; background: #eef8f4; }
  1968. .md-table-line { padding: 5px 8px; border-bottom: 1px solid #e8ecea; font-family: Consolas, monospace; font-size: 9px; }
  1969. .knowledge-layout { min-height: 720px; display: grid; grid-template-columns: 285px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  1970. .knowledge-tree-panel { border-right: 1px solid var(--border); background: #f7faf8; }
  1971. .knowledge-tree-panel > header { padding: 16px 17px; border-bottom: 1px solid var(--border); background: #fff; }
  1972. .knowledge-tree-panel > header strong, .knowledge-tree-panel > header span { display: block; }
  1973. .knowledge-tree-panel > header strong { font-size: 14px; }
  1974. .knowledge-tree-panel > header span { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
  1975. .knowledge-tree { max-height: 780px; overflow: auto; padding: 9px 7px 20px; }
  1976. .knowledge-tree-folder { margin: 2px 0; }
  1977. .knowledge-tree-folder > summary { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 4px; padding: 8px 8px 8px calc(8px + var(--tree-depth) * 12px); border-radius: 8px; color: #42534d; cursor: pointer; list-style: none; }
  1978. .knowledge-tree-folder > summary:hover { background: #eaf2ee; }
  1979. .knowledge-tree-folder > summary::-webkit-details-marker { display: none; }
  1980. .knowledge-tree-folder > summary span { color: #348064; font-size: 10px; }
  1981. .knowledge-tree-folder > summary strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  1982. .knowledge-tree-folder > summary em { padding: 2px 5px; border-radius: 8px; color: #779087; background: #e5eeea; font-size: 8px; font-style: normal; }
  1983. .knowledge-tree-file { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px; padding: 7px 7px 7px calc(8px + var(--tree-depth) * 12px); border: 0; border-radius: 7px; text-align: left; color: #63726c; background: transparent; cursor: pointer; }
  1984. .knowledge-tree-file:hover { background: #edf4f1; }
  1985. .knowledge-tree-file.active { color: #17674f; background: #deefe7; box-shadow: inset 3px 0 #238463; }
  1986. .knowledge-tree-file > span { display: grid; place-items: center; color: #3c8a6d; font: 700 8px/1 Consolas, monospace; }
  1987. .knowledge-tree-file strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  1988. .knowledge-tree-file small { color: #9aa7a2; font-size: 7px; }
  1989. .knowledge-viewer { min-width: 0; max-height: 820px; overflow: auto; }
  1990. .knowledge-view-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--border); background: #fff; }
  1991. .knowledge-view-header > div > span { color: #438269; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
  1992. .knowledge-view-header h3 { margin: 5px 0 4px; font-size: 18px; }
  1993. .knowledge-view-header p { margin: 0; color: var(--text-muted); font-size: 9px; }
  1994. .knowledge-view-header code { max-width: 48%; overflow: hidden; color: #8b9893; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  1995. .knowledge-view-header > em { padding: 4px 7px; border-radius: 6px; color: #257254; background: #e3f2eb; font-size: 8px; font-style: normal; }
  1996. .knowledge-viewer > .markdown-view { padding: 22px 26px 40px; }
  1997. .knowledge-viewer > .code-view { margin: 20px 22px 30px; }
  1998. .json-summary { margin: 18px 22px -5px; color: #668078; font-size: 10px; }
  1999. .meeting-workbench { min-width: 0; background: #f7faf8; }
  2000. .meeting-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 18px 0; }
  2001. .meeting-stat-row > div { padding: 11px 13px; border: 1px solid #e0ebe6; border-radius: 10px; background: #fff; }
  2002. .meeting-stat-row strong, .meeting-stat-row span { display: block; }
  2003. .meeting-stat-row strong { overflow: hidden; color: #285e4b; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
  2004. .meeting-stat-row span { margin-top: 3px; color: #8a9993; font-size: 8px; }
  2005. .meeting-cli-banner { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(220px, auto) auto; align-items: center; gap: 10px; margin: 12px 18px; padding: 12px 14px; border: 1px solid; border-radius: 11px; }
  2006. .meeting-cli-banner.ready { border-color: #b9dfce; background: #edf8f3; }
  2007. .meeting-cli-banner.waiting { border-color: #efd2a2; background: #fff8eb; }
  2008. .meeting-cli-banner.blocked { border-color: #e8bea9; background: #fff3ed; }
  2009. .meeting-cli-banner > div { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 2px 8px; }
  2010. .meeting-cli-banner i { width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; background: #d9952f; box-shadow: 0 0 0 3px rgba(217,149,47,.13); }
  2011. .meeting-cli-banner.ready i { background: #278263; box-shadow: 0 0 0 3px rgba(39,130,99,.13); }
  2012. .meeting-cli-banner.blocked i { background: #cf6748; box-shadow: 0 0 0 3px rgba(207,103,72,.13); }
  2013. .meeting-cli-banner strong { color: #44554e; font-size: 10px; }
  2014. .meeting-cli-banner span { grid-column: 2; color: #7d8d87; font-size: 8px; }
  2015. .meeting-cli-banner code { overflow: hidden; padding: 7px 9px; border-radius: 7px; color: #7a6543; background: rgba(255,255,255,.72); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2016. .meeting-sync-form { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) 90px auto; align-items: end; gap: 8px; padding: 0 18px 14px; }
  2017. .meeting-sync-form label span { display: block; margin: 0 0 5px 2px; color: #75867f; font-size: 8px; font-weight: 700; }
  2018. .meeting-sync-form input { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #dbe6e1; border-radius: 8px; color: #43544d; background: #fff; font-size: 9px; }
  2019. .meeting-sync-form .btn { height: 34px; }
  2020. .meeting-browser { min-height: 520px; display: grid; grid-template-columns: 245px minmax(0, 1fr); border-top: 1px solid #dfe8e4; background: #fff; }
  2021. .meeting-browser > aside { border-right: 1px solid #e2ebe7; background: #f8fbf9; }
  2022. .meeting-browser > aside > header { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px 9px; color: #54665f; font-size: 9px; }
  2023. .meeting-browser > aside > header span { color: #91a09a; font-size: 8px; }
  2024. .meeting-list { max-height: 590px; overflow: auto; padding: 0 7px 14px; }
  2025. .meeting-list-item { width: 100%; margin: 3px 0; padding: 11px 10px; border: 1px solid transparent; border-radius: 10px; text-align: left; color: #52625c; background: transparent; cursor: pointer; }
  2026. .meeting-list-item:hover { border-color: #d9e7e1; background: #fff; }
  2027. .meeting-list-item.active { border-color: #bbdccf; background: #eaf6f0; box-shadow: inset 3px 0 #298264; }
  2028. .meeting-list-item > div, .meeting-list-item footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  2029. .meeting-list-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  2030. .meeting-list-item em { flex: 0 0 auto; padding: 2px 5px; border-radius: 7px; color: #4d806d; background: #e2eee9; font-size: 7px; font-style: normal; }
  2031. .meeting-list-item p { margin: 6px 0; overflow: hidden; color: #85928d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2032. .meeting-list-item footer { color: #8d9b96; font-size: 7px; }
  2033. .meeting-list-item footer small { color: #2d7d60; font-size: 7px; font-weight: 700; }
  2034. .meeting-browser > main { min-width: 0; }
  2035. .meeting-detail { padding: 18px 20px 34px; }
  2036. .meeting-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid #e6edea; }
  2037. .meeting-detail > header span, .meeting-analysis-summary > span, .meeting-actions header span { color: #348064; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
  2038. .meeting-detail > header h3 { margin: 5px 0 4px; color: #33483f; font-size: 18px; }
  2039. .meeting-detail > header p { margin: 0; color: #82908b; font-size: 9px; }
  2040. .meeting-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 14px 0; }
  2041. .meeting-meta-grid > div { padding: 10px; border: 1px solid #e4ece8; border-radius: 9px; background: #fafcfb; }
  2042. .meeting-meta-grid small, .meeting-meta-grid strong { display: block; }
  2043. .meeting-meta-grid small { color: #92a09a; font-size: 7px; }
  2044. .meeting-meta-grid strong { margin-top: 4px; color: #50625a; font-size: 9px; }
  2045. .meeting-source-note { padding: 13px 14px; border-left: 3px solid #69a58d; border-radius: 0 9px 9px 0; background: #f3f8f6; }
  2046. .meeting-source-note strong { color: #476057; font-size: 9px; }
  2047. .meeting-source-note p { margin: 7px 0; color: #687a73; font-size: 9px; line-height: 1.65; }
  2048. .meeting-source-note small { color: #9aa6a1; font-size: 7px; }
  2049. .meeting-analysis-error { display: flex; gap: 8px; margin-top: 12px; padding: 11px 13px; border: 1px solid #edc2b2; border-radius: 9px; color: #91482e; background: #fff4ef; font-size: 8px; }
  2050. .meeting-analysis-summary { margin-top: 14px; padding: 14px; border: 1px solid #d7e7e0; border-radius: 11px; background: linear-gradient(135deg, #f0f8f4, #f8fbf9); }
  2051. .meeting-analysis-summary h4 { margin: 6px 0; color: #3e554c; font-size: 13px; line-height: 1.55; }
  2052. .meeting-analysis-summary p { margin: 0; color: #87958f; font-size: 8px; }
  2053. .meeting-analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
  2054. .meeting-analysis-grid > section { padding: 12px 13px; border: 1px solid #e2ebe7; border-radius: 10px; background: #fff; }
  2055. .meeting-analysis-grid h4, .meeting-actions h4 { margin: 0 0 8px; color: #4b5e56; font-size: 10px; }
  2056. .meeting-analysis-grid ul { margin: 0; padding-left: 16px; color: #687972; font-size: 8px; line-height: 1.65; }
  2057. .meeting-empty-copy { margin: 0; color: #9aa7a2; font-size: 8px; line-height: 1.6; }
  2058. .meeting-actions { margin-top: 10px; padding: 13px; border: 1px solid #dce8e3; border-radius: 11px; background: #fbfdfc; }
  2059. .meeting-actions > header { display: flex; align-items: center; justify-content: space-between; }
  2060. .meeting-actions > header h4 { margin: 4px 0 8px; }
  2061. .meeting-actions > header > em { padding: 3px 6px; border-radius: 7px; color: #34785f; background: #e5f2ec; font-size: 8px; font-style: normal; }
  2062. .meeting-action-item { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto; gap: 10px; margin-top: 6px; padding: 10px; border-radius: 9px; background: #fff; box-shadow: 0 1px 6px rgba(33,73,58,.06); }
  2063. .meeting-action-item > i { width: 4px; border-radius: 4px; background: #d3a64d; }
  2064. .meeting-action-item > i.high { background: #d96b55; }
  2065. .meeting-action-item > i.low { background: #5d9f88; }
  2066. .meeting-action-item strong { color: #4b5d56; font-size: 9px; }
  2067. .meeting-action-item p { margin: 4px 0; color: #7c8b85; font-size: 8px; }
  2068. .meeting-action-item small { color: #98a49f; font-size: 7px; }
  2069. .meeting-action-item > em { color: #3c8468; font-size: 9px; font-style: normal; font-weight: 800; }
  2070. .meeting-tags { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #596b64; font-size: 9px; }
  2071. .meeting-tags div { display: flex; flex-wrap: wrap; gap: 5px; }
  2072. .meeting-tags span { padding: 3px 7px; border-radius: 9px; color: #37775f; background: #e5f2ec; font-size: 7px; }
  2073. .office-workbench { min-width: 0; background: #f7faf8; }
  2074. .office-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px 0; }
  2075. .office-stat-row > div { padding: 11px 13px; border: 1px solid #e0ebe6; border-radius: 10px; background: #fff; }
  2076. .office-stat-row strong, .office-stat-row span { display: block; }
  2077. .office-stat-row strong { color: #285e4b; font-size: 15px; }
  2078. .office-stat-row span { margin-top: 3px; color: #8a9993; font-size: 8px; }
  2079. .office-cli-banner { display: flex; align-items: center; gap: 10px; margin: 12px 18px; padding: 11px 13px; border: 1px solid; border-radius: 10px; }
  2080. .office-cli-banner.ready { border-color: #b9dfce; background: #edf8f3; }
  2081. .office-cli-banner.blocked { border-color: #e8bea9; background: #fff3ed; }
  2082. .office-cli-banner > i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #278263; box-shadow: 0 0 0 3px rgba(39,130,99,.12); }
  2083. .office-cli-banner.blocked > i { background: #cf6748; }
  2084. .office-cli-banner strong, .office-cli-banner span { display: block; }
  2085. .office-cli-banner strong { color: #455a51; font-size: 10px; }
  2086. .office-cli-banner span { margin-top: 3px; color: #7f8f89; font-size: 8px; }
  2087. .office-action-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; padding: 0 18px 14px; }
  2088. .office-action-grid form { padding: 13px; border: 1px solid #e0e9e5; border-radius: 11px; background: #fff; }
  2089. .office-action-grid form header { margin-bottom: 9px; }
  2090. .office-action-grid form header strong, .office-action-grid form header span { display: block; }
  2091. .office-action-grid form header strong { color: #506159; font-size: 10px; }
  2092. .office-action-grid form header span { margin-top: 3px; color: #92a09a; font-size: 8px; }
  2093. .office-action-grid input, .office-action-grid textarea, .todo-toolbar input, .todo-create-form input, .todo-create-form select { width: 100%; margin-bottom: 7px; padding: 8px 9px; border: 1px solid #dbe6e1; border-radius: 8px; color: #45564f; background: #fff; font: 9px/1.45 inherit; }
  2094. .office-action-grid textarea { resize: vertical; }
  2095. .office-browser { min-height: 500px; display: grid; grid-template-columns: 235px minmax(0, 1fr); border-top: 1px solid #dfe8e4; background: #fff; }
  2096. .office-browser > aside { padding: 8px; border-right: 1px solid #e2ebe7; background: #f8fbf9; }
  2097. .office-browser > aside > header { display: flex; justify-content: space-between; padding: 6px 5px 9px; color: #576861; font-size: 9px; }
  2098. .office-list-item { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; margin: 3px 0; padding: 10px; border: 1px solid transparent; border-radius: 9px; text-align: left; color: #56665f; background: transparent; cursor: pointer; }
  2099. .office-list-item:hover { border-color: #d8e6df; background: #fff; }
  2100. .office-list-item.active { border-color: #b9dccd; background: #e9f5ef; box-shadow: inset 3px 0 #288064; }
  2101. .office-list-item strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2102. .office-list-item span { color: #94a19c; font-size: 7px; }
  2103. .office-list-item small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #2f7d60; font-size: 7px; }
  2104. .office-browser > main { min-width: 0; }
  2105. .doc-detail { padding: 18px 20px 35px; }
  2106. .doc-detail > header { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #e5ece9; }
  2107. .doc-detail > header span, .doc-analysis > span, .todo-detail > span { color: #348064; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
  2108. .doc-detail > header h3, .todo-detail h3 { margin: 5px 0; color: #364b42; font-size: 18px; }
  2109. .doc-detail > header p { margin: 0; color: #88968f; font-size: 8px; }
  2110. .doc-detail > header > div:last-child { display: flex; align-items: center; gap: 8px; }
  2111. .doc-detail > header a { color: #287b5e; font-size: 8px; }
  2112. .doc-readback-warning { display: flex; gap: 8px; margin-top: 12px; padding: 10px 12px; border: 1px solid #edcf9c; border-radius: 9px; color: #785b2b; background: #fff8eb; font-size: 8px; }
  2113. .doc-readback-warning strong { flex: 0 0 auto; }
  2114. .doc-analysis { margin: 13px 0; padding: 13px; border: 1px solid #d9e8e1; border-radius: 10px; background: #f2f8f5; }
  2115. .doc-analysis > h4 { margin: 6px 0 10px; color: #44594f; font-size: 12px; line-height: 1.5; }
  2116. .doc-analysis > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
  2117. .doc-analysis section { padding: 9px; border-radius: 8px; background: #fff; }
  2118. .doc-analysis section strong { color: #566860; font-size: 8px; }
  2119. .doc-analysis ul { margin: 6px 0 0; padding-left: 15px; color: #74837d; font-size: 8px; line-height: 1.55; }
  2120. .doc-analysis section p { color: #9aa6a1; font-size: 8px; }
  2121. .doc-original { border: 1px solid #e1e9e5; border-radius: 10px; overflow: hidden; }
  2122. .doc-original > header { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #e5ece9; color: #52645c; font-size: 9px; }
  2123. .doc-original > header span { color: #96a29d; font-size: 8px; }
  2124. .doc-original .markdown-view { max-height: 480px; overflow: auto; padding: 16px 18px; }
  2125. .todo-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 18px 10px; }
  2126. .todo-toolbar form { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
  2127. .todo-toolbar input { margin: 0; }
  2128. .todo-user-results { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
  2129. .todo-user-results button { padding: 7px 10px; border: 1px solid #cfe2d9; border-radius: 8px; text-align: left; color: #4b6258; background: #fff; cursor: pointer; }
  2130. .todo-user-results strong, .todo-user-results span { display: block; font-size: 8px; }
  2131. .todo-user-results span { margin-top: 2px; color: #8e9b96; }
  2132. .todo-create-form { display: grid; grid-template-columns: 1.4fr 1fr 170px 120px auto; gap: 7px; padding: 0 18px 14px; }
  2133. .todo-create-form input, .todo-create-form select { margin: 0; }
  2134. .todo-detail { padding: 24px; }
  2135. .todo-detail .todo-status { display: inline-block; margin: 8px 0 14px; padding: 4px 8px; border-radius: 9px; color: #347a60; background: #e3f1eb; font-size: 8px; }
  2136. .todo-detail .todo-status.done { color: #71807a; background: #edf1ef; }
  2137. .todo-detail dl { display: grid; gap: 7px; margin: 0 0 16px; }
  2138. .todo-detail dl > div { display: grid; grid-template-columns: 75px minmax(0,1fr); padding: 9px 10px; border-radius: 8px; background: #f7faf8; font-size: 9px; }
  2139. .todo-detail dt { color: #8a9892; }
  2140. .todo-detail dd { margin: 0; color: #506159; }
  2141. .todo-detail > p { margin-top: 14px; color: #96a29d; font-size: 8px; }
  2142. .property-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 18px 0; }
  2143. .property-stats > div { padding: 12px 13px; border: 1px solid #e1eae6; border-radius: 10px; background: #f8fbf9; }
  2144. .property-stats strong, .property-stats span { display: block; }
  2145. .property-stats strong { color: #17674f; font-size: 18px; }
  2146. .property-stats strong small { margin-left: 2px; font-size: 9px; }
  2147. .property-stats span { margin-top: 3px; color: #87958f; font-size: 8px; }
  2148. .property-filterbar { display: grid; grid-template-columns: minmax(150px, 1.4fr) repeat(3, minmax(100px, .8fr)) minmax(100px, .7fr) auto; gap: 7px; padding: 12px 18px; }
  2149. .property-filterbar input, .property-filterbar select { min-width: 0; padding: 9px 10px; border: 1px solid #dce6e1; border-radius: 8px; outline: 0; color: #43514c; background: #fff; font: inherit; font-size: 9px; }
  2150. .property-filterbar input:focus, .property-filterbar select:focus { border-color: #399071; box-shadow: 0 0 0 3px rgba(57,144,113,.08); }
  2151. .property-browser-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 520px; border-top: 1px solid var(--border); }
  2152. .property-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 9px; padding: 15px; }
  2153. .property-card { min-height: 155px; padding: 13px; border: 1px solid #e0e8e4; border-radius: 12px; text-align: left; color: #34443e; background: #fff; cursor: pointer; transition: .16s ease; }
  2154. .property-card:hover { transform: translateY(-2px); border-color: #76ae98; box-shadow: 0 9px 18px rgba(42,91,72,.09); }
  2155. .property-card.active { border-color: #238463; background: #f0faf6; box-shadow: inset 0 0 0 1px #238463; }
  2156. .property-card > div { display: flex; justify-content: space-between; gap: 8px; }
  2157. .property-card > div span { color: #8a9892; font: 700 8px/1 Consolas, monospace; }
  2158. .property-card > div em { padding: 3px 6px; border-radius: 5px; color: #277257; background: #e6f4ee; font-size: 7px; font-style: normal; }
  2159. .property-card h4 { margin: 10px 0 4px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  2160. .property-card p { margin: 0; overflow: hidden; color: #7e8c86; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2161. .property-card > strong { display: block; margin: 12px 0 9px; color: #e47822; font-size: 18px; }
  2162. .property-card > strong small { margin-left: 2px; font-size: 8px; }
  2163. .property-card footer { display: flex; flex-wrap: wrap; gap: 3px; }
  2164. .property-card footer i { padding: 3px 5px; border-radius: 4px; color: #718079; background: #f0f3f2; font-size: 7px; font-style: normal; }
  2165. .property-detail-panel { border-left: 1px solid var(--border); background: #fbfdfc; }
  2166. .property-detail-empty { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 30px; text-align: center; color: var(--text-muted); }
  2167. .property-detail-empty strong { color: #55665f; font-size: 13px; }
  2168. .property-detail-empty span { font-size: 9px; line-height: 1.55; }
  2169. .property-detail > header { padding: 20px; color: #fff; background: linear-gradient(145deg, #17674f, #2a8d6c); }
  2170. .property-detail > header > span { color: rgba(255,255,255,.62); font: 700 9px/1 Consolas, monospace; }
  2171. .property-detail > header h3 { margin: 7px 0 3px; font-size: 18px; }
  2172. .property-detail > header > strong { display: block; font-size: 27px; }
  2173. .property-detail > header > strong small { margin-left: 3px; font-size: 10px; }
  2174. .property-detail > header p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 9px; }
  2175. .property-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #e8eeeb; }
  2176. .property-detail-grid > div { padding: 10px 12px; background: #fff; }
  2177. .property-detail-grid small, .property-detail-grid strong { display: block; }
  2178. .property-detail-grid small { color: #95a19c; font-size: 7px; }
  2179. .property-detail-grid strong { margin-top: 3px; overflow: hidden; color: #485750; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2180. .property-detail section { padding: 13px 16px; border-top: 1px solid #e7ecea; }
  2181. .property-detail section h4 { margin: 0 0 8px; color: #33463f; font-size: 10px; }
  2182. .property-detail section p { margin: 0; color: #74817c; font-size: 9px; line-height: 1.6; }
  2183. .property-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  2184. .property-tags span { padding: 4px 7px; border-radius: 6px; color: #28765a; background: #e6f4ee; font-size: 8px; }
  2185. .property-score-list { display: grid; gap: 7px; }
  2186. .property-score-list > div { display: grid; grid-template-columns: 52px 1fr 18px; align-items: center; gap: 6px; font-size: 8px; }
  2187. .property-score-list i { height: 4px; overflow: hidden; border-radius: 4px; background: #e4ebe8; }
  2188. .property-score-list b { display: block; height: 100%; border-radius: inherit; background: #4baa86; }
  2189. .property-score-list em { color: #7d8b85; font-style: normal; }
  2190. .library-empty, .library-error { padding: 35px; text-align: center; color: var(--text-muted); font-size: 11px; }
  2191. .library-empty.large { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  2192. .library-empty strong, .library-empty span { display: block; }
  2193. .library-empty strong { color: #53635d; font-size: 14px; }
  2194. .library-error { margin: 20px; border: 1px solid #efc7b6; border-radius: 12px; color: #934a2e; background: #fff4ef; }
  2195. @media (max-width: 1280px) {
  2196. .skill-hub-layout { grid-template-columns: 190px minmax(360px, 1fr) 290px; }
  2197. .property-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2198. .property-browser-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  2199. }
  2200. @media (max-width: 1050px) {
  2201. .workspace-hero { align-items: stretch; flex-direction: column; }
  2202. .skill-hub-layout { grid-template-columns: 190px minmax(0, 1fr); }
  2203. .skill-detail-panel { grid-column: 1 / -1; max-height: none; border-top: 1px solid var(--border); border-left: 0; }
  2204. .knowledge-layout { grid-template-columns: 235px minmax(0, 1fr); }
  2205. .meeting-cli-banner { grid-template-columns: 1fr auto; }
  2206. .meeting-cli-banner code { grid-column: 1 / -1; }
  2207. .meeting-browser { grid-template-columns: 210px minmax(0, 1fr); }
  2208. .meeting-meta-grid { grid-template-columns: repeat(2, 1fr); }
  2209. .office-browser { grid-template-columns: 205px minmax(0, 1fr); }
  2210. .todo-create-form { grid-template-columns: 1fr 1fr; }
  2211. .property-browser-layout { display: block; }
  2212. .property-detail-panel { border-top: 1px solid var(--border); border-left: 0; }
  2213. }
  2214. @media (max-width: 768px) {
  2215. .sidebar { transform: translateX(-100%); }
  2216. .sidebar.open { transform: translateX(0); }
  2217. .main { margin-left: 0; }
  2218. .menu-btn { display: block; }
  2219. .content { padding: 20px 16px 40px; }
  2220. .stats-grid { grid-template-columns: repeat(2, 1fr); }
  2221. .account-name { display: none; }
  2222. .topbar { padding: 0 16px; }
  2223. .workspace-stat-row { flex-wrap: wrap; }
  2224. .skill-toolbar { align-items: stretch; flex-direction: column; }
  2225. .skill-toolbar input { width: 100%; }
  2226. .skill-hub-layout, .knowledge-layout { display: block; }
  2227. .skill-package-list { border-right: 0; border-bottom: 1px solid var(--border); }
  2228. .skill-card-grid, .property-card-grid { grid-template-columns: 1fr; }
  2229. .knowledge-tree-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  2230. .knowledge-tree { max-height: 330px; }
  2231. .meeting-stat-row { grid-template-columns: repeat(2, 1fr); }
  2232. .meeting-cli-banner, .meeting-sync-form, .meeting-browser { display: block; }
  2233. .meeting-cli-banner code, .meeting-cli-banner .btn { display: block; width: 100%; margin-top: 8px; }
  2234. .meeting-sync-form label, .meeting-sync-form .btn { display: block; width: 100%; margin-top: 8px; }
  2235. .meeting-browser > aside { border-right: 0; border-bottom: 1px solid #e2ebe7; }
  2236. .meeting-list { max-height: 260px; }
  2237. .meeting-analysis-grid { grid-template-columns: 1fr; }
  2238. .office-stat-row, .doc-analysis > div { grid-template-columns: 1fr; }
  2239. .office-action-grid, .office-browser, .todo-toolbar, .todo-create-form { display: block; }
  2240. .office-action-grid form, .todo-toolbar form, .todo-create-form input, .todo-create-form select, .todo-create-form .btn { margin-top: 8px; }
  2241. .office-browser > aside { border-right: 0; border-bottom: 1px solid #e2ebe7; }
  2242. .property-stats { grid-template-columns: repeat(2, 1fr); }
  2243. .property-filterbar { grid-template-columns: 1fr; }
  2244. }
  2245. /* 社群运营 */
  2246. .group-ops-page { display: flex; flex-direction: column; gap: 20px; }
  2247. .group-ops-tabs { display: flex; gap: 6px; padding: 5px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--panel-bg); box-shadow: var(--shadow); }
  2248. .group-ops-tabs button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .2s, background-color .2s; }
  2249. .group-ops-tabs button:hover, .group-ops-tabs button:focus-visible { color: var(--brand); background: var(--brand-bg); outline: none; }
  2250. .group-ops-tabs button.active { color: #873800; background: #fff1d6; box-shadow: inset 0 0 0 1px #ffd591; }
  2251. .group-ops-hero {
  2252. display: flex; align-items: center; justify-content: space-between; gap: 20px;
  2253. padding: 22px 24px; border: 1px solid #ffd8a8; border-radius: var(--radius-md);
  2254. background: linear-gradient(120deg, #fff7e6 0%, #fff 68%); box-shadow: var(--shadow);
  2255. }
  2256. .group-ops-hero h2 { margin: 4px 0 6px; color: var(--text-primary); font-size: 24px; }
  2257. .group-ops-hero p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
  2258. .group-ops-kicker { color: #ad4e00; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
  2259. .group-ops-stats { margin-bottom: 0; grid-template-columns: repeat(5, minmax(130px, 1fr)); }
  2260. .group-ops-stats .stat-card { text-align: left; }
  2261. .group-ops-stats .stat-card.danger .stat-value { color: var(--error); }
  2262. .group-ops-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; }
  2263. .group-ops-builder, .group-ops-risks, .group-ops-workbench { padding: 20px; }
  2264. .group-ops-form { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 16px; background: var(--page-bg); border: 1px solid var(--border); border-radius: var(--radius-md); }
  2265. .group-ops-form label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
  2266. .group-ops-form input, .group-ops-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-bg); color: var(--text-primary); font: inherit; resize: vertical; }
  2267. .group-ops-form input:focus, .group-ops-form textarea:focus { outline: 3px solid rgba(250, 140, 22, .16); border-color: var(--brand); }
  2268. .group-ops-form .btn { grid-column: 2; justify-self: start; min-height: 40px; }
  2269. .group-ops-plan-form { margin-top: 16px; }
  2270. .group-ops-playbooks { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
  2271. .group-ops-playbooks article { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
  2272. .group-ops-playbooks article > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
  2273. .group-ops-playbooks article span { color: var(--text-muted); font-size: 12px; }
  2274. .group-ops-list { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; }
  2275. .group-ops-risk { display: flex; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--border); border-left: 4px solid var(--warning); border-radius: var(--radius-sm); }
  2276. .group-ops-risk.high { border-left-color: var(--error); background: var(--error-bg); }
  2277. .group-ops-risk > div:first-child { min-width: 0; }
  2278. .group-ops-risk p { margin: 5px 0; color: var(--text-secondary); font-size: 13px; }
  2279. .group-ops-risk small { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
  2280. .group-ops-risk > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  2281. .group-ops-copy { min-width: 260px; max-width: 520px; white-space: normal; line-height: 1.6; }
  2282. .group-ops-workbench .table-wrap { max-width: 100%; }
  2283. .group-ops-workbench table { min-width: 880px; }
  2284. .group-ops-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--page-bg); }
  2285. .group-ops-inline-form label { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
  2286. .group-ops-inline-form input, .group-ops-inline-form select { min-height: 40px; padding: 8px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-bg); color: var(--text-primary); font: inherit; }
  2287. .group-ops-inline-form input:focus, .group-ops-inline-form select:focus { border-color: var(--brand); outline: 3px solid rgba(250,140,22,.16); }
  2288. .group-ops-quality-form input { min-width: 180px; flex: 1; }
  2289. .group-ops-task-list { display: flex; flex-direction: column; gap: 8px; }
  2290. .group-ops-task-list article { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
  2291. .group-ops-task-list article > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
  2292. .group-ops-task-list article span { color: var(--text-muted); font-size: 12px; }
  2293. .group-ops-automation { padding: 20px; border-color: #ffd591; }
  2294. .group-ops-automation-state { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  2295. .group-ops-automation-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; }
  2296. .group-ops-time-window { display: flex; align-items: center; gap: 8px; }
  2297. .group-ops-time-window input { min-width: 0; }
  2298. .group-ops-automation-summary { padding: 18px; border: 1px solid #ffd591; border-radius: var(--radius-md); background: #fffaf0; }
  2299. .group-ops-automation-summary h4 { margin: 0 0 14px; color: var(--text-primary); font-size: 16px; }
  2300. .group-ops-automation-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
  2301. .group-ops-automation-summary dl div { padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-bg); }
  2302. .group-ops-automation-summary dt { color: var(--text-muted); font-size: 12px; }
  2303. .group-ops-automation-summary dd { margin: 4px 0 0; color: var(--text-primary); font-weight: 700; }
  2304. .group-ops-automation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  2305. .group-ops-automation-log-header { margin-top: 22px; }
  2306. @media (max-width: 1100px) {
  2307. .group-ops-stats { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
  2308. .group-ops-grid { grid-template-columns: 1fr; }
  2309. .group-ops-automation-grid { grid-template-columns: 1fr; }
  2310. }
  2311. @media (max-width: 700px) {
  2312. .group-ops-hero { align-items: flex-start; flex-direction: column; padding: 18px; }
  2313. .group-ops-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2314. .group-ops-form { grid-template-columns: 1fr; }
  2315. .group-ops-form .btn { grid-column: 1; width: 100%; }
  2316. .group-ops-builder, .group-ops-risks, .group-ops-workbench { padding: 14px; }
  2317. .group-ops-inline-form { align-items: stretch; flex-direction: column; }
  2318. .group-ops-inline-form input, .group-ops-inline-form select, .group-ops-inline-form .btn { width: 100%; }
  2319. .group-ops-task-list article { align-items: flex-start; flex-wrap: wrap; }
  2320. .group-ops-time-window { flex-wrap: wrap; }
  2321. .group-ops-automation-summary dl { grid-template-columns: 1fr; }
  2322. .group-ops-automation-actions .btn { width: 100%; }
  2323. }
  2324. /* 社群运营:对齐客户群、画像与交接工作台的视觉语言 */
  2325. .group-ops-page {
  2326. display: grid;
  2327. gap: 16px;
  2328. min-width: 0;
  2329. }
  2330. .group-ops-page .group-ops-hero {
  2331. min-height: 158px;
  2332. margin: 0;
  2333. padding: 26px 30px;
  2334. border: 0;
  2335. border-radius: 20px;
  2336. color: #fff;
  2337. background: linear-gradient(135deg, #172d4f, #294d7e 62%, #507fa3);
  2338. box-shadow: 0 16px 36px rgba(21, 45, 79, .16);
  2339. }
  2340. .group-ops-page .group-ops-hero::before,
  2341. .group-ops-page .group-ops-hero::after {
  2342. position: absolute;
  2343. z-index: -1;
  2344. content: '';
  2345. border: 1px solid rgba(255,255,255,.09);
  2346. border-radius: 50%;
  2347. pointer-events: none;
  2348. }
  2349. .group-ops-page .group-ops-hero::before { width: 270px; height: 270px; top: -195px; right: 250px; }
  2350. .group-ops-page .group-ops-hero::after { width: 220px; height: 220px; right: -82px; bottom: -162px; }
  2351. .group-ops-page .group-ops-hero h2 { margin: 7px 0 5px; color: #fff; font-size: 30px; }
  2352. .group-ops-page .group-ops-hero p { max-width: 610px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.65; }
  2353. .group-ops-hero-side { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
  2354. .group-ops-hero-status { display: flex; gap: 8px; }
  2355. .group-ops-hero-status > span {
  2356. min-width: 76px;
  2357. padding: 11px 13px;
  2358. border: 1px solid rgba(255,255,255,.16);
  2359. border-radius: 12px;
  2360. color: rgba(255,255,255,.62);
  2361. background: rgba(255,255,255,.08);
  2362. font-size: 9px;
  2363. text-align: left;
  2364. backdrop-filter: blur(10px);
  2365. }
  2366. .group-ops-hero-status strong { display: block; margin-bottom: 3px; color: #fff; font-size: 20px; line-height: 1; }
  2367. .group-ops-hero-status .is-risk { border-color: rgba(255,183,178,.34); background: rgba(170,48,48,.2); }
  2368. .group-ops-refresh { min-height: 44px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.12); box-shadow: none; backdrop-filter: blur(10px); }
  2369. .group-ops-refresh:hover { background: rgba(255,255,255,.2); }
  2370. .group-ops-refresh:focus-visible { outline: 3px solid rgba(255,255,255,.38); outline-offset: 2px; }
  2371. .group-ops-page .group-ops-tabs {
  2372. gap: 3px;
  2373. margin: 0;
  2374. padding: 5px;
  2375. border-color: #e1e7ea;
  2376. border-radius: 13px;
  2377. background: #fff;
  2378. box-shadow: 0 6px 18px rgba(28,45,59,.035);
  2379. scrollbar-width: thin;
  2380. }
  2381. .group-ops-page .group-ops-tabs button { min-height: 44px; flex: 1 0 auto; padding: 9px 15px; color: #6f7c84; font-size: 12px; font-weight: 650; }
  2382. .group-ops-page .group-ops-tabs button:hover { color: #294d7e; background: #f2f6fa; }
  2383. .group-ops-page .group-ops-tabs button:focus-visible { color: #294d7e; outline: 2px solid #6f93b5; outline-offset: -2px; }
  2384. .group-ops-page .group-ops-tabs button.active { color: #23496f; background: #eaf1f7; box-shadow: inset 0 0 0 1px #d2e0eb; }
  2385. .group-ops-page .group-ops-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; }
  2386. .group-ops-page .group-ops-stats .kpi-card { min-height: 108px; }
  2387. .group-ops-page .group-ops-stats .kpi-card.danger { border-color: #f0d4d0; background: linear-gradient(145deg, #fff, #fff8f7); }
  2388. .group-ops-page .group-ops-stats .kpi-card.danger .kpi-value { color: #bd5149; }
  2389. .group-ops-page > .card {
  2390. min-width: 0;
  2391. margin: 0;
  2392. padding: 17px;
  2393. overflow: hidden;
  2394. border-color: #e1e7ea;
  2395. border-radius: 14px;
  2396. box-shadow: 0 8px 24px rgba(28,45,59,.04);
  2397. transform: none;
  2398. }
  2399. .group-ops-page > .card:hover { box-shadow: 0 10px 28px rgba(28,45,59,.06); }
  2400. .group-ops-page > .card > .card-header { margin-bottom: 13px; padding: 0; }
  2401. .group-ops-page > .card > .card-header h3 { margin: 0; color: #2b3b43; font-size: 13px; }
  2402. .group-ops-page > .card > .card-header p { margin: 4px 0 0; color: #8b969c; font-size: 10px; line-height: 1.55; }
  2403. .group-ops-page > .card > .card-header > span { color: #7d898f; font-size: 10px; }
  2404. .group-ops-page .table-wrap { max-width: 100%; border-color: #e4e9ec; border-radius: 10px; }
  2405. .group-ops-page table { min-width: 820px; }
  2406. .group-ops-page th { padding: 10px 12px; color: #78848b; background: #f7f9fa; font-size: 10px; letter-spacing: .02em; }
  2407. .group-ops-page td { padding: 11px 12px; color: #4b5b63; }
  2408. .group-ops-page tbody tr:hover { background: #fafcfd; }
  2409. .group-ops-page .group-ops-form,
  2410. .group-ops-page .group-ops-inline-form {
  2411. gap: 11px 14px;
  2412. margin-bottom: 14px;
  2413. padding: 15px;
  2414. border-color: #e2e7ea;
  2415. border-radius: 11px;
  2416. background: #f8fafb;
  2417. }
  2418. .group-ops-page .group-ops-form label,
  2419. .group-ops-page .group-ops-inline-form label { color: #66747b; font-size: 11px; }
  2420. .group-ops-page .group-ops-form input,
  2421. .group-ops-page .group-ops-form textarea,
  2422. .group-ops-page .group-ops-inline-form input,
  2423. .group-ops-page .group-ops-inline-form select { min-height: 42px; border-color: #dce3e7; border-radius: 9px; background: #fff; font-size: 12px; }
  2424. .group-ops-page .group-ops-form input:focus,
  2425. .group-ops-page .group-ops-form textarea:focus,
  2426. .group-ops-page .group-ops-inline-form input:focus,
  2427. .group-ops-page .group-ops-inline-form select:focus { border-color: #6f93b5; outline: 3px solid rgba(55,100,140,.11); }
  2428. .group-ops-page .group-ops-form .btn,
  2429. .group-ops-page .group-ops-inline-form .btn { min-height: 42px; }
  2430. .group-ops-playbooks article,
  2431. .group-ops-task-list article,
  2432. .group-ops-risk { border-color: #e2e7ea; border-radius: 10px; background: #fff; }
  2433. .group-ops-playbooks article:hover,
  2434. .group-ops-task-list article:hover { border-color: #cedbe3; background: #fafcfd; }
  2435. .group-ops-task-list article { min-height: 54px; }
  2436. .group-ops-risk { padding: 13px 14px; border-left-width: 3px; }
  2437. .group-ops-risk.high { border-color: #f0d4d0; border-left-color: #ca5b52; background: #fff9f8; }
  2438. .group-ops-risk > div:last-child { flex-flow: row wrap; justify-content: flex-end; }
  2439. .group-ops-page .group-ops-automation { border-color: #e1e7ea; }
  2440. .group-ops-automation-summary { border-color: #dbe5eb; border-radius: 11px; background: #f4f8fb; }
  2441. .group-ops-automation-summary dl div { border-color: #e0e7eb; border-radius: 9px; }
  2442. .group-ops-automation-log-header { padding-top: 20px !important; border-top: 1px solid #e7ecef; }
  2443. @media (max-width: 1180px) {
  2444. .group-ops-page .group-ops-hero { align-items: flex-start; flex-direction: column; }
  2445. .group-ops-hero-side { width: 100%; justify-content: space-between; }
  2446. .group-ops-page .group-ops-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2447. }
  2448. @media (max-width: 700px) {
  2449. .group-ops-page { gap: 12px; }
  2450. .group-ops-page .group-ops-hero { min-height: 0; padding: 20px; border-radius: 16px; }
  2451. .group-ops-page .group-ops-hero h2 { font-size: 25px; }
  2452. .group-ops-hero-side { align-items: stretch; flex-direction: column; }
  2453. .group-ops-hero-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2454. .group-ops-hero-status > span { min-width: 0; padding: 10px; }
  2455. .group-ops-refresh { width: 100%; }
  2456. .group-ops-page .group-ops-tabs button { flex: 0 0 auto; }
  2457. .group-ops-page .group-ops-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2458. .group-ops-page .group-ops-stats .kpi-card { min-height: 98px; padding: 13px; }
  2459. .group-ops-page > .card { padding: 14px; }
  2460. .group-ops-risk > div:last-child { width: 100%; align-items: stretch; }
  2461. }
  2462. /* ==================== Customer Operations Workspaces ==================== */
  2463. .customer-workspace-page {
  2464. display: grid;
  2465. gap: 16px;
  2466. min-width: 0;
  2467. }
  2468. .customer-workspace-hero {
  2469. position: relative;
  2470. isolation: isolate;
  2471. margin-bottom: 0;
  2472. min-height: 150px;
  2473. align-items: center;
  2474. }
  2475. .customer-workspace-hero::before,
  2476. .customer-workspace-hero::after {
  2477. position: absolute;
  2478. z-index: -1;
  2479. content: '';
  2480. border: 1px solid rgba(255,255,255,.09);
  2481. border-radius: 50%;
  2482. pointer-events: none;
  2483. }
  2484. .customer-workspace-hero::before { width: 260px; height: 260px; top: -190px; right: 240px; }
  2485. .customer-workspace-hero::after { width: 210px; height: 210px; right: -80px; bottom: -155px; }
  2486. .group-hero { background: linear-gradient(135deg, #153449, #215b70 62%, #428090); }
  2487. .portrait-dashboard-hero { background: linear-gradient(135deg, #123c32, #1d7156 62%, #5b8d59); }
  2488. .transfer-dashboard-hero { background: linear-gradient(135deg, #172d4f, #294d7e 62%, #5179a8); }
  2489. .hero-feature-list {
  2490. display: flex;
  2491. flex: 0 0 auto;
  2492. flex-wrap: wrap;
  2493. justify-content: flex-end;
  2494. gap: 8px;
  2495. max-width: 330px;
  2496. }
  2497. .hero-feature-list span {
  2498. padding: 9px 12px;
  2499. border: 1px solid rgba(255,255,255,.17);
  2500. border-radius: 999px;
  2501. color: rgba(255,255,255,.82);
  2502. background: rgba(255,255,255,.08);
  2503. font-size: 11px;
  2504. font-weight: 650;
  2505. backdrop-filter: blur(8px);
  2506. }
  2507. .handover-flow {
  2508. display: flex;
  2509. flex: 0 0 auto;
  2510. align-items: center;
  2511. gap: 8px;
  2512. padding: 12px 14px;
  2513. border: 1px solid rgba(255,255,255,.15);
  2514. border-radius: 14px;
  2515. background: rgba(255,255,255,.08);
  2516. backdrop-filter: blur(8px);
  2517. }
  2518. .handover-flow span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: 10px; white-space: nowrap; }
  2519. .handover-flow b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); font-size: 10px; }
  2520. .handover-flow i { width: 22px; height: 1px; background: rgba(255,255,255,.25); }
  2521. /* Group management */
  2522. .group-stat-row > div { min-width: 100px; }
  2523. .group-workspace {
  2524. min-width: 0;
  2525. display: grid;
  2526. grid-template-columns: 300px minmax(0, 1fr);
  2527. overflow: hidden;
  2528. border: 1px solid #e2e7ea;
  2529. border-radius: 16px;
  2530. background: #fff;
  2531. box-shadow: 0 10px 30px rgba(27,49,65,.055);
  2532. }
  2533. .group-sync-panel { min-width: 0; padding: 18px; border-right: 1px solid #e6ebee; background: #f8fafb; }
  2534. .group-list-panel { min-width: 0; padding: 18px; }
  2535. .group-sync-card,
  2536. .group-filter-card,
  2537. .group-list-panel #groups-table-card > .card { margin: 0; box-shadow: none; }
  2538. .group-sync-card { padding: 0; border: 0; border-radius: 0; background: transparent; }
  2539. .group-sync-card:hover,
  2540. .group-filter-card:hover,
  2541. .group-list-panel #groups-table-card > .card:hover { box-shadow: none; }
  2542. .group-sync-card .card-header { margin-bottom: 16px; }
  2543. .group-sync-fields { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; }
  2544. .group-sync-fields .form-group { min-width: 0; }
  2545. .field-help { margin-top: -2px; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
  2546. .advanced-settings { margin: 14px 0; border: 1px solid #dfe6e9; border-radius: 10px; background: #fff; }
  2547. .advanced-settings summary { padding: 10px 12px; color: #4c5c64; font-size: 11px; font-weight: 650; cursor: pointer; }
  2548. .advanced-settings summary::marker { color: #6c8793; }
  2549. .advanced-settings-body { display: grid; gap: 12px; padding: 0 12px 12px; }
  2550. .advanced-settings textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
  2551. .group-auto-classify { margin: 0 0 14px; }
  2552. .group-primary-action { width: 100%; }
  2553. .group-sync-card .progress-wrap { margin-bottom: 0; }
  2554. .operation-note {
  2555. display: flex;
  2556. align-items: flex-start;
  2557. gap: 10px;
  2558. margin-bottom: 12px;
  2559. padding: 11px 13px;
  2560. border: 1px solid #cfe4dc;
  2561. border-radius: 11px;
  2562. color: #315f50;
  2563. background: #f2faf6;
  2564. }
  2565. .operation-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; fill: #2f8565; }
  2566. .operation-note div { display: grid; gap: 2px; }
  2567. .operation-note strong { font-size: 11px; }
  2568. .operation-note span { color: #6e8078; font-size: 10px; line-height: 1.5; }
  2569. .group-filter-card { padding: 14px 15px; border-radius: 12px 12px 0 0; border-bottom-color: transparent; }
  2570. .group-filter-card .card-header { align-items: flex-end; margin: 0; }
  2571. .group-filter-card .filter-bar { justify-content: flex-end; }
  2572. .group-filter-card .filter-bar input { width: 170px; }
  2573. .group-list-panel #groups-table-card > .card { border-radius: 0 0 12px 12px; }
  2574. .group-list-panel #groups-table-card table { min-width: 920px; }
  2575. .group-list-panel #groups-table-card th,
  2576. .group-list-panel #groups-table-card td { padding: 11px 12px; }
  2577. /* Shared dashboard composition */
  2578. .dashboard-grid {
  2579. min-width: 0;
  2580. display: grid;
  2581. grid-template-columns: repeat(6, minmax(0, 1fr));
  2582. gap: 14px;
  2583. }
  2584. .kpi-row {
  2585. grid-column: 1 / -1;
  2586. display: grid;
  2587. grid-template-columns: repeat(6, minmax(0, 1fr));
  2588. gap: 10px;
  2589. }
  2590. .kpi-card {
  2591. min-width: 0;
  2592. min-height: 104px;
  2593. display: flex;
  2594. flex-direction: column;
  2595. justify-content: center;
  2596. padding: 15px 16px;
  2597. overflow: hidden;
  2598. border: 1px solid #e2e7ea;
  2599. border-radius: 13px;
  2600. background: #fff;
  2601. box-shadow: 0 7px 22px rgba(28,45,59,.045);
  2602. }
  2603. .kpi-label { overflow: hidden; color: #748089; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  2604. .kpi-value { margin-top: 6px; color: #1e3139; font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
  2605. .kpi-sub { margin-top: 6px; overflow: hidden; color: #98a1a6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2606. .kpi-trend.up { color: #25845e; }
  2607. .kpi-trend.down { color: #ca5b52; }
  2608. .chart-card {
  2609. grid-column: span 3;
  2610. min-width: 0;
  2611. overflow: hidden;
  2612. border: 1px solid #e2e7ea;
  2613. border-radius: 14px;
  2614. background: #fff;
  2615. box-shadow: 0 7px 22px rgba(28,45,59,.04);
  2616. }
  2617. .chart-card.third { grid-column: span 2; }
  2618. .chart-card.full { grid-column: 1 / -1; }
  2619. .chart-title { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0 17px; border-bottom: 1px solid #edf0f2; color: #2b3b43; font-size: 12px; }
  2620. .chart-subtitle { color: #919aa0; font-size: 9px; font-weight: 400; }
  2621. .chart-container { width: 100%; height: 238px; padding: 4px; }
  2622. .chart-container.small { height: 220px; }
  2623. .empty-chart { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa3a8; font-size: 10px; }
  2624. .operation-toolbar {
  2625. grid-column: 1 / -1;
  2626. display: flex;
  2627. align-items: center;
  2628. justify-content: space-between;
  2629. gap: 12px;
  2630. padding: 13px 15px;
  2631. border: 1px solid #e1e7ea;
  2632. border-radius: 13px;
  2633. background: #fff;
  2634. box-shadow: 0 6px 18px rgba(28,45,59,.035);
  2635. }
  2636. .toolbar-left,
  2637. .toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  2638. .data-table-card {
  2639. grid-column: 1 / -1;
  2640. min-width: 0;
  2641. padding: 17px;
  2642. overflow: hidden;
  2643. border: 1px solid #e1e7ea;
  2644. border-radius: 14px;
  2645. background: #fff;
  2646. box-shadow: 0 8px 24px rgba(28,45,59,.04);
  2647. }
  2648. .data-table-card > .card-header { margin-bottom: 13px; }
  2649. .data-table-card .filter-bar { margin-bottom: 13px !important; }
  2650. .data-table-card .table-wrap { max-width: 100%; border-radius: 10px; }
  2651. .data-table-card table { min-width: 820px; }
  2652. .data-table-card th,
  2653. .data-table-card td { padding: 11px 12px; }
  2654. .data-table-card .tag { margin: 2px; }
  2655. .pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 13px; color: #7d888e; font-size: 10px; }
  2656. .pagination span { margin-right: auto; }
  2657. .pagination button { min-height: 32px; padding: 0 12px; border: 1px solid #dfe5e8; border-radius: 8px; color: #58666d; background: #fff; cursor: pointer; }
  2658. .pagination button:hover:not(:disabled) { color: var(--brand-dark); border-color: #f0b879; background: #fff9f1; }
  2659. .pagination button:disabled { opacity: .45; cursor: not-allowed; }
  2660. .loading-overlay { position: relative; min-height: 120px; }
  2661. .loading-spinner { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px; border: 3px solid #e7ecef; border-top-color: var(--brand); border-radius: 50%; animation: spin .75s linear infinite; }
  2662. .table-skeleton,
  2663. .skeleton-list { display: grid; gap: 12px; padding: 18px 4px; }
  2664. .skeleton { position: relative; overflow: hidden; border-radius: 6px; background: #edf1f3; }
  2665. .skeleton::after { position: absolute; inset: 0; content: ''; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: dashboardShimmer 1.35s infinite; }
  2666. .skeleton-line { height: 30px; }
  2667. @keyframes dashboardShimmer { to { transform: translateX(100%); } }
  2668. .error-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; text-align: center; }
  2669. .error-state svg { width: 36px; height: 36px; fill: #e08865; }
  2670. .error-state-title { color: #784733; font-size: 13px; font-weight: 700; }
  2671. .error-state-desc { max-width: 420px; color: #8a7770; font-size: 10px; line-height: 1.55; }
  2672. /* Transfer stage conversion card */
  2673. .transfer-stage-board {
  2674. min-height: 238px;
  2675. display: flex;
  2676. flex-direction: column;
  2677. justify-content: center;
  2678. gap: 16px;
  2679. padding: 17px;
  2680. }
  2681. .transfer-stage-track {
  2682. display: grid;
  2683. grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  2684. align-items: center;
  2685. gap: 7px;
  2686. }
  2687. .transfer-stage {
  2688. min-width: 0;
  2689. display: grid;
  2690. justify-items: center;
  2691. gap: 8px;
  2692. padding: 12px 7px;
  2693. border: 1px solid #e2e8ec;
  2694. border-radius: 12px;
  2695. text-align: center;
  2696. background: #f9fbfc;
  2697. }
  2698. .transfer-stage.preview { border-color: #dce6f0; background: #f5f8fc; }
  2699. .transfer-stage.execution { border-color: #f1dfcb; background: #fff9f2; }
  2700. .transfer-stage.success { border-color: #cfe7dc; background: #f2faf6; }
  2701. .transfer-stage-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #527494; background: #e7eef5; }
  2702. .transfer-stage.execution .transfer-stage-icon { color: #b46b25; background: #fbeddd; }
  2703. .transfer-stage.success .transfer-stage-icon { color: #27805d; background: #dff1e8; }
  2704. .transfer-stage-icon svg { width: 18px; height: 18px; fill: currentColor; }
  2705. .transfer-stage > div:last-child { min-width: 0; }
  2706. .transfer-stage span,
  2707. .transfer-stage strong,
  2708. .transfer-stage small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  2709. .transfer-stage span { color: #77858d; font-size: 8px; font-weight: 650; }
  2710. .transfer-stage strong { margin-top: 4px; color: #21343d; font-size: 22px; line-height: 1; }
  2711. .transfer-stage small { margin-top: 4px; color: #929ca2; font-size: 8px; }
  2712. .transfer-stage-connector { min-width: 0; display: grid; justify-items: center; gap: 3px; text-align: center; }
  2713. .transfer-stage-connector strong { color: #52636c; font-size: 11px; }
  2714. .transfer-stage-connector span { color: #9aa3a8; font-size: 7px; white-space: nowrap; }
  2715. .transfer-stage-connector i,
  2716. .transfer-overall-progress > i { width: 100%; height: 4px; overflow: hidden; border-radius: 999px; background: #e7ecef; }
  2717. .transfer-stage-connector b,
  2718. .transfer-overall-progress > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5d86b1, #51a480); transition: width .3s ease; }
  2719. .transfer-overall-progress { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; }
  2720. .transfer-overall-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  2721. .transfer-overall-progress span { color: #5f6f77; font-size: 9px; font-weight: 650; }
  2722. .transfer-overall-progress strong { color: #274f67; font-size: 13px; }
  2723. .transfer-overall-progress small { overflow: hidden; color: #8b979d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2724. @media (max-width: 1180px) {
  2725. .group-workspace { grid-template-columns: 260px minmax(0, 1fr); }
  2726. .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2727. .chart-card.third { grid-column: span 3; }
  2728. .handover-flow { max-width: 380px; flex-wrap: wrap; }
  2729. }
  2730. @media (max-width: 900px) {
  2731. .customer-workspace-hero { align-items: flex-start; flex-direction: column; }
  2732. .hero-feature-list { justify-content: flex-start; }
  2733. .group-workspace { display: block; }
  2734. .group-sync-panel { border-right: 0; border-bottom: 1px solid #e6ebee; }
  2735. .group-sync-fields { grid-template-columns: minmax(0, 1fr) 110px; }
  2736. .chart-card,
  2737. .chart-card.third { grid-column: 1 / -1; }
  2738. }
  2739. @media (max-width: 620px) {
  2740. .customer-workspace-hero { min-height: 0; padding: 22px; }
  2741. .customer-workspace-hero h2 { font-size: 25px; }
  2742. .group-stat-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2743. .group-stat-row > div { min-width: 0; padding: 10px; }
  2744. .group-list-panel,
  2745. .group-sync-panel { padding: 13px; }
  2746. .group-sync-fields,
  2747. .kpi-row { grid-template-columns: 1fr 1fr; }
  2748. .operation-toolbar { align-items: stretch; flex-direction: column; }
  2749. .toolbar-left,
  2750. .toolbar-right { width: 100%; }
  2751. .toolbar-left .btn { flex: 1 1 auto; }
  2752. .handover-flow i { display: none; }
  2753. .data-table-card { padding: 13px; }
  2754. .data-table-card .filter-bar input,
  2755. .data-table-card .filter-bar select,
  2756. .group-filter-card .filter-bar input,
  2757. .group-filter-card .filter-bar select { width: 100% !important; }
  2758. .transfer-stage-board { padding: 14px; }
  2759. .transfer-stage-track { grid-template-columns: 1fr; gap: 7px; }
  2760. .transfer-stage { grid-template-columns: 34px minmax(0, 1fr); justify-items: stretch; align-items: center; padding: 10px 12px; text-align: left; }
  2761. .transfer-stage-connector { grid-template-columns: 42px 1fr; justify-items: stretch; align-items: center; padding: 0 12px; text-align: left; }
  2762. .transfer-stage-connector span { display: none; }
  2763. .transfer-stage-connector i { height: 3px; }
  2764. }